45 |
/* MyEscape($art["more"]) */ (count($art["text"]) > 0 && $art["id"]) ? $art["more"] : "", |
/* MyEscape($art["more"]) */ (count($art["text"]) > 0 && $art["id"]) ? $art["more"] : "", |
46 |
MyEscape($art["more_title"]), $art["id"], $empty["category"], |
MyEscape($art["more_title"]), $art["id"], $empty["category"], |
47 |
"top", $isEdit, false, false, false)); |
"top", $isEdit, false, false, false)); |
48 |
$tpl->assign("top_read", $art["read"] || ($art["more"] && !strstr($art["more"], "?")) ? true : false); |
$tpl->assign("top_read", $art["read"] || ($art["more"] && !strstr($art["more"], "?")) ? $art["read"] : ""); |
49 |
} |
} |
50 |
$menu2 = array(); |
$menu2 = array(); |
51 |
$empty = array("category" => "w", "limit" => $isEdit ? 0 : ($wn_edit && !$ed_id ? 9 : 10), "offset" => 0, "npar" => 0); |
$empty = array("category" => "w", "limit" => $isEdit ? 0 : ($wn_edit && !$ed_id ? 9 : 10), "offset" => 0, "npar" => 0); |
87 |
MyEscape($art["more"]), MyEscape($art["more_title"]), |
MyEscape($art["more"]), MyEscape($art["more_title"]), |
88 |
$art["id"], $empty["category"], "wn", $isEdit, true, |
$art["id"], $empty["category"], "wn", $isEdit, true, |
89 |
($i > 0), ($i < count($arts) - 1)), |
($i > 0), ($i < count($arts) - 1)), |
90 |
"read" => $art["read"] || ($art["more"] && !strstr($art["more"], "?")) ? true : false, |
"read" => $art["read"] || ($art["more"] && !strstr($art["more"], "?")) ? $art["read"] : "", |
91 |
"text" => $art["text"] |
"text" => $art["text"] |
92 |
)); |
)); |
93 |
array_push($tmp2, array( |
array_push($tmp2, array( |
95 |
"id" => $art["id"], |
"id" => $art["id"], |
96 |
"title" => MyEscape($art["title"]), |
"title" => MyEscape($art["title"]), |
97 |
"url" => MyEscape($art["more"]), |
"url" => MyEscape($art["more"]), |
98 |
"more" => ($art["read"] || $art["au_pic"] || $art["au_info"]) && $art["id"] |
"more" => ($art["read"] || $art["au_pic"] || $art["au_info"]) && $art["id"] ? $art["read"] : "" |
99 |
)); |
)); |
100 |
} |
} |
101 |
} |
} |
144 |
MyEscape($art["more"]), MyEscape($art["more_title"]), |
MyEscape($art["more"]), MyEscape($art["more_title"]), |
145 |
$art["id"], $empty["category"], "pn", $isEdit, true, |
$art["id"], $empty["category"], "pn", $isEdit, true, |
146 |
($i > 0), ($i < count($arts) - 1)), |
($i > 0), ($i < count($arts) - 1)), |
147 |
"read" => $art["read"] || ($art["more"] && !strstr($art["more"], "?")) ? true : false, |
"read" => $art["read"] || ($art["more"] && !strstr($art["more"], "?")) ? $art["read"] : "", |
148 |
"text" => MyEscape($art["text"]) |
"text" => MyEscape($art["text"]) |
149 |
)); |
)); |
150 |
array_push($tmp2, array( |
array_push($tmp2, array( |
152 |
"id" => $art["id"], |
"id" => $art["id"], |
153 |
"title" => MyEscape($art["title"]), |
"title" => MyEscape($art["title"]), |
154 |
"url" => MyEscape($art["more"]), |
"url" => MyEscape($art["more"]), |
155 |
"more" => ($art["read"] || $art["au_pic"] || $art["au_info"]) && $art["id"] |
"more" => ($art["read"] || $art["au_pic"] || $art["au_info"]) && $art["id"] ? $art["read"] : "" |
156 |
)); |
)); |
157 |
} |
} |
158 |
} |
} |