Commit 2fe18bda authored by 夏彬's avatar 夏彬

Merge remote-tracking branch 'origin/test' into test

parents 1897a13b 9f5e40c0
.idea
/e/data
/e/data/dbcache
/e/data/fc
/e/data/filecache
/e/data/html
/e/data/LoadTemp
/e/data/tmp
/testdata
/d
/build/
......@@ -16,6 +21,7 @@
/t
/changshang
index.html
!/appdownload/index.html
/init.zip
/composer.json
/composer.lock
......@@ -26,7 +26,7 @@ body {
position: absolute;
left: 50%;
margin-left: -350px;
bottom: 100px;
bottom: 20px;
z-index: 5;
}
.pic-text {
......@@ -77,4 +77,24 @@ body {
}
.download-group .qrcode img {
width: 200px;
}
.phone-box {
display: none;
}
.phone-box a {
display: block;
}
.phone-box a img {
width: 100%;
}
@media screen and (max-width:450px){
body {
background: none;
}
.warp,.foot-bar {
display: none;
}
.phone-box {
display: block;
}
}
\ No newline at end of file
<!DOCTYPE html>
<html lang="en">
<head>
<meta charset="utf-8">
<meta name="apple-mobile-web-app-capable" content="yes">
<meta name="apple-mobile-web-app-status-bar-style" content="black">
<meta id="viewport" name="viewport" content="width=device-width,initial-scale=1.0,minimum-scale=1.0,maximum-scale=1.0">
<meta name="format-detection" content="telephone=no">
<title>扳手APP下载</title>
<meta name="keywords" content="扳手,扳手平台,扳手门户">
<meta name="description" content="扳手是一家集家电行业资讯、家电维修教程、维修师傅互动交流的平台。">
<!--Font Icon-->
<link href="//at.alicdn.com/t/font_386523_h1qpzvbsdbihpvi.css" rel="stylesheet">
<!-- Css -->
<link rel="stylesheet" href="css/basic.css">
<link rel="stylesheet" href="css/style.css">
<body>
<div class="warp">
<div class="pic-hand">
<img src="img/pic.png">
</div>
<div class="pic-text">
<img src="img/baiwan.png">
</div>
</div>
<div class="foot-bar">
<div class="warp clearfix">
<div class="logo fl">
<img src="img/banshouApp.png">
</div>
<div class="download-group fr">
<a href="https://itunes.apple.com/cn/app/wei-xiu-hui-shi-fu-ban/id1034283227?mt=8"><i class="iconfont icon-ios"></i>iPhone版下载</a>
<a href="http://www.weixiuhui.cn/app_publish/banshou.apk"><i class="iconfont icon-android"></i>Android版下载</a>
<div class="qrcode">
<img src="img/qrcode.png">
<p>手机扫描二维码下载</p>
</div>
</div>
</div>
</div>
<div class="phone-box">
<a href="javascript:location.reload();">
<img src="img/download_phone_img.jpg">
</a>
</div>
<script>
var _hmt = _hmt || [];
(function() {
var hm = document.createElement("script");
hm.src = "https://hm.baidu.com/hm.js?59926961b935e067a1cb86d52ce44500";
var s = document.getElementsByTagName("script")[0];
s.parentNode.insertBefore(hm, s);
})();
</script>
<script type="application/javascript" src="js/mobile-detect.min.js"></script>
<script type="application/javascript" src="js/index.js"></script>
</body>
</html>
\ No newline at end of file
(function (global) {
var md = new MobileDetect(window.navigator.userAgent);
var appStoreUrl = 'https://itunes.apple.com/cn/app/wei-xiu-hui-shi-fu-ban/id1034283227?mt=8';
global.onload = function() {
var md = new MobileDetect(window.navigator.userAgent);
var appStoreUrl = 'https://itunes.apple.com/cn/app/wei-xiu-hui-shi-fu-ban/id1034283227?mt=8';
var yingYongBaoUrl ='http://fusion.qq.com/cgi-bin/qzapps/unified_jump?appid=42387359&from=wx&isTimeline=false&actionFlag=0&params=pname%3Dcom.wxhkj.weixiuhui%26versioncode%3D22%26channelid%3D%26actionflag%3D0';
//判断是否为移动端
if (md.mobile()) {
setTimeout(function() {
if(md.is('iPhone') || md.is('iPad')){
window.location.href = appStoreUrl;
}else{
window.location.href = yingYongBaoUrl;
}
}, 1000);
}
};
var yingYongBaoUrl ='http://fusion.qq.com/cgi-bin/qzapps/unified_jump?appid=42387359&from=wx&isTimeline=false&actionFlag=0&params=pname%3Dcom.wxhkj.weixiuhui%26versioncode%3D22%26channelid%3D%26actionflag%3D0';
//判断是否为移动端
if(md.mobile()){
if(md.is('iPhone')){
window.location.href = appStoreUrl;
}else if(md.is('iPad')){
window.location.href = appStoreUrl;
}else{
window.location.href = yingYongBaoUrl;
}
}
})(window);
\ No newline at end of file
......@@ -36,6 +36,7 @@
<fileset dir="./">
<patternset>
<include name="e/**"/>
<include name="appdownload/**"/>
<include name="skin/**" />
<include name="environments/**" />
<include name="vendor/**" />
......
......@@ -449,7 +449,7 @@ function mybclass()
bclass=new Array();
bclass[0]=new Array();
bclass[0][0]='';
<?
<?php
//-----------类别js数组
$psql=$empire->query("select classid,classpath from {$dbtbpre}enewsclass order by classid");
$i=0;
......@@ -458,7 +458,7 @@ while($pr=$empire->fetch($psql))
?>
bclass[<?=$pr[classid]?>]=new Array();
bclass[<?=$pr[classid]?>][0]="<?=$pr[classpath]?>/";
<?
<?php
}
?>
}
......@@ -608,12 +608,12 @@ tb1 = new WebFXTabPane( document.getElementById( "TabPane1" ) );
<tr bgcolor="#FFFFFF">
<td width="23%" height="25">栏目名称</td>
<td> <input name="classname" type="text" id="classname" value="<?=$r[classname]?>" size="38">
<?
<?php
if($enews=="AddClass")
{
?>
<input type="button" name="Submit5" value="生成拼音目录" onclick="window.open('GetPinyin.php?hz='+document.form1.classname.value+'&returnform=opener.document.form1.classpath.value<?=$ecms_hashur['href']?>','','width=160,height=100');">
<?
<?php
}
?>
<input name="oldbclassid" type="hidden" id="oldbclassid" value="<?=$r[bclassid]?>">
......
......@@ -606,7 +606,7 @@ function AddRepAd(obj,val){
<tr>
<td colspan="2" bgcolor="C7D4F7">内容页(文件过大的请不要选择保存本地)</td>
</tr>
<?
<?php
@include($cjfile);
?>
<tr>
......
......@@ -65,7 +65,7 @@ function ChangeUser(user){
<td width="52%" height="25"><div align="center">用户名(点击选择)</div></td>
<td width="33%"><div align="center">等级</div></td>
</tr>
<?
<?php
while($r=$empire->fetch($sql))
{
$gr=$empire->fetch1("select groupname from {$dbtbpre}enewsgroup where groupid='$r[groupid]'");
......@@ -81,7 +81,7 @@ function ChangeUser(user){
<?=$gr[groupname]?>
</div></td>
</tr>
<?
<?php
}
?>
<tr bgcolor="ffffff">
......@@ -92,7 +92,7 @@ function ChangeUser(user){
</table>
</body>
</html>
<?
<?php
db_close();
$empire=null;
?>
......@@ -130,7 +130,7 @@ function CheckAll(form)
<td width="8%" height="25"><div align="center">采集地址</div></td>
<td width="14%" height="25"><div align="center">操作</div></td>
</tr>
<?
<?php
while($r=$empire->fetch($sql))
{
$r[title]=stripSlashes(sub($r[title],0,30,false));
......@@ -163,7 +163,7 @@ function CheckAll(form)
<td height="25"><div align="center"><a href="EditCjNews.php?classid=<?=$classid?>&id=<?=$r[id]?>&enews=EditCjNews&from=<?=ehtmlspecialchars($_GET['from'])?><?=$ecms_hashur['ehref']?>">修改</a>
| <a href="ecmscj.php?enews=DelCjNews&classid=<?=$classid?>&id=<?=$r[id]?>&from<?=ehtmlspecialchars($_GET['from'])?><?=$ecms_hashur['href']?>" onclick="return confirm('确认要删除?');">删除</a></div></td>
</tr>
<?
<?php
}
db_close();
$empire=null;
......
......@@ -69,7 +69,7 @@ $empire=null;
<?=$truefile?>
</a></td>
</tr>
<?
<?php
}
@closedir($hand);
?>
......
......@@ -57,7 +57,7 @@ $sql=$empire->query("select classid,classname from {$dbtbpre}enewserrorclass ord
<td width="59%" height="25"><div align="center">类别名称</div></td>
<td width="31%" height="25"><div align="center">操作</div></td>
</tr>
<?
<?php
while($r=$empire->fetch($sql))
{
?>
......@@ -78,7 +78,7 @@ $sql=$empire->query("select classid,classname from {$dbtbpre}enewserrorclass ord
</div></td>
</tr>
</form>
<?
<?php
}
db_close();
$empire=null;
......
......@@ -168,7 +168,7 @@ function CheckAll(form)
<form name="form1" method="post" action="ListError.php" onsubmit="return confirm('确认要删除?');">
<?=$ecms_hashur['form']?>
<input type=hidden name=cid value="<?=$cid?>">
<?
<?php
while($r=$empire->fetch($sql))
{
if($class_r[$r[classid]][tbname])
......@@ -213,7 +213,7 @@ while($r=$empire->fetch($sql))
</table></td>
</tr>
</table>
<?
<?php
}
db_close();
$empire=null;
......
......@@ -171,7 +171,7 @@ $sql=$empire->query("select id,player,filename,bz from {$dbtbpre}enewsplayer ord
<td width="13%">说明</td>
<td width="32%" height="25"> 操作</td>
</tr>
<?
<?php
while($r=$empire->fetch($sql))
{
?>
......@@ -194,7 +194,7 @@ $sql=$empire->query("select id,player,filename,bz from {$dbtbpre}enewsplayer ord
</div></td>
</tr>
</form>
<?
<?php
}
db_close();
$empire=null;
......
......@@ -143,7 +143,7 @@ $sql=$empire->query("select urlid,urlname,url,downtype from {$dbtbpre}enewsdownu
<td width="74%" height="25">下载地址前缀管理:</td>
<td width="26%" height="25"><div align="center">操作</div></td>
</tr>
<?
<?php
while($r=$empire->fetch($sql))
{
?>
......@@ -167,7 +167,7 @@ $sql=$empire->query("select urlid,urlname,url,downtype from {$dbtbpre}enewsdownu
</div></td>
</tr>
</form>
<?
<?php
}
db_close();
$empire=null;
......
......@@ -178,7 +178,7 @@ $returnpage=page2($num,$line,$page_line,$start,$page,$search);
<td width="8%" height="25"> <div align="center">开启</div></td>
<td width="14%" height="25"> <div align="center">操作</div></td>
</tr>
<?
<?php
while($r=$empire->fetch($sql))
{
if($r[isopen])
......@@ -204,7 +204,7 @@ $returnpage=page2($num,$line,$page_line,$start,$page,$search);
</div></td>
<td height="25"> <div align="center">[<a href="AddDo.php?enews=EditDo&doid=<?=$r[doid]?><?=$ecms_hashur['ehref']?>">修改</a>]&nbsp;[<a href="ListDo.php?enews=DelDo&doid=<?=$r[doid]?><?=$ecms_hashur['href']?>" onclick="return confirm('确认要删除?');">删除</a>]</div></td>
</tr>
<?
<?php
}
?>
<tr bgcolor="#FFFFFF">
......@@ -218,7 +218,7 @@ $returnpage=page2($num,$line,$page_line,$start,$page,$search);
</table>
</body>
</html>
<?
<?php
db_close();
$empire=null;
?>
......@@ -531,7 +531,7 @@ var newWindow = null
<td width="24%" height="25">
<div align="center">操作</div></td>
</tr>
<?
<?php
echo ShowClass_ListInfoClass(0,'');
?>
</table>
......@@ -551,7 +551,7 @@ echo ShowClass_ListInfoClass(0,'');
</table>
</body>
</html>
<?
<?php
db_close();
$empire=null;
?>
......@@ -256,7 +256,7 @@ $returnpage=page2($num,$line,$page_line,$start,$page,$search);
<td width="14%" height="25">栏目管理</td>
<td width="29%" height="25">操作</td>
</tr>
<?
<?php
while($r=$empire->fetch($sql))
{
$docinfo="";
......@@ -301,7 +301,7 @@ $returnpage=page2($num,$line,$page_line,$start,$page,$search);
<td height="25"><?="<a href='enews.php?enews=ReListHtml&from=ListPageClass.php".urlencode($ecms_hashur['whehref'])."&classid=".$r[classid].$ecms_hashur['href']."'>刷新</a>".$renewshtml."<a href='ecmschtml.php?enews=ReSingleJs&doing=0&classid=".$r[classid].$ecms_hashur['href']."'>JS</a> <a href='#ecms' onclick=window.open('view/ClassUrl.php?classid=".$r[classid].$ecms_hashur['ehref']."','','width=500,height=250');>调用</a>".$classinfotype.$docinfo;?>
</td>
</tr>
<?
<?php
}
?>
<tr bgcolor="#ffffff">
......@@ -331,7 +331,7 @@ $returnpage=page2($num,$line,$page_line,$start,$page,$search);
</table>
</body>
</html>
<?
<?php
db_close();
$empire=null;
?>
......@@ -195,7 +195,7 @@ function CheckAll(form)
</form>
</body>
</html>
<?
<?php
db_close();
$empire=null;
?>
......@@ -173,7 +173,7 @@ $returnpage=page2($num,$line,$page_line,$start,$page,$search);
<td width="70%" height="25">信息来源</td>
<td width="30%" height="25"><div align="center">操作</div></td>
</tr>
<?
<?php
while($r=$empire->fetch($sql))
{
?>
......@@ -194,7 +194,7 @@ $returnpage=page2($num,$line,$page_line,$start,$page,$search);
</div></td>
</tr>
</form>
<?
<?php
}
db_close();
$empire=null;
......
......@@ -149,7 +149,7 @@ $sql=$empire->query("select classid,classname from {$dbtbpre}enewskeyclass order
<td width="59%" height="25"><div align="center">分类名称</div></td>
<td width="31%" height="25"><div align="center">操作</div></td>
</tr>
<?
<?php
while($r=$empire->fetch($sql))
{
?>
......@@ -169,7 +169,7 @@ $sql=$empire->query("select classid,classname from {$dbtbpre}enewskeyclass order
</div></td>
</tr>
</form>
<?
<?php
}
db_close();
$empire=null;
......
......@@ -251,7 +251,7 @@ while($cr=$empire->fetch($csql))
<td width="64%" height="25"><div align="center">预览</div></td>
<td width="26%" height="25"><div align="center">操作</div></td>
</tr>
<?
<?php
while($r=$empire->fetch($sql))
{
?>
......@@ -267,7 +267,7 @@ while($cr=$empire->fetch($csql))
<input name="picid[]" type="checkbox" id="picid[]" value="<?=$r[picid]?>" onclick="if(this.checked){pic<?=$r[picid]?>.style.backgroundColor='#DBEAF5';}else{pic<?=$r[picid]?>.style.backgroundColor='#ffffff';}">
]</div></td>
</tr>
<?
<?php
}
?>
<tr bgcolor="#FFFFFF">
......@@ -285,7 +285,7 @@ while($cr=$empire->fetch($csql))
</form>
</body>
</html>
<?
<?php
db_close();
$empire=null;
?>
......@@ -141,7 +141,7 @@ $sql=$empire->query("select classid,classname from {$dbtbpre}enewspicclass order
<td width="59%" height="25"><div align="center">类别名称</div></td>
<td width="31%" height="25"><div align="center">操作</div></td>
</tr>
<?
<?php
while($r=$empire->fetch($sql))
{
?>
......@@ -161,7 +161,7 @@ $sql=$empire->query("select classid,classname from {$dbtbpre}enewspicclass order
</div></td>
</tr>
</form>
<?
<?php
}
db_close();
$empire=null;
......
......@@ -209,7 +209,7 @@ while($cr=$empire->fetch($csql))
<td width="70%" height="25">关键字</td>
<td width="30%" height="25"><div align="center">操作</div></td>
</tr>
<?
<?php
while($r=$empire->fetch($sql))
{
?>
......@@ -235,7 +235,7 @@ while($cr=$empire->fetch($csql))
</div></td>
</tr>
</form>
<?
<?php
}
db_close();
$empire=null;
......
......@@ -160,7 +160,7 @@ $returnpage=page2($num,$line,$page_line,$start,$page,$search);
<td width="86%" height="25">过滤字符</td>
<td width="14%" height="25"><div align="center">操作</div></td>
</tr>
<?
<?php
while($r=$empire->fetch($sql))
{
?>
......@@ -181,7 +181,7 @@ $returnpage=page2($num,$line,$page_line,$start,$page,$search);
</div></td>
</tr>
</form>
<?
<?php
}
db_close();
$empire=null;
......
......@@ -161,7 +161,7 @@ $returnpage=page2($num,$line,$page_line,$start,$page,$search);
<td width="70%" height="25">作者</td>
<td width="30%" height="25"><div align="center">操作</div></td>
</tr>
<?
<?php
while($r=$empire->fetch($sql))
{
?>
......@@ -182,7 +182,7 @@ $returnpage=page2($num,$line,$page_line,$start,$page,$search);
</div></td>
</tr>
</form>
<?
<?php
}
db_close();
$empire=null;
......
......@@ -121,7 +121,7 @@ function CheckAll(form)
<td height="25" bgcolor="#DBEAF5"><strong>站点目录包 (/)</strong></td>
<td height="25" bgcolor="#DBEAF5">信息栏目存放目录</td>
</tr>
<?
<?php
$sql=$empire->query("select classid,classurl,classname,classpath from {$dbtbpre}enewsclass where bclassid=0 order by classid desc");
while($r=$empire->fetch($sql))
{
......@@ -147,7 +147,7 @@ function CheckAll(form)
<?=$r[classurl]?>
</td>
</tr>
<?
<?php
}
?>
<tr>
......@@ -177,7 +177,7 @@ function CheckAll(form)
</form>
</body>
</html>
<?
<?php
db_close();
$empire=null;
?>
......@@ -389,7 +389,7 @@ function CheckAll(form)
</p>
</body>
</html>
<?
<?php
db_close();
$empire=null;
?>
......@@ -250,7 +250,7 @@ function CheckAll(form)
</p>
</body>
</html>
<?
<?php
db_close();
$empire=null;
?>
......@@ -230,7 +230,7 @@ function CheckAll(form)
</form>
</body>
</html>
<?
<?php
db_close();
$empire=null;
?>
......@@ -186,7 +186,7 @@ function CheckAll(form)
<td width="27%" height="25"><div align="center">搜索字段</div></td>
<td width="9%"><div align="center">人气</div></td>
</tr>
<?
<?php
while($r=$empire->fetch($sql))
{
if($r['iskey'])
......@@ -214,7 +214,7 @@ function CheckAll(form)
<?=$r[onclick]?>
</div></td>
</tr>
<?
<?php
}
?>
<tr bgcolor="#FFFFFF">
......@@ -230,7 +230,7 @@ function CheckAll(form)
</table>
</body>
</html>
<?
<?php
db_close();
$empire=null;
?>
......@@ -129,7 +129,7 @@ while($level_r=$empire->fetch($mgsql))
</form>
</body>
</html>
<?
<?php
db_close();
$empire=null;
?>
\ No newline at end of file
......@@ -145,7 +145,7 @@ $href="AddPrecode.php?enews=$enews&time=$time&id=$id".$ecms_hashur['ehref'];
</form>
</body>
</html>
<?
<?php
db_close();
$empire=null;
?>
\ No newline at end of file
......@@ -450,7 +450,7 @@ function CheckAll(form)
<td width="12%"><div align="center">支付方式</div></td>
<td width="19%"><div align="center">状态</div></td>
</tr>
<?
<?php
while($r=$empire->fetch($sql))
{
if(empty($r[userid]))//非会员
......@@ -559,7 +559,7 @@ function CheckAll(form)
</div></td>
<td> <div align="center"><strong><?=$ha?></strong>/<strong><?=$ou?></strong>/<strong><?=$ch?></strong></div></td>
</tr>
<?
<?php
}
?>
<tr bgcolor="#FFFFFF">
......@@ -611,7 +611,7 @@ function CheckAll(form)
</body>
</html>
<?
<?php
db_close();
$empire=null;
?>
......@@ -189,7 +189,7 @@ $returnpage=page2($num,$line,$page_line,$start,$page,$search);
<td width="16%"><div align="center">开启</div></td>
<td width="22%" height="25"> <div align="center">操作</div></td>
</tr>
<?
<?php
while($r=$empire->fetch($sql))
{
?>
......@@ -204,7 +204,7 @@ $returnpage=page2($num,$line,$page_line,$start,$page,$search);
<td><div align="center"><?=$r[isclose]==1?'关闭':'开启'?></div></td>
<td height="25"> <div align="center">[<a href="AddPayfs.php?enews=EditPayfs&payid=<?=$r[payid]?><?=$ecms_hashur['ehref']?>">修改</a>] [<a href="ListPayfs.php?enews=DefPayfs&payid=<?=$r[payid]?><?=$ecms_hashur['href']?>">设为默认</a>] [<a href="ListPayfs.php?enews=DelPayfs&payid=<?=$r[payid]?><?=$ecms_hashur['href']?>" onclick="return confirm('确认要删除?');">删除</a>]</div></td>
</tr>
<?
<?php
}
?>
<tr bgcolor="#FFFFFF">
......@@ -214,7 +214,7 @@ $returnpage=page2($num,$line,$page_line,$start,$page,$search);
</table>
</body>
</html>
<?
<?php
db_close();
$empire=null;
?>
......@@ -399,7 +399,7 @@ function CheckAll(form)
<td width="7%"><div align="center">重复使用</div></td>
<td width="15%" height="25"> <div align="center">操作</div></td>
</tr>
<?
<?php
while($r=$empire->fetch($sql))
{
if($r['pretype']==1)
......@@ -428,7 +428,7 @@ function CheckAll(form)
<td><div align="center"><?=$r['reuse']==1?'可重复':'一次'?></div></td>
<td height="25"> <div align="center">[<a href="AddPrecode.php?enews=EditPrecode&id=<?=$r[id]?>&time=<?=$time?><?=$ecms_hashur['ehref']?>">修改</a>]&nbsp;[<a href="ListPrecode.php?enews=DelPrecode&id=<?=$r[id]?>&time=<?=$time?><?=$ecms_hashur['href']?>" onclick="return confirm('确认要删除?');">删除</a>]</div></td>
</tr>
<?
<?php
}
?>
<tr bgcolor="#FFFFFF">
......@@ -443,7 +443,7 @@ function CheckAll(form)
</table>
</body>
</html>
<?
<?php
db_close();
$empire=null;
?>
\ No newline at end of file
......@@ -188,7 +188,7 @@ $returnpage=page2($num,$line,$page_line,$start,$page,$search);
<td width="11%"><div align="center">启用</div></td>
<td width="22%" height="25"> <div align="center">操作</div></td>
</tr>
<?
<?php
while($r=$empire->fetch($sql))
{
?>
......@@ -206,7 +206,7 @@ $returnpage=page2($num,$line,$page_line,$start,$page,$search);
<td><div align="center"><?=$r[isclose]==1?'关闭':'开启'?></div></td>
<td height="25"> <div align="center">[<a href="AddPs.php?enews=EditPs&pid=<?=$r[pid]?><?=$ecms_hashur['ehref']?>">修改</a>] [<a href="ListPs.php?enews=DefPs&pid=<?=$r[pid]?><?=$ecms_hashur['href']?>">设为默认</a>] [<a href="ListPs.php?enews=DelPs&pid=<?=$r[pid]?><?=$ecms_hashur['href']?>" onclick="return confirm('确认要删除?');">删除</a>]</div></td>
</tr>
<?
<?php
}
?>
<tr bgcolor="#FFFFFF">
......@@ -216,7 +216,7 @@ $returnpage=page2($num,$line,$page_line,$start,$page,$search);
</table>
</body>
</html>
<?
<?php
db_close();
$empire=null;
?>
......@@ -257,7 +257,7 @@ function PrintDd()
</tr>
<tr>
<td colspan="2">
<?
<?php
ShowBuyproduct($addr[buycar],$r[payby]);
?> </td>
</tr>
......@@ -479,7 +479,7 @@ function PrintDd()
</table>
</body>
</html>
<?
<?php
db_close();
$empire=null;
?>
\ No newline at end of file
......@@ -49,7 +49,7 @@ function tourl(url){
<a href="../../workflow/ListWfInfo.php<?=$ecms_hashur['whehref']?>" target="main" onmouseout="this.style.fontWeight=''" onmouseover="this.style.fontWeight='bold'">签发信息</a>
</td>
</tr>
<?
<?php
if($r[dopl])
{
?>
......@@ -58,7 +58,7 @@ function tourl(url){
<a href="../../openpage/AdminPage.php?leftfile=<?=urlencode('../pl/PlNav.php'.$ecms_hashur['whehref'])?>&mainfile=<?=urlencode('../pl/PlMain.php'.$ecms_hashur['whehref'])?>&title=<?=urlencode('管理评论')?><?=$ecms_hashur['ehref']?>" target="main" onmouseout="this.style.fontWeight=''" onmouseover="this.style.fontWeight='bold'">管理评论</a>
</td>
</tr>
<?
<?php
}
?>
<tr>
......@@ -85,7 +85,7 @@ function tourl(url){
</td>
</tr>
<?
<?php
if($r[doclass]||$r[dosetmclass]||$r[doclassf])
{
?>
......@@ -97,7 +97,7 @@ if($r[doclass]||$r[dosetmclass]||$r[doclassf])
<tr id="itemclassdata" style="display:none">
<td class="list">
<table border='0' cellspacing='0' cellpadding='0'>
<?
<?php
if($r[doclass])
{
?>
......@@ -111,7 +111,7 @@ if($r[doclass]||$r[dosetmclass]||$r[doclassf])
<a href="../../ListPageClass.php<?=$ecms_hashur['whehref']?>" target="main" onmouseout="this.style.fontWeight=''" onmouseover="this.style.fontWeight='bold'">管理栏目(分页)</a>
</td>
</tr>
<?
<?php
}
if($r[doclassf])
{
......@@ -121,7 +121,7 @@ if($r[doclass]||$r[dosetmclass]||$r[doclassf])
<a href="../../info/ListClassF.php<?=$ecms_hashur['whehref']?>" target="main" onmouseout="this.style.fontWeight=''" onmouseover="this.style.fontWeight='bold'">栏目自定义字段</a>
</td>
</tr>
<?
<?php
}
if($r[dosetmclass])
{
......@@ -131,17 +131,17 @@ if($r[doclass]||$r[dosetmclass]||$r[doclassf])
<a href="../../SetMoreClass.php<?=$ecms_hashur['whehref']?>" target="main" onmouseout="this.style.fontWeight=''" onmouseover="this.style.fontWeight='bold'">批量设置栏目属性</a>
</td>
</tr>
<?
<?php
}
?>
</table>
</td>
</tr>
<?
<?php
}
?>
<?
<?php
if($r[dozt]||$r[doztf])
{
?>
......@@ -183,11 +183,11 @@ if($r[dozt]||$r[doztf])
</table>
</td>
</tr>
<?
<?php
}
?>
<?
<?php
if($r[doinfotype])
{
?>
......@@ -212,11 +212,11 @@ if($r[doinfotype])
</table>
</td>
</tr>
<?
<?php
}
?>
<?
<?php
if($r[dosp])
{
?>
......@@ -241,11 +241,11 @@ if($r[dosp])
</table>
</td>
</tr>
<?
<?php
}
?>
<?
<?php
if($r[douserpage])
{
?>
......@@ -275,11 +275,11 @@ if($r[douserpage])
</table>
</td>
</tr>
<?
<?php
}
?>
<?
<?php
if($r[douserlist])
{
?>
......@@ -309,11 +309,11 @@ if($r[douserlist])
</table>
</td>
</tr>
<?
<?php
}
?>
<?
<?php
if($r[douserjs])
{
?>
......@@ -343,11 +343,11 @@ if($r[douserjs])
</table>
</td>
</tr>
<?
<?php
}
?>
<?
<?php
if($r[dotags])
{
?>
......@@ -377,11 +377,11 @@ if($r[dotags])
</table>
</td>
</tr>
<?
<?php
}
?>
<?
<?php
if($r[dofile])
{
?>
......@@ -401,11 +401,11 @@ if($r[dofile])
</table>
</td>
</tr>
<?
<?php
}
?>
<?
<?php
if($r[docj])
{
?>
......@@ -435,11 +435,11 @@ if($r[docj])
</table>
</td>
</tr>
<?
<?php
}
?>
<?
<?php
if($r[dosearchall])
{
?>
......@@ -469,11 +469,11 @@ if($r[dosearchall])
</table>
</td>
</tr>
<?
<?php
}
?>
<?
<?php
if($r[dowap])
{
?>
......@@ -498,11 +498,11 @@ if($r[dowap])
</table>
</td>
</tr>
<?
<?php
}
?>
<?
<?php
if($r[domovenews]||$r[doinfodoc]||$r[dodelinfodata]||$r[dorepnewstext]||$r[dototaldata]||$r[dosearchkey]||$r[dovotemod])
{
?>
......@@ -514,7 +514,7 @@ if($r[domovenews]||$r[doinfodoc]||$r[dodelinfodata]||$r[dorepnewstext]||$r[dotot
<tr id="itemcother" style="display:none">
<td class="list1">
<table border='0' cellspacing='0' cellpadding='0'>
<?
<?php
if($r[dototaldata])
{
?>
......@@ -528,7 +528,7 @@ if($r[domovenews]||$r[doinfodoc]||$r[dodelinfodata]||$r[dorepnewstext]||$r[dotot
<a href="../../user/UserTotal.php<?=$ecms_hashur['whehref']?>" target="main" onmouseout="this.style.fontWeight=''" onmouseover="this.style.fontWeight='bold'">用户发布统计</a>
</td>
</tr>
<?
<?php
}
if($r[dosearchkey])
{
......@@ -538,7 +538,7 @@ if($r[domovenews]||$r[doinfodoc]||$r[dodelinfodata]||$r[dorepnewstext]||$r[dotot
<a href="../../SearchKey.php<?=$ecms_hashur['whehref']?>" target="main" onmouseout="this.style.fontWeight=''" onmouseover="this.style.fontWeight='bold'">管理搜索关键字</a>
</td>
</tr>
<?
<?php
}
if($r[dorepnewstext])
{
......@@ -548,7 +548,7 @@ if($r[domovenews]||$r[doinfodoc]||$r[dodelinfodata]||$r[dorepnewstext]||$r[dotot
<a href="../../db/RepNewstext.php<?=$ecms_hashur['whehref']?>" target="main" onmouseout="this.style.fontWeight=''" onmouseover="this.style.fontWeight='bold'">批量替换字段值</a>
</td>
</tr>
<?
<?php
}
if($r[domovenews])
{
......@@ -558,7 +558,7 @@ if($r[domovenews]||$r[doinfodoc]||$r[dodelinfodata]||$r[dorepnewstext]||$r[dotot
<a href="../../MoveClassNews.php<?=$ecms_hashur['whehref']?>" target="main" onmouseout="this.style.fontWeight=''" onmouseover="this.style.fontWeight='bold'">批量转移信息</a>
</td>
</tr>
<?
<?php
}
if($r[doinfodoc])
{
......@@ -568,7 +568,7 @@ if($r[domovenews]||$r[doinfodoc]||$r[dodelinfodata]||$r[dorepnewstext]||$r[dotot
<a href="../../InfoDoc.php<?=$ecms_hashur['whehref']?>" target="main" onmouseout="this.style.fontWeight=''" onmouseover="this.style.fontWeight='bold'">信息批量归档</a>
</td>
</tr>
<?
<?php
}
if($r[dodelinfodata])
{
......@@ -578,7 +578,7 @@ if($r[domovenews]||$r[doinfodoc]||$r[dodelinfodata]||$r[dorepnewstext]||$r[dotot
<a href="../../db/DelData.php<?=$ecms_hashur['whehref']?>" target="main" onmouseout="this.style.fontWeight=''" onmouseover="this.style.fontWeight='bold'">批量删除信息</a>
</td>
</tr>
<?
<?php
}
if($r[dovotemod])
{
......@@ -588,13 +588,13 @@ if($r[domovenews]||$r[doinfodoc]||$r[dodelinfodata]||$r[dorepnewstext]||$r[dotot
<a href="../../other/ListVoteMod.php<?=$ecms_hashur['whehref']?>" target="main" onmouseout="this.style.fontWeight=''" onmouseover="this.style.fontWeight='bold'">管理预设投票</a>
</td>
</tr>
<?
<?php
}
?>
</table>
</td>
</tr>
<?
<?php
}
?>
</table>
......
......@@ -26,7 +26,7 @@ function tourl(url){
</table>
<table border='0' cellspacing='0' cellpadding='0'>
<?
<?php
if($r[dobefrom]||$r[dowriter]||$r[dokey]||$r[doword])
{
?>
......@@ -38,7 +38,7 @@ if($r[dobefrom]||$r[dowriter]||$r[dokey]||$r[doword])
<tr id="itemnewsadmin" style="display:none">
<td class="list">
<table border='0' cellspacing='0' cellpadding='0'>
<?
<?php
if($r[dobefrom])
{
?>
......@@ -47,7 +47,7 @@ if($r[dobefrom]||$r[dowriter]||$r[dokey]||$r[doword])
<a href="../../NewsSys/BeFrom.php<?=$ecms_hashur['whehref']?>" target="main" onmouseout="this.style.fontWeight=''" onmouseover="this.style.fontWeight='bold'">管理信息来源</a>
</td>
</tr>
<?
<?php
}
if($r[dowriter])
{
......@@ -57,7 +57,7 @@ if($r[dobefrom]||$r[dowriter]||$r[dokey]||$r[doword])
<a href="../../NewsSys/writer.php<?=$ecms_hashur['whehref']?>" target="main" onmouseout="this.style.fontWeight=''" onmouseover="this.style.fontWeight='bold'">管理作者</a>
</td>
</tr>
<?
<?php
}
if($r[dokey])
{
......@@ -67,7 +67,7 @@ if($r[dobefrom]||$r[dowriter]||$r[dokey]||$r[doword])
<a href="../../NewsSys/key.php<?=$ecms_hashur['whehref']?>" target="main" onmouseout="this.style.fontWeight=''" onmouseover="this.style.fontWeight='bold'">管理内容关键字</a>
</td>
</tr>
<?
<?php
}
if($r[doword])
{
......@@ -77,17 +77,17 @@ if($r[dobefrom]||$r[dowriter]||$r[dokey]||$r[doword])
<a href="../../NewsSys/word.php<?=$ecms_hashur['whehref']?>" target="main" onmouseout="this.style.fontWeight=''" onmouseover="this.style.fontWeight='bold'">管理过滤字符</a>
</td>
</tr>
<?
<?php
}
?>
</table>
</td>
</tr>
<?
<?php
}
?>
<?
<?php
if($r[dodownurl]||$r[dodeldownrecord]||$r[dodownerror]||$r[dorepdownpath]||$r[doplayer])
{
?>
......@@ -99,7 +99,7 @@ if($r[dodownurl]||$r[dodeldownrecord]||$r[dodownerror]||$r[dorepdownpath]||$r[do
<tr id="itemdownadmin" style="display:none">
<td class="list">
<table border='0' cellspacing='0' cellpadding='0'>
<?
<?php
if($r[dodownurl])
{
?>
......@@ -108,7 +108,7 @@ if($r[dodownurl]||$r[dodeldownrecord]||$r[dodownerror]||$r[dorepdownpath]||$r[do
<a href="../../DownSys/url.php<?=$ecms_hashur['whehref']?>" target="main" onmouseout="this.style.fontWeight=''" onmouseover="this.style.fontWeight='bold'">管理地址前缀</a>
</td>
</tr>
<?
<?php
}
if($r[dodeldownrecord])
{
......@@ -118,7 +118,7 @@ if($r[dodownurl]||$r[dodeldownrecord]||$r[dodownerror]||$r[dorepdownpath]||$r[do
<a href="../../DownSys/DelDownRecord.php<?=$ecms_hashur['whehref']?>" target="main" onmouseout="this.style.fontWeight=''" onmouseover="this.style.fontWeight='bold'">删除下载记录</a>
</td>
</tr>
<?
<?php
}
if($r[dodownerror])
{
......@@ -128,7 +128,7 @@ if($r[dodownurl]||$r[dodeldownrecord]||$r[dodownerror]||$r[dorepdownpath]||$r[do
<a href="../../DownSys/ListError.php<?=$ecms_hashur['whehref']?>" target="main" onmouseout="this.style.fontWeight=''" onmouseover="this.style.fontWeight='bold'">管理错误报告</a>
</td>
</tr>
<?
<?php
}
if($r[dorepdownpath])
{
......@@ -138,7 +138,7 @@ if($r[dodownurl]||$r[dodeldownrecord]||$r[dodownerror]||$r[dorepdownpath]||$r[do
<a href="../../DownSys/RepDownLevel.php<?=$ecms_hashur['whehref']?>" target="main" onmouseout="this.style.fontWeight=''" onmouseover="this.style.fontWeight='bold'">批量替换地址权限</a>
</td>
</tr>
<?
<?php
}
if($r[doplayer])
{
......@@ -148,17 +148,17 @@ if($r[dodownurl]||$r[dodeldownrecord]||$r[dodownerror]||$r[dorepdownpath]||$r[do
<a href="../../DownSys/player.php<?=$ecms_hashur['whehref']?>" target="main" onmouseout="this.style.fontWeight=''" onmouseover="this.style.fontWeight='bold'">播放器管理</a>
</td>
</tr>
<?
<?php
}
?>
</table>
</td>
</tr>
<?
<?php
}
?>
<?
<?php
if($r[dopay])
{
?>
......@@ -188,11 +188,11 @@ if($r[dopay])
</table>
</td>
</tr>
<?
<?php
}
?>
<?
<?php
if($r[dopicnews])
{
?>
......@@ -217,7 +217,7 @@ if($r[dopicnews])
</table>
</td>
</tr>
<?
<?php
}
?>
</table>
......
......@@ -26,7 +26,7 @@ function tourl(url){
</table>
<table border='0' cellspacing='0' cellpadding='0'>
<?
<?php
if($r[dopublic]||$r[dofirewall]||$r[dosetsafe]||$r[dopubvar])
{
?>
......@@ -38,7 +38,7 @@ if($r[dopublic]||$r[dofirewall]||$r[dosetsafe]||$r[dopubvar])
<tr id="itemsetting" style="display:none">
<td class="list">
<table border='0' cellspacing='0' cellpadding='0'>
<?
<?php
if($r[dopublic])
{
?>
......@@ -52,7 +52,7 @@ if($r[dopublic]||$r[dofirewall]||$r[dosetsafe]||$r[dopubvar])
<a href="../../pub/SetRewrite.php<?=$ecms_hashur['whehref']?>" target="main" onmouseout="this.style.fontWeight=''" onmouseover="this.style.fontWeight='bold'">伪静态参数设置</a>
</td>
</tr>
<?
<?php
}
if($r[dopubvar])
{
......@@ -62,7 +62,7 @@ if($r[dopublic]||$r[dofirewall]||$r[dosetsafe]||$r[dopubvar])
<a href="../../pub/ListPubVar.php<?=$ecms_hashur['whehref']?>" target="main" onmouseout="this.style.fontWeight=''" onmouseover="this.style.fontWeight='bold'">扩展变量</a>
</td>
</tr>
<?
<?php
}
if($r[dosetsafe])
{
......@@ -72,7 +72,7 @@ if($r[dopublic]||$r[dofirewall]||$r[dosetsafe]||$r[dopubvar])
<a href="../../pub/SetSafe.php<?=$ecms_hashur['whehref']?>" target="main" onmouseout="this.style.fontWeight=''" onmouseover="this.style.fontWeight='bold'">安全参数配置</a>
</td>
</tr>
<?
<?php
}
if($r[dofirewall])
{
......@@ -82,17 +82,17 @@ if($r[dopublic]||$r[dofirewall]||$r[dosetsafe]||$r[dopubvar])
<a href="../../pub/SetFirewall.php<?=$ecms_hashur['whehref']?>" target="main" onmouseout="this.style.fontWeight=''" onmouseover="this.style.fontWeight='bold'">网站防火墙</a>
</td>
</tr>
<?
<?php
}
?>
</table>
</td>
</tr>
<?
<?php
}
?>
<?
<?php
if($r[dochangedata]||$r[dopostdata])
{
?>
......@@ -104,7 +104,7 @@ if($r[dochangedata]||$r[dopostdata])
<tr id="itemchangedata" style="display:none">
<td class="list">
<table border='0' cellspacing='0' cellpadding='0'>
<?
<?php
if($r[dochangedata])
{
?>
......@@ -123,7 +123,7 @@ if($r[dochangedata]||$r[dopostdata])
<a href="../../ReHtml/DoUpdateData.php<?=$ecms_hashur['whehref']?>" target="main" onmouseout="this.style.fontWeight=''" onmouseover="this.style.fontWeight='bold'">数据整理</a>
</td>
</tr>
<?
<?php
}
if($r[dopostdata])
{
......@@ -133,17 +133,17 @@ if($r[dochangedata]||$r[dopostdata])
<a href="../../PostUrlData.php<?=$ecms_hashur['whehref']?>" target="main" onmouseout="this.style.fontWeight=''" onmouseover="this.style.fontWeight='bold'">远程发布</a>
</td>
</tr>
<?
<?php
}
?>
</table>
</td>
</tr>
<?
<?php
}
?>
<?
<?php
if($r[dof]||$r[dom]||$r[dotable])
{
?>
......@@ -168,11 +168,11 @@ if($r[dof]||$r[dom]||$r[dotable])
</table>
</td>
</tr>
<?
<?php
}
?>
<?
<?php
if($r[dodo]||$r[dotask])
{
?>
......@@ -184,7 +184,7 @@ if($r[dodo]||$r[dotask])
<tr id="itemtask" style="display:none">
<td class="list">
<table border='0' cellspacing='0' cellpadding='0'>
<?
<?php
if($r[dodo])
{
?>
......@@ -193,7 +193,7 @@ if($r[dodo]||$r[dotask])
<a href="../../ListDo.php<?=$ecms_hashur['whehref']?>" target="main" onmouseout="this.style.fontWeight=''" onmouseover="this.style.fontWeight='bold'">管理刷新任务</a>
</td>
</tr>
<?
<?php
}
if($r[dotask])
{
......@@ -203,17 +203,17 @@ if($r[dodo]||$r[dotask])
<a href="../../other/ListTask.php<?=$ecms_hashur['whehref']?>" target="main" onmouseout="this.style.fontWeight=''" onmouseover="this.style.fontWeight='bold'">管理计划任务</a>
</td>
</tr>
<?
<?php
}
?>
</table>
</td>
</tr>
<?
<?php
}
?>
<?
<?php
if($r[doworkflow])
{
?>
......@@ -238,11 +238,11 @@ if($r[doworkflow])
</table>
</td>
</tr>
<?
<?php
}
?>
<?
<?php
if($r[doyh])
{
?>
......@@ -262,7 +262,7 @@ if($r[doyh])
</table>
</td>
</tr>
<?
<?php
}
?>
......@@ -286,11 +286,11 @@ if($r['domoreport'])
</table>
</td>
</tr>
<?
<?php
}
?>
<?
<?php
if($r[domenu])
{
?>
......@@ -310,11 +310,11 @@ if($r[domenu])
</table>
</td>
</tr>
<?
<?php
}
?>
<?
<?php
if($r[dodbdata]||$r[doexecsql])
{
?>
......@@ -326,7 +326,7 @@ if($r[dodbdata]||$r[doexecsql])
<tr id="itembak" style="display:none">
<td class="list1">
<table border='0' cellspacing='0' cellpadding='0'>
<?
<?php
if($r[dodbdata])
{
?>
......@@ -345,7 +345,7 @@ if($r[dodbdata]||$r[doexecsql])
<a href="../../ebak/ChangePath.php<?=$ecms_hashur['whehref']?>" target="main" onmouseout="this.style.fontWeight=''" onmouseover="this.style.fontWeight='bold'">管理备份目录</a>
</td>
</tr>
<?
<?php
}
if($r[doexecsql])
{
......@@ -355,13 +355,13 @@ if($r[dodbdata]||$r[doexecsql])
<a href="../../db/DoSql.php<?=$ecms_hashur['whehref']?>" target="main" onmouseout="this.style.fontWeight=''" onmouseover="this.style.fontWeight='bold'">执行SQL语句</a>
</td>
</tr>
<?
<?php
}
?>
</table>
</td>
</tr>
<?
<?php
}
?>
</table>
......
......@@ -94,7 +94,7 @@ if($ecms_config['esafe']['openeditdttemp']&&$r[dodttemp])
</table>
<table border='0' cellspacing='0' cellpadding='0'>
<?
<?php
if($r[dotemplate])
{
?>
......@@ -119,11 +119,11 @@ if($r[dotemplate])
</table>
</td>
</tr>
<?
<?php
}
?>
<?
<?php
if($r[dotemplate])
{
?>
......@@ -148,11 +148,11 @@ if($r[dotemplate])
</table>
</td>
</tr>
<?
<?php
}
?>
<?
<?php
if($r[dotemplate])
{
?>
......@@ -177,11 +177,11 @@ if($r[dotemplate])
</table>
</td>
</tr>
<?
<?php
}
?>
<?
<?php
if($r[dotemplate])
{
?>
......@@ -206,11 +206,11 @@ if($r[dotemplate])
</table>
</td>
</tr>
<?
<?php
}
?>
<?
<?php
if($r[dotemplate])
{
?>
......@@ -235,11 +235,11 @@ if($r[dotemplate])
</table>
</td>
</tr>
<?
<?php
}
?>
<?
<?php
if($r[dotemplate])
{
?>
......@@ -264,11 +264,11 @@ if($r[dotemplate])
</table>
</td>
</tr>
<?
<?php
}
?>
<?
<?php
if($r[dotempvar])
{
?>
......@@ -293,11 +293,11 @@ if($r[dotempvar])
</table>
</td>
</tr>
<?
<?php
}
?>
<?
<?php
if($r[dotemplate])
{
?>
......@@ -382,11 +382,11 @@ if($r[dotemplate])
</table>
</td>
</tr>
<?
<?php
}
?>
<?
<?php
if($r[dotemplate])
{
?>
......@@ -411,11 +411,11 @@ if($r[dotemplate])
</table>
</td>
</tr>
<?
<?php
}
?>
<?
<?php
if($r[dotemplate])
{
?>
......@@ -440,11 +440,11 @@ if($r[dotemplate])
</table>
</td>
</tr>
<?
<?php
}
?>
<?
<?php
if($r[dotemplate])
{
?>
......@@ -469,11 +469,11 @@ if($r[dotemplate])
</table>
</td>
</tr>
<?
<?php
}
?>
<?
<?php
if($r[dotemplate])
{
?>
......@@ -498,11 +498,11 @@ if($r[dotemplate])
</table>
</td>
</tr>
<?
<?php
}
?>
<?
<?php
if($r[dotemplate])
{
?>
......@@ -527,11 +527,11 @@ if($r[dotemplate])
</table>
</td>
</tr>
<?
<?php
}
?>
<?
<?php
if($r[dobq])
{
?>
......@@ -556,11 +556,11 @@ if($r[dobq])
</table>
</td>
</tr>
<?
<?php
}
?>
<?
<?php
if($r[dotempgroup])
{
?>
......@@ -580,11 +580,11 @@ if($r[dotempgroup])
</table>
</td>
</tr>
<?
<?php
}
?>
<?
<?php
if($r[dotemplate])
{
?>
......@@ -614,7 +614,7 @@ if($r[dotemplate])
</table>
</td>
</tr>
<?
<?php
}
?>
</table>
......
......@@ -26,7 +26,7 @@ function tourl(url){
</table>
<table border='0' cellspacing='0' cellpadding='0'>
<?
<?php
if($r[doad])
{
?>
......@@ -51,11 +51,11 @@ if($r[doad])
</table>
</td>
</tr>
<?
<?php
}
?>
<?
<?php
if($r[dovote])
{
?>
......@@ -80,11 +80,11 @@ if($r[dovote])
</table>
</td>
</tr>
<?
<?php
}
?>
<?
<?php
if($r[dolink])
{
?>
......@@ -109,11 +109,11 @@ if($r[dolink])
</table>
</td>
</tr>
<?
<?php
}
?>
<?
<?php
if($r[dogbook])
{
?>
......@@ -143,11 +143,11 @@ if($r[dogbook])
</table>
</td>
</tr>
<?
<?php
}
?>
<?
<?php
if($r[dofeedback]||$r[dofeedbackf])
{
?>
......@@ -159,7 +159,7 @@ if($r[dofeedback]||$r[dofeedbackf])
<tr id="itemfeedback" style="display:none">
<td class="list">
<table border='0' cellspacing='0' cellpadding='0'>
<?
<?php
if($r[dofeedbackf])
{
?>
......@@ -173,7 +173,7 @@ if($r[dofeedback]||$r[dofeedbackf])
<a href="../../tool/ListFeedbackF.php<?=$ecms_hashur['whehref']?>" target="main" onmouseout="this.style.fontWeight=''" onmouseover="this.style.fontWeight='bold'">管理反馈字段</a>
</td>
</tr>
<?
<?php
}
if($r[dofeedback])
{
......@@ -183,17 +183,17 @@ if($r[dofeedback]||$r[dofeedbackf])
<a href="../../tool/feedback.php<?=$ecms_hashur['whehref']?>" target="main" onmouseout="this.style.fontWeight=''" onmouseover="this.style.fontWeight='bold'">管理信息反馈</a>
</td>
</tr>
<?
<?php
}
?>
</table>
</td>
</tr>
<?
<?php
}
?>
<?
<?php
if($r[donotcj])
{
?>
......@@ -213,7 +213,7 @@ if($r[donotcj])
</table>
</td>
</tr>
<?
<?php
}
?>
......
......@@ -39,7 +39,7 @@ function tourl(url){
<a href="../../user/EditPassword.php<?=$ecms_hashur['whehref']?>" target="main" onmouseout="this.style.fontWeight=''" onmouseover="this.style.fontWeight='bold'">修改个人资料</a>
</td>
</tr>
<?
<?php
if($r[dogroup])
{
?>
......@@ -48,7 +48,7 @@ function tourl(url){
<a href="../../user/ListGroup.php<?=$ecms_hashur['whehref']?>" target="main" onmouseout="this.style.fontWeight=''" onmouseover="this.style.fontWeight='bold'">管理用户组</a>
</td>
</tr>
<?
<?php
}
if($r[douserclass])
{
......@@ -58,7 +58,7 @@ function tourl(url){
<a href="../../user/UserClass.php<?=$ecms_hashur['whehref']?>" target="main" onmouseout="this.style.fontWeight=''" onmouseover="this.style.fontWeight='bold'">管理部门</a>
</td>
</tr>
<?
<?php
}
if($r[douser])
{
......@@ -68,7 +68,7 @@ function tourl(url){
<a href="../../user/ListUser.php<?=$ecms_hashur['whehref']?>" target="main" onmouseout="this.style.fontWeight=''" onmouseover="this.style.fontWeight='bold'">管理用户</a>
</td>
</tr>
<?
<?php
}
if($r[dolog])
{
......@@ -83,7 +83,7 @@ function tourl(url){
<a href="../../user/ListDolog.php<?=$ecms_hashur['whehref']?>" target="main" onmouseout="this.style.fontWeight=''" onmouseover="this.style.fontWeight='bold'">管理操作日志</a>
</td>
</tr>
<?
<?php
}
if($r[doadminstyle])
{
......@@ -93,14 +93,14 @@ function tourl(url){
<a href="../../template/AdminStyle.php<?=$ecms_hashur['whehref']?>" target="main" onmouseout="this.style.fontWeight=''" onmouseover="this.style.fontWeight='bold'">管理后台风格</a>
</td>
</tr>
<?
<?php
}
?>
</table>
</td>
</tr>
<?
<?php
if($r[domember]||$r[domemberf])
{
?>
......@@ -112,7 +112,7 @@ if($r[domember]||$r[domemberf])
<tr id="itemmember" style="display:none">
<td class="list">
<table border='0' cellspacing='0' cellpadding='0'>
<?
<?php
if($r[domember])
{
?>
......@@ -131,7 +131,7 @@ if($r[domember]||$r[domemberf])
<a href="../../member/ClearMember.php<?=$ecms_hashur['whehref']?>" target="main" onmouseout="this.style.fontWeight=''" onmouseover="this.style.fontWeight='bold'">批量清理会员</a>
</td>
</tr>
<?
<?php
}
if($r[domemberf])
{
......@@ -146,17 +146,17 @@ if($r[domember]||$r[domemberf])
<a href="../../member/ListMemberForm.php<?=$ecms_hashur['whehref']?>" target="main" onmouseout="this.style.fontWeight=''" onmouseover="this.style.fontWeight='bold'">管理会员表单</a>
</td>
</tr>
<?
<?php
}
?>
</table>
</td>
</tr>
<?
<?php
}
?>
<?
<?php
if($r[dospacestyle]||$r[dospacedata])
{
?>
......@@ -168,7 +168,7 @@ if($r[dospacestyle]||$r[dospacedata])
<tr id="itemmemberspace" style="display:none">
<td class="list">
<table border='0' cellspacing='0' cellpadding='0'>
<?
<?php
if($r[dospacestyle])
{
?>
......@@ -177,7 +177,7 @@ if($r[dospacestyle]||$r[dospacedata])
<a href="../../member/ListSpaceStyle.php<?=$ecms_hashur['whehref']?>" target="main" onmouseout="this.style.fontWeight=''" onmouseover="this.style.fontWeight='bold'">管理空间模板</a>
</td>
</tr>
<?
<?php
}
if($r[dospacedata])
{
......@@ -192,17 +192,17 @@ if($r[dospacestyle]||$r[dospacedata])
<a href="../../member/MemberFeedback.php<?=$ecms_hashur['whehref']?>" target="main" onmouseout="this.style.fontWeight=''" onmouseover="this.style.fontWeight='bold'">管理空间反馈</a>
</td>
</tr>
<?
<?php
}
?>
</table>
</td>
</tr>
<?
<?php
}
?>
<?
<?php
if($r[domemberconnect])
{
?>
......@@ -222,11 +222,11 @@ if($r[domemberconnect])
</table>
</td>
</tr>
<?
<?php
}
?>
<?
<?php
if($r[docard]||$r[dosendemail]||$r[domsg]||$r[dobuygroup])
{
?>
......@@ -238,7 +238,7 @@ if($r[docard]||$r[dosendemail]||$r[domsg]||$r[dobuygroup])
<tr id="itemmother" style="display:none">
<td class="list1">
<table border='0' cellspacing='0' cellpadding='0'>
<?
<?php
if($r[dobuygroup])
{
?>
......@@ -247,7 +247,7 @@ if($r[docard]||$r[dosendemail]||$r[domsg]||$r[dobuygroup])
<a href="../../member/ListBuyGroup.php<?=$ecms_hashur['whehref']?>" target="main" onmouseout="this.style.fontWeight=''" onmouseover="this.style.fontWeight='bold'">管理充值类型</a>
</td>
</tr>
<?
<?php
}
if($r[docard])
{
......@@ -262,7 +262,7 @@ if($r[docard]||$r[dosendemail]||$r[domsg]||$r[dobuygroup])
<a href="../../member/GetFen.php<?=$ecms_hashur['whehref']?>" target="main" onmouseout="this.style.fontWeight=''" onmouseover="this.style.fontWeight='bold'">批量赠送点数</a>
</td>
</tr>
<?
<?php
}
if($r[dosendemail])
{
......@@ -272,7 +272,7 @@ if($r[docard]||$r[dosendemail]||$r[domsg]||$r[dobuygroup])
<a href="../../member/SendEmail.php<?=$ecms_hashur['whehref']?>" target="main" onmouseout="this.style.fontWeight=''" onmouseover="this.style.fontWeight='bold'">批量发送邮件</a>
</td>
</tr>
<?
<?php
}
if($r[domsg])
{
......@@ -287,13 +287,13 @@ if($r[docard]||$r[dosendemail]||$r[domsg]||$r[dobuygroup])
<a href="../../member/DelMoreMsg.php<?=$ecms_hashur['whehref']?>" target="main" onmouseout="this.style.fontWeight=''" onmouseover="this.style.fontWeight='bold'">批量删除短消息</a>
</td>
</tr>
<?
<?php
}
?>
</table>
</td>
</tr>
<?
<?php
}
?>
</table>
......
......@@ -64,7 +64,7 @@ $empire=null;
</tr>
<tr>
<td height="25" bgcolor="#F8F8F8">源数据表名</td>
<td height="25" bgcolor="#FFFFFF"><font color=red><b><? echo $dbtbpre."ecms_".$r['tbname'];?></b></font></td>
<td height="25" bgcolor="#FFFFFF"><font color=red><b><?php echo $dbtbpre."ecms_".$r['tbname'];?></b></font></td>
</tr>
<tr>
<td width="23%" height="25" bgcolor="#F8F8F8">新数据表名</td>
......
......@@ -115,7 +115,7 @@ $sql=$empire->query("select * from {$dbtbpre}enewsf where tid='$tid' order by my
<?=$do?>
</div></td>
</tr>
<?
<?php
}
?>
<tr bgcolor="ffffff">
......@@ -137,7 +137,7 @@ $sql=$empire->query("select * from {$dbtbpre}enewsf where tid='$tid' order by my
</table>
</body>
</html>
<?
<?php
db_close();
$empire=null;
?>
......@@ -71,7 +71,7 @@ $returnpage=page2($num,$line,$page_line,$start,$page,$search);
</div></td>
<td height="25"> <div align="center">[<a href="DoSql.php?enews=ExecSql&id=<?=$r[id]?><?=$ecms_hashur['href']?>" onclick="return confirm('确认要执行SQL?');">执行</a>] [<a href="AddSql.php?enews=EditSql&id=<?=$r[id]?><?=$ecms_hashur['ehref']?>">修改</a>]&nbsp;[<a href="DoSql.php?enews=DelSql&id=<?=$r[id]?><?=$ecms_hashur['href']?>" onclick="return confirm('确认要删除?');">删除</a>]</div></td>
</tr>
<?
<?php
}
?>
<tr bgcolor="#FFFFFF">
......
......@@ -174,7 +174,7 @@ $returnpage=page2($num,$line,$page_line,$start,$page,$search);
<td width="51%" height="25"> <div align="center">方案名称</div></td>
<td width="33%" height="25"> <div align="center">操作</div></td>
</tr>
<?
<?php
while($r=$empire->fetch($sql))
{
?>
......@@ -187,7 +187,7 @@ $returnpage=page2($num,$line,$page_line,$start,$page,$search);
</div></td>
<td height="25"> <div align="center">[<a href="AddYh.php?enews=EditYh&id=<?=$r[id]?><?=$ecms_hashur['ehref']?>">修改</a>]&nbsp;[<a href="AddYh.php?enews=AddYh&docopy=1&id=<?=$r[id]?><?=$ecms_hashur['ehref']?>">复制</a>]&nbsp;[<a href="ListYh.php?enews=DelYh&id=<?=$r[id]?><?=$ecms_hashur['href']?>" onclick="return confirm('确认要删除?');">删除</a>]</div></td>
</tr>
<?
<?php
}
?>
<tr bgcolor="#FFFFFF">
......@@ -198,7 +198,7 @@ $returnpage=page2($num,$line,$page_line,$start,$page,$search);
</table>
</body>
</html>
<?
<?php
db_close();
$empire=null;
?>
......@@ -60,7 +60,7 @@ self.location.href='phome.php?<?=$ecms_hashur['href']?>&phome=DropDb&mydbname='+
<td width="40%" height="25">
<div align="center">备份</div></td>
</tr>
<?
<?php
while($r=$empire->fetch($sql))
{
if($r[0]==$ecms_config['db']['dbname'])
......@@ -81,7 +81,7 @@ self.location.href='phome.php?<?=$ecms_hashur['href']?>&phome=DropDb&mydbname='+
&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;<input type="button" name="Submit3" value="删除数据库" onclick="javascript:DoDrop('<?=$r[0]?>')">
</div></td>
</tr>
<?
<?php
}
db_close();
$empire=null;
......
......@@ -62,7 +62,7 @@ window.close();
<td width="35%">
<div align="center">操作</div></td>
</tr>
<?
<?php
while($file=@readdir($hand))
{
if($file!="."&&$file!=".."&&is_dir($bakpath."/".$file))
......@@ -79,10 +79,10 @@ window.close();
<tr bgcolor="#FFFFFF">
<td height="25"> <div align="left"><img src="images/dir.gif" width="19" height="15">&nbsp;
<?=$showfile?> </div></td>
<td height="25"> <div align="center"> [<a href="<? echo $bakpath."/".$file."/readme.txt"?>" target=_blank>查看备份说明</a>]</div></td>
<td height="25"> <div align="center"> [<a href="<?php echo $bakpath."/".$file."/readme.txt"?>" target=_blank>查看备份说明</a>]</div></td>
<td><div align="center">[<a href="#ebak" onclick="window.open('phome.php?phome=DoZip&p=<?=$file?>&change=<?=$change?><?=$ecms_hashur['href']?>','','width=350,height=160');">打包并下载</a>]&nbsp;&nbsp;&nbsp;[<a href="phome.php?phome=DelBakpath&path=<?=$file?>&change=<?=$change?><?=$ecms_hashur['href']?>" onclick="return confirm('确认要删除?');">删除目录</a>]</div></td>
</tr>
<?
<?php
}
}
?>
......
......@@ -229,7 +229,7 @@ function check()
<td width="14%" height="23"> <div align="center">大小</div></td>
<td width="11%" height="23"> <div align="center">碎片</div></td>
</tr>
<?
<?php
$totaldatasize=0;//总数据大小
$tablenum=0;//总表数
$datasize=0;//数据大小
......@@ -265,7 +265,7 @@ function check()
<?=Ebak_ChangeSize($r[Data_free])?>
</div></td>
</tr>
<?
<?php
}
db_close();
$empire=null;
......
......@@ -75,7 +75,7 @@ function ChangeAutoField(f)
<td><div align="center">默认值</div></td>
<td><div align="center">附加属性</div></td>
</tr>
<?
<?php
while($r=$empire->fetch($sql))
{
$r[Field]="<a href='#ebak' onclick=\"ChangeAutoField('".$r[Field]."');\" title='加入去除自增值字段列表'>$r[Field]</a>";
......@@ -97,7 +97,7 @@ function ChangeAutoField(f)
<?=$r[Extra]?>
</div></td>
</tr>
<?
<?php
}
db_close();
$empire=null;
......
......@@ -605,7 +605,7 @@ function Ebak_EchoBakSt($tbname,$tbnum,$tb,$rnum,$r){
<tr><td height="25">Table&nbsp;:&nbsp;<b><?=$table?></b></td></tr>
<tr><td height="25">Record&nbsp;:&nbsp;<b><?=$record?></b></td></tr>
</table><br><br>
<?
<?php
}
//输出恢复进度条
......@@ -619,7 +619,7 @@ function Ebak_EchoReDataSt($tbname,$tbnum,$tb,$pnum,$p){
<tr><td height="25">Table&nbsp;:&nbsp;<b><?=$table?></b></td></tr>
<tr><td height="25">File&nbsp;:&nbsp;<b><?=$record?></b></td></tr>
</table><br><br>
<?
<?php
}
//取得表记录数
......
......@@ -493,7 +493,7 @@ function eTranMoreForFileMain(htmlstr){
<input type=hidden name=field value="<?=$field?>">
<input type=hidden name=fstb value="<?=$fstb?>">
<input type=hidden name=sinfo value="<?=$sinfo?>">
<?
<?php
if($type==1)//图片
{
include('fileinc/editorpic.php');
......@@ -522,7 +522,7 @@ if($isinfofile==1)
?>
</body>
</html>
<?
<?php
db_close();
$empire=null;
?>
\ No newline at end of file
......@@ -22,7 +22,7 @@ if(!defined('InEmpireCMS'))
<div align="center">上传时间</div></td>
<td width="10%"><div align="center">选择</div></td>
</tr>
<?
<?php
while($r=$empire->fetch($sql))
{
$filesize=ChTheFilesize($r[filesize]);
......@@ -57,7 +57,7 @@ if(!defined('InEmpireCMS'))
<?=$button?>
</div></td>
</tr>
<?
<?php
}
?>
<tr>
......
......@@ -18,7 +18,7 @@ if(!defined('InEmpireCMS'))
<td width="21%"><div align="center">上传时间</div></td>
<td width="10%"><div align="center">选择</div></td>
</tr>
<?
<?php
while($r=$empire->fetch($sql))
{
$filesize=ChTheFilesize($r[filesize]);
......@@ -53,7 +53,7 @@ if(!defined('InEmpireCMS'))
<?=$button?>
</div></td>
</tr>
<?
<?php
}
?>
<tr>
......
......@@ -22,7 +22,7 @@ if(!defined('InEmpireCMS'))
<td width="10%">
<div align="center">选择</div></td>
</tr>
<?
<?php
while($r=$empire->fetch($sql))
{
$filesize=ChTheFilesize($r[filesize]);
......@@ -65,7 +65,7 @@ if(!defined('InEmpireCMS'))
<?=$button?>
</div></td>
</tr>
<?
<?php
}
?>
<tr>
......
......@@ -291,7 +291,7 @@ function ReloadChangeFilePage(){
<td width="21%">
<div align="center"><?=$filetime?></div></td>
</tr>
<?
<?php
}
@closedir($hand);
?>
......
......@@ -108,3 +108,13 @@ p, ul, li
font-family: 'Courier New' , Monospace;
background-color: #ff9933;
}
.FCK__Lecloud
{
border: #a9a9a9 1px solid;
background-position: center center;
background-image: url(images/play.png);
background-repeat: no-repeat;
width: 80px;
height: 80px;
}
/**
* Created by pader on 2017/9/29.
*/
(function() {
var path = FCKPlugins.Items['lecloud'].Path;
function getElementsByClassName(className, tagName, doc) {
tagName = tagName || "*";
doc = doc || document;
var elements = doc.getElementsByTagName(tagName);
var matchElements = [];
for (var i=0,el; el=elements[i]; i++) {
if (el.className && el.className.split(" ").indexOf(className) != -1) {
matchElements.push(el);
}
}
return matchElements;
}
//注册
FCKCommands.RegisterCommand('lecloud',
new FCKDialogCommand('lecloud', FCKLang.LecloudTitle, path + "lecloud_insert.html", 300, 150));
//定义工具栏
var Lecloud = new FCKToolbarButton('lecloud', FCKLang.LecloudTitle);
Lecloud.IconPath = path + 'play.gif';
FCKToolbarItems.RegisterItem('lecloud', Lecloud);
// 定义占位元素
FCKDocumentProcessor.AppendNew().ProcessDocument = function(document) {
var matching = getElementsByClassName('lecloud-video', 'div', document);
var oMatch;
var i = matching.length - 1;
while (i>= 0 && (oMatch = matching[i--])) {
// Create the new FakeImage (looks like an image in the editor, but contains our div)
var oImg = FCKDocumentProcessor_CreateFakeImage('FCK__Lecloud', oMatch.cloneNode(true));
oImg.setAttribute('_fck_lecloud', true);
// Place the FakeImage right where the div used to be
oMatch.parentNode.insertBefore(oImg, oMatch);
oMatch.parentNode.removeChild(oMatch);
}
};
})();
\ No newline at end of file
/**
* Created by pader on 2017/9/29.
*/
FCKLang.LecloudTitle = "插入乐视云视频";
FCKLang.videoId = "视频ID";
FCKLang.videoVU = "视频VU";
\ No newline at end of file
<!DOCTYPE HTML>
<html>
<head>
<title>Anchor Properties</title>
<meta http-equiv="Content-Type" content="text/html; charset=utf-8">
<meta content="noindex, nofollow" name="robots">
<script type="text/javascript">
var dialog = window.parent ;
var oEditor = dialog.InnerDialogLoaded() ;
var FCK = oEditor.FCK ;
var FCKBrowserInfo = oEditor.FCKBrowserInfo ;
var FCKTools = oEditor.FCKTools ;
var FCKRegexLib = oEditor.FCKRegexLib ;
var oDOM = FCK.EditorDocument ;
var oFakeImage = oEditor.FCKSelection.GetSelectedElement();
var oVideo;
if (oFakeImage) {
if (oFakeImage.tagName == 'IMG' && oFakeImage.getAttribute('_fck_lecloud'))
oVideo = FCK.GetRealElement(oFakeImage) ;
else
oFakeImage = null ;
}
window.onload = function() {
// First of all, translate the dialog box texts
oEditor.FCKLanguageManager.TranslatePage(document);
if (oVideo) {
$('videoVU').value = oVideo.getAttribute("vu");
}
window.parent.SetOkButton(true) ;
window.parent.SetAutoSize(true) ;
};
function Ok() {
var vu = $('videoVU').value;
oEditor.FCKUndo.SaveUndoStep() ;
if (!oVideo) {
oVideo = FCK.EditorDocument.createElement('div');
oVideo.setAttribute("class", "lecloud-video");
oFakeImage = null;
}
oVideo.setAttribute("vu", vu);
if (!oFakeImage) {
oFakeImage = oEditor.FCKDocumentProcessor_CreateFakeImage('FCK__Lecloud', oVideo) ;
oFakeImage.setAttribute('_fck_lecloud', 'true') ;
oFakeImage = FCK.InsertElement(oFakeImage) ;
}
oEditor.FCKEmbedAndObjectProcessor.RefreshView(oFakeImage, oVideo) ;
return true ;
}
function $(id) {
return document.getElementById(id);
}
</script>
</head>
<body>
<table cellspacing="3" cellpadding="2" width="100%" border="0">
<tbody>
<tr>
<td valign="top" nowrap="nowrap">
<label for="videoVU" fcklang="videoVU">Video VU:</label>
</td>
<td valign="top">
<input id="videoVU" style="width: 100%" tabindex="2" type="text">
</td>
</tr>
</tbody>
</table>
</body>
</html>
......@@ -43,7 +43,7 @@ else
<head>
</head>
<body>
<?
<?php
if($ecms=="pic")
{
?>
......@@ -119,7 +119,7 @@ function SetPicOk(ecms){
</tr>
</form>
</table>
<?
<?php
}
elseif($ecms=="flash")
{
......@@ -182,7 +182,7 @@ function SetPicOk(ecms){
</tr>
</form>
</table>
<?
<?php
}
elseif($ecms=="rm")
{
......@@ -273,7 +273,7 @@ function SetPicOk(ecms){
</tr>
</form>
</table>
<?
<?php
}
else
{
......@@ -325,7 +325,7 @@ function SetPicOk(ecms){
</tr>
</form>
</table>
<?
<?php
}
?>
</body>
......
......@@ -49,6 +49,7 @@ FCKConfig.SkinDialogCSS = '' ; // FCKConfig.SkinPath + "|<minified css>" ;
FCKConfig.PreloadImages = [ FCKConfig.SkinPath + 'images/toolbar.start.gif', FCKConfig.SkinPath + 'images/toolbar.buttonarrow.gif' ] ;
FCKConfig.PluginsPath = FCKConfig.BasePath + 'plugins/' ;
FCKConfig.Plugins.Add('lecloud', 'zh-cn');
// FCKConfig.Plugins.Add( 'autogrow' ) ;
// FCKConfig.Plugins.Add( 'dragresizetable' );
......@@ -111,7 +112,7 @@ FCKConfig.ToolbarSets["Default"] = [
['Subscript','Superscript'],
'/',
['Bold','Italic','Underline','StrikeThrough'],
['Link','Unlink','Anchor'],
['Link','Unlink','Anchor','lecloud'],
['Image','InsertMImage','Flash','InsertMedia','InsertFile','-','Table','Rule','SpecialChar','InsertQuote','InsertPageExp','InsertTBr'] // No comma for the last row.
] ;
......
<?php
/**
* Check if browser is compatible with FCKeditor.
* Return true if is compatible.
*
* @return boolean
*/
function FCKeditor_IsCompatibleBrowser()
{
if ( isset( $_SERVER ) ) {
$sAgent = $_SERVER['HTTP_USER_AGENT'] ;
}
else {
global $HTTP_SERVER_VARS ;
if ( isset( $HTTP_SERVER_VARS ) ) {
$sAgent = $HTTP_SERVER_VARS['HTTP_USER_AGENT'] ;
}
else {
global $HTTP_USER_AGENT ;
$sAgent = $HTTP_USER_AGENT ;
}
}
if ( strpos($sAgent, 'MSIE') !== false && strpos($sAgent, 'mac') === false && strpos($sAgent, 'Opera') === false )
{
$iVersion = (float)substr($sAgent, strpos($sAgent, 'MSIE') + 5, 3) ;
return ($iVersion >= 5.5) ;
}
else if ( strpos($sAgent, 'Gecko/') !== false )
{
$iVersion = (int)substr($sAgent, strpos($sAgent, 'Gecko/') + 6, 8) ;
return ($iVersion >= 20030210) ;
}
else if ( strpos($sAgent, 'Trident/') !== false )
{
$iVersion = (float)substr($sAgent, strpos($sAgent, 'rv:') + 3, 2) ;
return ($iVersion >= 11) ;
}
else if ( strpos($sAgent, 'Opera/') !== false )
{
$fVersion = (float)substr($sAgent, strpos($sAgent, 'Opera/') + 6, 4) ;
return ($fVersion >= 9.5) ;
}
else if ( preg_match( "|AppleWebKit/(\d+)|i", $sAgent, $matches ) )
{
$iVersion = $matches[1] ;
return ( $matches[1] >= 522 ) ;
}
else
return false ;
}
class FCKeditor
{
/**
* Name of the FCKeditor instance.
*
* @access protected
* @var string
*/
var $InstanceName ;
/**
* Path to FCKeditor relative to the document root.
*
* @var string
*/
var $BasePath ;
/**
* Width of the FCKeditor.
* Examples: 100%, 600
*
* @var mixed
*/
var $Width ;
/**
* Height of the FCKeditor.
* Examples: 400, 50%
*
* @var mixed
*/
var $Height ;
/**
* Name of the toolbar to load.
*
* @var string
*/
var $ToolbarSet ;
/**
* Initial value.
*
* @var string
*/
var $Value ;
/**
* This is where additional configuration can be passed.
* Example:
* $oFCKeditor->Config['EnterMode'] = 'br';
*
* @var array
*/
var $Config ;
/**
* Main Constructor.
* Refer to the _samples/php directory for examples.
*
* @param string $instanceName
*/
function FCKeditor( $instanceName )
{
$this->InstanceName = $instanceName ;
$this->BasePath = '/fckeditor/' ;
$this->Width = '100%' ;
$this->Height = '200' ;
$this->ToolbarSet = 'Default' ;
$this->Value = '' ;
$this->Config = array() ;
}
/**
* Display FCKeditor.
*
*/
function Create()
{
echo $this->CreateHtml() ;
}
/**
* Return the HTML code required to run FCKeditor.
*
* @return string
*/
function CreateHtml()
{
$HtmlValue = ehtmlspecialchars( $this->Value ) ;
$Html = '' ;
if ( !isset( $_GET ) ) {
global $HTTP_GET_VARS ;
$_GET = $HTTP_GET_VARS ;
}
if ( $this->IsCompatible() )
{
if ( isset( $_GET['fcksource'] ) && $_GET['fcksource'] == "true" )
$File = 'fckeditor.original.html' ;
else
$File = 'fckeditor.html' ;
$Link = "{$this->BasePath}editor/{$File}?InstanceName={$this->InstanceName}".ECMS_ReturnEditorCx() ;
if ( $this->ToolbarSet != '' )
$Link .= "&amp;Toolbar={$this->ToolbarSet}" ;
// Render the linked hidden field.
$Html .= "<input type=\"hidden\" id=\"{$this->InstanceName}\" name=\"{$this->InstanceName}\" value=\"{$HtmlValue}\" style=\"display:none\" />" ;
// Render the configurations hidden field.
$Html .= "<input type=\"hidden\" id=\"{$this->InstanceName}___Config\" value=\"" . $this->GetConfigFieldString() . "\" style=\"display:none\" />" ;
// Render the editor IFRAME.
$Html .= "<iframe id=\"{$this->InstanceName}___Frame\" src=\"{$Link}\" width=\"{$this->Width}\" height=\"{$this->Height}\" frameborder=\"0\" scrolling=\"no\"></iframe>" ;
}
else
{
if ( strpos( $this->Width, '%' ) === false )
$WidthCSS = $this->Width . 'px' ;
else
$WidthCSS = $this->Width ;
if ( strpos( $this->Height, '%' ) === false )
$HeightCSS = $this->Height . 'px' ;
else
$HeightCSS = $this->Height ;
$Html .= "<textarea name=\"{$this->InstanceName}\" rows=\"4\" cols=\"40\" style=\"width: {$WidthCSS}; height: {$HeightCSS}\">{$HtmlValue}</textarea>" ;
}
return $Html ;
}
/**
* Returns true if browser is compatible with FCKeditor.
*
* @return boolean
*/
function IsCompatible()
{
return FCKeditor_IsCompatibleBrowser() ;
}
/**
* Get settings from Config array as a single string.
*
* @access protected
* @return string
*/
function GetConfigFieldString()
{
$sParams = '' ;
$bFirst = true ;
foreach ( $this->Config as $sKey => $sValue )
{
if ( $bFirst == false )
$sParams .= '&amp;' ;
else
$bFirst = false ;
if ( $sValue === true )
$sParams .= $this->EncodeConfig( $sKey ) . '=true' ;
else if ( $sValue === false )
$sParams .= $this->EncodeConfig( $sKey ) . '=false' ;
else
$sParams .= $this->EncodeConfig( $sKey ) . '=' . $this->EncodeConfig( $sValue ) ;
}
return $sParams ;
}
/**
* Encode characters that may break the configuration string
* generated by GetConfigFieldString().
*
* @access protected
* @param string $valueToEncode
* @return string
*/
function EncodeConfig( $valueToEncode )
{
$chars = array(
'&' => '%26',
'=' => '%3D',
'"' => '%22' ) ;
return strtr( $valueToEncode, $chars ) ;
}
}
?>
\ No newline at end of file
......@@ -96,7 +96,7 @@ $empire=null;
<?=$filename?>
</a></td>
</tr>
<?
<?php
}
@closedir($hand);
?>
......
......@@ -171,7 +171,7 @@ function CheckAll(form)
<?=$filetime?>
</div></td>
</tr>
<?
<?php
}
@closedir($hand);
?>
......
......@@ -249,7 +249,7 @@ function CheckAll(form)
<input name="fileid[]" type="checkbox" id="fileid[]" value="<?=$r[fileid]?>" onclick="if(this.checked){file<?=$r[fileid]?>.style.backgroundColor='#DBEAF5';}else{file<?=$r[fileid]?>.style.backgroundColor='#ffffff';}">
]</div></td>
</tr>
<?
<?php
}
?>
<tr bgcolor="#FFFFFF">
......@@ -279,7 +279,7 @@ if($isinfofile==1)
?>
</body>
</html>
<?
<?php
db_close();
$empire=null;
?>
......@@ -88,7 +88,7 @@ $empire=null;
<td width="35%">文件</td>
<td width="65%">编号(便于管理附件)</td>
</tr>
<?
<?php
for($i=0;$i<$filenum;$i++)
{
?>
......@@ -96,7 +96,7 @@ $empire=null;
<td height="25"> <input name="file[]" type="file" id="file[]"> </td>
<td><input name="no[]" type="text" id="no[]"></td>
</tr>
<?
<?php
}
?>
</table></td>
......
......@@ -150,7 +150,7 @@ function CheckAll(form)
<?=$filetime?>
</div></td>
</tr>
<?
<?php
}
@closedir($hand);
?>
......
......@@ -176,12 +176,12 @@ function CheckForm(obj){
<tr>
<td width="24%" height="25" bgcolor="#FFFFFF">分类名称(*)</td>
<td width="76%" height="25" bgcolor="#FFFFFF"> <input name="tname" type="text" id="tname" value="<?=$r[tname]?>" size="38">
<?
<?php
if($enews=="AddInfoType"||$docopy)
{
?>
<input type="button" name="Submit5" value="生成拼音目录" onclick="window.open('../GetPinyin.php?<?=$ecms_hashur['href']?>&hz='+document.form1.tname.value+'&returnform=opener.document.form1.tpath.value','','width=160,height=100');">
<?
<?php
}
?>
<input name="typeid" type="hidden" id="typeid" value="<?=$typeid?>"> </td>
......
......@@ -333,7 +333,7 @@ function CheckAll(form)
<a href='../ecmschtml.php?enews=ReSingleJs&doing=1&classid=<?=$r[typeid]?><?=$ecms_hashur['href']?>'>JS</a>
<a href="#ecms" onclick="window.open('../view/TtUrl.php?ttid=<?=$r[typeid]?><?=$ecms_hashur['ehref']?>','','width=500,height=250');">调用</a></td>
</tr>
<?
<?php
}
?>
<tr bgcolor="#FFFFFF">
......
......@@ -53,7 +53,7 @@ $sql=$empire->query("select * from {$dbtbpre}enewsclassf order by myorder,fid");
<td width="23%"><div align="center">字段类型</div></td>
<td width="17%" height="25"><div align="center">操作</div></td>
</tr>
<?
<?php
while($r=$empire->fetch($sql))
{
$ftype=$r[ftype];
......@@ -83,7 +83,7 @@ $sql=$empire->query("select * from {$dbtbpre}enewsclassf order by myorder,fid");
[<a href='AddClassF.php?enews=EditClassF&fid=<?=$r[fid]?><?=$ecms_hashur['ehref']?>'>修改</a>]&nbsp;&nbsp;[<a href='../ecmsclass.php?enews=DelClassF&fid=<?=$r[fid]?><?=$ecms_hashur['href']?>' onclick="return confirm('确认要删除?');">删除</a>]
</div></td>
</tr>
<?
<?php
}
?>
<tr bgcolor="ffffff">
......@@ -107,7 +107,7 @@ $sql=$empire->query("select * from {$dbtbpre}enewsclassf order by myorder,fid");
</table>
</body>
</html>
<?
<?php
db_close();
$empire=null;
?>
......@@ -204,7 +204,7 @@ if($public_r[addnews_ok])
</tr>
<tr>
<td height="23">登陆者IP:</td>
<td><? echo egetip();?></td>
<td><?php echo egetip();?></td>
</tr>
<tr>
<td height="23">程序版本:</td>
......@@ -225,15 +225,15 @@ if($public_r[addnews_ok])
</tr>
<tr>
<td height="23">操作系统:</td>
<td><? echo defined('PHP_OS')?PHP_OS:'未知';?></td>
<td><?php echo defined('PHP_OS')?PHP_OS:'未知';?></td>
</tr>
<tr>
<td height="23">PHP版本:</td>
<td><? echo @phpversion();?></td>
<td><?php echo @phpversion();?></td>
</tr>
<tr>
<td height="23">MYSQL版本:</td>
<td><? echo @mysqli_get_server_info();?></td>
<td><?php echo @mysqli_get_server_info();?></td>
</tr>
<tr>
<td height="23">全局变量:</td>
......@@ -255,7 +255,7 @@ if($public_r[addnews_ok])
</tr>
<tr>
<td height="23">当前时间:</td>
<td><? echo date("Y-m-d H:i:s");?></td>
<td><?php echo date("Y-m-d H:i:s");?></td>
</tr>
<tr>
<td height="23">使用域名:</td>
......
......@@ -132,7 +132,7 @@ while($level_r=$empire->fetch($sql))
</form>
</body>
</html>
<?
<?php
db_close();
$empire=null;
?>
\ No newline at end of file
......@@ -132,7 +132,7 @@ $href="AddCard.php?enews=$enews&cardid=$cardid".$ecms_hashur['ehref'];
</form>
</body>
</html>
<?
<?php
db_close();
$empire=null;
?>
\ No newline at end of file
......@@ -109,7 +109,7 @@ while($level_r=$empire->fetch($sql))
</form>
</body>
</html>
<?
<?php
db_close();
$empire=null;
?>
\ No newline at end of file
......@@ -60,7 +60,7 @@ $returnpage=page2($num,$line,$page_line,$start,$page,$search);
<td width="11%"><div align="center">有效期</div></td>
<td width="19%" height="25"><div align="center">购买时间</div></td>
</tr>
<?
<?php
while($r=$empire->fetch($sql))
{
//类型
......@@ -101,7 +101,7 @@ $returnpage=page2($num,$line,$page_line,$start,$page,$search);
<?=$r[buytime]?>
</div></td>
</tr>
<?
<?php
}
db_close();
$empire=null;
......
......@@ -168,7 +168,7 @@ $returnpage=page2($num,$line,$page_line,$start,$page,$search);
<td width="11%"><div align="center">有效期(天)</div></td>
<td width="16%" height="25"> <div align="center">操作</div></td>
</tr>
<?
<?php
while($r=$empire->fetch($sql))
{
?>
......@@ -190,7 +190,7 @@ $returnpage=page2($num,$line,$page_line,$start,$page,$search);
</div></td>
<td height="25"> <div align="center">[<a href="AddBuyGroup.php?enews=EditBuyGroup&id=<?=$r[id]?><?=$ecms_hashur['ehref']?>">修改</a>] [<a href="ListBuyGroup.php?enews=DelBuyGroup&id=<?=$r[id]?><?=$ecms_hashur['href']?>" onclick="return confirm('确认要删除?');">删除</a>]</div></td>
</tr>
<?
<?php
}
?>
<tr bgcolor="#FFFFFF">
......@@ -204,7 +204,7 @@ $returnpage=page2($num,$line,$page_line,$start,$page,$search);
</table>
</body>
</html>
<?
<?php
db_close();
$empire=null;
?>
\ No newline at end of file
......@@ -316,7 +316,7 @@ function CheckAll(form)
<td width="12%" height="25"> <div align="center">点数</div></td>
<td width="15%" height="25"> <div align="center">操作</div></td>
</tr>
<?
<?php
while($r=$empire->fetch($sql))
{
?>
......@@ -339,7 +339,7 @@ function CheckAll(form)
</div></td>
<td height="25"> <div align="center">[<a href="AddCard.php?enews=EditCard&cardid=<?=$r[cardid]?>&time=<?=$time?><?=$ecms_hashur['ehref']?>">修改</a>]&nbsp;[<a href="ListCard.php?enews=DelCard&cardid=<?=$r[cardid]?>&time=<?=$time?><?=$ecms_hashur['href']?>" onclick="return confirm('确认要删除?');">删除</a>]</div></td>
</tr>
<?
<?php
}
?>
<tr bgcolor="#FFFFFF">
......@@ -354,7 +354,7 @@ function CheckAll(form)
</table>
</body>
</html>
<?
<?php
db_close();
$empire=null;
?>
\ No newline at end of file
......@@ -90,7 +90,7 @@ $returnpage=page2($num,$line,$page_line,$start,$page,$search);
<?=date("Y-m-d H:i:s",$r[truetime])?>
</div></td>
</tr>
<?
<?php
}
db_close();
$empire=null;
......
......@@ -206,7 +206,7 @@ function CheckAll(form)
<td width="13%"><div align="center">记录</div></td>
<td width="17%" height="25"><div align="center">操作</div></td>
</tr>
<?
<?php
while($r=$empire->fetch($sql))
{
if(empty($r['checked']))
......@@ -242,7 +242,7 @@ function CheckAll(form)
<input name="userid[]" type="checkbox" id="userid[]" value="<?=$r['userid']?>"<?=$checked?> onclick="if(this.checked){user<?=$r['userid']?>.style.backgroundColor='#DBEAF5';}else{user<?=$r['userid']?>.style.backgroundColor='#ffffff';}">
</div></td>
</tr>
<?
<?php
}
?>
<tr bgcolor="ffffff">
......@@ -257,7 +257,7 @@ function CheckAll(form)
</table>
</body>
</html>
<?
<?php
db_close();
$empire=null;
?>
......@@ -53,7 +53,7 @@ $sql=$empire->query("select * from {$dbtbpre}enewsmemberf order by myorder,fid")
<td width="23%"><div align="center">字段类型</div></td>
<td width="17%" height="25"><div align="center">操作</div></td>
</tr>
<?
<?php
while($r=$empire->fetch($sql))
{
$ftype=$r[ftype];
......@@ -83,7 +83,7 @@ $sql=$empire->query("select * from {$dbtbpre}enewsmemberf order by myorder,fid")
[<a href='AddMemberF.php?enews=EditMemberF&fid=<?=$r[fid]?><?=$ecms_hashur['ehref']?>'>修改</a>]&nbsp;&nbsp;[<a href='../ecmsmember.php?enews=DelMemberF&fid=<?=$r[fid]?><?=$ecms_hashur['href']?>' onclick="return confirm('确认要删除?');">删除</a>]
</div></td>
</tr>
<?
<?php
}
?>
<tr bgcolor="ffffff">
......@@ -97,7 +97,7 @@ $sql=$empire->query("select * from {$dbtbpre}enewsmemberf order by myorder,fid")
</form>
</body>
</html>
<?
<?php
db_close();
$empire=null;
?>
......@@ -58,7 +58,7 @@ $returnpage=page2($num,$line,$page_line,$start,$page,$search);
<td width="64%" height="25"><div align="center">表单名称</div></td>
<td width="28%" height="25"><div align="center">操作</div></td>
</tr>
<?
<?php
while($r=$empire->fetch($sql))
{
?>
......@@ -74,7 +74,7 @@ $returnpage=page2($num,$line,$page_line,$start,$page,$search);
[<a href="../ecmsmember.php?enews=DelMemberForm&fid=<?=$r[fid]?><?=$ecms_hashur['href']?>" onclick="return confirm('确认要删除?');">删除</a>]
</div></td>
</tr>
<?
<?php
}
db_close();
$empire=null;
......
......@@ -49,7 +49,7 @@ $url="<a href=ListMemberGroup.php".$ecms_hashur['whehref'].">管理会员组</a>
<td width="14%"><div align="center">注册地址</div></td>
<td width="18%" height="25"> <div align="center">操作</div></td>
</tr>
<?
<?php
$sql=$empire->query("select * from {$dbtbpre}enewsmembergroup order by groupid");
while($r=$empire->fetch($sql))
{
......@@ -69,7 +69,7 @@ $url="<a href=ListMemberGroup.php".$ecms_hashur['whehref'].">管理会员组</a>
<td height="25"> <div align="center">[<a href="AddMemberGroup.php?enews=EditMemberGroup&groupid=<?=$r[groupid]?><?=$ecms_hashur['ehref']?>">修改</a>]
[<a href="../ecmsmember.php?enews=DelMemberGroup&groupid=<?=$r[groupid]?><?=$ecms_hashur['href']?>" onclick="return confirm('确认要删除此会员组?');">删除</a>]</div></td>
</tr>
<?
<?php
}
db_close();
$empire=null;
......
......@@ -226,7 +226,7 @@ $returnpage=page2($num,$line,$page_line,$start,$page,$search);
</div></td>
<td height="25"> <div align="center">[<a href="ListSpaceStyle.php?enews=DefSpaceStyle&styleid=<?=$r[styleid]?><?=$ecms_hashur['href']?>">设为默认</a>] [<a href="AddSpaceStyle.php?enews=EditSpaceStyle&styleid=<?=$r[styleid]?><?=$ecms_hashur['ehref']?>">修改</a>]&nbsp;[<a href="ListSpaceStyle.php?enews=DelSpaceStyle&styleid=<?=$r[styleid]?><?=$ecms_hashur['href']?>" onclick="return confirm('确认要删除?');">删除</a>]</div></td>
</tr>
<?
<?php
}
?>
<tr bgcolor="#FFFFFF">
......@@ -237,7 +237,7 @@ $returnpage=page2($num,$line,$page_line,$start,$page,$search);
</table>
</body>
</html>
<?
<?php
db_close();
$empire=null;
?>
......@@ -174,7 +174,7 @@ $url="会员空间&nbsp;>&nbsp;<a href=MemberFeedback.php".$ecms_hashur['whehref
<td width="18%" height="23"><div align="center">发布时间</div></td>
<td width="12%" height="23"><div align="center">操作</div></td>
</tr>
<?
<?php
while($r=$empire->fetch($sql))
{
$ur=$empire->fetch1("select ".egetmf('username')." from ".eReturnMemberTable()." where ".egetmf('userid')."='$r[userid]'");
......@@ -205,7 +205,7 @@ $url="会员空间&nbsp;>&nbsp;<a href=MemberFeedback.php".$ecms_hashur['whehref
<input name="fid[]" type="checkbox" value="<?=$r[fid]?>">
]</div></td>
</tr>
<?
<?php
}
?>
<tr bgcolor="#FFFFFF">
......@@ -219,7 +219,7 @@ $url="会员空间&nbsp;>&nbsp;<a href=MemberFeedback.php".$ecms_hashur['whehref
</form>
</body>
</html>
<?
<?php
db_close();
$empire=null;
?>
......@@ -168,7 +168,7 @@ $url="会员空间&nbsp;>&nbsp;<a href=MemberGbook.php".$ecms_hashur['whehref'].
</table>
<form name=thisform method=post action=MemberGbook.php onsubmit="return confirm('确认要执行操作?');">
<?=$ecms_hashur['form']?>
<?
<?php
while($r=$empire->fetch($sql))
{
$ur=$empire->fetch1("select ".egetmf('username')." from ".eReturnMemberTable()." where ".egetmf('userid')."='$r[userid]'");
......@@ -226,7 +226,7 @@ while($r=$empire->fetch($sql))
</tr>
</table>
<br>
<?
<?php
}
?>
<table width="700" border="0" align="center" cellpadding="3" cellspacing="1">
......@@ -242,7 +242,7 @@ while($r=$empire->fetch($sql))
</form>
</body>
</html>
<?
<?php
db_close();
$empire=null;
?>
......@@ -34,7 +34,7 @@ else
{ }
}
</SCRIPT>
<?
<?php
}
?>
</head>
......
......@@ -121,7 +121,7 @@ while($tgr=$empire->fetch($tgsql))
</form>
</body>
</html>
<?
<?php
db_close();
$empire=null;
?>
\ No newline at end of file
......@@ -241,7 +241,7 @@ function CheckAll(form)
<td width="11%"><div align="center">状态</div></td>
<td width="19%" height="25"> <div align="center">操作</div></td>
</tr>
<?
<?php
while($r=$empire->fetch($sql))
{
//主访问端
......@@ -288,7 +288,7 @@ function CheckAll(form)
?>
</div></td>
</tr>
<?
<?php
}
?>
<tr bgcolor="#FFFFFF">
......@@ -300,7 +300,7 @@ function CheckAll(form)
</table>
</body>
</html>
<?
<?php
db_close();
$empire=null;
?>
\ No newline at end of file
......@@ -143,7 +143,7 @@ document.getElementById("addvote").innerHTML="<table width=100% border=0 cellspa
<td width="26%"> <div align="center">投票数</div></td>
</tr>
</table>
<?
<?php
if($enews=="EditVoteMod"||$copyvote)
{echo"$allv";}
else
......@@ -223,7 +223,7 @@ document.getElementById("addvote").innerHTML="<table width=100% border=0 cellspa
</div></td>
</tr>
</table>
<?
<?php
}
?>
</td>
......
......@@ -216,7 +216,7 @@ $returnpage=page2($num,$line,$page_line,$start,$page,$search);
<td height="25"> <div align="center">[<a href="../task.php?ecms=TodoTask&id=<?=$r[id]?><?=$ecms_hashur['href']?>" onclick="return confirm('确认要执行?');">执行</a>]
[<a href="AddTask.php?enews=EditTask&id=<?=$r[id]?><?=$ecms_hashur['ehref']?>">修改</a>]&nbsp;[<a href="ListTask.php?enews=DelTask&id=<?=$r[id]?><?=$ecms_hashur['href']?>" onclick="return confirm('确认要删除?');">删除</a>]</div></td>
</tr>
<?
<?php
}
?>
<tr bgcolor="#FFFFFF">
......@@ -227,7 +227,7 @@ $returnpage=page2($num,$line,$page_line,$start,$page,$search);
</table>
</body>
</html>
<?
<?php
db_close();
$empire=null;
?>
......@@ -266,7 +266,7 @@ function CheckAll(form)
<td width="10%"><div align="center">预览</div></td>
<td width="18%" height="25"> <div align="center">操作</div></td>
</tr>
<?
<?php
while($r=$empire->fetch($sql))
{
$jspath=$public_r['newsurl'].str_replace("../../","",$r['jsfilename']);
......@@ -287,7 +287,7 @@ function CheckAll(form)
<td><div align="center">[<a href="../view/js.php?js=<?=$jspath?>&classid=1<?=$ecms_hashur['ehref']?>" target="_blank">预览</a>]</div></td>
<td height="25"> <div align="center">[<a href="AddUserjs.php?enews=EditUserjs&jsid=<?=$r[jsid]?>&cid=<?=$classid?><?=$ecms_hashur['ehref']?>">修改</a>]&nbsp;[<a href="AddUserjs.php?enews=AddUserjs&docopy=1&jsid=<?=$r[jsid]?>&cid=<?=$classid?><?=$ecms_hashur['ehref']?>">复制</a>]&nbsp;[<a href="ListUserjs.php?enews=DelUserjs&jsid=<?=$r[jsid]?>&cid=<?=$classid?><?=$ecms_hashur['href']?>" onclick="return confirm('确认要删除?');">删除</a>]</div></td>
</tr>
<?
<?php
}
?>
<tr bgcolor="#FFFFFF">
......@@ -304,7 +304,7 @@ function CheckAll(form)
</table>
</body>
</html>
<?
<?php
db_close();
$empire=null;
?>
......@@ -291,7 +291,7 @@ function CheckAll(form)
<td width="10%"><div align="center">预览</div></td>
<td width="18%" height="25"> <div align="center">操作</div></td>
</tr>
<?
<?php
while($r=$empire->fetch($sql))
{
$jspath=$public_r['newsurl'].str_replace("../../","",$r['filepath']);
......@@ -312,7 +312,7 @@ function CheckAll(form)
<td><div align="center">[<a href="<?=$jspath?>" target="_blank">预览</a>]</div></td>
<td height="25"> <div align="center">[<a href="AddUserlist.php?enews=EditUserlist&listid=<?=$r[listid]?>&cid=<?=$classid?><?=$ecms_hashur['ehref']?>">修改</a>]&nbsp;[<a href="AddUserlist.php?enews=AddUserlist&docopy=1&listid=<?=$r[listid]?>&cid=<?=$classid?><?=$ecms_hashur['ehref']?>">复制</a>]&nbsp;[<a href="ListUserlist.php?enews=DelUserlist&listid=<?=$r[listid]?>&cid=<?=$classid?><?=$ecms_hashur['href']?>" onclick="return confirm('确认要删除?');">删除</a>]</div></td>
</tr>
<?
<?php
}
?>
<tr bgcolor="#FFFFFF">
......@@ -324,7 +324,7 @@ function CheckAll(form)
</table>
</body>
</html>
<?
<?php
db_close();
$empire=null;
?>
......@@ -202,7 +202,7 @@ $url="<a href=ListVoteMod.php".$ecms_hashur['whehref'].">管理预设投票</a>"
<td width="18%" height="25"><div align="center">类型</div></td>
<td width="29%" height="25"><div align="center">操作</div></td>
</tr>
<?
<?php
while($r=$empire->fetch($sql))
{
$voteclass=empty($r['voteclass'])?'单选':'多选';
......@@ -220,7 +220,7 @@ $url="<a href=ListVoteMod.php".$ecms_hashur['whehref'].">管理预设投票</a>"
<td height="25"><div align="center">[<a href="AddVoteMod.php?enews=EditVoteMod&voteid=<?=$r[voteid]?><?=$ecms_hashur['ehref']?>">修改</a>]
[<a href="ListVoteMod.php?enews=DelVoteMod&voteid=<?=$r[voteid]?><?=$ecms_hashur['href']?>" onclick="return confirm('确认要删除?');">删除</a>]</div></td>
</tr>
<?
<?php
}
?>
<tr bgcolor="#FFFFFF">
......@@ -231,7 +231,7 @@ $url="<a href=ListVoteMod.php".$ecms_hashur['whehref'].">管理预设投票</a>"
</table>
</body>
</html>
<?
<?php
db_close();
$empire=null;
?>
......@@ -57,7 +57,7 @@ $sql=$empire->query("select classid,classname from {$dbtbpre}enewsuserjsclass or
<td width="59%" height="25"><div align="center">类别名称</div></td>
<td width="31%" height="25"><div align="center">操作</div></td>
</tr>
<?
<?php
while($r=$empire->fetch($sql))
{
?>
......@@ -78,7 +78,7 @@ $sql=$empire->query("select classid,classname from {$dbtbpre}enewsuserjsclass or
</div></td>
</tr>
</form>
<?
<?php
}
db_close();
$empire=null;
......
......@@ -57,7 +57,7 @@ $sql=$empire->query("select classid,classname from {$dbtbpre}enewsuserlistclass
<td width="59%" height="25"><div align="center">类别名称</div></td>
<td width="31%" height="25"><div align="center">操作</div></td>
</tr>
<?
<?php
while($r=$empire->fetch($sql))
{
?>
......@@ -78,7 +78,7 @@ $sql=$empire->query("select classid,classname from {$dbtbpre}enewsuserlistclass
</div></td>
</tr>
</form>
<?
<?php
}
db_close();
$empire=null;
......
This diff is collapsed.
This diff is collapsed.
This diff is collapsed.
This diff is collapsed.
This diff is collapsed.
This diff is collapsed.
This diff is collapsed.
This diff is collapsed.
This diff is collapsed.
This diff is collapsed.
This diff is collapsed.
This diff is collapsed.
This diff is collapsed.
This diff is collapsed.
This diff is collapsed.
This diff is collapsed.
This diff is collapsed.
This diff is collapsed.
This diff is collapsed.
This diff is collapsed.
This diff is collapsed.
This diff is collapsed.
This diff is collapsed.
This diff is collapsed.
This diff is collapsed.
This diff is collapsed.
This diff is collapsed.
This diff is collapsed.
This diff is collapsed.
This diff is collapsed.
This diff is collapsed.
This diff is collapsed.
This diff is collapsed.
This diff is collapsed.
This diff is collapsed.
This diff is collapsed.
This diff is collapsed.
This diff is collapsed.
This diff is collapsed.
This diff is collapsed.
This diff is collapsed.
This diff is collapsed.
This diff is collapsed.
This diff is collapsed.
This diff is collapsed.
This diff is collapsed.
This diff is collapsed.
This diff is collapsed.
This diff is collapsed.
This diff is collapsed.
This diff is collapsed.
This diff is collapsed.
This diff is collapsed.
This diff is collapsed.
This diff is collapsed.
This diff is collapsed.
This diff is collapsed.
This diff is collapsed.
This diff is collapsed.
This diff is collapsed.
This diff is collapsed.
This diff is collapsed.
This diff is collapsed.
This diff is collapsed.
This diff is collapsed.
This diff is collapsed.
This diff is collapsed.
This diff is collapsed.
This diff is collapsed.
This diff is collapsed.
This diff is collapsed.
This diff is collapsed.
This diff is collapsed.
This diff is collapsed.
This diff is collapsed.
This diff is collapsed.
This diff is collapsed.
This diff is collapsed.
This diff is collapsed.
This diff is collapsed.
This diff is collapsed.
This diff is collapsed.
This diff is collapsed.
This diff is collapsed.
This diff is collapsed.
This diff is collapsed.
This diff is collapsed.
This diff is collapsed.
This diff is collapsed.
This diff is collapsed.
This diff is collapsed.
This diff is collapsed.
This diff is collapsed.
This diff is collapsed.
This diff is collapsed.
This diff is collapsed.
This diff is collapsed.
This diff is collapsed.
This diff is collapsed.
This diff is collapsed.
This diff is collapsed.
This diff is collapsed.
This diff is collapsed.
This diff is collapsed.
This diff is collapsed.
This diff is collapsed.
This diff is collapsed.
This diff is collapsed.
This diff is collapsed.
This diff is collapsed.
This diff is collapsed.
This diff is collapsed.
This diff is collapsed.
This diff is collapsed.
This diff is collapsed.
This diff is collapsed.
This diff is collapsed.
This diff is collapsed.
This diff is collapsed.
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment