@@ -260,11 +260,11 @@ else if ($dopost == "checkArchives") { | |||
echo "<table>"; | |||
?> | |||
<tr> | |||
<td width="90" class="admin-td">目标栏目:</td> | |||
<td width="120" class="admin-td">目标栏目:</td> | |||
<td class="admin-td"><?php echo $typeOptions;?></td> | |||
</tr> | |||
<tr> | |||
<td width="90" class="admin-td">文档id:</td> | |||
<td width="120" class="admin-td">文档id:</td> | |||
<td class="admin-td"> | |||
<p>(移动栏目和选定文档栏目类型一致,否则过滤不相关文档)</p> | |||
<input type="text" name="tmpids" class="admin-input-lg" value="<?php echo $qstr;?>"> | |||
@@ -484,7 +484,7 @@ else if ($dopost == 'quickEdit') { | |||
echo "<table>"; | |||
?> | |||
<tr> | |||
<td width="90" class="admin-td">所属栏目:</td> | |||
<td width="120" class="admin-td">所属栏目:</td> | |||
<td class="admin-td"> | |||
<?php | |||
$typeOptions = GetOptionList($arcRow['typeid'], $cuserLogin->getUserChannel(), $arcRow['channel']); | |||
@@ -496,7 +496,7 @@ else if ($dopost == 'quickEdit') { | |||
</td> | |||
</tr> | |||
<tr> | |||
<td width="90" class="admin-td">属性:</td> | |||
<td width="120" class="admin-td">属性:</td> | |||
<td class="admin-td"> | |||
<input type="hidden" name="oldflag" value="<?php echo $arcRow['flag'];?>"> | |||
<?php | |||
@@ -513,15 +513,15 @@ else if ($dopost == 'quickEdit') { | |||
</td> | |||
</tr> | |||
<tr> | |||
<td width="90" class="admin-td">标题:</td> | |||
<td width="120" class="admin-td">标题:</td> | |||
<td class="admin-td"><input type="text" name="title" id="title" value="<?php echo $arcRow['title'];?>" class="admin-input-lg"></td> | |||
</tr> | |||
<tr> | |||
<td width="90" class="admin-td">简略标题:</td> | |||
<td width="120" class="admin-td">简略标题:</td> | |||
<td class="admin-td"><input type="text" name="shorttitle" id="shorttitle" value="<?php echo $arcRow['shorttitle'];?>" class="admin-input-lg"></td> | |||
</tr> | |||
<tr> | |||
<td width="90" class="admin-td">阅读权限:</td> | |||
<td width="120" class="admin-td">阅读权限:</td> | |||
<td class="admin-td"> | |||
<select name="arcrank" id="arcrank" class="admin-input-sm"> | |||
<option value='<?php echo $arcRow["arcrank"] ?>'> | |||
@@ -539,7 +539,7 @@ else if ($dopost == 'quickEdit') { | |||
</td> | |||
</tr> | |||
<tr> | |||
<td width="90" class="admin-td">关键词:</td> | |||
<td width="120" class="admin-td">关键词:</td> | |||
<td class="admin-td"><input type="text" name="keywords" id="keywords" value="<?php echo $arcRow['keywords'];?>" class="admin-input-lg"></td> | |||
</tr> | |||
<tr> | |||
@@ -762,7 +762,7 @@ else if ($dopost == 'attsDlg') { | |||
echo "<table>"; | |||
?> | |||
<tr> | |||
<td width="90" class="admin-td">属性:</td> | |||
<td width="120" class="admin-td">属性:</td> | |||
<td class="admin-td"> | |||
<input type="hidden" name="oldflag" value="<?php echo $arcRow['flag'];?>"> | |||
<?php | |||
@@ -776,7 +776,7 @@ else if ($dopost == 'attsDlg') { | |||
</td> | |||
</tr> | |||
<tr> | |||
<td width="90" class="admin-td">文档id:</td> | |||
<td width="120" class="admin-td">文档id:</td> | |||
<td class="admin-td"><input type="text" name="tmpids" value="<?php echo $qstr;?>"></td> | |||
</tr> | |||
<tr> | |||
@@ -38,7 +38,7 @@ if (empty($dopost)) { | |||
$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,15"; | |||
$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,13"; | |||
$arcArr = array(); | |||
$dsql->Execute('m', $query); | |||
while($row = $dsql->GetArray('m')) | |||
@@ -55,7 +55,7 @@ if (empty($dopost)) { | |||
} | |||
$rowarcrank = $row['arcrank']==-1? "<span class='btn btn-danger btn-xs ml-2'>未审核</span>":""; | |||
$pubdate = GetDateMk($row['pubdate']); | |||
echo "<tr><td><a href='{$row['editcon']}?aid={$row['id']}&channelid={$row['channel']}'>{$row['title']}</a>{$rowarcrank}</td><td width='90'>{$pubdate}</td></tr>"; | |||
echo "<tr><td><a href='{$row['editcon']}?aid={$row['id']}&channelid={$row['channel']}'>{$row['title']}</a>{$rowarcrank}</td><td width='100'>{$pubdate}</td></tr>"; | |||
} | |||
} else { | |||
?> | |||
@@ -31,7 +31,7 @@ function moveArc(e, obj, cid){ | |||
ShowMsg('需要选择一个或多个文档'); | |||
return; | |||
} | |||
LoadQuickDiv(e, 'archives_do.php?dopost=moveArchives&qstr='+qstr+'&channelid='+cid+'&rnd='+Math.random(), 'moveArchives', '500px', '180px'); | |||
LoadQuickDiv(e, 'archives_do.php?dopost=moveArchives&qstr='+qstr+'&channelid='+cid+'&rnd='+Math.random(), 'moveArchives', 'auto', '180px'); | |||
ChangeFullDiv('show'); | |||
} | |||
function adArc(aid) { | |||
@@ -46,7 +46,7 @@ function cAtts(jname, e, obj) { | |||
ShowMsg('需要选择一个或多个文档'); | |||
return; | |||
} | |||
LoadQuickDiv(e, 'archives_do.php?dopost=attsDlg&qstr='+qstr+'&dojob='+jname+'&rnd='+Math.random(), 'attsDlg', '500px', '180px'); | |||
LoadQuickDiv(e, 'archives_do.php?dopost=attsDlg&qstr='+qstr+'&dojob='+jname+'&rnd='+Math.random(), 'attsDlg', 'auto', '180px'); | |||
ChangeFullDiv('show', screeheight); | |||
} | |||
function delArc(aid) { | |||
@@ -37,9 +37,9 @@ | |||
<td class="admin-td"> | |||
<table> | |||
<tr> | |||
<td width="90">图片标题:</td> | |||
<td width="120">图片标题:</td> | |||
<td width="400"><input type="text" name="title" id="title" value="" class="admin-input-lg"></td> | |||
<td width="90">简略标题:</td> | |||
<td width="120">简略标题:</td> | |||
<td><input type="text" name="shorttitle" id="shorttitle" class="admin-input-sm"></td> | |||
</tr> | |||
</table> | |||
@@ -49,7 +49,7 @@ | |||
<td class="admin-td"> | |||
<table> | |||
<tr> | |||
<td width="90">自定义属性:</td> | |||
<td width="120">自定义属性:</td> | |||
<td> | |||
<?php | |||
$dsql->SetQuery("SELECT * FROM `#@__arcatt` ORDER BY sortid ASC"); | |||
@@ -71,7 +71,7 @@ | |||
<td class="admin-td"> | |||
<table> | |||
<tr> | |||
<td width="90">跳转网址:</td> | |||
<td width="120">跳转网址:</td> | |||
<td><input type="text" name="redirecturl" id="redirecturl" value="" class="admin-input-lg"></td> | |||
</tr> | |||
</table> | |||
@@ -81,7 +81,7 @@ | |||
<td class="admin-td"> | |||
<table> | |||
<tr> | |||
<td width="90">标签:</td> | |||
<td width="120">标签:</td> | |||
<td><input type="text" name="tags" id="tags" value="" onChange="$Obj('keywords').value=this.value;" class="admin-input-lg">(英文逗号分开,如“DedeBIZ,得德”)</td> | |||
<td width="60">权重:</td> | |||
<td><input type="text" name="weight" id="weight" value="<?php echo $maxWright['cc'];?>" class="admin-input-sm">(越小越靠前)</td> | |||
@@ -93,8 +93,8 @@ | |||
<td class="admin-td"> | |||
<table> | |||
<tr> | |||
<td width="90">缩略图:</td> | |||
<td width="620"> | |||
<td width="120">缩略图:</td> | |||
<td width="630"> | |||
<input type="text" name="picname" id="picname" class="admin-input-lg"> | |||
<label><input type="checkbox" name="ddisremote" value="1" id="ddisremote" class="l-height-28"> 远程</label> | |||
<span class="btn btn-success btn-sm fileinput-button">上传图片<input type="file" name="files[]" id="iptAddImages"></span> | |||
@@ -110,7 +110,7 @@ | |||
<td class="admin-td"> | |||
<table> | |||
<tr> | |||
<td width="90">来源:</td> | |||
<td width="120">来源:</td> | |||
<td width="260"> | |||
<input type="text" name="source" id="source" value="" class="admin-input-sm"> | |||
<button type="button" name="selsource" id="selsource" class="btn btn-success btn-sm">选择</button> | |||
@@ -128,7 +128,7 @@ | |||
<td class="admin-td"> | |||
<table> | |||
<tr> | |||
<td width="90">发布栏目:</td> | |||
<td width="120">发布栏目:</td> | |||
<td width="360"> | |||
<span id="typeidct"> | |||
<?php | |||
@@ -146,7 +146,7 @@ | |||
} | |||
?> | |||
</td> | |||
<td width="90">需要金币:</td> | |||
<td width="120">需要金币:</td> | |||
<td><input type="text" name="money" id="money" value="0" class="admin-input-sm"></td> | |||
</tr> | |||
</table> | |||
@@ -156,7 +156,7 @@ | |||
<td class="admin-td"> | |||
<table> | |||
<tr> | |||
<td width="90">副栏目:</td> | |||
<td width="120">副栏目:</td> | |||
<td> | |||
<span id="typeid2ct"></span> | |||
<input type="text" name="typeid2" id="typeid2" value="" class="admin-input-sm"> | |||
@@ -170,7 +170,7 @@ | |||
<td class="admin-td"> | |||
<table> | |||
<tr> | |||
<td width="90">关键词:</td> | |||
<td width="120">关键词:</td> | |||
<td width="410"> | |||
<input type="text" name="keywords" id="keywords" value="" class="admin-input-lg"> | |||
<button type="button" name="Submit" onclick="SelectKeywords('form1.keywords');" class="btn btn-success btn-sm">选择</button> | |||
@@ -186,7 +186,7 @@ | |||
<td class="admin-td"> | |||
<table> | |||
<tr> | |||
<td width="90">描述:</td> | |||
<td width="120">描述:</td> | |||
<td><textarea name="description" id="description" class="admin-textarea-sm"></textarea></td> | |||
</tr> | |||
</table> | |||
@@ -196,7 +196,7 @@ | |||
<td class="admin-td"> | |||
<table> | |||
<tr> | |||
<td width="90">表现方式:</td> | |||
<td width="120">表现方式:</td> | |||
<td> | |||
<label><input type="radio" name="pagestyle" id="pagestyle1" onclick="checkMuList()" value="1" <?php if ($cfg_album_style==1) echo " checked='checked'";?>> <img src="../static/web/img/alb2.jpg" title="单页多图样式"></label> | |||
<label><input type="radio" name="pagestyle" id="pagestyle2" onclick="checkMuList()" value="2" <?php if ($cfg_album_style==2) echo " checked='checked'";?>> <img src="../static/web/img/alb1.jpg" title="幻灯片样式"></label> | |||
@@ -210,7 +210,7 @@ | |||
<td class="admin-td"> | |||
<table> | |||
<tr> | |||
<td width="90">多列式参数:</td> | |||
<td width="120">多列式参数:</td> | |||
<td> | |||
<label>行 <input type="text" name="row" id="row" value="<?php echo $cfg_album_row;?>" class="admin-input-sm"></label> | |||
<label>列 <input type="text" name="col" id="col" value="<?php echo $cfg_album_col;?>" class="admin-input-sm"></label> | |||
@@ -225,7 +225,7 @@ | |||
<td class="admin-td"> | |||
<table> | |||
<tr> | |||
<td width="90">每页图片数:</td> | |||
<td width="120">每页图片数:</td> | |||
<td> | |||
<input type="text" name="pagepicnum" id="pagpicnum" class="admin-input-sm" value="<?php echo $cfg_album_pagesize;?>"> | |||
<span>(单页多图显示需要设置此参数,这种模式下系统不会为每张图单独生成缩略图)</span> | |||
@@ -238,7 +238,7 @@ | |||
<td class="admin-td"> | |||
<table> | |||
<tr> | |||
<td width="90">附加选项:</td> | |||
<td width="120">附加选项:</td> | |||
<td> | |||
<label><input type="checkbox" name="ddisfirst" value="1"> 提取第一个图片为缩略图</label> | |||
</td> | |||
@@ -251,7 +251,7 @@ | |||
<td class="admin-td"> | |||
<table> | |||
<tr> | |||
<td width="90">本地上传:</td> | |||
<td width="120">本地上传:</td> | |||
<td><span class="btn btn-success btn-sm fileinput-button">上传多图<input type="file" name="files[]" id="iptAlbumImages" multiple></span></td> | |||
</tr> | |||
</table> | |||
@@ -272,7 +272,7 @@ | |||
<td class="admin-td"> | |||
<table> | |||
<tr> | |||
<td width="90">图片文档:</td> | |||
<td width="120">图片文档:</td> | |||
<td><?php GetEditor("body","",400,"Diy");?></td> | |||
</tr> | |||
</table> | |||
@@ -282,12 +282,12 @@ | |||
<td class="admin-td"> | |||
<table> | |||
<tr> | |||
<td width="90">评论选项:</td> | |||
<td width="120">评论选项:</td> | |||
<td width="260"> | |||
<label><input type="radio" name="notpost" value="0" <?php if ($cfg_feedback_forbid=='N') echo "checked='1'";?>> 允许评论</label> | |||
<label><input type="radio" name="notpost" value="1" <?php if ($cfg_feedback_forbid=='Y') echo "checked='1'";?>> 禁止评论</label> | |||
</td> | |||
<td width="90">发布选项:</td> | |||
<td width="120">发布选项:</td> | |||
<td> | |||
<label><input type="radio" name="ishtml" value="1" checked> 生成网页</label> | |||
<label><input type="radio" name="ishtml" value="0"> 仅动态浏览</label> | |||
@@ -300,7 +300,7 @@ | |||
<td class="admin-td"> | |||
<table> | |||
<tr> | |||
<td width="90">图片排序:</td> | |||
<td width="120">图片排序:</td> | |||
<td width="260"><select name="sortup" id="sortup" class="admin-input-sm"> | |||
<option value="0" selected>默认排序</option> | |||
<option value="7">置顶一周</option> | |||
@@ -309,7 +309,7 @@ | |||
<option value="180">置顶半年</option> | |||
<option value="360">置顶一年</option> | |||
</select> </td> | |||
<td width="90">标题颜色:</td> | |||
<td width="120">标题颜色:</td> | |||
<td> | |||
<input type="text" name="color" id="color" class="admin-input-sm"> | |||
<button type="button" name="modcolor" id="modcolor" class="btn btn-success btn-sm" onclick="ShowColor(event,this)">选取</button> | |||
@@ -322,7 +322,7 @@ | |||
<td class="admin-td"> | |||
<table> | |||
<tr> | |||
<td width="90">阅读权限:</td> | |||
<td width="120">阅读权限:</td> | |||
<td width="260"> | |||
<select name="arcrank" id="arcrank" class="admin-input-sm"> | |||
<?php | |||
@@ -336,7 +336,7 @@ | |||
?> | |||
</select> | |||
</td> | |||
<td width="90">文件名称:</td> | |||
<td width="120">文件名称:</td> | |||
<td><input type="text" name="filename" id="filename" class="admin-input-sm">(不包括后缀名如.html等)</td> | |||
</tr> | |||
</table> | |||
@@ -346,14 +346,14 @@ | |||
<td class="admin-td"> | |||
<table> | |||
<tr> | |||
<td width="90">发布时间:</td> | |||
<td width="120">发布时间:</td> | |||
<td width="260"> | |||
<?php | |||
$nowtime = GetDateTimeMk(time()); | |||
echo "<input type='text' name='pubdate' value='$nowtime' id='pubdate' class='datepicker admin-input-sm'>"; | |||
?> | |||
</td> | |||
<td width="90">浏览次数:</td> | |||
<td width="120">浏览次数:</td> | |||
<td><input type="text" name="click" value="<?php echo ($cfg_arc_click=='-1' ? mt_rand(1000,6000):$cfg_arc_click);?>" class="admin-input-sm"></td> | |||
</tr> | |||
</table> | |||
@@ -36,9 +36,9 @@ | |||
<td class="admin-td"> | |||
<table> | |||
<tr> | |||
<td width="90">图片标题:</td> | |||
<td width="120">图片标题:</td> | |||
<td width="400"><input type="text" name="title" id="title" value="<?php echo $arcRow['title'];?>" class="admin-input-lg"></td> | |||
<td width="90">简略标题:</td> | |||
<td width="120">简略标题:</td> | |||
<td><input type="text" name="shorttitle" id="shorttitle" value="<?php echo $arcRow['shorttitle'];?>" class="admin-input-sm"></td> | |||
</tr> | |||
</table> | |||
@@ -48,7 +48,7 @@ | |||
<td class="admin-td"> | |||
<table> | |||
<tr> | |||
<td width="90">自定义属性:</td> | |||
<td width="120">自定义属性:</td> | |||
<td> | |||
<?php | |||
$dsql->SetQuery("SELECT * FROM `#@__arcatt` ORDER BY sortid ASC"); | |||
@@ -72,7 +72,7 @@ | |||
<td class="admin-td" id="redirecturltr" style="display:<?php echo (empty($addRow['redirecturl']) ? 'none' : 'block');?>"> | |||
<table> | |||
<tr> | |||
<td width="90">跳转网址:</td> | |||
<td width="120">跳转网址:</td> | |||
<td><input type="text" name="redirecturl" id="redirecturl" value="<?php echo $addRow['redirecturl']?>" class="admin-input-lg"></td> | |||
</tr> | |||
</table> | |||
@@ -82,7 +82,7 @@ | |||
<td class="admin-td"> | |||
<table> | |||
<tr> | |||
<td width="90">标签:</td> | |||
<td width="120">标签:</td> | |||
<td><input type="text" name="tags" id="tags" value="<?php echo $tags;?>" class="admin-input-lg">(英文逗号分开,如“DedeBIZ,得德”)</td> | |||
<td width="60">权重:</td> | |||
<td><input type="text" name="weight" id="weight" value="<?php echo $arcRow['weight'];?>" class="admin-input-sm">(越小越靠前)</td> | |||
@@ -94,8 +94,8 @@ | |||
<td class="admin-td"> | |||
<table> | |||
<tr> | |||
<td width="90">缩略图:</td> | |||
<td width="620"> | |||
<td width="120">缩略图:</td> | |||
<td width="630"> | |||
<input type="text" name="picname" id="picname" value="<?php echo $arcRow['litpic']?>" class="admin-input-lg"> | |||
<label><input type="checkbox" name="ddisremote" value="1" id="ddisremote" class="l-height-28"> 远程</label> | |||
<span class="btn btn-success btn-sm fileinput-button">上传图片<input type="file" name="files[]" id="iptAddImages"></span> | |||
@@ -111,12 +111,12 @@ | |||
<td class="admin-td"> | |||
<table> | |||
<tr> | |||
<td width="90">来源:</td> | |||
<td width="120">来源:</td> | |||
<td width="260"> | |||
<input type="text" name="source" id="source" value="<?php echo $arcRow['source']?>" class="admin-input-sm"> | |||
<button type="button" name="selsource" id="selsource" class="btn btn-success btn-sm">选择</button> | |||
</td> | |||
<td width="90">作者:</td> | |||
<td width="120">作者:</td> | |||
<td> | |||
<input type="text" name="writer" id="writer" value="<?php echo $arcRow['writer']?>" class="admin-input-sm"> | |||
<button type="button" name="selwriter" id="selwriter" class="btn btn-success btn-sm">选择</button> | |||
@@ -129,7 +129,7 @@ | |||
<td class="admin-td"> | |||
<table> | |||
<tr> | |||
<td width="90">发布栏目:</td> | |||
<td width="120">发布栏目:</td> | |||
<td width="360"> | |||
<?php | |||
$typeOptions = GetOptionList($arcRow['typeid'],$cuserLogin->getUserChannel(),$channelid); | |||
@@ -140,7 +140,7 @@ | |||
?> | |||
<i class="btn btn-sm fa fa-search" onclick="ShowCatMap(event,this,<?php echo $channelid;?>,'typeid','<?php echo $arcRow['typeid'];?>')" title="快捷选择"></i> | |||
</td> | |||
<td width="90">需要金币:</td> | |||
<td width="120">需要金币:</td> | |||
<td><input type="text" name="money" id="money" value="<?php echo $arcRow['money']?>" class="admin-input-sm"></td> | |||
</tr> | |||
</table> | |||
@@ -151,7 +151,7 @@ | |||
<td class="admin-td"> | |||
<table> | |||
<tr> | |||
<td width="90">副栏目:</td> | |||
<td width="120">副栏目:</td> | |||
<td> | |||
<span id="typeid2ct"></span> | |||
<input type="text" name="typeid2" id="typeid2" value="<?php echo ($arcRow['typeid2']=='0' ? '' : $arcRow['typeid2']);?>" class="admin-input-sm"> | |||
@@ -165,7 +165,7 @@ | |||
<td class="admin-td"> | |||
<table> | |||
<tr> | |||
<td width="90">关键词:</td> | |||
<td width="120">关键词:</td> | |||
<td><input type="text" name="keywords" id="keywords" value="<?php echo $arcRow['keywords']?>" class="admin-input-lg"></td> | |||
</tr> | |||
</table> | |||
@@ -175,7 +175,7 @@ | |||
<td class="admin-td"> | |||
<table> | |||
<tr> | |||
<td width="90">描述:</td> | |||
<td width="120">描述:</td> | |||
<td><textarea name="description" id="description" class="admin-textarea-sm"><?php echo $arcRow['description']?></textarea></td> | |||
</tr> | |||
</table> | |||
@@ -187,7 +187,7 @@ | |||
<td class="admin-td"> | |||
<table> | |||
<tr> | |||
<td width="90">表现方式:</td> | |||
<td width="120">表现方式:</td> | |||
<td> | |||
<label><input type="radio" name="pagestyle" id="pagestyle1" onclick="checkMuList()" value="1" <?php if ($pagestyle==1) echo " checked='checked'";?>> <img src="../static/web/img/alb2.jpg" title="单页多图样式"></label> | |||
<label><input type="radio" name="pagestyle" id="pagestyle2" onclick="checkMuList()" value="2" <?php if ($pagestyle==2) echo " checked='checked'";?>> <img src="../static/web/img/alb1.jpg" title="幻灯片样式"></label> | |||
@@ -201,7 +201,7 @@ | |||
<td class="admin-td"> | |||
<table> | |||
<tr> | |||
<td width="90">多列式参数:</td> | |||
<td width="120">多列式参数:</td> | |||
<td> | |||
<label>行 <input type="text" name="row" id="row" value="<?php echo $irow;?>" class="admin-input-sm"></label> | |||
<label>列 <input type="text" name="col" id="col" value="<?php echo $icol;?>" class="admin-input-sm"></label> | |||
@@ -216,7 +216,7 @@ | |||
<td class="admin-td"> | |||
<table> | |||
<tr> | |||
<td width="90">每页图片数:</td> | |||
<td width="120">每页图片数:</td> | |||
<td> | |||
<input name="pagepicnum" id="pagpicnum" class="admin-input-sm" value="<?php echo $pagepicnum;?>"> | |||
<span>(单页多图显示需要设置此参数,这种模式下系统不会为每张图单独生成缩略图)</span> | |||
@@ -229,7 +229,7 @@ | |||
<td class="admin-td"> | |||
<table> | |||
<tr> | |||
<td width="90">限制宽度:</td> | |||
<td width="120">限制宽度:</td> | |||
<td> | |||
<input type="text" name="maxwidth" id="maxwidth" class="admin-input-sm" value="<?php echo $maxwidth?>"> | |||
<span>(防止图片太宽在模板页中溢出)</span> | |||
@@ -286,7 +286,7 @@ | |||
<td class="admin-td"> | |||
<table> | |||
<tr> | |||
<td width="90">本地上传:</td> | |||
<td width="120">本地上传:</td> | |||
<td><span class="btn btn-success btn-sm fileinput-button">上传多图<input type="file" name="files[]" id="iptAlbumImages" multiple></span></td> | |||
</tr> | |||
</table> | |||
@@ -307,7 +307,7 @@ | |||
<td class="admin-td"> | |||
<table> | |||
<tr> | |||
<td width="90">图片文档:</td> | |||
<td width="120">图片文档:</td> | |||
<td><?php GetEditor("body",$body,400,"Diy");?></td> | |||
</tr> | |||
</table> | |||
@@ -317,12 +317,12 @@ | |||
<td class="admin-td"> | |||
<table> | |||
<tr> | |||
<td width="90">评论选项:</td> | |||
<td width="120">评论选项:</td> | |||
<td width="260"> | |||
<label><input type="radio" name="notpost" value="0" <?php if ($arcRow['notpost']==0) echo "checked='1'";?>> 允许评论</label> | |||
<label><input type="radio" name="notpost" value="1" <?php if ($arcRow['notpost']==1) echo "checked='1'";?>> 禁止评论</label> | |||
</td> | |||
<td width="90">发布选项:</td> | |||
<td width="120">发布选项:</td> | |||
<td> | |||
<label><input type="radio" name="ishtml" value="1" <?php if ($arcRow["ismake"]!=-1) echo "checked";?>> 生成网页</label> | |||
<label><input type="radio" name="ishtml" value="0" <?php if ($arcRow["ismake"]==-1) echo "checked";?>> 仅动态浏览</label> | |||
@@ -335,7 +335,7 @@ | |||
<td class="admin-td"> | |||
<table> | |||
<tr> | |||
<td width="90">文档排序:</td> | |||
<td width="120">文档排序:</td> | |||
<td width="260"> | |||
<select name="sortup" id="sortup" class="admin-input-sm"> | |||
<?php | |||
@@ -350,7 +350,7 @@ | |||
<option value="360">置顶一年</option> | |||
</select> | |||
</td> | |||
<td width="90">标题颜色:</td> | |||
<td width="120">标题颜色:</td> | |||
<td> | |||
<input type="text" name="color" id="color" value="<?php echo $arcRow['color']?>" class="admin-input-sm"> | |||
<button type="button" name="modcolor" id="modcolor" class="btn btn-success btn-sm" onclick="ShowColor(event,this)">选取</button> | |||
@@ -363,7 +363,7 @@ | |||
<td class="admin-td"> | |||
<table> | |||
<tr> | |||
<td width="90">阅读权限:</td> | |||
<td width="120">阅读权限:</td> | |||
<td width="260"> | |||
<select name="arcrank" id="arcrank" class="admin-input-sm"> | |||
<option value="<?php echo $arcRow['arcrank']?>"><?php echo $arcRow["rankname"]?></option> | |||
@@ -377,7 +377,7 @@ | |||
?> | |||
</select> | |||
</td> | |||
<td width="90">文件名称:</td> | |||
<td width="120">文件名称:</td> | |||
<td><input type="text" name="filename" id="filename" value="<?php echo $arcRow['filename']?>" class="admin-input-sm">(不包括后缀名如.html等) | |||
</td> | |||
</tr> | |||
@@ -388,14 +388,14 @@ | |||
<td class="admin-td"> | |||
<table> | |||
<tr> | |||
<td width="90">发布时间:</td> | |||
<td width="120">发布时间:</td> | |||
<td width="260"> | |||
<?php | |||
$nowtime = GetDateTimeMk(time()); | |||
echo "<input type='text' name='pubdate' value='$nowtime' id='pubdate' class='datepicker admin-input-sm'>"; | |||
?> | |||
</td> | |||
<td width="90">浏览次数:</td> | |||
<td width="120">浏览次数:</td> | |||
<td><input type="text" name="click" value="<?php echo $arcRow['click'];?>" class="admin-input-sm"></td> | |||
</tr> | |||
</table> | |||
@@ -31,9 +31,9 @@ | |||
<td class="admin-td"> | |||
<table> | |||
<tr> | |||
<td width="90"><?php echo $cInfos['titlename'];?>:</td> | |||
<td width="120"><?php echo $cInfos['titlename'];?>:</td> | |||
<td width="400"><input type="text" name="title" id="title" value="" class="admin-input-lg"></td> | |||
<td width="90">简略标题:</td> | |||
<td width="120">简略标题:</td> | |||
<td><input type="text" name="shorttitle" id="shorttitle" class="admin-input-sm"></td> | |||
</tr> | |||
</table> | |||
@@ -43,7 +43,7 @@ | |||
<td class="admin-td"> | |||
<table> | |||
<tr> | |||
<td width="90">自定义属性:</td> | |||
<td width="120">自定义属性:</td> | |||
<td> | |||
<?php | |||
$dsql->SetQuery("SELECT * FROM `#@__arcatt` ORDER BY sortid ASC"); | |||
@@ -65,7 +65,7 @@ | |||
<td class="admin-td" id="redirecturltr" style="display:none"> | |||
<table> | |||
<tr> | |||
<td width="90">跳转网址:</td> | |||
<td width="120">跳转网址:</td> | |||
<td><input type="text" name="redirecturl" id="redirecturl" value="" class="admin-input-lg"></td> | |||
</tr> | |||
</table> | |||
@@ -75,7 +75,7 @@ | |||
<td class="admin-td"> | |||
<table> | |||
<tr> | |||
<td width="90">标签:</td> | |||
<td width="120">标签:</td> | |||
<td><input type="text" name="tags" id="tags" value="" onChange="$Obj('keywords').value=this.value;" class="admin-input-lg">(英文逗号分开,如“DedeBIZ,得德”)</td> | |||
<td width="60">权重:</td> | |||
<td><input type="text" name="weight" id="weight" value="<?php echo $maxWright['cc'];?>" class="admin-input-sm">(越小越靠前)</td> | |||
@@ -87,8 +87,8 @@ | |||
<td class="admin-td"> | |||
<table> | |||
<tr> | |||
<td width="90">缩略图:</td> | |||
<td width="620"> | |||
<td width="120">缩略图:</td> | |||
<td width="630"> | |||
<input type="text" name="picname" id="picname" class="admin-input-lg"> | |||
<label><input type="checkbox" name="ddisremote" value="1" id="ddisremote" class="l-height-28"> 远程</label> | |||
<span class="btn btn-success btn-sm fileinput-button">上传图片<input type="file" name="files[]" id="iptAddImages"></span> | |||
@@ -104,7 +104,7 @@ | |||
<td class="admin-td"> | |||
<table> | |||
<tr> | |||
<td width="90">来源:</td> | |||
<td width="120">来源:</td> | |||
<td width="260"> | |||
<input type="text" name="source" id="source" value="" class="admin-input-sm"> | |||
<button type="button" name="selsource" id="selsource" class="btn btn-success btn-sm">选择</button> | |||
@@ -129,7 +129,7 @@ | |||
<td class="admin-td"> | |||
<table> | |||
<tr> | |||
<td width="90">发布栏目:</td> | |||
<td width="120">发布栏目:</td> | |||
<td width="360"> | |||
<span id="typeidct"> | |||
<?php | |||
@@ -147,7 +147,7 @@ | |||
} | |||
?> | |||
</td> | |||
<td width="90">需要金币:</td> | |||
<td width="120">需要金币:</td> | |||
<td><input type="text" name="money" id="money" value="0" class="admin-input-sm"></td> | |||
</tr> | |||
</table> | |||
@@ -157,7 +157,7 @@ | |||
<td class="admin-td"> | |||
<table> | |||
<tr> | |||
<td width="90">副栏目:</td> | |||
<td width="120">副栏目:</td> | |||
<td> | |||
<span id="typeid2ct"></span> | |||
<input type="text" name="typeid2" id="typeid2" value="" class="admin-input-sm"> | |||
@@ -171,7 +171,7 @@ | |||
<td class="admin-td"> | |||
<table> | |||
<tr> | |||
<td width="90">关键词:</td> | |||
<td width="120">关键词:</td> | |||
<td width="410"> | |||
<input type="text" name="keywords" id="keywords" value="" class="admin-input-lg"> | |||
<button type="button" name="Submit" value="" class="btn btn-success btn-sm" onclick="SelectKeywords('form1.keywords');">选择</button> | |||
@@ -187,7 +187,7 @@ | |||
<td class="admin-td"> | |||
<table> | |||
<tr> | |||
<td width="90">描述:</td> | |||
<td width="120">描述:</td> | |||
<td><textarea name="description" id="description" class="admin-textarea-sm"></textarea></td> | |||
</tr> | |||
</table> | |||
@@ -198,7 +198,7 @@ | |||
<td class="admin-td"> | |||
<table> | |||
<tr> | |||
<td width="90">附加选项:</td> | |||
<td width="120">附加选项:</td> | |||
<td> | |||
<label><input type="checkbox" name="remote" id="remote" value="1" <?php if ($cfg_rm_remote=='Y') echo 'checked="1"';?>> 下载远程图片和资源</label> | |||
<label><input type="checkbox" name="dellink" id="dellink" value="1" <?php if ($cfg_arc_dellink=='Y') echo 'checked="1"';?>> 删除非站内链接</label> | |||
@@ -215,12 +215,12 @@ | |||
<td class="admin-td"> | |||
<table> | |||
<tr> | |||
<td width="90" width="260">评论选项:</td> | |||
<td width="120" width="260">评论选项:</td> | |||
<td width="260"> | |||
<label><input type="radio" name="notpost" value="0" <?php if ($cfg_feedback_forbid=='N') echo "checked='1'";?>> 允许评论</label> | |||
<label><input type="radio" name="notpost" value="1" <?php if ($cfg_feedback_forbid=='Y') echo "checked='1'";?>> 禁止评论</label> | |||
</td> | |||
<td width="90">发布选项:</td> | |||
<td width="120">发布选项:</td> | |||
<td> | |||
<label><input type="radio" name="ishtml" value="1" checked> 生成网页</label> | |||
<label><input type="radio" name="ishtml" value="0"> 仅动态浏览</label> | |||
@@ -233,7 +233,7 @@ | |||
<td class="admin-td"> | |||
<table> | |||
<tr> | |||
<td width="90">文档排序:</td> | |||
<td width="120">文档排序:</td> | |||
<td width="260"> | |||
<select name="sortup" id="sortup" class="admin-input-sm"> | |||
<option value="0" selected>默认排序</option> | |||
@@ -244,7 +244,7 @@ | |||
<option value="360">置顶一年</option> | |||
</select> | |||
</td> | |||
<td width="90">标题颜色:</td> | |||
<td width="120">标题颜色:</td> | |||
<td> | |||
<input type="text" name="color" id="color" class="admin-input-sm"> | |||
<button type="button" name="modcolor" id="modcolor" onclick="ShowColor(event,this)" class="btn btn-success btn-sm">选取</button> | |||
@@ -257,7 +257,7 @@ | |||
<td class="admin-td"> | |||
<table> | |||
<tr> | |||
<td width="90">阅读权限:</td> | |||
<td width="120">阅读权限:</td> | |||
<td width="260"> | |||
<select name="arcrank" id="arcrank" class="admin-input-sm"> | |||
<?php | |||
@@ -271,7 +271,7 @@ | |||
?> | |||
</select> | |||
</td> | |||
<td width="90">文件名称:</td> | |||
<td width="120">文件名称:</td> | |||
<td><input type="text" name="filename" id="filename" class="admin-input-sm">(不包括后缀名如.html等)</td> | |||
</tr> | |||
</table> | |||
@@ -281,14 +281,14 @@ | |||
<td class="admin-td"> | |||
<table> | |||
<tr> | |||
<td width="90">发布时间:</td> | |||
<td width="120">发布时间:</td> | |||
<td width="260"> | |||
<?php | |||
$nowtime = GetDateTimeMk(time()); | |||
echo "<input type='text' name='pubdate' value='$nowtime' id='pubdate' class='datepicker admin-input-sm'>"; | |||
?> | |||
</td> | |||
<td width="90">浏览次数:</td> | |||
<td width="120">浏览次数:</td> | |||
<td><input type="text" name="click" value="<?php echo ($cfg_arc_click=='-1' ? mt_rand(1000,6000):$cfg_arc_click);?>" class="admin-input-sm"></td> | |||
</tr> | |||
</table> | |||
@@ -31,9 +31,9 @@ | |||
<td class="admin-td"> | |||
<table> | |||
<tr> | |||
<td width="90"><?php echo $cInfos['titlename'];?>:</td> | |||
<td width="120"><?php echo $cInfos['titlename'];?>:</td> | |||
<td width="400"><input name="title" type="text" id="title" value="<?php echo $arcRow['title'];?>" class="admin-input-lg"></td> | |||
<td width="90">简略标题:</td> | |||
<td width="120">简略标题:</td> | |||
<td><input name="shorttitle" type="text" id="shorttitle" value="<?php echo $arcRow['shorttitle'];?>" class="admin-input-sm"></td> | |||
</tr> | |||
</table> | |||
@@ -43,7 +43,7 @@ | |||
<td class="admin-td"> | |||
<table> | |||
<tr> | |||
<td width="90">自定义属性:</td> | |||
<td width="120">自定义属性:</td> | |||
<td> | |||
<?php | |||
$dsql->SetQuery("SELECT * FROM `#@__arcatt` ORDER BY sortid ASC"); | |||
@@ -67,7 +67,7 @@ | |||
<td class="admin-td" id="redirecturltr" style="display:<?php echo (empty($addRow['redirecturl']) ? 'none' : 'block');?>"> | |||
<table> | |||
<tr> | |||
<td width="90">跳转网址:</td> | |||
<td width="120">跳转网址:</td> | |||
<td><input name="redirecturl" type="text" id="redirecturl" value="<?php echo $addRow['redirecturl'];?>" class="admin-input-lg"></td> | |||
</tr> | |||
</table> | |||
@@ -77,7 +77,7 @@ | |||
<td class="admin-td"> | |||
<table> | |||
<tr> | |||
<td width="90">标签:</td> | |||
<td width="120">标签:</td> | |||
<td><input name="tags" type="text" id="tags" value="<?php echo $tags;?>" class="admin-input-lg">(英文逗号分开,如“DedeBIZ,得德”)</td> | |||
<td width="60">权重:</td> | |||
<td><input name="weight" type="text" id="weight" value="<?php echo $arcRow['weight'];?>" class="admin-input-sm">(越小越靠前)</td> | |||
@@ -89,8 +89,8 @@ | |||
<td class="admin-td"> | |||
<table> | |||
<tr> | |||
<td width="90">缩略图:</td> | |||
<td width="620"> | |||
<td width="120">缩略图:</td> | |||
<td width="630"> | |||
<input name="picname" type="text" id="picname" value="<?php echo $arcRow['litpic']?>" class="admin-input-lg"> | |||
<label><input type="checkbox" name="ddisremote" value="1" id="ddisremote" class="l-height-28"> 远程</label> | |||
<span class="btn btn-success btn-sm fileinput-button">上传图片<input type="file" name="files[]" id="iptAddImages"></span> | |||
@@ -106,7 +106,7 @@ | |||
<td class="admin-td"> | |||
<table> | |||
<tr> | |||
<td width="90">来源:</td> | |||
<td width="120">来源:</td> | |||
<td width="260"> | |||
<input name="source" type="text" id="source" value="<?php echo $arcRow['source']?>" class="admin-input-sm"> | |||
<button name="selsource" type="button" id="selsource" class="btn btn-success btn-sm">选择</button> | |||
@@ -133,7 +133,7 @@ | |||
<td class="admin-td"> | |||
<table> | |||
<tr> | |||
<td width="90">发布栏目:</td> | |||
<td width="120">发布栏目:</td> | |||
<td width="360"> | |||
<?php | |||
$typeOptions = GetOptionList($arcRow['typeid'],$cuserLogin->getUserChannel(),$channelid); | |||
@@ -144,7 +144,7 @@ | |||
?> | |||
<i class="btn btn-sm fa fa-search" onclick="ShowCatMap(event,this,<?php echo $channelid;?>,'typeid')" title="快捷选择"></i> | |||
</td> | |||
<td width="90">需要金币:</td> | |||
<td width="120">需要金币:</td> | |||
<td><input name="money" type="text" id="money" value="<?php echo $arcRow['money']?>" class="admin-input-sm"></td> | |||
</tr> | |||
</table> | |||
@@ -155,7 +155,7 @@ | |||
<td class="admin-td"> | |||
<table> | |||
<tr> | |||
<td width="90">副栏目:</td> | |||
<td width="120">副栏目:</td> | |||
<td> | |||
<span id="typeid2ct"></span> | |||
<input type="text" name="typeid2" id="typeid2" value="<?php echo ($arcRow['typeid2']=='0' ? '' : $arcRow['typeid2']);?>" class="admin-input-sm"> | |||
@@ -169,7 +169,7 @@ | |||
<td class="admin-td"> | |||
<table> | |||
<tr> | |||
<td width="90">关键词:</td> | |||
<td width="120">关键词:</td> | |||
<td><input type="text" name="keywords" id="keywords" value="<?php echo $arcRow['keywords']?>" class="admin-input-lg"></td> | |||
</tr> | |||
</table> | |||
@@ -179,7 +179,7 @@ | |||
<td class="admin-td"> | |||
<table> | |||
<tr> | |||
<td width="90">描述:</td> | |||
<td width="120">描述:</td> | |||
<td><textarea name="description" id="description" class="admin-textarea-sm"><?php echo $arcRow['description']?></textarea></td> | |||
</tr> | |||
</table> | |||
@@ -191,7 +191,7 @@ | |||
<td class="admin-td"> | |||
<table> | |||
<tr> | |||
<td width="90">附加选项:</td> | |||
<td width="120">附加选项:</td> | |||
<td> | |||
<label><input name="remote" type="checkbox" id="remote" value="1" <?php if ($cfg_rm_remote=='Y') echo ' checked="1" ';?>> 下载远程图片和资源</label> | |||
<label><input name="autolitpic" type="checkbox" id="autolitpic" value="1" <?php if ($cfg_arc_autopic=='Y') echo ' checked="1" ';?>> 提取第一个图片为缩略图</label> | |||
@@ -204,12 +204,12 @@ | |||
<td class="admin-td"> | |||
<table> | |||
<tr> | |||
<td width="90" width="260">评论选项:</td> | |||
<td width="120" width="260">评论选项:</td> | |||
<td width="260"> | |||
<label><input type='radio' name='notpost' value='0' <?php if ($arcRow['notpost']==0) echo " checked='1' ";?>> 允许评论</label> | |||
<label><input type='radio' name='notpost' value='1' <?php if ($arcRow['notpost']==1) echo " checked='1' ";?>> 禁止评论</label> | |||
</td> | |||
<td width="90">发布选项:</td> | |||
<td width="120">发布选项:</td> | |||
<td> | |||
<label><input name="ishtml" type="radio" value="1" <?php if ($arcRow["ismake"]!=-1) echo " checked";?>> 生成网页</label> | |||
<label><input type="radio" name="ishtml" value="0" <?php if ($arcRow["ismake"]==-1) echo " checked";?>> 仅动态浏览</label> | |||
@@ -222,7 +222,7 @@ | |||
<td class="admin-td"> | |||
<table> | |||
<tr> | |||
<td width="90">文档排序:</td> | |||
<td width="120">文档排序:</td> | |||
<td width="260"><select name="sortup" id="sortup" class="admin-input-sm"> | |||
<?php | |||
$subday = SubDay($arcRow["sortrank"],$arcRow["pubdate"]); | |||
@@ -236,7 +236,7 @@ | |||
<option value="360">置顶一年</option> | |||
</select> | |||
</td> | |||
<td width="90">标题颜色:</td> | |||
<td width="120">标题颜色:</td> | |||
<td> | |||
<input name="color" type="text" id="color" value="<?php echo $arcRow['color']?>" class="admin-input-sm"> | |||
<button name="modcolor" type="button" id="modcolor" class="btn btn-success btn-sm" onclick="ShowColor(event,this)">选取</button> | |||
@@ -249,7 +249,7 @@ | |||
<td class="admin-td"> | |||
<table> | |||
<tr> | |||
<td width="90">阅读权限:</td> | |||
<td width="120">阅读权限:</td> | |||
<td width="260"><select name="arcrank" id="arcrank" class="admin-input-sm"> | |||
<option value='<?php echo $arcRow["arcrank"]?>'><?php echo $arcRow["rankname"]?> | |||
</option> | |||
@@ -263,7 +263,7 @@ | |||
?> | |||
</select> | |||
</td> | |||
<td width="90">文件名称:</td> | |||
<td width="120">文件名称:</td> | |||
<td><input type="text" name="filename" id="filename" value="<?php echo $arcRow['filename']?>" class="admin-input-sm">(不包括后缀名如.html等)</td> | |||
</tr> | |||
</table> | |||
@@ -273,14 +273,14 @@ | |||
<td class="admin-td"> | |||
<table> | |||
<tr> | |||
<td width="90">更新时间:</td> | |||
<td width="120">更新时间:</td> | |||
<td width="260"> | |||
<?php | |||
$nowtime = GetDateTimeMk(time()); | |||
echo "<input name='pubdate' value='$nowtime' type='text' id='pubdate' class='datepicker admin-input-sm'>"; | |||
?> | |||
</td> | |||
<td width="90">浏览次数:</td> | |||
<td width="120">浏览次数:</td> | |||
<td><input type="text" name="click" value="<?php echo $arcRow['click'];?>" class="admin-input-sm"></td> | |||
</tr> | |||
</table> | |||
@@ -31,7 +31,7 @@ | |||
<td class="admin-td"> | |||
<table> | |||
<tr> | |||
<td width="90"><?php echo $cInfos['titlename'];?>:</td> | |||
<td width="120"><?php echo $cInfos['titlename'];?>:</td> | |||
<td><input type="text" name="title" id="title" value="" class="admin-input-lg"></td> | |||
</tr> | |||
</table> | |||
@@ -41,7 +41,7 @@ | |||
<td class="admin-td"> | |||
<table> | |||
<tr> | |||
<td width="90">自定义属性:</td> | |||
<td width="120">自定义属性:</td> | |||
<td> | |||
<?php | |||
$dsql->SetQuery("SELECT * FROM `#@__arcatt` WHERE att<>'j' And att<>'p' ORDER BY sortid ASC"); | |||
@@ -60,8 +60,8 @@ | |||
<td class="admin-td"> | |||
<table> | |||
<tr> | |||
<td width="90">缩略图:</td> | |||
<td width="620"> | |||
<td width="120">缩略图:</td> | |||
<td width="630"> | |||
<input type="text" name="picname" id="picname" class="admin-input-lg"> | |||
<label><input type="checkbox" name="ddisremote" value="1" id="ddisremote" class="l-height-28"> 远程</label> | |||
<span class="btn btn-success btn-sm fileinput-button">上传图片<input type="file" name="files[]" id="iptAddImages"></span> | |||
@@ -82,7 +82,7 @@ | |||
<td class="admin-td"> | |||
<table> | |||
<tr> | |||
<td width="90">发布栏目:</td> | |||
<td width="120">发布栏目:</td> | |||
<td> | |||
<span id="typeidct"> | |||
<?php | |||
@@ -104,7 +104,7 @@ | |||
<td class="admin-td"> | |||
<table> | |||
<tr> | |||
<td width="90">浏览权限:</td> | |||
<td width="120">浏览权限:</td> | |||
<td> | |||
<select name="arcrank" id="arcrank" class="admin-input-sm"> | |||
<?php | |||
@@ -32,7 +32,7 @@ | |||
<td class="admin-td"> | |||
<table> | |||
<tr> | |||
<td width="90"><?php echo $cInfos['titlename'];?>:</td> | |||
<td width="120"><?php echo $cInfos['titlename'];?>:</td> | |||
<td><input type="text" name="title" id="title" value="<?php echo $addRow['title'];?>" class="admin-input-lg"></td> | |||
</tr> | |||
</table> | |||
@@ -42,7 +42,7 @@ | |||
<td class="admin-td"> | |||
<table> | |||
<tr> | |||
<td width="90">自定义属性:</td> | |||
<td width="120">自定义属性:</td> | |||
<td> | |||
<?php | |||
$dsql->SetQuery("SELECT * FROM `#@__arcatt` WHERE att<>'j' AND att<>'p' ORDER BY sortid ASC"); | |||
@@ -64,8 +64,8 @@ | |||
<td class="admin-td"> | |||
<table> | |||
<tr> | |||
<td width="90">缩略图:</td> | |||
<td width="620"> | |||
<td width="120">缩略图:</td> | |||
<td width="630"> | |||
<input type="text" name="picname" id="picname" class="admin-input-lg" value="<?php echo $addRow['litpic']?>"> | |||
<label><input type="checkbox" name="ddisremote" value="1" id="ddisremote" class="l-height-28"> 远程</label> | |||
<span class="btn btn-success btn-sm fileinput-button">上传图片<input type="file" name="files[]" id="iptAddImages"></span> | |||
@@ -86,7 +86,7 @@ | |||
<td class="admin-td"> | |||
<table> | |||
<tr> | |||
<td width="90">发布栏目:</td> | |||
<td width="120">发布栏目:</td> | |||
<td> | |||
<?php | |||
$typeOptions = GetOptionList($addRow['typeid'],$cuserLogin->getUserChannel(),$channelid); | |||
@@ -105,7 +105,7 @@ | |||
<td class="admin-td"> | |||
<table> | |||
<tr> | |||
<td width="90">浏览权限:</td> | |||
<td width="120">浏览权限:</td> | |||
<td> | |||
<select name="arcrank" id="arcrank" class="admin-input-sm"> | |||
<option value='<?php echo $addRow["arcrank"];?>'><?php echo $addRow["rankname"];?></option> | |||
@@ -31,9 +31,9 @@ | |||
<td class="admin-td"> | |||
<table> | |||
<tr> | |||
<td width="90">文档标题:</td> | |||
<td width="120">文档标题:</td> | |||
<td width="400"><input type="text" name="title" id="title" value="<?php echo $title;?>" class="admin-input-lg"></td> | |||
<td width="90">简略标题:</td> | |||
<td width="120">简略标题:</td> | |||
<td><input type="text" name="shorttitle" id="shorttitle" class="admin-input-sm"></td> | |||
</tr> | |||
</table> | |||
@@ -43,7 +43,7 @@ | |||
<td class="admin-td"> | |||
<table> | |||
<tr> | |||
<td width="90">自定义属性:</td> | |||
<td width="120">自定义属性:</td> | |||
<td align="left"> | |||
<?php | |||
$dsql->SetQuery("SELECT * FROM `#@__arcatt` ORDER BY sortid ASC"); | |||
@@ -65,7 +65,7 @@ | |||
<td class="admin-td" id="redirecturltr" style="display:none"> | |||
<table> | |||
<tr> | |||
<td width="90">跳转网址:</td> | |||
<td width="120">跳转网址:</td> | |||
<td><input type="text" name="redirecturl" id="redirecturl" value="" class="admin-input-lg"></td> | |||
</tr> | |||
</table> | |||
@@ -75,7 +75,7 @@ | |||
<td class="admin-td"> | |||
<table> | |||
<tr> | |||
<td width="90">标签:</td> | |||
<td width="120">标签:</td> | |||
<td><input type="text" name="tags" id="tags" value="" onChange="$Obj('keywords').value=this.value;" class="admin-input-lg">(英文逗号分开,如“DedeBIZ,得德”)</td> | |||
<td width="60">权重:</td> | |||
<td><input type="text" name="weight" id="weight" value="<?php echo $maxWright['cc'];?>" class="admin-input-sm">(越小越靠前)</td> | |||
@@ -87,8 +87,8 @@ | |||
<td class="admin-td"> | |||
<table> | |||
<tr> | |||
<td width="90">缩略图:</td> | |||
<td width="620"> | |||
<td width="120">缩略图:</td> | |||
<td width="630"> | |||
<input type="text" name="picname" id="picname" class="admin-input-lg"> | |||
<label><input type="checkbox" name="ddisremote" value="1" id="ddisremote" class="l-height-28"> 远程</label> | |||
<span class="btn btn-success btn-sm fileinput-button">上传图片<input type="file" name="files[]" id="iptAddImages"></span> | |||
@@ -104,7 +104,7 @@ | |||
<td class="admin-td"> | |||
<table> | |||
<tr> | |||
<td width="90">来源:</td> | |||
<td width="120">来源:</td> | |||
<td width="260"> | |||
<input type="text" name="source" id="source" value="<?php echo $source;?>" class="admin-input-sm"> | |||
<button type="button" name="selsource" id="selsource" class="btn btn-success btn-sm">选择</button> | |||
@@ -122,7 +122,7 @@ | |||
<td class="admin-td"> | |||
<table> | |||
<tr> | |||
<td width="90">发布栏目:</td> | |||
<td width="120">发布栏目:</td> | |||
<td width="360"> | |||
<span id="typeidct"> | |||
<?php | |||
@@ -140,7 +140,7 @@ | |||
} | |||
?> | |||
</td> | |||
<td width="90">需要金币:</td> | |||
<td width="120">需要金币:</td> | |||
<td><input type="text" name="money" id="money" value="0" class="admin-input-sm"></td> | |||
</tr> | |||
</table> | |||
@@ -150,7 +150,7 @@ | |||
<td class="admin-td"> | |||
<table> | |||
<tr> | |||
<td width="90">副栏目:</td> | |||
<td width="120">副栏目:</td> | |||
<td> | |||
<span id="typeid2ct"></span> | |||
<input type="text" name="typeid2" id="typeid2" value="" class="admin-input-sm"> | |||
@@ -164,7 +164,7 @@ | |||
<td class="admin-td"> | |||
<table> | |||
<tr> | |||
<td width="90">关键词:</td> | |||
<td width="120">关键词:</td> | |||
<td width="410"> | |||
<input type="text" name="keywords" id="keywords" value="<?php echo $keywords;?>" class="admin-input-lg"> | |||
<button type="button" name="Submit" onclick="SelectKeywords('form1.keywords');" class="btn btn-success btn-sm">选择</button> | |||
@@ -180,7 +180,7 @@ | |||
<td class="admin-td"> | |||
<table> | |||
<tr> | |||
<td width="90">描述:</td> | |||
<td width="120">描述:</td> | |||
<td><textarea name="description" id="description" class="admin-textarea-sm"><?php echo $description;?></textarea></td> | |||
</tr> | |||
</table> | |||
@@ -190,7 +190,7 @@ | |||
<td class="admin-td"> | |||
<table> | |||
<tr> | |||
<td width="90">附加选项:</td> | |||
<td width="120">附加选项:</td> | |||
<td> | |||
<label><input type="checkbox" name="remote" id="remote" value="1" <?php if ($cfg_rm_remote=='Y') echo 'checked="1"';?>> 下载远程图片和资源</label> | |||
<label><input type="checkbox" name="dellink" id="dellink" value="1" <?php if ($cfg_arc_dellink=='Y') echo 'checked="1"';?>> 删除非站内链接</label> | |||
@@ -206,7 +206,7 @@ | |||
<td class="admin-td"> | |||
<table> | |||
<tr> | |||
<td width="90">分页方式:</td> | |||
<td width="120">分页方式:</td> | |||
<td> | |||
<label class="l-height-28"><input type="radio" name="sptype" value="hand" <?php if ($cfg_arcautosp=='N') echo "checked='1'"?>> 手动</label> | |||
<label class="l-height-28"><input type="radio" name="sptype" value="auto" <?php if ($cfg_arcautosp=='Y') echo "checked='1'"?>> 自动</label> | |||
@@ -225,12 +225,12 @@ | |||
<td class="admin-td"> | |||
<table> | |||
<tr> | |||
<td width="90">评论选项:</td> | |||
<td width="120">评论选项:</td> | |||
<td width="260"> | |||
<label><input type="radio" name="notpost" value="0" <?php if ($cfg_feedback_forbid=='N') echo "checked='1'";?>> 允许评论</label> | |||
<label><input type="radio" name="notpost" value="1" <?php if ($cfg_feedback_forbid=='Y') echo "checked='1'";?>> 禁止评论</label> | |||
</td> | |||
<td width="90">发布选项:</td> | |||
<td width="120">发布选项:</td> | |||
<td> | |||
<label><input type="radio" name="ishtml" value="1" checked="1"> 生成网页</label> | |||
<label><input type="radio" name="ishtml" value="0"> 仅动态浏览</label> | |||
@@ -243,7 +243,7 @@ | |||
<td class="admin-td"> | |||
<table> | |||
<tr> | |||
<td width="90">文档排序:</td> | |||
<td width="120">文档排序:</td> | |||
<td width="260"> | |||
<select name="sortup" id="sortup" class="admin-input-sm"> | |||
<option value="0" selected>默认排序</option> | |||
@@ -254,7 +254,7 @@ | |||
<option value="360">置顶一年</option> | |||
</select> | |||
</td> | |||
<td width="90">标题颜色:</td> | |||
<td width="120">标题颜色:</td> | |||
<td> | |||
<input type="text" name="color" id="color" class="admin-input-sm"> | |||
<button type="button" name="modcolor" id="modcolor" class="btn btn-success btn-sm" onclick="ShowColor(event, this)">选取</button> | |||
@@ -267,7 +267,7 @@ | |||
<td class="admin-td"> | |||
<table> | |||
<tr> | |||
<td width="90">阅读权限:</td> | |||
<td width="120">阅读权限:</td> | |||
<td width="260"> | |||
<select name="arcrank" id="arcrank" class="admin-input-sm"> | |||
<?php | |||
@@ -281,7 +281,7 @@ | |||
?> | |||
</select> | |||
</td> | |||
<td width="90">文件名称:</td> | |||
<td width="120">文件名称:</td> | |||
<td><input type="text" name="filename" id="filename" class="admin-input-sm">(不包括后缀名如.html等)</td> | |||
<td> | |||
<?php | |||
@@ -296,14 +296,14 @@ | |||
<td class="admin-td"> | |||
<table> | |||
<tr> | |||
<td width="90">发布时间:</td> | |||
<td width="120">发布时间:</td> | |||
<td width="260"> | |||
<?php | |||
$nowtime = GetDateTimeMk(time()); | |||
echo "<input type='text' name='pubdate' value='$nowtime'id='pubdate' class='datepicker admin-input-sm'>"; | |||
?> | |||
</td> | |||
<td width="90">浏览次数:</td> | |||
<td width="120">浏览次数:</td> | |||
<td><input type="text" name="click" value="<?php echo ($cfg_arc_click=='-1' ? mt_rand(1000,6000) : $cfg_arc_click);?>" class="admin-input-sm"></td> | |||
</tr> | |||
</table> | |||
@@ -32,9 +32,9 @@ | |||
<td class="admin-td"> | |||
<table> | |||
<tr> | |||
<td width="90">文档标题:</td> | |||
<td width="120">文档标题:</td> | |||
<td width="400"><input name="title" type="text" id="title" value="<?php echo $arcRow['title'];?>" class="admin-input-lg"></td> | |||
<td width="90">简略标题:</td> | |||
<td width="120">简略标题:</td> | |||
<td><input name="shorttitle" type="text" id="shorttitle" value="<?php echo $arcRow['shorttitle'];?>" class="admin-input-sm"></td> | |||
</tr> | |||
</table> | |||
@@ -44,7 +44,7 @@ | |||
<td class="admin-td"> | |||
<table> | |||
<tr> | |||
<td width="90">自定义属性:</td> | |||
<td width="120">自定义属性:</td> | |||
<td> | |||
<?php | |||
$dsql->SetQuery("SELECT * FROM `#@__arcatt` ORDER BY sortid ASC"); | |||
@@ -72,7 +72,7 @@ | |||
<td class="admin-td" id="redirecturltr" style="display:<?php echo (empty($addRow['redirecturl']) ? 'none' : 'block');?>"> | |||
<table> | |||
<tr> | |||
<td width="90">跳转网址:</td> | |||
<td width="120">跳转网址:</td> | |||
<td><input name="redirecturl" type="text" id="redirecturl" value="<?php echo $addRow['redirecturl']?>" class="admin-input-lg"></td> | |||
</tr> | |||
</table> | |||
@@ -82,7 +82,7 @@ | |||
<td class="admin-td"> | |||
<table> | |||
<tr> | |||
<td width="90">标签:</td> | |||
<td width="120">标签:</td> | |||
<td><input name="tags" type="text" id="tags" value="<?php echo $tags;?>" class="admin-input-lg">(英文逗号分开,如“DedeBIZ,得德”)</td> | |||
<td width="60">权重:</td> | |||
<td><input name="weight" type="text" id="weight" value="<?php echo $arcRow['weight'];?>" class="admin-input-sm">(越小越靠前)</td> | |||
@@ -94,8 +94,8 @@ | |||
<td class="admin-td"> | |||
<table> | |||
<tr> | |||
<td width="90">缩略图:</td> | |||
<td width="620"> | |||
<td width="120">缩略图:</td> | |||
<td width="630"> | |||
<input name="picname" type="text" id="picname" value="<?php echo $arcRow['litpic']?>" class="admin-input-lg"> | |||
<label><input type="checkbox" name="ddisremote" value="1" id="ddisremote" class="l-height-28"> 远程</label> | |||
<span class="btn btn-success btn-sm fileinput-button">上传图片<input type="file" name="files[]" id="iptAddImages"></span> | |||
@@ -111,7 +111,7 @@ | |||
<td class="admin-td"> | |||
<table> | |||
<tr> | |||
<td width="90">来源:</td> | |||
<td width="120">来源:</td> | |||
<td width="260"> | |||
<input name="source" type="text" id="source" value="<?php echo $arcRow['source']?>" class="admin-input-sm"> | |||
<button name="selsource" type="button" id="selsource" class="btn btn-success btn-sm">选择</button> | |||
@@ -129,7 +129,7 @@ | |||
<td class="admin-td"> | |||
<table> | |||
<tr> | |||
<td width="90">发布栏目:</td> | |||
<td width="120">发布栏目:</td> | |||
<td width="360"> | |||
<?php | |||
$typeOptions = GetOptionList($arcRow['typeid'],$cuserLogin->getUserChannel(),$channelid); | |||
@@ -140,7 +140,7 @@ | |||
?> | |||
<i class="btn btn-sm fa fa-search" onclick="ShowCatMap(event,this,<?php echo $channelid;?>,'typeid','<?php echo $arcRow['typeid'];?>')" title="快捷选择"></i> | |||
</td> | |||
<td width="90">需要金币:</td> | |||
<td width="120">需要金币:</td> | |||
<td><input name="money" type="text" id="money" value="<?php echo $arcRow['money']?>" class="admin-input-sm"></td> | |||
</tr> | |||
</table> | |||
@@ -151,7 +151,7 @@ | |||
<td class="admin-td"> | |||
<table> | |||
<tr> | |||
<td width="90">副栏目:</td> | |||
<td width="120">副栏目:</td> | |||
<td> | |||
<span id="typeid2ct"></span> | |||
<input type="text" name="typeid2" id="typeid2" value="<?php echo ($arcRow['typeid2']=='0'?'':$arcRow['typeid2']);?>" class="admin-input-sm"> | |||
@@ -166,7 +166,7 @@ | |||
<td class="admin-td"> | |||
<table> | |||
<tr> | |||
<td width="90">关键词:</td> | |||
<td width="120">关键词:</td> | |||
<td><input type="text" name="keywords" id="keywords" value="<?php echo $arcRow['keywords']?>" class="admin-input-lg"></td> | |||
</tr> | |||
</table> | |||
@@ -176,7 +176,7 @@ | |||
<td class="admin-td"> | |||
<table> | |||
<tr> | |||
<td width="90">描述:</td> | |||
<td width="120">描述:</td> | |||
<td><textarea name="description" id="description" class="admin-textarea-sm"><?php echo $arcRow['description']?></textarea></td> | |||
</tr> | |||
</table> | |||
@@ -187,7 +187,7 @@ | |||
<td class="admin-td"> | |||
<table> | |||
<tr> | |||
<td width="90">附加选项:</td> | |||
<td width="120">附加选项:</td> | |||
<td> | |||
<label><input name="remote" type="checkbox" id="remote" value="1" <?php if ($cfg_rm_remote=='Y') echo ' checked="1" ';?>> 下载远程图片和资源</label> | |||
<label><input name="autolitpic" type="checkbox" id="autolitpic" value="1" <?php if ($cfg_arc_autopic=='Y') echo ' checked="1" ';?>> 提取第一个图片为缩略图</label> | |||
@@ -204,12 +204,12 @@ | |||
<td class="admin-td"> | |||
<table> | |||
<tr> | |||
<td width="90">评论选项:</td> | |||
<td width="120">评论选项:</td> | |||
<td width="260"> | |||
<label><input type="radio" name="notpost" value="0" <?php if ($arcRow['notpost']==0) echo " checked='1' ";?>> 允许评论</label> | |||
<label><input type="radio" name="notpost" value="1" <?php if ($arcRow['notpost']==1) echo " checked='1' ";?>> 禁止评论</label> | |||
</td> | |||
<td width="90">发布选项:</td> | |||
<td width="120">发布选项:</td> | |||
<td> | |||
<label><input name="ishtml" type="radio" value="1" <?php if ($arcRow["ismake"]!=-1) echo " checked";?>> 生成网页</label> | |||
<label><input type="radio" name="ishtml" value="0" <?php if ($arcRow["ismake"]==-1) echo " checked";?>> 仅动态浏览</label> | |||
@@ -222,7 +222,7 @@ | |||
<td class="admin-td"> | |||
<table> | |||
<tr> | |||
<td width="90">文档排序:</td> | |||
<td width="120">文档排序:</td> | |||
<td width="260"> | |||
<select name="sortup" id="sortup" class="admin-input-sm"> | |||
<?php | |||
@@ -237,7 +237,7 @@ | |||
<option value="360">置顶一年</option> | |||
</select> | |||
</td> | |||
<td width="90">标题颜色:</td> | |||
<td width="120">标题颜色:</td> | |||
<td> | |||
<input name="color" type="text" id="color" value="<?php echo $arcRow['color']?>" class="admin-input-sm"> | |||
<button name="modcolor" type="button" id="modcolor" onclick="ShowColor(event,this)" class="btn btn-success btn-sm">选取</button> | |||
@@ -250,7 +250,7 @@ | |||
<td class="admin-td"> | |||
<table> | |||
<tr> | |||
<td width="90">阅读权限:</td> | |||
<td width="120">阅读权限:</td> | |||
<td width="260"> | |||
<select name="arcrank" id="arcrank" class="admin-input-sm"> | |||
<option value='<?php echo $arcRow["arcrank"]?>'><?php echo $arcRow["rankname"]?> </option> | |||
@@ -264,7 +264,7 @@ | |||
?> | |||
</select> | |||
</td> | |||
<td width="90">文件名称:</td> | |||
<td width="120">文件名称:</td> | |||
<td><input type="text" name="filename" id="filename" value="<?php echo $arcRow['filename']?>" class="admin-input-sm">(不包括后缀名如.html等)</td> | |||
<td> | |||
<?php | |||
@@ -279,14 +279,14 @@ | |||
<td class="admin-td"> | |||
<table> | |||
<tr> | |||
<td width="90">更新时间:</td> | |||
<td width="120">更新时间:</td> | |||
<td width="260"> | |||
<?php | |||
$nowtime = GetDateTimeMk(time()); | |||
echo "<input type='text' name='pubdate' value='$nowtime' id='pubdate' class='datepicker admin-input-sm'>"; | |||
?> | |||
</td> | |||
<td width="90">浏览次数:</td> | |||
<td width="120">浏览次数:</td> | |||
<td><input type="text" name="click" value="<?php echo $arcRow['click'];?>" class="admin-input-sm"></td> | |||
</tr> | |||
</table> | |||
@@ -29,7 +29,7 @@ | |||
?> | |||
</select> | |||
</td> | |||
<td width="90">生成数量:</td> | |||
<td width="120">生成数量:</td> | |||
<td><input name="mnum" type="text" id="mnum" class="admin-input-sm" value="100"></td> | |||
</tr> | |||
<tr> | |||
@@ -159,9 +159,9 @@ | |||
<tr> | |||
<td>栏目属性:</td> | |||
<td> | |||
<label><input type="radio" name="ispart" value="0" checked="checked"> 列表栏目(允许发布文档)</label> | |||
<label><input type="radio" name="ispart" value="1"> 封面栏目(不允许发布文档)</label> | |||
<label><input type="radio" name="ispart" id="ispart2" value="2"> 外部栏目(文件保存目录处填写链接)</label> | |||
<label><input type="radio" name="ispart" value="0" checked="checked"> 列表栏目(允许发布)</label> | |||
<label><input type="radio" name="ispart" value="1"> 封面栏目(不允许发布)</label> | |||
<label><input type="radio" name="ispart" id="ispart2" value="2"> 外部栏目(文件保存目录填写链接)</label> | |||
</td> | |||
<td>栏目交叉:</td> | |||
<td> | |||
@@ -145,9 +145,9 @@ | |||
<tr> | |||
<td>栏目属性:</td> | |||
<td> | |||
<label><input type="radio" name="ispart" value="0" <?php if ($myrow['ispart']==0) echo "checked='1'";?>> 列表栏目(允许发布文档)</label> | |||
<label><input type="radio" name="ispart" value="1" <?php if ($myrow['ispart']==1) echo "checked='1'";?>> 封面栏目(不允许发布文档)</label> | |||
<label><input type="radio" name="ispart" value="2" <?php if ($myrow['ispart']==2) echo "checked='1'";?>> 外部栏目(文件保存目录处填写链接)</label> | |||
<label><input type="radio" name="ispart" value="0" <?php if ($myrow['ispart']==0) echo "checked='1'";?>> 列表栏目(允许发布)</label> | |||
<label><input type="radio" name="ispart" value="1" <?php if ($myrow['ispart']==1) echo "checked='1'";?>> 封面栏目(不允许发布)</label> | |||
<label><input type="radio" name="ispart" value="2" <?php if ($myrow['ispart']==2) echo "checked='1'";?>> 外部栏目(文件保存目录填写链接)</label> | |||
</td> | |||
<td>栏目交叉:</td> | |||
<td> | |||
@@ -20,10 +20,10 @@ | |||
<div class="alert alert-info mb-0">自定义属性使用说明:以往的版本中,网站首页、封面栏目的设计,都只能单调的用arclist标记把某栏目最新或按特定排序方式的文档无选择的读出来,这样做法存在很大的不足,例如,我希望在最顶部的地方显示我想要的文档,在以往的版本中是无法做到的,但使用自定义属性之后,只要给arclist标记加上att='自定义属性的id'的属性,然后在发布的时候对适合的文档选择专门的属性,那么使用arclist的地方就会按您的意愿显示指定的文档。注意事项:这个版本中att对应的字段是SET类型字段,因此为了数据安全起见不允许会员添加其它类型,但调用时允许使用组合条件att='c,p'表示推荐图片</div> | |||
</td> | |||
</tr> | |||
<tr bgcolor="#e9ecef"> | |||
<td width="16%" align="center">id</td> | |||
<tr bgcolor="#e9ecef" align="center"> | |||
<td width="6%">id</td> | |||
<td width="16%">排序</td> | |||
<td width="70%">属性名称</td> | |||
<td align="left">属性</td> | |||
</tr> | |||
<?php | |||
$dsql->SetQuery("SELECT * FROM `#@__arcatt` ORDER BY sortid ASC"); | |||
@@ -34,10 +34,10 @@ | |||
$k++; | |||
?> | |||
<input type="hidden" name="att_<?php echo $k?>" value="<?php echo $row->att?>"> | |||
<tr> | |||
<td align="center"><?php echo $row->att;?></td> | |||
<tr align="center"> | |||
<td><?php echo $row->att;?></td> | |||
<td><input type="text" name="sortid_<?php echo $k?>" value="<?php echo $row->sortid;?>" id="sortid_<?php echo $k?>" class="admin-input-xs"></td> | |||
<td><input type="text" name="attname_<?php echo $k?>" value="<?php echo $row->attname;?>" id="attname_<?php echo $k?>" class="admin-input-sm"></td> | |||
<td align="left"><input type="text" name="attname_<?php echo $k?>" value="<?php echo $row->attname;?>" id="attname_<?php echo $k?>" class="admin-input-sm"></td> | |||
</tr> | |||
<?php }?> | |||
<input type="hidden" name="idend" value="<?php echo $k?>"> | |||
@@ -124,7 +124,7 @@ | |||
<div class="card-header"> | |||
<a name="statChart"><i class="fa fa-line-chart"></i> 流量统计图</a> | |||
</div> | |||
<div class="card-body my-3"> | |||
<div class="card-body p-3"> | |||
<canvas id="statChart"></canvas> | |||
</div> | |||
</div> | |||
@@ -31,9 +31,9 @@ | |||
<td class="admin-td"> | |||
<table> | |||
<tr> | |||
<td width="90">软件名称:</td> | |||
<td width="120">软件名称:</td> | |||
<td width="400"><input type="text" name="title" id="title" class="admin-input-lg"></td> | |||
<td width="90">简略标题:</td> | |||
<td width="120">简略标题:</td> | |||
<td><input type="text" name="shorttitle" id="shorttitle" class="admin-input-sm"></td> | |||
</tr> | |||
</table> | |||
@@ -43,7 +43,7 @@ | |||
<td class="admin-td"> | |||
<table> | |||
<tr> | |||
<td width="90">自定义属性:</td> | |||
<td width="120">自定义属性:</td> | |||
<td> | |||
<?php | |||
$dsql->SetQuery("SELECT * FROM `#@__arcatt` ORDER BY sortid ASC"); | |||
@@ -65,7 +65,7 @@ | |||
<td class="admin-td" id="redirecturltr" style="display:none"> | |||
<table> | |||
<tr> | |||
<td width="90">跳转网址:</td> | |||
<td width="120">跳转网址:</td> | |||
<td><input type="text" name="redirecturl" id="redirecturl" value="" class="admin-input-lg"></td> | |||
</tr> | |||
</table> | |||
@@ -75,7 +75,7 @@ | |||
<td class="admin-td"> | |||
<table> | |||
<tr> | |||
<td width="90">标签:</td> | |||
<td width="120">标签:</td> | |||
<td><input type="text" name="tags" id="tags" value="" onChange="$Obj('keywords').value=this.value;" class="admin-input-lg">(英文逗号分开,如“DedeBIZ,得德”)</td> | |||
<td width="60">权重:</td> | |||
<td><input type="text" name="weight" id="weight" value="<?php echo $maxWright['cc'];?>" class="admin-input-sm">(越小越靠前)</td> | |||
@@ -87,8 +87,8 @@ | |||
<td class="admin-td"> | |||
<table> | |||
<tr> | |||
<td width="90">缩略图:</td> | |||
<td width="620"> | |||
<td width="120">缩略图:</td> | |||
<td width="630"> | |||
<input type="text" name="picname" id="picname" class="admin-input-lg"> | |||
<label><input type="checkbox" name="ddisremote" value="1" id="ddisremote" class="l-height-28"> 远程</label> | |||
<span class="btn btn-success btn-sm fileinput-button">上传图片<input type="file" name="files[]" id="iptAddImages"></span> | |||
@@ -104,7 +104,7 @@ | |||
<td class="admin-td"> | |||
<table> | |||
<tr> | |||
<td width="90">来源:</td> | |||
<td width="120">来源:</td> | |||
<td width="260"> | |||
<input type="text" name="source" id="source" class="admin-input-sm"> | |||
<button type="button" name="selsource" id="selsource" class="btn btn-success btn-sm">选择</button> | |||
@@ -122,7 +122,7 @@ | |||
<td class="admin-td"> | |||
<table> | |||
<tr> | |||
<td width="90">发布栏目:</td> | |||
<td width="120">发布栏目:</td> | |||
<td width="360"> | |||
<span id="typeidct"> | |||
<?php | |||
@@ -140,7 +140,7 @@ | |||
} | |||
?> | |||
</td> | |||
<td width="90" align="center">需要金币:</td> | |||
<td width="120" align="center">需要金币:</td> | |||
<td><input type="text" name="needmoney" id="needmoney" value="<?php echo $softconfig['dfywboy'];?>" class="admin-input-sm"></td> | |||
</tr> | |||
</table> | |||
@@ -150,7 +150,7 @@ | |||
<td class="admin-td"> | |||
<table> | |||
<tr> | |||
<td width="90">副栏目:</td> | |||
<td width="120">副栏目:</td> | |||
<td> | |||
<span id="typeid2ct"></span> | |||
<input type="text" name="typeid2" id="typeid2" value="" class="admin-input-sm"> | |||
@@ -164,7 +164,7 @@ | |||
<td class="admin-td"> | |||
<table> | |||
<tr> | |||
<td width="90">关键词:</td> | |||
<td width="120">关键词:</td> | |||
<td width="410"> | |||
<input type="text" name="keywords" id="keywords" value="" class="admin-input-lg"> | |||
<button type="button" name="Submit" class="btn btn-success btn-sm" onclick="SelectKeywords('form1.keywords');">选择</button> | |||
@@ -180,7 +180,7 @@ | |||
<td class="admin-td"> | |||
<table> | |||
<tr> | |||
<td width="90">描述:</td> | |||
<td width="120">描述:</td> | |||
<td><textarea name="description" id="description" class="admin-textarea-sm"></textarea></td> | |||
</tr> | |||
</table> | |||
@@ -190,7 +190,7 @@ | |||
<td class="admin-td"> | |||
<table> | |||
<tr> | |||
<td width="90">文件类型:</td> | |||
<td width="120">文件类型:</td> | |||
<td width="170"> | |||
<select name="filetype" id="filetype" class="admin-input-sm"> | |||
<option value=".exe" selected>.exe</option> | |||
@@ -201,7 +201,7 @@ | |||
<option value="其它">其它</option> | |||
</select> | |||
</td> | |||
<td width="90">软件等级:</td> | |||
<td width="120">软件等级:</td> | |||
<td width="170"> | |||
<select name="softrank" id="softrank" class="admin-input-sm"> | |||
<option value="1">一星</option> | |||
@@ -211,7 +211,7 @@ | |||
<option value="5">五星</option> | |||
</select> | |||
</td> | |||
<td width="90">软件属性:</td> | |||
<td width="120">软件属性:</td> | |||
<td width="170"> | |||
<select name="softtype" id="softtype" class="admin-input-sm"> | |||
<option value="国产软件" selected>国产软件</option> | |||
@@ -219,7 +219,7 @@ | |||
<option value="汉化补丁">汉化补丁</option> | |||
</select> | |||
</td width="170"> | |||
<td width="90">界面语言:</td> | |||
<td width="120">界面语言:</td> | |||
<td width="170"> | |||
<select name="language" id="language" class="admin-input-sm"> | |||
<option value="简体中文" selected>简体中文</option> | |||
@@ -228,7 +228,7 @@ | |||
<option value="其它类型">其它类型</option> | |||
</select> | |||
</td> | |||
<td width="90">授权方式:</td> | |||
<td width="120">授权方式:</td> | |||
<td> | |||
<select name="accredit" id="accredit" class="admin-input-sm"> | |||
<option value="共享软件" selected>共享软件</option> | |||
@@ -247,7 +247,7 @@ | |||
<td class="admin-td"> | |||
<table> | |||
<tr> | |||
<td width="90">运行环境:</td> | |||
<td width="120">运行环境:</td> | |||
<td><input type="text" name="os" value="win7,win10,win11" class="admin-input-lg"></td> | |||
</tr> | |||
</table> | |||
@@ -257,9 +257,9 @@ | |||
<td class="admin-td"> | |||
<table> | |||
<tr> | |||
<td width="90">官方网址:</td> | |||
<td width="120">官方网址:</td> | |||
<td width="370"><input type="text" name="officialUrl" id="officialUrl" value="http://" class="admin-input-lg"></td> | |||
<td width="90">演示地址:</td> | |||
<td width="120">演示地址:</td> | |||
<td><input type="text" name="officialDemo" id="officialDemo" value="http://" class="admin-input-lg"></td> | |||
</tr> | |||
</table> | |||
@@ -269,7 +269,7 @@ | |||
<td class="admin-td"> | |||
<table> | |||
<tr> | |||
<td width="90">软件大小:</td> | |||
<td width="120">软件大小:</td> | |||
<td width="310"> | |||
<input type="text" name="softsize" id="softsize" class="admin-input-sm"> | |||
<select name="unit" id="unit"> | |||
@@ -279,7 +279,7 @@ | |||
</select> | |||
<label><input type="checkbox" name="autosize" id="autosize" value="1" checked>自动获取</label> | |||
</td> | |||
<td width="90">需会员权限:</td> | |||
<td width="120">需会员权限:</td> | |||
<td align="left"> | |||
<select name="daccess" id="daccess" class="admin-input-sm"> | |||
<?php | |||
@@ -304,12 +304,12 @@ | |||
<td class="admin-td"> | |||
<table> | |||
<tr> | |||
<td width="90">本地地址:</td> | |||
<td width="120">本地地址:</td> | |||
<td width="410"> | |||
<input type="text" name="softurl1" id="softurl1" class="admin-input-lg"> | |||
<button type="button" name="sel1" id="sel1" class="btn btn-success btn-sm" onclick="SelectSoft('form1.softurl1')">选取</button> | |||
</td> | |||
<td width="90">服务器名称:</td> | |||
<td width="120">服务器名称:</td> | |||
<td><input type="text" name="servermsg1" id="servermsg1" value="本地下载" class="admin-input-sm"></td> | |||
</tr> | |||
</table> | |||
@@ -350,7 +350,7 @@ | |||
<td class="admin-td"> | |||
<table> | |||
<tr> | |||
<td width="90">其它地址:</td> | |||
<td width="120">其它地址:</td> | |||
<td> | |||
<input type="text" name="picnum" id="picnum" value="5" class="admin-input-sm"> | |||
<button type="button" name="kkkup" class="btn btn-success btn-sm" id="kkkup2" onclick="MakeUpload();">添加地址</button> | |||
@@ -367,7 +367,7 @@ | |||
<td class="admin-td"> | |||
<table> | |||
<tr> | |||
<td width="90">附加选项:</td> | |||
<td width="120">附加选项:</td> | |||
<td> | |||
<label><input type="checkbox" name="remote" id="remote" value="1" <?php if ($cfg_rm_remote=='Y') echo ' checked';?>> 下载远程图片和资源</label> | |||
<label><input type="checkbox" name="dellink" id="dellink" value="1" <?php if ($cfg_arc_dellink=='Y') echo ' checked';?>> 删除非站内链接</label> | |||
@@ -385,12 +385,12 @@ | |||
<td class="admin-td"> | |||
<table> | |||
<tr> | |||
<td width="90" width="260">评论选项:</td> | |||
<td width="120" width="260">评论选项:</td> | |||
<td width="260"> | |||
<label><input type="radio" name="notpost" value="0" <?php if ($cfg_feedback_forbid=='N') echo "checked='1'";?>> 允许评论</label> | |||
<label><input type="radio" name="notpost" value="1" <?php if ($cfg_feedback_forbid=='Y') echo "checked='1'";?>> 禁止评论</label> | |||
</td> | |||
<td width="90">发布选项:</td> | |||
<td width="120">发布选项:</td> | |||
<td> | |||
<label><input type="radio" name="ishtml" value="1" checked> 生成网页</label> | |||
<label><input type="radio" name="ishtml" value="0"> 仅动态浏览</label> | |||
@@ -403,7 +403,7 @@ | |||
<td class="admin-td"> | |||
<table> | |||
<tr> | |||
<td width="90">文档排序:</td> | |||
<td width="120">文档排序:</td> | |||
<td width="260"> | |||
<select name="sortup" id="sortup" class="admin-input-sm"> | |||
<option value="0" selected>默认排序</option> | |||
@@ -414,7 +414,7 @@ | |||
<option value="360">置顶一年</option> | |||
</select> | |||
</td> | |||
<td width="90">标题颜色:</td> | |||
<td width="120">标题颜色:</td> | |||
<td> | |||
<input type="text" name="color" id="color" class="admin-input-sm"> | |||
<button type="button" name="modcolor" id="modcolor" class="btn btn-success btn-sm" onclick="ShowColor(event,this)">选取</button> | |||
@@ -427,14 +427,14 @@ | |||
<td class="admin-td"> | |||
<table> | |||
<tr> | |||
<td width="90">阅读权限:</td> | |||
<td width="120">阅读权限:</td> | |||
<td width="260"> | |||
<select name="arcrank" id="arcrank" class="admin-input-sm"> | |||
<option value="0">已审核状态</option> | |||
<option value="-1">未审核状态</option> | |||
</select> | |||
</td> | |||
<td width="90">文件名称:</td> | |||
<td width="120">文件名称:</td> | |||
<td><input type="text" name="filename" id="filename" class="admin-input-sm">(不包括后缀名如.html等)</td> | |||
</tr> | |||
</table> | |||
@@ -444,14 +444,14 @@ | |||
<td class="admin-td"> | |||
<table> | |||
<tr> | |||
<td width="90">发布时间:</td> | |||
<td width="120">发布时间:</td> | |||
<td width="260"> | |||
<?php | |||
$nowtime = GetDateTimeMk(time()); | |||
echo "<input type='text' name='pubdate' value='$nowtime' id='pubdate' class='datepicker admin-input-sm'>"; | |||
?> | |||
</td> | |||
<td width="90">浏览次数:</td> | |||
<td width="120">浏览次数:</td> | |||
<td><input type="text" name="click" value="<?php echo ($cfg_arc_click=='-1' ? mt_rand(1000,6000):$cfg_arc_click);?>" class="admin-input-sm"></td> | |||
</tr> | |||
</table> | |||
@@ -31,9 +31,9 @@ | |||
<td class="admin-td"> | |||
<table> | |||
<tr> | |||
<td width="90">文档标题:</td> | |||
<td width="120">文档标题:</td> | |||
<td width="400"><input type="text" name="title" id="title" value="<?php echo $arcRow['title'];?>" class="admin-input-lg"></td> | |||
<td width="90">简略标题:</td> | |||
<td width="120">简略标题:</td> | |||
<td><input type="text" name="shorttitle" id="shorttitle" value="<?php echo $arcRow['shorttitle'];?>" class="admin-input-sm"></td> | |||
</tr> | |||
</table> | |||
@@ -43,7 +43,7 @@ | |||
<td class="admin-td"> | |||
<table> | |||
<tr> | |||
<td width="90">自定义属性:</td> | |||
<td width="120">自定义属性:</td> | |||
<td> | |||
<?php | |||
$dsql->SetQuery("SELECT * FROM `#@__arcatt` ORDER BY sortid ASC"); | |||
@@ -68,7 +68,7 @@ | |||
style="display:<?php echo (empty($addRow['redirecturl']) ? 'none' : 'block');?>"> | |||
<table> | |||
<tr> | |||
<td width="90">跳转网址:</td> | |||
<td width="120">跳转网址:</td> | |||
<td><input type="text" name="redirecturl" id="redirecturl" value="<?php echo $addRow['redirecturl']?>" class="admin-input-lg"></td> | |||
</tr> | |||
</table> | |||
@@ -78,7 +78,7 @@ | |||
<td class="admin-td"> | |||
<table> | |||
<tr> | |||
<td width="90">标签:</td> | |||
<td width="120">标签:</td> | |||
<td><input type="text" name="tags" id="tags" value="<?php echo $tags;?>" class="admin-input-lg">(英文逗号分开,如“DedeBIZ,得德”)</td> | |||
<td width="60">权重:</td> | |||
<td><input type="text" name="weight" id="weight" value="<?php echo $arcRow['weight'];?>" class="admin-input-sm">(越小越靠前)</td> | |||
@@ -90,8 +90,8 @@ | |||
<td class="admin-td"> | |||
<table> | |||
<tr> | |||
<td width="90">缩略图:</td> | |||
<td width="620"> | |||
<td width="120">缩略图:</td> | |||
<td width="630"> | |||
<input type="text" name="picname" id="picname" value="<?php echo $arcRow['litpic']?>" class="admin-input-lg"> | |||
<label><input type="checkbox" name="ddisremote" value="1" id="ddisremote" class="l-height-28"> 远程</label> | |||
<span class="btn btn-success btn-sm fileinput-button">上传图片<input type="file" name="files[]" id="iptAddImages"></span> | |||
@@ -107,7 +107,7 @@ | |||
<td class="admin-td"> | |||
<table> | |||
<tr> | |||
<td width="90">来源:</td> | |||
<td width="120">来源:</td> | |||
<td width="260"> | |||
<input type="text" name="source" id="source" value="<?php echo $arcRow['source']?>" class="admin-input-sm"> | |||
<button type="button" name="selsource" id="selsource" class="btn btn-success btn-sm">选择</button> | |||
@@ -125,7 +125,7 @@ | |||
<td class="admin-td"> | |||
<table> | |||
<tr> | |||
<td width="90">发布栏目:</td> | |||
<td width="120">发布栏目:</td> | |||
<td width="360"> | |||
<?php | |||
$typeOptions = GetOptionList($arcRow["typeid"],$cuserLogin->getUserChannel(),$channelid); | |||
@@ -136,7 +136,7 @@ | |||
?> | |||
<i class="btn btn-sm fa fa-search" onclick="ShowCatMap(event,this,<?php echo $channelid;?>,'typeid','<?php echo $arcRow['typeid'];?>')" title="快捷选择"></i> | |||
</td> | |||
<td width="90">需要金币:</td> | |||
<td width="120">需要金币:</td> | |||
<td><input type="text" name="needmoney" id="needmoney" value="<?php echo $needmoney;?>" class="admin-input-sm"></td> | |||
</tr> | |||
</table> | |||
@@ -147,7 +147,7 @@ | |||
<td class="admin-td"> | |||
<table> | |||
<tr> | |||
<td width="90">副栏目:</td> | |||
<td width="120">副栏目:</td> | |||
<td> | |||
<span id="typeid2ct"></span> | |||
<input type="text" name="typeid2" id="typeid2" value="<?php echo ($arcRow['typeid2']=='0' ? '' : $arcRow['typeid2']);?>" class="admin-input-sm"> | |||
@@ -162,7 +162,7 @@ | |||
<td class="admin-td"> | |||
<table> | |||
<tr> | |||
<td width="90">关键词:</td> | |||
<td width="120">关键词:</td> | |||
<td><input type="text" name="keywords" id="keywords" value="<?php echo $arcRow['keywords']?>" class="admin-input-lg"></td> | |||
</tr> | |||
</table> | |||
@@ -172,7 +172,7 @@ | |||
<td class="admin-td"> | |||
<table> | |||
<tr> | |||
<td width="90">描述:</td> | |||
<td width="120">描述:</td> | |||
<td><textarea name="description" id="description" class="admin-textarea-sm"><?php echo $arcRow['description']?></textarea></td> | |||
</tr> | |||
</table> | |||
@@ -182,7 +182,7 @@ | |||
<td class="admin-td"> | |||
<table> | |||
<tr> | |||
<td width="90">文件类型:</td> | |||
<td width="120">文件类型:</td> | |||
<td width="170"> | |||
<select name="filetype" id="filetype" class="admin-input-sm"> | |||
<?php | |||
@@ -196,7 +196,7 @@ | |||
<option value="其它">其它</option> | |||
</select> | |||
</td> | |||
<td width="90">软件等级:</td> | |||
<td width="120">软件等级:</td> | |||
<td width="170"> | |||
<select name="softrank" id="softrank" class="admin-input-sm"> | |||
<?php | |||
@@ -209,7 +209,7 @@ | |||
<option value="5">五星</option> | |||
</select> | |||
</td> | |||
<td width="90">软件类型:</td> | |||
<td width="120">软件类型:</td> | |||
<td width="170"> | |||
<select name="softtype" id="softtype" class="admin-input-sm"> | |||
<?php | |||
@@ -220,7 +220,7 @@ | |||
<option value="汉化补丁">汉化补丁</option> | |||
</select> | |||
</td> | |||
<td width="90">界面语言:</td> | |||
<td width="120">界面语言:</td> | |||
<td width="170"> | |||
<select name="language" id="language" class="admin-input-sm"> | |||
<?php | |||
@@ -232,7 +232,7 @@ | |||
<option value="其它类型">其它类型</option> | |||
</select> | |||
</td> | |||
<td width="90">授权方式:</td> | |||
<td width="120">授权方式:</td> | |||
<td width="170"> | |||
<select name="accredit" id="accredit" class="admin-input-sm"> | |||
<?php | |||
@@ -254,7 +254,7 @@ | |||
<td class="admin-td"> | |||
<table> | |||
<tr> | |||
<td width="90">运行环境:</td> | |||
<td width="120">运行环境:</td> | |||
<td><input type="text" name="os" value="<?php echo $addRow['os']?>" class="admin-input-lg"></td> | |||
</tr> | |||
</table> | |||
@@ -264,9 +264,9 @@ | |||
<td class="admin-td"> | |||
<table> | |||
<tr> | |||
<td width="90">官方网址:</td> | |||
<td width="120">官方网址:</td> | |||
<td width="370"><input type="text" name="officialUrl" id="officialUrl" value="<?php echo $addRow['officialUrl']?>" class="admin-input-lg"></td> | |||
<td width="90">程序演示:</td> | |||
<td width="120">程序演示:</td> | |||
<td><input type="text" name="officialDemo" id="officialDemo" value="<?php echo $addRow['officialDemo']?>" class="admin-input-lg"></td> | |||
</tr> | |||
</table> | |||
@@ -276,9 +276,9 @@ | |||
<td class="admin-td"> | |||
<table> | |||
<tr> | |||
<td width="90">软件大小:</td> | |||
<td width="120">软件大小:</td> | |||
<td width="370"><input name="softsize" type="text" id="softsize" value="<?php echo $addRow['softsize']?>" class="admin-input-lg"></td> | |||
<td width="90">需会员权限:</td> | |||
<td width="120">需会员权限:</td> | |||
<td> | |||
<select name="daccess" id="daccess" class="admin-input-sm"> | |||
<?php | |||
@@ -303,7 +303,7 @@ | |||
<td class="admin-td"> | |||
<table> | |||
<tr> | |||
<td width="90">其它地址:</td> | |||
<td width="120">其它地址:</td> | |||
<td> | |||
<input type="text" name="picnum" id="picnum" size="8" value="5"> | |||
<button type="button" name="kkkup" id="kkkup2" class="btn btn-success btn-sm" onclick="MakeUpload();">添加数量</button> | |||
@@ -325,7 +325,7 @@ | |||
<td class="admin-td"> | |||
<table> | |||
<tr> | |||
<td width="90">附加选项:</td> | |||
<td width="120">附加选项:</td> | |||
<td> | |||
<label><input type="checkbox" name="remote" id="remote" value="1" <?php if ($cfg_rm_remote=='Y') echo 'checked="1"';?>> 下载远程图片和资源</label> | |||
<label><input type="checkbox" name="autolitpic" id="autolitpic" value="1" <?php if ($cfg_arc_autopic=='Y') echo 'checked="1"';?>> 提取第一个图片为缩略图</label> | |||
@@ -341,12 +341,12 @@ | |||
<td class="admin-td"> | |||
<table> | |||
<tr> | |||
<td width="90" width="260">评论选项:</td> | |||
<td width="120" width="260">评论选项:</td> | |||
<td width="260"> | |||
<label><input type="radio" name="notpost" value="0" <?php if ($arcRow['notpost']==0) echo "checked='1'";?>> 允许评论</label> | |||
<label><input type="radio" name="notpost" value="1" <?php if ($arcRow['notpost']==1) echo "checked='1'";?>> 禁止评论</label> | |||
</td> | |||
<td width="90">发布选项:</td> | |||
<td width="120">发布选项:</td> | |||
<td> | |||
<label><input type="radio" name="ishtml" value="1" <?php if ($arcRow["ismake"]!=-1) echo "checked";?>> 生成网页</label> | |||
<label><input type="radio" name="ishtml" value="0" <?php if ($arcRow["ismake"]==-1) echo "checked";?>> 仅动态浏览</label> | |||
@@ -359,7 +359,7 @@ | |||
<td class="admin-td"> | |||
<table> | |||
<tr> | |||
<td width="90">文档排序:</td> | |||
<td width="120">文档排序:</td> | |||
<td width="260"> | |||
<select name="sortup" id="sortup" class="admin-input-sm"> | |||
<?php | |||
@@ -374,7 +374,7 @@ | |||
<option value="360">置顶一年</option> | |||
</select> | |||
</td> | |||
<td width="90">标题颜色:</td> | |||
<td width="120">标题颜色:</td> | |||
<td> | |||
<input type="text" name="color" id="color" value="<?php echo $arcRow['color']?>" class="admin-input-sm"> | |||
<button class='btn btn-success btn-sm' name="modcolor" type="button" id="modcolor" onclick="ShowColor(event,this)">选取</button> | |||
@@ -387,7 +387,7 @@ | |||
<td class="admin-td"> | |||
<table> | |||
<tr> | |||
<td width="90">阅读权限:</td> | |||
<td width="120">阅读权限:</td> | |||
<td width="260"> | |||
<select name="arcrank" id="arcrank" class="admin-input-sm"> | |||
<option value='<?php echo $arcRow["arcrank"];?>'> | |||
@@ -397,7 +397,7 @@ | |||
<option value='-1'>未审核状态</option> | |||
</select> | |||
</td> | |||
<td width="90">文件名称:</td> | |||
<td width="120">文件名称:</td> | |||
<td><input type="text" name="filename" id="filename" value="<?php echo $arcRow['filename']?>" class="admin-input-sm">(不包括后缀名如.html等) | |||
</td> | |||
</tr> | |||
@@ -408,14 +408,14 @@ | |||
<td height="70" class="admin-td"> | |||
<table> | |||
<tr> | |||
<td width="90">更新时间:</td> | |||
<td width="120">更新时间:</td> | |||
<td width="260"> | |||
<?php | |||
$nowtime = GetDateTimeMk($arcRow["pubdate"]); | |||
echo "<input type='text' name='pubdate' value='$nowtime' id='pubdate' class='datepicker admin-input-sm'>"; | |||
?> | |||
</td> | |||
<td width="90">浏览次数:</td> | |||
<td width="120">浏览次数:</td> | |||
<td><input type="text" name="click" value="<?php echo $arcRow['click'];?>" class="admin-input-sm"></td> | |||
</tr> | |||
</table> | |||
@@ -37,9 +37,9 @@ | |||
<td class="admin-td"> | |||
<table> | |||
<tr> | |||
<td width="90">专题名称:</td> | |||
<td width="120">专题名称:</td> | |||
<td width="400"><input type="text" name="title" id="title" value="" class="admin-input-lg"></td> | |||
<td width="90">简略标题:</td> | |||
<td width="120">简略标题:</td> | |||
<td><input type="text" name="shorttitle" id="shorttitle" class="admin-input-sm"></td> | |||
</tr> | |||
</table> | |||
@@ -49,7 +49,7 @@ | |||
<td class="admin-td"> | |||
<table> | |||
<tr> | |||
<td width="90">自定义属性:</td> | |||
<td width="120">自定义属性:</td> | |||
<td> | |||
<?php | |||
$dsql->SetQuery("SELECT * FROM `#@__arcatt` ORDER BY sortid ASC"); | |||
@@ -70,8 +70,8 @@ | |||
<td class="admin-td"> | |||
<table> | |||
<tr> | |||
<td width="90">缩略图:</td> | |||
<td width="620"> | |||
<td width="120">缩略图:</td> | |||
<td width="630"> | |||
<input type="text" name="picname" id="picname" class="admin-input-lg"> | |||
<label><input type="checkbox" name="ddisremote" value="1" id="ddisremote" class="l-height-28"> 远程</label> | |||
<span class="btn btn-success btn-sm fileinput-button">上传图片<input type="file" name="files[]" id="iptAddImages"></span> | |||
@@ -87,7 +87,7 @@ | |||
<td class="admin-td"> | |||
<table> | |||
<tr> | |||
<td width="90">作者:</td> | |||
<td width="120">作者:</td> | |||
<td><input type="text" name="writer" id="writer" class="admin-input-sm"></td> | |||
</tr> | |||
</table> | |||
@@ -97,7 +97,7 @@ | |||
<td class="admin-td"> | |||
<table> | |||
<tr> | |||
<td width="90">主分类:</td> | |||
<td width="120">主分类:</td> | |||
<td> | |||
<?php | |||
$typeOptions = GetOptionList($cid, $cuserLogin->getUserChannel(), 0); | |||
@@ -116,7 +116,7 @@ | |||
<td class="admin-td"> | |||
<table> | |||
<tr> | |||
<td width="90">关键词:</td> | |||
<td width="120">关键词:</td> | |||
<td width="410"> | |||
<input type="text" name="keywords" id="keywords" value="" class="admin-input-lg"> | |||
<button type="button" name="Submit" class="btn btn-success btn-sm" onclick="SelectKeywords('form1.keywords');">选择</button> | |||
@@ -130,7 +130,7 @@ | |||
<td class="admin-td"> | |||
<table> | |||
<tr> | |||
<td width="90">专题简介:</td> | |||
<td width="120">专题简介:</td> | |||
<td><textarea name="description" id="description" class="admin-textarea-sm"></textarea></td> | |||
</tr> | |||
</table> | |||
@@ -153,7 +153,7 @@ | |||
} | |||
?> | |||
<tr> | |||
<td width="90" class="admin-td">节点<?php echo $i?>名称:</td> | |||
<td width="120" class="admin-td">节点<?php echo $i?>名称:</td> | |||
<td class="admin-td"> | |||
<input type="text" name="notename<?php echo $i?>" value="<?php echo $nodename;?>" id="notename<?php echo $i?>" class="admin-input-lg"> | |||
<label>节点标识:<input type="text" name="noteid<?php echo $i?>" alue="<?php echo $nodeid;?>" id="noteid<?php echo $i?>" class="admin-input-sm"></label> | |||
@@ -205,12 +205,12 @@ | |||
<td class="admin-td"> | |||
<table> | |||
<tr> | |||
<td width="90" width="260">评论选项:</td> | |||
<td width="120" width="260">评论选项:</td> | |||
<td width="260"> | |||
<label><input type="radio" name="notpost" value="0" <?php if ($cfg_feedback_forbid=='N') echo "checked='1'";?>> 允许评论</label> | |||
<label><input type="radio" name="notpost" value="1" <?php if ($cfg_feedback_forbid=='Y') echo "checked='1'";?>> 禁止评论</label> | |||
</td> | |||
<td width="90">发布选项:</td> | |||
<td width="120">发布选项:</td> | |||
<td> | |||
<label><input type="radio" name="ishtml" value="1" checked="1"> 生成网页</label> | |||
<label><input type="radio" name="ishtml" value="0"> 仅动态浏览</label> | |||
@@ -223,7 +223,7 @@ | |||
<td class="admin-td"> | |||
<table> | |||
<tr> | |||
<td width="90">文档排序:</td> | |||
<td width="120">文档排序:</td> | |||
<td width="260"> | |||
<select name="sortup" id="sortup" class="admin-input-sm"> | |||
<option value="0" selected>默认排序</option> | |||
@@ -234,7 +234,7 @@ | |||
<option value="360">置顶一年</option> | |||
</select> | |||
</td> | |||
<td width="90">标题颜色:</td> | |||
<td width="120">标题颜色:</td> | |||
<td> | |||
<input type="text" name="color" id="color" class="admin-input-sm"> | |||
<button type="button" name="modcolor" id="modcolor" class="btn btn-success btn-sm" onclick="ShowColor(event,this)">选取</button> | |||
@@ -247,12 +247,12 @@ | |||
<td class="admin-td"> | |||
<table> | |||
<tr> | |||
<td width="90">专题模板:</td> | |||
<td width="120">专题模板:</td> | |||
<td width="260"> | |||
<input type="text" name="templet" id="templet" value="<?php echo $cfg_df_style?>/article_spec.htm" class="admin-input-sm"> | |||
<button type="button" name="set3" class="btn btn-success btn-sm" onclick="SelectTemplets('form1.templet');">选择</button> | |||
</td> | |||
<td width="90">文件名称:</td> | |||
<td width="120">文件名称:</td> | |||
<td><input type="text" name="filename" id="filename" class="admin-input-sm">(不包括后缀名如.html等)</td> | |||
</tr> | |||
</table> | |||
@@ -262,14 +262,14 @@ | |||
<td class="admin-td"> | |||
<table> | |||
<tr> | |||
<td width="90">发布时间:</td> | |||
<td width="120">发布时间:</td> | |||
<td width="260"> | |||
<?php | |||
$nowtime = GetDateTimeMk(time()); | |||
echo "<input name='pubdate' value='$nowtime' type='text' id='pubdate' class='datepicker admin-input-sm'>"; | |||
?> | |||
</td> | |||
<td width="90">浏览次数:</td> | |||
<td width="120">浏览次数:</td> | |||
<td><input type="text" name="click" value="<?php echo ($cfg_arc_click=='-1' ? mt_rand(1000,6000):$cfg_arc_click);?>" class="admin-input-sm"></td> | |||
</tr> | |||
</table> | |||
@@ -38,9 +38,9 @@ | |||
<td class="admin-td"> | |||
<table> | |||
<tr> | |||
<td width="90">专题名称:</td> | |||
<td width="120">专题名称:</td> | |||
<td width="400"><input type="text" name="title" id="title" value="<?php echo $arcRow['title'];?>" class="admin-input-lg"></td> | |||
<td width="90">简略标题:</td> | |||
<td width="120">简略标题:</td> | |||
<td><input type="text" name="shorttitle" id="shorttitle" value="<?php echo $arcRow['shorttitle'];?>" class="admin-input-sm"></td> | |||
</tr> | |||
</table> | |||
@@ -50,7 +50,7 @@ | |||
<td class="admin-td"> | |||
<table> | |||
<tr> | |||
<td width="90">自定义属性:</td> | |||
<td width="120">自定义属性:</td> | |||
<td> | |||
<?php | |||
$dsql->SetQuery("SELECT * FROM `#@__arcatt` ORDER BY sortid ASC"); | |||
@@ -73,8 +73,8 @@ | |||
<td class="admin-td"> | |||
<table> | |||
<tr> | |||
<td width="90">缩略图:</td> | |||
<td width="620"> | |||
<td width="120">缩略图:</td> | |||
<td width="630"> | |||
<input type="text" name="picname" id="picname" value="<?php echo $arcRow['litpic']?>" class="admin-input-lg"> | |||
<label><input type="checkbox" name="ddisremote" value="1" id="ddisremote" class="l-height-28"> 远程</label> | |||
<span class="btn btn-success btn-sm fileinput-button">上传图片<input type="file" name="files[]" id="iptAddImages"></span> | |||
@@ -90,7 +90,7 @@ | |||
<td class="admin-td"> | |||
<table> | |||
<tr> | |||
<td width="90">作者:</td> | |||
<td width="120">作者:</td> | |||
<td><input type="text" name="writer" id="writer" value="<?php echo $arcRow['writer']?>" class="admin-input-sm"></td> | |||
</tr> | |||
</table> | |||
@@ -100,7 +100,7 @@ | |||
<td class="admin-td"> | |||
<table> | |||
<tr> | |||
<td width="90">主分类:</td> | |||
<td width="120">主分类:</td> | |||
<td> | |||
<?php | |||
$typeOptions = GetOptionList($arcRow["typeid"],$cuserLogin->getUserChannel(),0); | |||
@@ -119,7 +119,7 @@ | |||
<td class="admin-td"> | |||
<table> | |||
<tr> | |||
<td width="90">关键词:</td> | |||
<td width="120">关键词:</td> | |||
<td><label><input type="text" name="keywords" rows="3" id="keywords" value="<?php echo $arcRow['keywords']?>" class="admin-input-lg"></label></td> | |||
</tr> | |||
</table> | |||
@@ -129,7 +129,7 @@ | |||
<td class="admin-td"> | |||
<table> | |||
<tr> | |||
<td width="90">专题说明:</td> | |||
<td width="120">专题说明:</td> | |||
<td><textarea name="description" id="textarea" class="admin-textarea-sm"><?php echo $arcRow['description']?></textarea></td> | |||
</tr> | |||
</table> | |||
@@ -166,7 +166,7 @@ | |||
if (empty($rownum)) $rownum = 40; | |||
?> | |||
<tr> | |||
<td width="90" class="admin-td">节点<?php echo $i?>名称:</td> | |||
<td width="120" class="admin-td">节点<?php echo $i?>名称:</td> | |||
<td class="admin-td"> | |||
<input type="text" name="notename<?php echo $i?>" id="notename<?php echo $i?>" class="admin-input-lg" value="<?php echo $notename?>"> | |||
<label>节点标识:<input type="text" name="noteid<?php echo $i?>" id="noteid<?php echo $i?>" value="<?php echo $noteid?>" class="admin-input-sm"></label> | |||
@@ -211,7 +211,7 @@ | |||
{ | |||
?> | |||
<tr> | |||
<td width="90" class="admin-td">节点<?php echo $i?>名称:</td> | |||
<td width="120" class="admin-td">节点<?php echo $i?>名称:</td> | |||
<td class="admin-td"> | |||
<input type="text" name="notename<?php echo $i?>" id="notename<?php echo $i?>" class="admin-input-lg"> | |||
<label>节点标识:<input type="text" name="noteid<?php echo $i?>" id="noteid<?php echo $i?>" class="admin-input-sm"></label> | |||
@@ -256,11 +256,11 @@ | |||
<td class="admin-td"> | |||
<table> | |||
<tr> | |||
<td width="90" width="260">评论选项:</td> | |||
<td width="120" width="260">评论选项:</td> | |||
<td width="260"> | |||
<label><input type="radio" name="notpost" value="0" <?php if ($arcRow['notpost']==0) echo "checked='1'";?>> 允许评论</label> | |||
<label><input type="radio" name="notpost" value="1" <?php if ($arcRow['notpost']==1) echo "checked='1'";?>> 禁止评论</label> | |||
<td width="90">发布选项:</td> | |||
<td width="120">发布选项:</td> | |||
<td> | |||
<label><input type="radio" name="ishtml" value="1" <?php if ($arcRow["ismake"]!=-1) echo "checked='1'";?>> 生成网页</label> | |||
<label><input type="radio" name="ishtml" value="0" <?php if ($arcRow["ismake"]==-1) echo "checked='1'";?>> 仅动态浏览</label> | |||
@@ -273,7 +273,7 @@ | |||
<td class="admin-td"> | |||
<table> | |||
<tr> | |||
<td width="90">文档排序:</td> | |||
<td width="120">文档排序:</td> | |||
<td width="260"> | |||
<select name="sortup" id="sortup" class="admin-input-sm"> | |||
<?php | |||
@@ -288,7 +288,7 @@ | |||
<option value="360">置顶一年</option> | |||
</select> | |||
</td> | |||
<td width="90">标题颜色:</td> | |||
<td width="120">标题颜色:</td> | |||
<td> | |||
<input type="text" name="color" id="color" class="admin-input-sm" value="<?php echo $arcRow['color']?>"> | |||
<button type="button" name="modcolor" id="modcolor" value="" onclick="ShowColor(event,this)" class="btn btn-success btn-sm">选取</button> | |||
@@ -301,12 +301,12 @@ | |||
<td class="admin-td"> | |||
<table> | |||
<tr> | |||
<td width="90">专题模板:</td> | |||
<td width="120">专题模板:</td> | |||
<td width="260"> | |||
<input type="text" name="templet" id="templet" value="<?php echo $addRow['templet']?>" class="admin-input-sm"> | |||
<button type="button" name="set3" class="btn btn-success btn-sm" onclick="SelectTemplets('form1.templet');">选择</button> | |||
</td> | |||
<td width="90">文件名称:</td> | |||
<td width="120">文件名称:</td> | |||
<td><input type="text" name="filename" id="filename" value="<?php echo $arcRow['filename']?>" class="admin-input-sm">(不包括后缀名如.html等) | |||
</td> | |||
</tr> | |||
@@ -317,7 +317,7 @@ | |||
<td class="admin-td"> | |||
<table> | |||
<tr> | |||
<td width="90">发布时间:</td> | |||
<td width="120">发布时间:</td> | |||
<td> | |||
<?php | |||
$addtime = GetDateTimeMk($arcRow["senddate"]); | |||
@@ -332,14 +332,14 @@ | |||
<td class="admin-td"> | |||
<table> | |||
<tr> | |||
<td width="90">更新时间:</td> | |||
<td width="120">更新时间:</td> | |||
<td width="260"> | |||
<?php | |||
$nowtime = GetDateTimeMk($arcRow["pubdate"]); | |||
echo "<input name='pubdate' value='$nowtime' type='text' id='pubdate' class='datepicker admin-input-sm'>"; | |||
?> | |||
</td> | |||
<td width="90">浏览次数:</td> | |||
<td width="120">浏览次数:</td> | |||
<td><input type="text" name="click" value="<?php echo $arcRow['click'];?>" class="admin-input-sm"></td> | |||
</tr> | |||
</table> | |||
@@ -16,7 +16,7 @@ | |||
<td bgcolor="#f5f5f5" colspan="2"><a href="sys_group.php">会员组管理</a> - 添加系统会员组</td> | |||
</tr> | |||
<tr> | |||
<td width="90">组名称:</td> | |||
<td width="120">组名称:</td> | |||
<td><input type="text" name="groupname" id="groupname" class="admin-input-sm"></td> | |||
</tr> | |||
<tr> | |||
@@ -16,7 +16,7 @@ | |||
<td bgcolor="#f5f5f5" colspan="2"><a href="sys_group.php">会员组管理</a> - 修改系统会员组</td> | |||
</tr> | |||
<tr> | |||
<td width="90">组名称:</td> | |||
<td width="120">组名称:</td> | |||
<td><input type="text" name="typename" id="typename" value="<?php echo $groupSet['typename']?>" class="admin-input-sm"></td> | |||
</tr> | |||
<tr> | |||
@@ -46,17 +46,17 @@ | |||
<input type="hidden" name="_csrf_token" value="<?php echo $GLOBALS['csrf_token'];?>"> | |||
<table class="table-borderless w-100"> | |||
<tr> | |||
<td width="90">变量说明</td> | |||
<td width="120">变量说明</td> | |||
<td width="370"><input type="text" name="varmsg" id="varmsg" class="admin-input-lg"></td> | |||
<td width="90">变量值</td> | |||
<td width="120">变量值</td> | |||
<td width="370"><input type="text" name="nvarvalue" id="nvarvalue" class="admin-input-lg"></td> | |||
</tr> | |||
<tr> | |||
<td width="90">变量名称</td> | |||
<td width="120">变量名称</td> | |||
<td colspan="3"><input type="text" name="nvarname" id="nvarname" class="admin-input-lg"></td> | |||
</tr> | |||
<tr> | |||
<td width="90">变量类型</td> | |||
<td width="120">变量类型</td> | |||
<td width="370"> | |||
<label><input type="radio" name="vartype" value="string" checked="checked"> 文本</label> | |||
<label><input type="radio" name="vartype" value="number"> 数字</label> | |||
@@ -64,7 +64,7 @@ | |||
<label><input type="radio" name="vartype" value="bstring"> 多行文本</label> | |||
<label><input type="radio" name="vartype" value="img"> 图片</label> | |||
</td> | |||
<td width="90">所属组</td> | |||
<td width="120">所属组</td> | |||
<td width="170"> | |||
<?php | |||
echo "<select name='vargroup' class='admin-input-sm'>"; | |||
@@ -116,7 +116,7 @@ else if ($action == 'upload') { | |||
$win->AddHidden("action", 'uploadok'); | |||
$msg = "<table> | |||
<tr> | |||
<td width='90'>选择文件:</td> | |||
<td width='120'>选择文件:</td> | |||
<td> | |||
<input name='acdir' type='hidden' value='$acdir'> | |||
<input name='token' type='hidden' value='{$_SESSION['token']}'> | |||
@@ -9,7 +9,7 @@ | |||
background:#f5f5f5 | |||
} | |||
* { | |||
font-size:12px; | |||
font-size:14px; | |||
scrollbar-color:#dee2e6 #f5f5f5; | |||
scrollbar-width:thin | |||
} | |||
@@ -17,7 +17,7 @@ body { | |||
margin:0; | |||
line-height:1.6; | |||
letter-spacing:.6px; | |||
font-size:12px; | |||
font-size:14px; | |||
font-family:Helvetica Neue,Helvetica,PingFang SC,Tahoma,Arial,sans-serif; | |||
color:#545b62; | |||
background:#fff | |||
@@ -311,7 +311,7 @@ body.hidemenu .body-right { | |||
padding:0 20px 0 10px!important | |||
} | |||
.card-body { | |||
padding:.65rem | |||
padding:.5rem | |||
} | |||
.web-info { | |||
padding:10px; | |||
@@ -362,20 +362,20 @@ body.hidemenu .body-right { | |||
cursor:pointer | |||
} | |||
.coolbg2 { | |||
padding:.65rem; | |||
padding:.5rem; | |||
background:#fff; | |||
border-bottom:1px solid #dee2e6; | |||
text-align:right | |||
} | |||
.colordlg { | |||
padding:.6rem; | |||
padding:.5rem; | |||
width:120px; | |||
background:#fff; | |||
border:2px solid #1eb867; | |||
z-index:10005 | |||
} | |||
.wsselect { | |||
padding:.65rem 0; | |||
padding:.5rem; | |||
background:#fff; | |||
overflow:auto | |||
} | |||
@@ -385,7 +385,7 @@ body.hidemenu .body-right { | |||
z-index:8888 | |||
} | |||
.pubdlg .title { | |||
padding-left:.65rem; | |||
padding:0 .5rem; | |||
height:28px; | |||
line-height:28px; | |||
font-weight:600; | |||
@@ -412,7 +412,7 @@ body.hidemenu .body-right { | |||
z-index:10005 | |||
} | |||
.quickselfoot { | |||
padding:.65rem 0; | |||
padding:.5rem; | |||
border-top:1px solid #dee2e6 | |||
} | |||
.quickselitem { | |||
@@ -440,7 +440,7 @@ body.hidemenu .body-right { | |||
z-index:10001 | |||
} | |||
.wsselect { | |||
padding:.65rem | |||
padding:.5rem | |||
} | |||
#uploadfield { | |||
float:left | |||
@@ -466,7 +466,7 @@ body.hidemenu .body-right { | |||
color:#545b62 | |||
} | |||
.table td,.table th { | |||
padding:.65rem; | |||
padding:.5rem; | |||
vertical-align:middle | |||
} | |||
.form-control { | |||
@@ -481,10 +481,10 @@ body.hidemenu .body-right { | |||
line-height:28px | |||
} | |||
.list-group-item { | |||
padding:.65rem 0 | |||
padding:.5rem 0 | |||
} | |||
.btn-xs { | |||
padding:2px; | |||
padding:.2rem; | |||
line-height:12px; | |||
font-size:12px | |||
} | |||
@@ -508,7 +508,7 @@ body.hidemenu .body-right { | |||
text-align:center | |||
} | |||
.admin-td { | |||
padding:.65rem; | |||
padding:.5rem; | |||
border-bottom:1px solid #dee2e6 | |||
} | |||
.admin-textarea-xl { | |||
@@ -2,7 +2,7 @@ | |||
<td class="admin-td"> | |||
<table> | |||
<tr> | |||
<td width="90">~name~:</td> | |||
<td width="120">~name~:</td> | |||
<td>~form~</td> | |||
</tr> | |||
</table> | |||