require('php/functii.inc'); require('php/auth.inc'); $idnr=0; if (!empty($_GET['idnr'])) { $query = "SELECT issue,vol_nr,nr,t_issues.id as id1 FROM t_issues WHERE id='".$_GET['idnr']."'"; $idnr = $_GET['idnr']; } else { $query = "SELECT t_issues.id as id1,issue,vol_nr,nr FROM t_issues JOIN t_config ON t_issues.id=t_config.valoare WHERE t_config.cheie='nrcrt'"; } $result = mysql_query($query); if (!$result) { die(mysql_error()); } else { $row = mysql_fetch_array($result, MYSQL_ASSOC); $nr_crt=$row['issue']; $id_nrcrt=$row['id1']; $vol_nr=$row['vol_nr']; $nr=$row['nr']; } list($idc,$idsc,$idsc2,$rcol_main,$rcol_1,$rcol_2,$titlu_pag)=get_section1_data($_GET['id']); $query = "SELECT * FROM t_event WHERE id='".$_GET['id']."'"; $result = mysql_query($query); if (!$result) { die(mysql_error()); } else { $row = mysql_fetch_array($result, MYSQL_ASSOC); if ($row['site']<>"") header("location:".$row['site']); } ?>
The magazine for informed internationals
echo 'Vol '.$vol_nr.', no. '.$nr.', '.$nr_crt; ?>
|
|
||||||
menu(12,0,0,$idnr); ?> |
|