Parašė Deiviuxsz· 2012 Sau. 18 18:01:56
#1
Sveiki,kas galėtumėte padaryti horizontaliai šią filmų panele?
Štai kodas:
<?php
/*-------------------------------------------------------+
| <span style="border-bottom: 1px dotted black;">PHP</span>-Fusion Content Management System
| Copyright © 2002 - 2011 Nick Jones
| <a href='http://www.php-fusion.co.uk/' target='_blank'><span style='color:005C5B'>http://www.php-fusion.co.uk/</span></a>
+--------------------------------------------------------+
| Filmu sistema
| file: filmai_panel.php
+--------------------------------------------------------+
| Sukurė WeberiZ
| El.paštas: <a href="mailto:gintaras321@inbox.lt"><span style="color:005C5B">gintaras321@inbox.lt</span></a>
| skype: weberiz
| web: <a href='http://weberiz.tt.lt' target='_blank'><span style='color:005C5B'>http://weberiz.tt.lt</span></a>
+--------------------------------------------------------*/
if (!defined("IN_FUSION")) { die("Access Denied"); }
require_once "funkcijos.php";
$result = dbquery("SELECT * FROM ".DB_FILMAI." ORDER BY RAND() LIMIT 0,5");
if (dbrows($result) != 0) {
while($data = dbarray($result)) {
echo "<table><tr><td>";
echo"<a href='".INFUSIONS."filmai_panel/filmai.php?filmas_id=".$data['filmai_id']."'><img src='".$data['filmai_img']."' width='70' height='100'/></a>";
echo "</td><td><b><a href='".INFUSIONS."filmai_panel/filmai.php?filmas_id=".$data['filmai_id']."'>";
echo "</td></tr></table>";
}
} else {
echo "Nėra filmų";
}
?>