28 |
$tpl->assign("top_id", $art["id"]); |
$tpl->assign("top_id", $art["id"]); |
29 |
$tpl->assign("top_title", MyEscape($art["title"])); |
$tpl->assign("top_title", MyEscape($art["title"])); |
30 |
$tpl->assign("top_lead", MyEscape($art["lead"])); |
$tpl->assign("top_lead", MyEscape($art["lead"])); |
31 |
|
$tpl->assign("top_pgfs", (count($art["text"]) > 0) ? true : false); |
32 |
$tpl->assign("top_titlepic_url", MyEscape($art["pic_url"])); |
$tpl->assign("top_titlepic_url", MyEscape($art["pic_url"])); |
33 |
$tpl->assign("top_titlepic_alt", MyEscape($art["pic_alt"])); |
$tpl->assign("top_titlepic_alt", MyEscape($art["pic_alt"])); |
34 |
$tpl->assign("top_titlepic_type", $art["pic_pos"]); |
$tpl->assign("top_titlepic_type", $art["pic_pos"]); |
47 |
"top", $isEdit, false, false, false)); |
"top", $isEdit, false, false, false)); |
48 |
} |
} |
49 |
$menu2 = array(); |
$menu2 = array(); |
50 |
$empty = array("category" => "w", "limit" => ($wn_edit && !$ed_id ? 4 : 5), "offset" => 0, "npar" => 0); |
$empty = array("category" => "w", "limit" => $isEdit ? 0 : ($wn_edit && !$ed_id ? 9 : 10), "offset" => 0, "npar" => 0); |
51 |
$ed = ""; |
$ed = ""; |
52 |
if ($wn_edit && $ed_id <= 0 && $isEdit) { |
if ($wn_edit && $ed_id <= 0 && $isEdit) { |
53 |
include_once("inc/newsEdit.php"); |
include_once("inc/newsEdit.php"); |
76 |
"id" => $art["id"], |
"id" => $art["id"], |
77 |
"title" => MyEscape($art["title"]), |
"title" => MyEscape($art["title"]), |
78 |
"lead" => MyEscape($art["lead"]), |
"lead" => MyEscape($art["lead"]), |
79 |
|
"pgfs" => (count($art["text"]) > 0) ? true : false, |
80 |
"pic" => MyEscape($art["pic_url"]), |
"pic" => MyEscape($art["pic_url"]), |
81 |
"alt" => MyEscape($art["pic_alt"]), |
"alt" => MyEscape($art["pic_alt"]), |
82 |
"pos" => MyEscape($art["pic_pos"]), |
"pos" => MyEscape($art["pic_pos"]), |
103 |
"pre" => "wn-", |
"pre" => "wn-", |
104 |
"items" => $tmp2 |
"items" => $tmp2 |
105 |
)); |
)); |
106 |
$empty = array("category" => "p", "limit" => ($pn_edit && !$ed_id ? 4 : 5), "offset" => 0, "npar" => 0); |
$empty = array("category" => "p", $isEdit ? 0 : "limit" => ($pn_edit && !$ed_id ? 9 : 10), "offset" => 0, "npar" => 0); |
107 |
$ed = ""; |
$ed = ""; |
108 |
if ($pn_edit && $ed_id <= 0 && $isEdit) { |
if ($pn_edit && $ed_id <= 0 && $isEdit) { |
109 |
include_once("inc/newsEdit.php"); |
include_once("inc/newsEdit.php"); |
132 |
"id" => $art["id"], |
"id" => $art["id"], |
133 |
"title" => MyEscape($art["title"]), |
"title" => MyEscape($art["title"]), |
134 |
"lead" => MyEscape($art["lead"]), |
"lead" => MyEscape($art["lead"]), |
135 |
|
"pgfs" => (count($art["text"]) > 0) ? true : false, |
136 |
"pic" => MyEscape($art["pic_url"]), |
"pic" => MyEscape($art["pic_url"]), |
137 |
"alt" => MyEscape($art["pic_alt"]), |
"alt" => MyEscape($art["pic_alt"]), |
138 |
"pos" => MyEscape($art["pic_pos"]), |
"pos" => MyEscape($art["pic_pos"]), |