54 |
"text" => $art["text"], |
"text" => $art["text"], |
55 |
"links" => GetLinks($art["read"] && $art["id"], |
"links" => GetLinks($art["read"] && $art["id"], |
56 |
MyEscape($art["more"]), $art["id"], |
MyEscape($art["more"]), $art["id"], |
57 |
$empty["category"], "top", isEdit(), true, |
$empty["category"], "top", $isEdit, true, |
58 |
($i > 0), ($i < count($arts) - 1)) |
($i > 0), ($i < count($arts) - 1)) |
59 |
)); |
)); |
60 |
} |
} |
61 |
} |
} |
62 |
$tpl->assign("top", $a2); |
$tpl->assign("top", $a2); |
63 |
$tpl->assign("cat", $cat); |
$tpl->assign("cat", $cat); |
64 |
$tpl->assign("isedit", isEdit()); |
$tpl->assign("isedit", $isEdit); |
65 |
|
$tpl->assign("ismed", $isMed); |
66 |
$tpl->assign("next", (count($arts) > 10) ? ($offset + 10) : 0); |
$tpl->assign("next", (count($arts) > 10) ? ($offset + 10) : 0); |
67 |
$tpl->assign("prev", ($offset > 0) ? ($offset - 10) : false); |
$tpl->assign("prev", ($offset > 0) ? ($offset - 10) : false); |
68 |
} |
} |