include('admin/inc/123456.php'); include('admin/inc/mysql.php'); include('admin/inc/functions.php'); include('inc/proverko.php'); if (isset($_GET['id'])) {$n=htmlspecialchars(strip_tags($_GET['id']),ENT_QUOTES);} else {$n=0;} $query_news3=mysql_query("SELECT date_format(`datetime`,'%d.%m.%Y %H:%i') as `datetime1`,`header`,`big`,`small` FROM `news` WHERE `id`='$n' and `show`='1' LIMIT 1",$dbcnx); $arr_rez_news3=array(); while ($rez_news3=mysql_fetch_array($query_news3, MYSQL_NUM)) { $arr_rez_news3[]=$rez_news3; } $count_news3=count($arr_rez_news3); if ($count_news3!=0) { $datetime_news3=$arr_rez_news3[0][0]; $header_news3=$arr_rez_news3[0][1]; $big_news3=$arr_rez_news3[0][2]; $small_news3=$arr_rez_news3[0][3]; } else { $datetime_news3=''; $header_news3='Новость не найдена'; $big_news3=''; $small_news3=''; } $big_news3=pic($big_news3); //одиночные ссылки link по id $query_melkie=mysql_query("SELECT link,name FROM `text` WHERE `id` in (7,10,11) ORDER BY `id` ASC ;",$dbcnx); $arr_rez_melkie=array(); while ($rez_melkie=mysql_fetch_array($query_melkie, MYSQL_NUM)) { $arr_rez_melkie[]=$rez_melkie; } ?>
".$big_news3."