Temos pavadinimas: WordPress, Shopify ir PHPFusion programuotojų bendruomenė :: Edis2 Klausimai

Parašė ex-it· 2009 Bal. 17 20:04:57
#40

if (dbrows($result) != 0) {
   $i = 0;
   while ($data = dbarray($result)) {
      echo "<span class='shoutboxname'><img src='".THEME."images/bullet.gif' alt=''> ";

$laikas=date('H:i', $data[shout_datestamp]);
echo "[$laikas]";
         echo "<a href='".BASEDIR."profile.php?lookup=".$data['shout_name']."' class='side'>".$data['user_name']."</a>\n";

      echo "</span>\n";
      if (iADMIN && checkrights("S")) {
         echo "\n[<a href='".ADMIN."shoutbox.php".$aidlink."&amp;action=edit&amp;shout_id=".$data['shout_id']."' class='side'>Edit</a>]";
      }
      echo "\n<span class='shoutbox''>––&nbsp;".parsesmileys($data['shout_message'])."</span>\n";
      if ($i != $numrows) echo "<br><br>\n";
   }

} else {
   echo "<div align='left'>".$locale['127']."</div>\n";
}