Temos pavadinimas: WordPress, Shopify ir PHPFusion programuotojų bendruomenė :: downloads.php redagavimas

Parašė FoDD· 2008 Lap. 27 17:11:55
#17

if (!isset($cat_id)) {
   opentable($locale['400']);
   $result = dbquery("SELECT * FROM ".$db_prefix."download_cats WHERE ".groupaccess('download_cat_access')." ORDER BY download_cat_name");
   $rows = dbrows($result);
   if ($rows != 0) {
      $counter = 0; $columns = 2;
      echo "<table cellpadding='0' cellspacing='0' width='100%'>\n<tr>\n";
      while ($data = dbarray($result)) {
         if ($counter != 0 && ($counter % $columns == 0)) echo "</tr>\n<tr>\n";
         $num = dbcount("(download_cat)", "downloads", "download_cat='".$data['download_cat_id']."'");
         $bendras_svoris = dbcount("(download_filesize)", "downloads");
         $d_sk = dbcount("(download_count)", "downloads");

         echo "<td align='left' valign='top' width='120%' class='tbl'><a href='".FUSION_SELF."?cat_id=".$data['download_cat_id']."'>".$data['download_cat_name']."</a> <span class='small2'>($num)</span>";
         if ($data['download_cat_description'] != "") echo "<br>\n<span class='small'>".$data['download_cat_description']."</span>";
         echo "</td>\n" ;
         $counter++;
      }
      echo "</tr>\n</table>\n";



va ten kur paryskinta tuos irasiau ir nieko. O del to tipo
as galiu kur parasyta: 42 eilut.
width='50%'



keisk i width 100%
tai vienos eilutes gale vistiek yra sugrusta ta kita kategorija