Beispiel #1
0
 function domanage()
 {
     Admin::MP("menu_plugin_manage");
     $plugins = $this->iCMS->getCache('system/plugins');
     $rs = plugin::doList();
     include admincp::tpl();
 }
Beispiel #2
0
 function domanage()
 {
     Admin::MP("menu_template_manage");
     $dir = trim($_GET["dir"]);
     $L = FS::folder($dir, "templates", "");
     include admincp::tpl();
 }
Beispiel #3
0
 function domanage()
 {
     Admin::MP("menu_models_manage");
     $rs = iCMS_DB::getArray("SELECT * FROM `#iCMS@__model`");
     $_count = count($rs);
     include admincp::tpl();
 }
Beispiel #4
0
 function domanage()
 {
     Admin::MP("menu_group_manage");
     include iPATH . 'include/group.class.php';
     $group = new group();
     $type = $_GET['type'];
     include admincp::tpl();
 }
Beispiel #5
0
 function doDefault()
 {
     Admin::MP("menu_filter");
     $cache = $this->iCMS->getCache(array('system/word.filter', 'system/word.disable'));
     foreach ((array) $cache['system/word.filter'] as $k => $val) {
         $filterArray[$k] = implode("=", (array) $val);
     }
     include admincp::tpl('filter');
 }
Beispiel #6
0
 function doedit()
 {
     Admin::MP("menu_account_edit");
     include iPATH . 'include/group.class.php';
     $group = new group('a');
     $rs = iCMS_DB::getRow("SELECT * FROM `#iCMS@__admin` WHERE `uid`='" . intval($_GET['uid']) . "'");
     $info = unserialize($rs->info);
     include admincp::tpl("account.edit");
 }
Beispiel #7
0
 function domanage()
 {
     Admin::MP("menu_user_manage");
     $maxperpage = 20;
     $total = $page == 1 || empty($_GET['rowNum']) ? iCMS_DB::getValue("SELECT count(*) FROM `#iCMS@__members`") : (int) $_GET['rowNum'];
     page($total, $maxperpage, "位会员");
     $rs = iCMS_DB::getArray("SELECT * FROM `#iCMS@__members` order by uid DESC LIMIT {$this->firstcount},{$maxperpage}");
     $_count = count($rs);
     include admincp::tpl('user.manage');
 }
Beispiel #8
0
 function dodefault()
 {
     Admin::MP("menu_search");
     $maxperpage = 20;
     $total = $page == 1 || empty($_GET['rowNum']) ? iCMS_DB::getValue("SELECT count(*) FROM `#iCMS@__search`") : (int) $_GET['rowNum'];
     page($total, $maxperpage, "个关键字");
     $rs = iCMS_DB::getArray("SELECT * FROM `#iCMS@__search` order by id DESC LIMIT {$this->firstcount},{$maxperpage}");
     $_count = count($rs);
     include admincp::tpl('search');
 }
Beispiel #9
0
 function dodefault()
 {
     Admin::MP(array("menu_index_link", "menu_link"));
     $maxperpage = 60;
     $total = $page == 1 || empty($_GET['rowNum']) ? iCMS_DB::getValue("SELECT count(*) FROM `#iCMS@__links`") : (int) $_GET['rowNum'];
     page($total, $maxperpage, '个链接');
     $rs = iCMS_DB::getArray("SELECT * FROM `#iCMS@__links` ORDER BY `logo`, `orderNum` ASC LIMIT {$this->firstcount},{$maxperpage}");
     $_count = count($rs);
     include admincp::tpl('link');
 }
Beispiel #10
0
 function dodefault()
 {
     Admin::MP(array("menu_index_advertise", "menu_advertise"));
     $maxperpage = 30;
     $total = $page == 1 || empty($_GET['rowNum']) ? iCMS_DB::getValue("SELECT count(*) FROM `#iCMS@__advertise`") : (int) $_GET['rowNum'];
     page($total, $maxperpage, "个广告");
     $rs = iCMS_DB::getArray("SELECT * FROM `#iCMS@__advertise` order by id DESC LIMIT {$this->firstcount},{$maxperpage}");
     $_count = count($rs);
     include admincp::tpl("advertise");
 }
Beispiel #11
0
 function dodefault()
 {
     global $firstcount, $pagenav;
     Admin::MP("menu_message");
     $_GET['keywords'] && ($sql[] = " CONCAT(author,email,url,ip) REGEXP '{$_GET['keywords']}'");
     isset($_GET['status']) && ($sql[] = " `status`='" . $_GET['status'] . "'");
     $where = $sql ? ' where ' . implode(' AND ', (array) $sql) : '';
     $maxperpage = (int) $_GET['perpage'] > 0 ? $_GET['perpage'] : 20;
     $total = iCMS_DB::getValue("SELECT count(*) FROM `#iCMS@__plugins_message` {$where} order by id DESC");
     page($total, $maxperpage, "条留言");
     $rs = iCMS_DB::getArray("SELECT * FROM `#iCMS@__plugins_message` {$where} order by id DESC LIMIT {$firstcount},{$maxperpage}");
     $_count = count($rs);
     include plugin::acptpl();
 }
Beispiel #12
0
 function dodefault()
 {
     Admin::MP("menu_keywords");
     $_GET['keywords'] && ($sql[] = " `keyword` REGEXP '{$_GET['keywords']}'");
     $_GET['replace'] && ($sql[] = " `replace` REGEXP '{$_GET['replace']}'");
     isset($_GET['status']) && $_GET['status'] != '-1' && ($sql[] = " `status`='" . $_GET['status'] . "'");
     $where = $sql ? ' where ' . implode(' AND ', (array) $sql) : '';
     $maxperpage = (int) $_GET['perpage'] > 0 ? $_GET['perpage'] : 20;
     $total = $page == 1 || empty($_GET['rowNum']) ? iCMS_DB::getValue("SELECT count(*) FROM `#iCMS@__keywords` {$where}") : (int) $_GET['rowNum'];
     page($total, $maxperpage, "个关键字");
     $rs = iCMS_DB::getArray("SELECT * FROM `#iCMS@__keywords` {$where} order by id DESC LIMIT {$this->firstcount},{$maxperpage}");
     $_count = count($rs);
     include admincp::tpl('keywords');
 }
Beispiel #13
0
 function doRecover()
 {
     Admin::MP("menu_database_recover");
     //        include(iPATH.'admin/table.array.php');
     $filedb = array();
     $handle = opendir(iPATH . 'admin/backup');
     while ($file = readdir($handle)) {
         if (eregi("^iCMS_", $file) && eregi("\\.sql\$", $file)) {
             $strlen = eregi("^iCMS_", $file) ? 16 + strlen("iCMS_") : 19;
             $fp = fopen(iPATH . "admin/backup/{$file}", 'rb');
             $bakinfo = fread($fp, 200);
             fclose($fp);
             $detail = explode("\n", $bakinfo);
             $bk['name'] = $file;
             $bk['version'] = substr($detail[1], 10);
             $bk['time'] = substr($detail[2], 8);
             $bk['pre'] = substr($file, 0, $strlen);
             $bk['num'] = substr($file, $strlen, strrpos($file, '.') - $strlen);
             $filedb[] = $bk;
         }
     }
     include admincp::tpl();
 }
Beispiel #14
0
 function doDefault()
 {
     Admin::MP(array("menu_index_comment", "menu_comment"));
     include_once iPATH . 'include/model.class.php';
     if ($_GET['st'] == "title") {
         $_GET['keywords'] && ($sql[] = " `title` REGEXP '{$_GET['keywords']}'");
     } else {
         if ($_GET['st'] == "contents") {
             $_GET['keywords'] && ($sql[] = " `contents` REGEXP '{$_GET['keywords']}'");
         }
     }
     $_GET['starttime'] && ($sql[] = " `addtime`>='" . strtotime($_GET['starttime']) . "'");
     $_GET['endtime'] && ($sql[] = " `addtime`<='" . strtotime($_GET['endtime']) . "'");
     $_GET['mid'] && ($sql[] = " `mid`='" . strtotime($_GET['mid']) . "'");
     isset($_GET['status']) && $_GET['status'] != '-1' && ($sql[] = " `status`='" . $_GET['status'] . "'");
     $where = $sql ? ' where ' . implode(' AND ', (array) $sql) : '';
     $maxperpage = (int) $_GET['perpage'] > 0 ? $_GET['perpage'] : 20;
     $total = $page == 1 || empty($_GET['rowNum']) ? iCMS_DB::getValue("SELECT count(*) FROM `#iCMS@__comment` {$where}") : (int) $_GET['rowNum'];
     page($total, $maxperpage, "条评论");
     $rs = iCMS_DB::getArray("SELECT * FROM `#iCMS@__comment` {$where} order by id DESC LIMIT {$this->firstcount},{$maxperpage}");
     $_count = count($rs);
     include admincp::tpl('comment');
 }
Beispiel #15
0
<?php

/**
 * @package iCMS V3.1
 * @copyright 2007-2009, iDreamSoft
 * @license http://www.idreamsoft.cn iDreamSoft
 * @author coolmoo <*****@*****.**>
 */
header('Content-Type: text/html; charset=utf-8');
require_once dirname(__FILE__) . '/../global.php';
require_once iPATH . "admin/admin.class.php";
require_once iPATH . "admin/function.php";
require_once iPATH . 'admin/admincp.lang.php';
$iCMS->rewrite = false;
unset($_keywords);
$do = $_GET['do'];
$operation = !empty($_GET['operation']) && is_string($_GET['operation']) ? trim($_GET['operation']) : '';
$frames = isset($_GET['frames']) ? $_GET['frames'] : $_POST['frames'];
$action = $_POST['action'];
$Admin = new Admin();
$_GET['do'] == 'logout' && $Admin->logout(__SELF__);
if ($action == "login") {
    ckseccode($_POST['seccode']) && alert('验证码错误!');
    $username = $_POST['username'];
    $password = md5($_POST['password']);
}
$Admin->checklogin($username, $password);
admincp_log();
$Admin->MP("ADMINCP", "ADMINCP_Permission_Denied");
$menu_array = (include iPATH . 'admin/menu.array.php');
Beispiel #16
0
 function doDefault()
 {
     Admin::MP("menu_defaults");
     $defArray = $this->iCMS->getCache('system/default');
     include admincp::tpl('default');
 }
Beispiel #17
0
 function domanage()
 {
     Admin::MP("menu_tag_manage");
     $forum = new forum();
     $_GET['sortid'] && ($sql[] = " `sortid` = '{$_GET['sortid']}'");
     $_GET['type'] && ($sql[] = " `sortid` = '{$_GET['type']}'");
     $_GET['keywords'] && ($sql[] = " `name` REGEXP '{$_GET['keywords']}'");
     isset($_GET['status']) && $_GET['status'] != '-1' && ($sql[] = " `status`='" . $_GET['status'] . "'");
     $where = $sql ? ' where ' . implode(' AND ', (array) $sql) : '';
     $maxperpage = (int) $_GET['perpage'] > 0 ? $_GET['perpage'] : 20;
     $total = $page == 1 || empty($_GET['rowNum']) ? iCMS_DB::getValue("SELECT count(*) FROM `#iCMS@__tags` {$where}") : (int) $_GET['rowNum'];
     page($total, $maxperpage, "个TAG");
     $rs = iCMS_DB::getArray("SELECT * FROM `#iCMS@__tags` {$where} order by id DESC LIMIT {$this->firstcount},{$maxperpage}");
     $_count = count($rs);
     include admincp::tpl("tag.manage");
 }
Beispiel #18
0
 function doManage()
 {
     $mtime = microtime();
     $mtime = explode(' ', $mtime);
     $time_start = $mtime[1] + $mtime[0];
     Admin::MP(array("menu_article_manage", "menu_article_draft", "menu_article_user_manage", "menu_article_user_draft"));
     $forum = new forum();
     $fid = (int) $_GET['fid'];
     $type = $_GET['type'];
     $sql = " where ";
     switch ($type) {
         //postype: [0:用户][1:管理员][2:回收] status:[0:隐藏][1:正常]
         case 'draft':
             //草稿
             $sql .= "`status` ='0' AND `postype`='1'";
             $_ptxt = array(0 => '发布', 1 => '转成草稿');
             $position = UI::lang("menu_article_draft");
             break;
         case 'trash':
             //回收站
             $sql .= "`status` ='0' AND `postype`='2'";
             $_ptxt = array(0 => '还原', 1 => '放入回收站');
             $position = UI::lang("menu_article_trash");
             break;
         case 'user':
             //用户
             if ($_GET['act'] == "draft") {
                 $sql .= "`status` ='0'";
                 //用户审核
                 $position = UI::lang("menu_article_user_draft");
             } else {
                 $sql .= "`status` ='1'";
                 $position = UI::lang("menu_article_user_manage");
             }
             $sql .= " AND `postype`='0'";
             $_ptxt = array(0 => '通过审核', 1 => '取消审核');
             break;
         default:
             $sql .= " `status` ='1' AND `postype`='1'";
             $position = '';
             $fid && ($position = $forum->forum[$fid]['name']);
     }
     $position && ($position = "&nbsp;&raquo;&nbsp;" . $position);
     if ($_GET['keywords']) {
         if ($_GET['st'] == "title") {
             $sql .= " AND `title` REGEXP '{$_GET['keywords']}'";
         } else {
             if ($_GET['st'] == "top") {
                 $sql .= " AND `top`='{$_GET['keywords']}'";
             } else {
                 if ($_GET['st'] == "id") {
                     $sql .= " AND `id` REGEXP '{$_GET['keywords']}'";
                 } else {
                     if ($_GET['st'] == "tkd") {
                         $sql .= " AND CONCAT(title,keywords,description) REGEXP '{$_GET['keywords']}'";
                     }
                 }
             }
         }
     }
     $_GET['title'] && ($sql .= " AND `title` like '%{$_GET['title']}%'");
     $_GET['tag'] && ($sql .= " AND `tags` REGEXP '[[:<:]]" . preg_quote(rawurldecode($_GET['tag']), '/') . "[[:>:]]'");
     isset($_GET['at']) && $_GET['at'] != '-1' && ($sql .= " AND `type` ='" . $_GET['at'] . "'");
     isset($_GET['userid']) && ($sql .= " AND `userid`='" . (int) $_GET['userid'] . "'");
     $fid = Admin::CP($fid) ? $fid : "0";
     if ($fid) {
         $fidIN = $forum->fid($fid) . $fid;
         if (isset($_GET['sub']) && strstr($fidIN, ',')) {
             $sql .= " AND fid IN(" . $fidIN . ")";
         } else {
             $sql .= " AND fid ='{$fid}'";
         }
         //$sql.=" OR `vlink` REGEXP '[[:<:]]".preg_quote($fid, '/')."[[:>:]]')";
     } else {
         Admin::$cpower && ($sql .= " AND fid IN(" . implode(',', (array) Admin::$cpower) . ")");
     }
     isset($_GET['nopic']) && ($sql .= " AND `isPic` ='0'");
     $_GET['starttime'] && ($sql .= " and `pubdate`>='" . strtotime($_GET['starttime']) . "'");
     $_GET['endtime'] && ($sql .= " and `pubdate`<='" . strtotime($_GET['endtime']) . "'");
     $act == 'user' && ($uri .= '&act=user');
     $_GET['type'] == 'draft' && ($uri .= '&type=draft');
     isset($_GET['userid']) && ($uri .= '&userid=' . (int) $_GET['userid']);
     isset($_GET['keyword']) && ($uri .= '&keyword=' . $_GET['keyword']);
     isset($_GET['tag']) && ($uri .= '&tag=' . $_GET['tag']);
     $orderby = $_GET['orderby'] ? $_GET['orderby'] : "id DESC";
     $maxperpage = (int) $_GET['perpage'] > 0 ? $_GET['perpage'] : 20;
     $total = $page == 1 || empty($_GET['rowNum']) ? iCMS_DB::getValue("SELECT count(*) FROM `#iCMS@__article` {$sql}") : (int) $_GET['rowNum'];
     page($total, $maxperpage, "篇文章");
     $rs = iCMS_DB::getArray("SELECT * FROM `#iCMS@__article` {$sql} order by {$orderby} LIMIT {$this->firstcount} , {$maxperpage}");
     //echo iCMS_DB::$last_query;
     //iCMS_DB::last_query='explain '.iCMS_DB::$last_query;
     //$explain=iCMS_DB::getRow(iCMS_DB::last_query);
     //var_dump($explain);
     $_count = count($rs);
     include admincp::tpl("article.manage");
     //		$mtime = microtime();
     //		$mtime = explode(' ', $mtime);
     //		$time_end = $mtime[1] + $mtime[0];
     //		echo  "<h1>".($time_end - $time_start);
 }
Beispiel #19
0
 function doDefault()
 {
     Admin::MP("menu_cache");
     include admincp::tpl("cache");
 }
Beispiel #20
0
 function doDefault()
 {
     $this->init();
     Admin::MP("menu_contentype");
     include admincp::tpl('contentype');
 }
Beispiel #21
0
 function doDefault()
 {
     Admin::MP("menu_forums_manage");
     $forum = new forum();
     $do && set_cookie('selectopt', $do);
     $do = get_cookie('selectopt');
     empty($do) && ($do = 'fold');
     include admincp::tpl("forums.manage");
 }
Beispiel #22
0
 function doPage()
 {
     Admin::MP(array("menu_html_all", "menu_html_page"));
     $forum = new forum();
     include admincp::tpl();
 }
Beispiel #23
0
 function li($T, $A)
 {
     if (is_array($A)) {
         $i = 0;
         foreach ($A as $k => $v) {
             if (Admin::MP($k, 'F')) {
                 $href = strstr($v, 'http://') === false ? __SELF__ . '?mo=' . $v : $v;
                 $onClick = 'main_frame_src(\'' . $href . '\')';
                 if ($i) {
                     echo '<li class="menu_title sub_right" onclick="' . $onClick . '"><b class="border"></b><span><a href="' . $href . '" target="main" hidefocus=true>' . UI::lang($k) . '</a></span></li>';
                 } else {
                     echo '<li class="menu_title sub_left" onclick="' . $onClick . '"><span><a href="' . $href . '" target="main" hidefocus=true>' . UI::lang($k) . '</a></span></li>';
                 }
                 $i++;
             }
         }
     } else {
         if (Admin::MP($T, 'F')) {
             list($type, $url) = explode(':', $A);
             if ($type == "javascript") {
                 $onClick = $url;
                 $href = 'javascript:' . $onClick;
                 echo '<li class="menu_title" onclick="' . $onClick . '"><span>' . UI::lang($T) . '</span></li>';
             } else {
                 $href = strstr($A, 'http://') === false ? __SELF__ . '?mo=' . $A : $A;
                 $onClick = 'main_frame_src(\'' . $href . '\')';
                 echo '<li class="menu_title" onclick="' . $onClick . '"><span><a href="' . $href . '" target="main" hidefocus=true>' . UI::lang($T) . '</a></span></li>';
             }
         }
     }
 }
Beispiel #24
0
 function doextractpic()
 {
     Admin::MP("menu_extract_pic");
     include iPATH . 'include/forum.class.php';
     set_time_limit(0);
     $speed = 100;
     //提取速度
     $action = $this->PG('action');
     $fids = $this->PG('fid');
     $startid = (int) $this->PG('startid');
     $endid = (int) $this->PG('endid');
     $starttime = $this->PG('starttime');
     $endtime = $this->PG('endtime');
     $totle = isset($_GET['totle']) ? $_GET['totle'] : 0;
     $loop = isset($_GET['loop']) ? $_GET['loop'] : 1;
     $i = isset($_GET['i']) ? $_GET['i'] : 0;
     empty($action) && javascript::alert("请选择操作项");
     if ($fids) {
         empty($fids) && javascript::alert("请选择版块");
         is_array($fids) && ($fids = implode(",", $fids));
         if (strstr($fids, 'all')) {
             $forum = new forum();
             $fids = substr($forum->fid(), 0, -1);
             if (empty($fids)) {
                 javascript::dialog("提取完毕", 'url:' . __SELF__ . '?mo=files&do=extract');
             } else {
                 _header(__SELF__ . '?mo=files&do=extractpic&fid=' . $fids . '&action=' . $action);
             }
         } else {
             $cArray = explode(',', $fids);
             $_Ccount = count($cArray);
             $k = isset($_GET['k']) ? $_GET['k'] : 0;
             $rs = iCMS_DB::getArray("SELECT id FROM #iCMS@__article WHERE fid in ({$fids}) and `status`='1'");
             empty($totle) && ($totle = count($rs));
             $tloop = ceil($totle / $speed);
             if ($loop <= $tloop) {
                 $max = $i + $speed > $totle ? $totle : $i + $speed;
                 for ($j = $i; $j < $max; $j++) {
                     if ($action == "thumb") {
                         if ($this->extractThumb($rs[$j]['id'])) {
                             $msg .= "文章ID:" . $rs[$j]['id'] . "提取…<span style='color:green;'>√</span><br />";
                         }
                     } elseif ($action == "into") {
                         $intoMsg = $this->into($rs[$j]['id']);
                         if ($intoMsg) {
                             $msg .= $intoMsg . "文章ID:" . $rs[$j]['id'] . "提取…<span style='color:green;'>√</span><br />";
                         }
                     }
                 }
                 javascript::dialog($msg ? $msg : "暂无提取信息!", 'src:' . __SELF__ . '?mo=files&do=extractpic&fid=' . $fids . '&totle=' . $totle . '&loop=' . ($loop + 1) . '&i=' . $j . '&action=' . $action);
             } else {
                 javascript::dialog("提取完毕", 'url:' . __SELF__ . '?mo=files&do=extract');
             }
         }
     } elseif ($startid && $endid) {
         $startid > $endid && !isset($_GET['g']) && javascript::alert("开始ID不能大于结束ID");
         empty($totle) && ($totle = $endid - $startid + 1);
         empty($i) && ($i = $startid);
         $tloop = ceil($totle / $speed);
         if ($loop <= $tloop) {
             $max = $i + $speed > $endid ? $endid : $i + $speed;
             for ($j = $i; $j <= $max; $j++) {
                 if ($action == "thumb") {
                     if ($this->extractThumb($j)) {
                         $msg .= "文章ID:" . $j . "提取…<span style='color:green;'>√</span><br />";
                     }
                 } elseif ($action == "into") {
                     $intoMsg = $this->into($j);
                     if ($intoMsg) {
                         $msg .= $intoMsg . "文章ID:" . $j . "提取…<span style='color:green;'>√</span><br />";
                     }
                 }
             }
             javascript::dialog($msg ? $msg : "暂无提取信息!", 'src:' . __SELF__ . '?mo=files&do=extractpic&startid=' . $startid . '&endid=' . $endid . '&g&loop=' . ($loop + 1) . '&i=' . $j . '&action=' . $action);
         } else {
             javascript::dialog("提取完毕", 'url:' . __SELF__ . '?mo=files&do=extract');
         }
     } elseif ($starttime) {
         $s = strtotime($starttime);
         $e = empty($endtime) ? time() + 86400 : strtotime($endtime);
         $rs = iCMS_DB::getArray("SELECT id FROM #iCMS@__article WHERE `pubdate`>='{$s}' and `pubdate`<='{$e}' and `status`='1'");
         empty($totle) && ($totle = count($rs));
         $tloop = ceil($totle / $speed);
         if ($loop <= $tloop) {
             $max = $i + $speed > $totle ? $totle : $i + $speed;
             for ($j = $i; $j < $max; $j++) {
                 if ($action == "thumb") {
                     if ($this->extractThumb($rs[$j]['id'])) {
                         $msg .= "文章ID:" . $rs[$j]['id'] . "提取…<span style='color:green;'>√</span><br />";
                     }
                 } elseif ($action == "into") {
                     $intoMsg = $this->into($rs[$j]['id']);
                     if ($intoMsg) {
                         $msg .= $intoMsg . "文章ID:" . $rs[$j]['id'] . "提取…<span style='color:green;'>√</span><br />";
                     }
                 }
             }
             javascript::dialog($msg ? $msg : "暂无提取信息!", 'src:' . __SELF__ . '?mo=files&do=extractpic&starttime=' . $starttime . '&endtime=' . $endtime . '&totle=' . $totle . '&loop=' . ($loop + 1) . '&i=' . $j . '&action=' . $action);
         } else {
             javascript::dialog("提取完毕", 'url:' . __SELF__ . '?mo=files&do=extract');
         }
     } else {
         javascript::alert("请选择方式");
     }
 }
Beispiel #25
0
    echo $this->iCMS->config['watercolor'];
    ?>
" size="10" maxlength="7" class="txt"/></td>
      </tr>
      <tr>
        <td class="td120">水印透明度:</td>
        <td colspan="3" class="rowform"><input name="waterpct" value="<?php 
    echo $this->iCMS->config['waterpct'];
    ?>
" size="10" maxlength="3" class="txt"/></td>
      </tr>
    </tbody>
    <?php 
}
if (in_array($this->action, array('default0000', 'patch0000'))) {
    Admin::MP(array("menu_setting_all", "menu_setting_patch"));
    ?>
    <thead>
      <tr>
        <th colspan="4">自动更新</th>
      </tr>
    </thead>
    <tbody>
      <tr>
        <td class="rowform" colspan="4"><br />
        自动更新程序能够自动找到可用新并通知您.<br /><br />
        请选择自动更新iCMS的方式<br /><br />
        <ul onmouseover="altStyle(this);">
            <li style="clear:both;width:100%">
              <input class="radio" type="radio" name="autopatch" value="1" />
              自动下载,安装时询问(推荐) </li>