@@ -502,7 +502,7 @@ else if ($dopost == 'quickEdit') { | |||||
while ($trow = $dsql->GetObject()) { | while ($trow = $dsql->GetObject()) { | ||||
if ($trow->att == 'j') continue; | if ($trow->att == 'j') continue; | ||||
if (preg_match("#".$trow->att."#", $arcRow['flag'])) | if (preg_match("#".$trow->att."#", $arcRow['flag'])) | ||||
echo "<label><input type='checkbox' name='flags[]' id='flags{$trow->att}' value='{$trow->att}' checked='checked'> {$trow->attname}{$trow->att}[{$trow->att}]</label> "; | |||||
echo "<label><input type='checkbox' name='flags[]' id='flags{$trow->att}' value='{$trow->att}' checked> {$trow->attname}{$trow->att}[{$trow->att}]</label> "; | |||||
else | else | ||||
echo "<label><input type='checkbox' name='flags[]' id='flags{$trow->att}' value='{$trow->att}'> {$trow->attname}[{$trow->att}]</label> "; | echo "<label><input type='checkbox' name='flags[]' id='flags{$trow->att}' value='{$trow->att}'> {$trow->attname}[{$trow->att}]</label> "; | ||||
} | } | ||||
@@ -81,6 +81,6 @@ $dlist->Display(); | |||||
function GetSta($sta) | function GetSta($sta) | ||||
{ | { | ||||
if ($sta == 1) return ''; | if ($sta == 1) return ''; | ||||
else return 'checked="checked"'; | |||||
else return 'checked'; | |||||
} | } | ||||
?> | ?> |
@@ -76,7 +76,7 @@ if (!empty($iseditor)) { | |||||
<input type="hidden" name="CKEditorFuncNum" value="<?php echo isset($CKEditorFuncNum) ? $CKEditorFuncNum : 1;?>"> | <input type="hidden" name="CKEditorFuncNum" value="<?php echo isset($CKEditorFuncNum) ? $CKEditorFuncNum : 1;?>"> | ||||
<input type="hidden" name="job" value="upload"> | <input type="hidden" name="job" value="upload"> | ||||
<input type="file" name="imgfile" class="w-50"> | <input type="file" name="imgfile" class="w-50"> | ||||
<label><input type="checkbox" name="needwatermark" value="1" <?php if ($photo_markup == '1') echo "checked";?>> 水印</label> | |||||
<label><input type="checkbox" name="needwatermark" value="1" <?php if ($photo_markup == '1') echo 'checked';?>> 水印</label> | |||||
<label><input type="checkbox" name="resize" value="1"> 缩小</label> | <label><input type="checkbox" name="resize" value="1"> 缩小</label> | ||||
<label>宽:<input type="text" name="iwidth" value="<?php echo $cfg_ddimg_width ?>" class="admin-input-xs"></label> | <label>宽:<input type="text" name="iwidth" value="<?php echo $cfg_ddimg_width ?>" class="admin-input-xs"></label> | ||||
<label>高:<input type="text" name="iheight" value="<?php echo $cfg_ddimg_height ?>" class="admin-input-xs"></label> | <label>高:<input type="text" name="iheight" value="<?php echo $cfg_ddimg_height ?>" class="admin-input-xs"></label> | ||||
@@ -19,7 +19,7 @@ include(DEDEDATA.'/mark/inc_photowatermark_config.php'); | |||||
<body> | <body> | ||||
<div id="wrap"> | <div id="wrap"> | ||||
<div id="topbar"> | <div id="topbar"> | ||||
<label><input type="checkbox" name="isWater" id="isWater" <?php if ($photo_markup == '1') echo "checked";?>> 是否水印</label> | |||||
<label><input type="checkbox" name="isWater" id="isWater" <?php if ($photo_markup == '1') echo 'checked';?>> 是否水印</label> | |||||
<button class="btn btn-success btn-sm addfile">添加图片</button> | <button class="btn btn-success btn-sm addfile">添加图片</button> | ||||
<button class="btn btn-success btn-sm removeall">清空图片</button> | <button class="btn btn-success btn-sm removeall">清空图片</button> | ||||
<button class="btn btn-success btn-sm upall">全部上传</button> | <button class="btn btn-success btn-sm upall">全部上传</button> | ||||
@@ -16,7 +16,7 @@ require_once(DEDEINC."/typelink/typelink.class.php"); | |||||
setcookie("ENV_GOBACK_URL", $dedeNowurl, time() + 3600, "/"); | setcookie("ENV_GOBACK_URL", $dedeNowurl, time() + 3600, "/"); | ||||
function IsCheck($st) | function IsCheck($st) | ||||
{ | { | ||||
return $st == 1 ? '已审核':'待审核'; | |||||
return $st==1 ? '已审核' : '待审核'; | |||||
} | } | ||||
function jsTrimjajx($str, $len) | function jsTrimjajx($str, $len) | ||||
{ | { | ||||
@@ -48,7 +48,7 @@ function GetFormItem($ctag) | |||||
$i = 0; | $i = 0; | ||||
if ($v != '') { | if ($v != '') { | ||||
if ($i == 0) { | if ($i == 0) { | ||||
$myformItem .= "<label><input type='radio' name='$fieldname' value='$v' checked='checked'> $v</label>\r\n"; | |||||
$myformItem .= "<label><input type='radio' name='$fieldname' value='$v' checked> $v</label>\r\n"; | |||||
} else { | } else { | ||||
$myformItem .= "<label><input type='radio' name='$fieldname' value='$v'> $v</label>\r\n"; | $myformItem .= "<label><input type='radio' name='$fieldname' value='$v'> $v</label>\r\n"; | ||||
} | } | ||||
@@ -243,7 +243,7 @@ function GetFormItemValue($ctag, $fvalue) | |||||
$v = trim($v); | $v = trim($v); | ||||
if ($v != '') { | if ($v != '') { | ||||
if ($fvalue == $v) { | if ($fvalue == $v) { | ||||
$myformItem .= "<label><input type='radio' name='$fieldname' value='$v' checked='checked'> $v</label>\r\n"; | |||||
$myformItem .= "<label><input type='radio' name='$fieldname' value='$v' checked> $v</label>\r\n"; | |||||
} else { | } else { | ||||
$myformItem .= "<label><input type='radio' name='$fieldname' value='$v'> $v</label>\r\n"; | $myformItem .= "<label><input type='radio' name='$fieldname' value='$v'> $v</label>\r\n"; | ||||
} | } | ||||
@@ -53,7 +53,7 @@ if (empty($dopost)) { | |||||
if (trim($row['editcon']) == '') { | if (trim($row['editcon']) == '') { | ||||
$row['editcon'] = 'archives_edit.php'; | $row['editcon'] = 'archives_edit.php'; | ||||
} | } | ||||
$rowarcrank = $row['arcrank'] == -1 ? '待审核':'已审核'; | |||||
$rowarcrank = $row['arcrank']==-1 ? '待审核' : '已审核'; | |||||
$pubdate = GetDateMk($row['pubdate']); | $pubdate = GetDateMk($row['pubdate']); | ||||
echo "<tr class='no-wrap'> | echo "<tr class='no-wrap'> | ||||
<td><a href='{$row['editcon']}?aid={$row['id']}&channelid={$row['channel']}'>{$row['title']}</a></td><td width='70'>{$rowarcrank}</td><td width='110'>{$pubdate}</td></tr>"; | <td><a href='{$row['editcon']}?aid={$row['id']}&channelid={$row['channel']}'>{$row['title']}</a></td><td width='70'>{$rowarcrank}</td><td width='110'>{$pubdate}</td></tr>"; | ||||
@@ -114,7 +114,7 @@ if ($dopost == "delmember") { | |||||
$win->AddHidden("randcode", $randcode); | $win->AddHidden("randcode", $randcode); | ||||
$win->AddHidden("safecode", $safecode); | $win->AddHidden("safecode", $safecode); | ||||
$win->AddTitle("您确定要删除id".$id."会员吗"); | $win->AddTitle("您确定要删除id".$id."会员吗"); | ||||
$win->AddMsgItem("<tr><td>验证安全码:<input name='safecode' type='text' id='safecode' size='16' class='admin-input-lg' /> (安全码:$safecode)</td></tr>"); | |||||
$win->AddMsgItem("<tr><td>验证安全码:<input name='safecode' type='text' id='safecode' class='admin-input-lg'> (安全码:$safecode)</td></tr>"); | |||||
$winform = $win->GetWindow("ok"); | $winform = $win->GetWindow("ok"); | ||||
$win->Display(); | $win->Display(); | ||||
} | } | ||||
@@ -191,7 +191,7 @@ if ($action == '') { | |||||
<tr> | <tr> | ||||
<td>对于已存在文件处理方法:</td> | <td>对于已存在文件处理方法:</td> | ||||
<td> | <td> | ||||
<label><input type='radio' name='isreplace' value='1' checked='checked'> 覆盖</label> | |||||
<label><input type='radio' name='isreplace' value='1' checked> 覆盖</label> | |||||
<label><input type='radio' name='isreplace' value='3'> 覆盖,保留副本</label> | <label><input type='radio' name='isreplace' value='3'> 覆盖,保留副本</label> | ||||
<label><input type='radio' name='isreplace' value='0'> 保留旧文件</label> | <label><input type='radio' name='isreplace' value='0'> 保留旧文件</label> | ||||
</td> | </td> | ||||
@@ -355,7 +355,7 @@ if ($action == '') { | |||||
<tr> | <tr> | ||||
<td>对于模块的文件处理方法:</td> | <td>对于模块的文件处理方法:</td> | ||||
<td> | <td> | ||||
<label><input type='radio' name='isreplace' value='0' checked='checked'> 手工删除文件,仅运行卸载程序</label> | |||||
<label><input type='radio' name='isreplace' value='0' checked> 手工删除文件,仅运行卸载程序</label> | |||||
<label><input type='radio' name='isreplace' value='2'> 删除模块的所有文件</label> | <label><input type='radio' name='isreplace' value='2'> 删除模块的所有文件</label> | ||||
</td> | </td> | ||||
</tr>"; | </tr>"; | ||||
@@ -58,7 +58,7 @@ if ($action == 'upload') { | |||||
$win->AddHidden("action", 'upload'); | $win->AddHidden("action", 'upload'); | ||||
$msg = "<tr> | $msg = "<tr> | ||||
<td width='260'>文件格式:</td> | <td width='260'>文件格式:</td> | ||||
<td><label><input type='radio' name='filetype' value='0' checked='checked'> 正常模块插件格式</label></td> | |||||
<td><label><input type='radio' name='filetype' value='0' checked> 正常模块插件格式</label></td> | |||||
</tr> | </tr> | ||||
<tr> | <tr> | ||||
<td>已有模块:</td> | <td>已有模块:</td> | ||||
@@ -74,7 +74,7 @@ if ($dopost == "show") { | |||||
<tr> | <tr> | ||||
<td>复制模板:</td> | <td>复制模板:</td> | ||||
<td> | <td> | ||||
<label><input type='radio' name='copytemplet' id='copytemplet' value='1' checked='checked'> 复制</label> | |||||
<label><input type='radio' name='copytemplet' id='copytemplet' value='1' checked> 复制</label> | |||||
<label><input type='radio' name='copytemplet' id='copytemplet' value='0'> 不复制</label> | <label><input type='radio' name='copytemplet' id='copytemplet' value='0'> 不复制</label> | ||||
</td> | </td> | ||||
</tr>"; | </tr>"; | ||||
@@ -429,7 +429,7 @@ if ($dopost == "show") { | |||||
$label = $ctag->GetAtt('itemname'); | $label = $ctag->GetAtt('itemname'); | ||||
if (in_array($datatype, $searchtype)) { | if (in_array($datatype, $searchtype)) { | ||||
$checked = in_array($value, $addonfieldsarr) ? 'checked' : ''; | $checked = in_array($value, $addonfieldsarr) ? 'checked' : ''; | ||||
$addonfields .= "<label><input type='checkbox' name='addonfields[]' value='$value' $checked='checked'> $label</label> "; | |||||
$addonfields .= "<label><input type='checkbox' name='addonfields[]' value='$value' $checked> $label</label> "; | |||||
} | } | ||||
} | } | ||||
} | } | ||||
@@ -531,7 +531,7 @@ if ($dopost == "show") { | |||||
} else if ($type == 'radio') { | } else if ($type == 'radio') { | ||||
$values = explode(',', $valuearr[$k]); | $values = explode(',', $valuearr[$k]); | ||||
if (is_array($values) && !empty($values)) { | if (is_array($values) && !empty($values)) { | ||||
$forms .= "$itemname:<label><input type=\"radio\" name=\"".$name."\" value=\"\" checked=\"checked\"> 不限</label><br>"; | |||||
$forms .= "$itemname:<label><input type=\"radio\" name=\"".$name."\" value=\"\" checked> 不限</label><br>"; | |||||
foreach ($values as $value) { | foreach ($values as $value) { | ||||
$forms .= "<label><input type=\"radio\" name=\"".$name."\" value=\"$value\"> $value</label>"; | $forms .= "<label><input type=\"radio\" name=\"".$name."\" value=\"$value\"> $value</label>"; | ||||
} | } | ||||
@@ -124,9 +124,9 @@ EOT; | |||||
if ($row['type'] == 'bool') { | if ($row['type'] == 'bool') { | ||||
$c1 = ''; | $c1 = ''; | ||||
$c2 = ''; | $c2 = ''; | ||||
$row['value'] == 'Y' ? $c1 = " checked" : $c2 = " checked"; | |||||
echo "<label><input type='radio' name='edit___{$row['varname']}' value='Y'$c1> 是</label> "; | |||||
echo "<label><input type='radio' name='edit___{$row['varname']}' value='N'$c2> 否</label> "; | |||||
$row['value'] == 'Y' ? $c1 = "checked" : $c2 = "checked"; | |||||
echo "<label><input type='radio' name='edit___{$row['varname']}' value='Y' $c1> 是</label> "; | |||||
echo "<label><input type='radio' name='edit___{$row['varname']}' value='N' $c2> 否</label> "; | |||||
} else if ($row['type'] == 'bstring') { | } else if ($row['type'] == 'bstring') { | ||||
echo "<textarea name='edit___{$row['varname']}' row='4' id='edit___{$row['varname']}' class='admin-textarea-xl'>".dede_htmlspecialchars($row['value'])."</textarea>"; | echo "<textarea name='edit___{$row['varname']}' row='4' id='edit___{$row['varname']}' class='admin-textarea-xl'>".dede_htmlspecialchars($row['value'])."</textarea>"; | ||||
} else if ($row['type'] == 'number') { | } else if ($row['type'] == 'number') { | ||||
@@ -63,7 +63,7 @@ | |||||
<tr> | <tr> | ||||
<td>时间限制:</td> | <td>时间限制:</td> | ||||
<td> | <td> | ||||
<label><input type="radio" name="timeset" value="0" checked="checked"> 永不过期</label> | |||||
<label><input type="radio" name="timeset" value="0" checked> 永不过期</label> | |||||
<label><input type="radio" name="timeset" value="1"> 在设内时间内有效</label> | <label><input type="radio" name="timeset" value="1"> 在设内时间内有效</label> | ||||
</td> | </td> | ||||
</tr> | </tr> | ||||
@@ -55,8 +55,8 @@ | |||||
<tr> | <tr> | ||||
<td>时间限制:</td> | <td>时间限制:</td> | ||||
<td> | <td> | ||||
<label><input type="radio" name="timeset" value="0" <?php if ($row['timeset']==0) echo "checked='checked'";?>> 永不过期</label> | |||||
<label><input type="radio" name="timeset" value="1" <?php if ($row['timeset']==1) echo "checked='checked'";?>> 在设内时间内有效</label> | |||||
<label><input type="radio" name="timeset" value="0" <?php if ($row['timeset']==0) echo 'checked';?>> 永不过期</label> | |||||
<label><input type="radio" name="timeset" value="1" <?php if ($row['timeset']==1) echo 'checked';?>> 在设内时间内有效</label> | |||||
</td> | </td> | ||||
</tr> | </tr> | ||||
<tr> | <tr> | ||||
@@ -30,14 +30,14 @@ | |||||
<tr> | <tr> | ||||
<td><input type="hidden" name="ID_<?php echo $k?>" value="<?php echo $row->id?>"><?php echo $row->id;?></td> | <td><input type="hidden" name="ID_<?php echo $k?>" value="<?php echo $row->id?>"><?php echo $row->id;?></td> | ||||
<td><input type="text" name="pname_<?php echo $k?>" value="<?php echo $row->typename?>" id="pname_<?php echo $k?>" class="w-100"></td> | <td><input type="text" name="pname_<?php echo $k?>" value="<?php echo $row->typename?>" id="pname_<?php echo $k?>" class="w-100"></td> | ||||
<td><label><input type="checkbox" name="check_<?php echo $k?>" id="check_<?php echo $k?>" value="1" checked="checked"> 保留</label></td> | |||||
<td><label><input type="checkbox" name="check_<?php echo $k?>" id="check_<?php echo $k?>" value="1" checked> 保留</label></td> | |||||
</tr> | </tr> | ||||
<?php }?> | <?php }?> | ||||
<input type="hidden" name="idend" value="<?php echo $k?>"> | <input type="hidden" name="idend" value="<?php echo $k?>"> | ||||
<tr> | <tr> | ||||
<td></td> | <td></td> | ||||
<td><input type="text" name="pname_new" id="pname_new"class="w-100"></td> | <td><input type="text" name="pname_new" id="pname_new"class="w-100"></td> | ||||
<td><label><input type="checkbox" name="check_new" id="check_new" value="1" checked="checked"> 新增</label></td> | |||||
<td><label><input type="checkbox" name="check_new" id="check_new" value="1" checked> 新增</label></td> | |||||
</tr> | </tr> | ||||
<tr> | <tr> | ||||
<td bgcolor="#f8fafb" colspan="3" align="center"><input name="submit" type="submit" class="btn btn-success btn-sm" value="确定"></td> | <td bgcolor="#f8fafb" colspan="3" align="center"><input name="submit" type="submit" class="btn btn-success btn-sm" value="确定"></td> | ||||
@@ -167,7 +167,7 @@ | |||||
<td width="120">关键词:</td> | <td width="120">关键词:</td> | ||||
<td> | <td> | ||||
<input type="text" name="keywords" id="keywords" class="admin-input-lg"> | <input type="text" name="keywords" id="keywords" class="admin-input-lg"> | ||||
<label><input type="checkbox" name="autokey" onclick="ShowHide('keywords');" id="autokey" value="1" <?php if ($cfg_arc_autokeyword=='Y') echo ' checked';?>> 自动获取</label> | |||||
<label><input type="checkbox" name="autokey" onclick="ShowHide('keywords');" id="autokey" value="1" <?php if ($cfg_arc_autokeyword=='Y') echo 'checked';?>> 自动获取</label> | |||||
<button type="button" name="submit" onclick="SelectKeywords('form1.keywords');" class="btn btn-success btn-sm">选择</button> | <button type="button" name="submit" onclick="SelectKeywords('form1.keywords');" class="btn btn-success btn-sm">选择</button> | ||||
</td> | </td> | ||||
</tr> | </tr> | ||||
@@ -184,15 +184,30 @@ | |||||
</table> | </table> | ||||
</td> | </td> | ||||
</tr> | </tr> | ||||
<tr> | |||||
<td class="admin-td"> | |||||
<table> | |||||
<tr> | |||||
<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> | |||||
<a href="javascript:OpenMyWin('article_allowurl_edit.php');">[配置]</a> | |||||
<label><input type="checkbox" name="autolitpic" id="autolitpic" value="1" <?php if ($cfg_arc_autopic=='Y') echo 'checked';?>> 提取第一个图片为缩略图</label> | |||||
</td> | |||||
</tr> | |||||
</table> | |||||
</td> | |||||
</tr> | |||||
<tr> | <tr> | ||||
<td class="admin-td"> | <td class="admin-td"> | ||||
<table> | <table> | ||||
<tr> | <tr> | ||||
<td width="120">表现方式:</td> | <td width="120">表现方式:</td> | ||||
<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> | |||||
<label><input type="radio" name="pagestyle" id="pagestyle3" onclick="checkMuList();" value="3" <?php if ($cfg_album_style==3) echo "checked='checked'";?>> <img src="/static/web/img/alb3.jpg" title="多缩略图样式"></label> | |||||
<label><input type="radio" name="pagestyle" id="pagestyle1" onclick="checkMuList();" value="1" <?php if ($cfg_album_style==1) echo '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';?>> <img src="/static/web/img/alb1.jpg" title="幻灯片样式"></label> | |||||
<label><input type="radio" name="pagestyle" id="pagestyle3" onclick="checkMuList();" value="3" <?php if ($cfg_album_style==3) echo 'checked';?>> <img src="/static/web/img/alb3.jpg" title="多缩略图样式"></label> | |||||
</td> | </td> | ||||
</tr> | </tr> | ||||
</table> | </table> | ||||
@@ -226,19 +241,6 @@ | |||||
</table> | </table> | ||||
</td> | </td> | ||||
</tr> | </tr> | ||||
<tr> | |||||
<td class="admin-td"> | |||||
<table> | |||||
<tr> | |||||
<td width="120">附加选项:</td> | |||||
<td> | |||||
<label><input type="checkbox" name="ddisfirst" value="1"> 提取第一个图片为缩略图</label> | |||||
</td> | |||||
</tr> | |||||
</table> | |||||
</td> | |||||
</tr> | |||||
<?php PrintAutoFieldsAdd(stripslashes($cInfos['fieldset']),'autofield');?> | |||||
<tr> | <tr> | ||||
<td class="admin-td"> | <td class="admin-td"> | ||||
<table> | <table> | ||||
@@ -260,12 +262,13 @@ | |||||
</table> | </table> | ||||
</td> | </td> | ||||
</tr> | </tr> | ||||
<?php PrintAutoFieldsAdd(stripslashes($cInfos['fieldset']),'autofield');?> | |||||
<tr> | <tr> | ||||
<td class="admin-td"> | <td class="admin-td"> | ||||
<table> | <table> | ||||
<tr> | <tr> | ||||
<td width="120">图片文档:</td> | |||||
<td><?php GetEditor("body","",400,"Diy");?></td> | |||||
<td width="120">正文:</td> | |||||
<td><?php GetEditor('body','',350,'Diy');?></td> | |||||
</tr> | </tr> | ||||
</table> | </table> | ||||
</td> | </td> | ||||
@@ -276,12 +279,12 @@ | |||||
<tr> | <tr> | ||||
<td width="120">评论选项:</td> | <td width="120">评论选项:</td> | ||||
<td width="360"> | <td width="360"> | ||||
<label><input type="radio" name="notpost" value="0" <?php if ($cfg_feedback_forbid=='N') echo "checked='checked'";?>> 允许评论</label> | |||||
<label><input type="radio" name="notpost" value="1" <?php if ($cfg_feedback_forbid=='Y') echo "checked='checked'";?>> 禁止评论</label> | |||||
<label><input type="radio" name="notpost" value="0" <?php if ($cfg_feedback_forbid=='N') echo 'checked';?>> 允许评论</label> | |||||
<label><input type="radio" name="notpost" value="1" <?php if ($cfg_feedback_forbid=='Y') echo 'checked';?>> 禁止评论</label> | |||||
</td> | </td> | ||||
<td width="120">发布选项:</td> | <td width="120">发布选项:</td> | ||||
<td> | <td> | ||||
<label><input type="radio" name="ishtml" value="1" checked="checked"> 生成网页</label> | |||||
<label><input type="radio" name="ishtml" value="1" checked> 生成网页</label> | |||||
<label><input type="radio" name="ishtml" value="0"> 仅动态浏览</label> | <label><input type="radio" name="ishtml" value="0"> 仅动态浏览</label> | ||||
</td> | </td> | ||||
</tr> | </tr> | ||||
@@ -56,7 +56,7 @@ | |||||
if ($trow->att=='j') $jumpclick = " onclick='ShowUrlTr()'"; | if ($trow->att=='j') $jumpclick = " onclick='ShowUrlTr()'"; | ||||
else $jumpclick = ''; | else $jumpclick = ''; | ||||
if (preg_match("#".$trow->att."#", $arcRow['flag'])) | if (preg_match("#".$trow->att."#", $arcRow['flag'])) | ||||
echo "<label><input type='checkbox' name='flags[]' id='flags{$trow->att}' value='{$trow->att}' {$jumpclick} checked='checked'> {$trow->attname}[{$trow->att}]</label> "; | |||||
echo "<label><input type='checkbox' name='flags[]' id='flags{$trow->att}' value='{$trow->att}' {$jumpclick} checked> {$trow->attname}[{$trow->att}]</label> "; | |||||
else | else | ||||
echo "<label><input type='checkbox' name='flags[]' id='flags{$trow->att}' value='{$trow->att}' {$jumpclick}> {$trow->attname}[{$trow->att}]</label> "; | echo "<label><input type='checkbox' name='flags[]' id='flags{$trow->att}' value='{$trow->att}' {$jumpclick}> {$trow->attname}[{$trow->att}]</label> "; | ||||
} | } | ||||
@@ -159,6 +159,7 @@ | |||||
</table> | </table> | ||||
</td> | </td> | ||||
</tr> | </tr> | ||||
<?php }?> | |||||
<tr> | <tr> | ||||
<td class="admin-td"> | <td class="admin-td"> | ||||
<table> | <table> | ||||
@@ -179,17 +180,28 @@ | |||||
</table> | </table> | ||||
</td> | </td> | ||||
</tr> | </tr> | ||||
<?php }?> | |||||
<?php PrintAutoFieldsEdit(stripslashes($cInfos['fieldset']),$addRow,'autofield');?> | |||||
<tr> | |||||
<td class="admin-td"> | |||||
<table> | |||||
<tr> | |||||
<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="autolitpic" id="autolitpic" value="1" <?php if ($cfg_arc_autopic=='Y') echo 'checked';?>> 提取第一个图片为缩略图</label> | |||||
</td> | |||||
</tr> | |||||
</table> | |||||
</td> | |||||
</tr> | |||||
<tr> | <tr> | ||||
<td class="admin-td"> | <td class="admin-td"> | ||||
<table> | <table> | ||||
<tr> | <tr> | ||||
<td width="120">表现方式:</td> | <td width="120">表现方式:</td> | ||||
<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> | |||||
<label><input type="radio" name="pagestyle" id="pagestyle3" onclick="checkMuList();" value="3" <?php if ($pagestyle==3) echo "checked='checked'";?>> <img src="/static/web/img/alb3.jpg" title="多缩略图样式"></label> | |||||
<label><input type="radio" name="pagestyle" id="pagestyle1" onclick="checkMuList();" value="1" <?php if ($pagestyle==1) echo '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';?>> <img src="/static/web/img/alb1.jpg" title="幻灯片样式"></label> | |||||
<label><input type="radio" name="pagestyle" id="pagestyle3" onclick="checkMuList();" value="3" <?php if ($pagestyle==3) echo 'checked';?>> <img src="/static/web/img/alb3.jpg" title="多缩略图样式"></label> | |||||
</td> | </td> | ||||
</tr> | </tr> | ||||
</table> | </table> | ||||
@@ -301,12 +313,13 @@ | |||||
</table> | </table> | ||||
</td> | </td> | ||||
</tr> | </tr> | ||||
<?php PrintAutoFieldsEdit(stripslashes($cInfos['fieldset']),$addRow,'autofield');?> | |||||
<tr> | <tr> | ||||
<td class="admin-td"> | <td class="admin-td"> | ||||
<table> | <table> | ||||
<tr> | <tr> | ||||
<td width="120">图片文档:</td> | |||||
<td><?php GetEditor("body",$body,400,"Diy");?></td> | |||||
<td width="120">正文:</td> | |||||
<td><?php GetEditor('body',$body,350,'Diy');?></td> | |||||
</tr> | </tr> | ||||
</table> | </table> | ||||
</td> | </td> | ||||
@@ -317,13 +330,13 @@ | |||||
<tr> | <tr> | ||||
<td width="120">评论选项:</td> | <td width="120">评论选项:</td> | ||||
<td width="360"> | <td width="360"> | ||||
<label><input type="radio" name="notpost" value="0" <?php if ($arcRow['notpost']==0) echo "checked='checked'";?>> 允许评论</label> | |||||
<label><input type="radio" name="notpost" value="1" <?php if ($arcRow['notpost']==1) echo "checked='checked'";?>> 禁止评论</label> | |||||
<label><input type="radio" name="notpost" value="0" <?php if ($arcRow['notpost']==0) echo 'checked';?>> 允许评论</label> | |||||
<label><input type="radio" name="notpost" value="1" <?php if ($arcRow['notpost']==1) echo 'checked';?>> 禁止评论</label> | |||||
</td> | </td> | ||||
<td width="120">发布选项:</td> | <td width="120">发布选项:</td> | ||||
<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> | |||||
<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> | |||||
</td> | </td> | ||||
</tr> | </tr> | ||||
</table> | </table> | ||||
@@ -149,6 +149,7 @@ | |||||
</table> | </table> | ||||
</td> | </td> | ||||
</tr> | </tr> | ||||
<?php }?> | |||||
<tr id="typeid2tr" style="display:none"> | <tr id="typeid2tr" style="display:none"> | ||||
<td class="admin-td"> | <td class="admin-td"> | ||||
<table> | <table> | ||||
@@ -170,7 +171,7 @@ | |||||
<td width="120">关键词:</td> | <td width="120">关键词:</td> | ||||
<td> | <td> | ||||
<input type="text" name="keywords" id="keywords" class="admin-input-lg"> | <input type="text" name="keywords" id="keywords" class="admin-input-lg"> | ||||
<label><input type="checkbox" name="autokey" onclick="ShowHide('keywords');" id="autokey" value="1" <?php if ($cfg_arc_autokeyword=='Y') echo ' checked';?>> 自动获取</label> | |||||
<label><input type="checkbox" name="autokey" onclick="ShowHide('keywords');" id="autokey" value="1" <?php if ($cfg_arc_autokeyword=='Y') echo 'checked';?>> 自动获取</label> | |||||
<button type="button" name="submit" class="btn btn-success btn-sm" onclick="SelectKeywords('form1.keywords');">选择</button> | <button type="button" name="submit" class="btn btn-success btn-sm" onclick="SelectKeywords('form1.keywords');">选择</button> | ||||
</td> | </td> | ||||
</tr> | </tr> | ||||
@@ -187,18 +188,16 @@ | |||||
</table> | </table> | ||||
</td> | </td> | ||||
</tr> | </tr> | ||||
<?php }?> | |||||
<tr> | <tr> | ||||
<td class="admin-td"> | <td class="admin-td"> | ||||
<table> | <table> | ||||
<tr> | <tr> | ||||
<td width="120">附加选项:</td> | <td width="120">附加选项:</td> | ||||
<td> | <td> | ||||
<label><input type="checkbox" name="remote" id="remote" value="1" <?php if ($cfg_rm_remote=='Y') echo 'checked="checked"';?>> 下载远程图片和资源</label> | |||||
<label><input type="checkbox" name="dellink" id="dellink" value="1" <?php if ($cfg_arc_dellink=='Y') echo 'checked="checked"';?>> 删除非站内链接</label> | |||||
<a href="javascript:OpenMyWin('article_allowurl_edit.php');" class="btn btn-success btn-sm">调整</a> | |||||
<label><input type="checkbox" name="autolitpic" id="autolitpic" value="1" <?php if ($cfg_arc_autopic=='Y') echo 'checked="checked"';?>> 提取第一个图片为缩略图</label> | |||||
<label><input type="checkbox" name="needwatermark" value="1" <?php if ($photo_markup=='1') echo 'checked="checked"';?>> 图片是否加水印</label> | |||||
<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> | |||||
<a href="javascript:OpenMyWin('article_allowurl_edit.php');">[配置]</a> | |||||
<label><input type="checkbox" name="autolitpic" id="autolitpic" value="1" <?php if ($cfg_arc_autopic=='Y') echo 'checked';?>> 提取第一个图片为缩略图</label> | |||||
</td> | </td> | ||||
</tr> | </tr> | ||||
</table> | </table> | ||||
@@ -211,12 +210,12 @@ | |||||
<tr> | <tr> | ||||
<td width="120">评论选项:</td> | <td width="120">评论选项:</td> | ||||
<td width="360"> | <td width="360"> | ||||
<label><input type="radio" name="notpost" value="0" <?php if ($cfg_feedback_forbid=='N') echo "checked='checked'";?>> 允许评论</label> | |||||
<label><input type="radio" name="notpost" value="1" <?php if ($cfg_feedback_forbid=='Y') echo "checked='checked'";?>> 禁止评论</label> | |||||
<label><input type="radio" name="notpost" value="0" <?php if ($cfg_feedback_forbid=='N') echo 'checked';?>> 允许评论</label> | |||||
<label><input type="radio" name="notpost" value="1" <?php if ($cfg_feedback_forbid=='Y') echo 'checked';?>> 禁止评论</label> | |||||
</td> | </td> | ||||
<td width="120">发布选项:</td> | <td width="120">发布选项:</td> | ||||
<td> | <td> | ||||
<label><input type="radio" name="ishtml" value="1" checked="checked"> 生成网页</label> | |||||
<label><input type="radio" name="ishtml" value="1" checked> 生成网页</label> | |||||
<label><input type="radio" name="ishtml" value="0"> 仅动态浏览</label> | <label><input type="radio" name="ishtml" value="0"> 仅动态浏览</label> | ||||
</td> | </td> | ||||
</tr> | </tr> | ||||
@@ -53,7 +53,7 @@ | |||||
if ($trow->att=='j') $jumpclick = " onclick='ShowUrlTr()'"; | if ($trow->att=='j') $jumpclick = " onclick='ShowUrlTr()'"; | ||||
else $jumpclick = ''; | else $jumpclick = ''; | ||||
if (preg_match("#".$trow->att."#", $arcRow['flag'])) | if (preg_match("#".$trow->att."#", $arcRow['flag'])) | ||||
echo "<label><input type='checkbox' name='flags[]' id='flags{$trow->att}' value='{$trow->att}' {$jumpclick} checked='checked'> {$trow->attname}[{$trow->att}]</label> "; | |||||
echo "<label><input type='checkbox' name='flags[]' id='flags{$trow->att}' value='{$trow->att}' {$jumpclick} checked> {$trow->attname}[{$trow->att}]</label> "; | |||||
else | else | ||||
echo "<label><input type='checkbox' name='flags[]' id='flags{$trow->att}' value='{$trow->att}' {$jumpclick}> {$trow->attname}[{$trow->att}]</label> "; | echo "<label><input type='checkbox' name='flags[]' id='flags{$trow->att}' value='{$trow->att}' {$jumpclick}> {$trow->attname}[{$trow->att}]</label> "; | ||||
} | } | ||||
@@ -165,6 +165,7 @@ | |||||
</table> | </table> | ||||
</td> | </td> | ||||
</tr> | </tr> | ||||
<?php }}?> | |||||
<tr> | <tr> | ||||
<td class="admin-td"> | <td class="admin-td"> | ||||
<table> | <table> | ||||
@@ -185,34 +186,33 @@ | |||||
</table> | </table> | ||||
</td> | </td> | ||||
</tr> | </tr> | ||||
<?php }}?> | |||||
<?php PrintAutoFieldsEdit(stripslashes($cInfos['fieldset']),$addRow);?> | |||||
<tr> | <tr> | ||||
<td class="admin-td"> | <td class="admin-td"> | ||||
<table> | <table> | ||||
<tr> | <tr> | ||||
<td width="120">附加选项:</td> | <td width="120">附加选项:</td> | ||||
<td> | <td> | ||||
<label><input name="remote" type="checkbox" id="remote" value="1" <?php if ($cfg_rm_remote=='Y') echo ' checked="checked" ';?>> 下载远程图片和资源</label> | |||||
<label><input name="autolitpic" type="checkbox" id="autolitpic" value="1" <?php if ($cfg_arc_autopic=='Y') echo ' checked="checked" ';?>> 提取第一个图片为缩略图</label> | |||||
<label><input type="checkbox" name="remote" id="remote" value="1" <?php if ($cfg_rm_remote=='Y') echo 'checked';?>> 下载远程图片和资源</label> | |||||
<label><input type="checkbox" name="autolitpic" id="autolitpic" value="1" <?php if ($cfg_arc_autopic=='Y') echo 'checked';?>> 提取第一个图片为缩略图</label> | |||||
</td> | </td> | ||||
</tr> | </tr> | ||||
</table> | </table> | ||||
</td> | </td> | ||||
</tr> | </tr> | ||||
<?php PrintAutoFieldsEdit(stripslashes($cInfos['fieldset']),$addRow);?> | |||||
<tr> | <tr> | ||||
<td class="admin-td"> | <td class="admin-td"> | ||||
<table> | <table> | ||||
<tr> | <tr> | ||||
<td width="120">评论选项:</td> | <td width="120">评论选项:</td> | ||||
<td width="360"> | <td width="360"> | ||||
<label><input type='radio' name='notpost' value='0' <?php if ($arcRow['notpost']==0) echo " checked='checked' ";?>> 允许评论</label> | |||||
<label><input type='radio' name='notpost' value='1' <?php if ($arcRow['notpost']==1) echo " checked='checked' ";?>> 禁止评论</label> | |||||
<label><input type='radio' name='notpost' value='0' <?php if ($arcRow['notpost']==0) echo " checked ";?>> 允许评论</label> | |||||
<label><input type='radio' name='notpost' value='1' <?php if ($arcRow['notpost']==1) echo " checked ";?>> 禁止评论</label> | |||||
</td> | </td> | ||||
<td width="120">发布选项:</td> | <td width="120">发布选项:</td> | ||||
<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> | |||||
<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> | |||||
</td> | </td> | ||||
</tr> | </tr> | ||||
</table> | </table> | ||||
@@ -99,7 +99,6 @@ | |||||
</table> | </table> | ||||
</td> | </td> | ||||
</tr> | </tr> | ||||
<?php }?> | |||||
<tr> | <tr> | ||||
<td class="admin-td"> | <td class="admin-td"> | ||||
<table> | <table> | ||||
@@ -50,7 +50,7 @@ | |||||
while($trow = $dsql->GetObject()) | while($trow = $dsql->GetObject()) | ||||
{ | { | ||||
if (preg_match("#".$trow->att."#", $addRow['flag'])) | if (preg_match("#".$trow->att."#", $addRow['flag'])) | ||||
echo "<label><input type='checkbox' name='flags[]' id='flags{$trow->att}' value='{$trow->att}' checked='checked'> {$trow->attname}[{$trow->att}]</label> "; | |||||
echo "<label><input type='checkbox' name='flags[]' id='flags{$trow->att}' value='{$trow->att}' checked> {$trow->attname}[{$trow->att}]</label> "; | |||||
else | else | ||||
echo "<label><input type='checkbox' name='flags[]' id='flags{$trow->att}' value='{$trow->att}'> {$trow->attname}[{$trow->att}]</label> "; | echo "<label><input type='checkbox' name='flags[]' id='flags{$trow->att}' value='{$trow->att}'> {$trow->attname}[{$trow->att}]</label> "; | ||||
} | } | ||||
@@ -101,6 +101,7 @@ | |||||
</table> | </table> | ||||
</td> | </td> | ||||
</tr> | </tr> | ||||
<?php PrintAutoFieldsEdit(stripslashes($cInfos['fieldset']),$addRow,'autofield');?> | |||||
<tr> | <tr> | ||||
<td class="admin-td"> | <td class="admin-td"> | ||||
<table> | <table> | ||||
@@ -124,8 +125,6 @@ | |||||
</table> | </table> | ||||
</td> | </td> | ||||
</tr> | </tr> | ||||
<?php }?> | |||||
<?php PrintAutoFieldsEdit(stripslashes($cInfos['fieldset']),$addRow,'autofield');?> | |||||
<tr> | <tr> | ||||
<td bgcolor="#f8fafb" align="center" class="admin-td"> | <td bgcolor="#f8fafb" align="center" class="admin-td"> | ||||
<button type="submit" class="btn btn-success btn-sm">保存</button> | <button type="submit" class="btn btn-success btn-sm">保存</button> | ||||
@@ -162,7 +162,7 @@ | |||||
<td width="120">关键词:</td> | <td width="120">关键词:</td> | ||||
<td> | <td> | ||||
<input type="text" name="keywords" id="keywords" value="<?php echo $keywords;?>" class="admin-input-lg"> | <input type="text" name="keywords" id="keywords" value="<?php echo $keywords;?>" class="admin-input-lg"> | ||||
<label><input type="checkbox" name="autokey" onclick="ShowHide('keywords');" id="autokey" value="1" <?php if ($cfg_arc_autokeyword=='Y') echo 'checked="checked"';?>> 自动获取</label> | |||||
<label><input type="checkbox" name="autokey" onclick="ShowHide('keywords');" id="autokey" value="1" <?php if ($cfg_arc_autokeyword=='Y') echo 'checked';?>> 自动获取</label> | |||||
<button type="button" name="submit" onclick="SelectKeywords('form1.keywords');" class="btn btn-success btn-sm">选择</button> | <button type="button" name="submit" onclick="SelectKeywords('form1.keywords');" class="btn btn-success btn-sm">选择</button> | ||||
</td> | </td> | ||||
</tr> | </tr> | ||||
@@ -185,11 +185,10 @@ | |||||
<tr> | <tr> | ||||
<td width="120">附加选项:</td> | <td width="120">附加选项:</td> | ||||
<td> | <td> | ||||
<label><input type="checkbox" name="remote" id="remote" value="1" <?php if ($cfg_rm_remote=='Y') echo 'checked="checked"';?>> 下载远程图片和资源</label> | |||||
<label><input type="checkbox" name="dellink" id="dellink" value="1" <?php if ($cfg_arc_dellink=='Y') echo 'checked="checked"';?>> 删除非站内链接</label> | |||||
<a href="javascript:OpenMyWin('article_allowurl_edit.php');" class="btn btn-success btn-sm">调整</a> | |||||
<label><input type="checkbox" name="autolitpic" id="autolitpic" value="1" <?php if ($cfg_arc_autopic=='Y') echo 'checked="checked"';?>> 提取第一个图片为缩略图</label> | |||||
<label><input type="checkbox" name="needwatermark" value="1" <?php if ($photo_markup=='1') echo "checked";?>> 图片是否加水印</label> | |||||
<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> | |||||
<a href="javascript:OpenMyWin('article_allowurl_edit.php');">[配置]</a> | |||||
<label><input type="checkbox" name="autolitpic" id="autolitpic" value="1" <?php if ($cfg_arc_autopic=='Y') echo 'checked';?>> 提取第一个图片为缩略图</label> | |||||
</td> | </td> | ||||
</tr> | </tr> | ||||
</table> | </table> | ||||
@@ -201,8 +200,8 @@ | |||||
<tr> | <tr> | ||||
<td width="120">分页方式:</td> | <td width="120">分页方式:</td> | ||||
<td> | <td> | ||||
<label><input type="radio" name="sptype" value="hand" <?php if ($cfg_arcautosp=='N') echo "checked='checked'"?>> 手动</label> | |||||
<label><input type="radio" name="sptype" value="auto" <?php if ($cfg_arcautosp=='Y') echo "checked='checked'"?>> 自动</label> | |||||
<label><input type="radio" name="sptype" value="hand" <?php if ($cfg_arcautosp=='N') echo 'checked'?>> 手动</label> | |||||
<label><input type="radio" name="sptype" value="auto" <?php if ($cfg_arcautosp=='Y') echo 'checked'?>> 自动</label> | |||||
<label>大小:<input name="spsize" type="text" id="spsize" value="<?php echo $cfg_arcautosp_size?>" class="admin-input-xs"> K(分页符为:#p#分页标题#e#)</label> | <label>大小:<input name="spsize" type="text" id="spsize" value="<?php echo $cfg_arcautosp_size?>" class="admin-input-xs"> K(分页符为:#p#分页标题#e#)</label> | ||||
</td> | </td> | ||||
</tr> | </tr> | ||||
@@ -211,7 +210,7 @@ | |||||
</tr> | </tr> | ||||
<?php PrintAutoFieldsAdd(stripslashes($cInfos['fieldset']),'autofield');?> | <?php PrintAutoFieldsAdd(stripslashes($cInfos['fieldset']),'autofield');?> | ||||
<tr> | <tr> | ||||
<td class="admin-td"><?php GetEditor("body",$body,400);?></td> | |||||
<td class="admin-td"><?php GetEditor('body',$body,350);?></td> | |||||
</tr> | </tr> | ||||
<tr> | <tr> | ||||
<td class="admin-td"> | <td class="admin-td"> | ||||
@@ -219,12 +218,12 @@ | |||||
<tr> | <tr> | ||||
<td width="120">评论选项:</td> | <td width="120">评论选项:</td> | ||||
<td width="360"> | <td width="360"> | ||||
<label><input type="radio" name="notpost" value="0" <?php if ($cfg_feedback_forbid=='N') echo "checked='checked'";?>> 允许评论</label> | |||||
<label><input type="radio" name="notpost" value="1" <?php if ($cfg_feedback_forbid=='Y') echo "checked='checked'";?>> 禁止评论</label> | |||||
<label><input type="radio" name="notpost" value="0" <?php if ($cfg_feedback_forbid=='N') echo 'checked';?>> 允许评论</label> | |||||
<label><input type="radio" name="notpost" value="1" <?php if ($cfg_feedback_forbid=='Y') echo 'checked';?>> 禁止评论</label> | |||||
</td> | </td> | ||||
<td width="120">发布选项:</td> | <td width="120">发布选项:</td> | ||||
<td> | <td> | ||||
<label><input type="radio" name="ishtml" value="1" checked="checked"> 生成网页</label> | |||||
<label><input type="radio" name="ishtml" value="1" checked> 生成网页</label> | |||||
<label><input type="radio" name="ishtml" value="0"> 仅动态浏览</label> | <label><input type="radio" name="ishtml" value="0"> 仅动态浏览</label> | ||||
</td> | </td> | ||||
</tr> | </tr> | ||||
@@ -53,7 +53,7 @@ | |||||
<tr> | <tr> | ||||
<td width="120">操作:</td> | <td width="120">操作:</td> | ||||
<td> | <td> | ||||
<label><input type="radio" name="dojob" value="des" checked="checked"> 自动摘要</label> | |||||
<label><input type="radio" name="dojob" value="des" checked> 自动摘要</label> | |||||
<label><input type="radio" name="dojob" value="page"> 自动分页</label> | <label><input type="radio" name="dojob" value="page"> 自动分页</label> | ||||
</td> | </td> | ||||
<td width="120">自动分页大小:</td> | <td width="120">自动分页大小:</td> | ||||
@@ -56,7 +56,7 @@ | |||||
$jumpclick = ''; | $jumpclick = ''; | ||||
} | } | ||||
if (preg_match("#".$trow->att."#", $arcRow['flag'])) { | if (preg_match("#".$trow->att."#", $arcRow['flag'])) { | ||||
echo "<label><input type='checkbox' name='flags[]' id='flags{$trow->att}' value='{$trow->att}' {$jumpclick} checked='checked'> {$trow->attname}[{$trow->att}]</label> "; | |||||
echo "<label><input type='checkbox' name='flags[]' id='flags{$trow->att}' value='{$trow->att}' {$jumpclick} checked> {$trow->attname}[{$trow->att}]</label> "; | |||||
} else { | } else { | ||||
echo "<label><input type='checkbox' name='flags[]' id='flags{$trow->att}' value='{$trow->att}' {$jumpclick}> {$trow->attname}[{$trow->att}]</label> "; | echo "<label><input type='checkbox' name='flags[]' id='flags{$trow->att}' value='{$trow->att}' {$jumpclick}> {$trow->attname}[{$trow->att}]</label> "; | ||||
} | } | ||||
@@ -181,22 +181,22 @@ | |||||
</table> | </table> | ||||
</td> | </td> | ||||
</tr> | </tr> | ||||
<?php PrintAutoFieldsEdit(stripslashes($cInfos['fieldset']),$addRow,'autofield');?> | |||||
<tr> | <tr> | ||||
<td class="admin-td"> | <td class="admin-td"> | ||||
<table> | <table> | ||||
<tr> | <tr> | ||||
<td width="120">附加选项:</td> | <td width="120">附加选项:</td> | ||||
<td> | <td> | ||||
<label><input name="remote" type="checkbox" id="remote" value="1" <?php if ($cfg_rm_remote=='Y') echo ' checked="checked" ';?>> 下载远程图片和资源</label> | |||||
<label><input name="autolitpic" type="checkbox" id="autolitpic" value="1" <?php if ($cfg_arc_autopic=='Y') echo ' checked="checked" ';?>> 提取第一个图片为缩略图</label> | |||||
<label><input type="checkbox" name="remote" id="remote" value="1" <?php if ($cfg_rm_remote=='Y') echo 'checked';?>> 下载远程图片和资源</label> | |||||
<label><input type="checkbox" name="autolitpic" id="autolitpic" value="1" <?php if ($cfg_arc_autopic=='Y') echo 'checked';?>> 提取第一个图片为缩略图</label> | |||||
</td> | </td> | ||||
</tr> | </tr> | ||||
</table> | </table> | ||||
</td> | </td> | ||||
</tr> | </tr> | ||||
<?php PrintAutoFieldsEdit(stripslashes($cInfos['fieldset']),$addRow,'autofield');?> | |||||
<tr> | <tr> | ||||
<td class="admin-td"><?php GetEditor("body",stripcslashes($addRow['body']),400);?></td> | |||||
<td class="admin-td"><?php GetEditor('body',stripcslashes($addRow['body']),350);?></td> | |||||
</tr> | </tr> | ||||
<tr> | <tr> | ||||
<td class="admin-td"> | <td class="admin-td"> | ||||
@@ -204,13 +204,13 @@ | |||||
<tr> | <tr> | ||||
<td width="120">评论选项:</td> | <td width="120">评论选项:</td> | ||||
<td width="360"> | <td width="360"> | ||||
<label><input type="radio" name="notpost" value="0" <?php if ($arcRow['notpost']==0) echo "checked='checked'";?>> 允许评论</label> | |||||
<label><input type="radio" name="notpost" value="1" <?php if ($arcRow['notpost']==1) echo "checked='checked'";?>> 禁止评论</label> | |||||
<label><input type="radio" name="notpost" value="0" <?php if ($arcRow['notpost']==0) echo 'checked';?>> 允许评论</label> | |||||
<label><input type="radio" name="notpost" value="1" <?php if ($arcRow['notpost']==1) echo 'checked';?>> 禁止评论</label> | |||||
</td> | </td> | ||||
<td width="120">发布选项:</td> | <td width="120">发布选项:</td> | ||||
<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> | |||||
<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> | |||||
</td> | </td> | ||||
</tr> | </tr> | ||||
</table> | </table> | ||||
@@ -37,7 +37,7 @@ | |||||
</tr> | </tr> | ||||
{dede:datalist empty='<tr><td colspan="5" align="center">暂无记录</td></tr>'} | {dede:datalist empty='<tr><td colspan="5" align="center">暂无记录</td></tr>'} | ||||
<tr align="center"> | <tr align="center"> | ||||
<td><input type="checkbox" name="aids[]" value="{dede:field.aid/}" checked="checked"></td> | |||||
<td><input type="checkbox" name="aids[]" value="{dede:field.aid/}" checked></td> | |||||
<td><input type="hidden" name="keyword_{dede:field.aid/}" class="admin-input-lg" value="{dede:field.keyword/}">{dede:field.keyword/}</td> | <td><input type="hidden" name="keyword_{dede:field.aid/}" class="admin-input-lg" value="{dede:field.keyword/}">{dede:field.keyword/}</td> | ||||
<td> | <td> | ||||
<input type="hidden" name="rpurlold_{dede:field.aid/}" value="{dede:field.rpurl/}"> | <input type="hidden" name="rpurlold_{dede:field.aid/}" value="{dede:field.rpurl/}"> | ||||
@@ -37,7 +37,7 @@ | |||||
<tr> | <tr> | ||||
<td>删除选项:</td> | <td>删除选项:</td> | ||||
<td> | <td> | ||||
<label><input type="radio" name="deltype" value="delnew" checked="checked"> 保留最旧的一条</label> | |||||
<label><input type="radio" name="deltype" value="delnew" checked> 保留最旧的一条</label> | |||||
<label><input type="radio" name="deltype" value="delold"> 保留最新的一条</label> | <label><input type="radio" name="deltype" value="delold"> 保留最新的一条</label> | ||||
</td> | </td> | ||||
</tr> | </tr> | ||||
@@ -42,7 +42,7 @@ | |||||
<td>密码类型:</td> | <td>密码类型:</td> | ||||
<td> | <td> | ||||
<label><input type="radio" name="ctype" value="1"> 纯数字</label> | <label><input type="radio" name="ctype" value="1"> 纯数字</label> | ||||
<label><input type="radio" name="ctype" value="2" checked="checked"> 大写字母</label> | |||||
<label><input type="radio" name="ctype" value="2" checked> 大写字母</label> | |||||
</td> | </td> | ||||
<td>密码组数:</td> | <td>密码组数:</td> | ||||
<td><input name="pwdgr" type="text" id="pwdgr" class="admin-input-sm" value="3"></td> | <td><input name="pwdgr" type="text" id="pwdgr" class="admin-input-sm" value="3"></td> | ||||
@@ -34,7 +34,7 @@ | |||||
<td><input type="text" name="pname_<?php echo $k?>" value="<?php echo $row->pname?>" id="pname_<?php echo $k?>" style="width:90%"></td> | <td><input type="text" name="pname_<?php echo $k?>" value="<?php echo $row->pname?>" id="pname_<?php echo $k?>" style="width:90%"></td> | ||||
<td><input type="text" name="num_<?php echo $k?>" value="<?php echo $row->num?>" id="num_<?php echo $k?>" style="width:80%"></td> | <td><input type="text" name="num_<?php echo $k?>" value="<?php echo $row->num?>" id="num_<?php echo $k?>" style="width:80%"></td> | ||||
<td><input type="text" name="money_<?php echo $k?>" value="<?php echo $row->money?>" id="money_<?php echo $k?>" style="width:80%">(元)</td> | <td><input type="text" name="money_<?php echo $k?>" value="<?php echo $row->money?>" id="money_<?php echo $k?>" style="width:80%">(元)</td> | ||||
<td><input type="checkbox" name="check_<?php echo $k?>" id="check_<?php echo $k?>" value="1" checked="checked"> 保留</td> | |||||
<td><input type="checkbox" name="check_<?php echo $k?>" id="check_<?php echo $k?>" value="1" checked> 保留</td> | |||||
</tr> | </tr> | ||||
<?php }?> | <?php }?> | ||||
<input type="hidden" name="idend" value="<?php echo $k?>"> | <input type="hidden" name="idend" value="<?php echo $k?>"> | ||||
@@ -42,7 +42,7 @@ | |||||
<td><input type="text" name="pname_new" id="pname_new" style="width:90%"></td> | <td><input type="text" name="pname_new" id="pname_new" style="width:90%"></td> | ||||
<td><input type="text" name="num_new" id="num_new" style="width:80%" value="100"></td> | <td><input type="text" name="num_new" id="num_new" style="width:80%" value="100"></td> | ||||
<td><input type="text" name="money_new" id="money_new" style="width:80%" value="30">(元)</td> | <td><input type="text" name="money_new" id="money_new" style="width:80%" value="30">(元)</td> | ||||
<td align="center"><input type="checkbox" name="check_new" id="check_new" value="1" checked="checked"> 新增</td> | |||||
<td align="center"><input type="checkbox" name="check_new" id="check_new" value="1" checked> 新增</td> | |||||
</tr> | </tr> | ||||
<tr> | <tr> | ||||
<td bgcolor="#f8fafb" colspan="4" align="center"><button type="submit" class="btn btn-success btn-sm">保存</button></td> | <td bgcolor="#f8fafb" colspan="4" align="center"><button type="submit" class="btn btn-success btn-sm">保存</button></td> | ||||
@@ -30,12 +30,12 @@ | |||||
<tr> | <tr> | ||||
<td width="10%">是否支持投稿:</td> | <td width="10%">是否支持投稿:</td> | ||||
<td width="40%"> | <td width="40%"> | ||||
<label><input type="radio" name="issend" value="1" <?php if ($issend==1) echo " checked='checked' ";?>> 支持</label> | |||||
<label><input type="radio" name="issend" value="0" <?php if ($issend==0) echo " checked='checked' ";?>> 不支持</label> | |||||
<label><input type="radio" name="issend" value="1" <?php if ($issend==1) echo " checked ";?>> 支持</label> | |||||
<label><input type="radio" name="issend" value="0" <?php if ($issend==0) echo " checked ";?>> 不支持</label> | |||||
</td> | </td> | ||||
<td width="10%">是否隐藏栏目:</td> | <td width="10%">是否隐藏栏目:</td> | ||||
<td width="40%"> | <td width="40%"> | ||||
<label><input type="radio" name="ishidden" value="0" checked="checked"> 显示</label> | |||||
<label><input type="radio" name="ishidden" value="0" checked> 显示</label> | |||||
<label><input type="radio" name="ishidden" value="1"> 隐藏</label> | <label><input type="radio" name="ishidden" value="1"> 隐藏</label> | ||||
</td> | </td> | ||||
</tr> | </tr> | ||||
@@ -141,7 +141,7 @@ | |||||
</td> | </td> | ||||
<td>目录相对位置:</td> | <td>目录相对位置:</td> | ||||
<td> | <td> | ||||
<label><input type="radio" name="referpath" value="parent" checked="chekced"> 上级目录</label> | |||||
<label><input type="radio" name="referpath" value="parent" checked> 上级目录</label> | |||||
<?php if ($moresite==0) {?> | <?php if ($moresite==0) {?> | ||||
<label><input type="radio" name="referpath" value="cmspath"> 系统根目录</label> | <label><input type="radio" name="referpath" value="cmspath"> 系统根目录</label> | ||||
<label><input type="radio" name="referpath" value="basepath"> 站点根目录</label> | <label><input type="radio" name="referpath" value="basepath"> 站点根目录</label> | ||||
@@ -151,7 +151,7 @@ | |||||
<tr> | <tr> | ||||
<td>栏目列表选项:</td> | <td>栏目列表选项:</td> | ||||
<td> | <td> | ||||
<label><input type="radio" name="isdefault" value="1" checked="checked"> 静态浏览</label> | |||||
<label><input type="radio" name="isdefault" value="1" checked> 静态浏览</label> | |||||
<label><input type="radio" name="isdefault" value="-1"> 动态浏览</label> | <label><input type="radio" name="isdefault" value="-1"> 动态浏览</label> | ||||
<label><input type="radio" name="isdefault" value="0"> 浏览列表第一页</label> | <label><input type="radio" name="isdefault" value="0"> 浏览列表第一页</label> | ||||
</td> | </td> | ||||
@@ -161,13 +161,13 @@ | |||||
<tr> | <tr> | ||||
<td>栏目属性:</td> | <td>栏目属性:</td> | ||||
<td> | <td> | ||||
<label><input type="radio" name="ispart" value="0" checked="checked"> 列表栏目(允许发布)</label> | |||||
<label><input type="radio" name="ispart" value="0" checked> 列表栏目(允许发布)</label> | |||||
<label><input type="radio" name="ispart" value="1"> 封面栏目(不允许发布)</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" id="ispart2" value="2"> 外部栏目(文件保存目录填写链接)</label> | ||||
</td> | </td> | ||||
<td>栏目交叉:</td> | <td>栏目交叉:</td> | ||||
<td> | <td> | ||||
<label><input type="radio" name="cross" id="cross0" value="0" onclick="CheckCross();" checked="checked"> 不交叉</label> | |||||
<label><input type="radio" name="cross" id="cross0" value="0" onclick="CheckCross();" checked> 不交叉</label> | |||||
<label><input type="radio" name="cross" id="cross1" value="1" onclick="CheckCross();"> 自动获取同名栏目</label> | <label><input type="radio" name="cross" id="cross1" value="1" onclick="CheckCross();"> 自动获取同名栏目</label> | ||||
<label><input type="radio" name="cross" id="cross2" value="2" onclick="CheckCross();"> 指定交叉栏目id(英文逗号隔开)</label> | <label><input type="radio" name="cross" id="cross2" value="2" onclick="CheckCross();"> 指定交叉栏目id(英文逗号隔开)</label> | ||||
<a href="javascript:ShowHide('helpvarco');" title="帮助" class="btn btn-success btn-sm"><i class="fa fa-question-circle"></i></a><br> | <a href="javascript:ShowHide('helpvarco');" title="帮助" class="btn btn-success btn-sm"><i class="fa fa-question-circle"></i></a><br> | ||||
@@ -180,7 +180,7 @@ | |||||
<td>多站点支持:</td> | <td>多站点支持:</td> | ||||
<td> | <td> | ||||
<label><input type="radio" name="moresite" value="1"> 启用</label> | <label><input type="radio" name="moresite" value="1"> 启用</label> | ||||
<label><input type="radio" name="moresite" value="0" checked="checked"> 不启用</label>(需要绑定二级域名,系统变量中开启支持多站点) | |||||
<label><input type="radio" name="moresite" value="0" checked> 不启用</label>(需要绑定二级域名,系统变量中开启支持多站点) | |||||
</td> | </td> | ||||
<td>绑定域名:</td> | <td>绑定域名:</td> | ||||
<td><input type="text" name="siteurl" id="siteurl" onChange="CheckPathSet();" class="admin-input-lg">(请输入绑定域名http开头)</td> | <td><input type="text" name="siteurl" id="siteurl" onChange="CheckPathSet();" class="admin-input-lg">(请输入绑定域名http开头)</td> | ||||
@@ -267,7 +267,7 @@ | |||||
<td> | <td> | ||||
<input type="text" name="apikey" id="apikey" class="admin-input-lg" placeholder="请输入跨站调用秘钥"> | <input type="text" name="apikey" id="apikey" class="admin-input-lg" placeholder="请输入跨站调用秘钥"> | ||||
<label><input type="radio" name="apienabled" value="1"> 支持</label> | <label><input type="radio" name="apienabled" value="1"> 支持</label> | ||||
<label><input type="radio" name="apienabled" value="0" checked="checked"> 不支持</label> | |||||
<label><input type="radio" name="apienabled" value="0" checked> 不支持</label> | |||||
<a href="javascript:makeAPIKey();" class="btn btn-success btn-sm" title="更新秘钥"><i class="fa fa-repeat"></i></a> | <a href="javascript:makeAPIKey();" class="btn btn-success btn-sm" title="更新秘钥"><i class="fa fa-repeat"></i></a> | ||||
</td> | </td> | ||||
</tr> | </tr> | ||||
@@ -22,12 +22,12 @@ | |||||
<tr> | <tr> | ||||
<td width="10%">是否支持投稿:</td> | <td width="10%">是否支持投稿:</td> | ||||
<td width="40%"> | <td width="40%"> | ||||
<label><input type="radio" name="issend" value="1" checked="checked"> 支持</label> | |||||
<label><input type="radio" name="issend" value="1" checked> 支持</label> | |||||
<label><input type="radio" name="issend" value="0"> 不支持</label> | <label><input type="radio" name="issend" value="0"> 不支持</label> | ||||
</td> | </td> | ||||
<td width="10%">目录保存位置:</td> | <td width="10%">目录保存位置:</td> | ||||
<td width="40%"> | <td width="40%"> | ||||
<label><input type="radio" name="referpath" value="parent" checked="checked"> 默认网页目录( | |||||
<label><input type="radio" name="referpath" value="parent" checked> 默认网页目录( | |||||
<?php | <?php | ||||
$pardir = '{cmspath}'.$cfg_arcdir; | $pardir = '{cmspath}'.$cfg_arcdir; | ||||
if (!empty($typedir)) $pardir = $typedir.'/'; | if (!empty($typedir)) $pardir = $typedir.'/'; | ||||
@@ -64,7 +64,7 @@ | |||||
<tr> | <tr> | ||||
<td>栏目列表选项:</td> | <td>栏目列表选项:</td> | ||||
<td> | <td> | ||||
<label><input type="radio" name="isdefault" value="1" checked="checked"> 静态浏览</label> | |||||
<label><input type="radio" name="isdefault" value="1" checked> 静态浏览</label> | |||||
<label><input type="radio" name="isdefault" value="-1"> 动态浏览</label> | <label><input type="radio" name="isdefault" value="-1"> 动态浏览</label> | ||||
<label><input type="radio" name="isdefault" value="0"> 浏览列表第一页</label> | <label><input type="radio" name="isdefault" value="0"> 浏览列表第一页</label> | ||||
</td> | </td> | ||||
@@ -23,13 +23,13 @@ | |||||
<tr> | <tr> | ||||
<td width="10%">是否支持投稿:</td> | <td width="10%">是否支持投稿:</td> | ||||
<td width="40%"> | <td width="40%"> | ||||
<label><input type="radio" name="issend" value="1" <?php if ($myrow['issend']=="1") echo "checked='checked'";?>> 支持</label> | |||||
<label><input type="radio" name="issend" value="0" <?php if ($myrow['issend']=="0") echo "checked='checked'";?>> 不支持</label> | |||||
<label><input type="radio" name="issend" value="1" <?php if ($myrow['issend']=="1") echo 'checked';?>> 支持</label> | |||||
<label><input type="radio" name="issend" value="0" <?php if ($myrow['issend']=="0") echo 'checked';?>> 不支持</label> | |||||
</td> | </td> | ||||
<td width="10%">是否隐藏栏目:</td> | <td width="10%">是否隐藏栏目:</td> | ||||
<td width="40%"> | <td width="40%"> | ||||
<label><input type="radio" name="ishidden" value="0" <?php if ($myrow['ishidden']=="0") echo "checked='checked'";?>> 显示</label> | |||||
<label><input type="radio" name="ishidden" value="1" <?php if ($myrow['ishidden']=="1") echo "checked='checked'";?>> 隐藏</label> | |||||
<label><input type="radio" name="ishidden" value="0" <?php if ($myrow['ishidden']=="0") echo 'checked';?>> 显示</label> | |||||
<label><input type="radio" name="ishidden" value="1" <?php if ($myrow['ishidden']=="1") echo 'checked';?>> 隐藏</label> | |||||
</td> | </td> | ||||
</tr> | </tr> | ||||
<tr> | <tr> | ||||
@@ -136,9 +136,9 @@ | |||||
<tr> | <tr> | ||||
<td>栏目列表选项:</td> | <td>栏目列表选项:</td> | ||||
<td> | <td> | ||||
<label><input type="radio" name="isdefault" value="1" <?php if ($myrow['isdefault']==1) echo "checked='checked'";?>> 静态浏览</label> | |||||
<label><input type="radio" name="isdefault" value="-1" <?php if ($myrow['isdefault']==-1) echo "checked='checked'";?>> 动态浏览</label> | |||||
<label><input type="radio" name="isdefault" value="0" <?php if ($myrow['isdefault']==0) echo "checked='checked'";?>> 浏览列表第一页</label> | |||||
<label><input type="radio" name="isdefault" value="1" <?php if ($myrow['isdefault']==1) echo 'checked';?>> 静态浏览</label> | |||||
<label><input type="radio" name="isdefault" value="-1" <?php if ($myrow['isdefault']==-1) echo 'checked';?>> 动态浏览</label> | |||||
<label><input type="radio" name="isdefault" value="0" <?php if ($myrow['isdefault']==0) echo 'checked';?>> 浏览列表第一页</label> | |||||
</td> | </td> | ||||
<td>默认页的名称:</td> | <td>默认页的名称:</td> | ||||
<td><input type="text" name="defaultname" value="<?php echo $myrow['defaultname']?>" class="admin-input-lg"></td> | <td><input type="text" name="defaultname" value="<?php echo $myrow['defaultname']?>" class="admin-input-lg"></td> | ||||
@@ -146,15 +146,15 @@ | |||||
<tr> | <tr> | ||||
<td>栏目属性:</td> | <td>栏目属性:</td> | ||||
<td> | <td> | ||||
<label><input type="radio" name="ispart" value="0" <?php if ($myrow['ispart']==0) echo "checked='checked'";?>> 列表栏目(允许发布)</label> | |||||
<label><input type="radio" name="ispart" value="1" <?php if ($myrow['ispart']==1) echo "checked='checked'";?>> 封面栏目(不允许发布)</label> | |||||
<label><input type="radio" name="ispart" value="2" <?php if ($myrow['ispart']==2) echo "checked='checked'";?>> 外部栏目(文件保存目录填写链接)</label> | |||||
<label><input type="radio" name="ispart" value="0" <?php if ($myrow['ispart']==0) echo 'checked';?>> 列表栏目(允许发布)</label> | |||||
<label><input type="radio" name="ispart" value="1" <?php if ($myrow['ispart']==1) echo 'checked';?>> 封面栏目(不允许发布)</label> | |||||
<label><input type="radio" name="ispart" value="2" <?php if ($myrow['ispart']==2) echo 'checked';?>> 外部栏目(文件保存目录填写链接)</label> | |||||
</td> | </td> | ||||
<td>栏目交叉:</td> | <td>栏目交叉:</td> | ||||
<td> | <td> | ||||
<label><input type="radio" name="cross" id="cross0" value="0" onclick="CheckCross();" <?php if ($myrow['cross']==0) echo "checked='checked'";?>> 不交叉</label> | |||||
<label><input type="radio" name="cross" id="cross1" value="1" onclick="CheckCross();" <?php if ($myrow['cross']==1) echo "checked='checked'";?>> 自动获取同名栏目</label> | |||||
<label><input type="radio" name="cross" id="cross2" value="2" onclick="CheckCross();" <?php if ($myrow['cross']==2) echo "checked='checked'";?>> 指定交叉栏目id(英文逗号隔开)</label> | |||||
<label><input type="radio" name="cross" id="cross0" value="0" onclick="CheckCross();" <?php if ($myrow['cross']==0) echo 'checked';?>> 不交叉</label> | |||||
<label><input type="radio" name="cross" id="cross1" value="1" onclick="CheckCross();" <?php if ($myrow['cross']==1) echo 'checked';?>> 自动获取同名栏目</label> | |||||
<label><input type="radio" name="cross" id="cross2" value="2" onclick="CheckCross();" <?php if ($myrow['cross']==2) echo 'checked';?>> 指定交叉栏目id(英文逗号隔开)</label> | |||||
<a href="javascript:ShowHide('helpvarco');" title="帮助" class="btn btn-success btn-sm"><i class="fa fa-question-circle"></i></a><br> | <a href="javascript:ShowHide('helpvarco');" title="帮助" class="btn btn-success btn-sm"><i class="fa fa-question-circle"></i></a><br> | ||||
<textarea name="crossid" id="crossid" class="admin-textarea-sm" style="<?php if ($myrow['cross']!=2) echo'display:none';?>"><?php echo $myrow['crossid'];?></textarea> | <textarea name="crossid" id="crossid" class="admin-textarea-sm" style="<?php if ($myrow['cross']!=2) echo'display:none';?>"><?php echo $myrow['crossid'];?></textarea> | ||||
<div id="helpvarco" class="alert alert-info my-2" style="display:none">交叉栏目是大栏目与另一个非子栏目交叉的情况,相当于副栏目功能,需要在栏目里设置好</div> | <div id="helpvarco" class="alert alert-info my-2" style="display:none">交叉栏目是大栏目与另一个非子栏目交叉的情况,相当于副栏目功能,需要在栏目里设置好</div> | ||||
@@ -163,8 +163,8 @@ | |||||
<tr> | <tr> | ||||
<td width="260">多站点支持:</td> | <td width="260">多站点支持:</td> | ||||
<td> | <td> | ||||
<label><input type="radio" name="moresite" value="1" <?php if ($myrow['moresite']==1) echo "checked='checked'";?>> 启用</label> | |||||
<label><input type="radio" name="moresite" value="0" <?php if ($myrow['moresite']==0) echo "checked='checked'";?>> 不启用</label>(仅顶级栏目启用,子类栏目无效) | |||||
<label><input type="radio" name="moresite" value="1" <?php if ($myrow['moresite']==1) echo 'checked';?>> 启用</label> | |||||
<label><input type="radio" name="moresite" value="0" <?php if ($myrow['moresite']==0) echo 'checked';?>> 不启用</label>(仅顶级栏目启用,子类栏目无效) | |||||
</td> | </td> | ||||
<td>绑定域名:</td> | <td>绑定域名:</td> | ||||
<td><input type="text" name="siteurl" id="siteurl" value="<?php echo $myrow['siteurl']?>" class="admin-input-lg">(请输入绑定域名http开头)</td> | <td><input type="text" name="siteurl" id="siteurl" value="<?php echo $myrow['siteurl']?>" class="admin-input-lg">(请输入绑定域名http开头)</td> | ||||
@@ -249,8 +249,8 @@ | |||||
<td>是否支持跨站调用:</td> | <td>是否支持跨站调用:</td> | ||||
<td> | <td> | ||||
<input value="<?php echo $myrow['apikey']?>" type="text" name="apikey" id="apikey" class="admin-input-lg" placeholder="请输入跨站调用秘钥"> | <input value="<?php echo $myrow['apikey']?>" type="text" name="apikey" id="apikey" class="admin-input-lg" placeholder="请输入跨站调用秘钥"> | ||||
<label><input type="radio" name="apienabled" value="1" <?php if ($myrow['apienabled']=="1") echo "checked='checked'";?>> 支持</label> | |||||
<label><input type="radio" name="apienabled" value="0" <?php if ($myrow['apienabled']=="0") echo "checked='checked'";?>> 不支持</label> | |||||
<label><input type="radio" name="apienabled" value="1" <?php if ($myrow['apienabled']=="1") echo 'checked';?>> 支持</label> | |||||
<label><input type="radio" name="apienabled" value="0" <?php if ($myrow['apienabled']=="0") echo 'checked';?>> 不支持</label> | |||||
<a href="javascript:makeAPIKey();" class="btn btn-success btn-sm" title="更新秘钥"><i class="fa fa-repeat"></i></a> | <a href="javascript:makeAPIKey();" class="btn btn-success btn-sm" title="更新秘钥"><i class="fa fa-repeat"></i></a> | ||||
<a href="javascript:showAPI(<?php echo $id;?>);" class="btn btn-success btn-sm" title="秘钥标签"><i class="fa fa-question-circle"></i></a> | <a href="javascript:showAPI(<?php echo $id;?>);" class="btn btn-success btn-sm" title="秘钥标签"><i class="fa fa-question-circle"></i></a> | ||||
</td> | </td> | ||||
@@ -59,7 +59,7 @@ | |||||
<tr> | <tr> | ||||
<td>文档操作:</td> | <td>文档操作:</td> | ||||
<td> | <td> | ||||
<label><input type="radio" name="action" value="check" onclick="ShowHideMove();" checked="checked"> 审核文档</label> | |||||
<label><input type="radio" name="action" value="check" onclick="ShowHideMove();" checked> 审核文档</label> | |||||
<label><input type="radio" name="action" value="makehtml" onclick="ShowHideMove();"> 更新网页</label> | <label><input type="radio" name="action" value="makehtml" onclick="ShowHideMove();"> 更新网页</label> | ||||
<label><input type="radio" name="action" value="move" onclick="ShowHideMove();"> 移动文档</label> | <label><input type="radio" name="action" value="move" onclick="ShowHideMove();"> 移动文档</label> | ||||
<label><input type="radio" name="action" value="del" onclick="ShowHideMove();"> 删除文档</label> | <label><input type="radio" name="action" value="del" onclick="ShowHideMove();"> 删除文档</label> | ||||
@@ -58,7 +58,7 @@ | |||||
<td>前台列表和文档页公开:</td> | <td>前台列表和文档页公开:</td> | ||||
<td> | <td> | ||||
<label><input type="radio" name="public" value="2"> 完全公开</label> | <label><input type="radio" name="public" value="2"> 完全公开</label> | ||||
<label><input type="radio" name="public" value="1" checked="checked"> 公开审核过的</label> | |||||
<label><input type="radio" name="public" value="1" checked> 公开审核过的</label> | |||||
<label><input type="radio" name="public" value="0"> 不公开</label> | <label><input type="radio" name="public" value="0"> 不公开</label> | ||||
</td> | </td> | ||||
</tr> | </tr> | ||||
@@ -44,14 +44,14 @@ | |||||
<td> | <td> | ||||
<input type="hidden" name="isnull" value="1"> | <input type="hidden" name="isnull" value="1"> | ||||
<label><input type="radio" name="spage" value="split"> 是</label> | <label><input type="radio" name="spage" value="split"> 是</label> | ||||
<label><input type="radio" name="spage" value="no" checked="checked"> 否</label> | |||||
<label><input type="radio" name="spage" value="no" checked> 否</label> | |||||
<span>(如果文档使用分页符,文档用#p#副标题#e#作为分页符实现文档分页,但仅允许一个字段)</span> | <span>(如果文档使用分页符,文档用#p#副标题#e#作为分页符实现文档分页,但仅允许一个字段)</span> | ||||
</td> | </td> | ||||
</tr> | </tr> | ||||
<tr> | <tr> | ||||
<td>数据类型:</td> | <td>数据类型:</td> | ||||
<td> | <td> | ||||
<div class="nw"><label><input type="radio" name="dtype" id="dtype1" value="text" checked="checked"> 单行文本(varchar)</label></div> | |||||
<div class="nw"><label><input type="radio" name="dtype" id="dtype1" value="text" checked> 单行文本(varchar)</label></div> | |||||
<div class="nw"><label><input type="radio" name="dtype" id="dtype2" value="textchar"> 单行文本(char)</label></div> | <div class="nw"><label><input type="radio" name="dtype" id="dtype2" value="textchar"> 单行文本(char)</label></div> | ||||
<div class="nw"><label><input type="radio" name="dtype" id="dtype3" value="multitext"> 多行文本</label></div> | <div class="nw"><label><input type="radio" name="dtype" id="dtype3" value="multitext"> 多行文本</label></div> | ||||
<div class="nw"><label><input type="radio" name="dtype" id="dtype4" value="htmltext"> 网页文本</label></div> | <div class="nw"><label><input type="radio" name="dtype" id="dtype4" value="htmltext"> 网页文本</label></div> | ||||
@@ -37,8 +37,8 @@ | |||||
<td>是否使用分页符:</td> | <td>是否使用分页符:</td> | ||||
<td> | <td> | ||||
<input type="hidden" name="isnull" value="1"> | <input type="hidden" name="isnull" value="1"> | ||||
<label><input type="radio" name="spage" value="split" <?php if ($ctag->GetAtt('page')=='split') echo "checked='checked'";?>> 是</label> | |||||
<label><input type="radio" name="spage" value="no" <?php if ($ctag->GetAtt('page')=='no'||$ctag->GetAtt('page')=='') echo "checked='checked'";?>> 否</label> | |||||
<label><input type="radio" name="spage" value="split" <?php if ($ctag->GetAtt('page')=='split') echo 'checked';?>> 是</label> | |||||
<label><input type="radio" name="spage" value="no" <?php if ($ctag->GetAtt('page')=='no'||$ctag->GetAtt('page')=='') echo 'checked';?>> 否</label> | |||||
<span>(如果文档使用分页符,文档用#p#副标题#e#作为分页符实现文档分页,但仅允许一个字段)</span> | <span>(如果文档使用分页符,文档用#p#副标题#e#作为分页符实现文档分页,但仅允许一个字段)</span> | ||||
</td> | </td> | ||||
</tr> | </tr> | ||||
@@ -43,7 +43,7 @@ | |||||
<?php | <?php | ||||
if (!empty($fields)) { | if (!empty($fields)) { | ||||
$allowhtml = array('htmltext'); | $allowhtml = array('htmltext'); | ||||
$fields['sta'] = $fields['ifcheck'] == 1 ? '已审核':'待审核'; | |||||
$fields['sta'] = $fields['ifcheck']==1 ? '已审核' : '待审核'; | |||||
echo '<tr> | echo '<tr> | ||||
<td width="16%"> | <td width="16%"> | ||||
<label><input type="checkbox" name="id[]" value="'.$fields['id'].'"> '.$fields['id'].'表单'.$fields['sta'].'</label> | <label><input type="checkbox" name="id[]" value="'.$fields['id'].'"> '.$fields['id'].'表单'.$fields['sta'].'</label> | ||||
@@ -22,7 +22,7 @@ | |||||
</tr> | </tr> | ||||
<tr> | <tr> | ||||
<td>评论人:</td> | <td>评论人:</td> | ||||
<td><input type="text" name="username" id="username" size="20" value="<?php echo $row['username'];?>"></td> | |||||
<td><input type="text" name="username" id="username" class="admin-input-md"> value="<?php echo $row['username'];?>"></td> | |||||
</tr> | </tr> | ||||
<tr> | <tr> | ||||
<td>评论发布时间:</td> | <td>评论发布时间:</td> | ||||
@@ -47,7 +47,7 @@ | |||||
<label><img src="/static/web/img/g_t3.jpg"><input type="radio" name="liststyle" onclick="ChangeListStyle();" value="3"></label> | <label><img src="/static/web/img/g_t3.jpg"><input type="radio" name="liststyle" onclick="ChangeListStyle();" value="3"></label> | ||||
</td> | </td> | ||||
<td> | <td> | ||||
<label><img src="/static/web/img/g_t4.jpg"><input type="radio" name="liststyle" onclick="ChangeListStyle();" value="4" checked="checked"></label> | |||||
<label><img src="/static/web/img/g_t4.jpg"><input type="radio" name="liststyle" onclick="ChangeListStyle();" value="4" checked></label> | |||||
</td> | </td> | ||||
</tr> | </tr> | ||||
</table> | </table> | ||||
@@ -162,7 +162,7 @@ | |||||
<option value="lastpost">最后评论时间</option> | <option value="lastpost">最后评论时间</option> | ||||
<option value="postnum">评论总数</option> | <option value="postnum">评论总数</option> | ||||
</select> | </select> | ||||
<label><input type="radio" name="order" value="desc" checked="checked"> 由高到低</label> | |||||
<label><input type="radio" name="order" value="desc" checked> 由高到低</label> | |||||
<label><input type="radio" name="order" value="asc"> 由低到高</label> | <label><input type="radio" name="order" value="asc"> 由低到高</label> | ||||
</td> | </td> | ||||
</tr> | </tr> | ||||
@@ -43,7 +43,7 @@ | |||||
<td>目录默认页名称:</td> | <td>目录默认页名称:</td> | ||||
<td> | <td> | ||||
<input type="text" name="defaultpage" id="defaultpage" value="<?php echo $row['defaultpage']?>" class="admin-input-lg"> | <input type="text" name="defaultpage" id="defaultpage" value="<?php echo $row['defaultpage']?>" class="admin-input-lg"> | ||||
<label><input type="checkbox" name="nodefault" id="nodefault" value="1" <?php if ($row['nodefault']==1) echo "checked";?>> 不使用目录默认首页</label> | |||||
<label><input type="checkbox" name="nodefault" id="nodefault" value="1" <?php if ($row['nodefault']==1) echo 'checked';?>> 不使用目录默认首页</label> | |||||
</td> | </td> | ||||
</tr> | </tr> | ||||
<tr> | <tr> | ||||
@@ -120,7 +120,7 @@ | |||||
} | } | ||||
echo "</select>"; | echo "</select>"; | ||||
?> | ?> | ||||
<label>文档发布时间:<input type="text" name="subday" id="subday" size="6" value="<?php echo $ctag->GetAtt('subday')?>"> 天以内(0表示不限)</label> | |||||
<label>文档发布时间:<input type="text" name="subday" id="subday" class="admin-input-sm"> value="<?php echo $ctag->GetAtt('subday')?>"> 天以内(0表示不限)</label> | |||||
</td> | </td> | ||||
</tr> | </tr> | ||||
<tr> | <tr> | ||||
@@ -137,9 +137,9 @@ | |||||
if ($setype=='') $setype = 'X'; | if ($setype=='') $setype = 'X'; | ||||
?> | ?> | ||||
<span>高级筛选:</span> | <span>高级筛选:</span> | ||||
<label><input type="checkbox" name="types[]" id="type1" value="image" <?php if (preg_match("#image#i",$setype)) echo ' checked';?>> 带缩略图</label> | |||||
<label><input type="checkbox" name="types[]" id="type2" value="commend" <?php if (preg_match("#commend#i", $setype)) echo ' checked';?>> 推荐</label> | |||||
<label><input type="checkbox" name="types[]" id="type3" value="spec" <?php if (preg_match("#spec#i", $setype)) echo ' checked';?>> 专题</label> | |||||
<label><input type="checkbox" name="types[]" id="type1" value="image" <?php if (preg_match("#image#i",$setype)) echo 'checked';?>> 带缩略图</label> | |||||
<label><input type="checkbox" name="types[]" id="type2" value="commend" <?php if (preg_match("#commend#i", $setype)) echo 'checked';?>> 推荐</label> | |||||
<label><input type="checkbox" name="types[]" id="type3" value="spec" <?php if (preg_match("#spec#i", $setype)) echo 'checked';?>> 专题</label> | |||||
<label>关键词:<input type="text" name="keywordarc" id="keywordarc" value="<?php echo $ctag->GetAtt('keyword')?>">(英文逗号隔开)</label> | <label>关键词:<input type="text" name="keywordarc" id="keywordarc" value="<?php echo $ctag->GetAtt('keyword')?>">(英文逗号隔开)</label> | ||||
</td> | </td> | ||||
</tr> | </tr> | ||||
@@ -167,8 +167,8 @@ | |||||
<option value="lastpost">最后评论时间</option> | <option value="lastpost">最后评论时间</option> | ||||
<option value="postnum">评论总数</option> | <option value="postnum">评论总数</option> | ||||
</select> | </select> | ||||
<label><input type="radio" name="order" value="desc" <?php if ($ctag->GetAtt('orderway')=='desc') echo "checked";?>> 由高到低</label> | |||||
<label><input type="radio" name="order" value="asc" <?php if ($ctag->GetAtt('orderway')=='asc') echo "checked";?>> 由低到高</label> | |||||
<label><input type="radio" name="order" value="desc" <?php if ($ctag->GetAtt('orderway')=='desc') echo 'checked';?>> 由高到低</label> | |||||
<label><input type="radio" name="order" value="asc" <?php if ($ctag->GetAtt('orderway')=='asc') echo 'checked';?>> 由低到高</label> | |||||
</td> | </td> | ||||
</tr> | </tr> | ||||
<tr> | <tr> | ||||
@@ -65,7 +65,7 @@ | |||||
<tr> | <tr> | ||||
<td>链接位置:</td> | <td>链接位置:</td> | ||||
<td> | <td> | ||||
<label><input type="radio" name="ischeck" value="1" checked="checked"> 内页</label> | |||||
<label><input type="radio" name="ischeck" value="1" checked> 内页</label> | |||||
<label><input type="radio" name="ischeck" value="2"> 首页</label> | <label><input type="radio" name="ischeck" value="2"> 首页</label> | ||||
</td> | </td> | ||||
</tr> | </tr> | ||||
@@ -47,9 +47,9 @@ | |||||
<tr> | <tr> | ||||
<td>链接位置:</td> | <td>链接位置:</td> | ||||
<td> | <td> | ||||
<label><input type="radio" name="ischeck" value="0" <?php if ($myLink['ischeck']==0) echo "checked='checked'"?>> 待审核</label> | |||||
<label><input type="radio" name="ischeck" value="1" <?php if ($myLink['ischeck']==1) echo "checked='checked'"?>> 内页</label> | |||||
<label><input type="radio" name="ischeck" value="2" <?php if ($myLink['ischeck']==2) echo "checked='checked'"?>> 首页</label> | |||||
<label><input type="radio" name="ischeck" value="0" <?php if ($myLink['ischeck']==0) echo 'checked'?>> 待审核</label> | |||||
<label><input type="radio" name="ischeck" value="1" <?php if ($myLink['ischeck']==1) echo 'checked'?>> 内页</label> | |||||
<label><input type="radio" name="ischeck" value="2" <?php if ($myLink['ischeck']==2) echo 'checked'?>> 首页</label> | |||||
</td> | </td> | ||||
</tr> | </tr> | ||||
<tr> | <tr> | ||||
@@ -32,14 +32,14 @@ | |||||
<tr> | <tr> | ||||
<td><?php echo $row->id;?></td> | <td><?php echo $row->id;?></td> | ||||
<td><input type="text" name="pname_<?php echo $k?>" value="<?php echo $row->typename?>" id="pname_<?php echo $k?>" style="width:90%"></td> | <td><input type="text" name="pname_<?php echo $k?>" value="<?php echo $row->typename?>" id="pname_<?php echo $k?>" style="width:90%"></td> | ||||
<td align="center"><label><input type="checkbox" name="check_<?php echo $k?>" id="check_<?php echo $k?>" value="1" checked='checked'> 保留</label></td> | |||||
<td align="center"><label><input type="checkbox" name="check_<?php echo $k?>" id="check_<?php echo $k?>" value="1" checked> 保留</label></td> | |||||
</tr> | </tr> | ||||
<?php }?> | <?php }?> | ||||
<input type="hidden" name="idend" value="<?php echo $k?>"> | <input type="hidden" name="idend" value="<?php echo $k?>"> | ||||
<tr> | <tr> | ||||
<td></td> | <td></td> | ||||
<td><input type="text" name="pname_new" id="pname_new" style="width:90%"></td> | <td><input type="text" name="pname_new" id="pname_new" style="width:90%"></td> | ||||
<td align="center"><label><input type="checkbox" name="check_new" id="check_new" value="1" checked="checked"> 新增</label></td> | |||||
<td align="center"><label><input type="checkbox" name="check_new" id="check_new" value="1" checked> 新增</label></td> | |||||
</tr> | </tr> | ||||
<tr> | <tr> | ||||
<td colspan="3"> | <td colspan="3"> | ||||
@@ -53,7 +53,7 @@ | |||||
<div class="user"> | <div class="user"> | ||||
<ul> | <ul> | ||||
<li class="d-none d-lg-block"><a href="/" target="_blank" title="预览首页"><i class="fa fa-home"></i></a></li> | <li class="d-none d-lg-block"><a href="/" target="_blank" title="预览首页"><i class="fa fa-home"></i></a></li> | ||||
<?php echo ($cfg_mb_open == 'Y') ? '<li><a href="/user/" target="_blank" title="会员中心"><i class="fa fa-user-circle"></i></a></li>':'';?> | |||||
<?php echo ($cfg_mb_open == 'Y') ? '<li><a href="/user/" target="_blank" title="会员中心"><i class="fa fa-user-circle"></i></a></li>' : '';?> | |||||
<li class="d-none d-lg-block"><a href="javascript:document.getElementById('main').contentWindow.location.reload(true);" title="刷新页面"><i class="fa fa-refresh"></i></a></li> | <li class="d-none d-lg-block"><a href="javascript:document.getElementById('main').contentWindow.location.reload(true);" title="刷新页面"><i class="fa fa-refresh"></i></a></li> | ||||
<li class="d-none d-lg-block"> | <li class="d-none d-lg-block"> | ||||
<a href="sys_admin_user_edit.php?id=<?php echo $cuserLogin->getUserID();?>&dopost=edit" target="main"><img src="<?php echo $cuserLogin->getUserFace();?>"><?php echo $cuserLogin->getUserName();?></a> | <a href="sys_admin_user_edit.php?id=<?php echo $cuserLogin->getUserID();?>&dopost=edit" target="main"><img src="<?php echo $cuserLogin->getUserFace();?>"><?php echo $cuserLogin->getUserName();?></a> | ||||
@@ -22,7 +22,7 @@ | |||||
<tr> | <tr> | ||||
<td width="260">更新选项:</td> | <td width="260">更新选项:</td> | ||||
<td> | <td> | ||||
<label><input type="radio" name="uptype" id="uptype1" onclick="SelUp();" value="time" checked="checked"> 指定时间的所有更新</label> | |||||
<label><input type="radio" name="uptype" id="uptype1" onclick="SelUp();" value="time" checked> 指定时间的所有更新</label> | |||||
<label><input type="radio" name="uptype" id="uptype2" onclick="SelUp();" value="id"> 指定文档的所有更新</label> | <label><input type="radio" name="uptype" id="uptype2" onclick="SelUp();" value="id"> 指定文档的所有更新</label> | ||||
<label><input type="radio" name="uptype" id="uptype3" onclick="SelUp();" value="mkall"> 更新所有</label> | <label><input type="radio" name="uptype" id="uptype3" onclick="SelUp();" value="mkall"> 更新所有</label> | ||||
</td> | </td> | ||||
@@ -37,14 +37,14 @@ | |||||
<td>相关选项:</td> | <td>相关选项:</td> | ||||
<td> | <td> | ||||
<label><input type="radio" name="saveset" value="0"> 不保存当前选项</label> | <label><input type="radio" name="saveset" value="0"> 不保存当前选项</label> | ||||
<label><input type="radio" name="saveset" value="1" checked="checked"> 保存当前选项</label> | |||||
<label><input type="radio" name="saveset" value="1" checked> 保存当前选项</label> | |||||
</td> | </td> | ||||
</tr> | </tr> | ||||
<tr> | <tr> | ||||
<td>首页模式:</td> | <td>首页模式:</td> | ||||
<td> | <td> | ||||
<label><input type="radio" name="showmod" value="0" <?php echo ($row['showmod']==0)? "checked='checked'" : "";?>> 动态浏览</label> | |||||
<label><input type="radio" name="showmod" value="1" <?php echo ($row['showmod']==1)? "checked='checked'" : "";?>> 生成静态</label> | |||||
<label><input type="radio" name="showmod" value="0" <?php echo ($row['showmod']==0)? "checked" : "";?>> 动态浏览</label> | |||||
<label><input type="radio" name="showmod" value="1" <?php echo ($row['showmod']==1)? "checked" : "";?>> 生成静态</label> | |||||
</td> | </td> | ||||
</tr> | </tr> | ||||
<?php | <?php | ||||
@@ -78,8 +78,8 @@ | |||||
<tr> | <tr> | ||||
<td>首页状态:</td> | <td>首页状态:</td> | ||||
<td> | <td> | ||||
<label><input type="radio" name="lockindex" value="unlock" <?php echo ($rs['index_lock_state']==true)? "checked='checked'" : "";?>> 解锁</label> | |||||
<label><input type="radio" name="lockindex" value="lock" <?php echo ($row['index_lock_state']==false)? "checked='checked'" : "";?>> 锁定</label> | |||||
<label><input type="radio" name="lockindex" value="unlock" <?php echo ($rs['index_lock_state']==true)? "checked" : "";?>> 解锁</label> | |||||
<label><input type="radio" name="lockindex" value="lock" <?php echo ($row['index_lock_state']==false)? "checked" : "";?>> 锁定</label> | |||||
</td> | </td> | ||||
</tr> | </tr> | ||||
<?php }}} else {?> | <?php }}} else {?> | ||||
@@ -38,7 +38,7 @@ | |||||
<tr> | <tr> | ||||
<td>是否更新子栏目:</td> | <td>是否更新子栏目:</td> | ||||
<td> | <td> | ||||
<label><input type="radio" name="upnext" value="1" checked="checked"> 更新子类栏目</label> | |||||
<label><input type="radio" name="upnext" value="1" checked> 更新子类栏目</label> | |||||
<label><input type="radio" name="upnext" value="0"> 仅更新所选栏目</label> | <label><input type="radio" name="upnext" value="0"> 仅更新所选栏目</label> | ||||
</td> | </td> | ||||
</tr> | </tr> | ||||
@@ -22,7 +22,7 @@ | |||||
<tr> | <tr> | ||||
<td width="260">附件类型:</td> | <td width="260">附件类型:</td> | ||||
<td> | <td> | ||||
<label><input type="radio" name="mediatype" value="1" checked="checked"> 图片</label> | |||||
<label><input type="radio" name="mediatype" value="1" checked> 图片</label> | |||||
<label><input type="radio" name="mediatype" value="2"> FLASH</label> | <label><input type="radio" name="mediatype" value="2"> FLASH</label> | ||||
<label><input type="radio" name="mediatype" value="3"> 视频音频</label> | <label><input type="radio" name="mediatype" value="3"> 视频音频</label> | ||||
<label><input type="radio" name="mediatype" value="4"> 附件其它</label> | <label><input type="radio" name="mediatype" value="4"> 附件其它</label> | ||||
@@ -23,10 +23,10 @@ | |||||
<tr> | <tr> | ||||
<td width="260">附件类型:</td> | <td width="260">附件类型:</td> | ||||
<td> | <td> | ||||
<label><input type="radio" name="mediatype" value="1" <?php if ($myrow['mediatype']==1) echo "checked";?>> 图片</label> | |||||
<label><input type="radio" name="mediatype" value="2" <?php if ($myrow['mediatype']==2) echo "checked";?>> FLASH</label> | |||||
<label><input type="radio" name="mediatype" value="3" <?php if ($myrow['mediatype']==3) echo "checked";?>> 视频音频</label> | |||||
<label><input type="radio" name="mediatype" value="4" <?php if ($myrow['mediatype']==4) echo "checked";?>> 附件其它</label> | |||||
<label><input type="radio" name="mediatype" value="1" <?php if ($myrow['mediatype']==1) echo 'checked';?>> 图片</label> | |||||
<label><input type="radio" name="mediatype" value="2" <?php if ($myrow['mediatype']==2) echo 'checked';?>> FLASH</label> | |||||
<label><input type="radio" name="mediatype" value="3" <?php if ($myrow['mediatype']==3) echo 'checked';?>> 视频音频</label> | |||||
<label><input type="radio" name="mediatype" value="4" <?php if ($myrow['mediatype']==4) echo 'checked';?>> 附件其它</label> | |||||
</td> | </td> | ||||
</tr> | </tr> | ||||
<tr> | <tr> | ||||
@@ -47,9 +47,9 @@ | |||||
<tr> | <tr> | ||||
<td>性别:</td> | <td>性别:</td> | ||||
<td> | <td> | ||||
<label><input type="radio" name="sex" value="男" <?php if ($row['sex']=="男" ) echo" checked='checked'" ;?>> 男</label> | |||||
<label><input type="radio" name="sex" value="女" <?php if ($row['sex']=="女" ) echo" checked='checked'" ;?>> 女</label> | |||||
<label><input type="radio" name="sex" <?php if ($row['sex']=="" ) echo" checked='checked'" ;?>> 保密</label> | |||||
<label><input type="radio" name="sex" value="男" <?php if ($row['sex']=='男') echo 'checked';?>> 男</label> | |||||
<label><input type="radio" name="sex" value="女" <?php if ($row['sex']=='女') echo 'checked';?>> 女</label> | |||||
<label><input type="radio" name="sex" <?php if ($row['sex']=='') echo 'checked';?>> 保密</label> | |||||
</td> | </td> | ||||
</tr> | </tr> | ||||
<tr> | <tr> | ||||
@@ -43,7 +43,7 @@ | |||||
<td><input type="text" name="money_<?php echo $k?>" value="<?php echo $row->money;?>" id="money_<?php echo $k?>"></td> | <td><input type="text" name="money_<?php echo $k?>" value="<?php echo $row->money;?>" id="money_<?php echo $k?>"></td> | ||||
<td><input type="text" name="scores_<?php echo $k?>" value="<?php echo $row->scores;?>" id="scores_<?php echo $k?>"></td> | <td><input type="text" name="scores_<?php echo $k?>" value="<?php echo $row->scores;?>" id="scores_<?php echo $k?>"></td> | ||||
<td><?php if ($row->id<=5) { echo "系统"; } else {echo "会员";}?></td> | <td><?php if ($row->id<=5) { echo "系统"; } else {echo "会员";}?></td> | ||||
<td><input type="checkbox" name="check_<?php echo $k?>" id="check_<?php echo $k?>" <?php if ($row->id == 3) echo 'disabled="disabled"';?> value="1" checked="checked"> 正在使用</td> | |||||
<td><input type="checkbox" name="check_<?php echo $k?>" id="check_<?php echo $k?>" <?php if ($row->id == 3) echo 'disabled="disabled"';?> value="1" checked> 正在使用</td> | |||||
</tr> | </tr> | ||||
<?php }?> | <?php }?> | ||||
<input type="hidden" name="idend" value="<?php echo $k;?>"> | <input type="hidden" name="idend" value="<?php echo $k;?>"> | ||||
@@ -65,7 +65,7 @@ | |||||
<td><input type="text" name="rank_new" id="rank_new" value="20"></td> | <td><input type="text" name="rank_new" id="rank_new" value="20"></td> | ||||
<td><input type="text" name="money_new" id="money_new" value="0"></td> | <td><input type="text" name="money_new" id="money_new" value="0"></td> | ||||
<td><input type="text" name="scores_new" id="scores_new" value="100"></td> | <td><input type="text" name="scores_new" id="scores_new" value="100"></td> | ||||
<td><input type="checkbox" name="check_new" id="check_new" value="1" checked="checked"> 添加等级</td> | |||||
<td><input type="checkbox" name="check_new" id="check_new" value="1" checked> 添加等级</td> | |||||
<td></td> | <td></td> | ||||
</tr> | </tr> | ||||
<tr> | <tr> | ||||
@@ -54,7 +54,7 @@ | |||||
?> | ?> | ||||
</select> | </select> | ||||
</td> | </td> | ||||
<td><input type="checkbox" name="check_<?php echo $k?>" id="check_<?php echo $k?>" value="1" checked="checked"> 保留</td> | |||||
<td><input type="checkbox" name="check_<?php echo $k?>" id="check_<?php echo $k?>" value="1" checked> 保留</td> | |||||
</tr> | </tr> | ||||
<?php }?> | <?php }?> | ||||
<input type="hidden" name="idend" value="<?php echo $k?>"> | <input type="hidden" name="idend" value="<?php echo $k?>"> | ||||
@@ -79,7 +79,7 @@ | |||||
?> | ?> | ||||
</select> | </select> | ||||
</td> | </td> | ||||
<td align="center"><input type="checkbox" name="check_new" id="check_new" value="1" checked="checked"> 新增</td> | |||||
<td align="center"><input type="checkbox" name="check_new" id="check_new" value="1" checked> 新增</td> | |||||
</tr> | </tr> | ||||
<tr> | <tr> | ||||
<td bgcolor="#f8fafb" colspan="5" align="center"><button type="submit" class="btn btn-success btn-sm">保存</button></td> | <td bgcolor="#f8fafb" colspan="5" align="center"><button type="submit" class="btn btn-success btn-sm">保存</button></td> | ||||
@@ -35,10 +35,10 @@ | |||||
<tr> | <tr> | ||||
<td>封装类型:</td> | <td>封装类型:</td> | ||||
<td> | <td> | ||||
<label><input type="radio" name="moduletype" id="moduletype1" value="soft" <?php if ($moduletype=='soft') echo "checked='checked'";?>> 模块</label> | |||||
<label><input type="radio" name="moduletype" id="moduletype2" value="templets" <?php if ($moduletype=='templets') echo "checked='checked'";?>> 模板</label> | |||||
<label><input type="radio" name="moduletype" id="moduletype3" value="plus" <?php if ($moduletype=='plus') echo "checked='checked'";?>> 小插件</label> | |||||
<label><input type="radio" name="moduletype" id="moduletype4" value="patch" <?php if ($moduletype=='patch') echo "checked='checked'";?>> 补丁</label> | |||||
<label><input type="radio" name="moduletype" id="moduletype1" value="soft" <?php if ($moduletype=='soft') echo 'checked';?>> 模块</label> | |||||
<label><input type="radio" name="moduletype" id="moduletype2" value="templets" <?php if ($moduletype=='templets') echo 'checked';?>> 模板</label> | |||||
<label><input type="radio" name="moduletype" id="moduletype3" value="plus" <?php if ($moduletype=='plus') echo 'checked';?>> 小插件</label> | |||||
<label><input type="radio" name="moduletype" id="moduletype4" value="patch" <?php if ($moduletype=='patch') echo 'checked';?>> 补丁</label> | |||||
</td> | </td> | ||||
</tr> | </tr> | ||||
<tr> | <tr> | ||||
@@ -55,8 +55,8 @@ | |||||
<tr> | <tr> | ||||
<td>是否涉及会员系统:</td> | <td>是否涉及会员系统:</td> | ||||
<td> | <td> | ||||
<label><input type="radio" name="ismember" id="ismember1" value="1" onclick="ShowHideMb('ismember0','rboxct')" <?php if ($ismember=='1') echo "checked='checked'";?>> 涉及</label> | |||||
<label><input type="radio" name="ismember" id="ismember0" value="0" onclick="ShowHideMb('ismember0','rboxct')" <?php if ($ismember=='0') echo "checked='checked'";?>> 不涉及</label> | |||||
<label><input type="radio" name="ismember" id="ismember1" value="1" onclick="ShowHideMb('ismember0','rboxct')" <?php if ($ismember=='1') echo 'checked';?>> 涉及</label> | |||||
<label><input type="radio" name="ismember" id="ismember0" value="0" onclick="ShowHideMb('ismember0','rboxct')" <?php if ($ismember=='0') echo 'checked';?>> 不涉及</label> | |||||
<div id="rboxct" style="display:<?php echo ($ismember=='0' ? 'none' : 'block');?>"> | <div id="rboxct" style="display:<?php echo ($ismember=='0' ? 'none' : 'block');?>"> | ||||
<label>导航使用名称:<input type="text" name="indexname" id="indexname" class="admin-input-sm" value="<?php echo $indexname;?>"></label><br> | <label>导航使用名称:<input type="text" name="indexname" id="indexname" class="admin-input-sm" value="<?php echo $indexname;?>"></label><br> | ||||
<label>导航使用网址:<input type="text" name="indexurl" id="indexurl" class="admin-input-sm" value="<?php echo $indexurl;?>"></label> | <label>导航使用网址:<input type="text" name="indexurl" id="indexurl" class="admin-input-sm" value="<?php echo $indexurl;?>"></label> | ||||
@@ -81,7 +81,7 @@ | |||||
<tr> | <tr> | ||||
<td>程序安装:</td> | <td>程序安装:</td> | ||||
<td> | <td> | ||||
<label><input type="checkbox" name="autosetup" id="autosetup" value="1" onclick="ShowHideField('autosetup','autosetupinput','autosetupct')" <?php if (isset($autosetup) && $autosetup==1) echo "checked='checked'";?>> 自动生成</label><br> | |||||
<label><input type="checkbox" name="autosetup" id="autosetup" value="1" onclick="ShowHideField('autosetup','autosetupinput','autosetupct')" <?php if (isset($autosetup) && $autosetup==1) echo 'checked';?>> 自动生成</label><br> | |||||
<div style="display:<?php if (!isset($autosetup) || $autosetup==0) echo 'block'; else echo 'none';?>" id="autosetupinput"><input type="file" name="setup" id="setup" class="admin-input-lg"></div> | <div style="display:<?php if (!isset($autosetup) || $autosetup==0) echo 'block'; else echo 'none';?>" id="autosetupinput"><input type="file" name="setup" id="setup" class="admin-input-lg"></div> | ||||
<div style="display:<?php if (isset($autosetup) && $autosetup==1) echo 'block'; else echo 'none';?>" id="autosetupct"> | <div style="display:<?php if (isset($autosetup) && $autosetup==1) echo 'block'; else echo 'none';?>" id="autosetupct"> | ||||
<p>(由系统自动处理安装,请使用MySQL4.0版本格式的SQL语句:MySQL4.1/5.x版本请把创建表语句 ENGINE=MyISAM DEFAULT CHARSET=*,改为TYPE=MyISAM,SQL语句允许换行,但必须用;表示一条SQL语句结束,如果SQL中包含有模块网址的,用 _ROOTURL_ 表示,如:_ROOTURL_/ask/index.php)</p> | <p>(由系统自动处理安装,请使用MySQL4.0版本格式的SQL语句:MySQL4.1/5.x版本请把创建表语句 ENGINE=MyISAM DEFAULT CHARSET=*,改为TYPE=MyISAM,SQL语句允许换行,但必须用;表示一条SQL语句结束,如果SQL中包含有模块网址的,用 _ROOTURL_ 表示,如:_ROOTURL_/ask/index.php)</p> | ||||
@@ -92,7 +92,7 @@ | |||||
<tr> | <tr> | ||||
<td>删除程序:</td> | <td>删除程序:</td> | ||||
<td> | <td> | ||||
<label><input type="checkbox" name="autodel" id="autodel" value="1" onclick="ShowHideField('autodel','autodelinput','autodelct')" <?php if (isset($autodel) && $autodel==1) echo "checked='checked'";?>> 自动生成</label><br> | |||||
<label><input type="checkbox" name="autodel" id="autodel" value="1" onclick="ShowHideField('autodel','autodelinput','autodelct')" <?php if (isset($autodel) && $autodel==1) echo 'checked';?>> 自动生成</label><br> | |||||
<div style="display:<?php if (!isset($autodel) || $autodel==0) echo 'block'; else echo 'none';?>" id="autodelinput"><input type="file" name="uninstall" id="uninstall" class="admin-input-lg"></div> | <div style="display:<?php if (!isset($autodel) || $autodel==0) echo 'block'; else echo 'none';?>" id="autodelinput"><input type="file" name="uninstall" id="uninstall" class="admin-input-lg"></div> | ||||
<div style="display:<?php if (isset($autodel) && $autodel==1) echo 'block'; else echo 'none';?>" id="autodelct"> | <div style="display:<?php if (isset($autodel) && $autodel==1) echo 'block'; else echo 'none';?>" id="autodelct"> | ||||
<p>(由系统自动处理卸载,卸载时执行SQL允许换行,但必须用;表示一条SQL语句结束)</p> | <p>(由系统自动处理卸载,卸载时执行SQL允许换行,但必须用;表示一条SQL语句结束)</p> | ||||
@@ -103,7 +103,7 @@ | |||||
<tr> | <tr> | ||||
<td>模块文件选项:</td> | <td>模块文件选项:</td> | ||||
<td> | <td> | ||||
<label><input type="radio" name="rebuild" value="yes" checked="checked"> 重新编译所有文件</label> | |||||
<label><input type="radio" name="rebuild" value="yes" checked> 重新编译所有文件</label> | |||||
<label><input type="radio" name="rebuild" value="no"> 不对[文件列表]内文件重编译</label> | <label><input type="radio" name="rebuild" value="no"> 不对[文件列表]内文件重编译</label> | ||||
</td> | </td> | ||||
</tr> | </tr> | ||||
@@ -32,7 +32,7 @@ | |||||
<tr> | <tr> | ||||
<td>封装类型:</td> | <td>封装类型:</td> | ||||
<td> | <td> | ||||
<label><input type="radio" name="moduletype" id="moduletype1" value="soft" checked="checked"> 模块</label> | |||||
<label><input type="radio" name="moduletype" id="moduletype1" value="soft" checked> 模块</label> | |||||
<label><input type="radio" name="moduletype" id="moduletype2" value="templets"> 模板</label> | <label><input type="radio" name="moduletype" id="moduletype2" value="templets"> 模板</label> | ||||
<label><input type="radio" name="moduletype" id="moduletype3" value="plus"> 小插件</label> | <label><input type="radio" name="moduletype" id="moduletype3" value="plus"> 小插件</label> | ||||
<label><input type="radio" name="moduletype" id="moduletype4" value="patch"> 补丁</label> | <label><input type="radio" name="moduletype" id="moduletype4" value="patch"> 补丁</label> | ||||
@@ -53,7 +53,7 @@ | |||||
<td>是否涉及会员系统:</td> | <td>是否涉及会员系统:</td> | ||||
<td> | <td> | ||||
<label><input type="radio" name="ismember" id="ismember1" value="1" onclick="ShowHideMb('ismember0','rboxct')"> 涉及</label> | <label><input type="radio" name="ismember" id="ismember1" value="1" onclick="ShowHideMb('ismember0','rboxct')"> 涉及</label> | ||||
<label><input type="radio" name="ismember" id="ismember0" value="0" onclick="ShowHideMb('ismember0','rboxct')" checked="checked"> 不涉及</label> | |||||
<label><input type="radio" name="ismember" id="ismember0" value="0" onclick="ShowHideMb('ismember0','rboxct')" checked> 不涉及</label> | |||||
<div id="rboxct" style="display:none"> | <div id="rboxct" style="display:none"> | ||||
<label>导航使用名称:<input type="text" name="indexname" id="indexname" class="admin-input-sm"></label><br> | <label>导航使用名称:<input type="text" name="indexname" id="indexname" class="admin-input-sm"></label><br> | ||||
<label>导航使用网址:<input type="text" name="indexurl" id="indexurl" class="admin-input-sm"></label> | <label>导航使用网址:<input type="text" name="indexurl" id="indexurl" class="admin-input-sm"></label> | ||||
@@ -18,7 +18,7 @@ | |||||
<tr> | <tr> | ||||
<td width="260">模型性质:</td> | <td width="260">模型性质:</td> | ||||
<td> | <td> | ||||
<label><input type="radio" name="issystem" id="is1" value="0" onclick="PublicDefault();" checked="checked"> 自动模型</label> | |||||
<label><input type="radio" name="issystem" id="is1" value="0" onclick="PublicDefault();" checked> 自动模型</label> | |||||
<label><input type="radio" name="issystem" id="is2" value="1" onclick="PublicDefault();"> 系统模型</label> | <label><input type="radio" name="issystem" id="is2" value="1" onclick="PublicDefault();"> 系统模型</label> | ||||
<label><input type="radio" name="issystem" id="is3" value="-1" onclick="PublicDefault();"> 独立模型</label> | <label><input type="radio" name="issystem" id="is3" value="-1" onclick="PublicDefault();"> 独立模型</label> | ||||
<span>(系统模型禁止删除,独立模型具有单独主表,自动创建字段aid、栏目id、文档标题等,文档必须点击栏目进入列表管理)</span> | <span>(系统模型禁止删除,独立模型具有单独主表,自动创建字段aid、栏目id、文档标题等,文档必须点击栏目进入列表管理)</span> | ||||
@@ -53,7 +53,7 @@ | |||||
<tr> | <tr> | ||||
<td>是否支持会员投稿:</td> | <td>是否支持会员投稿:</td> | ||||
<td> | <td> | ||||
<label><input type="radio" name="issend" value="0" checked="checked"> 不支持</label> | |||||
<label><input type="radio" name="issend" value="0" checked> 不支持</label> | |||||
<label><input type="radio" name="issend" value="1"> 支持</label> | <label><input type="radio" name="issend" value="1"> 支持</label> | ||||
</td> | </td> | ||||
</tr> | </tr> | ||||
@@ -86,13 +86,13 @@ | |||||
echo "<label><input type='radio' name='usertype' value=".$row3->name."> ".$row3->name."</label>"; | echo "<label><input type='radio' name='usertype' value=".$row3->name."> ".$row3->name."</label>"; | ||||
} | } | ||||
?> | ?> | ||||
<label><input type="radio" name="usertype" checked="checked"> 不限</label> | |||||
<label><input type="radio" name="usertype" checked> 不限</label> | |||||
</td> | </td> | ||||
</tr> | </tr> | ||||
<tr> | <tr> | ||||
<td>会员投稿默认状态:</td> | <td>会员投稿默认状态:</td> | ||||
<td> | <td> | ||||
<label><input type="radio" name="arcsta" value="-1" checked="checked"> 待审核</label> | |||||
<label><input type="radio" name="arcsta" value="-1" checked> 待审核</label> | |||||
<label><input type="radio" name="arcsta" value="0"> 已审核(更新静态页)</label> | <label><input type="radio" name="arcsta" value="0"> 已审核(更新静态页)</label> | ||||
<label><input type="radio" name="arcsta" value="1"> 已审核(使用动态页)</label> | <label><input type="radio" name="arcsta" value="1"> 已审核(使用动态页)</label> | ||||
</td> | </td> | ||||
@@ -104,14 +104,14 @@ | |||||
<tr> | <tr> | ||||
<td>投稿是否使用摘要:</td> | <td>投稿是否使用摘要:</td> | ||||
<td> | <td> | ||||
<label><input type="radio" name="needdes" value="1" checked="checked"> 使用</label> | |||||
<label><input type="radio" name="needdes" value="1" checked> 使用</label> | |||||
<label><input type="radio" name="needdes" value="0"> 不使用</label> | <label><input type="radio" name="needdes" value="0"> 不使用</label> | ||||
</td> | </td> | ||||
</tr> | </tr> | ||||
<tr> | <tr> | ||||
<td>投稿是否使用缩图:</td> | <td>投稿是否使用缩图:</td> | ||||
<td> | <td> | ||||
<label><input type="radio" name="needpic" value="1" checked="checked"> 使用</label> | |||||
<label><input type="radio" name="needpic" value="1" checked> 使用</label> | |||||
<label><input type="radio" name="needpic" value="0"> 不使用</label> | <label><input type="radio" name="needpic" value="0"> 不使用</label> | ||||
</td> | </td> | ||||
</tr> | </tr> | ||||
@@ -123,7 +123,7 @@ | |||||
<td>投稿具有唯一性:</td> | <td>投稿具有唯一性:</td> | ||||
<td> | <td> | ||||
<label><input type="radio" name="onlyone" value="1"> 是</label> | <label><input type="radio" name="onlyone" value="1"> 是</label> | ||||
<label><input type="radio" name="onlyone" value="0" checked="checked"> 不是</label> | |||||
<label><input type="radio" name="onlyone" value="0" checked> 不是</label> | |||||
<span>(与投稿唯一会员只能在该模型对应栏目中发布文档,其作用相当于自定义表单)</span> | <span>(与投稿唯一会员只能在该模型对应栏目中发布文档,其作用相当于自定义表单)</span> | ||||
</td> | </td> | ||||
</tr> | </tr> | ||||
@@ -59,8 +59,8 @@ | |||||
<tr> | <tr> | ||||
<td>是否支持会员投稿:</td> | <td>是否支持会员投稿:</td> | ||||
<td> | <td> | ||||
<label><input type="radio" name="issend" value="0" <?php if ($row['issend']==0) echo "checked='checked'";?>> 不支持</label> | |||||
<label><input type="radio" name="issend" value="1" <?php if ($row['issend']==1) echo "checked='checked'";?>> 支持</label> | |||||
<label><input type="radio" name="issend" value="0" <?php if ($row['issend']==0) echo 'checked';?>> 不支持</label> | |||||
<label><input type="radio" name="issend" value="1" <?php if ($row['issend']==1) echo 'checked';?>> 支持</label> | |||||
</td> | </td> | ||||
</tr> | </tr> | ||||
<tr> | <tr> | ||||
@@ -93,15 +93,15 @@ | |||||
echo "<label><input type='radio' name='usertype' value='".$row3->name."'".($row['usertype']==$row3->name? "checked" : "")."> ".$row3->name."</label> "; | echo "<label><input type='radio' name='usertype' value='".$row3->name."'".($row['usertype']==$row3->name? "checked" : "")."> ".$row3->name."</label> "; | ||||
} | } | ||||
?> | ?> | ||||
<label><input type="radio" name="usertype" <?php if ($row['usertype']=='') echo "checked='checked'";?>> 不限</label> | |||||
<label><input type="radio" name="usertype" <?php if ($row['usertype']=='') echo 'checked';?>> 不限</label> | |||||
</td> | </td> | ||||
</tr> | </tr> | ||||
<tr> | <tr> | ||||
<td>会员投稿默认状态:</td> | <td>会员投稿默认状态:</td> | ||||
<td> | <td> | ||||
<label><input type="radio" name="arcsta" value="-1" <?php if ($row['arcsta']==-1) echo "checked='checked'";?>> 待审核</label> | |||||
<label><input type="radio" name="arcsta" value="0" <?php if ($row['arcsta']==0) echo "checked='checked'";?>> 已审核(更新静态页)</label> | |||||
<label><input type="radio" name="arcsta" value="1" <?php if ($row['arcsta']==1) echo "checked='checked'";?>> 已审核(使用动态页)</label> | |||||
<label><input type="radio" name="arcsta" value="-1" <?php if ($row['arcsta']==-1) echo 'checked';?>> 待审核</label> | |||||
<label><input type="radio" name="arcsta" value="0" <?php if ($row['arcsta']==0) echo 'checked';?>> 已审核(更新静态页)</label> | |||||
<label><input type="radio" name="arcsta" value="1" <?php if ($row['arcsta']==1) echo 'checked';?>> 已审核(使用动态页)</label> | |||||
</td> | </td> | ||||
</tr> | </tr> | ||||
<tr> | <tr> | ||||
@@ -118,15 +118,15 @@ | |||||
<tr> | <tr> | ||||
<td>投稿是否使用摘要:</td> | <td>投稿是否使用摘要:</td> | ||||
<td> | <td> | ||||
<label><input type="radio" name="needdes" value="1" <?php if ($row['needdes']==1) echo "checked='checked'";?>> 使用</label> | |||||
<label><input type="radio" name="needdes" value="0" <?php if ($row['needdes']==0) echo "checked='checked'";?>> 不使用</label> | |||||
<label><input type="radio" name="needdes" value="1" <?php if ($row['needdes']==1) echo 'checked';?>> 使用</label> | |||||
<label><input type="radio" name="needdes" value="0" <?php if ($row['needdes']==0) echo 'checked';?>> 不使用</label> | |||||
</td> | </td> | ||||
</tr> | </tr> | ||||
<tr> | <tr> | ||||
<td>投稿是否使用缩图:</td> | <td>投稿是否使用缩图:</td> | ||||
<td> | <td> | ||||
<label><input type="radio" name="needpic" value="1" <?php if ($row['needpic']==1) echo "checked='checked'";?>> 使用</label> | |||||
<label><input type="radio" name="needpic" value="0" <?php if ($row['needpic']==0) echo "checked='checked'";?>> 不使用</label> | |||||
<label><input type="radio" name="needpic" value="1" <?php if ($row['needpic']==1) echo 'checked';?>> 使用</label> | |||||
<label><input type="radio" name="needpic" value="0" <?php if ($row['needpic']==0) echo 'checked';?>> 不使用</label> | |||||
</td> | </td> | ||||
</tr> | </tr> | ||||
<tr> | <tr> | ||||
@@ -136,8 +136,8 @@ | |||||
<tr> | <tr> | ||||
<td>投稿具有唯一性:</td> | <td>投稿具有唯一性:</td> | ||||
<td> | <td> | ||||
<label><input type="radio" name="onlyone" value="1" <?php if ($row['onlyone']==1) echo "checked='checked'";?>> 是</label> | |||||
<label><input type="radio" name="onlyone" value="0" <?php if ($row['onlyone']==0) echo "checked='checked'";?>> 不是</label> | |||||
<label><input type="radio" name="onlyone" value="1" <?php if ($row['onlyone']==1) echo 'checked';?>> 是</label> | |||||
<label><input type="radio" name="onlyone" value="0" <?php if ($row['onlyone']==0) echo 'checked';?>> 不是</label> | |||||
<span>(与投稿唯一会员只能在该模型对应栏目中发布文档,其作用相当于自定义表单)</span> | <span>(与投稿唯一会员只能在该模型对应栏目中发布文档,其作用相当于自定义表单)</span> | ||||
</td> | </td> | ||||
</tr> | </tr> | ||||
@@ -42,7 +42,7 @@ | |||||
<tr> | <tr> | ||||
<td>字段类型:</td> | <td>字段类型:</td> | ||||
<td> | <td> | ||||
<label><input type="radio" name="autofield" value="1" checked="checked"> 自动字段</label> | |||||
<label><input type="radio" name="autofield" value="1" checked> 自动字段</label> | |||||
<label><input type="radio" name="autofield" value="0"> 固化字段</label> | <label><input type="radio" name="autofield" value="0"> 固化字段</label> | ||||
</td> | </td> | ||||
</tr> | </tr> | ||||
@@ -59,14 +59,14 @@ | |||||
<td> | <td> | ||||
<input type="hidden" name="isnull" value="1"> | <input type="hidden" name="isnull" value="1"> | ||||
<label><input type="radio" name="spage" value="split"> 是</label> | <label><input type="radio" name="spage" value="split"> 是</label> | ||||
<label><input type="radio" name="spage" value="no" checked="checked"> 否</label> | |||||
<label><input type="radio" name="spage" value="no" checked> 否</label> | |||||
<span>(如果文档使用分页符,文档用#p#副标题#e#作为分页符实现文档分页,但仅允许一个字段)</span> | <span>(如果文档使用分页符,文档用#p#副标题#e#作为分页符实现文档分页,但仅允许一个字段)</span> | ||||
</td> | </td> | ||||
</tr> | </tr> | ||||
<tr> | <tr> | ||||
<td>数据类型:</td> | <td>数据类型:</td> | ||||
<td id="dataType"> | <td id="dataType"> | ||||
<div class="nw"><label><input type="radio" name="dtype" id="dtype1" value="text" checked="checked"> 单行文本(varchar)</label></div> | |||||
<div class="nw"><label><input type="radio" name="dtype" id="dtype1" value="text" checked> 单行文本(varchar)</label></div> | |||||
<div class="nw"><label><input type="radio" name="dtype" id="dtype2" value="textchar"> 单行文本(char)</label></div> | <div class="nw"><label><input type="radio" name="dtype" id="dtype2" value="textchar"> 单行文本(char)</label></div> | ||||
<div class="nw"><label><input type="radio" name="dtype" id="dtype3" value="multitext"> 多行文本</label></div> | <div class="nw"><label><input type="radio" name="dtype" id="dtype3" value="multitext"> 多行文本</label></div> | ||||
<div class="nw"><label><input type="radio" name="dtype" id="dtype4" value="htmltext"> 网页文本</label></div> | <div class="nw"><label><input type="radio" name="dtype" id="dtype4" value="htmltext"> 网页文本</label></div> | ||||
@@ -43,15 +43,15 @@ | |||||
<tr> | <tr> | ||||
<td>字段类型:</td> | <td>字段类型:</td> | ||||
<td> | <td> | ||||
<label><input type="radio" name="autofield" value="1" checked="checked" <?php echo ($ctag->GetAtt('autofield')==1 ? " checked":"");?>> 自动字段</label> | |||||
<label><input type="radio" name="autofield" value="0" <?php echo ( ($ctag->GetAtt('autofield')==''||$ctag->GetAtt('autofield')=='0') ? " checked":"");?>> 固化字段</label> | |||||
<label><input type="radio" name="autofield" value="1" checked <?php echo ($ctag->GetAtt('autofield')==1 ? "checked" : "");?>> 自动字段</label> | |||||
<label><input type="radio" name="autofield" value="0" <?php echo ( ($ctag->GetAtt('autofield')==''||$ctag->GetAtt('autofield')=='0') ? "checked" : "");?>> 固化字段</label> | |||||
</td> | </td> | ||||
</tr> | </tr> | ||||
<tr> | <tr> | ||||
<td>前台参数:</td> | <td>前台参数:</td> | ||||
<td> | <td> | ||||
<label><input type="checkbox" name="notsend" id="notsend" value="1" <?php echo ($ctag->GetAtt('notsend')==1 ? " checked":"");?>> 投稿和采集禁用字段</label> | |||||
<label><input type="checkbox" name="islist" id="islist" value="1" <?php echo ($ctag->GetAtt('islist')==1 ? " checked":"");?>> 添加到列表附加字段</label> | |||||
<label><input type="checkbox" name="notsend" id="notsend" value="1" <?php echo ($ctag->GetAtt('notsend')==1 ? "checked" : "");?>> 投稿和采集禁用字段</label> | |||||
<label><input type="checkbox" name="islist" id="islist" value="1" <?php echo ($ctag->GetAtt('islist')==1 ? "checked" : "");?>> 添加到列表附加字段</label> | |||||
<span>(列表模板{dede:list channelid='模型id' addfields='字段1,字段2'}{/dede:list}中,标签[field:name/]调用)</span> | <span>(列表模板{dede:list channelid='模型id' addfields='字段1,字段2'}{/dede:list}中,标签[field:name/]调用)</span> | ||||
</td> | </td> | ||||
</tr> | </tr> | ||||
@@ -59,8 +59,8 @@ | |||||
<td>是否使用分页符:</td> | <td>是否使用分页符:</td> | ||||
<td> | <td> | ||||
<input name="isnull" type="hidden" value="1"> | <input name="isnull" type="hidden" value="1"> | ||||
<label><input type="radio" name="spage" value="split" <?php if ($ctag->GetAtt('page')=='split') echo "checked='checked'";?>> 是</label> | |||||
<label><input type="radio" name="spage" value="no" <?php if ($ctag->GetAtt('page')=='no'||$ctag->GetAtt('page')=='') echo "checked='checked'";?>> 否</label> | |||||
<label><input type="radio" name="spage" value="split" <?php if ($ctag->GetAtt('page')=='split') echo 'checked';?>> 是</label> | |||||
<label><input type="radio" name="spage" value="no" <?php if ($ctag->GetAtt('page')=='no'||$ctag->GetAtt('page')=='') echo 'checked';?>> 否</label> | |||||
<span>(如果文档使用分页符,文档用#p#副标题#e#作为分页符实现文档分页,但仅允许一个字段)</span> | <span>(如果文档使用分页符,文档用#p#副标题#e#作为分页符实现文档分页,但仅允许一个字段)</span> | ||||
</td> | </td> | ||||
</tr> | </tr> | ||||
@@ -116,7 +116,7 @@ | |||||
} | } | ||||
?> | ?> | ||||
</select> | </select> | ||||
<label><input type="checkbox" name="relation_automake" id="relation_automake" value="1" <?php echo $ctag->GetAtt('automake')==1? "checked" : "";?>> 发布时自动更新关联文档</label> | |||||
<label><input type="checkbox" name="relation_automake" id="relation_automake" value="1" <?php echo $ctag->GetAtt('automake')==1 ? "checked" : "";?>> 发布时自动更新关联文档</label> | |||||
</td> | </td> | ||||
</tr> | </tr> | ||||
<tr> | <tr> | ||||
@@ -47,7 +47,7 @@ | |||||
<tr> | <tr> | ||||
<td>时间限制:</td> | <td>时间限制:</td> | ||||
<td> | <td> | ||||
<label><input type="radio" name="timeset" value="0" checked="checked"> 永不过期</label> | |||||
<label><input type="radio" name="timeset" value="0" checked> 永不过期</label> | |||||
<label><input type="radio" name="timeset" value="1"> 在设内时间内有效</label> | <label><input type="radio" name="timeset" value="1"> 在设内时间内有效</label> | ||||
</td> | </td> | ||||
</tr> | </tr> | ||||
@@ -37,8 +37,8 @@ | |||||
<tr> | <tr> | ||||
<td>时间限制:</td> | <td>时间限制:</td> | ||||
<td> | <td> | ||||
<label><input name="timeset" type="radio" value="0" <?php if ($row['timeset']==0) echo "checked";?>> 永不过期</label> | |||||
<label><input type="radio" name="timeset" value="1" <?php if ($row['timeset']==1) echo "checked";?>> 在设内时间内有效</label> | |||||
<label><input name="timeset" type="radio" value="0" <?php if ($row['timeset']==0) echo 'checked';?>> 永不过期</label> | |||||
<label><input type="radio" name="timeset" value="1" <?php if ($row['timeset']==1) echo 'checked';?>> 在设内时间内有效</label> | |||||
</td> | </td> | ||||
</tr> | </tr> | ||||
<tr> | <tr> | ||||
@@ -32,7 +32,7 @@ | |||||
<table class="w-100 table-borderless"> | <table class="w-100 table-borderless"> | ||||
<tr> | <tr> | ||||
<td width="25%"> | <td width="25%"> | ||||
<label><img src="/static/web/img/g_t2.jpg"><input type="radio" name="liststyle" onclick="ChangeListStyle();" value="1" checked="checked"></label> | |||||
<label><img src="/static/web/img/g_t2.jpg"><input type="radio" name="liststyle" onclick="ChangeListStyle();" value="1" checked></label> | |||||
</td> | </td> | ||||
<td width="25%"> | <td width="25%"> | ||||
<label><img src="/static/web/img/g_t1.jpg"><input type="radio" name="liststyle" onclick="ChangeListStyle();" value="2"></label> | <label><img src="/static/web/img/g_t1.jpg"><input type="radio" name="liststyle" onclick="ChangeListStyle();" value="2"></label> | ||||
@@ -117,7 +117,7 @@ | |||||
<option value="scores">评论积分</option> | <option value="scores">评论积分</option> | ||||
<option value="rand">随机获取</option> | <option value="rand">随机获取</option> | ||||
</select> | </select> | ||||
<label><input type="radio" name="order" value="desc" checked="checked"> 由高到低</label> | |||||
<label><input type="radio" name="order" value="desc" checked> 由高到低</label> | |||||
<label><input type="radio" name="order" value="asc"> 由低到高</label> | <label><input type="radio" name="order" value="asc"> 由低到高</label> | ||||
</td> | </td> | ||||
</tr> | </tr> | ||||
@@ -179,7 +179,7 @@ | |||||
<td width="120">关键词:</td> | <td width="120">关键词:</td> | ||||
<td> | <td> | ||||
<input type="text" name="keywords" id="keywords" class="admin-input-lg"> | <input type="text" name="keywords" id="keywords" class="admin-input-lg"> | ||||
<label><input type="checkbox" name="autokey" onclick="ShowHide('keywords');" id="autokey" value="1" <?php if ($cfg_arc_autokeyword=='Y') echo ' checked';?>> 自动获取</label> | |||||
<label><input type="checkbox" name="autokey" onclick="ShowHide('keywords');" id="autokey" value="1" <?php if ($cfg_arc_autokeyword=='Y') echo 'checked';?>> 自动获取</label> | |||||
<button type="button" name="submit" class="btn btn-success btn-sm" onclick="SelectKeywords('form1.keywords');">选择</button> | <button type="button" name="submit" class="btn btn-success btn-sm" onclick="SelectKeywords('form1.keywords');">选择</button> | ||||
</td> | </td> | ||||
</tr> | </tr> | ||||
@@ -196,6 +196,21 @@ | |||||
</table> | </table> | ||||
</td> | </td> | ||||
</tr> | </tr> | ||||
<tr> | |||||
<td class="admin-td"> | |||||
<table> | |||||
<tr> | |||||
<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> | |||||
<a href="javascript:OpenMyWin('article_allowurl_edit.php');">[配置]</a> | |||||
<label><input type="checkbox" name="autolitpic" id="autolitpic" value="1" <?php if ($cfg_arc_autopic=='Y') echo 'checked';?>> 提取第一个图片为缩略图</label> | |||||
</td> | |||||
</tr> | |||||
</table> | |||||
</td> | |||||
</tr> | |||||
<tr> | <tr> | ||||
<td class="admin-td"> | <td class="admin-td"> | ||||
<table> | <table> | ||||
@@ -289,7 +304,7 @@ | |||||
<option value="KB">KB</option> | <option value="KB">KB</option> | ||||
<option value="GB">GB</option> | <option value="GB">GB</option> | ||||
</select> | </select> | ||||
<label><input type="checkbox" name="autosize" id="autosize" value="1" checked="checked"> 自动获取</label> | |||||
<label><input type="checkbox" name="autosize" id="autosize" value="1" checked> 自动获取</label> | |||||
</td> | </td> | ||||
<td width="120">需会员权限:</td> | <td width="120">需会员权限:</td> | ||||
<td align="left"> | <td align="left"> | ||||
@@ -311,7 +326,6 @@ | |||||
</table> | </table> | ||||
</td> | </td> | ||||
</tr> | </tr> | ||||
<?php PrintAutoFieldsAdd(stripslashes($cInfos['fieldset']),'autofield');?> | |||||
<tr> | <tr> | ||||
<td class="admin-td"> | <td class="admin-td"> | ||||
<table> | <table> | ||||
@@ -378,23 +392,9 @@ | |||||
</td> | </td> | ||||
</tr> | </tr> | ||||
<?php }?> | <?php }?> | ||||
<?php PrintAutoFieldsAdd(stripslashes($cInfos['fieldset']),'autofield');?> | |||||
<tr> | <tr> | ||||
<td class="admin-td"> | |||||
<table> | |||||
<tr> | |||||
<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> | |||||
<a href="javascript:OpenMyWin('article_allowurl_edit.php');" class="btn btn-success btn-sm">调整</a> | |||||
<label><input type="checkbox" name="autolitpic" id="autolitpic" value="1" <?php if ($cfg_arc_autopic=='Y') echo ' checked';?>> 提取第一个图片为缩略图</label> | |||||
</td> | |||||
</tr> | |||||
</table> | |||||
</td> | |||||
</tr> | |||||
<tr> | |||||
<td class="admin-td"><?php GetEditor('body','',400,'Small');?></td> | |||||
<td class="admin-td"><?php GetEditor('body','',350,'Small');?></td> | |||||
</tr> | </tr> | ||||
<tr> | <tr> | ||||
<td class="admin-td"> | <td class="admin-td"> | ||||
@@ -402,12 +402,12 @@ | |||||
<tr> | <tr> | ||||
<td width="120">评论选项:</td> | <td width="120">评论选项:</td> | ||||
<td width="360"> | <td width="360"> | ||||
<label><input type="radio" name="notpost" value="0" <?php if ($cfg_feedback_forbid=='N') echo "checked='checked'";?>> 允许评论</label> | |||||
<label><input type="radio" name="notpost" value="1" <?php if ($cfg_feedback_forbid=='Y') echo "checked='checked'";?>> 禁止评论</label> | |||||
<label><input type="radio" name="notpost" value="0" <?php if ($cfg_feedback_forbid=='N') echo 'checked';?>> 允许评论</label> | |||||
<label><input type="radio" name="notpost" value="1" <?php if ($cfg_feedback_forbid=='Y') echo 'checked';?>> 禁止评论</label> | |||||
</td> | </td> | ||||
<td width="120">发布选项:</td> | <td width="120">发布选项:</td> | ||||
<td> | <td> | ||||
<label><input type="radio" name="ishtml" value="1" checked="checked"> 生成网页</label> | |||||
<label><input type="radio" name="ishtml" value="1" checked> 生成网页</label> | |||||
<label><input type="radio" name="ishtml" value="0"> 仅动态浏览</label> | <label><input type="radio" name="ishtml" value="0"> 仅动态浏览</label> | ||||
</td> | </td> | ||||
</tr> | </tr> | ||||
@@ -21,36 +21,36 @@ | |||||
<tr> | <tr> | ||||
<td width="260">链接显示方式:</td> | <td width="260">链接显示方式:</td> | ||||
<td> | <td> | ||||
<label><input type="radio" name="gotojump" value="0" <?php if ($row['gotojump']==0) echo " checked='checked' ";?>> 真实软件链接地址</label> | |||||
<label><input type="radio" name="gotojump" value="1" <?php if ($row['gotojump']==1) echo " checked='checked' ";?>> 字符软件链接地址</label> | |||||
<label><input type="radio" name="gotojump" value="0" <?php if ($row['gotojump']==0) echo " checked ";?>> 真实软件链接地址</label> | |||||
<label><input type="radio" name="gotojump" value="1" <?php if ($row['gotojump']==1) echo " checked ";?>> 字符软件链接地址</label> | |||||
</td> | </td> | ||||
</tr> | </tr> | ||||
<tr> | <tr> | ||||
<td>软件下载方式:</td> | <td>软件下载方式:</td> | ||||
<td> | <td> | ||||
<label><input type="radio" name="downtype" value="0" <?php if ($row['downtype']==0) echo " checked='checked' ";?>> 当前软件发布页</label> | |||||
<label><input type="radio" name="downtype" value="1" <?php if ($row['downtype']==1) echo " checked='checked' ";?>> 链接到地址列表页</label> | |||||
<label><input type="radio" name="downtype" value="0" <?php if ($row['downtype']==0) echo " checked ";?>> 当前软件发布页</label> | |||||
<label><input type="radio" name="downtype" value="1" <?php if ($row['downtype']==1) echo " checked ";?>> 链接到地址列表页</label> | |||||
</td> | </td> | ||||
</tr> | </tr> | ||||
<tr> | <tr> | ||||
<td>是否启用镜像站点:</td> | <td>是否启用镜像站点:</td> | ||||
<td> | <td> | ||||
<label><input type="radio" name="ismoresite" value="1" <?php if ($row['ismoresite']==1) echo " checked='checked' ";?>> 启用</label> | |||||
<label><input type="radio" name="ismoresite" value="0" <?php if ($row['ismoresite']==0) echo " checked='checked' ";?>> 不启用</label> | |||||
<label><input type="radio" name="ismoresite" value="1" <?php if ($row['ismoresite']==1) echo " checked ";?>> 启用</label> | |||||
<label><input type="radio" name="ismoresite" value="0" <?php if ($row['ismoresite']==0) echo " checked ";?>> 不启用</label> | |||||
</td> | </td> | ||||
</tr> | </tr> | ||||
<tr> | <tr> | ||||
<td>启用镜像站点后是否保留本地下载:</td> | <td>启用镜像站点后是否保留本地下载:</td> | ||||
<td> | <td> | ||||
<label><input type="radio" name="islocal" value="1" <?php if ($row['islocal']==1) echo " checked='checked' ";?>> 保留</label> | |||||
<label><input type="radio" name="islocal" value="0" <?php if ($row['islocal']==0) echo " checked='checked' ";?>> 不保留</label> | |||||
<label><input type="radio" name="islocal" value="1" <?php if ($row['islocal']==1) echo " checked ";?>> 保留</label> | |||||
<label><input type="radio" name="islocal" value="0" <?php if ($row['islocal']==0) echo " checked ";?>> 不保留</label> | |||||
</td> | </td> | ||||
</tr> | </tr> | ||||
<tr> | <tr> | ||||
<td>镜像处理方式:</td> | <td>镜像处理方式:</td> | ||||
<td> | <td> | ||||
<label><input type="radio" name="moresitedo" value="1" <?php if ($row['moresitedo']==1) echo " checked='checked' ";?>> 本地地址和服务器列表自动生成</label> | |||||
<label><input type="radio" name="moresitedo" value="0" <?php if ($row['moresitedo']==0) echo " checked='checked' ";?>> 按服务器生成列表由我手工填写</label> | |||||
<label><input type="radio" name="moresitedo" value="1" <?php if ($row['moresitedo']==1) echo " checked ";?>> 本地地址和服务器列表自动生成</label> | |||||
<label><input type="radio" name="moresitedo" value="0" <?php if ($row['moresitedo']==0) echo " checked ";?>> 按服务器生成列表由我手工填写</label> | |||||
</td> | </td> | ||||
</tr> | </tr> | ||||
<tr> | <tr> | ||||
@@ -79,8 +79,8 @@ | |||||
<tr> | <tr> | ||||
<td>参数限制方式:</td> | <td>参数限制方式:</td> | ||||
<td> | <td> | ||||
<label><input type="radio" name="argrange" value="0" <?php if ($row['argrange']==0) echo " checked='checked' ";?>> 所有软件重新选择权限</label> | |||||
<label><input type="radio" name="argrange" value="1" <?php if ($row['argrange']==1) echo " checked='checked' ";?>> 所有软件均使用此权限</label> | |||||
<label><input type="radio" name="argrange" value="0" <?php if ($row['argrange']==0) echo " checked ";?>> 所有软件重新选择权限</label> | |||||
<label><input type="radio" name="argrange" value="1" <?php if ($row['argrange']==1) echo " checked ";?>> 所有软件均使用此权限</label> | |||||
</td> | </td> | ||||
</tr> | </tr> | ||||
<tr> | <tr> | ||||
@@ -68,7 +68,7 @@ | |||||
if ($trow->att=='j') $jumpclick = " onclick='ShowUrlTr()'"; | if ($trow->att=='j') $jumpclick = " onclick='ShowUrlTr()'"; | ||||
else $jumpclick = ''; | else $jumpclick = ''; | ||||
if (preg_match("#".$trow->att."#",$arcRow['flag'])) | if (preg_match("#".$trow->att."#",$arcRow['flag'])) | ||||
echo "<label><input type='checkbox' name='flags[]' id='flags{$trow->att}' value='{$trow->att}' {$jumpclick} checked='checked'> {$trow->attname}[{$trow->att}]</label> "; | |||||
echo "<label><input type='checkbox' name='flags[]' id='flags{$trow->att}' value='{$trow->att}' {$jumpclick} checked> {$trow->attname}[{$trow->att}]</label> "; | |||||
else | else | ||||
echo "<label><input type='checkbox' name='flags[]' id='flags{$trow->att}' value='{$trow->att}' {$jumpclick}> {$trow->attname}[{$trow->att}]</label> "; | echo "<label><input type='checkbox' name='flags[]' id='flags{$trow->att}' value='{$trow->att}' {$jumpclick}> {$trow->attname}[{$trow->att}]</label> "; | ||||
} | } | ||||
@@ -79,8 +79,7 @@ | |||||
</td> | </td> | ||||
</tr> | </tr> | ||||
<tr> | <tr> | ||||
<td class="admin-td" id="redirecturltr" | |||||
style="display:<?php echo (empty($addRow['redirecturl']) ? 'none' : 'block');?>"> | |||||
<td class="admin-td" id="redirecturltr" style="display:<?php echo (empty($addRow['redirecturl']) ? 'none' : 'block');?>"> | |||||
<table> | <table> | ||||
<tr> | <tr> | ||||
<td width="120">跳转网址:</td> | <td width="120">跳转网址:</td> | ||||
@@ -193,6 +192,19 @@ | |||||
</table> | </table> | ||||
</td> | </td> | ||||
</tr> | </tr> | ||||
<tr> | |||||
<td class="admin-td"> | |||||
<table> | |||||
<tr> | |||||
<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="autolitpic" id="autolitpic" value="1" <?php if ($cfg_arc_autopic=='Y') echo 'checked';?>> 提取第一个图片为缩略图</label> | |||||
</td> | |||||
</tr> | |||||
</table> | |||||
</td> | |||||
</tr> | |||||
<tr> | <tr> | ||||
<td class="admin-td"> | <td class="admin-td"> | ||||
<table> | <table> | ||||
@@ -200,9 +212,7 @@ | |||||
<td width="120">文件类型:</td> | <td width="120">文件类型:</td> | ||||
<td width="170"> | <td width="170"> | ||||
<select name="filetype" id="filetype" class="admin-input-sm"> | <select name="filetype" id="filetype" class="admin-input-sm"> | ||||
<?php | |||||
if ($addRow["filetype"]!="") echo "<option value=\"".$addRow["filetype"]."\">".$addRow['filetype']."</option>"; | |||||
?> | |||||
<?php if ($addRow["filetype"]!="") echo "<option value=\"".$addRow["filetype"]."\">".$addRow['filetype']."</option>";?> | |||||
<option value=".exe">.exe</option> | <option value=".exe">.exe</option> | ||||
<option value=".zip">.zip</option> | <option value=".zip">.zip</option> | ||||
<option value=".rar">.rar</option> | <option value=".rar">.rar</option> | ||||
@@ -214,9 +224,7 @@ | |||||
<td width="120">软件等级:</td> | <td width="120">软件等级:</td> | ||||
<td width="170"> | <td width="170"> | ||||
<select name="softrank" id="softrank" class="admin-input-sm"> | <select name="softrank" id="softrank" class="admin-input-sm"> | ||||
<?php | |||||
if ($addRow["softrank"]!="") echo "<option value=\"".$addRow["softrank"]."\">".$addRow['softrank']."星</option>"; | |||||
?> | |||||
<?php if ($addRow["softrank"]!="") echo "<option value=\"".$addRow["softrank"]."\">".$addRow['softrank']."星</option>";?> | |||||
<option value="1">一星</option> | <option value="1">一星</option> | ||||
<option value="2">二星</option> | <option value="2">二星</option> | ||||
<option value="3">三星 </option> | <option value="3">三星 </option> | ||||
@@ -227,9 +235,7 @@ | |||||
<td width="120">软件类型:</td> | <td width="120">软件类型:</td> | ||||
<td width="170"> | <td width="170"> | ||||
<select name="softtype" id="softtype" class="admin-input-sm"> | <select name="softtype" id="softtype" class="admin-input-sm"> | ||||
<?php | |||||
if ($addRow["softtype"]!="") echo "<option value=\"".$addRow["softtype"]."\">".$addRow['softtype']."</option>"; | |||||
?> | |||||
<?php if ($addRow["softtype"]!="") echo "<option value=\"".$addRow["softtype"]."\">".$addRow['softtype']."</option>";?> | |||||
<option value="国产软件">国产软件</option> | <option value="国产软件">国产软件</option> | ||||
<option value="国外软件">国外软件</option> | <option value="国外软件">国外软件</option> | ||||
<option value="汉化补丁">汉化补丁</option> | <option value="汉化补丁">汉化补丁</option> | ||||
@@ -238,9 +244,7 @@ | |||||
<td width="120">界面语言:</td> | <td width="120">界面语言:</td> | ||||
<td width="170"> | <td width="170"> | ||||
<select name="language" id="language" class="admin-input-sm"> | <select name="language" id="language" class="admin-input-sm"> | ||||
<?php | |||||
if ($addRow["language"]!="") echo "<option value=\"".$addRow["language"]."\">".$addRow['language']."</option>"; | |||||
?> | |||||
<?php if ($addRow["language"]!="") echo "<option value=\"".$addRow["language"]."\">".$addRow['language']."</option>";?> | |||||
<option value="简体中文">简体中文</option> | <option value="简体中文">简体中文</option> | ||||
<option value="英文软件">英文软件</option> | <option value="英文软件">英文软件</option> | ||||
<option value="繁体中文">繁体中文</option> | <option value="繁体中文">繁体中文</option> | ||||
@@ -250,9 +254,7 @@ | |||||
<td width="120">授权方式:</td> | <td width="120">授权方式:</td> | ||||
<td width="170"> | <td width="170"> | ||||
<select name="accredit" id="accredit" class="admin-input-sm"> | <select name="accredit" id="accredit" class="admin-input-sm"> | ||||
<?php | |||||
if ($addRow["accredit"]!="") echo "<option value=\"".$addRow["accredit"]."\">".$addRow['accredit']."</option>"; | |||||
?> | |||||
<?php if ($addRow["accredit"]!="") echo "<option value=\"".$addRow["accredit"]."\">".$addRow['accredit']."</option>";?> | |||||
<option value="共享软件">共享软件</option> | <option value="共享软件">共享软件</option> | ||||
<option value="免费软件">免费软件</option> | <option value="免费软件">免费软件</option> | ||||
<option value="开源软件">开源软件</option> | <option value="开源软件">开源软件</option> | ||||
@@ -315,7 +317,6 @@ | |||||
</table> | </table> | ||||
</td> | </td> | ||||
</tr> | </tr> | ||||
<?php PrintAutoFieldsEdit(stripslashes($cInfos['fieldset']),$addRow,'autofield');?> | |||||
<tr> | <tr> | ||||
<td class="admin-td"> | <td class="admin-td"> | ||||
<table> | <table> | ||||
@@ -338,21 +339,9 @@ | |||||
</div> | </div> | ||||
</td> | </td> | ||||
</tr> | </tr> | ||||
<?php PrintAutoFieldsEdit(stripslashes($cInfos['fieldset']),$addRow,'autofield');?> | |||||
<tr> | <tr> | ||||
<td class="admin-td"> | |||||
<table> | |||||
<tr> | |||||
<td width="120">附加选项:</td> | |||||
<td> | |||||
<label><input type="checkbox" name="remote" id="remote" value="1" <?php if ($cfg_rm_remote=='Y') echo 'checked="checked"';?>> 下载远程图片和资源</label> | |||||
<label><input type="checkbox" name="autolitpic" id="autolitpic" value="1" <?php if ($cfg_arc_autopic=='Y') echo 'checked="checked"';?>> 提取第一个图片为缩略图</label> | |||||
</td> | |||||
</tr> | |||||
</table> | |||||
</td> | |||||
</tr> | |||||
<tr> | |||||
<td class="admin-td"><?php GetEditor("body",$addRow["introduce"],400,"Small");?></td> | |||||
<td class="admin-td"><?php GetEditor('body',$addRow['introduce'],350,'Small');?></td> | |||||
</tr> | </tr> | ||||
<tr> | <tr> | ||||
<td class="admin-td"> | <td class="admin-td"> | ||||
@@ -360,13 +349,13 @@ | |||||
<tr> | <tr> | ||||
<td width="120">评论选项:</td> | <td width="120">评论选项:</td> | ||||
<td width="360"> | <td width="360"> | ||||
<label><input type="radio" name="notpost" value="0" <?php if ($arcRow['notpost']==0) echo "checked='checked'";?>> 允许评论</label> | |||||
<label><input type="radio" name="notpost" value="1" <?php if ($arcRow['notpost']==1) echo "checked='checked'";?>> 禁止评论</label> | |||||
<label><input type="radio" name="notpost" value="0" <?php if ($arcRow['notpost']==0) echo 'checked';?>> 允许评论</label> | |||||
<label><input type="radio" name="notpost" value="1" <?php if ($arcRow['notpost']==1) echo 'checked';?>> 禁止评论</label> | |||||
</td> | </td> | ||||
<td width="120">发布选项:</td> | <td width="120">发布选项:</td> | ||||
<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> | |||||
<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> | |||||
</td> | </td> | ||||
</tr> | </tr> | ||||
</table> | </table> | ||||
@@ -156,7 +156,7 @@ | |||||
<td width="120">关键词:</td> | <td width="120">关键词:</td> | ||||
<td> | <td> | ||||
<input type="text" name="keywords" id="keywords" class="admin-input-lg"> | <input type="text" name="keywords" id="keywords" class="admin-input-lg"> | ||||
<label><input type="checkbox" name="autokey" onclick="ShowHide('keywords');" ; id="autokey" value="1" <?php if ($cfg_arc_autokeyword=='Y') echo 'checked="checked"';?>> 自动获取</label> | |||||
<label><input type="checkbox" name="autokey" onclick="ShowHide('keywords');" ; id="autokey" value="1" <?php if ($cfg_arc_autokeyword=='Y') echo 'checked';?>> 自动获取</label> | |||||
<button type="button" name="submit" class="btn btn-success btn-sm" onclick="SelectKeywords('form1.keywords');">选择</button> | <button type="button" name="submit" class="btn btn-success btn-sm" onclick="SelectKeywords('form1.keywords');">选择</button> | ||||
</td> | </td> | ||||
</tr> | </tr> | ||||
@@ -208,7 +208,7 @@ | |||||
<td class="admin-td"> | <td class="admin-td"> | ||||
<label>栏目id:<input type="text" name="typeid<?php echo $i?>" id="_typeid<?php echo $i?>" value="0" class="admin-input-sm"></label> | <label>栏目id:<input type="text" name="typeid<?php echo $i?>" id="_typeid<?php echo $i?>" value="0" class="admin-input-sm"></label> | ||||
<label>关键词:<input type="text" name="keywords<?php echo $i?>" id="keywords<?php echo $i?>" class="admin-input-lg">(英文逗号隔开)</label> | <label>关键词:<input type="text" name="keywords<?php echo $i?>" id="keywords<?php echo $i?>" class="admin-input-lg">(英文逗号隔开)</label> | ||||
<label><input type="radio" name="isauto<?php echo $i?>" id="isauto<?php echo $i?>" value="0" checked="checked"> 按文档列表</label> | |||||
<label><input type="radio" name="isauto<?php echo $i?>" id="isauto<?php echo $i?>" value="0" checked> 按文档列表</label> | |||||
<label><input type="radio" name="isauto<?php echo $i?>" id="isauto<?php echo $i?>" value="1"> 自动获取文档</label> | <label><input type="radio" name="isauto<?php echo $i?>" id="isauto<?php echo $i?>" value="1"> 自动获取文档</label> | ||||
</td> | </td> | ||||
</tr> | </tr> | ||||
@@ -244,12 +244,12 @@ | |||||
<tr> | <tr> | ||||
<td width="120">评论选项:</td> | <td width="120">评论选项:</td> | ||||
<td width="360"> | <td width="360"> | ||||
<label><input type="radio" name="notpost" value="0" <?php if ($cfg_feedback_forbid=='N') echo "checked='checked'";?>> 允许评论</label> | |||||
<label><input type="radio" name="notpost" value="1" <?php if ($cfg_feedback_forbid=='Y') echo "checked='checked'";?>> 禁止评论</label> | |||||
<label><input type="radio" name="notpost" value="0" <?php if ($cfg_feedback_forbid=='N') echo 'checked';?>> 允许评论</label> | |||||
<label><input type="radio" name="notpost" value="1" <?php if ($cfg_feedback_forbid=='Y') echo 'checked';?>> 禁止评论</label> | |||||
</td> | </td> | ||||
<td width="120">发布选项:</td> | <td width="120">发布选项:</td> | ||||
<td> | <td> | ||||
<label><input type="radio" name="ishtml" value="1" checked="checked"> 生成网页</label> | |||||
<label><input type="radio" name="ishtml" value="1" checked> 生成网页</label> | |||||
<label><input type="radio" name="ishtml" value="0"> 仅动态浏览</label> | <label><input type="radio" name="ishtml" value="0"> 仅动态浏览</label> | ||||
</td> | </td> | ||||
</tr> | </tr> | ||||
@@ -93,7 +93,7 @@ | |||||
{ | { | ||||
if ($trow->att=='j') continue; | if ($trow->att=='j') continue; | ||||
if (preg_match("#".$trow->att."#", $arcRow['flag'])) | if (preg_match("#".$trow->att."#", $arcRow['flag'])) | ||||
echo "<label><input type='checkbox' name='flags[]' id='flags{$trow->att}' value='{$trow->att}' checked='checked'> {$trow->attname}[{$trow->att}]</label> "; | |||||
echo "<label><input type='checkbox' name='flags[]' id='flags{$trow->att}' value='{$trow->att}' checked> {$trow->attname}[{$trow->att}]</label> "; | |||||
else | else | ||||
echo "<label><input type='checkbox' name='flags[]' id='flags{$trow->att}' value='{$trow->att}'> {$trow->attname}[{$trow->att}]</label> "; | echo "<label><input type='checkbox' name='flags[]' id='flags{$trow->att}' value='{$trow->att}'> {$trow->attname}[{$trow->att}]</label> "; | ||||
} | } | ||||
@@ -216,10 +216,10 @@ | |||||
<tr> | <tr> | ||||
<td class="admin-td">文档来源:</td> | <td class="admin-td">文档来源:</td> | ||||
<td class="admin-td"> | <td class="admin-td"> | ||||
<label><input type="radio" name="isauto<?php echo $i?>" id="isauto<?php echo $i?>" value="0" <?php if ($isauto==0) echo "checked";?>> 按文档列表</label> | |||||
<label><input type="radio" name="isauto<?php echo $i?>" id="isauto<?php echo $i?>" value="1" <?php if ($isauto==1) echo "checked";?>> 自动获取文档</label> | |||||
<label>关键词:<input type="text" name="keywords<?php echo $i?>" value="<?php echo $keywords?>" id="keywords<?php echo $i?>" size="16">(英文逗号隔开)</label> | |||||
<label>栏目id:<input type="text" name="typeid<?php echo $i?>" value="<?php echo $typeid?>" id="typeid<?php echo $i?>" value="0" size="4"></label> | |||||
<label><input type="radio" name="isauto<?php echo $i?>" id="isauto<?php echo $i?>" value="0" <?php if ($isauto==0) echo 'checked';?>> 按文档列表</label> | |||||
<label><input type="radio" name="isauto<?php echo $i?>" id="isauto<?php echo $i?>" value="1" <?php if ($isauto==1) echo 'checked';?>> 自动获取文档</label> | |||||
<label>关键词:<input type="text" name="keywords<?php echo $i?>" value="<?php echo $keywords?>" id="keywords<?php echo $i?>" class="admin-input-sm">(英文逗号隔开)</label> | |||||
<label>栏目id:<input type="text" name="typeid<?php echo $i?>" value="<?php echo $typeid?>" id="typeid<?php echo $i?>" class="admin-input-sm" value="0"></label> | |||||
</td> | </td> | ||||
</tr> | </tr> | ||||
<tr> | <tr> | ||||
@@ -263,7 +263,7 @@ | |||||
<td class="admin-td"> | <td class="admin-td"> | ||||
<label>栏目id:<input type="text" name="typeid<?php echo $i?>" id="_typeid<?php echo $i?>" value="0" class="admin-input-sm"></label> | <label>栏目id:<input type="text" name="typeid<?php echo $i?>" id="_typeid<?php echo $i?>" value="0" class="admin-input-sm"></label> | ||||
<label>关键词:<input type="text" name="keywords<?php echo $i?>" id="keywords<?php echo $i?>" class="admin-input-lg">(空格分开)</label> | <label>关键词:<input type="text" name="keywords<?php echo $i?>" id="keywords<?php echo $i?>" class="admin-input-lg">(空格分开)</label> | ||||
<label><input type="radio" name="isauto<?php echo $i?>" id="isauto<?php echo $i?>" value="0" checked="checked"> 按文档列表</label> | |||||
<label><input type="radio" name="isauto<?php echo $i?>" id="isauto<?php echo $i?>" value="0" checked> 按文档列表</label> | |||||
<label><input type="radio" name="isauto<?php echo $i?>" id="isauto<?php echo $i?>" value="1"> 自动获取文档</label> | <label><input type="radio" name="isauto<?php echo $i?>" id="isauto<?php echo $i?>" value="1"> 自动获取文档</label> | ||||
</td> | </td> | ||||
</tr> | </tr> | ||||
@@ -292,12 +292,12 @@ | |||||
<tr> | <tr> | ||||
<td width="120">评论选项:</td> | <td width="120">评论选项:</td> | ||||
<td width="360"> | <td width="360"> | ||||
<label><input type="radio" name="notpost" value="0" <?php if ($arcRow['notpost']==0) echo "checked='checked'";?>> 允许评论</label> | |||||
<label><input type="radio" name="notpost" value="1" <?php if ($arcRow['notpost']==1) echo "checked='checked'";?>> 禁止评论</label> | |||||
<label><input type="radio" name="notpost" value="0" <?php if ($arcRow['notpost']==0) echo 'checked';?>> 允许评论</label> | |||||
<label><input type="radio" name="notpost" value="1" <?php if ($arcRow['notpost']==1) echo 'checked';?>> 禁止评论</label> | |||||
<td width="120">发布选项:</td> | <td width="120">发布选项:</td> | ||||
<td> | <td> | ||||
<label><input type="radio" name="ishtml" value="1" <?php if ($arcRow["ismake"]!=-1) echo "checked='checked'";?>> 生成网页</label> | |||||
<label><input type="radio" name="ishtml" value="0" <?php if ($arcRow["ismake"]==-1) echo "checked='checked'";?>> 仅动态浏览</label> | |||||
<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> | |||||
</td> | </td> | ||||
</tr> | </tr> | ||||
</table> | </table> | ||||
@@ -46,7 +46,7 @@ | |||||
$t = $dedeSysTables[$i]; | $t = $dedeSysTables[$i]; | ||||
echo "<tr align='center'>"; | echo "<tr align='center'>"; | ||||
?> | ?> | ||||
<td><input type="checkbox" name="tables" value="<?php echo $t;?>" checked="checked"></td> | |||||
<td><input type="checkbox" name="tables" value="<?php echo $t;?>" checked></td> | |||||
<td><?php echo $t;?></td> | <td><?php echo $t;?></td> | ||||
<td><?php echo TjCount($t,$dsql);?></td> | <td><?php echo TjCount($t,$dsql);?></td> | ||||
<td> | <td> | ||||
@@ -59,7 +59,7 @@ | |||||
if (isset($dedeSysTables[$i])) { | if (isset($dedeSysTables[$i])) { | ||||
$t = $dedeSysTables[$i]; | $t = $dedeSysTables[$i]; | ||||
?> | ?> | ||||
<td><input type="checkbox" name="tables" value="<?php echo $t;?>" checked="checked"></td> | |||||
<td><input type="checkbox" name="tables" value="<?php echo $t;?>" checked></td> | |||||
<td><?php echo $t;?></td> | <td><?php echo $t;?></td> | ||||
<td><?php echo TjCount($t,$dsql);?></td> | <td><?php echo TjCount($t,$dsql);?></td> | ||||
<td> | <td> | ||||
@@ -124,9 +124,9 @@ | |||||
<tr> | <tr> | ||||
<td colspan="8"> | <td colspan="8"> | ||||
分卷大小:<input name="fsize" type="text" id="fsize" value="2048" class="admin-input-sm"> K | 分卷大小:<input name="fsize" type="text" id="fsize" value="2048" class="admin-input-sm"> K | ||||
<label><input type="checkbox" name="isstruct" id="isstruct" value="1" checked="checked"> 备份结构</label> | |||||
<label><input type="checkbox" name="isstruct" id="isstruct" value="1" checked> 备份结构</label> | |||||
<?php if (@function_exists('gzcompress') && false) {?> | <?php if (@function_exists('gzcompress') && false) {?> | ||||
<label><input type="checkbox" name="iszip" id="iszip" value="1" checked="checked"> 完成后压缩成ZIP</label> | |||||
<label><input type="checkbox" name="iszip" id="iszip" value="1" checked> 完成后压缩成ZIP</label> | |||||
<?php }?> | <?php }?> | ||||
<button name="b1" type="button" id="b1" class="btn btn-success btn-sm" onclick="SelAll();">全选</button> | <button name="b1" type="button" id="b1" class="btn btn-success btn-sm" onclick="SelAll();">全选</button> | ||||
<button name="b2" type="button" id="b2" class="btn btn-success btn-sm" onclick="ReSel();">反选</button> | <button name="b2" type="button" id="b2" class="btn btn-success btn-sm" onclick="ReSel();">反选</button> | ||||
@@ -49,7 +49,7 @@ | |||||
<td>主键字段:</td> | <td>主键字段:</td> | ||||
<td> | <td> | ||||
<input type="text" name="keyfield" id="keyfield" class="admin-input-sm"> | <input type="text" name="keyfield" id="keyfield" class="admin-input-sm"> | ||||
<label><input type="radio" name="rptype" id="ot1" value="replace" checked="checked"> 普通替换</label> | |||||
<label><input type="radio" name="rptype" id="ot1" value="replace" checked> 普通替换</label> | |||||
<label><input type="radio" name="rptype" id="ot2" value="regex"> 正则表达式</label> | <label><input type="radio" name="rptype" id="ot2" value="regex"> 正则表达式</label> | ||||
</td> | </td> | ||||
</tr> | </tr> | ||||
@@ -31,11 +31,11 @@ | |||||
for ($i=0;$i<count($filelists);$i++) | for ($i=0;$i<count($filelists);$i++) | ||||
{ | { | ||||
echo "<tr align='center'>"; | echo "<tr align='center'>"; | ||||
$mtd = "<td width='10%'><input name='bakfile' id='bakfile' type='checkbox' value='".$filelists[$i]."' checked='checked'></td><td width='40%'>{$filelists[$i]}</td>"; | |||||
$mtd = "<td width='10%'><input name='bakfile' id='bakfile' type='checkbox' value='".$filelists[$i]."' checked></td><td width='40%'>{$filelists[$i]}</td>"; | |||||
echo $mtd; | echo $mtd; | ||||
if (isset($filelists[$i+1])) { | if (isset($filelists[$i+1])) { | ||||
$i++; | $i++; | ||||
$mtd = "<td width='10%'><input name='bakfile' id='bakfile' type='checkbox' value='".$filelists[$i]."' checked='checked'></td><td width='40%'>{$filelists[$i]}</td>"; | |||||
$mtd = "<td width='10%'><input name='bakfile' id='bakfile' type='checkbox' value='".$filelists[$i]."' checked></td><td width='40%'>{$filelists[$i]}</td>"; | |||||
echo $mtd; | echo $mtd; | ||||
} else { | } else { | ||||
echo "<td></td><td></td>"; | echo "<td></td><td></td>"; | ||||
@@ -45,7 +45,7 @@ | |||||
?> | ?> | ||||
<tr> | <tr> | ||||
<td colspan="4"> | <td colspan="4"> | ||||
<label><input name="structfile" type="checkbox" id="structfile" value="<?php echo $structfile?>" checked="checked"> 还原表结构信息(<?php echo $structfile?>)</label> | |||||
<label><input name="structfile" type="checkbox" id="structfile" value="<?php echo $structfile?>" checked> 还原表结构信息(<?php echo $structfile?>)</label> | |||||
<label><input name="delfile" type="checkbox" id="delfile" value="1"> 还原后删除备份文件</label> | <label><input name="delfile" type="checkbox" id="delfile" value="1"> 还原后删除备份文件</label> | ||||
<button name="b1" type="button" id="b1" onclick="SelAll();" class="btn btn-success btn-sm">全选</button> | <button name="b1" type="button" id="b1" onclick="SelAll();" class="btn btn-success btn-sm">全选</button> | ||||
<button name="b2" type="button" id="b2" onclick="ReSel();" class="btn btn-success btn-sm">反选</button> | <button name="b2" type="button" id="b2" onclick="ReSel();" class="btn btn-success btn-sm">反选</button> | ||||
@@ -58,7 +58,7 @@ | |||||
<tr> | <tr> | ||||
<td width="120">变量类型:</td> | <td width="120">变量类型:</td> | ||||
<td width="370"> | <td width="370"> | ||||
<label><input type="radio" name="vartype" value="string" checked="checked"> 文本</label> | |||||
<label><input type="radio" name="vartype" value="string" checked> 文本</label> | |||||
<label><input type="radio" name="vartype" value="number"> 数字</label> | <label><input type="radio" name="vartype" value="number"> 数字</label> | ||||
<label><input type="radio" name="vartype" value="bool"> 布尔(Y/N)</label> | <label><input type="radio" name="vartype" value="bool"> 布尔(Y/N)</label> | ||||
<label><input type="radio" name="vartype" value="bstring"> 多行文本</label> | <label><input type="radio" name="vartype" value="bstring"> 多行文本</label> | ||||
@@ -19,15 +19,15 @@ | |||||
<tr> | <tr> | ||||
<td width="260">图片上传是否使用图片水印功能:</td> | <td width="260">图片上传是否使用图片水印功能:</td> | ||||
<td> | <td> | ||||
<label><input type="radio" value="1" name="get_photo_markup" <?php if ($photo_markup=='1') echo ' checked';?>> 开启</label> | |||||
<label><input type="radio" value="0" name="get_photo_markup" <?php if ($photo_markup=='0') echo ' checked';?>> 关闭</label> | |||||
<label><input type="radio" value="1" name="get_photo_markup" <?php if ($photo_markup=='1') echo 'checked';?>> 开启</label> | |||||
<label><input type="radio" value="0" name="get_photo_markup" <?php if ($photo_markup=='0') echo 'checked';?>> 关闭</label> | |||||
</td> | </td> | ||||
</tr> | </tr> | ||||
<tr> | <tr> | ||||
<td>图片采集是否使用图片水印功能:</td> | <td>图片采集是否使用图片水印功能:</td> | ||||
<td> | <td> | ||||
<label><input type="radio" value="1" name="get_photo_markdown" <?php if ($photo_markdown=='1') echo ' checked';?>> 开启</label> | |||||
<label><input type="radio" value="0" name="get_photo_markdown" <?php if ($photo_markdown=='0') echo ' checked';?>> 关闭</label> | |||||
<label><input type="radio" value="1" name="get_photo_markdown" <?php if ($photo_markdown=='1') echo 'checked';?>> 开启</label> | |||||
<label><input type="radio" value="0" name="get_photo_markdown" <?php if ($photo_markdown=='0') echo 'checked';?>> 关闭</label> | |||||
</td> | </td> | ||||
</tr> | </tr> | ||||
<tr> | <tr> | ||||
@@ -95,39 +95,39 @@ | |||||
<table width="300"> | <table width="300"> | ||||
<tr> | <tr> | ||||
<td width="33%"> | <td width="33%"> | ||||
<label><input type="radio" name="get_photo_waterpos" value="1" <?php if ($photo_waterpos==1) echo ' checked';?>> 顶部居左</label> | |||||
<label><input type="radio" name="get_photo_waterpos" value="1" <?php if ($photo_waterpos==1) echo 'checked';?>> 顶部居左</label> | |||||
</td> | </td> | ||||
<td width="33%"> | <td width="33%"> | ||||
<label><input type="radio" name="get_photo_waterpos" value="2" <?php if ($photo_waterpos==2) echo ' checked';?>> 顶部居中</label> | |||||
<label><input type="radio" name="get_photo_waterpos" value="2" <?php if ($photo_waterpos==2) echo 'checked';?>> 顶部居中</label> | |||||
</td> | </td> | ||||
<td> | <td> | ||||
<label><input type="radio" name="get_photo_waterpos" value="3" <?php if ($photo_waterpos==3) echo ' checked';?>> 顶部居右</label> | |||||
<label><input type="radio" name="get_photo_waterpos" value="3" <?php if ($photo_waterpos==3) echo 'checked';?>> 顶部居右</label> | |||||
</td> | </td> | ||||
</tr> | </tr> | ||||
<tr> | <tr> | ||||
<td> | <td> | ||||
<label><input type="radio" name="get_photo_waterpos" value="4" <?php if ($photo_waterpos==4) echo ' checked';?>> 左边居中</label> | |||||
<label><input type="radio" name="get_photo_waterpos" value="4" <?php if ($photo_waterpos==4) echo 'checked';?>> 左边居中</label> | |||||
</td> | </td> | ||||
<td> | <td> | ||||
<label><input type="radio" name="get_photo_waterpos" value="5" <?php if ($photo_waterpos==5) echo ' checked';?>> 图片中心</label> | |||||
<label><input type="radio" name="get_photo_waterpos" value="5" <?php if ($photo_waterpos==5) echo 'checked';?>> 图片中心</label> | |||||
</td> | </td> | ||||
<td> | <td> | ||||
<label><input type="radio" name="get_photo_waterpos" value="6" <?php if ($photo_waterpos==6) echo ' checked';?>> 右边居中</label> | |||||
<label><input type="radio" name="get_photo_waterpos" value="6" <?php if ($photo_waterpos==6) echo 'checked';?>> 右边居中</label> | |||||
</td> | </td> | ||||
</tr> | </tr> | ||||
<tr> | <tr> | ||||
<td> | <td> | ||||
<label><input type="radio" name="get_photo_waterpos" value="7" <?php if ($photo_waterpos==7) echo ' checked';?>> 底部居左</label> | |||||
<label><input type="radio" name="get_photo_waterpos" value="7" <?php if ($photo_waterpos==7) echo 'checked';?>> 底部居左</label> | |||||
</td> | </td> | ||||
<td> | <td> | ||||
<label><input type="radio" name="get_photo_waterpos" value="8" <?php if ($photo_waterpos==8) echo ' checked';?>> 底部居中</label> | |||||
<label><input type="radio" name="get_photo_waterpos" value="8" <?php if ($photo_waterpos==8) echo 'checked';?>> 底部居中</label> | |||||
</td> | </td> | ||||
<td> | <td> | ||||
<label><input type="radio" name="get_photo_waterpos" value="9" <?php if ($photo_waterpos==9) echo ' checked';?>> 底部居右</label> | |||||
<label><input type="radio" name="get_photo_waterpos" value="9" <?php if ($photo_waterpos==9) echo 'checked';?>> 底部居右</label> | |||||
</td> | </td> | ||||
</tr> | </tr> | ||||
<tr> | <tr> | ||||
<td colspan="3"><label><input type="radio" name="get_photo_waterpos" value="0" <?php if ($photo_waterpos==0) echo ' checked';?>> 随机位置</label></td> | |||||
<td colspan="3"><label><input type="radio" name="get_photo_waterpos" value="0" <?php if ($photo_waterpos==0) echo 'checked';?>> 随机位置</label></td> | |||||
</tr> | </tr> | ||||
</table> | </table> | ||||
</td> | </td> | ||||
@@ -61,7 +61,7 @@ | |||||
<td colspan="2"> | <td colspan="2"> | ||||
<span>运行SQL命令行:</span> | <span>运行SQL命令行:</span> | ||||
<label><input type="radio" name="querytype" value="0"> 单行命令</label> | <label><input type="radio" name="querytype" value="0"> 单行命令</label> | ||||
<label><input type="radio" name="querytype" value="2" checked="checked"> 多行命令</label> | |||||
<label><input type="radio" name="querytype" value="2" checked> 多行命令</label> | |||||
</td> | </td> | ||||
</tr> | </tr> | ||||
<tr> | <tr> | ||||
@@ -64,7 +64,7 @@ | |||||
<td>是否编译文档:</td> | <td>是否编译文档:</td> | ||||
<td> | <td> | ||||
<?php if (!DEDEBIZ_SAFE_MODE) {?><label><input type="radio" name="ismake" value="1"> 含模板标记,要编译</label><?php }?> | <?php if (!DEDEBIZ_SAFE_MODE) {?><label><input type="radio" name="ismake" value="1"> 含模板标记,要编译</label><?php }?> | ||||
<label><input type="radio" name="ismake" value="0" checked="checked"> 不含模板标记,不需要编译</label> | |||||
<label><input type="radio" name="ismake" value="0" checked> 不含模板标记,不需要编译</label> | |||||
</td> | </td> | ||||
</tr> | </tr> | ||||
<tr> | <tr> | ||||
@@ -67,8 +67,8 @@ | |||||
<tr> | <tr> | ||||
<td>是否编译文档:</td> | <td>是否编译文档:</td> | ||||
<td> | <td> | ||||
<?php if (!DEDEBIZ_SAFE_MODE) {?> <label><input type="radio" name="ismake" value="1" <?php if ($row['ismake']==1) echo "checked";?>> 含模板标记,要编译</label> <?php }?> | |||||
<label><input type="radio" name="ismake" value="0" <?php if ($row['ismake']==0 || DEDEBIZ_SAFE_MODE) echo "checked";?>> 不含模板标记,不需要编译</label> | |||||
<?php if (!DEDEBIZ_SAFE_MODE) {?> <label><input type="radio" name="ismake" value="1" <?php if ($row['ismake']==1) echo 'checked';?>> 含模板标记,要编译</label> <?php }?> | |||||
<label><input type="radio" name="ismake" value="0" <?php if ($row['ismake']==0 || DEDEBIZ_SAFE_MODE) echo 'checked';?>> 不含模板标记,不需要编译</label> | |||||
</td> | </td> | ||||
</tr> | </tr> | ||||
<tr> | <tr> | ||||
@@ -56,14 +56,14 @@ | |||||
<td>是否允许游客投票:</td> | <td>是否允许游客投票:</td> | ||||
<td> | <td> | ||||
<label><input type="radio" name="isallow" value="0"> 是</label> | <label><input type="radio" name="isallow" value="0"> 是</label> | ||||
<label><input type="radio" name="isallow" value="1" checked="checked"> 否</label> | |||||
<label><input type="radio" name="isallow" value="1" checked> 否</label> | |||||
</td> | </td> | ||||
</tr> | </tr> | ||||
<tr> | <tr> | ||||
<td>是否允许查看投票:</td> | <td>是否允许查看投票:</td> | ||||
<td> | <td> | ||||
<label><input type="radio" name="view" value="0"> 是</label> | <label><input type="radio" name="view" value="0"> 是</label> | ||||
<label><input type="radio" name="view" value="1" checked="checked"> 否</label> | |||||
<label><input type="radio" name="view" value="1" checked> 否</label> | |||||
</td> | </td> | ||||
</tr> | </tr> | ||||
<tr> | <tr> | ||||
@@ -76,7 +76,7 @@ | |||||
<tr> | <tr> | ||||
<td>是否多选:</td> | <td>是否多选:</td> | ||||
<td> | <td> | ||||
<label><input type="radio" name="ismore" value="0" checked="checked"> 单选</label> | |||||
<label><input type="radio" name="ismore" value="0" checked> 单选</label> | |||||
<label><input type="radio" name="ismore" value="1"> 多选</label> | <label><input type="radio" name="ismore" value="1"> 多选</label> | ||||
</td> | </td> | ||||
</tr> | </tr> | ||||
@@ -96,7 +96,7 @@ | |||||
<tr> | <tr> | ||||
<td>是否启用:</td> | <td>是否启用:</td> | ||||
<td> | <td> | ||||
<label><input type="radio" name="isenable" value="0" checked="checked"> 是</label> | |||||
<label><input type="radio" name="isenable" value="0" checked> 是</label> | |||||
<label><input type="radio" name="isenable" value="1"> 否</label> | <label><input type="radio" name="isenable" value="1"> 否</label> | ||||
</td> | </td> | ||||
</tr> | </tr> | ||||
@@ -42,15 +42,15 @@ | |||||
<tr> | <tr> | ||||
<td>是否允许游客投票:</td> | <td>是否允许游客投票:</td> | ||||
<td> | <td> | ||||
<label><input type="radio" name="isallow" value="0" <?php if ($row['isallow']==0) echo "checked";?>> 是</label> | |||||
<label><input type="radio" name="isallow" value="1" <?php if ($row['isallow']==1) echo "checked";?>> 否</label> | |||||
<label><input type="radio" name="isallow" value="0" <?php if ($row['isallow']==0) echo 'checked';?>> 是</label> | |||||
<label><input type="radio" name="isallow" value="1" <?php if ($row['isallow']==1) echo 'checked';?>> 否</label> | |||||
</td> | </td> | ||||
</tr> | </tr> | ||||
<tr> | <tr> | ||||
<td>是否允许查看投票:</td> | <td>是否允许查看投票:</td> | ||||
<td> | <td> | ||||
<label><input type="radio" name="view" value="0" <?php if ($row['view']==0) echo "checked";?>> 是</label> | |||||
<label><input type="radio" name="view" value="1" <?php if ($row['view']==1) echo "checked";?>> 否</label> | |||||
<label><input type="radio" name="view" value="0" <?php if ($row['view']==0) echo 'checked';?>> 是</label> | |||||
<label><input type="radio" name="view" value="1" <?php if ($row['view']==1) echo 'checked';?>> 否</label> | |||||
</td> | </td> | ||||
</tr> | </tr> | ||||
<tr> | <tr> | ||||
@@ -63,8 +63,8 @@ | |||||
<tr> | <tr> | ||||
<td>是否多选:</td> | <td>是否多选:</td> | ||||
<td> | <td> | ||||
<label><input type="radio" name="ismore" value="0" <?php if ($row['ismore']==0) echo "checked";?>> 单选</label> | |||||
<label><input type="radio" name="ismore" value="1" <?php if ($row['ismore']==1) echo "checked";?>> 多选</label> | |||||
<label><input type="radio" name="ismore" value="0" <?php if ($row['ismore']==0) echo 'checked';?>> 单选</label> | |||||
<label><input type="radio" name="ismore" value="1" <?php if ($row['ismore']==1) echo 'checked';?>> 多选</label> | |||||
</td> | </td> | ||||
</tr> | </tr> | ||||
<tr> | <tr> | ||||
@@ -74,8 +74,8 @@ | |||||
<tr> | <tr> | ||||
<td>是否启用:</td> | <td>是否启用:</td> | ||||
<td> | <td> | ||||
<label><input type="radio" name="isenable" value="0" <?php if ($row['isenable']==0) echo "checked";?>> 是</label> | |||||
<label><input type="radio" name="isenable" value="1" <?php if ($row['isenable']==1) echo "checked";?>> 否</label> | |||||
<label><input type="radio" name="isenable" value="0" <?php if ($row['isenable']==0) echo 'checked';?>> 是</label> | |||||
<label><input type="radio" name="isenable" value="1" <?php if ($row['isenable']==1) echo 'checked';?>> 否</label> | |||||
</td> | </td> | ||||
</tr> | </tr> | ||||
<tr> | <tr> | ||||
@@ -7,7 +7,7 @@ | |||||
* @link https://www.dedebiz.com | * @link https://www.dedebiz.com | ||||
*/ | */ | ||||
//系统默认运行模式为安全模式,模板管理、标签管理、数据库管理、模块管理等功能已暂停,如果您需要这些功能,DEDEBIZ_SAFE_MODE后面值`TRUE`改为`FALSE`恢复使用 | //系统默认运行模式为安全模式,模板管理、标签管理、数据库管理、模块管理等功能已暂停,如果您需要这些功能,DEDEBIZ_SAFE_MODE后面值`TRUE`改为`FALSE`恢复使用 | ||||
define('DEDEBIZ_SAFE_MODE', TRUE); | |||||
define('DEDEBIZ_SAFE_MODE', FALSE); | |||||
//生产环境使用`production`,如果采用`dev`模式,会有一些php的报错信息提示,用于开发调试 | //生产环境使用`production`,如果采用`dev`模式,会有一些php的报错信息提示,用于开发调试 | ||||
if (!defined('DEDE_ENVIRONMENT')) { | if (!defined('DEDE_ENVIRONMENT')) { | ||||
define('DEDE_ENVIRONMENT', 'production'); | define('DEDE_ENVIRONMENT', 'production'); | ||||
@@ -67,7 +67,7 @@ function GetFormItem($ctag, $admintype = 'admin') | |||||
foreach ($items as $v) { | foreach ($items as $v) { | ||||
$v = trim($v); | $v = trim($v); | ||||
if ($v != '') { | if ($v != '') { | ||||
$myformItem .= ($i == 0 ? "<div class='form-check form-check-inline'><label class='form-check-label'><input type='radio' name='$fieldname' class='form-check-input' value='$v' checked='checked'> $v</label></div>" : "<div class='form-check form-check-inline'><label class='form-check-label'><input type='radio' name='$fieldname' class='form-check-input' value='$v'> $v</label></div>"); | |||||
$myformItem .= ($i == 0 ? "<div class='form-check form-check-inline'><label class='form-check-label'><input type='radio' name='$fieldname' class='form-check-input' value='$v' checked> $v</label></div>" : "<div class='form-check form-check-inline'><label class='form-check-label'><input type='radio' name='$fieldname' class='form-check-input' value='$v'> $v</label></div>"); | |||||
$i++; | $i++; | ||||
} | } | ||||
} | } | ||||
@@ -298,7 +298,7 @@ function GetFormItemValue($ctag, $fvalue, $admintype = 'admin', $fieldname = '') | |||||
foreach ($items as $v) { | foreach ($items as $v) { | ||||
$v = trim($v); | $v = trim($v); | ||||
if ($v == '') continue; | if ($v == '') continue; | ||||
$myformItem .= ($fvalue == $v ? "<div class='form-check form-check-inline'><label class='form-check-label'><input type='radio' name='$fieldname' class='form-check-input' value='$v' checked='checked'> $v</label></div>" : "<div class='form-check form-check-inline'><label class='form-check-label'><input type='radio' name='$fieldname' class='form-check-input' value='$v'> $v</label></div>"); | |||||
$myformItem .= ($fvalue == $v ? "<div class='form-check form-check-inline'><label class='form-check-label'><input type='radio' name='$fieldname' class='form-check-input' value='$v' checked> $v</label></div>" : "<div class='form-check form-check-inline'><label class='form-check-label'><input type='radio' name='$fieldname' class='form-check-input' value='$v'> $v</label></div>"); | |||||
} | } | ||||
} | } | ||||
$innertext = $myformItem; | $innertext = $myformItem; | ||||
@@ -314,7 +314,7 @@ function GetFormItemValue($ctag, $fvalue, $admintype = 'admin', $fieldname = '') | |||||
continue; | continue; | ||||
} | } | ||||
if (in_array($v, $fvalues)) { | if (in_array($v, $fvalues)) { | ||||
$myformItem .= "<div class='form-check form-check-inline'><label class='form-check-label'><input type='checkbox' name='{$fieldname}[]' class='form-check-input' value='$v' checked='checked'> $v</label></div>"; | |||||
$myformItem .= "<div class='form-check form-check-inline'><label class='form-check-label'><input type='checkbox' name='{$fieldname}[]' class='form-check-input' value='$v' checked> $v</label></div>"; | |||||
} else { | } else { | ||||
$myformItem .= "<div class='form-check form-check-inline'><label class='form-check-label'><input type='checkbox' name='{$fieldname}[]' class='form-check-input' value='$v'> $v</label></div>"; | $myformItem .= "<div class='form-check form-check-inline'><label class='form-check-label'><input type='checkbox' name='{$fieldname}[]' class='form-check-input' value='$v'> $v</label></div>"; | ||||
} | } | ||||
@@ -31,7 +31,7 @@ if (!function_exists('obtaintags')) { | |||||
$dsql->Execute('tag',$query); | $dsql->Execute('tag',$query); | ||||
while($row = $dsql->GetArray('tag')) { | while($row = $dsql->GetArray('tag')) { | ||||
$link = "/apps/tags.php?/{$row['tid']}"; | $link = "/apps/tags.php?/{$row['tid']}"; | ||||
$tags .= ($tags == '' ? "<a href='{$link}'>{$row['tag']}</a>":"<a href='{$link}'>{$row['tag']}</a>"); | |||||
$tags .= ($tags == '' ? "<a href='{$link}'>{$row['tag']}</a>" : "<a href='{$link}'>{$row['tag']}</a>"); | |||||
} | } | ||||
return $tags; | return $tags; | ||||
} | } | ||||
@@ -105,12 +105,12 @@ function obtainfilter($channelid, $type = 1, $fieldsnamef = '', $defaulttid = 0, | |||||
break; | break; | ||||
case 3: | case 3: | ||||
$biz_addonfields .= '<p>'; | $biz_addonfields .= '<p>'; | ||||
$biz_addonfields .= (preg_match("/&".$ctag->GetName()."=/is",$filterarr,$regm) ? '<a href="'.str_replace("&".$ctag->GetName()."=".$fields_value,"",$filterarr).'"><input type="radio" name="filter'.$ctag->GetName().'" value="'.str_replace("&".$ctag->GetName()."=".$fields_value,"",$filterarr).'" onclick="window.location=this.value">全部</a>' : '<span><input type="radio" name="filter'.$ctag->GetName().'" checked="checked">全部</span>'); | |||||
$biz_addonfields .= (preg_match("/&".$ctag->GetName()."=/is",$filterarr,$regm) ? '<a href="'.str_replace("&".$ctag->GetName()."=".$fields_value,"",$filterarr).'"><input type="radio" name="filter'.$ctag->GetName().'" value="'.str_replace("&".$ctag->GetName()."=".$fields_value,"",$filterarr).'" onclick="window.location=this.value">全部</a>' : '<span><input type="radio" name="filter'.$ctag->GetName().'" checked>全部</span>'); | |||||
$addonfields_items = explode(",",$ctag->GetAtt('default')); | $addonfields_items = explode(",",$ctag->GetAtt('default')); | ||||
for ($i=0; $i<count($addonfields_items); $i++) | for ($i=0; $i<count($addonfields_items); $i++) | ||||
{ | { | ||||
$href = stripos($filterarr,$ctag->GetName().'=') ? str_replace("=".$fields_value,"=".urlencode($addonfields_items[$i]),$filterarr) : $filterarr.'&'.$ctag->GetName().'='.urlencode($addonfields_items[$i]); | $href = stripos($filterarr,$ctag->GetName().'=') ? str_replace("=".$fields_value,"=".urlencode($addonfields_items[$i]),$filterarr) : $filterarr.'&'.$ctag->GetName().'='.urlencode($addonfields_items[$i]); | ||||
$biz_addonfields .= ($fields_value!=urlencode($addonfields_items[$i]) ? '<a title="'.$addonfields_items[$i].'" href="'.$href.'"><input type="radio" name="filter'.$ctag->GetName().'" value="'.$href.'" onclick="window.location=this.value">'.$addonfields_items[$i].'</a>' : '<span><input type="radio" name="filter'.$ctag->GetName().'" checked="checked">'.$addonfields_items[$i].'</span>'); | |||||
$biz_addonfields .= ($fields_value!=urlencode($addonfields_items[$i]) ? '<a title="'.$addonfields_items[$i].'" href="'.$href.'"><input type="radio" name="filter'.$ctag->GetName().'" value="'.$href.'" onclick="window.location=this.value">'.$addonfields_items[$i].'</a>' : '<span><input type="radio" name="filter'.$ctag->GetName().'" checked>'.$addonfields_items[$i].'</span>'); | |||||
} | } | ||||
$biz_addonfields .= '</p>'; | $biz_addonfields .= '</p>'; | ||||
break; | break; | ||||
@@ -72,12 +72,12 @@ | |||||
</tr> | </tr> | ||||
<tr> | <tr> | ||||
<td>显示条数:</td> | <td>显示条数:</td> | ||||
<td><input name="pagesize" type="text" id="pagesize" value="10" size="4" class="form-control"></td> | |||||
<td><input name="pagesize" type="text" id="pagesize" value="10" class="form-control"></td> | |||||
</tr> | </tr> | ||||
<tr> | <tr> | ||||
<td>关键词模式:</td> | <td>关键词模式:</td> | ||||
<td> | <td> | ||||
<label><input type="radio" name="kwtype" value="1" checked="checked"> 或</label> | |||||
<label><input type="radio" name="kwtype" value="1" checked> 或</label> | |||||
<label><input type="radio" name="kwtype" value="0"> 与</label> | <label><input type="radio" name="kwtype" value="0"> 与</label> | ||||
</td> | </td> | ||||
</tr> | </tr> | ||||
@@ -72,9 +72,9 @@ | |||||
<input name="ddmaxwidth" type="hidden" value="<?php echo $cfg_album_ddwidth;?>"> | <input name="ddmaxwidth" type="hidden" value="<?php echo $cfg_album_ddwidth;?>"> | ||||
<div class="form-group"> | <div class="form-group"> | ||||
<span class="input-text">表现方式:<span> | <span class="input-text">表现方式:<span> | ||||
<label class="input-text mb-0"><input type="radio" name="pagestyle" id="pagestyle1" onclick="checkMuList();" value="1" <?php if ($cfg_album_style==1) echo " checked='checked'";?>> 多页多图显示</label> | |||||
<label class="input-text mb-0"><input type="radio" name="pagestyle" id="pagestyle2" onclick="checkMuList();" value="2" <?php if ($cfg_album_style==2) echo " checked='checked'";?>> 多页单图显示</label> | |||||
<label class="input-text mb-0"><input type="radio" name="pagestyle" id="pagestyle3" onclick="checkMuList();" value="3" <?php if ($cfg_album_style==3) echo " checked='checked'";?>> 多行多列显示</label> | |||||
<label class="input-text mb-0"><input type="radio" name="pagestyle" id="pagestyle1" onclick="checkMuList();" value="1" <?php if ($cfg_album_style==1) echo 'checked';?>> 多页多图显示</label> | |||||
<label class="input-text mb-0"><input type="radio" name="pagestyle" id="pagestyle2" onclick="checkMuList();" value="2" <?php if ($cfg_album_style==2) echo 'checked';?>> 多页单图显示</label> | |||||
<label class="input-text mb-0"><input type="radio" name="pagestyle" id="pagestyle3" onclick="checkMuList();" value="3" <?php if ($cfg_album_style==3) echo 'checked';?>> 多行多列显示</label> | |||||
<label id="spagelist" class="input-text mb-0" style="display:none">每页图片数:<input name="pagpicnum" id="pagpicnum" class="form-control w-25" value="<?php echo $cfg_album_pagesize;?>"></label> | <label id="spagelist" class="input-text mb-0" style="display:none">每页图片数:<input name="pagpicnum" id="pagpicnum" class="form-control w-25" value="<?php echo $cfg_album_pagesize;?>"></label> | ||||
</div> | </div> | ||||
<div class="form-group"> | <div class="form-group"> | ||||
@@ -75,9 +75,9 @@ | |||||
<input name="ddmaxwidth" type="hidden" value="<?php echo $abinfo->GetAtt('ddmaxwidth');?>"> | <input name="ddmaxwidth" type="hidden" value="<?php echo $abinfo->GetAtt('ddmaxwidth');?>"> | ||||
<div class="form-group"> | <div class="form-group"> | ||||
<span class="input-text">表现方式:<span> | <span class="input-text">表现方式:<span> | ||||
<label class="input-text mb-0"><input type="radio" name="pagestyle" id="pagestyle1" onclick="checkMuList();" value="1" <?php if ($cfg_album_style==1) echo " checked='checked'";?>> 多页多图显示</label> | |||||
<label class="input-text mb-0"><input type="radio" name="pagestyle" id="pagestyle2" onclick="checkMuList();" value="2" <?php if ($cfg_album_style==2) echo " checked='checked'";?>> 多页单图显示</label> | |||||
<label class="input-text mb-0"><input type="radio" name="pagestyle" id="pagestyle3" onclick="checkMuList();" value="3" <?php if ($cfg_album_style==3) echo " checked='checked'";?>> 多行多列显示</label> | |||||
<label class="input-text mb-0"><input type="radio" name="pagestyle" id="pagestyle1" onclick="checkMuList();" value="1" <?php if ($cfg_album_style==1) echo 'checked';?>> 多页多图显示</label> | |||||
<label class="input-text mb-0"><input type="radio" name="pagestyle" id="pagestyle2" onclick="checkMuList();" value="2" <?php if ($cfg_album_style==2) echo 'checked';?>> 多页单图显示</label> | |||||
<label class="input-text mb-0"><input type="radio" name="pagestyle" id="pagestyle3" onclick="checkMuList();" value="3" <?php if ($cfg_album_style==3) echo 'checked';?>> 多行多列显示</label> | |||||
<label id="spagelist" class="input-text mb-0" style="<?php if ($abinfo->GetAtt('value')!=1) echo 'display:none';?>">每页图片数:<input name="pagpicnum" id="pagpicnum" class="form-control w-25" value="<?php echo $abinfo->GetAtt('pagpicnum');?>"></label> | <label id="spagelist" class="input-text mb-0" style="<?php if ($abinfo->GetAtt('value')!=1) echo 'display:none';?>">每页图片数:<input name="pagpicnum" id="pagpicnum" class="form-control w-25" value="<?php echo $abinfo->GetAtt('pagpicnum');?>"></label> | ||||
</div> | </div> | ||||
<div class="form-group"> | <div class="form-group"> | ||||
@@ -93,7 +93,7 @@ | |||||
if ($ctag->GetName()=="img") { | if ($ctag->GetName()=="img") { | ||||
?> | ?> | ||||
<div class="mb-3"> | <div class="mb-3"> | ||||
<label class="mb-0"><input type="checkbox" name="isokcheck<?php echo $j;?>" id="isokcheck<?php echo $j;?>" value="1" onclick="CheckSelTable(<?php echo $j;?>)" checked="checked"> 显示图片<?php echo $j;?>上传框</label> | |||||
<label class="mb-0"><input type="checkbox" name="isokcheck<?php echo $j;?>" id="isokcheck<?php echo $j;?>" value="1" onclick="CheckSelTable(<?php echo $j;?>)" checked> 显示图片<?php echo $j;?>上传框</label> | |||||
</div> | </div> | ||||
<div id="seltb<?php echo $j;?>" class="mb-3"> | <div id="seltb<?php echo $j;?>" class="mb-3"> | ||||
<div class="mb-3"><img src="<?php echo trim($ctag->GetInnerText());?>" class="thumbnail-md"></div> | <div class="mb-3"><img src="<?php echo trim($ctag->GetInnerText());?>" class="thumbnail-md"></div> | ||||
@@ -20,9 +20,9 @@ | |||||
<div class="col-md-9"> | <div class="col-md-9"> | ||||
<div class="pannel-main-container shadow-sm rounded"> | <div class="pannel-main-container shadow-sm rounded"> | ||||
<ul class="nav mb-3"> | <ul class="nav mb-3"> | ||||
<li class="nav-item"><a href="<?php echo $cfg_memberurl;?>/content_list.php?channelid=<?php echo $channelid;?>" class="nav-link <?php echo ($arcrank=='') ? 'active':'';?>">全部</a></li> | |||||
<li class="nav-item"><a href="<?php echo $cfg_memberurl;?>/content_list.php?channelid=<?php echo $channelid;?>&arcrank=1" class="nav-link <?php echo ($arcrank=='1') ? 'active':'';?>">已审核</a></li> | |||||
<li class="nav-item"><a href="<?php echo $cfg_memberurl;?>/content_list.php?channelid=<?php echo $channelid;?>&arcrank=-1" class="nav-link <?php echo ($arcrank=='-1') ? 'active':'';?>">待审核</a></li> | |||||
<li class="nav-item"><a href="<?php echo $cfg_memberurl;?>/content_list.php?channelid=<?php echo $channelid;?>" class="nav-link <?php echo ($arcrank=='') ? 'active' : '';?>">全部</a></li> | |||||
<li class="nav-item"><a href="<?php echo $cfg_memberurl;?>/content_list.php?channelid=<?php echo $channelid;?>&arcrank=1" class="nav-link <?php echo ($arcrank=='1') ? 'active' : '';?>">已审核</a></li> | |||||
<li class="nav-item"><a href="<?php echo $cfg_memberurl;?>/content_list.php?channelid=<?php echo $channelid;?>&arcrank=-1" class="nav-link <?php echo ($arcrank=='-1') ? 'active' : '';?>">待审核</a></li> | |||||
<li class="nav-item"><a href="<?php echo $cfg_memberurl;?>/archives_do.php?dopost=addArc&channelid=<?php echo $channelid;?>" class="nav-link">发布</a></li> | <li class="nav-item"><a href="<?php echo $cfg_memberurl;?>/archives_do.php?dopost=addArc&channelid=<?php echo $channelid;?>" class="nav-link">发布</a></li> | ||||
</ul> | </ul> | ||||
<div class="table-responsive"> | <div class="table-responsive"> | ||||
@@ -20,9 +20,9 @@ | |||||
<div class="col-md-9"> | <div class="col-md-9"> | ||||
<div class="pannel-main-container shadow-sm rounded"> | <div class="pannel-main-container shadow-sm rounded"> | ||||
<ul class="nav mb-3"> | <ul class="nav mb-3"> | ||||
<li class="nav-item"><a href="<?php echo $cfg_memberurl;?>/content_sg_list.php?channelid=<?php echo $channelid;?>" class="nav-link <?php echo ($arcrank=='') ? 'active':'';?>">全部</a></li> | |||||
<li class="nav-item"><a href="<?php echo $cfg_memberurl;?>/content_sg_list.php?channelid=<?php echo $channelid;?>&arcrank=1" class="nav-link <?php echo ($arcrank=='1') ? 'active':'';?>">已审核</a></li> | |||||
<li class="nav-item"><a href="<?php echo $cfg_memberurl;?>/content_sg_list.php?channelid=<?php echo $channelid;?>&arcrank=-1" class="nav-link <?php echo ($arcrank=='-1') ? 'active':'';?>">待审核</a></li> | |||||
<li class="nav-item"><a href="<?php echo $cfg_memberurl;?>/content_sg_list.php?channelid=<?php echo $channelid;?>" class="nav-link <?php echo ($arcrank=='') ? 'active' : '';?>">全部</a></li> | |||||
<li class="nav-item"><a href="<?php echo $cfg_memberurl;?>/content_sg_list.php?channelid=<?php echo $channelid;?>&arcrank=1" class="nav-link <?php echo ($arcrank=='1') ? 'active' : '';?>">已审核</a></li> | |||||
<li class="nav-item"><a href="<?php echo $cfg_memberurl;?>/content_sg_list.php?channelid=<?php echo $channelid;?>&arcrank=-1" class="nav-link <?php echo ($arcrank=='-1') ? 'active' : '';?>">待审核</a></li> | |||||
<li class="nav-item"><a href="<?php echo $cfg_memberurl;?>/archives_do.php?dopost=addArc&channelid=<?php echo $channelid;?>" class="nav-link">发布</a></li> | <li class="nav-item"><a href="<?php echo $cfg_memberurl;?>/archives_do.php?dopost=addArc&channelid=<?php echo $channelid;?>" class="nav-link">发布</a></li> | ||||
</ul> | </ul> | ||||
<div class="table-responsive"> | <div class="table-responsive"> | ||||
@@ -67,9 +67,9 @@ | |||||
<div class="form-group row"> | <div class="form-group row"> | ||||
<span class="col-sm-3 col-form-label">性别:</span> | <span class="col-sm-3 col-form-label">性别:</span> | ||||
<div class="col-sm-9 input-text"> | <div class="col-sm-9 input-text"> | ||||
<label><input type="radio" name="sex" value="男" <?php if ($row['sex']=='男') echo "checked='checked'" ;?>> 男</label> | |||||
<label><input type="radio" name="sex" value="女" <?php if ($row['sex']=='女') echo "checked='checked'" ;?>> 女</label> | |||||
<label><input type="radio" name="sex" value="保密" <?php if ($row['sex']=='保密') echo "checked='checked'" ;?>> 保密</label> | |||||
<label><input type="radio" name="sex" value="男" <?php if ($row['sex']=='男') echo 'checked';?>> 男</label> | |||||
<label><input type="radio" name="sex" value="女" <?php if ($row['sex']=='女') echo 'checked';?>> 女</label> | |||||
<label><input type="radio" name="sex" value="保密" <?php if ($row['sex']=='保密') echo 'checked';?>> 保密</label> | |||||
</div> | </div> | ||||
</div> | </div> | ||||
<div class="text-center"><button type="submit" class="btn btn-success btn-sm">保存</button></div> | <div class="text-center"><button type="submit" class="btn btn-success btn-sm">保存</button></div> | ||||
@@ -20,8 +20,8 @@ | |||||
<div class="col-md-9"> | <div class="col-md-9"> | ||||
<div class="pannel-main-container shadow-sm rounded"> | <div class="pannel-main-container shadow-sm rounded"> | ||||
<ul class="nav mb-3"> | <ul class="nav mb-3"> | ||||
<li class="nav-item"><a href="<?php echo $cfg_memberurl;?>/mystow.php" class="nav-link <?php echo $rank==='' ? 'active':'';?>">我的收藏</a></li> | |||||
<li class="nav-item"><a href="<?php echo $cfg_memberurl;?>/mystow.php?rank=top" class="nav-link <?php echo $rank==='top' ? 'active':'';?>">收藏排行</a></li> | |||||
<li class="nav-item"><a href="<?php echo $cfg_memberurl;?>/mystow.php" class="nav-link <?php echo $rank==='' ? 'active' : '';?>">我的收藏</a></li> | |||||
<li class="nav-item"><a href="<?php echo $cfg_memberurl;?>/mystow.php?rank=top" class="nav-link <?php echo $rank==='top' ? 'active' : '';?>">收藏排行</a></li> | |||||
</ul> | </ul> | ||||
<table class="table"> | <table class="table"> | ||||
<tbody> | <tbody> | ||||