account.jsp
上传用户:quasar007
上传日期:2022-08-11
资源大小:4067k
文件大小:5k
源码类别:

企业管理

开发平台:

Java

  1. <%@ page contentType="text/html; charset=gb2312"%>
  2. <html>
  3. <head>
  4. <meta http-equiv="Content-Type" content="text/html; charset=gb2312">
  5. <title>添加客户详细信息</title>
  6. <style type="text/css">
  7. <!--
  8. body {
  9. background-color: #000000;
  10. margin-left: 0px;
  11. margin-top: 0px;
  12. }
  13. td{
  14. font-size:9pt;
  15. }
  16. .style1 {font-size: 11pt}
  17. -->
  18. </style>
  19. </head>
  20. <body> 
  21. <table width="579"  border="0" cellpadding="0" cellspacing="0" bgcolor="#FFFFFF"> 
  22.   <tr> 
  23.     <td>&nbsp;</td> 
  24.   </tr> 
  25. </table> 
  26. <table width="579" border="0" cellpadding="0" cellspacing="0"> 
  27.   <tr> 
  28.     <td align="left" valign="top" bgcolor="#FFFFFF"> <table width="579" height="487"  border="0" cellpadding="0" cellspacing="0"> 
  29.         <tr> 
  30.           <td align="left" valign="top" bgcolor="#FFFFFF"><table width="579" border="0" cellpadding="0" cellspacing="0"> 
  31.               <tr> 
  32.                 <td width="2%" height="28">&nbsp;</td> 
  33.                 <td width="9%" background="../../../images/circle.jpg">&nbsp;</td> 
  34.                 <td width="89%" bgcolor="#FFFFFF"><span class="style1">调用计算器</span></td> 
  35.               </tr> 
  36.               <tr style="line-height:2px"> 
  37.                 <td width="2%" height="5">&nbsp;</td> 
  38.                 <td height="5" colspan="2" bgcolor="#D4D0C8">&nbsp;</td> 
  39.               </tr> 
  40.               <tr align="center" valign="top" bgcolor="#FFFFFF"> 
  41.                 <td height="454" colspan="3"><br> 
  42.                  
  43.                     <script language="JavaScript">
  44. <!-- Hide the script from old browsers --
  45. function compute(obj) 
  46.    {obj.expr.value = eval(obj.expr.value)}
  47. var one = '1'
  48. var two = '2'
  49. var three = '3'
  50. var four = '4'
  51. var five = '5'
  52. var six = '6'
  53. var seven = '7'
  54. var eight = '8'
  55. var nine = '9'
  56. var zero = '0'
  57. var plus = '+'
  58. var minus = '-'
  59. var multiply = '*'
  60. var divide = '/'
  61. var decimal = '.'
  62. function enter(obj, string) 
  63.    {obj.expr.value += string}
  64. function clearno(obj) 
  65.    {obj.expr.value =""}
  66. // --End Hiding Here -->
  67. </script>
  68. <form name="calc">
  69. <table border=1 width="152">
  70. <td colspan=4 width="202" bgcolor="#000000"><input type="text" name="expr" size=14 action="compute(this.form)" style="background-color: #000000; font-size: 18pt; color: #FFFF00; border: 1 inset #000000"> <tr>
  71. <td width="37" bgcolor="#C0C0C0">
  72.   <p align="center"><input type="button" value=" 7 " onClick="enter(this.form, seven)">
  73. <td width="50" bgcolor="#C0C0C0">
  74.   <p align="center"><input type="button" value=" 8 " onClick="enter(this.form, eight)">
  75. <td width="47" bgcolor="#C0C0C0">
  76.   <p align="center"><input type="button" value=" 9 " onClick="enter(this.form, nine)">
  77. <td width="50" bgcolor="#C0C0C0">
  78.   <p align="center"><input type="button" value=" / " onClick="enter(this.form, divide)">
  79. <tr><td width="37" bgcolor="#C0C0C0">
  80.     <p align="center"><input type="button" value=" 4 " onClick="enter(this.form, four)">
  81. <td width="50" bgcolor="#C0C0C0">
  82.   <p align="center"><input type="button" value=" 5 " onClick="enter(this.form, five)">
  83. <td width="47" bgcolor="#C0C0C0">
  84.   <p align="center"><input type="button" value=" 6 " onClick="enter(this.form, six)">
  85. <td width="50" bgcolor="#C0C0C0">
  86.   <p align="center"><input type="button" value=" * " onClick="enter(this.form, multiply)">
  87. <tr><td width="37" bgcolor="#C0C0C0">
  88.     <p align="center"><input type="button" value=" 1 " onClick="enter(this.form, one)">
  89. <td width="50" bgcolor="#C0C0C0">
  90.   <p align="center"><input type="button" value=" 2 " onClick="enter(this.form, two)">
  91. <td width="47" bgcolor="#C0C0C0">
  92.   <p align="center"><input type="button" value=" 3 " onClick="enter(this.form, three)">
  93. <td width="50" bgcolor="#C0C0C0">
  94.   <p align="center"><input type="button" value=" - " onClick="enter(this.form, minus)">
  95. <tr><td width="37" bgcolor="#C0C0C0">
  96.     <p align="center"><input type="button" value=" . " onClick="enter(this.form, decimal)">
  97.   <td width="50" bgcolor="#C0C0C0">
  98.     <p align="center"><input type="button" value=" 0 " onClick="enter(this.form, zero)">
  99. <td width="47" bgcolor="#C0C0C0">
  100.   <p align="center"><input type="button" value="Del" size= 3 onClick="clearno(this.form)"> 
  101. <td width="50" bgcolor="#C0C0C0">
  102.   <p align="center"><input type="button" value=" + " onClick="enter(this.form, plus)">
  103. <tr><td colspan=4 width="196" bgcolor="#C0C0C0"><input type="button" value="        =        " onClick="compute(this.form)">
  104.  </table>
  105. </form>
  106. </table></td> 
  107.         </tr> 
  108.       </table></td> 
  109.   </tr> 
  110. </table> 
  111. </body>
  112. </html>