
<?php 
$aurl=SiteNav_xyascii($article->Metas->alink);
 ?>
    <div class="pagenow wrap">
        <i>当前位置：</i><a href="<?php  echo $host;  ?>"><?php  echo $name;  ?></a><?php if ($article->Category->Parent) { ?><span>&gt;</span><a href="<?php  echo $article->Category->Parent->Url;  ?>"><?php  echo $article->Category->Parent->Name;  ?></a><?php } ?><span>&gt;</span><a href="<?php  echo $article->Category->Url;  ?>"><?php  echo $article->Category->Name;  ?></a><span>&gt;</span><a href="<?php  echo $article->Url;  ?>"><?php  echo $article->Title;  ?></a>
    </div>
    <div class="wrap">
		<div class="single-content">
			<h1><?php  echo $article->Title;  ?></h1>
			<div class="post-meta">
				<span>归类：<a href="<?php  echo $article->Category->Url;  ?>"><?php  echo $article->Category->Name;  ?></a></span>
				<span>时间：<?php  echo $article->Time('Y-m-d');  ?> <?php  echo $article->Time('G:i:s');  ?></span>
				<span>点击：<?php  echo $article->ViewNums;  ?>次</span>
				<?php if ($article->Metas->alink!="") { ?>
				<span class="url">网址：<em onclick="javascript:this.innerText=String.fromCharCode(<?php  echo $aurl;  ?>);"><i class="fa fa-search"></i></em></span>
				<?php } ?>
			</div>
		    <?php if ($zbp->Config('SiteNav')->SiteNav_logtad!="") { ?>
		    <div class="wvshow logtshow">
		        <?php  echo $zbp->Config('SiteNav')->SiteNav_logtad;  ?>
		    </div>
		    <?php } ?>
			<div class="post-content">
				<?php  echo $article->Content;  ?>
				<?php if (!empty($tag)) { ?><p class="tags"><?php  foreach ( $article->Tags as $tag) { ?><a href="<?php  echo $tag->Url;  ?>" target="_blank"><?php  echo $tag->Name;  ?></a><?php }   ?></p><?php } ?>
				<?php if ($article->Metas->alink!="") { ?>
				<a href="<?php  echo $article->Url;  ?>" onclick="javascript:SN_Go(String.fromCharCode(<?php  echo $aurl;  ?>))" class="ma ascbg">站点直达</a>
				<?php } ?>
			</div>
            <div class="relist-box">
                <ul class="alist clearfix">
<?php  foreach ( GetList(6,$article->Category->ID) as $relarticle) { ?>
                    	<li><a href="<?php  echo $relarticle->Url;  ?>" title="<?php  echo $relarticle->Title;  ?>"><?php  echo $relarticle->Title;  ?></a></li>    
<?php }   ?>
<?php  foreach ( GetList(6) as $newarticle) { ?>
                    	<li class="newa"><a href="<?php  echo $newarticle->Url;  ?>" title="<?php  echo $newarticle->Title;  ?>"><?php  echo $newarticle->Title;  ?></a></li>    
<?php }   ?>
            	</ul>
            </div>
		    <?php if ($zbp->Config('SiteNav')->SiteNav_logbtad!="") { ?>
		    <div class="wvshow logbtshow">
		        <?php  echo $zbp->Config('SiteNav')->SiteNav_logbtad;  ?>
		    </div>
		    <?php } ?>
			<div class="post-PrevNext">
                <?php if ($article->Prev) { ?><p class="lt"><i class="fa fa-arrow-left"></i><a href="<?php  echo $article->Prev->Url;  ?>"><?php  echo $article->Prev->Title;  ?></a></p><?php } ?>
                <?php if ($article->Next) { ?><p class="rt"><a href="<?php  echo $article->Next->Url;  ?>"><?php  echo $article->Next->Title;  ?></a><i class="fa fa-arrow-right"></i></p><?php } ?>
			</div>
<?php if ($zbp->Config('SiteNav')->SiteNav_ocmt=='') { ?>
		    <?php if (!$article->IsLock) { ?>
		    <?php  include $this->GetTemplate('comments');  ?>
		    <?php } ?>
<?php }else{  ?>
    		<div class="ocmt-box"><?php  echo $zbp->Config('SiteNav')->SiteNav_ocmt;  ?></div>
<?php } ?>
		</div>
    </div>
