<%@ Page Title="" Language="C#" MasterPageFile="~/m/m.Master" AutoEventWireup="true"  Inherits="Book.Book.Details" %>
<asp:Content ID="Content1" ContentPlaceHolderID="ContentPlaceHolder1" runat="server">


       <header class="mui-bar mui-bar-nav">
			<a class="mui-action-back mui-icon mui-icon-left-nav mui-pull-left"></a>
			<h1 class="mui-title">
                 会议详情
                （ID：<%# Eval("id")%>）


			</h1>
         <a class="mui-icon mui-icon-bars mui-pull-right" href="default.aspx"></a>
 </header>
      



    
      <div class="mui-content">
        <div class="mui-page">
             



    
    <asp:FormView ID="FormView1"  RenderOuterTable="false" runat="server" >
    
    <ItemTemplate>
 
         <p>会议基本信息 </p>

                <ul class="mui-table-view">

                    <li class="mui-table-view-cell">会议主题
			    	 <span class="mui-pull-right">
                        <%# Eval("intro")%>  <%# Eval("numbers")%>人 
                     </span>
                    </li>

           <li class="mui-table-view-cell">会议时间
			    	 <span class="mui-pull-right">
                    <%# DateTime.Parse(Eval("begintime").ToString()).ToString("yyyy-MM-dd HH:mm")%>
                         ~
                    <%# DateTime.Parse(Eval("endtime").ToString()).ToString("HH:mm")%>
                     </span>
                    </li>


                         <li class="mui-table-view-cell">会议地点
			    	 <span class="mui-pull-right">
                 <%# Eval("roomname")%>人 
                   
                     </span>
                    </li>


                    
                   <li class="mui-table-view-cell">会议属性
			    	 <span class="mui-pull-right">
                 <%# Eval("others2").ToString().Replace(";","")%> 
                   
                     </span>
                    </li>


                        <li class="mui-table-view-cell">联系人
			    	 <span class="mui-pull-right">
                 <%# Eval("contactname")%>
                   
                     </span>
                    </li>


                        <li class="mui-table-view-cell">联系电话
			    	 <span class="mui-pull-right">
                 <%# Eval("contacttel")%>
                   
                     </span>
                    </li>

                    
                       <li class="mui-table-view-cell">周期性
			    	 <span class="mui-pull-right">
                        <%# Eval("txt")%>   
                     </span>
                    </li>


                        <li class="mui-table-view-cell">特别需求
			    	 <span class="mui-pull-right">
                 <%# Eval("specialrequire")%>
                   
                     </span>
                    </li>

                   </ul>



        <p>资源信息</p>

           
                <ul class="mui-table-view">

                    <li class="mui-table-view-cell">会议资源
			    	 <span class="mui-pull-right">
                        <%# Eval("others1")%>   
                     </span>
                    </li>

                    


                   

                       <li class="mui-table-view-cell">与会人员
			    	 <span class="mui-pull-right">
                        <%# Eval("attendtext")%>   
                     </span>
                    </li>
                    

                   </ul>


         
     
    
    </ItemTemplate>
    </asp:FormView>
    

                
        <br /><br />
        <div class="mui-text-center">
              <asp:PlaceHolder runat="server"    ID="pl_cancel">



                  
                  <a href='EditBook.aspx?id=<%=id %>'
                       class="mui-btn mui-btn-green"
                      >编辑会议</a>


            <input type="button" 
                 class="mui-btn mui-btn-danger"
                  onclick='if(isDel()){del(<%=id %> );}' value="取消会议"  >


                  </asp:PlaceHolder>
        </div>
  

           

      </div>
              </div>

        


     <script>

         function isDel() {
             return confirm("确定取消吗")

         }

         function del(uniqueId) { 
            
             $.ajax("del.aspx?id=" + uniqueId);
             window.location="mybook.aspx";

         }

    </script>

</asp:Content>
