Temos pavadinimas: WordPress, Shopify ir PHPFusion programuotojų bendruomenė :: neveikia avataras hedearyje

Parašė kakis· 2008 Sau. 26 22:01:42
#1

Kodel?

echo"<table style='background-image:url(".THEME."images/ust_bg.gif);' align='center' cellspacing='0' cellpadding='0' width='100%' height='160' border='0'>
<td>
<img border='0' alt='".$settings['sitename']."' title='".$settings['sitename']."' src='".THEME."images/logo.gif'>
<tr><td width='85px'></td>";
echo "<td align='right' style='padding-left:15px;'>";
// Jei narys, prisijungimas atrodo taip
if (iMEMBER) {
$msg_count = dbcount("(message_id)", "messages", "message_to='".$userdata['user_id']."' AND message_read='0'AND message_folder='0'");
echo "<table width='210' height='85' border='0' cellspacing='0' cellpadding='0' background='".THEME."images/userlogin.gif' align='center'>
<tr>
<td>\n";
if ($userdata['user_avatar'] != "") {
echo "<center><img src='".BASEDIR."images/avatars/".$userdata['user_avatar']."' width='60' height='60' style='border:0px'></center>\n";
} else {
echo "<center><img src='".BASEDIR."images/noav.gif' width='60' height='60' style='border:0px'></center>\n";
}
echo "</td>
<td><img src='".THEME."images/bullet.gif' alt=''> <a href='".BASEDIR."edit_profile.php' class='side'><b><span style='color:#000000'>".Aprasymas."</span></b>]</a><br>
<img src='".THEME."images/bullet.gif' alt=''> <a href='".BASEDIR."messages.php' class='side'>Zinuciu [nauju: <b><span style='color:#ff0000'>".sprintf($msg_count)."</span></b>]</a><br>
<img src='".THEME."images/bullet.gif' alt=''> <a href='".BASEDIR."members.php' class='side'><b><span style='color:#000000'>".Nariai."</span></b>]</a><br>\n";
if (iADMIN && (iUSER_RIGHTS != "" || iUSER_RIGHTS != "C")) {
echo "<img src='".THEME."images/bullet.gif' alt=''> <a href='".ADMIN."index.php?aid=3915cd4abc90aba2".$aidlink."' class='side'><b><span style='color:#000000'>".Administracija."</span></b>]</a><br>\n";
}
echo "<img src='".THEME."images/bullet.gif' alt=''> <a href='".BASEDIR."setuser.php?logout=yes' class='side'><b><span style='color:#000000'>".Atsijungti."</span></b>]</a><br>\n";"
<td><img src='".THEME."images/blank.gif'></td>
</tr>
</table>

\n";
// Jei ne narys
} else {
echo "<table width='210' height='85' border='0' cellspacing='0' cellpadding='0' background='".THEME."images/userlogin.gif' align='center'>
<form name='loginform' method='post' action='".FUSION_SELF."'>
<tr>";
if ($settings['enable_registration']) {
echo "<td align='right'><a href=".BASEDIR."register.php>Registracija</a>&nbsp;|&nbsp;</td>";
}
echo "<td><a href=".BASEDIR."lostpassword.php>Jai pamirsai</a></td>";
echo "</tr>
<tr>
<td align='right'>Vardas: </td>
<td>&nbsp;<input type='text' name='user_name' class='textbox' style='width:100px;filter:alpha(opacity=70)'></td>
</tr>
<tr>
<td align='right'>Slaptazodis: </td>
<td>&nbsp;<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>&nbsp;<input type='submit' name='login' value='Prisijungti' class='button'></td>
</tr></form>\n";
}
echo "</td>
</tr>
</table>
</td>";
echo "</tr></tr>
</table>


sitas kodas yra headeryje