@@ -85,7 +85,7 @@ else if ($action == 'editload') { | |||
</td> | |||
</tr> | |||
<tr> | |||
<td height="30"> </td> | |||
<td height="30"></td> | |||
<td colspan="2"> | |||
使用不带http及任何附加目录的网址<br> | |||
如:news.dedebiz.com | |||
@@ -96,11 +96,11 @@ else if ($action == 'editload') { | |||
<td colspan="2">仅针对文章内容,格式:前面HTML{@body}后面HMTL</td> | |||
</tr> | |||
<tr> | |||
<td height="90"> </td> | |||
<td height="90"></td> | |||
<td colspan="2"><textarea name="rule" style="width:300px;height:80px"><?php echo $row['rule']; ?></textarea></td> | |||
</tr> | |||
<tr> | |||
<td height="30"> </td> | |||
<td height="30"></td> | |||
<td colspan="2"><button class="btn btn-success btn-sm" type="submit" name="Submit" value="">保存规则</button> | |||
<button type="reset" class="btn btn-success btn-sm" name="Submit2">重置</button></td> | |||
</tr> | |||
@@ -81,7 +81,7 @@ if ($dojob == '') { | |||
exit(); | |||
} | |||
$dvlen = $tjlen * 2; | |||
$tjsta = "<div style='width:200;height:15;border:1px solid #898989;text-align:left'><div style='width:$dvlen;height:15;background-color:#829D83'></div></div>"; | |||
$tjsta = "<div style='width:200px;height:16px;border:1px solid #898989;text-align:left'><div style='width:200px;height:16px;background-color:#829D83'></div></div>"; | |||
$tjsta .= "<br>完成处理文档总数的:$tjlen %,继续执行任务"; | |||
$nurl = "article_description_main.php?totalnum=$totalnum&startdd={$startdd}&pagesize=$pagesize&table={$table}&field={$field}&dsize={$dsize}&msize={$msize}&channel={$channel}&dojob={$dojob}"; | |||
ShowMsg($tjsta, $nurl, 0, 500); | |||
@@ -142,7 +142,7 @@ if ($dojob == '') { | |||
$tjlen = 100; | |||
} | |||
$dvlen = $tjlen * 2; | |||
$tjsta = "<div style='width:200;height:15;border:1px solid #898989;text-align:left'><div style='width:$dvlen;height:15;background-color:#829D83'></div></div>"; | |||
$tjsta = "<div style='width:200px;height:16px;border:1px solid #898989;text-align:left'><div style='width:200px;height:16px;background-color:#829D83'></div></div>"; | |||
$tjsta .= "<br>完成处理文档总数的:$tjlen %,继续执行任务"; | |||
if ($tjnum < $totalnum) { | |||
@@ -188,7 +188,7 @@ else if ($dopost == 'fetch') { | |||
else $tjlen = 100; | |||
$dvlen = $tjlen * 2; | |||
$tjsta = "<div style='width:200;height:15;border:1px solid #898989;text-align:left'><div style='width:$dvlen;height:15;background-color:#829D83'></div></div>"; | |||
$tjsta = "<div style='width:200px;height:16px;border:1px solid #898989;text-align:left'><div style='width:200px;height:16px;background-color:#829D83'></div></div>"; | |||
$tjsta .= "<br>完成处理文档总数的:$tjlen %,位置:{$startdd},继续执行任务"; | |||
if ($tjnum < $totalnum) { | |||
@@ -188,12 +188,12 @@ if ($dopost == 'time') { | |||
</tr> | |||
<tr> | |||
<td class='bline' height="26" align="center"> 排列顺序:</td> | |||
<td class='bline'> <input name="sortrank" type="text" value="<?php echo $myrow['sortrank'] ?>" style="width:100" class="iptxt">(由低 > 高)</td> | |||
<td class='bline'> <input name="sortrank" type="text" value="<?php echo $myrow['sortrank'] ?>" style="width:100px" class="iptxt">(由低 > 高)</td> | |||
</tr> | |||
<tr> | |||
<td class='bline' height="26" align="center">浏览权限:</td> | |||
<td class='bline'> | |||
<select name="corank" id="corank" style="width:100"> | |||
<select name="corank" id="corank" style="width:100px"> | |||
<?php | |||
$dsql->SetQuery("SELECT * FROM `#@__arcrank` WHERE `rank` >= 0"); | |||
$dsql->Execute(); | |||
@@ -72,46 +72,46 @@ function GetFormItem($ctag) | |||
$formitem .= "</td></tr></table>\r\n"; | |||
return $formitem; | |||
} else if ($ctag->GetAtt("type") == "multitext") { | |||
$innertext = "<textarea name='$fieldname' id='$fieldname' style='width:100%;height:80'></textarea>\r\n"; | |||
$innertext = "<textarea name='$fieldname' id='$fieldname' style='width:100%;height:80px'></textarea>\r\n"; | |||
$formitem = str_replace("~name~", $ctag->GetAtt('itemname'), $formitem); | |||
$formitem = str_replace("~form~", $innertext, $formitem); | |||
return $formitem; | |||
} else if ($ctag->GetAtt("type") == "datetime") { | |||
$nowtime = GetDateTimeMk(time()); | |||
$innertext = "<input name=\"$fieldname\" value=\"$nowtime\" type=\"text\" id=\"$fieldname\" style=\"width:200\">"; | |||
$innertext = "<input name=\"$fieldname\" value=\"$nowtime\" type=\"text\" id=\"$fieldname\" style=\"width:200px\">"; | |||
$innertext .= "<input name=\"selPubtime\" type=\"button\" id=\"selkeyword\" value=\"选择\" onClick=\"showCalendar('$fieldname', 'Y-m-d H:i:00', '24');\">"; | |||
$formitem = str_replace("~name~", $ctag->GetAtt('itemname'), $formitem); | |||
$formitem = str_replace("~form~", $innertext, $formitem); | |||
return $formitem; | |||
} else if ($ctag->GetAtt("type") == "img") { | |||
$innertext = "<input type='text' name='$fieldname' id='$fieldname' style='width:300'><input name='".$fieldname."_bt' type='button' value='浏览' onClick=\"SelectImage('form1.$fieldname','big')\">\r\n"; | |||
$innertext = "<input type='text' name='$fieldname' id='$fieldname' style='width:300px'><input name='".$fieldname."_bt' type='button' value='浏览' onClick=\"SelectImage('form1.$fieldname','big')\">\r\n"; | |||
$formitem = str_replace("~name~", $ctag->GetAtt('itemname'), $formitem); | |||
$formitem = str_replace("~form~", $innertext, $formitem); | |||
return $formitem; | |||
} else if ($ctag->GetAtt("type") == "media") { | |||
$innertext = "<input type='text' name='$fieldname' id='$fieldname' style='width:300'><input name='".$fieldname."_bt' type='button' value='浏览' onClick=\"SelectMedia('form1.$fieldname')\">\r\n"; | |||
$innertext = "<input type='text' name='$fieldname' id='$fieldname' style='width:300px'><input name='".$fieldname."_bt' type='button' value='浏览' onClick=\"SelectMedia('form1.$fieldname')\">\r\n"; | |||
$formitem = str_replace("~name~", $ctag->GetAtt('itemname'), $formitem); | |||
$formitem = str_replace("~form~", $innertext, $formitem); | |||
return $formitem; | |||
} else if ($ctag->GetAtt("type") == "addon") { | |||
$innertext = "<input type='text' name='$fieldname' id='$fieldname' style='width:300'><input name='".$fieldname."_bt' type='button' value='浏览' onClick=\"SelectSoft('form1.$fieldname')\">\r\n"; | |||
$innertext = "<input type='text' name='$fieldname' id='$fieldname' style='width:300px'><input name='".$fieldname."_bt' type='button' value='浏览' onClick=\"SelectSoft('form1.$fieldname')\">\r\n"; | |||
$formitem = str_replace("~name~", $ctag->GetAtt('itemname'), $formitem); | |||
$formitem = str_replace("~form~", $innertext, $formitem); | |||
return $formitem; | |||
} else if ($ctag->GetAtt("type") == "media") { | |||
$innertext = "<input type='text' name='$fieldname' id='$fieldname' style='width:300'><input name='".$fieldname."_bt' type='button' value='浏览' onClick=\"SelectMedia('form1.$fieldname')\">\r\n"; | |||
$innertext = "<input type='text' name='$fieldname' id='$fieldname' style='width:300px'><input name='".$fieldname."_bt' type='button' value='浏览' onClick=\"SelectMedia('form1.$fieldname')\">\r\n"; | |||
$formitem = str_replace("~name~", $ctag->GetAtt('itemname'), $formitem); | |||
$formitem = str_replace("~form~", $innertext, $formitem); | |||
return $formitem; | |||
} else if ($ctag->GetAtt("type") == "relation") { | |||
$innertext = "<textarea name='$fieldname' id='$fieldname' style='width:100%;height:80'></textarea>\r\n"; | |||
$innertext = "<textarea name='$fieldname' id='$fieldname' style='width:100%;height:80px'></textarea>\r\n"; | |||
$formitem = str_replace("~name~", $ctag->GetAtt('itemname'), $formitem); | |||
$formitem = str_replace("~form~", $innertext, $formitem); | |||
return $formitem; | |||
} else { | |||
if ($ctag->GetAtt('default') != "") $dfvalue = $ctag->GetAtt('default'); | |||
else $dfvalue = ""; | |||
$innertext = "<input type='text' name='$fieldname' id='$fieldname' style='width:200' value='$dfvalue'>\r\n"; | |||
$innertext = "<input type='text' name='$fieldname' id='$fieldname' style='width:200px' value='$dfvalue'>\r\n"; | |||
$formitem = str_replace("~name~", $ctag->GetAtt('itemname'), $formitem); | |||
$formitem = str_replace("~form~", $innertext, $formitem); | |||
return $formitem; | |||
@@ -289,13 +289,13 @@ function GetFormItemValue($ctag, $fvalue) | |||
$formitem .= "</tr></table>\r\n"; | |||
return $formitem; | |||
} else if ($ctag->GetAtt("type") == "multitext") { | |||
$innertext = "<textarea name='$fieldname' id='$fieldname' style='width:100%;height:80'>$fvalue</textarea>\r\n"; | |||
$innertext = "<textarea name='$fieldname' id='$fieldname' style='width:100%;height:80px'>$fvalue</textarea>\r\n"; | |||
$formitem = str_replace("~name~", $ctag->GetAtt('itemname'), $formitem); | |||
$formitem = str_replace("~form~", $innertext, $formitem); | |||
return $formitem; | |||
} else if ($ctag->GetAtt("type") == "datetime") { | |||
$nowtime = GetDateTimeMk($fvalue); | |||
$innertext = "<input name=\"$fieldname\" value=\"$nowtime\" type=\"text\" id=\"$fieldname\" style=\"width:200\">"; | |||
$innertext = "<input name=\"$fieldname\" value=\"$nowtime\" type=\"text\" id=\"$fieldname\" style=\"width:200px\">"; | |||
$innertext .= "<input name=\"selPubtime\" type=\"button\" id=\"selkeyword\" value=\"选择\" onClick=\"showCalendar('$fieldname', 'Y-m-d H:i:00', '24');\">"; | |||
$formitem = str_replace("~name~", $ctag->GetAtt('itemname'), $formitem); | |||
$formitem = str_replace("~form~", $innertext, $formitem); | |||
@@ -309,22 +309,22 @@ function GetFormItemValue($ctag, $fvalue) | |||
} | |||
$ntag = $ndtp->GetTag("img"); | |||
$fvalue = trim($ntag->GetInnerText()); | |||
$innertext = "<input type='text' name='$fieldname' value='$fvalue' id='$fieldname' style='width:300'><input name='".$fieldname."_bt' type='button' value='浏览' onClick=\"SelectImage('form1.$fieldname','big')\">\r\n"; | |||
$innertext = "<input type='text' name='$fieldname' value='$fvalue' id='$fieldname' style='width:300px'><input name='".$fieldname."_bt' type='button' value='浏览' onClick=\"SelectImage('form1.$fieldname','big')\">\r\n"; | |||
$formitem = str_replace("~name~", $ctag->GetAtt('itemname'), $formitem); | |||
$formitem = str_replace("~form~", $innertext, $formitem); | |||
return $formitem; | |||
} else if ($ctag->GetAtt("type") == "media") { | |||
$innertext = "<input type='text' name='$fieldname' value='$fvalue' id='$fieldname' style='width:300'><input name='".$fieldname."_bt' type='button' value='浏览' onClick=\"SelectMedia('form1.$fieldname')\">\r\n"; | |||
$innertext = "<input type='text' name='$fieldname' value='$fvalue' id='$fieldname' style='width:300px'><input name='".$fieldname."_bt' type='button' value='浏览' onClick=\"SelectMedia('form1.$fieldname')\">\r\n"; | |||
$formitem = str_replace("~name~", $ctag->GetAtt('itemname'), $formitem); | |||
$formitem = str_replace("~form~", $innertext, $formitem); | |||
return $formitem; | |||
} else if ($ctag->GetAtt("type") == "addon") { | |||
$innertext = "<input type='text' name='$fieldname' id='$fieldname' value='$fvalue' style='width:300'><input name='".$fieldname."_bt' type='button' value='浏览' onClick=\"SelectSoft('form1.$fieldname')\">\r\n"; | |||
$innertext = "<input type='text' name='$fieldname' id='$fieldname' value='$fvalue' style='width:300px'><input name='".$fieldname."_bt' type='button' value='浏览' onClick=\"SelectSoft('form1.$fieldname')\">\r\n"; | |||
$formitem = str_replace("~name~", $ctag->GetAtt('itemname'), $formitem); | |||
$formitem = str_replace("~form~", $innertext, $formitem); | |||
return $formitem; | |||
} else { | |||
$innertext = "<input type='text' name='$fieldname' id='$fieldname' style='width:200' value='$fvalue'>\r\n"; | |||
$innertext = "<input type='text' name='$fieldname' id='$fieldname' style='width:200px' value='$fvalue'>\r\n"; | |||
$formitem = str_replace("~name~", $ctag->GetAtt('itemname'), $formitem); | |||
$formitem = str_replace("~form~", $innertext, $formitem); | |||
return $formitem; | |||
@@ -70,7 +70,7 @@ function CheckPic($picname) | |||
if ($picname != "") { | |||
return $picname; | |||
} else { | |||
return "images/dfpic.gif"; | |||
return "/static/web/img/defaultpic.jpg"; | |||
} | |||
} | |||
//判断内容是否生成HTML | |||
@@ -6,8 +6,7 @@ | |||
* @license https://www.dedebiz.com/license | |||
* @link https://www.dedebiz.com | |||
*/ | |||
//---事件句并------------------------------ | |||
//事件句并 | |||
function fileQueueError(file, errorCode, message) { | |||
try { | |||
var imageName = "error.gif"; | |||
@@ -15,12 +14,10 @@ function fileQueueError(file, errorCode, message) { | |||
if (errorCode === SWFUpload.errorCode_QUEUE_LIMIT_EXCEEDED) { | |||
errorName = "您添加的文件超过了限制"; | |||
} | |||
if (errorName !== "") { | |||
alert(errorName); | |||
return; | |||
} | |||
switch (errorCode) { | |||
case SWFUpload.QUEUE_ERROR.ZERO_BYTE_FILE: | |||
imageName = "zerobyte.gif"; | |||
@@ -40,7 +37,6 @@ function fileQueueError(file, errorCode, message) { | |||
} | |||
} | |||
function fileDialogComplete(numFilesSelected, numFilesQueued) { | |||
try { | |||
if (numFilesQueued > 0) { | |||
@@ -50,7 +46,6 @@ function fileDialogComplete(numFilesSelected, numFilesQueued) { | |||
this.debug(ex); | |||
} | |||
} | |||
function uploadProgress(file, bytesLoaded) { | |||
try { | |||
var percent = Math.ceil((bytesLoaded / file.size) * 100); | |||
@@ -67,31 +62,26 @@ function uploadProgress(file, bytesLoaded) { | |||
this.debug(ex); | |||
} | |||
} | |||
function uploadSuccess(file, serverData) { | |||
try { | |||
var progress = new FileProgress(file, this.customSettings.upload_target); | |||
if (serverData.substring(0, 7) === "FILEID:") { | |||
addImage("swfupload.php?dopost=thumbnail&id=" + serverData.substring(7), serverData.substring(7)); | |||
progress.setStatus("获取缩略图..."); | |||
progress.setStatus("获取缩略图"); | |||
progress.toggleCancel(false); | |||
} else { | |||
addImage("images/error.gif", 0); | |||
progress.setStatus("有错误"); | |||
progress.toggleCancel(false); | |||
alert(serverData); | |||
} | |||
} catch (ex) { | |||
this.debug(ex); | |||
} | |||
} | |||
function uploadComplete(file) { | |||
try { | |||
/* I want the next upload to continue automatically so I'll call startUpload here */ | |||
if (this.getStats().files_queued > 0) { | |||
this.startUpload(); | |||
} else { | |||
@@ -104,7 +94,6 @@ function uploadComplete(file) { | |||
this.debug(ex); | |||
} | |||
} | |||
function uploadError(file, errorCode, message) { | |||
var imageName = "error.gif"; | |||
var progress; | |||
@@ -138,91 +127,73 @@ function uploadError(file, errorCode, message) { | |||
alert(message); | |||
break; | |||
} | |||
addImage("images/" + imageName, 0); | |||
} catch (ex3) { | |||
this.debug(ex3); | |||
} | |||
} | |||
var albImg = 0; | |||
function addImage(src, pid) { | |||
var newImgDiv = document.createElement("div"); | |||
var delstr = ''; | |||
var iptwidth = 190; | |||
var iptwidth = 160; | |||
albImg++; | |||
if (pid != 0) { | |||
albImg = 'ok' + pid; | |||
delstr = '<a href="javascript:delAlbPic(' + pid + ')">[删除]</a>'; | |||
delstr = '<a class="btn btn-success btn-sm" href="javascript:delAlbPic(' + pid + ')">删除</a>'; | |||
} else { | |||
albImg = 'err' + albImg; | |||
} | |||
newImgDiv.className = 'albCt'; | |||
newImgDiv.id = 'albCt' + albImg; | |||
document.getElementById("thumbnails").appendChild(newImgDiv); | |||
newImgDiv.innerHTML = '<img src="' + src + '" width="120" />' + delstr; | |||
newImgDiv.innerHTML = '<img src="' + src + '" style="width:120px">' + delstr; | |||
if (typeof arctype != 'undefined' && arctype == 'article') { | |||
iptwidth = 100; | |||
if (pid != 0) { | |||
newImgDiv.innerHTML = '<img src="' + src + '" width="120" onClick="addtoEdit(' + pid + ')"/>' + delstr; | |||
newImgDiv.innerHTML = '<img src="' + src + '" style="width:120px" onClick="addtoEdit(' + pid + ')">' + delstr; | |||
} | |||
} | |||
newImgDiv.innerHTML += '<div style="margin-top:10px">注释:<input type="text" name="picinfo' + albImg + '" value="" style="width:' + iptwidth + 'px;" /></div>'; | |||
newImgDiv.innerHTML += '<div style="margin-top:10px">注释:<input type="text" name="picinfo' + albImg + '" value="" style="width:' + iptwidth + 'px;"></div>'; | |||
} | |||
/* ****************************************** | |||
* FileProgress Object | |||
* Control object for displaying file info | |||
* ****************************************** */ | |||
function FileProgress(file, targetID) { | |||
this.fileProgressID = "divFileProgress"; | |||
this.fileProgressWrapper = document.getElementById(this.fileProgressID); | |||
if (!this.fileProgressWrapper) { | |||
this.fileProgressWrapper = document.createElement("div"); | |||
this.fileProgressWrapper.className = "progressWrapper"; | |||
this.fileProgressWrapper.id = this.fileProgressID; | |||
this.fileProgressElement = document.createElement("div"); | |||
this.fileProgressElement.className = "progressContainer"; | |||
var progressCancel = document.createElement("a"); | |||
progressCancel.className = "progressCancel"; | |||
progressCancel.href = "#"; | |||
progressCancel.style.visibility = "hidden"; | |||
progressCancel.appendChild(document.createTextNode(" ")); | |||
var progressText = document.createElement("div"); | |||
progressText.className = "progressName"; | |||
progressText.appendChild(document.createTextNode(file.name)); | |||
var progressBar = document.createElement("div"); | |||
progressBar.className = "progressBarInProgress"; | |||
var progressStatus = document.createElement("div"); | |||
progressStatus.className = "progressBarStatus"; | |||
progressStatus.innerHTML = " "; | |||
this.fileProgressElement.appendChild(progressCancel); | |||
this.fileProgressElement.appendChild(progressText); | |||
this.fileProgressElement.appendChild(progressStatus); | |||
this.fileProgressElement.appendChild(progressBar); | |||
this.fileProgressWrapper.appendChild(this.fileProgressElement); | |||
document.getElementById(targetID).appendChild(this.fileProgressWrapper); | |||
} else { | |||
this.fileProgressElement = this.fileProgressWrapper.firstChild; | |||
this.fileProgressElement.childNodes[1].firstChild.nodeValue = file.name; | |||
} | |||
this.height = this.fileProgressWrapper.offsetHeight; | |||
} | |||
FileProgress.prototype.setProgress = function (percentage) { | |||
this.fileProgressElement.className = "progressContainer blue"; | |||
@@ -260,4 +231,4 @@ FileProgress.prototype.toggleCancel = function (show, swfuploadInstance) { | |||
return false; | |||
}; | |||
} | |||
}; | |||
}; |
@@ -2,24 +2,20 @@ function AddNew() | |||
{ | |||
$DE('addTab').style.display = 'block'; | |||
} | |||
function CloseTab(tb) | |||
{ | |||
$DE(tb).style.display = 'none'; | |||
} | |||
function ListAll(){ | |||
$DE('editTab').style.display = 'block'; | |||
fetch('index_body.php?dopost=editshow').then(resp=>resp.text()).then((d)=>{ | |||
$DE('editTabBody').innerHTML = d; | |||
}); | |||
} | |||
function ShowWaitDiv(){ | |||
$DE('loaddiv').style.display = 'block'; | |||
return true; | |||
} | |||
$(function(){ | |||
$.get("index_testenv.php", function (data){ | |||
if (data !== ''){ | |||
@@ -32,7 +28,7 @@ $(function(){ | |||
} | |||
}); | |||
}); | |||
//Dedebiz info | |||
var dedebizInfo; | |||
function ViewDedeBIZ(){ | |||
console.log(dedebizInfo); | |||
@@ -80,7 +80,7 @@ $ttime = number_format(($ttime / 60), 2); | |||
//返回提示信息 | |||
$tjlen = $totalnum > 0 ? ceil(($tjnum / $totalnum) * 100) : 100; | |||
$dvlen = $tjlen * 2; | |||
$tjsta = "<div style='width:200;height:15;border:1px solid #898989;text-align:left'><div style='width:$dvlen;height:15;background-color:#829D83'></div></div>"; | |||
$tjsta = "<div style='width:200px;height:16px;border:1px solid #898989;text-align:left'><div style='width:200px;height:16px;background-color:#829D83'></div></div>"; | |||
$tjsta .= "<br>本次用时:".number_format($t2, 2).",总用时:$ttime 分钟,到达位置:".($startdd + $pagesize)."<br>完成创建文件总数的:$tjlen %,继续执行任务"; | |||
if ($tjnum < $totalnum) { | |||
$nurl = "makehtml_archives_action.php?endid=$endid&startid=$startid&typeid=$typeid"; | |||
@@ -503,7 +503,7 @@ else if ($dopost == 'modifysearch') { | |||
require_once(DEDEINC."/typelink/typelink.class.php"); | |||
$tl = new TypeLink(0); | |||
$typeOptions = $tl->GetOptionArray(0, 0, $mid); | |||
$forms .= "<br>栏目:<select name='typeid' style='width:200'>\r\n"; | |||
$forms .= "<br>栏目:<select name='typeid' style='width:200px'>\r\n"; | |||
$forms .= "<option value='0' selected>不限栏目</option>\r\n"; | |||
$forms .= $typeOptions; | |||
$forms .= "</select>"; | |||
@@ -529,7 +529,7 @@ else if ($dopost == 'modifysearch') { | |||
require_once(DEDEINC."/typelink/typelink.class.php"); | |||
$tl = new TypeLink(0); | |||
$typeOptions = $tl->GetOptionArray(0, 0, $mid); | |||
$forms .= "<br>栏目:<select name='typeid' style='width:200'>\r\n"; | |||
$forms .= "<br>栏目:<select name='typeid' style='width:200px'>\r\n"; | |||
$forms .= "<option value='0' selected>不限栏目</option>\r\n"; | |||
$forms .= $typeOptions; | |||
$forms .= "</select>"; | |||
@@ -54,13 +54,12 @@ if ($dopost != 'save') { | |||
foreach ($dtp->CTags as $ctag) { | |||
if ($ctag->GetName() == 'link') { | |||
$islocal = $ctag->GetAtt('islocal'); | |||
if ($islocal != 1) $needmsg = "<input type='checkbox' name='del{$newRowStart}' value='1' />删除"; | |||
else $needmsg = '<button name="sel1" class="btn btn-success btn-sm" type="button" id="sel1" onClick="SelectSoft(\'form1.softurl'.$newRowStart.'\')">选取</button>'; | |||
$nForm .= "<div style='line-height:36px'>软件地址{$newRowStart}:<input type='text' name='softurl{$newRowStart}' style='width:280px' value='".trim($ctag->GetInnerText())."' /> | |||
服务器名称:<input type='text' name='servermsg{$newRowStart}' value='".$ctag->GetAtt("text")."' style='width:150px' /> | |||
<input type='hidden' name='islocal{$newRowStart}' value='{$islocal}' /> | |||
$needmsg | |||
</div>\r\n"; | |||
if ($islocal != 1) $needmsg = "<input type='checkbox' name='del{$newRowStart}' value='1' /> 删除"; | |||
else $needmsg = '<button name="sel1" class="btn btn-success btn-sm" type="button" id="sel1" onClick="SelectSoft(\'form1.softurl'.$newRowStart.'\')">选取</button>'; | |||
$nForm .= "<div style='line-height:36px'>软件地址{$newRowStart}:<input type='text' name='softurl{$newRowStart}' value='".trim($ctag->GetInnerText())."' style='width:300px'> 服务器名称:<input type='text' name='servermsg{$newRowStart}' value='".$ctag->GetAtt("text")."' style='width:160px'> | |||
<input type='hidden' name='islocal{$newRowStart}' value='{$islocal}' /> | |||
$needmsg | |||
</div>\r\n"; | |||
$newRowStart++; | |||
} | |||
} | |||
@@ -98,7 +98,7 @@ else if ($dopost == 'search') { | |||
$keywords = isset($keywords) ? strip_tags($keywords) : ''; | |||
$i = 1; | |||
$configstr = <<<EOT | |||
<table width="100%" cellspacing="1" cellpadding="1" border="0" id="tdSearch" style=""> | |||
<table width="100%" cellspacing="1" cellpadding="1" border="0" id="tdSearch"> | |||
<tbody> | |||
<tr height="26" bgcolor="#fbfce2" align="center"> | |||
<td width="300">参数说明</td> | |||
@@ -13,7 +13,7 @@ | |||
<td height="26" background="../static/web/img/tbg.gif">当前位置 > 搜索结果</td> | |||
</tr> | |||
<tr align="center" bgcolor="#f6f6f6" height="26"> | |||
<td align="left">"<span style='color:#dc3545'><?php echo $keyword;?></span>"的搜索结果</td> | |||
<td align="left">"<span style='color:#dc3545'><?php echo $keyword; ?></span>"的搜索结果</td> | |||
</tr> | |||
<tr align="center" bgcolor="#FFFFFF" height="26"> | |||
<td align="center"> | |||
@@ -83,7 +83,7 @@ | |||
<td height="200" bgcolor="#FFFFFF" valign="top"> | |||
<table width="100%" border="0" cellspacing="4" cellpadding="4" class="table table-borderless"> | |||
<input name="normbody[style]" type="hidden" value="code" id="adstyle"> | |||
<input type="hidden" name="_csrf_token" value="<?php echo $GLOBALS['csrf_token'];?>"> | |||
<input type="hidden" name="_csrf_token" value="<?php echo $GLOBALS['csrf_token']; ?>"> | |||
<input type='hidden' name='dopost' value='save'> | |||
<tr> | |||
<td height="26" colspan="3">广告代码的调用方法:{dede:myad name='广告位标识'/} </td> | |||
@@ -95,9 +95,9 @@ | |||
</tr> | |||
<tr> | |||
<td height="26" align="center">广告分类:</td> | |||
<td colspan="2"><select name='clsid' style='width:150' id="clsid"> | |||
<td colspan="2"><select name='clsid' style='width:150px' id="clsid"> | |||
<option value='0'>默认分类</option> | |||
<?php echo $option;?> | |||
<?php echo $option; ?> | |||
</select></td> | |||
</tr> | |||
<tr> | |||
@@ -148,15 +148,15 @@ | |||
</div> | |||
</td> | |||
<td width="9%"> </td> | |||
<td width="9%"></td> | |||
</tr> | |||
<tr> | |||
<td height="80" align="center">过期显示内容:</td> | |||
<td><textarea name="expbody" rows="10" id="expbody" style="width:80%;height:100"></textarea></td> | |||
<td> </td> | |||
<td></td> | |||
</tr> | |||
<tr> | |||
<td height="53" align="center"> </td> | |||
<td height="53" align="center"></td> | |||
<td colspan="2"> | |||
<button type="submit" class="btn btn-success">确定</button> | |||
</td> | |||
@@ -54,16 +54,16 @@ | |||
<form action="ad_edit.php" method="post" enctype="multipart/form-data" name="form1"> | |||
<input type='hidden' name='aid' value='<?php echo $aid?>'> | |||
<input type='hidden' name='dopost' value='saveedit'> | |||
<input type="hidden" name="_csrf_token" value="<?php echo $GLOBALS['csrf_token'];?>"> | |||
<input type="hidden" name="_csrf_token" value="<?php echo $GLOBALS['csrf_token']; ?>"> | |||
<tr> | |||
<td height="26" align="center">广告位标识:</td> | |||
<td colspan="2"><?php echo $row['tagname']; ?></td> | |||
</tr> | |||
<tr> | |||
<td height="26" align="center">广告分类:</td> | |||
<td colspan="2"><select name='clsid' style='width:150' id="clsid"> | |||
<td colspan="2"><select name='clsid' style='width:150px' id="clsid"> | |||
<option value='0'>默认分类</option> | |||
<?php echo $option;?> | |||
<?php echo $option; ?> | |||
</select></td> | |||
</tr> | |||
<tr> | |||
@@ -102,17 +102,17 @@ | |||
</tr> | |||
<tr> | |||
<td height="80" align="center">正常显示内容:</td> | |||
<td width="76%"><textarea name="normbody" rows="10" id="normbody" style="width:80%;height:100"><?php echo dede_htmlspecialchars(stripslashes($row['normbody']))?></textarea> | |||
<td width="76%"><textarea name="normbody" rows="10" id="normbody" style="width:80%;height:100px"><?php echo dede_htmlspecialchars(stripslashes($row['normbody']))?></textarea> | |||
</td> | |||
<td width="9%"> </td> | |||
<td width="9%"></td> | |||
</tr> | |||
<tr> | |||
<td height="80" align="center">过期显示内容:</td> | |||
<td><textarea name="expbody" rows="10" id="expbody" style="width:80%;height:100"><?php echo dede_htmlspecialchars($row['expbody'])?></textarea></td> | |||
<td> </td> | |||
<td><textarea name="expbody" rows="10" id="expbody" style="width:80%;height:100px"><?php echo dede_htmlspecialchars($row['expbody'])?></textarea></td> | |||
<td></td> | |||
</tr> | |||
<tr> | |||
<td height="53" align="center"> </td> | |||
<td height="53" align="center"></td> | |||
<td colspan="2"><button type="submit" class="btn btn-success">确定</button></td> | |||
</tr> | |||
</form> | |||
@@ -15,7 +15,7 @@ | |||
</tr> | |||
<tr> | |||
<td height="26" colspan="7" style="padding-left:10px" bgcolor="#FFFFFF"> | |||
<table style="width: 70%;" class="table-borderless"> | |||
<table style="width:70%;" class="table-borderless"> | |||
<tr> | |||
<form action='ad_main.php' method='get' name='form3' id="form3"> | |||
<input type='hidden' name='dopost' value='listArchives' /> | |||
@@ -25,11 +25,11 @@ | |||
<td width='90' align='center'>请选择分类:</td> | |||
<td width='124'><select name='clsid' style='width:150' id="clsid"> | |||
<option value='0'>默认分类</option> | |||
<?php echo $option;?> | |||
<?php echo $option; ?> | |||
</select> | |||
</td> | |||
<td width='70'> 关键词:</td> | |||
<td width='185'><input type='text' name='keyword' style='width:150' /></td> | |||
<td width='185'><input type='text' name='keyword' style='width:150px' /></td> | |||
<td width="130"> | |||
<button type="submit" class="btn btn-success">搜索</button> | |||
</td> | |||
@@ -7,9 +7,7 @@ | |||
<link rel="stylesheet" href="../static/web/font/css/font-awesome.min.css"> | |||
<link rel="stylesheet" href="../static/web/css/admin.css"> | |||
<link rel="stylesheet" href="css/albumupload.css"> | |||
<script> | |||
const cfg_uplitpic_cut = '<?php echo $cfg_uplitpic_cut;?>'; | |||
</script> | |||
<script>const cfg_uplitpic_cut = '<?php echo $cfg_uplitpic_cut; ?>';</script> | |||
<script language="javascript" src="../static/web/js/jquery.min.js"></script> | |||
<script src="../static/web/js/bootstrap.bundle.min.js"></script> | |||
<script type="text/javascript" src="../static/web/js/webajax.js"></script> | |||
@@ -19,7 +17,7 @@ | |||
<script type="text/javascript" src="js/main.js"></script> | |||
<script type="text/javascript" src="js/album.js"></script> | |||
<script type="text/javascript" src="js/handlers.js"></script> | |||
<link href="../static/web/css/cropper.min.css" rel="stylesheet"> | |||
<link rel="stylesheet" href="../static/web/css/cropper.min.css"> | |||
<script src="../static/web/js/cropper.min.js"></script> | |||
<link rel="stylesheet" href="../static/web/css/jquery.fileupload.css"> | |||
<script language="javascript"> | |||
@@ -65,7 +63,7 @@ table{border-collapse:separate} | |||
<input type="hidden" id="albums" name="albums" value=""> | |||
<table width="98%" border="0" align="center" cellpadding="0" cellspacing="0" class="mt-3"> | |||
<tr> | |||
<td width="65%" height="30"><img src="../static/web/img/book1.gif"> <a href="catalog_do.php?cid=<?php echo $cid?>&channelid=<?php echo $channelid?>&dopost=listArchives">图集列表</a> > 发布图集</td> | |||
<td width="65%" height="30"><img src="../static/web/img/book1.gif"><a href="catalog_do.php?cid=<?php echo $cid?>&channelid=<?php echo $channelid?>&dopost=listArchives">图集列表</a> > 发布图集</td> | |||
<td width="30%" align='right'><?php echo $backurl; ?><a class="btn btn-success btn-sm" href="catalog_main.php">栏目管理</a></td> | |||
</tr> | |||
</table> | |||
@@ -99,9 +97,9 @@ table{border-collapse:separate} | |||
<table width="800" border="0" cellspacing="0" cellpadding="0"> | |||
<tr> | |||
<td width="90"> 图集标题:</td> | |||
<td width="400"><input name="title" type="text" id="title" value="" style="width:380px"> </td> | |||
<td width="400"><input name="title" type="text" id="title" value="" style="width:380px"></td> | |||
<td width="90"> 简略标题:</td> | |||
<td><input name="shorttitle" type="text" id="shorttitle" style="width:150px"> </td> | |||
<td><input name="shorttitle" type="text" id="shorttitle" style="width:160px"></td> | |||
</tr> | |||
</table> | |||
</td> | |||
@@ -110,7 +108,7 @@ table{border-collapse:separate} | |||
<td width="400%" height="26" colspan="4" class="bline"> | |||
<table width="800" border="0" cellspacing="0" cellpadding="0"> | |||
<tr> | |||
<td width="100"> 自定义属性:</td> | |||
<td width="90"> 自定义属性:</td> | |||
<td> | |||
<?php | |||
$dsql->SetQuery("Select * From `#@__arcatt` order by sortid asc"); | |||
@@ -133,9 +131,7 @@ table{border-collapse:separate} | |||
<table width="800" border="0" cellspacing="0" cellpadding="0"> | |||
<tr> | |||
<td width="90"> 跳转网址:</td> | |||
<td> | |||
<input name="redirecturl" type="text" id="redirecturl" style="width:300px" value=""> | |||
</td> | |||
<td><input name="redirecturl" type="text" id="redirecturl" value="" style="width:300px"></td> | |||
</tr> | |||
</table> | |||
</td> | |||
@@ -145,9 +141,9 @@ table{border-collapse:separate} | |||
<table width="800" border="0" cellspacing="0" cellpadding="0"> | |||
<tr> | |||
<td width="90"> Tag标签:</td> | |||
<td><input name="tags" type="text" id="tags" value="" style="width:300px">(','号分开,单个标签小于12字节)</td> | |||
<td width="50">权重:</td> | |||
<td><input name="weight" type="text" id="weight" style="width:50px" value="<?php echo $maxWright['cc'];?>">(越小越靠前)</td> | |||
<td><input name="tags" type="text" id="tags" value="" onChange="$Obj('keywords').value=this.value;" style="width:300px">(','号分开,单个标签小于12字节)</td> | |||
<td width="60">权重:</td> | |||
<td><input name="weight" type="text" id="weight" value="<?php echo $maxWright['cc']; ?>" style="width:60px">(越小越靠前)</td> | |||
</tr> | |||
</table> | |||
</td> | |||
@@ -158,18 +154,12 @@ table{border-collapse:separate} | |||
<tr> | |||
<td width="90"> 缩略图:</td> | |||
<td> | |||
<table width="100%" border="0" cellspacing="1" cellpadding="1"> | |||
<tr> | |||
<td height="26"> | |||
<input name="picname" type="text" id="picname" style="width:240px"> | |||
<label><input type='checkbox' class='np' name='ddisremote' value='1' id='ddisremote' /> 远程</label> | |||
<span class="btn btn-success btn-sm fileinput-button">上传图片<input type="file" name="files[]" id="iptAddImages"></span> | |||
<button type="button" name="Submit2" onClick="SelectImage('form1.picname','small');" class="btn btn-success btn-sm">选择图片</button> | |||
<button id="btnClearAll" type="button" class="btn btn-sm btn-success delete">清空</button> | |||
<label><input type='checkbox' class='np' name='ddisfirst' value='1' /> 使用图集的第一幅图</label> | |||
</td> | |||
</tr> | |||
</table> | |||
<input name="picname" type="text" id="picname" style="width:300px"> | |||
<label><input type='checkbox' class='np' name='ddisremote' value='1' id='ddisremote' /> 远程</label> | |||
<span class="btn btn-success btn-sm fileinput-button">上传图片<input type="file" name="files[]" id="iptAddImages"></span> | |||
<button type="button" name="Submit2" onClick="SelectImage('form1.picname','small');" class="btn btn-success btn-sm">选择图片</button> | |||
<button id="btnClearAll" type="button" class="btn btn-sm btn-success delete">清空</button> | |||
<label><input type='checkbox' class='np' name='ddisfirst' value='1' /> 使用图集的第一幅图</label> | |||
</td> | |||
<td width="150" align="center"><img id="litPic" src="../static/web/img/defaultpic.jpg" style="height:80px"></td> | |||
</tr> | |||
@@ -179,26 +169,46 @@ table{border-collapse:separate} | |||
<tr> | |||
<td height="26" colspan="4" class="bline"> | |||
<table width="800" border="0" cellspacing="0" cellpadding="0"> | |||
<tr> | |||
<td width="90"> 图集来源:</td> | |||
<td width="250"> | |||
<input name="source" type="text" id="source" value=""style="width:160px" > | |||
<button name="selsource" type="button" id="selsource" class="btn btn-success btn-sm">选择</button> | |||
</td> | |||
<td width="60">作者:</td> | |||
<td> | |||
<input name="writer" type="text" id="writer" value="" style="width:160px"> | |||
<button name="selwriter" type="button" id="selwriter" class="btn btn-success btn-sm">选择</button> | |||
</td> | |||
</tr> | |||
</table> | |||
</td> | |||
</tr> | |||
<tr> | |||
<td height="26" colspan="4" class="bline"> | |||
<table width="600" border="0" cellspacing="0" cellpadding="0"> | |||
<tr> | |||
<td width="90"> 图集主栏目:</td> | |||
<td> | |||
<span id='typeidct'> | |||
<?php | |||
$typeOptions = GetOptionList($cid,$cuserLogin->getUserChannel(),$channelid); | |||
echo "<select name='typeid' id='typeid' style='width:240px'>\r\n"; | |||
echo "<option value='0'>请选择栏目</option>\r\n"; | |||
echo "<select name='typeid' id='typeid' style='width:160px'>"; | |||
echo "<option value='0'>请选择栏目</option>"; | |||
echo $typeOptions; | |||
echo "</select>"; | |||
?> | |||
</span> | |||
<img src='../static/web/img/menusearch.gif' style='cursor:pointer' onClick="ShowCatMap(event, this, <?php echo $channelid; ?>, 'typeid')" alt='快捷选择' title='快捷选择' /> | |||
<img src='../static/web/img/menusearch.gif' onClick="ShowCatMap(event,this,<?php echo $channelid; ?>,'typeid')" title='快捷选择' style='cursor:pointer'> | |||
<?php | |||
if($cfg_need_typeid2=='Y') | |||
{ | |||
echo "<a href='javascript:AddTypeid2();' class='btn btn-success btn-sm'>选择副栏目</a>"; | |||
} | |||
?> | |||
</td> | |||
</td> | |||
<td width="90">消费金币:</td> | |||
<td><input name="money" type="text" id="money" value="0" style="width:120px"></td> | |||
</tr> | |||
</table> | |||
</td> | |||
@@ -207,15 +217,42 @@ table{border-collapse:separate} | |||
<td height="26" colspan="4" class="bline"> | |||
<table width="800" border="0" cellspacing="0" cellpadding="0"> | |||
<tr> | |||
<td width="90"> 图集副栏目:</td> | |||
<td width="90"> 副栏目:</td> | |||
<td> | |||
<span id='typeid2ct'></span><input type='text' name='typeid2' id='typeid2' value='' style='width:200px;' /> | |||
<img src='../static/web/img/menusearch2.gif' style='cursor:pointer' onClick="ShowCatMap(event, this, <?php echo $channelid; ?>, 'typeid2')" alt='选择副栏目' title='选择副栏目' /> | |||
<span id='typeid2ct'></span> | |||
<input type='text' name='typeid2' id='typeid2' value='' style='width:160px'> | |||
<img src='../static/web/img/menusearch2.gif' style='cursor:pointer' onClick="ShowCatMap(event,this,<?php echo $channelid; ?>,'typeid2')" title='选择副栏目' /> | |||
</td> | |||
</tr> | |||
</table> | |||
</td> | |||
</tr> | |||
<tr> | |||
<td height="26" colspan="4" class="bline"> | |||
<table width="800" border="0" cellspacing="0" cellpadding="0"> | |||
<tr> | |||
<td width="90"> 关键词:</td> | |||
<td> | |||
<input type='text' name="keywords" id="keywords" value="" style="width:360px"> | |||
<button type="button" name="Submit" onClick="SelectKeywords('form1.keywords');" class="btn btn-success btn-sm">浏览</button> | |||
</td> | |||
<td> | |||
<label><input name="autokey" type="checkbox" onClick="ShowHide('keywords');" ; class="np" id="autokey" value="1" <?php if($cfg_arc_autokeyword=='Y') echo ' checked'; ?>> 自动获取,手动填写用","分开</label> | |||
</td> | |||
</tr> | |||
</table> | |||
</td> | |||
</tr> | |||
<tr> | |||
<td height="26" colspan="4" class="bline"> | |||
<table width="800" border="0" cellspacing="0" cellpadding="0"> | |||
<tr> | |||
<td width="90"> 内容摘要:</td> | |||
<td><textarea name="description" id="description" style="width:360px;height:50px"></textarea></td> | |||
</tr> | |||
</table> | |||
</td> | |||
</tr> | |||
<tr> | |||
<td><?php PrintAutoFieldsAdd(stripslashes($cInfos['fieldset']),'autofield'); ?></td> | |||
</tr> | |||
@@ -229,13 +266,13 @@ table{border-collapse:separate} | |||
<td width="90"> 表现方式:</td> | |||
<td> | |||
<label><input name="pagestyle" class="np" type="radio" id="pagestyle1" onClick="checkMuList()" value="1" <?php if($cfg_album_style==1) echo " checked='checked'"; ?> /> | |||
<img src='../static/web/img/alb2.jpg' alt='单页多图样式' title='单页多图样式' /></label> | |||
<img src='../static/web/img/alb2.jpg' title='单页多图样式' /></label> | |||
| |||
<label><input name="pagestyle" class="np" type="radio" id="pagestyle2" onClick="checkMuList()" value="2" <?php if($cfg_album_style==2) echo " checked='checked'"; ?> /> | |||
<img src='../static/web/img/alb1.jpg' alt='幻灯片样式' title='幻灯片样式' /></label> | |||
<img src='../static/web/img/alb1.jpg' title='幻灯片样式' /></label> | |||
| |||
<label><input name="pagestyle" class="np" type="radio" id="pagestyle3" onClick="checkMuList()" value="3" <?php if($cfg_album_style==3) echo " checked='checked'"; ?> /> | |||
<img src='../static/web/img/alb3.jpg' alt='多缩略图样式' title='多缩略图样式' /></label> | |||
<img src='../static/web/img/alb3.jpg' title='多缩略图样式' /></label> | |||
</td> | |||
</tr> | |||
</table> | |||
@@ -253,7 +290,7 @@ table{border-collapse:separate} | |||
</td> | |||
</tr> | |||
<tr> | |||
<td width="86" height="26"> </td> | |||
<td width="86" height="26"></td> | |||
<td>(系统仅是每页输出"行x列"张图片,实现需自行控制样式表)</td> | |||
</tr> | |||
</table> | |||
@@ -263,7 +300,7 @@ table{border-collapse:separate} | |||
<td height="26" colspan="4" class="bline"> | |||
<table width="800" border="0" cellspacing="0" cellpadding="0"> | |||
<tr> | |||
<td width="95"> 每页图片数:</td> | |||
<td width="90"> 每页图片数:</td> | |||
<td><input name='pagepicnum' type='text' id='pagpicnum' size='10' value='<?php echo $cfg_album_pagesize; ?>' /> 单页多图显示需要设置此参数,这种模式下系统不会为每张图单独生成缩略图</td> | |||
</tr> | |||
</table> | |||
@@ -289,7 +326,7 @@ table{border-collapse:separate} | |||
<td colspan="4" class="bline"> | |||
<table width="800" border="0" cellspacing="0" cellpadding="0" height="100"> | |||
<tr> | |||
<td width="100"> 压缩包文件:</td> | |||
<td width="90"> 压缩包文件:</td> | |||
<td><input type='text' name='zipfile' id='zipfile' style='width:300px'> | |||
<button name='addon_bt' type='button' onClick="SelectSoft('form1.zipfile')" class="btn btn-success btn-sm">浏览</button> | |||
<label><input name="delzip" type="checkbox" id="delzip" value="1" checked="checked"> | |||
@@ -352,31 +389,18 @@ table{border-collapse:separate} | |||
<td height="26" colspan="4" class="bline"> | |||
<table width="800" border="0" cellspacing="0" cellpadding="0"> | |||
<tr> | |||
<td width="90"> 图集来源:</td> | |||
<td width="240"><input name="source" type="text" id="source" style="width:160px" value="" size="16"> | |||
<button name="selsource" type="button" id="selsource" class="btn btn-success btn-sm">选择</button></td> | |||
<td width="90">作者:</td> | |||
<td> | |||
<input name="writer" type="text" id="writer" style="width:120px" value=""> | |||
<button name="selwriter" type="button" id="selwriter" class="btn btn-success btn-sm">选择</button> | |||
</td> | |||
</tr> | |||
</table> | |||
</td> | |||
</tr> | |||
<tr> | |||
<td height="26" colspan="4" class="bline"> | |||
<table width="800" border="0" cellspacing="0" cellpadding="0"> | |||
<tr> | |||
<td width="90" height="26" width="240"> 评论选项:</td> | |||
<td width="240"> | |||
<td width="90" height="26" width="250"> 评论选项:</td> | |||
<td width="250"> | |||
<label><input type='radio' name='notpost' class='np' value='0' <?php if($cfg_feedback_forbid=='N') echo "checked='1' "; ?> /> 允许评论</label> | |||
| |||
<label><input type='radio' name='notpost' class='np' value='1' <?php if($cfg_feedback_forbid=='Y') echo "checked='1' "; ?> /> 禁止评论</label> | |||
</td> | |||
<td width="90">浏览次数:</td> | |||
<td width="90">发布选项:</td> | |||
<td> | |||
<input type='text' name='click' value='<?php echo ($cfg_arc_click=='-1' ? mt_rand(50, 200) : $cfg_arc_click); ?>' style='width:100px;' /> | |||
<label><input name="ishtml" type="radio" class="np" value="1" checked> | |||
生成HTML</label> | |||
<label><input type="radio" name="ishtml" class="np" value="0"> | |||
仅动态浏览</label> | |||
</td> | |||
</tr> | |||
</table> | |||
@@ -387,7 +411,7 @@ table{border-collapse:separate} | |||
<table width="800" border="0" cellspacing="0" cellpadding="0"> | |||
<tr> | |||
<td width="90" height="26"> 图集排序:</td> | |||
<td width="240"> <select name="sortup" id="sortup" style="width:150"> | |||
<td width="250"> <select name="sortup" id="sortup" style="width:160px"> | |||
<option value="0" selected>默认排序</option> | |||
<option value="7">置顶一周</option> | |||
<option value="30">置顶一个月</option> | |||
@@ -409,25 +433,20 @@ table{border-collapse:separate} | |||
<table width="800" border="0" cellspacing="0" cellpadding="0"> | |||
<tr> | |||
<td width="90"> 阅读权限:</td> | |||
<td width="240"> <select name="arcrank" id="arcrank" style="width:150px"> | |||
<td width="250"><select name="arcrank" id="arcrank" style="width:160px"> | |||
<?php | |||
$urank = $cuserLogin->getUserRank(); | |||
$dsql->SetQuery("Select * from `#@__arcrank` where adminrank<='$urank'"); | |||
$dsql->Execute(); | |||
while($row = $dsql->GetObject()) | |||
{ | |||
echo "<option value='".$row->rank."'>".$row->membername."</option>\r\n"; | |||
echo "<option value='".$row->rank."'>".$row->membername."</option>"; | |||
} | |||
?> | |||
</select> | |||
</td> | |||
<td width="90">发布选项:</td> | |||
<td> | |||
<label><input name="ishtml" type="radio" class="np" value="1" checked> | |||
生成HTML</label> | |||
<label><input type="radio" name="ishtml" class="np" value="0"> | |||
仅动态浏览</label> | |||
</td> | |||
<td width="90">文件名称:</td> | |||
<td><input type="text" name="filename" id="filename" style="width:120px">(不包括后缀名如.html等)</td> | |||
</tr> | |||
</table> | |||
</td> | |||
@@ -437,52 +456,14 @@ table{border-collapse:separate} | |||
<table width="800" border="0" cellspacing="0" cellpadding="0"> | |||
<tr> | |||
<td width="90"> 发布时间:</td> | |||
<td width="240"> | |||
<td width="250"> | |||
<?php | |||
$nowtime = GetDateTimeMk(time()); | |||
echo "<input name=\"pubdate\" value=\"$nowtime\" type=\"text\" id=\"pubdate\" class='datepicker'>"; | |||
echo "<input type='text' name='pubdate' value='$nowtime' id='pubdate' class='datepicker' style='width:160px'>"; | |||
?> | |||
</td> | |||
<td width="90">消费金币:</td> | |||
<td width="380"><input name="money" type="text" id="money" value="0" size="10"> </td> | |||
</tr> | |||
</table> | |||
</td> | |||
</tr> | |||
<tr> | |||
<td height="26" colspan="4" class="bline"> | |||
<table width="800" border="0" cellspacing="0" cellpadding="0"> | |||
<tr> | |||
<td width="90"> 关键词:</td> | |||
<td> | |||
<input type='text' name="keywords" id="keywords" style="width:290px" value=""> | |||
<button type="button" name="Submit" onClick="SelectKeywords('form1.keywords');" class="btn btn-success btn-sm">浏览</button> | |||
</td> | |||
<td width="260"> | |||
<label><input name="autokey" type="checkbox" onClick="ShowHide('keywords');" ; class="np" id="autokey" value="1" <?php if($cfg_arc_autokeyword=='Y') echo ' checked'; ?>> 自动获取,手动填写用","分开</label> | |||
</td> | |||
</tr> | |||
</table> | |||
</td> | |||
</tr> | |||
<tr> | |||
<td height="26" colspan="4" class="bline"> | |||
<table width="800" border="0" cellspacing="0" cellpadding="0"> | |||
<tr> | |||
<td width="120"> 图集内容摘要:</td> | |||
<td width="450"><textarea name="description" rows="3" id="description" style="width:80%"></textarea></td> | |||
<td width="260"> </td> | |||
</tr> | |||
</table> | |||
</td> | |||
</tr> | |||
<tr> | |||
<td height="26" colspan="4"> | |||
<table width="800" border="0" cellspacing="0" cellpadding="0"> | |||
<tr> | |||
<td width="120"> 自定义文件名:</td> | |||
<td width="450"><input type="text" name="filename" id="filename">(不包括后缀名如.html等)</td> | |||
<td width="260"> </td> | |||
<td width="90">浏览次数:</td> | |||
<td><input type="text" name="click" value="<?php echo ($cfg_arc_click=='-1' ? mt_rand(50,200):$cfg_arc_click); ?>" style="width:120px"></td> | |||
</tr> | |||
</table> | |||
</td> | |||
@@ -7,9 +7,7 @@ | |||
<link rel="stylesheet" href="../static/web/font/css/font-awesome.min.css"> | |||
<link rel="stylesheet" href="../static/web/css/admin.css"> | |||
<link rel="stylesheet" href="css/albumupload.css"> | |||
<script> | |||
const cfg_uplitpic_cut = '<?php echo $cfg_uplitpic_cut;?>'; | |||
</script> | |||
<script>const cfg_uplitpic_cut = '<?php echo $cfg_uplitpic_cut; ?>';</script> | |||
<script language="javascript" src="../static/web/js/jquery.min.js"></script> | |||
<script type="text/javascript" src="../static/web/js/webajax.js"></script> | |||
<link rel="stylesheet" href="../static/web/css/daterangepicker.css"> | |||
@@ -19,7 +17,7 @@ | |||
<script type="text/javascript" src="js/main.js"></script> | |||
<script type="text/javascript" src="js/album.js"></script> | |||
<script type="text/javascript" src="js/handlers.js"></script> | |||
<link href="../static/web/css/cropper.min.css" rel="stylesheet"> | |||
<link rel="stylesheet" href="../static/web/css/cropper.min.css"> | |||
<script src="../static/web/js/cropper.min.js"></script> | |||
<link rel="stylesheet" href="../static/web/css/jquery.fileupload.css"> | |||
<script language="javascript" type="text/javascript"> | |||
@@ -65,7 +63,7 @@ table{border-collapse:separate} | |||
<input type="hidden" id="albums" name="albums" value=""> | |||
<table width="98%" border="0" align="center" cellpadding="0" cellspacing="0" class="mt-3"> | |||
<tr> | |||
<td width="65%" height="30"><img src="../static/web/img/book1.gif"> <a href="catalog_do.php?cid=<?php echo $arcRow['typeid']?>&dopost=listArchives">图集列表</a> > 修改图集</td> | |||
<td width="65%" height="30"><img src="../static/web/img/book1.gif"><a href="catalog_do.php?cid=<?php echo $arcRow['typeid']?>&dopost=listArchives">图集列表</a> > 修改图集</td> | |||
<td width="30%" align='right'><?php echo $backurl; ?><a class="btn btn-success btn-sm" href="catalog_main.php">栏目管理</a></td> | |||
</tr> | |||
</table> | |||
@@ -100,14 +98,16 @@ table{border-collapse:separate} | |||
<td width="90"> 图集标题:</td> | |||
<td width="400"><input name="title" type="text" id="title" value="<?php echo $arcRow['title']; ?>" style="width:380px"></td> | |||
<td width="90"> 简略标题:</td> | |||
<td><input name="shorttitle" type="text" id="shorttitle" style="width:150px" value="<?php echo $arcRow['shorttitle']; ?>"></td> | |||
<td><input name="shorttitle" type="text" id="shorttitle" value="<?php echo $arcRow['shorttitle']; ?>" style="width:160px"></td> | |||
</tr> | |||
</table></td> | |||
</table> | |||
</td> | |||
</tr> | |||
<tr> | |||
<td width="400%" height="26" colspan="4" class="bline"><table width="800" border="0" cellspacing="0" cellpadding="0"> | |||
<td width="400%" height="26" colspan="4" class="bline"> | |||
<table width="800" border="0" cellspacing="0" cellpadding="0"> | |||
<tr> | |||
<td width="100"> 自定义属性:</td> | |||
<td width="90"> 自定义属性:</td> | |||
<td> | |||
<?php | |||
$dsql->SetQuery("SELECT * FROM `#@__arcatt` ORDER BY sortid ASC"); | |||
@@ -123,14 +123,15 @@ table{border-collapse:separate} | |||
} | |||
?></td> | |||
</tr> | |||
</table></td> | |||
</table> | |||
</td> | |||
</tr> | |||
<tr> | |||
<td height="26" colspan="4" class="bline" id="redirecturltr" style="display:<?php echo (empty($addRow['redirecturl']) ? 'none' : 'block');?>"> | |||
<td height="26" colspan="4" class="bline" id="redirecturltr" style="display:<?php echo (empty($addRow['redirecturl']) ? 'none' : 'block'); ?>"> | |||
<table width="800" border="0" cellspacing="0" cellpadding="0"> | |||
<tr> | |||
<td width="90"> 跳转网址:</td> | |||
<td><input name="redirecturl" type="text" id="redirecturl" style="width:300px" value="<?php echo $addRow["redirecturl"]?>"></td> | |||
<td><input name="redirecturl" type="text" id="redirecturl" value="<?php echo $addRow['redirecturl']?>" style="width:300px"></td> | |||
</tr> | |||
</table> | |||
</td> | |||
@@ -141,8 +142,8 @@ table{border-collapse:separate} | |||
<tr> | |||
<td width="90"> Tag标签:</td> | |||
<td><input name="tags" type="text" id="tags" value="<?php echo $tags; ?>" style="width:300px">(','号分开,单个标签小于12字节)</td> | |||
<td width="50">权重:</td> | |||
<td><input name="weight" type="text" id="weight" style="width:50px" value="<?php echo $arcRow['weight'];?>">(越小越靠前)</td> | |||
<td width="60">权重:</td> | |||
<td><input name="weight" type="text" id="weight" value="<?php echo $arcRow['weight']; ?>" style="width:60px">(越小越靠前)</td> | |||
</tr> | |||
</table> | |||
</td> | |||
@@ -153,7 +154,7 @@ table{border-collapse:separate} | |||
<tr> | |||
<td width="90" height="80"> 缩略图:</td> | |||
<td> | |||
<input name="picname" type="text" id="picname" style="width:300px" value="<?php echo $arcRow['litpic']?>"> | |||
<input name="picname" type="text" id="picname" value="<?php echo $arcRow['litpic']?>" style="width:300px"> | |||
<label><input type='checkbox' class='np' name='ddisremote' value='1'> 远程</label> | |||
<span class="btn btn-success btn-sm fileinput-button">上传图片<input type="file" name="files[]" id="iptAddImages"></span> | |||
<button type="button" name="Submit" onClick="SelectImage('form1.picname','');" class="btn btn-success btn-sm">选择图片</button> | |||
@@ -166,47 +167,81 @@ table{border-collapse:separate} | |||
<tr> | |||
<td height="26" colspan="4" class="bline"><table width="800" border="0" cellspacing="0" cellpadding="0"> | |||
<tr> | |||
<td width="90"> 图片来源:</td> | |||
<td width="240"><input name="source" type="text" id="source" style="width:200" value="<?php echo $arcRow["source"]?>"></td> | |||
<td width="90"> 图集来源:</td> | |||
<td width="250"> | |||
<input name="source" type="text" id="source" value="<?php echo $arcRow['source']?>" style="width:160px"> | |||
<button name="selsource" type="button" id="selsource" class="btn btn-success btn-sm">选择</button> | |||
</td> | |||
<td width="90">作者:</td> | |||
<td><input name="writer" type="text" id="writer" style="width:120" value="<?php echo $arcRow["writer"]?>"></td> | |||
<td> | |||
<input name="writer" type="text" id="writer" value="<?php echo $arcRow['writer']?>" style="width:160px"> | |||
<button name="selwriter" type="button" id="selwriter" class="btn btn-success btn-sm">选择</button> | |||
</td> | |||
</tr> | |||
</table> | |||
</td> | |||
</tr> | |||
<tr> | |||
<td height="26" colspan="4" class="bline"><table width="800" border="0" cellspacing="0" cellpadding="0"> | |||
<td height="26" colspan="4" class="bline"> | |||
<table width="570" border="0" cellspacing="0" cellpadding="0"> | |||
<tr> | |||
<td width="90"> 图集主栏目:</td> | |||
<td><?php | |||
$typeOptions = GetOptionList($arcRow['typeid'],$cuserLogin->getUserChannel(),$channelid); | |||
echo "<select name='typeid' id='typeid' style='width:240px'>\r\n"; | |||
if($arcRow['typeid']=='0') echo "<option value='0' selected>请选择主分类</option>\r\n"; | |||
echo $typeOptions; | |||
echo '</select>'; | |||
?> | |||
<img src='../static/web/img/menusearch.gif' style='cursor:pointer' onClick="ShowCatMap(event, this, <?php echo $channelid; ?>, 'typeid', '<?php echo $arcRow['typeid']; ?>')" alt='快捷选择' title='快捷选择' /> | |||
<td> | |||
<?php | |||
$typeOptions = GetOptionList($arcRow['typeid'],$cuserLogin->getUserChannel(),$channelid); | |||
echo "<select name='typeid' id='typeid' style='width:160px'>"; | |||
if($arcRow['typeid']=='0') echo "<option value='0' selected>请选择主分类</option>"; | |||
echo $typeOptions; | |||
echo '</select>'; | |||
?> | |||
<img src='../static/web/img/menusearch.gif' style='cursor:pointer' onClick="ShowCatMap(event,this,<?php echo $channelid; ?>,'typeid','<?php echo $arcRow['typeid']; ?>')" title='快捷选择'> | |||
</td> | |||
<td width="90">消费金币:</td> | |||
<td><input name="money" type="text" id="money" value="<?php echo $arcRow['money']?>" style="width:120px"></td> | |||
</tr> | |||
</table> | |||
</td> | |||
</tr> | |||
<?php | |||
if($cfg_need_typeid2=='Y') { | |||
?> | |||
if($cfg_need_typeid2=='Y') { | |||
?> | |||
<tr> | |||
<td height="26" class="bline"><table width="800" border="0" cellspacing="0" cellpadding="0"> | |||
<td height="26" class="bline"> | |||
<table width="800" border="0" cellspacing="0" cellpadding="0"> | |||
<tr> | |||
<td width="90"> 图集副栏目:</td> | |||
<td><span id='typeid2ct'></span> | |||
<input type='text' name='typeid2' id='typeid2' value='<?php echo ($arcRow['typeid2']=='0' ? '' : $arcRow['typeid2']); ?>' style='width:200px;' /> | |||
<img src='../static/web/img/menusearch2.gif' style='cursor:pointer' onClick="ShowCatMap(event, this, <?php echo $channelid; ?>, 'typeid2', '<?php echo $arcRow['typeid2']; ?>')" alt='选择副栏目' title='选择副栏目' /> | |||
<td width="90"> 副栏目:</td> | |||
<td> | |||
<span id='typeid2ct'></span> | |||
<input type='text' name='typeid2' id='typeid2' value='<?php echo ($arcRow['typeid2']=='0' ? '' : $arcRow['typeid2']); ?>' style='width:160px'> | |||
<img src='../static/web/img/menusearch2.gif' style='cursor:pointer' onClick="ShowCatMap(event,this,<?php echo $channelid; ?>,'typeid2','<?php echo $arcRow['typeid2']; ?>')" title='选择副栏目'> | |||
</td> | |||
</tr> | |||
</table> | |||
</td> | |||
</tr> | |||
<?php } ?> | |||
<tr> | |||
<td height="26" class="bline"> | |||
<table width="800" border="0" cellspacing="0" cellpadding="0"> | |||
<tr> | |||
<td width="90"> 关键词:</td> | |||
<td><input type="text" name="keywords" id="keywords" value="<?php echo $arcRow['keywords']?>" style="width:360px"></td> | |||
</tr> | |||
</table> | |||
</td> | |||
</tr> | |||
<tr> | |||
<td height="26" class="bline"> | |||
<table width="800" border="0" cellspacing="0" cellpadding="0"> | |||
<tr> | |||
<td width="90"> 内容摘要:</td> | |||
<td><textarea name="description" id="description" style="width:360px;height:50px"><?php echo $arcRow['description']?></textarea></td> | |||
</tr> | |||
</table> | |||
</td> | |||
</tr> | |||
<?php | |||
} | |||
?> | |||
<tr> | |||
<td><?php | |||
PrintAutoFieldsEdit(stripslashes($cInfos['fieldset']),$addRow,'autofield'); | |||
@@ -228,27 +263,34 @@ if($cfg_need_typeid2=='Y') { | |||
<td height="26" colspan="4" class="bline"> | |||
<table width="800" border="0" cellspacing="0" cellpadding="0"> | |||
<tr> | |||
<td width="90" height="26" width="240"> 评论选项:</td> | |||
<td width="90" height="26" width="250"> 评论选项:</td> | |||
<td width="250"> | |||
<label><input type='radio' name='notpost' class='np' value='0'<?php if($arcRow['notpost']==0) echo " checked='1' "; ?>/> | |||
允许评论</label> | |||
| |||
<label><input type='radio' name='notpost' class='np' value='1'<?php if($arcRow['notpost']==1) echo " checked='1' "; ?>/> | |||
禁止评论</label></td> | |||
<td width="90">浏览次数:</td> | |||
<td><input type='text' name='click' value='<?php echo $arcRow['click']; ?>' style='width:100px;' /></td> | |||
禁止评论</label> | |||
</td> | |||
<td width="90">发布选项:</td> | |||
<td><label><input name="ishtml" type="radio" class="np" value="1"<?php if($arcRow["ismake"]!=-1) echo " checked"; ?>> | |||
生成HTML</label> | |||
<label><input type="radio" name="ishtml" class="np" value="0"<?php if($arcRow["ismake"]==-1) echo " checked"; ?>> | |||
仅动态浏览</label> | |||
</td> | |||
</tr> | |||
</table> | |||
</tr> | |||
<tr> | |||
<td height="26" class="bline"><table width="800" border="0" cellspacing="0" cellpadding="0"> | |||
<td height="26" class="bline"> | |||
<table width="800" border="0" cellspacing="0" cellpadding="0"> | |||
<tr> | |||
<td width="90"> 文档排序:</td> | |||
<td width="250"><select name="sortup" id="sortup" style="width:150"> | |||
<td width="250"> | |||
<select name="sortup" id="sortup" style="width:160px"> | |||
<?php | |||
$subday = SubDay($arcRow["sortrank"],$arcRow["pubdate"]); | |||
echo "<option value='0'>正常排序</option>\r\n"; | |||
if($subday>0) echo "<option value='$subday' selected>置顶 $subday 天</option>\r\n"; | |||
echo "<option value='0'>正常排序</option>"; | |||
if($subday>0) echo "<option value='$subday' selected>置顶 $subday 天</option>"; | |||
?> | |||
<option value="7">置顶一周</option> | |||
<option value="30">置顶一个月</option> | |||
@@ -258,7 +300,7 @@ if($cfg_need_typeid2=='Y') { | |||
</select></td> | |||
<td width="90">标题颜色:</td> | |||
<td> | |||
<input name="color" type="text" id="color" style="width:120" value="<?php echo $arcRow["color"]?>"> | |||
<input name="color" type="text" id="color" value="<?php echo $arcRow['color']?>" style="width:120px"> | |||
<button name="modcolor" type="button" id="modcolor" class="btn btn-success btn-sm" onClick="ShowColor(event,this)">选取</button> | |||
</td> | |||
</tr> | |||
@@ -266,26 +308,25 @@ if($cfg_need_typeid2=='Y') { | |||
</td> | |||
</tr> | |||
<tr> | |||
<td height="26" class="bline"><table width="800" border="0" cellspacing="0" cellpadding="0"> | |||
<td height="26" class="bline"> | |||
<table width="800" border="0" cellspacing="0" cellpadding="0"> | |||
<tr> | |||
<td width="90"> 阅读权限:</td> | |||
<td width="250"><select name="arcrank" id="arcrank" style="width:150"> | |||
<td width="250"> | |||
<select name="arcrank" id="arcrank" style="width:160px"> | |||
<option value='<?php echo $arcRow["arcrank"]?>'> <?php echo $arcRow["rankname"]?> </option> | |||
<?php | |||
$urank = $cuserLogin->getUserRank(); | |||
$dsql->SetQuery("Select * from #@__arcrank where adminrank<='$urank'"); | |||
$dsql->Execute(); | |||
while($row = $dsql->GetObject()){ | |||
echo " <option value='".$row->rank."'>".$row->membername."</option>\r\n"; | |||
echo "<option value='".$row->rank."'>".$row->membername."</option>"; | |||
} | |||
?> | |||
</select></td> | |||
<td width="90">发布选项:</td> | |||
<td><label><input name="ishtml" type="radio" class="np" value="1"<?php if($arcRow["ismake"]!=-1) echo " checked";?>> | |||
生成HTML</label> | |||
<label><input type="radio" name="ishtml" class="np" value="0"<?php if($arcRow["ismake"]==-1) echo " checked";?>> | |||
仅动态浏览</label></td> | |||
</select> | |||
</td> | |||
<td width="90">文件名称:</td> | |||
<td><input type="text" name="filename" id="filename" value="<?php echo $arcRow['filename']?>" style="width:120px">(不包括后缀名如.html等)</td> | |||
</tr> | |||
</table> | |||
</td> | |||
@@ -295,44 +336,14 @@ if($cfg_need_typeid2=='Y') { | |||
<table width="800" border="0" cellspacing="0" cellpadding="0"> | |||
<tr> | |||
<td width="90"> 发布时间:</td> | |||
<td width="250"><?php | |||
<td width="250"> | |||
<?php | |||
$nowtime = GetDateTimeMk(time()); | |||
echo "<input name=\"pubdate\" value=\"$nowtime\" type=\"text\" id=\"pubdate\" class='datepicker'>"; | |||
echo "<input type='text' name='pubdate' value='$nowtime' id='pubdate' class='datepicker' style='width:160px'>"; | |||
?> | |||
</td> | |||
<td width="90">消费金币:</td> | |||
<td width="368"><input name="money" type="text" id="money" value="<?php echo $arcRow["money"]?>" size="10"></td> | |||
</tr> | |||
</table> | |||
</td> | |||
</tr> | |||
<tr> | |||
<td height="26" class="bline"> | |||
<table width="800" border="0" cellspacing="0" cellpadding="0"> | |||
<tr> | |||
<td width="90" height="50"> 关键词:</td> | |||
<td><input type="text" name="keywords" id="keywords" style="width:60%" value="<?php echo $arcRow["keywords"]?>"></td> | |||
</tr> | |||
</table> | |||
</td> | |||
</tr> | |||
<tr> | |||
<td height="26" class="bline"> | |||
<table width="800" border="0" cellspacing="0" cellpadding="0"> | |||
<tr> | |||
<td width="90" height="50"> 内容摘要:</td> | |||
<td><textarea name="description" rows="3" id="description" style="width:60%"><?php echo $arcRow["description"]?></textarea></td> | |||
</tr> | |||
</table> | |||
</td> | |||
</tr> | |||
<tr> | |||
<td height="26" colspan="4"> | |||
<table width="800" border="0" cellspacing="0" cellpadding="0"> | |||
<tr> | |||
<td width="120"> 自定义文件名:</td> | |||
<td width="450"><input type="text" name="filename" id="filename" value="<?php echo $arcRow["filename"]?>">(不包括后缀名如.html等)</td> | |||
<td width="260"></td> | |||
<td width="90">浏览次数:</td> | |||
<td><input type="text" name="click" value="<?php echo $arcRow['click']; ?>" style="width:120px"></td> | |||
</tr> | |||
</table> | |||
</td> | |||
@@ -371,7 +382,7 @@ if($cfg_need_typeid2=='Y') { | |||
</td> | |||
</tr> | |||
<tr> | |||
<td width="86" height="26"> </td> | |||
<td width="86" height="26"></td> | |||
<td>(系统仅是每页输出"行x列"张图片,实现需自行控制样式表)</td> | |||
</tr> | |||
</table> | |||
@@ -381,7 +392,7 @@ if($cfg_need_typeid2=='Y') { | |||
<td height="26" colspan="4" class="bline"> | |||
<table width="800" border="0" cellspacing="0" cellpadding="0"> | |||
<tr> | |||
<td width="95"> 每页图片数:</td> | |||
<td width="90"> 每页图片数:</td> | |||
<td><input name='pagepicnum' id='pagpicnum' size='10' value='<?php echo $pagepicnum; ?>' /> | |||
单页多图显示需要设置此参数,这种模式下系统不会为每张图单独生成缩略图 </td> | |||
</tr> | |||
@@ -415,7 +426,7 @@ if($cfg_need_typeid2=='Y') { | |||
<tr id="zipff" style="display:none"> | |||
<td height="26" colspan="4" class="bline"><table width="800" border="0" cellspacing="0" cellpadding="0" height="100"> | |||
<tr> | |||
<td width="100"> 压缩包文件:</td> | |||
<td width="90"> 压缩包文件:</td> | |||
<td><input type='text' name='zipfile' id='zipfile' style='width:300px'> | |||
<button name='addon_bt' type='button' class='btn btn-success btn-sm' onClick="SelectSoft('form1.zipfile')">浏览</button> | |||
<label><input name="delzip" type="checkbox" id="delzip" value="1" checked="checked"> | |||
@@ -449,42 +460,39 @@ if($cfg_need_typeid2=='Y') { | |||
<td> | |||
<div id="thumbnailsEdit"> | |||
<?php | |||
$j = 1; | |||
if($imgurls!=""){ | |||
$dtp = new DedeTagParse(); | |||
$dtp->LoadSource($imgurls); | |||
if(is_array($dtp->CTags)) | |||
{ | |||
foreach($dtp->CTags as $ctag) | |||
{ | |||
if($ctag->GetName()=="img") | |||
{ | |||
$bigimg = trim($ctag->GetInnerText()); | |||
if($ctag->GetAtt('ddimg') != $bigimg && $ctag->GetAtt('ddimg')!='') | |||
{ | |||
$litimg = $ctag->GetAtt('ddimg'); | |||
} | |||
else | |||
{ | |||
$litimg = 'swfupload.php?dopost=ddimg&img='.$bigimg; | |||
} | |||
$fhtml = ''; | |||
$fhtml .= "<div class='albCt albEdit' id='albold{$j}'>\r\n"; | |||
$fhtml .= "<input type='hidden' name='imgurl{$j}' value='{$bigimg}' />\r\n"; | |||
$fhtml .= "<input type='hidden' name='imgddurl{$j}' value='{$litimg}' />\r\n"; | |||
$fhtml .= "<img src='{$litimg}' width='120' /><a href=\"javascript:delAlbPicOld('$bigimg', $j)\" class=\"btn btn-success btn-sm\">删除</a>\r\n"; | |||
$fhtml .= "<div style='margin-top:10px'>注释:<input type='text' name='imgmsg{$j}' value='".$ctag->GetAtt('text')."' style='width:190px;' /></div>\r\n"; | |||
$fhtml .= " <div style='margin-top:10px'>更换:<input type='file' name='imgfile{$j}' size='18' style='width:190px' /></div>\r\n"; | |||
$fhtml .= "</div>\r\n"; | |||
echo $fhtml; | |||
$j++; | |||
} | |||
} | |||
} | |||
$dtp->Clear(); | |||
} | |||
?> | |||
$j = 1; | |||
if($imgurls!=""){ | |||
$dtp = new DedeTagParse(); | |||
$dtp->LoadSource($imgurls); | |||
if(is_array($dtp->CTags)) | |||
{ | |||
foreach($dtp->CTags as $ctag) | |||
{ | |||
if($ctag->GetName()=="img") | |||
{ | |||
$bigimg = trim($ctag->GetInnerText()); | |||
if($ctag->GetAtt('ddimg') != $bigimg && $ctag->GetAtt('ddimg')!='') | |||
{ | |||
$litimg = $ctag->GetAtt('ddimg'); | |||
} else { | |||
$litimg = 'swfupload.php?dopost=ddimg&img='.$bigimg; | |||
} | |||
$fhtml = ''; | |||
$fhtml .= "<div class='albCt albEdit' id='albold{$j}'>"; | |||
$fhtml .= "<input type='hidden' name='imgurl{$j}' value='{$bigimg}'>"; | |||
$fhtml .= "<input type='hidden' name='imgddurl{$j}' value='{$litimg}'>"; | |||
$fhtml .= "<img src='{$litimg}'style='width:120px'><a href=\"javascript:delAlbPicOld('$bigimg',$j)\" class=\"btn btn-success btn-sm\">删除</a>"; | |||
$fhtml .= "<div style='margin-top:10px'>注释:<input type='text' name='imgmsg{$j}' value='".$ctag->GetAtt('text')."' style='width:160px'></div>"; | |||
$fhtml .= "<div style='margin-top:10px'>更换:<input type='file' name='imgfile{$j}' size='18' style='width:160px'></div>"; | |||
$fhtml .= "</div>"; | |||
echo $fhtml; | |||
$j++; | |||
} | |||
} | |||
} | |||
$dtp->Clear(); | |||
} | |||
?> | |||
</div> | |||
</td> | |||
</tr> | |||
@@ -494,7 +502,7 @@ if($cfg_need_typeid2=='Y') { | |||
<tr> | |||
<td height="26" colspan="4" class="bline" style="background:#f6f6f6;"><table width="800" border="0" cellspacing="0" cellpadding="0"> | |||
<tr> | |||
<td width="100"> 增加新图片:</td> | |||
<td width="90"> 增加新图片:</td> | |||
<td><span class="btn btn-success btn-sm fileinput-button"><i class="glyphicon glyphicon-plus"></i>选择本地图片(支持多选)<input type="file" name="files[]" id="iptAlbumImages" multiple></span></td> | |||
</tr> | |||
</table> | |||
@@ -6,9 +6,7 @@ | |||
<link rel="stylesheet" href="../static/web/css/bootstrap.min.css"> | |||
<link rel="stylesheet" href="../static/web/font/css/font-awesome.min.css"> | |||
<link rel="stylesheet" href="../static/web/css/admin.css"> | |||
<script> | |||
const cfg_uplitpic_cut = '<?php echo $cfg_uplitpic_cut;?>'; | |||
</script> | |||
<script>const cfg_uplitpic_cut = '<?php echo $cfg_uplitpic_cut; ?>';</script> | |||
<script language="javascript" src="../static/web/js/jquery.min.js"></script> | |||
<script language="javascript" src="../static/web/js/webajax.js"></script> | |||
<link rel="stylesheet" href="../static/web/css/daterangepicker.css"> | |||
@@ -17,7 +15,7 @@ | |||
<script src="../static/web/js/bootstrap.bundle.min.js"></script> | |||
<script language='javascript' src="js/main.js"></script> | |||
<link rel="stylesheet" href="../static/web/css/jquery.fileupload.css"> | |||
<link href="../static/web/css/cropper.min.css" rel="stylesheet"> | |||
<link rel="stylesheet" href="../static/web/css/cropper.min.css"> | |||
<script src="../static/web/js/cropper.min.js"></script> | |||
<script language="javascript"> | |||
function checkSubmit() { | |||
@@ -41,7 +39,7 @@ table{border-collapse:separate} | |||
<body topmargin="8"> | |||
<table width="98%" border="0" align="center" cellpadding="0" cellspacing="0" class="mt-3"> | |||
<tr> | |||
<td width="65%" height="30"><img src="../static/web/img/book1.gif"> <a href="catalog_do.php?cid=<?php echo $cid?>&channelid=<?php echo $channelid?>&dopost=listArchives">文档列表</a> > 发布商品</td> | |||
<td width="65%" height="30"><img src="../static/web/img/book1.gif"><a href="catalog_do.php?cid=<?php echo $cid?>&channelid=<?php echo $channelid?>&dopost=listArchives">文档列表</a> > 发布商品</td> | |||
<td width="30%" align='right'><?php echo $backurl; ?><a href="catalog_main.php" class="btn btn-success btn-sm">栏目管理</a></td> | |||
</tr> | |||
</table> | |||
@@ -52,7 +50,7 @@ table{border-collapse:separate} | |||
<tr> | |||
<td width="86" height="26" align="center" background="../static/web/img/itemnote1.gif">常规信息</td> | |||
<td width="86" align="center" background="../static/web/img/itemnote2.gif"><a href="javascript:;" onClick="ShowItem2()">高级参数</a></td> | |||
<td> </td> | |||
<td></td> | |||
</tr> | |||
</table> | |||
</td> | |||
@@ -82,7 +80,7 @@ table{border-collapse:separate} | |||
<td width="90"> <?php echo $cInfos['titlename']; ?>:</td> | |||
<td width="400"><input name="title" type="text" id="title" value="" style="width:380px"></td> | |||
<td width="90"> 简略标题:</td> | |||
<td><input name="shorttitle" type="text" id="shorttitle" style="width:150px"></td> | |||
<td><input name="shorttitle" type="text" id="shorttitle" style="width:160px"></td> | |||
</tr> | |||
</table> | |||
</td> | |||
@@ -91,7 +89,7 @@ table{border-collapse:separate} | |||
<td height="26" colspan="4" class="bline"> | |||
<table width="800" border="0" cellspacing="0" cellpadding="0"> | |||
<tr> | |||
<td width="100"> 自定义属性:</td> | |||
<td width="90"> 自定义属性:</td> | |||
<td> | |||
<?php | |||
$dsql->SetQuery("Select * From `#@__arcatt` order by sortid asc"); | |||
@@ -114,7 +112,7 @@ table{border-collapse:separate} | |||
<table width="800" border="0" cellspacing="0" cellpadding="0"> | |||
<tr> | |||
<td width="90"> 跳转网址:</td> | |||
<td><input name="redirecturl" type="text" id="redirecturl" style="width:300px" value=""></td> | |||
<td><input name="redirecturl" type="text" id="redirecturl" value="" style="width:300px"></td> | |||
</tr> | |||
</table> | |||
</td> | |||
@@ -124,9 +122,9 @@ table{border-collapse:separate} | |||
<table width="800" border="0" cellspacing="0" cellpadding="0"> | |||
<tr> | |||
<td width="90"> Tag标签:</td> | |||
<td><input name="tags" type="text" id="tags" value="" style="width:300px">(','号分开,单个标签小于12字节)</td> | |||
<td width="50">权重:</td> | |||
<td><input name="weight" type="text" id="weight" style="width:50px" value="<?php echo $maxWright['cc'];?>">(越小越靠前)</td> | |||
<td><input name="tags" type="text" id="tags" value="" onChange="$Obj('keywords').value=this.value;" style="width:300px">(','号分开,单个标签小于12字节)</td> | |||
<td width="60">权重:</td> | |||
<td><input name="weight" type="text" id="weight" value="<?php echo $maxWright['cc']; ?>" style="width:60px">(越小越靠前)</td> | |||
</tr> | |||
</table> | |||
</td> | |||
@@ -135,47 +133,60 @@ table{border-collapse:separate} | |||
<td height="26" colspan="4" class="bline"> | |||
<table width="800" border="0" cellspacing="0" cellpadding="0"> | |||
<tr> | |||
<td width="90"> 缩略图:</td> | |||
<td width="560"> | |||
<table width="100%" border="0" cellspacing="1" cellpadding="1"> | |||
<tr> | |||
<td height="30"> | |||
<input name="picname" type="text" id="picname" style="width:240px"> | |||
<label><input type='checkbox' class='np' name='ddisremote' value='1' id='ddisremote' /> 远程</label> | |||
<span class="btn btn-success btn-sm fileinput-button">上传图片<input type="file" name="files[]" id="iptAddImages"></span> | |||
<button type="button" name="Submit2" onClick="SelectImage('form1.picname','small');" class='btn btn-success btn-sm'>选择图片</button> | |||
<button id="btnClearAll" type="button" class="btn btn-success delete">清空</button> | |||
</td> | |||
</tr> | |||
</table> | |||
<td width="90"> 缩略图:</td> | |||
<td> | |||
<input name="picname" type="text" id="picname" style="width:300px"> | |||
<label><input type='checkbox' class='np' name='ddisremote' value='1' id='ddisremote' /> 远程</label> | |||
<span class="btn btn-success btn-sm fileinput-button">上传图片<input type="file" name="files[]" id="iptAddImages"></span> | |||
<button type="button" name="Submit2" onClick="SelectImage('form1.picname','small');" class='btn btn-success btn-sm'>选择图片</button> | |||
<button id="btnClearAll" type="button" class="btn btn-success delete">清空</button> | |||
</td> | |||
<td align="center"><img id="litPic" src="../static/web/img/defaultpic.jpg" style="height:80px"></td> | |||
</tr> | |||
</table> | |||
</td> | |||
</tr> | |||
<tr> | |||
<td height="26" colspan="4" class="bline"> | |||
<table width="800" border="0" cellspacing="0" cellpadding="0"> | |||
<tr> | |||
<td width="90"> 商品来源:</td> | |||
<td width="250"> | |||
<input name="source" type="text" id="source" style="width:160px" value="" size="16"> | |||
<button name="selsource" type="button" id="selsource" class="btn btn-success btn-sm">选择</button> | |||
</td> | |||
<td width="60">作者:</td> | |||
<td> | |||
<input name="writer" type="text" id="writer" value="" style="width:160px"> | |||
<button name="selwriter" type="button" id="selwriter" class="btn btn-success btn-sm">选择</button> | |||
</td> | |||
</tr> | |||
</table> | |||
<script language='javascript'>InitPage();</script> | |||
</td> | |||
</tr> | |||
<?php if($cInfos['dfcid']>0) | |||
{ | |||
echo "<input type='hidden' name='typeid' value='{$cInfos['dfcid']}' />\r\n"; | |||
echo "<input type='hidden' name='typeid2' value='0' />\r\n"; | |||
echo "<input type='hidden' name='typeid' value='{$cInfos['dfcid']}' />"; | |||
echo "<input type='hidden' name='typeid2' value='0' />"; | |||
} else { | |||
?> | |||
<tr> | |||
<td height="26" colspan="4" class="bline"> | |||
<table width="800" border="0" cellspacing="0" cellpadding="0"> | |||
<table width="600" border="0" cellspacing="0" cellpadding="0"> | |||
<tr> | |||
<td width="90"> 文档主栏目:</td> | |||
<td width="90"> 商品主栏目:</td> | |||
<td> | |||
<span id='typeidct'> | |||
<?php | |||
$typeOptions = GetOptionList($cid,$cuserLogin->getUserChannel(),$channelid); | |||
echo "<select name='typeid' id='typeid' style='width:240px'>\r\n"; | |||
echo "<option value='0'>请选择栏目</option>\r\n"; | |||
echo "<select name='typeid' id='typeid' style='width:160px'>"; | |||
echo "<option value='0'>请选择栏目</option>"; | |||
echo $typeOptions; | |||
echo "</select>"; | |||
?> | |||
</span> | |||
<img src='../static/web/img/menusearch.gif' style='cursor:pointer' onClick="ShowCatMap(event, this, <?php echo $channelid; ?>, 'typeid')" alt='快捷选择' title='快捷选择' /> | |||
<img src='../static/web/img/menusearch.gif' onClick="ShowCatMap(event,this,<?php echo $channelid; ?>,'typeid')" title='快捷选择' style='cursor:pointer'> | |||
<?php | |||
if($cfg_need_typeid2=='Y') | |||
{ | |||
@@ -183,6 +194,8 @@ table{border-collapse:separate} | |||
} | |||
?> | |||
</td> | |||
<td width="90">消费金币:</td> | |||
<td><input name="money" type="text" id="money" value="0" style="width:120px"></td> | |||
</tr> | |||
</table> | |||
</td> | |||
@@ -191,19 +204,45 @@ table{border-collapse:separate} | |||
<td height="26" colspan="4" class="bline"> | |||
<table width="800" border="0" cellspacing="0" cellpadding="0"> | |||
<tr> | |||
<td width="100"> 文档副栏目:</td> | |||
<td width="90"> 副栏目:</td> | |||
<td> | |||
<span id='typeid2ct'></span><input type='text' name='typeid2' id='typeid2' value='' style='width:200px;' /> | |||
<img src='../static/web/img/menusearch2.gif' style='cursor:pointer' onClick="ShowCatMap(event, this, <?php echo $channelid; ?>, 'typeid2')" alt='选择副栏目' title='选择副栏目' /> | |||
<span id='typeid2ct'></span> | |||
<input type='text' name='typeid2' id='typeid2' value='' style='width:160px'> | |||
<img src='../static/web/img/menusearch2.gif' onClick="ShowCatMap(event,this,<?php echo $channelid; ?>,'typeid2')" title='选择副栏目' style='cursor:pointer'> | |||
</td> | |||
</tr> | |||
</table> | |||
</td> | |||
</tr> | |||
<?php } ?> | |||
<tr> | |||
<td><?php PrintAutoFieldsAdd(stripslashes($cInfos['fieldset'])); ?></td> | |||
<td height="26" colspan="4" class="bline"> | |||
<table width="800" border="0" cellspacing="0" cellpadding="0"> | |||
<tr> | |||
<td width="90"> 关键词:</td> | |||
<td> | |||
<input type='text' name="keywords" id="keywords" value="" style="width:360px"> | |||
<button type="button" name="Submit" value="" class="btn btn-success btn-sm" onClick="SelectKeywords('form1.keywords');">浏览</button> | |||
</td> | |||
<td> | |||
<label><input name="autokey" type="checkbox" onClick="ShowHide('keywords');" ; class="np" id="autokey" value="1" <?php if($cfg_arc_autokeyword=='Y') echo ' checked'; ?>> 自动获取,手动填写用","分开</label> | |||
</td> | |||
</tr> | |||
</table> | |||
</td> | |||
</tr> | |||
<tr> | |||
<td height="26" colspan="4" class="bline"> | |||
<table width="800" border="0" cellspacing="0" cellpadding="0"> | |||
<tr> | |||
<td width="90"> 内容摘要:</td> | |||
<td><textarea name="description" id="description" style="width:360px;height:50px"></textarea></td> | |||
</tr> | |||
</table> | |||
</td> | |||
</tr> | |||
<?php | |||
} | |||
?> | |||
<tr> | |||
<td width="100%" height="26"> | |||
<table width="800" border="0" cellspacing="0" cellpadding="0"> | |||
@@ -227,6 +266,9 @@ table{border-collapse:separate} | |||
</table> | |||
</td> | |||
</tr> | |||
<tr> | |||
<td><?php PrintAutoFieldsAdd(stripslashes($cInfos['fieldset'])); ?></td> | |||
</tr> | |||
</table> | |||
<!--高级参数--> | |||
<table width="98%" border="0" align="center" cellpadding="2" cellspacing="2" id="adset" style="border:1px solid #dee2e6;background:#ffffff;display:none"> | |||
@@ -234,41 +276,30 @@ table{border-collapse:separate} | |||
<td height="26" colspan="4" class="bline"> | |||
<table width="800" border="0" cellspacing="0" cellpadding="0"> | |||
<tr> | |||
<td width="90" height="26" width="240"> 评论选项:</td> | |||
<td width="90" height="26" width="250"> 评论选项:</td> | |||
<td width="250"> | |||
<label><input type='radio' name='notpost' class='np' value='0' <?php if($cfg_feedback_forbid=='N') echo "checked='1' "; ?> /> 允许评论</label> | |||
| |||
<label><input type='radio' name='notpost' class='np' value='1' <?php if($cfg_feedback_forbid=='Y') echo "checked='1' "; ?> /> 禁止评论</label> | |||
</td> | |||
<td width="90">浏览次数:</td> | |||
<td width="90">发布选项:</td> | |||
<td> | |||
<input type='text' name='click' value='<?php echo ($cfg_arc_click=='-1' ? mt_rand(50, 200) : $cfg_arc_click); ?>' style='width:100px;' /> | |||
<label><input name="ishtml" type="radio" class="np" value="1" checked> | |||
生成HTML</label> | |||
<label><input type="radio" name="ishtml" class="np" value="0"> | |||
仅动态浏览</label> | |||
</td> | |||
</tr> | |||
</table> | |||
</td> | |||
</tr> | |||
<tr> | |||
<td height="26" colspan="4" class="bline"> | |||
<table width="800" border="0" cellspacing="0" cellpadding="0"> | |||
<tr> | |||
<td width="90"> 文档来源:</td> | |||
<td width="240"><input name="source" type="text" id="source" style="width:160px" value="" size="16"> | |||
<button name="selsource" type="button" id="selsource" class="btn btn-success btn-sm">选择</button></td> | |||
<td width="90">作者:</td> | |||
<td><input name="writer" type="text" id="writer" style="width:120px" value=""> | |||
<button name="selwriter" type="button" id="selwriter" class="btn btn-success btn-sm">选择</button></td> | |||
</tr> | |||
</table> | |||
<script language='javascript'>InitPage();</script> | |||
</td> | |||
</tr> | |||
<tr> | |||
<td height="26" colspan="4" class="bline"> | |||
<table width="800" border="0" cellspacing="0" cellpadding="0"> | |||
<tr> | |||
<td width="90" height="26"> 文档排序:</td> | |||
<td width="240"> <select name="sortup" id="sortup" style="width:150"> | |||
<td width="250"> | |||
<select name="sortup" id="sortup" style="width:160px"> | |||
<option value="0" selected>默认排序</option> | |||
<option value="7">置顶一周</option> | |||
<option value="30">置顶一个月</option> | |||
@@ -290,23 +321,19 @@ table{border-collapse:separate} | |||
<table width="800" border="0" cellspacing="0" cellpadding="0"> | |||
<tr> | |||
<td width="90"> 阅读权限:</td> | |||
<td width="240"><select name="arcrank" id="arcrank" style="width:150px"> | |||
<td width="250"><select name="arcrank" id="arcrank" style="width:160px"> | |||
<?php | |||
$urank = $cuserLogin->getUserRank(); | |||
$dsql->SetQuery("Select * from `#@__arcrank` where adminrank<='$urank'"); | |||
$dsql->Execute(); | |||
while($row = $dsql->GetObject()) | |||
{ | |||
echo "<option value='".$row->rank."'>".$row->membername."</option>\r\n"; | |||
echo "<option value='".$row->rank."'>".$row->membername."</option>"; | |||
} | |||
?></select></td> | |||
<td width="90">发布选项:</td> | |||
<td> | |||
<label><input name="ishtml" type="radio" class="np" value="1" checked> | |||
生成HTML</label> | |||
<label><input type="radio" name="ishtml" class="np" value="0"> | |||
仅动态浏览</label> | |||
?></select> | |||
</td> | |||
<td width="90">文件名称:</td> | |||
<td><input type="text" name="filename" id="filename" style="width:120px">(不包括后缀名如.html等)</td> | |||
</tr> | |||
</table> | |||
</td> | |||
@@ -316,52 +343,14 @@ table{border-collapse:separate} | |||
<table width="800" border="0" cellspacing="0" cellpadding="0"> | |||
<tr> | |||
<td width="90"> 发布时间:</td> | |||
<td width="240"> | |||
<td width="250"> | |||
<?php | |||
$nowtime = GetDateTimeMk(time()); | |||
echo "<input name=\"pubdate\" value=\"$nowtime\" type=\"text\" id=\"pubdate\" class='datepicker'>"; | |||
echo "<input type='text' name='pubdate' value='$nowtime' id='pubdate' class='datepicker' style='width:160px'>"; | |||
?> | |||
</td> | |||
<td width="90">消费金币:</td> | |||
<td width="380"><input name="money" type="text" id="money" value="0" size="10"></td> | |||
</tr> | |||
</table> | |||
</td> | |||
</tr> | |||
<tr> | |||
<td height="26" colspan="4" class="bline"> | |||
<table width="800" border="0" cellspacing="0" cellpadding="0"> | |||
<tr> | |||
<td width="90"> 关键词:</td> | |||
<td> | |||
<input type='text' name="keywords" id="keywords" style="width:290" value=""> | |||
<button type="button" name="Submit" value="" class="btn btn-success btn-sm" onClick="SelectKeywords('form1.keywords');">浏览</button> | |||
</td> | |||
<td width="260"> | |||
<label><input name="autokey" type="checkbox" onClick="ShowHide('keywords');" ; class="np" id="autokey" value="1" <?php if($cfg_arc_autokeyword=='Y') echo ' checked'; ?>> 自动获取,手动填写用","分开</label> | |||
</td> | |||
</tr> | |||
</table> | |||
</td> | |||
</tr> | |||
<tr> | |||
<td height="26" colspan="4" class="bline"> | |||
<table width="800" border="0" cellspacing="0" cellpadding="0"> | |||
<tr> | |||
<td width="90"> 内容摘要:</td> | |||
<td width="450"><textarea name="description" rows="3" id="description" style="width:80%"></textarea></td> | |||
<td width="260"> </td> | |||
</tr> | |||
</table> | |||
</td> | |||
</tr> | |||
<tr> | |||
<td height="26" colspan="4"> | |||
<table width="800" border="0" cellspacing="0" cellpadding="0"> | |||
<tr> | |||
<td width="120"> 自定义文件名:</td> | |||
<td width="450"><input type="text" name="filename" id="filename">(不包括后缀名如.html等)</td> | |||
<td width="260"> </td> | |||
<td width="90">浏览次数:</td> | |||
<td><input type="text" name="click" value="<?php echo ($cfg_arc_click=='-1' ? mt_rand(50,200):$cfg_arc_click); ?>" style="width:120px"></td> | |||
</tr> | |||
</table> | |||
</td> | |||
@@ -6,9 +6,7 @@ | |||
<link rel="stylesheet" href="../static/web/css/bootstrap.min.css"> | |||
<link rel="stylesheet" href="../static/web/font/css/font-awesome.min.css"> | |||
<link rel="stylesheet" href="../static/web/css/admin.css"> | |||
<script> | |||
const cfg_uplitpic_cut = '<?php echo $cfg_uplitpic_cut;?>'; | |||
</script> | |||
<script>const cfg_uplitpic_cut = '<?php echo $cfg_uplitpic_cut; ?>';</script> | |||
<script src="../static/web/js/jquery.min.js"></script> | |||
<script language="javascript" src="../static/web/js/webajax.js"></script> | |||
<script src="../static/web/js/bootstrap.bundle.min.js"></script> | |||
@@ -17,7 +15,7 @@ | |||
<script type="text/javascript" src="../static/web/js/moment.min.js"></script> | |||
<script type="text/javascript" src="../static/web/js/daterangepicker.js"></script> | |||
<link rel="stylesheet" href="../static/web/css/jquery.fileupload.css"> | |||
<link href="../static/web/css/cropper.min.css" rel="stylesheet"> | |||
<link rel="stylesheet" href="../static/web/css/cropper.min.css"> | |||
<script src="../static/web/js/cropper.min.js"></script> | |||
<script language="javascript"> | |||
function checkSubmit() { | |||
@@ -36,9 +34,9 @@ table{border-collapse:separate} | |||
</style> | |||
</head> | |||
<body topmargin="8"> | |||
<table width="98%" border="0" align="center" cellpadding="0" cellspacing="0"> | |||
<table width="98%" border="0" align="center" cellpadding="0" cellspacing="0" class="mt-3"> | |||
<tr> | |||
<td width="65%" height="30"><img src="../static/web/img/book1.gif"> <a href="catalog_do.php?cid=<?php echo $arcRow['typeid']?>&channelid=<?php echo $channelid?>&dopost=listArchives">文档列表</a> > 修改文档</td> | |||
<td width="65%" height="30"><img src="../static/web/img/book1.gif"><a href="catalog_do.php?cid=<?php echo $arcRow['typeid']?>&channelid=<?php echo $channelid?>&dopost=listArchives">文档列表</a> > 修改商品</td> | |||
<td width="30%" align='right'><?php echo $backurl; ?><a href="catalog_main.php" class="btn btn-success btn-sm">栏目管理</a></td> | |||
</tr> | |||
</table> | |||
@@ -76,9 +74,9 @@ table{border-collapse:separate} | |||
<table width="800" border="0" cellspacing="0" cellpadding="0"> | |||
<tr> | |||
<td width="90"> <?php echo $cInfos['titlename']; ?>:</td> | |||
<td width="400"><input name="title" type="text" id="title" value="<?php echo $arcRow['title']; ?>" style="width:380px"> </td> | |||
<td width="400"><input name="title" type="text" id="title" value="<?php echo $arcRow['title']; ?>" style="width:380px"></td> | |||
<td width="90"> 简略标题:</td> | |||
<td><input name="shorttitle" type="text" id="shorttitle" style="width:150px" value="<?php echo $arcRow['shorttitle']; ?>"> </td> | |||
<td><input name="shorttitle" type="text" id="shorttitle" value="<?php echo $arcRow['shorttitle']; ?>" style="width:160px"></td> | |||
</tr> | |||
</table> | |||
</td> | |||
@@ -87,7 +85,7 @@ table{border-collapse:separate} | |||
<td width="400%" height="26" class="bline"> | |||
<table width="800" border="0" cellspacing="0" cellpadding="0"> | |||
<tr> | |||
<td width="100"> 自定义属性:</td> | |||
<td width="90"> 自定义属性:</td> | |||
<td> | |||
<?php | |||
$dsql->SetQuery("SELECT * FROM `#@__arcatt` ORDER BY sortid ASC"); | |||
@@ -109,11 +107,11 @@ table{border-collapse:separate} | |||
</tr> | |||
<tr> | |||
<td height="26" class="bline" id="redirecturltr" | |||
style="display:<?php echo (empty($addRow['redirecturl']) ? 'none' : 'block');?>"> | |||
style="display:<?php echo (empty($addRow['redirecturl']) ? 'none' : 'block'); ?>"> | |||
<table width="800" border="0" cellspacing="0" cellpadding="0"> | |||
<tr> | |||
<td width="90"> 跳转网址:</td> | |||
<td><input name="redirecturl" type="text" id="redirecturl" style="width:300px" value="<?php echo $addRow['redirecturl']; ?>"></td> | |||
<td><input name="redirecturl" type="text" id="redirecturl" value="<?php echo $addRow['redirecturl']; ?>" style="width:300px"></td> | |||
</tr> | |||
</table> | |||
</td> | |||
@@ -124,8 +122,8 @@ table{border-collapse:separate} | |||
<tr> | |||
<td width="90"> Tag标签:</td> | |||
<td><input name="tags" type="text" id="tags" value="<?php echo $tags; ?>" style="width:300px">(','号分开,单个标签小于12字节)</td> | |||
<td width="50">权重:</td> | |||
<td><input name="weight" type="text" id="weight" style="width:50px" value="<?php echo $arcRow['weight'];?>">(越小越靠前)</td> | |||
<td width="60">权重:</td> | |||
<td><input name="weight" type="text" id="weight" value="<?php echo $arcRow['weight']; ?>" style="width:60px">(越小越靠前)</td> | |||
</tr> | |||
</table> | |||
</td> | |||
@@ -135,8 +133,8 @@ table{border-collapse:separate} | |||
<table width="800" border="0" cellspacing="0" cellpadding="0"> | |||
<tr> | |||
<td width="90" height="80"> 缩略图:</td> | |||
<td width="600"> | |||
<input name="picname" type="text" id="picname" style="width:300px" value="<?php echo $arcRow['litpic']?>"> | |||
<td> | |||
<input name="picname" type="text" id="picname" value="<?php echo $arcRow['litpic']?>" style="width:300px"> | |||
<label><input type='checkbox' class='np' name='ddisremote' value='1'> 远程</label> | |||
<span class="btn btn-success btn-sm fileinput-button">上传图片<input type="file" name="files[]" id="iptAddImages"></span> | |||
<button type="button" name="Submit" onClick="SelectImage('form1.picname','');" class="btn btn-success btn-sm">选择图片</button> | |||
@@ -149,29 +147,48 @@ table{border-collapse:separate} | |||
</table> | |||
</td> | |||
</tr> | |||
<tr> | |||
<td height="26" class="bline"> | |||
<table width="800" border="0" cellspacing="0" cellpadding="0"> | |||
<tr> | |||
<td width="90"> 商品来源:</td> | |||
<td width="250"> | |||
<input name="source" type="text" id="source" value="<?php echo $arcRow['source']?>" style="width:160px"> | |||
<button name="selsource" type="button" id="selsource" class="btn btn-success btn-sm">选择</button> | |||
</td> | |||
<td width="60">作者:</td> | |||
<td> | |||
<input name="writer" type="text" id="writer" value="<?php echo $arcRow['writer']?>" style="width:160px"> | |||
<button class="btn btn-success btn-sm" name="selwriter" type="button" id="selwriter">选择</button> | |||
</td> | |||
</tr> | |||
</table> | |||
<script language='javascript'>InitPage();</script> | |||
</td> | |||
</tr> | |||
<?php if($cInfos['dfcid']>0) | |||
{ | |||
echo "<input type='hidden' name='typeid' value='{$cInfos['dfcid']}' />\r\n"; | |||
echo "<input type='hidden' name='typeid2' value='' />\r\n"; | |||
} | |||
else | |||
{ | |||
echo "<input type='hidden' name='typeid' value='{$cInfos['dfcid']}' />"; | |||
echo "<input type='hidden' name='typeid2' value='' />"; | |||
} else { | |||
?> | |||
<tr> | |||
<td height="26" class="bline"> | |||
<table width="800" border="0" cellspacing="0" cellpadding="0"> | |||
<table width="570" border="0" cellspacing="0" cellpadding="0"> | |||
<tr> | |||
<td width="100"> 文档主栏目:</td> | |||
<td width="90"> 商品主栏目:</td> | |||
<td> | |||
<?php | |||
$typeOptions = GetOptionList($arcRow['typeid'],$cuserLogin->getUserChannel(),$channelid); | |||
echo "<select name='typeid' id='typeid' style='width:240px'>\r\n"; | |||
if($arcRow["typeid"]=="0") echo "<option value='0' selected>请选择栏目</option>\r\n"; | |||
echo "<select name='typeid' id='typeid' style='width:160px'>"; | |||
if($arcRow["typeid"]=="0") echo "<option value='0' selected>请选择栏目</option>"; | |||
echo $typeOptions; | |||
echo "</select>"; | |||
?> | |||
<img src='../static/web/img/menusearch.gif' style='cursor:pointer' onClick="ShowCatMap(event, this, <?php echo $channelid; ?>, 'typeid')" alt='快捷选择' title='快捷选择' /> | |||
</td> | |||
<img src='../static/web/img/menusearch.gif' onClick="ShowCatMap(event,this,<?php echo $channelid; ?>,'typeid')" title='快捷选择' style='cursor:pointer'> | |||
</td> | |||
<td width="90">消费金币:</td> | |||
<td><input name="money" type="text" id="money" value="<?php echo $arcRow['money']?>" style="width:120px"></td> | |||
</tr> | |||
</table> | |||
</td> | |||
@@ -183,17 +200,40 @@ table{border-collapse:separate} | |||
<td height="26" class="bline"> | |||
<table width="800" border="0" cellspacing="0" cellpadding="0"> | |||
<tr> | |||
<td width="100"> 文档副栏目:</td> | |||
<td width="90"> 商品副栏目:</td> | |||
<td> | |||
<span id='typeid2ct'></span> | |||
<input type='text' name='typeid2' id='typeid2' value='<?php echo ($arcRow['typeid2']=='0' ? '' : $arcRow['typeid2']); ?>' style='width:200px;' /> | |||
<img src='../static/web/img/menusearch2.gif' style='cursor:pointer' onClick="ShowCatMap(event, this, <?php echo $channelid; ?>, 'typeid2', '<?php echo $arcRow['typeid2']; ?>')" alt='选择副栏目' title='选择副栏目' /> | |||
<img src='../static/web/img/menusearch2.gif' onClick="ShowCatMap(event, this, <?php echo $channelid; ?>,'typeid2','<?php echo $arcRow['typeid2']; ?>')" title='选择副栏目' style='cursor:pointer'> | |||
</td> | |||
</tr> | |||
</table> | |||
</td> | |||
</tr> | |||
<?php }} ?> | |||
<tr> | |||
<td height="26" class="bline"> | |||
<table width="800" border="0" cellspacing="0" cellpadding="0"> | |||
<tr> | |||
<td width="90" height="50"> 关键词:</td> | |||
<td><input type="text" name="keywords" id="keywords" style="width:60%" value="<?php echo $arcRow["keywords"]?>"></td> | |||
</tr> | |||
</table> | |||
</td> | |||
</tr> | |||
<tr> | |||
<td height="26" class="bline"> | |||
<table width="800" border="0" cellspacing="0" cellpadding="0"> | |||
<tr> | |||
<td width="90" height="50"> 文档摘要:</td> | |||
<td><textarea name="description" rows="3" id="description" style="width:60%"><?php echo $arcRow['description']?></textarea></td> | |||
</tr> | |||
</table> | |||
</td> | |||
</tr> | |||
<?php | |||
} | |||
} | |||
?> | |||
<tr> | |||
<td> | |||
<?php | |||
@@ -223,30 +263,20 @@ table{border-collapse:separate} | |||
<td height="26" colspan="4" class="bline"> | |||
<table width="800" border="0" cellspacing="0" cellpadding="0"> | |||
<tr> | |||
<td width="90" height="26" width="240"> 评论选项:</td> | |||
<td width="90" height="26" width="250"> 评论选项:</td> | |||
<td width="250"> | |||
<label><input type='radio' name='notpost' class='np' value='0' <?php if($arcRow['notpost']==0) echo " checked='1' "; ?> /> 允许评论</label> | |||
| |||
<label><input type='radio' name='notpost' class='np' value='1' <?php if($arcRow['notpost']==1) echo " checked='1' "; ?> /> 禁止评论</label> | |||
</td> | |||
<td width="90">浏览次数:</td> | |||
<td><input type='text' name='click' value='<?php echo $arcRow['click']; ?>' style='width:100px;' /></td> | |||
</tr> | |||
</table> | |||
</td> | |||
</tr> | |||
<tr> | |||
<td height="26" class="bline"> | |||
<table width="800" border="0" cellspacing="0" cellpadding="0"> | |||
<tr> | |||
<td width="90"> 文档来源:</td> | |||
<td width="250"><input name="source" type="text" id="source" style="width:160" value="<?php echo $arcRow['source']?>" size="16"> <button name="selsource" type="button" id="selsource" class="btn btn-success btn-sm">选择</button></td> | |||
<td width="90">作者:</td> | |||
<td> | |||
<input name="writer" type="text" id="writer" style="width:120px" value="<?php echo $arcRow["writer"]?>"> <button class="btn btn-success btn-sm" name="selwriter" type="button" id="selwriter">选择</button></td> | |||
<td width="90">发布选项:</td> | |||
<td><label><input name="ishtml" type="radio" class="np" value="1" <?php if($arcRow["ismake"]!=-1) echo " checked"; ?>> | |||
生成HTML</label> | |||
<label><input type="radio" name="ishtml" class="np" value="0" <?php if($arcRow["ismake"]==-1) echo " checked"; ?>> | |||
仅动态浏览</label> | |||
</td> | |||
</tr> | |||
</table> | |||
<script language='javascript'>InitPage();</script> | |||
</td> | |||
</tr> | |||
<tr> | |||
@@ -254,11 +284,11 @@ table{border-collapse:separate} | |||
<table width="800" border="0" cellspacing="0" cellpadding="0"> | |||
<tr> | |||
<td width="90"> 文档排序:</td> | |||
<td width="250"><select name="sortup" id="sortup" style="width:150"> | |||
<td width="250"><select name="sortup" id="sortup" style="width:160px"> | |||
<?php | |||
$subday = SubDay($arcRow["sortrank"],$arcRow["pubdate"]); | |||
echo "<option value='0'>正常排序</option>\r\n"; | |||
if($subday>0) echo "<option value='$subday' selected>置顶 $subday 天</option>\r\n"; | |||
echo "<option value='0'>正常排序</option>"; | |||
if($subday>0) echo "<option value='$subday' selected>置顶 $subday 天</option>"; | |||
?> | |||
<option value="7">置顶一周</option> | |||
<option value="30">置顶一个月</option> | |||
@@ -269,7 +299,7 @@ table{border-collapse:separate} | |||
</td> | |||
<td width="90">标题颜色:</td> | |||
<td> | |||
<input name="color" type="text" id="color" style="width:120" value="<?php echo $arcRow["color"]?>"> | |||
<input name="color" type="text" id="color" value="<?php echo $arcRow['color']?>" style="width:120px"> | |||
<button name="modcolor" type="button" id="modcolor" class="btn btn-success btn-sm" onClick="ShowColor(event,this)">选取</button> | |||
</td> | |||
</tr> | |||
@@ -281,24 +311,20 @@ table{border-collapse:separate} | |||
<table width="800" border="0" cellspacing="0" cellpadding="0"> | |||
<tr> | |||
<td width="90"> 阅读权限:</td> | |||
<td width="250"><select name="arcrank" id="arcrank" style="width:150"> | |||
<td width="250"><select name="arcrank" id="arcrank" style="width:160px"> | |||
<option value='<?php echo $arcRow["arcrank"]?>'><?php echo $arcRow["rankname"]?></option> | |||
<?php | |||
$urank = $cuserLogin->getUserRank(); | |||
$dsql->SetQuery("Select * from #@__arcrank where adminrank<='$urank'"); | |||
$dsql->Execute(); | |||
while($row = $dsql->GetObject()){ | |||
echo "<option value='".$row->rank."'>".$row->membername."</option>\r\n"; | |||
echo "<option value='".$row->rank."'>".$row->membername."</option>"; | |||
} | |||
?> | |||
</select> | |||
</td> | |||
<td width="90">发布选项:</td> | |||
<td><label><input name="ishtml" type="radio" class="np" value="1" <?php if($arcRow["ismake"]!=-1) echo " checked";?>> | |||
生成HTML</label> | |||
<label><input type="radio" name="ishtml" class="np" value="0" <?php if($arcRow["ismake"]==-1) echo " checked";?>> | |||
仅动态浏览</label> | |||
</td> | |||
<td width="90">文件名称:</td> | |||
<td><input type="text" name="filename" id="filename" value="<?php echo $arcRow['filename']?>" style="width:120px">(不包括后缀名如.html等)</td> | |||
</tr> | |||
</table> | |||
</td> | |||
@@ -310,42 +336,11 @@ table{border-collapse:separate} | |||
<td width="90"> 更新时间:</td> | |||
<td width="250"><?php | |||
$nowtime = GetDateTimeMk(time()); | |||
echo "<input name=\"pubdate\" value=\"$nowtime\" type=\"text\" id=\"pubdate\" class='datepicker'>"; | |||
echo "<input name='pubdate' value='$nowtime' type='text' id='pubdate' class='datepicker' style='width:160px'>"; | |||
?> | |||
</td> | |||
<td width="90">消费金币:</td> | |||
<td width="368"><input name="money" type="text" id="money" value="<?php echo $arcRow['money']?>" size="10"></td> | |||
</tr> | |||
</table> | |||
</td> | |||
</tr> | |||
<tr> | |||
<td height="26" class="bline"> | |||
<table width="800" border="0" cellspacing="0" cellpadding="0"> | |||
<tr> | |||
<td width="90" height="50"> 关键词:</td> | |||
<td><input type="text" name="keywords" id="keywords" style="width:60%" value="<?php echo $arcRow["keywords"]?>"></td> | |||
</tr> | |||
</table> | |||
</td> | |||
</tr> | |||
<tr> | |||
<td height="26" class="bline"> | |||
<table width="800" border="0" cellspacing="0" cellpadding="0"> | |||
<tr> | |||
<td width="90" height="50"> 文档摘要:</td> | |||
<td><textarea name="description" rows="3" id="description" style="width:60%"><?php echo $arcRow['description']?></textarea></td> | |||
</tr> | |||
</table> | |||
</td> | |||
</tr> | |||
<tr> | |||
<td height="26" colspan="4"> | |||
<table width="800" border="0" cellspacing="0" cellpadding="0"> | |||
<tr> | |||
<td width="120"> 自定义文件名:</td> | |||
<td width="450"><input type="text" name="filename" id="filename" value="<?php echo $arcRow["filename"]?>">(不包括后缀名如.html等)</td> | |||
<td width="260"></td> | |||
<td width="90">浏览次数:</td> | |||
<td><input type="text" name="click" value="<?php echo $arcRow['click']; ?>" style="width:120px"></td> | |||
</tr> | |||
</table> | |||
</td> | |||
@@ -6,18 +6,16 @@ | |||
<link rel="stylesheet" href="../static/web/css/bootstrap.min.css"> | |||
<link rel="stylesheet" href="../static/web/font/css/font-awesome.min.css"> | |||
<link rel="stylesheet" href="../static/web/css/admin.css"> | |||
<script> | |||
const cfg_uplitpic_cut = '<?php echo $cfg_uplitpic_cut;?>'; | |||
</script> | |||
<script>const cfg_uplitpic_cut = '<?php echo $cfg_uplitpic_cut; ?>';</script> | |||
<script language="javascript" src="../static/web/js/jquery.min.js"></script> | |||
<script src="../static/web/js/bootstrap.bundle.min.js"></script> | |||
<script language="javascript" src="../static/web/js/webajax.js"></script> | |||
<link rel="stylesheet" href="../static/web/css/daterangepicker.css"> | |||
<script type="text/javascript" src="../static/web/js/moment.min.js"></script> | |||
<script type="text/javascript" src="../static/web/js/daterangepicker.js"></script> | |||
<script language='javascript' src="js/main.js"></script> | |||
<script language="javascript" src="js/main.js"></script> | |||
<link rel="stylesheet" href="../static/web/css/jquery.fileupload.css"> | |||
<link href="../static/web/css/cropper.min.css" rel="stylesheet"> | |||
<link rel="stylesheet" href="../static/web/css/cropper.min.css"> | |||
<script src="../static/web/js/cropper.min.js"></script> | |||
<script language="javascript"> | |||
function checkSubmit() | |||
@@ -42,7 +40,7 @@ table{border-collapse:separate} | |||
<body topmargin="8"> | |||
<table width="98%" border="0" align="center" cellpadding="0" cellspacing="0" class="mt-3"> | |||
<tr> | |||
<td width="65%" height="30"><img src="../static/web/img/book1.gif"> <a href="content_sg_list.php?cid=<?php echo $cid?>&channelid=<?php echo $channelid?>&dopost=listArchives">文档列表</a> > 发布分类</td> | |||
<td width="65%" height="30"><img src="../static/web/img/book1.gif"><a href="content_sg_list.php?cid=<?php echo $cid?>&channelid=<?php echo $channelid?>&dopost=listArchives">文档列表</a> > 发布分类</td> | |||
<td width="30%" align='right'><?php echo $backurl; ?><a class="btn btn-success btn-sm" href="catalog_main.php">栏目管理</a></td> | |||
</tr> | |||
</table> | |||
@@ -52,7 +50,6 @@ table{border-collapse:separate} | |||
<table width="800" border="0" cellpadding="0" cellspacing="0"> | |||
<tr> | |||
<td width="86" height="26" align="center" background="../static/web/img/itemnote1.gif">常规信息</td> | |||
<td width="86"></td> | |||
<td></td> | |||
</tr> | |||
</table> | |||
@@ -78,7 +75,7 @@ table{border-collapse:separate} | |||
<td height="26" colspan="4" class="bline"> | |||
<table width="800" border="0" cellspacing="0" cellpadding="0"> | |||
<tr> | |||
<td width="100"> 自定义属性:</td> | |||
<td width="90"> 自定义属性:</td> | |||
<td> | |||
<?php | |||
$dsql->SetQuery("Select * From `#@__arcatt` where att<>'j' And att<>'p' order by sortid asc"); | |||
@@ -99,23 +96,45 @@ table{border-collapse:separate} | |||
<tr> | |||
<td width="90"> 缩略图:</td> | |||
<td> | |||
<table width="100%" border="0" cellspacing="1" cellpadding="1"> | |||
<tr> | |||
<td height="26"> | |||
<input name="picname" type="text" id="picname" style="width:260px"> | |||
<label><input type='checkbox' class='np' name='ddisremote' value='1' id='ddisremote' /> 远程</label> | |||
<span class="btn btn-success btn-sm fileinput-button">上传图片<input type="file" name="files[]" id="iptAddImages"></span> | |||
<button type="button" name="Submit2" onclick="SelectImage('form1.picname','small');" class="btn btn-success btn-sm">选择图片</button> | |||
<button id="btnClearAll" type="button" class="btn btn-success btn-sm delete">清空</button> | |||
</td> | |||
</tr> | |||
</table> | |||
<input name="picname" type="text" id="picname" style="width:300px"> | |||
<label><input type='checkbox' class='np' name='ddisremote' value='1' id='ddisremote' /> 远程</label> | |||
<span class="btn btn-success btn-sm fileinput-button">上传图片<input type="file" name="files[]" id="iptAddImages"></span> | |||
<button type="button" name="Submit2" onclick="SelectImage('form1.picname','small');" class="btn btn-success btn-sm">选择图片</button> | |||
<button id="btnClearAll" type="button" class="btn btn-success btn-sm delete">清空</button> | |||
</td> | |||
<td width="150" align="center"><img id="litPic" src="../static/web/img/defaultpic.jpg" style="height:80px"></td> | |||
</tr> | |||
</table> | |||
</td> | |||
</tr> | |||
<?php if($cInfos['dfcid']>0) | |||
{ | |||
echo "<input type='hidden' name='typeid' value='{$cInfos['dfcid']}' />"; | |||
} else { | |||
?> | |||
<tr> | |||
<td height="26" colspan="4" class="bline"> | |||
<table width="800" border="0" cellspacing="0" cellpadding="0"> | |||
<tr> | |||
<td width="90"> 文档主栏目:</td> | |||
<td> | |||
<span id='typeidct'> | |||
<?php | |||
$typeOptions = GetOptionList($cid,$cuserLogin->getUserChannel(),$channelid); | |||
echo "<select name='typeid' id='typeid' style='width:160px'>"; | |||
echo "<option value='0'>请选择栏目</option>"; | |||
echo $typeOptions; | |||
echo "</select>"; | |||
?></span> | |||
<img src='../static/web/img/menusearch.gif' onClick="ShowCatMap(event,this,<?php echo $channelid; ?>,'typeid')" title='快捷选择' style='cursor:pointer'> | |||
</td> | |||
</tr> | |||
</table> | |||
</td> | |||
</tr> | |||
<?php | |||
} | |||
?> | |||
<tr> | |||
<td height="26" colspan="4" class="bline"> | |||
<table width="800" border="0" cellspacing="0" cellpadding="0"> | |||
@@ -129,45 +148,15 @@ table{border-collapse:separate} | |||
$dsql->Execute(); | |||
while($row = $dsql->GetObject()) | |||
{ | |||
echo "<option value='".$row->rank."'>".$row->membername."</option>\r\n"; | |||
echo "<option value='".$row->rank."'>".$row->membername."</option>"; | |||
} | |||
?> | |||
</select> | |||
</td> | |||
<td width="90"></td> | |||
<td></td> | |||
</td> | |||
</tr> | |||
</table> | |||
</td> | |||
</tr> | |||
<?php if($cInfos['dfcid']>0) | |||
{ | |||
echo "<input type='hidden' name='typeid' value='{$cInfos['dfcid']}' />\r\n"; | |||
} else { | |||
?> | |||
<tr> | |||
<td height="26" colspan="4" class="bline"> | |||
<table width="800" border="0" cellspacing="0" cellpadding="0"> | |||
<tr> | |||
<td width="90"> 文档主栏目:</td> | |||
<td> | |||
<span id='typeidct'> | |||
<?php | |||
$typeOptions = GetOptionList($cid,$cuserLogin->getUserChannel(),$channelid); | |||
echo "<select name='typeid' id='typeid' style='width:240px'>\r\n"; | |||
echo "<option value='0'>请选择栏目</option>\r\n"; | |||
echo $typeOptions; | |||
echo "</select>"; | |||
?></span> | |||
<img src='../static/web/img/menusearch.gif' style='cursor:pointer' onClick="ShowCatMap(event, this, <?php echo $channelid; ?>, 'typeid')" alt='快捷选择' title='快捷选择' /> | |||
<a href='catalog_main.php' class='btn btn-success btn-sm'>栏目管理</a> | |||
<a href='catalog_add.php?listtype=all' class='btn btn-success btn-sm'>增加大栏目</a> | |||
</td> | |||
</tr> | |||
</table> | |||
</td> | |||
</tr> | |||
<?php } ?> | |||
<tr> | |||
<td><?php PrintAutoFieldsAdd(stripslashes($cInfos['fieldset']),'autofield'); ?></td> | |||
</tr> | |||
@@ -6,9 +6,7 @@ | |||
<link rel="stylesheet" href="../static/web/css/bootstrap.min.css"> | |||
<link rel="stylesheet" href="../static/web/font/css/font-awesome.min.css"> | |||
<link rel="stylesheet" href="../static/web/css/admin.css"> | |||
<script> | |||
const cfg_uplitpic_cut = '<?php echo $cfg_uplitpic_cut;?>'; | |||
</script> | |||
<script>const cfg_uplitpic_cut = '<?php echo $cfg_uplitpic_cut; ?>';</script> | |||
<script language="javascript" src="../static/web/js/jquery.min.js"></script> | |||
<script language="javascript" src="../static/web/js/webajax.js"></script> | |||
<script type="text/javascript" src="../static/web/js/moment.min.js"></script> | |||
@@ -17,7 +15,7 @@ | |||
<link rel="stylesheet" href="../static/web/css/daterangepicker.css"> | |||
<script src="../static/web/js/bootstrap.bundle.min.js"></script> | |||
<link rel="stylesheet" href="../static/web/css/jquery.fileupload.css"> | |||
<link href="../static/web/css/cropper.min.css" rel="stylesheet"> | |||
<link rel="stylesheet" href="../static/web/css/cropper.min.css"> | |||
<script src="../static/web/js/cropper.min.js"></script> | |||
<script language="javascript"> | |||
function checkSubmit() | |||
@@ -39,8 +37,8 @@ table{border-collapse:separate} | |||
<body topmargin="8"> | |||
<table width="98%" border="0" align="center" cellpadding="0" cellspacing="0" class="mt-3"> | |||
<tr> | |||
<td width="65%" height="30"><img src="../static/web/img/book1.gif"> <a href="content_sg_list.php?cid=<?php echo $addRow['typeid']?>&channelid=<?php echo $channelid?>&dopost=listArchives">文档列表</a> > 修改分类</td> | |||
<td width="30%" align='right'> <?php echo $backurl; ?><a class="btn btn-success btn-sm" href="catalog_main.php">栏目管理</a></td> | |||
<td width="65%" height="30"><img src="../static/web/img/book1.gif"><a href="content_sg_list.php?cid=<?php echo $addRow['typeid']?>&channelid=<?php echo $channelid?>&dopost=listArchives">文档列表</a> > 修改分类</td> | |||
<td width="30%" align='right'><?php echo $backurl; ?><a class="btn btn-success btn-sm" href="catalog_main.php">栏目管理</a></td> | |||
</tr> | |||
</table> | |||
<table width="98%" border="0" align="center" cellpadding="0" cellspacing="0" id="head1"> | |||
@@ -49,7 +47,7 @@ table{border-collapse:separate} | |||
<table border="0" cellpadding="0" cellspacing="0"> | |||
<tr> | |||
<td width="86" height="26" align="center" background="../static/web/img/itemnote1.gif">常规信息</td> | |||
<td width="86" align="center"></td> | |||
<td width="86"></td> | |||
</tr> | |||
</table> | |||
</td> | |||
@@ -74,9 +72,9 @@ table{border-collapse:separate} | |||
<tr> | |||
<td width="400%" height="26" class="bline"> | |||
<table width="800" border="0" cellspacing="0" cellpadding="0"> | |||
<tr> | |||
<td width="100"> 自定义属性:</td> | |||
<td> | |||
<tr> | |||
<td width="90"> 自定义属性:</td> | |||
<td> | |||
<?php | |||
$dsql->SetQuery("SELECT * FROM `#@__arcatt` WHERE att<>'j' AND att<>'p' ORDER BY sortid ASC"); | |||
$dsql->Execute(); | |||
@@ -88,9 +86,10 @@ table{border-collapse:separate} | |||
echo "<label><input class='np' type='checkbox' name='flags[]' id='flags{$trow->att}' value='{$trow->att}' /> {$trow->attname}[{$trow->att}]</label> "; | |||
} | |||
?> | |||
</td> | |||
</tr> | |||
</table></td> | |||
</td> | |||
</tr> | |||
</table> | |||
</td> | |||
</tr> | |||
<tr> | |||
<td height="26" class="bline"> | |||
@@ -98,19 +97,18 @@ table{border-collapse:separate} | |||
<tr> | |||
<td width="90"> 浏览权限:</td> | |||
<td> | |||
<select name="arcrank" id="arcrank" style="width:150px"> | |||
<select name="arcrank" id="arcrank" style="width:160px"> | |||
<option value='<?php echo $addRow["arcrank"]; ?>'><?php echo $addRow["rankname"]; ?></option> | |||
<?php | |||
$urank = $cuserLogin->getUserRank(); | |||
$dsql->SetQuery("Select * from `#@__arcrank` where adminrank<='$urank' And `rank`<>'{$addRow["arcrank"]}' "); | |||
$dsql->Execute(); | |||
while($row = $dsql->GetObject()) { | |||
echo "<option value='".$row->rank."'>".$row->membername."</option>\r\n"; | |||
echo "<option value='".$row->rank."'>".$row->membername."</option>"; | |||
} | |||
?> | |||
</select> </td> | |||
<td width="90"></td> | |||
<td></td> | |||
</select> | |||
</td> | |||
</tr> | |||
</table> | |||
</td> | |||
@@ -119,8 +117,8 @@ table{border-collapse:separate} | |||
<td height="26" class="bline"> | |||
<table width="800" border="0" cellspacing="0" cellpadding="0"> | |||
<tr> | |||
<td width="90" height="80"> 缩略图:</td> | |||
<td width="560"> | |||
<td width="90"> 缩略图:</td> | |||
<td> | |||
<input name="picname" type="text" id="picname" style="width:300px" value="<?php echo $addRow['litpic']?>"> | |||
<label><input type='checkbox' class='np' name='ddisremote' value='1'> 远程</label> | |||
<span class="btn btn-success btn-sm fileinput-button">上传图片<input type="file" name="files[]" id="iptAddImages"></span> | |||
@@ -134,32 +132,34 @@ table{border-collapse:separate} | |||
</tr> | |||
<?php if($cInfos['dfcid']>0) | |||
{ | |||
echo "<input type='hidden' name='typeid' value='{$cInfos['dfcid']}' />\r\n"; | |||
echo "<input type='hidden' name='typeid' value='{$cInfos['dfcid']}' />"; | |||
} else { | |||
?> | |||
<tr> | |||
<td height="26" class="bline"> <table width="800" border="0" cellspacing="0" cellpadding="0"> | |||
<td height="26" class="bline"> | |||
<table width="800" border="0" cellspacing="0" cellpadding="0"> | |||
<tr> | |||
<td width="90"> 文档主栏目:</td> | |||
<td> | |||
<?php | |||
$typeOptions = GetOptionList($addRow['typeid'],$cuserLogin->getUserChannel(),$channelid); | |||
echo "<select name='typeid' id='typeid' style='width:240px'>\r\n"; | |||
if($addRow["typeid"]=="0") echo "<option value='0' selected>请选择栏目</option>\r\n"; | |||
echo "<select name='typeid' id='typeid' style='width:240px'>"; | |||
if($addRow["typeid"]=="0") echo "<option value='0' selected>请选择栏目</option>"; | |||
echo $typeOptions; | |||
echo "</select>"; | |||
?> | |||
<img src='../static/web/img/menusearch.gif' style='cursor:pointer' onClick="ShowCatMap(event, this, <?php echo $channelid; ?>, 'typeid', '<?php echo $addRow['typeid']; ?>')" alt='快捷选择' title='快捷选择' /> | |||
<img src='../static/web/img/menusearch.gif' onClick="ShowCatMap(event,this,<?php echo $channelid; ?>,'typeid','<?php echo $addRow['typeid']; ?>')" title='快捷选择' style='cursor:pointer'> | |||
</td> | |||
</tr> | |||
</table></td> | |||
</table> | |||
</td> | |||
</tr> | |||
<?php } ?> | |||
<?php | |||
} | |||
?> | |||
<tr> | |||
<td> | |||
<?php | |||
PrintAutoFieldsEdit(stripslashes($cInfos['fieldset']),$addRow,'autofield'); | |||
?> | |||
<?php PrintAutoFieldsEdit(stripslashes($cInfos['fieldset']),$addRow,'autofield'); ?> | |||
</td> | |||
</tr> | |||
</table> | |||
@@ -9,9 +9,7 @@ | |||
<link rel="stylesheet" href="../static/web/css/daterangepicker.css"> | |||
<link rel="stylesheet" href="../static/web/css/jquery.fileupload.css"> | |||
<link rel="stylesheet" href="../static/web/css/cropper.min.css"> | |||
<script> | |||
const cfg_uplitpic_cut = '<?php echo $cfg_uplitpic_cut;?>'; | |||
</script> | |||
<script>const cfg_uplitpic_cut = '<?php echo $cfg_uplitpic_cut; ?>';</script> | |||
<script src="../static/web/js/jquery.min.js"></script> | |||
<script src="../static/web/js/webajax.js"></script> | |||
<script src="../static/web/js/moment.min.js"></script> | |||
@@ -92,7 +90,7 @@ table{border-collapse:separate} | |||
<td width="90"> 文章标题:</td> | |||
<td width="400"><input name="title" type="text" id="title" value="<?php echo $title; ?>" style="width:380px"></td> | |||
<td width="90"> 简略标题:</td> | |||
<td><input name="shorttitle" type="text" id="shorttitle" style="width:150px"></td> | |||
<td><input name="shorttitle" type="text" id="shorttitle" style="width:160px"></td> | |||
</tr> | |||
</table> | |||
</td> | |||
@@ -124,7 +122,7 @@ table{border-collapse:separate} | |||
<table width="800" border="0" cellspacing="0" cellpadding="0"> | |||
<tr> | |||
<td width="90"> 跳转网址:</td> | |||
<td><input name="redirecturl" type="text" id="redirecturl" style="width:300px" value=""></td> | |||
<td><input name="redirecturl" type="text" id="redirecturl" value="" style="width:300px"></td> | |||
</tr> | |||
</table> | |||
</td> | |||
@@ -134,9 +132,9 @@ table{border-collapse:separate} | |||
<table width="800" border="0" cellspacing="0" cellpadding="0"> | |||
<tr> | |||
<td width="90"> Tag标签:</td> | |||
<td><input name="tags" type="text" id="tags" value="" style="width:300px" onChange="$Obj('keywords').value=this.value;">(','号分开,单个标签小于12字节)</td> | |||
<td width="50">权重:</td> | |||
<td><input name="weight" type="text" id="weight" style="width:50px" value="<?php echo $maxWright['cc'];?>">(越小越靠前)</td> | |||
<td><input name="tags" type="text" id="tags" value="" onChange="$Obj('keywords').value=this.value;" style="width:300px">(','号分开,单个标签小于12字节)</td> | |||
<td width="60">权重:</td> | |||
<td><input name="weight" type="text" id="weight" value="<?php echo $maxWright['cc']; ?>" style="width:60px">(越小越靠前)</td> | |||
</tr> | |||
</table> | |||
</td> | |||
@@ -146,18 +144,12 @@ table{border-collapse:separate} | |||
<table width="800" border="0" cellspacing="0" cellpadding="0"> | |||
<tr> | |||
<td width="90"> 缩略图:</td> | |||
<td width="560"> | |||
<table width="100%" border="0" cellspacing="1" cellpadding="1"> | |||
<tr> | |||
<td height="30"> | |||
<input name="picname" type="text" id="picname" style="width:240px"> | |||
<label><input type='checkbox' class='np' name='ddisremote' value='1' id='ddisremote'> 远程</label> | |||
<span class="btn btn-success btn-sm fileinput-button">上传图片<input type="file" name="files[]" id="iptAddImages"></span> | |||
<button type="button" name="Submit2" onClick="SelectImage('form1.picname','small');" class="btn btn-success btn-sm">选择图片</button> | |||
<button id="btnClearAll" type="button" class="btn btn-success btn-sm delete">清空</button> | |||
</td> | |||
</tr> | |||
</table> | |||
<td> | |||
<input name="picname" type="text" id="picname" style="width:300px"> | |||
<label><input type='checkbox' class='np' name='ddisremote' value='1' id='ddisremote'> 远程</label> | |||
<span class="btn btn-success btn-sm fileinput-button">上传图片<input type="file" name="files[]" id="iptAddImages"></span> | |||
<button type="button" name="Submit2" onClick="SelectImage('form1.picname','small');" class="btn btn-success btn-sm">选择图片</button> | |||
<button id="btnClearAll" type="button" class="btn btn-success btn-sm delete">清空</button> | |||
</td> | |||
<td width="150" align="center"><img id="litPic" src="../static/web/img/defaultpic.jpg" style="height:80px"></td> | |||
</tr> | |||
@@ -169,13 +161,13 @@ table{border-collapse:separate} | |||
<table width="800" border="0" cellspacing="0" cellpadding="0"> | |||
<tr> | |||
<td width="90"> 文章来源:</td> | |||
<td width="240"> | |||
<input name="source" type="text" id="source" style="width:160px" value="<?php echo $source; ?>" size="16"> | |||
<td width="250"> | |||
<input name="source" type="text" id="source" value="<?php echo $source; ?>" style="width:160px"> | |||
<button name="selsource" type="button" id="selsource" class="btn btn-success btn-sm">选择</button> | |||
</td> | |||
<td width="90"> 作者:</td> | |||
<td width="60"> 作者:</td> | |||
<td> | |||
<input name="writer" type="text" id="writer" style="width:120px" value="<?php echo $writer; ?>"> | |||
<input name="writer" type="text" id="writer" value="<?php echo $writer; ?>" style="width:160px"> | |||
<button name="selwriter" type="button" id="selwriter" class="btn btn-success btn-sm">选择</button> | |||
</td> | |||
</tr> | |||
@@ -184,20 +176,20 @@ table{border-collapse:separate} | |||
</tr> | |||
<tr> | |||
<td height="26" colspan="5" class="bline"> | |||
<table width="800" border="0" cellspacing="0" cellpadding="0"> | |||
<table width="600" border="0" cellspacing="0" cellpadding="0"> | |||
<tr> | |||
<td width="90"> 文章主栏目:</td> | |||
<td> | |||
<span id="typeidct"> | |||
<?php | |||
$typeOptions = GetOptionList($cid,$cuserLogin->getUserChannel(),$channelid); | |||
echo "<select name='typeid' id='typeid' style='width:240px'>"; | |||
echo "<select name='typeid' id='typeid' style='width:160px'>"; | |||
echo "<option value='0'>请选择栏目</option>"; | |||
echo $typeOptions; | |||
echo "</select>"; | |||
?> | |||
</span> | |||
<img src="../static/web/img/menusearch.gif" style="cursor:pointer" onClick="ShowCatMap(event,this,<?php echo $channelid; ?>,'typeid')" alt="快捷选择" title="快捷选择"> | |||
<img src="../static/web/img/menusearch.gif" style="cursor:pointer" onClick="ShowCatMap(event,this,<?php echo $channelid; ?>,'typeid')" title="快捷选择"> | |||
<?php | |||
if($cfg_need_typeid2=='Y') | |||
{ | |||
@@ -205,6 +197,8 @@ table{border-collapse:separate} | |||
} | |||
?> | |||
</td> | |||
<td width="90">消费金币:</td> | |||
<td><input name="money" type="text" id="money" value="0" style="width:120px"></td> | |||
</tr> | |||
</table> | |||
</td> | |||
@@ -213,11 +207,11 @@ table{border-collapse:separate} | |||
<td height="26" colspan="5" class="bline"> | |||
<table width="800" border="0" cellspacing="0" cellpadding="0"> | |||
<tr> | |||
<td width="90"> 文章副栏目:</td> | |||
<td width="90"> 副栏目:</td> | |||
<td> | |||
<span id="typeid2ct"></span> | |||
<input type="text" name="typeid2" id="typeid2" value="" style="width:200px"> | |||
<img src="../static/web/img/menusearch2.gif" style="cursor:pointer" onClick="ShowCatMap(event, this, <?php echo $channelid; ?>, 'typeid2')" alt="选择副栏目" title="选择副栏目"> | |||
<img src="../static/web/img/menusearch2.gif" style="cursor:pointer" onClick="ShowCatMap(event,this,<?php echo $channelid; ?>,'typeid2')" title="选择副栏目"> | |||
</td> | |||
</tr> | |||
</table> | |||
@@ -228,12 +222,12 @@ table{border-collapse:separate} | |||
<table width="800" border="0" cellspacing="0" cellpadding="0"> | |||
<tr> | |||
<td width="90"> 关键词:</td> | |||
<td width="450"> | |||
<input type='text' name="keywords" id="keywords" style="width:80%" value="<?php echo $keywords; ?>"> | |||
<button type="button" name="Submit" style="width:56;height:20" onClick="SelectKeywords('form1.keywords');" class='btn btn-success btn-sm'>浏览</button> | |||
<td> | |||
<input type="text" name="keywords" id="keywords" value="<?php echo $keywords; ?>" style="width:360px"> | |||
<button type="button" name="Submit" onClick="SelectKeywords('form1.keywords');" class="btn btn-success btn-sm">浏览</button> | |||
</td> | |||
<td> | |||
<label><input name="autokey" type="checkbox" onClick="ShowHide('keywords');" ; class="np" id="autokey" value="1" <?php if($cfg_arc_autokeyword=='Y') echo ' checked="1" '; ?>> 自动获取,手动填写用","分开</label><br> | |||
<label><input name="autokey" type="checkbox" onClick="ShowHide('keywords');" class="np" id="autokey" value="1" <?php if($cfg_arc_autokeyword=='Y') echo ' checked="1" '; ?>> 自动获取,手动填写用","分开</label> | |||
</td> | |||
</tr> | |||
</table> | |||
@@ -244,8 +238,7 @@ table{border-collapse:separate} | |||
<table width="800" border="0" cellspacing="0" cellpadding="0"> | |||
<tr> | |||
<td width="90"> 内容摘要:</td> | |||
<td width="450"><textarea name="description" rows="5" id="description"style="width:80%;height:50px"><?php echo $description; ?></textarea></td> | |||
<td width="260"></td> | |||
<td><textarea name="description" id="description" style="width:360px;height:50px"><?php echo $description; ?></textarea></td> | |||
</tr> | |||
</table> | |||
</td> | |||
@@ -284,7 +277,7 @@ table{border-collapse:separate} | |||
<td> | |||
<label><input name="sptype" type="radio" class="np" value="hand" <?php if($cfg_arcautosp=='N') echo " checked='1' "?>> 手动 </label> | |||
<label><input type="radio" name="sptype" value="auto" class="np" <?php if($cfg_arcautosp=='Y') echo " checked='1' "?>> 自动 </label> | |||
大小:<input name="spsize" type="text" id="spsize" value="<?php echo $cfg_arcautosp_size?>" size="6"> K(分页符为:#p#分页标题#e#) | |||
大小:<input name="spsize" type="text" id="spsize" value="<?php echo $cfg_arcautosp_size?>" style="width:60px"> K(分页符为:#p#分页标题#e#) | |||
</td> | |||
</tr> | |||
</table> | |||
@@ -317,13 +310,14 @@ table{border-collapse:separate} | |||
<table width="800" border="0" cellspacing="0" cellpadding="0"> | |||
<tr> | |||
<td width="90" height="26"> 评论选项:</td> | |||
<td width="240"> | |||
<td width="250"> | |||
<label><input type="radio" name="notpost" class="np" value="0" <?php if($cfg_feedback_forbid=='N') echo "checked='1' "; ?>> 允许评论 </label> | |||
<label><input type="radio" name="notpost" class="np" value="1" <?php if($cfg_feedback_forbid=='Y') echo "checked='1' "; ?>> 禁止评论 </label> | |||
</td> | |||
<td width="90">浏览次数:</td> | |||
<td> | |||
<input type="text" name="click" value="<?php echo ($cfg_arc_click=='-1' ? mt_rand(50, 200) : $cfg_arc_click); ?>" style="width:100px"> | |||
<td width="90">发布选项:</td> | |||
<td width="380"> | |||
<label><input name="ishtml" type="radio" class="np" value="1" checked="1"> 生成HTML </label> | |||
<label><input type="radio" name="ishtml" class="np" value="0"> 仅动态浏览</label> | |||
</td> | |||
</tr> | |||
</table> | |||
@@ -334,8 +328,8 @@ table{border-collapse:separate} | |||
<table width="800" border="0" cellspacing="0" cellpadding="0"> | |||
<tr> | |||
<td width="90" height="26"> 文章排序:</td> | |||
<td width="240"> | |||
<select name="sortup" id="sortup" style="width:150px"> | |||
<td width="250"> | |||
<select name="sortup" id="sortup" style="width:160px"> | |||
<option value="0" selected>默认排序</option> | |||
<option value="7">置顶一周</option> | |||
<option value="30">置顶一个月</option> | |||
@@ -357,7 +351,8 @@ table{border-collapse:separate} | |||
<table width="800" border="0" cellspacing="0" cellpadding="0"> | |||
<tr> | |||
<td width="90"> 阅读权限:</td> | |||
<td width="240"> <select name="arcrank" id="arcrank" style="width:150px"> | |||
<td width="250"> | |||
<select name="arcrank" id="arcrank" style="width:160px"> | |||
<?php | |||
$urank = $cuserLogin->getUserRank(); | |||
$dsql->SetQuery("Select * from `#@__arcrank` where adminrank<='$urank'"); | |||
@@ -367,46 +362,17 @@ table{border-collapse:separate} | |||
echo "<option value='".$row->rank."'>".$row->membername."</option>"; | |||
} | |||
?> | |||
</select> </td> | |||
<td width="90">消费金币:</td> | |||
<td><input name="money" type="text" id="money" value="0" size="10"></td> | |||
</tr> | |||
</table> | |||
</td> | |||
</tr> | |||
<tr> | |||
<td height="26" colspan="4" class="bline"> | |||
<table width="800" border="0" cellspacing="0" cellpadding="0"> | |||
<tr> | |||
<td width="90"> 发布时间:</td> | |||
<td width="240"> | |||
<?php | |||
$nowtime = GetDateTimeMk(time()); | |||
echo "<input name=\"pubdate\" value=\"$nowtime\" type=\"text\" id=\"pubdate\" class='datepicker'>"; | |||
?> | |||
</td> | |||
<td width="90"> 发布选项:</td> | |||
<td width="380"> | |||
<label><input name="ishtml" type="radio" class="np" value="1" checked="1"> 生成HTML </label> | |||
<label><input type="radio" name="ishtml" class="np" value="0"> 仅动态浏览</label> | |||
</select> | |||
</td> | |||
</tr> | |||
</table> | |||
</td> | |||
</tr> | |||
<tr> | |||
<td height="26" colspan="4"> | |||
<table width="800" border="0" cellspacing="0" cellpadding="0"> | |||
<tr> | |||
<td width="110"> 自定义文件名:</td> | |||
<td width="350"><input type="text" name="filename" id="filename">(不包括后缀名如.html等)</td> | |||
<td width="340"> | |||
<td width="90">文件名称:</td> | |||
<td><input type="text" name="filename" id="filename" style="width:120px">(不包括后缀名如.html等)</td> | |||
<td> | |||
<?php | |||
if(isset($cfg_tamplate_rand) && $cfg_tamplate_rand==1) | |||
{ | |||
?> | |||
随机选择模板: | |||
<select name='templet' id='templet' style='width:200px' size='1'> | |||
<select name='templet' id='templet' style='width:120px'> | |||
<?php | |||
$rndsel = mt_rand(1, count($cfg_tamplate_arr)) - 1; | |||
foreach($cfg_tamplate_arr as $k=>$v) | |||
@@ -426,6 +392,23 @@ table{border-collapse:separate} | |||
</table> | |||
</td> | |||
</tr> | |||
<tr> | |||
<td height="26" colspan="4" class="bline"> | |||
<table width="800" border="0" cellspacing="0" cellpadding="0"> | |||
<tr> | |||
<td width="90"> 发布时间:</td> | |||
<td width="250"> | |||
<?php | |||
$nowtime = GetDateTimeMk(time()); | |||
echo "<input type='text' name='pubdate' value='$nowtime'id='pubdate' class='datepicker' style='width:160px'>"; | |||
?> | |||
</td> | |||
<td width="90">浏览次数:</td> | |||
<td><input type="text" name="click" value="<?php echo ($cfg_arc_click=='-1' ? mt_rand(50, 200) : $cfg_arc_click); ?>" style="width:120px"></td> | |||
</tr> | |||
</table> | |||
</td> | |||
</tr> | |||
</table> | |||
<table width="98%" border="0" cellspacing="0" cellpadding="0" align="center" bgcolor="#f6f6f6" style="border:1px solid #dee2e6;border-top:none" class="mb-3"> | |||
<tr height="36"> | |||
@@ -176,7 +176,7 @@ | |||
<td colspan="2"><input name="url" type="text" id="url" style="width:200px"></td> | |||
</tr> | |||
<tr> | |||
<td height="30"> </td> | |||
<td height="30"></td> | |||
<td colspan="2">使用不带http及任何附加目录的网址<br> | |||
如:news.dedebiz.com</td> | |||
</tr> | |||
@@ -185,11 +185,11 @@ | |||
<td colspan="2">仅针对文章内容,格式:前面HTML{@body}后面HMTL</td> | |||
</tr> | |||
<tr> | |||
<td height="90"> </td> | |||
<td height="90"></td> | |||
<td colspan="2"><textarea name="rule" style="width:300px;height:80px">{@body}</textarea></td> | |||
</tr> | |||
<tr> | |||
<td height="30"> </td> | |||
<td height="30"></td> | |||
<td colspan="2"><button class="btn btn-success btn-sm" type="submit" name="Submit" | |||
value="">保存规则</button> | |||
<button type="reset" class="btn btn-success btn-sm" name="Submit2">重置</button></td> | |||
@@ -15,7 +15,7 @@ | |||
<table width="98%" border="0" cellpadding="0" cellspacing="0" class="table table-borderless"> | |||
<tr> | |||
<td width="30%" height="18" style="padding-left:10px">文档自动摘要自动分页:</td> | |||
<td width="70%" align="right"> </td> | |||
<td width="70%" align="right"></td> | |||
</tr> | |||
</table> | |||
</td> | |||
@@ -43,7 +43,7 @@ | |||
<input name="sid" type="text" id="sid" size="8"> | |||
结束ID: | |||
<input name="eid" type="text" id="eid" size="8"></td> | |||
<td> </td> | |||
<td></td> | |||
</tr> | |||
<tr> | |||
<td>操作: | |||
@@ -9,9 +9,7 @@ | |||
<link rel="stylesheet" href="../static/web/css/daterangepicker.css"> | |||
<link rel="stylesheet" href="../static/web/css/jquery.fileupload.css"> | |||
<link rel="stylesheet" href="../static/web/css/cropper.min.css"> | |||
<script> | |||
const cfg_uplitpic_cut = '<?php echo $cfg_uplitpic_cut;?>'; | |||
</script> | |||
<script>const cfg_uplitpic_cut = '<?php echo $cfg_uplitpic_cut; ?>';</script> | |||
<script src="../static/web/js/jquery.min.js"></script> | |||
<script src="../static/web/js/webajax.js"></script> | |||
<script src="../static/web/js/moment.min.js"></script> | |||
@@ -83,7 +81,7 @@ table{border-collapse:separate} | |||
<td width="90"> 文章标题:</td> | |||
<td width="400"><input name="title" type="text" id="title" value="<?php echo $arcRow['title']; ?>" style="width:380px"></td> | |||
<td width="90">简略标题:</td> | |||
<td><input name="shorttitle" type="text" id="shorttitle" style="width:150px" value="<?php echo $arcRow['shorttitle']; ?>"></td> | |||
<td><input name="shorttitle" type="text" id="shorttitle" value="<?php echo $arcRow['shorttitle']; ?>" style="width:160px"></td> | |||
</tr> | |||
</table> | |||
</td> | |||
@@ -119,11 +117,11 @@ table{border-collapse:separate} | |||
</td> | |||
</tr> | |||
<tr> | |||
<td height="26" colspan="2" class="bline" id="redirecturltr" style="display:<?php echo (empty($addRow['redirecturl']) ? 'none' : 'block');?>"> | |||
<td height="26" colspan="2" class="bline" id="redirecturltr" style="display:<?php echo (empty($addRow['redirecturl']) ? 'none' : 'block'); ?>"> | |||
<table width="800" border="0" cellspacing="0" cellpadding="0"> | |||
<tr> | |||
<td width="90"> 跳转网址:</td> | |||
<td><input name="redirecturl" type="text" id="redirecturl" style="width:300px" value="<?php echo $addRow["redirecturl"]?>"></td> | |||
<td><input name="redirecturl" type="text" id="redirecturl" value="<?php echo $addRow['redirecturl']?>" style="width:300px"></td> | |||
</tr> | |||
</table> | |||
</td> | |||
@@ -134,8 +132,8 @@ table{border-collapse:separate} | |||
<tr> | |||
<td width="90"> Tag标签:</td> | |||
<td><input name="tags" type="text" id="tags" value="<?php echo $tags; ?>" style="width:300px">(','号分开,单个标签小于12字节)</td> | |||
<td width="40">权重:</td> | |||
<td width="160"><input name="weight" type="text" id="weight" style="width:50px" value="<?php echo $arcRow['weight'];?>">(越小越靠前)</td> | |||
<td width="60">权重:</td> | |||
<td><input name="weight" type="text" id="weight" value="<?php echo $arcRow['weight']; ?>" style="width:60px">(越小越靠前)</td> | |||
</tr> | |||
</table> | |||
</td> | |||
@@ -144,9 +142,9 @@ table{border-collapse:separate} | |||
<td height="26" colspan="2" class="bline"> | |||
<table width="800" border="0" cellspacing="0" cellpadding="0"> | |||
<tr> | |||
<td width="90" height="80"> 缩略图:</td> | |||
<td width="90"> 缩略图:</td> | |||
<td> | |||
<input name="picname" type="text" id="picname" style="width:300px" value="<?php echo $arcRow['litpic']?>"> | |||
<input name="picname" type="text" id="picname" value="<?php echo $arcRow['litpic']?>" style="width:300px"> | |||
<label><input type='checkbox' class='np' name='ddisremote' value='1'> 远程</label> | |||
<span class="btn btn-success btn-sm fileinput-button">上传图片<input type="file" name="files[]" id="iptAddImages"></span> | |||
<button type="button" name="Submit" onClick="SelectImage('form1.picname','');" class="btn btn-success btn-sm">选择图片</button> | |||
@@ -164,12 +162,13 @@ table{border-collapse:separate} | |||
<table width="800" border="0" cellspacing="0" cellpadding="0"> | |||
<tr> | |||
<td width="90"> 文章来源:</td> | |||
<td width="240"> | |||
<input name="source" type="text" id="source" style="width:160px" value="<?php echo $arcRow['source']?>" size="16"> | |||
<button name="selsource" type="button" id="selsource" class="btn btn-success btn-sm">选择</button></td> | |||
<td width="90">作者:</td> | |||
<td width="250"> | |||
<input name="source" type="text" id="source" value="<?php echo $arcRow['source']?>" style="width:160px"> | |||
<button name="selsource" type="button" id="selsource" class="btn btn-success btn-sm">选择</button> | |||
</td> | |||
<td width="60">作者:</td> | |||
<td> | |||
<input name="writer" type="text" id="writer" style="width:120px" value="<?php echo $arcRow['writer']?>"> | |||
<input name="writer" type="text" id="writer" value="<?php echo $arcRow['writer']?>" style="width:160px"> | |||
<button name="selwriter" type="button" id="selwriter" class="btn btn-success btn-sm">选择</button> | |||
</td> | |||
</tr> | |||
@@ -178,19 +177,21 @@ table{border-collapse:separate} | |||
</tr> | |||
<tr> | |||
<td height="26" colspan="2" class="bline"> | |||
<table width="800" border="0" cellspacing="0" cellpadding="0"> | |||
<table width="570" border="0" cellspacing="0" cellpadding="0"> | |||
<tr> | |||
<td width="90"> 文章主栏目:</td> | |||
<td> | |||
<?php | |||
$typeOptions = GetOptionList($arcRow['typeid'],$cuserLogin->getUserChannel(),$channelid); | |||
echo "<select name='typeid' id='typeid' style='width:240px'>"; | |||
echo "<select name='typeid' id='typeid' style='width:160px'>"; | |||
if($arcRow["typeid"]=="0") echo "<option value='0' selected>请选择栏目</option>"; | |||
echo $typeOptions; | |||
echo "</select>"; | |||
?> | |||
<img src="../static/web/img/menusearch.gif" style="cursor:pointer" onClick="ShowCatMap(event,this,<?php echo $channelid; ?>,'typeid','<?php echo $arcRow['typeid']; ?>')" alt="快捷选择" title="快捷选择"> | |||
<img src="../static/web/img/menusearch.gif" onClick="ShowCatMap(event,this,<?php echo $channelid; ?>,'typeid','<?php echo $arcRow['typeid']; ?>')" title="快捷选择" style="cursor:pointer"> | |||
</td> | |||
<td width="90">消费金币:</td> | |||
<td><input name="money" type="text" id="money" value="<?php echo $arcRow['money']?>" style="width:120px"></td> | |||
</tr> | |||
</table> | |||
</td> | |||
@@ -202,11 +203,11 @@ table{border-collapse:separate} | |||
<td height="26" colspan="2" class="bline"> | |||
<table width="800" border="0" cellspacing="0" cellpadding="0"> | |||
<tr> | |||
<td width="90"> 文章副栏目:</td> | |||
<td width="90"> 副栏目:</td> | |||
<td> | |||
<span id="typeid2ct"></span> | |||
<input type="text" name="typeid2" id="typeid2" value="<?php echo ($arcRow['typeid2']=='0'?'':$arcRow['typeid2']); ?>" style="width:200px"> | |||
<img src="../static/web/img/menusearch2.gif" style="cursor:pointer" onClick="ShowCatMap(event,this,<?php echo $channelid; ?>,'typeid2','<?php echo $arcRow['typeid2']; ?>')" alt="选择副栏目" title="选择副栏目"> | |||
<input type="text" name="typeid2" id="typeid2" value="<?php echo ($arcRow['typeid2']=='0'?'':$arcRow['typeid2']); ?>" style="width:160px"> | |||
<img src="../static/web/img/menusearch2.gif" style="cursor:pointer" onClick="ShowCatMap(event,this,<?php echo $channelid; ?>,'typeid2','<?php echo $arcRow['typeid2']; ?>')" title="选择副栏目"> | |||
</td> | |||
</tr> | |||
</table> | |||
@@ -215,6 +216,26 @@ table{border-collapse:separate} | |||
<?php | |||
} | |||
?> | |||
<tr> | |||
<td height="26" class="bline"> | |||
<table width="800" border="0" cellspacing="0" cellpadding="0"> | |||
<tr> | |||
<td width="90"> 关键词:</td> | |||
<td><input type="text" name="keywords" id="keywords" value="<?php echo $arcRow['keywords']?>" style="width:300px"></td> | |||
</tr> | |||
</table> | |||
</td> | |||
</tr> | |||
<tr> | |||
<td height="26" class="bline"> | |||
<table width="800" border="0" cellspacing="0" cellpadding="0"> | |||
<tr> | |||
<td width="90"> 文章摘要:</td> | |||
<td><textarea name="description" id="description" style="width:360px;height:50px"><?php echo $arcRow['description']?></textarea></td> | |||
</tr> | |||
</table> | |||
</td> | |||
</tr> | |||
<tr> | |||
<td colspan="2"> | |||
<?php | |||
@@ -249,13 +270,16 @@ table{border-collapse:separate} | |||
<td height="26" colspan="4" class="bline"> | |||
<table width="800" border="0" cellspacing="0" cellpadding="0"> | |||
<tr> | |||
<td width="110" height="26"> 评论选项:</td> | |||
<td width="90" height="26"> 评论选项:</td> | |||
<td width="250"> | |||
<label><input type="radio" name="notpost" class="np" value="0" <?php if($arcRow['notpost']==0) echo " checked='1' "; ?>> 允许评论 </label> | |||
<label><input type="radio" name="notpost" class="np" value="1" <?php if($arcRow['notpost']==1) echo " checked='1' "; ?>> 禁止评论</label> | |||
</td> | |||
<td width="90">浏览次数:</td> | |||
<td><input type="text" name="click" value="<?php echo $arcRow['click']; ?>" style="width:100px"></td> | |||
<td width="90">发布选项:</td> | |||
<td> | |||
<label><input name="ishtml" type="radio" class="np" value="1" <?php if($arcRow["ismake"]!=-1) echo " checked"; ?>> 生成HTML </label> | |||
<label><input type="radio" name="ishtml" class="np" value="0" <?php if($arcRow["ismake"]==-1) echo " checked"; ?>> 仅动态浏览</label> | |||
</td> | |||
</tr> | |||
</table> | |||
</td> | |||
@@ -264,9 +288,9 @@ table{border-collapse:separate} | |||
<td height="26" class="bline"> | |||
<table width="800" border="0" cellspacing="0" cellpadding="0"> | |||
<tr> | |||
<td width="110"> 文章排序:</td> | |||
<td width="90"> 文章排序:</td> | |||
<td width="250"> | |||
<select name="sortup" id="sortup" style="width:150"> | |||
<select name="sortup" id="sortup" style="width:160px"> | |||
<?php | |||
$subday = SubDay($arcRow["sortrank"],$arcRow["pubdate"]); | |||
echo "<option value='0'>正常排序</option>"; | |||
@@ -281,7 +305,7 @@ table{border-collapse:separate} | |||
</td> | |||
<td width="90">标题颜色:</td> | |||
<td> | |||
<input name="color" type="text" id="color" style="width:120" value="<?php echo $arcRow['color']?>"> | |||
<input name="color" type="text" id="color" value="<?php echo $arcRow['color']?>" style="width:120px"> | |||
<button name="modcolor" type="button" id="modcolor" onClick="ShowColor(event,this)" class="btn btn-success btn-sm">选取</button> | |||
</td> | |||
</tr> | |||
@@ -292,9 +316,9 @@ table{border-collapse:separate} | |||
<td height="26" class="bline"> | |||
<table width="800" border="0" cellspacing="0" cellpadding="0"> | |||
<tr> | |||
<td width="110"> 阅读权限:</td> | |||
<td width="90"> 阅读权限:</td> | |||
<td width="250"> | |||
<select name="arcrank" id="arcrank" style="width:150"> | |||
<select name="arcrank" id="arcrank" style="width:160px"> | |||
<option value='<?php echo $arcRow["arcrank"]?>'> <?php echo $arcRow["rankname"]?> </option> | |||
<?php | |||
$urank = $cuserLogin->getUserRank(); | |||
@@ -306,64 +330,15 @@ table{border-collapse:separate} | |||
?> | |||
</select> | |||
</td> | |||
<td width="90">发布选项:</td> | |||
<td> | |||
<label><input name="ishtml" type="radio" class="np" value="1" <?php if($arcRow["ismake"]!=-1) echo " checked";?>> 生成HTML </label> | |||
<label><input type="radio" name="ishtml" class="np" value="0" <?php if($arcRow["ismake"]==-1) echo " checked";?>> 仅动态浏览</label> | |||
</td> | |||
</tr> | |||
</table> | |||
</td> | |||
</tr> | |||
<tr> | |||
<td height="70" class="bline"> | |||
<table width="800" border="0" cellspacing="0" cellpadding="0"> | |||
<tr> | |||
<td width="110"> 更新时间:</td> | |||
<td width="250"><?php | |||
$nowtime = GetDateTimeMk(time()); | |||
echo "<input name=\"pubdate\" value=\"$nowtime\" type=\"text\" id=\"pubdate\" class='datepicker'>"; | |||
?> | |||
</td> | |||
<td width="90">消费金币:</td> | |||
<td width="370"><input name="money" type="text" id="money" value="<?php echo $arcRow['money']?>" size="10"></td> | |||
</tr> | |||
</table> | |||
</td> | |||
</tr> | |||
<tr> | |||
<td height="26" class="bline"> | |||
<table width="800" border="0" cellspacing="0" cellpadding="0"> | |||
<tr> | |||
<td width="110" height="50"> 关键词:</td> | |||
<td><input type="text" name="keywords" id="keywords" style="width:60%" value="<?php echo $arcRow['keywords']?>"></td> | |||
</tr> | |||
</table> | |||
</td> | |||
</tr> | |||
<tr> | |||
<td height="26" class="bline"> | |||
<table width="800" border="0" cellspacing="0" cellpadding="0"> | |||
<tr> | |||
<td width="110" height="50"> 文章摘要:</td> | |||
<td><textarea name="description" rows="5" id="description" style="width:80%"><?php echo $arcRow['description']?></textarea></td> | |||
</tr> | |||
</table> | |||
</td> | |||
</tr> | |||
<tr> | |||
<td height="26" colspan="4"> | |||
<table width="800" border="0" cellspacing="0" cellpadding="0"> | |||
<tr> | |||
<td width="110"> 自定义文件名:</td> | |||
<td><input type="text" name="filename" id="filename" value="<?php echo $arcRow['filename']?>">(不包括后缀名如.html等)</td> | |||
<td width="90">文件名称:</td> | |||
<td><input type="text" name="filename" id="filename" value="<?php echo $arcRow['filename']?>" style="width:120px">(不包括后缀名如.html等)</td> | |||
<td> | |||
<?php | |||
if(isset($cfg_tamplate_rand) && $cfg_tamplate_rand==1) | |||
{ | |||
?> | |||
模板选择: | |||
<select name="templet" id="templet" style="width:200px" size="1"> | |||
<select name="templet" id="templet" style="width:120px"> | |||
<?php | |||
foreach($cfg_tamplate_arr as $k=>$v) | |||
{ | |||
@@ -382,6 +357,22 @@ table{border-collapse:separate} | |||
</table> | |||
</td> | |||
</tr> | |||
<tr> | |||
<td height="70" class="bline"> | |||
<table width="800" border="0" cellspacing="0" cellpadding="0"> | |||
<tr> | |||
<td width="90"> 更新时间:</td> | |||
<td width="250"><?php | |||
$nowtime = GetDateTimeMk(time()); | |||
echo "<input type='text' name='pubdate' value='$nowtime' id='pubdate' class='datepicker' style='width:160px'>"; | |||
?> | |||
</td> | |||
<td width="90">浏览次数:</td> | |||
<td><input type="text" name="click" value="<?php echo $arcRow['click']; ?>" style="width:120px"></td> | |||
</tr> | |||
</table> | |||
</td> | |||
</tr> | |||
</table> | |||
<table width="98%" border="0" cellspacing="0" cellpadding="0" align="center" bgcolor="#f6f6f6" style="border:1px solid #dee2e6;border-top:none" class="mb-3"> | |||
<tr height="36"> | |||
@@ -56,9 +56,9 @@ | |||
<td width="100%" height="30" colspan="6"> | |||
<table border="0" cellspacing="0" cellpadding="0" class="table table-borderless"> | |||
<tr> | |||
<td width="100" align="center">新增关键词:</td> | |||
<td width="90" align="center">新增关键词:</td> | |||
<td width="140"><input name="keyword" type="text" id="keyword"/></td> | |||
<td width="100">链接网址:</td> | |||
<td width="90">链接网址:</td> | |||
<td width="140"><input name="rpurl" type="text" id="rpurl"/></td> | |||
<td width="86">频率:</td> | |||
<td width="60"><input name="rank" type="text" id="rank" style="width:50px" value="30"></td> | |||
@@ -87,7 +87,7 @@ function AddNewKw() | |||
<table border="0" cellspacing="0" cellpadding="0" class="table table-borderless"> | |||
<tr> | |||
<td width="120">已选的关键词:</td> | |||
<td width="320"><input name="keywords" type="text" id="keywords" style="width:300" value="<?php echo $keywords?>"></td> | |||
<td width="320"><input name="keywords" type="text" id="keywords" style="width:300px" value="<?php echo $keywords?>"></td> | |||
<td width="93"><button type="button" class="btn btn-success btn-sm" name="Submit" onClick="ReturnValue()"> 选用 </button></td> | |||
</tr> | |||
</table> | |||
@@ -20,7 +20,7 @@ | |||
<table width="98%" border="0" cellpadding="0" cellspacing="0" class="table table-borderless"> | |||
<tr> | |||
<td width="30%" height="18"> 重复文档检测:</td> | |||
<td width="70%" align="right"> </td> | |||
<td width="70%" align="right"></td> | |||
</tr> | |||
</table> | |||
</td> | |||
@@ -44,7 +44,7 @@ | |||
<table width="98%" border="0" cellspacing="0" cellpadding="0" class="table table-borderless"> | |||
<tr> | |||
<td width="30%" style="padding-left:10px">点卡业务管理: </td> | |||
<td width="45%" align="right" style="padding-top:4px;"> | |||
<td width="45%" align="right" style="padding-top:10px;"> | |||
<button type="button" onClick="location='cards_manage.php?isexp=0';" class="btn btn-success btn-sm">未使用</button> | |||
<button type="button" onClick="location='cards_manage.php?isexp=1';" class="btn btn-success btn-sm">已售出</button> | |||
<button type="button" onClick="location='cards_manage.php?isexp=-1';" class="btn btn-success btn-sm">已使用</button> | |||
@@ -12,7 +12,7 @@ | |||
<form name="form1" action="cards_type.php" method="post"> | |||
<input type="hidden" name="dopost" value="save"> | |||
<tr> | |||
<td height="26" colspan="4" bgcolor="#EDF9D5" background="../static/web/img/tbg.gif"> 点卡产品分类:</td> | |||
<td height="26" colspan="4" bgcolor="#EDF9D5" background="../static/web/img/tbg.gif">点卡产品分类:</td> | |||
</tr> | |||
<tr bgcolor="#FBFCE2"> | |||
<td width="26%" height="26" align="center" valign="top">产品名称</td> | |||
@@ -462,7 +462,7 @@ function CheckCross() { | |||
<tr> | |||
<td height="26" style="padding-left:10px">文章命名规则:</td> | |||
<td> | |||
<input name="namerule" type="text" id="namerule" value="<?php echo $cfg_df_namerule;?>" size="40" class="alltxt"> | |||
<input name="namerule" type="text" id="namerule" value="<?php echo $cfg_df_namerule; ?>" size="40" class="alltxt"> | |||
<img src="../static/web/img/help.gif" alt="帮助" width="16" height="16" border="0" style="cursor:pointer" onClick="ShowHide('helpvar2')"> | |||
</td> | |||
</tr> | |||
@@ -111,7 +111,7 @@ | |||
<td colspan="2" bgcolor="#FFFFFF"> | |||
<table width="86" border="0" cellpadding="0" cellspacing="0"> | |||
<tr> | |||
<td width="86" height="26" align="center" background="../static/web/img/itemnote1.gif"> 常规选项 </td> | |||
<td width="86" height="26" align="center" background="../static/web/img/itemnote1.gif">常规选项 </td> | |||
</tr> | |||
</table> | |||
</td> | |||
@@ -157,7 +157,7 @@ | |||
<td class='bline'> | |||
<select name='reid' onchange="showSeltype(this)"> | |||
<option value='0'>选择所属目录 </option> | |||
<?php echo $typeOptions;?> | |||
<?php echo $typeOptions; ?> | |||
</select> | |||
(默认为顶级栏目) | |||
</td> | |||
@@ -205,7 +205,7 @@ | |||
<td height="26" class='bline' style="padding-left:10px">文章命名规则:</td> | |||
<td class='bline'><input name="namerule" type="text" id="namerule" value="{typedir}/{Y}{M}{D}/{aid}.html" | |||
size="40" class="pubinputs"> | |||
<img src="../static/web/img/help.gif" alt="帮助" border="0" style="cursor:pointer" onClick="ShowHide('helpvar2')"> </td> | |||
<img src="../static/web/img/help.gif" alt="帮助" border="0" style="cursor:pointer" onClick="ShowHide('helpvar2')"></td> | |||
</tr> | |||
<tr id='helpvar3' style='display:none'> | |||
<td height="26" bgcolor="#F3F7EA" style="padding-left:10px">支持变量:</td> | |||
@@ -147,10 +147,10 @@ dl{clear:left;margin:0;padding:0} | |||
</td> | |||
</tr> | |||
<tr> | |||
<td width="23%" align='center' background='../static/web/img/mtbg1.gif' style='border-left: 1px solid #74c63f;'> | |||
<td width="23%" align='center' background='../static/web/img/mtbg1.gif' style='border-left:1px solid #74c63f'> | |||
<a href="javascript:;" onClick="showHide('items1')" target="_self"><img src="../static/web/img/mtimg1.gif"></a> | |||
</td> | |||
<td width="77%" background='../static/web/img/mtbg1.gif' style='border-right: 1px solid #74c63f;'>站点目录树</td> | |||
<td width="77%" background='../static/web/img/mtbg1.gif' style='border-right:1px solid #74c63f'>站点目录树</td> | |||
</tr> | |||
<tr> | |||
<td colspan='2' id='items1' align='left'> | |||
@@ -55,7 +55,7 @@ | |||
?> | |||
<input type="hidden" name="idend" value="<?php echo $k?>"> | |||
<tr> | |||
<td height="26" colspan="3" bgcolor="#f6f6f6"> </td> | |||
<td height="26" colspan="3" bgcolor="#f6f6f6"></td> | |||
</tr> | |||
<tr> | |||
<td height="30" colspan="3" align="center" bgcolor="#FFFFFF"> | |||
@@ -63,7 +63,7 @@ | |||
<table width="98%" border="0" cellpadding="0" cellspacing="0" class="table table-borderless"> | |||
<tr> | |||
<td width="177" height="18" style="padding-left:10px">文档批量管理:</td> | |||
<td align="right"> </td> | |||
<td align="right"></td> | |||
</tr> | |||
</table> | |||
</td> | |||
@@ -74,7 +74,7 @@ | |||
<?php | |||
$tl = new TypeLink(0); | |||
$typeOptions = $tl->GetOptionArray(0,$admin_catalogs,0,1); | |||
echo "<select name='typeid' style='width:300'>\r\n"; | |||
echo "<select name='typeid' style='width:300px'>\r\n"; | |||
echo "<option value='0' selected>不限栏目</option>\r\n"; | |||
echo $typeOptions; | |||
echo "</select>"; | |||
@@ -133,7 +133,7 @@ | |||
<td height="26" bgcolor="#FFFFFF"> | |||
<?php | |||
echo "<span id='moveField' style='display:none'>新位置:"; | |||
echo "<select name='newtypeid' style='width:250;'>\r\n"; | |||
echo "<select name='newtypeid' style='width:250px'>\r\n"; | |||
echo $typeOptions; | |||
echo "</select>"; | |||
echo "<hr>"; | |||
@@ -168,7 +168,7 @@ | |||
</tr> | |||
<tr bgcolor="#FFFFFF"> | |||
<td colspan="2" id="mtd"> | |||
<div id='mdv' style='width:100%;height:250;'> | |||
<div id='mdv' style='width:100%;height:250px'> | |||
<iframe name="stafrm" frameborder="0" id="stafrm" width="100%" height="100%"></iframe> | |||
</div> | |||
</td> | |||
@@ -180,7 +180,7 @@ | |||
<table width="98%" border="0" cellpadding="0" cellspacing="0" class="table table-borderless"> | |||
<tr> | |||
<td width="30%" height="18" style="padding-left:10px">错误文档修正:</td> | |||
<td width="70%" align="right"> </td> | |||
<td width="70%" align="right"></td> | |||
</tr> | |||
</table> | |||
</td> | |||
@@ -73,7 +73,7 @@ | |||
<form name="form2"> | |||
<table width="98%" cellpadding="2" cellspacing="1" align="center" class="table table-bordered maintable" style="margin-top:10px"> | |||
<tr> | |||
<td height="30" colspan="10" style="margin-left:10px;background:#f6f6f6">{dede:global.positionname/}文档列表(使用鼠标右键弹出菜单)</td> | |||
<td height="30" colspan="10" style="margin-left:10px;background:#f6f6f6">{dede:global.positionname/}文档列表(使用鼠标右键进行常用操作)</td> | |||
</tr> | |||
<tr align="center" bgcolor="#FBFCE2" height="26"> | |||
<td width="6%">ID</td> | |||
@@ -106,7 +106,7 @@ | |||
</select> | |||
</td> | |||
<td width='100'>关键词:</td> | |||
<td width='160'><input type='text' name='keyword' value='<?php echo $keyword?>' style='width:150'></td> | |||
<td width='160'><input type='text' name='keyword' value='<?php echo $keyword?>' style='width:150px'></td> | |||
<td width='100'><button type="submit" class="btn btn-success btn-sm">搜索</button></td> | |||
</tr> | |||
</table> | |||
@@ -87,7 +87,6 @@ | |||
ContextMenu.display(evt, popupoptions); | |||
//location="catalog_main.php"; | |||
} | |||
//获得选中文件的文件名 | |||
function getCheckboxItem() { | |||
var allSel = ""; | |||
@@ -102,7 +101,6 @@ | |||
} | |||
return allSel; | |||
} | |||
function getCheckboxItem2() { | |||
var allSel = ""; | |||
if (document.form2.arcID.value) return document.form2.arcID.value; | |||
@@ -116,7 +114,6 @@ | |||
} | |||
return allSel; | |||
} | |||
//获得选中其中一个的id | |||
function getOneItem() { | |||
var allSel = ""; | |||
@@ -129,7 +126,6 @@ | |||
} | |||
return allSel; | |||
} | |||
function selAll() { | |||
for (i = 0; i < document.form2.arcID.length; i++) { | |||
if (!document.form2.arcID[i].checked) { | |||
@@ -137,7 +133,6 @@ | |||
} | |||
} | |||
} | |||
function noSelAll() { | |||
for (i = 0; i < document.form2.arcID.length; i++) { | |||
if (document.form2.arcID[i].checked) { | |||
@@ -145,167 +140,103 @@ | |||
} | |||
} | |||
} | |||
function ReturnValue() { | |||
if (window.opener.document.<?php echo $f ?>.value == "") { | |||
window.opener.document.<?php echo $f ?>.value = getCheckboxItem2(); | |||
} else { | |||
window.opener.document.<?php echo $f ?>.value += "," + getCheckboxItem2(); | |||
} | |||
window.opener = null; | |||
window.close(); | |||
} | |||
</script> | |||
</head> | |||
<body leftmargin="8" topmargin="8" background='../static/web/img/allbg.gif' onLoad="ContextMenu.intializeContextMenu()"> | |||
<table width="98%" align="center" border="0" cellspacing="0" cellpadding="0" class="table table-bordered maintable mt-3"> | |||
<tr> | |||
<td align="center"> | |||
<button type='button' class="btn btn-success btn-sm" | |||
onClick="location='catalog_do.php?channelid={dede:global.channelid/}&cid={dede:global.cid/}&dopost=addArchives';" | |||
>添加文档</button> | |||
<td> | |||
<button type='button' class="btn btn-success btn-sm" onClick="location='catalog_do.php?channelid={dede:global.channelid/}&cid={dede:global.cid/}&dopost=addArchives';">添加文档</button> | |||
{dede:if $adminid==$mid } | |||
<button type='button' class="btn btn-success btn-sm" | |||
onClick="location='content_list.php?cid={dede:global.cid/}&mid=0';" | |||
>全部文档</button> | |||
<button type='button' class="btn btn-success btn-sm" onClick="location='content_list.php?cid={dede:global.cid/}&mid=0';">全部文档</button> | |||
{else} | |||
<button type='button' class="btn btn-success btn-sm" | |||
onClick="location='content_list.php?cid={dede:global.cid/}&mid=<?php echo $cuserLogin->getUserID(); ?>';" | |||
>我的文档</button> | |||
<button type='button' class="btn btn-success btn-sm" onClick="location='content_list.php?cid={dede:global.cid/}&mid=<?php echo $cuserLogin->getUserID(); ?>';">我的文档</button> | |||
{/dede:if} | |||
<button type='button' class="btn btn-success btn-sm" onClick="location='catalog_main.php';" | |||
>栏目管理</button> | |||
<button type='button' class="btn btn-success btn-sm" name='bb1' | |||
onClick="location='makehtml_list.php?cid={dede:global.cid/}';" | |||
>更新列表</button> | |||
<button type='button' class="btn btn-success btn-sm" name='bb2' | |||
onClick="location='makehtml_archives.php?cid={dede:global.cid/}';" | |||
>更新文档</button> | |||
<button type='button' class="btn btn-success btn-sm" onClick="location='catalog_main.php';">栏目管理</button> | |||
<button type='button' class="btn btn-success btn-sm" name='bb1' onClick="location='makehtml_list.php?cid={dede:global.cid/}';">更新列表</button> | |||
<button type='button' class="btn btn-success btn-sm" name='bb2' onClick="location='makehtml_archives.php?cid={dede:global.cid/}';">更新文档</button> | |||
<?php echo $CheckUserSend; ?> | |||
</td> | |||
</tr> | |||
</table> | |||
<table width='98%' border='0' align='center' cellpadding='0' cellspacing='0' align="center" class="mt-3"> | |||
<tr> | |||
<td align='center' valign='top'> | |||
<table width="100%" border="0" cellpadding="0" cellspacing="0"> | |||
<tr bgcolor="#FFFFFF"> | |||
<td height="4"></td> | |||
</tr> | |||
</table> | |||
<table width="100%" border="0" cellpadding="2" cellspacing="1" class="table table-bordered"> | |||
<tr bgcolor="#E7E7E7"> | |||
<td height="26" colspan="9" background="../static/web/img/tbg.gif" style="padding-left:10px"> | |||
{dede:global.positionname/}文档列表 (使用鼠标右键进行常用操作) | |||
</td> | |||
</tr> | |||
<form name="form2"> | |||
<tr align="center" bgcolor="#FBFCE2" height="26"> | |||
<td width="6%">ID</td> | |||
<td width="6%">选择</td> | |||
<td width="26%">文章标题</td> | |||
<td width="11%">更新时间</td> | |||
<td width="11%">类目</td> | |||
<td width="10%">权限</td> | |||
<td width="8%">点击</td> | |||
<td width="10%">发布人</td> | |||
<td width="10%">操作</td> | |||
</tr> | |||
{dede:datalist} | |||
<tr align='center' bgcolor="#FFFFFF" onMouseMove="javascript:this.bgColor='#FCFDEE';" | |||
onMouseOut="javascript:this.bgColor='#FFFFFF';" height="26"> | |||
<td>{dede:field.id/}</td> | |||
<td><input name="arcID" type="checkbox" id="arcID" value="{dede:field.aid/}" class="np"> | |||
</td> | |||
<td align='left'> | |||
<a href='archives_do.php?aid={dede:field.aid/}&dopost=editArchives' | |||
oncontextmenu="ShowMenu(event,this,{dede:field.aid/},'{dede:field.title function=" | |||
str_replace('\'', '' , @me)" /}')"> | |||
{dede:field.title/}{dede:field.flag function='IsCommendArchives(@me)'/} | |||
</a> | |||
</td> | |||
<td>{dede:field.senddate function='GetDateMk(@me)'/}</td> | |||
<td>{dede:field.typename/}</td> | |||
<td>{dede:field.arcrank function="GetRankName(@me)"/}</td> | |||
<td>{dede:field.click/}</td> | |||
<td>{dede:field.mid function=GetMemberName(@me)/}</td> | |||
<form name='form3' action='content_sg_list.php' method='get'> | |||
<input type='hidden' name='dopost' value='listArchives'> | |||
<table width="98%" cellpadding="1" cellspacing="1" align="center" class="mb-3" style="margin-top:10px;border:1px solid #dee2e6"> | |||
<tr> | |||
<td style="background:#f6f6f6"> | |||
<table cellpadding="0" cellspacing="0" height="36"> | |||
<tr> | |||
<td> | |||
<a href="javascript:editArc({dede:field.aid/})" class="btn btn-success btn-sm" title="编辑"> <i class="fa fa-pencil-square-o" aria-hidden="true"></i> </a> | |||
<a href="javascript:viewArc({dede:field.aid/})" class="btn btn-success btn-sm" title="预览"> <i class="fa fa-globe" aria-hidden="true"></i></a> | |||
</td> | |||
</tr> | |||
{/dede:datalist} | |||
<tr bgcolor="#ffffff"> | |||
<td height="26" colspan="9"> | |||
| |||
<a class="btn btn-success btn-sm" href="javascript:selAll()" class="coolbg">全选</a> | |||
<a class="btn btn-success btn-sm" href="javascript:noSelAll()" class="coolbg">取消</a> | |||
<a class="btn btn-success btn-sm" href="javascript:updateArc(0)" class="coolbg"> 更新 </a> | |||
<a class="btn btn-success btn-sm" href="javascript:checkArc(0)" class="coolbg"> 审核 </a> | |||
<a class="btn btn-success btn-sm" href="javascript:adArc(0)" class="coolbg"> 推荐 </a> | |||
<a class="btn btn-success btn-sm" href="javascript:;" | |||
onClick="moveArc(event,this,<?php echo (empty($channelid) ? 0 : $channelid); ?>)" class="coolbg"> 移动 </a> | |||
<a class="btn btn-success btn-sm" href="javascript:delArc(0)" class="coolbg"> 删除 </a> | |||
<?php | |||
if(!empty($f)) { | |||
?> | |||
<a href="javascript:ReturnValue()" class="btn btn-success btn-sm">把选定值加到列表</a> | |||
<?php | |||
} | |||
?> | |||
<select name='cid' style="margin:0 10px;width:160px"> | |||
<option value='0'>选择分类</option> | |||
{dede:global.optionarr/} | |||
</select> | |||
</td> | |||
<td>关键词:</td> | |||
<td><input type='text' name='keyword' value='{dede:global.keyword/}' style='margin-right:10px;width:260px'></td> | |||
<td><button type="submit" class="btn btn-success btn-sm">搜索</button></td> | |||
</tr> | |||
</form> | |||
<tr align="right" bgcolor="#f6f6f6"> | |||
<td height="26" colspan="9" align="center"> | |||
{dede:pagelist listsize=3/} | |||
</td> | |||
</tr> | |||
</table> | |||
<table width="100%" border="0" cellspacing="0" cellpadding="0"> | |||
<tr> | |||
<td height="4"></td> | |||
</tr> | |||
<tr bgcolor="#FFFFFF"> | |||
<td height="26"> | |||
<table width='100%' border='0' cellpadding='1' cellspacing='1' class="table table-bordered"> | |||
<tr bgcolor='#F7F7F7'> | |||
<form name='form3' action='content_sg_list.php' method='get'> | |||
<input type='hidden' name='dopost' value='listArchives'> | |||
<td> | |||
<table width='600' border='0' cellpadding='0' cellspacing='0' class="table-borderless"> | |||
<tr> | |||
<td width='160' align='center'>请选择类目:</td> | |||
<td width='160'> | |||
<select name='cid' style='width:150'> | |||
<option value='0'>选择分类</option> | |||
{dede:global.optionarr/} | |||
</select> | |||
</td> | |||
<td width='100'> | |||
关键词: | |||
</td> | |||
<td width='160'> | |||
<input type='text' name='keyword' value='{dede:global.keyword/}' | |||
style='width:150'> | |||
</td> | |||
<td width='100'> | |||
<button type="submit" class="btn btn-success btn-sm">搜索</button> | |||
</td> | |||
</tr> | |||
</table> | |||
</td> | |||
</form> | |||
</tr> | |||
</table> | |||
</td> | |||
</tr> | |||
<tr> | |||
<td colspan="2" height="4"></td> | |||
</tr> | |||
</table> | |||
</table> | |||
</td> | |||
</tr> | |||
</table> | |||
</form> | |||
<table width="98%" cellpadding="2" cellspacing="1" align="center" class="table table-bordered maintable" style="margin-top:10px"> | |||
<tr bgcolor="#E7E7E7"> | |||
<td height="30" colspan="9" background="../static/web/img/tbg.gif" style="padding-left:10px">{dede:global.positionname/}文档列表(使用鼠标右键进行常用操作)</td> | |||
</tr> | |||
<form name="form2"> | |||
<tr align="center" bgcolor="#FBFCE2" height="30"> | |||
<td width="6%">ID</td> | |||
<td width="6%">选择</td> | |||
<td width="30%">文章标题</td> | |||
<td width="10%">更新时间</td> | |||
<td width="14%">类目</td> | |||
<td width="9%">点击</td> | |||
<td width="9%">权限</td> | |||
<td width="6%">发布人</td> | |||
<td width="10%">操作</td> | |||
</tr> | |||
{dede:datalist} | |||
<tr align="center" bgcolor="#ffffff" height="26" align="center" onMouseMove="javascript:this.bgColor='#FCFDEE';" onMouseOut="javascript:this.bgColor='#ffffff';"> | |||
<td>{dede:field.id/}</td> | |||
<td><input name="arcID" type="checkbox" id="arcID" value="{dede:field.aid/}" class="np"></td> | |||
<td align='left'> | |||
<a href='archives_do.php?aid={dede:field.aid/}&dopost=editArchives' oncontextmenu="ShowMenu(event,this,{dede:field.aid/},'{dede:field.title function=" str_replace('\'', '' , @me)" /}')">{dede:field.title/}{dede:field.flag function='IsCommendArchives(@me)'/}</a> | |||
</td> | |||
<td>{dede:field.senddate function='GetDateMk(@me)'/}</td> | |||
<td>{dede:field.typename/}</td> | |||
<td>{dede:field.arcrank function="GetRankName(@me)"/}</td> | |||
<td>{dede:field.click/}</td> | |||
<td>{dede:field.mid function=GetMemberName(@me)/}</td> | |||
<td> | |||
<a href="javascript:editArc({dede:field.aid/})" class="btn btn-success btn-sm" title="编辑"><i class="fa fa-pencil-square-o"></i></a> | |||
<a href="javascript:viewArc({dede:field.aid/})" class="btn btn-success btn-sm" title="预览"><i class="fa fa-globe"></i></a> | |||
</td> | |||
</tr> | |||
{/dede:datalist} | |||
<tr bgcolor="#ffffff"> | |||
<td height="26" colspan="9"> | |||
<a class="btn btn-success btn-sm" href="javascript:selAll()" class="coolbg">全选</a> | |||
<a class="btn btn-success btn-sm" href="javascript:noSelAll()" class="coolbg">取消</a> | |||
<a class="btn btn-success btn-sm" href="javascript:updateArc(0)" class="coolbg"> 更新 </a> | |||
<a class="btn btn-success btn-sm" href="javascript:checkArc(0)" class="coolbg"> 审核 </a> | |||
<a class="btn btn-success btn-sm" href="javascript:adArc(0)" class="coolbg"> 推荐 </a> | |||
<a class="btn btn-success btn-sm" href="javascript:;" onClick="moveArc(event,this,<?php echo (empty($channelid) ? 0 : $channelid); ?>)" class="coolbg"> 移动 </a> | |||
<a class="btn btn-success btn-sm" href="javascript:delArc(0)" class="coolbg"> 删除 </a> | |||
<?php | |||
if(!empty($f)) { | |||
?> | |||
<a href="javascript:ReturnValue()" class="btn btn-success btn-sm">把选定值加到列表</a> | |||
<?php | |||
} | |||
?> | |||
</td> | |||
</tr> | |||
</form> | |||
<tr align="right" bgcolor="#f6f6f6"> | |||
<td height="26" colspan="9" align="center"> | |||
{dede:pagelist listsize=3/} | |||
</td> | |||
</tr> | |||
</table> | |||
@@ -61,7 +61,7 @@ | |||
<span class="STYLE2" id="help3">自定义表单的中文名称,在后台管理,前台发布等均使用此名字</span> | |||
</td> | |||
<td bgcolor="#FFFFFF"> | |||
<input name="name" type="text" id="name" style="width:180px" value="自定义表单<?php echo $newdiyid;?>" | |||
<input name="name" type="text" id="name" style="width:180px" value="自定义表单<?php echo $newdiyid; ?>" | |||
class='pubinputs' /> | |||
*<img src="../static/web/img/help.gif" alt="帮助" border="0" style="cursor:hand" onClick="showHide2('help3')"> | |||
</td> | |||
@@ -82,17 +82,17 @@ | |||
<tr> | |||
<td height="26" align="left" bgcolor="#FFFFFF">列表模板:</td> | |||
<td bgcolor="#FFFFFF"><input name="listtemplate" type="text" id="listtemplate" style="width:180px" | |||
value="list_diyform<?php echo $newdiyid;?>.htm" class='pubinputs' /></td> | |||
value="list_diyform<?php echo $newdiyid; ?>.htm" class='pubinputs' /></td> | |||
</tr> | |||
<tr> | |||
<td height="26" align="left" bgcolor="#FFFFFF">内容模板:</td> | |||
<td bgcolor="#FFFFFF"><input name="viewtemplate" type="text" id="viewtemplate" style="width:180px" | |||
value="view_diyform<?php echo $newdiyid;?>.htm" class='pubinputs' /></td> | |||
value="view_diyform<?php echo $newdiyid; ?>.htm" class='pubinputs' /></td> | |||
</tr> | |||
<tr> | |||
<td height="26" align="left" bgcolor="#FFFFFF">发布模板:</td> | |||
<td bgcolor="#FFFFFF"><input name="posttemplate" type="text" id="posttemplate" style="width:180px" | |||
value="post_diyform<?php echo $newdiyid;?>.htm" class='pubinputs' /></td> | |||
value="post_diyform<?php echo $newdiyid; ?>.htm" class='pubinputs' /></td> | |||
</tr> | |||
<tr> | |||
<td height="26" align="left" bgcolor="#FFFFFF">前台列表和内容页公开:</td> | |||
@@ -106,7 +106,7 @@ | |||
<td height="26" colspan="2"> | |||
<table width="100%" border="0" cellspacing="0" cellpadding="0" class="table-borderless"> | |||
<tr> | |||
<td width="26%" height="36"> </td> | |||
<td width="26%" height="36"></td> | |||
<td width="15%"> | |||
<button type="submit" name="button" id="button" class='btn btn-success'>确定</button> | |||
</td> | |||
@@ -48,7 +48,7 @@ | |||
</div> | |||
<table width="98%" border="0" cellpadding="1" cellspacing="1" align="center" class="table maintable table-bordered mt-3"> | |||
<form name="form1" action="diy_edit.php" method="post" onSubmit="return checkSubmit();"> | |||
<input type='hidden' name='diyid' value='<?php echo $diyid;?>'> | |||
<input type='hidden' name='diyid' value='<?php echo $diyid; ?>'> | |||
<input type='hidden' name='dopost' value='save'> | |||
<tr> | |||
<td height="26" colspan="2" bgcolor="#EDF9D5" background='../static/web/img/tbg.gif' style="padding-left:10px"> | |||
@@ -140,8 +140,8 @@ foreach($dtp->CTags as $ctag) | |||
?> | |||
</td> | |||
<td> | |||
<a href="diy_field_edit.php?diyid=<?php echo $diyid;?>&fname=<?php echo $ctag->GetTagName()?>" class="btn btn-success btn-sm"> <i class="fa fa-pencil-square-o" aria-hidden="true"></i> 修改</a> | |||
<a href="diy_field_edit.php?diyid=<?php echo $diyid;?>&action=delete&fname=<?php echo $ctag->GetTagName()?>" class="btn btn-success btn-sm"> <i class="fa fa-globe" aria-hidden="true"></i> 删除</a> | |||
<a href="diy_field_edit.php?diyid=<?php echo $diyid; ?>&fname=<?php echo $ctag->GetTagName()?>" class="btn btn-success btn-sm"> <i class="fa fa-pencil-square-o" aria-hidden="true"></i> 修改</a> | |||
<a href="diy_field_edit.php?diyid=<?php echo $diyid; ?>&action=delete&fname=<?php echo $ctag->GetTagName()?>" class="btn btn-success btn-sm"> <i class="fa fa-globe" aria-hidden="true"></i> 删除</a> | |||
</td> | |||
</tr> | |||
<?php | |||
@@ -155,31 +155,31 @@ foreach($dtp->CTags as $ctag) | |||
<td height="26" align="left" bgcolor="#FFFFFF">列表模板:</td> | |||
<td bgcolor="#FFFFFF"> | |||
<input name="listtemplate" type="text" id="listtemplate" style="width:180px" | |||
value="<?php echo $row['listtemplate'];?>" class='alltxt' /> | |||
value="<?php echo $row['listtemplate']; ?>" class='alltxt' /> | |||
</td> | |||
</tr> | |||
<tr> | |||
<td height="26" align="left" bgcolor="#FFFFFF">内容模板:</td> | |||
<td bgcolor="#FFFFFF"> | |||
<input name="viewtemplate" type="text" id="viewtemplate" style="width:180px" | |||
value="<?php echo $row['viewtemplate'];?>" class='alltxt' /> | |||
value="<?php echo $row['viewtemplate']; ?>" class='alltxt' /> | |||
</td> | |||
</tr> | |||
<tr> | |||
<td height="26" align="left" bgcolor="#FFFFFF">发布模板:</td> | |||
<td bgcolor="#FFFFFF"> | |||
<input name="posttemplate" type="text" id="posttemplate" style="width:180px" | |||
value="<?php echo $row['posttemplate'];?>" class='alltxt' /> | |||
value="<?php echo $row['posttemplate']; ?>" class='alltxt' /> | |||
</td> | |||
</tr> | |||
<tr> | |||
<td height="26" align="left" bgcolor="#FFFFFF">前台列表和内容页公开:</td> | |||
<td bgcolor="#FFFFFF"> | |||
<label><input name="public" type="radio" value="2" <?php echo $row['public'] == 2 ? 'checked' : '';?> | |||
<label><input name="public" type="radio" value="2" <?php echo $row['public'] == 2 ? 'checked' : ''; ?> | |||
class='np' /> 完全公开 </label> | |||
<label><input name="public" type="radio" value="1" <?php echo $row['public'] == 1 ? 'checked' : '';?> | |||
<label><input name="public" type="radio" value="1" <?php echo $row['public'] == 1 ? 'checked' : ''; ?> | |||
class='np' /> 公开审核过的 </label> | |||
<label><input name="public" type="radio" value="0" <?php echo $row['public'] == 0 ? 'checked' : '';?> | |||
<label><input name="public" type="radio" value="0" <?php echo $row['public'] == 0 ? 'checked' : ''; ?> | |||
class='np' /> 不公开 </label> | |||
</td> | |||
</tr> | |||
@@ -187,7 +187,7 @@ foreach($dtp->CTags as $ctag) | |||
<td height="26" colspan="2"> | |||
<table width="100%" border="0" cellspacing="0" cellpadding="0" class="table-borderless"> | |||
<tr> | |||
<td width="26%" height="36"> </td> | |||
<td width="26%" height="36"></td> | |||
<td width="15%"> | |||
<button type="submit" name="button" id="button" class='btn btn-success'>确定</button> | |||
</td> | |||
@@ -185,7 +185,7 @@ td{ padding:2px; padding-left:6px; line-height:150%; } | |||
<td height="26" colspan="2" bgcolor="#F9FDF0"> | |||
<table width="100%" border="0" cellspacing="0" cellpadding="0" class="table table-borderless"> | |||
<tr> | |||
<td width="26%" height="36"> </td> | |||
<td width="26%" height="36"></td> | |||
<td width="10%"> | |||
<button type="submit" class="btn btn-success">确定</button> | |||
</td> | |||
@@ -164,7 +164,7 @@ td{ padding:2px; padding-left:6px; } | |||
<td height="26" colspan="2" bgcolor="#f6f6f6"> | |||
<table width="100%" border="0" cellspacing="0" cellpadding="0" class="table table-borderless mb-3"> | |||
<tr> | |||
<td width="26%" height="36"> </td> | |||
<td width="26%" height="36"></td> | |||
<td width="10%" class="py-3"> | |||
<button type="submit" class="btn btn-success">确定</button> | |||
</td> | |||
@@ -2,7 +2,7 @@ | |||
<html xmlns="http://www.w3.org/1999/xhtml"> | |||
<head> | |||
<meta http-equiv="Content-Type" content="text/html; charset=<?php echo $cfg_soft_lang; ?>"> | |||
<title><?php echo $diy->name;?></title> | |||
<title><?php echo $diy->name; ?></title> | |||
<link rel="stylesheet" href="../static/web/css/admin.css"> | |||
<script language="javascript" src="../static/web/js/webajax.js"></script> | |||
<script language="javascript" src="js/main.js"></script> | |||
@@ -28,7 +28,7 @@ function SelectTemplets(fname){ | |||
</div> | |||
<form name="form1" action="diy_list.php" method="post" > | |||
<input type="hidden" name="action" value="post"> | |||
<input type="hidden" name="diyid" value="<?php echo $diyid;?>"> | |||
<input type="hidden" name="diyid" value="<?php echo $diyid; ?>"> | |||
<input type="hidden" name="do" value="2"> | |||
<table width="98%" border="0" align="center" cellpadding="3" cellspacing="1" bgcolor="#ffffff"> | |||
<tr> | |||
@@ -27,7 +27,7 @@ | |||
<tr bgcolor="#FFFFFF"> | |||
<td width="120" height="26">评论所属文章:</td> | |||
<td> | |||
<?php echo RemoveXSS($row['arctitle']);?> | |||
<?php echo RemoveXSS($row['arctitle']); ?> | |||
</td> | |||
</tr> | |||
<tr bgcolor="#FFFFFF"> | |||
@@ -74,8 +74,8 @@ | |||
<div style="float:right;padding-right:10px"> | |||
<form name='form1'> | |||
关键词: | |||
<input type='text' size='15' name='keyword' style='width:150'> | |||
<select name="typeid" style="width:180"> | |||
<input type='text' size='15' name='keyword' style='width:150px'> | |||
<select name="typeid" style="width:180px"> | |||
<option value="0">请选择</option> | |||
{dede:global.openarray /} | |||
</select> | |||
@@ -126,7 +126,7 @@ | |||
</td> | |||
</tr> | |||
<tr> | |||
<td height="26" align="left"> </td> | |||
<td height="26" align="left"></td> | |||
<td align="left">以下选项用于模板里的 <meta name="keywords|description" | |||
content=""> 描述</td> | |||
</tr> | |||
@@ -278,7 +278,7 @@ | |||
</tr> | |||
</form> | |||
<tr> | |||
<td valign="top" bgcolor="#f6f6f6"> </td> | |||
<td valign="top" bgcolor="#f6f6f6"></td> | |||
</tr> | |||
</table> | |||
</center> | |||
@@ -118,7 +118,7 @@ | |||
</td> | |||
</tr> | |||
<tr> | |||
<td height="26" align="left"> </td> | |||
<td height="26" align="left"></td> | |||
<td align="left">以下选项用于模板里的 <meta name="keywords|description"content=""> 描述</td> | |||
</tr> | |||
<tr> | |||
@@ -217,13 +217,13 @@ | |||
?> | |||
高级筛选: | |||
<label><input name="types[]" type="checkbox" id="type1" value="image" | |||
<?php if(preg_match("#image#i",$setype)) echo ' checked';?>> | |||
<?php if(preg_match("#image#i",$setype)) echo ' checked'; ?>> | |||
带缩略图</label> | |||
<label><input name="types[]" type="checkbox" id="type2" value="commend" | |||
<?php if(preg_match("#commend#i", $setype)) echo ' checked';?>> | |||
<?php if(preg_match("#commend#i", $setype)) echo ' checked'; ?>> | |||
推荐</label> | |||
<label><input name="types[]" type="checkbox" id="type3" value="spec" class="inputbut" | |||
<?php if(preg_match("#spec#i", $setype)) echo ' checked';?>> | |||
<?php if(preg_match("#spec#i", $setype)) echo ' checked'; ?>> | |||
专题</label> 关键词: | |||
<input name="keywordarc" type="text" id="keywordarc" value="<?php echo $ctag->GetAtt('keyword')?>"> | |||
(","逗号分开) | |||
@@ -256,10 +256,10 @@ | |||
</select> | |||
<label><input name="order" type="radio" value="desc" | |||
<?php if($ctag->GetAtt('orderway')=='desc') echo " checked";?>> | |||
<?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";?>> | |||
<?php if($ctag->GetAtt('orderway')=='asc') echo " checked"; ?>> | |||
由低到高</label></td> | |||
</tr> | |||
<tr> | |||
@@ -286,7 +286,7 @@ | |||
</tr> | |||
</form> | |||
<tr> | |||
<td valign="top" bgcolor="#f6f6f6"> </td> | |||
<td valign="top" bgcolor="#f6f6f6"></td> | |||
</tr> | |||
</table> | |||
</center> | |||
@@ -11,8 +11,8 @@ | |||
<script language="javascript" src="js/main.js"></script> | |||
<script language="JavaScript"> | |||
var pageno = 1; | |||
var totalrow = <?php echo $totalRow;?>; | |||
var pagesize = <?php echo $pagesize;?>; | |||
var totalrow = <?php echo $totalRow; ?>; | |||
var pagesize = <?php echo $pagesize; ?>; | |||
var orderby = '<?php echo $orderby?>'; | |||
var addget = "<?php echo $addget?>"; | |||
//加载列表 | |||
@@ -116,8 +116,8 @@ | |||
<td width='36%' class="py-3" style="padding-left:10px">自由列表管理 | |||
<a href="freelist_add.php" class="btn btn-success btn-sm">增加列表</a> | |||
</td> | |||
<td width="29%"> </td> | |||
<td width="35%" align='right'> </td> | |||
<td width="29%"></td> | |||
<td width="35%" align='right'></td> | |||
</tr> | |||
</table> | |||
</td> | |||
@@ -129,7 +129,7 @@ | |||
?> | |||
</div> | |||
<div id='pagelist' class="mb-3 mt-3"><script language='javascript'>ReloadPageNum(1);</script></div> | |||
<table width="98%" border="0" cellpadding="5" cellspacing="1" align="center" style=" border:1px solid #dee2e6;line-height:31px;margin:auto;" class="table table-borderless maintable mb-3"> | |||
<table width="98%" border="0" cellpadding="5" cellspacing="1" align="center" style="border:1px solid #dee2e6;line-height:31px;margin:auto;" class="table table-borderless maintable mb-3"> | |||
<tr> | |||
<td height="36" align="center" style="background:#f6f6f6;padding:7px 6px 3px 6px;"> | |||
<table width="100%" border="0" cellpadding="0" cellspacing="0" class="table"> | |||
@@ -103,7 +103,7 @@ function CheckSubmit() | |||
</td> | |||
</tr> | |||
<tr> | |||
<td height="50"> </td> | |||
<td height="50"></td> | |||
<td> | |||
<button type="submit" name="Submit" class="btn btn-success"> 提 交 </button> | |||
<button type="reset" name="Submit" class="btn btn-success"> 重 置 </button> | |||
@@ -83,7 +83,7 @@ | |||
</td> | |||
</tr> | |||
<tr> | |||
<td height="50"> </td> | |||
<td height="50"></td> | |||
<td> | |||
<button type="submit" name="Submit" class="btn btn-success"> 提 交 </button> | |||
<button type="reset" name="Submit" onClick="location.href='<?php echo $ENV_GOBACK_URL?>';" class="btn btn-success"> 返 回 </button> | |||
@@ -37,7 +37,7 @@ | |||
</td> | |||
<td height="26" valign="top"><input name="pname_<?php echo $k?>" value="<?php echo $row->typename?>" type="text" | |||
id="pname_<?php echo $k?>" class='pubinputs' style="width:90%"> </td> | |||
id="pname_<?php echo $k?>" class='pubinputs' style="width:90%"></td> | |||
<td> | |||
<label><input name="check_<?php echo $k?>" type="checkbox" id="check_<?php echo $k?>" value="1" checked='1' | |||
class='np' /> | |||
@@ -52,7 +52,7 @@ | |||
</tr> | |||
<tr height="26" align="center" bgcolor="#FFFFFF"> | |||
<td colspan="2" valign="top"> | |||
<input name="pname_new" type="text" id="pname_new" class='pubinputs' style="width:90%"> </td> | |||
<input name="pname_new" type="text" id="pname_new" class='pubinputs' style="width:90%"></td> | |||
<td align="center" bgcolor="#FFFFFF"> | |||
<label><input name="check_new" type="checkbox" id="check_new" value="1" checked='1' class='np' /> | |||
@@ -60,7 +60,7 @@ | |||
</tr> | |||
<tr> | |||
<td height="30" colspan="5" align="center" bgcolor="#f6f6f6"> | |||
<input name="imageField" type="submit" class="np coolbg" value="确定"> </td> | |||
<input name="imageField" type="submit" class="np coolbg" value="确定"></td> | |||
</tr> | |||
</form> | |||
</table> | |||
@@ -3,7 +3,7 @@ | |||
<head> | |||
<meta http-equiv="Content-Type" content="text/html; charset=<?php echo $cfg_soft_lang; ?>"> | |||
<title>图片裁剪 Image Cropper</title> | |||
<script>var targetname = '<?php echo $f;?>';</script> | |||
<script>var targetname = '<?php echo $f; ?>';</script> | |||
<script type="text/javascript" src="../static/web/js/jquery.min.js"></script> | |||
<script src="../static/web/js/ui.core.js"></script> | |||
<script src="../static/web/js/ui.draggable.js"></script> | |||
@@ -152,17 +152,17 @@ function ReturnImg(reimg) | |||
<div id="box"> | |||
<form id="setFace" name="setFace" method="post" action="imagecut.php"> | |||
<input type="hidden" name="action" value="cut"> | |||
<input type="hidden" name="f" value="<?php echo $f;?>"> | |||
<input type="hidden" name="file" value="<?php echo $file;?>"> | |||
<input type="hidden" name="f" value="<?php echo $f; ?>"> | |||
<input type="hidden" name="file" value="<?php echo $file; ?>"> | |||
<input type="hidden" name="isupload" value="<?php echo (empty($isupload) ? '' : $isupload); ?>"> | |||
<div id="imgBox"> | |||
<img id="faceImg" src="<?php echo $file;?>"> | |||
<img id="faceImg" src="<?php echo $file; ?>"> | |||
<div id="imgCut"></div> | |||
</div> | |||
<div> | |||
<div id="imgBox_pre"> | |||
预览 | |||
<div class='boximg'><img id="faceImg_pre" src="<?php echo $file;?>"></div> | |||
<div class='boximg'><img id="faceImg_pre" src="<?php echo $file; ?>"></div> | |||
<p align="center"> | |||
<button type="submit" name="sb1" id="sb1">裁剪</button> | |||
<button type="button" name="useold" onClick="ReturnImg('<?php echo $file; ?>')">使用原图</button> | |||
@@ -9,10 +9,7 @@ | |||
<link rel="stylesheet" href="../static/web/font/css/font-awesome.min.css"> | |||
<link rel="stylesheet" href="../static/web/css/admin.css"> | |||
<link rel="stylesheet" href="css/indexbody.css"> | |||
<script> | |||
const cfg_biz_dedebizUrl = '<?php echo $cfg_biz_dedebizUrl;?>'; | |||
const cfg_webname = '<?php echo $cfg_webname;?>'; | |||
</script> | |||
<script>const cfg_biz_dedebizUrl = '<?php echo $cfg_biz_dedebizUrl; ?>';const cfg_webname = '<?php echo $cfg_webname; ?>';</script> | |||
<script src="../static/web/js/jquery.min.js"></script> | |||
<script src="../static/web/js/bootstrap.bundle.min.js"></script> | |||
<script src="../static/web/js/webajax.js"></script> | |||
@@ -28,7 +28,7 @@ | |||
<table width="98%" border="0" cellpadding="0" cellspacing="0" class="table table-borderless"> | |||
<tr> | |||
<td width="30%" height="18" style="padding-left:10px">更新首页向导</td> | |||
<td width="70%" align="right"> </td> | |||
<td width="70%" align="right"></td> | |||
</tr> | |||
</table> | |||
</td> | |||
@@ -60,9 +60,9 @@ | |||
<tr> | |||
<td height="26" valign="top" bgcolor="#FFFFFF">首页模式:</td> | |||
<td height="26" valign="top" bgcolor="#FFFFFF"> | |||
<label><input name="showmod" type="radio" value="0" class="np" <?php echo ($row['showmod']==0)? "checked='checked'" : "";?>> | |||
<label><input name="showmod" type="radio" value="0" class="np" <?php echo ($row['showmod']==0)? "checked='checked'" : ""; ?>> | |||
动态浏览</label> | |||
<label><input name="showmod" type="radio" class="np" value="1" <?php echo ($row['showmod']==1)? "checked='checked'" : "";?>> | |||
<label><input name="showmod" type="radio" class="np" value="1" <?php echo ($row['showmod']==1)? "checked='checked'" : ""; ?>> | |||
生成静态 (或者手动删除根目录下index.html文件)</label></td> | |||
</tr> | |||
<tr> | |||
@@ -98,9 +98,9 @@ | |||
<tr> | |||
<td height="26" valign="top" bgcolor="#FFFFFF">首页状态:</td> | |||
<td height="26" valign="top" bgcolor="#FFFFFF"> | |||
<label><input name="lockindex" type="radio" class="np" value="unlock" <?php echo ($rs['index_lock_state']==true)? "checked='checked'" : "";?>> | |||
<label><input name="lockindex" type="radio" class="np" value="unlock" <?php echo ($rs['index_lock_state']==true)? "checked='checked'" : ""; ?>> | |||
解锁</label> | |||
<label><input name="lockindex" type="radio" value="lock" class="np" <?php echo ($row['index_lock_state']==false)? "checked='checked'" : "";?>> | |||
<label><input name="lockindex" type="radio" value="lock" class="np" <?php echo ($row['index_lock_state']==false)? "checked='checked'" : ""; ?>> | |||
锁定</label> | |||
</td> | |||
</tr> | |||
@@ -62,8 +62,8 @@ | |||
<td height="26" valign="top" bgcolor="#FFFFFF">说明:</td> | |||
<td height="26" valign="top" bgcolor="#FFFFFF"> | |||
更新所有Tag将会智能更新在[Tag标签管理]中重新获取更新的内容<br> | |||
Tag首页模板文件:<?php echo $cfg_templets_dir;?>/<?php echo $cfg_df_style?>/tag.htm<br> | |||
Tag列表页模板文件:<?php echo $cfg_templets_dir;?>/<?php echo $cfg_df_style?>/taglist.htm<br> | |||
Tag首页模板文件:<?php echo $cfg_templets_dir; ?>/<?php echo $cfg_df_style?>/tag.htm<br> | |||
Tag列表页模板文件:<?php echo $cfg_templets_dir; ?>/<?php echo $cfg_df_style?>/taglist.htm<br> | |||
生成静态文件后,访问动态文件则直接跳转到静态文件,如果需要动态访问,删除对应文件即可 | |||
</td> | |||
</tr> | |||
@@ -57,11 +57,11 @@ function changeDopost(postval) | |||
$bgcolor = ($key % 2 == 0)? '#E6F3CD' : '#FFFFFF'; | |||
?> | |||
<tr> | |||
<td width="60" align="center" valign="top" bgcolor="<?php echo $bgcolor;?>"><input name="Iterm[<?php echo $key;?>]" type="checkbox" id="Iterm" value="<?php echo $value['filedir'] ;?>"></td> | |||
<td width="185" align="left" valign="top" bgcolor="<?php echo $bgcolor;?>"><?php echo $value['filedir'] ;?><?php echo ($value['issystem']==1)? '<span style='color:#dc3545'>[系统]</span>' : '' ;?></td> | |||
<td width="260" valign="top" bgcolor="<?php echo $bgcolor;?>"><?php echo $value['description'] ;?></td> | |||
<td width="190" align="center" valign="top" bgcolor="<?php echo $bgcolor;?>"><label></label></td> | |||
<td width="190" align="center" valign="top" bgcolor="<?php echo $bgcolor;?>"><?php echo GetState($value['state']) ;?></td> | |||
<td width="60" align="center" valign="top" bgcolor="<?php echo $bgcolor; ?>"><input name="Iterm[<?php echo $key; ?>]" type="checkbox" id="Iterm" value="<?php echo $value['filedir'] ; ?>"></td> | |||
<td width="185" align="left" valign="top" bgcolor="<?php echo $bgcolor; ?>"><?php echo $value['filedir'] ; ?><?php echo ($value['issystem']==1)? '<span style='color:#dc3545'>[系统]</span>' : '' ; ?></td> | |||
<td width="260" valign="top" bgcolor="<?php echo $bgcolor; ?>"><?php echo $value['description'] ; ?></td> | |||
<td width="190" align="center" valign="top" bgcolor="<?php echo $bgcolor; ?>"><label></label></td> | |||
<td width="190" align="center" valign="top" bgcolor="<?php echo $bgcolor; ?>"><?php echo GetState($value['state']) ; ?></td> | |||
</tr> | |||
<?php | |||
} | |||
@@ -65,7 +65,7 @@ | |||
<form enctype="multipart/form-data" name='form1' action="media_add.php" method="POST" | |||
onSubmit="return CheckSubmit();"> | |||
<input type="hidden" name="dopost" value="upload"> | |||
<input type="hidden" name="_csrf_token" value="<?php echo $GLOBALS['csrf_token'];?>"> | |||
<input type="hidden" name="_csrf_token" value="<?php echo $GLOBALS['csrf_token']; ?>"> | |||
<tr> | |||
<td width="15%" height="30" align="center" bgcolor="#FFFFFF" class='bline'>媒体类型:</td> | |||
<td width="85%" height="26" bgcolor="#FFFFFF" class='bline' style="text-align:left"> | |||
@@ -108,7 +108,7 @@ | |||
</td> | |||
</tr> | |||
<tr> | |||
<td align="center" bgcolor="#FFFFFF"> </td> | |||
<td align="center" bgcolor="#FFFFFF"></td> | |||
<td bgcolor="#FFFFFF" style="text-align:left"> | |||
<input name="upfile1" type="file" id="upfile1" style='width:300px' size='30' class='pubinputs' /><br> | |||
<input name="upfile2" type="file" id="upfile2" style='width:300px' size='30' class='pubinputs' /><br> | |||
@@ -53,7 +53,7 @@ | |||
<form enctype="multipart/form-data" name='form1' action="media_edit.php" method="POST" | |||
onSubmit="return CheckSubmit();"> | |||
<input type="hidden" name="dopost" value="save"> | |||
<input type="hidden" name="_csrf_token" value="<?php echo $GLOBALS['csrf_token'];?>"> | |||
<input type="hidden" name="_csrf_token" value="<?php echo $GLOBALS['csrf_token']; ?>"> | |||
<input type="hidden" name="aid" value="<?php echo $aid?>"> | |||
<tr> | |||
<td width="15%" height="30" align="left" bgcolor="#FFFFFF" class='bline'>媒体类型:</td> | |||
@@ -80,12 +80,12 @@ | |||
<table width="800" border="0" cellspacing="0" cellpadding="0" class="table-borderless"> | |||
<form name='forms' method='post' action='media_main.php'> | |||
<tr> | |||
<td width="10"> </td> | |||
<td width="100" align="center">关键词:</td> | |||
<td width="100"> | |||
<td width="10"></td> | |||
<td width="90" align="center">关键词:</td> | |||
<td width="90"> | |||
<input name="keyword" type="text" id="keyword" style="width:100" value="<?php echo $keyword?>"> | |||
</td> | |||
<td width="100" align="center"> | |||
<td width="90" align="center"> | |||
<select name='mediatype' style='width:80'> | |||
<option value='0'>文件类型</option> | |||
<option value='1' <?php if($mediatype==1) echo " selected"?>>图片</option> | |||
@@ -93,7 +93,7 @@ | |||
<option value='3' <?php if($mediatype==3) echo " selected"?>>视频/音频</option> | |||
<option value='4' <?php if($mediatype==4) echo " selected"?>>其它附件</option> | |||
</select> </td> | |||
<td width="100" align="center"> | |||
<td width="90" align="center"> | |||
<select name='membertype' style='width:80'> | |||
<option value='0'>用户组</option> | |||
<option value='1' <?php if($membertype==1) echo " selected"?>>管理员</option> | |||
@@ -63,7 +63,7 @@ | |||
<td>输入订单号:</td> | |||
<td> | |||
<input name="buyid" type="text" id="buyid"></td> | |||
<td width="100" align="center"> <button type="submit" class="btn btn-success btn-sm">搜索</button> | |||
<td width="90" align="center"> <button type="submit" class="btn btn-success btn-sm">搜索</button> | |||
</td> | |||
</tr> | |||
</table> | |||
@@ -41,7 +41,7 @@ | |||
</td> | |||
<td width="86"> 用户:</td> | |||
<td width="74"><input name="username" type="text" id="username" size="12" style="width:100" value="{dede:global name='username'/}"></td> | |||
<td width="100" align="center"> | |||
<td width="90" align="center"> | |||
<select name="folder" id="folder"> | |||
<option value="inbox">收件箱</option> | |||
<option value="outbox">发件箱</option> | |||
@@ -25,7 +25,7 @@ | |||
<td width="110" align="center"><input name="keyword" type="text" id="keyword" size="12" style="width:100px"></td> | |||
<td width="86"> 用户:</td> | |||
<td width="74"><input name="username" type="text" id="username" size="12" style="width:100px"></td> | |||
<td width="100" align="center"><select name="folder" id="folder"> | |||
<td width="90" align="center"><select name="folder" id="folder"> | |||
<option value="inbox">收件箱</option> | |||
<option value="outbox">发件箱</option> | |||
</select> | |||
@@ -60,7 +60,7 @@ | |||
</tr> | |||
<tr> | |||
<td height="26" align="right" valign="top"> </td> | |||
<td height="26" align="right" valign="top"></td> | |||
<td height="30"><input type="submit" value="提交" class="button01"></td> | |||
</tr> | |||
</table> | |||
@@ -68,7 +68,7 @@ | |||
</td> | |||
</tr> | |||
<tr bgcolor="#f6f6f6"> | |||
<td height="26" colspan="9" align="center"> </td> | |||
<td height="26" colspan="9" align="center"></td> | |||
</tr> | |||
</table> | |||
</body> |
@@ -26,7 +26,7 @@ | |||
<input name="keyword" type="text" id="keyword" size="12" style="width:100px"></td> | |||
<td width="86"> 用户:</td> | |||
<td width="74"><input name="username" type="text" id="username" size="12" style="width:100px"></td> | |||
<td width="100" align="center"><select name="folder" id="folder"> | |||
<td width="90" align="center"><select name="folder" id="folder"> | |||
<option value="inbox">收件箱</option> | |||
<option value="outbox">发件箱</option> | |||
</select> | |||
@@ -66,7 +66,7 @@ | |||
</tr> | |||
<tr> | |||
<td height="26" align="right" valign="top"> </td> | |||
<td height="26" align="right" valign="top"></td> | |||
<td height="30"><input type="submit" value="提交" class="button01"></td> | |||
</tr> | |||
</table> | |||
@@ -74,7 +74,7 @@ | |||
</td> | |||
</tr> | |||
<tr bgcolor="#f6f6f6"> | |||
<td height="26" colspan="9" align="center"> </td> | |||
<td height="26" colspan="9" align="center"></td> | |||
</tr> | |||
</table> | |||
</body> |
@@ -48,7 +48,7 @@ | |||
else { echo "用户"; } | |||
?></td> | |||
<td><input name="check_<?php echo $k?>" type="checkbox" id="check_<?php echo $k?>" | |||
<?php if($row->id == 3) echo 'disabled="disabled"';?> class="np" value="1" checked='checked' /> | |||
<?php if($row->id == 3) echo 'disabled="disabled"'; ?> class="np" value="1" checked='checked' /> | |||
正在使用 </td> | |||
</tr> | |||
<?php | |||
@@ -65,7 +65,7 @@ | |||
<td> 默认金币 </td> | |||
<td> 默认积分 </td> | |||
<td> 操作设置 </td> | |||
<td> </td> | |||
<td></td> | |||
</tr> | |||
<tr bgcolor="#FFFFFF" align="center" height="26"> | |||
<td><input name="name_new" type="text" id="name_new" class='autoinput alltxt' /></td> | |||
@@ -74,10 +74,10 @@ | |||
<td><input name="scores_new" type="text" id="scores_new" value='100' class='autoinput alltxt' /></td> | |||
<td><input name="check_new" type="checkbox" id="check_new" class="np" value="1" checked /> | |||
增加等级 </td> | |||
<td> </td> | |||
<td></td> | |||
</tr> | |||
<tr> | |||
<td height="26" colspan="6" bgcolor="#F8FCF1"> </td> | |||
<td height="26" colspan="6" bgcolor="#F8FCF1"></td> | |||
</tr> | |||
<tr> | |||
<td height="36" colspan="6" align="center" bgcolor="#FFFFFF"><button type="submit" class="btn btn-success">保存</button></td> | |||
@@ -63,8 +63,8 @@ | |||
value="<?php echo $v['titles']?>" size="20"></td> | |||
<td align="left" style="padding:5px;"> | |||
<select name="isdefault-<?php echo $v['id']?>" id="isdefault-<?php echo $v['id']?>"> | |||
<option value="1" <?php if($v['isdefault']) echo " selected='selected'";?>>是</option> | |||
<option value="0" <?php if(!$v['isdefault']) echo " selected='selected'";?>>否</option> | |||
<option value="1" <?php if($v['isdefault']) echo " selected='selected'"; ?>>是</option> | |||
<option value="0" <?php if(!$v['isdefault']) echo " selected='selected'"; ?>>否</option> | |||
</select> | |||
</td> | |||
</tr> | |||
@@ -105,7 +105,7 @@ | |||
(复制本代码:<span style='color:#e74d58'><?php echo $safecode; ?></span> ) </td> | |||
</tr> | |||
<tr> | |||
<td height="67" align="right"> </td> | |||
<td height="67" align="right"></td> | |||
<td height="67" align="left"><button type="submit" name="Submit" class='btn btn-success'>确定提升</button> | |||
| |||
<button type="reset" name="Submit22" class='btn btn-success'>重置表单</button></td> | |||
@@ -115,7 +115,7 @@ | |||
</td> | |||
</tr> | |||
<tr> | |||
<td height="26" colspan="5" bgcolor="#ffffff"> </td> | |||
<td height="26" colspan="5" bgcolor="#ffffff"></td> | |||
</tr> | |||
<tr> | |||
<td height="30" colspan="5" align="center" bgcolor="#f6f6f6"> | |||
@@ -100,11 +100,11 @@ function checkSubmit() | |||
<tr> | |||
<td align="right" class='bline'>性 别:</td> | |||
<td class='bline' style="text-align:left"> | |||
<label><input type="radio" name="sex" class="np" value="男"<?php if($row['sex']=="男" ) echo" checked='1'" ;?>> | |||
<label><input type="radio" name="sex" class="np" value="男"<?php if($row['sex']=="男" ) echo" checked='1'" ; ?>> | |||
男</label> | |||
<label><input type="radio" name="sex" class="np" value="女"<?php if($row['sex']=="女" ) echo" checked='1'" ;?>> | |||
<label><input type="radio" name="sex" class="np" value="女"<?php if($row['sex']=="女" ) echo" checked='1'" ; ?>> | |||
女</label> | |||
<label><input type="radio" name="sex" class="np" value=""<?php if($row['sex']=="" ) echo" checked='1'" ;?>> | |||
<label><input type="radio" name="sex" class="np" value=""<?php if($row['sex']=="" ) echo" checked='1'" ; ?>> | |||
保密</label> | |||
</td> | |||
</tr> | |||
@@ -137,7 +137,7 @@ function checkSubmit() | |||
<tr> | |||
<td align="right" class='bline'>升级时间:</td> | |||
<td class='bline' style="text-align:left"> | |||
<input type="text" style="width: 200px;" value="<?php echo $row['uptime']=($row['uptime']=="0")? GetDateTimeMk(time()) : GetDateTimeMk($row['uptime']);?>" id="uptime" name="uptime"> | |||
<input type="text" style="width: 200px;" value="<?php echo $row['uptime']=($row['uptime']=="0")? GetDateTimeMk(time()) : GetDateTimeMk($row['uptime']); ?>" id="uptime" name="uptime"> | |||
(如果您要升级会员,必须设置此时间为当前时间)</td> | |||
</tr> | |||
<tr> | |||
@@ -145,7 +145,7 @@ function checkSubmit() | |||
<td class='bline' style="text-align:left"><input type="text" style="width: 200px;" value="<?php echo $row['exptime']?>" id="exptime" name="exptime"> | |||
(如果您要升级会员,会员天数必须大于0) </td> | |||
</tr> | |||
<?php if($mhasDay!=0){ $mhasDay=($mhasDay>0)? $mhasDay : '<span style="color:#dc3545">该会员已经到期</span>';?> | |||
<?php if($mhasDay!=0){ $mhasDay=($mhasDay>0)? $mhasDay : '<span style="color:#dc3545">该会员已经到期</span>'; ?> | |||
<tr> | |||
<td align="right" class='bline'>会员剩余天数:</td> | |||
<td class='bline' style="text-align:left"><?php echo $mhasDay; ?></td> | |||
@@ -195,7 +195,7 @@ function checkSubmit() | |||
</td> | |||
</tr> | |||
<tr> | |||
<td height="67" align="right" > </td> | |||
<td height="67" align="right" ></td> | |||
<td height="67" align="left"> | |||
<button type="submit" name="Submit" class='btn btn-success'>确定修改</button> | |||
| |||
@@ -58,13 +58,13 @@ td{padding-left:8px} | |||
<tr> | |||
<td width="19%" align="center" bgcolor="#FFFFFF">开发者ID:</td> | |||
<td width="81%" bgcolor="#FFFFFF"> | |||
<input name="dev_id2" type="text" id="dev_id2" style="width:180px" value="<?php echo $dev_id; ?>" class='alltxt' disabled/> <a href="<?php echo $cfg_biz_dedebizUrl;?>/developer" target="_blank" class="text-success">如何获取开发者ID</a> | |||
<input name="dev_id2" type="text" id="dev_id2" style="width:180px" value="<?php echo $dev_id; ?>" class='alltxt' disabled/> <a href="<?php echo $cfg_biz_dedebizUrl; ?>/developer" target="_blank" class="text-success">如何获取开发者ID</a> | |||
</td> | |||
</tr> | |||
<tr> | |||
<td align="center" bgcolor="#FFFFFF">语言编码:</td> | |||
<td bgcolor="#FFFFFF"> | |||
<?php echo $lang;?> | |||
<?php echo $lang; ?> | |||
</td> | |||
</tr> | |||
<tr> | |||
@@ -92,9 +92,9 @@ td{padding-left:8px} | |||
<tr> | |||
<td align="center" bgcolor="#FFFFFF">是否涉及会员系统:</td> | |||
<td bgcolor="#FFFFFF"> | |||
<label><input name="ismember" type="radio" class='np' id="ismember0" value="0" onclick="ShowHideMb('ismember0','rboxct')" <?php if($ismember=='0') echo " checked='1' ";?>> | |||
<label><input name="ismember" type="radio" class='np' id="ismember0" value="0" onclick="ShowHideMb('ismember0','rboxct')" <?php if($ismember=='0') echo " checked='1' "; ?>> | |||
不涉及</label> | |||
<label><input name="ismember" type="radio" id="ismember1" value="1" onclick="ShowHideMb('ismember0','rboxct')" class='np' <?php if($ismember=='1') echo " checked='1' ";?>> 涉及</label> | |||
<label><input name="ismember" type="radio" id="ismember1" value="1" onclick="ShowHideMb('ismember0','rboxct')" class='np' <?php if($ismember=='1') echo " checked='1' "; ?>> 涉及</label> | |||
<div id='rboxct' style='display:<?php echo ($ismember=='0' ? 'none' : 'block'); ?>'> | |||
导航使用名称: | |||
<input name="indexname" type="text" id="indexname" style="width:180px" value="<?php echo $indexname; ?>" class='alltxt'/> | |||
@@ -67,29 +67,29 @@ | |||
</tr> | |||
<tr> | |||
<td height="100" bgcolor="#FFFFFF"> </td> | |||
<td height="100" bgcolor="#FFFFFF"></td> | |||
</tr> | |||
<tr> | |||
<td bgcolor="#FFFFFF">2、如何对我开发的模块进行打包<a name="2" id="2"></a></td> | |||
</tr> | |||
<tr> | |||
<td height="100" bgcolor="#FFFFFF"> </td> | |||
<td height="100" bgcolor="#FFFFFF"></td> | |||
</tr> | |||
<tr> | |||
<td bgcolor="#FFFFFF">3、开发模块安装程序和卸载程序的注意事项<a name="3" id="3"></a></td> | |||
</tr> | |||
<tr> | |||
<td height="100" bgcolor="#FFFFFF"> </td> | |||
<td height="100" bgcolor="#FFFFFF"></td> | |||
</tr> | |||
<tr> | |||
<td bgcolor="#FFFFFF">4、DedeBIZ的后台管理程序的开发注意事项<a name="4" id="4"></a></td> | |||
</tr> | |||
<tr> | |||
<td height="100" bgcolor="#FFFFFF"> </td> | |||
<td height="100" bgcolor="#FFFFFF"></td> | |||
</tr> | |||
<tr bgcolor="#F9FDF0"> | |||
<td height="26"> </td> | |||
<td height="26"></td> | |||
</tr> | |||
</table> | |||
</body> |
@@ -24,12 +24,12 @@ | |||
<div class="bodytitleleft"></div> | |||
<div class="bodytitletxt">模块管理</div> | |||
<div class="bodytitletxt" style="float:right;padding-right:10px"> | |||
<a href="<?php echo $cfg_biz_dedebizUrl;?>?from=module" target="_blank">应用市场</a> | | |||
<a href="<?php echo $cfg_biz_dedebizUrl; ?>?from=module" target="_blank">应用市场</a> | | |||
<a href="module_upload.php">模块上传</a> | | |||
<a href="module_make.php">模块打包</a> | |||
</div> | |||
</div> | |||
<div class="alert alert-info maintable mb-3" style="margin:0 auto">从DedeBIZV6开始,启动了<a href="<?php echo $cfg_biz_dedebizUrl;?>/license_developer" target="_blank">DedeBIZ商业开发者计划</a>,为了保障系统及技术服务安全,请认准DedeBIZ商业认证开发者</div> | |||
<div class="alert alert-info maintable mb-3" style="margin:0 auto">从DedeBIZV6开始,启动了<a href="<?php echo $cfg_biz_dedebizUrl; ?>/license_developer" target="_blank">DedeBIZ商业开发者计划</a>,为了保障系统及技术服务安全,请认准DedeBIZ商业认证开发者</div> | |||
<table width="98%" border="0" cellpadding="1" cellspacing="1" align="center" class="table maintable"> | |||
<form name="form1" action="plus_add.php" method="post"> | |||
<input type='hidden' name='dopost' value='save'> | |||
@@ -67,7 +67,7 @@ | |||
else echo $v['lang']; | |||
?> | |||
</td> | |||
<td><?php echo $types[$v['moduletype']];?></td> | |||
<td><?php echo $types[$v['moduletype']]; ?></td> | |||
<td> | |||
<?php | |||
$file = DEDEDATA."/module/{$v['hash']}.xml"; | |||
@@ -71,7 +71,7 @@ | |||
<tr> | |||
<td align="center" bgcolor="#FFFFFF">开发者ID:</td> | |||
<td bgcolor="#FFFFFF"> | |||
<input name="dev_id" type="text" id="dev_id" style="width:180px" class='alltxt' /> <a href="<?php echo $cfg_biz_dedebizUrl;?>/developer" target="_blank" class="text-success">如何获取开发者ID</a> | |||
<input name="dev_id" type="text" id="dev_id" style="width:180px" class='alltxt' /> <a href="<?php echo $cfg_biz_dedebizUrl; ?>/developer" target="_blank" class="text-success">如何获取开发者ID</a> | |||
</td> | |||
</tr> | |||
<tr> | |||
@@ -222,11 +222,11 @@ | |||
<tr bgcolor="#F9FDF0"> | |||
<td height="26" colspan="2" bgcolor="#f6f6f6"> | |||
<div class="alert alert-info" role="alert"> | |||
制作模块即表示您同意<a href="<?php echo $cfg_biz_dedebizUrl;?>/license_developer" target="_blank">《DedeBIZ开发者协议》</a> | |||
制作模块即表示您同意<a href="<?php echo $cfg_biz_dedebizUrl; ?>/license_developer" target="_blank">《DedeBIZ开发者协议》</a> | |||
</div> | |||
<table width="100%" border="0" cellspacing="0" cellpadding="0"> | |||
<tr> | |||
<td width="26%"> </td> | |||
<td width="26%"></td> | |||
<td width="15%"> | |||
<button name="imageField" type="submit" class="btn btn-success">提交</button> | |||
</td> | |||
@@ -23,11 +23,11 @@ | |||
</tr> | |||
<tr> | |||
<td align="center" bgcolor="#FFFFFF">作者</td> | |||
<td bgcolor="#FFFFFF"> <input name="writer" type="text" id="writer"> </td> | |||
<td bgcolor="#FFFFFF"> <input name="writer" type="text" id="writer"></td> | |||
</tr> | |||
<tr> | |||
<td align="center" bgcolor="#FFFFFF">主程序文件</td> | |||
<td bgcolor="#FFFFFF"><input name="link" type="text" id="link" size="30"> </td> | |||
<td bgcolor="#FFFFFF"><input name="link" type="text" id="link" size="30"></td> | |||
</tr> | |||
<tr> | |||
<td align="center" bgcolor="#FFFFFF">目标框架</td> | |||
@@ -41,7 +41,7 @@ | |||
<tr bgcolor="#F9FDF0"> | |||
<td height="26" colspan="2"> <table width="100%" border="0" cellspacing="0" cellpadding="0"> | |||
<tr> | |||
<td width="26%"> </td> | |||
<td width="26%"></td> | |||
<td width="15%"><input name="imageField" type="submit" class="coolbg np" value="提交"></td> | |||
<td width="59%"><input type="button" name="button" id="button" value="返回" onClick="location='plus_main.php';" class="coolbg np"></td> | |||
</tr> | |||
@@ -271,7 +271,7 @@ | |||
<td height="30" colspan="2"> | |||
<table width="100%" border="0" cellspacing="0" cellpadding="0" class="table table-borderless"> | |||
<tr> | |||
<td width="26%"> </td> | |||
<td width="26%"></td> | |||
<td width="15%"> | |||
<button type="submit" class="btn btn-success">确定</button> | |||
</td> | |||
@@ -82,8 +82,8 @@ | |||
<td colspan="2"> | |||
<table border="0" cellpadding="0" cellspacing="0"> | |||
<tr> | |||
<td width="86" height="26" align="center" background="../static/web/img/itemnote1.gif"> 基本设置 </td> | |||
<td width="86" align="center" background="../static/web/img/itemnote2.gif"><a href="javascript:;" onClick="ShowItem2()">字段管理</a> </td> | |||
<td width="86" height="26" align="center" background="../static/web/img/itemnote1.gif">基本设置 </td> | |||
<td width="86" align="center" background="../static/web/img/itemnote2.gif"><a href="javascript:;" onClick="ShowItem2()">字段管理</a></td> | |||
</tr> | |||
</table> | |||
</td> | |||
@@ -95,7 +95,7 @@ | |||
<td colspan="2"> | |||
<table border="0" cellpadding="0" cellspacing="0"> | |||
<tr> | |||
<td width="86" height="26" align="center" background="../static/web/img/itemnote2.gif" bgcolor="#F2F7DF"><a href="javascript:;" onClick="ShowItem1()">基本设置</a> </td> | |||
<td width="86" height="26" align="center" background="../static/web/img/itemnote2.gif" bgcolor="#F2F7DF"><a href="javascript:;" onClick="ShowItem1()">基本设置</a></td> | |||
<td width="86" align="center" background="../static/web/img/itemnote1.gif">字段管理 </td> | |||
</tr> | |||
</table> | |||
@@ -190,17 +190,17 @@ | |||
} | |||
?> | |||
<label><input name="usertype" class="np" type="radio" value="" | |||
<?php if($row['usertype']=='') echo " checked='1' ";?>> | |||
<?php if($row['usertype']=='') echo " checked='1' "; ?>> | |||
不限</label></td> | |||
</tr> | |||
<tr> | |||
<td bgcolor="#FFFFFF">会员稿件默认状态</td> | |||
<td bgcolor="#FFFFFF"> | |||
<label><input name="arcsta" class="np" type="radio" value="-1" <?php if($row['arcsta']==-1) echo " checked='1' ";?>> | |||
<label><input name="arcsta" class="np" type="radio" value="-1" <?php if($row['arcsta']==-1) echo " checked='1' "; ?>> | |||
未审核</label> | |||
<label><input name="arcsta" class="np" type="radio" value="0" <?php if($row['arcsta']==0) echo " checked='1' ";?>> | |||
<label><input name="arcsta" class="np" type="radio" value="0" <?php if($row['arcsta']==0) echo " checked='1' "; ?>> | |||
已审核(自动生成HTML)</label> | |||
<label><input name="arcsta" class="np" type="radio" value="1" <?php if($row['arcsta']==1) echo " checked='1' ";?>> | |||
<label><input name="arcsta" class="np" type="radio" value="1" <?php if($row['arcsta']==1) echo " checked='1' "; ?>> | |||
已审核(仅使用动态文档)</label> </td> | |||
</tr> | |||
<tr> | |||
@@ -238,13 +238,13 @@ | |||
<span class="STYLE2" id="help6">用","分开,可以在列表模板{dede:list}{/dede:list}中用[field:name /]调用</span></td> | |||
<td bgcolor="#FFFFFF"> | |||
<input name="listfields" type="text" id="listfields" size="50" value="<?php echo $row['listfields']; ?>" | |||
class="pubinputs" style="width:80%"> </td> | |||
class="pubinputs" style="width:80%"></td> | |||
</tr> | |||
<tr> | |||
<td bgcolor="#FFFFFF">投稿标题使用名称</td> | |||
<td bgcolor="#FFFFFF"> | |||
<input name="titlename" type="text" id="titlename" value="<?php echo $row['titlename']; ?>" | |||
class="pubinputs"> </td> | |||
class="pubinputs"></td> | |||
</tr> | |||
<tr> | |||
<td bgcolor="#FFFFFF"> | |||
@@ -408,7 +408,7 @@ else | |||
<td height="36" colspan="2"> | |||
<table width="100%" border="0" cellspacing="0" cellpadding="0"> | |||
<tr> | |||
<td width="26%"> </td> | |||
<td width="26%"></td> | |||
<td width="15%" class="py-3"><button type="submit" class="btn btn-success">确定</button></td> | |||
<td width="59%" class="py-3"><button type="button" onClick="location='mychannel_main.php';" class="btn btn-success">返回</button></td> | |||
</tr> | |||
@@ -267,7 +267,7 @@ class="table maintable table-bordered mt-3"> | |||
<td height="26" colspan="2" bgcolor="#f6f6f6"> | |||
<table width="100%" border="0" cellspacing="0" cellpadding="0" class="table table-borderless"> | |||
<tr> | |||
<td width="26%" height="36"> </td> | |||
<td width="26%" height="36"></td> | |||
<td width="10%"> | |||
<button type="submit" name="button1" id="button1" class="btn btn-success">确定</button> | |||
</td> | |||
@@ -192,7 +192,7 @@ | |||
?> | |||
</select> </td> | |||
</tr> | |||
<tr id="_relation" <?php echo $dtype=="relation"? '' : 'style="display: none;"';?>> | |||
<tr id="_relation" <?php echo $dtype=="relation"? '' : 'style="display: none;"'; ?>> | |||
<td bgcolor="#FFFFFF">内容模型:<br> | |||
<span class="STYLE2"> | |||
选择关联内容对应的内容模型 | |||
@@ -214,7 +214,7 @@ | |||
} | |||
?> | |||
</select> | |||
<label><input name="relation_automake" type="checkbox" class="np" id="relation_automake" value="1" <?php echo $ctag->GetAtt('automake')==1? "checked" : "";?>> | |||
<label><input name="relation_automake" type="checkbox" class="np" id="relation_automake" value="1" <?php echo $ctag->GetAtt('automake')==1? "checked" : ""; ?>> | |||
发布时候自动更新关联内容HTML</label> | |||
</td> | |||
</tr> | |||
@@ -258,7 +258,7 @@ | |||
<td height="26" colspan="2" bgcolor="#f6f6f6"> | |||
<table width="100%" border="0" cellspacing="0" cellpadding="0" class="table table-borderless"> | |||
<tr> | |||
<td width="26%" height="36"> </td> | |||
<td width="26%" height="36"></td> | |||
<td width="10%"><button type="submit" name="button1" id="button1" class="btn btn-success">确定</button> | |||
</td> | |||
<td><button type="reset" name="button3" id="button3" class="btn btn-success">重置</button> | |||
@@ -33,12 +33,12 @@ | |||
<form name="form1" action="mychannel_edit.php" method="post" target="stafrm"> | |||
<input type='hidden' name='mid' value='<?php echo $mid?>'> | |||
<input type='hidden' name='maintable' value='<?php echo $channel['maintable']?>'> | |||
<input type='hidden' name='addontable' value='<?php echo $channel['addtable'];?>'> | |||
<input type='hidden' name='addontable' value='<?php echo $channel['addtable']; ?>'> | |||
<input type='hidden' name='step' value='<?php echo $step?>'> | |||
<input type='hidden' name='dopost' value='modifysearch'> | |||
<tr> | |||
<td height="26" colspan="2" bgcolor="#EDF9D5" background='../static/web/img/tbg.gif' style="padding-left:10px"> | |||
<div style="width:100px; float:right"><a href="mychannel_edit.php?dopost=del&mid=<?php echo $mid;?>">删除自定义搜索</a></div> | |||
<div style="width:100px; float:right"><a href="mychannel_edit.php?dopost=del&mid=<?php echo $mid; ?>">删除自定义搜索</a></div> | |||
<a href="mychannel_main.php">内容模型管理</a> > 自定义搜索管理: | |||
(自定义搜索在方便搜索的同时在一定程度上降低了效率,请根据需求定义搜索) | |||
</td> | |||
@@ -46,7 +46,7 @@ | |||
<tr> | |||
<td width="35%" height="26" align="left" bgcolor="#FFFFFF">频道ID:<br></td> | |||
<td width="65%" bgcolor="#FFFFFF"> | |||
<?php echo $mid;?> | |||
<?php echo $mid; ?> | |||
</td> | |||
</tr> | |||
<tr> | |||
@@ -72,21 +72,21 @@ | |||
<td height="26" align="left" bgcolor="#ffffff">附件表可供自定义搜索的字段:<br> | |||
<span class="STYLE2" id="help4">这里的字段是程序依据字段类型自动选择生成的</span></td> | |||
<td bgcolor="#ffffff"> | |||
<?php echo $addonfields;?> | |||
<?php echo $addonfields; ?> | |||
</td> | |||
</tr> | |||
<tr> | |||
<td align="left" bgcolor="#FFFFFF">自定义搜索结果页模板<br> | |||
<span class="STYLE2" id="help5" style="display: none;">只填写文件名,且文件必须在templets/default目录中 </span></td> | |||
<td bgcolor="#FFFFFF"> | |||
<input type="text" name="template" value="<?php echo $template;?>" style="width:200px"> | |||
<input type="text" name="template" value="<?php echo $template; ?>" style="width:200px"> | |||
</td> | |||
</tr> | |||
<tr bgcolor="#ffffff"> | |||
<td height="26" colspan="2"> | |||
<table width="100%" border="0" cellspacing="0" cellpadding="0" class="table table-borderless"> | |||
<tr> | |||
<td width="26%" height="36"> </td> | |||
<td width="26%" height="36"></td> | |||
<td width="15%"> | |||
<button type="submit" class="btn btn-success btn-sm">确定</button> | |||
</td> | |||
@@ -81,13 +81,13 @@ function checkSubmit() | |||
</td> | |||
</tr> | |||
<tr> | |||
<td height="36"> </td> | |||
<td height="36"></td> | |||
<td> | |||
<input type="submit" name="Submit" value="发布新闻" class="coolbg np"> | |||
</td> | |||
</tr> | |||
<tr> | |||
<td colspan="2"> </td> | |||
<td colspan="2"></td> | |||
</tr> | |||
</table> | |||
</td> | |||
@@ -79,11 +79,11 @@ function checkSubmit() | |||
</td> | |||
</tr> | |||
<tr> | |||
<td height="36"> </td> | |||
<td height="36"></td> | |||
<td><input type="submit" name="Submit" value="更新新闻"> </td> | |||
</tr> | |||
<tr> | |||
<td colspan="2"> </td> | |||
<td colspan="2"></td> | |||
</tr> | |||
</table> | |||
</td> | |||
@@ -64,7 +64,7 @@ | |||
<form action="mytag_add.php" method="post" enctype="multipart/form-data" name="form1" | |||
onSubmit="return checkSubmit()"> | |||
<input type='hidden' name='dopost' value='save' /> | |||
<input type="hidden" name="_csrf_token" value="<?php echo $GLOBALS['csrf_token'];?>"> | |||
<input type="hidden" name="_csrf_token" value="<?php echo $GLOBALS['csrf_token']; ?>"> | |||
<tr> | |||
<td height="26" colspan="3">自定义标记的调用方法:<br> | |||
{dede:mytag name='标记名称' ismake='是否含板块代码(yes 或 no)' typeid='栏目ID'/} | |||
@@ -116,17 +116,17 @@ | |||
<td width="76%"> | |||
<textarea name="normbody" id="normbody" style="width:80%;height:100"></textarea> | |||
</td> | |||
<td width="9%"> </td> | |||
<td width="9%"></td> | |||
</tr> | |||
<tr> | |||
<td height="80" align="center">过期显示内容:</td> | |||
<td> | |||
<textarea name="expbody" id="expbody" style="width:80%;height:100"></textarea> | |||
</td> | |||
<td> </td> | |||
<td></td> | |||
</tr> | |||
<tr> | |||
<td height="53" align="center"> </td> | |||
<td height="53" align="center"></td> | |||
<td colspan="2"> | |||
<button type="submit" class="btn btn-success">确定</button> | |||
</td> | |||
@@ -16,7 +16,7 @@ | |||
<form action="mytag_edit.php" method="post" enctype="multipart/form-data" name="form1"> | |||
<input type='hidden' name='aid' value='<?php echo $aid?>'> | |||
<input type='hidden' name='dopost' value='saveedit'> | |||
<input type="hidden" name="_csrf_token" value="<?php echo $GLOBALS['csrf_token'];?>"> | |||
<input type="hidden" name="_csrf_token" value="<?php echo $GLOBALS['csrf_token']; ?>"> | |||
<tr> | |||
<td width="15%" height="26" align="center">所属栏目:</td> | |||
<td colspan="2"> | |||
@@ -54,17 +54,17 @@ | |||
<td width="76%"> | |||
<textarea name="normbody" id="normbody" style="width:80%;height:100"><?php echo $row['normbody']?></textarea> | |||
</td> | |||
<td width="9%"> </td> | |||
<td width="9%"></td> | |||
</tr> | |||
<tr> | |||
<td height="80" align="center">过期显示内容:</td> | |||
<td> | |||
<textarea name="expbody" id="expbody" style="width:80%;height:100"><?php echo $row['expbody']?></textarea> | |||
</td> | |||
<td> </td> | |||
<td></td> | |||
</tr> | |||
<tr> | |||
<td height="53" align="center"> </td> | |||
<td height="53" align="center"></td> | |||
<td colspan="2"><input name="imageField" type="image" src="../static/web/img/button_ok.gif"></td> | |||
</tr> | |||
</form> | |||
@@ -8,7 +8,7 @@ | |||
<body leftmargin='0' topmargin='10'> | |||
<table width="99%" border="0" cellspacing="0" cellpadding="0"> | |||
<form action="tag_test_action.php" method="post" name="f1" target="_blank"> | |||
<input type="hidden" name="_csrf_token" value="<?php echo $GLOBALS['csrf_token'];?>"> | |||
<input type="hidden" name="_csrf_token" value="<?php echo $GLOBALS['csrf_token']; ?>"> | |||
<tr> | |||
<td align="center"> | |||
<textarea name="partcode" cols="60" rows="6" id="partcode" style="width:90%;height:120"><?php echo $fulltag?></textarea> | |||
@@ -47,7 +47,7 @@ body { | |||
<td height="26" colspan="2"> | |||
<table width="100%" border="0" cellspacing="0" cellpadding="0"> | |||
<tr> | |||
<td width="26%"> </td> | |||
<td width="26%"></td> | |||
<td width="15%"><input name="imageField" class="np" type="image" src="../static/web/img/button_ok.gif"></td> | |||
<td width="59%"><img src="../static/web/img/button_back.gif" width="60" height="26" onClick="location='plus_main.php';" style="cursor:pointer"></td> | |||
</tr> | |||
@@ -88,7 +88,7 @@ | |||
if($catnum>0){ | |||
?> | |||
<a href="<?php echo $row['mancon']; ?>" class="btn btn-success btn-sm">管理内容</a> | |||
<a href="catalog_do.php?channelid=<?php echo $row['id'];?>&cid=0&dopost=addArchives" class="btn btn-success btn-sm">发布内容</a> | |||
<a href="catalog_do.php?channelid=<?php echo $row['id']; ?>&cid=0&dopost=addArchives" class="btn btn-success btn-sm">发布内容</a> | |||
<?php } else { ?> | |||
| | |||
<span>管理内容</span> | |||
@@ -77,17 +77,17 @@ | |||
<td height="50" colspan="3" align="center" bgcolor="#FFFFFF"> | |||
<table width="100%" border="0" cellpadding="1" cellspacing="2" style="BORDER: #CCC 1px solid;" class="table table-striped"> | |||
<?php foreach($deliveryarr as $rs) { ?> | |||
<input type="hidden" name="pid[]" value="<?php echo $rs['pid'];?>"> | |||
<input type="hidden" name="pid[]" value="<?php echo $rs['pid']; ?>"> | |||
<tr> | |||
<td width="23%" height="26" align="left" style="padding-left:5px;"> | |||
<input name="m_dname<?php echo $rs['pid'];?>" type="text" value="<?php echo $rs['dname'];?>"> | |||
<div style="padding:3px;BORDER-TOP: #CCC 1px solid;"><a class="btn btn-success btn-sm" href="shops_delivery.php?do=del&id=<?php echo $rs['pid'];?>" onClick="return(confirm('删除后无法恢复,您确定删除吗'))">删除</a></div> | |||
<input name="m_dname<?php echo $rs['pid']; ?>" type="text" value="<?php echo $rs['dname']; ?>"> | |||
<div style="padding:3px;BORDER-TOP: #CCC 1px solid;"><a class="btn btn-success btn-sm" href="shops_delivery.php?do=del&id=<?php echo $rs['pid']; ?>" onClick="return(confirm('删除后无法恢复,您确定删除吗'))">删除</a></div> | |||
</td> | |||
<td width="77%" align="left" valign="top" style="BORDER-BOTTOM: #CCC 1px solid;padding-left:5px;"> | |||
手续费: | |||
<input name="m_price<?php echo $rs['pid'];?>" type="text" id="m_price<?php echo $rs['pid'];?>" style="margin-left:6px;" value="<?php echo $rs['price'];?>" size="6" maxlength="6"> | |||
<input name="m_price<?php echo $rs['pid']; ?>" type="text" id="m_price<?php echo $rs['pid']; ?>" style="margin-left:6px;" value="<?php echo $rs['price']; ?>" size="6" maxlength="6"> | |||
元 | |||
<div style="padding:3px;BORDER-TOP: #CCC 1px solid;"><textarea name="m_des<?php echo $rs['pid'];?>" id="m_des<?php echo $rs['pid'];?>" style="margin-left:6px; width:320px;"><?php echo $rs['des'];?></textarea></div> | |||
<div style="padding:3px;BORDER-TOP: #CCC 1px solid;"><textarea name="m_des<?php echo $rs['pid']; ?>" id="m_des<?php echo $rs['pid']; ?>" style="margin-left:6px; width:320px;"><?php echo $rs['des']; ?></textarea></div> | |||
</td> | |||
</tr> | |||
<?php }?> | |||
@@ -74,7 +74,7 @@ | |||
<td>输入订单号:</td> | |||
<td> | |||
<input name="buyid" type="text" id="buyid"></td> | |||
<td width="100" align="center"> <button type="submit" class="btn btn-success btn-sm">搜索</button> | |||
<td width="90" align="center"> <button type="submit" class="btn btn-success btn-sm">搜索</button> | |||
</td> | |||
</tr> | |||
</table> | |||
@@ -121,7 +121,7 @@ | |||
<td align="center"> | |||
<input type='checkbox' name='aids' value='<?php echo $fields['oid']?>' class='np'></td> | |||
<td align="center"> | |||
<?php echo $fields['oid'];?> | |||
<?php echo $fields['oid']; ?> | |||
</td> | |||
<td align="center"> | |||
<a href="javascript:OpenMyWinN('shops_operations_userinfo.php?oid=<?php echo $fields['oid']?>',500,350);"><?php echo $fields['consignee']?></a> | |||
@@ -2,7 +2,7 @@ | |||
<html xmlns="http://www.w3.org/1999/xhtml"> | |||
<head> | |||
<meta http-equiv="Content-Type" content="text/html; charset=<?php echo $cfg_soft_lang; ?>"> | |||
<title><?php echo $oid;?></title> | |||
<title><?php echo $oid; ?></title> | |||
<link rel="stylesheet" href="../static/web/css/bootstrap.min.css"> | |||
<link rel="stylesheet" href="../static/web/font/css/font-awesome.min.css"> | |||
<link rel="stylesheet" href="../static/web/css/admin.css"> | |||
@@ -2,42 +2,42 @@ | |||
<html xmlns="http://www.w3.org/1999/xhtml"> | |||
<head> | |||
<meta http-equiv="Content-Type" content="text/html; charset=<?php echo $cfg_soft_lang; ?>"> | |||
<title><?php echo $rows['oid'];?></title> | |||
<title><?php echo $rows['oid']; ?></title> | |||
<link rel="stylesheet" href="../static/web/css/admin.css"> | |||
<body> | |||
<table width="430" border="0" align="center" cellpadding="1" cellspacing="1" bgcolor="#CCCCCC"> | |||
<tr> | |||
<td width="118" height="26" align="right" bgcolor="#F6F6F6">订单号:</td> | |||
<td width="292" height="26" align="left" bgcolor="#FFFFFF"> <?php echo $rows['oid'];?></td> | |||
<td width="292" height="26" align="left" bgcolor="#FFFFFF"> <?php echo $rows['oid']; ?></td> | |||
</tr> | |||
<tr> | |||
<td width="118" height="26" align="right" bgcolor="#F6F6F6">配送:</td> | |||
<td width="292" height="26" align="left" bgcolor="#FFFFFF"> 方式:<?php echo $rows['dname'];?> 费用:<?php echo $rows['dprice'];?>元</td> | |||
<td width="292" height="26" align="left" bgcolor="#FFFFFF"> 方式:<?php echo $rows['dname']; ?> 费用:<?php echo $rows['dprice']; ?>元</td> | |||
</tr> | |||
<tr> | |||
<td width="118" height="26" align="right" bgcolor="#F6F6F6">收货人:</td> | |||
<td width="292" height="26" align="left" bgcolor="#FFFFFF"> <?php echo $rows['consignee'];?></td> | |||
<td width="292" height="26" align="left" bgcolor="#FFFFFF"> <?php echo $rows['consignee']; ?></td> | |||
</tr> | |||
<tr> | |||
<td width="118" height="26" align="right" bgcolor="#F6F6F6">地址:</td> | |||
<td width="292" height="26" align="left" bgcolor="#FFFFFF"> <?php echo $rows['address'];?></td> | |||
<td width="292" height="26" align="left" bgcolor="#FFFFFF"> <?php echo $rows['address']; ?></td> | |||
</tr> | |||
<tr> | |||
<td width="118" height="26" align="right" bgcolor="#F6F6F6">邮编:</td> | |||
<td width="292" height="26" align="left" bgcolor="#FFFFFF"> <?php echo $rows['zip'];?></td> | |||
<td width="292" height="26" align="left" bgcolor="#FFFFFF"> <?php echo $rows['zip']; ?></td> | |||
</tr> | |||
<tr> | |||
<td width="118" height="26" align="right" bgcolor="#F6F6F6">电话:</td> | |||
<td width="292" height="26" align="left" bgcolor="#FFFFFF"> <?php echo $rows['tel'];?></td> | |||
<td width="292" height="26" align="left" bgcolor="#FFFFFF"> <?php echo $rows['tel']; ?></td> | |||
</tr> | |||
<tr> | |||
<td width="118" height="26" align="right" bgcolor="#F6F6F6">E-Mail:</td> | |||
<td width="292" height="26" align="left" bgcolor="#FFFFFF"> <?php echo $rows['email'];?></td> | |||
<td width="292" height="26" align="left" bgcolor="#FFFFFF"> <?php echo $rows['email']; ?></td> | |||
</tr> | |||
<tr> | |||
<td width="118" height="26" align="right" bgcolor="#F6F6F6">留言:</td> | |||
<td width="292" height="26" align="left" bgcolor="#FFFFFF"> <?php echo $rows['des'];?></td> | |||
<td width="292" height="26" align="left" bgcolor="#FFFFFF"> <?php echo $rows['des']; ?></td> | |||
</tr> | |||
</table> | |||
<input type="button" name="ss12" value="关闭窗口" style="width:90px;margin-left:160px;margin-top:16px" onClick="window.close();" class='inputbut'> | |||
@@ -6,9 +6,7 @@ | |||
<link rel="stylesheet" href="../static/web/css/bootstrap.min.css"> | |||
<link rel="stylesheet" href="../static/web/font/css/font-awesome.min.css"> | |||
<link rel="stylesheet" href="../static/web/css/admin.css"> | |||
<script> | |||
const cfg_uplitpic_cut = '<?php echo $cfg_uplitpic_cut;?>'; | |||
</script> | |||
<script>const cfg_uplitpic_cut = '<?php echo $cfg_uplitpic_cut; ?>';</script> | |||
<script language="javascript" src="../static/web/js/jquery.min.js"></script> | |||
<script src="../static/web/js/bootstrap.bundle.min.js"></script> | |||
<script language="javascript" src="../static/web/js/webajax.js"></script> | |||
@@ -17,7 +15,7 @@ | |||
<script type="text/javascript" src="../static/web/js/daterangepicker.js"></script> | |||
<link rel="stylesheet" href="../static/web/css/jquery.fileupload.css"> | |||
<script language="javascript" src="js/main.js"></script> | |||
<link href="../static/web/css/cropper.min.css" rel="stylesheet"> | |||
<link rel="stylesheet" href="../static/web/css/cropper.min.css"> | |||
<script src="../static/web/js/cropper.min.js"></script> | |||
<script language="javascript"> | |||
function checkSubmit() { | |||
@@ -37,7 +35,7 @@ | |||
var endNum = parseInt(document.form1.picnum.value) + startNum - 1; | |||
if (endNum > 30) endNum = 30; | |||
for (startNum; startNum <= endNum; startNum++) { | |||
upfield.innerHTML += "<div style='line-height:36px'>软件地址" + startNum + ":<input type='text' name='softurl" + startNum + "' style='width:280px' value='http://' /> 服务器名称:<input type='text' name='servermsg" + startNum + "' style='width:150px' /></div>\r\n"; | |||
upfield.innerHTML += "<div style='line-height:36px'>软件地址" + startNum + ":<input type='text' name='softurl" + startNum + "' value='http://' style='width:300px'> 服务器名称:<input type='text' name='servermsg" + startNum + "' style='width:160px'></div>"; | |||
} | |||
} | |||
function ShowHideAddr() { | |||
@@ -60,7 +58,7 @@ table{border-collapse:separate} | |||
<input type="hidden" name="cid" value="<?php echo $cid; ?>"> | |||
<table width="98%" border="0" align="center" cellpadding="0" cellspacing="0" class="mt-3"> | |||
<tr> | |||
<td width="60%" height="30"><img src="../static/web/img/book1.gif"> <a href="catalog_do.php?cid=<?php echo $cid?>&channelid=<?php echo $channelid?>&dopost=listArchives">软件列表</a> > 发布软件</td> | |||
<td width="60%" height="30"><img src="../static/web/img/book1.gif"><a href="catalog_do.php?cid=<?php echo $cid?>&channelid=<?php echo $channelid?>&dopost=listArchives">软件列表</a> > 发布软件</td> | |||
<td align="right"><a href="catalog_main.php" class="btn btn-success btn-sm">栏目管理</a><a href="soft_config.php" class="btn btn-success btn-sm">下载频道参数设定</a></td> | |||
</tr> | |||
</table> | |||
@@ -96,7 +94,7 @@ table{border-collapse:separate} | |||
<td width="90"> 软件名称:</td> | |||
<td width="400"><input name="title" type="text" id="title" style="width:380px"></td> | |||
<td width="90"> 简略标题:</td> | |||
<td><input name="shorttitle" type="text" id="shorttitle" style="width:150px"></td> | |||
<td><input name="shorttitle" type="text" id="shorttitle" style="width:160px"></td> | |||
</tr> | |||
</table> | |||
</td> | |||
@@ -105,7 +103,7 @@ table{border-collapse:separate} | |||
<td width="400%" height="26" class="bline"> | |||
<table width="800" border="0" cellspacing="0" cellpadding="0"> | |||
<tr> | |||
<td width="100"> 自定义属性:</td> | |||
<td width="90"> 自定义属性:</td> | |||
<td><?php | |||
$dsql->SetQuery("Select * From `#@__arcatt` order by sortid asc"); | |||
$dsql->Execute(); | |||
@@ -126,7 +124,7 @@ table{border-collapse:separate} | |||
<table width="800" border="0" cellspacing="0" cellpadding="0"> | |||
<tr> | |||
<td width="90"> 跳转网址:</td> | |||
<td><input name="redirecturl" type="text" id="redirecturl" style="width:300px" value=""></td> | |||
<td><input name="redirecturl" type="text" id="redirecturl" value="" style="width:300px"></td> | |||
</tr> | |||
</table> | |||
</td> | |||
@@ -136,9 +134,9 @@ table{border-collapse:separate} | |||
<table width="800" border="0" cellspacing="0" cellpadding="0"> | |||
<tr> | |||
<td width="90"> Tag标签:</td> | |||
<td><input name="tags" type="text" id="tags" value="" style="width:300px">(','号分开,单个标签小于12字节)</td> | |||
<td width="50">权重:</td> | |||
<td><input name="weight" type="text" id="weight" style="width:50px" value="<?php echo $maxWright['cc'];?>">(越小越靠前)</td> | |||
<td><input name="tags" type="text" id="tags" value="" onChange="$Obj('keywords').value=this.value;" style="width:300px">(','号分开,单个标签小于12字节)</td> | |||
<td width="60">权重:</td> | |||
<td><input name="weight" type="text" id="weight" value="<?php echo $maxWright['cc']; ?>" style="width:60px">(越小越靠前)</td> | |||
</tr> | |||
</table> | |||
</td> | |||
@@ -148,18 +146,12 @@ table{border-collapse:separate} | |||
<table width="800" border="0" cellspacing="0" cellpadding="0"> | |||
<tr> | |||
<td width="90"> 缩略图:</td> | |||
<td width="560"> | |||
<table width="100%" border="0" cellspacing="1" cellpadding="1"> | |||
<tr> | |||
<td height="30"> | |||
<input name="picname" type="text" id="picname" style="width:240px"> | |||
<label><input type='checkbox' class='np' name='ddisremote' value='1' id='ddisremote' /> 远程</label> | |||
<span class="btn btn-success btn-sm fileinput-button">上传图片<input type="file" name="files[]" id="iptAddImages"></span> | |||
<button type="button" name="Submit2" onClick="SelectImage('form1.picname','small');" class='btn btn-success btn-sm'>选择图片</button> | |||
<button id="btnClearAll" type="button" class="btn btn-success delete">清空</button> | |||
</td> | |||
</tr> | |||
</table> | |||
<td> | |||
<input name="picname" type="text" id="picname" style="width:300px"> | |||
<label><input type='checkbox' class='np' name='ddisremote' value='1' id='ddisremote' /> 远程</label> | |||
<span class="btn btn-success btn-sm fileinput-button">上传图片<input type="file" name="files[]" id="iptAddImages"></span> | |||
<button type="button" name="Submit2" onClick="SelectImage('form1.picname','small');" class='btn btn-success btn-sm'>选择图片</button> | |||
<button id="btnClearAll" type="button" class="btn btn-success btn-sm delete">清空</button> | |||
</td> | |||
<td width="150" align="center"><img id="litPic" src="../static/web/img/defaultpic.jpg" style="height:80px"></td> | |||
</tr> | |||
@@ -171,30 +163,35 @@ table{border-collapse:separate} | |||
<table width="800" border="0" cellspacing="0" cellpadding="0"> | |||
<tr> | |||
<td width="90"> 软件来源:</td> | |||
<td width="240"><input name="source" type="text" id="source" style="width:200px"></td> | |||
<td width="90">软件作者:</td> | |||
<td width="160"><input name="writer" type="text" id="writer" style="width:120px"></td> | |||
<td></td> | |||
<td width="250"> | |||
<input name="source" type="text" id="source" style="width:160px"> | |||
<button name="selsource" type="button" id="selsource" class="btn btn-success btn-sm">选择</button> | |||
</td> | |||
<td width="60">作者:</td> | |||
<td> | |||
<input name="writer" type="text" id="writer" style="width:160px"> | |||
<button name="selwriter" type="button" id="selwriter" class="btn btn-success btn-sm">选择</button> | |||
</td> | |||
</tr> | |||
</table> | |||
</td> | |||
</tr> | |||
<tr> | |||
<td height="26" class="bline"> | |||
<table width="800" border="0" cellspacing="0" cellpadding="0"> | |||
<table width="600" border="0" cellspacing="0" cellpadding="0"> | |||
<tr> | |||
<td width="90"> 软件主栏目:</td> | |||
<td> | |||
<span id='typeidct'> | |||
<?php | |||
$typeOptions = GetOptionList($cid,$cuserLogin->getUserChannel(),$channelid); | |||
echo "<select name='typeid' id='typeid' style='width:240px'>\r\n"; | |||
echo "<option value='0'>请选择栏目</option>\r\n"; | |||
echo "<select name='typeid' id='typeid' style='width:160px'>"; | |||
echo "<option value='0'>请选择栏目</option>"; | |||
echo $typeOptions; | |||
echo "</select>"; | |||
?> | |||
</span> | |||
<img src='../static/web/img/menusearch.gif' style='cursor:pointer' onClick="ShowCatMap(event, this, <?php echo $channelid; ?>, 'typeid')" alt='快捷选择' title='快捷选择' /> | |||
<img src='../static/web/img/menusearch.gif' style='cursor:pointer' onClick="ShowCatMap(event, this, <?php echo $channelid; ?>, 'typeid')" title='快捷选择'> | |||
<?php | |||
if($cfg_need_typeid2=='Y') | |||
{ | |||
@@ -202,6 +199,8 @@ table{border-collapse:separate} | |||
} | |||
?> | |||
</td> | |||
<td width="90" align="center">消费金币:</td> | |||
<td><input name="needmoney" type="text" id="needmoney" value="<?php echo $softconfig['dfywboy']; ?>" style="width:120px"></td> | |||
</tr> | |||
</table> | |||
</td> | |||
@@ -210,23 +209,49 @@ table{border-collapse:separate} | |||
<td height="26" colspan="4" class="bline"> | |||
<table width="800" border="0" cellspacing="0" cellpadding="0"> | |||
<tr> | |||
<td width="90"> 软件副栏目:</td> | |||
<td width="90"> 副栏目:</td> | |||
<td> | |||
<span id='typeid2ct'></span> | |||
<input type='text' name='typeid2' id='typeid2' value='' style='width:200px;' /> | |||
<img src='../static/web/img/menusearch2.gif' style='cursor:pointer' onClick="ShowCatMap(event, this, <?php echo $channelid; ?>, 'typeid2')" alt='选择副栏目' title='选择副栏目' /> | |||
<img src='../static/web/img/menusearch2.gif' onClick="ShowCatMap(event, this, <?php echo $channelid; ?>, 'typeid2')" title='选择副栏目' style='cursor:pointer'> | |||
</td> | |||
</tr> | |||
</table> | |||
</td> | |||
</tr> | |||
<tr> | |||
<td width="400%" height="26" class="bline"> | |||
<td height="26" colspan="4" class="bline"> | |||
<table width="800" border="0" cellspacing="0" cellpadding="0"> | |||
<tr> | |||
<td width="90"> 关键词:</td> | |||
<td> | |||
<input type='text' name="keywords" id="keywords" value="" style="width:360px"> | |||
<button type="button" name="Submit" class='btn btn-success btn-sm' onClick="SelectKeywords('form1.keywords');">浏览</button> | |||
</td> | |||
<td> | |||
<label><input name="autokey" type="checkbox" onClick="ShowHide('keywords');" ; class="np" id="autokey" value="1" <?php if($cfg_arc_autokeyword=='Y') echo ' checked'; ?>> 自动获取,手动填写用","分开</label> | |||
</td> | |||
</tr> | |||
</table> | |||
</td> | |||
</tr> | |||
<tr> | |||
<td height="26" colspan="4" class="bline"> | |||
<table width="800" border="0" cellspacing="0" cellpadding="0"> | |||
<tr> | |||
<td width="90"> 内容摘要:</td> | |||
<td><textarea name="description" id="description" style="width:360px;height:50px"></textarea></td> | |||
</tr> | |||
</table> | |||
</td> | |||
</tr> | |||
<tr> | |||
<td height="26" class="bline"> | |||
<table width="1100" border="0" cellspacing="0" cellpadding="0"> | |||
<tr> | |||
<td width="90"> 文件类型:</td> | |||
<td width="240"> | |||
<select name="filetype" id="filetype" style="width:100"> | |||
<td> | |||
<select name="filetype" id="filetype" style="width:120px"> | |||
<option value=".exe" selected>.exe</option> | |||
<option value=".zip">.zip</option> | |||
<option value=".rar">.rar</option> | |||
@@ -236,7 +261,7 @@ table{border-collapse:separate} | |||
</select> | |||
</td> | |||
<td width="90">软件等级:</td> | |||
<td><select name="softrank" id="softrank" style="width:100px"> | |||
<td><select name="softrank" id="softrank" style="width:120px"> | |||
<option value="1">一星</option> | |||
<option value="2">二星</option> | |||
<option value="3" selected>三星 </option> | |||
@@ -244,32 +269,26 @@ table{border-collapse:separate} | |||
<option value="5">五星</option> | |||
</select> | |||
</td> | |||
</tr> | |||
</table> | |||
</td> | |||
</tr> | |||
<tr> | |||
<td height="26" class="bline"> | |||
<table width="800" border="0" cellspacing="0" cellpadding="0"> | |||
<tr> | |||
<td width="90"> 软件类型:</td> | |||
<td width="120"> | |||
<select name="softtype" id="softtype" style="width:100px"> | |||
<td width="90"> 软件属性:</td> | |||
<td> | |||
<select name="softtype" id="softtype" style="width:120px"> | |||
<option value="国产软件" selected>国产软件</option> | |||
<option value="国外软件">国外软件</option> | |||
<option value="汉化补丁">汉化补丁</option> | |||
</select> | |||
</td> | |||
<td width="72">界面语言:</td> | |||
<td width="131"><select name="language" id="language" style="width:100"> | |||
<td width="90">界面语言:</td> | |||
<td> | |||
<select name="language" id="language" style="width:120px"> | |||
<option value="简体中文" selected>简体中文</option> | |||
<option value="英文软件">英文软件</option> | |||
<option value="繁体中文">繁体中文</option> | |||
<option value="其它类型">其它类型</option> | |||
</select></td> | |||
<td width="69">授权方式:</td> | |||
<td width="318"> | |||
<select name="accredit" id="accredit" style="width:100px"> | |||
</select> | |||
</td> | |||
<td width="90">授权方式:</td> | |||
<td> | |||
<select name="accredit" id="accredit" style="width:120px"> | |||
<option value="共享软件" selected>共享软件</option> | |||
<option value="免费软件">免费软件</option> | |||
<option value="开源软件">开源软件</option> | |||
@@ -287,7 +306,7 @@ table{border-collapse:separate} | |||
<table width="800" border="0" cellspacing="0" cellpadding="0"> | |||
<tr> | |||
<td width="90"> 运行环境:</td> | |||
<td><input type='text' name='os' value='Win2003,WinXP,Win2000,Win9X' style='width:300px' /></td> | |||
<td><input type='text' name='os' value='Win2003,WinXP,Win2000,Win9X' style='width:300px'></td> | |||
</tr> | |||
</table> | |||
</td> | |||
@@ -297,9 +316,9 @@ table{border-collapse:separate} | |||
<table width="800" border="0" cellspacing="0" cellpadding="0"> | |||
<tr> | |||
<td width="90"> 官方网址:</td> | |||
<td width="240"><input name="officialUrl" type="text" id="officialUrl" value="http://" style="width:200px"></td> | |||
<td width="310"><input name="officialUrl" type="text" id="officialUrl" value="http://" style="width:300px"></td> | |||
<td width="90">演示地址:</td> | |||
<td><input name="officialDemo" type="text" id="officialDemo" value="http://" style="width:200px"></td> | |||
<td><input name="officialDemo" type="text" id="officialDemo" value="http://" style="width:300px"></td> | |||
</tr> | |||
</table> | |||
</td> | |||
@@ -310,7 +329,7 @@ table{border-collapse:separate} | |||
<tr> | |||
<td width="90"> 软件大小:</td> | |||
<td> | |||
<input name="softsize" type="text" id="softsize" style="width:100px"> | |||
<input name="softsize" type="text" id="softsize" style="width:60px"> | |||
<select name="unit" id="unit"> | |||
<option value="MB" selected>MB</option> | |||
<option value="KB">KB</option> | |||
@@ -318,58 +337,40 @@ table{border-collapse:separate} | |||
</select> | |||
<label><input name="autosize" type="checkbox" class="np" id="autosize" value="1" checked>自动获得(必须包含一个本地软件)</label> | |||
</td> | |||
</tr> | |||
</table> | |||
</td> | |||
</tr> | |||
<tr> | |||
<td><?php PrintAutoFieldsAdd(stripslashes($cInfos['fieldset']),'autofield'); ?></td> | |||
</tr> | |||
<tr> | |||
<td height="26" bgcolor="#f6f6f6"" class="bline2"> 下载限制:</td> | |||
</tr> | |||
<tr> | |||
<td height="26" class="bline"> | |||
<table width="800" border="0" cellpadding="0" cellspacing="0"> | |||
<tr> | |||
<td width="100" height="30"> 需会员权限:</td> | |||
<td width="180" align="left"> | |||
<select name="daccess" id="daccess" style="width:90px"> | |||
<td width="90">需会员权限:</td> | |||
<td align="left"> | |||
<select name="daccess" id="daccess" style="width:160px"> | |||
<?php | |||
$dsql->SetQuery("Select * from `#@__arcrank` where `rank`>=0 "); | |||
$dsql->Execute(); | |||
while($row = $dsql->GetArray()) | |||
{ | |||
if($row['rank']==0) $row['membername'] = "不限会员"; | |||
if($row['rank'] == $softconfig['dfrank']) echo "<option value='{$row['rank']}' selected>{$row['membername']}</option>\r\n"; | |||
else echo "<option value='{$row['rank']}'>{$row['membername']}</option>\r\n"; | |||
if($row['rank']==0) $row['membername'] = "不限会员"; | |||
if($row['rank'] == $softconfig['dfrank']) echo "<option value='{$row['rank']}' selected>{$row['membername']}</option>"; | |||
else echo "<option value='{$row['rank']}'>{$row['membername']}</option>"; | |||
} | |||
?> | |||
</select> | |||
<a href="soft_config.php" class="btn btn-success btn-sm">软件频道设置</a> | |||
</td> | |||
<td width="120" align="center">需消费金币:</td> | |||
<td width="410"><input name="needmoney" type="text" id="needmoney" value="<?php echo $softconfig['dfywboy']; ?>" size="8"> 个</td> | |||
</tr> | |||
<tr> | |||
<td height="26" colspan="4" style="border-top:1px dashed #8EAF61" class="py-3"><span class="style1">(如果设定了下载限制,<a href="soft_config.php" class="btn btn-success btn-sm">软件频道设置</a> 中“附件下载方式:”必须选择“链接到跳转页面”)</span></td> | |||
</tr> | |||
</table> | |||
</td> | |||
</tr> | |||
<tr> | |||
<td height="26" bgcolor="#f6f6f6" class="bline2"> 本地软件选择:</td> | |||
<td><?php PrintAutoFieldsAdd(stripslashes($cInfos['fieldset']),'autofield'); ?></td> | |||
</tr> | |||
<tr> | |||
<td height="26" class="bline"> | |||
<table width="800" border="0" cellspacing="0" cellpadding="0"> | |||
<tr> | |||
<td width="90" height="30"> 本地地址:</td> | |||
<td width="90"> 本地地址:</td> | |||
<td> | |||
<input name="softurl1" type="text" id="softurl1" size="35"> | |||
<input name="softurl1" type="text" id="softurl1" style="width:300px"> | |||
<button class='btn btn-success btn-sm' name="sel1" type="button" id="sel1" onClick="SelectSoft('form1.softurl1')">选取</button> | |||
服务器名称: | |||
<input name="servermsg1" type="text" id="servermsg1" value="本地下载" style="width:150px"> | |||
</td> | |||
<td width="90">服务器名称:</td> | |||
<td><input name="servermsg1" type="text" id="servermsg1" value="本地下载" style="width:160px"></td> | |||
</tr> | |||
</table> | |||
</td> | |||
@@ -382,29 +383,29 @@ table{border-collapse:separate} | |||
<td height="26" bgcolor="#f6f6f6" class="bline2"> 预设的镜像服务器:</td> | |||
</tr> | |||
<tr class="bline"> | |||
<td style="padding-left:10px">(服务器地址 + 软件地址 = 软件真实地址)</a><br> | |||
<?php | |||
$sites = explode("\n", $softconfig['sites']); | |||
$startNum = 2; | |||
foreach($sites as $site) | |||
{ | |||
$site = trim($site); | |||
if(empty($site)) continue; | |||
list($siteurl, $sitename) = explode('|', $site); | |||
$siteurl = trim($siteurl); | |||
$sitename = trim($sitename); | |||
?> | |||
<td>(服务器地址 + 软件地址 = 软件真实地址)</a><br> | |||
<?php | |||
$sites = explode("\n", $softconfig['sites']); | |||
$startNum = 2; | |||
foreach($sites as $site) | |||
{ | |||
$site = trim($site); | |||
if(empty($site)) continue; | |||
list($siteurl, $sitename) = explode('|', $site); | |||
$siteurl = trim($siteurl); | |||
$sitename = trim($sitename); | |||
?> | |||
<?php echo $sitename; ?>: | |||
<input type='hidden' name='forconfig<?php echo $startNum; ?>' value='1' /> | |||
<input type='text' name='softurlfirst<?php echo $startNum; ?>' style='width:200px' value='<?php echo $siteurl; ?>' /> + | |||
<input type='text' name='softurl<?php echo $startNum; ?>' style='width:120px' value='' /> | |||
<input type='text' name='servermsg<?php echo $startNum; ?>' style='width:150px' value='<?php echo $sitename; ?>' /> | |||
<label><input type='checkbox' name='need<?php echo $startNum; ?>' class='np' value='1' checked /> 启用 </label> | |||
<input type='hidden' name='forconfig<?php echo $startNum; ?>' value='1'> | |||
<input type='text' name='softurlfirst<?php echo $startNum; ?>' style='width:300px' value='<?php echo $siteurl; ?>'> + | |||
<input type='text' name='softurl<?php echo $startNum; ?>' style='width:160px' value=''> = | |||
<input type='text' name='servermsg<?php echo $startNum; ?>' style='width:160px' value='<?php echo $sitename; ?>'> | |||
<label><input type='checkbox' name='need<?php echo $startNum; ?>' class='np' value='1' checked> 启用</label> | |||
<br> | |||
<?php | |||
$startNum++; | |||
} | |||
echo "<script language='javascript'>startNum = $startNum;</script>\r\n"; | |||
echo "<script language='javascript'>startNum = $startNum;</script>"; | |||
?> | |||
</td> | |||
</tr> | |||
@@ -420,15 +421,14 @@ table{border-collapse:separate} | |||
<tr> | |||
<td width="90"> 其它地址:</td> | |||
<td> | |||
<input name="picnum" type="text" id="picnum" size="8" value="5"> | |||
<button name='kkkup' class='btn btn-success btn-sm' type='button' id='kkkup2' onClick="MakeUpload();">增加地址</button> | |||
| |||
<input type="text" name="picnum" id="picnum" value="5" style="width:60px"> | |||
<button type="button" name="kkkup" class="btn btn-success btn-sm" id="kkkup2" onClick="MakeUpload();">增加地址</button> | |||
<button type="button" class='btn btn-success btn-sm' name="Submit3" id="btsh3" onClick="ShowHideAddr();">隐藏地址</button>(最多为30个链接) | |||
</td> | |||
</tr> | |||
</table> | |||
<div id="morelink" style="display:block"> | |||
<div id='uploadfield' style="width:790px"></div> | |||
<div id="uploadfield" style="width:800px"></div> | |||
</div> | |||
</td> | |||
</tr> | |||
@@ -464,14 +464,19 @@ table{border-collapse:separate} | |||
<td height="26" colspan="4" class="bline"> | |||
<table width="800" border="0" cellspacing="0" cellpadding="0"> | |||
<tr> | |||
<td width="90" height="26" width="240"> 评论选项:</td> | |||
<td width="240"> | |||
<td width="90" height="26" width="250"> 评论选项:</td> | |||
<td width="250"> | |||
<label><input type='radio' name='notpost' class='np' value='0' <?php if($cfg_feedback_forbid=='N') echo "checked='1' "; ?> /> 允许评论</label> | |||
| |||
<label><input type='radio' name='notpost' class='np' value='1' <?php if($cfg_feedback_forbid=='Y') echo "checked='1' "; ?> /> 禁止评论</label> | |||
</td> | |||
<td width="90">浏览次数:</td> | |||
<td><input type='text' name='click' value='<?php echo ($cfg_arc_click=='-1' ? mt_rand(50, 200) : $cfg_arc_click); ?>' style='width:100px;' /></td> | |||
<td width="90">发布选项:</td> | |||
<td> | |||
<label><input name="ishtml" type="radio" class="np" value="1" checked> | |||
生成HTML</label> | |||
<label><input type="radio" name="ishtml" class="np" value="0"> | |||
仅动态浏览</label> | |||
</td> | |||
</tr> | |||
</table> | |||
</td> | |||
@@ -481,8 +486,8 @@ table{border-collapse:separate} | |||
<table width="800" border="0" cellspacing="0" cellpadding="0"> | |||
<tr> | |||
<td width="90" height="26"> 文章排序:</td> | |||
<td width="240"> | |||
<select name="sortup" id="sortup" style="width:150"> | |||
<td width="250"> | |||
<select name="sortup" id="sortup" style="width:160px"> | |||
<option value="0" selected>默认排序</option> | |||
<option value="7">置顶一周</option> | |||
<option value="30">置顶一个月</option> | |||
@@ -494,7 +499,7 @@ table{border-collapse:separate} | |||
<td width="90">标题颜色:</td> | |||
<td> | |||
<input name="color" type="text" id="color" style="width:120px"> | |||
<button name="modcolor" type="button" id="modcolor" class='btn btn-success btn-sm' onClick="ShowColor(event,this)">选取</button> | |||
<button name="modcolor" type="button" id="modcolor" class="btn btn-success btn-sm" onClick="ShowColor(event,this)">选取</button> | |||
</td> | |||
</tr> | |||
</table> | |||
@@ -505,19 +510,14 @@ table{border-collapse:separate} | |||
<table width="800" border="0" cellspacing="0" cellpadding="0"> | |||
<tr> | |||
<td width="90"> 阅读权限:</td> | |||
<td width="240"> | |||
<select name="arcrank" id="arcrank" style="width:150px"> | |||
<td width="250"> | |||
<select name="arcrank" id="arcrank" style="width:160px"> | |||
<option value='0'>已审核状态</option> | |||
<option value='-1'>未审核状态</option> | |||
</select> | |||
</td> | |||
<td width="90">发布选项:</td> | |||
<td> | |||
<label><input name="ishtml" type="radio" class="np" value="1" checked> | |||
生成HTML</label> | |||
<label><input type="radio" name="ishtml" class="np" value="0"> | |||
仅动态浏览</label> | |||
</td> | |||
<td width="90">文件名称:</td> | |||
<td><input type="text" name="filename" id="filename" style="width:120px">(不包括后缀名如.html等)</td> | |||
</tr> | |||
</table> | |||
</td> | |||
@@ -527,52 +527,14 @@ table{border-collapse:separate} | |||
<table width="800" border="0" cellspacing="0" cellpadding="0"> | |||
<tr> | |||
<td width="90"> 发布时间:</td> | |||
<td width="240"> | |||
<td width="250"> | |||
<?php | |||
$nowtime = GetDateTimeMk(time()); | |||
echo "<input name=\"pubdate\" value=\"$nowtime\" type=\"text\" id=\"pubdate\" class='datepicker' style=\"width:200;\" >"; | |||
echo "<input type='text' name='pubdate' value='$nowtime' id='pubdate' class='datepicker' style='width:160px'>"; | |||
?> | |||
</td> | |||
<td width="90">消费金币:</td> | |||
<td width="380"><input name="money" type="hidden" id="money" value="0">(此项已经独立分离)</td> | |||
</tr> | |||
</table> | |||
</td> | |||
</tr> | |||
<tr> | |||
<td height="26" colspan="4" class="bline"> | |||
<table width="800" border="0" cellspacing="0" cellpadding="0"> | |||
<tr> | |||
<td width="90"> 关键词:</td> | |||
<td> | |||
<input type='text' name="keywords" id="keywords" style="width:290px" value=""> | |||
<button type="button" name="Submit" class='btn btn-success btn-sm' onClick="SelectKeywords('form1.keywords');">浏览</button> | |||
</td> | |||
<td colspan="260"> | |||
<label><input name="autokey" type="checkbox" onClick="ShowHide('keywords');" ; class="np" id="autokey" value="1" <?php if($cfg_arc_autokeyword=='Y') echo ' checked'; ?>> 自动获取,手动填写用","分开</label> | |||
</td> | |||
</tr> | |||
</table> | |||
</td> | |||
</tr> | |||
<tr> | |||
<td height="26" colspan="4" class="bline"> | |||
<table width="800" border="0" cellspacing="0" cellpadding="0"> | |||
<tr> | |||
<td width="120"> 内容摘要:</td> | |||
<td width="450"><textarea name="description" rows="3" id="description" style="width:80%"></textarea></td> | |||
<td width="260"></td> | |||
</tr> | |||
</table> | |||
</td> | |||
</tr> | |||
<tr> | |||
<td height="26" colspan="4"> | |||
<table width="800" border="0" cellspacing="0" cellpadding="0"> | |||
<tr> | |||
<td width="120"> 自定义文件名:</td> | |||
<td width="450"><input type="text" name="filename" id="filename">(不包括后缀名如.html等)</td> | |||
<td width="260"></td> | |||
<td width="90">浏览次数:</td> | |||
<td><input type="text" name="click" value="<?php echo ($cfg_arc_click=='-1' ? mt_rand(50,200):$cfg_arc_click); ?>" style="width:120px"></td> | |||
</tr> | |||
</table> | |||
</td> | |||
@@ -36,10 +36,10 @@ | |||
<td bgcolor="#FFFFFF" width="200">链接显示方式:</td> | |||
<td bgcolor="#FFFFFF"> | |||
<label><input type="radio" name="downtype" class="np" value="0" | |||
<?php if($row['downtype']==0) echo " checked='checked' ";?>> | |||
<?php if($row['downtype']==0) echo " checked='checked' "; ?>> | |||
直接显示地址列表</label> | |||
<label><input name="downtype" type="radio" value="1" class="np" | |||
<?php if($row['downtype']==1) echo " checked='checked' ";?>> | |||
<?php if($row['downtype']==1) echo " checked='checked' "; ?>> | |||
要求进入下载地址列表页</label> | |||
</td> | |||
</tr> | |||
@@ -47,10 +47,10 @@ | |||
<td bgcolor="#FFFFFF">附件下载方式:</td> | |||
<td bgcolor="#FFFFFF"> | |||
<label><input type="radio" name="gotojump" class="np" value="0" | |||
<?php if($row['gotojump']==0) echo " checked='checked' ";?>> | |||
<?php if($row['gotojump']==0) echo " checked='checked' "; ?>> | |||
链接到真实软件地址</label> | |||
<label><input name="gotojump" type="radio" class="np" value="1" | |||
<?php if($row['gotojump']==1) echo " checked='checked' ";?>> | |||
<?php if($row['gotojump']==1) echo " checked='checked' "; ?>> | |||
链接到跳转页面</label> | |||
</td> | |||
</tr> | |||
@@ -58,30 +58,30 @@ | |||
<td bgcolor="#FFFFFF">是否启用镜像站点:</td> | |||
<td bgcolor="#FFFFFF"> | |||
<label><input type="radio" name="ismoresite" class="np" value="1" | |||
<?php if($row['ismoresite']==1) echo " checked='checked' ";?>> | |||
<?php if($row['ismoresite']==1) echo " checked='checked' "; ?>> | |||
启用</label> | |||
<label><input name="ismoresite" type="radio" class="np" value="0" | |||
<?php if($row['ismoresite']==0) echo " checked='checked' ";?>> | |||
<?php if($row['ismoresite']==0) echo " checked='checked' "; ?>> | |||
不启用</label></td> | |||
</tr> | |||
<tr> | |||
<td bgcolor="#FFFFFF">启用镜像站点后是否保留本地下载:</td> | |||
<td bgcolor="#FFFFFF"> | |||
<label><input type="radio" name="islocal" class="np" value="1" | |||
<?php if($row['islocal']==1) echo " checked='checked' ";?>> | |||
<?php if($row['islocal']==1) echo " checked='checked' "; ?>> | |||
保留</label> | |||
<label><input name="islocal" type="radio" class="np" value="0" | |||
<?php if($row['islocal']==0) echo " checked='checked' ";?>> | |||
<?php if($row['islocal']==0) echo " checked='checked' "; ?>> | |||
不保留</label></td> | |||
</tr> | |||
<tr> | |||
<td bgcolor="#FFFFFF">镜像处理方式:</td> | |||
<td bgcolor="#FFFFFF"> | |||
<label><input type="radio" name="moresitedo" class="np" value="1" | |||
<?php if($row['moresitedo']==1) echo " checked='checked' ";?>> | |||
<?php if($row['moresitedo']==1) echo " checked='checked' "; ?>> | |||
根据本地地址和服务器列表自动生成</label> | |||
<label><input name="moresitedo" type="radio" class="np" value="0" | |||
<?php if($row['moresitedo']==0) echo " checked='checked' ";?>> | |||
<?php if($row['moresitedo']==0) echo " checked='checked' "; ?>> | |||
发布时按服务器生成列表由我手工填写</label> | |||
</td> | |||
</tr> | |||
@@ -117,9 +117,9 @@ | |||
<td bgcolor="#FFFFFF">参数限制方式:</td> | |||
<td bgcolor="#FFFFFF"> | |||
<label><input type="radio" name="argrange" class="np" value="0" | |||
<?php if($row['argrange']==0) echo " checked='checked' ";?>> 允许发布时重新选择权限</label> | |||
<?php if($row['argrange']==0) echo " checked='checked' "; ?>> 允许发布时重新选择权限</label> | |||
<label><input type="radio" name="argrange" class="np" value="2" | |||
<?php if($row['argrange']==1) echo " checked='checked' ";?>> 所有软件均使用此权限</label> | |||
<?php if($row['argrange']==1) echo " checked='checked' "; ?>> 所有软件均使用此权限</label> | |||
</td> | |||
</tr> | |||
<tr> | |||
@@ -6,9 +6,7 @@ | |||
<link rel="stylesheet" href="../static/web/css/bootstrap.min.css"> | |||
<link rel="stylesheet" href="../static/web/font/css/font-awesome.min.css"> | |||
<link rel="stylesheet" href="../static/web/css/admin.css"> | |||
<script> | |||
const cfg_uplitpic_cut = '<?php echo $cfg_uplitpic_cut;?>'; | |||
</script> | |||
<script>const cfg_uplitpic_cut = '<?php echo $cfg_uplitpic_cut; ?>';</script> | |||
<script language="javascript" src="../static/web/js/jquery.min.js"></script> | |||
<script src="../static/web/js/bootstrap.bundle.min.js"></script> | |||
<script language="javascript" src="../static/web/js/webajax.js"></script> | |||
@@ -17,7 +15,7 @@ | |||
<script type="text/javascript" src="../static/web/js/moment.min.js"></script> | |||
<script type="text/javascript" src="../static/web/js/daterangepicker.js"></script> | |||
<script language="javascript" src="js/main.js"></script> | |||
<link href="../static/web/css/cropper.min.css" rel="stylesheet"> | |||
<link rel="stylesheet" href="../static/web/css/cropper.min.css"> | |||
<script src="../static/web/js/cropper.min.js"></script> | |||
<script language="javascript"> | |||
function checkSubmit() { | |||
@@ -33,7 +31,7 @@ | |||
var endNum = parseInt(document.form1.picnum.value) + startNum; | |||
if (endNum > 30) endNum = 30; | |||
for (startNum; startNum < endNum; startNum++) { | |||
upfield.innerHTML += "<div style='line-height:36px'>软件地址" + startNum + ":<input type='text' name='softurl" + startNum + "' style='width:280px' value='http://' /> 服务器名称:<input type='text' name='servermsg" + startNum + "' style='width:150px' /></div>\r\n"; | |||
upfield.innerHTML += "<div style='line-height:36px'>软件地址" + startNum + ":<input type='text' name='softurl" + startNum + "' value='http://' style='width:300px'> 服务器名称:<input type='text' name='servermsg" + startNum + "' style='width:160px'></div>"; | |||
} | |||
} | |||
function ShowHideAddr() { | |||
@@ -54,7 +52,7 @@ table{border-collapse:separate} | |||
<input type="hidden" name="id" value="<?php echo $aid?>"> | |||
<table width="98%" border="0" align="center" cellpadding="0" cellspacing="0" class="mt-3"> | |||
<tr> | |||
<td width="85%" height="30"><img src="../static/web/img/book1.gif"> <a href="catalog_do.php?cid=<?php echo $arcRow['typeid']?>&dopost=listArchives"></a><a href="catalog_do.php?cid=<?php echo $arcRow["typeid"]?>&dopost=listArchives">软件列表</a> > 修改软件</td> | |||
<td width="85%" height="30"><img src="../static/web/img/book1.gif"><a href="catalog_do.php?cid=<?php echo $arcRow['typeid']?>&dopost=listArchives"></a><a href="catalog_do.php?cid=<?php echo $arcRow['typeid']?>&dopost=listArchives">软件列表</a> > 修改软件</td> | |||
<td align="right"> <a href="catalog_main.php" class="btn btn-success btn-sm">栏目管理</a></td> | |||
</tr> | |||
</table> | |||
@@ -88,9 +86,9 @@ table{border-collapse:separate} | |||
<table width="800" border="0" cellspacing="0" cellpadding="0"> | |||
<tr> | |||
<td width="90"> 文章标题:</td> | |||
<td width="400"><input name="title" type="text" id="title" value="<?php echo $arcRow['title']; ?>" style="width:380px"> </td> | |||
<td width="400"><input name="title" type="text" id="title" value="<?php echo $arcRow['title']; ?>" style="width:380px"></td> | |||
<td width="90"> 简略标题:</td> | |||
<td><input name="shorttitle" type="text" id="shorttitle" style="width:150px" value="<?php echo $arcRow['shorttitle']; ?>"> </td> | |||
<td><input name="shorttitle" type="text" id="shorttitle" value="<?php echo $arcRow['shorttitle']; ?>" style="width:160px"></td> | |||
</tr> | |||
</table> | |||
</td> | |||
@@ -99,7 +97,7 @@ table{border-collapse:separate} | |||
<td width="400%" height="26" colspan="4" class="bline"> | |||
<table width="800" border="0" cellspacing="0" cellpadding="0"> | |||
<tr> | |||
<td width="100"> 自定义属性:</td> | |||
<td width="90"> 自定义属性:</td> | |||
<td> | |||
<?php | |||
$dsql->SetQuery("Select * From `#@__arcatt` order by sortid asc"); | |||
@@ -120,11 +118,11 @@ table{border-collapse:separate} | |||
</td> | |||
</tr> | |||
<tr> | |||
<td height="26" colspan="4" class="bline" id="redirecturltr" style="display:<?php echo (empty($addRow['redirecturl']) ? 'none' : 'block');?>"> | |||
<td height="26" colspan="4" class="bline" id="redirecturltr" style="display:<?php echo (empty($addRow['redirecturl']) ? 'none' : 'block'); ?>"> | |||
<table width="800" border="0" cellspacing="0" cellpadding="0"> | |||
<tr> | |||
<td width="90"> 跳转网址:</td> | |||
<td><input name="redirecturl" type="text" id="redirecturl" style="width:300px" value="<?php echo $addRow['redirecturl']?>"></td> | |||
<td><input name="redirecturl" type="text" id="redirecturl" value="<?php echo $addRow['redirecturl']?>" style="width:300px"></td> | |||
</tr> | |||
</table> | |||
</td> | |||
@@ -135,8 +133,8 @@ table{border-collapse:separate} | |||
<tr> | |||
<td width="90"> Tag标签:</td> | |||
<td><input name="tags" type="text" id="tags" value="<?php echo $tags; ?>" style="width:300px">(','号分开,单个标签小于12字节)</td> | |||
<td width="50">权重:</td> | |||
<td><input name="weight" type="text" id="weight" style="width:50px" value="<?php echo $arcRow['weight'];?>">(越小越靠前)</td> | |||
<td width="60">权重:</td> | |||
<td><input name="weight" type="text" id="weight" value="<?php echo $arcRow['weight']; ?>" style="width:60px">(越小越靠前)</td> | |||
</tr> | |||
</table> | |||
</td> | |||
@@ -165,29 +163,36 @@ table{border-collapse:separate} | |||
<table width="800" border="0" cellspacing="0" cellpadding="0"> | |||
<tr> | |||
<td width="90"> 软件来源:</td> | |||
<td width="240"> <input name="source" type="text" id="source" style="width:200px" value="<?php echo $arcRow['source']?>"></td> | |||
<td width="90">软件作者:</td> | |||
<td width="160"><input name="writer" type="text" id="writer" style="width:120px" value="<?php echo $arcRow['writer']?>"></td> | |||
<td></td> | |||
<td width="250"> | |||
<input name="source" type="text" id="source"value="<?php echo $arcRow['source']?>" style="width:160px"> | |||
<button name="selsource" type="button" id="selsource" class="btn btn-success btn-sm">选择</button> | |||
</td> | |||
<td width="60">作者:</td> | |||
<td> | |||
<input name="writer" type="text" id="writer" value="<?php echo $arcRow['writer']?>" style="width:160px"> | |||
<button name="selwriter" type="button" id="selwriter" class="btn btn-success btn-sm">选择</button> | |||
</td> | |||
</tr> | |||
</table> | |||
</td> | |||
</tr> | |||
<tr> | |||
<td height="26" colspan="4" class="bline"> | |||
<table width="800" border="0" cellspacing="0" cellpadding="0"> | |||
<table width="570" border="0" cellspacing="0" cellpadding="0"> | |||
<tr> | |||
<td width="100"> 文章主栏目:</td> | |||
<td width="90"> 软件主栏目:</td> | |||
<td> | |||
<?php | |||
$typeOptions = GetOptionList($arcRow["typeid"],$cuserLogin->getUserChannel(),$channelid); | |||
echo "<select name='typeid' id='typeid' style='width:240px'>\r\n"; | |||
if($arcRow["typeid"]=="0") echo "<option value='0' selected>请选择主分类</option>\r\n"; | |||
echo "<select name='typeid' id='typeid' style='width:160px'>"; | |||
if($arcRow["typeid"]=="0") echo "<option value='0' selected>请选择主分类</option>"; | |||
echo $typeOptions; | |||
echo "</select>"; | |||
?> | |||
<img src='../static/web/img/menusearch.gif' style='cursor:pointer' onClick="ShowCatMap(event, this, <?php echo $channelid; ?>, 'typeid', '<?php echo $arcRow['typeid']; ?>')" alt='快捷选择' title='快捷选择' /> | |||
<img src='../static/web/img/menusearch.gif' onClick="ShowCatMap(event,this,<?php echo $channelid; ?>,'typeid','<?php echo $arcRow['typeid']; ?>')" title='快捷选择' style='cursor:pointer'> | |||
</td> | |||
<td width="90">消费金币:</td> | |||
<td><input name="needmoney" type="text" id="needmoney" value="<?php echo $needmoney; ?>" style="width:160px"></td> | |||
</tr> | |||
</table> | |||
</td> | |||
@@ -199,25 +204,47 @@ table{border-collapse:separate} | |||
<td height="26" class="bline"> | |||
<table width="800" border="0" cellspacing="0" cellpadding="0"> | |||
<tr> | |||
<td width="100"> 软件副栏目:</td> | |||
<td width="90"> 副栏目:</td> | |||
<td> | |||
<span id='typeid2ct'></span> | |||
<input type='text' name='typeid2' id='typeid2' value='<?php echo ($arcRow['typeid2']=='0' ? '' : $arcRow['typeid2']); ?>' style='width:200px;' /> | |||
<img src='../static/web/img/menusearch2.gif' style='cursor:pointer' onClick="ShowCatMap(event, this, <?php echo $channelid; ?>, 'typeid2', '<?php echo $arcRow['typeid2']; ?>')" alt='选择副栏目' title='选择副栏目' /></td> | |||
<span id="typeid2ct"></span> | |||
<input type="text" name="typeid2" id="typeid2" value="<?php echo ($arcRow['typeid2']=='0' ? '' : $arcRow['typeid2']); ?>" style="width:160px"> | |||
<img src='../static/web/img/menusearch2.gif' onClick="ShowCatMap(event,this,<?php echo $channelid; ?>,'typeid2','<?php echo $arcRow['typeid2']; ?>')"title='选择副栏目' style='cursor:pointer'></td> | |||
</tr> | |||
</table> | |||
</td> | |||
</tr> | |||
<?php } ?> | |||
<?php | |||
} | |||
?> | |||
<tr> | |||
<td width="400%" height="26" colspan="4" class="bline"> | |||
<td height="26" class="bline"> | |||
<table width="800" border="0" cellspacing="0" cellpadding="0"> | |||
<tr> | |||
<td width="90"> 关键词:</td> | |||
<td><input type="text" name="keywords" id="keywords" value="<?php echo $arcRow['keywords']?>" style="width:360px"></td> | |||
</tr> | |||
</table> | |||
</td> | |||
</tr> | |||
<tr> | |||
<td height="26" class="bline"> | |||
<table width="800" border="0" cellspacing="0" cellpadding="0"> | |||
<tr> | |||
<td width="90"> 简要说明:</td> | |||
<td><textarea name="description" id="description" style="width:360px;height:50px"><?php echo $arcRow['description']?></textarea></td> | |||
</tr> | |||
</table> | |||
</td> | |||
</tr> | |||
<tr> | |||
<td height="26" colspan="4" class="bline"> | |||
<table width="1100" border="0" cellspacing="0" cellpadding="0"> | |||
<tr> | |||
<td width="90"> 文件类型:</td> | |||
<td width="240"> | |||
<select name="filetype" id="filetype" style="width:100"> | |||
<td> | |||
<select name="filetype" id="filetype" style="width:120px"> | |||
<?php | |||
if($addRow["filetype"]!="") echo "<option value=\"".$addRow["filetype"]."\">".$addRow["filetype"]."</option>\r\n"; | |||
if($addRow["filetype"]!="") echo "<option value=\"".$addRow["filetype"]."\">".$addRow['filetype']."</option>"; | |||
?> | |||
<option value=".exe">.exe</option> | |||
<option value=".zip">.zip</option> | |||
@@ -227,9 +254,9 @@ table{border-collapse:separate} | |||
<option value="其它">其它</option> | |||
</select></td> | |||
<td width="90">软件等级:</td> | |||
<td><select name="softrank" id="softrank" style="width:100"> | |||
<td><select name="softrank" id="softrank" style="width:120px"> | |||
<?php | |||
if($addRow["softrank"]!="") echo "<option value=\"".$addRow["softrank"]."\">".$addRow["softrank"]."星</option>\r\n"; | |||
if($addRow["softrank"]!="") echo "<option value=\"".$addRow["softrank"]."\">".$addRow['softrank']."星</option>"; | |||
?> | |||
<option value="1">一星</option> | |||
<option value="2">二星</option> | |||
@@ -238,40 +265,34 @@ table{border-collapse:separate} | |||
<option value="5">五星</option> | |||
</select> | |||
</td> | |||
</tr> | |||
</table> | |||
</td> | |||
</tr> | |||
<tr> | |||
<td height="26" colspan="4" class="bline"> | |||
<table width="800" border="0" cellspacing="0" cellpadding="0"> | |||
<tr> | |||
<td width="88"> 软件类型:</td> | |||
<td width="130"> | |||
<select name="softtype" id="softtype" style="width:100"> | |||
<td width="90"> 软件类型:</td> | |||
<td> | |||
<select name="softtype" id="softtype" style="width:120px"> | |||
<?php | |||
if($addRow["softtype"]!="") echo "<option value=\"".$addRow["softtype"]."\">".$addRow["softtype"]."</option>\r\n"; | |||
if($addRow["softtype"]!="") echo "<option value=\"".$addRow["softtype"]."\">".$addRow['softtype']."</option>"; | |||
?> | |||
<option value="国产软件">国产软件</option> | |||
<option value="国外软件">国外软件</option> | |||
<option value="汉化补丁">汉化补丁</option> | |||
</select> | |||
</td> | |||
<td width="89">界面语言:</td> | |||
<td width="130"><select name="language" id="language" style="width:100"> | |||
<td width="90">界面语言:</td> | |||
<td> | |||
<select name="language" id="language" style="width:120px"> | |||
<?php | |||
if($addRow["language"]!="") echo "<option value=\"".$addRow["language"]."\">".$addRow["language"]."</option>\r\n"; | |||
if($addRow["language"]!="") echo "<option value=\"".$addRow["language"]."\">".$addRow['language']."</option>"; | |||
?> | |||
<option value="简体中文">简体中文</option> | |||
<option value="英文软件">英文软件</option> | |||
<option value="繁体中文">繁体中文</option> | |||
<option value="其它类型">其它类型</option> | |||
</select></td> | |||
</select> | |||
</td> | |||
<td width="90">授权方式:</td> | |||
<td> | |||
<select name="accredit" id="accredit" style="width:100"> | |||
<select name="accredit" id="accredit" style="width:120px"> | |||
<?php | |||
if($addRow["accredit"]!="") echo "<option value=\"".$addRow["accredit"]."\">".$addRow["accredit"]."</option>\r\n"; | |||
if($addRow["accredit"]!="") echo "<option value=\"".$addRow["accredit"]."\">".$addRow['accredit']."</option>"; | |||
?> | |||
<option value="共享软件">共享软件</option> | |||
<option value="免费软件">免费软件</option> | |||
@@ -290,9 +311,7 @@ table{border-collapse:separate} | |||
<table width="800" border="0" cellspacing="0" cellpadding="0"> | |||
<tr> | |||
<td width="90"> 运行环境:</td> | |||
<td width="240"><input type='text' name='os' value='<?php echo $addRow["os"]?>' style='width:200px' /></td> | |||
<td width="90"> 软件大小:</td> | |||
<td><input name="softsize" type="text" id="softsize" style="width:100" value="<?php echo $addRow["softsize"]?>"></td> | |||
<td><input type='text' name='os' value='<?php echo $addRow["os"]?>' style='width:300px'></td> | |||
</tr> | |||
</table> | |||
</td> | |||
@@ -302,47 +321,42 @@ table{border-collapse:separate} | |||
<table width="800" border="0" cellspacing="0" cellpadding="0"> | |||
<tr> | |||
<td width="90"> 官方网址:</td> | |||
<td width="240"><input name="officialUrl" type="text" id="officialUrl" value="<?php echo $addRow['officialUrl']?>" style='width:200px' /></td> | |||
<td width="310"><input name="officialUrl" type="text" id="officialUrl" value="<?php echo $addRow['officialUrl']?>" style='width:300px'></td> | |||
<td width="90">程序演示:</td> | |||
<td><input name="officialDemo" type="text" id="officialDemo" value="<?php echo $addRow['officialDemo']?>" style='width:200px' /></td> | |||
<td><input name="officialDemo" type="text" id="officialDemo" value="<?php echo $addRow['officialDemo']?>" style='width:300px'></td> | |||
</tr> | |||
</table> | |||
</td> | |||
</tr> | |||
<tr> | |||
<td><?php PrintAutoFieldsEdit(stripslashes($cInfos['fieldset']),$addRow,'autofield'); ?></td> | |||
</tr> | |||
<tr> | |||
<td height="26" bgcolor="#f6f6f6" class="bline2"> 下载限制:</td> | |||
</tr> | |||
<tr> | |||
<td height="26" class="bline"> | |||
<table width="800" border="0" cellpadding="0" cellspacing="0"> | |||
<td height="26" colspan="4" class="bline"> | |||
<table width="800" border="0" cellspacing="0" cellpadding="0"> | |||
<tr> | |||
<td width="100" height="30"> 需会员权限:</td> | |||
<td width="180" align="center"> | |||
<select name="daccess" id="daccess" style="width:100px"> | |||
<td width="90"> 软件大小:</td> | |||
<td><input name="softsize" type="text" id="softsize" value="<?php echo $addRow['softsize']?>" style="width:60px"></td> | |||
<td width="90" height="30"> 需会员权限:</td> | |||
<td> | |||
<select name="daccess" id="daccess" style="width:160px"> | |||
<?php | |||
$dsql->SetQuery("Select * from `#@__arcrank` where `rank`>=0 "); | |||
$dsql->Execute(); | |||
while($row = $dsql->GetArray()) | |||
{ | |||
if($row['rank']==0) $row['membername'] = "不限会员"; | |||
if($row['rank'] == $daccess) echo "<option value='{$row['rank']}' selected>{$row['membername']}</option>\r\n"; | |||
else echo "<option value='{$row['rank']}'>{$row['membername']}</option>\r\n"; | |||
if($row['rank']==0) $row['membername'] = "不限会员"; | |||
if($row['rank'] == $daccess) echo "<option value='{$row['rank']}' selected>{$row['membername']}</option>"; | |||
else echo "<option value='{$row['rank']}'>{$row['membername']}</option>"; | |||
} | |||
?> | |||
</select> | |||
<a href="soft_config.php" class="btn btn-success btn-sm">软件频道设置</a> | |||
</td> | |||
<td width="120" align="center">需消费金币:</td> | |||
<td width="410"><input name="needmoney" type="text" id="needmoney" value="<?php echo $needmoney; ?>" size="8"> 个</td> | |||
</tr> | |||
<tr> | |||
<td height="26" colspan="4" style="border-top:1px dashed #8EAF61"><span class="STYLE1 py-3">(如果设定了下载限制,<a href="soft_config.php" target="_blank">软件频道设置</a> 中“附件下载方式:”必须选择“链接到跳转页面”)</span></td> | |||
</tr> | |||
</table> | |||
</td> | |||
</tr> | |||
<tr> | |||
<td><?php PrintAutoFieldsEdit(stripslashes($cInfos['fieldset']),$addRow,'autofield'); ?></td> | |||
</tr> | |||
<tr> | |||
<td height="26" colspan="4" bgcolor="#f6f6f6" class="bline2"> 软件链接列表:</td> | |||
</tr> | |||
@@ -354,7 +368,6 @@ table{border-collapse:separate} | |||
<td> | |||
<input name="picnum" type="text" id="picnum" size="8" value="5"> | |||
<button class='btn btn-success btn-sm' name='kkkup' type='button' id='kkkup2' onClick="MakeUpload();">增加数量</button> | |||
| |||
<button class='btn btn-success btn-sm' type="button" name="Submit3" id="btsh3" onClick="ShowHideAddr();">隐藏地址</button>(最多为30个链接) | |||
</td> | |||
</tr> | |||
@@ -383,7 +396,8 @@ table{border-collapse:separate} | |||
<label><input name="remote" type="checkbox" class="np" id="remote" value="1" <?php if($cfg_rm_remote=='Y') echo ' checked="1" '; ?>> | |||
下载远程图片和资源 </label> | |||
<label><input name="autolitpic" type="checkbox" class="np" id="autolitpic" value="1" <?php if($cfg_arc_autopic=='Y') echo ' checked="1" '; ?>> | |||
提取第一个图片为缩略图 </label></td> | |||
提取第一个图片为缩略图 </label> | |||
</td> | |||
</tr> | |||
</table> | |||
</td> | |||
@@ -402,14 +416,19 @@ table{border-collapse:separate} | |||
<td height="26" colspan="4" class="bline"> | |||
<table width="800" border="0" cellspacing="0" cellpadding="0"> | |||
<tr> | |||
<td width="90" height="26" width="240"> 评论选项:</td> | |||
<td width="90" height="26" width="250"> 评论选项:</td> | |||
<td width="250"> | |||
<label><input type='radio' name='notpost' class='np' value='0' <?php if($arcRow['notpost']==0) echo " checked='1' "; ?> /> 允许评论 </label> | |||
| |||
<label><input type='radio' name='notpost' class='np' value='1' <?php if($arcRow['notpost']==1) echo " checked='1' "; ?> /> 禁止评论 </label> | |||
</td> | |||
<td width="90">浏览次数:</td> | |||
<td><input type='text' name='click' value='<?php echo $arcRow['click']; ?>' style='width:100px;' /></td> | |||
<td width="90">发布选项:</td> | |||
<td> | |||
<label><input name="ishtml" type="radio" class="np" value="1" <?php if($arcRow["ismake"]!=-1) echo " checked"; ?>> | |||
生成HTML </label> | |||
<label><input type="radio" name="ishtml" class="np" value="0" <?php if($arcRow["ismake"]==-1) echo " checked"; ?>> | |||
仅动态浏览</label> | |||
</td> | |||
</tr> | |||
</table> | |||
</td> | |||
@@ -419,11 +438,12 @@ table{border-collapse:separate} | |||
<table width="800" border="0" cellspacing="0" cellpadding="0"> | |||
<tr> | |||
<td width="90"> 文章排序:</td> | |||
<td width="250"> <select name="sortup" id="sortup" style="width:150"> | |||
<td width="250"> | |||
<select name="sortup" id="sortup" style="width:160px"> | |||
<?php | |||
$subday = SubDay($arcRow["sortrank"],$arcRow["pubdate"]); | |||
echo "<option value='0'>正常排序</option>\r\n"; | |||
if($subday>0) echo "<option value='$subday' selected>置顶 $subday 天</option>\r\n"; | |||
echo "<option value='0'>正常排序</option>"; | |||
if($subday>0) echo "<option value='$subday' selected>置顶 $subday 天</option>"; | |||
?> | |||
<option value="7">置顶一周</option> | |||
<option value="30">置顶一个月</option> | |||
@@ -432,7 +452,10 @@ table{border-collapse:separate} | |||
<option value="360">置顶一年</option> | |||
</select> </td> | |||
<td width="90">标题颜色:</td> | |||
<td><input name="color" type="text" id="color" style="width:120" value="<?php echo $arcRow["color"]?>"> <button class='btn btn-success btn-sm' name="modcolor" type="button" id="modcolor" onClick="ShowColor(event,this)">选取</button></td> | |||
<td> | |||
<input name="color" type="text" id="color" value="<?php echo $arcRow['color']?>" style="width:120px"> | |||
<button class='btn btn-success btn-sm' name="modcolor" type="button" id="modcolor" onClick="ShowColor(event,this)">选取</button> | |||
</td> | |||
</tr> | |||
</table> | |||
</td> | |||
@@ -443,19 +466,14 @@ table{border-collapse:separate} | |||
<tr> | |||
<td width="90"> 阅读权限:</td> | |||
<td width="250"> | |||
<select name="arcrank" id="arcrank" style="width:150px"> | |||
<select name="arcrank" id="arcrank" style="width:160px"> | |||
<option value='<?php echo $arcRow["arcrank"]; ?>'><?php echo ($arcRow["arcrank"]==0 ? '已审核状态' : $arcRow["rankname"]); ?></option> | |||
<option value='0'>已审核状态</option> | |||
<option value='-1'>未审核状态</option> | |||
</select> | |||
</td> | |||
<td width="90">发布选项:</td> | |||
<td> | |||
<label><input name="ishtml" type="radio" class="np" value="1" <?php if($arcRow["ismake"]!=-1) echo " checked";?>> | |||
生成HTML </label> | |||
<label><input type="radio" name="ishtml" class="np" value="0" <?php if($arcRow["ismake"]==-1) echo " checked";?>> | |||
仅动态浏览</label> | |||
</td> | |||
<td width="90"> 文件名称:</td> | |||
<td><input type="text" name="filename" id="filename" value="<?php echo $arcRow['filename']?>" style="width:120px">(不包括后缀名如.html等)</td> | |||
</tr> | |||
</table> | |||
</td> | |||
@@ -468,46 +486,15 @@ table{border-collapse:separate} | |||
<td width="250"> | |||
<?php | |||
$nowtime = GetDateTimeMk($arcRow["pubdate"]); | |||
echo "<input name=\"pubdate\" value=\"$nowtime\" type=\"text\" id=\"pubdate\" style=\"width:200;\" class='datepicker' >"; | |||
echo "<input type='text' name='pubdate' value='$nowtime' id='pubdate' class='datepicker' style='width:160px'>"; | |||
?> | |||
</td> | |||
<td width="90">消费金币:</td> | |||
<td><input name="money" type="hidden" id="money" value="<?php echo $arcRow['money']?>">(此项已经独立分离)</td> | |||
<td width="90">浏览次数:</td> | |||
<td><input type="text" name="click" value="<?php echo $arcRow['click']; ?>" style="width:120px"></td> | |||
</tr> | |||
</table> | |||
</td> | |||
</tr> | |||
<tr> | |||
<td height="26" class="bline"> | |||
<table width="800" border="0" cellspacing="0" cellpadding="0"> | |||
<tr> | |||
<td width="90" height="50"> 关键词:</td> | |||
<td><input type="text" name="keywords" id="keywords" style="width:60%" value="<?php echo $arcRow["keywords"]?>"></td> | |||
</tr> | |||
</table> | |||
</td> | |||
</tr> | |||
<tr> | |||
<td height="26" class="bline"> | |||
<table width="800" border="0" cellspacing="0" cellpadding="0"> | |||
<tr> | |||
<td width="90" height="50"> 简要说明:</td> | |||
<td><textarea name="description" rows="3" id="description" style="width:60%"><?php echo $arcRow["description"]?></textarea></td> | |||
</tr> | |||
</table> | |||
</td> | |||
</tr> | |||
<tr> | |||
<td height="26" colspan="4"> | |||
<table width="800" border="0" cellspacing="0" cellpadding="0"> | |||
<tr> | |||
<td width="120"> 自定义文件名:</td> | |||
<td width="450"><input type="text" name="filename" id="filename" value="<?php echo $arcRow["filename"]?>">(不包括后缀名如.html等)</td> | |||
<td width="260"></td> | |||
</tr> | |||
</table> | |||
</td> | |||
</tr> | |||
</table> | |||
<table width="98%" border="0" cellspacing="0" cellpadding="0" align="center" bgcolor="#f6f6f6" style="border:1px solid #dee2e6;border-top:none" class="mb-3"> | |||
<tr height="36"> | |||
@@ -6,9 +6,7 @@ | |||
<link rel="stylesheet" href="../static/web/css/bootstrap.min.css"> | |||
<link rel="stylesheet" href="../static/web/font/css/font-awesome.min.css"> | |||
<link rel="stylesheet" href="../static/web/css/admin.css"> | |||
<script> | |||
const cfg_uplitpic_cut = '<?php echo $cfg_uplitpic_cut;?>'; | |||
</script> | |||
<script>const cfg_uplitpic_cut = '<?php echo $cfg_uplitpic_cut; ?>';</script> | |||
<script language="javascript" src="../static/web/js/jquery.min.js"></script> | |||
<script language="javascript" src="../static/web/js/webajax.js"></script> | |||
<link rel="stylesheet" href="../static/web/css/jquery.fileupload.css"> | |||
@@ -17,7 +15,7 @@ | |||
<script type="text/javascript" src="../static/web/js/daterangepicker.js"></script> | |||
<script src="../static/web/js/bootstrap.bundle.min.js"></script> | |||
<script language='javascript' src='js/main.js'></script> | |||
<link href="../static/web/css/cropper.min.css" rel="stylesheet"> | |||
<link rel="stylesheet" href="../static/web/css/cropper.min.css"> | |||
<script src="../static/web/js/cropper.min.js"></script> | |||
<script language="javascript"> | |||
function checkSubmit() { | |||
@@ -73,7 +71,7 @@ table{border-collapse:separate} | |||
<input type="hidden" name="source" value="本站"> | |||
<table width="98%" border="0" align="center" cellpadding="0" cellspacing="0" class="mt-3"> | |||
<tr> | |||
<td width="85%" height="30"><img src="../static/web/img/book1.gif"> <a href="content_s_list.php">专题列表</a><a href="catalog_do.php?cid=<?php echo $cid?>&channelid=<?php echo $channelid?>&dopost=listArchives"></a> > 发布专题</td> | |||
<td width="85%" height="30"><img src="../static/web/img/book1.gif"><a href="content_s_list.php">专题列表</a><a href="catalog_do.php?cid=<?php echo $cid?>&channelid=<?php echo $channelid?>&dopost=listArchives"></a> > 发布专题</td> | |||
<td width="10%" align="right"> <a href="makehtml_spec.php" class="btn btn-success btn-sm">更新HTML</a></td> | |||
</tr> | |||
</table> | |||
@@ -109,7 +107,7 @@ table{border-collapse:separate} | |||
<td width="90"> 专题名称:</td> | |||
<td width='400'><input name="title" type="text" id="title" value="" style="width:380px"></td> | |||
<td width="90"> 简略标题:</td> | |||
<td><input name="shorttitle" type="text" id="shorttitle" style="width:150px"></td> | |||
<td><input name="shorttitle" type="text" id="shorttitle" style="width:160px"></td> | |||
</tr> | |||
</table> | |||
</td> | |||
@@ -118,7 +116,7 @@ table{border-collapse:separate} | |||
<td height="26" colspan="4" class="bline"> | |||
<table width="800" border="0" cellspacing="0" cellpadding="0"> | |||
<tr> | |||
<td width="100"> 自定义属性:</td> | |||
<td width="90"> 自定义属性:</td> | |||
<td><?php | |||
$dsql->SetQuery("Select * From `#@__arcatt` order by sortid asc"); | |||
$dsql->Execute(); | |||
@@ -139,18 +137,12 @@ table{border-collapse:separate} | |||
<table width="800" border="0" cellspacing="0" cellpadding="0"> | |||
<tr> | |||
<td width="90"> 缩略图:</td> | |||
<td width="560"> | |||
<table width="100%" border="0" cellspacing="1" cellpadding="1"> | |||
<tr> | |||
<td height="30"> | |||
<input name="picname" type="text" id="picname" style="width:240px"> | |||
<label><input type='checkbox' class='np' name='ddisremote' value='1' id='ddisremote'> 远程</label> | |||
<span class="btn btn-success btn-sm fileinput-button">上传图片<input type="file" name="files[]" id="iptAddImages"></span> | |||
<button type="button" name="Submit2" onClick="SelectImage('form1.picname','small');" class="btn btn-success btn-sm">选择图片</button> | |||
<button id="btnClearAll" type="button" class="btn btn-success btn-sm delete">清空</button> | |||
</td> | |||
</tr> | |||
</table> | |||
<td> | |||
<input name="picname" type="text" id="picname" style="width:300px"> | |||
<label><input type='checkbox' class='np' name='ddisremote' value='1' id='ddisremote'> 远程</label> | |||
<span class="btn btn-success btn-sm fileinput-button">上传图片<input type="file" name="files[]" id="iptAddImages"></span> | |||
<button type="button" name="Submit2" onClick="SelectImage('form1.picname','small');" class="btn btn-success btn-sm">选择图片</button> | |||
<button id="btnClearAll" type="button" class="btn btn-success btn-sm delete">清空</button> | |||
</td> | |||
<td width="150" align="center"><img id="litPic" src="../static/web/img/defaultpic.jpg" style="height: 80px"></td> | |||
</tr> | |||
@@ -162,14 +154,7 @@ table{border-collapse:separate} | |||
<table width="800" border="0" cellspacing="0" cellpadding="0"> | |||
<tr> | |||
<td width="90"> 责任编辑:</td> | |||
<td width="240"><input name="writer" type="text" id="writer"></td> | |||
<td width="90">发布选项:</td> | |||
<td> | |||
<label><input name="ishtml" type="radio" class="np" value="1" checked='1' /> | |||
生成HTML </label> | |||
<label><input type="radio" name="ishtml" class="np" value="0"> | |||
仅动态浏览 </label> | |||
</td> | |||
<td><input name="writer" type="text" id="writer" style="width:160px"></td> | |||
</tr> | |||
</table> | |||
</td> | |||
@@ -179,8 +164,8 @@ table{border-collapse:separate} | |||
<table width="800" border="0" cellspacing="0" cellpadding="0"> | |||
<tr> | |||
<td width="90" height="26"> 内容排序:</td> | |||
<td width="240"> | |||
<select name="sortup" id="sortup" style="width:150px"> | |||
<td width="250"> | |||
<select name="sortup" id="sortup" style="width:160px"> | |||
<option value="0" selected>默认排序</option> | |||
<option value="7">置顶一周</option> | |||
<option value="30">置顶一个月</option> | |||
@@ -190,7 +175,7 @@ table{border-collapse:separate} | |||
</select> | |||
</td> | |||
<td width="90">标题颜色:</td> | |||
<td width="160"><input name="color" type="text" id="color" style="width:120px"></td> | |||
<td width="130"><input name="color" type="text" id="color" style="width:120px"></td> | |||
<td><button name="modcolor" type="button" id="modcolor" class="btn btn-success btn-sm" onClick="ShowColor(event,this)">选取</button></td> | |||
</tr> | |||
</table> | |||
@@ -204,12 +189,12 @@ table{border-collapse:separate} | |||
<td> | |||
<?php | |||
$typeOptions = GetOptionList($cid, $cuserLogin->getUserChannel(), 0); | |||
echo "<select name='typeid' id='typeid' style='width:240px'>\r\n"; | |||
echo "<option value='0'>请选择主分类</option>\r\n"; | |||
echo "<select name='typeid' id='typeid' style='width:160px'>"; | |||
echo "<option value='0'>请选择主分类</option>"; | |||
echo $typeOptions; | |||
echo "</select>"; | |||
?> | |||
<img src='../static/web/img/menusearch.gif' style='cursor:pointer' onClick="ShowCatMap(event, this, 0, 'typeid')" alt='快捷选择' title='快捷选择' /> | |||
<img src='../static/web/img/menusearch.gif' onClick="ShowCatMap(event,this,0,'typeid')" title='快捷选择' style='cursor:pointer'> | |||
</td> | |||
</tr> | |||
</table> | |||
@@ -220,8 +205,8 @@ table{border-collapse:separate} | |||
<table width="800" border="0" cellspacing="0" cellpadding="0"> | |||
<tr> | |||
<td width="90"> 关键词:</td> | |||
<td width="450"> | |||
<input type='text' name="keywords" id="keywords" style="width:80%" value=""> | |||
<td> | |||
<input type='text' name="keywords" id="keywords" value="" style="width:360px"> | |||
<button type="button" name="Submit" class="btn btn-success btn-sm" onClick="SelectKeywords('form1.keywords');">浏览</button> | |||
</td> | |||
<td><input name="autokey" type="checkbox" onClick="ShowHide('keywords');" ; class="np" id="autokey" value="1" <?php if($cfg_arc_autokeyword=='Y') echo ' checked="1" '; ?> />自动获取,手动填写用","分开</td> | |||
@@ -234,8 +219,7 @@ table{border-collapse:separate} | |||
<table width="800" border="0" cellspacing="0" cellpadding="0"> | |||
<tr> | |||
<td width="90"> 专题简介:</td> | |||
<td width="520"><textarea name="description" rows="5" id="description" style="width:80%;height:60px"></textarea></td> | |||
<td></td> | |||
<td><textarea name="description" id="description" style="width:360px;height:50px"></textarea></td> | |||
</tr> | |||
</table> | |||
</td> | |||
@@ -244,29 +228,21 @@ table{border-collapse:separate} | |||
<td height="26" colspan="4" class="bline"> | |||
<table width="800" border="0" cellspacing="0" cellpadding="0"> | |||
<tr> | |||
<td width="90"> 发布时间:</td> | |||
<td><?php | |||
$nowtime = GetDateTimeMk(time()); | |||
echo "<input name=\"pubdate\" value=\"$nowtime\" type=\"text\" id=\"pubdate\" class='datepicker'/>"; | |||
?> | |||
</td> | |||
</tr> | |||
</table> | |||
</td> | |||
</tr> | |||
<tr> | |||
<td height="26" colspan="4" class="bline"> | |||
<table width="800" border="0" cellspacing="0" cellpadding="0"> | |||
<tr> | |||
<td width="90" height="26" width="240"> 评论选项:</td> | |||
<td width="90" height="26" width="250"> 评论选项:</td> | |||
<td width="250"> | |||
<label><input type='radio' name='notpost' class='np' value='0' <?php if($cfg_feedback_forbid=='N') echo "checked='1' "; ?> /> | |||
允许评论 </label> | |||
| |||
<label><input type='radio' name='notpost' class='np' value='1' <?php if($cfg_feedback_forbid=='Y') echo "checked='1' "; ?> /> | |||
禁止评论 </label> </td> | |||
<td width="90">浏览次数:</td> | |||
<td><input type="text" name="click" value="<?php echo ($cfg_arc_click=='-1' ? mt_rand(50, 200) : $cfg_arc_click); ?>" style="width:100px"></td> | |||
禁止评论 </label> | |||
</td> | |||
<td width="90">发布选项:</td> | |||
<td> | |||
<label><input name="ishtml" type="radio" class="np" value="1" checked='1' /> | |||
生成HTML </label> | |||
<label><input type="radio" name="ishtml" class="np" value="0"> | |||
仅动态浏览 </label> | |||
</td> | |||
</tr> | |||
</table> | |||
</td> | |||
@@ -276,21 +252,28 @@ table{border-collapse:separate} | |||
<table width="800" border="0" cellspacing="0" cellpadding="0"> | |||
<tr> | |||
<td width="90"> 专题模板:</td> | |||
<td> | |||
<input name="templet" type="text" id="templet" style="width:250px" value="<?php echo $cfg_df_style?>/article_spec.htm"> | |||
<td width="250"> | |||
<input name="templet" type="text" id="templet" value="<?php echo $cfg_df_style?>/article_spec.htm" style="width:160px"> | |||
<button type="button" name="set3" class="btn btn-success btn-sm" onClick="SelectTemplets('form1.templet');">浏览</button> | |||
</td> | |||
<td width="90">文件名称:</td> | |||
<td><input type="text" name="filename" id="filename" style="width:120px">(不包括后缀名如.html等)</td> | |||
</tr> | |||
</table> | |||
</td> | |||
</tr> | |||
<tr> | |||
<td height="26" colspan="4"> | |||
<td height="26" colspan="4" class="bline"> | |||
<table width="800" border="0" cellspacing="0" cellpadding="0"> | |||
<tr> | |||
<td width="105"> 自定义文件名:</td> | |||
<td width="695"><input type="text" name="filename" id="filename"> | |||
(不包括后缀名如.html等) </td> | |||
<td width="90"> 发布时间:</td> | |||
<td width="250"><?php | |||
$nowtime = GetDateTimeMk(time()); | |||
echo "<input name='pubdate' value='$nowtime' type='text' id='pubdate' class='datepicker' style='width:160px'>"; | |||
?> | |||
</td> | |||
<td width="90">浏览次数:</td> | |||
<td><input type="text" name="click" value="<?php echo ($cfg_arc_click=='-1' ? mt_rand(50,200):$cfg_arc_click); ?>" style="width:120px"></td> | |||
</tr> | |||
</table> | |||
</td> | |||
@@ -6,9 +6,7 @@ | |||
<link rel="stylesheet" href="../static/web/css/bootstrap.min.css"> | |||
<link rel="stylesheet" href="../static/web/font/css/font-awesome.min.css"> | |||
<link rel="stylesheet" href="../static/web/css/admin.css"> | |||
<script> | |||
const cfg_uplitpic_cut = '<?php echo $cfg_uplitpic_cut;?>'; | |||
</script> | |||
<script>const cfg_uplitpic_cut = '<?php echo $cfg_uplitpic_cut; ?>';</script> | |||
<script language="javascript" src="../static/web/js/jquery.min.js"></script> | |||
<script language="javascript" src="../static/web/js/webajax.js"></script> | |||
<link rel="stylesheet" href="../static/web/css/daterangepicker.css"> | |||
@@ -17,7 +15,7 @@ | |||
<script type="text/javascript" src="../static/web/js/daterangepicker.js"></script> | |||
<script src="../static/web/js/bootstrap.bundle.min.js"></script> | |||
<script language='javascript' src='js/main.js'></script> | |||
<link href="../static/web/css/cropper.min.css" rel="stylesheet"> | |||
<link rel="stylesheet" href="../static/web/css/cropper.min.css"> | |||
<script src="../static/web/js/cropper.min.js"></script> | |||
<script language="javascript"> | |||
function SelectTemplets(fname) { | |||
@@ -80,7 +78,7 @@ table{border-collapse:separate} | |||
<input type="hidden" name="dopost" value="save"> | |||
<table width="98%" border="0" align="center" cellpadding="0" cellspacing="0" class="mt-3"> | |||
<tr> | |||
<td width="85%" height="30"><img src="../static/web/img/book1.gif"> <a href="content_s_list.php">专题列表</a><a href="catalog_do.php?cid=<?php echo $cid?>&channelid=<?php echo $channelid?>&dopost=listArchives"></a> > 修改专题</td> | |||
<td width="85%" height="30"><img src="../static/web/img/book1.gif"><a href="content_s_list.php">专题列表</a><a href="catalog_do.php?cid=<?php echo $cid?>&channelid=<?php echo $channelid?>&dopost=listArchives"></a> > 修改专题</td> | |||
<td width="10%" align="right"><a href="makehtml_spec.php" class="btn btn-success btn-sm">更新HTML</a></td> | |||
</tr> | |||
</table> | |||
@@ -116,7 +114,7 @@ table{border-collapse:separate} | |||
<td width="90"> 专题名称:</td> | |||
<td width='400'><input name="title" type="text" id="title" value="<?php echo $arcRow['title']; ?>" style="width:380px"></td> | |||
<td width="90"> 简略标题:</td> | |||
<td><input name="shorttitle" type="text" id="shorttitle" style="width:150px" value="<?php echo $arcRow['shorttitle']; ?>"></td> | |||
<td><input name="shorttitle" type="text" id="shorttitle" value="<?php echo $arcRow['shorttitle']; ?>" style="width:160px"></td> | |||
</tr> | |||
</table> | |||
</td> | |||
@@ -125,20 +123,20 @@ table{border-collapse:separate} | |||
<td width="400%" height="26" class="bline"> | |||
<table width="800" border="0" cellspacing="0" cellpadding="0"> | |||
<tr> | |||
<td width="100"> 自定义属性:</td> | |||
<td width="90"> 自定义属性:</td> | |||
<td> | |||
<?php | |||
$dsql->SetQuery("Select * From `#@__arcatt` order by sortid asc"); | |||
$dsql->Execute(); | |||
while($trow = $dsql->GetObject()) | |||
{ | |||
if($trow->att=='j') continue; | |||
if(preg_match("#".$trow->att."#", $arcRow['flag'])) | |||
echo "<label><input class='np' type='checkbox' name='flags[]' id='flags{$trow->att}' value='{$trow->att}' checked='checked' /> {$trow->attname}[{$trow->att}]</label> "; | |||
else | |||
echo "<label><input class='np' type='checkbox' name='flags[]' id='flags{$trow->att}' value='{$trow->att}' /> {$trow->attname}[{$trow->att}]</label> "; | |||
} | |||
?> | |||
$dsql->SetQuery("Select * From `#@__arcatt` order by sortid asc"); | |||
$dsql->Execute(); | |||
while($trow = $dsql->GetObject()) | |||
{ | |||
if($trow->att=='j') continue; | |||
if(preg_match("#".$trow->att."#", $arcRow['flag'])) | |||
echo "<label><input class='np' type='checkbox' name='flags[]' id='flags{$trow->att}' value='{$trow->att}' checked='checked' /> {$trow->attname}[{$trow->att}]</label> "; | |||
else | |||
echo "<label><input class='np' type='checkbox' name='flags[]' id='flags{$trow->att}' value='{$trow->att}' /> {$trow->attname}[{$trow->att}]</label> "; | |||
} | |||
?> | |||
</td> | |||
</tr> | |||
</table> | |||
@@ -149,8 +147,8 @@ table{border-collapse:separate} | |||
<table width="800" border="0" cellspacing="0" cellpadding="0"> | |||
<tr> | |||
<td width="90" height="90"> 缩略图:</td> | |||
<td width="560"> | |||
<input name="picname" type="text" id="picname" style="width:300px" value="<?php echo $arcRow['litpic']?>"> | |||
<td> | |||
<input name="picname" type="text" id="picname" value="<?php echo $arcRow['litpic']?>" style="width:300px"> | |||
<label><input type='checkbox' class='np' name='ddisremote' value='1'> 远程</label> | |||
<span class="btn btn-success btn-sm fileinput-button">上传图片<input type="file" name="files[]" id="iptAddImages"></span> | |||
<button type="button" name="Submit" onClick="SelectImage('form1.picname','');" class="btn btn-success btn-sm">选择图片</button> | |||
@@ -161,32 +159,12 @@ table{border-collapse:separate} | |||
</table> | |||
</td> | |||
</tr> | |||
<tr> | |||
<td height="26" colspan="4" class="bline"> | |||
<table width="800" border="0" cellspacing="0" cellpadding="0"> | |||
<tr> | |||
<td width="90"> 专题模板:</td> | |||
<td> | |||
<input name="templet" type="text" id="templet" style="width:250px" value="<?php echo $addRow["templet"]?>"> | |||
<button type="button" name="set3" class="btn btn-success btn-sm" onClick="SelectTemplets('form1.templet');">浏览</button> | |||
</td> | |||
</tr> | |||
</table> | |||
</td> | |||
</tr> | |||
<tr> | |||
<td height="26" colspan="4" class="bline"> | |||
<table width="800" border="0" cellspacing="0" cellpadding="0"> | |||
<tr> | |||
<td width="90"> 责任编辑:</td> | |||
<td width="220"><input name="writer" type="text" id="writer" value="<?php echo $arcRow['writer']?>"></td> | |||
<td width="75">发布选项:</td> | |||
<td width="420"> | |||
<label><input name="ishtml" type="radio" class="np" value="1" <?php if($arcRow["ismake"]!=-1) echo " checked='1'";?>> | |||
生成HTML </label> | |||
<label><input type="radio" name="ishtml" class="np" value="0" <?php if($arcRow["ismake"]==-1) echo " checked='1'";?>> | |||
仅动态浏览 </label> | |||
</td> | |||
<td><input name="writer" type="text" id="writer" value="<?php echo $arcRow['writer']?>" style="width:160px"></td> | |||
</tr> | |||
</table> | |||
</td> | |||
@@ -196,13 +174,13 @@ table{border-collapse:separate} | |||
<table width="800" border="0" cellspacing="0" cellpadding="0"> | |||
<tr> | |||
<td width="90"> 内容排序:</td> | |||
<td width="220"> | |||
<select name="sortup" id="sortup" style="width:150"> | |||
<?php | |||
$subday = SubDay($arcRow["sortrank"],$arcRow["senddate"]); | |||
echo "<option value='0'>正常排序</option>\r\n"; | |||
if($subday>0) echo "<option value='$subday' selected>置顶 $subday 天</option>\r\n"; | |||
?> | |||
<td width="250"> | |||
<select name="sortup" id="sortup" style="width:160px"> | |||
<?php | |||
$subday = SubDay($arcRow["sortrank"],$arcRow["senddate"]); | |||
echo "<option value='0'>正常排序</option>"; | |||
if($subday>0) echo "<option value='$subday' selected>置顶 $subday 天</option>"; | |||
?> | |||
<option value="7">置顶一周</option> | |||
<option value="30">置顶一个月</option> | |||
<option value="90">置顶三个月</option> | |||
@@ -210,9 +188,9 @@ table{border-collapse:separate} | |||
<option value="360">置顶一年</option> | |||
</select> | |||
</td> | |||
<td width="70">标题颜色:</td> | |||
<td width="130"><input name="color" type="text" id="color" style="width:120px" value="<?php echo $arcRow["color"]?>"></td> | |||
<td width="300"><button name="modcolor" type="button" id="modcolor" value="" onClick="ShowColor(event,this)" class="btn btn-success btn-sm">选取</button></td> | |||
<td width="90">标题颜色:</td> | |||
<td width="130"><input name="color" type="text" id="color" style="width:120px" value="<?php echo $arcRow['color']?>"></td> | |||
<td><button name="modcolor" type="button" id="modcolor" value="" onClick="ShowColor(event,this)" class="btn btn-success btn-sm">选取</button></td> | |||
</tr> | |||
</table> | |||
</td> | |||
@@ -222,17 +200,16 @@ table{border-collapse:separate} | |||
<table width="800" border="0" cellspacing="0" cellpadding="0"> | |||
<tr> | |||
<td width="90"> 主分类:</td> | |||
<td width="620"> | |||
<td> | |||
<?php | |||
$typeOptions = GetOptionList($arcRow["typeid"],$cuserLogin->getUserChannel(),0); | |||
echo "<select name='typeid' style='width:240px'>\r\n"; | |||
if($arcRow["typeid"]=="0") echo "<option value='0' selected='1'>请选择主分类</option>\r\n"; | |||
echo "<select name='typeid' style='width:160px'>"; | |||
if($arcRow["typeid"]=="0") echo "<option value='0' selected='1'>请选择主分类</option>"; | |||
echo $typeOptions; | |||
echo "</select>"; | |||
?> | |||
<img src='../static/web/img/menusearch.gif' style='cursor:pointer' onClick="ShowCatMap(event,this,0,'typeid')" alt='快捷选择' title='快捷选择' /> | |||
<img src='../static/web/img/menusearch.gif' onClick="ShowCatMap(event,this,0,'typeid')" title='快捷选择' style='cursor:pointer'> | |||
</td> | |||
<td width="100" align="center"></td> | |||
</tr> | |||
</table> | |||
</td> | |||
@@ -241,8 +218,8 @@ table{border-collapse:separate} | |||
<td height="26" colspan="4" class="bline"> | |||
<table width="800" border="0" cellspacing="0" cellpadding="0"> | |||
<tr> | |||
<td width="90" height="50"> 关键词:</td> | |||
<td><input type="text" name="keywords" rows="3" id="keywords" style="width:350px" value="<?php echo $arcRow['keywords']?>"></td> | |||
<td width="90"> 关键词:</td> | |||
<td><input type="text" name="keywords" rows="3" id="keywords" value="<?php echo $arcRow['keywords']?>" style="width:360px"></td> | |||
</tr> | |||
</table> | |||
</td> | |||
@@ -251,8 +228,8 @@ table{border-collapse:separate} | |||
<td height="26" colspan="4" class="bline"> | |||
<table width="800" border="0" cellspacing="0" cellpadding="0"> | |||
<tr> | |||
<td width="90" height="78"> 专题说明:</td> | |||
<td><textarea name="description" rows="4" id="textarea" style="width:350px"><?php echo $arcRow["description"]?></textarea></td> | |||
<td width="90"> 专题说明:</td> | |||
<td><textarea name="description" id="textarea" style="width:360px;height:50px"><?php echo $arcRow['description']?></textarea></td> | |||
</tr> | |||
</table> | |||
</td> | |||
@@ -261,14 +238,18 @@ table{border-collapse:separate} | |||
<td height="26" colspan="4" class="bline"> | |||
<table width="800" border="0" cellspacing="0" cellpadding="0"> | |||
<tr> | |||
<td width="90" height="26" width="240"> 评论选项:</td> | |||
<td width="90" height="26" width="250"> 评论选项:</td> | |||
<td width="250"> | |||
<label><input type='radio' name='notpost' class='np' value='0' <?php if($arcRow['notpost']==0) echo " checked='1' "; ?> /> 允许评论 </label> | |||
| |||
<label><input type='radio' name='notpost' class='np' value='1' <?php if($arcRow['notpost']==1) echo " checked='1' "; ?> /> 禁止评论 </label> | |||
<td width="90">发布选项:</td> | |||
<td> | |||
<label><input name="ishtml" type="radio" class="np" value="1" <?php if($arcRow["ismake"]!=-1) echo " checked='1'"; ?>> | |||
生成HTML </label> | |||
<label><input type="radio" name="ishtml" class="np" value="0" <?php if($arcRow["ismake"]==-1) echo " checked='1'"; ?>> | |||
仅动态浏览 </label> | |||
</td> | |||
<td width="90">浏览次数:</td> | |||
<td><input type='text' name='click' value='<?php echo $arcRow['click']; ?>' style='width:100px;' /></td> | |||
</tr> | |||
</table> | |||
</td> | |||
@@ -277,13 +258,13 @@ table{border-collapse:separate} | |||
<td height="26" colspan="4" class="bline"> | |||
<table width="800" border="0" cellspacing="0" cellpadding="0"> | |||
<tr> | |||
<td width="90"> 发布时间:</td> | |||
<td> | |||
<?php | |||
$addtime = GetDateTimeMk($arcRow["senddate"]); | |||
echo "$addtime (标准排序和生成HTML名称的依据时间) <input type='hidden' name='senddate' value='".$arcRow["senddate"]."' />"; | |||
?> | |||
<td width="90"> 专题模板:</td> | |||
<td width="250"> | |||
<input name="templet" type="text" id="templet" value="<?php echo $addRow['templet']?>" style="width:160px"> | |||
<button type="button" name="set3" class="btn btn-success btn-sm" onClick="SelectTemplets('form1.templet');">浏览</button> | |||
</td> | |||
<td width="90"> 文件名称:</td> | |||
<td><input type="text" name="filename" id="filename" value="<?php echo $arcRow['filename']?>" style="width:120px">(不包括后缀名如.html等)</td> | |||
</tr> | |||
</table> | |||
</td> | |||
@@ -292,25 +273,30 @@ table{border-collapse:separate} | |||
<td height="26" colspan="4" class="bline"> | |||
<table width="800" border="0" cellspacing="0" cellpadding="0"> | |||
<tr> | |||
<td width="90"> 更新时间:</td> | |||
<td width="90"> 发布时间:</td> | |||
<td> | |||
<?php | |||
$nowtime = GetDateTimeMk($arcRow["pubdate"]); | |||
echo "<input name=\"pubdate\" value=\"$nowtime\" type=\"text\" id=\"pubdate\" class='datepicker'/>"; | |||
?> | |||
$addtime = GetDateTimeMk($arcRow["senddate"]); | |||
echo "$addtime (标准排序和生成HTML名称的依据时间) <input type='hidden' name='senddate' value='".$arcRow["senddate"]."' style='width:160px'>"; | |||
?> | |||
</td> | |||
<td width="230"></td> | |||
</tr> | |||
</table> | |||
</td> | |||
</tr> | |||
<tr> | |||
<td height="26" colspan="4"> | |||
<td height="26" colspan="4" class="bline"> | |||
<table width="800" border="0" cellspacing="0" cellpadding="0"> | |||
<tr> | |||
<td width="100"> 自定义文件名:</td> | |||
<td width="600"><input type="text" name="filename" id="filename" value="<?php echo $arcRow["filename"]?>">(不包括后缀名如.html等)</td> | |||
<td width="100" align="center"></td> | |||
<td width="90"> 更新时间:</td> | |||
<td width="250"> | |||
<?php | |||
$nowtime = GetDateTimeMk($arcRow["pubdate"]); | |||
echo "<input name='pubdate' value='$nowtime' type='text' id='pubdate' class='datepicker' style='width:160px'>"; | |||
?> | |||
</td> | |||
<td width="90">浏览次数:</td> | |||
<td><input type="text" name="click" value="<?php echo $arcRow['click']; ?>" style="width:120px"></td> | |||
</tr> | |||
</table> | |||
</td> | |||
@@ -379,9 +365,9 @@ table{border-collapse:separate} | |||
<tr> | |||
<td>文档来源:</td> | |||
<td colspan="2"> | |||
<label><input name="isauto<?php echo $i?>" type="radio" id="isauto<?php echo $i?>" value="0" class="np" <?php if($isauto==0) echo " checked";?>> | |||
<label><input name="isauto<?php echo $i?>" type="radio" id="isauto<?php echo $i?>" value="0" class="np" <?php if($isauto==0) echo " checked"; ?>> | |||
按文章列表 </label> | |||
<label><input name="isauto<?php echo $i?>" type="radio" id="isauto<?php echo $i?>" value="1" class="np" <?php if($isauto==1) echo " checked";?>> | |||
<label><input name="isauto<?php echo $i?>" type="radio" id="isauto<?php echo $i?>" value="1" class="np" <?php if($isauto==1) echo " checked"; ?>> | |||
自动获取文档 </label> | |||
| |||
<label>关键词: | |||
@@ -161,7 +161,7 @@ li{float:left;padding-right:10px;line-height:26px} | |||
<td height="26" background="../static/web/img/wbg.gif" colspan="6" style="padding-left:10px">联动枚举组管理</td> | |||
</tr> | |||
<tr> | |||
<td width="100">请选择组别:</td> | |||
<td width="90">请选择组别:</td> | |||
<td width="260"> | |||
<select name="egroup1" id="egroup1" style="width:90%;" onChange="ChangePage(this)"> | |||
<option value='0'>所有组</option> | |||
@@ -45,7 +45,7 @@ | |||
<tr> | |||
<td height="215" align="center" valign="top" bgcolor="#FFFFFF"> | |||
<form name="form1" action="sys_admin_user_add.php" onSubmit="return checkSubmit();" method="post"> | |||
<input type="hidden" name="_csrf_token" value="<?php echo $GLOBALS['csrf_token'];?>"> | |||
<input type="hidden" name="_csrf_token" value="<?php echo $GLOBALS['csrf_token']; ?>"> | |||
<input type="hidden" name="dopost" value="add"> | |||
<table width="98%" border="0" cellspacing="1" cellpadding="1" class="table table-borderless"> | |||
<tr> | |||
@@ -110,7 +110,7 @@ | |||
</td> | |||
</tr> | |||
<tr> | |||
<td height="60"> </td> | |||
<td height="60"></td> | |||
<td> | |||
<button type="submit" class="btn btn-success" onClick="DoSubmit('gettag')" class="coolbg np">增加用户</button> | |||
</td> | |||
@@ -23,7 +23,7 @@ | |||
<td height="215" align="center" valign="top" bgcolor="#FFFFFF"> | |||
<form name="form1" action="sys_admin_user_edit.php" method="post"> | |||
<input type="hidden" name="dopost" value="saveedit"> | |||
<input type="hidden" name="_csrf_token" value="<?php echo $GLOBALS['csrf_token'];?>"> | |||
<input type="hidden" name="_csrf_token" value="<?php echo $GLOBALS['csrf_token']; ?>"> | |||
<input type="hidden" name="id" value="<?php echo $row['id']?>"> | |||
<table width="98%" border="0" cellspacing="1" cellpadding="1" class="table table-borderless"> | |||
<tr> | |||
@@ -86,7 +86,7 @@ | |||
</td> | |||
</tr> | |||
<tr> | |||
<td height="60"> </td> | |||
<td height="60"></td> | |||
<td> | |||
<button type="submit" name="Submit" class="btn btn-success">保存用户</button> | |||
</td> | |||
@@ -54,7 +54,7 @@ | |||
} | |||
?> | |||
<tr> | |||
<td height="26" colspan="3" bgcolor="#f6f6f6"> </td> | |||
<td height="26" colspan="3" bgcolor="#f6f6f6"></td> | |||
</tr> | |||
</form> | |||
</table> | |||
@@ -87,7 +87,7 @@ | |||
</td> | |||
</tr> | |||
<tr> | |||
<td height="50" align="center"> </td> | |||
<td height="50" align="center"></td> | |||
<td height="50" style="text-align:left"> | |||
<button type="submit" class="btn btn-success" onClick="DoSubmit('gettag')" | |||
class="coolbg np">保存</button> | |||