Parašė Snaiperis· 2008 Bal. 22 07:04:11
#4
<td background=\"".THEME."images/grafav4_06.png\" width=\"208\" height=\"205\" valign=\"top\"><br><br><div style=\"padding-left: 43px; padding-right: 29px\">";
echo "
</div>
<td background=\"".THEME."images/grafav4_07.png\" width=\"241\" height=\"205\" valign=\"top\"><br><br><div style=\"padding-left: 34px; padding-right: 29px\">";
include BASEDIR."includes/theme.php";
echo "<table width='100%' border='0' cellspacing='0' cellpadding='0'>
<tr>
<td rowspan='3' class='header1' width='5' height='0' alt=''></td>
<td colspan='4' class='header2' width='105' height='15' alt=''></td>
<td>
<img src='images/spacer.gif' width='0' height='1' alt=''></td>
</tr>
<tr>
<td class='header3' width='0' height='15' alt=''>";
$sql=dbquery("SELECT * FROM ".$db_prefix."users ORDER BY 'user_posts' DESC LIMIT 0, 10");
echo "<table width='auto' cellspacing='0' cellpadding='0'>";
$i=0;
while ($data=dbarray($sql)) {
echo "<tr>
<td align='right'>
<a href='".BASEDIR."profile.php?lookup=".$data ['user_id']."'>";
echo"</a></td>
<td align='right'>» <a href='".BASEDIR."profile.php?lookup=".$data['user_id']."'>".$data['user_name']." «</a> - ".$data['user_posts']." Pranesimai</td></tr>";
$i++;
}
echo "</table>";
echo "</div></td>
</table>
<td background=\"".THEME."images/grafav4_08.png\" width=\"195\" height=\"205\" valign=\"top\"><br><br><div style=\"padding-left: 34px; padding-right: 8px\">";$result = dbquery("SELECT article_id, article_subject FROM ".$db_prefix."articles ORDER BY article_id DESC LIMIT 0,9");
include BASEDIR."includes/theme.php";
echo "<table width='100%' border='0' cellspacing='0' cellpadding='0'>
<tr>
<td rowspan='3' class='header1' width='0' height='0' alt=''></td>
<td colspan='4' class='header2' width='300' height='15' alt=''></td>
<td>
</tr>
<tr>
<td class='header3' width='0' height='15' alt=''>";
$result = dbquery("SELECT * FROM ".$db_prefix."downloads ORDER BY download_count DESC LIMIT 0,10");
if (dbrows($result) != 0) {
echo "<table width='100%' cellpadding='0' cellspacing='0'>";
while($data = dbarray($result)) {
$itemsubject = trimlink($data['download_title'], 23);
echo "<tr>\n<td class='small'><img src='".THEME."images/bullet.gif'> <a href='".BASEDIR."downloads.php?cat_id=".$data['download_cat']."&download_id=".$data['download_id']."' title='".$data['download_title']."' class='side'>$itemsubject</a></td>\n
<td align='right'>".$data['download_count']."</td>\n</tr>\n";
}
echo "</table>";
} else {
echo "<center>".$locale['004']."</center>\n";
}
echo "</table>";
echo "</div></td>
</table>
<td background=\"".THEME."images/grafav4_09.png\" width=\"202\" height=\"205\" valign=\"top\"><br><br><div style=\"padding-left: 34px; padding-right: 29px\">";
include BASEDIR."includes/theme.php";
echo "<table width='100%' border='0' cellspacing='0' cellpadding='0'>
<tr>
<td rowspan='3' class='header1' width='0' height='0' alt=''></td>
<td colspan='4' class='header2' width='300' height='15' alt=''></td>
<td>
</tr>
<tr>
<td class='header3' width='0' height='15' alt=''>";
$result = dbquery("SELECT * FROM ".$db_prefix."downloads ORDER BY download_datestamp DESC LIMIT 0,10");
if (dbrows($result) != 0) {
echo "<table width='130' cellpadding='0' cellspacing='0'>";
while ($data = dbarray($result)) {
echo "<tr>
<td class='small'>
<img src='".THEME."images/bullet.gif'>
<a href='".BASEDIR."downloads.php?cat_id=".$data['download_cat']."&download_id=".$data['download_id']."' title='".$data['download_title']."' class='side'>".trimlink($data['download_title'], 23)."</a>
</td>
<td align='right'>".$data['download_count']."</td>
</tr>";
}
echo "</table>";
} else {
echo "<div style='text-align:center'>".$locale['004']."</div>\n";
}
echo "</td>
</tr></table>
<tr><td style=\"height: 1px\"></td></tr>
<tr>
<td>\n";
echo " <table border=\"0\" cellpadding=\"0\" cellspacing=\"0\">
<tr>\n";
}
function render_footer($license=false) {
global $theme_width,$settings;
echo "</tr>\n</table>\n";
Redagavo bad_user· 2008 Bal. 22 07:04:42