📄 add.asp
字号:
<script>
//
// 力天2002网络办公系统
// Copyright (c) 深圳市力天软件开发有限公司
// http://www.ebexpert.net
//
// 文件名 : add.asp
// 描述 : 常用电话数据添加与提交
// 版本 :
// 作者 : zyh
// 备注 :
</script>
<!--#include file="const.inc"-->
<%
phonename=trim(request("phonename"))
if phonename<>"" then
phonenumber=trim(request("phonenumber"))
conn.Execute "insert into pubphone (phonename,phonenumber) values ('" & phonename & "','" & phonenumber & "')"
set conn=nothing
%>
<script language=javascript>
window.close();
window.opener.parent.frames("main").document.location ="index.asp?add=judge";
</Script>
<% else %>
<html>
<head>
<title>添加常用电话号码</title>
<meta http-equiv="Content-Type" content="text/html; charset=gb2312">
<link rel="stylesheet" href="../css/eintrdemo.css">
</head>
<body bgcolor="#efefef" leftmargin="0" topmargin="0" marginwidth="0" marginheight="0"
onload="javascript:document.form.phonename.focus();MM_preloadImages('images/sendarticle_on.gif','images/rewrite_on.gif','images/close_2.gif')">
<form method="post" action="add.asp" name="form" >
<table width="100%" border="0" cellspacing="1" cellpadding="2">
<tr bgcolor="#4E5960">
<td class="heading" height="20"> <font color="#FFFFFF"><b>添加常用电话号码</b></font></td>
</tr>
</table>
<table width="100%" border="1" cellspacing="0" cellpadding="1" bordercolordark="#FFFFFF" bordercolor="#000000">
<tr>
<td width="12%" bgcolor="bfbfbf" valign="top">电话名称</td>
<td width="88%">
<input type="text" name="phonename" class="form" size="20">
</td>
</tr>
<tr>
<td width="12%" bgcolor="bfbfbf" valign="top">电话号码</td>
<td width="88%">
<input type="text" name="phonenumber" class="form" size="20">
</td>
</tr>
</table>
<div align="center"><br>
</div>
<div align="center"> <a href="javascript:document.form.submit();" onMouseOut="MM_swapImgRestore()" onMouseOver="MM_swapImage('Image1','','images/sendarticle_on.gif',1)"><img name="Image1" border="0" src="images/sendarticle_off.gif" width="60" height="19" hspace="5"></a><a href="javascript:document.form.reset();" onMouseOut="MM_swapImgRestore()" onMouseOver="MM_swapImage('Image2','','images/rewrite_on.gif',1)"><img name="Image2" border="0" src="images/rewrite_off.gif" width="60" height="19" hspace="5"></a><a href="Javascript:window.close();" onMouseOut="MM_swapImgRestore()" onMouseOver="MM_swapImage('Image3','','images/close_2.gif',1)"><img name="Image3" border="0" src="images/close_1.gif" width="85" height="19" hspace="5"></a>
</div>
</form>
<% end if %>
</body>
</html>
⌨️ 快捷键说明
复制代码
Ctrl + C
搜索代码
Ctrl + F
全屏模式
F11
切换主题
Ctrl + Shift + D
显示快捷键
?
增大字号
Ctrl + =
减小字号
Ctrl + -