Temos pavadinimas: WordPress, Shopify ir PHPFusion programuotojų bendruomenė :: Houso Klausimai:

Parašė House· 2009 Vas. 10 19:02:41
#29

kodel man taip rodo headeri , ka netaip padariau?




heder.php

<?php
global $theme_width,$settings,$aidlink,$locale,$userdata;

echo "<table border=\"0\" cellpadding=\"0\" cellspacing=\"0\" align=\"center\" width=\"1030\">

<tr>



<table border=\"0\" cellpadding=\"0\" cellspacing=\"0\" align=\"center\" width=\"1030\">
<tr>
<br>
<td background='".IMAGES."logov2/".rand(1,3)."logo.JPG'\" width=\"1030\" height=\"450\" border=\"0\" alt=\"\">

     


     
</td>
</tr></table>

<table border=\"0\" cellpadding=\"0\" cellspacing=\"0\" align=\"center\" width=\"1045\">

<tr>
<td>
</tr></table>

<table border=\"0\" cellpadding=\"0\" cellspacing=\"0\" align=\"center\" width=\"1045\">

<tr>
</tr></table>

<table border=\"0\" cellpadding=\"0\" cellspacing=\"0\" align=\"center\" width=\"1045\">

<tr>
</div>

</td>


</td>

</tr></table>

</td>
</tr>
<tr></tr>
<tr>





<td width='235' style='padding-right: 0px; padding-left: 700px; padding-bottom: 50px; padding-top:10px;' valign='middle'>";
      if (iMEMBER) {
   $msg_count = dbcount("(message_id)", "messages", "message_to='".$userdata['user_id']."' AND message_read='0'AND message_folder='0'");
   echo "<table width='145' border='0' cellspacing='2' cellpadding='2'>
  <tr>
    <td>\n";
   if ($userdata['user_avatar'] != "") {
   echo "<center><img src='".BASEDIR."images/avatars/".$userdata['user_avatar']."' width='100' height='100' style='border:1px solid #999999'></center>\n";
   } else {
   echo "<center><img src='".THEME."images/noavatar.gif' width='100' height='100' border='0'></center>\n";
   }
   echo "</td</tr><tr>
    <td valign='top'><img src='".THEME."images/bullet.gif' alt=''> <a href='".BASEDIR."edit_profile.php' class='side'>".$locale['080']."</a><br>
<img src='".THEME."images/bullet.gif' alt=''> <a href='".BASEDIR."messages.php' class='side'>".$locale['0081']." [".$locale['0060'].": <b><span style='color:#990000'>".sprintf($msg_count)."</span></b>]</a><br>
<img src='".THEME."images/bullet.gif' alt=''> <a href='".BASEDIR."members.php' class='side'>".$locale['082']."</a><br>\n";
   if (iADMIN && (iUSER_RIGHTS != "" || iUSER_RIGHTS != "C")) {
      echo "<img src='".THEME."images/bullet.gif' alt=''> <a href='".ADMIN."index.php".$aidlink."' class='side'>Administracija</a><br>\n";
   }
   echo "<img src='".THEME."images/bullet.gif' alt=''> <a href='".BASEDIR."setuser.php?logout=yes' class='side'>".$locale['084']."</a><br><br>
   ";
   $userip = $_SERVER['REMOTE_ADDR'];
      $host = gethostbyaddr($userip);
      echo "</td></tr></table>\n";
   } else {
   echo "<table width='170' border='0' cellspacing='0' cellpadding='0' align='center'><form name='loginform' method='post' action='".FUSION_SELF."'>
  <tr>
    <td align='right' class='ip'>Vardas: </td>
    <td> <input type='text' name='user_name' class='textbox' style='width:100px;filter:alpha(opacity=70)'></td>
  </tr>
  <tr>
    <td align='right' class='ip'>".$locale['062'].": </td>
    <td> <input type='password' name='user_pass' class='textbox' style='width:100px;filter:alpha(opacity=70)'></td>
  </tr>
  <tr>
    <td align='right'><input type='checkbox' name='remember_me' value='y'></td>
    <td> <input type='submit' name='login' value='Prisijungti' class='button'></td>
  </tr>
  </form>\n";
   if ($settings['enable_registration']) {
      echo "<a href=".BASEDIR."register.php>Registracija</a> / <a href=".BASEDIR."lostpassword.php>".$locale['062']."</a>\n";
   }
   echo"</table>\n";
}
echo "</td>
      </tr>
      </table>\n";

   echo "<table width='100%' cellspacing='0' cellpadding='0' class='sub-header' style='border-right: solid #b5b5b5 1px; border-left: solid #b5b5b5 1px;'>\n<tr>";
   echo "<td>\n";
   echo ($i == 0 ? " " : "")."</td>";
   echo "</td></tr></table>\n";
   echo "<table width='100%' border='0' cellpadding='0' cellspacing='0' bgcolor='#FFFFFF'>

</table>\n";
   echo "<table width='100%' cellpadding='4' bgcolor='#F8F8F8' cellspacing='0' border='0'><tr>";   
     

?>