Temos pavadinimas: WordPress, Shopify ir PHPFusion programuotojų bendruomenė :: Jaunelio klausimai

Parašė Jaunelis· 2008 Gru. 31 20:12:58
#65

Black dq bet dabar kai išsijungiu "tipo" kai bunu svečias tada nei vieno avataro nerodo:

 echo "<tr><td><a href='".BASEDIR."profile.php?lookup=".$data['user_id']."' class='side'>".$data['user_name']."</a><a href='".BASEDIR."messages.php?msg_send=".$data['user_id']."'><img src='".BASEDIR."infusions/last_seen_users_panel/pm.jpg' alt='".$locale['571']."' style='border:0px;'></a></td></tr>\n";
 $lastseen = time() - $data['user_lastvisit'];

 if($lastseen < 60) {
 $lastseen = "<tr><td><img src='".BASEDIR."forum/images/online.gif' style='vertical-align:absMiddle;' title='User is Online' alt='User is Online'></td></tr>";
 } else {
 $lastseen = "<tr><td><img src='".BASEDIR."forum/images/offline.gif' style='vertical-align:absMiddle;' title='User is Offline' alt='User is Offline'></td></tr>";
 }
 echo "$lastseen";
   if ($userdata['user_avatar'] != "") {
   echo "<td width='90'><img src='".IMAGES."avatars/".$data['user_avatar']."' alt='".$locale['567']."' width='70' height='70' style='margin-top: 10px; margin-bottom: 10px; margin-left: 10px'>";
   } else {
   echo "<td width='90'><img src='".IMAGES."no-avatar.gif' width='70' height='70' border='0' style='border: 1px #7a7978; margin-top: 10px; margin-left: 10px; margin-bottom: 10px;'>\n";
   }




štai kodas kuri naudoju.