<%@ Page Language="C#" AutoEventWireup="true" Codebehind="index.aspx.cs" Inherits="MyITJob.wap.index" EnableViewState="false" %>
<%@ Register TagName="Footer" TagPrefix="ascx" Src="~/wap/footer.ascx" %>
<%@ Register TagName="Top" TagPrefix="ascx" Src="~/wap/PageTop.ascx" %>
<!DOCTYPE html PUBLIC "-//WAPFORUM//DTD XHTML Mobile 1.0//EN" "http://www.wapforum.org/DTD/xhtml-mobile10.dtd">
<html xmlns="http://www.w3.org/1999/xhtml">
<head>
    <meta http-equiv="Content-Type" content="text/html; charset=UTF-8" />
    <title><%=Application["PageTitle"] %> 手机版</title>
    <link rel="stylesheet" type="text/css" href="css/wap.css">
</head>
<body>
    <form id="form1" runat="server">
        <ascx:Top id="Top" runat="server" />
        <div id="con">
            欢迎访问本站！<%if(Request.Cookies["User"] == null) {%><a href="login.aspx">登录</a><%} %>
        </div>
        <div class="tit">
            <div class="jt"></div>
            <div class="titf">【搜索职位或公司名】</div></div>
        <div class="con">
            关键字：
            <input name="word" type="text" id="word" style="width:120px; height:16px; border:2px solid #7F9DB9;" />
            <br />
            <input name="stype" type="radio" value="1" checked="checked" />
            职位名
            <input type="radio" name="stype" value="2" />
            公司名
            <input type="submit" name="Submit" value="搜索" id="Submit1" onserverclick="Submit1_ServerClick" runat="server" />
        </div>
        <div class="tit">
            <div class="jt"></div>
            <div class="titf">【最新招聘】</div></div>
        <div class="con">
            <asp:Repeater ID="Company" runat="server">
            <ItemTemplate>
                <div><a href="LCompany.aspx?p=<%#Eval("pname") %>" title="<%#Eval("qyname") %>"><%# FormatLeft(Eval("qyname").ToString(),18,18) %></a></div>
            </ItemTemplate>
            </asp:Repeater>
            <a href="CompanyList.aspx?a=list">更多...</a></div>
        <div class="tit">
            <div class="jt"></div>
            <div class="titf">【求职指南】</div></div>
        <div class="con">
        <asp:Repeater ID="news" runat="server">
            <ItemTemplate>
                <div><a href="news.aspx?id=<%#Eval("id") %>" title="<%#Eval("title") %>"><span style="color:<%#Eval("titlecolor") %>"><%# FormatLeft(Eval("title").ToString(),18,18) %></span></a></div>
            </ItemTemplate>
        </asp:Repeater>
                <a href="newslist.aspx">更多...</a></div>
        <ascx:Footer id="footer" runat="server" />
    </form>
</body>
</html>
