Temos pavadinimas: WordPress, Shopify ir PHPFusion programuotojų bendruomenė :: Naudojant lentelę

Parašė Narysx· 2011 Bal. 24 19:04:37
#4


echo "<div class='login-body'>";
 
if (iMEMBER) {
 
$result = dbquery("SELECT message_id FROM ".$db_prefix."messages WHERE message_to = '".$userdata['user_id']."' AND message_read = '0' AND message_folder = '0' LIMIT 1");
 
echo "<div style='padding:5px; padding-top:15px;'>
 
<div class='center'><table><tr><td align='center' width='50%'><a href='".BASEDIR."edit_profile.php'>Redaguoti profili</a></td>
 
 
 
<td align='center' width='50%'><a href='".BASEDIR."messages.php' >Žinutės [naujų: <b><span style='color:#fff'>".dbrows($result)."</span></b>]</a><br /></td></tr><tr>
 
 
 
<td align='center' width='50%'><a href='".BASEDIR."setuser.php?logout=yes'>Atsijungti</a></td> ";
 
 
 
if (iADMIN && (iUSER_RIGHTS != "" || iUSER_RIGHTS != "C")) {
 
 
 
echo "<td align='center' width='50%'><a href='".ADMIN."index.php".$aidlink."' ><b>Administracija</b></a></td>";
 
}
 
echo "</tr></table>";