<%@ Page Language="C#" AutoEventWireup="true" CodeBehind="Form_new.aspx.cs" Inherits="oa.Form.Form_new" %>


<!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 runat="server">
    <title>表单</title>
  
    <link href="../bootstrap/css/bootstrap.min.css" rel="stylesheet" />
    <script src="../Javascript/jquery-1.9.1.min.js"></script> 
    <script src="../bootstrap/js/bootstrap.min.js"></script> 
     <script src="../Javascript/laydate/laydate.js" type="text/javascript"></script>
    <script src="../Javascript/common.js" type="text/javascript"></script>
 
   <style>
       .cbl {
        width:90%;
       }
       .rbl {
        width:90%;
       }
   </style>
    <script>

        function CheckItem(sender, args) {
           
            var chkControlId = sender.id.replace("Validator_", "");
            var options = document.getElementById(chkControlId).getElementsByTagName('input');
            var ischecked = false;
            args.IsValid = false;
            for (i = 0; i < options.length; i++) {
                var opt = options[i];
                if (opt.type == "checkbox") {
                    if (opt.checked) {
                        ischecked = true;
                        args.IsValid = true;
                    }
                }
            }
        }

        function AddAttach(_cid, _div, _path, _filename) {

            result = "<div id=" + _div + "><a target=_blank  href=" + _path + ">" + _filename + "</a> &nbsp;&nbsp;&nbsp;&nbsp;";

            result += "<img onclick=\"if(!confirm('确认删除该附件吗？'))return; $('#" + _div + "').remove();  $('#copy_" + _div + "').remove();  Rrfresh('"+_cid+"'); \" border=0 src=images/remove.gif></div>";


            resultcopy = "<div class=attach id=copy_" + _div + "><a target=_blank  href=" + _path + ">" + _filename + "</a> </div> ";

       
            $('#' + _cid).html($('#' + _cid).html() + result);

            $('#copy_' + _cid).html($('#copy_' + _cid).html() + resultcopy);

            Rrfresh(_cid);
        }
        function Rrfresh(_cid) { 
            $('#hfatta_' + _cid).val($('#copy_' + _cid).html());
        }




 
 </script>

 <style>
    

.intro{ color:#555; font-size:13px; font-weight:normal; margin-top:5px;  }

.grouption{ width:600px;}
.grouption td{ line-height:30px; min-width:40px;}
.grouption th{  text-align:center; border-bottom:solid 1px #ddd}

.cell1{ border-left:solid 1px #aaa}

 </style>





 <style media="print"> 
*{ font-size:14px;font-family:宋体;}
.noprint { display: none } 
.intro{ display:none}
 
 </style>

 
</head>
<body >
 <div style="background-color:#000000; color:#ffffff; font-family:微软雅黑; padding:10px;" class="noprint">
     启明星流程表单
 </div>
    <div style=" width:1000px; margin:0 auto; font-family:Verdana; font-size:13px; ">
    <form id="form1" runat="server"  autocomplete="off">

     
    
<div  style=" width:1000px; text-align:center; margin:20px auto; font-size:20px; font-weight:bold; color:#666666;     ">
<asp:Label runat="server" ID="lbl_title"></asp:Label>
<asp:Label runat="server" ID="lbl_expiredate"></asp:Label>

<asp:Panel runat="server" ID="pnl_intro">
 <div class="intro">
    <asp:Label runat="server" ID="lbl_intro"></asp:Label>
 </div>

</asp:Panel>


 </div>

  
          
  
      <table  class="table table-bordered" style="width:1000px;">
     
                    
        <asp:panel runat="server" ID="content"></asp:panel>
         



        <tr>
          <td width="20%">填表人姓名：</TD>
          <td width="30%">
          <asp:TextBox runat="server" ID="truename" Enabled="false" CssClass="form-control"></asp:TextBox>
              <asp:RequiredFieldValidator ID="RequiredFieldValidator1" Display="Dynamic" ControlToValidate="truename" runat="server" ErrorMessage="*"></asp:RequiredFieldValidator>
           
           </td>
          <td width="20%">填表人部门：</TD>
          <td width="30%"> 
              <asp:TextBox runat="server" ID="dept" Enabled="false" CssClass="form-control"></asp:TextBox>
           </td>
        </tr>
 
        <tr>

         <td>填表人电话：</TD>
          <td> 
          <asp:TextBox runat="server" CssClass="form-control" Enabled="false" ID="mobile"></asp:TextBox>
          </td>
          <td>填表人邮件：</TD>
          <td> 
           <asp:TextBox runat="server"  CssClass="form-control" Enabled="false" ID="email"></asp:TextBox>
          </td>
         
        </tr>
     
         
          
        </table>
    
  


         <div  style=" width:90%; text-align:center; margin-top:30px "> 
     
     
           &nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp; <asp:Button ID="Submits" runat="server"  CssClass="noprint btn"  style="background-color:#555; color:#ffffff" Text="提交表单" onclick="Submits_Click" />
           
           &nbsp;&nbsp;&nbsp;&nbsp;  <input type="button" value="打印"  class="btn btn-default" onclick="window.print();"/>
               </div>
     
     
      
  
 
    </form>

    </div>

</body>
</html>
