<%@ Page Language="C#" AutoEventWireup="true" CodeBehind="Default.aspx.cs" Inherits="MyITJob.JobFair.Default" %>

<%@ Register TagPrefix="ascx" TagName="PageTop" Src="~/ascx/JobFair.ascx" %>
<%@ Register TagPrefix="ascx" TagName="PageFooter" Src="~/ascx/PageFooter.ascx" %>
<!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>
  <title>招聘会 -<%=Application["PageTitle"] %></title>
  <meta name="Keywords" content="<%=Application["PageKeywords"] %>" />
  <meta name="Description" content="<%=Application["Pagede"] %>" />
  <link href="<%=s_style %>" rel="stylesheet" type="text/css" />
  <style type="text/css">
  .bg{ width:258px; height:154px; background:url(../images/JobFair_Bg.jpg); margin-bottom:5px; }
  .num{font-size:45px; line-height:100%; color:Red; font-family:黑体; font-weight:bold;}
  .numDiv{padding-left:70px; padding-top:40px; text-align:center; width:112px; height:81px;}
  .tb { border:1px solid #EFEFEF; margin-bottom:10px; }
  .tb li { list-style-type:none; float:right; padding-right:10px;}
  </style>
</head>
<body>
  <form id="form1" runat="server">
    <div>
      <div>
        <ascx:PageTop ID="PageTop" runat="server" />
      </div>
      <table width="986" border="0" align="center" cellpadding="0" cellspacing="0">
        <tr>
          <td width="23%" valign="top">
            <table width="218" border="0" cellpadding="0" cellspacing="0" class="tableStyle">
              <tr>
                <td height="25" colspan="2">
                  <table width="100%" border="0" cellpadding="0" cellspacing="0" bgcolor="#55C2FD">
                    <tr>
                      <td height="27" class="myqzzpTD2">
                        <span class="STYLE4">企 业 登 录</span></td>
                    </tr>
                  </table>
                </td>
              </tr>
              <tr>
                <td width="100%" valign="top" class="dtdbg">
                  <asp:Panel ID="loginPanel" runat="server">
                    <table width="100%" border="0" cellpadding="3" cellspacing="1">
                      <tr>
                        <td align="center">
                          账 号：
                          <asp:TextBox ID="username" runat="server" Width="120px" MaxLength="18"></asp:TextBox></td>
                      </tr>
                      <tr>
                        <td align="center">
                          密 码：
                          <asp:TextBox ID="pass" runat="server" Width="120px" MaxLength="18" TextMode="Password"></asp:TextBox></td>
                      </tr>
                      <tr>
                        <td align="center">
                          <asp:ImageButton ID="ImageButton1" runat="server" ImageUrl="../images/Sl_Button_Login.gif" OnClick="ImageButton1_Click" /></td>
                      </tr>
                      <tr>
                        <td align="center">
                          <img src="../images/jiantou2.gif" width="8" height="8" /><a href="/Company/reg1.aspx" class="title2">注册企业</a>
                          <img src="../images/jiantou2.gif" width="8" height="8" /><a href="../GetPwd.aspx"
                            class="title2">忘记密码</a><br />
                          <asp:Label ID="loginLabel" runat="server" ForeColor="red"></asp:Label></td>
                      </tr>
                    </table>
                  </asp:Panel>
                  <asp:Panel ID="loginPannel2" runat="server" Visible="false">
                    <table width="100%" border="0" cellspacing="1" cellpadding="3">
                      <tr>
                        <td align="center">
                          欢迎您：<span style="color: Red"><%=slname%></span></td>
                      </tr>
                      <tr>
                        <td align="center">
                          <img src="../images/jiantou2.gif" width="8" height="8" /><a href="/Company/Default.aspx">进入管理中心</a>
                          <img src="../images/jiantou2.gif" alt="" width="8" height="8" /><a href="/Company/Login_Out.aspx">退出管理</a></td>
                      </tr>
                    </table>
                  </asp:Panel>
                </td>
                <td width="1%" height="23">
                  <table width="100%" border="0" cellpadding="0" cellspacing="0">
                  </table>
                </td>
              </tr>
            </table>
            <table width="218" border="0" cellpadding="0" cellspacing="0" class="tableStyle">
              <tr>
                <td height="25" colspan="2">
                  <table width="100%" border="0" cellpadding="0" cellspacing="0" bgcolor="#55C2FD">
                    <tr>
                      <td height="27" class="myqzzpTD2">
                        <span class="STYLE4">职 业 指 导</span></td>
                    </tr>
                  </table>
                </td>
              </tr>
              <tr>
                <td width="100%" valign="top" class="dtdbg">
                <div style="padding-left:5px; line-height:22px;">
                  <asp:Repeater ID="message" runat="server"><ItemTemplate>
                  <div>·<a href="/LookNews/Article-<%#Eval("id") %>.html" target="_blank"><%#FormatLeft2(Eval("title").ToString(), 20 ,20) %></a></div>
                  </ItemTemplate>
                  </asp:Repeater>
                  </div>                  
                </td>
              </tr>
            </table>
          </td>
          <td width="77%" valign="top">
            <table id="Manage" runat="server" cellspacing="0" width="760" cellpadding="0" align="center" border="0">
              <tr>
                <td>
                  <table cellspacing="0" cellpadding="0" width="100%" align="center" border="0">
                    <tr>
                      <td valign="bottom" align="middle" width="110" height="24">
                        <span class="STYLE4" style="color: #0066cc; padding-left: 10px;"><strong>招聘会列表</strong></span></td>                      
                    </tr>
                    <tr><td><div style="border-bottom: #eeeeee 2px solid; overflow:hidden; width:100%; height:1px;"></div></td></tr>
                  </table>
                </td>
              </tr>
              <tr>
                <td>
                    <asp:Repeater ID="Repeater1" runat="server">
                    <ItemTemplate>
                    <table width="100%" border="0" cellspacing="0" cellpadding="0" class="tb">
                  <tr>
                    <td width="37%" rowspan="2"><div class="bg">
                    <div class="numDiv">
                        <%#Eval("time","{0:yyyy年MM月}")%><br />
                        <span class="num"><%#Eval("time","{0:dd}")%></span><br />
                        <%#_day() %>
                    </div>
                    </div></td>
                    <td width="63%" style="line-height:24px;">
                    <span style="color:red"><b><%#Eval("title")%></b></span><br />
                    会场地址：<%#Eval("address")%><br />
                    乘车线路：<%#Eval("addressbus")%><br />
                    具体时间：<%#Eval("time","{0:d}")%>
                    </td>
                  </tr>
                  <tr>
                    <td align="right"><ul>
                    <li>[<a href="FairList.aspx?id=<%#Eval("id") %>&l=l">查看详情</a>]</li>
                    <li>[<a href="FairList.aspx?id=<%#Eval("id") %>&l=c">参会企业</a>]</li>
                    <li>[<a href="?Action=Add&id=<%#Eval("id") %>">企业报名</a>]</li>
                    </ul></td>
                  </tr>
                </table>
                    </ItemTemplate>
                    </asp:Repeater>
                    </td>
              </tr>              
              <tr>
                <td><div id="Paging" runat="server"></div></td>
              </tr>
            </table>            
            <div id="add" runat="server" style="margin-top:10px;">
           	  <table width="760" border="0" cellspacing="0" cellpadding="0">
           	  <tr>
           	  <td width="25"><img src="../Images/Right1_left.jpg" width="25" height="30" /></td>
              <td background="../Images/Right1_bg.jpg"><strong>企业会展报名</strong></td>
              <td width="25"><img src="../Images/Right1_right.jpg" width="25" height="30" /></td>
           	  </tr></table>
                <div>
                  <table width="760" cellpadding="6" cellspacing="1" class="tableBorder">
                    <tr>
                      <td width="100" align="right" bgcolor="#F8F8F8">* 招聘会场次：</td>
                      <td>
                          <asp:DropDownList ID="DropDownList1" runat="server">
                          </asp:DropDownList></td>
                    </tr>
                    <tr>
                      <td width="100" align="right" bgcolor="#F8F8F8">公司名称：</td>
                      <td><input id="txt_CompanyName" name="txt_CompanyName" runat="server" />
                          <asp:RequiredFieldValidator ID="RequiredFieldValidator1" runat="server" ControlToValidate="txt_CompanyName"
                              ErrorMessage="不能为空"></asp:RequiredFieldValidator><br />
                          如果是本站企业，请填写完整企业名称，前台将会显示资料超链接。</td>
                    </tr>
                    <tr>
                      <td width="100" align="right" bgcolor="#F8F8F8">* 联系人：</td>
                      <td><input id="txt_Linkman" name="txt_Linkman" runat="server" />
                          <asp:RequiredFieldValidator ID="RequiredFieldValidator2" runat="server" ControlToValidate="txt_Linkman"
                              ErrorMessage="不能为空"></asp:RequiredFieldValidator></td>
                    </tr>
                    <tr>
                      <td width="100" align="right" bgcolor="#F8F8F8">* 联系电话：</td>
                      <td><input id="txt_Phone" name="txt_Phone" runat="server" />
                          <asp:RequiredFieldValidator ID="RequiredFieldValidator3" runat="server" ControlToValidate="txt_Phone"
                              ErrorMessage="不能为空"></asp:RequiredFieldValidator>
                          <asp:RegularExpressionValidator ID="RegularExpressionValidator1" runat="server" ControlToValidate="txt_Phone"
                              ErrorMessage="电话号码格式不对" ValidationExpression="((\d{3})|\d{3}-)\d{8}"></asp:RegularExpressionValidator></td>
                    </tr>
                    <tr>
                      <td width="100" align="right" bgcolor="#F8F8F8">* 招聘职位：</td>
                      <td><textarea id="txt_Memo" rows="5" cols="50" name="txt_Memo" runat="server"></textarea>
                          <asp:RequiredFieldValidator ID="RequiredFieldValidator4" runat="server" ControlToValidate="txt_Memo"
                              ErrorMessage="不能为空"></asp:RequiredFieldValidator></td>
                    </tr>
                    <tr>
                      <td>&nbsp;</td>
                      <td>
                          <asp:Button ID="Button1" runat="server" Text="提交申请" OnClick="Button1_Click" /></td>
                    </tr>
                  </table>
                </div>
            </div>
            </td>
        </tr>
        <tr>
          <td colspan="3">
            <ascx:PageFooter ID="PageFooter" runat="server" /></td>
        </tr>
      </table>
    </div>
  </form>
</body>
</html>