<?php
$exitTimeSkip = 'true';

require_once(dirname(__FILE__) .'/check.php');

$nowVersion	= 1.70;
$nowTimeStr	= '20250828';	// 新版本
$oldTimeStr	= '20250129';	// 之前升级补丁版本


$row = $DB->GetRow('select SYS_dbVersion,SYS_dbTimeStr from '. OT_dbPref .'system');
$SYS_dbVersion	= $row['SYS_dbVersion'];
$SYS_dbTimeStr	= $row['SYS_dbTimeStr'];


	$rndCode	= OT::GetInt('rndCode');
	$runCount	= OT::GetInt('runCount');
	$runNum		= OT::GetInt('runNum');
	$runMode	= OT::GetStr('runMode');
	$runMode2	= OT::GetStr('runMode2');
		if ($runMode2 == 'iframe'){ $runMode = $runMode2; }
	$runSkip	= OT::GetStr('runSkip');
	$errCode	= OT::GetInt('errCode');
		if ($errCode < 1 || $errCode > 3){ $errCode = 'noErr'; }
	if (! isset($retMode)){ $retMode=''; }

	if (strpos($runSkip,'err') === false){
//		error_reporting(E_ALL ^ E_NOTICE);
	}
	if (strpos($runSkip,'noer') !== false){
//		error_reporting(E_ALL ^ E_NOTICE);
	}

	// $finishStr = AdmArea::UpdateFileVerTop();

	if ($runMode == 'window'){
		$finishStr = '可以关闭该窗口了，然后点击<span style="color:red;">[重新运行升级过程]</span>按钮，继续完成升级。';
	}elseif ($runMode == 'iframe'){
		$finishStr = '把该页面<span style="color:red;">校验码</span>填入下方校验码框里，然后点击<span style="color:red;">[重新运行升级过程]</span>按钮，继续完成升级。';
	}elseif ($runMode == 'back'){
		$finishStr = '请删除该文件。';
	}elseif ($retMode != 'return'){
		$finishStr = '';
	}

	if ($SYS_dbTimeStr<$oldTimeStr && strpos($runSkip,'old')===false){
		if ($retMode == 'return'){
			return '网钛IDC系统(idcCMS) '. $nowTimeStr .'程序更新/升级补丁；很抱歉，发现该程序之前运行脚本（'. $oldTimeStr .'）还未执行过，请先执行之前运行脚本（'. $oldTimeStr .'），再运行该脚本。'. $finishStr .'';
		}else{
			die('<div style="line-height:1.4;font-size:14px;">网钛IDC系统(idcCMS) '. $nowTimeStr .'程序更新/升级补丁<br /><br />很抱歉，发现该程序之前运行脚本（'. $oldTimeStr .'）还未执行过，请先执行之前运行脚本（'. $oldTimeStr .'），再运行该脚本。'. $finishStr .'</div>');
		}
	}
	if ($SYS_dbTimeStr>=$nowTimeStr && strpos($runSkip,'curr')===false){
		if ($retMode == 'return'){
			return '网钛IDC系统(idcCMS) '. $nowTimeStr .'程序更新/升级补丁；OK!已升级过，不用再重复升级了。'. $finishStr .'';
		}else{
			die('<div style="line-height:1.4;font-size:14px;"><b>校验码：<span style="color:red;">'. $rndCode .'</span></b><br />网钛IDC系统(idcCMS) '. $nowTimeStr .'程序更新/升级补丁<br /><br />OK!已升级过，不用再重复升级了。'. $finishStr .'</div>');
		}
	}

	// *********************** 脚本运行Start ******************************

	$DB->SetAttr($errCode);	// 执行SQL语句关闭错误提示

	@ini_set('max_execution_time', 0);
	@set_time_limit(0); 

	if (OT_Database == 'mysql'){
		$DB->query("ALTER TABLE ". OT_dbPref ."appSys MODIFY AS_qiniuKey1 text");
		$DB->query("ALTER TABLE ". OT_dbPref ."appSys MODIFY AS_qiniuKey2 text");
		$DB->query("ALTER TABLE ". OT_dbPref ."appSys MODIFY AS_qiniuName text");
		$DB->query("ALTER TABLE ". OT_dbPref ."appSys MODIFY AS_qiniuUrl text");
		$DB->query("ALTER TABLE ". OT_dbPref ."appSys MODIFY AS_upyunKey1 text");
		$DB->query("ALTER TABLE ". OT_dbPref ."appSys MODIFY AS_upyunKey2 text");
		$DB->query("ALTER TABLE ". OT_dbPref ."appSys MODIFY AS_upyunName text");
		$DB->query("ALTER TABLE ". OT_dbPref ."appSys MODIFY AS_upyunUrl text");
		$DB->query("ALTER TABLE ". OT_dbPref ."appSys MODIFY AS_aliyunKey1 text");
		$DB->query("ALTER TABLE ". OT_dbPref ."appSys MODIFY AS_aliyunKey2 text");
		$DB->query("ALTER TABLE ". OT_dbPref ."appSys MODIFY AS_aliyunName text");
		$DB->query("ALTER TABLE ". OT_dbPref ."appSys MODIFY AS_aliyunUrl text");
		$DB->query("ALTER TABLE ". OT_dbPref ."appSys MODIFY AS_aliyunEndPoint text");
		$DB->query("ALTER TABLE ". OT_dbPref ."appSys MODIFY AS_recomArea text");
		$DB->query("ALTER TABLE ". OT_dbPref ."appSys MODIFY AS_fansTypeList text");
		$DB->query("ALTER TABLE ". OT_dbPref ."appSys MODIFY AS_event text");
		$DB->query("ALTER TABLE ". OT_dbPref ."appSys MODIFY AS_chinazKey text");
		$DB->query("ALTER TABLE ". OT_dbPref ."appSys MODIFY AS_chinazEvent text");
		$DB->query("ALTER TABLE ". OT_dbPref ."appSys MODIFY AS_aizhanKey text");
		$DB->query("ALTER TABLE ". OT_dbPref ."appSys MODIFY AS_aizhanEvent text");
		$DB->query("ALTER TABLE ". OT_dbPref ."appSys MODIFY AS_weixinKey text");
		$DB->query("ALTER TABLE ". OT_dbPref ."appSys MODIFY AS_weixinQQ text");
		$DB->query("ALTER TABLE ". OT_dbPref ."appSys MODIFY AS_weixinEvent text");
		$DB->query("ALTER TABLE ". OT_dbPref ."appSys MODIFY AS_siteMsgEvent text");
		$DB->query("ALTER TABLE ". OT_dbPref ."appSys MODIFY AS_gainDiyName text");
		$DB->query("ALTER TABLE ". OT_dbPref ."appSys MODIFY AS_tagName text");
		$DB->query("ALTER TABLE ". OT_dbPref ."appSys MODIFY AS_nameAlipayPid text");
		$DB->query("ALTER TABLE ". OT_dbPref ."appSys MODIFY AS_nameWeixinId text");
		$DB->query("ALTER TABLE ". OT_dbPref ."appSys MODIFY AS_nameWeixinKey text");
		$DB->query("ALTER TABLE ". OT_dbPref ."appSys MODIFY AS_nameWeixinType text");
		$DB->query("ALTER TABLE ". OT_dbPref ."appSys MODIFY AS_nameWeixinRuleId text");
		$DB->query("ALTER TABLE ". OT_dbPref ."appSys MODIFY AS_nameAlipayType text");
		$DB->query("ALTER TABLE ". OT_dbPref ."appSys MODIFY AS_nameAlipayEvent text");
		$DB->query("ALTER TABLE ". OT_dbPref ."appSys MODIFY AS_namePhoneKey text");
		$DB->query("ALTER TABLE ". OT_dbPref ."appSys MODIFY AS_namePhoneSecret text");
		$DB->query("ALTER TABLE ". OT_dbPref ."appSys MODIFY AS_namePhoneCode text");
		$DB->query("ALTER TABLE ". OT_dbPref ."appSys MODIFY AS_siteApiAreaStr text");
		$DB->query("ALTER TABLE ". OT_dbPref ."appSys MODIFY AS_dingdingName1 text");
		$DB->query("ALTER TABLE ". OT_dbPref ."appSys MODIFY AS_dingdingName2 text");
		$DB->query("ALTER TABLE ". OT_dbPref ."appSys MODIFY AS_dingdingEvent text");
		$DB->query("ALTER TABLE ". OT_dbPref ."appSys MODIFY AS_siteApiUrl text");
		$DB->query("ALTER TABLE ". OT_dbPref ."appSys MODIFY AS_aliyunDefDir text");
		$DB->query("ALTER TABLE ". OT_dbPref ."appSys MODIFY AS_qiniuDefDir text");
		$DB->query("ALTER TABLE ". OT_dbPref ."appSys MODIFY AS_upyunDefDir text");
		$DB->query("ALTER TABLE ". OT_dbPref ."appSys MODIFY AS_newsPwdAnswer text");
		$DB->query("ALTER TABLE ". OT_dbPref ."appSys MODIFY AS_newsPwdImg text");
		$DB->query("ALTER TABLE ". OT_dbPref ."appSys MODIFY AS_weixinImgDef text");
		$DB->query("ALTER TABLE ". OT_dbPref ."appSys MODIFY AS_weixinWorkName1 text");
		$DB->query("ALTER TABLE ". OT_dbPref ."appSys MODIFY AS_weixinWorkName2 text");
		$DB->query("ALTER TABLE ". OT_dbPref ."appSys MODIFY AS_weixinWorkEvent text");
		$DB->query("ALTER TABLE ". OT_dbPref ."appSys MODIFY AS_weixinThemeHead text");
		$DB->query("ALTER TABLE ". OT_dbPref ."appSys MODIFY AS_weixinThemeFoot text");
		$DB->query("ALTER TABLE ". OT_dbPref ."appSys MODIFY AS_weixinDescHead text");
		$DB->query("ALTER TABLE ". OT_dbPref ."appSys MODIFY AS_weixinDescFoot text");

		$DB->query("ALTER TABLE ". OT_dbPref ."users ADD UE_payName varchar(255) DEFAULT ''");
		$DB->query("ALTER TABLE ". OT_dbPref ."users ADD UE_payImg varchar(255) DEFAULT ''");

		/*
		// 下面仅是为增加字段参考语句
		$DB->query("ALTER TABLE ". OT_dbPref ."wap ADD WAP_isHomeAnnoun tinyint(3) unsigned DEFAULT 0");
		$DB->query("ALTER TABLE ". OT_dbPref ."wap ADD WAP_isHomeAnnoun tinyint(4) DEFAULT '0'");
		$DB->query("ALTER TABLE ". OT_dbPref ."wap ADD WAP_isHomeAnnoun smallint(5) unsigned DEFAULT 0");
		$DB->query("ALTER TABLE ". OT_dbPref ."wap ADD WAP_isHomeAnnoun smallint(6) DEFAULT 0");
		$DB->query("ALTER TABLE ". OT_dbPref ."wap ADD WAP_isHomeAnnoun int(11) DEFAULT 0");
		$DB->query("ALTER TABLE ". OT_dbPref ."wap ADD WAP_isHomeAnnoun bigint(20) DEFAULT 0");
		$DB->query("ALTER TABLE ". OT_dbPref ."wap ADD WAP_isHomeAnnoun datetime");
		$DB->query("ALTER TABLE ". OT_dbPref ."wap ADD WAP_isHomeAnnoun decimal(10,2) NOT NULL DEFAULT '0.00'");
		$DB->query("ALTER TABLE ". OT_dbPref ."wap ADD WAP_isHomeAnnoun varchar(255)");
		$DB->query("ALTER TABLE ". OT_dbPref ."wap ADD WAP_isHomeAnnoun varchar(255) DEFAULT ''");
		$DB->query("ALTER TABLE ". OT_dbPref ."wap ADD WAP_isHomeAnnoun text");
		*/

		$tabNum = 1;
	}else{
		$DB->query("ALTER TABLE ". OT_dbPref ."users ADD UE_payName TEXT");
		$DB->query("ALTER TABLE ". OT_dbPref ."users ADD UE_payImg TEXT");

		/*
		// 下面仅是为增加字段参考语句
		$DB->query("ALTER TABLE OT_wap ADD WAP_announ INTEGER DEFAULT 0");
		$DB->query("ALTER TABLE OT_wap ADD WAP_announ REAL(10,2) DEFAULT 0");
		$DB->query("ALTER TABLE OT_wap ADD WAP_announ TEXT");
		*/
		$tabNum = 1;
	}

	$DB->query("INSERT INTO ". OT_dbPref ."menuFile (MF_ID, MF_level, MF_fileID, MF_appID, MF_theme, MF_fileName, MF_getMudi, MF_example, MF_rank, MF_note) VALUES (732, 1, 0, 175, '页面提醒管理', 'xcxTixing.php', 'manage', 'xcxTixing.php?mudi=manage&dataTypeCN=页面提醒', 6040, '');");
	$DB->query("INSERT INTO ". OT_dbPref ."menuFile (MF_ID, MF_level, MF_fileID, MF_appID, MF_theme, MF_fileName, MF_getMudi, MF_example, MF_rank, MF_note) VALUES (733, 10, 732, 0, '详细', 'xcxTixing.php', 'show', '', 6041, '');");
	$DB->query("INSERT INTO ". OT_dbPref ."menuFile (MF_ID, MF_level, MF_fileID, MF_appID, MF_theme, MF_fileName, MF_getMudi, MF_example, MF_rank, MF_note) VALUES (734, 10, 732, 0, '新增', 'xcxTixing.php', 'add', '', 6042, '');");
	$DB->query("INSERT INTO ". OT_dbPref ."menuFile (MF_ID, MF_level, MF_fileID, MF_appID, MF_theme, MF_fileName, MF_getMudi, MF_example, MF_rank, MF_note) VALUES (735, 10, 732, 0, '修改', 'xcxTixing.php', 'rev', '', 6043, '');");
	$DB->query("INSERT INTO ". OT_dbPref ."menuFile (MF_ID, MF_level, MF_fileID, MF_appID, MF_theme, MF_fileName, MF_getMudi, MF_example, MF_rank, MF_note) VALUES (736, 10, 732, 0, '删除', 'xcxTixing.php', 'del', '', 6044, '');");
	$DB->query("INSERT INTO ". OT_dbPref ."menuFile (MF_ID, MF_level, MF_fileID, MF_appID, MF_theme, MF_fileName, MF_getMudi, MF_example, MF_rank, MF_note) VALUES (737, 1, 0, 175, '云相册管理', 'xcxPhoto.php', 'manage', 'xcxPhoto.php?mudi=manage&dataTypeCN=云相册', 6050, '');");
	$DB->query("INSERT INTO ". OT_dbPref ."menuFile (MF_ID, MF_level, MF_fileID, MF_appID, MF_theme, MF_fileName, MF_getMudi, MF_example, MF_rank, MF_note) VALUES (738, 10, 737, 0, '详细', 'xcxPhoto.php', 'show', '', 6051, '');");
	$DB->query("INSERT INTO ". OT_dbPref ."menuFile (MF_ID, MF_level, MF_fileID, MF_appID, MF_theme, MF_fileName, MF_getMudi, MF_example, MF_rank, MF_note) VALUES (739, 10, 737, 0, '新增', 'xcxPhoto.php', 'add', '', 6052, '');");
	$DB->query("INSERT INTO ". OT_dbPref ."menuFile (MF_ID, MF_level, MF_fileID, MF_appID, MF_theme, MF_fileName, MF_getMudi, MF_example, MF_rank, MF_note) VALUES (740, 10, 737, 0, '修改', 'xcxPhoto.php', 'rev', '', 6053, '');");
	$DB->query("INSERT INTO ". OT_dbPref ."menuFile (MF_ID, MF_level, MF_fileID, MF_appID, MF_theme, MF_fileName, MF_getMudi, MF_example, MF_rank, MF_note) VALUES (741, 10, 737, 0, '删除', 'xcxPhoto.php', 'del', '', 6054, '');");
	$DB->query("INSERT INTO ". OT_dbPref ."menuFile (MF_ID, MF_level, MF_fileID, MF_appID, MF_theme, MF_fileName, MF_getMudi, MF_example, MF_rank, MF_note) VALUES (742, 1, 0, 175, '订阅提醒管理', 'xcxDingyue.php', 'manage', 'xcxDingyue.php?mudi=manage&dataTypeCN=订阅提醒', 6060, '');");
	$DB->query("INSERT INTO ". OT_dbPref ."menuFile (MF_ID, MF_level, MF_fileID, MF_appID, MF_theme, MF_fileName, MF_getMudi, MF_example, MF_rank, MF_note) VALUES (743, 10, 742, 0, '详细', 'xcxDingyue.php', 'show', '', 6061, '');");
	$DB->query("INSERT INTO ". OT_dbPref ."menuFile (MF_ID, MF_level, MF_fileID, MF_appID, MF_theme, MF_fileName, MF_getMudi, MF_example, MF_rank, MF_note) VALUES (744, 10, 742, 0, '新增', 'xcxDingyue.php', 'add', '', 6062, '');");
	$DB->query("INSERT INTO ". OT_dbPref ."menuFile (MF_ID, MF_level, MF_fileID, MF_appID, MF_theme, MF_fileName, MF_getMudi, MF_example, MF_rank, MF_note) VALUES (745, 10, 742, 0, '修改', 'xcxDingyue.php', 'rev', '', 6063, '');");
	$DB->query("INSERT INTO ". OT_dbPref ."menuFile (MF_ID, MF_level, MF_fileID, MF_appID, MF_theme, MF_fileName, MF_getMudi, MF_example, MF_rank, MF_note) VALUES (746, 10, 742, 0, '删除', 'xcxDingyue.php', 'del', '', 6064, '');");
	$DB->query("INSERT INTO ". OT_dbPref ."menuFile (MF_ID, MF_level, MF_fileID, MF_appID, MF_theme, MF_fileName, MF_getMudi, MF_example, MF_rank, MF_note) VALUES (747, 1, 0, 177, '点餐商品分类', 'xcxShopType.php', 'manage', 'xcxShopType.php?mudi=manage&dataTypeCN=点餐商品分类', 6200, '');");
	$DB->query("INSERT INTO ". OT_dbPref ."menuFile (MF_ID, MF_level, MF_fileID, MF_appID, MF_theme, MF_fileName, MF_getMudi, MF_example, MF_rank, MF_note) VALUES (748, 10, 747, 0, '详细', 'xcxShopType.php', 'show', '', 6201, '');");
	$DB->query("INSERT INTO ". OT_dbPref ."menuFile (MF_ID, MF_level, MF_fileID, MF_appID, MF_theme, MF_fileName, MF_getMudi, MF_example, MF_rank, MF_note) VALUES (749, 10, 747, 0, '新增', 'xcxShopType.php', 'add', '', 6202, '');");
	$DB->query("INSERT INTO ". OT_dbPref ."menuFile (MF_ID, MF_level, MF_fileID, MF_appID, MF_theme, MF_fileName, MF_getMudi, MF_example, MF_rank, MF_note) VALUES (750, 10, 747, 0, '修改', 'xcxShopType.php', 'rev', '', 6203, '');");
	$DB->query("INSERT INTO ". OT_dbPref ."menuFile (MF_ID, MF_level, MF_fileID, MF_appID, MF_theme, MF_fileName, MF_getMudi, MF_example, MF_rank, MF_note) VALUES (751, 10, 747, 0, '删除', 'xcxShopType.php', 'del', '', 6204, '');");
	$DB->query("INSERT INTO ". OT_dbPref ."menuFile (MF_ID, MF_level, MF_fileID, MF_appID, MF_theme, MF_fileName, MF_getMudi, MF_example, MF_rank, MF_note) VALUES (752, 1, 0, 177, '点餐商品管理', 'xcxShopGoods.php', 'manage', 'xcxShopGoods.php?mudi=manage&dataTypeCN=点餐商品', 6210, '');");
	$DB->query("INSERT INTO ". OT_dbPref ."menuFile (MF_ID, MF_level, MF_fileID, MF_appID, MF_theme, MF_fileName, MF_getMudi, MF_example, MF_rank, MF_note) VALUES (753, 10, 752, 0, '详细', 'xcxShopGoods.php', 'show', '', 6211, '');");
	$DB->query("INSERT INTO ". OT_dbPref ."menuFile (MF_ID, MF_level, MF_fileID, MF_appID, MF_theme, MF_fileName, MF_getMudi, MF_example, MF_rank, MF_note) VALUES (754, 10, 752, 0, '新增', 'xcxShopGoods.php', 'add', '', 6212, '');");
	$DB->query("INSERT INTO ". OT_dbPref ."menuFile (MF_ID, MF_level, MF_fileID, MF_appID, MF_theme, MF_fileName, MF_getMudi, MF_example, MF_rank, MF_note) VALUES (755, 10, 752, 0, '修改', 'xcxShopGoods.php', 'rev', '', 6213, '');");
	$DB->query("INSERT INTO ". OT_dbPref ."menuFile (MF_ID, MF_level, MF_fileID, MF_appID, MF_theme, MF_fileName, MF_getMudi, MF_example, MF_rank, MF_note) VALUES (756, 10, 752, 0, '删除', 'xcxShopGoods.php', 'del', '', 6214, '');");
	$DB->query("INSERT INTO ". OT_dbPref ."menuFile (MF_ID, MF_level, MF_fileID, MF_appID, MF_theme, MF_fileName, MF_getMudi, MF_example, MF_rank, MF_note) VALUES (757, 1, 0, 177, '点餐订单管理', 'xcxShopOrder.php', 'manage', 'xcxShopOrder.php?mudi=manage&dataTypeCN=点餐订单', 6220, '');");
	$DB->query("INSERT INTO ". OT_dbPref ."menuFile (MF_ID, MF_level, MF_fileID, MF_appID, MF_theme, MF_fileName, MF_getMudi, MF_example, MF_rank, MF_note) VALUES (758, 10, 757, 0, '详细', 'xcxShopOrder.php', 'show', '', 6221, '');");
	$DB->query("INSERT INTO ". OT_dbPref ."menuFile (MF_ID, MF_level, MF_fileID, MF_appID, MF_theme, MF_fileName, MF_getMudi, MF_example, MF_rank, MF_note) VALUES (759, 10, 757, 0, '新增', 'xcxShopOrder.php', 'add', '', 6222, '');");
	$DB->query("INSERT INTO ". OT_dbPref ."menuFile (MF_ID, MF_level, MF_fileID, MF_appID, MF_theme, MF_fileName, MF_getMudi, MF_example, MF_rank, MF_note) VALUES (760, 10, 757, 0, '修改', 'xcxShopOrder.php', 'rev', '', 6223, '');");
	$DB->query("INSERT INTO ". OT_dbPref ."menuFile (MF_ID, MF_level, MF_fileID, MF_appID, MF_theme, MF_fileName, MF_getMudi, MF_example, MF_rank, MF_note) VALUES (761, 10, 757, 0, '删除', 'xcxShopOrder.php', 'del', '', 6224, '');");
	$DB->query("INSERT INTO ". OT_dbPref ."menuFile (MF_ID, MF_level, MF_fileID, MF_appID, MF_theme, MF_fileName, MF_getMudi, MF_example, MF_rank, MF_note) VALUES (762, 1, 0, 175, '药品管理', 'xcxYaopin.php', 'manage', 'xcxYaopin.php?mudi=manage&dataTypeCN=药品', 6070, '');");
	$DB->query("INSERT INTO ". OT_dbPref ."menuFile (MF_ID, MF_level, MF_fileID, MF_appID, MF_theme, MF_fileName, MF_getMudi, MF_example, MF_rank, MF_note) VALUES (763, 10, 762, 0, '详细', 'xcxYaopin.php', 'show', '', 6071, '');");
	$DB->query("INSERT INTO ". OT_dbPref ."menuFile (MF_ID, MF_level, MF_fileID, MF_appID, MF_theme, MF_fileName, MF_getMudi, MF_example, MF_rank, MF_note) VALUES (764, 10, 762, 0, '新增', 'xcxYaopin.php', 'add', '', 6072, '');");
	$DB->query("INSERT INTO ". OT_dbPref ."menuFile (MF_ID, MF_level, MF_fileID, MF_appID, MF_theme, MF_fileName, MF_getMudi, MF_example, MF_rank, MF_note) VALUES (765, 10, 762, 0, '修改', 'xcxYaopin.php', 'rev', '', 6073, '');");
	$DB->query("INSERT INTO ". OT_dbPref ."menuFile (MF_ID, MF_level, MF_fileID, MF_appID, MF_theme, MF_fileName, MF_getMudi, MF_example, MF_rank, MF_note) VALUES (766, 10, 762, 0, '删除', 'xcxYaopin.php', 'del', '', 6074, '');");
	$DB->query("INSERT INTO ". OT_dbPref ."menuFile (MF_ID, MF_level, MF_fileID, MF_appID, MF_theme, MF_fileName, MF_getMudi, MF_example, MF_rank, MF_note) VALUES (767, 0, 0, 179, '广告奖励参数', 'xcxAdSys.php', 'infoSet', 'xcxAdSys.php?mudi=infoSet&dataTypeCN=广告奖励参数', 6301, '');");
	$DB->query("INSERT INTO ". OT_dbPref ."menuFile (MF_ID, MF_level, MF_fileID, MF_appID, MF_theme, MF_fileName, MF_getMudi, MF_example, MF_rank, MF_note) VALUES (768, 1, 0, 179, '广告奖励关键词', 'xcxAdWord.php', 'manage', 'xcxAdWord.php?mudi=manage&dataTypeCN=广告奖励关键词', 6310, '');");
	$DB->query("INSERT INTO ". OT_dbPref ."menuFile (MF_ID, MF_level, MF_fileID, MF_appID, MF_theme, MF_fileName, MF_getMudi, MF_example, MF_rank, MF_note) VALUES (769, 10, 768, 0, '详细', 'xcxAdWord.php', 'show', '', 6311, '');");
	$DB->query("INSERT INTO ". OT_dbPref ."menuFile (MF_ID, MF_level, MF_fileID, MF_appID, MF_theme, MF_fileName, MF_getMudi, MF_example, MF_rank, MF_note) VALUES (770, 10, 768, 0, '新增', 'xcxAdWord.php', 'add', '', 6312, '');");
	$DB->query("INSERT INTO ". OT_dbPref ."menuFile (MF_ID, MF_level, MF_fileID, MF_appID, MF_theme, MF_fileName, MF_getMudi, MF_example, MF_rank, MF_note) VALUES (771, 10, 768, 0, '修改', 'xcxAdWord.php', 'rev', '', 6313, '');");
	$DB->query("INSERT INTO ". OT_dbPref ."menuFile (MF_ID, MF_level, MF_fileID, MF_appID, MF_theme, MF_fileName, MF_getMudi, MF_example, MF_rank, MF_note) VALUES (772, 10, 768, 0, '删除', 'xcxAdWord.php', 'del', '', 6314, '');");
	$DB->query("INSERT INTO ". OT_dbPref ."menuFile (MF_ID, MF_level, MF_fileID, MF_appID, MF_theme, MF_fileName, MF_getMudi, MF_example, MF_rank, MF_note) VALUES (773, 1, 0, 179, '广告奖励订单', 'xcxAdOrder.php', 'manage', 'xcxAdOrder.php?mudi=manage&dataTypeCN=广告奖励订单', 6320, '');");
	$DB->query("INSERT INTO ". OT_dbPref ."menuFile (MF_ID, MF_level, MF_fileID, MF_appID, MF_theme, MF_fileName, MF_getMudi, MF_example, MF_rank, MF_note) VALUES (774, 10, 773, 0, '详细', 'xcxAdOrder.php', 'show', '', 6321, '');");
	$DB->query("INSERT INTO ". OT_dbPref ."menuFile (MF_ID, MF_level, MF_fileID, MF_appID, MF_theme, MF_fileName, MF_getMudi, MF_example, MF_rank, MF_note) VALUES (775, 10, 773, 0, '新增', 'xcxAdOrder.php', 'add', '', 6322, '');");
	$DB->query("INSERT INTO ". OT_dbPref ."menuFile (MF_ID, MF_level, MF_fileID, MF_appID, MF_theme, MF_fileName, MF_getMudi, MF_example, MF_rank, MF_note) VALUES (776, 10, 773, 0, '修改', 'xcxAdOrder.php', 'rev', '', 6323, '');");
	$DB->query("INSERT INTO ". OT_dbPref ."menuFile (MF_ID, MF_level, MF_fileID, MF_appID, MF_theme, MF_fileName, MF_getMudi, MF_example, MF_rank, MF_note) VALUES (777, 10, 773, 0, '删除', 'xcxAdOrder.php', 'del', '', 6324, '');");

	$DB->query("INSERT INTO ". OT_dbPref ."menuTree (MT_ID, MT_level, MT_menuID, MT_appID, MT_fileID, MT_theme, MT_themeStyle, MT_fileName, MT_getMudi, MT_getDataMode, MT_getDataModeStr, MT_getDataType, MT_getDataTypeCN, MT_getDataType2, MT_getDataID, MT_getImgStr, MT_getOthers, MT_childMenu, MT_URL, MT_isFastMenu, MT_userState, MT_rank, MT_state) VALUES (1110, 1, 1070, 175, 732, '页面提醒管理', NULL, 'xcxTixing.php', 'manage', '', '', '', '页面提醒', '', 0, '', '', NULL, 'xcxTixing.php?mudi=manage&dataTypeCN=%E9%A1%B5%E9%9D%A2%E6%8F%90%E9%86%92', 0, 1, 26, 0);");
	$DB->query("INSERT INTO ". OT_dbPref ."menuTree (MT_ID, MT_level, MT_menuID, MT_appID, MT_fileID, MT_theme, MT_themeStyle, MT_fileName, MT_getMudi, MT_getDataMode, MT_getDataModeStr, MT_getDataType, MT_getDataTypeCN, MT_getDataType2, MT_getDataID, MT_getImgStr, MT_getOthers, MT_childMenu, MT_URL, MT_isFastMenu, MT_userState, MT_rank, MT_state) VALUES (1111, 2, 1110, 0, 733, '详细', NULL, 'xcxTixing.php', 'show', NULL, NULL, '', NULL, NULL, 0, NULL, NULL, NULL, NULL, 0, 0, 0, 1);");
	$DB->query("INSERT INTO ". OT_dbPref ."menuTree (MT_ID, MT_level, MT_menuID, MT_appID, MT_fileID, MT_theme, MT_themeStyle, MT_fileName, MT_getMudi, MT_getDataMode, MT_getDataModeStr, MT_getDataType, MT_getDataTypeCN, MT_getDataType2, MT_getDataID, MT_getImgStr, MT_getOthers, MT_childMenu, MT_URL, MT_isFastMenu, MT_userState, MT_rank, MT_state) VALUES (1112, 2, 1110, 0, 734, '新增', NULL, 'xcxTixing.php', 'add', NULL, NULL, '', NULL, NULL, 0, NULL, NULL, NULL, NULL, 0, 0, 0, 1);");
	$DB->query("INSERT INTO ". OT_dbPref ."menuTree (MT_ID, MT_level, MT_menuID, MT_appID, MT_fileID, MT_theme, MT_themeStyle, MT_fileName, MT_getMudi, MT_getDataMode, MT_getDataModeStr, MT_getDataType, MT_getDataTypeCN, MT_getDataType2, MT_getDataID, MT_getImgStr, MT_getOthers, MT_childMenu, MT_URL, MT_isFastMenu, MT_userState, MT_rank, MT_state) VALUES (1113, 2, 1110, 0, 735, '修改', NULL, 'xcxTixing.php', 'rev', NULL, NULL, '', NULL, NULL, 0, NULL, NULL, NULL, NULL, 0, 0, 0, 1);");
	$DB->query("INSERT INTO ". OT_dbPref ."menuTree (MT_ID, MT_level, MT_menuID, MT_appID, MT_fileID, MT_theme, MT_themeStyle, MT_fileName, MT_getMudi, MT_getDataMode, MT_getDataModeStr, MT_getDataType, MT_getDataTypeCN, MT_getDataType2, MT_getDataID, MT_getImgStr, MT_getOthers, MT_childMenu, MT_URL, MT_isFastMenu, MT_userState, MT_rank, MT_state) VALUES (1114, 2, 1110, 0, 736, '删除', NULL, 'xcxTixing.php', 'del', NULL, NULL, '', NULL, NULL, 0, NULL, NULL, NULL, NULL, 0, 0, 0, 1);");
	$DB->query("INSERT INTO ". OT_dbPref ."menuTree (MT_ID, MT_level, MT_menuID, MT_appID, MT_fileID, MT_theme, MT_themeStyle, MT_fileName, MT_getMudi, MT_getDataMode, MT_getDataModeStr, MT_getDataType, MT_getDataTypeCN, MT_getDataType2, MT_getDataID, MT_getImgStr, MT_getOthers, MT_childMenu, MT_URL, MT_isFastMenu, MT_userState, MT_rank, MT_state) VALUES (1115, 1, 1070, 175, 737, '云相册管理', NULL, 'xcxPhoto.php', 'manage', '', '', '', '云相册', '', 0, '', '', NULL, 'xcxPhoto.php?mudi=manage&dataTypeCN=%E4%BA%91%E7%9B%B8%E5%86%8C', 0, 1, 37, 1);");
	$DB->query("INSERT INTO ". OT_dbPref ."menuTree (MT_ID, MT_level, MT_menuID, MT_appID, MT_fileID, MT_theme, MT_themeStyle, MT_fileName, MT_getMudi, MT_getDataMode, MT_getDataModeStr, MT_getDataType, MT_getDataTypeCN, MT_getDataType2, MT_getDataID, MT_getImgStr, MT_getOthers, MT_childMenu, MT_URL, MT_isFastMenu, MT_userState, MT_rank, MT_state) VALUES (1116, 2, 1115, 0, 738, '详细', NULL, 'xcxPhoto.php', 'show', NULL, NULL, '', NULL, NULL, 0, NULL, NULL, NULL, NULL, 0, 0, 0, 1);");
	$DB->query("INSERT INTO ". OT_dbPref ."menuTree (MT_ID, MT_level, MT_menuID, MT_appID, MT_fileID, MT_theme, MT_themeStyle, MT_fileName, MT_getMudi, MT_getDataMode, MT_getDataModeStr, MT_getDataType, MT_getDataTypeCN, MT_getDataType2, MT_getDataID, MT_getImgStr, MT_getOthers, MT_childMenu, MT_URL, MT_isFastMenu, MT_userState, MT_rank, MT_state) VALUES (1117, 2, 1115, 0, 739, '新增', NULL, 'xcxPhoto.php', 'add', NULL, NULL, '', NULL, NULL, 0, NULL, NULL, NULL, NULL, 0, 0, 0, 1);");
	$DB->query("INSERT INTO ". OT_dbPref ."menuTree (MT_ID, MT_level, MT_menuID, MT_appID, MT_fileID, MT_theme, MT_themeStyle, MT_fileName, MT_getMudi, MT_getDataMode, MT_getDataModeStr, MT_getDataType, MT_getDataTypeCN, MT_getDataType2, MT_getDataID, MT_getImgStr, MT_getOthers, MT_childMenu, MT_URL, MT_isFastMenu, MT_userState, MT_rank, MT_state) VALUES (1118, 2, 1115, 0, 740, '修改', NULL, 'xcxPhoto.php', 'rev', NULL, NULL, '', NULL, NULL, 0, NULL, NULL, NULL, NULL, 0, 0, 0, 1);");
	$DB->query("INSERT INTO ". OT_dbPref ."menuTree (MT_ID, MT_level, MT_menuID, MT_appID, MT_fileID, MT_theme, MT_themeStyle, MT_fileName, MT_getMudi, MT_getDataMode, MT_getDataModeStr, MT_getDataType, MT_getDataTypeCN, MT_getDataType2, MT_getDataID, MT_getImgStr, MT_getOthers, MT_childMenu, MT_URL, MT_isFastMenu, MT_userState, MT_rank, MT_state) VALUES (1119, 2, 1115, 0, 741, '删除', NULL, 'xcxPhoto.php', 'del', NULL, NULL, '', NULL, NULL, 0, NULL, NULL, NULL, NULL, 0, 0, 0, 1);");
	$DB->query("INSERT INTO ". OT_dbPref ."menuTree (MT_ID, MT_level, MT_menuID, MT_appID, MT_fileID, MT_theme, MT_themeStyle, MT_fileName, MT_getMudi, MT_getDataMode, MT_getDataModeStr, MT_getDataType, MT_getDataTypeCN, MT_getDataType2, MT_getDataID, MT_getImgStr, MT_getOthers, MT_childMenu, MT_URL, MT_isFastMenu, MT_userState, MT_rank, MT_state) VALUES (1120, 1, 1070, 175, 742, '订阅提醒管理', NULL, 'xcxDingyue.php', 'manage', '', '', '', '订阅提醒', '', 0, '', '', NULL, 'xcxDingyue.php?mudi=manage&dataTypeCN=%E8%AE%A2%E9%98%85%E6%8F%90%E9%86%92', 0, 1, 28, 0);");
	$DB->query("INSERT INTO ". OT_dbPref ."menuTree (MT_ID, MT_level, MT_menuID, MT_appID, MT_fileID, MT_theme, MT_themeStyle, MT_fileName, MT_getMudi, MT_getDataMode, MT_getDataModeStr, MT_getDataType, MT_getDataTypeCN, MT_getDataType2, MT_getDataID, MT_getImgStr, MT_getOthers, MT_childMenu, MT_URL, MT_isFastMenu, MT_userState, MT_rank, MT_state) VALUES (1121, 2, 1120, 0, 743, '详细', NULL, 'xcxDingyue.php', 'show', NULL, NULL, '', NULL, NULL, 0, NULL, NULL, NULL, NULL, 0, 0, 0, 1);");
	$DB->query("INSERT INTO ". OT_dbPref ."menuTree (MT_ID, MT_level, MT_menuID, MT_appID, MT_fileID, MT_theme, MT_themeStyle, MT_fileName, MT_getMudi, MT_getDataMode, MT_getDataModeStr, MT_getDataType, MT_getDataTypeCN, MT_getDataType2, MT_getDataID, MT_getImgStr, MT_getOthers, MT_childMenu, MT_URL, MT_isFastMenu, MT_userState, MT_rank, MT_state) VALUES (1122, 2, 1120, 0, 744, '新增', NULL, 'xcxDingyue.php', 'add', NULL, NULL, '', NULL, NULL, 0, NULL, NULL, NULL, NULL, 0, 0, 0, 1);");
	$DB->query("INSERT INTO ". OT_dbPref ."menuTree (MT_ID, MT_level, MT_menuID, MT_appID, MT_fileID, MT_theme, MT_themeStyle, MT_fileName, MT_getMudi, MT_getDataMode, MT_getDataModeStr, MT_getDataType, MT_getDataTypeCN, MT_getDataType2, MT_getDataID, MT_getImgStr, MT_getOthers, MT_childMenu, MT_URL, MT_isFastMenu, MT_userState, MT_rank, MT_state) VALUES (1123, 2, 1120, 0, 745, '修改', NULL, 'xcxDingyue.php', 'rev', NULL, NULL, '', NULL, NULL, 0, NULL, NULL, NULL, NULL, 0, 0, 0, 1);");
	$DB->query("INSERT INTO ". OT_dbPref ."menuTree (MT_ID, MT_level, MT_menuID, MT_appID, MT_fileID, MT_theme, MT_themeStyle, MT_fileName, MT_getMudi, MT_getDataMode, MT_getDataModeStr, MT_getDataType, MT_getDataTypeCN, MT_getDataType2, MT_getDataID, MT_getImgStr, MT_getOthers, MT_childMenu, MT_URL, MT_isFastMenu, MT_userState, MT_rank, MT_state) VALUES (1124, 2, 1120, 0, 746, '删除', NULL, 'xcxDingyue.php', 'del', NULL, NULL, '', NULL, NULL, 0, NULL, NULL, NULL, NULL, 0, 0, 0, 1);");
	$DB->query("INSERT INTO ". OT_dbPref ."menuTree (MT_ID, MT_level, MT_menuID, MT_appID, MT_fileID, MT_theme, MT_themeStyle, MT_fileName, MT_getMudi, MT_getDataMode, MT_getDataModeStr, MT_getDataType, MT_getDataTypeCN, MT_getDataType2, MT_getDataID, MT_getImgStr, MT_getOthers, MT_childMenu, MT_URL, MT_isFastMenu, MT_userState, MT_rank, MT_state) VALUES (1125, 1, 1070, 177, 747, '点餐商品分类', NULL, 'xcxShopType.php', 'manage', '', '', '', '点餐商品分类', '', 0, '', '', NULL, 'xcxShopType.php?mudi=manage&dataTypeCN=%E7%82%B9%E9%A4%90%E5%95%86%E5%93%81%E5%88%86%E7%B1%BB', 0, 1, 80, 1);");
	$DB->query("INSERT INTO ". OT_dbPref ."menuTree (MT_ID, MT_level, MT_menuID, MT_appID, MT_fileID, MT_theme, MT_themeStyle, MT_fileName, MT_getMudi, MT_getDataMode, MT_getDataModeStr, MT_getDataType, MT_getDataTypeCN, MT_getDataType2, MT_getDataID, MT_getImgStr, MT_getOthers, MT_childMenu, MT_URL, MT_isFastMenu, MT_userState, MT_rank, MT_state) VALUES (1126, 2, 1125, 0, 748, '详细', NULL, 'xcxShopType.php', 'show', NULL, NULL, '', NULL, NULL, 0, NULL, NULL, NULL, NULL, 0, 0, 0, 1);");
	$DB->query("INSERT INTO ". OT_dbPref ."menuTree (MT_ID, MT_level, MT_menuID, MT_appID, MT_fileID, MT_theme, MT_themeStyle, MT_fileName, MT_getMudi, MT_getDataMode, MT_getDataModeStr, MT_getDataType, MT_getDataTypeCN, MT_getDataType2, MT_getDataID, MT_getImgStr, MT_getOthers, MT_childMenu, MT_URL, MT_isFastMenu, MT_userState, MT_rank, MT_state) VALUES (1127, 2, 1125, 0, 749, '新增', NULL, 'xcxShopType.php', 'add', NULL, NULL, '', NULL, NULL, 0, NULL, NULL, NULL, NULL, 0, 0, 0, 1);");
	$DB->query("INSERT INTO ". OT_dbPref ."menuTree (MT_ID, MT_level, MT_menuID, MT_appID, MT_fileID, MT_theme, MT_themeStyle, MT_fileName, MT_getMudi, MT_getDataMode, MT_getDataModeStr, MT_getDataType, MT_getDataTypeCN, MT_getDataType2, MT_getDataID, MT_getImgStr, MT_getOthers, MT_childMenu, MT_URL, MT_isFastMenu, MT_userState, MT_rank, MT_state) VALUES (1128, 2, 1125, 0, 750, '修改', NULL, 'xcxShopType.php', 'rev', NULL, NULL, '', NULL, NULL, 0, NULL, NULL, NULL, NULL, 0, 0, 0, 1);");
	$DB->query("INSERT INTO ". OT_dbPref ."menuTree (MT_ID, MT_level, MT_menuID, MT_appID, MT_fileID, MT_theme, MT_themeStyle, MT_fileName, MT_getMudi, MT_getDataMode, MT_getDataModeStr, MT_getDataType, MT_getDataTypeCN, MT_getDataType2, MT_getDataID, MT_getImgStr, MT_getOthers, MT_childMenu, MT_URL, MT_isFastMenu, MT_userState, MT_rank, MT_state) VALUES (1129, 2, 1125, 0, 751, '删除', NULL, 'xcxShopType.php', 'del', NULL, NULL, '', NULL, NULL, 0, NULL, NULL, NULL, NULL, 0, 0, 0, 1);");
	$DB->query("INSERT INTO ". OT_dbPref ."menuTree (MT_ID, MT_level, MT_menuID, MT_appID, MT_fileID, MT_theme, MT_themeStyle, MT_fileName, MT_getMudi, MT_getDataMode, MT_getDataModeStr, MT_getDataType, MT_getDataTypeCN, MT_getDataType2, MT_getDataID, MT_getImgStr, MT_getOthers, MT_childMenu, MT_URL, MT_isFastMenu, MT_userState, MT_rank, MT_state) VALUES (1130, 1, 1070, 177, 752, '点餐商品管理', NULL, 'xcxShopGoods.php', 'manage', '', '', '', '点餐商品', '', 0, '', '', NULL, 'xcxShopGoods.php?mudi=manage&dataTypeCN=%E7%82%B9%E9%A4%90%E5%95%86%E5%93%81', 0, 1, 90, 1);");
	$DB->query("INSERT INTO ". OT_dbPref ."menuTree (MT_ID, MT_level, MT_menuID, MT_appID, MT_fileID, MT_theme, MT_themeStyle, MT_fileName, MT_getMudi, MT_getDataMode, MT_getDataModeStr, MT_getDataType, MT_getDataTypeCN, MT_getDataType2, MT_getDataID, MT_getImgStr, MT_getOthers, MT_childMenu, MT_URL, MT_isFastMenu, MT_userState, MT_rank, MT_state) VALUES (1131, 2, 1130, 0, 753, '详细', NULL, 'xcxShopGoods.php', 'show', NULL, NULL, '', NULL, NULL, 0, NULL, NULL, NULL, NULL, 0, 0, 0, 1);");
	$DB->query("INSERT INTO ". OT_dbPref ."menuTree (MT_ID, MT_level, MT_menuID, MT_appID, MT_fileID, MT_theme, MT_themeStyle, MT_fileName, MT_getMudi, MT_getDataMode, MT_getDataModeStr, MT_getDataType, MT_getDataTypeCN, MT_getDataType2, MT_getDataID, MT_getImgStr, MT_getOthers, MT_childMenu, MT_URL, MT_isFastMenu, MT_userState, MT_rank, MT_state) VALUES (1132, 2, 1130, 0, 754, '新增', NULL, 'xcxShopGoods.php', 'add', NULL, NULL, '', NULL, NULL, 0, NULL, NULL, NULL, NULL, 0, 0, 0, 1);");
	$DB->query("INSERT INTO ". OT_dbPref ."menuTree (MT_ID, MT_level, MT_menuID, MT_appID, MT_fileID, MT_theme, MT_themeStyle, MT_fileName, MT_getMudi, MT_getDataMode, MT_getDataModeStr, MT_getDataType, MT_getDataTypeCN, MT_getDataType2, MT_getDataID, MT_getImgStr, MT_getOthers, MT_childMenu, MT_URL, MT_isFastMenu, MT_userState, MT_rank, MT_state) VALUES (1133, 2, 1130, 0, 755, '修改', NULL, 'xcxShopGoods.php', 'rev', NULL, NULL, '', NULL, NULL, 0, NULL, NULL, NULL, NULL, 0, 0, 0, 1);");
	$DB->query("INSERT INTO ". OT_dbPref ."menuTree (MT_ID, MT_level, MT_menuID, MT_appID, MT_fileID, MT_theme, MT_themeStyle, MT_fileName, MT_getMudi, MT_getDataMode, MT_getDataModeStr, MT_getDataType, MT_getDataTypeCN, MT_getDataType2, MT_getDataID, MT_getImgStr, MT_getOthers, MT_childMenu, MT_URL, MT_isFastMenu, MT_userState, MT_rank, MT_state) VALUES (1134, 2, 1130, 0, 756, '删除', NULL, 'xcxShopGoods.php', 'del', NULL, NULL, '', NULL, NULL, 0, NULL, NULL, NULL, NULL, 0, 0, 0, 1);");
	$DB->query("INSERT INTO ". OT_dbPref ."menuTree (MT_ID, MT_level, MT_menuID, MT_appID, MT_fileID, MT_theme, MT_themeStyle, MT_fileName, MT_getMudi, MT_getDataMode, MT_getDataModeStr, MT_getDataType, MT_getDataTypeCN, MT_getDataType2, MT_getDataID, MT_getImgStr, MT_getOthers, MT_childMenu, MT_URL, MT_isFastMenu, MT_userState, MT_rank, MT_state) VALUES (1135, 1, 1070, 177, 757, '点餐订单管理', NULL, 'xcxShopOrder.php', 'manage', '', '', '', '点餐订单', '', 0, '', '', NULL, 'xcxShopOrder.php?mudi=manage&dataTypeCN=%E7%82%B9%E9%A4%90%E8%AE%A2%E5%8D%95', 0, 1, 100, 1);");
	$DB->query("INSERT INTO ". OT_dbPref ."menuTree (MT_ID, MT_level, MT_menuID, MT_appID, MT_fileID, MT_theme, MT_themeStyle, MT_fileName, MT_getMudi, MT_getDataMode, MT_getDataModeStr, MT_getDataType, MT_getDataTypeCN, MT_getDataType2, MT_getDataID, MT_getImgStr, MT_getOthers, MT_childMenu, MT_URL, MT_isFastMenu, MT_userState, MT_rank, MT_state) VALUES (1136, 2, 1135, 0, 758, '详细', NULL, 'xcxShopOrder.php', 'show', NULL, NULL, '', NULL, NULL, 0, NULL, NULL, NULL, NULL, 0, 0, 0, 1);");
	$DB->query("INSERT INTO ". OT_dbPref ."menuTree (MT_ID, MT_level, MT_menuID, MT_appID, MT_fileID, MT_theme, MT_themeStyle, MT_fileName, MT_getMudi, MT_getDataMode, MT_getDataModeStr, MT_getDataType, MT_getDataTypeCN, MT_getDataType2, MT_getDataID, MT_getImgStr, MT_getOthers, MT_childMenu, MT_URL, MT_isFastMenu, MT_userState, MT_rank, MT_state) VALUES (1137, 2, 1135, 0, 759, '新增', NULL, 'xcxShopOrder.php', 'add', NULL, NULL, '', NULL, NULL, 0, NULL, NULL, NULL, NULL, 0, 0, 0, 1);");
	$DB->query("INSERT INTO ". OT_dbPref ."menuTree (MT_ID, MT_level, MT_menuID, MT_appID, MT_fileID, MT_theme, MT_themeStyle, MT_fileName, MT_getMudi, MT_getDataMode, MT_getDataModeStr, MT_getDataType, MT_getDataTypeCN, MT_getDataType2, MT_getDataID, MT_getImgStr, MT_getOthers, MT_childMenu, MT_URL, MT_isFastMenu, MT_userState, MT_rank, MT_state) VALUES (1138, 2, 1135, 0, 760, '修改', NULL, 'xcxShopOrder.php', 'rev', NULL, NULL, '', NULL, NULL, 0, NULL, NULL, NULL, NULL, 0, 0, 0, 1);");
	$DB->query("INSERT INTO ". OT_dbPref ."menuTree (MT_ID, MT_level, MT_menuID, MT_appID, MT_fileID, MT_theme, MT_themeStyle, MT_fileName, MT_getMudi, MT_getDataMode, MT_getDataModeStr, MT_getDataType, MT_getDataTypeCN, MT_getDataType2, MT_getDataID, MT_getImgStr, MT_getOthers, MT_childMenu, MT_URL, MT_isFastMenu, MT_userState, MT_rank, MT_state) VALUES (1139, 2, 1135, 0, 761, '删除', NULL, 'xcxShopOrder.php', 'del', NULL, NULL, '', NULL, NULL, 0, NULL, NULL, NULL, NULL, 0, 0, 0, 1);");
	$DB->query("INSERT INTO ". OT_dbPref ."menuTree (MT_ID, MT_level, MT_menuID, MT_appID, MT_fileID, MT_theme, MT_themeStyle, MT_fileName, MT_getMudi, MT_getDataMode, MT_getDataModeStr, MT_getDataType, MT_getDataTypeCN, MT_getDataType2, MT_getDataID, MT_getImgStr, MT_getOthers, MT_childMenu, MT_URL, MT_isFastMenu, MT_userState, MT_rank, MT_state) VALUES (1140, 1, 1070, 175, 762, '药品管理', NULL, 'xcxYaopin.php', 'manage', '', '', '', '药品', '', 0, '', '', NULL, 'xcxYaopin.php?mudi=manage&dataTypeCN=%E8%8D%AF%E5%93%81', 0, 1, 32, 0);");
	$DB->query("INSERT INTO ". OT_dbPref ."menuTree (MT_ID, MT_level, MT_menuID, MT_appID, MT_fileID, MT_theme, MT_themeStyle, MT_fileName, MT_getMudi, MT_getDataMode, MT_getDataModeStr, MT_getDataType, MT_getDataTypeCN, MT_getDataType2, MT_getDataID, MT_getImgStr, MT_getOthers, MT_childMenu, MT_URL, MT_isFastMenu, MT_userState, MT_rank, MT_state) VALUES (1141, 2, 1140, 0, 763, '详细', NULL, 'xcxYaopin.php', 'show', NULL, NULL, '', NULL, NULL, 0, NULL, NULL, NULL, NULL, 0, 0, 0, 1);");
	$DB->query("INSERT INTO ". OT_dbPref ."menuTree (MT_ID, MT_level, MT_menuID, MT_appID, MT_fileID, MT_theme, MT_themeStyle, MT_fileName, MT_getMudi, MT_getDataMode, MT_getDataModeStr, MT_getDataType, MT_getDataTypeCN, MT_getDataType2, MT_getDataID, MT_getImgStr, MT_getOthers, MT_childMenu, MT_URL, MT_isFastMenu, MT_userState, MT_rank, MT_state) VALUES (1142, 2, 1140, 0, 764, '新增', NULL, 'xcxYaopin.php', 'add', NULL, NULL, '', NULL, NULL, 0, NULL, NULL, NULL, NULL, 0, 0, 0, 1);");
	$DB->query("INSERT INTO ". OT_dbPref ."menuTree (MT_ID, MT_level, MT_menuID, MT_appID, MT_fileID, MT_theme, MT_themeStyle, MT_fileName, MT_getMudi, MT_getDataMode, MT_getDataModeStr, MT_getDataType, MT_getDataTypeCN, MT_getDataType2, MT_getDataID, MT_getImgStr, MT_getOthers, MT_childMenu, MT_URL, MT_isFastMenu, MT_userState, MT_rank, MT_state) VALUES (1143, 2, 1140, 0, 765, '修改', NULL, 'xcxYaopin.php', 'rev', NULL, NULL, '', NULL, NULL, 0, NULL, NULL, NULL, NULL, 0, 0, 0, 1);");
	$DB->query("INSERT INTO ". OT_dbPref ."menuTree (MT_ID, MT_level, MT_menuID, MT_appID, MT_fileID, MT_theme, MT_themeStyle, MT_fileName, MT_getMudi, MT_getDataMode, MT_getDataModeStr, MT_getDataType, MT_getDataTypeCN, MT_getDataType2, MT_getDataID, MT_getImgStr, MT_getOthers, MT_childMenu, MT_URL, MT_isFastMenu, MT_userState, MT_rank, MT_state) VALUES (1144, 2, 1140, 0, 766, '删除', NULL, 'xcxYaopin.php', 'del', NULL, NULL, '', NULL, NULL, 0, NULL, NULL, NULL, NULL, 0, 0, 0, 1);");
	$DB->query("INSERT INTO ". OT_dbPref ."menuTree (MT_ID, MT_level, MT_menuID, MT_appID, MT_fileID, MT_theme, MT_themeStyle, MT_fileName, MT_getMudi, MT_getDataMode, MT_getDataModeStr, MT_getDataType, MT_getDataTypeCN, MT_getDataType2, MT_getDataID, MT_getImgStr, MT_getOthers, MT_childMenu, MT_URL, MT_isFastMenu, MT_userState, MT_rank, MT_state) VALUES (1145, 1, 1070, 179, 767, '广告奖励参数', NULL, 'xcxAdSys.php', 'infoSet', '', '', '', '广告奖励参数', '', 0, '', '', NULL, 'xcxAdSys.php?mudi=infoSet&dataTypeCN=%E5%B9%BF%E5%91%8A%E5%A5%96%E5%8A%B1%E5%8F%82%E6%95%B0', 0, 1, 110, 1);");
	$DB->query("INSERT INTO ". OT_dbPref ."menuTree (MT_ID, MT_level, MT_menuID, MT_appID, MT_fileID, MT_theme, MT_themeStyle, MT_fileName, MT_getMudi, MT_getDataMode, MT_getDataModeStr, MT_getDataType, MT_getDataTypeCN, MT_getDataType2, MT_getDataID, MT_getImgStr, MT_getOthers, MT_childMenu, MT_URL, MT_isFastMenu, MT_userState, MT_rank, MT_state) VALUES (1146, 1, 1070, 179, 768, '广告奖励关键词', NULL, 'xcxAdWord.php', 'manage', '', '', '', '广告奖励关键词', '', 0, '', '', NULL, 'xcxAdWord.php?mudi=manage&dataTypeCN=%E5%B9%BF%E5%91%8A%E5%A5%96%E5%8A%B1%E5%85%B3%E9%94%AE%E8%AF%8D', 0, 1, 120, 1);");
	$DB->query("INSERT INTO ". OT_dbPref ."menuTree (MT_ID, MT_level, MT_menuID, MT_appID, MT_fileID, MT_theme, MT_themeStyle, MT_fileName, MT_getMudi, MT_getDataMode, MT_getDataModeStr, MT_getDataType, MT_getDataTypeCN, MT_getDataType2, MT_getDataID, MT_getImgStr, MT_getOthers, MT_childMenu, MT_URL, MT_isFastMenu, MT_userState, MT_rank, MT_state) VALUES (1147, 2, 1146, 0, 769, '详细', NULL, 'xcxAdWord.php', 'show', NULL, NULL, '', NULL, NULL, 0, NULL, NULL, NULL, NULL, 0, 0, 0, 1);");
	$DB->query("INSERT INTO ". OT_dbPref ."menuTree (MT_ID, MT_level, MT_menuID, MT_appID, MT_fileID, MT_theme, MT_themeStyle, MT_fileName, MT_getMudi, MT_getDataMode, MT_getDataModeStr, MT_getDataType, MT_getDataTypeCN, MT_getDataType2, MT_getDataID, MT_getImgStr, MT_getOthers, MT_childMenu, MT_URL, MT_isFastMenu, MT_userState, MT_rank, MT_state) VALUES (1148, 2, 1146, 0, 770, '新增', NULL, 'xcxAdWord.php', 'add', NULL, NULL, '', NULL, NULL, 0, NULL, NULL, NULL, NULL, 0, 0, 0, 1);");
	$DB->query("INSERT INTO ". OT_dbPref ."menuTree (MT_ID, MT_level, MT_menuID, MT_appID, MT_fileID, MT_theme, MT_themeStyle, MT_fileName, MT_getMudi, MT_getDataMode, MT_getDataModeStr, MT_getDataType, MT_getDataTypeCN, MT_getDataType2, MT_getDataID, MT_getImgStr, MT_getOthers, MT_childMenu, MT_URL, MT_isFastMenu, MT_userState, MT_rank, MT_state) VALUES (1149, 2, 1146, 0, 771, '修改', NULL, 'xcxAdWord.php', 'rev', NULL, NULL, '', NULL, NULL, 0, NULL, NULL, NULL, NULL, 0, 0, 0, 1);");
	$DB->query("INSERT INTO ". OT_dbPref ."menuTree (MT_ID, MT_level, MT_menuID, MT_appID, MT_fileID, MT_theme, MT_themeStyle, MT_fileName, MT_getMudi, MT_getDataMode, MT_getDataModeStr, MT_getDataType, MT_getDataTypeCN, MT_getDataType2, MT_getDataID, MT_getImgStr, MT_getOthers, MT_childMenu, MT_URL, MT_isFastMenu, MT_userState, MT_rank, MT_state) VALUES (1150, 2, 1146, 0, 772, '删除', NULL, 'xcxAdWord.php', 'del', NULL, NULL, '', NULL, NULL, 0, NULL, NULL, NULL, NULL, 0, 0, 0, 1);");
	$DB->query("INSERT INTO ". OT_dbPref ."menuTree (MT_ID, MT_level, MT_menuID, MT_appID, MT_fileID, MT_theme, MT_themeStyle, MT_fileName, MT_getMudi, MT_getDataMode, MT_getDataModeStr, MT_getDataType, MT_getDataTypeCN, MT_getDataType2, MT_getDataID, MT_getImgStr, MT_getOthers, MT_childMenu, MT_URL, MT_isFastMenu, MT_userState, MT_rank, MT_state) VALUES (1151, 1, 1070, 179, 773, '广告奖励订单', NULL, 'xcxAdOrder.php', 'manage', '', '', '', '广告奖励订单', '', 0, '', '', NULL, 'xcxAdOrder.php?mudi=manage&dataTypeCN=%E5%B9%BF%E5%91%8A%E5%A5%96%E5%8A%B1%E8%AE%A2%E5%8D%95', 0, 1, 130, 1);");
	$DB->query("INSERT INTO ". OT_dbPref ."menuTree (MT_ID, MT_level, MT_menuID, MT_appID, MT_fileID, MT_theme, MT_themeStyle, MT_fileName, MT_getMudi, MT_getDataMode, MT_getDataModeStr, MT_getDataType, MT_getDataTypeCN, MT_getDataType2, MT_getDataID, MT_getImgStr, MT_getOthers, MT_childMenu, MT_URL, MT_isFastMenu, MT_userState, MT_rank, MT_state) VALUES (1152, 2, 1151, 0, 774, '详细', NULL, 'xcxAdOrder.php', 'show', NULL, NULL, '', NULL, NULL, 0, NULL, NULL, NULL, NULL, 0, 0, 0, 1);");
	$DB->query("INSERT INTO ". OT_dbPref ."menuTree (MT_ID, MT_level, MT_menuID, MT_appID, MT_fileID, MT_theme, MT_themeStyle, MT_fileName, MT_getMudi, MT_getDataMode, MT_getDataModeStr, MT_getDataType, MT_getDataTypeCN, MT_getDataType2, MT_getDataID, MT_getImgStr, MT_getOthers, MT_childMenu, MT_URL, MT_isFastMenu, MT_userState, MT_rank, MT_state) VALUES (1153, 2, 1151, 0, 775, '新增', NULL, 'xcxAdOrder.php', 'add', NULL, NULL, '', NULL, NULL, 0, NULL, NULL, NULL, NULL, 0, 0, 0, 1);");
	$DB->query("INSERT INTO ". OT_dbPref ."menuTree (MT_ID, MT_level, MT_menuID, MT_appID, MT_fileID, MT_theme, MT_themeStyle, MT_fileName, MT_getMudi, MT_getDataMode, MT_getDataModeStr, MT_getDataType, MT_getDataTypeCN, MT_getDataType2, MT_getDataID, MT_getImgStr, MT_getOthers, MT_childMenu, MT_URL, MT_isFastMenu, MT_userState, MT_rank, MT_state) VALUES (1154, 2, 1151, 0, 776, '修改', NULL, 'xcxAdOrder.php', 'rev', NULL, NULL, '', NULL, NULL, 0, NULL, NULL, NULL, NULL, 0, 0, 0, 1);");
	$DB->query("INSERT INTO ". OT_dbPref ."menuTree (MT_ID, MT_level, MT_menuID, MT_appID, MT_fileID, MT_theme, MT_themeStyle, MT_fileName, MT_getMudi, MT_getDataMode, MT_getDataModeStr, MT_getDataType, MT_getDataTypeCN, MT_getDataType2, MT_getDataID, MT_getImgStr, MT_getOthers, MT_childMenu, MT_URL, MT_isFastMenu, MT_userState, MT_rank, MT_state) VALUES (1155, 2, 1151, 0, 777, '删除', NULL, 'xcxAdOrder.php', 'del', NULL, NULL, '', NULL, NULL, 0, NULL, NULL, NULL, NULL, 0, 0, 0, 1);");

	$DB->query("UPDATE ". OT_dbPref ."menuFile SET MF_level = 1, MF_fileID = 0, MF_appID = 175, MF_theme = '小程序API账号', MF_fileName = 'xcxApiUsers.php', MF_getMudi = 'manage', MF_example = 'xcxApiUsers.php?mudi=manage&dataTypeCN=小程序API账号', MF_rank = 6030, MF_note = '' WHERE MF_ID = 727;");
	$DB->query("UPDATE ". OT_dbPref ."menuTree SET MT_theme = '小程序API账号',MT_URL='xcxApiUsers.php?mudi=manage&dataTypeCN=". urlencode('小程序API账号') ."' WHERE MT_ID=1100;");
	$DB->query("UPDATE ". OT_dbPref ."menuTree SET MT_state = 0 WHERE MT_ID in (1071,1077,1097,1110,1115,1120,1140);");


	$DB->query("INSERT INTO ". OT_dbPref ."menuFile (MF_ID, MF_level, MF_fileID, MF_appID, MF_theme, MF_fileName, MF_getMudi, MF_example, MF_rank, MF_note) VALUES (778, 1, 0, 175, '保险管理', 'xcxBaoxian.php', 'manage', 'xcxBaoxian.php?mudi=manage&dataTypeCN=保险', 6065, '');");
	$DB->query("INSERT INTO ". OT_dbPref ."menuFile (MF_ID, MF_level, MF_fileID, MF_appID, MF_theme, MF_fileName, MF_getMudi, MF_example, MF_rank, MF_note) VALUES (779, 10, 778, 0, '详细', 'xcxBaoxian.php', 'show', '', 6066, '');");
	$DB->query("INSERT INTO ". OT_dbPref ."menuFile (MF_ID, MF_level, MF_fileID, MF_appID, MF_theme, MF_fileName, MF_getMudi, MF_example, MF_rank, MF_note) VALUES (780, 10, 778, 0, '新增', 'xcxBaoxian.php', 'add', '', 6067, '');");
	$DB->query("INSERT INTO ". OT_dbPref ."menuFile (MF_ID, MF_level, MF_fileID, MF_appID, MF_theme, MF_fileName, MF_getMudi, MF_example, MF_rank, MF_note) VALUES (781, 10, 778, 0, '修改', 'xcxBaoxian.php', 'rev', '', 6068, '');");
	$DB->query("INSERT INTO ". OT_dbPref ."menuFile (MF_ID, MF_level, MF_fileID, MF_appID, MF_theme, MF_fileName, MF_getMudi, MF_example, MF_rank, MF_note) VALUES (782, 10, 778, 0, '删除', 'xcxBaoxian.php', 'del', '', 6069, '');");
	$DB->query("INSERT INTO ". OT_dbPref ."menuFile (MF_ID, MF_level, MF_fileID, MF_appID, MF_theme, MF_fileName, MF_getMudi, MF_example, MF_rank, MF_note) VALUES (783, 1, 0, 175, '病历管理', 'xcxBingli.php', 'manage', 'xcxBingli.php?mudi=manage&dataTypeCN=病历', 6075, '');");
	$DB->query("INSERT INTO ". OT_dbPref ."menuFile (MF_ID, MF_level, MF_fileID, MF_appID, MF_theme, MF_fileName, MF_getMudi, MF_example, MF_rank, MF_note) VALUES (784, 10, 783, 0, '详细', 'xcxBingli.php', 'show', '', 6076, '');");
	$DB->query("INSERT INTO ". OT_dbPref ."menuFile (MF_ID, MF_level, MF_fileID, MF_appID, MF_theme, MF_fileName, MF_getMudi, MF_example, MF_rank, MF_note) VALUES (785, 10, 783, 0, '新增', 'xcxBingli.php', 'add', '', 6077, '');");
	$DB->query("INSERT INTO ". OT_dbPref ."menuFile (MF_ID, MF_level, MF_fileID, MF_appID, MF_theme, MF_fileName, MF_getMudi, MF_example, MF_rank, MF_note) VALUES (786, 10, 783, 0, '修改', 'xcxBingli.php', 'rev', '', 6078, '');");
	$DB->query("INSERT INTO ". OT_dbPref ."menuFile (MF_ID, MF_level, MF_fileID, MF_appID, MF_theme, MF_fileName, MF_getMudi, MF_example, MF_rank, MF_note) VALUES (787, 10, 783, 0, '删除', 'xcxBingli.php', 'del', '', 6079, '');");
	$DB->query("INSERT INTO ". OT_dbPref ."menuFile (MF_ID, MF_level, MF_fileID, MF_appID, MF_theme, MF_fileName, MF_getMudi, MF_example, MF_rank, MF_note) VALUES (788, 1, 0, 180, '天天测量', 'xcxLifeDay.php', 'manage', 'xcxLifeDay.php?mudi=manage&dataTypeCN=天天测量', 6500, '');");
	$DB->query("INSERT INTO ". OT_dbPref ."menuFile (MF_ID, MF_level, MF_fileID, MF_appID, MF_theme, MF_fileName, MF_getMudi, MF_example, MF_rank, MF_note) VALUES (789, 10, 788, 0, '详细', 'xcxLifeDay.php', 'show', '', 6501, '');");
	$DB->query("INSERT INTO ". OT_dbPref ."menuFile (MF_ID, MF_level, MF_fileID, MF_appID, MF_theme, MF_fileName, MF_getMudi, MF_example, MF_rank, MF_note) VALUES (790, 10, 788, 0, '新增', 'xcxLifeDay.php', 'add', '', 6502, '');");
	$DB->query("INSERT INTO ". OT_dbPref ."menuFile (MF_ID, MF_level, MF_fileID, MF_appID, MF_theme, MF_fileName, MF_getMudi, MF_example, MF_rank, MF_note) VALUES (791, 10, 788, 0, '修改', 'xcxLifeDay.php', 'rev', '', 6503, '');");
	$DB->query("INSERT INTO ". OT_dbPref ."menuFile (MF_ID, MF_level, MF_fileID, MF_appID, MF_theme, MF_fileName, MF_getMudi, MF_example, MF_rank, MF_note) VALUES (792, 10, 788, 0, '删除', 'xcxLifeDay.php', 'del', '', 6504, '');");
	$DB->query("INSERT INTO ". OT_dbPref ."menuFile (MF_ID, MF_level, MF_fileID, MF_appID, MF_theme, MF_fileName, MF_getMudi, MF_example, MF_rank, MF_note) VALUES (793, 1, 0, 180, '生活记录', 'xcxLifeRecord.php', 'manage', 'xcxLifeRecord.php?mudi=manage&dataTypeCN=生活记录', 6510, '');");
	$DB->query("INSERT INTO ". OT_dbPref ."menuFile (MF_ID, MF_level, MF_fileID, MF_appID, MF_theme, MF_fileName, MF_getMudi, MF_example, MF_rank, MF_note) VALUES (794, 10, 793, 0, '详细', 'xcxLifeRecord.php', 'show', '', 6511, '');");
	$DB->query("INSERT INTO ". OT_dbPref ."menuFile (MF_ID, MF_level, MF_fileID, MF_appID, MF_theme, MF_fileName, MF_getMudi, MF_example, MF_rank, MF_note) VALUES (795, 10, 793, 0, '新增', 'xcxLifeRecord.php', 'add', '', 6512, '');");
	$DB->query("INSERT INTO ". OT_dbPref ."menuFile (MF_ID, MF_level, MF_fileID, MF_appID, MF_theme, MF_fileName, MF_getMudi, MF_example, MF_rank, MF_note) VALUES (796, 10, 793, 0, '修改', 'xcxLifeRecord.php', 'rev', '', 6513, '');");
	$DB->query("INSERT INTO ". OT_dbPref ."menuFile (MF_ID, MF_level, MF_fileID, MF_appID, MF_theme, MF_fileName, MF_getMudi, MF_example, MF_rank, MF_note) VALUES (797, 10, 793, 0, '删除', 'xcxLifeRecord.php', 'del', '', 6514, '');");
	$DB->query("INSERT INTO ". OT_dbPref ."menuFile (MF_ID, MF_level, MF_fileID, MF_appID, MF_theme, MF_fileName, MF_getMudi, MF_example, MF_rank, MF_note) VALUES (798, 1, 0, 180, '成员管理', 'xcxLifeMember.php', 'manage', 'xcxLifeMember.php?mudi=manage&dataTypeCN=成员', 6520, '');");
	$DB->query("INSERT INTO ". OT_dbPref ."menuFile (MF_ID, MF_level, MF_fileID, MF_appID, MF_theme, MF_fileName, MF_getMudi, MF_example, MF_rank, MF_note) VALUES (799, 10, 798, 0, '详细', 'xcxLifeMember.php', 'show', '', 6521, '');");
	$DB->query("INSERT INTO ". OT_dbPref ."menuFile (MF_ID, MF_level, MF_fileID, MF_appID, MF_theme, MF_fileName, MF_getMudi, MF_example, MF_rank, MF_note) VALUES (800, 10, 798, 0, '新增', 'xcxLifeMember.php', 'add', '', 6522, '');");
	$DB->query("INSERT INTO ". OT_dbPref ."menuFile (MF_ID, MF_level, MF_fileID, MF_appID, MF_theme, MF_fileName, MF_getMudi, MF_example, MF_rank, MF_note) VALUES (801, 10, 798, 0, '修改', 'xcxLifeMember.php', 'rev', '', 6523, '');");
	$DB->query("INSERT INTO ". OT_dbPref ."menuFile (MF_ID, MF_level, MF_fileID, MF_appID, MF_theme, MF_fileName, MF_getMudi, MF_example, MF_rank, MF_note) VALUES (802, 10, 798, 0, '删除', 'xcxLifeMember.php', 'del', '', 6524, '');");
	$DB->query("INSERT INTO ". OT_dbPref ."menuFile (MF_ID, MF_level, MF_fileID, MF_appID, MF_theme, MF_fileName, MF_getMudi, MF_example, MF_rank, MF_note) VALUES (803, 0, 0, 178, '收款码领奖励参数', 'payCodeSys.php', 'infoSet', 'payCodeSys.php?mudi=infoSet&dataTypeCN=收款码领奖励参数', 1760, '');");
	$DB->query("INSERT INTO ". OT_dbPref ."menuFile (MF_ID, MF_level, MF_fileID, MF_appID, MF_theme, MF_fileName, MF_getMudi, MF_example, MF_rank, MF_note) VALUES (804, 1, 0, 178, '收款码领奖励类型', 'payCodeList.php', 'manage', 'payCodeList.php?mudi=manage&dataTypeCN=收款码领奖励类型', 1761, '');");
	$DB->query("INSERT INTO ". OT_dbPref ."menuFile (MF_ID, MF_level, MF_fileID, MF_appID, MF_theme, MF_fileName, MF_getMudi, MF_example, MF_rank, MF_note) VALUES (805, 10, 804, 0, '详细', 'payCodeList.php', 'show', '', 1762, '');");
	$DB->query("INSERT INTO ". OT_dbPref ."menuFile (MF_ID, MF_level, MF_fileID, MF_appID, MF_theme, MF_fileName, MF_getMudi, MF_example, MF_rank, MF_note) VALUES (806, 10, 804, 0, '新增', 'payCodeList.php', 'add', '', 1763, '');");
	$DB->query("INSERT INTO ". OT_dbPref ."menuFile (MF_ID, MF_level, MF_fileID, MF_appID, MF_theme, MF_fileName, MF_getMudi, MF_example, MF_rank, MF_note) VALUES (807, 10, 804, 0, '修改', 'payCodeList.php', 'rev', '', 1764, '');");
	$DB->query("INSERT INTO ". OT_dbPref ."menuFile (MF_ID, MF_level, MF_fileID, MF_appID, MF_theme, MF_fileName, MF_getMudi, MF_example, MF_rank, MF_note) VALUES (808, 10, 804, 0, '删除', 'payCodeList.php', 'del', '', 1765, '');");
	$DB->query("INSERT INTO ". OT_dbPref ."menuFile (MF_ID, MF_level, MF_fileID, MF_appID, MF_theme, MF_fileName, MF_getMudi, MF_example, MF_rank, MF_note) VALUES (809, 1, 0, 178, '收款码领奖励管理', 'payCodeReward.php', 'manage', 'payCodeReward.php?mudi=manage&dataTypeCN=收款码领奖励', 1766, '');");
	$DB->query("INSERT INTO ". OT_dbPref ."menuFile (MF_ID, MF_level, MF_fileID, MF_appID, MF_theme, MF_fileName, MF_getMudi, MF_example, MF_rank, MF_note) VALUES (810, 10, 809, 0, '详细', 'payCodeReward.php', 'show', '', 1767, '');");
	$DB->query("INSERT INTO ". OT_dbPref ."menuFile (MF_ID, MF_level, MF_fileID, MF_appID, MF_theme, MF_fileName, MF_getMudi, MF_example, MF_rank, MF_note) VALUES (811, 10, 809, 0, '新增', 'payCodeReward.php', 'add', '', 1768, '');");
	$DB->query("INSERT INTO ". OT_dbPref ."menuFile (MF_ID, MF_level, MF_fileID, MF_appID, MF_theme, MF_fileName, MF_getMudi, MF_example, MF_rank, MF_note) VALUES (812, 10, 809, 0, '修改', 'payCodeReward.php', 'rev', '', 1769, '');");
	$DB->query("INSERT INTO ". OT_dbPref ."menuFile (MF_ID, MF_level, MF_fileID, MF_appID, MF_theme, MF_fileName, MF_getMudi, MF_example, MF_rank, MF_note) VALUES (813, 10, 809, 0, '删除', 'payCodeReward.php', 'del', '', 1770, '');");

	$DB->query("INSERT INTO ". OT_dbPref ."menuTree (MT_ID, MT_level, MT_menuID, MT_appID, MT_fileID, MT_theme, MT_themeStyle, MT_fileName, MT_getMudi, MT_getDataMode, MT_getDataModeStr, MT_getDataType, MT_getDataTypeCN, MT_getDataType2, MT_getDataID, MT_getImgStr, MT_getOthers, MT_childMenu, MT_URL, MT_isFastMenu, MT_userState, MT_rank, MT_state) VALUES (1156, 1, 1070, 175, 778, '保险管理', '', 'xcxBaoxian.php', 'manage', '', '', '', '保险', '', 0, '', '', '', 'xcxBaoxian.php?mudi=manage&dataTypeCN=%E4%BF%9D%E9%99%A9', 0, 1, 33, 1);");
	$DB->query("INSERT INTO ". OT_dbPref ."menuTree (MT_ID, MT_level, MT_menuID, MT_appID, MT_fileID, MT_theme, MT_themeStyle, MT_fileName, MT_getMudi, MT_getDataMode, MT_getDataModeStr, MT_getDataType, MT_getDataTypeCN, MT_getDataType2, MT_getDataID, MT_getImgStr, MT_getOthers, MT_childMenu, MT_URL, MT_isFastMenu, MT_userState, MT_rank, MT_state) VALUES (1157, 2, 1156, 0, 779, '详细', '', 'xcxBaoxian.php', 'show', '', '', '', '', '', 0, '', '', '', NULL, 0, 0, 0, 1);");
	$DB->query("INSERT INTO ". OT_dbPref ."menuTree (MT_ID, MT_level, MT_menuID, MT_appID, MT_fileID, MT_theme, MT_themeStyle, MT_fileName, MT_getMudi, MT_getDataMode, MT_getDataModeStr, MT_getDataType, MT_getDataTypeCN, MT_getDataType2, MT_getDataID, MT_getImgStr, MT_getOthers, MT_childMenu, MT_URL, MT_isFastMenu, MT_userState, MT_rank, MT_state) VALUES (1158, 2, 1156, 0, 780, '新增', '', 'xcxBaoxian.php', 'add', '', '', '', '', '', 0, '', '', '', NULL, 0, 0, 0, 1);");
	$DB->query("INSERT INTO ". OT_dbPref ."menuTree (MT_ID, MT_level, MT_menuID, MT_appID, MT_fileID, MT_theme, MT_themeStyle, MT_fileName, MT_getMudi, MT_getDataMode, MT_getDataModeStr, MT_getDataType, MT_getDataTypeCN, MT_getDataType2, MT_getDataID, MT_getImgStr, MT_getOthers, MT_childMenu, MT_URL, MT_isFastMenu, MT_userState, MT_rank, MT_state) VALUES (1159, 2, 1156, 0, 781, '修改', '', 'xcxBaoxian.php', 'rev', '', '', '', '', '', 0, '', '', '', NULL, 0, 0, 0, 1);");
	$DB->query("INSERT INTO ". OT_dbPref ."menuTree (MT_ID, MT_level, MT_menuID, MT_appID, MT_fileID, MT_theme, MT_themeStyle, MT_fileName, MT_getMudi, MT_getDataMode, MT_getDataModeStr, MT_getDataType, MT_getDataTypeCN, MT_getDataType2, MT_getDataID, MT_getImgStr, MT_getOthers, MT_childMenu, MT_URL, MT_isFastMenu, MT_userState, MT_rank, MT_state) VALUES (1160, 2, 1156, 0, 782, '删除', '', 'xcxBaoxian.php', 'del', '', '', '', '', '', 0, '', '', '', NULL, 0, 0, 0, 1);");
	$DB->query("INSERT INTO ". OT_dbPref ."menuTree (MT_ID, MT_level, MT_menuID, MT_appID, MT_fileID, MT_theme, MT_themeStyle, MT_fileName, MT_getMudi, MT_getDataMode, MT_getDataModeStr, MT_getDataType, MT_getDataTypeCN, MT_getDataType2, MT_getDataID, MT_getImgStr, MT_getOthers, MT_childMenu, MT_URL, MT_isFastMenu, MT_userState, MT_rank, MT_state) VALUES (1161, 1, 1070, 175, 783, '病历管理', '', 'xcxBingli.php', 'manage', '', '', '', '病历', '', 0, '', '', '', 'xcxBingli.php?mudi=manage&dataTypeCN=%E7%97%85%E5%8E%86', 0, 1, 35, 1);");
	$DB->query("INSERT INTO ". OT_dbPref ."menuTree (MT_ID, MT_level, MT_menuID, MT_appID, MT_fileID, MT_theme, MT_themeStyle, MT_fileName, MT_getMudi, MT_getDataMode, MT_getDataModeStr, MT_getDataType, MT_getDataTypeCN, MT_getDataType2, MT_getDataID, MT_getImgStr, MT_getOthers, MT_childMenu, MT_URL, MT_isFastMenu, MT_userState, MT_rank, MT_state) VALUES (1162, 2, 1161, 0, 784, '详细', '', 'xcxBingli.php', 'show', '', '', '', '', '', 0, '', '', '', NULL, 0, 0, 0, 1);");
	$DB->query("INSERT INTO ". OT_dbPref ."menuTree (MT_ID, MT_level, MT_menuID, MT_appID, MT_fileID, MT_theme, MT_themeStyle, MT_fileName, MT_getMudi, MT_getDataMode, MT_getDataModeStr, MT_getDataType, MT_getDataTypeCN, MT_getDataType2, MT_getDataID, MT_getImgStr, MT_getOthers, MT_childMenu, MT_URL, MT_isFastMenu, MT_userState, MT_rank, MT_state) VALUES (1163, 2, 1161, 0, 785, '新增', '', 'xcxBingli.php', 'add', '', '', '', '', '', 0, '', '', '', NULL, 0, 0, 0, 1);");
	$DB->query("INSERT INTO ". OT_dbPref ."menuTree (MT_ID, MT_level, MT_menuID, MT_appID, MT_fileID, MT_theme, MT_themeStyle, MT_fileName, MT_getMudi, MT_getDataMode, MT_getDataModeStr, MT_getDataType, MT_getDataTypeCN, MT_getDataType2, MT_getDataID, MT_getImgStr, MT_getOthers, MT_childMenu, MT_URL, MT_isFastMenu, MT_userState, MT_rank, MT_state) VALUES (1164, 2, 1161, 0, 786, '修改', '', 'xcxBingli.php', 'rev', '', '', '', '', '', 0, '', '', '', NULL, 0, 0, 0, 1);");
	$DB->query("INSERT INTO ". OT_dbPref ."menuTree (MT_ID, MT_level, MT_menuID, MT_appID, MT_fileID, MT_theme, MT_themeStyle, MT_fileName, MT_getMudi, MT_getDataMode, MT_getDataModeStr, MT_getDataType, MT_getDataTypeCN, MT_getDataType2, MT_getDataID, MT_getImgStr, MT_getOthers, MT_childMenu, MT_URL, MT_isFastMenu, MT_userState, MT_rank, MT_state) VALUES (1165, 2, 1161, 0, 787, '删除', '', 'xcxBingli.php', 'del', '', '', '', '', '', 0, '', '', '', NULL, 0, 0, 0, 1);");
	$DB->query("INSERT INTO ". OT_dbPref ."menuTree (MT_ID, MT_level, MT_menuID, MT_appID, MT_fileID, MT_theme, MT_themeStyle, MT_fileName, MT_getMudi, MT_getDataMode, MT_getDataModeStr, MT_getDataType, MT_getDataTypeCN, MT_getDataType2, MT_getDataID, MT_getImgStr, MT_getOthers, MT_childMenu, MT_URL, MT_isFastMenu, MT_userState, MT_rank, MT_state) VALUES (1166, 1, 1070, 180, 788, '天天测量', '', 'xcxLifeDay.php', 'manage', '', '', '', '天天测量', '', 0, '', '', '', 'xcxLifeDay.php?mudi=manage&dataTypeCN=%E5%A4%A9%E5%A4%A9%E6%B5%8B%E9%87%8F', 0, 1, 140, 1);");
	$DB->query("INSERT INTO ". OT_dbPref ."menuTree (MT_ID, MT_level, MT_menuID, MT_appID, MT_fileID, MT_theme, MT_themeStyle, MT_fileName, MT_getMudi, MT_getDataMode, MT_getDataModeStr, MT_getDataType, MT_getDataTypeCN, MT_getDataType2, MT_getDataID, MT_getImgStr, MT_getOthers, MT_childMenu, MT_URL, MT_isFastMenu, MT_userState, MT_rank, MT_state) VALUES (1167, 2, 1166, 0, 789, '详细', '', 'xcxLifeDay.php', 'show', '', '', '', '', '', 0, '', '', '', NULL, 0, 0, 0, 1);");
	$DB->query("INSERT INTO ". OT_dbPref ."menuTree (MT_ID, MT_level, MT_menuID, MT_appID, MT_fileID, MT_theme, MT_themeStyle, MT_fileName, MT_getMudi, MT_getDataMode, MT_getDataModeStr, MT_getDataType, MT_getDataTypeCN, MT_getDataType2, MT_getDataID, MT_getImgStr, MT_getOthers, MT_childMenu, MT_URL, MT_isFastMenu, MT_userState, MT_rank, MT_state) VALUES (1168, 2, 1166, 0, 790, '新增', '', 'xcxLifeDay.php', 'add', '', '', '', '', '', 0, '', '', '', NULL, 0, 0, 0, 1);");
	$DB->query("INSERT INTO ". OT_dbPref ."menuTree (MT_ID, MT_level, MT_menuID, MT_appID, MT_fileID, MT_theme, MT_themeStyle, MT_fileName, MT_getMudi, MT_getDataMode, MT_getDataModeStr, MT_getDataType, MT_getDataTypeCN, MT_getDataType2, MT_getDataID, MT_getImgStr, MT_getOthers, MT_childMenu, MT_URL, MT_isFastMenu, MT_userState, MT_rank, MT_state) VALUES (1169, 2, 1166, 0, 791, '修改', '', 'xcxLifeDay.php', 'rev', '', '', '', '', '', 0, '', '', '', NULL, 0, 0, 0, 1);");
	$DB->query("INSERT INTO ". OT_dbPref ."menuTree (MT_ID, MT_level, MT_menuID, MT_appID, MT_fileID, MT_theme, MT_themeStyle, MT_fileName, MT_getMudi, MT_getDataMode, MT_getDataModeStr, MT_getDataType, MT_getDataTypeCN, MT_getDataType2, MT_getDataID, MT_getImgStr, MT_getOthers, MT_childMenu, MT_URL, MT_isFastMenu, MT_userState, MT_rank, MT_state) VALUES (1170, 2, 1166, 0, 792, '删除', '', 'xcxLifeDay.php', 'del', '', '', '', '', '', 0, '', '', '', NULL, 0, 0, 0, 1);");
	$DB->query("INSERT INTO ". OT_dbPref ."menuTree (MT_ID, MT_level, MT_menuID, MT_appID, MT_fileID, MT_theme, MT_themeStyle, MT_fileName, MT_getMudi, MT_getDataMode, MT_getDataModeStr, MT_getDataType, MT_getDataTypeCN, MT_getDataType2, MT_getDataID, MT_getImgStr, MT_getOthers, MT_childMenu, MT_URL, MT_isFastMenu, MT_userState, MT_rank, MT_state) VALUES (1171, 1, 1070, 180, 793, '生活记录', '', 'xcxLifeRecord.php', 'manage', '', '', '', '生活记录', '', 0, '', '', '', 'xcxLifeRecord.php?mudi=manage&dataTypeCN=%E7%94%9F%E6%B4%BB%E8%AE%B0%E5%BD%95', 0, 1, 150, 1);");
	$DB->query("INSERT INTO ". OT_dbPref ."menuTree (MT_ID, MT_level, MT_menuID, MT_appID, MT_fileID, MT_theme, MT_themeStyle, MT_fileName, MT_getMudi, MT_getDataMode, MT_getDataModeStr, MT_getDataType, MT_getDataTypeCN, MT_getDataType2, MT_getDataID, MT_getImgStr, MT_getOthers, MT_childMenu, MT_URL, MT_isFastMenu, MT_userState, MT_rank, MT_state) VALUES (1172, 2, 1171, 0, 794, '详细', '', 'xcxLifeRecord.php', 'show', '', '', '', '', '', 0, '', '', '', NULL, 0, 0, 0, 1);");
	$DB->query("INSERT INTO ". OT_dbPref ."menuTree (MT_ID, MT_level, MT_menuID, MT_appID, MT_fileID, MT_theme, MT_themeStyle, MT_fileName, MT_getMudi, MT_getDataMode, MT_getDataModeStr, MT_getDataType, MT_getDataTypeCN, MT_getDataType2, MT_getDataID, MT_getImgStr, MT_getOthers, MT_childMenu, MT_URL, MT_isFastMenu, MT_userState, MT_rank, MT_state) VALUES (1173, 2, 1171, 0, 795, '新增', '', 'xcxLifeRecord.php', 'add', '', '', '', '', '', 0, '', '', '', NULL, 0, 0, 0, 1);");
	$DB->query("INSERT INTO ". OT_dbPref ."menuTree (MT_ID, MT_level, MT_menuID, MT_appID, MT_fileID, MT_theme, MT_themeStyle, MT_fileName, MT_getMudi, MT_getDataMode, MT_getDataModeStr, MT_getDataType, MT_getDataTypeCN, MT_getDataType2, MT_getDataID, MT_getImgStr, MT_getOthers, MT_childMenu, MT_URL, MT_isFastMenu, MT_userState, MT_rank, MT_state) VALUES (1174, 2, 1171, 0, 796, '修改', '', 'xcxLifeRecord.php', 'rev', '', '', '', '', '', 0, '', '', '', NULL, 0, 0, 0, 1);");
	$DB->query("INSERT INTO ". OT_dbPref ."menuTree (MT_ID, MT_level, MT_menuID, MT_appID, MT_fileID, MT_theme, MT_themeStyle, MT_fileName, MT_getMudi, MT_getDataMode, MT_getDataModeStr, MT_getDataType, MT_getDataTypeCN, MT_getDataType2, MT_getDataID, MT_getImgStr, MT_getOthers, MT_childMenu, MT_URL, MT_isFastMenu, MT_userState, MT_rank, MT_state) VALUES (1175, 2, 1171, 0, 797, '删除', '', 'xcxLifeRecord.php', 'del', '', '', '', '', '', 0, '', '', '', NULL, 0, 0, 0, 1);");
	$DB->query("INSERT INTO ". OT_dbPref ."menuTree (MT_ID, MT_level, MT_menuID, MT_appID, MT_fileID, MT_theme, MT_themeStyle, MT_fileName, MT_getMudi, MT_getDataMode, MT_getDataModeStr, MT_getDataType, MT_getDataTypeCN, MT_getDataType2, MT_getDataID, MT_getImgStr, MT_getOthers, MT_childMenu, MT_URL, MT_isFastMenu, MT_userState, MT_rank, MT_state) VALUES (1176, 1, 1070, 180, 798, '成员管理', '', 'xcxLifeMember.php', 'manage', '', '', '', '成员', '', 0, '', '', '', 'xcxLifeMember.php?mudi=manage&dataTypeCN=%E6%88%90%E5%91%98', 0, 1, 160, 1);");
	$DB->query("INSERT INTO ". OT_dbPref ."menuTree (MT_ID, MT_level, MT_menuID, MT_appID, MT_fileID, MT_theme, MT_themeStyle, MT_fileName, MT_getMudi, MT_getDataMode, MT_getDataModeStr, MT_getDataType, MT_getDataTypeCN, MT_getDataType2, MT_getDataID, MT_getImgStr, MT_getOthers, MT_childMenu, MT_URL, MT_isFastMenu, MT_userState, MT_rank, MT_state) VALUES (1177, 2, 1176, 0, 799, '详细', '', 'xcxLifeMember.php', 'show', '', '', '', '', '', 0, '', '', '', NULL, 0, 0, 0, 1);");
	$DB->query("INSERT INTO ". OT_dbPref ."menuTree (MT_ID, MT_level, MT_menuID, MT_appID, MT_fileID, MT_theme, MT_themeStyle, MT_fileName, MT_getMudi, MT_getDataMode, MT_getDataModeStr, MT_getDataType, MT_getDataTypeCN, MT_getDataType2, MT_getDataID, MT_getImgStr, MT_getOthers, MT_childMenu, MT_URL, MT_isFastMenu, MT_userState, MT_rank, MT_state) VALUES (1178, 2, 1176, 0, 800, '新增', '', 'xcxLifeMember.php', 'add', '', '', '', '', '', 0, '', '', '', NULL, 0, 0, 0, 1);");
	$DB->query("INSERT INTO ". OT_dbPref ."menuTree (MT_ID, MT_level, MT_menuID, MT_appID, MT_fileID, MT_theme, MT_themeStyle, MT_fileName, MT_getMudi, MT_getDataMode, MT_getDataModeStr, MT_getDataType, MT_getDataTypeCN, MT_getDataType2, MT_getDataID, MT_getImgStr, MT_getOthers, MT_childMenu, MT_URL, MT_isFastMenu, MT_userState, MT_rank, MT_state) VALUES (1179, 2, 1176, 0, 801, '修改', '', 'xcxLifeMember.php', 'rev', '', '', '', '', '', 0, '', '', '', NULL, 0, 0, 0, 1);");
	$DB->query("INSERT INTO ". OT_dbPref ."menuTree (MT_ID, MT_level, MT_menuID, MT_appID, MT_fileID, MT_theme, MT_themeStyle, MT_fileName, MT_getMudi, MT_getDataMode, MT_getDataModeStr, MT_getDataType, MT_getDataTypeCN, MT_getDataType2, MT_getDataID, MT_getImgStr, MT_getOthers, MT_childMenu, MT_URL, MT_isFastMenu, MT_userState, MT_rank, MT_state) VALUES (1180, 2, 1176, 0, 802, '删除', '', 'xcxLifeMember.php', 'del', '', '', '', '', '', 0, '', '', '', NULL, 0, 0, 0, 1);");
	$DB->query("INSERT INTO ". OT_dbPref ."menuTree (MT_ID, MT_level, MT_menuID, MT_appID, MT_fileID, MT_theme, MT_themeStyle, MT_fileName, MT_getMudi, MT_getDataMode, MT_getDataModeStr, MT_getDataType, MT_getDataTypeCN, MT_getDataType2, MT_getDataID, MT_getImgStr, MT_getOthers, MT_childMenu, MT_URL, MT_isFastMenu, MT_userState, MT_rank, MT_state) VALUES (1181, 1, 467, 178, 803, '收款码领奖励参数', '', 'payCodeSys.php', 'infoSet', '', '', '', '收款码领奖励参数', '', 0, '', '', '', 'payCodeSys.php?mudi=infoSet&dataTypeCN=%E6%94%B6%E6%AC%BE%E7%A0%81%E9%A2%86%E5%A5%96%E5%8A%B1%E5%8F%82%E6%95%B0', 0, 1, 130, 1);");
	$DB->query("INSERT INTO ". OT_dbPref ."menuTree (MT_ID, MT_level, MT_menuID, MT_appID, MT_fileID, MT_theme, MT_themeStyle, MT_fileName, MT_getMudi, MT_getDataMode, MT_getDataModeStr, MT_getDataType, MT_getDataTypeCN, MT_getDataType2, MT_getDataID, MT_getImgStr, MT_getOthers, MT_childMenu, MT_URL, MT_isFastMenu, MT_userState, MT_rank, MT_state) VALUES (1182, 1, 467, 178, 804, '收款码领奖励类型', '', 'payCodeList.php', 'manage', '', '', '', '收款码领奖励类型', '', 0, '', '', '', 'payCodeList.php?mudi=manage&dataTypeCN=%E6%94%B6%E6%AC%BE%E7%A0%81%E9%A2%86%E5%A5%96%E5%8A%B1%E7%B1%BB%E5%9E%8B', 0, 1, 140, 1);");
	$DB->query("INSERT INTO ". OT_dbPref ."menuTree (MT_ID, MT_level, MT_menuID, MT_appID, MT_fileID, MT_theme, MT_themeStyle, MT_fileName, MT_getMudi, MT_getDataMode, MT_getDataModeStr, MT_getDataType, MT_getDataTypeCN, MT_getDataType2, MT_getDataID, MT_getImgStr, MT_getOthers, MT_childMenu, MT_URL, MT_isFastMenu, MT_userState, MT_rank, MT_state) VALUES (1183, 2, 1182, 0, 805, '详细', '', 'payCodeList.php', 'show', '', '', '', '', '', 0, '', '', '', NULL, 0, 0, 0, 1);");
	$DB->query("INSERT INTO ". OT_dbPref ."menuTree (MT_ID, MT_level, MT_menuID, MT_appID, MT_fileID, MT_theme, MT_themeStyle, MT_fileName, MT_getMudi, MT_getDataMode, MT_getDataModeStr, MT_getDataType, MT_getDataTypeCN, MT_getDataType2, MT_getDataID, MT_getImgStr, MT_getOthers, MT_childMenu, MT_URL, MT_isFastMenu, MT_userState, MT_rank, MT_state) VALUES (1184, 2, 1182, 0, 806, '新增', '', 'payCodeList.php', 'add', '', '', '', '', '', 0, '', '', '', NULL, 0, 0, 0, 1);");
	$DB->query("INSERT INTO ". OT_dbPref ."menuTree (MT_ID, MT_level, MT_menuID, MT_appID, MT_fileID, MT_theme, MT_themeStyle, MT_fileName, MT_getMudi, MT_getDataMode, MT_getDataModeStr, MT_getDataType, MT_getDataTypeCN, MT_getDataType2, MT_getDataID, MT_getImgStr, MT_getOthers, MT_childMenu, MT_URL, MT_isFastMenu, MT_userState, MT_rank, MT_state) VALUES (1185, 2, 1182, 0, 807, '修改', '', 'payCodeList.php', 'rev', '', '', '', '', '', 0, '', '', '', NULL, 0, 0, 0, 1);");
	$DB->query("INSERT INTO ". OT_dbPref ."menuTree (MT_ID, MT_level, MT_menuID, MT_appID, MT_fileID, MT_theme, MT_themeStyle, MT_fileName, MT_getMudi, MT_getDataMode, MT_getDataModeStr, MT_getDataType, MT_getDataTypeCN, MT_getDataType2, MT_getDataID, MT_getImgStr, MT_getOthers, MT_childMenu, MT_URL, MT_isFastMenu, MT_userState, MT_rank, MT_state) VALUES (1186, 2, 1182, 0, 808, '删除', '', 'payCodeList.php', 'del', '', '', '', '', '', 0, '', '', '', NULL, 0, 0, 0, 1);");
	$DB->query("INSERT INTO ". OT_dbPref ."menuTree (MT_ID, MT_level, MT_menuID, MT_appID, MT_fileID, MT_theme, MT_themeStyle, MT_fileName, MT_getMudi, MT_getDataMode, MT_getDataModeStr, MT_getDataType, MT_getDataTypeCN, MT_getDataType2, MT_getDataID, MT_getImgStr, MT_getOthers, MT_childMenu, MT_URL, MT_isFastMenu, MT_userState, MT_rank, MT_state) VALUES (1187, 1, 467, 178, 809, '收款码领奖励管理', '', 'payCodeReward.php', 'manage', '', '', '', '收款码领奖励', '', 0, '', '', '', 'payCodeReward.php?mudi=manage&dataTypeCN=%E6%94%B6%E6%AC%BE%E7%A0%81%E9%A2%86%E5%A5%96%E5%8A%B1', 0, 1, 150, 1);");
	$DB->query("INSERT INTO ". OT_dbPref ."menuTree (MT_ID, MT_level, MT_menuID, MT_appID, MT_fileID, MT_theme, MT_themeStyle, MT_fileName, MT_getMudi, MT_getDataMode, MT_getDataModeStr, MT_getDataType, MT_getDataTypeCN, MT_getDataType2, MT_getDataID, MT_getImgStr, MT_getOthers, MT_childMenu, MT_URL, MT_isFastMenu, MT_userState, MT_rank, MT_state) VALUES (1188, 2, 1187, 0, 810, '详细', '', 'payCodeReward.php', 'show', '', '', '', '', '', 0, '', '', '', NULL, 0, 0, 0, 1);");
	$DB->query("INSERT INTO ". OT_dbPref ."menuTree (MT_ID, MT_level, MT_menuID, MT_appID, MT_fileID, MT_theme, MT_themeStyle, MT_fileName, MT_getMudi, MT_getDataMode, MT_getDataModeStr, MT_getDataType, MT_getDataTypeCN, MT_getDataType2, MT_getDataID, MT_getImgStr, MT_getOthers, MT_childMenu, MT_URL, MT_isFastMenu, MT_userState, MT_rank, MT_state) VALUES (1189, 2, 1187, 0, 811, '新增', '', 'payCodeReward.php', 'add', '', '', '', '', '', 0, '', '', '', NULL, 0, 0, 0, 1);");
	$DB->query("INSERT INTO ". OT_dbPref ."menuTree (MT_ID, MT_level, MT_menuID, MT_appID, MT_fileID, MT_theme, MT_themeStyle, MT_fileName, MT_getMudi, MT_getDataMode, MT_getDataModeStr, MT_getDataType, MT_getDataTypeCN, MT_getDataType2, MT_getDataID, MT_getImgStr, MT_getOthers, MT_childMenu, MT_URL, MT_isFastMenu, MT_userState, MT_rank, MT_state) VALUES (1190, 2, 1187, 0, 812, '修改', '', 'payCodeReward.php', 'rev', '', '', '', '', '', 0, '', '', '', NULL, 0, 0, 0, 1);");
	$DB->query("INSERT INTO ". OT_dbPref ."menuTree (MT_ID, MT_level, MT_menuID, MT_appID, MT_fileID, MT_theme, MT_themeStyle, MT_fileName, MT_getMudi, MT_getDataMode, MT_getDataModeStr, MT_getDataType, MT_getDataTypeCN, MT_getDataType2, MT_getDataID, MT_getImgStr, MT_getOthers, MT_childMenu, MT_URL, MT_isFastMenu, MT_userState, MT_rank, MT_state) VALUES (1191, 2, 1187, 0, 813, '删除', '', 'payCodeReward.php', 'del', '', '', '', '', '', 0, '', '', '', NULL, 0, 0, 0, 1);");

	// AdmArea::UpdateFileVerBottom();

	$DB->query("update ". OT_dbPref ."system set SYS_dbVersion=". $nowVersion .",SYS_dbTimeStr='". $nowTimeStr ."'");
	$DB->query("update ". OT_dbPref ."sysAdmin set SA_dbVersion=". $nowVersion .",SA_dbTimeStr='". $nowTimeStr ."'");

	// *********************** 脚本运行End ******************************

	$Cache = new Cache();
	$Cache->Php('userSys');
	$Cache->Js('userSys');
	$Cache->Php('infoSys');
	$Cache->Js('infoSys');
	$Cache->Php('sysAdmin');
	$Cache->Php('system');
	$Cache->Js('system');
	$Cache->Php('sysImages');
	$Cache->Php('autoRunSys');
	$Cache->Js('autoRunSys');
	$Cache->Php('tplSys');

	if ($retMode == 'return'){
		return '网钛IDC系统(idcCMS) '. $nowTimeStr .'程序更新/升级补丁；OK！升级成功。';
	}else{
		$runNumStr = '';
		if ($runCount >= 2){
			$runNumStr = '&ensp;&ensp;&ensp;&ensp;&ensp;&ensp;脚本数：<span style="color:blue;">'. $runNum .'/'. $runCount .'</span>';
		}
		die('
		<div style="line-height:1.4;font-size:14px;">
			<b>校验码：<span style="color:red;">'. $rndCode .'</span></b>'. $runNumStr .'
			<br />
			网钛IDC系统(idcCMS) '. $nowTimeStr .'程序更新/升级补丁
			<br /><br />
			OK！升级成功。'. $finishStr .'
		</div>
		');
	}

?>