hi there good coders i am trying to re code a bank so it goes with the wapdesire v_2 script
this is what i done and i keep getting a error on line 55 which it is }
the error is in red now when i take that out i get error on line 3 and line 4 but i am doing it right is there any chance some one can help me with this please
this is what i done and i keep getting a error on line 55 which it is }
Code:
<?php define('WCS',true); include('./core/main.inc'); header_type(); cleardata(); if(ipbanned(ip(),browser())){ if(!shield(getuid_sid($sid))){ echo head_tag("Ip Blocked!!!",0,0); echo ipbanned_msg(); echo foot_tag(); exit(); } } if(!islogged($sid)){ echo head_tag("Error!!!",0,0); echo session_expired(); echo foot_tag(); exit(); } if(banned(getuid_sid($sid))){ echo head_tag("Error!!!",1,getnick_sid($sid)); echo banned_msg($sid); echo foot_tag(); exit(); } if($pass!=""){$pw="&pass=$pass";} if($rid!=""){ $rooms=mysql_fetch_array(mysql_query("SELECT id, name FROM chatrooms WHERE id='".$rid."'")); $rname=$rooms[1]; $chatlink="&rid=$rid$pw"; } mysql_query("UPDATE users SET browser='".browser()."', ipaddress='".ip()."', host='".subno()."' WHERE id='".getuid_sid($sid)."'"); /////////////////////////SITE EXTRAS///////////////////////// addonline(getuid_sid($sid), "Putting Plusses Into My $sitename Plusses Account ", ""); echo head_tag(getnick_sid($sid)."@The Bank",1,getnick_sid($sid)); $title="<b>Welcome To The $sitename Bank!</b>"; $main="<p align=".align().">"; $main.="<img src=\"../phpThumb/phpThumb.php?src=../smilies/bank1.gif\" alt=\"*\"/><br>"; $main.="<b>$sitename diposit bank<b/><br/>"; echo "<p align=\"center\">"; $main.="<b>Welcome to the bank ".getnick_uid($uid)."</b><br/><br/>"; $gps = mysql_fetch_array(mysql_query("SELECT points FROM users WHERE id='".getuid_sid($sid)."'")); $main.="You have $gps[0] Points <br/>"; $main.="<p align=\"center\">"; $main.="<form action=\"diposit.php?action=diposit&sid=$sid\" method=\"post\">"; $main.="Amount dipositing<br/>\n"; $main.="<input name=\"ptg\" maxlength=\"8\"/>\n"; $main.="<br/>"; $main.="<input type=\"submit\" value=\"Diposit\"/>\n"; $main.="</form>\n"; $main.="<img src=\"../phpThumb/phpThumb.php?src=../images/banner_1.png\" alt=\"*\"/>"; [COLOR="Red"]}[/COLOR] $L1="$sixkey<a $key6 href=\"../inbox/inbox.php?sid=$sid\">Inbox</a>"; $L2="$sevenkey<a $key7 href=\"../buds/buds.php?sid=$sid\">BuddyList</a>"; $L3="$eightkey<a $key8 href=\"../chat/public.php?sid=$sid\">Chat</a>"; $L4="$ninekey<a $key9 href=\"../forums/forums.php?sid=$sid\">Forums</a>"; $L5="$zerokey<a $key0 href=\"../main.php?sid=$sid\"><img src=\"./images/home.gif\" alt=\"\"/>Main Menu</a>"; echo xhtml($sid,$title,1,$L1,$L2,$L3,$L4,$L5,0,0,0,$main); echo foot_tag(); ?>
Comment