Parašė Dandžu· 2008 Kov. 19 00:03:46
#5
Va:
openside("Top Web Linkai");
?>
<?php
$result = dbquery("UPDATE ".$db_prefix."weblinks SET weblink_count=weblink_count+1 WHERE weblink_id='$weblink_id'");
$result = dbquery("SELECT * FROM ".$db_prefix."weblinks ORDER BY weblink_id DESC LIMIT 0,10");
if (dbrows($result) != 0) {
while($data = dbarray($result)) {
echo "<img src='".THEME."images/bullet.gif'><a class='small' href='".FUSION_SELF."?cat_id=".$data['weblink_cat']."&download_id=".$data['weblink_id']."' title=''>".$data['weblink_name']."-[".$data['weblink_count']."]</a><br>";
}
} else {
echo "<center>".$locale['004']."</center>\n";
}
?>
<?
closeside();
Redagavo Dandžu· 2008 Kov. 19 00:03:56