<%@ Page Language="C#" AutoEventWireup="true" CodeBehind="Pages.aspx.cs" Inherits="helpdesk.helpdesk.Pages" %>

<!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>
    <script src="../javascript/jquery-1.9.1.min.js"></script>
 
    <link href="../Survery/css/vote.css" rel="stylesheet" type="text/css" />

    <script src="../javascript/laydate/laydate.js"></script>
    <script src="../javascript/common.js"></script>
 
    <style>
         
 .votemultitextboxL{width:500px; height:50px;}
 .voteradiobuttonlist td{  padding:10px;}
 .votecheckboxlist td{ padding:10px;}
 .votedowndownlist td{padding:10px;}
 .voteradiobuttonlist  td{padding:10px;}
 

 BODY { width:90%; margin:0 auto}
.gwTdInput{ text-align:left}
.gwTdInput  td input{ margin-left:50px; margin-right:5px}



 .btn{border:1px solid #919699; 
  background:#fcfcfc;  
  text-align:center; 
  text-decoration:none; 
  padding:1px 5px; 
  cursor:pointer; 
  margin-right:2px;
  font-size:12px;
	    width: 78px;
}




    </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>
    tr{ background-color:#ffffff} 
    
.btn{border:1px solid #919699; 
  background:#fcfcfc;  
  text-align:center; 
  text-decoration:none; 
  padding:3px 8px; 
  cursor:pointer; 
  margin-right:2px;
  font-size:12px;
 
}

.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}
table{border:#000000 solid; border-width:1px 0px 0px 1px}
td{border:#000000 solid; border-width:0px 1px 1px 0px; font-size:14px;}

 </style>

 
</head>
<body style="background-color:#545454; font-size:12px; font-family:Verdana">
 
    <form id="form1" runat="server">
     
       <div style=" font-size:12px; font-family:Verdana; background-color:#ffffff; margin:20px;">
   
        <br /><br />
<div  style=" width:90%; text-align:center; margin:20px; font-size:20px; font-weight:bold; color:#29bdcb  ">
    <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 border="0" cellSpacing="1" borderColorDark="#ffffff" cellPadding="8"    width="1000px" bgColor="#a1a3ad" align=center>
     
                
        <tr>
          <td width="20%">姓名：</TD>
          <td width="30%">
          <asp:TextBox runat="server" ID="truename" CssClass="gwTextInput"></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" CssClass="gwTextInput"></asp:TextBox>
           </td>
        </tr>
 
        <tr>

         <td>电话：</TD>
          <td> 
          <asp:TextBox runat="server" CssClass="gwTextInput" ID="mobile"></asp:TextBox>
          </td>
          <td>邮件：</TD>
          <td> 
           <asp:TextBox runat="server"  CssClass="gwTextInput" ID="email"></asp:TextBox>
          </td>
         
        </tr>
          
        
           
        <asp:panel runat="server" ID="content"></asp:panel>
           
          
        </table>
    
    
       <br />
        
        <div  style=" width:90%; text-align:center; "> 
            <asp:Button ID="Button1" runat="server"  CssClass="noprint btn"  Text="提交表单" onclick="Button1_Click" />

     
     
     
     
    

          
        </div>
   
   <br /><br />
  


 </div>
    </form>
</body>
</html>