You're looking for some 4images templates and styles? Then visit this thread to show websites with 4images templates to download.
0 Members and 1 Guest are viewing this topic.
?>
$sql = "SELECT user_comments, user_name, user_id FROM ".USERS_TABLE."WHERE user_level >= '".USER."'ORDER BY user_comments DESCLIMIT 25";$result = $site_db->query($sql);while ($row = $site_db->fetch_array($result)) {$last_action_user_list .= '<a href ="'.$site_sess->url(ROOT_PATH.'member.php?action=showprofile&user_id='.$row['user_id']).'"><b>'.$row['user_name'].'</b></a> <span class="smalltext">'.$row['user_comments'].'</span><br>';}$site_template->register_vars(array("user_comments_list" => $last_action_user_list,));unset($user_comments_list);
LIMIT 25";
LIMIT 10";
<table border="0" cellspacing="1" cellpadding="1" background="{template_url}/images/cat.gif" width="100%"> <tr> <td height="20" background="{template_url}/images/back1.gif"> <b>Top 25 commenter </b></td> </tr> <tr> <td class="row1">{user_comments_list}</td> </tr></table>
WHERE user_level >= '".USER."'
WHERE user_level != '".ADMIN."'
WHERE user_level = '".USER."'
WHERE user_level = '".GUEST."'
And use WHERE user_level >= '".USER."' AND user_id >= '1'if you have too many GUEST-Comments
$sql = "SELECT user_comments, user_name, user_id FROM ".USERS_TABLE."
$last_action_user_list = "";$sql = "SELECT user_comments, user_name, user_id FROM ".USERS_TABLE."