@@ -69,15 +69,15 @@ | |||
background: url(../static/web/img/adtype_act.gif) no-repeat scroll 0px 0px; | |||
} | |||
.i_table { | |||
border: 1px solid #CCC; | |||
border: 1px solid #eee; | |||
} | |||
</style> | |||
</head> | |||
<body> | |||
<form action="ad_add.php" method="post" name="form1" onSubmit="return checkSubmit()"> | |||
<table width="98%" border="0" align="center" cellpadding="3" cellspacing="1" class="table maintable mt-3"> | |||
<table width="98%" border="0" cellpadding="3" cellspacing="1" align="center" class="table maintable mt-3"> | |||
<tr> | |||
<td height="26" background="../static/web/img/tbg.gif" style="padding-left:10px"><a href="ad_main.php">广告管理</a> > 增加广告位置 </td> | |||
<td height="26" background="../static/web/img/tbg.gif" style="padding-left:10px"><a href="ad_main.php">广告管理</a> > 增加广告位置</td> | |||
</tr> | |||
<tr> | |||
<td height="200" bgcolor="#ffffff" valign="top"> | |||
@@ -89,51 +89,54 @@ | |||
<td height="26" colspan="3">广告代码的调用方法:{dede:myad name='广告位标识'/} </td> | |||
</tr> | |||
<tr> | |||
<td height="26" align="center">广告位标识:</td> | |||
<td colspan="2"><input name="tagname" type="text" id="tagname" class='iptxt' /> | |||
(使用英文或数字表示的简洁标识)</td> | |||
<td width="160" height="26">广告位标识:</td> | |||
<td colspan="2"><input name="tagname" type="text" id="tagname" class="iptxt" style="width:260px">(使用英文或数字表示的简洁标识)</td> | |||
</tr> | |||
<tr> | |||
<td height="26" align="center">广告分类:</td> | |||
<td colspan="2"><select name='clsid' style='width:150px' id="clsid"> | |||
<td height="26">广告分类:</td> | |||
<td colspan="2"> | |||
<select name='clsid' id="clsid" style='width:160px'> | |||
<option value='0'>默认分类</option> | |||
<?php echo $option; ?> | |||
</select></td> | |||
</select> | |||
</td> | |||
</tr> | |||
<tr> | |||
<td width="15%" height="26" align="center">广告投放范围:</td> | |||
<td height="26">广告投放范围:</td> | |||
<td colspan="2"><?php | |||
$tl = new TypeLink(0); | |||
$typeOptions = $tl->GetOptionArray(0,0,0); | |||
echo "<select name='typeid' style='width:260px'>\r\n"; | |||
echo "<option value='0' selected>投放在没有同名标识的所有栏目</option>\r\n"; | |||
echo $typeOptions; | |||
echo "</select>"; | |||
?> | |||
$tl = new TypeLink(0); | |||
$typeOptions = $tl->GetOptionArray(0,0,0); | |||
echo "<select name='typeid' style='width:160px'>\r\n"; | |||
echo "<option value='0' selected>投放在没有同名标识的所有栏目</option>\r\n"; | |||
echo $typeOptions; | |||
echo "</select>"; | |||
?> | |||
<br> | |||
(如果在所选栏目找不到指定标识的广告内容,系统会自动搜索父栏目)</td> | |||
(如果在所选栏目找不到指定标识的广告内容,系统会自动搜索父栏目)</td> | |||
</tr> | |||
<tr> | |||
<td height="26" align="center">广告位名称:</td> | |||
<td colspan="2"><input name="adname" type="text" id="adname" size="30" class='iptxt' /></td> | |||
<td height="26">广告位名称:</td> | |||
<td colspan="2"><input name="adname" type="text" id="adname" class="iptxt" style="width:260px"></td> | |||
</tr> | |||
<tr> | |||
<td height="26" align="center">时间限制:</td> | |||
<td colspan="2"><input name="timeset" type="radio" class="np" value="0" checked='1' id="notimelimit"> | |||
<td height="26">时间限制:</td> | |||
<td colspan="2"> | |||
<input name="timeset" type="radio" class="np" value="0" checked='1' id="notimelimit"> | |||
<label for="notimelimit">永不过期</label> | |||
<input type="radio" name="timeset" class="np" value="1" id="timelimit"> | |||
<label for="timelimit">在设内时间内有效</label></td> | |||
<label for="timelimit">在设内时间内有效</label> | |||
</td> | |||
</tr> | |||
<tr> | |||
<td height="26" align="center">投放时间:</td> | |||
<td height="26">投放时间:</td> | |||
<td colspan="2">从 | |||
<input name="starttime" type="text" id="starttime" value="<?php echo $startDay?>" class='iptxt datepicker' /> | |||
<input name="starttime" type="text" id="starttime" value="<?php echo $startDay?>" class='iptxt datepicker' style="width:160px"> | |||
到 | |||
<input name="endtime" type="text" id="endtime" value="<?php echo $endDay?>" class='iptxt datepicker' /> | |||
<input name="endtime" type="text" id="endtime" value="<?php echo $endDay?>" class='iptxt datepicker' style="width:160px"> | |||
</td> | |||
</tr> | |||
<tr> | |||
<td height="80" align="center">广告内容:</td> | |||
<td height="80">广告内容:</td> | |||
<td width="76%"> | |||
<div class="typetab"> | |||
<ul id="changeTab"> | |||
@@ -144,100 +147,93 @@ | |||
</ul> | |||
<div style="clear:both"></div> | |||
</div> | |||
<div id='advert'> | |||
</div> | |||
<div id='advert'></div> | |||
</td> | |||
<td width="9%"></td> | |||
</tr> | |||
<tr> | |||
<td height="80" align="center">过期显示内容:</td> | |||
<td height="80">过期显示内容:</td> | |||
<td><textarea name="expbody" rows="10" id="expbody" style="width:80%;height:100px"></textarea></td> | |||
<td></td> | |||
</tr> | |||
<tr> | |||
<td height="53" align="center"></td> | |||
<td colspan="2"> | |||
<button type="submit" class="btn btn-success">确定</button> | |||
</td> | |||
<td colspan="3" height="36" align="center"><button type="submit" class="btn btn-success">确定</button></td> | |||
</tr> | |||
</table> | |||
</td> | |||
</tr> | |||
</table> | |||
</form> | |||
<div style="display:none" id="formtxt"> | |||
<div class="content" id="code" style="display:none;"> | |||
<div class="content" id="code" style="display:none"> | |||
<table width="80%" cellpadding="3" cellspacing="1" class="i_table"> | |||
<tr class="b"> | |||
<td width="30%">广告代码:<br> | |||
<td width="160">广告代码:<br> | |||
请填写广告代码,支持html代码</td> | |||
<td><textarea name="normbody[htmlcode]" rows="5" cols="50"></textarea></td> | |||
<td><textarea name="normbody[htmlcode]" style="width:380px;height:100px"></textarea></td> | |||
</tr> | |||
</table> | |||
</div> | |||
<div class="content" id="txt" style="display:none;"> | |||
<div class="content" id="txt" style="display:none"> | |||
<table width="80%" cellpadding=3 cellspacing=1 class='i_table'> | |||
<tr> | |||
<td class="b" width="30%">文字内容*</td> | |||
<td class="b"><input type="text" size="70" name="normbody[title]" value="" class='iptxt' /></td> | |||
<td class="b" width="160">文字内容 *</td> | |||
<td class="b"><input type="text" name="normbody[title]" value="" class="iptxt" style="width:360px"></td> | |||
</tr> | |||
<tr> | |||
<td class="b">文字链接*</td> | |||
<td class="b"><input type="text" size="70" name="normbody[link]" value="" class='iptxt' /></td> | |||
<td class="b">文字链接 *</td> | |||
<td class="b"><input type="text" name="normbody[link]" value="" class="iptxt" style="width:360px"></td> | |||
</tr> | |||
<tr> | |||
<td class="b">文字颜色(例如:red,#EF8684)</td> | |||
<td class="b"><input type="text" size="10" name="normbody[color]" value="" class='iptxt' /></td> | |||
<td class="b">文字颜色</td> | |||
<td class="b"><input type="text" name="normbody[color]" value="" class="iptxt" style="width:360px"></td> | |||
</tr> | |||
<tr> | |||
<td class="b">文字大小(例如:4px,12px)</td> | |||
<td class="b"><input type="text" size="10" name="normbody[size]" value="" class='iptxt' /></td> | |||
<td class="b">文字大小</td> | |||
<td class="b"><input type="text" name="normbody[size]" value="" class="iptxt" style="width:360px"></td> | |||
</tr> | |||
</table> | |||
</div> | |||
<div class="content" id="img" style="display:none;"> | |||
<div class="content" id="img" style="display:none"> | |||
<table width="80%" cellpadding=3 cellspacing=1 class='i_table'> | |||
<tr> | |||
<td class="b" width="30%">图片地址*</td> | |||
<td class="b"><input type="text" size="40" name="normbody[url]" value="" class='iptxt' /></td> | |||
<td class="b" width="160">图片地址 *</td> | |||
<td class="b"><input type="text" name="normbody[url]" value="" class="iptxt" style="width:360px"></td> | |||
</tr> | |||
<tr> | |||
<td class="b">图片链接*</td> | |||
<td class="b"><input type="text" size="40" name="normbody[link]" value="" class='iptxt' /></td> | |||
<td class="b">图片链接 *</td> | |||
<td class="b"><input type="text" name="normbody[link]" value="" class="iptxt" style="width:360px"></td> | |||
</tr> | |||
<tr> | |||
<td class="b">图片宽度</td> | |||
<td class="b"><input type="text" size="10" name="normbody[width]" value="" class='iptxt' /></td> | |||
<td class="b"><input type="text" name="normbody[width]" value="" class="iptxt" style="width:360px"></td> | |||
</tr> | |||
<tr> | |||
<td class="b">图片高度</td> | |||
<td class="b"><input type="text" size="10" name="normbody[height]" value="" class='iptxt' /></td> | |||
<td class="b"><input type="text" name="normbody[height]" value="" class="iptxt" style="width:360px"></td> | |||
</tr> | |||
<tr> | |||
<td class="b">图片描述</td> | |||
<td class="b"><input type="text" size="40" name="normbody[descrip]" value="" class='iptxt' /></td> | |||
<td class="b"><input type="text" name="normbody[descrip]" value="" class="iptxt" style="width:360px"></td> | |||
</tr> | |||
</table> | |||
</div> | |||
<div class="content" id="flash" style="display:none;"> | |||
<div class="content" id="flash" style="display:none"> | |||
<table width="80%" cellpadding=3 cellspacing=1 class='i_table'> | |||
<tr> | |||
<td class="b" width="30%">flash链接</td> | |||
<td class="b"><input type="text" size="40" name="normbody[link]" value="" class='iptxt' /></td> | |||
<td class="b" width="160">flash链接</td> | |||
<td class="b"><input type="text" name="normbody[link]" value="" class="iptxt" style="width:360px"></td> | |||
</tr> | |||
<tr> | |||
<td class="b">flash宽度</td> | |||
<td class="b"><input type="text" size="40" name="normbody[width]" value="" class='iptxt' /></td> | |||
<td class="b"><input type="text" name="normbody[width]" value="" class="iptxt" style="width:360px"></td> | |||
</tr> | |||
<tr> | |||
<td class="b">flash高度</td> | |||
<td class="b"><input type="text" size="40" name="normbody[height]" value="" class='iptxt' /></td> | |||
<td class="b"><input type="text" name="normbody[height]" value="" class="iptxt" style="width:360px"></td> | |||
</tr> | |||
</table> | |||
</div> | |||
</div> | |||
<script language="JavaScript"> | |||
(function ($) { | |||
@@ -245,9 +241,7 @@ | |||
$("#advert").html("").html($("#formtxt>#" + idName).html()); | |||
$("#adstyle").val(idName); | |||
} | |||
showcode('code'); | |||
$("#changeTab>li").click(function () { | |||
var tabLi = $(this); | |||
var thistab = tabLi[0].id; | |||
@@ -44,9 +44,9 @@ | |||
</script> | |||
</head> | |||
<body> | |||
<table width="98%" border="0" align="center" cellpadding="3" cellspacing="1" class="table maintable mt-3"> | |||
<table width="98%" border="0" cellpadding="3" cellspacing="1" align="center" class="table maintable mt-3"> | |||
<tr> | |||
<td height="26" background="../static/web/img/tbg.gif" style="padding-left:10px"> <a href="ad_main.php">广告管理</a> > 修改广告 </td> | |||
<td height="26" background="../static/web/img/tbg.gif" style="padding-left:10px"><a href="ad_main.php">广告管理</a> > 修改广告</td> | |||
</tr> | |||
<tr> | |||
<td height="200" bgcolor="#ffffff" valign="top"> | |||
@@ -56,18 +56,19 @@ | |||
<input type='hidden' name='dopost' value='saveedit'> | |||
<input type="hidden" name="_csrf_token" value="<?php echo $GLOBALS['csrf_token']; ?>"> | |||
<tr> | |||
<td height="26" align="center">广告位标识:</td> | |||
<td height="26">广告位标识:</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:150px' id="clsid"> | |||
<td height="26">广告分类:</td> | |||
<td colspan="2"> | |||
<select name='clsid' id="clsid" style='width:160px'> | |||
<option value='0'>默认分类</option> | |||
<?php echo $option; ?> | |||
</select></td> | |||
</tr> | |||
<tr> | |||
<td width="15%" height="26" align="center">广告投放范围:</td> | |||
<td width="15%" height="26">广告投放范围:</td> | |||
<td colspan="2"><?php | |||
$tl = new TypeLink(0); | |||
$typeOptions = $tl->GetOptionArray($row['typeid'],0,0); | |||
@@ -77,43 +78,42 @@ | |||
echo "</select>"; | |||
?> | |||
<br> | |||
(如果在所选栏目找不到指定标识的广告内容,系统会自动搜索父栏目)</td> | |||
(如果在所选栏目找不到指定标识的广告内容,系统会自动搜索父栏目)</td> | |||
</tr> | |||
<tr> | |||
<td height="26" align="center">广告位名称:</td> | |||
<td colspan="2"><input name="adname" type="text" id="adname" size="30" value="<?php echo $row['adname']?>" class='iptxt' /></td> | |||
<td height="26">广告位名称:</td> | |||
<td colspan="2"><input name="adname" type="text" id="adname" value="<?php echo $row['adname']?>" class="iptxt" style="width:260px"></td> | |||
</tr> | |||
<tr> | |||
<td height="26" align="center">时间限制:</td> | |||
<td height="26">时间限制:</td> | |||
<td colspan="2"> | |||
<label><input class="np" name="timeset" type="radio" value="0" | |||
<?php if($row['timeset']==0) echo " checked='1' "; ?> /> | |||
<label><input class="np" name="timeset" type="radio" value="0" <?php if($row['timeset']==0) echo " checked='1' "; ?> /> | |||
永不过期</label> | |||
<label><input class="np" type="radio" name="timeset" value="1" | |||
<?php if($row['timeset']==1) echo " checked='1' "; ?> /> | |||
在设内时间内有效</label></td> | |||
<label><input class="np" type="radio" name="timeset" value="1" <?php if($row['timeset']==1) echo " checked='1' "; ?> /> | |||
在设内时间内有效</label> | |||
</td> | |||
</tr> | |||
<tr> | |||
<td height="26" align="center">投放时间:</td> | |||
<td height="26">投放时间:</td> | |||
<td colspan="2">从 | |||
<input name="starttime" type="text" id="starttime" value="<?php echo GetDateTimeMk($row['starttime'])?>" class='iptxt datepicker' /> | |||
<input name="starttime" type="text" id="starttime" value="<?php echo GetDateTimeMk($row['starttime'])?>" class='iptxt datepicker' style="width:160px"> | |||
到 | |||
<input name="endtime" type="text" id="endtime" value="<?php echo GetDateTimeMk($row['endtime'])?>" class='iptxt datepicker' /></td> | |||
<input name="endtime" type="text" id="endtime" value="<?php echo GetDateTimeMk($row['endtime'])?>" class='iptxt datepicker' style="width:160px"> | |||
</td> | |||
</tr> | |||
<tr> | |||
<td height="80" align="center">正常显示内容:</td> | |||
<td height="80">正常显示内容:</td> | |||
<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> | |||
</tr> | |||
<tr> | |||
<td height="80" align="center">过期显示内容:</td> | |||
<td height="80">过期显示内容:</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 colspan="2"><button type="submit" class="btn btn-success">确定</button></td> | |||
<td colspan="3" height="36" align="center"><button type="submit" class="btn btn-success">确定</button></td> | |||
</tr> | |||
</form> | |||
</table> | |||
@@ -23,13 +23,13 @@ | |||
<table border='0' cellpadding='0' cellspacing='0' class="table table-borderless"> | |||
<tr> | |||
<td width='90' align='center'>请选择分类:</td> | |||
<td width='124'><select name='clsid' style='width:150px' id="clsid"> | |||
<td width='124'><select name='clsid' style='width:160px' id="clsid"> | |||
<option value='0'>默认分类</option> | |||
<?php echo $option; ?> | |||
</select> | |||
</td> | |||
<td width='70'> 关键词:</td> | |||
<td width='185'><input type='text' name='keyword' style='width:150px' /></td> | |||
<td width='185'><input type='text' name='keyword' style='width:160px' /></td> | |||
<td width="130"><button type="submit" class="btn btn-success">搜索</button></td> | |||
</tr> | |||
</table> | |||
@@ -6,7 +6,7 @@ | |||
<link rel="stylesheet" href="../static/web/css/admin.css"> | |||
</head> | |||
<body> | |||
<table width="98%" border="0" align="center" cellpadding="3" cellspacing="1"> | |||
<table width="98%" border="0" align="center" cellpadding="3" cellspacing="1" class="table maintable mt-3"> | |||
<form name="form1" action="adtype_main.php" method="post"> | |||
<tr> | |||
<td height="26" background="../static/web/img/tbg.gif" colspan="7" style="padding-left:10px"><input type="hidden" name="dopost" value="save"/>广告分类管理 <a href="ad_main.php">[广告管理]</a></td> | |||
@@ -27,8 +27,7 @@ | |||
<tr align="center" bgcolor="#ffffff"> | |||
<td height="26" valign="top"><input type="hidden" name="ID_<?php echo $k?>" value="<?php echo $row->id?>"/><?php echo $row->id; ?></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> | |||
<td><input name="check_<?php echo $k?>" type="checkbox" id="check_<?php echo $k?>" value="1" checked='1' class='np' /> | |||
保留 </td> | |||
<td><input name="check_<?php echo $k?>" type="checkbox" id="check_<?php echo $k?>" value="1" checked='1' class='np' /> 保留</td> | |||
</tr> | |||
<?php | |||
} | |||
@@ -39,8 +38,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> | |||
<td align="center" bgcolor="#ffffff"><input name="check_new" type="checkbox" id="check_new" value="1" checked='1' class='np' /> | |||
新增 </td> | |||
<td align="center" bgcolor="#ffffff"><input name="check_new" type="checkbox" id="check_new" value="1" checked='1' class='np' /> 新增 </td> | |||
</tr> | |||
<tr> | |||
<td height="30" colspan="5" align="center" bgcolor="#f8f8f8"><input name="imageField" type="submit" class="np coolbg" value="确定"></td> | |||
@@ -161,7 +161,7 @@ table{border-collapse:separate} | |||
<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> | |||
<td width="160" align="center"><img id="litPic" src="../static/web/img/defaultpic.jpg" style="height:80px"></td> | |||
</tr> | |||
</table> | |||
</td> | |||
@@ -468,7 +468,7 @@ table{border-collapse:separate} | |||
</table> | |||
<table width="98%" border="0" cellspacing="0" cellpadding="0" align="center" bgcolor="#f8f8f8" style="border:1px solid #dee2e6;border-top:0" class="mb-3"> | |||
<tr height="36"> | |||
<td align="center" style="padding:.6rem"> | |||
<td align="center" class="py-3"> | |||
<button type="submit" class="btn btn-success">保存</button> | |||
<button type="button" onClick="location.reload();" class="btn btn-success">重置</button> | |||
</td> | |||
@@ -518,7 +518,7 @@ table{border-collapse:separate} | |||
</table> | |||
<table width="98%" border="0" cellspacing="0" cellpadding="0" align="center" bgcolor="#f8f8f8" style="border:1px solid #dee2e6;border-top:0" class="mb-3"> | |||
<tr height="36"> | |||
<td align="center" style="padding:.6rem"> | |||
<td align="center" class="py-3"> | |||
<button type="submit" class="btn btn-success">保存</button> | |||
<button type="button" onClick="location.reload();" class="btn btn-success">重置</button> | |||
</td> | |||
@@ -358,7 +358,7 @@ table{border-collapse:separate} | |||
</table> | |||
<table width="98%" border="0" cellspacing="0" cellpadding="0" align="center" bgcolor="#f8f8f8" style="border:1px solid #dee2e6;border-top:0" class="mb-3"> | |||
<tr height="36"> | |||
<td align="center" style="padding:.6rem"> | |||
<td align="center" class="py-3"> | |||
<button type="submit" class="btn btn-success">保存</button> | |||
<button type="button" onClick="location.reload();" class="btn btn-success">重置</button> | |||
</td> | |||
@@ -348,7 +348,7 @@ table{border-collapse:separate} | |||
</table> | |||
<table width="98%" border="0" cellspacing="0" cellpadding="0" align="center" bgcolor="#f8f8f8" style="border:1px solid #dee2e6;border-top:0" class="mb-3"> | |||
<tr height="36"> | |||
<td align="center" style="padding:.6rem"> | |||
<td align="center" class="py-3"> | |||
<button type="submit" class="btn btn-success">保存</button> | |||
<button type="button" onClick="location.reload();" class="btn btn-success">重置</button> | |||
</td> | |||
@@ -102,7 +102,7 @@ table{border-collapse:separate} | |||
<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> | |||
<td width="160" align="center"><img id="litPic" src="../static/web/img/defaultpic.jpg" style="height:80px"></td> | |||
</tr> | |||
</table> | |||
</td> | |||
@@ -163,7 +163,7 @@ table{border-collapse:separate} | |||
</table> | |||
<table width="98%" border="0" cellspacing="0" cellpadding="0" align="center" bgcolor="#f8f8f8" style="border:1px solid #dee2e6;border-top:0" class="mb-3"> | |||
<tr height="36"> | |||
<td align="center" style="padding:.6rem"> | |||
<td align="center" class="py-3"> | |||
<button type="submit" class="btn btn-success">保存</button> | |||
<button type="button" onClick="location.reload();" class="btn btn-success">重置</button> | |||
</td> | |||
@@ -165,7 +165,7 @@ table{border-collapse:separate} | |||
</table> | |||
<table width="98%" border="0" cellspacing="0" cellpadding="0" align="center" bgcolor="#f8f8f8" style="border:1px solid #dee2e6;border-top:0" class="mb-3"> | |||
<tr height="36"> | |||
<td align="center" style="padding:.6rem"> | |||
<td align="center" class="py-3"> | |||
<button type="submit" class="btn btn-success">保存</button> | |||
<button type="button" onClick="location.reload();" class="btn btn-success">重置</button> | |||
</td> | |||
@@ -151,7 +151,7 @@ table{border-collapse:separate} | |||
<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> | |||
<td width="160" align="center"><img id="litPic" src="../static/web/img/defaultpic.jpg" style="height:80px"></td> | |||
</tr> | |||
</table> | |||
</td> | |||
@@ -405,7 +405,7 @@ table{border-collapse:separate} | |||
</table> | |||
<table width="98%" border="0" cellspacing="0" cellpadding="0" align="center" bgcolor="#f8f8f8" style="border:1px solid #dee2e6;border-top:0" class="mb-3"> | |||
<tr height="36"> | |||
<td align="center" style="padding:.6rem"> | |||
<td align="center" class="py-3"> | |||
<button type="submit" class="btn btn-success">保存</button> | |||
<button type="button" onClick="location.reload();" class="btn btn-success">重置</button> | |||
</td> | |||
@@ -373,7 +373,7 @@ table{border-collapse:separate} | |||
</table> | |||
<table width="98%" border="0" cellspacing="0" cellpadding="0" align="center" bgcolor="#f8f8f8" style="border:1px solid #dee2e6;border-top:0" class="mb-3"> | |||
<tr height="36"> | |||
<td align="center" style="padding:.6rem"> | |||
<td align="center" class="py-3"> | |||
<button type="submit" class="btn btn-success">保存</button> | |||
<button type="button" onClick="location.reload();" class="btn btn-success">重置</button> | |||
</td> | |||
@@ -10,7 +10,6 @@ | |||
<script src="js/main.js"></script> | |||
<style> | |||
textarea{min-height:30px} | |||
.table{margin-bottom:0} | |||
</style> | |||
<script> | |||
var channelArray = new Array(); | |||
@@ -142,15 +141,15 @@ function CheckCross() { | |||
echo " <input type='hidden' name='sitepath' value='{$myrow['sitepath']}'>"; | |||
} | |||
?> | |||
<td height="95" align="center" bgcolor="#fff"> | |||
<td height="90" align="center" bgcolor="#fff"> | |||
<table width="100%" border="0" cellspacing="0" id="head1" cellpadding="0"> | |||
<tr> | |||
<td colspan="2" bgcolor="#fff" align="left"> | |||
<table border="0" cellpadding="0" cellspacing="0"> | |||
<tr> | |||
<td width="84" height="26" align="center" background="../static/web/img/itemnote1.gif">常规选项</td> | |||
<td width="84" align="center" background="../static/web/img/itemnote2.gif"><a href="javascript:;" onClick="ShowItem2()">高级选项</a></td> | |||
<td width="84" align="center" background="../static/web/img/itemnote2.gif"><a href="javascript:;" onClick="ShowItem3()">栏目内容</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> | |||
<td width="86" align="center" background="../static/web/img/itemnote2.gif"><a href="javascript:;" onClick="ShowItem3()">栏目内容</a></td> | |||
</tr> | |||
</table> | |||
</td> | |||
@@ -161,9 +160,9 @@ function CheckCross() { | |||
<td colspan="2" bgcolor="#fff" style="text-align:left"> | |||
<table height="26" border="0" cellpadding="0" cellspacing="0"> | |||
<tr> | |||
<td width="84" align="center" background="../static/web/img/itemnote2.gif" bgcolor="#F2F7DF"><a href="javascript:;" onClick="ShowItem1()">常规选项</a></td> | |||
<td width="84" align="center" background="../static/web/img/itemnote1.gif">高级选项</td> | |||
<td width="84" align="center" background="../static/web/img/itemnote2.gif"><a href="javascript:;" onClick="ShowItem3()">栏目内容</a></td> | |||
<td width="86" 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> | |||
<td width="86" align="center" background="../static/web/img/itemnote2.gif"><a href="javascript:;" onClick="ShowItem3()">栏目内容</a></td> | |||
</tr> | |||
</table> | |||
</td> | |||
@@ -174,9 +173,9 @@ function CheckCross() { | |||
<td colspan="2" bgcolor="#fff" style="text-align:left"> | |||
<table height="26" border="0" cellpadding="0" cellspacing="0"> | |||
<tr> | |||
<td width="84" align="center" background="../static/web/img/itemnote2.gif" bgcolor="#F2F7DF"><a href="javascript:;" onClick="ShowItem1()">常规选项</a></td> | |||
<td width="84" align="center" background="../static/web/img/itemnote2.gif"><a href="javascript:;" onClick="ShowItem2()">高级选项</td> | |||
<td width="84" align="center" background="../static/web/img/itemnote1.gif">栏目内容</td> | |||
<td width="86" 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/itemnote2.gif"><a href="javascript:;" onClick="ShowItem2()">高级选项</td> | |||
<td width="86" align="center" background="../static/web/img/itemnote1.gif">栏目内容</td> | |||
</tr> | |||
</table> | |||
</td> | |||
@@ -184,14 +183,14 @@ function CheckCross() { | |||
</table> | |||
<table width="100%" border="0" id="needset" cellspacing="0" cellpadding="0" style="text-align:left;border:1px solid #dee2e6;background:#fff" class="table"> | |||
<tr> | |||
<td width="150" class="bline" height="26" style="padding-left:10px">是否支持投稿:</td> | |||
<td width="160" class="bline" height="26" style="padding-left:10px">是否支持投稿:</td> | |||
<td class="bline"> | |||
<label><input type='radio' name='issend' value='0' class='np' <?php if($issend==0) echo " checked='checked' "; ?>> 不支持 </label> | |||
<label><input type='radio' name='issend' value='1' class='np' <?php if($issend==1) echo " checked='checked' "; ?>> 支持</label> | |||
</td> | |||
</tr> | |||
<tr> | |||
<td width="150" class="bline" height="26" style="padding-left:10px">是否隐藏栏目:</td> | |||
<td width="160" class="bline" height="26" style="padding-left:10px">是否隐藏栏目:</td> | |||
<td class="bline"> | |||
<label><input type='radio' name='ishidden' value='0' class='np' checked="checked"> 显示 </label> | |||
<label><input type='radio' name='ishidden' value='1' class='np'> 隐藏</label> | |||
@@ -379,7 +378,7 @@ function CheckCross() { | |||
{ | |||
?> | |||
<tr> | |||
<td class="bline" width="150" height="26" style="padding-left:10px">多站点支持:</td> | |||
<td class="bline" width="160" height="26" style="padding-left:10px">多站点支持:</td> | |||
<td class="bline"> | |||
<label><input name="moresite" type="radio" class="np" value="0" checked="checked"> 不启用 </label> | |||
<label><input type="radio" name="moresite" class="np" value="1"> 启用</label> | |||
@@ -496,9 +495,9 @@ function CheckCross() { | |||
</td> | |||
</tr> | |||
</table> | |||
<table width="100%" border="0" cellspacing="0" cellpadding="0" bgcolor="#f8f8f8" style="border:1px solid #dee2e6;border-top:0" class="mb-3"> | |||
<table width="100%" border="0" cellspacing="0" cellpadding="0" bgcolor="#f8f8f8" style="border:1px solid #dee2e6" class="mb-3"> | |||
<tr> | |||
<td align="center" style="padding:.6rem"> | |||
<td align="center" class="py-3"> | |||
<button type="submit" class="btn btn-success">确定</button> | |||
<a href="catalog_main.php" class="btn btn-success">返回</a> | |||
</td> | |||
@@ -75,7 +75,7 @@ | |||
</script> | |||
<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'> | |||
<link rel="stylesheet" href="../static/web/css/admin.css"> | |||
<style> | |||
.table { | |||
margin: 0; | |||
@@ -105,7 +105,7 @@ | |||
<td height="10"></td> | |||
</tr> | |||
<tr> | |||
<td height="95" align="left" bgcolor="#ffffff"> | |||
<td height="90" align="left" bgcolor="#ffffff"> | |||
<table width="100%" border="0" cellspacing="0" id="head1" cellpadding="0"> | |||
<tr> | |||
<td colspan="2" bgcolor="#ffffff"> | |||
@@ -123,7 +123,7 @@ | |||
<td bgcolor="#f8f8f8"></td> | |||
</tr> | |||
<tr> | |||
<td width="150" class='bline' height="26" style="padding-left:10px">是否支持投稿:</td> | |||
<td width="160" class='bline' height="26" style="padding-left:10px">是否支持投稿:</td> | |||
<td class='bline'> | |||
<label><input type='radio' name='issend' value='0' class='np' /> | |||
不支持</label> | |||
@@ -11,7 +11,6 @@ | |||
<script src="js/main.js"></script> | |||
<style> | |||
textarea{min-height:30px} | |||
.table{margin-bottom:0} | |||
</style> | |||
<script> | |||
var channelArray = new Array(); | |||
@@ -124,15 +123,15 @@ function CheckCross() { | |||
<input type="hidden" name="dopost" value="save"> | |||
<input type="hidden" name="id" value="<?php echo $id; ?>"> | |||
<input type="hidden" name="topid" value="<?php echo $myrow['topid']; ?>"> | |||
<td height="95" align="center" bgcolor="#fff"> | |||
<td height="90" align="center" bgcolor="#fff"> | |||
<table width="100%" border="0" cellspacing="0" id="head1" cellpadding="0"> | |||
<tr> | |||
<td colspan="2" bgcolor="#fff" align="left"> | |||
<table border="0" cellpadding="0" cellspacing="0"> | |||
<tr> | |||
<td width="84" height="26" align="center" background="../static/web/img/itemnote1.gif">常规选项</td> | |||
<td width="84" align="center" background="../static/web/img/itemnote2.gif"><a href="javascript:;" onClick="ShowItem2()">高级选项</a></td> | |||
<td width="84" align="center" background="../static/web/img/itemnote2.gif"><a href="javascript:;" onClick="ShowItem3()">栏目内容</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> | |||
<td width="86" align="center" background="../static/web/img/itemnote2.gif"><a href="javascript:;" onClick="ShowItem3()">栏目内容</a></td> | |||
</tr> | |||
</table> | |||
</td> | |||
@@ -143,9 +142,9 @@ function CheckCross() { | |||
<td colspan="2" bgcolor="#fff" style="text-align:left"> | |||
<table height="26" border="0" cellpadding="0" cellspacing="0"> | |||
<tr> | |||
<td width="84" align="center" background="../static/web/img/itemnote2.gif" bgcolor="#F2F7DF"><a href="javascript:;" onClick="ShowItem1()">常规选项</a></td> | |||
<td width="84" align="center" background="../static/web/img/itemnote1.gif">高级选项</td> | |||
<td width="84" align="center" background="../static/web/img/itemnote2.gif"><a href="javascript:;" onClick="ShowItem3()">栏目内容</a></td> | |||
<td width="86" 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> | |||
<td width="86" align="center" background="../static/web/img/itemnote2.gif"><a href="javascript:;" onClick="ShowItem3()">栏目内容</a></td> | |||
</tr> | |||
</table> | |||
</td> | |||
@@ -156,9 +155,9 @@ function CheckCross() { | |||
<td colspan="2" bgcolor="#fff" style="text-align:left"> | |||
<table height="26" border="0" cellpadding="0" cellspacing="0"> | |||
<tr> | |||
<td width="84" align="center" background="../static/web/img/itemnote2.gif" bgcolor="#F2F7DF"><a href="javascript:;" onClick="ShowItem1()">常规选项</a></td> | |||
<td width="84" align="center" background="../static/web/img/itemnote2.gif"><a href="javascript:;" onClick="ShowItem2()">高级选项</td> | |||
<td width="84" align="center" background="../static/web/img/itemnote1.gif">栏目内容</td> | |||
<td width="86" 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/itemnote2.gif"><a href="javascript:;" onClick="ShowItem2()">高级选项</td> | |||
<td width="86" align="center" background="../static/web/img/itemnote1.gif">栏目内容</td> | |||
</tr> | |||
</table> | |||
</td> | |||
@@ -166,14 +165,14 @@ function CheckCross() { | |||
</table> | |||
<table width="100%" border="0" id="needset" cellspacing="0" cellpadding="0" style="border:1px solid #dee2e6;background:#fff;text-align:left;" class="table"> | |||
<tr> | |||
<td width="150" class="bline" height="26" style="padding-left:10px">是否支持投稿:</td> | |||
<td width="160" class="bline" height="26" style="padding-left:10px">是否支持投稿:</td> | |||
<td class="bline"> | |||
<label><input type='radio' name='issend' value='0' class='np' <?php if($myrow['issend']=="0") echo " checked='1' "; ?>> 不支持 </label> | |||
<label><input type='radio' name='issend' value='1' class='np' <?php if($myrow['issend']=="1") echo " checked='1' "; ?>> 支持</label> | |||
</td> | |||
</tr> | |||
<tr> | |||
<td width="150" class="bline" height="26" style="padding-left:10px">是否隐藏栏目:</td> | |||
<td width="160" class="bline" height="26" style="padding-left:10px">是否隐藏栏目:</td> | |||
<td class="bline"> | |||
<label><input type='radio' name='ishidden' value='0' class='np' <?php if($myrow['ishidden']=="0") echo " checked='1' "; ?>> 显示 </label> | |||
<label><input type='radio' name='ishidden' value='1' class='np' <?php if($myrow['ishidden']=="1") echo " checked='1' "; ?>> 隐藏</label> | |||
@@ -315,7 +314,7 @@ function CheckCross() { | |||
</table> | |||
<table width="100%" border="0" cellspacing="0" cellpadding="0" style="border:1px solid #dee2e6;background:#fff;display:none;text-align:left" id="adset" class="table"> | |||
<tr> | |||
<td class="bline" width="150" height="26" style="padding-left:10px">多站点支持:</td> | |||
<td class="bline" width="160" height="26" style="padding-left:10px">多站点支持:</td> | |||
<td class="bline"> | |||
<label><input name="moresite" type="radio" class="np" value="0" <?php if($myrow['moresite']==0) echo " checked='1' "; ?>> 不启用 </label> | |||
<label><input type="radio" name="moresite" class="np" value="1" <?php if($myrow['moresite']==1) echo " checked='1' "; ?>> 启用</label> | |||
@@ -431,9 +430,9 @@ function CheckCross() { | |||
</td> | |||
</tr> | |||
</table> | |||
<table width="100%" border="0" cellspacing="0" cellpadding="0" bgcolor="#f8f8f8" style="border:1px solid #dee2e6;border-top:0" class="mb-3"> | |||
<table width="100%" border="0" cellspacing="0" cellpadding="0" bgcolor="#f8f8f8" style="border:1px solid #dee2e6" class="mb-3"> | |||
<tr> | |||
<td align="center" style="padding:.6rem"> | |||
<td align="center" class="py-3"> | |||
<button type="submit" class="btn btn-success">确定</button> | |||
<a href="catalog_main.php" class="btn btn-success">返回</a> | |||
</td> | |||
@@ -98,13 +98,13 @@ | |||
<tr> | |||
<td width='160' align='center'>请选择类目:</td> | |||
<td width='160'> | |||
<select name='cid' style='width:150px'> | |||
<select name='cid' style='width:160px'> | |||
<option value='0'>选择分类</option> | |||
<?php echo $optionarr?> | |||
</select> | |||
</td> | |||
<td width='100'>关键词:</td> | |||
<td width='160'><input type='text' name='keyword' value='<?php echo $keyword?>' style='width:150px'></td> | |||
<td width='160'><input type='text' name='keyword' value='<?php echo $keyword?>' style='width:160px'></td> | |||
<td width='100'><button type="submit" class="btn btn-success btn-sm">搜索</button></td> | |||
</tr> | |||
</table> | |||
@@ -23,7 +23,7 @@ | |||
<td><table width="300" border="0" cellpadding="1" cellspacing="1" bgcolor="#996666"> | |||
<tr bgcolor="#ffffff"> | |||
<td width="140" bgcolor="#F3ECDA"> 文档总数:</td> | |||
<td width="150">[<?php echo $row1['dd']?>]</td> | |||
<td width="160">[<?php echo $row1['dd']?>]</td> | |||
</tr> | |||
<tr bgcolor="#ffffff"> | |||
<td bgcolor="#F3ECDA"> 评论总数:</td> | |||
@@ -101,13 +101,9 @@ | |||
<td height="26" colspan="2"> | |||
<table width="100%" border="0" cellspacing="0" cellpadding="0" class="table-borderless"> | |||
<tr> | |||
<td width="30%" height="36"></td> | |||
<td width="15%"> | |||
<td height="36" align="center"> | |||
<button type="submit" name="button" id="button" class='btn btn-success'>确定</button> | |||
</td> | |||
<td width="59%"> | |||
<button type="button" class='btn btn-success' id="button2" onclick="location='diy_main.php';" | |||
>返回</button> | |||
<button type="button" class='btn btn-success' id="button2" onclick="location='diy_main.php';">返回</button> | |||
</td> | |||
</tr> | |||
</table> | |||
@@ -178,13 +178,9 @@ 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="30%" height="36"></td> | |||
<td width="15%"> | |||
<td height="36" align="center"> | |||
<button type="submit" name="button" id="button" class='btn btn-success'>确定</button> | |||
</td> | |||
<td width="59%"> | |||
<button type="button" class='btn btn-success' id="button2" onclick="location='diy_main.php';" | |||
>返回</button> | |||
<button type="button" class='btn btn-success' id="button2" onclick="location='diy_main.php';">返回</button> | |||
</td> | |||
</tr> | |||
</table> | |||
@@ -73,7 +73,7 @@ | |||
<div style="float:right;padding-right:10px"> | |||
<form name='form1'> | |||
关键词: | |||
<input type='text' size='15' name='keyword' style='width:150px'> | |||
<input type='text' size='15' name='keyword' style='width:160px'> | |||
<select name="typeid" style="width:180px"> | |||
<option value="0">请选择</option> | |||
{dede:global.openarray /} | |||
@@ -232,7 +232,7 @@ | |||
</tr> | |||
<tr> | |||
<td height="26" align="left">排列顺序: | |||
<select name="orderby" id="orderby" style="width:120"> | |||
<select name="orderby" id="orderby" style="width:160px"> | |||
<option value="sortrank">置顶权限值</option> | |||
<option value="pubdate" selected>发布时间</option> | |||
<option value="senddate">录入时间</option> | |||
@@ -241,19 +241,18 @@ | |||
<option value="lastpost">最后评论时间</option> | |||
<option value="postnum">评论总数</option> | |||
</select> | |||
<label><input name="order" type="radio" value="desc" checked> | |||
由高到低</label> | |||
<label><input type="radio" name="order" value="asc"> | |||
由低到高</label></td> | |||
由低到高</label> | |||
</td> | |||
</tr> | |||
<tr> | |||
<td height="26" align="left">循环内的单行记录样式(InnerText):[<a href='javascript:ShowHide("innervar");'><img src="../static/web/img/help.gif" border="0">底层变量field参考</a>]</td> | |||
</tr> | |||
<tr> | |||
<td height="99" align="left"> <textarea name="innertext" cols="80" rows="6" id="myinnertext" style="width:80%;height:120px"></textarea> | |||
<script | |||
language="javascript">document.form1.innertext.value = document.getElementById("list4").innerHTML.toLowerCase();</script> | |||
<td height="99" align="left"><textarea name="innertext" cols="80" rows="6" id="myinnertext" style="width:80%;height:120px"></textarea> | |||
<script language="javascript">document.form1.innertext.value = document.getElementById("list4").innerHTML.toLowerCase();</script> | |||
</td> | |||
</tr> | |||
<tr> | |||
@@ -262,17 +261,14 @@ | |||
</td> | |||
</tr> | |||
<tr> | |||
<td height="50" align="left"> | |||
<button name="Submit2" type="submit" id="Submit2" class="btn btn-success">保存一个列表</button> | |||
<td height="36" align="center"> | |||
<button name="Submit2" type="submit" id="Submit2" class="btn btn-success">保存</button> | |||
</td> | |||
</tr> | |||
</table> | |||
</td> | |||
</tr> | |||
</form> | |||
<tr> | |||
<td valign="top" bgcolor="#f8f8f8"></td> | |||
</tr> | |||
</table> | |||
</center> | |||
<script type="text/javascript"> | |||
@@ -70,8 +70,7 @@ | |||
<td height="56"> | |||
<table width="100%" border="0" cellspacing="1" cellpadding="0"> | |||
<tr> | |||
<td height="26" colspan="2" align="left"><img src="../static/web/img/help.gif">自由列表标记的说明:自由列表标记(freelist)的功能基本等同于arclist标记,区别是freelist标记支持分页,这让生成Google | |||
Map、生成按自定义排序规则的文章列表(如按标题拼音部首排序等)等轻松的实现统一化管理,并且自由列是独立编译的,不与其它模板混在一起,这样不会影响系统生成HTML或访问速度</td> | |||
<td height="26" colspan="2" align="left"><img src="../static/web/img/help.gif">自由列表标记的说明:自由列表标记(freelist)的功能基本等同于arclist标记,区别是freelist标记支持分页,这让生成Google Map、生成按自定义排序规则的文章列表(如按标题拼音部首排序等)等轻松的实现统一化管理,并且自由列是独立编译的,不与其它模板混在一起,这样不会影响系统生成HTML或访问速度</td> | |||
</tr> | |||
<tr> | |||
<td width="16%" height="26" align="left">自由列表标题:</td> | |||
@@ -79,14 +78,12 @@ | |||
</tr> | |||
<tr> | |||
<td height="26" align="left">列表HTML存放目录:</td> | |||
<td align="left"><input name="listdir" type="text" id="listdir" style="width:35%" value="<?php echo $row['listdir']?>"> | |||
{listdir}变量的值</td> | |||
<td align="left"><input name="listdir" type="text" id="listdir" style="width:35%" value="<?php echo $row['listdir']?>"> {listdir}变量的值</td> | |||
</tr> | |||
<tr> | |||
<td height="26" align="left">目录默认页名称:</td> | |||
<td align="left"><input name="defaultpage" type="text" id="defaultpage" style="width:35%" value="<?php echo $row['defaultpage']?>"> | |||
<label><input name="nodefault" type="checkbox" id="nodefault" value="1" | |||
<?php if($row['nodefault']==1) echo " checked"; ?>> | |||
<label><input name="nodefault" type="checkbox" id="nodefault" value="1" <?php if($row['nodefault']==1) echo " checked"; ?>> | |||
不使用目录默认主页</label> | |||
</td> | |||
</tr> | |||
@@ -96,8 +93,10 @@ | |||
</tr> | |||
<tr> | |||
<td height="36" align="left">列表模板:</td> | |||
<td align="left"><input name="templet" type="text" id="templet" style="width:300px" value="<?php echo $row['templet']?>"> | |||
<button type="button" name="set4" style="width:60px" onClick="SelectTemplets('form1.templet');" class="btn btn-success btn-sm">浏览</button></td> | |||
<td align="left"> | |||
<input name="templet" type="text" id="templet" style="width:300px" value="<?php echo $row['templet']?>"> | |||
<button type="button" name="set4" style="width:60px" onClick="SelectTemplets('form1.templet');" class="btn btn-success btn-sm">浏览</button> | |||
</td> | |||
</tr> | |||
<tr> | |||
<td height="30" align="left">最大列出页数:</td> | |||
@@ -173,9 +172,7 @@ | |||
if($att==$nrow->att) | |||
{ | |||
echo "<option value='{$nrow->att}' selected>{$nrow->attname}</option>\r\n"; | |||
} | |||
else | |||
{ | |||
} else { | |||
echo "<option value='{$nrow->att}'>{$nrow->attname}</option>\r\n"; | |||
} | |||
} | |||
@@ -187,14 +184,11 @@ | |||
</tr> | |||
<tr> | |||
<td height="26" align="left">每页记录数: | |||
<input name="pagesize" type="text" id="pagesize" value="<?php echo $ctag->GetAtt('pagesize')?>" | |||
size="4"> | |||
<input name="pagesize" type="text" id="pagesize" value="<?php echo $ctag->GetAtt('pagesize')?>" size="4"> | |||
显示列数: | |||
<input name="col" type="text" id="col" value="<?php $col = $ctag->GetAtt('col'); $v = ( empty($col) ? '1' : $col ); echo $v; ?>" | |||
size="4"> | |||
<input name="col" type="text" id="col" value="<?php $col = $ctag->GetAtt('col'); $v = ( empty($col) ? '1' : $col ); echo $v; ?>" size="4"> | |||
标题长度: | |||
<input name="titlelen" type="text" id="titlelen" value="<?php echo $ctag->GetAtt('titlelen')?>" | |||
size="4"> | |||
<input name="titlelen" type="text" id="titlelen" value="<?php echo $ctag->GetAtt('titlelen')?>" size="4"> | |||
(1 字节 = 0.5个中文字)</td> | |||
</tr> | |||
<tr> | |||
@@ -204,14 +198,11 @@ | |||
if($setype=='') $setype = 'X'; | |||
?> | |||
高级筛选: | |||
<label><input name="types[]" type="checkbox" id="type1" value="image" | |||
<?php if(preg_match("#image#i",$setype)) echo ' checked'; ?>> | |||
<label><input name="types[]" type="checkbox" id="type1" value="image" <?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'; ?>> | |||
<label><input name="types[]" type="checkbox" id="type2" value="commend" <?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'; ?>> | |||
<label><input name="types[]" type="checkbox" id="type3" value="spec" class="inputbut" <?php if(preg_match("#spec#i", $setype)) echo ' checked'; ?>> | |||
专题</label> 关键词: | |||
<input name="keywordarc" type="text" id="keywordarc" value="<?php echo $ctag->GetAtt('keyword')?>"> | |||
(","逗号分开) | |||
@@ -230,7 +221,7 @@ | |||
$sortarrs[$vs[0]] = $vs[1]; | |||
} | |||
?> | |||
<select name="orderby" id="orderby" style="width:120"> | |||
<select name="orderby" id="orderby" style="width:160px"> | |||
<?php | |||
echo "<option value=\"$orderby\" selected>{$sortarrs[$orderby]}</option>\r\n"; | |||
?> | |||
@@ -242,17 +233,14 @@ | |||
<option value="lastpost">最后评论时间</option> | |||
<option value="postnum">评论总数</option> | |||
</select> | |||
<label><input name="order" type="radio" value="desc" | |||
<?php if($ctag->GetAtt('orderway')=='desc') echo " checked"; ?>> | |||
<label><input name="order" type="radio" value="desc" <?php if($ctag->GetAtt('orderway')=='desc') echo " checked"; ?>> | |||
由高到低</label> | |||
<label><input type="radio" name="order" value="asc" | |||
<?php if($ctag->GetAtt('orderway')=='asc') echo " checked"; ?>> | |||
由低到高</label></td> | |||
<label><input type="radio" name="order" value="asc" <?php if($ctag->GetAtt('orderway')=='asc') echo " checked"; ?>> | |||
由低到高</label> | |||
</td> | |||
</tr> | |||
<tr> | |||
<td height="26" align="left">循环内的单行记录样式(InnerText):[<img src="../static/web/img/help.gif"><a | |||
href='javascript:ShowHide("innervar");'>底层变量field参考</a>]</td> | |||
<td height="26" align="left">循环内的单行记录样式(InnerText):[<img src="../static/web/img/help.gif"><a href='javascript:ShowHide("innervar");'>底层变量field参考</a>]</td> | |||
</tr> | |||
<tr> | |||
<td height="80" align="left"> | |||
@@ -265,17 +253,14 @@ | |||
</td> | |||
</tr> | |||
<tr> | |||
<td height="50" align="left"> | |||
<button name="Submit2" type="submit" id="Submit2" class="btn btn-success">保存一个列表</button> | |||
<td height="36" align="center"> | |||
<button name="Submit2" type="submit" id="Submit2" class="btn btn-success">保存</button> | |||
</td> | |||
</tr> | |||
</table> | |||
</td> | |||
</tr> | |||
</form> | |||
<tr> | |||
<td valign="top" bgcolor="#f8f8f8"></td> | |||
</tr> | |||
</table> | |||
</center> | |||
<script type="text/javascript"> | |||
@@ -60,15 +60,14 @@ | |||
<td height="26" bgcolor="#ffffff"><img src="../static/web/img/help.gif">提示:图片类型仅支持jpg、png、gif、wbmp格式,flash为.swf格式,视音频和附件为限定扩展名的类型(可在系统参数中修改)</td> | |||
</tr> | |||
<tr> | |||
<td height="69" align="center" valign="top" bgcolor="#ffffff"> | |||
<td height="70" align="center" valign="top" bgcolor="#ffffff"> | |||
<table width="100%" border="0" cellpadding="0" cellspacing="0" class="table table-borderless"> | |||
<form enctype="multipart/form-data" name='form1' action="media_add.php" method="POST" | |||
onSubmit="return CheckSubmit();"> | |||
<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']; ?>"> | |||
<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"> | |||
<td width="160" height="26" bgcolor="#ffffff" class="bline">媒体类型:</td> | |||
<td height="26" bgcolor="#ffffff" class="bline"> | |||
<label><input name="mediatype" type="radio" class="np" value="1" checked='1' /> | |||
图片 </label> | |||
<label><input type="radio" name="mediatype" class="np" value="2"> | |||
@@ -80,51 +79,47 @@ | |||
</td> | |||
</tr> | |||
<tr> | |||
<td height="30" align="center" bgcolor="#ffffff" class='bline'>说明标题:</td> | |||
<td height="26" bgcolor="#ffffff" class='bline' style="text-align:left"> | |||
<td height="26" bgcolor="#ffffff" class="bline">说明标题:</td> | |||
<td height="26" bgcolor="#ffffff" class="bline"> | |||
<input name="title" type="text" id="title" size="30" style="width:300px"> | |||
</td> | |||
</tr> | |||
<tr> | |||
<td height="30" align="center" bgcolor="#ffffff" class='bline'>参数说明:</td> | |||
<td height="30" bgcolor="#ffffff" class='bline' colspan='2' style="text-align:left"> | |||
图片不需要指定“宽”、“高”,其它附加参数仅方便多媒体文件管理,没其它含义 | |||
</td> | |||
<td height="26" bgcolor="#ffffff" class="bline">参数说明:</td> | |||
<td height="26" bgcolor="#ffffff" class="bline" colspan="2">图片不需要指定“宽”、“高”,其它附加参数仅方便多媒体文件管理,没其它含义</td> | |||
</tr> | |||
<tr> | |||
<td height="30" align="center" bgcolor="#ffffff" class='bline'>附加参数:</td> | |||
<td height="26" bgcolor="#ffffff" class='bline' style="text-align:left"> | |||
宽:<input name="mediawidth" type="text" id="mediawidth" size="5">(像素) | |||
高:<input name="mediaheight" type="text" id="mediaheight" size="5">(像素) | |||
播放时间:<input name="playtime" type="text" id="mediawidth3" size="5">(分钟) | |||
<td height="26" bgcolor="#ffffff" class="bline">附加参数:</td> | |||
<td height="26" bgcolor="#ffffff" class="bline"> | |||
宽:<input name="mediawidth" type="text" id="mediawidth" style="width:60px">(像素) | |||
高:<input name="mediaheight" type="text" id="mediaheight" style="width:60px">(像素) | |||
播放时间:<input name="playtime" type="text" id="mediawidth3" style="width:60px">(分钟) | |||
</td> | |||
</tr> | |||
<tr> | |||
<td height="30" align="center" bgcolor="#ffffff" class='bline'>上传文件:</td> | |||
<td bgcolor="#ffffff" class='bline' style="text-align:left">数量: | |||
<input name="picnum" type="text" id="picnum" value="5" size="6"> | |||
<button type="button" name="Submit" class="btn btn-success btn-sm" onClick="MakeUpload()">增加</button> | |||
<td height="26" bgcolor="#ffffff" class="bline">上传文件:</td> | |||
<td bgcolor="#ffffff" class="bline"> | |||
数量:<input name="picnum" type="text" id="picnum" value="5" style="width:60px"> | |||
<button type="button" name="Submit" class="btn btn-success btn-sm" onClick="MakeUpload()">增加</button> | |||
<button type="button" name="Submit" class="btn btn-success btn-sm" onClick="ResetUpload()">恢复</button> | |||
</td> | |||
</tr> | |||
<tr> | |||
<td align="center" bgcolor="#ffffff"></td> | |||
<td bgcolor="#ffffff" style="text-align:left"> | |||
<input name="upfile1" type="file" id="upfile1" style='width:260px' size='30' class='pubinputs' /><br> | |||
<input name="upfile2" type="file" id="upfile2" style='width:260px' size='30' class='pubinputs' /><br> | |||
<input name="upfile3" type="file" id="upfile3" style='width:260px' size='30' class='pubinputs' /><br> | |||
<input name="upfile4" type="file" id="upfile4" style='width:260px' size='30' class='pubinputs' /><br> | |||
<input name="upfile5" type="file" id="upfile5" style='width:260px' size='30' class='pubinputs' /><br> | |||
<td bgcolor="#ffffff"></td> | |||
<td bgcolor="#ffffff"> | |||
<input name="upfile1" type="file" id="upfile1" class='pubinputs' style='width:260px' /><br> | |||
<input name="upfile2" type="file" id="upfile2" class='pubinputs' style='width:260px' /><br> | |||
<input name="upfile3" type="file" id="upfile3" class='pubinputs' style='width:260px' /><br> | |||
<input name="upfile4" type="file" id="upfile4" class='pubinputs' style='width:260px' /><br> | |||
<input name="upfile5" type="file" id="upfile5" class='pubinputs' style='width:260px' /><br> | |||
<span id='uploadfield'></span> | |||
</td> | |||
</tr> | |||
<tr> | |||
<td height="50" colspan="2" bgcolor="#ffffff"> | |||
<table width="60%" border="0" cellspacing="0" cellpadding="0"> | |||
<td height="36" colspan="2" bgcolor="#ffffff"> | |||
<table width="100%" border="0" cellspacing="0" cellpadding="0"> | |||
<tr> | |||
<td align="center"> | |||
<button type="submit" class="btn btn-success">保存</button> | |||
</td> | |||
<td align="center"><button type="submit" class="btn btn-success">保存</button></td> | |||
</tr> | |||
</table> | |||
</td> | |||
@@ -45,7 +45,7 @@ | |||
</td> | |||
</tr> | |||
<tr> | |||
<td height="69" align="center" valign="top" bgcolor="#ffffff"> | |||
<td height="70" align="center" valign="top" bgcolor="#ffffff"> | |||
<table width="100%" border="0" cellpadding="0" cellspacing="0"> | |||
<form enctype="multipart/form-data" name='form1' action="media_edit.php" method="POST" | |||
onSubmit="return CheckSubmit();"> | |||
@@ -53,8 +53,8 @@ | |||
<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> | |||
<td width="85%" height="26" align="left" bgcolor="#ffffff" class='bline'> | |||
<td width="15%" height="30" align="left" bgcolor="#ffffff" class="bline">媒体类型:</td> | |||
<td width="85%" height="26" align="left" bgcolor="#ffffff" class="bline"> | |||
<label><input type="radio" name="mediatype" class="np" value="1" <?php if($myrow['mediatype']==1) echo " checked"; ?>> | |||
图片</label> | |||
<label><input type="radio" name="mediatype" class="np" value="2" <?php if($myrow['mediatype']==2) echo " checked"; ?>> | |||
@@ -66,29 +66,28 @@ | |||
</td> | |||
</tr> | |||
<tr> | |||
<td height="30" align="center" bgcolor="#ffffff" class='bline'>说明标题:</td> | |||
<td height="26" align="left" bgcolor="#ffffff" class='bline'> | |||
<td height="26" bgcolor="#ffffff" class="bline">说明标题:</td> | |||
<td height="26" bgcolor="#ffffff" class="bline"> | |||
<input name="title" type="text" id="title" size="30" value="<?php echo $myrow['title']?>"> | |||
</td> | |||
</tr> | |||
<tr> | |||
<td height="30" align="center" bgcolor="#ffffff" class='bline'>参数说明:</td> | |||
<td height="30" colspan='2' align="left" bgcolor="#ffffff" class='bline'> | |||
图片不需要指定“宽”、“高”,其它附加参数仅方便多媒体文件管理,没其它含义</td> | |||
<td height="26" bgcolor="#ffffff" class="bline">参数说明:</td> | |||
<td height="26" bgcolor="#ffffff" class="bline" colspan="2">图片不需要指定“宽”、“高”,其它附加参数仅方便多媒体文件管理,没其它含义</td> | |||
</tr> | |||
<tr> | |||
<td height="30" align="center" bgcolor="#ffffff" class='bline'>附加参数:</td> | |||
<td height="26" align="left" bgcolor="#ffffff" class='bline'> | |||
<td height="26" bgcolor="#ffffff" class="bline">附加参数:</td> | |||
<td height="26" bgcolor="#ffffff" class="bline"> | |||
宽:<input name="mediawidth" type="text" id="mediawidth" size="5" value="<?php echo $myrow['width']?>">(像素) | |||
高:<input name="mediaheight" type="text" id="mediaheight" size="5" value="<?php echo $myrow['height']?>">(像素) | |||
播放时间:<input name="playtime" type="text" id="playtime" size="5" value="<?php echo $myrow['playtime']?>">(分钟) | |||
</td> | |||
</tr> | |||
<tr> | |||
<td height="30" align="center" bgcolor="#ffffff" class='bline'>原文件:</td> | |||
<td align="left" bgcolor="#ffffff" class='bline'> | |||
<input name="filename" type="text" id="filename" style='width:350px' value="<?php echo $myrow['url']?>"> | |||
<a href='<?php echo $myrow['url']?>' target='_blank'>[查看]</a> | |||
<td height="26" bgcolor="#ffffff" class="bline">原文件:</td> | |||
<td height="26" bgcolor="#ffffff" class="bline"> | |||
<input name="filename" type="text" id="filename" style='width:260px' value="<?php echo $myrow['url']?>"> | |||
<a href="<?php echo $myrow['url']?>" target="_blank">[查看]</a> | |||
</td> | |||
</tr> | |||
<?php | |||
@@ -103,21 +102,21 @@ | |||
else $w = $sizes[0]; | |||
?> | |||
<tr> | |||
<td height="30" align="center" bgcolor="#ffffff" class='bline'>预览:</td> | |||
<td align="left" bgcolor="#ffffff" class='bline'> | |||
<td height="26" bgcolor="#ffffff" class="bline">预览:</td> | |||
<td height="26" bgcolor="#ffffff" class="bline"> | |||
<a href="<?php echo $myrow['url']?>" target="_blank"><img src="<?php echo $myrow['url'].'?q='.time()?>" width="<?php echo $w?>" id="picview"></a> | |||
</td> | |||
</tr> | |||
<?php } } } ?> | |||
<tr> | |||
<td height="26" align="center" bgcolor="#ffffff" class='bline'>修改文件:</td> | |||
<td align="left" bgcolor="#ffffff" class='bline'> | |||
<input name="upfile" type="file" id="upfile" style='width:260px' size='30'> | |||
<td height="26" bgcolor="#ffffff" class="bline">修改文件:</td> | |||
<td height="26" bgcolor="#ffffff" class="bline"> | |||
<input name="upfile" type="file" id="upfile" style='width:260px'> | |||
</td> | |||
</tr> | |||
<tr> | |||
<td height="62" colspan="2" bgcolor="#ffffff" class='bline'> | |||
<table width="60%" border="0" cellspacing="0" cellpadding="0" class="table table-borderless"> | |||
<td height="36" colspan="2" bgcolor="#ffffff" class="bline"> | |||
<table width="100%" border="0" cellspacing="0" cellpadding="0" class="table table-borderless"> | |||
<tr> | |||
<td align="center" height='48'> | |||
<button type="submit" class="btn btn-success">保存</button> | |||
@@ -74,7 +74,7 @@ | |||
?> | |||
</td> | |||
<td> | |||
<div id='manager_<?php echo $v['hash']; ?>'<?php if(!file_exists(DEDEDATA."/module/{$v['hash']}.xml")) echo 'style="display:none;"'?>> | |||
<div id='manager_<?php echo $v['hash']; ?>'<?php if(!file_exists(DEDEDATA."/module/{$v['hash']}.xml")) echo 'style="display:none"'?>> | |||
<a class="btn btn-success btn-sm" href="module_main.php?action=view_developoer&hash=<?php echo $v['hash']; ?>">开发者</a> | |||
<a class="btn btn-success btn-sm" href="module_main.php?action=showreadme&hash=<?php echo $v['hash']; ?>">说明</a> | |||
<a class="btn btn-success btn-sm" href="module_main.php?action=view&hash=<?php echo $v['hash']; ?>">详情</a> | |||
@@ -58,8 +58,7 @@ | |||
<tr> | |||
<td bgcolor="#ffffff"> | |||
名字标识<br> | |||
<span class="STYLE2" id="help2">与文档的模板相关连,建议由英文、数字或下划线组成,因为部份Unix系统无法识别中文文件,频道默认文档模板是 | |||
“default/article_名字标识.htm”,列表模板、封面模板类推 </span> | |||
<span class="STYLE2" id="help2">与文档的模板相关连,建议由英文、数字或下划线组成,因为部份Unix系统无法识别中文文件,频道默认文档模板是“default/article_名字标识.htm”,列表模板、封面模板类推 </span> | |||
</td> | |||
<td bgcolor="#ffffff"> | |||
<input name="nid" type="text" id="nid" value="ch<?php echo $newid; ?>" class="pubinputs"> * | |||
@@ -235,13 +234,10 @@ | |||
</tr> | |||
<tr bgcolor="#f8f8f8"> | |||
<td height="30" colspan="2"> | |||
<table width="100%" border="0" cellspacing="0" cellpadding="0" class="table table-borderless"> | |||
<table width="100%" border="0" cellspacing="0" cellpadding="0" class="table table-borderless mb-0"> | |||
<tr> | |||
<td width="30%"></td> | |||
<td width="15%"> | |||
<td align="center"> | |||
<button type="submit" class="btn btn-success">确定</button> | |||
</td> | |||
<td width="59%"> | |||
<button type="button" onClick="location='mychannel_main.php';" class="btn btn-success">返回</button> | |||
</td> | |||
</tr> | |||
@@ -3,7 +3,7 @@ | |||
<head> | |||
<meta http-equiv="Content-Type" content="text/html; charset=<?php echo $cfg_soft_lang; ?>"> | |||
<title>站内新闻发布</title> | |||
<link rel='stylesheet' href='../static/web/css/admin.css'> | |||
<link rel="stylesheet" href="../static/web/css/admin.css"> | |||
<script> | |||
function checkSubmit() | |||
{ | |||
@@ -4,7 +4,7 @@ | |||
<head> | |||
<meta http-equiv="Content-Type" content="text/html; charset=<?php echo $cfg_soft_lang; ?>"> | |||
<title>站内新闻管理</title> | |||
<link rel='stylesheet' href='../static/web/css/admin.css'> | |||
<link rel="stylesheet" href="../static/web/css/admin.css"> | |||
</head> | |||
<body> | |||
<table width="98%" border="0" align="center" cellpadding="2" cellspacing="1"> | |||
@@ -5,7 +5,7 @@ | |||
<title>增加自定义标记</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'> | |||
<link rel="stylesheet" href="../static/web/css/admin.css"> | |||
<link rel="stylesheet" href="../static/web/css/daterangepicker.css"> | |||
<script src="../static/web/js/jquery.min.js" language="javascript" type="text/javascript"></script> | |||
<script src="../static/web/js/bootstrap.bundle.min.js"></script> | |||
@@ -61,8 +61,7 @@ | |||
<tr> | |||
<td height="200" bgcolor="#ffffff" valign="top"> | |||
<table width="100%" border="0" cellspacing="4" cellpadding="4" class="table table-borderless"> | |||
<form action="mytag_add.php" method="post" enctype="multipart/form-data" name="form1" | |||
onSubmit="return checkSubmit()"> | |||
<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']; ?>"> | |||
<tr> | |||
@@ -3,7 +3,7 @@ | |||
<head> | |||
<meta http-equiv="Content-Type" content="text/html; charset=<?php echo $cfg_soft_lang; ?>"> | |||
<title>修改标记</title> | |||
<link rel='stylesheet' href='../static/web/css/admin.css'> | |||
<link rel="stylesheet" href="../static/web/css/admin.css"> | |||
</head> | |||
<body> | |||
<table width="98%" border="0" align="center" cellpadding="3" cellspacing="1"> | |||
@@ -135,7 +135,7 @@ | |||
</tr> | |||
<tr> | |||
<td height="26">排列顺序: | |||
<select name="orderby" id="orderby" style="width:120"> | |||
<select name="orderby" id="orderby" style="width:160px"> | |||
<option value="sortrank">置顶权限值</option> | |||
<option value="pubdate" selected>发布时间</option> | |||
<option value="senddate">录入时间</option> | |||
@@ -6,7 +6,7 @@ | |||
<title>插件管理</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'> | |||
<link rel="stylesheet" href="../static/web/css/admin.css"> | |||
</head> | |||
<body> | |||
<table width="98%" border="0" align="center" cellpadding="3" cellspacing="1" class="table maintable mt-3"> | |||
@@ -153,7 +153,7 @@ table{border-collapse:separate} | |||
<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> | |||
<td width="160" align="center"><img id="litPic" src="../static/web/img/defaultpic.jpg" style="height:80px"></td> | |||
</tr> | |||
</table> | |||
</td> | |||
@@ -539,7 +539,7 @@ table{border-collapse:separate} | |||
</table> | |||
<table width="98%" border="0" cellspacing="0" cellpadding="0" align="center" bgcolor="#f8f8f8" style="border:1px solid #dee2e6;border-top:0" class="mb-3"> | |||
<tr height="36"> | |||
<td align="center" style="padding:.6rem"> | |||
<td align="center" class="py-3"> | |||
<button type="submit" class="btn btn-success">保存</button> | |||
<button type="button" onClick="location.reload();" class="btn btn-success">重置</button> | |||
</td> | |||
@@ -147,7 +147,7 @@ | |||
</tr> | |||
<tr> | |||
<td height="36" colspan="2" bgcolor="#f8f8f8" align="center"> | |||
<button type="submit" name="Submit" class="btn btn-success">保存设置</button> | |||
<button type="submit" name="Submit" class="btn btn-success">保存设置</button> | |||
<button type="reset" name="rset" id="rset" class="btn btn-success">重置</button> | |||
</td> | |||
</tr> | |||
@@ -495,7 +495,7 @@ table{border-collapse:separate} | |||
</table> | |||
<table width="98%" border="0" cellspacing="0" cellpadding="0" align="center" bgcolor="#f8f8f8" style="border:1px solid #dee2e6;border-top:0" class="mb-3"> | |||
<tr height="36"> | |||
<td align="center" style="padding:.6rem"> | |||
<td align="center" class="py-3"> | |||
<button type="submit" class="btn btn-success">保存</button> | |||
<button type="button" onClick="location.reload();" class="btn btn-success">重置</button> | |||
</td> | |||
@@ -141,7 +141,7 @@ table{border-collapse:separate} | |||
<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> | |||
<td width="160" align="center"><img id="litPic" src="../static/web/img/defaultpic.jpg" style="height:80px"></td> | |||
</tr> | |||
</table> | |||
</td> | |||
@@ -370,7 +370,7 @@ table{border-collapse:separate} | |||
</table> | |||
<table width="98%" border="0" cellspacing="0" cellpadding="0" align="center" bgcolor="#f8f8f8" style="border:1px solid #dee2e6;border-top:0" class="mb-3"> | |||
<tr height="36"> | |||
<td align="center" style="padding:.6rem"> | |||
<td align="center" class="py-3"> | |||
<button type="submit" class="btn btn-success">保存</button> | |||
<button type="button" onClick="location.reload();" class="btn btn-success">重置</button> | |||
</td> | |||
@@ -445,7 +445,7 @@ table{border-collapse:separate} | |||
</table> | |||
<table width="98%" border="0" cellspacing="0" cellpadding="0" align="center" bgcolor="#f8f8f8" style="border:1px solid #dee2e6;border-top:0" class="mb-3"> | |||
<tr height="36"> | |||
<td align="center" style="padding:.6rem"> | |||
<td align="center" class="py-3"> | |||
<button type="submit" class="btn btn-success">保存</button> | |||
<button type="button" onClick="location.reload();" class="btn btn-success">重置</button> | |||
</td> | |||
@@ -5,7 +5,7 @@ | |||
<title>管理员帐号 - 新增帐号</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'> | |||
<link rel="stylesheet" href="../static/web/css/admin.css"> | |||
<script language="javascript" src="../static/web/js/jquery.min.js"></script> | |||
<script language="javascript" src="../static/web/js/bootstrap.bundle.min.js"></script> | |||
<script language="javascript" src="js/main.js"></script> | |||
@@ -5,7 +5,7 @@ | |||
<title>数据库维护</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'> | |||
<link rel="stylesheet" href="../static/web/css/admin.css"> | |||
<script language="javascript" src="../static/web/js/webajax.js"></script> | |||
<script language="javascript"> | |||
var newobj; | |||
@@ -5,7 +5,7 @@ | |||
<title>组权限设置</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'> | |||
<link rel="stylesheet" href="../static/web/css/admin.css"> | |||
</head> | |||
<body> | |||
<table width="98%" border="0" cellpadding="2" cellspacing="1" align="center" class="table maintable mt-3"> | |||
@@ -5,7 +5,7 @@ | |||
<title>组权限设置</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'> | |||
<link rel="stylesheet" href="../static/web/css/admin.css"> | |||
</head> | |||
<body> | |||
<center> | |||
@@ -57,9 +57,6 @@ function resetCookieEncode() { | |||
<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"> | |||
<style> | |||
.table{margin-bottom:0} | |||
</style> | |||
</head> | |||
<body> | |||
<div style="min-width:780px"> | |||
@@ -215,8 +212,8 @@ function resetCookieEncode() { | |||
} | |||
?> | |||
</div> | |||
<table width="100%" border="0" cellspacing="1" cellpadding="1" bgcolor="#f8f8f8" class="table" style="border:none"> | |||
<tr align="center" height="36"> | |||
<table width="100%" border="0" cellspacing="1" cellpadding="1" bgcolor="#f8f8f8" class="table mb-0" style="border:none"> | |||
<tr height="36" align="center" class="py-3"> | |||
<td> | |||
<button type="submit" class="btn btn-success">确定</button> | |||
<button type="button" onClick="document.form1.reset()" class="btn btn-success">重置</button> | |||
@@ -5,7 +5,8 @@ | |||
<title>系统配置变量 - 图片水印设置</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'> | |||
<link rel="stylesheet" href="../static/web/css/admin.css"> | |||
<!-- <style>.table td, .table th{ border: 1px solid #dee2e6;}</style> --> | |||
</head> | |||
<body> | |||
<table width="98%" border="0" align="center" cellpadding="3" cellspacing="1" class="table maintable mt-3"> | |||
@@ -18,139 +19,108 @@ | |||
<tr bgcolor="#ffffff"> | |||
<td width="41%" height="26">上传的图片是否使用图片水印功能:<br> </td> | |||
<td width="59%"> | |||
<label><input class="np" type="radio" value="1" name="get_photo_markup" | |||
<?php if($photo_markup=='1') echo ' checked'; ?>></label> | |||
开启 | |||
<label><input class="np" type="radio" value="0" name="get_photo_markup" | |||
<?php if($photo_markup=='0') echo ' checked'; ?>> | |||
关闭</label> | |||
<label><input class="np" type="radio" value="1" name="get_photo_markup" <?php if($photo_markup=='1') echo ' checked'; ?>> 开启 </label> | |||
<label><input class="np" type="radio" value="0" name="get_photo_markup" <?php if($photo_markup=='0') echo ' checked'; ?>> 关闭</label> | |||
</td> | |||
</tr> | |||
<tr bgcolor="#ffffff"> | |||
<td height="26">采集的图片是否使用图片水印功能:</td> | |||
<td> | |||
<label><input class="np" type="radio" value="1" name="get_photo_markdown" | |||
<?php if($photo_markdown=='1') echo ' checked'; ?>> | |||
开启</label> | |||
<label><input class="np" type="radio" value="0" name="get_photo_markdown" | |||
<?php if($photo_markdown=='0') echo ' checked'; ?>> | |||
关闭</label> | |||
<label><input class="np" type="radio" value="1" name="get_photo_markdown" <?php if($photo_markdown=='1') echo ' checked'; ?>> 开启 </label> | |||
<label><input class="np" type="radio" value="0" name="get_photo_markdown" <?php if($photo_markdown=='0') echo ' checked'; ?>> 关闭</label> | |||
</td> | |||
</tr> | |||
<tr bgcolor="#ffffff"> | |||
<td height="26">选择水印的文件类型:</td> | |||
<td> | |||
<label><input name="get_photo_marktype" type="radio" value="0" | |||
<?php if($photo_marktype == 0) echo 'checked'?>> | |||
gif</label> | |||
| |||
<label><input type="radio" name="get_photo_marktype" value="1" | |||
<?php if($photo_marktype == 1) echo 'checked'?>> png </label> | |||
<label><input type="radio" name="get_photo_marktype" value="2" | |||
<?php if($photo_marktype == 2) echo 'checked'?>> 文字 </label> | |||
<label><input name="get_photo_marktype" type="radio" value="0" <?php if($photo_marktype == 0) echo 'checked'?>> gif</label> | |||
<label><input type="radio" name="get_photo_marktype" value="1" <?php if($photo_marktype == 1) echo 'checked'?>> png </label> | |||
<label><input type="radio" name="get_photo_marktype" value="2" <?php if($photo_marktype == 2) echo 'checked'?>> 文字</label> | |||
</td> | |||
</tr> | |||
<tr bgcolor="#ffffff"> | |||
<td height="26">添加水印的图片大小控制(设置为0为不限):</td> | |||
<td> 宽: | |||
<input name="get_photo_wwidth" type=text id="get_photo_wwidth" value="<?php echo $photo_wwidth?>" size="5"> | |||
高: | |||
<input name="get_photo_wheight" type=text id="get_photo_wheight" value="<?php echo $photo_wheight?>" size="5"> | |||
<td> | |||
宽:<input name="get_photo_wwidth" type=text id="get_photo_wwidth" value="<?php echo $photo_wwidth?>" style="width:60px"> | |||
高:<input name="get_photo_wheight" type=text id="get_photo_wheight" value="<?php echo $photo_wheight?>" style="width:60px"> | |||
</td> | |||
</tr> | |||
<tr bgcolor="#ffffff"> | |||
<td height="26">水印图片文件名(如果不存在,则使用文字水印):</td> | |||
<td><img src="../data/mark/<?php echo $photo_markimg; ?>" alt="dede"></td> | |||
<td><img src="../data/mark/<?php echo $photo_markimg; ?>"></td> | |||
</tr> | |||
<tr bgcolor="#ffffff"> | |||
<td height="26">上传新图片:</td> | |||
<td> | |||
<input name="newimg" type="file" id="newimg" style="width:300px"> | |||
<br> | |||
<?php echo "支持的图片格式:gif png"; ?> </td> | |||
<input name="newimg" type="file" id="newimg" style="width:260px"><br> | |||
<?php echo "支持的图片格式:gif png"; ?> | |||
</td> | |||
</tr> | |||
<tr bgcolor="#ffffff"> | |||
<td height="26">水印图片文字:(请查看data\mark\simhei.ttf字体库是否存在)</td> | |||
<td> <input type="text" name="get_photo_watertext" value="<?php echo $photo_watertext?>"></td> | |||
<td height="26">水印图片文字:(请查看data\mark\simhei.ttf字体库是否存在)</td> | |||
<td><input type="text" name="get_photo_watertext" value="<?php echo $photo_watertext?>" style="width:160px"></td> | |||
</tr> | |||
<tr bgcolor="#ffffff"> | |||
<td height="26">水印图片文字字体大小:</td> | |||
<td> <input name="get_photo_fontsize" type=text id="get_photo_fontsize" value="<?php echo $photo_fontsize?>"> | |||
</td> | |||
<td><input name="get_photo_fontsize" type=text id="get_photo_fontsize" value="<?php echo $photo_fontsize?>" style="width:160px"></td> | |||
</tr> | |||
<tr bgcolor="#ffffff"> | |||
<td height="26">水印图片文字颜色(默认#dc3545为红色):</td> | |||
<td> <input name="get_photo_fontcolor" type=text id="get_photo_fontcolor" value="<?php echo $photo_fontcolor?>"> | |||
</td> | |||
<td><input name="get_photo_fontcolor" type=text id="get_photo_fontcolor" value="<?php echo $photo_fontcolor?>" style="width:160px"></td> | |||
</tr> | |||
<tr bgcolor="#ffffff"> | |||
<td height="26">设置 JPEG 类型的图片附件添加水印后质量参数,范围为 0~100 的整数,数值越大结果图片效果越好,但尺寸也越大</td> | |||
<td> | |||
<input type="text" name="get_photo_marktrans" id="get_photo_marktrans" value="<?php echo $photo_marktrans?>"> | |||
</td> | |||
<td><input type="text" name="get_photo_marktrans" id="get_photo_marktrans" value="<?php echo $photo_marktrans?>" style="width:160px"></td> | |||
</tr> | |||
<tr bgcolor="#ffffff"> | |||
<td height="26">设置 GIF 类型水印图片与原始图片的融合度,水印透明度(0—100,值越小越透明):</td> | |||
<td><input name="get_photo_diaphaneity" type=text id="get_photo_diaphaneity" value="<?php echo $photo_diaphaneity?>"></td> | |||
<td><input name="get_photo_diaphaneity" type=text id="get_photo_diaphaneity" value="<?php echo $photo_diaphaneity?>" style="width:160px"></td> | |||
</tr> | |||
<tr bgcolor="#ffffff"> | |||
<td height="26">水印位置:</td> | |||
<td> | |||
<label><input class="np" type="radio" name="get_photo_waterpos" value="0" | |||
<?php if($photo_waterpos==0) echo ' checked'; ?>> | |||
随机位置</label> | |||
<label><input class="np" type="radio" name="get_photo_waterpos" value="0" <?php if($photo_waterpos==0) echo ' checked'; ?>> 随机位置</label> | |||
<table width="300" border="1" cellspacing="0" cellpadding="0"> | |||
<tr> | |||
<td width="33%"> | |||
<label><input class="np" type="radio" name="get_photo_waterpos" value="1" | |||
<?php if($photo_waterpos==1) echo ' checked'; ?>> | |||
顶部居左</label></td> | |||
<label><input class="np" type="radio" name="get_photo_waterpos" value="1" <?php if($photo_waterpos==1) echo ' checked'; ?>> 顶部居左 </label> | |||
</td> | |||
<td width="33%"> | |||
<label><input class="np" type="radio" name="get_photo_waterpos" value="2" | |||
<?php if($photo_waterpos==2) echo ' checked'; ?>> | |||
顶部居中</label></td> | |||
<label><input class="np" type="radio" name="get_photo_waterpos" value="2" <?php if($photo_waterpos==2) echo ' checked'; ?>> 顶部居中 </label> | |||
</td> | |||
<td> | |||
<label><input class="np" type="radio" name="get_photo_waterpos" value="3" | |||
<?php if($photo_waterpos==3) echo ' checked'; ?>> | |||
顶部居右</label></td> | |||
<label><input class="np" type="radio" name="get_photo_waterpos" value="3" <?php if($photo_waterpos==3) echo ' checked'; ?>> 顶部居右</label> | |||
</td> | |||
</tr> | |||
<tr> | |||
<td> | |||
<label><input class="np" type="radio" name="get_photo_waterpos" value="4" | |||
<?php if($photo_waterpos==4) echo ' checked'; ?>> | |||
左边居中</label></td> | |||
<label><input class="np" type="radio" name="get_photo_waterpos" value="4" <?php if($photo_waterpos==4) echo ' checked'; ?>> 左边居中 </label> | |||
</td> | |||
<td> | |||
<label><input class="np" type="radio" name="get_photo_waterpos" value="5" | |||
<?php if($photo_waterpos==5) echo ' checked'; ?>> | |||
图片中心</label></td> | |||
<label><input class="np" type="radio" name="get_photo_waterpos" value="5" <?php if($photo_waterpos==5) echo ' checked'; ?>> 图片中心 </label> | |||
</td> | |||
<td> | |||
<label><input class="np" type="radio" name="get_photo_waterpos" value="6" | |||
<?php if($photo_waterpos==6) echo ' checked'; ?>> | |||
右边居中</label></td> | |||
<label><input class="np" type="radio" name="get_photo_waterpos" value="6" <?php if($photo_waterpos==6) echo ' checked'; ?>> 右边居中</label></td> | |||
</tr> | |||
<tr> | |||
<td> | |||
<label><input class="np" type="radio" name="get_photo_waterpos" value="7" | |||
<?php if($photo_waterpos==7) echo ' checked'; ?>> | |||
底部居左</label></td> | |||
<label><input class="np" type="radio" name="get_photo_waterpos" value="7" <?php if($photo_waterpos==7) echo ' checked'; ?>> 底部居左 </label> | |||
</td> | |||
<td> | |||
<label><input class="np" type="radio" name="get_photo_waterpos" value="8" | |||
<?php if($photo_waterpos==8) echo ' checked'; ?>> | |||
底部居中</label></td> | |||
<label><input class="np" type="radio" name="get_photo_waterpos" value="8" <?php if($photo_waterpos==8) echo ' checked'; ?>> 底部居中 </label> | |||
</td> | |||
<td> | |||
<label><input name="get_photo_waterpos" type="radio" class="np" value="9" | |||
<?php if($photo_waterpos==9) echo ' checked'; ?>> | |||
底部居右</label></td> | |||
<label><input name="get_photo_waterpos" type="radio" class="np" value="9" <?php if($photo_waterpos==9) echo ' checked'; ?>> 底部居右</label> | |||
</td> | |||
</tr> | |||
</table> | |||
</td> | |||
</tr> | |||
<tr bgcolor="#f8f8f8"> | |||
<td height="36" colspan="2"> | |||
<table width="100%" border="0" cellspacing="0" cellpadding="0" class="table table-borderless"> | |||
<table width="100%" border="0" cellspacing="0" cellpadding="0" class="table table-borderless mb-0"> | |||
<tr> | |||
<td width="7%"></td> | |||
<td width="93%" align="center"> | |||
<td align="center"> | |||
<button type="submit" class="btn btn-success">确定</button> | |||
<button type="reset" class="btn btn-success">重置</button> | |||
</td> | |||
@@ -3,7 +3,7 @@ | |||
<head> | |||
<meta http-equiv="Content-Type" content="text/html; charset=<?php echo $cfg_soft_lang; ?>"> | |||
<title>通行证设置</title> | |||
<link rel='stylesheet' href='../static/web/css/admin.css'> | |||
<link rel="stylesheet" href="../static/web/css/admin.css"> | |||
</head> | |||
<body> | |||
<table width="98%" border="0" cellpadding="2" cellspacing="1" align="center"> | |||
@@ -5,7 +5,7 @@ | |||
<title>SQL命令行工具</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'> | |||
<link rel="stylesheet" href="../static/web/css/admin.css"> | |||
<link rel="stylesheet" href="css/codemirror.css"> | |||
<script type="text/javascript" src="js/codemirror.js"></script> | |||
<script type="text/javascript" src="js/mode/sql/sql.js"></script> | |||
@@ -26,8 +26,8 @@ | |||
</td> | |||
</tr> | |||
<tr> | |||
<td height="200" bgcolor="#ffffff" valign="top"> | |||
<table width="100%" border="0" cellspacing="4" cellpadding="2" class="table table-borderless"> | |||
<td bgcolor="#ffffff" valign="top"> | |||
<table width="100%" border="0" cellspacing="4" cellpadding="2" class="table table-borderless mb-0"> | |||
<form action="sys_sql_query.php" method="post" name="infoform" target="stafrm"> | |||
<input type='hidden' name='dopost' value='viewinfo' /> | |||
<input type="hidden" name="_csrf_token" value="<?php echo $GLOBALS['csrf_token']; ?>"> | |||
@@ -60,19 +60,18 @@ while($row = $dsql->GetArray('t',MYSQL_BOTH)) | |||
</td> | |||
<td width="2%"></td> | |||
<td width="63%" valign="bottom"> | |||
<div style="float:left;margin-right:20px;"> | |||
<div style="float:left;margin-right:20px"> | |||
<button type="Submit" name="Submit1" class="btn btn-success btn-sm" onClick="this.form.dopost.value='opimize';">优化选中表</button> | |||
<br> | |||
<button type="Submit" name="Submit2" class="btn btn-success btn-sm" onClick="this.form.dopost.value='repair';" style="margin-top:6px;">修复选中表</button> | |||
<button type="Submit" name="Submit2" class="btn btn-success btn-sm" onClick="this.form.dopost.value='repair';" style="margin-top:10px">修复选中表</button> | |||
<br> | |||
<button type="Submit" name="Submit3" class="btn btn-success btn-sm" onClick="this.form.dopost.value='viewinfo';" style="margin-top:6px;">查看表结构</button> | |||
<button type="Submit" name="Submit3" class="btn btn-success btn-sm" onClick="this.form.dopost.value='viewinfo';" style="margin-top:10px">查看表结构</button> | |||
</div> | |||
<div style="float:left"> | |||
<button type="Submit" name="Submit5" class="btn btn-success btn-sm" onClick="this.form.dopost.value='opimizeAll';">优化全部表</button> | |||
<br> | |||
<button type="Submit" name="Submit6" class="btn btn-success btn-sm" onClick="this.form.dopost.value='repairAll';" style="margin-top:6px;">修复全部表</button> | |||
<button type="Submit" name="Submit6" class="btn btn-success btn-sm" onClick="this.form.dopost.value='repairAll';" style="margin-top:10px">修复全部表</button> | |||
</div> | |||
</td> | |||
</tr> | |||
</table> | |||
@@ -90,20 +89,17 @@ while($row = $dsql->GetArray('t',MYSQL_BOTH)) | |||
<input type='hidden' name='dopost' value='query'> | |||
<tr> | |||
<td height="26" colspan="2" bgcolor="#f8f8f8">运行SQL命令行: | |||
<label><input name="querytype" type="radio" class="np" value="0"> | |||
单行命令(支持简单查询)</label> | |||
<label><input name="querytype" type="radio" class="np" value="2" checked> | |||
多行命令</label></td> | |||
<label><input name="querytype" type="radio" class="np" value="0"> 单行命令(支持简单查询)</label> | |||
<label><input name="querytype" type="radio" class="np" value="2" checked> 多行命令</label> | |||
</td> | |||
</tr> | |||
<tr> | |||
<td height="118" colspan="2" style="border: 1px solid #DDD;"> | |||
<td height="110" colspan="2" style="border:1px solid #ddd"> | |||
<textarea id="sqlquery" name="sqlquery" cols="60" rows="10" id="sqlquery" style="width:90%"></textarea> | |||
</td> | |||
</tr> | |||
<tr> | |||
<td height="53" align="center"></td> | |||
<td> | |||
<button type="submit" class="btn btn-success">确定</button> | |||
<td colspan="2" height="36" align="center"><button type="submit" class="btn btn-success">确定</button> | |||
</td> | |||
</tr> | |||
</form> | |||
@@ -7,7 +7,7 @@ | |||
<title>单独页面管理</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'> | |||
<link rel="stylesheet" href="../static/web/css/admin.css"> | |||
<style> | |||
ul { | |||
padding: 0px; | |||
@@ -5,7 +5,7 @@ | |||
<title>增加自定义页面</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'> | |||
<link rel="stylesheet" href="../static/web/css/admin.css"> | |||
<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="js/main.js"></script> | |||
@@ -27,35 +27,27 @@ | |||
<body> | |||
<table width="98%" border="0" align="center" cellpadding="3" cellspacing="1" class="table maintable mt-3"> | |||
<tr> | |||
<td height="26" background="../static/web/img/tbg.gif" style="padding-left:10px"> | |||
<a href="templets_one.php">单独页面管理</a> > 增加新页面 | |||
</td> | |||
<td height="26" background="../static/web/img/tbg.gif" style="padding-left:10px"><a href="templets_one.php">单独页面管理</a> > 增加新页面</td> | |||
</tr> | |||
<tr> | |||
<td height="200" bgcolor="#ffffff" valign="top"> | |||
<table width="100%" border="0" cellspacing="4" cellpadding="2" class="table table-borderless"> | |||
<table width="100%" border="0" cellspacing="4" cellpadding="2" class="table table-borderless mb-0"> | |||
<form action="templets_one_add.php" method="post" name="form1" onSubmit="return checkSubmit()"> | |||
<input type='hidden' name='dopost' value='save'> | |||
<tr> | |||
<td colspan="2"> | |||
单独页面管理仅适用于页面较少的情况(建议小于500个页面),大量文档的用文章模型进行管理 | |||
</td> | |||
<td colspan="2">单独页面管理仅适用于页面较少的情况(建议小于500个页面)大量文档的用文章模型进行管理</td> | |||
</tr> | |||
<tr> | |||
<td width="15%" height="26" align="center">页面标题:</td> | |||
<td> | |||
<input name="title" type="text" id="title" size="30"> | |||
</td> | |||
<td><input name="title" type="text" id="title" size="30"></td> | |||
</tr> | |||
<tr> | |||
<td height="26" align="center">页面关键词:</td> | |||
<td><input name="keywords" type="text" id="keywords" size="30"> | |||
(用","分开{dede:field name='keywords'/})</td> | |||
<td><input name="keywords" type="text" id="keywords" size="30">(用","分开{dede:field name='keywords'/})</td> | |||
</tr> | |||
<tr> | |||
<td height="26" align="center">页面摘要信息:</td> | |||
<td><textarea name="description" cols="50" id="description"></textarea> | |||
(100字左右{dede:field name='description'/})</td> | |||
<td><textarea name="description" cols="50" id="description"></textarea>(100字左右{dede:field name='description'/})</td> | |||
</tr> | |||
<tr> | |||
<td height="26" align="center">关联标识:</td> | |||
@@ -72,15 +64,12 @@ | |||
echo "</select>\r\n"; | |||
?> | |||
<br> | |||
(通过这个标识来识别类同页面,模板中用{dede:likesgpage id='标识'/}调用有相同标识的页面) | |||
(通过这个标识来识别类同页面,模板中用{dede:likesgpage id='标识'/}调用有相同标识的页面) | |||
</td> | |||
</tr> | |||
<tr> | |||
<td height="26" align="center">文件名:</td> | |||
<td> | |||
<input name="nfilename" type="text" id="nfilename" value="<?php echo $cfg_arcdir."/newfile{$nowid}.html"; ?>" size="30"> | |||
(相对于CMS安装目录) | |||
</td> | |||
<td><input name="nfilename" type="text" id="nfilename" value="<?php echo $cfg_arcdir.'/newfile{$nowid}.html'; ?>" size="30">(相对于CMS安装目录)</td> | |||
</tr> | |||
<tr> | |||
<td height="26" align="center">模板文件名:</td> | |||
@@ -92,7 +81,8 @@ | |||
<label><input name="ismake" type="radio" value="1"> | |||
含模板标记,要编译</label> | |||
<label><input name="ismake" type="radio" value="0" checked> | |||
不含模板标记,不需要编译</label></td> | |||
不含模板标记,不需要编译</label> | |||
</td> | |||
</tr> | |||
<tr> | |||
<td height="26" colspan="2"> | |||
@@ -107,8 +97,7 @@ | |||
</td> | |||
</tr> | |||
<tr> | |||
<td height="36" align="center"></td> | |||
<td> | |||
<td height="36" colspan="2" align="center"> | |||
<button type="submit" name="button1" id="button1" class="btn btn-success">确定</button> | |||
<button type="button" onClick="document.form1.reset();" class="btn btn-success">重置</button> | |||
</td> | |||
@@ -5,7 +5,7 @@ | |||
<title>修改自定义页面</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'> | |||
<link rel="stylesheet" href="../static/web/css/admin.css"> | |||
<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="js/main.js"></script> | |||
@@ -35,25 +35,22 @@ function checkSubmit() | |||
</td> | |||
</tr> | |||
<tr> | |||
<td height="200" bgcolor="#ffffff" valign="top"> | |||
<table width="100%" border="0" cellspacing="4" cellpadding="2" class="table table-borderless"> | |||
<td height="200" bgcolor="#ffffff" valign="top"> | |||
<table width="100%" border="0" cellspacing="4" cellpadding="2" class="table table-borderless mb-0"> | |||
<form action="templets_one_edit.php" method="post" name="form1" onSubmit="return checkSubmit()"> | |||
<input type='hidden' name='dopost' value='saveedit'> | |||
<input type='hidden' name='aid' value='<?php echo $aid?>'> | |||
<input type='hidden' name='aid' value='<?php echo $aid?>'> | |||
<tr> | |||
<td width="15%" height="26" align="center">页面标题:</td> | |||
<td> | |||
<input name="title" type="text" id="title" size="30" value="<?php echo $row['title']; ?>"></td> | |||
<td><input name="title" type="text" id="title" size="30" value="<?php echo $row['title']; ?>"></td> | |||
</tr> | |||
<tr> | |||
<td height="26" align="center">页面关键词:</td> | |||
<td><input name="keywords" type="text" id="keywords" value="<?php echo $row['keywords']; ?>" size="30"> | |||
(用","分开) </td> | |||
<td><input name="keywords" type="text" id="keywords" value="<?php echo $row['keywords']; ?>" size="30">(用","分开)</td> | |||
</tr> | |||
<tr> | |||
<td height="26" align="center">页面摘要信息:</td> | |||
<td><textarea name="description" cols="50" id="description"><?php echo $row['description']; ?></textarea> | |||
(100字左右)</td> | |||
<td><textarea name="description" cols="50" id="description"><?php echo $row['description']; ?></textarea>(100字左右)</td> | |||
</tr> | |||
<tr> | |||
<td height="26" align="center">关联标识:</td> | |||
@@ -74,16 +71,13 @@ function checkSubmit() | |||
</tr> | |||
<tr> | |||
<td height="26" align="center" bgcolor="#ffffff">模板文件名:</td> | |||
<td bgcolor="#ffffff"> | |||
<input name="template" type="text" id="template" value="<?php echo $row['template']; ?>" size="30"> | |||
</td> | |||
<td bgcolor="#ffffff"><input name="template" type="text" id="template" value="<?php echo $row['template']; ?>" size="30"></td> | |||
</tr> | |||
<tr> | |||
<td height="26" align="center">文件名:</td> | |||
<td> | |||
<input name="oldfilename" type="hidden" id="oldfilename" value="<?php echo $row['filename']; ?>"> | |||
<input name="nfilename" type="text" id="nfilename" size="30" value="<?php echo $row['filename']; ?>"> | |||
(相对于CMS安装目录) | |||
<input name="nfilename" type="text" id="nfilename" size="30" value="<?php echo $row['filename']; ?>">(相对于CMS安装目录) | |||
</td> | |||
</tr> | |||
<tr> | |||
@@ -92,7 +86,8 @@ function checkSubmit() | |||
<label><input name="ismake" type="radio" value="1"<?php if($row['ismake']==1) echo " checked"; ?>> | |||
含模板标记,要编译 </label> | |||
<label><input type="radio" name="ismake" value="0"<?php if($row['ismake']==0) echo " checked"; ?>> | |||
不含模板标记,不需要编译 </label></td> | |||
不含模板标记,不需要编译 </label> | |||
</td> | |||
</tr> | |||
<tr> | |||
<td height="26" colspan="2"> | |||
@@ -105,16 +100,15 @@ function checkSubmit() | |||
</td> | |||
</tr> | |||
<tr> | |||
<td height="36" align="center"></td> | |||
<td> | |||
<button type="submit" name="button1" id="button1" class="btn btn-success">确定</button> | |||
<td height="36" colspan="2" align="center"> | |||
<button type="submit" name="button1" id="button1" class="btn btn-success">确定</button> | |||
<button type="button" onClick="document.form1.reset();" class="btn btn-success">重置</button> | |||
</td> | |||
</tr> | |||
</form> | |||
</table> | |||
</td> | |||
</tr> | |||
</tr> | |||
</table> | |||
</body> | |||
</html> |