Temos pavadinimas: WordPress, Shopify ir PHPFusion programuotojų bendruomenė :: kas galetu sulipdyti

Parašė new· 2010 Vas. 28 11:02:15
#1

sveiki, gal galetumete sias maneles sulipdyti i viena kad butu:

x x
x x

busiulabai dekingas kas taip padarys ir + 10


openside("Naujausi siuntiniai.");
if (!defined("IN_FUSION")) { header("Location:../../index.php"); exit; }
   $result = dbquery("SELECT * FROM ".$db_prefix."downloads ORDER BY download_datestamp DESC LIMIT 0,10");
   if (dbrows($result) != 0) {
      echo "<table width='100%' 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";
   }
closeside();







openside("Populiariausi siuntiniai.");
if (!defined("IN_FUSION")) { header("Location:../../index.php"); exit; }
$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";
}
closeside();






openside("Naujausios naujienos.");
if (!defined("IN_FUSION")) { header("Location:../../index.php"); exit; }
   $result = dbquery("SELECT * FROM ".$db_prefix."news ORDER BY news_datestamp DESC LIMIT 0,10");
   if (dbrows($result) != 0) {
      echo "<table width='100%' cellpadding='0' cellspacing='0'>";
      while ($data = dbarray($result)) {
         echo "<tr>
            <td class='small'>
               <img src='".THEME."images/bullet.gif'>
               <a href='".BASEDIR."news.php?readmore=".$data['news_id']."' title='".$data['news_subject']."' class='side'>".trimlink($data['news_subject'], 23)."</a>
            </td>
            <td align='right'>".$data['news_reads']."</td>
         </tr>";
      }
      echo "</table>";
   } else {
      echo "<div style='text-align:center'>".$locale['004']."</div>\n";
   }
closeside();









openside("Populiariausios naujienos.");
if (!defined("IN_FUSION")) { header("Location:../../index.php"); exit; }
$result = dbquery("SELECT * FROM ".$db_prefix."news ORDER BY news_reads DESC LIMIT 0,10");
if (dbrows($result) != 0) {
   echo "<table width='100%' cellpadding='0' cellspacing='0'>";
   while($data = dbarray($result)) {
      echo "<tr>\n<td class='small'><img src='".THEME."images/bullet.gif'> <a href='".BASEDIR."news.php?readmore=".$data['news_id']."' title='".$data['news_subject']."' class='side'>".trimlink($data['news_subject'], 23)."</a></td>\n
      <td align='right'>".$data['news_reads']."</td>\n</tr>\n";
   }
   echo "</table>";
} else {
   echo "<center>".$locale['004']."</center>\n";
}
closeside();