:
"; echo $traducere["pagina"][$lng].": "; if($page > 1){ $prev = ($page - 1); echo "« ".$traducere["inapoi"][$lng]." "; } for($i = 1; $i <= $total_pages; $i++){ if(($page) == $i){ echo "".$i.""; } else { echo "$i "; } } // Build Next Link if($page < $total_pages){ $next = ($page + 1); echo "".$traducere["inainte"][$lng]." »"; } echo "
"; $qry = mysql_query("SELECT `id`, `tag`, `nume`, `nume_en`, `desc`, `desc_en`, `data`, `foto`, `rating` FROM `filme` WHERE `cat` = '".$categorie."' AND `subcat` = '".$subcategorie."' AND `activat` = '0' ORDER BY `id` DESC LIMIT $from, $max_results"); if (!$qry) { echo 'Eroare: '. mysql_error(); exit; } while($row = mysql_fetch_array($qry,MYSQL_ASSOC)) { $video = 'view.php'; if(isset($subcategorie)) { $video = 'view.php?cat='.$categorie.'&subcat='.$subcategorie.''; } else { $video = 'view.php?cat='.$categorie.''; } $mid = $row['id']; if($row['foto'] == '') { $poza = 'images/img_test.jpg'; } else { $poza = 'dwl_img/'.$row['tag'].'.jpg'; } if($_SESSION['lng'] == 'ro') { $nume_film = stripslashes($row['nume']); } if($_SESSION['lng'] == 'en') { $nume_film = stripslashes($row['nume_en']); } if($_SESSION['lng'] == 'ro') { $desc_film = $row['desc']; } if($_SESSION['lng'] == 'en') { $desc_film = $row['desc_en']; } ?>
   [ ]
Adult content
General content
: | | : | :
------------------------------------------------------------------------------------------------------------------
:
"; echo $traducere["pagina"][$lng].": "; if($page > 1){ $prev = ($page - 1); echo "« ".$traducere["inapoi"][$lng]." "; } for($i = 1; $i <= $total_pages; $i++){ if(($page) == $i){ echo "".$i.""; } else { echo "$i "; } } // Build Next Link if($page < $total_pages){ $next = ($page + 1); echo "".$traducere["inainte"][$lng]." »"; } echo "
"; ?>