<%@Page Language="C#" AutoEventWireup="true"  Inherits="Web.inherits.ViewPage" %>
<!DOCTYPE html>
<html xmlns="http://www.w3.org/1999/xhtml">
<head>
    <meta http-equiv="Content-Type" content="text/html; charset=utf-8" />
    <title><%=WebSiteConfig.SiteTitle%></title>
    <meta name="keywords" content="<%=WebSiteConfig.Keywords%>" />
    <meta name="description" content="<%=WebSiteConfig.Description%>" />
    <link href="/Aspx/blue/Css/common.css" rel="stylesheet" />
    <link href="/Aspx/blue/Css/web.css" rel="stylesheet" />
    <script src="/Js/jquery-1.8.2.min.js" type="text/javascript"></script>
    <script src="/Js/data.js"></script>
    <script src="/Js/bx.library.js"></script>
    <script src="/Aspx/blue/js/web.js" type="text/javascript"></script>
</head>
<body>
<!--Create Time: 2015/1/2 22:43:01-->
    <!--head-->
    <div class="head">
    <div class="head_top">
        <div class="main bar">
            <span id="LoginStatus"><a href="/login/Default/">登录</a> | <a href="/login/register/">注册</a></span>
            <span class="right"><a href="javascript:void(0);" onclick="AddFavorite();">加入收藏</a>&nbsp;&nbsp;&nbsp;<a href="/Ashx/Desktop.ashx" target="_blank">桌面图标</a></span>
        </div>
    </div>
    <div class="main center">
        <div class="logo">
            <a href="<%=WebSiteConfig.DomainName%>">
                <img src="/Aspx/blue/images/common_logo.png" title="<%=WebSiteConfig.SiteName%>" alt="<%=WebSiteConfig.SiteName%>" /></a>
        </div>
        <div class="search">
            <div class="searchinput">
                <span>
                    <input class="searchbtn" id="btnSearch" type="button" value="" onclick="search();" />
                    <input class="releasebtn" id="Button2" type="button" value="" onclick="location.href = '/info/category'" />
                </span>
                <span>
                    <input id="txtKeywords" maxlength="10" class="keywordInput" type="text" />
                </span>

            </div>
            <div>热门搜索:
            <%foreach(var hword in GetSearchHotWordList()){%>
                <a href="/search/?keywords=<%=hword%>"><%=hword%></a> 
            <%}%>
            </div>
        </div>
    </div>
    <div class="menu">
        <div class="main">
            <ul>
                <li id="HeadMenuList">
                    <a href="/" matchstatus="home">首 页</a>
                    <a href="/gangcai/" matchstatus="gangcai">冶金钢材</a>
                    <a href="/suliao/" matchstatus="suliao">橡胶塑料</a>
                    <a href="/pige/" matchstatus="pige">纺织皮革</a>
                    <a href="/baozhuang/" matchstatus="baozhuang">包 装</a>
                    <a href="/wujin/" matchstatus="wujin">五 金</a>
                    <a href="/jixie/" matchstatus="jixie">机械工业</a>
                </li>
            </ul>

        </div>

    </div>
</div>
<div class="split">&nbsp;</div>
<script type="text/javascript">if (typeof (loadLoginStatus) != null) { loadLoginStatus(); }
    UrlStatus.changeDomSelectStatus("HeadMenuList", 1);
</script>

    <!--body-->
    <div class="body main">
        <!--头部广告-->
        <div class="wordad">
            <iframe src="/Ad/?id=66" marginheight="0" marginwidth="0" scrolling="no" frameborder="0" height="80"></iframe>
        </div>
        <div class="left">
            <div class="listblock">
                <div class="title">冶金钢材<a href="/gangcai/" target="_blank">更多 >></a></div>
                <div class="item">
                    <ul>
                        <%foreach(var row in GetInfoList(categoryAlias:"gangcai",maxRows:10)){%>
                         <li><span><a href="/<%=row["CategoryAliasName"]%>/" target="_blank">【<%=row["CategoryName"]%>】</a></span><span class="contenttitle"><a href="/Item/<%=row["InfoID"]%>/" target="_blank"><%=row["Title"]%></a></span><span class="date"><%=Convert.ToDateTime(row["UpdateDate"]).ToString("MM-dd")%></span></li>
                        <%}%>
                    </ul>
                </div>
            </div>
            <div class="listblock">
                <div class="title">橡胶塑料<a href="/suliao/" target="_blank">更多 >></a></div>
                <div class="item">
                    <ul>
                        <%foreach(var row in GetInfoList(categoryAlias:"suliao",maxRows:10)){%>
                         <li><span><a href="/<%=row["CategoryAliasName"]%>/" target="_blank">【<%=row["CategoryName"]%>】</a></span><span class="contenttitle"><a href="/Item/<%=row["InfoID"]%>/" target="_blank"><%=row["Title"]%></a></span><span class="date"><%=Convert.ToDateTime(row["UpdateDate"]).ToString("MM-dd")%></span></li>
                        <%}%>
                    </ul>
                </div>
            </div>
            <div class="listblock">
                <div class="title">纺织皮革<a href="/pige/" target="_blank">更多 >></a></div>
                <div class="item">
                    <ul>
                        <%foreach(var row in GetInfoList(categoryAlias:"pige",maxRows:10)){%>
                         <li><span><a href="/<%=row["CategoryAliasName"]%>/" target="_blank">【<%=row["CategoryName"]%>】</a></span><span class="contenttitle"><a href="/Item/<%=row["InfoID"]%>/" target="_blank"><%=row["Title"]%></a></span><span class="date"><%=Convert.ToDateTime(row["UpdateDate"]).ToString("MM-dd")%></span></li>
                        <%}%>
                    </ul>
                </div>
            </div>
            <div class="listblock">
                <div class="title">包 装<a href="/baozhuang/" target="_blank">更多 >></a></div>
                <div class="item">
                    <ul>
                        <%foreach(var row in GetInfoList(categoryAlias:"baozhuang",maxRows:10)){%>
                         <li><span><a href="/<%=row["CategoryAliasName"]%>/" target="_blank">【<%=row["CategoryName"]%>】</a></span><span class="contenttitle"><a href="/Item/<%=row["InfoID"]%>/" target="_blank"><%=row["Title"]%></a></span><span class="date"><%=Convert.ToDateTime(row["UpdateDate"]).ToString("MM-dd")%></span></li>
                        <%}%>
                    </ul>
                </div>
            </div>
            <div class="listblock">
                <div class="title">五 金<a href="/wujin/" target="_blank">更多 >></a></div>
                <div class="item">
                    <ul>
                        <%foreach(var row in GetInfoList(categoryAlias:"wujin",maxRows:10)){%>
                         <li><span><a href="/<%=row["CategoryAliasName"]%>/" target="_blank">【<%=row["CategoryName"]%>】</a></span><span class="contenttitle"><a href="/Item/<%=row["InfoID"]%>/" target="_blank"><%=row["Title"]%></a></span><span class="date"><%=Convert.ToDateTime(row["UpdateDate"]).ToString("MM-dd")%></span></li>
                        <%}%>
                    </ul>
                </div>
            </div>
            <div class="listblock">
                <div class="title">机械工业<a href="/jixie/" target="_blank">更多 >></a></div>
                <div class="item">
                    <ul>
                        <%foreach(var row in GetInfoList(categoryAlias:"jixie",maxRows:10)){%>
                         <li><span><a href="/<%=row["CategoryAliasName"]%>/" target="_blank">【<%=row["CategoryName"]%>】</a></span><span class="contenttitle"><a href="/Item/<%=row["InfoID"]%>/" target="_blank"><%=row["Title"]%></a></span><span class="date"><%=Convert.ToDateTime(row["UpdateDate"]).ToString("MM-dd")%></span></li>
                        <%}%>
                    </ul>
                </div>
            </div>
        </div>
        <div class="right">
            <div class="listblock">
                <div class="title">网站公告</div>
                <div class="item">
                    <ul>
                        <%foreach(var row in GetAnnouncementList(maximumRows:5)){%>
                           <%if(row["Link"]==DBNull.Value || row["Link"].ToString()==""){%>
                             <li><span class="contenttitle"><a href="/Announcement/<%=row["ID"]%>" target="_blank"><%=row["Title"]%></a></span></li>
                           <%}else{%>
                               <li><span class="contenttitle"><a href="row["Link"]" target="_blank"><%=row["Title"]%></a></span></li>
                           <%}%>
                        <%}%>
                    </ul>
                </div>
            </div>
            <div class="listblock2">
                <div class="title">经商宝典</div>
                <div class="item">
                    <ul>
                        <%foreach(var row in GetArticleList(maximumRows:10)){%>
                           <li><a href="/Article/<%=row["ArticleID"]%>/" target="_blank"><%=row["Title"]%> </a></li>
                        <%}%>
                    </ul>
                </div>
            </div>
            <div class="listblock2">
                <div class="title">资讯中心</div>
                <div class="item">
                    <ul>
                        <li><a href="#">胶合板和纤维板价差将回归 </a></li>
                        <li><a href="#">服装品牌跨界是在自救还是玩腔调 </a></li>
                        <li><a href="#">塑料跌停 化工品市场空加剧  </a></li>
                        <li><a href="#">礼品企业如何以情感引导品牌营销   </a></li>
                        <li><a href="#">五金锁具企业应及时了解市场需求  </a></li>
                    </ul>
                </div>
            </div>
            <!--右侧广告-->
            <div class="rightad">
                <iframe src="/Ad/?id=67" marginheight="0" marginwidth="0" scrolling="no" frameborder="0" width="240"></iframe>
            </div>
            &nbsp;
        </div>
        <!--     <div class="middle">&nbsp;</div>-->
        <div class="split">&nbsp;</div>
        <div class="friendlink">
            <div class="title">友情链接</div>
            <div class="list">
                <%foreach(var row in GetFriendLinkList()){%>
                  <a href="<%=row["LinkUrl"]%>" target="_blank"><%=row["LinkName"]%></a>
                <%}%>
            </div>
        </div>
    </div>
    <!--foot-->
        <div class="split">&nbsp;</div>
    <div class="foot main">
        <div class="menu">
            <ul>
                <li><a href="/about/home" target="_blank" rel="nofollow">关于我们</a></li>
                <li>|</li>
                <li><a href="/about/message" target="_blank" rel="nofollow">建议意见</a></li>
                <li>|</li>
                <li><a href="/about/Contact" target="_blank" rel="nofollow">联系我们</a></li>
                <li>|</li>
                <li><a href="/about/Privacy" target="_blank" rel="nofollow">免责声明</a></li>
            </ul>
        </div>
        <div><%=WebSiteConfig.RecordNo%><%=WebSiteConfig.Copyright%></div>
        <div><%=WebSiteConfig.StatisticalCode%></div>
    </div>
<!--隐藏内容-->
<div id="winpop" style="display:none;">
    <div class="rightwindow">
        <div class="title">公告<span class="close" onclick="win.slideWindow()">X</span></div>
        <div class="content">
            @msg
        </div>
    </div>
</div>
</body>
</html>
