Temos pavadinimas: WordPress, Shopify ir PHPFusion programuotojų bendruomenė :: Padėkite su user_info_panel
Parašė BeeT· 2008 Rugs. 21 16:09:24
#1
Tai va turiu aš user_info_panel, ten yra be administracijos ir kai bandau pridėti visą laiką erorus mėto, galite pridėti ja? :D
if (iMEMBER) {
openside("<img src='/atributai/diskusijos.png'>Informacija");
$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'>".$locale['080']."</a><br>";
echo "<img src='".THEME."images/bullet.gif' alt=''><a href='".BASEDIR."profile.php?lookup=".$userdata['user_id']."' class='side'> Mano profilis</a><br>";
echo "<img src='".THEME."images/bullet.gif' alt=''><a href='".BASEDIR."messages.php' class='side'> Mano žinutės</a><br>";
echo "<img src='".THEME."images/bullet.gif' alt=''> <a href='".BASEDIR."members.php' class='side'>".$locale['082']."</a><br>\n";
echo "<img src='".THEME."images/bullet.gif' alt=''> <a href='".BASEDIR."setuser.php?logout=yes' class='side'>".$locale['084']."</a><br>\n";
if (iADMIN && (iUSER_RIGHTS != "" || iUSER_RIGHTS != "C")) {
}
if ($msg_count) echo "<br><br><center><b><a href='".BASEDIR."messages.php' class='side'>".sprintf($locale['085'], $msg_count).($msg_count == 1 ? $locale['086'] : $locale['087'])."</a></b></center>\n";
} else {
}
closeside();
?>
Parašė Giedrunskis· 2008 Rugs. 21 16:09:15
#2
if (iMEMBER) {
openside("<img src='/atributai/diskusijos.png'>Informacija");
$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'>".$locale['080']."</a><br>";
echo "<img src='".THEME."images/bullet.gif' alt=''><a href='".BASEDIR."profile.php?lookup=".$userdata['user_id']."' class='side'> Mano profilis</a><br>";
echo "<img src='".THEME."images/bullet.gif' alt=''><a href='".BASEDIR."messages.php' class='side'> Mano žinutės</a><br>";
echo "<img src='".THEME."images/bullet.gif' alt=''> <a href='".BASEDIR."members.php' class='side'>".$locale['082']."</a><br>\n";
echo "<img src='".THEME."images/bullet.gif' alt=''> <a href='".BASEDIR."setuser.php?logout=yes' class='side'>".$locale['084']."</a><br>\n";
if (iADMIN && (iUSER_RIGHTS != "" || iUSER_RIGHTS != "C")) {
echo "<img src='".THEME."images/bullet.gif' alt=''> <a href='".ADMIN."index.php' class='side'>".$locale['083']."</a><br>\n";
}
if ($msg_count) echo "<br><br><center><b><a href='".BASEDIR."messages.php' class='side'>".sprintf($locale['085'], $msg_count).($msg_count == 1 ? $locale['086'] : $locale['087'])."</a></b></center>\n";
} else {
}
closeside();
?>
Gal taip?
Redagavo Giedrunskis· 2008 Rugs. 21 16:09:03
Parašė BeeT· 2008 Rugs. 21 16:09:38
#3
Nu joa tik vat neieina į adminkę :|
Parašė Giedrunskis· 2008 Rugs. 21 16:09:34
#4
Tai jau prikonstravai gal ka :D
Parašė BeeT· 2008 Rugs. 21 17:09:26
#5
Nea, tiesiog neieina į adminkę. Kai pvz apačioje spaudi kreditų adminkė eina.
Parašė _Tomas· 2008 Rugs. 21 17:09:56
#6
aidlinką pamiršai...
if (iMEMBER) {
openside("<img src='/atributai/diskusijos.png'>Informacija");
$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'>".$locale['080']."</a><br>";
echo "<img src='".THEME."images/bullet.gif' alt=''><a href='".BASEDIR."profile.php?lookup=".$userdata['user_id']."' class='side'> Mano profilis</a><br>";
echo "<img src='".THEME."images/bullet.gif' alt=''><a href='".BASEDIR."messages.php' class='side'> Mano žinutės</a><br>";
echo "<img src='".THEME."images/bullet.gif' alt=''> <a href='".BASEDIR."members.php' class='side'>".$locale['082']."</a><br>\n";
echo "<img src='".THEME."images/bullet.gif' alt=''> <a href='".BASEDIR."setuser.php?logout=yes' class='side'>".$locale['084']."</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'>".$locale['083']."</a><br>\n";
}
if ($msg_count) echo "<br><br><center><b><a href='".BASEDIR."messages.php' class='side'>".sprintf($locale['085'], $msg_count).($msg_count == 1 ? $locale['086'] : $locale['087'])."</a></b></center>\n";
} else {
}
closeside();
?>
Parašė BeeT· 2008 Rugs. 21 17:09:37
#7
Ačiū ;)