@@ -31,38 +31,40 @@ if (empty($dopost)) { | |||
exit; | |||
} elseif ($dopost == 'get_articles') { | |||
?> | |||
<table class="table table-borderless"> | |||
<tbody> | |||
<?php | |||
$userCatalogSql = ''; | |||
if (count($admin_catalogs) > 0) { | |||
$admin_catalog = join(',', $admin_catalogs); | |||
$userCatalogSql = "AND arc.typeid IN($admin_catalog) "; | |||
} | |||
$query = "SELECT arc.id, arc.arcrank, arc.title, arc.typeid, arc.mid, arc.pubdate, arc.channel, ch.editcon, tp.typename FROM `#@__archives` arc LEFT JOIN `#@__channeltype` ch ON ch.id = arc.channel LEFT JOIN `#@__arctype` tp ON arc.typeid=tp.id WHERE arc.arcrank<>-2 {$userCatalogSql} AND arc.mid={$cuserLogin->getUserID()} ORDER BY arc.id DESC LIMIT 0,10"; | |||
$arcArr = array(); | |||
$dsql->Execute('m', $query); | |||
while($row = $dsql->GetArray('m')) | |||
{ | |||
$arcArr[] = $row; | |||
} | |||
?> | |||
<?php | |||
if (count($arcArr) > 0) { | |||
foreach($arcArr as $row) | |||
<div class="table-responsive"> | |||
<table class="table table-borderless"> | |||
<tbody> | |||
<?php | |||
$userCatalogSql = ''; | |||
if (count($admin_catalogs) > 0) { | |||
$admin_catalog = join(',', $admin_catalogs); | |||
$userCatalogSql = "AND arc.typeid IN($admin_catalog) "; | |||
} | |||
$query = "SELECT arc.id, arc.arcrank, arc.title, arc.typeid, arc.mid, arc.pubdate, arc.channel, ch.editcon, tp.typename FROM `#@__archives` arc LEFT JOIN `#@__channeltype` ch ON ch.id = arc.channel LEFT JOIN `#@__arctype` tp ON arc.typeid=tp.id WHERE arc.arcrank<>-2 {$userCatalogSql} AND arc.mid={$cuserLogin->getUserID()} ORDER BY arc.id DESC LIMIT 0,10"; | |||
$arcArr = array(); | |||
$dsql->Execute('m', $query); | |||
while($row = $dsql->GetArray('m')) | |||
{ | |||
if (trim($row['editcon']) == '') { | |||
$row['editcon'] = 'archives_edit.php'; | |||
} | |||
$rowarcrank = $row['arcrank']==-1 ? '待审核' : '已审核'; | |||
$pubdate = GetDateMk($row['pubdate']); | |||
$row['title'] = cn_substr($row['title'], 50); | |||
echo "<tr class='no-wrap'><td><a href='{$row['editcon']}?aid={$row['id']}&channelid={$row['channel']}'>{$row['title']}</a></td><td width='70'>{$rowarcrank}</td><td width='110'>{$pubdate}</td></tr>"; | |||
$arcArr[] = $row; | |||
} | |||
?> | |||
</tbody> | |||
<?php }?> | |||
</table> | |||
?> | |||
<?php | |||
if (count($arcArr) > 0) { | |||
foreach($arcArr as $row) | |||
{ | |||
if (trim($row['editcon']) == '') { | |||
$row['editcon'] = 'archives_edit.php'; | |||
} | |||
$rowarcrank = $row['arcrank']==-1 ? '待审核' : '已审核'; | |||
$pubdate = GetDateMk($row['pubdate']); | |||
$row['title'] = cn_substr($row['title'], 50); | |||
echo "<tr><td><a href='{$row['editcon']}?aid={$row['id']}&channelid={$row['channel']}'>{$row['title']}</a></td><td width='70'>{$rowarcrank}</td><td width='110'>{$pubdate}</td></tr>"; | |||
} | |||
?> | |||
</tbody> | |||
<?php }?> | |||
</table> | |||
</div> | |||
<?php | |||
exit; | |||
} elseif ($dopost == "system_info") { | |||
@@ -18,10 +18,10 @@ | |||
<li class="breadcrumb-item"><a href="ad_main.php">广告管理</a></li> | |||
<li class="breadcrumb-item active">添加广告</li> | |||
</ol> | |||
<div class="alert alert-info shadow-sm">标签{dede:myad name='广告标记'/}调用</div> | |||
<div class="card shadow-sm"> | |||
<div class="card-header">添加广告</div> | |||
<div class="card-body"> | |||
<div class="alert alert-info">标签{dede:myad name='广告标记'/}调用</div> | |||
<form name="form1" action="ad_add.php" method="post"> | |||
<input type="hidden" name="normbody[style]" value="code" id="adstyle"> | |||
<input type="hidden" name="_csrf_token" value="<?php echo $GLOBALS['csrf_token'];?>"> | |||
@@ -22,7 +22,7 @@ | |||
<table class="table table-borderless"> | |||
<tbody> | |||
<tr> | |||
<td width="260">栏目类型</td> | |||
<td width="260">模型类型</td> | |||
<td> | |||
<select name="channelid" class="admin-input-sm"> | |||
<?php | |||
@@ -13,10 +13,10 @@ | |||
<li class="breadcrumb-item"><a href="index_body.php">后台面板</a></li> | |||
<li class="breadcrumb-item active">文档自定义属性</li> | |||
</ol> | |||
<div class="alert alert-info shadow-sm">文档发布时选择属性后arclist标签加上flag='自定义属性',例如:{dede:arclist flag='h,c'}h,c表示组合属性头条和推荐</div> | |||
<div class="card shadow-sm"> | |||
<div class="card-header">文档自定义属性</div> | |||
<div class="card-body"> | |||
<div class="alert alert-info shadow-sm">文档发布时选择属性后arclist标签加上flag='自定义属性',例如:{dede:arclist flag='h,c'}h,c表示组合属性头条和推荐</div> | |||
<form name="form1" action="content_att.php" method="post"> | |||
<input type="hidden" name="dopost" value="save"> | |||
<div class="table-responsive"> | |||
@@ -17,10 +17,10 @@ | |||
<li class="breadcrumb-item"><a href="diy_main.php">自定义表单管理</a></li> | |||
<li class="breadcrumb-item active">添加自定义表单字段</li> | |||
</ol> | |||
<div class="alert alert-warning">不支持字段输入单引号和双引号</div> | |||
<div class="card shadow-sm"> | |||
<div class="card-header">添加自定义表单字段</div> | |||
<div class="card-body"> | |||
<div class="alert alert-warning">不支持字段输入单引号和双引号</div> | |||
<form name="form1" action="diy_field_add.php" method="post" onSubmit="return GetFields();"> | |||
<input type="hidden" name="action" value="save"> | |||
<input type="hidden" name="diyid" value="<?php echo $diyid?>"> | |||
@@ -23,10 +23,10 @@ | |||
<li class="breadcrumb-item"><a href="freelist_main.php">自由列表管理</a></li> | |||
<li class="breadcrumb-item active">添加自由列表</li> | |||
</ol> | |||
<div class="alert alert-info">freelist标签基本等同于arclist标签,区别是freelist标签支持分页,按自定义排序规则的文档列表,且自由列是独立编译的,轻松的实现统一化管理</div> | |||
<div class="card shadow-sm"> | |||
<div class="card-header">添加自由列表</div> | |||
<div class="card-body"> | |||
<div class="alert alert-info">freelist标签基本等同于arclist标签,区别是freelist标签支持分页,按自定义排序规则的文档列表,且自由列是独立编译的,轻松的实现统一化管理</div> | |||
<div id="list1" style="display:none"><p><a href="[field:arcurl/]">[field:title/]</a></p></div> | |||
<div id="list2" style="display:none"><p>[field:typelink/] - <a href="[field:arcurl/]">[field:title/]</a></p></div> | |||
<div id="list3" style="display:none"><p>[field:imglink/]</p><p>[field:textlink/]</p></div> | |||
@@ -24,39 +24,43 @@ | |||
<div class="card-header"> | |||
<span><i class="fa fa-bar-chart"></i> 流量统计表</span> | |||
</div> | |||
<div class="card-body table-responsive"> | |||
<table class="table"> | |||
<tbody> | |||
<tr> | |||
<td width="20%" class="border-top-0"></td> | |||
<td width="20%" class="border-top-0">浏览次数(PV)</td> | |||
<td width="20%" class="border-top-0">独立访客(UV)</td> | |||
<td width="20%" class="border-top-0">独立地址(IP)</td> | |||
<td width="20%" class="border-top-0">访问次数(VV)</td> | |||
</tr> | |||
<tr> | |||
<td>今日记录</td> | |||
<td id="today_pv">0</td> | |||
<td id="today_uv">0</td> | |||
<td id="today_ip">0</td> | |||
<td id="today_vv">0</td> | |||
</tr> | |||
<tr> | |||
<td>昨日记录</td> | |||
<td id="yestoday_pv">0</td> | |||
<td id="yestoday_uv">0</td> | |||
<td id="yestoday_ip">0</td> | |||
<td id="yestoday_vv">0</td> | |||
</tr> | |||
<tr> | |||
<td>历史峰值</td> | |||
<td id="total_pv">0</td> | |||
<td id="total_uv">0</td> | |||
<td id="total_ip">0</td> | |||
<td id="total_vv">0</td> | |||
</tr> | |||
</tbody> | |||
</table> | |||
<div class="card-body"> | |||
<div class="table-responsive"> | |||
<table class="table table-borderless"> | |||
<thead> | |||
<tr> | |||
<td scope="col"></td> | |||
<td scope="col">浏览次数(PV)</td> | |||
<td scope="col">独立访客(UV)</td> | |||
<td scope="col">独立地址(IP)</td> | |||
<td scope="col">访问次数(VV)</td> | |||
</tr> | |||
</thead> | |||
<tbody> | |||
<tr> | |||
<td>今日记录</td> | |||
<td id="today_pv">0</td> | |||
<td id="today_uv">0</td> | |||
<td id="today_ip">0</td> | |||
<td id="today_vv">0</td> | |||
</tr> | |||
<tr> | |||
<td>昨日记录</td> | |||
<td id="yestoday_pv">0</td> | |||
<td id="yestoday_uv">0</td> | |||
<td id="yestoday_ip">0</td> | |||
<td id="yestoday_vv">0</td> | |||
</tr> | |||
<tr> | |||
<td>历史峰值</td> | |||
<td id="total_pv">0</td> | |||
<td id="total_uv">0</td> | |||
<td id="total_ip">0</td> | |||
<td id="total_vv">0</td> | |||
</tr> | |||
</tbody> | |||
</table> | |||
</div> | |||
</div> | |||
</div> | |||
</div> | |||
@@ -65,49 +69,39 @@ | |||
<div class="card-header"> | |||
<span><i class="fa fa-cogs"></i> 软件信息</span> | |||
</div> | |||
<div class="card-body table-responsive"> | |||
<table class="table table-borderless"> | |||
<tbody> | |||
<tr> | |||
<td width="16%"> | |||
<div class="web-info"> | |||
<div class="card-body"> | |||
<div class="table-responsive"> | |||
<table class="table table-borderless"> | |||
<tbody> | |||
<tr> | |||
<td width="16%"> | |||
<p>操作系统</p> | |||
<span><?php echo PHP_OS;?></span> | |||
</div> | |||
</td> | |||
<td width="16%"> | |||
<div class="web-info"> | |||
</td> | |||
<td width="16%"> | |||
<p>WEB服务器</p> | |||
<span><?php echo GetSimpleServerSoftware();?></span> | |||
</div> | |||
</td> | |||
<td width="16%"> | |||
<div class="web-info"> | |||
</td> | |||
<td width="16%"> | |||
<p>IP地址</p> | |||
<span><?php echo gethostbyname($_SERVER['SERVER_NAME']);?></span> | |||
</div> | |||
</td> | |||
<td width="16%"> | |||
<div class="web-info"> | |||
</td> | |||
<td width="16%"> | |||
<p>PHP版本</p> | |||
<span><?php echo @phpversion();?></span> | |||
</div> | |||
</td> | |||
<td width="16%"> | |||
<div class="web-info"> | |||
</td> | |||
<td width="16%"> | |||
<p>数据库版本</p> | |||
<span><?php echo $dsql->GetVersion();?></span> | |||
</div> | |||
</td> | |||
<td width="16%"> | |||
<div class="web-info"> | |||
</td> | |||
<td width="16%"> | |||
<p>上传限制</p> | |||
<span><?php echo ini_get("post_max_size")?></span> | |||
</div> | |||
</td> | |||
</tr> | |||
</tbody> | |||
</table> | |||
</td> | |||
</tr> | |||
</tbody> | |||
</table> | |||
</div> | |||
</div> | |||
</div> | |||
</div> | |||
@@ -117,7 +111,7 @@ | |||
<span><i class="fa fa-copyright"></i> 版本授权</span> | |||
<a href="javascript:;" id="systemUpdate" class="float-right">软件更新<span class="updates-dot"></span></a> | |||
</div> | |||
<div class="card-body table-responsive" id="system-info">正在加载</div> | |||
<div class="card-body" id="system-info">正在加载</div> | |||
</div> | |||
</div> | |||
<div class="w-65 pr-md-3"> | |||
@@ -135,7 +129,7 @@ | |||
<div class="card-header"> | |||
<span><i class="fa fa-list"></i> 最新文档</span> | |||
</div> | |||
<div class="card-body table-responsive" id="system-word">正在加载</div> | |||
<div class="card-body" id="system-word">正在加载</div> | |||
</div> | |||
</div> | |||
</div> | |||
@@ -13,10 +13,10 @@ | |||
<li class="breadcrumb-item"><a href="index_body.php">后台面板</a></li> | |||
<li class="breadcrumb-item active">更新专题</li> | |||
</ol> | |||
<div class="alert alert-info">发布专题后需要手动更新,建议专题目录设置仅可读写权限,存放目录:<?php echo $cfg_special.'/index.html';?></div> | |||
<div class="card shadow-sm"> | |||
<div class="card-header">更新专题</div> | |||
<div class="card-body"> | |||
<div class="alert alert-info">发布专题后需要手动更新,建议专题目录设置仅可读写权限,存放目录:<?php echo $cfg_special.'/index.html';?></div> | |||
<form name="form1" action="makehtml_spec.php" method="get" target="stafrm"> | |||
<input type="hidden" name="dopost" value="ok"> | |||
<div class="table-responsive"> | |||
@@ -13,10 +13,10 @@ | |||
<li class="breadcrumb-item"><a href="index_body.php">后台面板</a></li> | |||
<li class="breadcrumb-item active">更新专题</li> | |||
</ol> | |||
<div class="alert alert-info">更新静态文件后,浏览动态链接则跳转至静态链接,需要动态浏览则删除对应静态文件。标签首页模板:<?php echo $cfg_templets_dir;?>/<?php echo $cfg_df_style?>/tag.htm 标签文档列表模板:<?php echo $cfg_templets_dir;?>/<?php echo $cfg_df_style?>/tag_list.htm</div> | |||
<div class="card shadow-sm"> | |||
<div class="card-header">更新专题</div> | |||
<div class="card-body"> | |||
<div class="alert alert-info">更新静态文件后,浏览动态链接则跳转至静态链接,需要动态浏览则删除对应静态文件。标签首页模板:<?php echo $cfg_templets_dir;?>/<?php echo $cfg_df_style?>/tag.htm 标签文档列表模板:<?php echo $cfg_templets_dir;?>/<?php echo $cfg_df_style?>/tag_list.htm</div> | |||
<form name="form1" action="makehtml_tag_action_list.php" method="get" target="stafrm"> | |||
<div class="table-responsive"> | |||
<table class="table table-borderless"> | |||
@@ -17,10 +17,10 @@ | |||
<li class="breadcrumb-item"><a href="<?php echo $ENV_GOBACK_URL;?>">会员管理</a></li> | |||
<li class="breadcrumb-item active">修改会员</li> | |||
</ol> | |||
<?php if ($row['matt']==10) echo '<div class="alert alert-info">该会员关连网站管理员,请谨慎修改</div>';?> | |||
<div class="card shadow-sm"> | |||
<div class="card-header">修改会员</div> | |||
<div class="card-body"> | |||
<?php if ($row['matt']==10) echo '<div class="alert alert-info">该会员关连网站管理员,请谨慎修改</div>';?> | |||
<form name="form2" action="member_do.php" method="post"> | |||
<input type="hidden" name="dopost" value="edituser"> | |||
<input type="hidden" name="id" value="<?php echo $id?>"> | |||
@@ -13,10 +13,10 @@ | |||
<li class="breadcrumb-item"><a href="index_body.php">后台面板</a></li> | |||
<li class="breadcrumb-item active">会员级别设置</li> | |||
</ol> | |||
<div class="alert alert-info">注册会员级别不建议删除,否则会影响会员功能无法使用某些功能,会员级别值由低向高升级,因此添加组别时需注意此值,如果您添加会员组的级别值低于10,将自动被视为普通的注册会员</div> | |||
<div class="card shadow-sm"> | |||
<div class="card-header">会员级别设置</div> | |||
<div class="card-body"> | |||
<div class="alert alert-info">注册会员级别不建议删除,否则会影响会员功能无法使用某些功能,会员级别值由低向高升级,因此添加组别时需注意此值,如果您添加会员组的级别值低于10,将自动被视为普通的注册会员</div> | |||
<form name="form1" action="member_rank.php" method="post"> | |||
<input type="hidden" name="dopost" value="save"> | |||
<div class="table-responsive"> | |||
@@ -17,11 +17,10 @@ | |||
<li class="breadcrumb-item"><a href="<?php echo $ENV_GOBACK_URL;?>">会员管理</a></li> | |||
<li class="breadcrumb-item active">提升会员</li> | |||
</ol> | |||
<?php if ($row['matt']==10) {echo '<div class="alert alert-info">您已经是管理员,不要提升了</div>';} else {?> | |||
<div class="card shadow-sm"> | |||
<div class="card-header">提升会员</div> | |||
<div class="card-body"> | |||
<?php if ($row['matt']==10) {echo '<div class="alert alert-info">您已经是管理员,不要提升了</div>';} else {?> | |||
<form name="form2" action="member_toadmin.php" method="post"> | |||
<input type="hidden" name="dopost" value="toadmin"> | |||
<input type="hidden" name="userid" value="<?php echo $row['userid']?>"> | |||
@@ -93,8 +92,8 @@ | |||
</table> | |||
</div> | |||
</form> | |||
<?php }?> | |||
</div> | |||
</div> | |||
<?php }?> | |||
</body> | |||
</html> |
@@ -15,10 +15,10 @@ | |||
<li class="breadcrumb-item"><a href="module_main.php">模块管理</a></li> | |||
<li class="breadcrumb-item active">模块打包</li> | |||
</ol> | |||
<div class="alert alert-info">开发模块插件,请先了解<a href="<?php echo $cfg_biz_dedebizUrl;?>/developer" target="_blank">《DedeBIZ贡献者》</a></div> | |||
<div class="card shadow-sm"> | |||
<div class="card-header">模块打包</div> | |||
<div class="card-body"> | |||
<div class="alert alert-info">开发模块插件,请先了解<a href="<?php echo $cfg_biz_dedebizUrl;?>/developer" target="_blank">《DedeBIZ贡献者》</a></div> | |||
<form name="form1" action="module_make.php" method="post" enctype="multipart/form-data"> | |||
<input type="hidden" name="action" value="make"> | |||
<div class="table-responsive"> | |||
@@ -20,10 +20,10 @@ | |||
<li class="breadcrumb-item"><a href="mychannel_main.php">文档模型管理</a></li> | |||
<li class="breadcrumb-item active">新增文档模型</li> | |||
</ol> | |||
<?php if ($row['issystem'] == 1) {?><div class="alert alert-warning">默认文档模型字段,请谨慎修改</div><?php }?> | |||
<div class="card shadow-sm"> | |||
<div class="card-header">修改文档模型</div> | |||
<div class="card-body"> | |||
<?php if ($row['issystem'] == 1) {?><div class="alert alert-warning">默认文档模型字段,请谨慎修改</div><?php }?> | |||
<form name="form1" action="mychannel_edit.php" method="post"> | |||
<input type="hidden" name="id" value="<?php echo $id?>"> | |||
<input type="hidden" name="dopost" value="save"> | |||
@@ -17,10 +17,10 @@ | |||
<li class="breadcrumb-item"><a href="mychannel_main.php">文档模型管理</a></li> | |||
<li class="breadcrumb-item active">添加文档模型字段</li> | |||
</ol> | |||
<div class="alert alert-warning">不支持字段输入单引号和双引号</div> | |||
<div class="card shadow-sm"> | |||
<div class="card-header">添加文档模型字段</div> | |||
<div class="card-body"> | |||
<div class="alert alert-warning">不支持字段输入单引号和双引号</div> | |||
<form name="form1" action="mychannel_field_add.php" method="post" onSubmit="return GetFields();"> | |||
<input type="hidden" name="action" value="save"> | |||
<input type="hidden" name="id" value="<?php echo $id?>"> | |||
@@ -20,10 +20,10 @@ | |||
<li class="breadcrumb-item"><a href="mytag_main.php">自定义宏标记</a></li> | |||
<li class="breadcrumb-item active">添加自定义宏标记</li> | |||
</ol> | |||
<div class="alert alert-info">标签{dede:mytag name='标记名称' ismake='yes或no' typeid='栏目id'/}调用</div> | |||
<div class="card shadow-sm"> | |||
<div class="card-header">添加自定义宏标记</div> | |||
<div class="card-body"> | |||
<div class="alert alert-info">标签{dede:mytag name='标记名称' ismake='yes或no' typeid='栏目id'/}调用</div> | |||
<form name="form1" action="mytag_add.php" method="post" enctype="multipart/form-data"> | |||
<input type="hidden" name="dopost" value="save"> | |||
<input type="hidden" name="_csrf_token" value="<?php echo $GLOBALS['csrf_token'];?>"> | |||
@@ -61,10 +61,10 @@ | |||
<li class="breadcrumb-item"><a href="content_s_list.php">专题列表</a></li> | |||
<li class="breadcrumb-item active">发布专题</li> | |||
</ol> | |||
<div class="alert alert-info">文档列表(英文逗号隔开,如:1,2,3)单条记录模板[field:fieldname/]标签,更多调用参考arclist标签</div> | |||
<div class="card shadow-sm"> | |||
<div class="card-header">发布专题</div> | |||
<div class="card-body"> | |||
<div class="alert alert-info">文档列表(英文逗号隔开,如:1,2,3)单条记录模板[field:fieldname/]标签,更多调用参考arclist标签</div> | |||
<form name="form1" action="spec_add.php" method="post" enctype="multipart/form-data"> | |||
<input type="hidden" name="dopost" value="save"> | |||
<input type="hidden" name="channelid" value="<?php echo $channelid?>"> | |||
@@ -13,10 +13,10 @@ | |||
<li class="breadcrumb-item"><a href="index_body.php">后台面板</a></li> | |||
<li class="breadcrumb-item active">更新缓存</li> | |||
</ol> | |||
<div class="alert alert-info">更新栏目、枚举、文档调用、过期会员浏览记录、过期会员短信、过期流量统计等缓存</div> | |||
<div class="card shadow-sm"> | |||
<div class="card-header">更新缓存</div> | |||
<div class="card-body"> | |||
<div class="alert alert-info">更新栏目、枚举、文档调用、过期会员浏览记录、过期会员短信、过期流量统计等缓存</div> | |||
<form name="form1" action="sys_cache_up.php" method="get" target="stafrm"> | |||
<input type="hidden" name="dopost" value="ok"> | |||
<div class="table-responsive"> | |||
@@ -17,10 +17,10 @@ | |||
<li class="breadcrumb-item"><a href="index_body.php">后台面板</a></li> | |||
<li class="breadcrumb-item active">数据批量替换</li> | |||
</ol> | |||
<div class="alert alert-warning">数据批量替换,请谨慎操作</div> | |||
<div class="card shadow-sm"> | |||
<div class="card-header">数据批量替换</div> | |||
<div class="card-body"> | |||
<div class="alert alert-warning">数据批量替换,请谨慎操作</div> | |||
<form action="sys_data_replace.php" name="form1" method="post" target="stafrm"> | |||
<input type="hidden" name="action" value="apply"> | |||
<div class="table-responsive"> | |||
@@ -17,10 +17,10 @@ | |||
<li class="breadcrumb-item"><a href="templets_one.php">文档单页管理</a></li> | |||
<li class="breadcrumb-item active">添加自定义页面</li> | |||
</ol> | |||
<div class="alert alert-info">文档单页管理等同于单页文档,例如:页面标题标签{dede:field.title/}调用</div> | |||
<div class="card shadow-sm"> | |||
<div class="card-header">文档单页管理</div> | |||
<div class="card-body"> | |||
<div class="alert alert-info">文档单页管理等同于单页文档,例如:页面标题标签{dede:field.title/}调用</div> | |||
<form name="form1" action="templets_one_add.php" method="post"> | |||
<input type="hidden" name="dopost" value="save"> | |||
<div class="table-responsive"> | |||
@@ -13,10 +13,10 @@ | |||
<li class="breadcrumb-item"><a href="index_body.php">后台面板</a></li> | |||
<li class="breadcrumb-item active">标签源码管理</li> | |||
</ol> | |||
<div class="alert alert-warning">默认标签源码文件,请谨慎修改</div> | |||
<div class="card shadow-sm"> | |||
<div class="card-header">标签源码管理</div> | |||
<div class="card-body"> | |||
<div class="alert alert-warning">默认标签源码文件,请谨慎修改</div> | |||
<div class="table-responsive"> | |||
<table class="table table-borderless"> | |||
<thead> | |||
@@ -25,10 +25,10 @@ | |||
<li class="breadcrumb-item"><a href="templets_tagsource.php">标签源码管理</a></li> | |||
<li class="breadcrumb-item active">新建/修改标签源码</li> | |||
</ol> | |||
<div class="alert alert-warning">默认标签源码文件,请谨慎修改</div> | |||
<div class="card shadow-sm"> | |||
<div class="card-header">新建/修改标签源码</div> | |||
<div class="card-body"> | |||
<div class="alert alert-warning">默认标签源码文件,请谨慎修改</div> | |||
<form name="form1" action="tpl.php" method="post"> | |||
<input type="hidden" name="actiondo" value="<?php echo $action;?>"> | |||
<input type="hidden" name="_csrf_token" value="<?php echo $GLOBALS['csrf_token'];?>"> | |||
@@ -354,11 +354,6 @@ body.menu-show .body-right { | |||
height:99%; | |||
border:0 | |||
} | |||
.web-info { | |||
padding:10px; | |||
background:var(--light); | |||
white-space:nowrap | |||
} | |||
#_fileList,#_verList { | |||
height:350px; | |||
overflow-y:auto | |||
@@ -652,22 +647,22 @@ body.menu-show .body-right { | |||
border:0 | |||
} | |||
.card-header { | |||
padding:0.5rem 1rem; | |||
padding:1rem; | |||
background-color:rgba(0,0,0,0); | |||
border-bottom:1px solid rgba(0,0,0,0.05) | |||
} | |||
.card-body { | |||
padding:0.5rem | |||
padding:1rem | |||
} | |||
.card-body canvas { | |||
height:348px!important | |||
height:365px!important | |||
} | |||
.table { | |||
margin-bottom:0; | |||
color:var(--gray) | |||
} | |||
.table th,.table td { | |||
padding:0.5rem; | |||
padding:0.5rem 0; | |||
vertical-align:middle | |||
} | |||
.form-control { | |||
@@ -783,7 +778,7 @@ span.page-link { | |||
color:var(--white); | |||
background:var(--green) | |||
} | |||
input,select,textarea,.web-info,.upload-bg,.colordlg,.pubdlg,.quickselitem .topcat,.mysource,.mywriter,#edsta,.cke_chrome,.cke_inner,.pagination,.card,.form-control,.btn,.alert,.rounded { | |||
input,select,textarea,.upload-bg,.colordlg,.pubdlg,.quickselitem .topcat,.mysource,.mywriter,#edsta,.cke_chrome,.cke_inner,.pagination,.card,.form-control,.btn,.alert,.rounded { | |||
border-radius:var(--b-radius)!important | |||
} | |||
.cke_top { | |||
@@ -154,49 +154,39 @@ $(document).ready(function() { | |||
} else { | |||
dedebizInfo = false; | |||
} | |||
let infoStr = `<table class="table table-borderless"><tbody>`; | |||
let infoStr = `<div class="table-responsive"><table class="table table-borderless"><tbody>`; | |||
if (typeof rsp.result.domain !== "undefined") { | |||
infoStr += `<tr> | |||
<td width="25%"> | |||
<div class="web-info"> | |||
<p>授权域名</p> | |||
<span>${rsp.result.domain}</span> | |||
</div> | |||
<p>授权域名</p> | |||
<span>${rsp.result.domain}</span> | |||
</td> | |||
<td width="25%"> | |||
<div class="web-info"> | |||
<p>站点名称</p> | |||
<span>${rsp.result.title}</span> | |||
</div> | |||
<p>站点名称</p> | |||
<span>${rsp.result.title}</span> | |||
</td> | |||
<td width="25%"> | |||
<div class="web-info"> | |||
<p>授权证书</p> | |||
<span><a href="${cfg_biz_dedebizUrl}/auth/?domain=${rsp.result.domain}" target="_blank">查看证书</a></span> | |||
</div> | |||
<p>授权证书</p> | |||
<span><a href="${cfg_biz_dedebizUrl}/auth/?domain=${rsp.result.domain}" target="_blank">查看证书</a></span> | |||
</td> | |||
<td width="25%"> | |||
<div class="web-info"> | |||
<p>授权时间</p> | |||
<span>${rsp.result.auth_at}</span> | |||
</div> | |||
<p>授权时间</p> | |||
<span>${rsp.result.auth_at}</span> | |||
</td> | |||
</tr>`; | |||
} | |||
infoStr += "</tbody></table>"; | |||
infoStr += "</tbody></table></div>"; | |||
$("#system-info").html(infoStr); | |||
} else { | |||
$("#system-info").html(`<table class="table table-borderless"> | |||
$("#system-info").html(`<div class="table-responsive"><table class="table table-borderless"> | |||
<tbody> | |||
<tr> | |||
<td> | |||
<div class="web-info"> | |||
<p>${rsp.msg}</p> | |||
<span>前往DedeBIZ官网,查看版本相关授权信息</span> | |||
</div> | |||
<p>${rsp.msg}</p> | |||
<span>前往DedeBIZ官网,查看版本相关授权信息</span> | |||
</td> | |||
</tr> | |||
</tbody></table>`); | |||
</tbody></table></div>`); | |||
} | |||
}); | |||
}); | |||