function reAllCache() { global $arrSideModule; categories_recount(); categories_recache(); calendar_recache(); statistics_recache(); hottags_recache(); archives_recache(); links_recache(); filters_recache(); keywords_recache(); recentLogs_recache(); recentComments_recache(); recentGbooks_recache(); logsTitle_recache(); modulesSetting_recache(); download_recache(); attachments_recache(); members_recache(); skinlist_recache(); online_recache(); logs_sidebar_recache($arrSideModule); }
if ($action == "operation") { $stritem = ""; $itemlist = $_POST['itemlist']; for ($i = 0; $i < count($itemlist); $i++) { //刪除文件 delAttachments($DBPrefix . "keywords", $itemlist[$i], "linkImage"); if ($stritem != "") { $stritem .= " or id='{$itemlist[$i]}'"; } else { $stritem .= "id='{$itemlist[$i]}'"; } } if ($_POST['operation'] == "delete" and $stritem != "") { $sql = "delete from " . $DBPrefix . "keywords where {$stritem}"; $DMC->query($sql); keywords_recache(); } } if ($action == "all") { $seekname = ""; } $seek_url = "{$PHP_SELF}?order={$order}"; //查找用链接 $order_url = "{$PHP_SELF}?seekname={$seekname}"; //排序栏用的链接 $page_url = "{$PHP_SELF}?seekname={$seekname}&order={$order}"; //页面导航链接 $edit_url = "{$PHP_SELF}?seekname={$seekname}&order={$order}&page={$page}"; //编辑或新增链接 if ($action == "add") { //新增信息类别。
function reAllCache() { settings_recache(); modules_recache(); categories_recache(); hottags_recache(); archives_recache(); links_recache(); keywords_recache(); filters_recache(); recentLogs_recache(); recentGbooks_recache(); recentComments_recache(); calendar_recache(); statistics_recache(); categories_recount(); }