<%@Page Language="C#" AutoEventWireup="true" Inherits="Web.inherits.ViewPage" %>
<!DOCTYPE html>
<html xmlns="http://www.w3.org/1999/xhtml">
<head>
    <%
    var InfoID=Dir.Count()>1?Convert.ToInt64(Dir[1]):0;
    var InfoRow=GetInfo(infoId:InfoID);
    var CurrentCategoryItem=GetCategory(id:Convert.ToInt32(InfoRow["CategoryID"]));
    %>
    <meta http-equiv="Content-Type" content="text/html; charset=utf-8" />
    <title><%=InfoRow["Title"]%>-<%=CurrentCategoryItem["CategoryName"]%>-<%=WebSiteConfig.SiteTitle%></title>
    <meta name="keywords" content="<%=CurrentCategoryItem["SEOKeywords"]%>" />
    <meta name="description" content="<%=CurrentCategoryItem["SEODescription"]%>" />
    <meta name="viewport" content="width=device-width, initial-scale=1" />
    <link href="/Aspx/mobile/css/base.css" rel="stylesheet" />
</head>
<body>
<!--Create Time: 2015/1/2 21:57:45-->
    <!--head-->
    <div class="head">
    <img src="/Aspx/mobile/images/mobile_logo.png" width="116" height="41" />
</div>
    <!--body-->
    <div class="body">
        <div class="split">&nbsp;</div>
        <div class="content infocontent">
            <div class="sitemap">所在位置:<a href="/">首页</a> > <a href='/<%=CurrentCategoryItem["CategoryAliasName"]%>'><%=CurrentCategoryItem["CategoryName"]%></a> > 内容页</div>
            <div class="left">
                <div class="infohead">
                    <h1><%=InfoRow["Title"]%></h1>
                    <div class="infostatistics">
                        <ul>
                            <li title="发布日期">发布<%=InfoRow["UpdateDate"]%> &nbsp;&nbsp;&nbsp;浏览:<%=InfoRow["Views"]%></li>           
                        </ul>
                    </div>
                </div> 
                <div class="infobody">
                    <div class="infoform">
                        <dl>
                            <dt>价格：</dt>
                            <dd><%=InfoRow["Price"]%> 元</dd>
                            <dt>交易方式：</dt>
                            <dd>
                                <%if(InfoRow["TransactionMethod"]==DBNull.Value || InfoRow["TransactionMethod"].ToString()=="1"){%>
                                网上交易
                                <%}else if(InfoRow["TransactionMethod"].ToString()=="2"){%>
                                支持快递
                                <%}else if(InfoRow["TransactionMethod"].ToString()=="2"){%>
                                同城交易
                                <%}else if(InfoRow["TransactionMethod"].ToString()=="2"){%>
                                当面交易
                                <%}else{%>
                                &nbsp;
                                <%}%>
                            </dd>
                            <dt>供应数量：</dt>
                            <dd><%=InfoRow["Quantity"]%></dd>
                            <dt>公司名称：</dt>
                            <dd><%=InfoRow["CompanyName"]%></dd>
                        </dl>
                    </div> 
                </div>
                <div class="infointroduce">
                    <div class="title"><span>详情介绍:</span></div>
                    <div class="introduce">
                        <%=InfoRow["Detail"]%>
                    </div>
                </div>
                <div class="infocontact">
                    <div class="title"><span>联系方式:</span></div>
                    <div>
                        <ul>
                            <li>联系人：<%=InfoRow["Contact"]%></li>
                            <li>联系电话：<%=InfoRow["Tel"]%></li>
                            <li>联系地址：<%=InfoRow["Address"]%></li>
                           
                        </ul>
                    </div>
                </div>
            </div>
        </div>
        <div class="split">&nbsp;</div> 
    </div>
    <!--foot-->
    <div class="split">&nbsp;</div>
<div class="foot">
    <div class="foot-menu">&nbsp;</div>
    <div class="foot-siteinfo"><%=WebSiteConfig.RecordNo%><%=WebSiteConfig.Copyright%></div>
    <div><%=WebSiteConfig.StatisticalCode%></div>
</div>

</body>
</html>
