<?php
require(dirname(__FILE__) .'/check.php');
$skin->CheckIframe();


/* **** 版权所有 ****

 程序开发：网钛科技
 网钛CMS官网：http://otcms.com
 网钛IDC官网：http://idccms.com
 ＱＱ：877873666
 微信：QQ877873666
 邮箱：877873666@qq.com

 **** 版权所有 **** */


//打开用户表，并检测用户是否登录
$MB->Open('','login');

$skin->WebTop();


echo('
<script language="javascript" type="text/javascript" src="js/infoSys.js?v='. OT_VERSION .'"></script>
');


switch ($mudi){
	case 'manage':
		$MB->IsSecMenuRight('alertBack',194,$dataType);
		manage();
		break;

	default:
		die('err');
}

$skin->WebBottom();

$MB->Close();
$DB->Close();





function manage(){
	global $DB,$MB,$skin,$mudi,$dataType,$dataTypeCN,$sysAdminArr;

	$revexe = $DB->query('select * from '. OT_dbPref .'infoSys');
	if ($row = $revexe->fetch()){
		$IS_addition			= $row['IS_addition'];
		$IS_defIsAudit			= $row['IS_defIsAudit'];
		$IS_defIsNew			= $row['IS_defIsNew'];
		$IS_defIsHomeThumb		= $row['IS_defIsHomeThumb'];
		$IS_defIsThumb			= $row['IS_defIsThumb'];
		$IS_defIsImg			= $row['IS_defIsImg'];
		$IS_defIsFlash			= $row['IS_defIsFlash'];
		$IS_defIsMarquee		= $row['IS_defIsMarquee'];
		$IS_defIsRecom			= $row['IS_defIsRecom'];
		$IS_defIsTop			= $row['IS_defIsTop'];
		$IS_defMarkNews			= $row['IS_defMarkNews'];
		$IS_defVoteMode			= $row['IS_defVoteMode'];
		$IS_defVoteStr			= $row['IS_defVoteStr'];
		$IS_defIsReply			= $row['IS_defIsReply'];
		$IS_defTopicList		= $row['IS_defTopicList'];
		$IS_defTopAddiID		= $row['IS_defTopAddiID'];
		$IS_defAddiID			= $row['IS_defAddiID'];
		$IS_defIsCheckUser		= $row['IS_defIsCheckUser'];
		$IS_defUserGroupList	= $row['IS_defUserGroupList'];
		$IS_defUserLevel		= $row['IS_defUserLevel'];
		$IS_defScore1			= $row['IS_defScore1'];
		$IS_defScore2			= $row['IS_defScore2'];
		$IS_defScore3			= $row['IS_defScore3'];
		$IS_defCutScore1		= $row['IS_defCutScore1'];
		$IS_defCutScore2		= $row['IS_defCutScore2'];
		$IS_defCutScore3		= $row['IS_defCutScore3'];
		$IS_defReadNum1			= $row['IS_defReadNum1'];
		$IS_defReadNum2			= $row['IS_defReadNum2'];
		$IS_defTemplate			= $row['IS_defTemplate'];
		$IS_defTemplateWap		= $row['IS_defTemplateWap'];
		$IS_defIsSitemap		= $row['IS_defIsSitemap'];
		$IS_defIsXiongzhang		= $row['IS_defIsXiongzhang'];
		// $IS_defBdPing			= $row['IS_defBdPing'];
		$IS_tabNum				= $row['IS_tabNum'];
		$IS_tabID				= $row['IS_tabID'];
		$IS_tabCurrNum			= $row['IS_tabCurrNum'];
		$IS_tabMaxNum			= $row['IS_tabMaxNum'];
		$IS_tabCheckTime		= $row['IS_tabCheckTime'];
		$IS_tabCheckMin			= $row['IS_tabCheckMin'];
		$IS_moreArea			= $row['IS_moreArea'];
		$IS_prevNextArrow		= $row['IS_prevNextArrow'];
		$IS_prevAndNext			= $row['IS_prevAndNext'];
			if ($IS_prevAndNext == 10 || $IS_prevAndNext == 20){ $IS_prevAndNext = 1; }
		// $IS_isSavePrevNextId	= $row['IS_isSavePrevNextId'];
		$IS_is360meta			= $row['IS_is360meta'];
		$IS_isXiongzhang		= $row['IS_isXiongzhang'];
		$IS_xiongzhangId		= $row['IS_xiongzhangId'];
		$IS_isContentKey		= $row['IS_isContentKey'];
		$IS_isTime				= $row['IS_isTime'];
		$IS_isWriter			= $row['IS_isWriter'];
		$IS_isSource			= $row['IS_isSource'];
		$IS_isReadNum			= $row['IS_isReadNum'];
		$IS_isReplyNum			= $row['IS_isReplyNum'];
		$IS_isWapQrcode			= $row['IS_isWapQrcode'];
		$IS_keyWordNum			= $row['IS_keyWordNum'];
		$IS_isNewsVote			= $row['IS_isNewsVote'];
		$IS_newsVoteSecond		= $row['IS_newsVoteSecond'];
		$IS_readNum1			= $row['IS_readNum1'];
		$IS_readNum2			= $row['IS_readNum2'];
		$IS_oneReadNum			= $row['IS_oneReadNum'];
		$IS_isMarkNews			= $row['IS_isMarkNews'];
		// $IS_isSaveMarkNewsId	= $row['IS_isSaveMarkNewsId'];
		$IS_isNewsReply			= $row['IS_isNewsReply'];
		$IS_newsReplyMode		= $row['IS_newsReplyMode'];
		$IS_changyanId1			= $row['IS_changyanId1'];
		$IS_changyanId2			= $row['IS_changyanId2'];
		$IS_changyanIsDashang	= $row['IS_changyanIsDashang'];
		$IS_changyanIsFace		= $row['IS_changyanIsFace'];
		$IS_newsReplyNum		= $row['IS_newsReplyNum'];
		$IS_newsReplySecond		= $row['IS_newsReplySecond'];
		$IS_newsReplyAudit		= $row['IS_newsReplyAudit'];
		$IS_newsReplyMaxLen		= $row['IS_newsReplyMaxLen'];
		$IS_newsReplyName		= $row['IS_newsReplyName'];
		$IS_isShareNews			= $row['IS_isShareNews'];
		$IS_shareNewsCode		= $row['IS_shareNewsCode'];
		$IS_newsVoteCode		= $row['IS_newsVoteCode'];
		$IS_isNoCollPage		= $row['IS_isNoCollPage'];
		$IS_isGoPage			= $row['IS_isGoPage'];
		$IS_eventStr			= $row['IS_eventStr'];
		$IS_copyAddiStr			= $row['IS_copyAddiStr'];
		$IS_fileTitle			= $row['IS_fileTitle'];
		$IS_fileStyle			= $row['IS_fileStyle'];
		$IS_isHideFilePath		= $row['IS_isHideFilePath'];
		$IS_isUserView			= $row['IS_isUserView'];
		$IS_isUserMark			= $row['IS_isUserMark'];
		$IS_isUserReport		= $row['IS_isUserReport'];
		$IS_defFreeGroupList	= $row['IS_defFreeGroupList'];
		$IS_defIsEnc			= $row['IS_defIsEnc'];
		$IS_defCutQuickMoney	= $row['IS_defCutQuickMoney'];
		$IS_hiddenContent1		= $row['IS_hiddenContent1'];
		$IS_hiddenContent2		= $row['IS_hiddenContent2'];
		$IS_copyBtnName			= $row['IS_copyBtnName'];
		$IS_markNewsDay			= $row['IS_markNewsDay'];
		$IS_prevNextDay			= $row['IS_prevNextDay'];
		$IS_defIsUserFile		= $row['IS_defIsUserFile'];

		$IS_defScore4			= $row['IS_defScore4'];
		$IS_defScore5			= $row['IS_defScore5'];
		$IS_defCutScore4		= $row['IS_defCutScore4'];
		$IS_defCutScore5		= $row['IS_defCutScore5'];
		$IS_field1Name			= $row['IS_field1Name'];
		$IS_field2Name			= $row['IS_field2Name'];
		$IS_field3Name			= $row['IS_field3Name'];
		$IS_payUserMul			= $row['IS_payUserMul'];
		$IS_titleStyle			= $row['IS_titleStyle'];
		$IS_titleStyle2			= $row['IS_titleStyle2'];
		$IS_contentStyle		= $row['IS_contentStyle'];
		$IS_contentStyle2		= $row['IS_contentStyle2'];
	}
	unset($revexe);

	$topAddiStr = $addiStr = '';
	$addiexe=$DB->query("select IW_ID,IW_theme from ". OT_dbPref ."infoWeb where IW_type='news' order by IW_rank ASC");
	while ($row = $addiexe->fetch()){
		$topAddiStr .= '<option value="'. $row['IW_ID'] .'" '. Is::Selected($IS_defTopAddiID,$row['IW_ID']) .'>'. $row['IW_theme'] .'</option>';
		$addiStr .= '<option value="'. $row['IW_ID'] .'" '. Is::Selected($IS_defAddiID,$row['IW_ID']) .'>'. $row['IW_theme'] .'</option>';
	}
	unset($addiexe);

	$freeGroupStr = $limitGroupStr = '';
	$groupexe = $DB->query('select UG_ID,UG_theme from '. OT_dbPref .'userGroup where UG_state=1 order by UG_rank ASC');
	while ($row = $groupexe->fetch()){
		$freeGroupStr .= '<label><input type="checkbox" name="defFreeGroupList[]" value="['. $row['UG_ID'] .']" '. Is::InstrChecked($IS_defFreeGroupList,'['. $row['UG_ID'] .']') .'>'. $row['UG_theme'] .'</label>&ensp;&ensp;';
		$limitGroupStr .= '<label><input type="checkbox" name="defUserGroupList[]" value="['. $row['UG_ID'] .']" '. Is::InstrChecked($IS_defUserGroupList,'['. $row['UG_ID'] .']') .'>'. $row['UG_theme'] .'</label>&ensp;&ensp;';
	}
	unset($groupexe);

	$title_family	= Str::GetMark($IS_titleStyle,'font-family:"','";');
	$title_size		= Str::GetMark($IS_titleStyle,'font-size:','px;');
	$title_color	= Str::GetMark($IS_titleStyle,'color:',';');

	$content_family	= Str::GetMark($IS_contentStyle,'font-family:"','";');
	$content_size	= Str::GetMark($IS_contentStyle,'font-size:','px;');
	$content_color	= Str::GetMark($IS_contentStyle,'color:',';');
	$content_lineH	= Str::GetMark($IS_contentStyle,'line-height:',';');

	$wapNoteArr = array('isNewsTime'=>'', 'isNewsSource'=>'', 'isNewsWriter'=>'', 'isNewsReadNum'=>'', 'isNewsReplyNum'=>'', 'prevAndNext'=>'', 'isMarkNews'=>'', 'isNewsReply'=>'', 'newsReplyNum'=>'', 'newsReplySecond'=>'', 'newsReplyAudit'=>'', 'newsReplyMaxLen'=>'', 'newsReplyName'=>'', 'titleStyle'=>'', 'titleStyle2'=>'', 'contentStyle'=>'', 'contentStyle2'=>'');
	if (AppWap::Jud()){
		$wapArr = Cache::PhpFile('wap');
		$wapNoteArr['isNewsTime']		= Adm::WapValInfo(Adm::ValCN('isNewsTime', $wapArr['WAP_isNewsTime']));
		$wapNoteArr['isNewsSource']		= Adm::WapValInfo(Adm::ValCN('isNewsSource', $wapArr['WAP_isNewsSource']));
		$wapNoteArr['isNewsWriter']		= Adm::WapValInfo(Adm::ValCN('isNewsSource', $wapArr['WAP_isNewsWriter']));
		$wapNoteArr['isNewsReadNum']	= Adm::WapValInfo(Adm::ValCN('isNewsSource', $wapArr['WAP_isNewsReadNum']));
		$wapNoteArr['isNewsReplyNum']	= Adm::WapValInfo(Adm::ValCN('isNewsSource', $wapArr['WAP_isNewsReplyNum']));
		$wapNoteArr['prevAndNext']		= Adm::WapValInfo(Adm::ValCN('prevAndNext', $wapArr['WAP_prevAndNext']));
		$wapNoteArr['isMarkNews']		= Adm::WapValInfo(Adm::ValCN('isMessage', $wapArr['WAP_isMarkNews']));
		$wapNoteArr['isNewsReply']		= Adm::WapValInfo(Adm::ValCN('isMessage', $wapArr['WAP_isNewsReply']));
		$wapNoteArr['newsReplyNum']		= Adm::WapValInfo($wapArr['WAP_newsReplyNum']);
		$wapNoteArr['newsReplySecond']	= Adm::WapValInfo($wapArr['WAP_newsReplySecond'] .' 秒');
		$wapNoteArr['newsReplyAudit']	= Adm::WapValInfo(Adm::ValCN('newsReplyAudit', $wapArr['WAP_newsReplyAudit']));
		$wapNoteArr['newsReplyMaxLen']	= Adm::WapValInfo($wapArr['WAP_newsReplyMaxLen']);
		$wapNoteArr['newsReplyName']	= Adm::WapValInfo($wapArr['WAP_newsReplyName']);
		if (strlen($wapArr['WAP_titleStyle']) > 0){
			$wapNoteArr['titleStyle'] = Adm::WapValInfo($wapArr['WAP_titleStyle'], '手机版：', '');
		}
		if (strlen($wapArr['WAP_titleStyle2']) > 0){
			$wapNoteArr['titleStyle2'] = Adm::WapValInfo($wapArr['WAP_titleStyle2'], '手机版：', '');
		}
		if (strlen($wapArr['WAP_contentStyle']) > 0){
			$wapNoteArr['contentStyle'] = Adm::WapValInfo($wapArr['WAP_contentStyle'], '手机版：', '');
		}
		if (strlen($wapArr['WAP_contentStyle2']) > 0){
			$wapNoteArr['contentStyle2'] = Adm::WapValInfo($wapArr['WAP_contentStyle2'], '手机版：', '');
		}
	}

	echo('
	<form id="dealForm" name="dealForm" method="post" action="infoSys_deal.php?mudi=deal" onsubmit="return CheckForm()">
	<input type="hidden" id="dataType" name="dataType" value="'. $dataType .'" />
	<input type="hidden" id="dataTypeCN" name="dataTypeCN" value="'. $dataTypeCN .'" />
	<script language="javascript" type="text/javascript">document.write(\'<input type="hidden" name="backURL" value="\'+ document.location.href +\'" />\')</script>

	<div class="tabMenu">
	<ul>
		<li rel="tabBase" class="selected">后台新增文章默认初始项</li>
		<li rel="tabNewsWeb">前台文章内容页设置</li>
		<li id="buyBox" rel="tabBuy" style="display:;">商业版专属'. Skin::PluSign('商业版基础包','bottom') .'</li>
	</ul>
	</div>

	<div class="tabMenuArea">
		<table id="tabBase" cellpadding="0" cellspacing="0" summary="" class="padd3">
		<tr><td class="tabLeftWidth"></td><td></td></tr>
		'. AppBase::InfoSysTrBox2($IS_defTemplate) .'
		'. AppWap::InfoSysTrBox2($IS_defTemplateWap) .'
		<tr>
			<td align="right" valign="top" style="padding-top:6px;">附加功能：</td>
			<td>
				<!-- <label><input type="checkbox" name="addition[]" value="|themeAppr|" '. Is::InstrChecked($IS_addition,'|themeAppr|') .' />标题伪原创<span style="color:red;">(不建议打钩)</span></label>&ensp;&ensp;
				<label><input type="checkbox" name="addition[]" value="|contentAppr|" '. Is::InstrChecked($IS_addition,'|contentAppr|') .' />内容伪原创<span style="color:red;">(不建议打钩)</span></label>&ensp;&ensp; -->
				<label><input type="checkbox" name="addition[]" value="|ori|" '. Is::InstrChecked($IS_addition,'|ori|') .' />原创</label>&ensp;&ensp;
				<label><input type="checkbox" name="addition[]" value="|contentImg|" '. Is::InstrChecked($IS_addition,'|contentImg|') .' />正文显示缩略图</label>&ensp;&ensp;
				<label><input type="checkbox" name="addition[]" value="|noMakeHtml|" '. Is::InstrChecked($IS_addition,'|noMakeHtml|') .' />提交不生成静态页<span style="color:red;">(纯静态才有效)</span></label>&ensp;&ensp;
				<label><input type="checkbox" name="addition[]" value="|noInfoType|" '. Is::InstrChecked($IS_addition,'|noInfoType|') .' />栏目[文章设置覆盖]无效</label>&ensp;&ensp;
				<div>
					<label><input type="checkbox" name="addition[]" value="|autoImg|" '. Is::InstrChecked($IS_addition,'|autoImg|') .' />缩略图栏如为空，自动配图'. Skin::PluSign('自动配缩略图','bottom') .'</label>
					（
					<label title="自动配图时是否打钩该项"><input type="checkbox" name="addition[]" value="|autoImg_homeThumb|" '. Is::InstrChecked($IS_addition,'|autoImg_homeThumb|') .' />首页缩略图</label>&ensp;
					<label><input type="checkbox" name="addition[]" value="|autoImg_thumb|" checked="checked" disabled="true" />缩略图</label>&ensp;
					<label title="自动配图时是否打钩该项"><input type="checkbox" name="addition[]" value="|autoImg_flash|" '. Is::InstrChecked($IS_addition,'|autoImg_flash|') .' />幻灯片</label>&ensp;
					<label title="自动配图时是否打钩该项"><input type="checkbox" name="addition[]" value="|autoImg_img|" '. Is::InstrChecked($IS_addition,'|autoImg_img|') .' />滚动图片</label>&ensp;
					）&ensp;&ensp;
				</div>
				<div>
					<label><input type="checkbox" name="addition[]" value="|contentThumb|" '. Is::InstrChecked($IS_addition,'|contentThumb|') .' />缩略图栏为空，获取正文图片优先考虑缩略小图</label>
				</div>
			</td>
		</tr>
		<tr>
			<td align="right">编辑器：</td>
			<td>
				<label><input type="checkbox" name="addition[]" value="|isSaveContImg|" '. Is::InstrChecked($IS_addition,'|isSaveContImg|') .' />保存内容中的图片到本地'. Skin::PluSign('商业版基础包','bottom') .'</label>&ensp;
			</td>
		</tr>
		<tr>
			<td align="right">附件：</td>
			<td>
				'. str_replace(array('&ensp;&ensp;','isUserFile'), array('','defIsUserFile'), ''. AppBase::InfoUserFile($IS_defIsUserFile)) . AppBase::Show(Skin::PluSign('商业版基础包','bottom')) .'
			</td>
		</tr>
		<tr>
			<td align="right">文章属性：</td>
			<td>
				<label><input type="checkbox" id="defIsAudit" name="defIsAudit" value="1" '. Is::Checked($IS_defIsAudit,1) .' />已审核</label>&ensp;
				<label><input type="checkbox" id="defIsNew" name="defIsNew" value="1" '. Is::Checked($IS_defIsNew,1) .' />最新消息</label>&ensp;
				<label><input type="checkbox" id="defIsHomeThumb" name="defIsHomeThumb" value="1" '. Is::Checked($IS_defIsHomeThumb,1) .' />首页缩略图</label>&ensp;
				<label><input type="checkbox" id="defIsThumb" name="defIsThumb" value="1" '. Is::Checked($IS_defIsThumb,1) .' />缩略图</label>&ensp;
				<label><input type="checkbox" id="defIsFlash" name="defIsFlash" value="1" '. Is::Checked($IS_defIsFlash,1) .' />幻灯片</label>&ensp;
				<label><input type="checkbox" id="defIsImg" name="defIsImg" value="1" '. Is::Checked($IS_defIsImg,1) .' />滚动图片</label>&ensp;
				<label><input type="checkbox" id="defIsMarquee" name="defIsMarquee" value="1" '. Is::Checked($IS_defIsMarquee,1) .' />滚动信息</label>&ensp;
				<label><input type="checkbox" id="defIsRecom" name="defIsRecom" value="1" '. Is::Checked($IS_defIsRecom,1) .' />推荐</label>&ensp;
				<label><input type="checkbox" id="defIsTop" name="defIsTop" value="1" '. Is::Checked($IS_defIsTop,1) .' />置顶</label>
			</td>
		</tr>
		<tr>
			<td align="right">正文头附加内容：</td>
			<td>
				<select id="defTopAddiID" name="defTopAddiID">
				<option value="0">无</option>
				'. $topAddiStr .'
				</select>
			</td>
		</tr>
		<tr>
			<td align="right">正文尾附加内容：</td>
			<td>
				<select id="defAddiID" name="defAddiID">
				<option value="0">无</option>
				'. $addiStr .'
				</select>
			</td>
		</tr>
		<tr>
			<td align="right">投票方式：</td>
			<td>
				<label><input type="radio" name="defVoteMode" value="0" '. Is::Checked($IS_defVoteMode,0) .' />关闭</label>&ensp;&ensp;
				<label><input type="radio" name="defVoteMode" value="1" '. Is::Checked($IS_defVoteMode,1) .' />心情</label>&ensp;&ensp;
				<label><input type="radio" name="defVoteMode" value="2" '. Is::Checked($IS_defVoteMode,2) .' />顶踩</label>&ensp;&ensp;
				<label><input type="radio" name="defVoteMode" value="11" '. Is::Checked($IS_defVoteMode,11) .' />百度喜欢按钮</label>&ensp;&ensp;
			</td>
		</tr>
		<tr>
			<td align="right">相关文章：</td>
			<td>
				<label><input type="radio" name="defMarkNews" value="1" '. Is::Checked($IS_defMarkNews,1) .' />开启</label>&ensp;&ensp;&ensp;&ensp;
				<label><input type="radio" name="defMarkNews" value="0" '. Is::Checked($IS_defMarkNews,0) .' />关闭</label>&ensp;&ensp;&ensp;&ensp;
			</td>
		</tr>
		<tr>
			<td align="right">评论区：</td>
			<td>
				<label><input type="radio" name="defIsReply" value="1" '. Is::Checked($IS_defIsReply,1) .' />开启</label>&ensp;&ensp;
				<label><input type="radio" name="defIsReply" value="10" '. Is::Checked($IS_defIsReply,10) .' />仅限会员</label>&ensp;&ensp;
				<label><input type="radio" name="defIsReply" value="0" '. Is::Checked($IS_defIsReply,0) .' />关闭</label>&ensp;&ensp;
			</td>
		</tr>
		'. AppTopic::InfoSysTrBox1($IS_defTopicList) .'
		'. AppMapBaidu::InfoSysTrBox1($IS_defIsSitemap, $IS_defIsXiongzhang) .'
		<tr>
			<td align="right">阅读量范围：</td>
			<td align="left">
				<input type="text" id="defReadNum1" name="defReadNum1" size="50" style="width:50px;" value="'. $IS_defReadNum1 .'" />
				-
				<input type="text" id="defReadNum2" name="defReadNum2" size="50" style="width:50px;" value="'. $IS_defReadNum2 .'" />
				&ensp;&ensp;'. $skin->TishiBox('新增文章时，阅读量随机选择范围内，如要固定值，范围值2个都填一样。') .'
			</td>
		</tr>
		<tr>
			<td align="right">限制/付费阅读：</td>
			<td>
				<label><input type="checkbox" name="addition[]" value="|checkUser|" '. Is::InstrChecked($IS_addition,'|checkUser|') .' />仅限会员阅读</label>&ensp;&ensp;
				<label><input type="checkbox" name="addition[]" value="|checkReply|" '. Is::InstrChecked($IS_addition,'|checkReply|') .' />会员回复可见</label>&ensp;&ensp;
				'. AppMoneyQuick::InfoSysCheckItem($IS_addition) .'
				'. AppNewsPwd::InfoSysCheckItem($IS_addition) .'
				'. AppXcxAd::InfoSysCheckItem($IS_addition) .'
			</td>
		</tr>
		<tr>
			<td align="right">限制阅读积分：</td>
			<td>
				积分1：<input type="text" name="defScore1" value="'. $IS_defScore1 .'" size="3" style="width:65px;" onkeyUp="this.value=FiltInt(this.value)" />&ensp;
				积分2：<input type="text" name="defScore2" value="'. $IS_defScore2 .'" size="3" style="width:65px;" onkeyUp="this.value=FiltInt(this.value)" />&ensp;
				积分3：<input type="text" name="defScore3" value="'. $IS_defScore3 .'" size="3" style="width:65px;" onkeyUp="this.value=FiltInt(this.value)" />&ensp;
				<span class="display">
				积分4：<input type="text" name="defScore4" value="'. $IS_defScore4 .'" size="3" style="width:65px;" onkeyUp="this.value=FiltInt(this.value)" />&ensp;
				积分5：<input type="text" name="defScore5" value="'. $IS_defScore5 .'" size="3" style="width:65px;" onkeyUp="this.value=FiltInt(this.value)" />&ensp;
				</span>
			</td>
		</tr>
		<tr>
			<td align="right">付费阅读积分：</td>
			<td>
				积分1：<input type="text" name="defCutScore1" value="'. $IS_defCutScore1 .'" size="3" style="width:65px;" onkeyUp="this.value=FiltInt(this.value)" />&ensp;
				积分2：<input type="text" name="defCutScore2" value="'. $IS_defCutScore2 .'" size="3" style="width:65px;" onkeyUp="this.value=FiltInt(this.value)" />&ensp;
				积分3：<input type="text" name="defCutScore3" value="'. $IS_defCutScore3 .'" size="3" style="width:65px;" onkeyUp="this.value=FiltInt(this.value)" />&ensp;
				<span class="display">
				积分4：<input type="text" name="defCutScore4" value="'. $IS_defCutScore4 .'" size="3" style="width:65px;" onkeyUp="this.value=FiltInt(this.value)" />&ensp;
				积分5：<input type="text" name="defCutScore5" value="'. $IS_defCutScore5 .'" size="3" style="width:65px;" onkeyUp="this.value=FiltInt(this.value)" />&ensp;
				</span>
			</td>
		</tr>
		<tr>
			<td align="right">免费阅读组：</td>
			<td align="left" colspan="4">'. $freeGroupStr .'</td>
		</tr>
		<tr>
			<td align="right">限制/付费阅读组：</td>
			<td align="left" colspan="4">'. $limitGroupStr .'</td>
		</tr>
		'. AppMoneyQuick::InfoSysTrBox($IS_defCutQuickMoney) .'
		<tr>
			<td align="right">'. Skin::PluSign('内容页正文部分可见') .'部分正文隐藏：</td>
			<td align="left" colspan="4">
				<label><input type="radio" name="defIsEnc" value="1" '. Is::Checked($IS_defIsEnc,1) .' />开启</label>&ensp;&ensp;
				<label><input type="radio" name="defIsEnc" value="0" '. Is::Checked($IS_defIsEnc,0) .' />关闭</label>&ensp;&ensp;
			</td>
		</tr>
		<tr>
			<td align="right" valign="top" style="padding-top:6px;">'. Skin::PluSign('内容页正文部分可见') .'附加隐藏项：</td>
			<td colspan="6">
				<label><input type="checkbox" name="addition[]" value="|encMediaFile|" '. Is::InstrChecked($IS_addition,'|encMediaFile|') .' />视频音频</label>&ensp;&ensp;
				<label><input type="checkbox" name="addition[]" value="|encFile|"  '. Is::InstrChecked($IS_addition,'|encFile|') .' />附件文件</label>&ensp;&ensp;
			</td>
		</tr>
		<tr>
			<td align="right" class="font1_2d">自定义字段1名称：</td>
			<td align="left"><input type="text" id="field1Name" name="field1Name" size="50" style="width:120px;" value="'. $IS_field1Name .'" /><span class="font2_2">（留空编辑文章时不显示，主要为模板制作者提供额外设置项）</span></td>
		</tr>
		<tr>
			<td align="right" class="font1_2d">自定义字段2名称：</td>
			<td align="left"><input type="text" id="field2Name" name="field2Name" size="50" style="width:120px;" value="'. $IS_field2Name .'" /><span class="font2_2">（同上）</span></td>
		</tr>
		<tr>
			<td align="right" class="font1_2d">自定义字段3名称：</td>
			<td align="left"><input type="text" id="field3Name" name="field3Name" size="50" style="width:120px;" value="'. $IS_field3Name .'" /><span class="font2_2">（同上）</span></td>
		</tr>
		'. Skin::ItemTrTop('文章','内容库') .'
		<tr>
			<td align="right">文章内容库：</td>
			<td align="left">
				<select id="tabID" name="tabID">
				<option value="0">自身表</option>
				');
				$addTabID = $maxNewsNum = 0;
				$tabArr = $DB->GetTabArr('xiao');
				for ($i=1; $i<=$IS_tabNum; $i++){
					if (in_array(strtolower(OT_dbPref) .'infocontent'. $i, $tabArr)){
						$maxNewsNum = $DB->GetOne('select count(IC_ID) from '. OT_dbPref .'infoContent'. $i);
						echo('<option value="'. $i .'" '. Is::Selected($IS_tabID,$i) .'>内容表'. $i .'（'. $maxNewsNum .'篇）</option>');
						$addTabID = $i;
					}
				}
				$addTabID ++;
				echo('
				</select>
				<input type="hidden" id="maxNewsNum" name="maxNewsNum" value="'. $maxNewsNum .'" />
				&ensp;<input type="button" value="创建内容表'. $addTabID .'" onclick="CreateTab('. $addTabID .')" />
			</td>
		</tr>
		<tr>
			<td align="right" class="font1_2d">单表限制：</td>
			<td align="left">
				<input type="text" id="tabMaxNum" name="tabMaxNum" size="50" style="width:80px;" value="'. $IS_tabMaxNum .'" /> 篇
				<span style="color:red;">（取值10000~80000，普通文章建议5~8万，长篇文章建议1~3万，该功能需要 自动操作 - 定时检查 - 文章内容库分表 打钩才会生效，下2个同样）</span>
			</td>
		</tr>
		<tr>
			<td align="right" class="font1_2d">分表检查时间：</td>
			<td align="left">'. $IS_tabCheckTime .'</td>
		</tr>
		<tr>
			<td align="right" class="font1_2d">分表检查间隔：</td>
			<td align="left">
				<input type="text" id="tabCheckMin" name="tabCheckMin" size="50" style="width:70px;" value="'. $IS_tabCheckMin .'" />分钟
				<input type="button" value="关闭" onclick=\'$id("tabCheckMin").value="0";\' />
				<input type="button" value="1小时" onclick=\'$id("tabCheckMin").value="60";\' />
				<input type="button" value="3小时" onclick=\'$id("tabCheckMin").value="180";\' />
				<input type="button" value="5小时" onclick=\'$id("tabCheckMin").value="300";\' />
				<input type="button" value="12小时" onclick=\'$id("tabCheckMin").value="720";\' />
				<input type="button" value="24小时" onclick=\'$id("tabCheckMin").value="1440";\' />
			</td>
		</tr>
		'. Skin::ItemTrBottom() .'
		<tr>
			<td align="right" valign="top" style="padding-top:6px;">移入【更多】选项卡：</td>
			<td align="left">
				<ul>
					<li style="float:left;width:140px;"><label><input type="checkbox" name="moreArea[]" value="|titleAddi|" '. Is::InstrChecked($IS_moreArea,'|titleAddi|') .' />文章标题附加</label></li>
					<li style="float:left;width:140px;"><label><input type="checkbox" name="moreArea[]" value="|source|" '. Is::InstrChecked($IS_moreArea,'|source|') .' />来源</label></li>
					<li style="float:left;width:140px;"><label><input type="checkbox" name="moreArea[]" value="|writer|" '. Is::InstrChecked($IS_moreArea,'|writer|') .' />作者</label></li>
					<li style="float:left;width:140px;"><label><input type="checkbox" name="moreArea[]" value="|template|" '. Is::InstrChecked($IS_moreArea,'|template|') .' />模板文件'. Skin::PluSign('商业版基础包/手机版','bottom') .'</label></li>
					<li style="float:left;width:140px;"><label><input type="checkbox" name="moreArea[]" value="|webURL|" '. Is::InstrChecked($IS_moreArea,'|webURL|') .' />外部链接</label></li>
					<li style="float:left;width:140px;"><label><input type="checkbox" name="moreArea[]" value="|media|" '. Is::InstrChecked($IS_moreArea,'|media|') .' />视频音频'. Skin::PluSign('视频音乐播放器','bottom') .'</label></li>
					<li style="float:left;width:140px;"><label><input type="checkbox" name="moreArea[]" value="|file|" '. Is::InstrChecked($IS_moreArea,'|file|') .' />附件文件</label></li>
					<li style="float:left;width:140px;"><label><input type="checkbox" name="moreArea[]" value="|topAddiID|" '. Is::InstrChecked($IS_moreArea,'|topAddiID|') .' />正文头附加内容</label></li>
					<li style="float:left;width:140px;"><label><input type="checkbox" name="moreArea[]" value="|addiID|" '. Is::InstrChecked($IS_moreArea,'|addiID|') .' />正文尾附加内容</label></li>
					<li style="float:left;width:140px;"><label><input type="checkbox" name="moreArea[]" value="|voteMode|" '. Is::InstrChecked($IS_moreArea,'|voteMode|') .' />投票方式</label></li>
					<li style="float:left;width:140px;"><label><input type="checkbox" name="moreArea[]" value="|isMarkNews|" '. Is::InstrChecked($IS_moreArea,'|isMarkNews|') .' />相关文章</label></li>
					<li style="float:left;width:140px;"><label><input type="checkbox" name="moreArea[]" value="|isReply|" '. Is::InstrChecked($IS_moreArea,'|isReply|') .' />评论区</label></li>
					<li style="float:left;width:140px;"><label><input type="checkbox" name="moreArea[]" value="|topicID|" '. Is::InstrChecked($IS_moreArea,'|topicID|') .' />专题'. Skin::PluSign('专题','bottom') .'</label></li>
					<li style="float:left;width:140px;"><label><input type="checkbox" name="moreArea[]" value="|mapBaidu|" '. Is::InstrChecked($IS_moreArea,'|mapBaidu|') .' />百度推送&收录'. Skin::PluSign('百度主动推送和快速收录','bottom') .'</label></li>
					<li style="float:left;width:140px;"><label><input type="checkbox" name="moreArea[]" value="|resBaidu|" '. Is::InstrChecked($IS_moreArea,'|resBaidu|') .' />百度收录'. Skin::PluSign('文章百度收录检查','bottom') .'</label></li>
					<li style="float:left;width:140px;"><label><input type="checkbox" name="moreArea[]" value="|res360|" '. Is::InstrChecked($IS_moreArea,'|res360|') .' />360收录'. Skin::PluSign('文章360收录检查','bottom') .'</label></li>
					<li style="float:left;width:140px;"><label><input type="checkbox" name="moreArea[]" value="|resSogou|" '. Is::InstrChecked($IS_moreArea,'|resSogou|') .' />搜狗收录'. Skin::PluSign('文章搜狗收录检查','bottom') .'</label></li>
					<li style="float:left;width:140px;"><label><input type="checkbox" name="moreArea[]" value="|resShenma|" '. Is::InstrChecked($IS_moreArea,'|resShenma|') .' />神马收录'. Skin::PluSign('文章神马收录检查','bottom') .'</label></li>
					<li style="float:left;width:140px;"><label><input type="checkbox" name="moreArea[]" value="|resToutiao|" '. Is::InstrChecked($IS_moreArea,'|resToutiao|') .' />头条收录'. Skin::PluSign('文章头条收录检查','bottom') .'</label></li>
					<li style="float:left;width:140px;"><label><input type="checkbox" name="moreArea[]" value="|resBing|" '. Is::InstrChecked($IS_moreArea,'|resBing|') .' />必应收录'. Skin::PluSign('文章必应收录检查','bottom') .'</label></li>
					<li style="float:left;width:140px;"><label><input type="checkbox" name="moreArea[]" value="|addition|" '. Is::InstrChecked($IS_moreArea,'|addition|') .' />附加功能</label></li>
					<li style="float:left;width:140px;"><label><input type="checkbox" name="moreArea[]" value="|readNum|" '. Is::InstrChecked($IS_moreArea,'|readNum|') .' />阅读量</label></li>
					<li style="float:left;width:140px;"><label><input type="checkbox" name="moreArea[]" value="|state|" '. Is::InstrChecked($IS_moreArea,'|state|') .' />状态</label></li>
					<li style="float:left;width:140px;"><label><input type="checkbox" name="moreArea[]" value="|isCheckUser|" '. Is::InstrChecked($IS_moreArea,'|isCheckUser|') .' />限制阅读</label></li>
					<li style="float:left;width:140px;"><label><input type="checkbox" name="moreArea[]" value="|fieldName|" '. Is::InstrChecked($IS_moreArea,'|fieldName|') .' />自定义字段</label></li>
				</ul>
			</td>
		</tr>
		<tr style="display:none;">
			<td colspan="2" class="font2_2" style="color:red;padding-top:20px;">提醒：仅对后台文章管理-新增文章有效</td>
		</tr>
		</table>


		<table id="tabNewsWeb" style="display:none;" cellpadding="0" cellspacing="0" summary="" class="padd3">
		<tr><td class="tabLeftWidth"></td><td style="color:red;">'. AppWap::Show('<b>（WAP手机版的前台文章内容页，请到【移动端管理→WAP手机版】-[内容页]设置）</b>') .'</td></tr>
		<tr>
			<td align="right">多次刷新只算一次阅读量：</td>
			<td align="left">
				<label><input type="radio" name="oneReadNum" value="1" '. Is::Checked($IS_oneReadNum,1) .' />启用</label>&ensp;&ensp;
				<label><input type="radio" name="oneReadNum" value="0" '. Is::Checked($IS_oneReadNum,0) .' />禁用</label>&ensp;&ensp;
			</td>
		</tr>
		<tr>
			<td align="right">阅读量一次增加范围：</td>
			<td align="left">
				<input type="text" id="readNum1" name="readNum1" size="50" style="width:50px;" value="'. $IS_readNum1 .'" />
				-
				<input type="text" id="readNum2" name="readNum2" size="50" style="width:50px;" value="'. $IS_readNum2 .'" />
				&ensp;&ensp;'. $skin->TishiBox('为部分用户制造网站很多人访问的假象，如只想增加1,两个都填1。') .'
			</td>
		</tr>
		<tr>
			<td align="right">复制按钮名称：</td>
			<td align="left">
				<input type="text" id="copyBtnName" name="copyBtnName" size="50" style="width:300px;" value="'. $IS_copyBtnName .'" />
				<span style="color:red;">（后台 新增/修改文章【插入[一键复制框]】，前台内容页显示复制按钮文字）</span>
			</td>
		</tr>

		'. Skin::ItemTrTop('PC电脑端 - ','页面元素开关项') .'
		'. AppMapBaidu::InfoSysTrBox2($IS_isXiongzhang, $IS_xiongzhangId) .'
		<tr>
			<td align="right">360智能摘要：</td>
			<td>
				<label><input type="radio" name="is360meta" value="1" '. Is::Checked($IS_is360meta,1) .' />显示</label>&ensp;&ensp;
				<label><input type="radio" name="is360meta" value="0" '. Is::Checked($IS_is360meta,0) .' />关闭</label>&ensp;&ensp;
			</td>
		</tr>
		<tr>
			<td align="right">文章摘要：</td>
			<td>
				<label><input type="radio" name="isContentKey" value="1" '. Is::Checked($IS_isContentKey,1) .' />显示</label>&ensp;&ensp;
				<label><input type="radio" name="isContentKey" value="0" '. Is::Checked($IS_isContentKey,0) .' />关闭</label>&ensp;&ensp;
			</td>
		</tr>
		<tr>
			<td align="right">发布时间：</td>
			<td align="left">
				<label><input type="radio" name="isTime" value="1" '. Is::Checked($IS_isTime,1) .' />年-月-日 时:分:秒</label>&ensp;&ensp;
				<label><input type="radio" name="isTime" value="2" '. Is::Checked($IS_isTime,2) .' />年-月-日 时:分</label>&ensp;&ensp;
				<label><input type="radio" name="isTime" value="3" '. Is::Checked($IS_isTime,3) .' />年-月-日</label>&ensp;&ensp;
				<label><input type="radio" name="isTime" value="4" '. Is::Checked($IS_isTime,4) .' />月-日</label>&ensp;&ensp;
				<label><input type="radio" name="isTime" value="0" '. Is::Checked($IS_isTime,0) .' />隐藏</label>&ensp;&ensp;
				'. $wapNoteArr['isNewsTime'] .'
			</td>
		</tr>
		<tr>
			<td align="right">作者：</td>
			<td align="left">
				<label><input type="radio" name="isWriter" value="1" '. Is::Checked($IS_isWriter,1) .' />显示</label>&ensp;&ensp;
				<label><input type="radio" name="isWriter" value="0" '. Is::Checked($IS_isWriter,0) .' />隐藏</label>&ensp;&ensp;
				'. $wapNoteArr['isNewsWriter'] .'
			</td>
		</tr>
		<tr>
			<td align="right">来源：</td>
			<td align="left">
				<label><input type="radio" name="isSource" value="1" '. Is::Checked($IS_isSource,1) .' />显示</label>&ensp;&ensp;
				<label><input type="radio" name="isSource" value="0" '. Is::Checked($IS_isSource,0) .' />隐藏</label>&ensp;&ensp;
				'. $wapNoteArr['isNewsSource'] .'
			</td>
		</tr>
		<tr>
			<td align="right">阅读量：</td>
			<td align="left">
				<label><input type="radio" name="isReadNum" value="1" '. Is::Checked($IS_isReadNum,1) .' />显示</label>&ensp;&ensp;
				<label><input type="radio" name="isReadNum" value="0" '. Is::Checked($IS_isReadNum,0) .' />隐藏</label>&ensp;&ensp;
				'. $wapNoteArr['isNewsReadNum'] .'
			</td>
		</tr>
		<tr>
			<td align="right">评论量：</td>
			<td align="left">
				<label><input type="radio" name="isReplyNum" value="1" '. Is::Checked($IS_isReplyNum,1) .' />显示</label>&ensp;&ensp;
				<label><input type="radio" name="isReplyNum" value="0" '. Is::Checked($IS_isReplyNum,0) .' />隐藏</label>&ensp;&ensp;
				'. $wapNoteArr['isNewsReplyNum'] .'
			</td>
		</tr>
		'. AppReport::InfoSysBox1($IS_isUserReport) .'
		'. AppUserMark::InfoSysBox1($IS_isUserMark) .'
		'. AppUserView::InfoSysBox1($IS_isUserView) .'
		'. AppWap::InfoSysBox1($IS_isWapQrcode) .'
		<tr>
			<td align="right">内容页投票：</td>
			<td align="left">
				<label><input type="radio" id="isNewsVote1" name="isNewsVote" value="1" '. Is::Checked($IS_isNewsVote,1) .' onclick="CheckNewsVote();" />启用</label>&ensp;&ensp;
				<label><input type="radio" id="isNewsVote0" name="isNewsVote" value="0" '. Is::Checked($IS_isNewsVote,0) .' onclick="CheckNewsVote();" />隐藏</label>&ensp;&ensp;
			</td>
		</tr>
		<tbody id="newsVoteBox" style="display:none;">
		<tr>
			<td align="right" class="font1_2d">文章连续投票间隔秒数：</td>
			<td align="left"><input type="text" id="newsVoteSecond" name="newsVoteSecond" size="50" style="width:50px;" value="'. $IS_newsVoteSecond .'" /> 秒</td>
		</tr>
		<tr>
			<td align="right" valign="top" style="padding-top:6px;" class="font1_2d">内容页“百度喜欢”代码：</td>
			<td>
				<textarea id="newsVoteCode" name="newsVoteCode" style="width:500px; height:100px;">'. Str::MoreReplace($IS_newsVoteCode,'textarea') .'</textarea>
				<div class="font3_2" style="padding-bottom:5px;"><span class="font1_2d pointer" onclick=\'InputDefShare("newsVoteCode");\'>[默认]</span>&ensp;“百度喜欢后分享”申请地址 <a href="http://share.baidu.com/code/likeshare" target="_blank" class="font2_2">http://share.baidu.com/code/likeshare</a></div>
			</td>
		</tr>
		</tbody>
		<tr>
			<td align="right">上/下一篇：</td>
			<td>
				<label><input type="radio" id="prevAndNext1" name="prevAndNext" value="1" '. Is::Checked($IS_prevAndNext,1) .' onclick="CheckPrevAndNext();" />开启（有显示，没有自动生成）</label>&ensp;&ensp;
				<label><input type="radio" id="prevAndNext11" name="prevAndNext" value="11" '. Is::Checked($IS_prevAndNext,11) .' onclick="CheckPrevAndNext();" />开启（有显示，没有不显示）</label>&ensp;&ensp;
				<label><input type="radio" id="prevAndNext0" name="prevAndNext" value="0" '. Is::Checked($IS_prevAndNext,0) .' onclick="CheckPrevAndNext();" />关闭</label>&ensp;&ensp;
				'. $wapNoteArr['prevAndNext'] .'
				<span id="prevNextBox"></span>
			</td>
		</tr>
		<!-- <tr id="prevNextBox">
			<td align="right" class="font1_2d">上/下一篇检查间隔：</td>
			<td align="left">'. AdmArea::InputDayBox('prevNextDay', $IS_prevNextDay) .'</td>
		</tr> -->
		<tr>
			<td align="right">相关文章：</td>
			<td>
				<label><input type="radio" id="isMarkNews1" name="isMarkNews" value="1" '. Is::Checked($IS_isMarkNews,1) .' onclick="CheckMarkNews();" />启用（有显示，没有自动生成）</label>&ensp;&ensp;
				<label><input type="radio" id="isMarkNews11" name="isMarkNews" value="11" '. Is::Checked($IS_isMarkNews,11) .' onclick="CheckMarkNews();" />启用（有显示，没有不显示）</label>&ensp;&ensp;
				<label><input type="radio" id="isMarkNews0" name="isMarkNews" value="0" '. Is::Checked($IS_isMarkNews,0) .' onclick="CheckMarkNews();" />禁用</label>&ensp;&ensp;
				'. $wapNoteArr['isMarkNews'] .'
				<span id="markNewsBox"></span>
			</td>
		</tr>
		<!-- <tr id="markNewsBox">
			<td align="right" class="font1_2d">相关文章检查间隔：</td>
			<td align="left">'. AdmArea::InputDayBox('markNewsDay', $IS_markNewsDay) .'</td>
		</tr> -->
		<!-- <input type="button" value="清空信息" onclick="ClearSaveMarkNewsId();" /> --><input type="hidden" name="isSaveMarkNewsId" value="1" />
		<tr>
			<td align="right">内容页“分享到”代码：</td>
			<td>
				<label><input type="radio" id="isShareNews1" name="isShareNews" value="1" '. Is::Checked($IS_isShareNews,1) .' onclick="CheckShareNews();" />启用</label>&ensp;&ensp;
				<label><input type="radio" id="isShareNews0" name="isShareNews" value="0" '. Is::Checked($IS_isShareNews,0) .' onclick="CheckShareNews();" />禁用</label>&ensp;&ensp;
			</td>
		</tr>
		<tr id="shareNewsBox" style="display:none;">
			<td align="right" valign="top" style="padding-top:6px;" class="font1_2d">内容页“分享到”代码：</td>
			<td>
				<textarea id="shareNewsCode" name="shareNewsCode" style="width:500px; height:100px;">'. Str::MoreReplace($IS_shareNewsCode,'textarea') .'</textarea>
				<div class="font3_2" style="padding-bottom:5px;"><span class="font1_2d pointer" onclick=\'InputDefShare("shareNewsCode");\'>[默认]</span>&ensp;“百度分享”申请地址 <a href="http://share.baidu.com/" target="_blank" class="font2_2">http://share.baidu.com/</a></div>
			</td>
		</tr>
		'. Skin::ItemTrBottom() .'

		'. Skin::ItemTrTop('附件','栏') .'
		<tr>
			<td align="right">附件栏名称：</td>
			<td align="left">
				<input type="text" id="fileTitle" name="fileTitle" size="50" style="width:300px;" value="'. $IS_fileTitle .'" />
			</td>
		</tr>
		<tr>
			<td align="right" class="font1_2d">附件样式：</td>
			<td align="left" class="fileStyleClass">
				<span class="fileStyleImg"><img src="temp/infoFile.jpg" style="display:none;" /></span>
				<label><input type="radio" name="fileStyle" value="0" '. Is::Checked($IS_fileStyle,0) .' />默认(红色)</label>&ensp;&ensp;
				<label><input type="radio" name="fileStyle" value="1" '. Is::Checked($IS_fileStyle,1) .' />蓝白色</label>&ensp;&ensp;
				<label><input type="radio" name="fileStyle" value="2" '. Is::Checked($IS_fileStyle,2) .' />深蓝色</label>&ensp;&ensp;
			</td>
		</tr>
		<tr>
			<td align="right" class="font1_2d">附件真实地址隐藏：</td>
			<td align="left">
				<label><input type="radio" name="isHideFilePath" value="0" '. Is::Checked($IS_isHideFilePath,0) .' />关闭(默认)</label>&ensp;&ensp;
				<label><input type="radio" name="isHideFilePath" value="1" '. Is::Checked($IS_isHideFilePath,1) .' />开启<span class="font2_2">(不建议，兼容性差，下载时会增加消耗网站资源)</span></label>&ensp;&ensp;
			</td>
		</tr>
		'. Skin::ItemTrBottom() .'

		'. Skin::ItemTrTop('隐藏内容','提示框') .'
		<tr>
			<td align="right">隐藏内容提示框虚假人数：</td>
			<td align="left">
				阅读量 / <input type="text" id="payUserMul" name="payUserMul" value="'. $IS_payUserMul .'" size="3" style="width:65px;" />
				<span class="font2_2">（0采用文章各自设置，1+全局设置，-1不显示全局已阅读人数，-2关闭全局虚假人数）</span>
			</td>
		</tr>
		<tr>
			<td align="right" valign="top" style="padding-top:6px;">隐藏内容提示框头部公告：</td>
			<td>
				<textarea id="hiddenContent1" name="hiddenContent1" style="width:510px;height:60px;" onclick=\'LoadEditor("hiddenContent1",510,60,"|miniMenu|");\' title="点击开启编辑器模式">'. Str::MoreReplace($IS_hiddenContent1,'textarea') .'</textarea>
			</td>
		</tr>
		<tr>
			<td align="right" valign="top" style="padding-top:6px;" class="font1_2d">隐藏内容提示框尾部公告：</td>
			<td>
				<textarea id="hiddenContent2" name="hiddenContent2" style="width:510px;height:60px;" onclick=\'LoadEditor("hiddenContent2",510,60,"|miniMenu|");\' title="点击开启编辑器模式">'. Str::MoreReplace($IS_hiddenContent2,'textarea') .'</textarea>
			</td>
		</tr>
		'. Skin::ItemTrBottom() .'

		'. Skin::ItemTrTop('PC电脑端 - ','评论区') .'
		<tr>
			<td align="right">评论区：</td>
			<td>
				<label><input type="radio" id="isNewsReply1" name="isNewsReply" value="1" '. Is::Checked($IS_isNewsReply,1) .' onclick="CheckNewsReply();" />启用</label>&ensp;&ensp;
				<label><input type="radio" id="isNewsReply10" name="isNewsReply" value="10" '. Is::Checked($IS_isNewsReply,10) .' onclick="CheckNewsReply();" />仅限会员</label>&ensp;&ensp;
				<label><input type="radio" id="isNewsReply0" name="isNewsReply" value="0" '. Is::Checked($IS_isNewsReply,0) .' onclick="CheckNewsReply();" />禁用</label>&ensp;&ensp;
				'. $wapNoteArr['isNewsReply'] .'
			</td>
		</tr>
		<tbody id="newsReplyBox" style="display:none;">
		<tr class="newsReplyMode0Class">
			<td align="right" class="font1_2d">文章评论每页显示数量：</td>
			<td align="left">
				<input type="text" id="newsReplyNum" name="newsReplyNum" size="50" style="width:50px;" value="'. $IS_newsReplyNum .'" />
				'. $wapNoteArr['newsReplyNum'] .'
			</td>
		</tr>
		<tr class="newsReplyMode0Class">
			<td align="right" class="font1_2d">文章连续评论间隔秒数：</td>
			<td align="left">
				<input type="text" id="newsReplySecond" name="newsReplySecond" size="50" style="width:50px;" value="'. $IS_newsReplySecond .'" /> 秒
				'. $wapNoteArr['newsReplySecond'] .'
			</td>
		</tr>
		<tr class="newsReplyMode0Class">
			<td align="right" class="font1_2d">文章评论审核：</td>
			<td>
				<label><input type="radio" name="newsReplyAudit" value="0" '. Is::Checked($IS_newsReplyAudit,0) .' />开启</label>&ensp;&ensp;
				<label><input type="radio" name="newsReplyAudit" value="1" '. Is::Checked($IS_newsReplyAudit,1) .' />关闭</label>&ensp;&ensp;
				'. $wapNoteArr['newsReplyAudit'] .'
			</td>
		</tr>
		<tr class="newsReplyMode0Class">
			<td align="right" class="font1_2d">文章评论最大字数：</td>
			<td align="left">
				<input type="text" id="newsReplyMaxLen" name="newsReplyMaxLen" size="50" style="width:50px;" value="'. $IS_newsReplyMaxLen .'" />
				'. $wapNoteArr['newsReplyMaxLen'] .'
			</td>
		</tr>
		<tr class="newsReplyMode0Class">
			<td align="right" class="font1_2d">文章评论回复称呼：</td>
			<td>
				<input type="text" id="newsReplyName" name="newsReplyName" size="50" style="width:100px;" value="'. $IS_newsReplyName .'" />
				'. $wapNoteArr['newsReplyName'] .'
			</td>
		</tr>
		</tbody>
		'. Skin::ItemTrBottom() .'

		'. Skin::ItemTrTop('PC电脑端 - ','标题和内容样式') .'
		<tr>
			<td align="right" valign="top" style="padding-top:6px;">标题快捷样式：</td>
			<td>
				字体：<select id="title_family" name="title_family" onchange="CheckTitleStyle()">
						<option value="">默认</option>
						<option value="宋体" '. Is::Selected($title_family, '宋体') .' style="font-family:\'宋体\';">宋体</option>
						<option value="微软雅黑" '. Is::Selected($title_family, '微软雅黑') .' style="font-family:\'微软雅黑\';">微软雅黑</option>
						<option value="黑体" '. Is::Selected($title_family, '黑体') .' style="font-family:\'黑体\';">黑体</option>
						<option value="仿宋" '. Is::Selected($title_family, '仿宋') .' style="font-family:\'仿宋\';">仿宋</option>
						<option value="楷体" '. Is::Selected($title_family, '楷体') .' style="font-family:\'楷体\';">楷体</option>
						<option value="隶书" '. Is::Selected($title_family, '隶书') .' style="font-family:\'隶书\';">隶书</option>
						<option value="幼圆" '. Is::Selected($title_family, '幼圆') .' style="font-family:\'幼圆\';">幼圆</option>
					</select>&ensp;&ensp;&ensp;&ensp;
				字号：<select id="title_size" name="title_size" onchange="CheckTitleStyle()">
						<option value="">默认</option>
						'. Area::OptionList(12, 38, $title_size, '', '号') .'
					</select>&ensp;&ensp;&ensp;&ensp;
				颜色：<input type="text" id="title_color" name="title_color" style="width:90px;color:'. $title_color .';" value="'. $title_color .'" onblur="CheckTitleStyle()" />'. Skin::ColorBox('input','title_color','title_color') .'&ensp;&ensp;&ensp;&ensp;
				<div id="titleStyleDiv" style="padding:5px 0;color:blue;"></div>
				<div>'. $wapNoteArr['titleStyle'] .'</div>
			</td>
		</tr>
		<tr>
			<td align="right" valign="top" style="padding-top:6px;">标题自定义样式：</td>
			<td>
				<textarea id="titleStyle2" name="titleStyle2" style="width:600px;height:120px;">'. $IS_titleStyle2 .'</textarea>
				<div style="padding-top:5px;color:red;">例如：font-weight:bold;border:1px solid #000;</div>
				<div>'. $wapNoteArr['titleStyle2'] .'</div>
			</td>
		</tr>
		<tr>
			<td align="right" valign="top" style="padding-top:6px;">内容快捷样式：</td>
			<td>
				字体：<select id="content_family" name="content_family" onchange="CheckContentStyle()">
						<option value="">默认</option>
						<option value="宋体" '. Is::Selected($content_family, '宋体') .' style="font-family:\'宋体\';">宋体</option>
						<option value="微软雅黑" '. Is::Selected($content_family, '微软雅黑') .' style="font-family:\'微软雅黑\';">微软雅黑</option>
						<option value="黑体" '. Is::Selected($content_family, '黑体') .' style="font-family:\'黑体\';">黑体</option>
						<option value="仿宋" '. Is::Selected($content_family, '仿宋') .' style="font-family:\'仿宋\';">仿宋</option>
						<option value="楷体" '. Is::Selected($content_family, '楷体') .' style="font-family:\'楷体\';">楷体</option>
						<option value="隶书" '. Is::Selected($content_family, '隶书') .' style="font-family:\'隶书\';">隶书</option>
						<option value="幼圆" '. Is::Selected($content_family, '幼圆') .' style="font-family:\'幼圆\';">幼圆</option>
					</select>&ensp;&ensp;&ensp;&ensp;
				字号：<select id="content_size" name="content_size" onchange="CheckContentStyle()">
						<option value="">默认</option>
						'. Area::OptionList(12, 38, $content_size, '', '号') .'
					</select>&ensp;&ensp;&ensp;&ensp;
				颜色：<input type="text" id="content_color" name="content_color" style="width:90px;color:'. $content_color .';" value="'. $content_color .'" onblur="CheckContentStyle()" />'. Skin::ColorBox('input','content_color','content_color') .'&ensp;&ensp;&ensp;&ensp;
				行高：<input type="text" id="content_lineH" name="content_lineH" style="width:50px;" value="'. $content_lineH .'" onblur="CheckContentStyle()" />
				<div id="contentStyleDiv" style="padding:5px 0;color:blue;"></div>
				<div>'. $wapNoteArr['contentStyle'] .'</div>
			</td>
		</tr>
		<tr>
			<td align="right" valign="top" style="padding-top:6px;">内容自定义样式：</td>
			<td>
				<textarea id="contentStyle2" name="contentStyle2" style="width:600px;height:120px;">'. $IS_contentStyle2 .'</textarea>
				<div style="padding-top:5px;color:red;">例如：font-weight:bold;border:1px solid #000;</div>
				<div>'. $wapNoteArr['contentStyle2'] .'</div>
			</td>
		</tr>
		'. Skin::ItemTrBottom() .'
		</table>
		');

		$appArr = AreaApp::IdNameArr('base');
		if (! AreaApp::Jud($appArr['id'])){
			$skin->PaySoftBox('tabBuy',  $skin->TixingNoApp($appArr['name']));
			echo('<input type="hidden" id="authState" name="authState" value="false" />');

		}elseif ($sysAdminArr['SA_isLan'] == 1 && $sysAdminArr['SA_sendUrlMode'] == 0){
			$skin->PaySoftBox('tabBuy', $skin->TixingLan());
			echo('<input type="hidden" id="authState" name="authState" value="false" />');

		}else{
			$beforeURL	= GetUrl::CurrDir(1);

			$paraArr = array(
				'IS_keyWordNum'			=> $IS_keyWordNum ,
				'IS_prevNextArrow'		=> $IS_prevNextArrow ,
				'IS_newsReplyMode'		=> $IS_newsReplyMode ,
				'IS_changyanId1'		=> $IS_changyanId1 ,
				'IS_changyanId2'		=> $IS_changyanId2 ,
				'IS_changyanIsDashang'	=> $IS_changyanIsDashang ,
				'IS_changyanIsFace'		=> $IS_changyanIsFace ,
				'IS_eventStr'			=> $IS_eventStr ,
				'IS_copyAddiStr'		=> $IS_copyAddiStr ,
				'IS_isNoCollPage'		=> $IS_isNoCollPage ,
				'IS_isGoPage'			=> $IS_isGoPage ,
				'beforeURL'				=> $beforeURL ,
				'judAppChangyan'		=> AppChangyan::Jud() ? 1 : 0 ,
				'judApp41'				=> AppChangyan::Jud() ? 1 : 0 ,
				);

			$getWebHtml = OTauthWeb('infoSys', 'infoSys_V3.00.php', $paraArr);
			if (strpos($getWebHtml,'(OTCMS)') === false){
				$authAlertStr = $skin->TixingNoGet($getWebHtml);
				$getWebHtml = ''.
					$skin->PaySoftBox('tabBuy', $authAlertStr, false, true) .
					'<input type="hidden" id="authState" name="authState" value="false" />';
			}else{
				echo('
				<script language="javascript" type="text/javascript">
				$id("buyBox").style.display = "";
				</script>
				');
			}
			echo($getWebHtml);
		}

		echo('
		<div class="tabMenuSubmit"><input type="image" src="'. AdmTpl::ImgSrc('button_save') .'" /></div>
	</div>

	</form>
	');

}

?>