<%@ Page Title="" Language="C#" MasterPageFile="~/Book/Book.master" AutoEventWireup="true" CodeBehind="AddBook.aspx.cs" Inherits="Book.Book.AddBook" %>
<asp:Content ID="Content1" ContentPlaceHolderID="cont_form" runat="server">




<div id="main" style="font-size:12px; margin:0px; padding:-50px">






<!-- 1 会议时间  -->
<div class="title-bt">
1. 会议预定时间（此项必填） 
    <div>
      Conference Time（Required）
    </div>
</div>
 
<div class="bo-input">
 <div>日期(Date)：  <font color=red>*</font>
 
 <asp:TextBox type="text" id="txt_startdate" runat="server" style="font-family:verdana; font-size:12px" onClick="javascript:ShowCalendar(this)" />
 <asp:RequiredFieldValidator  ControlToValidate="txt_startdate" ID="rfv_startdate" runat="server" ErrorMessage="必须设定日期" Display="Dynamic"></asp:RequiredFieldValidator>          
                
                
 &nbsp;&nbsp;会议开始时间(Start)：
   <asp:DropDownList   Width="100px" class="BorderColor" runat="server" id="ddl_starttime"  ></asp:DropDownList>
  
   &nbsp;&nbsp;会议结束时间(End)：     
     <asp:DropDownList   Width="100px" class="BorderColor" runat="server" id="ddl_endtime"    ></asp:DropDownList>
      <br>
      <br>
     
 <br />
 
 
 
 </div>
 
 
  </div>
  
  
  
  
<div class="title-bt mar-b">
2.预订联系人(此项必填）  
<div> Contact Person</div>
 

</div> 

  <div class="bo-input">
 


 <table style="text-align:right">
    
      
 <tr>
    
  <td>
      联系人姓名 Contact<font color=red>*</font>：
      <asp:TextBox runat="server" ID="txt_contactname" />  
      <asp:RequiredFieldValidator ControlToValidate="txt_contactname"
      ID="RequiredFieldValidator4"    runat="server"  ErrorMessage="必须填写联系人" Display="Dynamic"></asp:RequiredFieldValidator>
     </td>
     
     
     <td> 
  联系人部门 Dept.<font color=red>*</font>：
   <asp:TextBox runat="server" ID="txt_contactdept" /> 
    <asp:RequiredFieldValidator ControlToValidate="txt_contactdept"
      ID="RequiredFieldValidator6" runat="server"  ErrorMessage="必须填写联系部门"   Display="Dynamic"></asp:RequiredFieldValidator>
     </td>
       
     </tr>
     <tr>
    
  <td>  联系人电话 Tel &nbsp;<font color=red>*</font>： 
  <asp:TextBox runat="server" ID="txt_contacttel" />  
      <asp:RequiredFieldValidator ControlToValidate="txt_contacttel"
      ID="RequiredFieldValidator7" runat="server"  ErrorMessage="必须填写联系电话"  Display="Dynamic"></asp:RequiredFieldValidator>
  
     </td>
     <td> 
    联系人邮件 Email<font color=red>*</font>： 
    <asp:TextBox runat="server" ID="txt_contactemail" /> 
    <asp:RequiredFieldValidator ControlToValidate="txt_contactemail" Display="Dynamic"
      ID="RequiredFieldValidator8" runat="server"   ErrorMessage="必须填写联系邮件" ></asp:RequiredFieldValidator>
  
     </td>
       
     </tr>
     
     
     
     
      
     
     
     
     <tr align="left">
       <td colspan="3" align="left">
     
     与会人数&nbsp; &nbsp;&nbsp;&nbsp;Number &nbsp;<font color=red>*</font>： 
    <asp:TextBox runat="server" ID="txt_numbers"  Text="2" /> 
    <asp:RequiredFieldValidator ControlToValidate="txt_numbers" Display="Dynamic"
      ID="RequiredFieldValidator9" runat="server"   ErrorMessage="参与的人数" ></asp:RequiredFieldValidator>
  
     </td>
     </tr>
     <tr>
     
     <td colspan="3" align="left" valign="top">
   会议简介 &nbsp;Introduct ： 
     <asp:TextBox runat="server" ID="txt_intro"  TextMode="MultiLine" Width="450" Height="60" /> 
   
     </td>
     
     </tr>
     </table>
     
 
  
 
</div>


<!-- 2 会议室  -->
 
 



 
 

<div class="title-bt">
3. 会议室预定（此项必填） 
<div>
 Room Booking（Required）
</div>
</div> 
 

<div class="bo-input">
 
<table  width="700px"  cellpadding="0" cellspacing="0" style="table-layout:auto">
<tr valign=top>
  <td width="500px">
  
         <asp:RadioButtonList ID="rbl_room" runat="server"  >
        </asp:RadioButtonList>
 
    </td>
   
    <td>
    
    <table id="tblButton"  >  
        <asp:Label runat="server" ID="viewbusiness"></asp:Label>
     </table>
    
    </td>
    </tr>
</table>

 <br> 
</div>

 


  <asp:Panel runat="server"  id="pnl_pc">
 

<div class="title-bt">
4. 笔记本（此项选填） 
<div>
 NotePC（Optional）
</div>
</div> 




<div class="bo-input">
 
<table  width="700px"  cellpadding="0" cellspacing="0" style="table-layout:auto">
<tr valign=top>
  <td width="500px">
 
        <asp:RadioButtonList ID="rbl_pc" runat="server"  AppendDataBoundItems="true" >
          <asp:ListItem Text="取消选择" Value="0"></asp:ListItem>
        </asp:RadioButtonList>
     
    </td>
   
    <td>
    
    <table id="Table1"  >  
    <asp:Label runat="server" ID="viewpc"></asp:Label>
    
     </table>
    
    </td>
    </tr>
</table>

 <br> 
</div>

</asp:Panel>



<asp:Panel runat="server"  id="pnl_projector">
<div class="title-bt">
5. 投影仪（此项选填） 
<div>
 Projector（Optional）
</div>
</div> 

<div class="bo-input">
 
<table  width="700px"  cellpadding="0" cellspacing="0" style="table-layout:auto">
<tr valign=top>
  <td width="500px">
  
        <asp:RadioButtonList ID="rbl_proj" runat="server"  AppendDataBoundItems="true" >
        <asp:ListItem Text="取消选择" Value="0"></asp:ListItem>
        </asp:RadioButtonList>
    
    </td>
   
    <td>
    
    <table id="Table2"  >  
    <asp:Label runat="server" ID="viewproj"></asp:Label>
    
     </table>
    
    </td>
    </tr>
</table>


</div>

 </asp:Panel>


<asp:Panel runat="server" ID="pnl_other1">
<div class="title-bt mar-b">
6. 其他需求1
<div>Other Require</div> 

</div> 
<div class="bo-input">
    <asp:CheckBoxList ID="cb_other1" runat="server" RepeatColumns="3" Width="300"   > 
    
    </asp:CheckBoxList>
</div>
  </asp:Panel>
 


<asp:Panel runat="server" ID="pnl_other2">
<div class="title-bt mar-b">
7. 其他需求2
<div>Other Require</div> 

</div> 
<div class="bo-input">
    <asp:CheckBoxList ID="cb_other2" runat="server" RepeatColumns="1" Width="300"   > 
    
    </asp:CheckBoxList>
</div>
 </asp:Panel>
 
 
 
 
 
 
 
 
 
 <asp:Panel runat="server" ID="pnl_welcomeword">
 
 
 <div class="title-bt mar-b">
8.欢迎词 Welcome Work
 

</div> 
 
 <div class="bo-input">
 
 
 欢迎辞颜色：<asp:DropDownList ID="ddl_fontcolor" runat="server">
  
  <asp:ListItem style=" background-color:#000000" Value="#000000"></asp:ListItem>
   <asp:ListItem style=" background-color:#ff0000" Value="#ff0000"  Selected="true"></asp:ListItem>
     <asp:ListItem style=" background-color:#FFFFFF" Value="#ffffff" ></asp:ListItem>
     <asp:ListItem style=" background-color:#EE1B2E" Value="#EE1B2E"></asp:ListItem>
       <asp:ListItem style=" background-color:#00ff00" Value="#00ff00"></asp:ListItem>
        <asp:ListItem style=" background-color:#0000ff" Value="#0000ff"></asp:ListItem>
           
      <asp:ListItem style=" background-color:#EE5023" Value="#EE5023"></asp:ListItem>
       <asp:ListItem style=" background-color:#996600" Value="#996600"></asp:ListItem>
        <asp:ListItem style=" background-color:#3C9D40" Value="#3C9D40"></asp:ListItem>
         <asp:ListItem style=" background-color:#2897C5" Value="#2897C5"></asp:ListItem>
          <asp:ListItem style=" background-color:#2B65B7" Value="#2B65B7"></asp:ListItem>
           <asp:ListItem style=" background-color:#8F2A90" Value="#8F2A90"></asp:ListItem>
            <asp:ListItem style=" background-color:#EC1282" Value="#EC1282"></asp:ListItem>
     </asp:DropDownList> &nbsp;&nbsp;
     
     字体大小   <asp:DropDownList ID="ddl_fontsize" runat="server">
       </asp:DropDownList>
       
  <span style=" display:none">
  字体   <asp:DropDownList ID="ddl_fontfamily" runat="server">
       </asp:DropDownList>
    </span>   
 
 
 <br />
 
背景图片<asp:TextBox ID="txt_logo" runat="server"></asp:TextBox> 

<a href="#" onclick="window.open('Upload.aspx');return false; ">上传Logo</a> 

<a href="#" onclick="window.open('LogoList.aspx');return false; ">选择已有Logo</a>
 
 <asp:TextBox runat="server" ID="txt_welcomemessage" TextMode="MultiLine" Width="500" Height="40"></asp:TextBox>
 </div>
 
 
 
 </asp:Panel>
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 

<div class="title-bt mar-b">
 特别要求
<div>Special Requirements</div> 

</div> 

<div class="bo-input"   >
 
 <asp:TextBox runat="server" ID="txt_specialrequire"  TextMode="MultiLine" width="600" Height="100"  /><br />
 <br />
  <div id="div_email" runat="server">

  邮件抄送到CC (多个用户用英文模式下的逗号分割):<br />
   
   
  <asp:TextBox ID="CC" Width="500PX" runat="server"  Height="50px" TextMode="MultiLine"></asp:TextBox>  
 
  &nbsp;&nbsp;  
 <button type="button"  class="submitBtn" style=" height:50px; vertical-align:top" onclick="window.open('searchusers.aspx','','width=1000,height=600'); return false"  ><img src="images/submit.gif" style=" width:16px; height:16px" />抄送CC</button>
 </div>
 
 
</div>

<div style=" padding-left:300px; margin-top:20px; margin-bottom:20px">

<asp:button ID="btn_submit" runat="server" Text="提交 Submit"  class="submitBtn"     OnClick="Button1_Click"    />
<input   type="button"  class="submitBtn"   onclick="window.location='default.aspx'" value="取消 Cancel"  />  
</div>

</div>

 <input id="hid" type="hidden" name="hid" runat="server" />
     
     
     

 <script>
  
    function SetValues(o) {
      
        var txt = document.getElementById('<%=CC.ClientID %>');
        var cont = txt.value;
        txt.value = cont+","+o;
    
    }


</script>

    <asp:ValidationSummary ID="ValidationSummary1"  ShowMessageBox="true" ShowSummary="false"  runat="server" />




</asp:Content>
