2 |
include("inc/conn.php"); |
include("inc/conn.php"); |
3 |
include_once("inc/newsShow.php"); |
include_once("inc/newsShow.php"); |
4 |
if ($show) { |
if ($show) { |
|
$section_menu = "main"; |
|
5 |
$arts = newsLoad($id, $cat); |
$arts = newsLoad($id, $cat); |
6 |
newsShow(array_shift($arts)); |
newsShow(array_shift($arts)); |
7 |
} else { |
} else { |
49 |
"id" => $art["id"], |
"id" => $art["id"], |
50 |
"title" => MyEscape($art["title"]), |
"title" => MyEscape($art["title"]), |
51 |
"lead" => MyEscape($art["lead"]), |
"lead" => MyEscape($art["lead"]), |
52 |
|
"pgfs" => (count($art["text"]) > 0) ? true : false, |
53 |
"titlepic_url" => MyEscape($art["pic_url"]), |
"titlepic_url" => MyEscape($art["pic_url"]), |
54 |
"titlepic_alt" => MyEscape($art["pic_alt"]), |
"titlepic_alt" => MyEscape($art["pic_alt"]), |
55 |
"titlepic_type" => $art["pic_pos"], |
"titlepic_type" => $art["pic_pos"], |