<%@ Page Language="C#" Inherits="System.Web.Mvc.ViewPage<dynamic>" %>

<!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>登录</title>
    <link href="<%=FamousFurnitureExpo.Models.Helper.VRoot %>/Content/Site.css" rel="stylesheet"
        type="text/css" />
    <link href="<%=FamousFurnitureExpo.Models.Helper.VRoot %>/Scripts/messagetipthem1/css/style.css"
        rel="stylesheet" type="text/css" />
    <script language="javascript" type="text/javascript" src="<%=FamousFurnitureExpo.Models.Helper.VRoot %>/Scripts/jquery-1.4.1.js"></script>
    <script language="javascript" type="text/javascript" src="<%=FamousFurnitureExpo.Models.Helper.VRoot %>/Scripts/Common.js"></script>
    <script language="javascript" type="text/javascript" src="<%=FamousFurnitureExpo.Models.Helper.VRoot %>/Scripts/MessageTip.js"></script>
    <script src="<%=FamousFurnitureExpo.Models.Helper.VRoot %>/Scripts/jquery-1.4.1-vsdoc.js"
        type="text/javascript"></script>
    <script type="text/javascript">
        $(function () {
            iframeAutoFit();
        });
        function openUrl(url) {
            if (url == "") {
                alert("链接未设置");
            } else {
                window.open(url, "");
            }
        }
        function GoToLogin(id) {
            window.location = "<%=FamousFurnitureExpo.Models.Helper.VRoot %>/Login/Login/" + id;
        }
    </script>
</head>
<body>
    <form id="f1" action="" method="post">
    <table width="100%" border="0" align="center" cellpadding="0" cellspacing="0">
        <tr>
            <td align="center">
            <div style="width:800px; height:300; padding-top:70px; padding-bottom:30px; font-size:14px; text-align:left;">请选择展商登录的展会：</div>
            </td>
        </tr>
        <tr>
            <td valign="bottom" align="center" style=" overflow:hidden;">
                <table width="800" border="0" cellpadding="5" cellspacing="0">
                    <tr>
                        <td class="td01">
                            展会名称   
                        </td>
                        <td class="td01">
                            展会时间
                        </td>
                        <td class="td01">
                            展会城市
                        </td>
                    </tr>
                    <% 
                        List<FamousFurnitureExpo.Models.Exhibition> li = ViewData["ExhLi"] as List<FamousFurnitureExpo.Models.Exhibition>;
                        if (li != null && li.Count > 0)
                        {
                            foreach (FamousFurnitureExpo.Models.Exhibition exh in li)
                            {
                    %>
                    <tr>
                        <td class="td03">
                            <span><a href="javascript:GoToLogin(<%=exh.ExhID %>)"><%=exh.ExhName %></a></span>   
                        </td>
                        <td class="td03">
                            <span><%=exh.ExhBTime.ToShortDateString() %>-<%=exh.ExhETime.ToShortDateString() %></span>
                        </td>
                        <td class="td03">
                            <span><%=exh.ExhCity %></span>
                        </td>
                    </tr>
                    <%   
                            }
                        }
                    %>
                </table>
            </td>
        </tr>
    </table>
    <% Html.RenderPartial("ViewMasterBottom"); %>
    </form>
</body>
</html>
