Газети. Періодичні видання та видання, які продовжуються (XIX ст. до - 1970 р.)
settype($_GET[letter], "integer");
settype($_GET[box], "integer");
settype($_GET[image], "integer");
if($_GET[letter]!=NULL){
$sql_letter = 'SELECT * FROM `cards_letter_o_newspaper` WHERE `idLetter` = '.$_GET[letter].' ';
$result_letter = mysql_query($sql_letter);
$thisPage_letter=mysql_fetch_array($result_letter);
$nowLetter=$thisPage_letter[letter];
}
$sql = 'SELECT * FROM `cards_letter_o_newspaper` ORDER BY `idLetter` ASC ';
$result_in = mysql_query($sql);
$f=0;
while($thisPage=mysql_fetch_array($result_in)){
if($f>0 && $f!=2){ echo ' | '; }
$f++;
if($f==3){ echo '
'; } if($thisPage[idLetter]==$_GET[letter]){ echo "$thisPage[letter] "; }else{ echo "$thisPage[letter] "; } } ?>
if($_GET[image]!=NULL || $thisPage_letter[with]==1){
if($thisPage_letter[with]==1){
echo ''; } if($thisPage[idLetter]==$_GET[letter]){ echo "$thisPage[letter] "; }else{ echo "$thisPage[letter] "; } } ?>
';
echo file_get_contents("https://lib.onu.edu.ua/image/t.php?p=periodical/newspaper/0".$_GET[letter]);
echo ''.$thisPage_letter[title].'
if($thisPage4['parent']==$_GET[letter]){
$pathTemp=$thisPage4[idBox];
}else{
$sql_test1 = 'SELECT * FROM `cards_title_o_newspaper` WHERE `idTitle` = '.$thisPage4['parent'];
$result_test1 = mysql_query($sql_test1);
$thisPage1=mysql_fetch_array($result_test1);
$pathTemp="$thisPage1[idBox]/$thisPage4[idBox]";
}
echo file_get_contents("https://lib.onu.edu.ua/image/t.php?p=periodical/newspaper/0$_GET[letter]/$pathTemp");
}
?>