![]() |
Help Completley stuck here NEARLY DONE IT
Right lets start, I want to list 2 forums (thread starters) (xx,xx) on a new page
now im puzzled probably miles out 1 php file named topp.php & 1 template named topp ============================================= <?php error_reporting(7); $templatesused = "topp"; require('./global.php'); $postsresult = mysql_query("SELECT COUNT(*) AS count,postuserid,postusername FROM thread WHERE forumid IN (xx,xx) GROUP BY postuserid ORDER BY count DESC LIMIT $maxposters;") or die("Unable to complete query"); while ($topposters = mysql_fetch_array($postsresult)): if (($counter++ % 2) != 0) { $backcolor="{firstaltcolor}"; $bgclass="alt1"; } else { $backcolor = "{secondaltcolor}"; $bgclass="alt2"; } eval("dooutput(\"".gettemplate("topp")."\");"); endwhile; ?> ================================================ any help appreciated ;) |
All times are GMT. The time now is 10:48 PM. |
Powered by vBulletin® Version 3.8.12 by vBS
Copyright ©2000 - 2025, vBulletin Solutions Inc.
X vBulletin 3.8.12 by vBS Debug Information | |
---|---|
|
|
![]() |
|
Template Usage:
Phrase Groups Available:
|
Included Files:
Hooks Called:
|