0) { $query = $query." AND t_articol.id_subcat_lvl2='".$idsc2."'"; } else { if ($idsc>0) { $query = $query." AND t_articol.id_subcat='".$idsc."'"; } else { $query = $query." AND t_articol.id_cat='".$idc."'"; } } $lista_princ = mysql_query($query); if (!$lista_princ) die(mysql_error()); /* ---------- LISTA 10 ----------------------*/ $query = "SELECT titlu,id FROM t_articol WHERE priority ='3' AND id_issue='".$id_nrcrt."'"; if ($idsc2>0) { $query = $query." AND id_subcat_lvl2='".$idsc2."'"; } else { if ($idsc>0) { $query = $query." AND id_subcat='".$idsc."'"; } else { $query = $query." AND id_cat='".$idc."'"; } } /* $query = $query." ORDER BY RAND() LIMIT 10"; */ $query = $query." ORDER BY RAND()"; $lista10 = mysql_query($query); /* ---------- LISTA 10 ----------------------*/ $query = "SELECT titlu,id FROM t_articol WHERE id_issue<>'".$id_nrcrt."' AND id_issue NOT IN (SELECT id FROM t_issues WHERE activ ='2')"; if ($idsc2>0) { $query = $query." AND id_subcat_lvl2='".$idsc2."'"; } else { if ($idsc>0) { $query = $query." AND id_subcat='".$idsc."'"; } else { $query = $query." AND id_cat='".$idc."'"; } } $query = $query." ORDER BY RAND() LIMIT 10"; $lista10_2 = mysql_query($query); ?> <? echo $titlu_pag.' - The Diplomat Bucharest - '.$nr_crt;?>
EVENTS:
The magazine for informed internationals
The Diplomat Bucharest

< back to homepage