Temos pavadinimas: WordPress, Shopify ir PHPFusion programuotojų bendruomenė :: dėl avataro vartotojo panelėje

Parašė gintulys· 2009 Lap. 27 00:11:50
#2

Čia ne ta pati, bet duosiu kita kur rodo avatara :)

openside("Nario panele");

if (iMEMBER) {
   openside($userdata['user_name']);
   $msg_count = dbcount("(message_id)", "messages", "message_to='".$userdata['user_id']."' AND message_read='0'AND message_folder='0'");
   
   if ($userdata['user_avatar'] != "") {
   echo "<hr><center><img height='60%' width='60%' border='0' alt='".$locale['on106']."' title='".$locale['on106']."' src='".BASEDIR."images/avatars/".$userdata['user_avatar']."'></center><hr>\n";
      } else {
   echo "<br><center><img border='0' alt='".$locale['on107']."' title='".$locale['on107']."' src='".INFUSIONS."user_info_panel/images/noimage.gif'></center><hr>";
}

   echo "<span class='small'><b>Nario nustatymai:</b></span><br />";
   echo "<img src='http://mp3zone.visiems.eu/images/nario_panele/redaguotiprofili.png' alt=''> <a href='".BASEDIR."edit_profile.php' class='side'><b>Redaguoti profili</a><br>";
   echo "<img src='http://mp3zone.visiems.eu/images/nario_panele/asmenineszinutes.png' alt=''> <a href='".BASEDIR."messages.php' class='side'>Asmenines žinutes</a><br>";
   echo "<img src='http://mp3zone.visiems.eu/images/nario_panele/isvisonariu.png' alt=''> <a href='".BASEDIR."members.php' class='side'>Nariu sarašas</a><br>\n";

   if (iADMIN && (iUSER_RIGHTS != "" || iUSER_RIGHTS != "C")) {
      echo "<img src='http://mp3zone.visiems.eu/images/nario_panele/admin.png' alt=''> <a href='".ADMIN."index.php".$aidlink."' class='side'>Administracijos panele</a><br>\n";
   }
   echo "<img src='http://mp3zone.visiems.eu/images/nario_panele/atsijunkti.png' alt=''> <a href='".BASEDIR."setuser.php?logout=yes' class='side'>Atsijungti</b></a>\n";
} else {
   openside($locale['on122']);

echo "<center><img src='".BASEDIR."/infusions/user_info_panel/images/2.gif'> <a href='".BASEDIR."register.php'><b>Registruotis</b></a><br></center>";
echo "<br>";
      echo "<hr>";
      echo "&nbsp;<img src='".BASEDIR."infusions/user_info_panel/images/3.gif'> <font class='menu'><b>Prisijungimo Zona</b></font><br>";
echo "<br>";
   echo "<div align='center'>".(isset($loginerror) ? $loginerror : "")."<form name='loginform' method='post' action='".FUSION_SELF."'>".$locale['on123']."<br>";
   echo "<input type='text' name='user_name' class='textbox' style='width:100px'><br>".$locale['on124']."<br>";
   echo "<input type='password' name='user_pass' class='textbox' style='width:100px'><br>";
   echo "<input type='checkbox' name='remember_me' value='y' title='".$locale['on125']."' style='vertical-align:middle;'>";
   echo "<input type='submit' name='login' value='".$locale['on126']."' class='button'><br></form><br>\n";
if ($settings['enable_registration'])
   echo $locale['on128']."</div>\n";

}
closeside();



Redagavo gintulys· 2009 Lap. 27 00:11:40