Discover Habbo's history
Treat yourself with a Secret Santa gift.... of a random Wiki page for you to start exploring Habbo's history!
Happy holidays!
Celebrate with us at Habbox on the hotel, on our Forum and right here!
Join Habbox!
One of us! One of us! Click here to see the roles you could take as part of the Habbox community!


Results 1 to 5 of 5
  1. #1
    Join Date
    Aug 2005
    Posts
    856
    Tokens
    0

    Default PHP Error... help please?

    PHP Code:
    <html>

    <head>
    <meta http-equiv="Content-Type" content="text/html; charset=windows-1252">
    <meta name="GENERATOR" content="Microsoft FrontPage 4.0">
    <meta name="ProgId" content="FrontPage.Editor.Document">
    <title>OurHabbo Users: Update Face</title>
    <link href="ourhabbo.css" rel="stylesheet" type="text/css">
    <title>Home</title>
    <style type="text/css">
    a {
    font-size: 10px;
    color: #000000;
    }
    a:link {
    text-decoration: none;
    color: #000000;
    }
    a:visited {
    text-decoration: none;
    color: #000000;
    }
    a:hover {
    text-decoration: underline;
    color: #000000;
    }
    a:active {
    text-decoration: none;
    color: #000000;
    }
    body,td,th,p {
    font-family: Verdana;
    font-size: 10px;
    color: #000000;
    }
    .12 { color: red; }
    .11 { color: navy; }
    .10 { color: ; }
    .9 { color: darkorchid; }
    .8 { color: darkorchid; }
    .7 { color: darkorchid; }
    .6 { color: darkorchid; }
    .5 { color: green; }
    .4 { color: green; }
    .3 { color: green; }
    .2 { color: green; }
    .1 { color: black; }
    input {
        font-family: Tahoma, Arial;
        font-size: 8pt;
        font-weight: bold;
        color: #000000;
        background-color: #FFFFFF;
        border: 1px solid #000000;
    }
    select {
        background-color: #ffffff;
        font-family: Arial, Helvetica, sans-serif;
        font-size: 8pt;
        color: #000000;
        width: 200;
        border: 1px solid #000000;
    }
    textarea {
    background-color: #ffffff;
        font-family: Arial, Helvetica, sans-serif;
        font-size: 8pt;
        color: #000000;
        width: 200;
        border: 1px solid #000000;
    }

    </style>
    </head>

    <body bgcolor="#ffffff">
    Update Your Face.
    <p>On this page you can update you Habbo Face. Your Habbo face will be used all
    over the usersystem.</p>
    <? 
    ob_start
    (); 
    include(
    "config.php"); 
    if (
    $logged[username] && $logged[level] > 0

    if (!
    $_POST[update]) 

    $profile mysql_query("SELECT * from users where username = '$logged[username]'"); 
    $profile mysql_fetch_array($profile); 
    echo(
    "
    ?>
    <center>
    <form method=\"POST\">
      <div align=\"center\">
    <table height="
    251">
    <tr class='contentTableHeader'>
          <td colspan='4' align=center valign=\"middle\" height=\"21\">
            <p align=\"center\">Normal Heads</td>
    </tr>
    <tr class='contentTableAltRow'>
          <td width=\"25%\" align=center valign=\"middle\" height=\"25\"><input type=\"radio\" value='http://www.ourhabbouk.co.uk/site/images/face1.gif' checked name='R1'><img border=\"0\" src='http://www.ourhabbo.net/site/images/face1.gif'></td>
          <td width=\"25%\" align=center valign=\"middle\" height=\"25\"><input type=\"radio\" value=\"http://www.ourhabbouk.co.uk/site/images/face2.gif\" name=\"R1\"2><img border=\"0\" src='http://www.ourhabbo.net/site/images/face2.gif' ></td>
          <td width=\"25%\" align=center valign=\"middle\" height="
    25"><input type=\"radio\" value=\"http://www.ourhabbouk.co.uk/site/images/face3.gif\" name=\"R1\"3><img border=\"0\" src='http://www.ourhabbo.net/site/images/face3.gif' width="26" height="34"></td>
          <td width=\"25%\" align=center valign=\"middle\" height="
    25"><input type=\"radio\" value=\"http://www.ourhabbouk.co.uk/site/images/face4.gif\" name=\"R1\"4><img border=\"0\" src='http://www.ourhabbo.net/site/images/face4.gif' width="26" height="33"></td>
    </tr>
    <tr class='contentTableAltRow'>
          <td width=\"25%\" align=center valign=\"middle\" height="
    25"><input type=\"radio\" value=\"http://www.ourhabbouk.co.uk/site/images/faces/girl1.gif\" name=\"R1\"5><img border=\"0\" src='http://www.ourhabbo.net/site/images/faces/girl1.gif' width="26" height="36"></td>
         <td width=\"25%\" align=center valign=\"middle\" height="
    25"><input type=\"radio\" value=\"http://www.ourhabbouk.co.uk/site/images/face19.gif\" name=\"R1\"19><img border=\"0\" src='http://www.ourhabbo.net/site/images/face19.gif' width="26" height="36" ></td>
        <td width=\"25%\" align=center valign=\"middle\" height="
    25"><input type=\"radio\" name=\"R1\" value=\"http://www.ourhabbouk.co.uk/site/images/face7.gif\"><img border=\"0\" src='http://www.ourhabbo.net/site/images/face7.gif' width="29" height="41"></td>
        <td width=\"25%\" align=center valign=\"middle\" height="
    25"><input type=\"radio\" value=\"http://www.ourhabbouk.co.uk/site/images/face8.gif.gif\" name=\"R1\"><img border=\"0\" src='http://www.ourhabbo.net/site/images/face8.gif' width="45" height="49"></td>
    </tr>
    <tr class='contentTableAltRow'>
          <td width=\"25%\" align=center valign=\"middle\" height="
    25"><input type=\"radio\" value=\"http://www.ourhabbouk.co.uk/site/images/faces/girl2.gif\" name=\"R1\"9><img border=\"0\" src='http://www.ourhabbo.net/site/images/faces/girl2.gif' width="38" height="34"></td>
          <td width=\"25%\" align=center valign=\"middle\" height="
    25"><input type=\"radio\" value=\"http://www.ourhabbouk.co.uk/site/images/face10.gif\" name=\"R1\"><img border=\"0\" src='http://www.ourhabbo.net/site/images/face10.gif' width="28" height="33"></td>
        <td width=\"25%\" align=center valign=\"middle\" height="
    25"><input type=\"radio\" value=\"http://www.ourhabbouk.co.uk/site/images/face11.gif\" name=\"R1\"><img border=\"0\" src='http://www.ourhabbo.net/site/images/face11.gif' width="28" height="34"></td>
          <td width=\"25%\" align=center valign=\"middle\" height="
    25"><input type=\"radio\" value=\"http://www.ourhabbouk.co.uk/site/images/faces/boy1.gif\" name=\"R1\"><img border=\"0\" src='http://www.ourhabbo.net/site/images/faces/boy1.gif' width="28" height="33"></td> 
    </tr>
    <tr class='contentTableAltRow'>
          <td width=\"25%\" align=center valign=\"middle\" height="
    25"><input type=\"radio\" value=\"http://www.ourhabbouk.co.uk/site/images/face13.gif\" name=\"R1\"><img border=\"0\" src='http://www.ourhabbo.net/site/images/face13.gif' width="29" height="35"></td> 
          <td width=\"25%\" align=center valign=\"middle\" height="
    25"><input type=\"radio\" value=\"http://www.ourhabbouk.co.uk/site/images/face14.gif\" name=\"R1\"><img border=\"0\" src='http://www.ourhabbo.net/site/images/face14.gif' width="26" height="32"></td>
        <td width=\"25%\" align=center valign=\"middle\" height="
    25"><input type=\"radio\" value=\"http://www.ourhabbouk.co.uk/site/images/face15.gif\" name=\"R1\"><img border=\"0\" src='http://www.ourhabbo.net/site/images/face15.gif' width="40" height="39"></td>
          <td width=\"25%\" align=center valign=\"middle\" height="
    25"><input type=\"radio\" value=\"http://www.ourhabbouk.co.uk/site/images/face20.gif\" name=\"R1\"11><img border=\"0\" src='http://www.ourhabbo.net/site/images/face20.gif' width="30" height="31" ></td>
    </tr>
    <tr class='contentTableAltRow'>
          <td width=\"25%\" align=center valign=\"middle\" height="
    25"><input type=\"radio\" value=\"http://www.ourhabbouk.co.uk/site/images/faces/boy2.gif\" name=\"R1\"><img border=\"0\" src='http://www.ourhabbo.net/site/images/faces/boy2.gif' width="26" height="33" ></td>
          <td width=\"25%\" align=center valign=\"middle\" height="
    25"><input type=\"radio\" value=\"http://www.ourhabbouk.co.uk/site/images/face18.gif\" name=\"R1\"><img border=\"0\" src='http://www.ourhabbo.net/site/images/face18.gif' width="48" height="33" ></td>
        <td width=\"25%\" align=center valign=\"middle\" height="
    25"></td>
          <td width=\"25%\" align=center valign=\"middle\" height="
    25"></td>
    </tr>
    <tr class='FooterText'>
          <td colspan='4' align=center valign=\"middle\" height="
    19"></td>
    </tr>
    <tr>
          <td colspan='4' align=center valign=\"middle\" height="
    19">
          </td>
    </tr>
    <tr class='contentTableHeader'>
          <td colspan='4' align=center valign=\"middle\" height="
    19">
            <p align="
    center">Special Event Heads</td>
    </tr>
    <tr class='contentTableAltRow'>
          <td width=\"25%\" align=center valign=\"middle\" height="
    25"><input type=\"radio\" value=\"http://www.ourhabbouk.co.uk/site/images/habboween/frank1.gif\" name=\"R1\"><img border=\"0\" src='http://www.ourhabbo.net/site/images/habboween/frank1.gif' width="33" height="39"></td> 
          <td width=\"25%\" align=center valign=\"middle\" height="
    25"><input type=\"radio\" value=\"http://www.ourhabbouk.co.uk/site/images/habboween/frank2.gif\" name=\"R1\"><img border=\"0\" src='http://www.ourhabbo.net/site/images/habboween/frank2.gif' width="30" height="35"></td>
        <td width=\"25%\" align=center valign=\"middle\" height="
    25"><input type=\"radio\" value=\"http://www.ourhabbouk.co.uk/site/images/habboween/frank3.gif\" name=\"R1\"><img border=\"0\" src='http://www.ourhabbo.net/site/images/habboween/frank3.gif' width="30" height="35"></td>
          <td width=\"25%\" align=center valign=\"middle\" height="
    25"><input type=\"radio\" value=\"http://www.ourhabbouk.co.uk/site/images/habboween/ghost.gif\" name=\"R1\"><img border=\"0\" src='http://www.ourhabbo.net/site/images/habboween/ghost.gif' width="30" height="32"></td>
    </tr>
    <tr class='contentTableAltRow'>
          <td width=\"25%\" align=center valign=\"middle\" height="
    25"><input type=\"radio\" value=\"http://www.ourhabbouk.co.uk/site/images/habboween/witch.gif\" name=\"R1\"><img border=\"0\" src='http://www.ourhabbo.net/site/images/habboween/witch.gif' width="44" height="44"></td> 
          <td width=\"25%\" align=center valign=\"middle\" height="
    25"><input type=\"radio\" value=\"http://www.ourhabbouk.co.uk/site/images/habboween/mummy.gif\" name=\"R1\"><img border=\"0\" src='http://www.ourhabbo.net/site/images/habboween/mummy.gif' width="24" height="28"></td>
        <td width=\"25%\" align=center valign=\"middle\" height="
    25"><input type=\"radio\" value=\"http://www.ourhabbouk.co.uk/site/images/habboween/skull.gif\" name=\"R1\"><img border=\"0\" src='http://www.ourhabbo.net/site/images/habboween/skull.gif' width="23" height="25"></td>
          <td width=\"25%\" align=center valign=\"middle\" height="
    25"></td>
    </tr>
    <tr class='FooterText'>
          <td colspan='4' align=center valign=\"middle\" height="
    19"></td>
    </tr>
    <tr>
          <td colspan='4' align=center valign=\"middle\" height="
    19">
          </td>
    </tr>
    <tr class='contentTableHeader'>
          <td colspan='4' align=center valign=\"middle\" height="
    19">
            <p align="
    center">Staff Heads</td>
    </tr>
    <tr class='contentTableAltRow'>
          <td width=\"25%\" align=center valign=\"middle\" height="
    25">
          <input type=\"radio\" value=\"http://www.ourhabbouk.co.uk/site/images/face16.gif\" name=\"R1\"10>
          <img border=\"0\" src='http://www.ourhabbo.net/site/images/face16.gif' width="
    37" height="34"></td> 
          
          <td width=\"25%\" align=center valign=\"middle\" height="
    25">
          <input type=\"radio\" value=\"http://www.ourhabbo.net/site/images/faces/StaffGirlHead2.gif\" name=\"R1\"12>
          <img border=\"0\" src='http://www.ourhabbo.net/site/images/faces/StaffGirlHead2.gif' width="
    34" height="36"></td>
          
        <td width=\"25%\" align=center valign=\"middle\" height="
    25">
        <input type=\"radio\" value=\"http://www.ourhabbo.net/site/images/faces/StaffGirlHeadg3.gif\" name=\"R1\"13>
        <img border=\"0\" src='http://www.ourhabbo.net/site/images/faces/StaffGirlHeadg3.gif' width="
    28" height="31"></td>
          
          <td width=\"25%\" align=center valign=\"middle\" height="
    25">
          <input type=\"radio\" value=\"http://www.ourhabbo.net/site/images/faces/StaffGirlsHead.gif\" name=\"R1\"14>
          <img border=\"0\" src='http://www.ourhabbo.net/site/images/faces/StaffGirlsHead.gif' width="
    33" height="34"></td>
    </tr>
    <tr class='contentTableAltRow'>
          <td width=\"25%\" align=center valign=\"middle\" height="
    25">
          <input type=\"radio\" value=\"http://www.ourhabbo.net/site/images/faces/StaffGirlsHeadG2.gif\" name=\"R1\"15>
          <img border=\"0\" src='http://www.ourhabbo.net/site/images/faces/StaffGirlsHeadG2.gif' width="
    32" height="31"></td> 
          
          <td width=\"25%\" align=center valign=\"middle\" height="
    25">
          <input type=\"radio\" value=\"http://www.ourhabbo.net/site/images/faces/StaffBoysHead2.gif\" name=\"R1\"16>
          <img border=\"0\" src='http://www.ourhabbo.net/site/images/faces/StaffBoysHead2.gif' width="
    32" height="37"></td>
        
        <td width=\"25%\" align=center valign=\"middle\" height="
    25">
        <input type=\"radio\" value=\"http://www.ourhabbo.net/site/images/faces/StaffBoysHeadBunny.gif\" name=\"R1\"17>
        <img border=\"0\" src='http://www.ourhabbo.net/site/images/faces/StaffBoysHeadBunny.gif' width="
    54" height="42"></td>
         
     <td width=\"25%\" align=center valign=\"middle\" height="
    25">
     <input type=\"radio\" value=\"http://www.ourhabbo.net/site/images/faces/StaffBoysHeadG2.gif\" name=\"R1\"18>
     <img border=\"0\" src='http://www.ourhabbo.net/site/images/faces/StaffBoysHeadG2.gif' width="
    32" height="34"></td>
    </tr>
    <tr class='contentTableAltRow'>
          <td width=\"25%\" align=center valign=\"middle\" height="
    25">
          <input type=\"radio\" value=\"http://www.ourhabbouk.co.uk/site/images/face5.gif\" name=\"R1\"15>
          <img border=\"0\" src='http://www.ourhabbo.net/site/images/face5.gif' width="
    28" height="33"></td> 
          <td width=\"25%\" align=center valign=\"middle\" height="
    25">
          <input type=\"radio\" value=\"http://www.ourhabbouk.co.uk/site/images/face9.gif\" name=\"R1\"16>
          <img border=\"0\" src='http://www.ourhabbo.net/site/images/face9.gif' width="
    40" height="33"></td>
        <td width=\"25%\" align=center valign=\"middle\" height="
    25">
        <input type=\"radio\" value=\"http://www.ourhabbouk.co.uk/site/images/face12.gif\" name=\"R1\"17>
        <img border=\"0\" src='http://www.ourhabbo.net/site/images/face12.gif' width="
    37" height="34"></td>
          <td width=\"25%\" align=center valign=\"middle\" height="
    25"
          ><input type=\"radio\" value=\"http://www.ourhabbouk.co.uk/site/images/face17.gif\" name=\"R1\"18>
          <img border=\"0\" src='http://www.ourhabbo.net/site/images/face17.gif' width="
    32" height="35"></td>
    </tr>
    <tr class='FooterText'>
          <td colspan='4' align=center valign=\"middle\" height="
    19"></td>
    </tr>
    <tr>
          <td colspan='4' align=center valign=\"middle\" height="
    19">
          </td>
    </tr>
    </table>
    </div>
      <p align=\"center\"><input type='submit' value='Update' name='update'>
    </form>
    </center><?
    "
    );

    else 

    $face htmlspecialchars($_POST[R1]);
    $update mysql_query("Update users set face = '$face' where username = '$logged[username]'");  
    $profile mysql_query("SELECT * from users where username = '$logged[username]'"); 
    $profile mysql_fetch_array($profile);
    echo (
    "Your face has been updated!<br><br>Your new face is:<br><img src='$profile[face]'>");  


    else 

    echo (
    "<a href='login.php'>You must login</a>"); 

    ?>
    </body>

    </html>
    Theres the extremely long coding, and here the short error:

    Code:
    Parse error: syntax error, unexpected T_LNUMBER in /home/ourhabbo/public_html/site/face.php on line 96
    Please fix lol?
    Last edited by xRoyal15; 26-10-2006 at 03:10 PM.

  2. #2
    Join Date
    Dec 2005
    Posts
    1,733
    Tokens
    201
    Habbo
    Bomb-Head

    Latest Awards:

    Default

    Try this:

    Code:
    <html> 
    <head> 
    <meta http-equiv="Content-Type" content="text/html; charset=windows-1252"> 
    <meta name="GENERATOR" content="Microsoft FrontPage 4.0"> 
    <meta name="ProgId" content="FrontPage.Editor.Document"> 
    <title>OurHabbo Users: Update Face</title> 
    <link href="ourhabbo.css" rel="stylesheet" type="text/css"> 
    <title>Home</title> 
    <style type="text/css"> 
    a { 
    font-size: 10px; 
    color: #000000; 
    } 
    a:link { 
    text-decoration: none; 
    color: #000000; 
    } 
    a:visited { 
    text-decoration: none; 
    color: #000000; 
    } 
    a:hover { 
    text-decoration: underline; 
    color: #000000; 
    } 
    a:active { 
    text-decoration: none; 
    color: #000000; 
    } 
    body,td,th,p { 
    font-family: Verdana; 
    font-size: 10px; 
    color: #000000; 
    } 
    .12 { color: red; } 
    .11 { color: navy; } 
    .10 { color: ; } 
    .9 { color: darkorchid; } 
    .8 { color: darkorchid; } 
    .7 { color: darkorchid; } 
    .6 { color: darkorchid; } 
    .5 { color: green; } 
    .4 { color: green; } 
    .3 { color: green; } 
    .2 { color: green; } 
    .1 { color: black; } 
    input { 
        font-family: Tahoma, Arial; 
        font-size: 8pt; 
        font-weight: bold; 
        color: #000000; 
        background-color: #FFFFFF; 
        border: 1px solid #000000; 
    } 
    select { 
        background-color: #ffffff; 
        font-family: Arial, Helvetica, sans-serif; 
        font-size: 8pt; 
        color: #000000; 
        width: 200; 
        border: 1px solid #000000; 
    } 
    textarea { 
    background-color: #ffffff; 
        font-family: Arial, Helvetica, sans-serif; 
        font-size: 8pt; 
        color: #000000; 
        width: 200; 
        border: 1px solid #000000; 
    } 
    </style> 
    </head> 
    <body bgcolor="#ffffff"> 
    Update Your Face. 
    <p>On this page you can update you Habbo Face. Your Habbo face will be used all 
    over the usersystem.</p> 
    <?  
    ob_start();  
    include("config.php");  
    if ($logged[username] && $logged[level] > 0)  
    {  
    if (!$_POST[update])  
    {  
    $profile = mysql_query("SELECT * from users where username = '$logged[username]'");  
    $profile = mysql_fetch_array($profile);  
    echo(" 
    ?> 
    <center> 
    <form method=\"POST\"> 
      <div align=\"center\"> 
    <table height="251"> 
    <tr class='contentTableHeader'> 
          <td colspan=\"4\" align=center valign=\"middle\" height=\"21\"> 
            <p align=\"center\">Normal Heads</td> 
    </tr> 
    <tr class='contentTableAltRow'> 
          <td width=\"25%\" align=center valign=\"middle\" height=\"25\"><input type=\"radio\" value='http://www.ourhabbouk.co.uk/site/images/face1.gif' checked name='R1'><img border=\"0\" src='http://www.ourhabbo.net/site/images/face1.gif'></td> 
          <td width=\"25%\" align=center valign=\"middle\" height=\"25\"><input type=\"radio\" value=\"http://www.ourhabbouk.co.uk/site/images/face2.gif\" name=\"R1\"2><img border=\"0\" src='http://www.ourhabbo.net/site/images/face2.gif' ></td> 
          <td width=\"25%\" align=center valign=\"middle\" height="25"><input type=\"radio\" value=\"http://www.ourhabbouk.co.uk/site/images/face3.gif\" name=\"R1\"3><img border=\"0\" src='http://www.ourhabbo.net/site/images/face3.gif' width="26" height="34"></td> 
          <td width=\"25%\" align=center valign=\"middle\" height="25"><input type=\"radio\" value=\"http://www.ourhabbouk.co.uk/site/images/face4.gif\" name=\"R1\"4><img border=\"0\" src='http://www.ourhabbo.net/site/images/face4.gif' width="26" height="33"></td> 
    </tr> 
    <tr class='contentTableAltRow'> 
          <td width=\"25%\" align=center valign=\"middle\" height="25"><input type=\"radio\" value=\"http://www.ourhabbouk.co.uk/site/ima...ces/girl1.gif\" name=\"R1\"5><img border=\"0\" src='http://www.ourhabbo.net/site/images/faces/girl1.gif' width="26" height="36"></td> 
         <td width=\"25%\" align=center valign=\"middle\" height="25"><input type=\"radio\" value=\"http://www.ourhabbouk.co.uk/site/images/face19.gif\" name=\"R1\"19><img border=\"0\" src='http://www.ourhabbo.net/site/images/face19.gif' width="26" height="36" ></td> 
        <td width=\"25%\" align=center valign=\"middle\" height="25"><input type=\"radio\" name=\"R1\" value=\"<A href="http://www.ourhabbouk.co.uk/site/images/face7.gif\"><img">http://www.ourhabbouk.co.uk/site/images/face7.gif\"><img border=\"0\" src='http://www.ourhabbo.net/site/images/face7.gif' width="29" height="41"></td> 
        <td width=\"25%\" align=center valign=\"middle\" height="25"><input type=\"radio\" value=\"http://www.ourhabbouk.co.uk/site/images/face8.gif.gif\" name=\"R1\"><img border=\"0\" src='http://www.ourhabbo.net/site/images/face8.gif' width="45" height="49"></td> 
    </tr> 
    <tr class='contentTableAltRow'> 
          <td width=\"25%\" align=center valign=\"middle\" height="25"><input type=\"radio\" value=\"http://www.ourhabbouk.co.uk/site/ima...ces/girl2.gif\" name=\"R1\"9><img border=\"0\" src='http://www.ourhabbo.net/site/images/faces/girl2.gif' width="38" height="34"></td> 
          <td width=\"25%\" align=center valign=\"middle\" height="25"><input type=\"radio\" value=\"http://www.ourhabbouk.co.uk/site/images/face10.gif\" name=\"R1\"><img border=\"0\" src='http://www.ourhabbo.net/site/images/face10.gif' width="28" height="33"></td> 
        <td width=\"25%\" align=center valign=\"middle\" height="25"><input type=\"radio\" value=\"http://www.ourhabbouk.co.uk/site/images/face11.gif\" name=\"R1\"><img border=\"0\" src='http://www.ourhabbo.net/site/images/face11.gif' width="28" height="34"></td> 
          <td width=\"25%\" align=center valign=\"middle\" height="25"><input type=\"radio\" value=\"http://www.ourhabbouk.co.uk/site/images/faces/boy1.gif\" name=\"R1\"><img border=\"0\" src='http://www.ourhabbo.net/site/images/faces/boy1.gif' width="28" height="33"></td>  
    </tr> 
    <tr class='contentTableAltRow'> 
          <td width=\"25%\" align=center valign=\"middle\" height="25"><input type=\"radio\" value=\"http://www.ourhabbouk.co.uk/site/images/face13.gif\" name=\"R1\"><img border=\"0\" src='http://www.ourhabbo.net/site/images/face13.gif' width="29" height="35"></td>  
          <td width=\"25%\" align=center valign=\"middle\" height="25"><input type=\"radio\" value=\"http://www.ourhabbouk.co.uk/site/images/face14.gif\" name=\"R1\"><img border=\"0\" src='http://www.ourhabbo.net/site/images/face14.gif' width="26" height="32"></td> 
        <td width=\"25%\" align=center valign=\"middle\" height="25"><input type=\"radio\" value=\"http://www.ourhabbouk.co.uk/site/images/face15.gif\" name=\"R1\"><img border=\"0\" src='http://www.ourhabbo.net/site/images/face15.gif' width="40" height="39"></td> 
          <td width=\"25%\" align=center valign=\"middle\" height="25"><input type=\"radio\" value=\"http://www.ourhabbouk.co.uk/site/images/face20.gif\" name=\"R1\"11><img border=\"0\" src='http://www.ourhabbo.net/site/images/face20.gif' width="30" height="31" ></td> 
    </tr> 
    <tr class='contentTableAltRow'> 
          <td width=\"25%\" align=center valign=\"middle\" height="25"><input type=\"radio\" value=\"http://www.ourhabbouk.co.uk/site/images/faces/boy2.gif\" name=\"R1\"><img border=\"0\" src='http://www.ourhabbo.net/site/images/faces/boy2.gif' width="26" height="33" ></td> 
          <td width=\"25%\" align=center valign=\"middle\" height="25"><input type=\"radio\" value=\"http://www.ourhabbouk.co.uk/site/images/face18.gif\" name=\"R1\"><img border=\"0\" src='http://www.ourhabbo.net/site/images/face18.gif' width="48" height="33" ></td> 
        <td width=\"25%\" align=center valign=\"middle\" height="25"></td> 
          <td width=\"25%\" align=center valign=\"middle\" height="25"></td> 
    </tr> 
    <tr class='FooterText'> 
          <td colspan='4' align=center valign=\"middle\" height="19"></td> 
    </tr> 
    <tr> 
          <td colspan='4' align=center valign=\"middle\" height="19"> 
          </td> 
    </tr> 
    <tr class='contentTableHeader'> 
          <td colspan='4' align=center valign=\"middle\" height="19"> 
            <p align="center">Special Event Heads</td> 
    </tr> 
    <tr class='contentTableAltRow'> 
          <td width=\"25%\" align=center valign=\"middle\" height="25"><input type=\"radio\" value=\"http://www.ourhabbouk.co.uk/site/ima...en/frank1.gif\" name=\"R1\"><img border=\"0\" src='http://www.ourhabbo.net/site/images/habboween/frank1.gif' width="33" height="39"></td>  
          <td width=\"25%\" align=center valign=\"middle\" height="25"><input type=\"radio\" value=\"http://www.ourhabbouk.co.uk/site/ima...en/frank2.gif\" name=\"R1\"><img border=\"0\" src='http://www.ourhabbo.net/site/images/habboween/frank2.gif' width="30" height="35"></td> 
        <td width=\"25%\" align=center valign=\"middle\" height="25"><input type=\"radio\" value=\"http://www.ourhabbouk.co.uk/site/ima...en/frank3.gif\" name=\"R1\"><img border=\"0\" src='http://www.ourhabbo.net/site/images/habboween/frank3.gif' width="30" height="35"></td> 
          <td width=\"25%\" align=center valign=\"middle\" height="25"><input type=\"radio\" value=\"http://www.ourhabbouk.co.uk/site/ima...een/ghost.gif\" name=\"R1\"><img border=\"0\" src='http://www.ourhabbo.net/site/images/habboween/ghost.gif' width="30" height="32"></td> 
    </tr> 
    <tr class='contentTableAltRow'> 
          <td width=\"25%\" align=center valign=\"middle\" height="25"><input type=\"radio\" value=\"http://www.ourhabbouk.co.uk/site/ima...een/witch.gif\" name=\"R1\"><img border=\"0\" src='http://www.ourhabbo.net/site/images/habboween/witch.gif' width="44" height="44"></td>  
          <td width=\"25%\" align=center valign=\"middle\" height="25"><input type=\"radio\" value=\"http://www.ourhabbouk.co.uk/site/ima...een/mummy.gif\" name=\"R1\"><img border=\"0\" src='http://www.ourhabbo.net/site/images/habboween/mummy.gif' width="24" height="28"></td> 
        <td width=\"25%\" align=center valign=\"middle\" height="25"><input type=\"radio\" value=\"http://www.ourhabbouk.co.uk/site/ima...een/skull.gif\" name=\"R1\"><img border=\"0\" src='http://www.ourhabbo.net/site/images/habboween/skull.gif' width="23" height="25"></td> 
          <td width=\"25%\" align=center valign=\"middle\" height="25"></td> 
    </tr> 
    <tr class='FooterText'> 
          <td colspan='4' align=center valign=\"middle\" height="19"></td> 
    </tr> 
    <tr> 
          <td colspan='4' align=center valign=\"middle\" height="19"> 
          </td> 
    </tr> 
    <tr class='contentTableHeader'> 
          <td colspan='4' align=center valign=\"middle\" height="19"> 
            <p align="center">Staff Heads</td> 
    </tr> 
    <tr class='contentTableAltRow'> 
          <td width=\"25%\" align=center valign=\"middle\" height="25"> 
          <input type=\"radio\" value=\"http://www.ourhabbouk.co.uk/site/images/face16.gif\" name=\"R1\"10> 
          <img border=\"0\" src='http://www.ourhabbo.net/site/images/face16.gif' width="37" height="34"></td>  
           
          <td width=\"25%\" align=center valign=\"middle\" height="25"> 
          <input type=\"radio\" value=\"http://www.ourhabbo.net/site/images/...GirlHead2.gif\" name=\"R1\"12> 
          <img border=\"0\" src='http://www.ourhabbo.net/site/images/faces/StaffGirlHead2.gif' width="34" height="36"></td> 
           
        <td width=\"25%\" align=center valign=\"middle\" height="25"> 
        <input type=\"radio\" value=\"http://www.ourhabbo.net/site/images/...irlHeadg3.gif\" name=\"R1\"13> 
        <img border=\"0\" src='http://www.ourhabbo.net/site/images/faces/StaffGirlHeadg3.gif' width="28" height="31"></td> 
           
          <td width=\"25%\" align=center valign=\"middle\" height="25"> 
          <input type=\"radio\" value=\"http://www.ourhabbo.net/site/images/...GirlsHead.gif\" name=\"R1\"14> 
          <img border=\"0\" src='http://www.ourhabbo.net/site/images/faces/StaffGirlsHead.gif' width="33" height="34"></td> 
    </tr> 
    <tr class='contentTableAltRow'> 
          <td width=\"25%\" align=center valign=\"middle\" height="25"> 
          <input type=\"radio\" value=\"http://www.ourhabbo.net/site/images/...rlsHeadG2.gif\" name=\"R1\"15> 
          <img border=\"0\" src='http://www.ourhabbo.net/site/images/faces/StaffGirlsHeadG2.gif' width="32" height="31"></td>  
           
          <td width=\"25%\" align=center valign=\"middle\" height="25"> 
          <input type=\"radio\" value=\"http://www.ourhabbo.net/site/images/...BoysHead2.gif\" name=\"R1\"16> 
          <img border=\"0\" src='http://www.ourhabbo.net/site/images/faces/StaffBoysHead2.gif' width="32" height="37"></td> 
         
        <td width=\"25%\" align=center valign=\"middle\" height="25"> 
        <input type=\"radio\" value=\"http://www.ourhabbo.net/site/images/...HeadBunny.gif\" name=\"R1\"17> 
        <img border=\"0\" src='http://www.ourhabbo.net/site/images/faces/StaffBoysHeadBunny.gif' width="54" height="42"></td> 
          
     <td width=\"25%\" align=center valign=\"middle\" height="25"> 
     <input type=\"radio\" value=\"http://www.ourhabbo.net/site/images/...oysHeadG2.gif\" name=\"R1\"18> 
     <img border=\"0\" src='http://www.ourhabbo.net/site/images/faces/StaffBoysHeadG2.gif' width="32" height="34"></td> 
    </tr> 
    <tr class='contentTableAltRow'> 
          <td width=\"25%\" align=center valign=\"middle\" height="25"> 
          <input type=\"radio\" value=\"http://www.ourhabbouk.co.uk/site/images/face5.gif\" name=\"R1\"15> 
          <img border=\"0\" src='http://www.ourhabbo.net/site/images/face5.gif' width="28" height="33"></td>  
          <td width=\"25%\" align=center valign=\"middle\" height="25"> 
          <input type=\"radio\" value=\"http://www.ourhabbouk.co.uk/site/images/face9.gif\" name=\"R1\"16> 
          <img border=\"0\" src='http://www.ourhabbo.net/site/images/face9.gif' width="40" height="33"></td> 
        <td width=\"25%\" align=center valign=\"middle\" height="25"> 
        <input type=\"radio\" value=\"http://www.ourhabbouk.co.uk/site/images/face12.gif\" name=\"R1\"17> 
        <img border=\"0\" src='http://www.ourhabbo.net/site/images/face12.gif' width="37" height="34"></td> 
          <td width=\"25%\" align=center valign=\"middle\" height="25" 
          ><input type=\"radio\" value=\"http://www.ourhabbouk.co.uk/site/images/face17.gif\" name=\"R1\"18> 
          <img border=\"0\" src='http://www.ourhabbo.net/site/images/face17.gif' width="32" height="35"></td> 
    </tr> 
    <tr class='FooterText'> 
          <td colspan='4' align=center valign=\"middle\" height="19"></td> 
    </tr> 
    <tr> 
          <td colspan='4' align=center valign=\"middle\" height="19"> 
          </td> 
    </tr> 
    </table> 
    </div> 
      <p align=\"center\"><input type='submit' value='Update' name='update'> 
    </form> 
    </center><? 
    "); 
    }  
    else  
    {  
    $face = htmlspecialchars($_POST[R1]); 
    $update = mysql_query("Update users set face = '$face' where username = '$logged[username]'");   
    $profile = mysql_query("SELECT * from users where username = '$logged[username]'");  
    $profile = mysql_fetch_array($profile); 
    echo ("Your face has been updated!<br><br>Your new face is:<br><img src='$profile[face]'>");   
    }  
    }  
    else  
    {  
    echo ("<a href='login.php'>You must login</a>");  
    }  
    ?> 
    </body> 
    </html>

  3. #3
    Join Date
    Aug 2005
    Posts
    856
    Tokens
    0

    Default

    Parse error: syntax error, unexpected T_LNUMBER in /home/ourhabbo/public_html/site/face.php on line 91

  4. #4
    Join Date
    Apr 2005
    Location
    North Carolina, USA
    Posts
    4,535
    Tokens
    0

    Latest Awards:

    Default

    PHP Code:
    <html> 
    <head> 
    <meta http-equiv="Content-Type" content="text/html; charset=windows-1252"> 
    <meta name="GENERATOR" content="Microsoft FrontPage 6.0"> 
    <meta name="ProgId" content="FrontPage.Editor.Document"> 
    <title>OurHabbo Users: Update Face</title> 
    <link href="ourhabbo.css" rel="stylesheet" type="text/css"> 
    <title>Home</title> 
    <style type="text/css"> 
    a { 
    font-size: 10px; 
    color: #000000; 

    a:link { 
    text-decoration: none; 
    color: #000000; 

    a:visited { 
    text-decoration: none; 
    color: #000000; 

    a:hover { 
    text-decoration: underline; 
    color: #000000; 

    a:active { 
    text-decoration: none; 
    color: #000000; 

    body,td,th,p { 
    font-family: Verdana; 
    font-size: 10px; 
    color: #000000; 

    .12 { color: red; } 
    .11 { color: navy; } 
    .10 { color: ; } 
    .9 { color: darkorchid; } 
    .8 { color: darkorchid; } 
    .7 { color: darkorchid; } 
    .6 { color: darkorchid; } 
    .5 { color: green; } 
    .4 { color: green; } 
    .3 { color: green; } 
    .2 { color: green; } 
    .1 { color: black; } 
    input { 
        font-family: Tahoma, Arial; 
        font-size: 8pt; 
        font-weight: bold; 
        color: #000000; 
        background-color: #FFFFFF; 
        border: 1px solid #000000; 

    select { 
        background-color: #ffffff; 
        font-family: Arial, Helvetica, sans-serif; 
        font-size: 8pt; 
        color: #000000; 
        width: 200; 
        border: 1px solid #000000; 

    textarea { 
    background-color: #ffffff; 
        font-family: Arial, Helvetica, sans-serif; 
        font-size: 8pt; 
        color: #000000; 
        width: 200; 
        border: 1px solid #000000; 

    </style> 
    </head> 
    <body bgcolor="#ffffff"> 
    Update Your Face. 
    <p>On this page you can update you Habbo Face. Your Habbo face will be used all 
    over the usersystem.</p> 
    <?  
    ob_start
    ();  
    include(
    "config.php");  
    if (
    $logged[username] && $logged[level] > 0)  
    {  
    if (!
    $_POST[update])  
    {  
    $profile mysql_query("SELECT * from users where username = '$logged[username]'");  
    $profile mysql_fetch_array($profile);  
    ?>

    <center> 
    <form method=POST> 
      <div align=center> 
    <table height="251"> 
    <tr class='contentTableHeader'> 
          <td colspan=4 align=center valign=middle height=21> 
            <p align=center>Normal Heads</td> 
    </tr> 
    <tr class='contentTableAltRow'> 
          <td width=25% align=center valign=middle height=25><input type=radio value='http://www.ourhabbouk.co.uk/site/images/face1.gif' checked name='R1'><img border=0 src='http://www.ourhabbo.net/site/images/face1.gif'></td> 
          <td width=25% align=center valign=middle height=25><input type=radio value=http://www.ourhabbouk.co.uk/site/images/face2.gif name=R12><img border=0 src='http://www.ourhabbo.net/site/images/face2.gif' ></td> 
          <td width=25% align=center valign=middle height="25"><input type=radio value=http://www.ourhabbouk.co.uk/site/images/face3.gif name=R13><img border=0 src='http://www.ourhabbo.net/site/images/face3.gif' width="26" height="34"></td> 
          <td width=25% align=center valign=middle height="25"><input type=radio value=http://www.ourhabbouk.co.uk/site/images/face4.gif name=R14><img border=0 src='http://www.ourhabbo.net/site/images/face4.gif' width="26" height="33"></td> 
    </tr> 
    <tr class='contentTableAltRow'> 
          <td width=25% align=center valign=middle height="25"><input type=radio value=http://www.ourhabbouk.co.uk/site/ima...ces/girl1.gif name=R15><img border=0 src='http://www.ourhabbo.net/site/images/faces/girl1.gif' width="26" height="36"></td> 
         <td width=25% align=center valign=middle height="25"><input type=radio value=http://www.ourhabbouk.co.uk/site/images/face19.gif name=R119><img border=0 src='http://www.ourhabbo.net/site/images/face19.gif' width="26" height="36" ></td> 
        <td width=25% align=center valign=middle height="25"><input type=radio name=R1 value=<A href="http://www.ourhabbouk.co.uk/site/images/face7.gif><img">http://www.ourhabbouk.co.uk/site/images/face7.gif><img border=0 src='http://www.ourhabbo.net/site/images/face7.gif' width="29" height="41"></td> 
        <td width=25% align=center valign=middle height="25"><input type=radio value=http://www.ourhabbouk.co.uk/site/images/face8.gif.gif name=R1><img border=0 src='http://www.ourhabbo.net/site/images/face8.gif' width="45" height="49"></td> 
    </tr> 
    <tr class='contentTableAltRow'> 
          <td width=25% align=center valign=middle height="25"><input type=radio value=http://www.ourhabbouk.co.uk/site/ima...ces/girl2.gif name=R19><img border=0 src='http://www.ourhabbo.net/site/images/faces/girl2.gif' width="38" height="34"></td> 
          <td width=25% align=center valign=middle height="25"><input type=radio value=http://www.ourhabbouk.co.uk/site/images/face10.gif name=R1><img border=0 src='http://www.ourhabbo.net/site/images/face10.gif' width="28" height="33"></td> 
        <td width=25% align=center valign=middle height="25"><input type=radio value=http://www.ourhabbouk.co.uk/site/images/face11.gif name=R1><img border=0 src='http://www.ourhabbo.net/site/images/face11.gif' width="28" height="34"></td> 
          <td width=25% align=center valign=middle height="25"><input type=radio value=http://www.ourhabbouk.co.uk/site/images/faces/boy1.gif name=R1><img border=0 src='http://www.ourhabbo.net/site/images/faces/boy1.gif' width="28" height="33"></td>  
    </tr> 
    <tr class='contentTableAltRow'> 
          <td width=25% align=center valign=middle height="25"><input type=radio value=http://www.ourhabbouk.co.uk/site/images/face13.gif name=R1><img border=0 src='http://www.ourhabbo.net/site/images/face13.gif' width="29" height="35"></td>  
          <td width=25% align=center valign=middle height="25"><input type=radio value=http://www.ourhabbouk.co.uk/site/images/face14.gif name=R1><img border=0 src='http://www.ourhabbo.net/site/images/face14.gif' width="26" height="32"></td> 
        <td width=25% align=center valign=middle height="25"><input type=radio value=http://www.ourhabbouk.co.uk/site/images/face15.gif name=R1><img border=0 src='http://www.ourhabbo.net/site/images/face15.gif' width="40" height="39"></td> 
          <td width=25% align=center valign=middle height="25"><input type=radio value=http://www.ourhabbouk.co.uk/site/images/face20.gif name=R111><img border=0 src='http://www.ourhabbo.net/site/images/face20.gif' width="30" height="31" ></td> 
    </tr> 
    <tr class='contentTableAltRow'> 
          <td width=25% align=center valign=middle height="25"><input type=radio value=http://www.ourhabbouk.co.uk/site/images/faces/boy2.gif name=R1><img border=0 src='http://www.ourhabbo.net/site/images/faces/boy2.gif' width="26" height="33" ></td> 
          <td width=25% align=center valign=middle height="25"><input type=radio value=http://www.ourhabbouk.co.uk/site/images/face18.gif name=R1><img border=0 src='http://www.ourhabbo.net/site/images/face18.gif' width="48" height="33" ></td> 
        <td width=25% align=center valign=middle height="25"></td> 
          <td width=25% align=center valign=middle height="25"></td> 
    </tr> 
    <tr class='FooterText'> 
          <td colspan='4' align=center valign=middle height="19"></td> 
    </tr> 
    <tr> 
          <td colspan='4' align=center valign=middle height="19"> 
          </td> 
    </tr> 
    <tr class='contentTableHeader'> 
          <td colspan='4' align=center valign=middle height="19"> 
            <p align="center">Special Event Heads</td> 
    </tr> 
    <tr class='contentTableAltRow'> 
          <td width=25% align=center valign=middle height="25"><input type=radio value=http://www.ourhabbouk.co.uk/site/ima...en/frank1.gif name=R1><img border=0 src='http://www.ourhabbo.net/site/images/habboween/frank1.gif' width="33" height="39"></td>  
          <td width=25% align=center valign=middle height="25"><input type=radio value=http://www.ourhabbouk.co.uk/site/ima...en/frank2.gif name=R1><img border=0 src='http://www.ourhabbo.net/site/images/habboween/frank2.gif' width="30" height="35"></td> 
        <td width=25% align=center valign=middle height="25"><input type=radio value=http://www.ourhabbouk.co.uk/site/ima...en/frank3.gif name=R1><img border=0 src='http://www.ourhabbo.net/site/images/habboween/frank3.gif' width="30" height="35"></td> 
          <td width=25% align=center valign=middle height="25"><input type=radio value=http://www.ourhabbouk.co.uk/site/ima...een/ghost.gif name=R1><img border=0 src='http://www.ourhabbo.net/site/images/habboween/ghost.gif' width="30" height="32"></td> 
    </tr> 
    <tr class='contentTableAltRow'> 
          <td width=25% align=center valign=middle height="25"><input type=radio value=http://www.ourhabbouk.co.uk/site/ima...een/witch.gif name=R1><img border=0 src='http://www.ourhabbo.net/site/images/habboween/witch.gif' width="44" height="44"></td>  
          <td width=25% align=center valign=middle height="25"><input type=radio value=http://www.ourhabbouk.co.uk/site/ima...een/mummy.gif name=R1><img border=0 src='http://www.ourhabbo.net/site/images/habboween/mummy.gif' width="24" height="28"></td> 
        <td width=25% align=center valign=middle height="25"><input type=radio value=http://www.ourhabbouk.co.uk/site/ima...een/skull.gif name=R1><img border=0 src='http://www.ourhabbo.net/site/images/habboween/skull.gif' width="23" height="25"></td> 
          <td width=25% align=center valign=middle height="25"></td> 
    </tr> 
    <tr class='FooterText'> 
          <td colspan='4' align=center valign=middle height="19"></td> 
    </tr> 
    <tr> 
          <td colspan='4' align=center valign=middle height="19"> 
          </td> 
    </tr> 
    <tr class='contentTableHeader'> 
          <td colspan='4' align=center valign=middle height="19"> 
            <p align="center">Staff Heads</td> 
    </tr> 
    <tr class='contentTableAltRow'> 
          <td width=25% align=center valign=middle height="25"> 
          <input type=radio value=http://www.ourhabbouk.co.uk/site/images/face16.gif name=R110> 
          <img border=0 src='http://www.ourhabbo.net/site/images/face16.gif' width="37" height="34"></td>  
           
          <td width=25% align=center valign=middle height="25"> 
          <input type=radio value=http://www.ourhabbo.net/site/images/...GirlHead2.gif name=R112> 
          <img border=0 src='http://www.ourhabbo.net/site/images/faces/StaffGirlHead2.gif' width="34" height="36"></td> 
           
        <td width=25% align=center valign=middle height="25"> 
        <input type=radio value=http://www.ourhabbo.net/site/images/...irlHeadg3.gif name=R113> 
        <img border=0 src='http://www.ourhabbo.net/site/images/faces/StaffGirlHeadg3.gif' width="28" height="31"></td> 
           
          <td width=25% align=center valign=middle height="25"> 
          <input type=radio value=http://www.ourhabbo.net/site/images/...GirlsHead.gif name=R114> 
          <img border=0 src='http://www.ourhabbo.net/site/images/faces/StaffGirlsHead.gif' width="33" height="34"></td> 
    </tr> 
    <tr class='contentTableAltRow'> 
          <td width=25% align=center valign=middle height="25"> 
          <input type=radio value=http://www.ourhabbo.net/site/images/...rlsHeadG2.gif name=R115> 
          <img border=0 src='http://www.ourhabbo.net/site/images/faces/StaffGirlsHeadG2.gif' width="32" height="31"></td>  
           
          <td width=25% align=center valign=middle height="25"> 
          <input type=radio value=http://www.ourhabbo.net/site/images/...BoysHead2.gif name=R116> 
          <img border=0 src='http://www.ourhabbo.net/site/images/faces/StaffBoysHead2.gif' width="32" height="37"></td> 
         
        <td width=25% align=center valign=middle height="25"> 
        <input type=radio value=http://www.ourhabbo.net/site/images/...HeadBunny.gif name=R117> 
        <img border=0 src='http://www.ourhabbo.net/site/images/faces/StaffBoysHeadBunny.gif' width="54" height="42"></td> 
          
     <td width=25% align=center valign=middle height="25"> 
     <input type=radio value=http://www.ourhabbo.net/site/images/...oysHeadG2.gif name=R118> 
     <img border=0 src='http://www.ourhabbo.net/site/images/faces/StaffBoysHeadG2.gif' width="32" height="34"></td> 
    </tr> 
    <tr class='contentTableAltRow'> 
          <td width=25% align=center valign=middle height="25"> 
          <input type=radio value=http://www.ourhabbouk.co.uk/site/images/face5.gif name=R115> 
          <img border=0 src='http://www.ourhabbo.net/site/images/face5.gif' width="28" height="33"></td>  
          <td width=25% align=center valign=middle height="25"> 
          <input type=radio value=http://www.ourhabbouk.co.uk/site/images/face9.gif name=R116> 
          <img border=0 src='http://www.ourhabbo.net/site/images/face9.gif' width="40" height="33"></td> 
        <td width=25% align=center valign=middle height="25"> 
        <input type=radio value=http://www.ourhabbouk.co.uk/site/images/face12.gif name=R117> 
        <img border=0 src='http://www.ourhabbo.net/site/images/face12.gif' width="37" height="34"></td> 
          <td width=25% align=center valign=middle height="25" 
          ><input type=radio value=http://www.ourhabbouk.co.uk/site/images/face17.gif name=R118> 
          <img border=0 src='http://www.ourhabbo.net/site/images/face17.gif' width="32" height="35"></td> 
    </tr> 
    <tr class='FooterText'> 
          <td colspan='4' align=center valign=middle height="19"></td> 
    </tr> 
    <tr> 
          <td colspan='4' align=center valign=middle height="19"> 
          </td> 
    </tr> 
    </table> 
    </div> 
      <p align=center><input type='submit' value='Update' name='update'> 
    </form> 
    </center><? 
    }  
    else  
    {  
    $face htmlspecialchars($_POST[R1]); 
    $update mysql_query("Update users set face = '$face' where username = '$logged[username]'");   
    $profile mysql_query("SELECT * from users where username = '$logged[username]'");  
    $profile mysql_fetch_array($profile); 
    echo (
    "Your face has been updated!<br><br>Your new face is:<br><img src='$profile[face]'>");   
    }  
    }  
    else  
    {  
    echo (
    "<a href='login.php'>You must login</a>");  
    }  
    ?> 
    </body> 
    </html>

  5. #5
    Join Date
    Aug 2005
    Posts
    856
    Tokens
    0

    Default

    Thank you

Posting Permissions

  • You may not post new threads
  • You may not post replies
  • You may not post attachments
  • You may not edit your posts
  •