@@ -28,7 +28,7 @@ | |||||
<input type="hidden" name="dopost" value="save"> | <input type="hidden" name="dopost" value="save"> | ||||
<input type="hidden" name="maxwidth" id="maxwidth" value="<?php echo $cfg_album_width;?>"> | <input type="hidden" name="maxwidth" id="maxwidth" value="<?php echo $cfg_album_width;?>"> | ||||
<input type="hidden" id="albums" name="albums"> | <input type="hidden" id="albums" name="albums"> | ||||
<table width="98%" align="center" id="needset" class="maintable my-3"> | |||||
<table width="98%" align="center" class="maintable my-3"> | |||||
<tr> | <tr> | ||||
<td bgcolor="#f5f5f5" class="admin-td">发布图片文档</td> | <td bgcolor="#f5f5f5" class="admin-td">发布图片文档</td> | ||||
</tr> | </tr> | ||||
@@ -370,7 +370,7 @@ | |||||
</form> | </form> | ||||
<script> | <script> | ||||
function checkSubmit() { | function checkSubmit() { | ||||
if (document.form1.title.value == '') { | |||||
if (document.form1.title.value == "") { | |||||
ShowMsg("文档标题不能为空"); | ShowMsg("文档标题不能为空"); | ||||
return false; | return false; | ||||
} | } | ||||
@@ -27,7 +27,7 @@ | |||||
<input type="hidden" name="imagebody"> | <input type="hidden" name="imagebody"> | ||||
<input type="hidden" name="dopost" value="save"> | <input type="hidden" name="dopost" value="save"> | ||||
<input type="hidden" id="albums" name="albums"> | <input type="hidden" id="albums" name="albums"> | ||||
<table width="98%" align="center" id="needset" class="maintable my-3"> | |||||
<table width="98%" align="center" class="maintable my-3"> | |||||
<tr> | <tr> | ||||
<td bgcolor="#f5f5f5" class="admin-td">修改图片文档</td> | <td bgcolor="#f5f5f5" class="admin-td">修改图片文档</td> | ||||
</tr> | </tr> | ||||
@@ -411,7 +411,7 @@ | |||||
</form> | </form> | ||||
<script> | <script> | ||||
function checkSubmit() { | function checkSubmit() { | ||||
if (document.form1.title.value == '') { | |||||
if (document.form1.title.value == "") { | |||||
ShowMsg("文档标题不能为空"); | ShowMsg("文档标题不能为空"); | ||||
document.form1.title.focus(); | document.form1.title.focus(); | ||||
return false; | return false; | ||||
@@ -23,7 +23,7 @@ | |||||
<input type="hidden" name="channelid" value="<?php echo $channelid?>"> | <input type="hidden" name="channelid" value="<?php echo $channelid?>"> | ||||
<input type="hidden" name="cid" value="<?php echo $cid?>"> | <input type="hidden" name="cid" value="<?php echo $cid?>"> | ||||
<input type="hidden" name="dopost" value="save"> | <input type="hidden" name="dopost" value="save"> | ||||
<table width="98%" align="center" id="needset" class="maintable my-3"> | |||||
<table width="98%" align="center" class="maintable my-3"> | |||||
<tr> | <tr> | ||||
<td bgcolor="#f5f5f5" class="admin-td">发布自定义文档</td> | <td bgcolor="#f5f5f5" class="admin-td">发布自定义文档</td> | ||||
</tr> | </tr> | ||||
@@ -304,7 +304,7 @@ | |||||
</form> | </form> | ||||
<script> | <script> | ||||
function checkSubmit() { | function checkSubmit() { | ||||
if (document.form1.title.value == '') { | |||||
if (document.form1.title.value == "") { | |||||
ShowMsg("文档标题不能为空"); | ShowMsg("文档标题不能为空"); | ||||
return false; | return false; | ||||
} | } | ||||
@@ -23,7 +23,7 @@ | |||||
<input type="hidden" name="channelid" value="<?php echo $channelid?>"> | <input type="hidden" name="channelid" value="<?php echo $channelid?>"> | ||||
<input type="hidden" name="id" value="<?php echo $aid?>"> | <input type="hidden" name="id" value="<?php echo $aid?>"> | ||||
<input type="hidden" name="dopost" value="save"> | <input type="hidden" name="dopost" value="save"> | ||||
<table width="98%" align="center" id="needset" class="maintable my-3"> | |||||
<table width="98%" align="center" class="maintable my-3"> | |||||
<tr> | <tr> | ||||
<td bgcolor="#f5f5f5" class="admin-td">修改自定义文档</td> | <td bgcolor="#f5f5f5" class="admin-td">修改自定义文档</td> | ||||
</tr> | </tr> | ||||
@@ -297,7 +297,7 @@ | |||||
</form> | </form> | ||||
<script> | <script> | ||||
function checkSubmit() { | function checkSubmit() { | ||||
if (document.form1.title.value == '') { | |||||
if (document.form1.title.value == "") { | |||||
ShowMsg("文档标题不能为空"); | ShowMsg("文档标题不能为空"); | ||||
document.form1.title.focus(); | document.form1.title.focus(); | ||||
return false; | return false; | ||||
@@ -23,7 +23,7 @@ | |||||
<input type="hidden" name="channelid" value="<?php echo $channelid?>"> | <input type="hidden" name="channelid" value="<?php echo $channelid?>"> | ||||
<input type="hidden" name="cid" value="<?php echo $cid?>"> | <input type="hidden" name="cid" value="<?php echo $cid?>"> | ||||
<input type="hidden" name="dopost" value="save"> | <input type="hidden" name="dopost" value="save"> | ||||
<table width="98%" align="center" id="needset" class="maintable my-3"> | |||||
<table width="98%" align="center" class="maintable my-3"> | |||||
<tr> | <tr> | ||||
<td bgcolor="#f5f5f5" class="admin-td">发布分类文档</td> | <td bgcolor="#f5f5f5" class="admin-td">发布分类文档</td> | ||||
</tr> | </tr> | ||||
@@ -135,7 +135,7 @@ | |||||
</form> | </form> | ||||
<script> | <script> | ||||
function checkSubmit() { | function checkSubmit() { | ||||
if (document.form1.title.value == '') { | |||||
if (document.form1.title.value == "") { | |||||
ShowMsg("文档标题不能为空"); | ShowMsg("文档标题不能为空"); | ||||
return false; | return false; | ||||
} | } | ||||
@@ -24,7 +24,7 @@ | |||||
<input type="hidden" name="id" value="<?php echo $aid;?>"> | <input type="hidden" name="id" value="<?php echo $aid;?>"> | ||||
<input type="hidden" name="sortrank" value="<?php echo $addRow['senddate'];?>"> | <input type="hidden" name="sortrank" value="<?php echo $addRow['senddate'];?>"> | ||||
<input type="hidden" name="dopost" value="save"> | <input type="hidden" name="dopost" value="save"> | ||||
<table width="98%" align="center" id="needset" class="maintable my-3"> | |||||
<table width="98%" align="center" class="maintable my-3"> | |||||
<tr> | <tr> | ||||
<td bgcolor="#f5f5f5" class="admin-td">修改分类文档</td> | <td bgcolor="#f5f5f5" class="admin-td">修改分类文档</td> | ||||
</tr> | </tr> | ||||
@@ -136,7 +136,7 @@ | |||||
</form> | </form> | ||||
<script> | <script> | ||||
function checkSubmit() { | function checkSubmit() { | ||||
if (document.form1.title.value == '') { | |||||
if (document.form1.title.value == "") { | |||||
ShowMsg("文档标题不能为空"); | ShowMsg("文档标题不能为空"); | ||||
document.form1.title.focus(); | document.form1.title.focus(); | ||||
return false; | return false; | ||||
@@ -22,7 +22,7 @@ | |||||
<form name="form1" action="article_add.php" method="post" enctype="multipart/form-data" onSubmit="return checkSubmit()"> | <form name="form1" action="article_add.php" method="post" enctype="multipart/form-data" onSubmit="return checkSubmit()"> | ||||
<input type="hidden" name="channelid" value="<?php echo $channelid?>"> | <input type="hidden" name="channelid" value="<?php echo $channelid?>"> | ||||
<input type="hidden" name="dopost" value="save"> | <input type="hidden" name="dopost" value="save"> | ||||
<table width="98%" align="center" id="needset" class="maintable my-3"> | |||||
<table width="98%" align="center" class="maintable my-3"> | |||||
<tr> | <tr> | ||||
<td bgcolor="#f5f5f5" class="admin-td">发布文档</td> | <td bgcolor="#f5f5f5" class="admin-td">发布文档</td> | ||||
</tr> | </tr> | ||||
@@ -316,9 +316,9 @@ | |||||
</table> | </table> | ||||
</form> | </form> | ||||
<script> | <script> | ||||
var arctype = 'article'; | |||||
var arctype = "article"; | |||||
function checkSubmit() { | function checkSubmit() { | ||||
if (document.form1.title.value == '') { | |||||
if (document.form1.title.value == "") { | |||||
ShowMsg("文档标题不能为空"); | ShowMsg("文档标题不能为空"); | ||||
return false; | return false; | ||||
} | } | ||||
@@ -23,7 +23,7 @@ | |||||
<input type="hidden" name="dopost" value="save"> | <input type="hidden" name="dopost" value="save"> | ||||
<input type="hidden" name="channelid" value="<?php echo $channelid?>"> | <input type="hidden" name="channelid" value="<?php echo $channelid?>"> | ||||
<input type="hidden" name="id" value="<?php echo $aid?>"> | <input type="hidden" name="id" value="<?php echo $aid?>"> | ||||
<table width="98%" align="center" id="needset" class="maintable my-3"> | |||||
<table width="98%" align="center" class="maintable my-3"> | |||||
<tr> | <tr> | ||||
<td bgcolor="#f5f5f5" class="admin-td">修改文档</td> | <td bgcolor="#f5f5f5" class="admin-td">修改文档</td> | ||||
</tr> | </tr> | ||||
@@ -301,9 +301,9 @@ | |||||
</form> | </form> | ||||
<script> | <script> | ||||
var swfu = null; | var swfu = null; | ||||
var arctype = 'article'; | |||||
var arctype = "article"; | |||||
function checkSubmit() { | function checkSubmit() { | ||||
if (document.form1.title.value == '') { | |||||
if (document.form1.title.value == "") { | |||||
ShowMsg("文档标题不能为空"); | ShowMsg("文档标题不能为空"); | ||||
document.form1.title.focus(); | document.form1.title.focus(); | ||||
return false; | return false; | ||||
@@ -352,7 +352,7 @@ | |||||
var surl = document.getElementById("siteurl"); | var surl = document.getElementById("siteurl"); | ||||
var sreid = document.getElementById("reid"); | var sreid = document.getElementById("reid"); | ||||
var mysel = document.getElementById("truepath3"); | var mysel = document.getElementById("truepath3"); | ||||
if (surl.value != "") { | |||||
if (surl.value != '') { | |||||
if (sreid.value == "0" || sreid.value == "") { | if (sreid.value == "0" || sreid.value == "") { | ||||
mysel.checked = true; | mysel.checked = true; | ||||
} | } | ||||
@@ -15,7 +15,7 @@ | |||||
<form name="form1" action="catalog_add.php" method="post"> | <form name="form1" action="catalog_add.php" method="post"> | ||||
<input type="hidden" name="dopost" value="savequick"> | <input type="hidden" name="dopost" value="savequick"> | ||||
<input type="hidden" name="savetype" id="savetype"> | <input type="hidden" name="savetype" id="savetype"> | ||||
<table id="needset" align="center" class="table maintable my-3"> | |||||
<table align="center" class="table maintable my-3"> | |||||
<tr> | <tr> | ||||
<td bgcolor="#f5f5f5" colspan="4">批量添加栏目</td> | <td bgcolor="#f5f5f5" colspan="4">批量添加栏目</td> | ||||
</tr> | </tr> | ||||
@@ -72,7 +72,7 @@ | |||||
</form> | </form> | ||||
<script> | <script> | ||||
function checkSubmit() { | function checkSubmit() { | ||||
if (document.form1.name.value == '') { | |||||
if (document.form1.name.value == "") { | |||||
ShowMsg("自定义表单名称不能为空"); | ShowMsg("自定义表单名称不能为空"); | ||||
return false; | return false; | ||||
} | } | ||||
@@ -126,7 +126,7 @@ | |||||
</form> | </form> | ||||
<script> | <script> | ||||
function checkSubmit() { | function checkSubmit() { | ||||
if (document.form1.name.value == '') { | |||||
if (document.form1.name.value == "") { | |||||
ShowMsg("自定义表单名称不能为空"); | ShowMsg("自定义表单名称不能为空"); | ||||
return false; | return false; | ||||
} | } | ||||
@@ -184,7 +184,7 @@ | |||||
</form> | </form> | ||||
<script> | <script> | ||||
function CheckSubmit() { | function CheckSubmit() { | ||||
if (document.form1.title.value == '') { | |||||
if (document.form1.title.value == "") { | |||||
ShowMsg("请输入自由列表标题"); | ShowMsg("请输入自由列表标题"); | ||||
document.form1.title.focus(); | document.form1.title.focus(); | ||||
return false; | return false; | ||||
@@ -184,7 +184,7 @@ | |||||
</form> | </form> | ||||
<script> | <script> | ||||
function CheckSubmit() { | function CheckSubmit() { | ||||
if (document.form1.title.value == '') { | |||||
if (document.form1.title.value == "") { | |||||
ShowMsg("请输入自由列表标题"); | ShowMsg("请输入自由列表标题"); | ||||
document.form1.title.focus(); | document.form1.title.focus(); | ||||
return false; | return false; | ||||
@@ -92,11 +92,11 @@ | |||||
var str = ''; | var str = ''; | ||||
for (var i = 0; i < document.getElementsByName('aids').length; i++) { | for (var i = 0; i < document.getElementsByName('aids').length; i++) { | ||||
if (document.getElementsByName('aids')[i].checked) { | if (document.getElementsByName('aids')[i].checked) { | ||||
if (str == '') str += document.getElementsByName('aids')[i].value; | |||||
if (str == "") str += document.getElementsByName('aids')[i].value; | |||||
else str += ',' + document.getElementsByName('aids')[i].value; | else str += ',' + document.getElementsByName('aids')[i].value; | ||||
} | } | ||||
} | } | ||||
if (str == '') { | |||||
if (str == "") { | |||||
ShowMsg('您没选择任何文档'); | ShowMsg('您没选择任何文档'); | ||||
return false; | return false; | ||||
} else { | } else { | ||||
@@ -65,7 +65,7 @@ | |||||
</form> | </form> | ||||
<script> | <script> | ||||
function CheckSubmit() { | function CheckSubmit() { | ||||
if (document.form1.title.value == '') { | |||||
if (document.form1.title.value == "") { | |||||
ShowMsg("附件标题不能为空"); | ShowMsg("附件标题不能为空"); | ||||
document.form1.title.focus(); | document.form1.title.focus(); | ||||
return false; | return false; | ||||
@@ -74,7 +74,7 @@ | |||||
</form> | </form> | ||||
<script> | <script> | ||||
function CheckSubmit() { | function CheckSubmit() { | ||||
if (document.form1.title.value == '') { | |||||
if (document.form1.title.value == "") { | |||||
ShowMsg("附件标题不能为空"); | ShowMsg("附件标题不能为空"); | ||||
document.form1.title.focus(); | document.form1.title.focus(); | ||||
return false; | return false; | ||||
@@ -39,7 +39,7 @@ | |||||
<input type="hidden" name="dopost" value="save"> | <input type="hidden" name="dopost" value="save"> | ||||
<input type="hidden" name="channelid" value="<?php echo $channelid?>"> | <input type="hidden" name="channelid" value="<?php echo $channelid?>"> | ||||
<input type="hidden" name="cid" value="<?php echo $cid;?>"> | <input type="hidden" name="cid" value="<?php echo $cid;?>"> | ||||
<table width="98%" align="center" id="needset" class="maintable my-3"> | |||||
<table width="98%" align="center" class="maintable my-3"> | |||||
<tr> | <tr> | ||||
<td bgcolor="#f5f5f5" class="admin-td">发布软件文档</td> | <td bgcolor="#f5f5f5" class="admin-td">发布软件文档</td> | ||||
</tr> | </tr> | ||||
@@ -486,7 +486,7 @@ | |||||
</form> | </form> | ||||
<script> | <script> | ||||
function checkSubmit() { | function checkSubmit() { | ||||
if (document.form1.title.value == '') { | |||||
if (document.form1.title.value == "") { | |||||
ShowMsg("文档标题不能为空"); | ShowMsg("文档标题不能为空"); | ||||
return false; | return false; | ||||
} | } | ||||
@@ -38,7 +38,7 @@ | |||||
<input type="hidden" name="dopost" value="save"> | <input type="hidden" name="dopost" value="save"> | ||||
<input type="hidden" name="channelid" value="<?php echo $channelid?>"> | <input type="hidden" name="channelid" value="<?php echo $channelid?>"> | ||||
<input type="hidden" name="id" value="<?php echo $aid?>"> | <input type="hidden" name="id" value="<?php echo $aid?>"> | ||||
<table width="98%" align="center" id="needset" class="maintable my-3"> | |||||
<table width="98%" align="center" class="maintable my-3"> | |||||
<tr> | <tr> | ||||
<td bgcolor="#f5f5f5" class="admin-td">修改软件文档</td> | <td bgcolor="#f5f5f5" class="admin-td">修改软件文档</td> | ||||
</tr> | </tr> | ||||
@@ -448,7 +448,7 @@ | |||||
</form> | </form> | ||||
<script> | <script> | ||||
function checkSubmit() { | function checkSubmit() { | ||||
if (document.form1.title.value == '') { | |||||
if (document.form1.title.value == "") { | |||||
ShowMsg("文档标题不能为空"); | ShowMsg("文档标题不能为空"); | ||||
document.form1.title.focus(); | document.form1.title.focus(); | ||||
return false; | return false; | ||||
@@ -19,7 +19,7 @@ | |||||
<script src="/static/web/js/admin.main.js"></script> | <script src="/static/web/js/admin.main.js"></script> | ||||
<script> | <script> | ||||
function checkSubmit() { | function checkSubmit() { | ||||
if (document.form1.title.value == '') { | |||||
if (document.form1.title.value == "") { | |||||
ShowMsg("请输入专题标题"); | ShowMsg("请输入专题标题"); | ||||
return false; | return false; | ||||
} | } | ||||
@@ -33,7 +33,7 @@ | |||||
function CheckVal(id) { | function CheckVal(id) { | ||||
var notename = $DE('notename' + id); | var notename = $DE('notename' + id); | ||||
var arcid = $DE('arcid' + id); | var arcid = $DE('arcid' + id); | ||||
if (arcid.value != "") { | |||||
if (arcid.value != '') { | |||||
if (notename.value == "") { | if (notename.value == "") { | ||||
$DE('notename' + id).focus(); | $DE('notename' + id).focus(); | ||||
ShowMsg('请输入' + id + '名称'); | ShowMsg('请输入' + id + '名称'); | ||||
@@ -61,7 +61,7 @@ | |||||
<input type="hidden" name="channelid" value="<?php echo $channelid?>"> | <input type="hidden" name="channelid" value="<?php echo $channelid?>"> | ||||
<input type="hidden" name="arcrank" value="0"> | <input type="hidden" name="arcrank" value="0"> | ||||
<input type="hidden" name="source" value="本站"> | <input type="hidden" name="source" value="本站"> | ||||
<table width="98%" align="center" id="needset" class="maintable my-3"> | |||||
<table width="98%" align="center" class="maintable my-3"> | |||||
<tr> | <tr> | ||||
<td bgcolor="#f5f5f5" class="admin-td">发布专题</td> | <td bgcolor="#f5f5f5" class="admin-td">发布专题</td> | ||||
</tr> | </tr> | ||||
@@ -19,7 +19,7 @@ | |||||
<script src="/static/web/js/admin.main.js"></script> | <script src="/static/web/js/admin.main.js"></script> | ||||
<script> | <script> | ||||
function checkSubmit() { | function checkSubmit() { | ||||
if (document.form1.title.value == '') { | |||||
if (document.form1.title.value == "") { | |||||
ShowMsg("请输入专题标题"); | ShowMsg("请输入专题标题"); | ||||
document.form1.title.focus(); | document.form1.title.focus(); | ||||
return false; | return false; | ||||
@@ -32,12 +32,12 @@ | |||||
} | } | ||||
} | } | ||||
function CheckVal(id) { | function CheckVal(id) { | ||||
var notename = $DE('notename' + id); | |||||
var arcid = $DE('arcid' + id); | |||||
if (arcid.value != "") { | |||||
var notename = $DE("notename" + id); | |||||
var arcid = $DE("arcid" + id); | |||||
if (arcid.value != '') { | |||||
if (notename.value == "") { | if (notename.value == "") { | ||||
$DE('notename' + id).focus(); | |||||
ShowMsg('请输入' + id + '名称'); | |||||
$DE("notename" + id).focus(); | |||||
ShowMsg("请输入" + id + "名称"); | |||||
return false; | return false; | ||||
} | } | ||||
} | } | ||||
@@ -59,7 +59,7 @@ | |||||
<input type="hidden" name="arcrank" value="<?php echo $arcRow['arcrank']?>"> | <input type="hidden" name="arcrank" value="<?php echo $arcRow['arcrank']?>"> | ||||
<input type="hidden" name="source" value="本站"> | <input type="hidden" name="source" value="本站"> | ||||
<input type="hidden" name="dopost" value="save"> | <input type="hidden" name="dopost" value="save"> | ||||
<table width="98%" align="center" id="needset" class="maintable my-3"> | |||||
<table width="98%" align="center" class="maintable my-3"> | |||||
<tr> | <tr> | ||||
<td bgcolor="#f5f5f5" class="admin-td">发布专题</td> | <td bgcolor="#f5f5f5" class="admin-td">发布专题</td> | ||||
</tr> | </tr> | ||||
@@ -80,7 +80,7 @@ | |||||
</form> | </form> | ||||
<script> | <script> | ||||
function checkSubmit() { | function checkSubmit() { | ||||
if (document.form1.title.value == '') { | |||||
if (document.form1.title.value == "") { | |||||
ShowMsg("页面名称不能为空"); | ShowMsg("页面名称不能为空"); | ||||
document.form1.title.focus(); | document.form1.title.focus(); | ||||
return false; | return false; | ||||
@@ -84,7 +84,7 @@ | |||||
</form> | </form> | ||||
<script> | <script> | ||||
function checkSubmit() { | function checkSubmit() { | ||||
if (document.form1.title.value == '') { | |||||
if (document.form1.title.value == "") { | |||||
ShowMsg("页面名称不能为空"); | ShowMsg("页面名称不能为空"); | ||||
document.form1.title.focus(); | document.form1.title.focus(); | ||||
return false; | return false; | ||||
@@ -48,7 +48,7 @@ | |||||
foreach($parameters as $parameter) | foreach($parameters as $parameter) | ||||
{ | { | ||||
$parameter = trim($parameter); | $parameter = trim($parameter); | ||||
if ($parameter == '') continue; | |||||
if ($parameter == "") continue; | |||||
else echo $parameter,'<br>'; | else echo $parameter,'<br>'; | ||||
} | } | ||||
echo '</span></div>'.""; | echo '</span></div>'.""; | ||||