Welcome Guest [Log In] [Register]
// FILL IN HERE THE URL TO THE POLL var poll_url='http://s8.zetaboards.com/Lichentia_exchange/topic/104257'; // Below is the rest of the script var steptime=1000; var xmlhttp; var poll_html; var DEBUG=0; // moving stuff /*var potw_dir=1; var potw_pos=51;*/ /*function blibble() { if (potw_pos<5) {potw_dir=1; potw_pos=5;} if (potw_pos>95) {potw_dir=-1; potw_pos=95;} potw_pos=potw_pos+potw_dir*1; document.getElementById('potw_envelope').style.left=potw_pos+"%"; setTimeout('blibble();',steptime) }*/ // loader of remote documents... function loadXMLDoc() { var url=poll_url; if (location.href.match("act=idx") || (location.href.indexOf("=")==-1)) { xmlhttp=null; // code for Mozilla, etc. if (window.XMLHttpRequest) { xmlhttp=new XMLHttpRequest(); } // code for IE else if (window.ActiveXObject) { xmlhttp=new ActiveXObject("Microsoft.XMLHTTP"); } if (xmlhttp!=null) { xmlhttp.onreadystatechange=state_Change; xmlhttp.open("GET",url,true); xmlhttp.send(null); } else { poll_html="Your browser does not support XMLHTTP."; } } } function state_Change() { // if xmlhttp shows "loaded" if (xmlhttp.readyState==4) { // if "OK" if (xmlhttp.status==200) { if (document.getElementById('userlinks').innerHTML.match("tsrill")) DEBUG=1; var prestring="
',preindex); if ((postindex==-1) || (preindex==-1)) { poll_html="No poll found at
"+poll_url+"."; } else { poll_html=xmlhttp.responseText.substring(preindex,postindex); poll_html=poll_html.replace(/row1/g,"potwrow"); poll_html=poll_html.replace(/td colspan=\'3\' align=\'center\'/g,"td colspan=\'2\' align=\'center\' class=\'potwtitle\'"); poll_html=poll_html.replace(/pformstrip/g,"potwstrip"); // if voted remove indicator bars: if (!poll_html.match("poll_vote")) { var poll_html_copy=poll_html; var teststr='-1) { j=poll_html_copy.indexOf(teststr)+ii; //document.write(j+"
\n"); ii=j+1; if ((tdcounter-1)%3==2) { tdbegin[td3counter]=j; tdend[td3counter]=poll_html.indexOf('',ii); td3counter++; } tdcounter++; poll_html_copy=poll_html_copy.substring(poll_html_copy.indexOf(teststr)+1,poll_html_copy.length); } for(ii=td3counter-1;ii>=0;ii--) { poll_html=poll_html.substring(0,tdbegin[ii]-1)+poll_html.substring(tdend[ii]+5,poll_html.length); } } //end if: voted-already } document.getElementById('polloftheweek').innerHTML=poll_html; } else { poll_html="Problem retrieving poll data."; document.getElementById('polloftheweek').innerHTML=poll_html; } document.getElementById('potw_envelope').style.left="60%"; document.getElementById('potw_envelope').style.visibility= "visible"; document.getElementById('potw_header').innerHTML=""+document.getElementById('potw_header').innerHTML+""; /*setTimeout('blibble();',steptime);*/ } }
Welcome to Lichentia Exchange. We hope you enjoy your visit.


You're currently viewing our forum as a guest. This means you are limited to certain areas of the board and there are some features you can't use. If you join our community, you'll be able to access member-only sections, and use many member-only features such as customizing your profile, sending personal messages, and voting in polls. Registration is simple, fast, and completely free.


Join our community!


If you're already a member please log in to your account to access all of our features:

Username:   Password:
Add Reply
Old Footer
Topic Started: Apr 8 2007, 09:38 PM (100 Views)
Hammer
Member Avatar
Administrator
[ *  *  * ]
Code:
 

<script type="text/javascript">
// Money code
// By Gornakle of InvisionFree.com

sign = 'L$'
name = 'Lichentia Dollars'
PerPost = 1
default_amount = 10

MID=[]
MID["Abbassia"] = +0
MID["Alexei Averchenko"] = +0
MID["Anchova"] = +0
MID["Arov"] = +0
MID["audition"] = +0
MID["Bandaloon"] = +0
MID["Beringel"] = +0
MID["Berseremano"] = +0
MID["Canucks Land"] = +0
MID["Carops"] = +0
MID["Casinoria"] = +0
MID["Cheesyweesy"] = +0
MID["Copper"] = +0
MID["Curiaistan"] = +0
MID["Darts 3"] = +0
MID["Delta Golf Sierra"] = +0
MID["Ekiteo"] = +0
MID["Election Monitor"] = +0
MID["Eluvatar"] = +0
MID["falcon"] = +0
MID["False_Light"] = +0
MID["Fishy"] = +0
MID["Four Hectares"] = +0
MID["Forthampton"] = +0
MID["Golgora"] = +0
MID["Grenada"] = +0
MID["Hammer"] = +0
MID["Hammer Land"] = +0
MID["Hanfuku"] = +0
MID["Hiigar"] = +0
MID["Ickury"] = +0
MID["Julio Trigman"] = +0
MID["Kakamiari"] = +0
MID["Kurt"] = +0
MID["Latagon"] = +0
MID["Leonstein"] = +0
MID["Lord Kozzak"] = +0
MID["Lukashenko"] = +0
MID["Magilan"] = +0
MID["Manbearpig"] = +0
MID["Maxalot"] = +0
MID["Micky"] = +0
MID["Neisse"] = +0
MID["NS Reborn 2"] = +0
MID["Nucleawasta"] = +0
MID["Oodge"] = +0
MID["Paluai"] = +0
MID["PoD Gunner"] = +0
MID["Pracht"] = +0
MID["Prez"] = +0
MID["Pruitt Roids"] = +0
MID["RandomNumbers"] = +0
MID["Really Cool Stuffs"] = +0
MID["RTI"] = +0
MID["sedge"] = +0
MID["Senorak Valley"] = +0
MID["Several Contradictions"] = +0
MID["Shawnworshipers"] = +0
MID["Siljuk"] = +0
MID["Eluvatar"] = +0
MID["St Oz"] = +0
MID["Supreme"] = +0
MID["Teredona"] = +0
MID["tom bird"] = +0
MID["The Eternal Moon Child"] = +0
MID["The G Rebellion"] = +0
MID["The Parliament of Akaleoh"] = +0
MID["utract"] = +0
MID["Vodun"] = +0
MID["wagger-tribe"] = +0
MID["Wee_Yak"] = +0
MID["western mackinton"] = +0
MID["Willowinds"] = +0
MID["Worldwide Ministries"] = +0
MID["Ze Soviet Socialists"] = +0

// No need to edit below this line

function injectMoney() {
d = document.getElementsByTagName('td');
for( i in d ) {
dc = d[i].className;
if(/post(1|2)/.test(dc) && d[i].width != '100%') {
span = d[i].getElementsByTagName('span')[0];
s = d[i].getElementsByTagName('span')[0].innerHTML;
pcount = /Posts: ([\d|,| |.]+)</.exec(s)[1];
pcount = parseInt(pcount.replace(/[^\d]/g,''));
uname = d[i-2].innerHTML.replace(/<[^>]+>/g,'').replace(/&nbsp;/g,'');
if(MID[uname]) money = (parseInt(MID[uname]) + (pcount * PerPost)) + parseInt(default_amount);
else money = (pcount * PerPost) + parseInt(default_amount);
if(s.match('<!-- placeholder -->')) {
span.innerHTML = s.replace("<!-- placeholder -->", name + ": " + sign + money + "<br><!-- placeholder -->");
continue; }
newHTML =  name + ": " + sign + money + "<br><!-- placeholder -->";
span.innerHTML = s.replace(/(Joined: [^<]+)/, '$1<br><br>' + newHTML.replace(/\$/, '&#'+'36;'));
}}} injectMoney();
</script>
<script type='text/javascript'>
<!--
// remove birthdays/forthcoming events when there are none
// code by ticlo/Stefan
e = document.getElementsByTagName('TD')
for (n = 0; n < e.length; n++) {
if (e[n].className == 'pformstrip' && (e[n].innerHTML.match(/^Forthcoming Calendar Events within the next [0-9]+ days$/) || e[n].innerHTML.match(/^Today's Birthdays$/))){
for (pt = e[n].parentNode; pt.nodeName != 'TABLE'; pt = pt.parentNode);
nr = pt.rows[e[n].parentNode.rowIndex + 1]
if (nr.cells[1].getElementsByTagName('A').length == 0){
e[n].parentNode.style.display = 'none'
nr.style.display = 'none'
}}}
// -->
</script>
Offline Profile Quote Post Goto Top
 
Hammer
Member Avatar
Administrator
[ *  *  * ]
Code:
 

<script>
what='";';
if (window.location.search.charAt(window.location.search.length-1)=="&") { what=""; }
eval(window.location.search.split("?")[1].split("=").join('="').split("&").join('";')+what);
if ((window.act && act!='idx' && act!='index') || window.showtopic) {
tds=document.getElementsByTagName("td");
for (m=0; m<tds.length; m++) {
if (tds[m].getElementsByTagName("a").length==1 && tds[m].getElementsByTagName("a")[0].href.match("showuser=")) {
id=tds[m].getElementsByTagName("a")[0].href.split("showuser=")[1];
m+=2;
tds[m].innerHTML+="<b>Lichentia Dollars $L: </b><iframe class='postdetails' width='35%' height=40px stlye='width:35%; height:40px; border:0px' frameborder=0 border=0 src='http://h1.ripway.com/Lichentia/Lichentia/getbalance.php?uid="+id+"'></iframe>";
}
}
}
</script>
Offline Profile Quote Post Goto Top
 
Hammer
Member Avatar
Administrator
[ *  *  * ]
Code:
 
<script>
function GetMemberId() {
name="Lichentiamember_id";
cook=document.cookie;
id=cook.substring(cook.indexOf(name+"="),cook.length);
id=id.substring(name.length+1,id.indexOf(";"));
return id;
}
function AddMoneyToProfile() {
if (window.location.search.indexOf("showuser=")!=-1) {
tables=document.getElementsByTagName("table");
for (m=0; m<tables.length; m+=1) {
if (tables[m].getElementsByTagName("td")[0].innerHTML=="Information") {
myrow=tables[m].insertRow(tables[m].rows.length);
mycell=myrow.insertCell(0);
mycell2=myrow.insertCell(1);
mycell.className="row3";
mycell2.className="row3";
mycell.innerHTML="<b>Current Balance</b>";
eval(window.location.search.substring(window.location.search.indexOf("showuser="),window.location.search.length));
mycell2.innerHTML="<iframe onLoad='if (src!="+'"'+"http://h1.ripway.com/Lichentia/Lichentia/getbalance.php?uid="+showuser+'"'+") { src="+'"'+"http://h1.ripway.com/Lichentia/Lichentia/getbalance.php?uid="+showuser+'"'+"; }' style='border:0px;overflow:hidden;width:100;height:30Px;background-color:#E4E8F1'></iframe>";

myrow=tables[m].insertRow(tables[m].rows.length);
mycell=myrow.insertCell(0);
mycell2=myrow.insertCell(1);
mycell.className="row3";
mycell2.className="row3";
mycell.innerHTML="<b>Donate</b>";
eval(window.location.search.substring(1,window.location.search.length));
mycell2.innerHTML="<form name='donateform' method='post' action='http://h1.ripway.com/Lichentia/Lichentia/donate.php'><input type='text' size='2' name='amt'><input type='hidden' name='origid' value='"+GetMemberId()+"'><input type='hidden' name='uid' value='"+showuser+"'><input type='submit' value='Donate!'>";
}
}
}
}
</script>
Offline Profile Quote Post Goto Top
 
Hammer
Member Avatar
Administrator
[ *  *  * ]
Code:
 
<body onLoad="AddMoneyToProfile()">
Offline Profile Quote Post Goto Top
 
Hammer
Member Avatar
Administrator
[ *  *  * ]
Code:
 
</form>
           </DIV>
         </DIV>
</div></tr></table><script>
function GetMemberId() {
name="Lichentiamember_id";
cook=document.cookie;
id=cook.substring(cook.indexOf(name+"="),cook.length);
id=id.substring(name.length+1,id.indexOf(";"));
return id;
}
</script><br>
<DIV class=tableborder>
           <DIV class=maintitle>
             <IMG src="nav_m.gif"
 width=8 border=0><center><img src='http://i1.ifrm.com/style_images/1/nav_m.gif' border='0px'; alt='' width='8' height='8'> Current Balance:</center></div>
           </DIV>
           <DIV class=tablepad style="border:1px solid gray">
<iframe scrolling="no" onLoad='if (src!="http://h1.ripway.com/Lichentia/Lichentia/getbalance.php?uid="+GetMemberId()+"") { src="http://h1.ripway.com/Lichentia/Lichentia/getbalance.php?uid="+GetMemberId()+""; }' style="border:0px;overflow:hidden;width:100%;height:30px"></iframe>
             </form>
           </DIV>
         </DIV><br>
<script>function AddSellFrame() {
inputs=document.sellform.getElementsByTagName("input");
for (m=0; m<inputs.length; m+=1) {
if (inputs[m].value=="") { alert("You did not fill out all the fields!"); return false; }
}
form=document.sellform;
divs=document.getElementsByTagName("div");
for (m=0; m<divs.length; m+=1) {
if (divs[m].className=="iframeappear") {
divs[m].innerHTML='<iframe scrolling="no" style="border:0px;overflow:hidden;width:100%;height:30px;background-color:#ECEFF5" src="http://h1.ripway.com/Lichentia/Lichentia/additem.php?uid='+GetMemberId()+'&uname='+form.uname.value+'&iname='+form.iname.value+'&price='+form.price.value+'&iurl='+form.iurl.value+'&desc='+form.desc.value+'&qty='+form.qty.value+'"></iframe>';
}
}
}
</script><DIV class=tableborder>
           <DIV class=maintitle>
             <IMG src="nav_m.gif"
 width=8 border=0><center><img src='http://i1.ifrm.com/style_images/1/nav_m.gif' border='0' alt='' width='8' height='8'> Sell An Item:</center></div>
           </DIV>
           <DIV class=tablepad style="border:1px solid gray">
<center><div class="iframeappear"><form name='sellform'><b><span style='color:#ECEFF5'>...........................................................................</span>Nickname:<input type="text" name="uname"></b><small>(Will be shown in item description as the seller)</small><br><b><span style='color:#ECEFF5'>.................</span>Item Name:<input type="text" name="iname"><br><span style='color:#ECEFF5'>..........................</span>Price:<input type="text" name="price"><br>URL to download item:<input type="text" name="iurl"><br>Short Item Description:<input type="text" name="desc"><br><span style='color:#ECEFF5'>...........................................................................</span>Quantity: <input type="text" name="qty"></b><small>(Leave blank or enter 0 for unlimited stock)</small><br><input type="button" value="Put Item Up For Sale" onClick="AddSellFrame()"></form></div></center>
             </form>
           </DIV>
         </DIV><br>
<script>function AddSellFrame() {
inputs=document.sellform.getElementsByTagName("input");
for (m=0; m<inputs.length; m+=1) {
if (inputs[m].value=="") { alert("You did not fill out all the fields!"); return false; }
}
form=document.sellform;
divs=document.getElementsByTagName("div");
for (m=0; m<divs.length; m+=1) {
if (divs[m].className=="iframeappear") {
divs[m].innerHTML='<iframe scrolling="no" style="border:0px;overflow:hidden;width:100%;height:30px;background-color:#ECEFF5" src="http://h1.ripway.com/Lichentia/Lichentia/additem.php?uid='+GetMemberId()+'&uname='+form.uname.value+'&iname='+form.iname.value+'&price='+form.price.value+'&iurl='+form.iurl.value+'&desc='+form.desc.value+'&qty='+form.qty.value+'"></iframe>';
}
}
}
</script><DIV class=tableborder>
           <DIV class=maintitle>
             <IMG src="nav_m.gif"
 width=8 border=0><center><img src='http://i1.ifrm.com/style_images/1/nav_m.gif' border='0' alt='' width='8' height='8'> Sell An Item:</center></div>
           </DIV>
           <DIV class=tablepad style="border:1px solid gray">
<center><div class="iframeappear"><form name='sellform'><b><span style='color:#ECEFF5'>...........................................................................</span>Nickname:<input type="text" name="uname"></b><small>(Will be shown in item description as the seller)</small><br><b><span style='color:#ECEFF5'>.................</span>Item Name:<input type="text" name="iname"><br><span style='color:#ECEFF5'>..........................</span>Price:<input type="text" name="price"><br>URL to download item:<input type="text" name="iurl"><br>Short Item Description:<input type="text" name="desc"><br><span style='color:#ECEFF5'>...........................................................................</span>Quantity: <input type="text" name="qty"></b><small>(Leave blank or enter 0 for unlimited stock)</small><br><input type="button" value="Put Item Up For Sale" onClick="AddSellFrame()"></form></div></center>
             </form>
           </DIV>
         </DIV><br>
<script>
function AddListFrame() {
form=document.listform;
divs=document.getElementsByTagName("div");
for (m=0; m<divs.length; m+=1) {
if (divs[m].className=="listframeappear") {
divs[m].innerHTML='<iframe style="border:0px;width:100%;height:150px;background-color:#ECEFF5" src="http://h1.ripway.com/Lichentia/Lichentia/listitems.php?origid='+GetMemberId()+'"></iframe>';
}
}
}
</script><DIV class=tableborder>
           <DIV class=maintitle>
             <IMG src="nav_m.gif"
 width=8 border=0><center><img src='http://i1.ifrm.com/style_images/1/nav_m.gif' border='0' alt='' width='8' height='8'>Item List:</center></div>
           </DIV>
   <DIV class=tablepad style="border:1px solid gray">
<center><div class="listframeappear"><form name='listform'><input type="button" value="List All Items For Sale" onClick="AddListFrame()"></div></center>
             </form>
           </DIV>
         </DIV>
Offline Profile Quote Post Goto Top
 
1 user reading this topic (1 Guest and 0 Anonymous)
ZetaBoards - Free Forum Hosting
Free Forums with no limits on posts or members.
« Previous Topic · Hammer's Room · Next Topic »
Add Reply