论坛首页 入门技术论坛

DAO设计问题

浏览 5583 次
锁定老帖子 主题:DAO设计问题
该帖已经被评为新手帖
作者 正文
   发表时间:2008-08-31  
(main.html)
*************
<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Transitional//EN" "http://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd">
<html xmlns="http://www.w3.org/1999/xhtml">
<head>
<meta http-equiv="Content-Type" content="text/html; charset=gb2312" />
<title>无标题文档</title>
<link href="left_column.css" rel="stylesheet" type="text/css" />
</head>

<body>
<table width="971" height="715"  BORDER=0 align="center" CELLPADDING=0 CELLSPACING=0>
  <tr>
    <td height="70" colspan="3" scope="row" bgcolor="#C0DCC0"></td>
  </tr>
   <tr>
    <td height="8" colspan="3" scope="row" style="margin:0px; padding:0px; border:0px; background-image:url(images/ll.jpg)"></td>
  </tr>
     <tr>
    <td height="53"  scope="row" style=" background-image:url(images/augmentum.JPG); background-repeat:repeat-x; margin:0px; padding:0px; border:0px; font-size:25px; color:#FFFFFF; text-align:center; font-weight:bold">Augmentum</td>
  </tr>
  <tr>
    <td width="155" height="527" scope="row" style="vertical-align:top;">
<div id="leftnav">
<div class="nav_heading">
  <input name="button" type="button" value="User Manager"/>
</div>
<div style="">
<a href="#">View Users </a>
<a href="#">Add User </a> </div>
<div class="nav_heading">
<input type="button" value="Test Case Manager"/></div>
<div>
<a href="#">View Test Case </a>
<a href="#">Add Test Case </a>
<a href="#">Search Test Case </a></div>
<div class="nav_heading">
<input type="button" value="Product&Module"/></div>
    <div>
<a href="#">View Products </a>
<a href="#">Add Product </a>
<a href="#">Add Module </a></div>
  </div> </td>
    <td width="1px" style="border-left:2px double #000000">&nbsp;</td>
    <td width="809">&nbsp;</td>
</tr>

  <tr>
    <th height="57" colspan="3" scope="row" bgcolor="#C0DCC0" >copyright</th>
  </tr>
</table>
</body>
</html>
********************
********************
(add user.html)
****
<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Transitional//EN" "http://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd">
<html xmlns="http://www.w3.org/1999/xhtml">
<head>
<meta http-equiv="Content-Type" content="text/html; charset=UTF-8" />
<title>Add User</title>
<link href="left_column.css" rel="stylesheet" type="text/css" />
<script language="javascript" src="adduser.js"></script>
</head>

<body>
<table width="971" height="715"  border=0 align="center" cellpadding=0 cellspacing=0>
  <tr>
    <td height="70" colspan="3" scope="row" bgcolor="#C0DCC0"></td>
  </tr>
  <tr>
    <td height="8" colspan="3" scope="row" style="margin:0px; padding:0px; border:0px; background-image:url(images/ll.jpg)"></td>
  </tr>
  <tr>
    <td height="53"  scope="row" style=" background-image:url(images/augmentum.JPG); background-repeat:repeat-x; margin:0px; padding:0px; border:0px; font-size:25px; color:#FFFFFF; text-align:center; font-weight:bold">Augmentum</td>
  </tr>
  <tr>
    <td width="155" height="527" scope="row" style="vertical-align:top;"><div id="leftnav">
      <div class="nav_heading">
        <input name="button" type="button" value="User Manager"/>
      </div>
      <div style=""> <a href="#">View Users </a> <a href="#">Add User </a> </div>
      <div class="nav_heading">
        <input name="button2" type="button" value="Test Case Manager"/>
      </div>
      <div> <a href="#">View Test Case </a> <a href="#">Add Test Case </a> <a href="#">Search Test Case </a></div>
      <div class="nav_heading">
        <input name="button2" type="button" value="Product&Module"/>
      </div>
      <div> <a href="#">View Products </a> <a href="#">Add Product </a> <a href="#">Add Module </a></div>
    </div></td>
    <td width="1px" style="border-left:2px double #000000">&nbsp;</td>
    <td width="809" style="vertical-align:top"><!--user list-->

        <table width="677" height="379" cellspacing="0" id="addusertable">
          <caption align="left" font-weight:bold">
          <table cellpadding="0" cellspacing="0" border="0" width="93%" align="left" >
            <tr>
              <td  width="31%" style="font:Arial; font-size:19px;text-align:left;background-color: #E6EAE9;;border:0px"> ADD USER </td>
              <td width="69%" style="text-align:right;font-weight:bold;background-color: #E6EAE9;border:0px">&nbsp;</td>
            </tr>
          </table>
          </caption>
       <form action="kk.do" name="bloguserForm">
            <tr>
              <th width="172" height="73" class="nobg" scope="col" abbr="Configurations" style="text-align:right">WORKER num </th>
  <th width="582" class="nobg" scope="col" abbr="Configurations" style="background-color:  #E6EAE9;border:0px"><input type="text" name="usernum" style=" height:16px;width:180px"/></th>

            </tr>
<tr>
               <th height="71" class="nobg" scope="col" abbr="Configurations" style="text-align:right">Worker name </th>
  <th  class="nobg" scope="col" abbr="Configurations" style="background-color:  #E6EAE9;border:0px"><input type="text" name="name"  style=" height:16px;width:180px"/></th>
            </tr>
<tr>
              <th height="67" class="nobg" scope="col" abbr="Configurations" style="text-align:right">e-mail</th>
  <th  class="nobg" scope="col" abbr="Configurations" style="background-color:  #E6EAE9;border:0px"><input type="text" name="mailbox" style=" height:16px;width:180px"/></th>
            </tr>
<tr>
               <th height="66"  class="nobg" scope="col" abbr="Configurations" style="text-align:right">department</th>
  <th class="nobg" scope="col" abbr="Configurations" style="background-color:  #E6EAE9;border:0px"><select name="department" style=" height:16px">
  <option value="" selected>Department one</option>
   <option value="" >Department two</option>
  </select></th>
  
            </tr>
      
          <tr>
              <th height="65" colspan="2"  class="nobg" scope="col" abbr="Configurations" style="background-color:#E6EAE9;border:0px;padding-left:90px"><input type="button" value="SUBMIT" onclick="return checkform();"/>
                 &nbsp;
                 <input name="RESET" type="reset" value="CANCEL"/></th>
 
          </tr>
       </form>
    
      </table>
  </td>
  </tr>
  <tr>
    <th height="57" colspan="3" scope="row" bgcolor="#C0DCC0" >  Copyright @ 2008 Augmentum, Inc. All Rights Reserved</th>
  </tr>
</table>
</body>
</html>

*************
************
(login.html)
***********
<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Transitional//EN" "http://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd">
<html xmlns="http://www.w3.org/1999/xhtml">
<head>
<meta http-equiv="Content-Type" content="text/html; charset=gb2312" />
<title>Login</title>
<link href="left_column.css" rel="stylesheet" type="text/css" />
<script language="javascript" src="login.js"></script>
</head>

<body>
      <table width="677" height="148" cellspacing="0" align="center" id="addusertable" style="margin-top:180px">
          <caption align="left" font-weight:bold">
          <table cellpadding="0" cellspacing="0" border="0" width="100%" align="left" >
            <tr>
              <td  width="100%%" style="font:Arial; font-size:19px;text-align:left;background-color:#C1DAD7;border:0px;text-align:center">Welcome to test case manager system</td>
             
            </tr>
          </table>
          </caption>
       <form action="kk.do" name="loginForm">
            <tr>
              <th width="327" height="30" class="nobg" scope="col" abbr="Configurations" style="text-align:right">Worker Name </th>
  <th width="425" class="nobg" scope="col" abbr="Configurations" style="background-color:  #E6EAE9;border:0px"><input type="text" name="username" style=" height:16px;width:180px"/></th>
            </tr>
<tr>
               <th height="25" class="nobg" scope="col" abbr="Configurations" style="text-align:right">password  </th>
  <th  class="nobg" scope="col" abbr="Configurations" style="background-color:  #E6EAE9;border:0px"><input type="password" name="userpassword"  style=" height:16px;width:180px"/></th>
            </tr>
<tr>
              <th height="26" class="nobg" scope="col" abbr="Configurations" style="text-align:right">e-mail</th>
  <th  class="nobg" scope="col" abbr="Configurations" style="background-color:  #E6EAE9;border:0px"><select name="commission" id="commission" style=" height:16px">
   <option value="" selected></option>
   <option value="1">common user</option>
   <option value="2">Admin</option>
  </select></th>
            </tr>
      
          <tr>
              <th height="65" colspan="2"  class="nobg" scope="col" abbr="Configurations" style="background-color:#E6EAE9;border:0px;padding-left:225px"><input type="button" value="SUBMIT" onclick="return checkLoginform();"/>
                 &nbsp;
                 <input name="RESET" type="reset" value="CANCEL"/></th>
          </tr>
       </form>
</table>
</body>
</html>
*****************
*****************
(productlist.html)
<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Transitional//EN" "http://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd">
<html xmlns="http://www.w3.org/1999/xhtml">
<head>
<meta http-equiv="Content-Type" content="text/html; charset=UTF-8" />
<title>Product List</title>
<link href="left_column.css" rel="stylesheet" type="text/css" />
</head>

<body>
<table width="971" height="715"  border=0 align="center" cellpadding=0 cellspacing=0>
  <tr>
    <td height="70" colspan="3" scope="row" bgcolor="#C0DCC0"></td>
  </tr>
  <tr>
    <td height="8" colspan="3" scope="row" style="margin:0px; padding:0px; border:0px; background-image:url(images/ll.jpg)"></td>
  </tr>
  <tr>
    <td height="53"  scope="row" style=" background-image:url(images/augmentum.JPG); background-repeat:repeat-x; margin:0px; padding:0px; border:0px; font-size:25px; color:#FFFFFF; text-align:center; font-weight:bold">Augmentum</td>
  </tr>
  <tr>
    <td width="155" height="527" scope="row" style="vertical-align:top;"><div id="leftnav">
      <div class="nav_heading">
        <input name="button" type="button" value="User Manager"/>
      </div>
      <div style=""> <a href="#">View Users </a> <a href="#">Add User </a> </div>
      <div class="nav_heading">
        <input name="button2" type="button" value="Test Case Manager"/>
      </div>
      <div> <a href="#">View Test Case </a> <a href="#">Add Test Case </a> <a href="#">Search Test Case </a></div>
      <div class="nav_heading">
        <input name="button2" type="button" value="Product&Module"/>
      </div>
      <div> <a href="#">View Products </a> <a href="#">Add Product </a> <a href="#">Add Module </a></div>
    </div></td>
    <td width="1px" style="border-left:2px double #000000">&nbsp;</td>
    <td width="809" style="vertical-align:top"><!--user list-->
        <table width="714" cellspacing="0" id="mytable">
          <caption align="left" font-weight:bold">
          <table cellpadding="0" cellspacing="0" border="0" width="100%" >
            <tr>
              <td  width="44%" style="font:Arial; font-size:19px;text-align:left;background-color: #E6EAE9;;border:0px">Product List </td>
              <td width="56%" style="text-align:right;font-weight:bold;background-color: #E6EAE9;border:0px"> TOTAL RECORD: 11 Items </td>
            </tr>
          </table>
          </caption>
          <thead>
            <tr>
              <th width="157" class="nobg" scope="col" abbr="Configurations">Product num </th>
              <th width="225" scope="col" abbr="Dual 1.8">product name </th>
              <th width="142" scope="col" abbr="Dual 2" style="background:#FF5F00;">view modules </th>
              <th width="147" scope="col" abbr="Dual 2.5" style="background:#FF5F00;">view testcase </th>
              <th width="77" scope="col" abbr="Dual 2" style="background:#FF5F00;">EDIT</th>
           
            </tr>
          </thead>
          <thead>
          </thead>
          <tbody>
            <tr>
              <th scope="row" abbr="Model" class="spec">lipeng</th>
              <td>M9454LL/A</td>
              <td id="EDIT"><a href="#">VIEW TESTCASE</a></td>
              <td id="EDIT"><a href="#">VIEW MODULE </a></td>
              <td id="EDIT"><a href="#">EDIT</a></td>
        
            </tr>
            <tr>
              <th scope="row" abbr="G5 Processor" class="specalt">mapabc</th>
              <td class="alt">Dual 1.8GHz PowerPC G5</td>
              <td class="alt" id="EDIT">Dual 2GHz PowerPC G5</td>
              <td class="alt" id="EDIT">Dual 2.5GHz PowerPC G5</td>
              <td class="alt" id="EDIT">EDIT</td>
        
            </tr>
            <tr>
              <th height="30" class="spec" scope="row" abbr="Frontside bus">d</th>
              <td>900MHz per processor</td>
              <td  id="EDIT">1GHz per processor</td>
              <td id="EDIT">1.25GHz per processor</td>
              <td id="EDIT">EDIT</td>
            </tr>
            <tr>
              <th scope="row" abbr="L2 Cache" class="specalt"></th>
              <td class="alt">512K per processor</td>
              <td class="alt" id="EDIT">512K per processor</td>
              <td class="alt" id="EDIT">512K per processor</td>
              <td class="alt" id="EDIT">EDIT</td>
            
            </tr>
            <tr>
              <th scope="row" abbr="Frontside bus" class="spec">&nbsp;</th>
              <td>900MHz per processor</td>
              <td id="EDIT">1GHz per processor</td>
              <td id="EDIT">1.25GHz per processor</td>
              <td id="EDIT">EDIT</td>
             
            </tr>
        
       
          </tbody>
      </table>
      <!--分页-->
        <div id="pagenation" style=" padding-left:100px; padding-right:100px; margin-top:10px; margin-bottom:20px">
          <table id="pageTable" width="100%" border="0" cellpadding="0px" cellspacing="0px" >
            <tr>
              <th width="40%" scope="row" style="text-align:right"><a href="#">PREVIOUS PAGE</a> </th>
              <td ><a href="#">1</a></td>
              <td ><a href="#">2</a></td>
              <td ><a href="#">3</a></td>
              <td ><a href="#">4</a></td>
              <td ><a href="#">5</a></td>
              <td width="40%" style="text-align:left"><a href="#">NEXT PAGE</a> </td>
            </tr>
          </table>
        </div></td>
  </tr>
  <tr>
    <th height="57" colspan="3" scope="row" bgcolor="#C0DCC0" >  Copyright @ 2008 Augmentum, Inc. All Rights Reserved</th>
  </tr>
</table>
</body>
</html>

*************
**************
(userlist.html)
**********
<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Transitional//EN" "http://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd">
<html xmlns="http://www.w3.org/1999/xhtml">
<head>
<meta http-equiv="Content-Type" content="text/html; charset=UTF-8" />
<title>无标题文档</title>
<link href="left_column.css" rel="stylesheet" type="text/css" />
</head>

<body>
<table width="971" height="715"  border=0 align="center" cellpadding=0 cellspacing=0>
  <tr>
    <td height="70" colspan="3" scope="row" bgcolor="#C0DCC0"></td>
  </tr>
  <tr>
    <td height="8" colspan="3" scope="row" style="margin:0px; padding:0px; border:0px; background-image:url(images/ll.jpg)"></td>
  </tr>
  <tr>
    <td height="53"  scope="row" style=" background-image:url(images/augmentum.JPG); background-repeat:repeat-x; margin:0px; padding:0px; border:0px; font-size:25px; color:#FFFFFF; text-align:center; font-weight:bold">Augmentum</td>
  </tr>
  <tr>
    <td width="155" height="527" scope="row" style="vertical-align:top;"><div id="leftnav">
      <div class="nav_heading">
        <input name="button" type="button" value="User Manager"/>
      </div>
      <div style=""> <a href="#">View Users </a> <a href="#">Add User </a> </div>
      <div class="nav_heading">
        <input name="button2" type="button" value="Test Case Manager"/>
      </div>
      <div> <a href="#">View Test Case </a> <a href="#">Add Test Case </a> <a href="#">Search Test Case </a></div>
      <div class="nav_heading">
        <input name="button2" type="button" value="Product&Module"/>
      </div>
      <div> <a href="#">View Products </a> <a href="#">Add Product </a> <a href="#">Add Module </a></div>
    </div></td>
    <td width="1px" style="border-left:2px double #000000">&nbsp;</td>
    <td width="809" style="vertical-align:top"><!--user list-->
        <table width="760" cellspacing="0" id="mytable" >
          <caption align="left" font-weight:bold" width="700px">
          <table cellpadding="0" cellspacing="0" border="0" width="100%" >
            <tr>
              <td  width="44%" style="font:Arial; font-size:19px;text-align:left;background-color: #E6EAE9;;border:0px"> USER LIST </td>
              <td width="56%" style="text-align:right;font-weight:bold;background-color: #E6EAE9;border:0px"> TOTAL RECORD: 11 Items </td>
            </tr>
          </table>
          </caption>
          <thead>
            <tr>
              <th width="114" class="nobg" scope="col" abbr="Configurations">Worker Num </th>
              <th width="147" scope="col" abbr="Dual 1.8">Name</th>
              <th width="187" scope="col" abbr="Dual 2">e-mail</th>
              <th width="153" scope="col" abbr="Dual 2.5">department</th>
              <th width="48" scope="col" abbr="Dual 2" style="background:#FF5F00;">EDIT</th>
              <th width="97" scope="col" abbr="Dual 2.5" style="background:#FF5F00;">Test Case</th>
            </tr>
          </thead>
          <thead>
          </thead>
          <tbody>
            <tr>
              <th scope="row" abbr="Model" class="spec">lipeng</th>
              <td>M9454LL/A</td>
              <td>M9455LL/A</td>
              <td>M9457LL/A</td>
              <td id="EDIT"><a href="#">EDIT</a></td>
              <td id="VIEW"><p><a href="#">VIEW</a></p></td>
            </tr>
            <tr>
              <th scope="row" abbr="G5 Processor" class="specalt">mapabc</th>
              <td class="alt">Dual 1.8GHz PowerPC G5</td>
              <td class="alt">Dual 2GHz PowerPC G5</td>
              <td class="alt">Dual 2.5GHz PowerPC G5</td>
              <td class="alt" id="EDIT">EDIT</td>
              <td class="alt" id="VIEW">VIEW</td>
            </tr>
            <tr>
              <th height="30" class="spec" scope="row" abbr="Frontside bus">&nbsp;</th>
              <td>900MHz per processor</td>
              <td>1GHz per processor</td>
              <td>1.25GHz per processor</td>
              <td id="EDIT">EDIT</td>
              <td id="VIEW">VIEW</td>
            </tr>
            <tr>
              <th scope="row" abbr="L2 Cache" class="specalt"></th>
              <td class="alt">512K per processor</td>
              <td class="alt">512K per processor</td>
              <td class="alt">512K per processor</td>
              <td class="alt" id="EDIT">EDIT</td>
              <td class="alt" id="VIEW">VIEW</td>
            </tr>
            <tr>
              <th scope="row" abbr="Frontside bus" class="spec">&nbsp;</th>
              <td>900MHz per processor</td>
              <td>1GHz per processor</td>
              <td>1.25GHz per processor</td>
              <td id="EDIT">EDIT</td>
              <td id="VIEW">VIEW</td>
            </tr>
            <tr>
              <th scope="row" abbr="L2 Cache" class="specalt"></th>
              <td class="alt">512K per processor</td>
              <td class="alt">512K per processor</td>
              <td class="alt">512K per processor</td>
              <td class="alt" id="EDIT">EDIT</td>
              <td class="alt" id="VIEW">VIEW</td>
            </tr>
            <tr>
              <th scope="row" abbr="Frontside bus" class="spec">&nbsp;</th>
              <td>900MHz per processor</td>
              <td>1GHz per processor</td>
              <td>1.25GHz per processor</td>
              <td id="EDIT">EDIT</td>
              <td id="VIEW">VIEW</td>
            </tr>
            <tr>
              <th scope="row" abbr="L2 Cache" class="specalt"></th>
              <td class="alt">512K per processor</td>
              <td class="alt">512K per processor</td>
              <td class="alt">512K per processor</td>
              <td class="alt" id="EDIT">EDIT</td>
              <td class="alt" id="VIEW">VIEW</td>
            </tr>
            <tr>
              <th scope="row" abbr="Frontside bus" class="spec">&nbsp;</th>
              <td>900MHz per processor</td>
              <td>1GHz per processor</td>
              <td>1.25GHz per processor</td>
              <td id="EDIT">EDIT</td>
              <td id="VIEW">VIEW</td>
            </tr>
            <tr>
              <th scope="row" abbr="L2 Cache" class="specalt"></th>
              <td class="alt">512K per processor</td>
              <td class="alt">512K per processor</td>
              <td class="alt">512K per processor</td>
              <td class="alt" id="EDIT">Edit</td>
              <td class="alt" id="VIEW">View</td>
            </tr>
            <tr>
              <th scope="row" abbr="Frontside bus" class="spec">&nbsp;</th>
              <td>900MHz per processor</td>
              <td>1GHz per processor</td>
              <td>1.25GHz per processor</td>
              <td id="EDIT">Edit</td>
              <td id="VIEW">View</td>
            </tr>
            <tr>
              <th scope="row" abbr="L2 Cache" class="specalt"></th>
              <td class="alt">512K per processor</td>
              <td class="alt">512K per processor</td>
              <td class="alt">512K per processor</td>
              <td class="alt" id="EDIT">Edit</td>
              <td class="alt" id="VIEW">View</td>
            </tr>
          </tbody>
        </table>
      <!--分页-->
        <div id="pagenation" style=" padding-left:100px; padding-right:100px; margin-top:10px; margin-bottom:20px">
          <table id="pageTable" width="100%" border="0" cellpadding="0px" cellspacing="0px" >
            <tr>
              <th width="40%" scope="row" style="text-align:right"><a href="#">PREVIOUS PAGE</a> </th>
              <td ><a href="#">1</a></td>
              <td ><a href="#">2</a></td>
              <td ><a href="#">3</a></td>
              <td ><a href="#">4</a></td>
              <td ><a href="#">5</a></td>
              <td width="40%" style="text-align:left"><a href="#">NEXT PAGE</a> </td>
            </tr>
          </table>
        </div></td>
  </tr>
  <tr>
    <th height="57" colspan="3" scope="row" bgcolor="#C0DCC0" >  Copyright @ 2008 Augmentum, Inc. All Rights Reserved</th>
  </tr>
</table>
</body>
</html>

***********
***************
(add product.html)
***
<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Transitional//EN" "http://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd">
<html xmlns="http://www.w3.org/1999/xhtml">
<head>
<meta http-equiv="Content-Type" content="text/html; charset=UTF-8" />
<title>Add Product</title>
<link href="left_column.css" rel="stylesheet" type="text/css" />
<script language="javascript" src="adduser.js">
</script>
</head>

<body>
<table width="971" height="715"  border=0 align="center" cellpadding=0 cellspacing=0>
  <tr>
    <td height="70" colspan="3" scope="row" bgcolor="#C0DCC0"></td>
  </tr>
  <tr>
    <td height="8" colspan="3" scope="row" style="margin:0px; padding:0px; border:0px; background-image:url(images/ll.jpg)"></td>
  </tr>
  <tr>
    <td height="53"  scope="row" style=" background-image:url(images/augmentum.JPG); background-repeat:repeat-x; margin:0px; padding:0px; border:0px; font-size:25px; color:#FFFFFF; text-align:center; font-weight:bold">Augmentum</td>
  </tr>
  <tr>
    <td width="155" height="527" scope="row" style="vertical-align:top;"><div id="leftnav">
      <div class="nav_heading">
        <input name="button" type="button" value="User Manager"/>
      </div>
      <div style=""> <a href="#">View Users </a> <a href="#">Add User </a> </div>
      <div class="nav_heading">
        <input name="button2" type="button" value="Test Case Manager"/>
      </div>
      <div> <a href="#">View Test Case </a> <a href="#">Add Test Case </a> <a href="#">Search Test Case </a></div>
      <div class="nav_heading">
        <input name="button2" type="button" value="Product&Module"/>
      </div>
      <div> <a href="#">View Products </a> <a href="#">Add Product </a> <a href="#">Add Module </a></div>
    </div></td>
    <td width="1px" style="border-left:2px double #000000">&nbsp;</td>
    <td width="809" style="vertical-align:top"><!--user list-->
<form action="main1.html" name="productForm" method="get">
        <table width="677" height="165" cellspacing="0" id="addusertable" style="margin-left:50px" >
          <caption align="left" font-weight:bold">
          <table cellpadding="0" cellspacing="0" border="0" width="93%" align="left">
 
            <tr>
              <td  width="31%" style="font:Arial; font-size:19px;text-align:left;background-color: #E6EAE9;;border:0px"> Add Product</td>
              <td width="69%" style="text-align:right;font-weight:bold;background-color: #E6EAE9;border:0px">&nbsp;</td>
            </tr>
          </table>
          </caption>
     
            <tr>
              <th width="172" height="43" class="nobg" scope="col" abbr="Configurations" style="text-align:right">product num </th>
  <th width="582" class="nobg" scope="col" abbr="Configurations" style="background-color:  #E6EAE9;border:0px"><input type="text" name="num" value="" style=" height:16px;width:180px"/></th>

            </tr>
<tr>
               <th height="41" class="nobg" scope="col" abbr="Configurations" style="text-align:right">product name </th>
   <th  class="nobg" scope="col" abbr="Configurations" style="background-color:  #E6EAE9;border:0px"><input type="text" name="name" value=""  style=" height:16px;width:180px"/></th>
            </tr>

          <tr>
               <th height="36" class="nobg" scope="col" abbr="Configurations" style="text-align:right"><a href="#" onclick="showAddModuleList()" style="text-decoration:none;color: red;font-weight:bold;">Add module</a>  </th>
   <th  class="nobg" scope="col" abbr="Configurations" style="background-color:  #E6EAE9;border:0px">
  
   <div id="addmoduleofProduct">
  <select onchange="bao(this.options[this.options.selectedIndex].value,this.options[this.options.selectedIndex].text)">
               <option value="apple">苹果</option>
               <option value="orange">桔子</option>
               <option value="mango">芒果</option>
               </select>
   </div></th>
          </tr>
 
 
 
   <tr>
               <th height="36" class="nobg" scope="col" abbr="Configurations" style="text-align:right"><a href="#" onclick="showAddModuleList1()" style="text-decoration:none;color: red;font-weight:bold;">Add Test Case</a>  </th>
   <th  class="nobg" scope="col" abbr="Configurations" style="background-color:  #E6EAE9;border:0px">
  
   <div id="addmoduleofProduct1">
  <select onchange="bao1(this.options[this.options.selectedIndex].value,this.options[this.options.selectedIndex].text)">
               <option value="apple">苹果</option>
               <option value="orange">桔子</option>
               <option value="mango">芒果</option>
               </select>
   </div></th>
          </tr>
      
          <tr>
              <th height="41" colspan="2"  class="nobg" scope="col" abbr="Configurations" style="background-color:#E6EAE9;border:0px;padding-left:90px"><input type="button" value="SUBMIT" onclick="return checkProductform();"/>
                 &nbsp;
            <input name="RESET" type="reset" value="CANCEL"/></th>
 
          </tr>
   
    
      </table>
    <div id="ddd"> <table width="478" cellspacing="0" id="mytable">
          <caption align="left" font-weight:bold">
          <table cellpadding="0" cellspacing="0" border="0" width="100%"style="margin-left:30px"  >
            <tr>
              <td  width="47%" style="font:Arial; font-size:19px;text-align:left;background-color: #E6EAE9;;border:0px">Selected Modules </td>
              <td width="53%" style="text-align:right;font-weight:bold;background-color: #E6EAE9;border:0px">&nbsp;</td>
            </tr>
          </table>
          </caption>
      
            <tr>
              <th width="127" class="nobg" scope="col" abbr="Configurations">Module num </th>
              <th width="177" scope="col" abbr="Dual 1.8">Module name </th>
              <th width="166" scope="col" abbr="Dual 2.5" style="background:#FF5F00;">Choose</th>         
            </tr>
        
         
         
        
       
      </table>
      <hr/>
    </div>
  <hr/>
  <div id="ddd1"> <table width="478" cellspacing="0" id="mytable1">
          <caption align="left" font-weight:bold">
          <table cellpadding="0" cellspacing="0" border="0" width="100%"style="margin-left:30px"  >
            <tr>
              <td  width="47%" style="font:Arial; font-size:19px;text-align:left;background-color: #E6EAE9;;border:0px">Selected TestCase </td>
              <td width="53%" style="text-align:right;font-weight:bold;background-color: #E6EAE9;border:0px">&nbsp;</td>
            </tr>
          </table>
          </caption>
      
            <tr>
              <th width="127" class="nobg" scope="col" abbr="Configurations">Test Case Num </th>
              <th width="177" scope="col" abbr="Dual 1.8">Test Case Name </th>
              <th width="166" scope="col" abbr="Dual 2.5" style="background:#FF5F00;">Choose</th>         
            </tr>
        
         
         
        
       
      </table></div>
   </form>
  </td>
  </tr>
  <tr>
    <th height="57" colspan="3" scope="row" bgcolor="#C0DCC0" >  Copyright @ 2008 Augmentum, Inc. All Rights Reserved</th>
  </tr>
</table>
</body>
</html>
******
*********
(moduletoproduct.html)
+***
<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Transitional//EN" "http://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd">
<html xmlns="http://www.w3.org/1999/xhtml">
<head>
<meta http-equiv="Content-Type" content="text/html; charset=UTF-8" />
<title>Module List</title>
<link href="left_column.css" rel="stylesheet" type="text/css" />
</head>

<body>
<table width="971" height="715"  border=0 align="center" cellpadding=0 cellspacing=0>
  <tr>
    <td height="70" colspan="3" scope="row" bgcolor="#C0DCC0"></td>
  </tr>
  <tr>
    <td height="8" colspan="3" scope="row" style="margin:0px; padding:0px; border:0px; background-image:url(images/ll.jpg)"></td>
  </tr>
  <tr>
    <td height="53"  scope="row" style=" background-image:url(images/augmentum.JPG); background-repeat:repeat-x; margin:0px; padding:0px; border:0px; font-size:25px; color:#FFFFFF; text-align:center; font-weight:bold">Augmentum</td>
  </tr>
  <tr>
    <td width="155" height="527" scope="row" style="vertical-align:top;"><div id="leftnav">
      <div class="nav_heading">
        <input name="button" type="button" value="User Manager"/>
      </div>
      <div style=""> <a href="#">View Users </a> <a href="#">Add User </a> </div>
      <div class="nav_heading">
        <input name="button2" type="button" value="Test Case Manager"/>
      </div>
      <div> <a href="#">View Test Case </a> <a href="#">Add Test Case </a> <a href="#">Search Test Case </a></div>
      <div class="nav_heading">
        <input name="button2" type="button" value="Product&Module"/>
      </div>
      <div> <a href="#">View Products </a> <a href="#">Add Product </a> <a href="#">Add Module </a></div>
    </div></td>
    <td width="1px" style="border-left:2px double #000000">&nbsp;</td>
    <td width="809" style="vertical-align:top"><!--user list-->
        <table width="478" cellspacing="0" id="mytable" style="margin-left:50px" >
          <caption align="left" font-weight:bold">
          <table cellpadding="0" cellspacing="0" border="0" width="100%" >
            <tr>
              <td  width="47%" style="font:Arial; font-size:19px;text-align:left;background-color: #E6EAE9;;border:0px">Module List </td>
              <td width="53%" style="text-align:right;font-weight:bold;background-color: #E6EAE9;border:0px"> TOTAL RECORD: 11 Items </td>
            </tr>
          </table>
          </caption>
          <thead>
            <tr>
              <th width="127" class="nobg" scope="col" abbr="Configurations">Module num </th>
              <th width="177" scope="col" abbr="Dual 1.8">Module name </th>
              <th width="166" scope="col" abbr="Dual 2.5" style="background:#FF5F00;">DELETE</th>         
            </tr>
          </thead>
          <thead>
          </thead>
          <tbody>
            <tr>
              <th scope="row" abbr="Model" class="spec">lipeng</th>
              <td>M9454LL/A</td>         
              <td id="EDIT"><a href="#">DELETE</a></td>

        
            </tr>
            <tr>
              <th scope="row" abbr="G5 Processor" class="specalt">mapabc</th>
              <td class="alt">Dual 1.8GHz PowerPC G5</td>         
              <td class="alt" id="EDIT">Dual 2.5GHz PowerPC G5</td>

        
            </tr>
            <tr>
              <th height="30" class="spec" scope="row" abbr="Frontside bus">d</th>
              <td>900MHz per processor</td>         
              <td id="EDIT">1.25GHz per processor</td>
            </tr>
            <tr>
              <th scope="row" abbr="L2 Cache" class="specalt"></th>
              <td class="alt">512K per processor</td>            
              <td class="alt" id="EDIT">512K per processor</td>
            
            </tr>
            <tr>
              <th scope="row" abbr="Frontside bus" class="spec">&nbsp;</th>
              <td>900MHz per processor</td>
              <td id="EDIT">1.25GHz per processor</td>
             
            </tr>
        
       
          </tbody>
      </table>
      <!--分页-->
        <div id="pagenation" style=" padding-right:100px; margin-top:10px; margin-bottom:20px">
          <table id="pageTable" width="100%" border="0" cellpadding="0px" cellspacing="0px" style="margin-left:60px">
            <tr>
              <th width="25%" scope="row" style="text-align:right"><a href="#">PREVIOUS PAGE</a> </th>
              <td ><a href="#">1</a></td>
              <td ><a href="#">2</a></td>
              <td ><a href="#">3</a></td>
              <td ><a href="#">4</a></td>
              <td ><a href="#">5</a></td>
              <td width="55%" style="text-align:left"><a href="#">NEXT PAGE</a> </td>
            </tr>
          </table>
        </div></td>
  </tr>
  <tr>
    <th height="57" colspan="3" scope="row" bgcolor="#C0DCC0" >  Copyright @ 2008 Augmentum, Inc. All Rights Reserved</th>
  </tr>
</table>
</body>
</html>


************
********
testcaselist.html
***
<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Transitional//EN" "http://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd">
<html xmlns="http://www.w3.org/1999/xhtml">
<head>
<meta http-equiv="Content-Type" content="text/html; charset=UTF-8" />
<title>ALltestCase</title>
<link href="left_column.css" rel="stylesheet" type="text/css" />
</head>

<body>
<table width="971" height="715"  border=0 align="center" cellpadding=0 cellspacing=0>
  <tr>
    <td height="70" colspan="3" scope="row" bgcolor="#C0DCC0"></td>
  </tr>
  <tr>
    <td height="8" colspan="3" scope="row" style="margin:0px; padding:0px; border:0px; background-image:url(images/ll.jpg)"></td>
  </tr>
  <tr>
    <td height="53"  scope="row" style=" background-image:url(images/augmentum.JPG); background-repeat:repeat-x; margin:0px; padding:0px; border:0px; font-size:25px; color:#FFFFFF; text-align:center; font-weight:bold">Augmentum</td>
  </tr>
  <tr>
    <td width="155" height="527" scope="row" style="vertical-align:top;"><div id="leftnav">
      <div class="nav_heading">
        <input name="button" type="button" value="User Manager"/>
      </div>
      <div style=""> <a href="#">View Users </a> <a href="#">Add User </a> </div>
      <div class="nav_heading">
        <input name="button2" type="button" value="Test Case Manager"/>
      </div>
      <div> <a href="#">View Test Case </a> <a href="#">Add Test Case </a> <a href="#">Search Test Case </a></div>
      <div class="nav_heading">
        <input name="button2" type="button" value="Product&Module"/>
      </div>
      <div> <a href="#">View Products </a> <a href="#">Add Product </a> <a href="#">Add Module </a></div>
    </div></td>
    <td width="1px" style="border-left:2px double #000000">&nbsp;</td>
    <td width="809" style="vertical-align:top"><!--user list-->
        <table width="760" cellspacing="0" id="mytable" >
          <caption align="left" font-weight:bold" width="700px">
          <table cellpadding="0" cellspacing="0" border="0" width="100%" >
            <tr>
              <td  width="44%" style="font:Arial; font-size:19px;text-align:left;background-color: #E6EAE9;;border:0px"> Test Case LIST </td>
              <td width="56%" style="text-align:right;font-weight:bold;background-color: #E6EAE9;border:0px"> TOTAL RECORD: 11 Items </td>
            </tr>
          </table>
          </caption>
          <thead>
            <tr>
              <th width="114" class="nobg" scope="col" abbr="Configurations">Worker Num </th>
              <th width="147" scope="col" abbr="Dual 1.8">Summary</th>
              <th width="187" scope="col" abbr="Dual 2">User</th>
              <th width="153" scope="col" abbr="Dual 2.5">date</th>
              <th width="48" scope="col" abbr="Dual 2" style="background:#FF5F00;">EDIT</th>
              <th width="97" scope="col" abbr="Dual 2.5" style="background:#FF5F00;">Detail</th>
            </tr>
          </thead>
          <thead>
          </thead>
          <tbody>
            <tr>
              <th scope="row" abbr="Model" class="spec">lipeng</th>
              <td>M9454LL/A</td>
              <td>M9455LL/A</td>
              <td>M9457LL/A</td>
              <td id="EDIT"><a href="#">EDIT</a></td>
              <td id="VIEW"><p><a href="#">VIEW</a></p></td>
            </tr>
            <tr>
              <th scope="row" abbr="G5 Processor" class="specalt">mapabc</th>
              <td class="alt">Dual 1.8GHz PowerPC G5</td>
              <td class="alt">Dual 2GHz PowerPC G5</td>
              <td class="alt">Dual 2.5GHz PowerPC G5</td>
              <td class="alt" id="EDIT">EDIT</td>
              <td class="alt" id="VIEW">VIEW</td>
            </tr>
            <tr>
              <th height="30" class="spec" scope="row" abbr="Frontside bus">&nbsp;</th>
              <td>900MHz per processor</td>
              <td>1GHz per processor</td>
              <td>1.25GHz per processor</td>
              <td id="EDIT">EDIT</td>
              <td id="VIEW">VIEW</td>
            </tr>
            <tr>
              <th scope="row" abbr="L2 Cache" class="specalt"></th>
              <td class="alt">512K per processor</td>
              <td class="alt">512K per processor</td>
              <td class="alt">512K per processor</td>
              <td class="alt" id="EDIT">EDIT</td>
              <td class="alt" id="VIEW">VIEW</td>
            </tr>
            <tr>
              <th scope="row" abbr="Frontside bus" class="spec">&nbsp;</th>
              <td>900MHz per processor</td>
              <td>1GHz per processor</td>
              <td>1.25GHz per processor</td>
              <td id="EDIT">EDIT</td>
              <td id="VIEW">VIEW</td>
            </tr>
            <tr>
              <th scope="row" abbr="L2 Cache" class="specalt"></th>
              <td class="alt">512K per processor</td>
              <td class="alt">512K per processor</td>
              <td class="alt">512K per processor</td>
              <td class="alt" id="EDIT">EDIT</td>
              <td class="alt" id="VIEW">VIEW</td>
            </tr>
            <tr>
              <th scope="row" abbr="Frontside bus" class="spec">&nbsp;</th>
              <td>900MHz per processor</td>
              <td>1GHz per processor</td>
              <td>1.25GHz per processor</td>
              <td id="EDIT">EDIT</td>
              <td id="VIEW">VIEW</td>
            </tr>
            <tr>
              <th scope="row" abbr="L2 Cache" class="specalt"></th>
              <td class="alt">512K per processor</td>
              <td class="alt">512K per processor</td>
              <td class="alt">512K per processor</td>
              <td class="alt" id="EDIT">EDIT</td>
              <td class="alt" id="VIEW">VIEW</td>
            </tr>
            <tr>
              <th scope="row" abbr="Frontside bus" class="spec">&nbsp;</th>
              <td>900MHz per processor</td>
              <td>1GHz per processor</td>
              <td>1.25GHz per processor</td>
              <td id="EDIT">EDIT</td>
              <td id="VIEW">VIEW</td>
            </tr>
            <tr>
              <th scope="row" abbr="L2 Cache" class="specalt"></th>
              <td class="alt">512K per processor</td>
              <td class="alt">512K per processor</td>
              <td class="alt">512K per processor</td>
              <td class="alt" id="EDIT">Edit</td>
              <td class="alt" id="VIEW">View</td>
            </tr>
            <tr>
              <th scope="row" abbr="Frontside bus" class="spec">&nbsp;</th>
              <td>900MHz per processor</td>
              <td>1GHz per processor</td>
              <td>1.25GHz per processor</td>
              <td id="EDIT">Edit</td>
              <td id="VIEW">View</td>
            </tr>
            <tr>
              <th scope="row" abbr="L2 Cache" class="specalt"></th>
              <td class="alt">512K per processor</td>
              <td class="alt">512K per processor</td>
              <td class="alt">512K per processor</td>
              <td class="alt" id="EDIT">Edit</td>
              <td class="alt" id="VIEW">View</td>
            </tr>
          </tbody>
        </table>
      <!--分页-->
        <div id="pagenation" style=" padding-left:100px; padding-right:100px; margin-top:10px; margin-bottom:20px">
          <table id="pageTable" width="100%" border="0" cellpadding="0px" cellspacing="0px" >
            <tr>
              <th width="40%" scope="row" style="text-align:right"><a href="#">PREVIOUS PAGE</a> </th>
              <td ><a href="#">1</a></td>
              <td ><a href="#">2</a></td>
              <td ><a href="#">3</a></td>
              <td ><a href="#">4</a></td>
              <td ><a href="#">5</a></td>
              <td width="40%" style="text-align:left"><a href="#">NEXT PAGE</a> </td>
            </tr>
          </table>
        </div></td>
  </tr>
  <tr>
    <th height="57" colspan="3" scope="row" bgcolor="#C0DCC0" >  Copyright @ 2008 Augmentum, Inc. All Rights Reserved</th>
  </tr>
</table>
</body>
</html>

**************
(addtestcase.html)
*******
<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Transitional//EN" "http://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd">
<html xmlns="http://www.w3.org/1999/xhtml">
<head>
<meta http-equiv="Content-Type" content="text/html; charset=UTF-8" />
<title>Add Test Case</title>
<link href="left_column.css" rel="stylesheet" type="text/css" />
<script language="javascript" src="adduser.js"></script>
</head>

<body>
<table width="971" height="715"  border=0 align="center" cellpadding=0 cellspacing=0>
  <tr>
    <td height="70" colspan="3" scope="row" bgcolor="#C0DCC0"></td>
  </tr>
  <tr>
    <td height="8" colspan="3" scope="row" style="margin:0px; padding:0px; border:0px; background-image:url(images/ll.jpg)"></td>
  </tr>
  <tr>
    <td height="53"  scope="row" style=" background-image:url(images/augmentum.JPG); background-repeat:repeat-x; margin:0px; padding:0px; border:0px; font-size:25px; color:#FFFFFF; text-align:center; font-weight:bold">Augmentum</td>
  </tr>
  <tr>
    <td width="155" height="527" scope="row" style="vertical-align:top;"><div id="leftnav">
      <div class="nav_heading">
        <input name="button" type="button" value="User Manager"/>
      </div>
      <div style=""> <a href="#">View Users </a> <a href="#">Add User </a> </div>
      <div class="nav_heading">
        <input name="button2" type="button" value="Test Case Manager"/>
      </div>
      <div> <a href="#">View Test Case </a> <a href="#">Add Test Case </a> <a href="#">Search Test Case </a></div>
      <div class="nav_heading">
        <input name="button2" type="button" value="Product&Module"/>
      </div>
      <div> <a href="#">View Products </a> <a href="#">Add Product </a> <a href="#">Add Module </a></div>
    </div></td>
    <td width="1px" style="border-left:2px double #000000">&nbsp;</td>
    <td width="809" style="vertical-align:top"><!--user list-->

        <table width="677" height="291" cellspacing="0" id="addusertable">
          <caption align="left" font-weight:bold">
          <table cellpadding="0" cellspacing="0" border="0" width="93%" align="left" >
            <tr>
              <td  width="31%" style="font:Arial; font-size:19px;text-align:left;background-color: #E6EAE9;;border:0px"> ADD TEST CASE</td>
              <td width="69%" style="text-align:right;font-weight:bold;background-color: #E6EAE9;border:0px">&nbsp;</td>
            </tr>
          </table>
          </caption>
       <form action="kk.do" name="bloguserForm">
            <tr>
              <th width="172" height="52" class="nobg" scope="col" abbr="Configurations" style="text-align:right"><span class="nobg" style="text-align:right">summary</span></th>
  <th width="582" class="nobg" scope="col" abbr="Configurations" style="background-color:  #E6EAE9;border:0px"><input type="text" name="usernum" style=" height:16px;width:180px"/></th>

            </tr>
<tr>
               <th height="54" class="nobg" scope="col" abbr="Configurations" style="text-align:right"><span class="nobg" style="text-align:right">date</span></th>
   <th  class="nobg" scope="col" abbr="Configurations" style="background-color:  #E6EAE9;border:0px"><input type="text" name="name"  style=" height:16px;width:180px"/></th>
            </tr>
<tr>
              <th height="53" class="nobg" scope="col" abbr="Configurations" style="text-align:right">User</th>
  <th  class="nobg" scope="col" abbr="Configurations" style="background-color:  #E6EAE9;border:0px"><select name="department" style=" height:16px">
  <option value="" selected>Department one</option>
   <option value="" >Department two</option>
  </select></th>
</tr>
<tr>
               <th height="54"  class="nobg" scope="col" abbr="Configurations" style="text-align:right">product</th>
   <th class="nobg" scope="col" abbr="Configurations" style="background-color:  #E6EAE9;border:0px"><select name="department" style=" height:16px">
  <option value="" selected>Department one</option>
   <option value="" >Department two</option>
  </select></th>
  
            </tr>
<tr>
               <th height="54" class="nobg" scope="col" abbr="Configurations" style="text-align:right"><span class="nobg" style="text-align:right">pRE-REQUEST</span></th>
   <th  class="nobg" scope="col" abbr="Configurations" style="background-color:  #E6EAE9;border:0px"><input type="text" name="name"  style=" height:45px;width:250px"/></th>
            </tr>
<tr>
               <th height="54" class="nobg" scope="col" abbr="Configurations" style="text-align:right"><span class="nobg" style="text-align:right">DESCRIPTION</span></th>
   <th  class="nobg" scope="col" abbr="Configurations" style="background-color:  #E6EAE9;border:0px"><input type="text" name="name"  style=" height:45px;width:250px"/></th>
            </tr>
       <tr>
               <th height="54" class="nobg" scope="col" abbr="Configurations" style="text-align:right"><span class="nobg" style="text-align:right">STEP</span></th>
   <th  class="nobg" scope="col" abbr="Configurations" style="background-color:  #E6EAE9;border:0px"><input type="text" name="name"  style=" height:45px;width:250px"/></th>
            </tr>
<tr>
               <th height="54" class="nobg" scope="col" abbr="Configurations" style="text-align:right"><span class="nobg" style="text-align:right">RESULT</span></th>
   <th  class="nobg" scope="col" abbr="Configurations" style="background-color:  #E6EAE9;border:0px"><input type="text" name="name"  style=" height:45px;width:250px"/></th>
            </tr>
          <tr>
              <th height="65" colspan="2"  class="nobg" scope="col" abbr="Configurations" style="background-color:#E6EAE9;border:0px;padding-left:90px"><input type="button" value="SUBMIT" onclick="return checkform();"/>
                 &nbsp;
                 <input name="RESET" type="reset" value="CANCEL"/></th>
 
          </tr>
       </form>
    
      </table>
  </td>
  </tr>
  <tr>
    <th height="57" colspan="3" scope="row" bgcolor="#C0DCC0" >  Copyright @ 2008 Augmentum, Inc. All Rights Reserved</th>
  </tr>
</table>
</body>
</html>

**********
*********
(updatetestcase)
<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Transitional//EN" "http://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd">
<html xmlns="http://www.w3.org/1999/xhtml">
<head>
<meta http-equiv="Content-Type" content="text/html; charset=UTF-8" />
<title>Add User</title>
<link href="left_column.css" rel="stylesheet" type="text/css" />
<script language="javascript" src="adduser.js"></script>
</head>

<body>
<table width="971" height="715"  border=0 align="center" cellpadding=0 cellspacing=0>
  <tr>
    <td height="70" colspan="3" scope="row" bgcolor="#C0DCC0"></td>
  </tr>
  <tr>
    <td height="8" colspan="3" scope="row" style="margin:0px; padding:0px; border:0px; background-image:url(images/ll.jpg)"></td>
  </tr>
  <tr>
    <td height="53"  scope="row" style=" background-image:url(images/augmentum.JPG); background-repeat:repeat-x; margin:0px; padding:0px; border:0px; font-size:25px; color:#FFFFFF; text-align:center; font-weight:bold">Augmentum</td>
  </tr>
  <tr>
    <td width="155" height="527" scope="row" style="vertical-align:top;"><div id="leftnav">
      <div class="nav_heading">
        <input name="button" type="button" value="User Manager"/>
      </div>
      <div style=""> <a href="#">View Users </a> <a href="#">Add User </a> </div>
      <div class="nav_heading">
        <input name="button2" type="button" value="Test Case Manager"/>
      </div>
      <div> <a href="#">View Test Case </a> <a href="#">Add Test Case </a> <a href="#">Search Test Case </a></div>
      <div class="nav_heading">
        <input name="button2" type="button" value="Product&Module"/>
      </div>
      <div> <a href="#">View Products </a> <a href="#">Add Product </a> <a href="#">Add Module </a></div>
    </div></td>
    <td width="1px" style="border-left:2px double #000000">&nbsp;</td>
    <td width="809" style="vertical-align:top"><!--user list-->

        <table width="677" height="291" cellspacing="0" id="addusertable">
          <caption align="left" font-weight:bold">
          <table cellpadding="0" cellspacing="0" border="0" width="93%" align="left" >
            <tr>
              <td  width="31%" style="font:Arial; font-size:19px;text-align:left;background-color: #E6EAE9;;border:0px"> ADD TEST CASE</td>
              <td width="69%" style="text-align:right;font-weight:bold;background-color: #E6EAE9;border:0px">&nbsp;</td>
            </tr>
          </table>
          </caption>
       <form action="kk.do" name="bloguserForm">
            <tr>
              <th width="172" height="52" class="nobg" scope="col" abbr="Configurations" style="text-align:right"><span class="nobg" style="text-align:right">summary</span></th>
  <th width="582" class="nobg" scope="col" abbr="Configurations" style="background-color:  #E6EAE9;border:0px"><input type="text" name="usernum" style=" height:16px;width:180px"/></th>

            </tr>
<tr>
               <th height="54" class="nobg" scope="col" abbr="Configurations" style="text-align:right"><span class="nobg" style="text-align:right">date</span></th>
   <th  class="nobg" scope="col" abbr="Configurations" style="background-color:  #E6EAE9;border:0px"><input type="text" name="name"  style=" height:16px;width:180px"/></th>
            </tr>
<tr>
              <th height="53" class="nobg" scope="col" abbr="Configurations" style="text-align:right">User</th>
  <th  class="nobg" scope="col" abbr="Configurations" style="background-color:  #E6EAE9;border:0px"><select name="department" style=" height:16px">
  <option value="" selected>Department one</option>
   <option value="" >Department two</option>
  </select></th>
</tr>
<tr>
               <th height="54"  class="nobg" scope="col" abbr="Configurations" style="text-align:right">product</th>
   <th class="nobg" scope="col" abbr="Configurations" style="background-color:  #E6EAE9;border:0px"><select name="department" style=" height:16px">
  <option value="" selected>Department one</option>
   <option value="" >Department two</option>
  </select></th>
  
            </tr>
<tr>
               <th height="54" class="nobg" scope="col" abbr="Configurations" style="text-align:right"><span class="nobg" style="text-align:right">pRE-REQUEST</span></th>
   <th  class="nobg" scope="col" abbr="Configurations" style="background-color:  #E6EAE9;border:0px"><input type="text" name="name"  style=" height:45px;width:250px"/></th>
            </tr>
<tr>
               <th height="54" class="nobg" scope="col" abbr="Configurations" style="text-align:right"><span class="nobg" style="text-align:right">DESCRIPTION</span></th>
   <th  class="nobg" scope="col" abbr="Configurations" style="background-color:  #E6EAE9;border:0px"><input type="text" name="name"  style=" height:45px;width:250px"/></th>
            </tr>
       <tr>
               <th height="54" class="nobg" scope="col" abbr="Configurations" style="text-align:right"><span class="nobg" style="text-align:right">STEP</span></th>
   <th  class="nobg" scope="col" abbr="Configurations" style="background-color:  #E6EAE9;border:0px"><input type="text" name="name"  style=" height:45px;width:250px"/></th>
            </tr>
<tr>
               <th height="54" class="nobg" scope="col" abbr="Configurations" style="text-align:right"><span class="nobg" style="text-align:right">RESULT</span></th>
   <th  class="nobg" scope="col" abbr="Configurations" style="background-color:  #E6EAE9;border:0px"><input type="text" name="name"  style=" height:45px;width:250px"/></th>
            </tr>
          <tr>
              <th height="65" colspan="2"  class="nobg" scope="col" abbr="Configurations" style="background-color:#E6EAE9;border:0px;padding-left:90px"><input type="button" value="SUBMIT" onclick="return checkform();"/>
                 &nbsp;
                 <input name="RESET" type="reset" value="CANCEL"/></th>
 
          </tr>
       </form>
    
      </table>
  </td>
  </tr>
  <tr>
    <th height="57" colspan="3" scope="row" bgcolor="#C0DCC0" >  Copyright @ 2008 Augmentum, Inc. All Rights Reserved</th>
  </tr>
</table>
</body>
</html>

************
************
(update User.htm;l)
**
<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Transitional//EN" "http://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd">
<html xmlns="http://www.w3.org/1999/xhtml">
<head>
<meta http-equiv="Content-Type" content="text/html; charset=UTF-8" />
<title>Add User</title>
<link href="left_column.css" rel="stylesheet" type="text/css" />
<script language="javascript" src="adduser.js"></script>
</head>

<body>
<table width="971" height="715"  border=0 align="center" cellpadding=0 cellspacing=0>
  <tr>
    <td height="70" colspan="3" scope="row" bgcolor="#C0DCC0"></td>
  </tr>
  <tr>
    <td height="8" colspan="3" scope="row" style="margin:0px; padding:0px; border:0px; background-image:url(images/ll.jpg)"></td>
  </tr>
  <tr>
    <td height="53"  scope="row" style=" background-image:url(images/augmentum.JPG); background-repeat:repeat-x; margin:0px; padding:0px; border:0px; font-size:25px; color:#FFFFFF; text-align:center; font-weight:bold">Augmentum</td>
  </tr>
  <tr>
    <td width="155" height="527" scope="row" style="vertical-align:top;"><div id="leftnav">
      <div class="nav_heading">
        <input name="button" type="button" value="User Manager"/>
      </div>
      <div style=""> <a href="#">View Users </a> <a href="#">Add User </a> </div>
      <div class="nav_heading">
        <input name="button2" type="button" value="Test Case Manager"/>
      </div>
      <div> <a href="#">View Test Case </a> <a href="#">Add Test Case </a> <a href="#">Search Test Case </a></div>
      <div class="nav_heading">
        <input name="button2" type="button" value="Product&Module"/>
      </div>
      <div> <a href="#">View Products </a> <a href="#">Add Product </a> <a href="#">Add Module </a></div>
    </div></td>
    <td width="1px" style="border-left:2px double #000000">&nbsp;</td>
    <td width="809" style="vertical-align:top"><!--user list-->

        <table width="677" height="379" cellspacing="0" id="addusertable">
          <caption align="left" font-weight:bold">
          <table cellpadding="0" cellspacing="0" border="0" width="93%" align="left" >
            <tr>
              <td  width="31%" style="font:Arial; font-size:19px;text-align:left;background-color: #E6EAE9;;border:0px"> ADD USER </td>
              <td width="69%" style="text-align:right;font-weight:bold;background-color: #E6EAE9;border:0px">&nbsp;</td>
            </tr>
          </table>
          </caption>
       <form action="kk.do" name="bloguserForm">
            <tr>
              <th width="172" height="73" class="nobg" scope="col" abbr="Configurations" style="text-align:right">WORKER num </th>
  <th width="582" class="nobg" scope="col" abbr="Configurations" style="background-color:  #E6EAE9;border:0px"><input type="text" name="usernum" style=" height:16px;width:180px"/></th>

            </tr>
<tr>
               <th height="71" class="nobg" scope="col" abbr="Configurations" style="text-align:right">Worker name </th>
  <th  class="nobg" scope="col" abbr="Configurations" style="background-color:  #E6EAE9;border:0px"><input type="text" name="name"  style=" height:16px;width:180px"/></th>
            </tr>
<tr>
              <th height="67" class="nobg" scope="col" abbr="Configurations" style="text-align:right">e-mail</th>
  <th  class="nobg" scope="col" abbr="Configurations" style="background-color:  #E6EAE9;border:0px"><input type="text" name="mailbox" style=" height:16px;width:180px"/></th>
            </tr>
<tr>
               <th height="66"  class="nobg" scope="col" abbr="Configurations" style="text-align:right">department</th>
  <th class="nobg" scope="col" abbr="Configurations" style="background-color:  #E6EAE9;border:0px"><select name="department" style=" height:16px">
  <option value="" selected>Department one</option>
   <option value="" >Department two</option>
  </select></th>
  
            </tr>
      
          <tr>
              <th height="65" colspan="2"  class="nobg" scope="col" abbr="Configurations" style="background-color:#E6EAE9;border:0px;padding-left:90px"><input type="button" value="SUBMIT" onclick="return checkform();"/>
                 &nbsp;
                 <input name="RESET" type="reset" value="CANCEL"/></th>
 
          </tr>
       </form>
    
      </table>
  </td>
  </tr>
  <tr>
    <th height="57" colspan="3" scope="row" bgcolor="#C0DCC0" >  Copyright @ 2008 Augmentum, Inc. All Rights Reserved</th>
  </tr>
</table>
</body>
</html>

*************
(detail.html)
***
<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Transitional//EN" "http://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd">
<html xmlns="http://www.w3.org/1999/xhtml">
<head>
<meta http-equiv="Content-Type" content="text/html; charset=UTF-8" />
<title>Detail</title>
<link href="left_column.css" rel="stylesheet" type="text/css" />
<script language="javascript" src="adduser.js"></script>
</head>

<body>
<table width="971" height="715"  border=0 align="center" cellpadding=0 cellspacing=0>
  <tr>
    <td height="70" colspan="3" scope="row" bgcolor="#C0DCC0"></td>
  </tr>
  <tr>
    <td height="8" colspan="3" scope="row" style="margin:0px; padding:0px; border:0px; background-image:url(images/ll.jpg)"></td>
  </tr>
  <tr>
    <td height="53"  scope="row" style=" background-image:url(images/augmentum.JPG); background-repeat:repeat-x; margin:0px; padding:0px; border:0px; font-size:25px; color:#FFFFFF; text-align:center; font-weight:bold">Augmentum</td>
  </tr>
  <tr>
    <td width="155" height="527" scope="row" style="vertical-align:top;"><div id="leftnav">
      <div class="nav_heading">
        <input name="button" type="button" value="User Manager"/>
      </div>
      <div style=""> <a href="#">View Users </a> <a href="#">Add User </a> </div>
      <div class="nav_heading">
        <input name="button2" type="button" value="Test Case Manager"/>
      </div>
      <div> <a href="#">View Test Case </a> <a href="#">Add Test Case </a> <a href="#">Search Test Case </a></div>
      <div class="nav_heading">
        <input name="button2" type="button" value="Product&Module"/>
      </div>
      <div> <a href="#">View Products </a> <a href="#">Add Product </a> <a href="#">Add Module </a></div>
    </div></td>
    <td width="1px" style="border-left:2px double #000000">&nbsp;</td>
    <td width="809" style="vertical-align:top"><!--user list-->

        <table width="677" height="283" cellspacing="0" id="addusertable">
          <caption align="left" font-weight:bold">
          <table cellpadding="0" cellspacing="0" border="0" width="93%" align="left" >
            <tr>
              <td  width="31%" style="font:Arial; font-size:19px;text-align:left;background-color: #E6EAE9;;border:0px">TEST CASE DETAIL</td>
              <td width="69%" style="text-align:right;font-weight:bold;background-color: #E6EAE9;border:0px">&nbsp;</td>
            </tr>
          </table>
          </caption>
       <form action="kk.do" name="bloguserForm">
<tr>
               <th width="172" height="54" class="nobg" style="text-align:right" scope="col" abbr="Configurations"><span class="nobg" style="text-align:right">pRE-REQUEST</span></th>
   <th width="582"  class="nobg" style="background-color:  #E6EAE9;border:0px" scope="col" abbr="Configurations"><input type="text" name="name"  style=" height:45px;width:250px"/></th>
            </tr>
<tr>
               <th height="54" class="nobg" scope="col" abbr="Configurations" style="text-align:right"><span class="nobg" style="text-align:right">DESCRIPTION</span></th>
   <th  class="nobg" scope="col" abbr="Configurations" style="background-color:  #E6EAE9;border:0px"><input type="text" name="name"  style=" height:45px;width:250px"/></th>
            </tr>
       <tr>
               <th height="54" class="nobg" scope="col" abbr="Configurations" style="text-align:right"><span class="nobg" style="text-align:right">STEP</span></th>
   <th  class="nobg" scope="col" abbr="Configurations" style="background-color:  #E6EAE9;border:0px"><input type="text" name="name"  style=" height:45px;width:250px"/></th>
            </tr>
<tr>
               <th height="54" class="nobg" scope="col" abbr="Configurations" style="text-align:right"><span class="nobg" style="text-align:right">RESULT</span></th>
   <th  class="nobg" scope="col" abbr="Configurations" style="background-color:  #E6EAE9;border:0px"><input type="text" name="name"  style=" height:45px;width:250px"/></th>
            </tr>
          <tr>
              <th height="65" colspan="2"  class="nobg" scope="col" abbr="Configurations" style="background-color:#E6EAE9;border:0px;padding-left:90px"><input type="button" value="SUBMIT" onclick="return checkform();"/>
                 &nbsp;
                 <input name="RESET" type="reset" value="CANCEL"/></th>
          </tr>
       </form>
      </table>
  </td>
  </tr>
  <tr>
  
0 请登录后投票
   发表时间:2008-09-01  
tianwill 写道
提个建议,分页器那段,分页器里多个法在多次调用getTotal()方法,而getTotal()需要读取数据库,建议加个属性保存下total的值,就不用多次读数据库。


恩。谢谢.
0 请登录后投票
论坛首页 入门技术版

跳转论坛:
Global site tag (gtag.js) - Google Analytics