Temos pavadinimas: WordPress, Shopify ir PHPFusion programuotojų bendruomenė :: Kodel nerodo avatar?

Parašė sydow· 2008 Lie. 21 09:07:42
#1

Sveiki! norejau paklaust kodel sitoj useri info nerodo avataro o rodo tik paveiksliuka ta kaip buna kai neturi avatar, nors avatara as turiu... Stai kodas:

<?php
/*---------------------------------------------------+
| PHP-Fusion 6 Content Management System
+----------------------------------------------------+
| Copyright © 2002 - 2005 Nick Jones
| http://www.php-fusion.co.uk/
+----------------------------------------------------+
| Released under the terms & conditions of v2 of the
| GNU General Public License. For details refer to
| the included gpl.txt file or visit http://gnu.org
+----------------------------------------------------*/
if (!defined("IN_FUSION")) { header("Location:../../index.php"); exit; }

if (iMEMBER) {
   openside_panel($userdata['user_name']);
       
     
   $msg_count = dbcount("(message_id)", "messages", "message_to='".$userdata['user_id']."' AND message_read='0'AND message_folder='0'");
       
        echo "<td class='side-body-login'><img src='".THEME."images/user_info/edit.png' alt=''> <a href='".BASEDIR."edit_profile.php' class='side'>Apra&#240;ymas</a><br>
<img src='".THEME."images/user_info/msg.png' alt=''> <a href='".BASEDIR."messages.php' class='side'>&#222;inut&#235;s</a><br>
<img src='".THEME."images/user_info/members.png' alt=''> <a href='".BASEDIR."members.php' class='side'>".$locale['082']."</a><br>\n";

   if (iADMIN && (iUSER_RIGHTS != "" || iUSER_RIGHTS != "C")) {
      echo "<img src='".THEME."images/user_info/admin.png' alt=''> <a href='".ADMIN."index.php".$aidlink."' class='side'>Administracija</a><br>\n";
   }
   echo "<img src='".THEME."images/user_info/logout.png' alt=''> <a href='".BASEDIR."setuser.php?logout=yes' class='side'>Atsijungti</a><br><br><br><br>\n</td><td align='right'>";
        echo ($userdata['user_avatar'] ? "<img src='".IMAGES."avatars/".$userdata['user_avatar']."' width='70' height='70'><br>\n" : "<img src='".THEME."images/noavatar.gif' border='0' width='70' height='70'>\n")."";
echo "</td>";
} else {
   openside_panel($locale['060']);
   echo "<div align='center'>".(isset($loginerror) ? $loginerror : "")."
<form name='loginform' method='post' action='".FUSION_SELF."'>
<tr>
<div align='center'><a href='".BASEDIR."register.php'><img src='".THEME."images/register.gif' border='0'></a>&nbsp;&nbsp;<a href='".BASEDIR."lostpassword.php'><img src='".THEME."images/remember.gif' border='0'></a></div>
</tr><br>
<tr>
<td align='center'><input type='text' name='user_name' class='textbox_2' style='width:104px;height:19px;'></td>
</tr>
<tr>
<td align='center'><input type='password' name='user_pass' class='textbox_2' style='width:104px;height:19px;'></td>
</tr>
<tr>
<td align='center'> <input type='checkbox' name='remember_me' value='y' title='Atsiminti slapta&#254;od&#225;?' style='vertical-align:middle;'> <input type='submit' name='login' value='Jungtis' class='button_2'></td>

</tr>
</form>\n";
}
closeside_panel();
?>




Redagavo sydow· 2008 Lie. 21 09:07:56

Parašė sydow· 2008 Lie. 21 17:07:34
#2

Tai nepadesit?

Parašė MAnjack· 2008 Lie. 21 18:07:08
#3

Flūderiam niekas nepadeda.

Parašė suomis· 2008 Lie. 21 18:07:58
#4

kad as ismeginau veikia sitas rode man mano avatara ?|

Parašė MAnjack· 2008 Lie. 21 18:07:49
#5

Jaučiu avarats net neįkeltas.

Parašė sydow· 2008 Lie. 21 21:07:29
#6

Nu isikeliau as ta avatara betai man image noavatar rodo

Parašė Žmogus· 2008 Lie. 21 21:07:14
#7

Blogas kodas gal