Show Your Support
$kyeni = $db->query_read("select * FROM " . TABLE_PREFIX . "user order by joindate DESC LIMIT 0,10");
$kyeni = $db->query_read("select * FROM " . TABLE_PREFIX . "user order by joindate DESC LIMIT 0,XX");
$kiyi = $db->query_read("SELECT userid, usergroupid, IF(displaygroupid=0, usergroupid, displaygroupid) AS displaygroupid, username, posts FROM " . TABLE_PREFIX . "user ORDER BY posts DESC LIMIT 0, 10");
$kiyi = $db->query_read("SELECT userid, usergroupid, IF(displaygroupid=0, usergroupid, displaygroupid) AS displaygroupid, username, posts FROM " . TABLE_PREFIX . "user ORDER BY posts DESC LIMIT 0, XX");
$kkonu = $db->query_read("select * FROM " . TABLE_PREFIX . "thread order by lastpost DESC LIMIT 0,10");
$kkonu = $db->query_read("select * FROM " . TABLE_PREFIX . "thread order by lastpost DESC LIMIT 0,XX");
<?xml version="1.0" encoding="ISO-8859-1" ?> - <product productid="7" active="1"> <title>AdminCP Top 10 Statistic</title> <description /> <version>1.00</version> <apm_releasedate>1143928800</apm_releasedate> <apm_author>Atakan KOC</apm_author> <apm_relatedurl /> <apm_extrainfo /> <apm_extraedit /> <codes /> <templates /> - <plugins> - <plugin active="1"> <title>AdminCP Top Statistic 1</title> <hookname>admin_index_main1</hookname> - <phpcode> - <![CDATA[ $kyeni = $db->query_read("select * FROM " . TABLE_PREFIX . "user order by joindate DESC LIMIT 0,10"); while ($kyeni2 = $db->fetch_array($kyeni)) { $yeniler = $yeniler."<a href=\"user.php?do=edit&u=".$kyeni2[userid]."\">".$kyeni2[username]." </a>(".$kyeni2[posts].") <br />"; } $kiyi = $db->query_read("SELECT userid, usergroupid, IF(displaygroupid=0, usergroupid, displaygroupid) AS displaygroupid, username, posts FROM " . TABLE_PREFIX . "user ORDER BY posts DESC LIMIT 0, 10"); while ($kiyi2 = $db->fetch_array($kiyi)) { $eniyiler = $eniyiler."<a href=\"user.php?do=edit&u=".$kiyi2[userid]."\">".$kiyi2[username]." </a>(".$kiyi2[posts].") <br />"; } $kkonu = $db->query_read("select * FROM " . TABLE_PREFIX . "thread order by lastpost DESC LIMIT 0,10"); while ($kkonu2 = $db->fetch_array($kkonu)) { $ensonkonu = $ensonkonu."[<a href=\"../showthread.php?goto=newpost&t=".$kkonu2[threadid]."\" target=\"_blank\">*</a>] ".substr($kkonu2[title], 0, strrpos(substr($kkonu2[title], 0, 50), ' ')) . '...'."<br />"; } print_table_start(); print_table_header("AdminCP Top Statistic",3); echo "<tr align=\"left\" valign=\"top\"> <td class=\"thead\">Newest Members</td><td class=\"thead\">Top Members</td><td class=\"thead\">Latest Replies</td></tr>"; echo "<tr><td class=\"alt1\">$yeniler</td><td class=\"alt2\">$eniyiler</td><td class=\"alt1\">$ensonkonu</td></tr>"; print_table_footer(2, '', '', 0); ]]> </phpcode> </plugin> </plugins> <phrases /> <options /> </product>