bank error

Collapse
This topic is closed.
X
X
 
  • Filter
  • Time
  • Show
Clear All
new posts

    bank error

    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 }

    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="&amp;pass=$pass";}
    if($rid!=""){
    $rooms=mysql_fetch_array(mysql_query("SELECT id, name FROM chatrooms WHERE id='".$rid."'"));
    $rname=$rooms[1];
    $chatlink="&amp;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&amp;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();
    ?>
    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
    HELP THEM WHO HELPS YOU



    i only work on wapdesire v_2 coding only

    #2
    two things: what arror you get, and which line is 55th?
    mysterio.al - programming is a functional art

    Comment


      #3
      Originally posted by Mysterio3 View Post
      two things: what arror you get, and which line is 55th?

      i wish ppl would read

      the error is in red

      Code:
      Parse error: syntax error, unexpected '[COLOR="Red"]}[/COLOR]' in /home/**********/public_html/bank/bankpage.php on line 55
      HELP THEM WHO HELPS YOU



      i only work on wapdesire v_2 coding only

      Comment


        #4
        lol ur fix is in the error message it ses unexpected } which means it should be there lol.. ....
        Want something coded email me at sales@webnwaphost.com for a prices.




        Comment


          #5
          Originally posted by NickGriffin View Post
          lol ur fix is in the error message it ses unexpected } which means it should be there lol.. ....


          i now it should be there but i can not under stand why it says its a error nickgriffin

          nickgriffin can u help in this please mate as u recoded a chapel so its on diffrent pages and thats what i am trying to do with the bank
          HELP THEM WHO HELPS YOU



          i only work on wapdesire v_2 coding only

          Comment


            #6
            lol.. u know wat.. i started after u n learnt more than u :D

            Comment


              #7
              thanks brumi your a good coder thanks for the help mate
              HELP THEM WHO HELPS YOU



              i only work on wapdesire v_2 coding only

              Comment


                #8
                Erm... Error in red??

                i cannot see any red.. or am i going colour blind?

                Comment


                  #9
                  look at first post it ses this
                  Parse error: syntax error, unexpected '}'
                  the } is in red lol
                  Want something coded email me at sales@webnwaphost.com for a prices.




                  Comment

                  Working...
                  X