<!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>

<meta http-equiv="Content-Type" content="text/html; charset=utf-8" />

<link href="<%templateskin%>/favicon.ico" rel="icon" type="image/x-icon" />

<link href="<%templateskin%>/favicon.ico" rel="shortcut icon" type="image/x-icon" />

<link rel="bookmark" href="<%templateskin%>/favicon.ico" type="image/x-icon" />

<meta name="Copyright" content="All Rights Reserved btoe.cn" />

<meta http-equiv="X-UA-Compatible" content="IE=edge,chrome=1" />

<title>{model.seotitle}</title>

<meta name="keywords" content="{model.keywords}" />

<meta name="description" content="{model.description}" />

<link href="<%templateskin%>/css/css.css" rel="stylesheet" type="text/css" />

<link href="<%templateskin%>/css/common.css" rel="stylesheet" type="text/css" />

<script src="<%templateskin%>/js/n/WJDH_common.js"></script>

<script src="<%templateskin%>/js/n/pro.js"></script>



<script src="<%templateskin%>/js/n/baidupush.js"></script>

<%diy("head")%>

</head>

<body>

<%template src="header.html"%>

<%template src="ny_banner.html"%>

<div class="container">

  <%template src="procp_left.html"%>

  <%if(model.fields!=null && model.fields.Length>2)%>

  <%set DataTable fields=get_article_fields()%>

  <%/if%>

  <div class="wjdh-main pull-right">

    <div class="content-show">

      <div class="prohead">

        <div class="hleft pull-left">

          <%if(model.photos!=null && model.photos!="")%>

          <%set DataTable photos=get_article_photos()%>

          <%csharp%>

          string tempSize = Convert.ToString(photos.Rows[0]["original_path"]);

          <%/csharp%>

          <div class="proimg zoom-small-image"> <a href="<%=tempSize%>" class='cloud-zoom' id='zoom1' rel="adjustX:10, adjustY:-4"> <img src="<%=tempSize%>" /></a> </div>

          <div class="smallimg">

            <dl>

              <dt class="prev"><a href="javascript:scrollBox(-1);"> <img src="<%templateskin%>/img/left.gif" alt="向左" /> </a></dt>

              <dd id="scrollBox">

                <ul>

                  <%foreach(DataRow dr in photos.Rows)%>

                  <li><a href="{dr[original_path]}" class="cloud-zoom-gallery" rel="useZoom: 'zoom1', smallImage: '{dr[original_path]}'" onclick="return false"> <img class="zoom-tiny-image" bimg="" src="{dr[original_path]}" /></a> </li>

                  <%/foreach%>

                </ul>

              </dd>

              <dt class="next"><a href="javascript:scrollBox(1);"> <img src="<%templateskin%>/img/right.gif" alt="向右" /> </a></dt>

            </dl>

          </div>

          <%else %>

          <div class="proimg zoom-small-image"> <a href="{model.thumb}" class='cloud-zoom' id='zoom1' rel="adjustX:10, adjustY:-4"> <img src="{model.thumb}" /></a> </div>

          <div class="smallimg">

            <dl>

              <dt class="prev"><a href="javascript:scrollBox(-1);"> <img src="<%templateskin%>/img/left.gif" alt="向左" /> </a></dt>

              <dd id="scrollBox">

                <ul>

                  <li><a href="{model.thumb}" class="cloud-zoom-gallery" rel="useZoom: 'zoom1', smallImage: '{model.thumb}'" onclick="return false"> <img class="zoom-tiny-image" bimg="" src="{model.thumb}" /></a> </li>

                </ul>

              </dd>

              <dt class="next"><a href="javascript:scrollBox(1);"> <img src="<%templateskin%>/img/right.gif" alt="向右" /> </a></dt>

            </dl>

          </div>

          <%/if%>

        </div>

        <div class="hright pull-right">

          <p class="title-a">{model.title}</p>

          <p> <b>简介——</b>

            <%cutstring({model.zhaiyao},120)%>

          </p>

          <div class="info">

            <ul>

              <li>

                <label> 类&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;别：</label>

                <span>{model.catname} </span></li>

            </ul>

          </div>

          <div class="online"><a href="#wjdh-message" title="在线留言" class="btn-effect">在线留言<i></i></a> </div>

        </div>

        <div class="clearfix"> </div>

      </div>

      <div class="line"> </div>

      <div class="product-content">

        <div class="wjdh-title">

          <div class="title-box">

            <h3> 详情内容<small>/ Content details</small></h3>

          </div>

          <div class="scan"> <span>手机扫一扫</span>

            <div id="qrcode"> </div>

          </div>

        </div>

        <div class="page-content"> {model.content} </div>

        <div class="adjacent">

          <ul>

            <li>上一篇：<%=get_prevandnext_article( -1, "没有了")%></li>

            <li>下一篇：<%=get_prevandnext_article(1, "没有了")%></li>

          </ul>

        </div>

        <div class="relevant">

          <div class="title"> <a href="<%linkurl(1,{catid})%>" class="back">【返回列表】</a>

            <h3> 【推荐阅读】↓</h3>

            <div class="tag"> </div>

          </div>

          <div class="content">

            <ul>

              <%set DataTable newsList=get_related_content(1,10)%>

              <%foreach(DataRow dr in newsList.Rows)%>

              <li><a href="<%linkurl(0,{dr[catid]},{dr[id]})%>" title="{dr[title]}">{dr[title]}</a> </li>

              <%/foreach%>

            </ul>

            <div class="clearfix"> </div>

          </div>

        </div>

      </div>

    </div>

  </div>

  <div class="clearfix"> </div>

</div>

<%template src="footer.html"%>

<%template src="color.html"%>

</body>

</html>

