Temos pavadinimas: WordPress, Shopify ir PHPFusion programuotojų bendruomenė :: Tarpo panaikinimas.

Parašė Snaiperis· 2008 Bal. 22 16:04:12
#12

Ir kur cia jo per daug... :|


<table border=\"0\" cellpadding=\"0\" cellspacing=\"0\"><tr>
   <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>";
echo "\n";

$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'>&#187; <a href='".BASEDIR."profile.php?lookup=".$data['user_id']."'>".$data['user_name']." &#171;</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>";
echo "\n";

$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>";
echo "\n";

$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 Snaiperis· 2008 Bal. 22 16:04:27