📄 publiclogedit.asp
字号:
<input type="radio" name="EmotFace" value="face11.gif" <%if rs("EmotFace")="face11.gif" then response.Write("checked")%>>
<img src="../../sys_images/emot/face11.gif" width="19" height="19">
<input type="radio" name="EmotFace" value="face47.gif" <%if rs("EmotFace")="face47.gif" then response.Write("checked")%>>
<img src="../../sys_images/emot/face47.gif" width="19" height="19">
<input type="radio" name="EmotFace" value="face15.gif" <%if rs("EmotFace")="face15.gif" then response.Write("checked")%>>
<img src="../../sys_images/emot/face15.gif" width="19" height="19">
<input type="radio" name="EmotFace" value="face22.gif" <%if rs("EmotFace")="face22.gif" then response.Write("checked")%>>
<img src="../../sys_images/emot/face22.gif" width="19" height="19">
<input type="radio" name="EmotFace" value="face29.gif" <%if rs("EmotFace")="face29.gif" then response.Write("checked")%>>
<img src="../../sys_images/emot/face29.gif" width="19" height="19">
<input type="radio" name="EmotFace" value="face34.gif" <%if rs("EmotFace")="face34.gif" then response.Write("checked")%>>
<img src="../../sys_images/emot/face34.gif" width="19" height="19"></td>
</tr>
<tr onMouseOver=overColor(this) onMouseOut=outColor(this)>
<td class="hback"><div align="right">图片地址</div></td>
<td class="hback"><table width="100%" border="0" cellspacing="1" cellpadding="5">
<tr>
<td width="29%"><div align="center">
<table width="10" border="0" cellspacing="1" cellpadding="2" class="table">
<tr>
<%if not isnull(rs("pic_1")) then%>
<td class="hback"><img src="<%=rs("pic_1")%>" width="90" height="90" id="pic_p_1"></td>
<%else%>
<td class="hback"><img src="../Images/nopic_supply.gif" width="90" height="90" id="pic_p_1"></td>
<%end if%>
</tr>
</table>
<input name="pic_1" type="hidden" id="pic_1" size="40" value="<%=rs("pic_1")%>">
</div></td>
<td width="36%"><div align="center">
<table width="10" border="0" cellspacing="1" cellpadding="2" class="table">
<tr>
<%if not isnull(rs("pic_2")) then%>
<td class="hback"><img src="<%=rs("pic_2")%>" width="90" height="90" id="pic_p_2"></td>
<%else%>
<td class="hback"><img src="../Images/nopic_supply.gif" width="90" height="90" id="pic_p_2"></td>
<%end if%>
</tr>
</table>
<input name="pic_2" type="hidden" id="pic_2" size="40" value="<%=rs("pic_2")%>">
</div></td>
<td width="35%"><div align="center">
<table width="10" border="0" cellspacing="1" cellpadding="2" class="table">
<tr>
<%if not isnull(rs("pic_3")) then%>
<td class="hback"><img src="<%=rs("pic_3")%>" width="90" height="90" id="pic_p_3"></td>
<%else%>
<td class="hback"><img src="../Images/nopic_supply.gif" width="90" height="90" id="pic_p_3"></td>
<%end if%>
</tr>
</table>
<input name="pic_3" type="hidden" id="pic_3" size="40" value="<%=rs("pic_3")%>">
</div></td>
</tr>
<tr>
<td><div align="center"><img src="../Images/upfile.gif" width="44" height="22" onClick="OpenWindowAndSetValue('../CommPages/SelectPic.asp?CurrPath=<% = str_CurrPath %>&f_UserNumber=<% = session("FS_UserNumber")%>',500,320,window,document.s_form.pic_1);" style="cursor:hand;">
<img src="../Images/del_supply.gif" width="44" height="22" onClick="dels_1();" style="cursor:hand;">
</div></td>
<td><div align="center"><img src="../Images/upfile.gif" width="44" height="22" onClick="OpenWindowAndSetValue('../CommPages/SelectPic.asp?CurrPath=<% = str_CurrPath %>&f_UserNumber=<% = session("FS_UserNumber")%>',500,320,window,document.s_form.pic_2);" style="cursor:hand;">
<img src="../Images/del_supply.gif" width="44" height="22" onClick="dels_2();" style="cursor:hand;">
</div></td>
<td><div align="center"><img src="../Images/upfile.gif" width="44" height="22" onClick="OpenWindowAndSetValue('../CommPages/SelectPic.asp?CurrPath=<% = str_CurrPath %>&f_UserNumber=<% = session("FS_UserNumber")%>',500,320,window,document.s_form.pic_3);" style="cursor:hand;">
<img src="../Images/del_supply.gif" width="44" height="22" onClick="dels_3();" style="cursor:hand;">
</div></td>
</tr>
</table></td>
</tr>
<tr onMouseOver=overColor(this) onMouseOut=outColor(this)>
<td class="hback"><div align="right">日志密码</div></td>
<td class="hback"><input name="Password" type="password" id="Password">
不修改请保持为空</td>
</tr>
<tr onMouseOver=overColor(this) onMouseOut=outColor(this)>
<td class="hback"><div align="right">文件名</div></td>
<td class="hback"><input name="FileName" type="text" id="FileName" value="<%=rs("FileName")%>" readonly maxlength="20" onFocus="Do.these('FileName',function(){return CheckContentLen('FileName','span_FileName','3-18')})" onKeyUp="Do.these('FileName',function(){return CheckContentLen('FileName','span_FileName','3-18')})">
<span id="span_FileName"></span> 扩展名
<select name="FileExtName" id="FileExtName">
<option value="html" <%if rs("FileExtName")="html" then response.Write("selected")%>>html</option>
<option value="htm" <%if rs("FileExtName")="htm" then response.Write("selected")%>>htm</option>
<option value="shtm" <%if rs("FileExtName")="shtm" then response.Write("selected")%>>shtm</option>
<option value="shtml" <%if rs("FileExtName")="shtml" then response.Write("selected")%>>shtml</option>
<option value="asp" <%if rs("FileExtName")="asp" then response.Write("selected")%>>asp</option>
</select></td>
</tr>
<tr onMouseOver=overColor(this) onMouseOut=outColor(this)>
<td class="hback"><div align="right">保存到草稿箱</div></td>
<td class="hback"><input name="isDraft" type="checkbox" id="isDraft" value="1" <%if rs("isDraft")=1 then response.Write("checked")%>></td>
</tr>
<tr onMouseOver=overColor(this) onMouseOut=outColor(this)>
<td class="hback"><div align="right"></div></td>
<td class="hback"><input name="Action" type="hidden" id="Action" value="Edit">
<input name="Id" type="hidden" id="Id" value="<%=rs("iLogID")%>">
<input type="button" name="button1" value="修改" onClick="CheckSubmit(this.form);">
</td>
</tr>
</form>
</table>
<%rs.close:set rs=nothing%>
</td>
</tr>
<tr class="back">
<td height="20" colspan="2" class="xingmu"> <div align="left">
<!--#include file="../Copyright.asp" -->
</div></td>
</tr>
</table>
</body>
</html>
<script language="JavaScript" type="text/JavaScript">
function CheckSubmit(FormObj){
FormObj.Content.value=FS_Edit1.getXHTMLBody();
FormObj.submit();
return true;
}
new Form.Element.Observer($('pic_1'),1,pics_1);
function pics_1()
{
if ($('pic_1').value=='')
{
$('pic_p_1').src='../Images/nopic_supply.gif'
}
else
{
$('pic_p_1').src=$('pic_1').value
}
}
new Form.Element.Observer($('pic_2'),1,pics_2);
function pics_2()
{
if($('pic_2').value=='')
{
$('pic_p_2').src='../Images/nopic_supply.gif'
}
else
{
$('pic_p_2').src=$('pic_2').value
}
}
new Form.Element.Observer($('pic_3'),1,pics_3);
function pics_3()
{
if($('pic_3').value=='')
{
$('pic_p_3').src='../Images/nopic_supply.gif'
}
else
{
$('pic_p_3').src=$('pic_3').value
}
}
function dels_1()
{
document.s_form.pic_1.value=''
}
function dels_2()
{
document.s_form.pic_2.value=''
}
function dels_3()
{
document.s_form.pic_3.value=''
}
</script>
<!--Powsered by Foosun Inc.,Product:FoosunCMS V4.0系列-->
⌨️ 快捷键说明
复制代码
Ctrl + C
搜索代码
Ctrl + F
全屏模式
F11
切换主题
Ctrl + Shift + D
显示快捷键
?
增大字号
Ctrl + =
减小字号
Ctrl + -