include('include/config.php'); include('scripts/php/functions.php'); $_table = "contest"; $query_rec = "SELECT * FROM ".$_table."_category WHERE id_".$_table."_category = ".intval($_GET['id']); $rec = mysql_query($query_rec, $conn) or die(mysql_error()); $row_rec = mysql_fetch_assoc($rec); $totalRows_rec = mysql_num_rows($rec); $query_recs = "SELECT * FROM ".$_table." WHERE id_".$_table."_category = ".$row_rec["id_".$_table."_category"]." AND active = 1 ORDER BY `order` ASC, id_".$_table." DESC"; $recs = mysql_query($query_recs, $conn) or die(mysql_error()); $row_recs = mysql_fetch_assoc($recs); $totalRows_recs = mysql_num_rows($recs); $_page = "contest"; $_page_title = "Concursuri"; #start output include('include/meta.php'); ?>
include('include/header.php');?>