Temos pavadinimas: WordPress, Shopify ir PHPFusion programuotojų bendruomenė :: Table laukeliai

Parašė MaFetas· 2009 Vas. 24 18:02:58
#3

echo "<table width='100%' cellpadding='0' cellspacing='1' class='tbl-border'>\n";
               echo "<tr>
<td colspan='5' class='forum-caption'>
               <table style='border-collapse: collapse;' border='0' cellpadding='0' cellspacing='0' width='100%'>
<tr>

               <td>&nbsp;<a href='".FUSION_SELF."' class='small' title='Siuntiniai'><b></b></a><a href='".FUSION_SELF."?cat_id=".$data['download_cat']."' class='small' title='Siuntinio Kategorija'><b>$kat</b></a>&nbsp;>&nbsp;<a class='small' href='".FUSION_SELF."?cat_id=".$data['download_cat']."&amp;download_id=".$data['download_id']."' title='Atsisiųsti Siuntinį'><b>".$data['download_title']."</b></a> </td>
               <td align='right'><span style='color:yellow'><b>Pridėtas:</b> $laikas</span></td>
               </tr></table></td>
</tr>\n";
               if ($data['download_description'] != "") echo "<tr>\n
               <td colspan='5' class='tbl1'>".nl2br(stripslashes($data['download_description']))."</td>\n</tr>\n";
               echo "<tr>\n
               
               <td rowspan='2' class='tbl1' align='center' valign='middle' width='1%'><a class='small' href='".FUSION_SELF."?cat_id=".$data['download_cat']."&amp;download_id=".$data['download_id']."' title='Atsisiųsti Failą' style='font-weight: bold;'><img src='".IMAGES."download.png' alt='Atsisiųsti Failą' border='0'></a></td>
               
               <td width='30%' class='tbl1'><b>".$locale['411']."</b> ".$data['download_license']."</td>\n";
               $kom = dbquery("SELECT count(comment_id) FROM ".$db_prefix."comments WHERE comment_type='D' AND comment_item_id='$id'");
               $kon = dbresult($kom, 0);
               if ($kon == 0) { $komentarai = 0; } else { $komentarai = $kon; }
               
               echo "<td width='40%' class='tbl2'><b>Komentarai:</b> $komentarai</td>\n</tr>\n<tr>\n";
               echo "<td width='30%' class='tbl1'><b>".$locale['415']."</b> ".$data['download_count']."</td>\n<td width='40%' class='tbl2'><b>Dydis:</b> ".($data['download_filesize'] ? "".$data['download_filesize']."" : "Nėra")."</td>\n</tr>\n";
               echo "</table>\n";