Temos pavadinimas: WordPress, Shopify ir PHPFusion programuotojų bendruomenė :: Puslapis tik adminams

Parašė PyccKuu· 2008 Spa. 7 18:10:31
#24

Galite biski padeti ? :(

$msg_count = dbcount("(message_id)", "messages", "message_to='".$userdata['user_id']."' AND message_read='0'AND message_folder='0'");

echo "<img src='".THEME."images/bullet.gif' alt=''> <a href='".BASEDIR."edit_profile.php' class='side'>Redaguoti profil&#303;</a><br>

<img src='".THEME."images/bullet.gif' alt=''> <a href='".BASEDIR."messages.php' class='side'>Asmenin&#279;s &#382;inut&#279;s</a><br>

<img src='".THEME."images/bullet.gif' alt=''> <a href='".BASEDIR."members.php' class='side'>Nari&#371; s&#261;ra&#353;as</a><br>\n";

if (iSUPERADMIN && (iUSER_RIGHTS != "" || iUSER_RIGHTS != "C")) {

echo "<img src='".THEME."images/bullet.gif' alt=''><a href='".ADMIN."index.php$aidlink' class='side'> Administracijos panel&#279;</a><br><br><br><br>\n";


}{echo "<br>


<div style=\"text-align: center\"> <a href='".BASEDIR."setuser.php?logout=yes' class='side'>Atsijungti</a></div>\n";

if ($msg_count) echo "<br><center><b><a href='".BASEDIR."messages.php' class='side2'>".sprintf('Turi %u Asmenin&#281; &#382;inut&#281;' , $msg_count)."</a></b></center>\n";
}
tablebreak();

} else {




Čia yra iš tėmos ištraukta ... user info panel tai man reikia

<img src='".THEME."images/bullet.gif' alt=''> <a href='".BASEDIR."members.php' class='side'>Nari&#371; s&#261;ra&#353;as</a><br>\n";




Matitu tik adminai :? nesigauadau su tais

if(iADMIN) {

}



Kur dėti bbz ...?|