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."&action=edit&shout_id=".$data['shout_id']."' class='side'>Edit</a>]";
}
echo "\n<span class='shoutbox''>–– ".parsesmileys($data['shout_message'])."</span>\n";
if ($i != $numrows) echo "<br><br>\n";
}
} else {
echo "<div align='left'>".$locale['127']."</div>\n";
}