📄 gkgl.asp
字号:
<TD class=ico><IMG onmousedown=fSetBorderMouseDown(this) onmouseover=fSetBorderMouseOver(this) title=项目编号 onClick="format('Insertunorderedlist')" onmouseout=fSetBorderMouseOut(this) height=20 src="bj/13.gif" width=20></TD>
<TD class=ico><IMG onmousedown=fSetBorderMouseDown(this) onmouseover=fSetBorderMouseOver(this) title=增加缩进 onClick="format('Outdent')" onmouseout=fSetBorderMouseOut(this) height=20 src="bj/14.gif" width=20></TD>
<TD class=ico><IMG onmousedown=fSetBorderMouseDown(this) onmouseover=fSetBorderMouseOver(this) title=减少缩进 onClick="format('Indent')" onmouseout=fSetBorderMouseOut(this) height=20 src="bj/15.gif" width=20></TD>
<TD class=ico3><IMG onmousedown=fSetBorderMouseDown(this) onmouseover=fSetBorderMouseOver(this) title=字体颜色 onclick=foreColor(event) onmouseout=fSetBorderMouseOut(this) height=20 src="bj/16.gif" width=23></TD>
<TD class=ico2><IMG onmousedown=fSetBorderMouseDown(this) onmouseover=fSetBorderMouseOver(this) title=背景颜色 onclick=backColor(event) onmouseout=fSetBorderMouseOut(this) height=20 src="bj/17.gif" width=24></TD>
<TD class=ico><IMG onmousedown=fSetBorderMouseDown(this) onmouseover=fSetBorderMouseOver(this) title=增加链接 onclick=createLink() onmouseout=fSetBorderMouseOut(this) height=20 src="bj/18.gif" width=21></TD>
<TD class=ico><IMG onmousedown=fSetBorderMouseDown(this) onmouseover=fSetBorderMouseOver(this) title=增加图片 onclick=createImg() onmouseout=fSetBorderMouseOut(this) height=20 src="bj/19.gif" width=21></TD>
<TD class=ico4> </TD>
<TD style="FONT-SIZE: 12px"> </TD>
<TD style="FONT-SIZE: 12px"><input language=javascript onMouseOver=fSetModeTip(this) onClick=setMode(this.checked) onMouseOut=fHideTip() type=checkbox name=switchMode>
HTML</TD>
<TD style="FONT-SIZE: 12px"> </TD>
</TR>
</TBODY>
</TABLE>
</TD>
</TR>
</TBODY>
</TABLE>
<DIV id=dvForeColor style="DISPLAY: none; LEFT: -500px; WIDTH: 100px; POSITION: absolute; TOP: -500px; HEIGHT: 100px">
<TABLE style="BORDER-RIGHT: #888888 1px solid; BORDER-TOP: #888888 1px solid; BORDER-LEFT: #888888 1px solid; BORDER-BOTTOM: #888888 1px solid" height=25 cellSpacing=0 cellPadding=0 width=218>
<TBODY>
<TR>
<TD id=tdView width=110> </TD>
<TD id=tdColorCode align=middle bgColor=#ffffff></TD>
</TR>
</TBODY>
</TABLE>
</DIV>
<DIV id=dvPortrait style="DISPLAY: none; LEFT: -500px; WIDTH: 100px; POSITION: absolute; TOP: -500px; HEIGHT: 100px"></DIV>
<DIV id=fontface style="BORDER-RIGHT: #838383 1px solid; PADDING-RIGHT: 1px; BORDER-TOP: #838383 1px solid; DISPLAY: none; PADDING-LEFT: 1px; Z-INDEX: 99; BACKGROUND: #ffffff; LEFT: 2px; PADDING-BOTTOM: 1px; BORDER-LEFT: #838383 1px solid; WIDTH: 110px; PADDING-TOP: 1px; BORDER-BOTTOM: #838383 1px solid; POSITION: absolute; TOP: 35px; HEIGHT: 270px"><A class=n style="FONT: 12px '宋体'" onClick="format('fontname',this.innerHTML);this.parentNode.style.display='none'" href="javascript:void(0)">宋体</A><A class=n style="FONT: 12px '黑体'" onClick="format('fontname',this.innerHTML);this.parentNode.style.display='none'" href="javascript:void(0)">黑体</A><A class=n style="FONT: 12px '楷体'" onClick="format('fontname',this.innerHTML);this.parentNode.style.display='none'" href="javascript:void(0)">楷体</A><A class=n style="FONT: 12px '隶书'" onClick="format('fontname',this.innerHTML);this.parentNode.style.display='none'" href="javascript:void(0)">隶书</A><A class=n style="FONT: 12px '幼圆'" onClick="format('fontname',this.innerHTML);this.parentNode.style.display='none'" href="###">幼圆</A><A class=n style="FONT: 12px Arial" onClick="format('fontname',this.innerHTML);this.parentNode.style.display='none'" href="###">Arial</A><A class=n style="FONT: 12px 'Arial Narrow'" onClick="format('fontname',this.innerHTML);this.parentNode.style.display='none'" href="###">Arial Narrow</A><A class=n style="FONT: 12px 'Arial Black'" onClick="format('fontname',this.innerHTML);this.parentNode.style.display='none'" href="###">Arial Black</A><A class=n style="FONT: 12px 'Comic Sans MS'" onClick="format('fontname',this.innerHTML);this.parentNode.style.display='none'" href="###">Comic Sans MS</A><A class=n style="FONT: 12px Courier" onClick="format('fontname',this.innerHTML);this.parentNode.style.display='none'" href="###">Courier</A><A class=n style="FONT: 12px System" onClick="format('fontname',this.innerHTML);this.parentNode.style.display='none'" href="###">System</A><A class=n style="FONT: 12px 'Times New Roman'" onClick="format('fontname',this.innerHTML);this.parentNode.style.display='none'" href="javascript:void(0)">Times New Roman</A><A class=n style="FONT: 12px Verdana" onClick="format('fontname',this.innerHTML);this.parentNode.style.display='none'" href="javascript:void(0)">Verdana</A></DIV>
<DIV id=fontsize style="BORDER-RIGHT: #838383 1px solid; PADDING-RIGHT: 1px; BORDER-TOP: #838383 1px solid; DISPLAY: none; PADDING-LEFT: 1px; BACKGROUND: #ffffff; LEFT: 26px; PADDING-BOTTOM: 1px; BORDER-LEFT: #838383 1px solid; WIDTH: 115px; PADDING-TOP: 1px; BORDER-BOTTOM: #838383 1px solid; POSITION: absolute; TOP: 35px; HEIGHT: 160px"><A class=n style="FONT-SIZE: xx-small; LINE-HEIGHT: 120%" onClick="format('fontsize',1);this.parentNode.style.display='none'" href="javascript:void(0)">极小</A><A class=n style="FONT-SIZE: x-small; LINE-HEIGHT: 120%" onClick="format('fontsize',2);this.parentNode.style.display='none'" href="javascript:void(0)">特小</A><A class=n style="FONT-SIZE: small; LINE-HEIGHT: 120%" onClick="format('fontsize',3);this.parentNode.style.display='none'" href="javascript:void(0)">小</A><A class=n style="FONT-SIZE: medium; LINE-HEIGHT: 120%" onClick="format('fontsize',4);this.parentNode.style.display='none'" href="##">中</A><A class=n style="FONT-SIZE: large; LINE-HEIGHT: 120%" onClick="format('fontsize',5);this.parentNode.style.display='none'" href="javascript:void(0)">大</A><A class=n style="FONT-SIZE: x-large; LINE-HEIGHT: 120%" onClick="format('fontsize',6);this.parentNode.style.display='none'" href="javascript:void(0)">特大</A><A class=n style="FONT-SIZE: xx-large; LINE-HEIGHT: 140%" onClick="format('fontsize',7);this.parentNode.style.display='none'" href="javascript:void(0)">极大</A></DIV>
<DIV id=divEditor>
<SCRIPT language=JavaScript>
<!--
if(document.all){
document.write('<table width="100%" height:287px border="0" cellspacing="0" cellpadding="0" ><tr><td style="border:1px solid #C5C5C5; border-top:0;"><IFRAME class="HtmlEditor" ID="HtmlEditor" name="HtmlEditor" style=" height:286px;width:100%" frameBorder="0" marginHeight=0 marginWidth=0 src="blankpage.asp"></IFRAME></td></tr></table>');
}else{
document.write('<table width="100%" height:288px border="0" cellspacing="0" cellpadding="0" ><tr><td style="border:1px solid #C5C5C5; border-top:0;background-color:#ffffff"><IFRAME class="HtmlEditor" ID="HtmlEditor" name="HtmlEditor" style=" height:283px;width:100%;margin-left:1px;margin-bottom:1px;" frameBorder="0" marginHeight=0 marginWidth=0 src="blankpage.asp"></IFRAME></td></tr></table>');
}
//-->
</SCRIPT>
</DIV>
<table width="100%" border="0" cellspacing="0" cellpadding="0">
<tr>
<td height="28" align="center">在里面编辑好后,请转换为HTML然后再将内容复制到文本框内!</td>
</tr>
</table>
<SCRIPT language=JavaScript>
<!--
if(document.all){
document.write('<textarea ID="sourceEditor" style="height:280px;width:100%;display:none"></textarea>');
}else{
document.write('<textarea ID="sourceEditor" style="height:282px;width:100%;display:none"></textarea>');
}
//-->
</SCRIPT>
文本框
<textarea name="gglr" cols="50"><%=rs3("gklr")%></textarea>
<input type="submit" name="Submit" value="提交">
</form>
<%
else response.write"<script>location.href='admin.asp';</script>"
end if
end sub
sub edit()
set rs3=server.CreateObject("ADODB.RecordSet")
sql3="select * from czgl where id="&session("Agentid")
rs3.open sql3,conn,1,1
%>
<table width="100%" border="0" cellspacing="0" cellpadding="0">
<form name="mm" action="?action=edits" onSubmit="return checkadd();" method="post">
<tr>
<td height="27" colspan="2" align="center" background="img/ai.jpg" class="nazhi">系统密码更改</td>
</tr>
<tr>
<td align="right"> </td>
<td height="30"> </td>
</tr>
<tr>
<td align="right">用户名:</td>
<td height="30" align="left">
<input type="text" name="youfu" value="<%=rs3("czgly")%>"></td>
</tr>
<tr>
<td align="right">旧密码:</td>
<td height="30" align="left">
<input type="password" name="m1">
如果不更改密码,这里不用填写!</td>
</tr>
<tr>
<td align="right">新密码:</td>
<td height="30" align="left">
<input type="password" name="m2"></td>
</tr>
<tr>
<td align="right">确认新密码:</td>
<td height="30" align="left">
<input type="password" name="m3">
<input type="hidden" name="mmm" value="<%=rs3("glymm")%>"></td>
</tr>
<tr>
<td align="center"> </td>
<td height="30" align="left">
<input type="submit" name="Submit2" value="确认修改"></td>
</tr></form>
</table>
<script language="javascript" type="text/javascript">
function checkadd()
{
if(document.mm.youfu.value=='')
{alert('管理员名不能空!');
document.mm.youfu.focus();
return false
}
if(document.mm.m1.value!='')
{
if(document.mm.m1.value==document.mm.mmm.value){
if(document.mm.m2.value!=document.mm.m3.value){
alert("两次密码输入不一至!");
document.mm.m2.focus()
return false;
}
}
else
{
alert("旧密码输入错误");
document.mm.m1.focus();
return false;
}
}
}
</script> <%
rs3.close
end sub%>
</BODY>
</HTML>
⌨️ 快捷键说明
复制代码
Ctrl + C
搜索代码
Ctrl + F
全屏模式
F11
切换主题
Ctrl + Shift + D
显示快捷键
?
增大字号
Ctrl + =
减小字号
Ctrl + -