📄 admin_setup.asp
字号:
</tr>
<tr class="tdbg" onmouseout="this.style.backgroundColor=''" onmouseover="this.style.backgroundColor='#BFDFFF'">
<td height="25" >图片自动缩小宽度(为零不缩放)</td>
<td height="25" ><input name="show_imgw_num" type="text" id="show_imgw_num" value="<%=rs("show_imgw_num")%>" size="10" maxlength="10">
像素</td>
</tr>
<tr class="tdbg" onmouseout="this.style.backgroundColor=''" onmouseover="this.style.backgroundColor='#BFDFFF'">
<td width="348" height="25" >图片是否随鼠标滚轮缩放:</td>
<td height="25" > <input type="radio" name="show_img_mouse" value=1 <%if rs("show_img_mouse")=1 then response.write "checked"%>>
是 <input type="radio" name="show_img_mouse" value=0 <%if rs("show_img_mouse")=0 then response.write "checked"%>>
否</td>
</tr>
<tr class="tdbg" onmouseout="this.style.backgroundColor=''" onmouseover="this.style.backgroundColor='#BFDFFF'">
<td width="348" height="25" >部分显示日志是否使用htm标记强化过滤:<br>
(若选择此项,所有除图片以外的标记都将被过滤掉)</td>
<td height="25" > <input type="radio" name="is_log_profilt" value=1 <%if rs("is_log_profilt")=1 then response.write "checked"%>>
是 <input type="radio" name="is_log_profilt" value=0 <%if rs("is_log_profilt")=0 then response.write "checked"%>>
否</td>
</tr>
<tr>
<td height="25" colspan="2" class="topbg"><a name="user" id="user"></a><strong>用户选项</strong></td>
</tr>
<tr class="tdbg" onmouseout="this.style.backgroundColor=''" onmouseover="this.style.backgroundColor='#BFDFFF'">
<td width="348" height="25" >是否允许新用户注册:</td>
<td height="25" > <input type="radio" name="is_enreg" value=1 <%if rs("is_enreg")=1 then response.write "checked"%>>
是 <input type="radio" name="is_enreg" value=0 <%if rs("is_enreg")=0 then response.write "checked"%>>
否</td>
</tr>
<tr class="tdbg" onmouseout="this.style.backgroundColor=''" onmouseover="this.style.backgroundColor='#BFDFFF'">
<td width="348" height="25" > <p>新用户注册是否需要管理员认证:<br>
若选择是,则用户必须在通过管理员认证后才能真正成功正式注册用户。</p></td>
<td height="25" > <input type="radio" name="is_admin_chkreg" value=1 <%if rs("is_admin_chkreg")=1 then response.write "checked"%>>
是 <input type="radio" name="is_admin_chkreg" value=0 <%if rs("is_admin_chkreg")=0 then response.write "checked"%>>
否</td>
</tr>
<!--
<tr class="tdbg" onmouseover="this.style.backgroundColor='#BFDFFF'" onmouseout="this.style.backgroundColor=''">
<td height="25" >VIP用户是否能查看密码日志及隐藏日志:</td>
<td height="25" ><input name="is_vip_prosee" type="radio" value=1 <%'if rs("is_vip_prosee")=1 then response.write "checked"%>>
是 <input type="radio" name="is_vip_prosee" value=0 <%'if rs("is_vip_prosee")=0 then response.write "checked"%>>
否</td>
</tr>
<tr> -->
<td height="25" colspan="2" class="topbg"><a name="upload" id="user"></a><strong>上传选项</strong></td>
</tr>
<tr class="tdbg" onmouseover="this.style.backgroundColor='#BFDFFF'" onmouseout="this.style.backgroundColor=''">
<td height="25" >是否允许普通会员上传文件:</td>
<td height="25" ><input type="radio" name="upfile_user_en" value=1 <%if rs("upfile_user_en")=1 then response.write "checked"%>>
是 <input type="radio" name="upfile_user_en" value=0 <%if rs("upfile_user_en")=0 then response.write "checked"%>>
否</td>
</tr>
<tr class="tdbg" onmouseover="this.style.backgroundColor='#BFDFFF'" onmouseout="this.style.backgroundColor=''">
<td height="25" >普通会员上传文件类型:</td>
<td height="25" ><input name="upfile_user_type" type="text" id="upfile_user_type" value="<%=rs("upfile_user_type")%>" size="60" maxlength="200"></td>
</tr>
<tr class="tdbg" onmouseover="this.style.backgroundColor='#BFDFFF'" onmouseout="this.style.backgroundColor=''">
<td height="25" >普通会员上传单个文件大小:</td>
<td height="25" ><input name="upfile_user_onesize" type="text" id="upfile_user_onesize" value="<%=rs("upfile_user_onesize")%>" size="10" maxlength="10">
KB</td>
</tr>
<tr class="tdbg" onmouseover="this.style.backgroundColor='#BFDFFF'" onmouseout="this.style.backgroundColor=''">
<td height="25" >是否允许VIP会员上传文件:</td>
<td height="25" ><input type="radio" name="upfile_vip_en" value=1 <%if rs("upfile_vip_en")=1 then response.write "checked"%>>
是 <input type="radio" name="upfile_vip_en" value=0 <%if rs("upfile_vip_en")=0 then response.write "checked"%>>
否</td>
</tr>
<tr class="tdbg" onmouseover="this.style.backgroundColor='#BFDFFF'" onmouseout="this.style.backgroundColor=''">
<td height="25" >VIP会员上传文件类型:</td>
<td height="25" ><input name="upfile_vip_type" type="text" id="upfile_vip_type" value="<%=rs("upfile_vip_type")%>" size="60" maxlength="200"></td>
</tr>
<tr class="tdbg" onmouseover="this.style.backgroundColor='#BFDFFF'" onmouseout="this.style.backgroundColor=''">
<td height="25" >VIP会员上传单个文件大小:</td>
<td height="25" ><input name="upfile_vip_onesize" type="text" id="upfile_vip_onesize" value="<%=rs("upfile_vip_onesize")%>" size="10" maxlength="10">
KB</td>
</tr>
<tr class="tdbg" onmouseover="this.style.backgroundColor='#BFDFFF'" onmouseout="this.style.backgroundColor=''">
<td height="25" >是否允许前台管理员上传文件:</td>
<td height="25" ><input type="radio" name="upfile_admin_en" value=1 <%if rs("upfile_admin_en")=1 then response.write "checked"%>>
是 <input type="radio" name="upfile_admin_en" value=0 <%if rs("upfile_admin_en")=0 then response.write "checked"%>>
否</td>
</tr>
<tr class="tdbg" onmouseover="this.style.backgroundColor='#BFDFFF'" onmouseout="this.style.backgroundColor=''">
<td height="25" >前台管理员上传文件类型:</td>
<td height="25" ><input name="upfile_admin_type" type="text" id="upfile_admin_type" value="<%=rs("upfile_admin_type")%>" size="60" maxlength="200"></td>
</tr>
<tr class="tdbg" onmouseover="this.style.backgroundColor='#BFDFFF'" onmouseout="this.style.backgroundColor=''">
<td height="25" >前台管理员上传单个文件大小:</td>
<td height="25" ><input name="upfile_admin_onesize" type="text" id="upfile_admin_onesize" value="<%=rs("upfile_admin_onesize")%>" size="10" maxlength="10">
KB</td>
</tr>
<tr class="tdbg" onmouseover="this.style.backgroundColor='#BFDFFF'" onmouseout="this.style.backgroundColor=''">
<td height="25" >普通会员上传空间大小:</td>
<td height="25" ><input name="upfile_user_maxsize" type="text" id="upfile_user_maxsize" value="<%=rs("upfile_user_maxsize")%>" size="10" maxlength="10">
KB</td>
</tr>
<tr class="tdbg" onmouseover="this.style.backgroundColor='#BFDFFF'" onmouseout="this.style.backgroundColor=''">
<td height="25" >VIP会员上传空间大小:</td>
<td height="25" ><input name="upfile_vip_maxsize" type="text" id="upfile_vip_maxsize" value="<%=rs("upfile_vip_maxsize")%>" size="10" maxlength="10">
KB</td>
</tr>
<tr class="tdbg" onmouseover="this.style.backgroundColor='#BFDFFF'" onmouseout="this.style.backgroundColor=''">
<td height="25" >前台管理员上传空间大小:</td>
<td height="25" ><input name="upfile_admin_maxsize" type="text" id="upfile_admin_maxsize" value="<%=rs("upfile_admin_maxsize")%>" size="10" maxlength="10">
KB</td>
</tr>
<tr class="tdbg" onmouseover="this.style.backgroundColor='#BFDFFF'" onmouseout="this.style.backgroundColor=''">
<td height="25" ><p>选取上传组件:<br>
(可以到<a href="http://www.oblog.cn" target="_blank">http://www.oblog.cn</a>下载Aspupload3.0组件)
</p></td>
<td height="25" ><select name="upset_uptype" id="upset_uptype" onChange="chkselect(options[selectedIndex].value,'know2');">
<option value="999">关闭
<option value="0">无组件上传类
<option value="1">Aspupload3.0组件
<option value="2">SA-FileUp 4.0组件 </select> <div id="know2"></div></td>
</tr>
<tr class="tdbg" onmouseover="this.style.backgroundColor='#BFDFFF'" onmouseout="this.style.backgroundColor=''">
<td height="25" >图片缩略图及水印设置开关:<br>
(服务器需安装aspjepg组件,可到<a href="http://www.oblog.cn" target="_blank">http://www.oblog.cn</a>下载)
</td>
<td height="25" ><SELECT name="upset_isDraw" id="upset_isDraw">
<OPTION value="0" >关闭缩略图及水印效果</OPTION>
<OPTION value="1">开启缩略图及水印文字效果(推荐)</OPTION>
<OPTION value="2">开启缩略图及水印图片效果</OPTION>
</SELECT></br>
<%If IsObjInstalled("Persits.Jpeg") Then Response.Write "aspjepg组件<font color=red><b>√</b>服务器支持!</font>" Else Response.Write "aspjepg组件<b>×</b>服务器不支持!" %> </td>
</tr>
<tr class="tdbg" onmouseover="this.style.backgroundColor='#BFDFFF'" onmouseout="this.style.backgroundColor=''">
<td height="25" >上传图片添加水印文字信息(可为空或0):</td>
<td height="25" ><INPUT TYPE="text" NAME="upset_Drawtext" size=40 value="<%=rs("upset_Drawtext")%>"></td>
</tr>
<tr class="tdbg" onmouseover="this.style.backgroundColor='#BFDFFF'" onmouseout="this.style.backgroundColor=''">
<td height="25" >上传添加水印字体大小:</td>
<td height="25" > <INPUT TYPE="text" NAME="upset_Drawfontsize" size=10 value="<%=rs("upset_Drawfontsize")%>">
<b>px</b> </td>
</tr>
<tr class="tdbg" onmouseover="this.style.backgroundColor='#BFDFFF'" onmouseout="this.style.backgroundColor=''">
<td height="25" >上传添加水印字体颜色:</td>
<td height="25" ><INPUT TYPE="text" NAME="upset_Drawcolor" ID="d_upset_Drawcolor" size=10 value="<%if rs("upset_Drawcolor")="" then response.Write("#FFFFFF") else response.Write(rs("upset_Drawcolor"))%>">
<img border=0 id="s_upset_Drawcolor" src="images/rect.gif" style="cursor:pointer;background-Color:<%=rs("upset_Drawcolor")%>;" onclick="SelectColor('upset_Drawcolor');" title="选取颜色!">
</td>
</tr>
<tr class="tdbg" onmouseover="this.style.backgroundColor='#BFDFFF'" onmouseout="this.style.backgroundColor=''">
<td height="25" >上传添加水印字体名称:</td>
<td height="25" ><SELECT name="upset_Drawfont" id="upset_Drawfont">
<option value="宋体">宋体</option>
<option value="楷体_GB2312">楷体</option>
<option value="新宋体">新宋体</option>
<option value="黑体">黑体</option>
<option value="隶书">隶书</option>
<OPTION value="Andale Mono" selected>Andale Mono</OPTION>
<OPTION value=Arial>Arial</OPTION>
<OPTION value="Arial Black">Arial Black</OPTION>
<OPTION value="Book Antiqua">Book Antiqua</OPTION>
<OPTION value="Century Gothic">Century Gothic</OPTION>
<OPTION value="Comic Sans MS">Comic Sans MS</OPTION>
<OPTION value="Courier New">Courier New</OPTION>
<OPTION value=Georgia>Georgia</OPTION>
<OPTION value=Impact>Impact</OPTION>
<OPTION value=Tahoma>Tahoma</OPTION>
<OPTION value="Times New Roman" >Times New Roman</OPTION>
<OPTION value="Trebuchet MS">Trebuchet MS</OPTION>
<OPTION value="Script MT Bold">Script MT Bold</OPTION>
<OPTION value=Stencil>Stencil</OPTION>
<OPTION value=Verdana>Verdana</OPTION>
<OPTION value="Lucida Console">Lucida Console</OPTION>
</SELECT></td>
</tr>
<tr class="tdbg" onmouseover="this.style.backgroundColor='#BFDFFF'" onmouseout="this.style.backgroundColor=''">
<td height="25" >上传水印字体是否粗体:</td>
<td height="25" ><SELECT name="upset_DrawFontBold" id="upset_DrawFontBold">
<OPTION value=0>否</OPTION>
<OPTION value=1>是</OPTION>
</SELECT></td>
</tr>
<tr class="tdbg" onmouseover="this.style.backgroundColor='#BFDFFF'" onmouseout="this.style.backgroundColor=''">
<td height="25" >上传图片添加水印LOGO图片信息(可为空或0):<br>
填写LOGO的图片相对路径</td>
<td height="25" ><INPUT TYPE="text" NAME="upset_Drawpic" size=40 value="<%=rs("upset_Drawpic")%>"></td>
</tr>
<tr class="tdbg" onmouseover="this.style.backgroundColor='#BFDFFF'" onmouseout="this.style.backgroundColor=''">
<td height="25" >上传图片添加水印透明度:</td>
<td height="25" ><INPUT TYPE="text" NAME="upset_DrawGraph" size=10 value="<%=rs("upset_DrawGraph")%>">
如60%请填写0.6 </td>
</tr>
<tr class="tdbg" onmouseover="this.style.backgroundColor='#BFDFFF'" onmouseout="this.style.backgroundColor=''">
<td height="25" >水印图片去除底色:<br>
保留为空则水印图片不去除底色。</td>
<td height="25" ><INPUT TYPE="text" NAME="upset_Drawpiccolor" ID="d_upset_Drawpiccolor" size=10 value="<%=rs("upset_Drawpiccolor")%>">
<img border=0 id="s_upset_Drawpiccolor" src="images/rect.gif" style="cursor:pointer;background-Color:<%=rs("upset_Drawpiccolor")%>;" onclick="SelectColor('upset_Drawpiccolor');" title="选取颜色!">
</td>
</tr>
<tr class="tdbg" onmouseover="this.style.backgroundColor='#BFDFFF'" onmouseout="this.style.backgroundColor=''">
<td height="25" >水印文字或图片的长宽区域定义:<br>
如水印图片的宽度和高度。</td>
<td height="25" >宽度:
<INPUT TYPE="text" NAME="upset_DrawWidth" size=10 value="<%=rs("upset_DrawWidth")%>">
象素 高度:
<INPUT TYPE="text" NAME="upset_DrawHight" size=10 value="<%=rs("upset_DrawHight")%>">
象素 </td>
</tr>
<tr class="tdbg" onmouseover="this.style.backgroundColor='#BFDFFF'" onmouseout="this.style.backgroundColor=''">
<td height="25" >上传图片添加水印LOGO位置坐标 :</td>
<td height="25" ><SELECT NAME="upset_DrawXYType" id="upset_DrawXYType">
<option value="0" <%if rs("upset_DrawXYType")=0 then response.Write("selected")%>>左上</option>
<option value="1" <%if rs("upset_DrawXYType")=1 then response.Write("selected")%>>左下</option>
<option value="2" <%if rs("upset_DrawXYType")=2 then response.Write("selected")%>>居中</option>
<option value="3" <%if rs("upset_DrawXYType")=3 then response.Write("selected")%>>右上</option>
<option value="4" <%if rs("upset_DrawXYType")=4 then response.Write("selected")%>>右下</option>
</SELECT></td>
</tr>
<tr class="tdbg" onmouseover="this.style.backgroundColor='#BFDFFF'" onmouseout="this.style.backgroundColor=''">
<td height="25" > </td>
<td height="25" > </td>
</tr>
<tr>
<td height="40" colspan="2" align="center" class="tdbg" > <input name="Action" type="hidden" id="Action" value="saveconfig">
<input name="cmdSave" type="submit" id="cmdSave" value=" 保存设置 " > </td>
</tr>
</table>
</form>
<SCRIPT LANGUAGE="JavaScript">
CheckSel('upset_uptype','<%=rs("upset_uptype")%>');
CheckSel('upset_isDraw','<%=rs("upset_isDraw")%>');
CheckSel('upset_Drawfont','<%=rs("upset_Drawfont")%>');
CheckSel('upset_DrawFontBold','<%=rs("upset_DrawFontBold")%>');
CheckSel('upset_DrawXYType','<%=rs("upset_DrawXYType")%>');
function SelectColor(what){
var dEL = document.all("d_"+what);
⌨️ 快捷键说明
复制代码
Ctrl + C
搜索代码
Ctrl + F
全屏模式
F11
切换主题
Ctrl + Shift + D
显示快捷键
?
增大字号
Ctrl + =
减小字号
Ctrl + -