{c9:template header.html}
{c9:template side.html}
<main>
  <div class="main-content">

    <div class="welcome">您现在的位置是：<a href="{c9:$site_url}">首页</a> >> {c9:function.position($catid, ' &gt;&gt;&nbsp;&nbsp;')}</div>
    <div class="blogbox">
      <div class="contentbox">
        <h2 class="contitle">{c9:$title}</h2>
        <p class="bloginfo"><span>叶健</span><span>{c9:function.date("Y年m月d日", $time)}</span><span><a href="{c9:$cats[$catid][url]}">{c9:$cats[$catid][catname]}</a></span><span>点击：<script type="text/javascript" src="{c9:function.url('api/hits',array('id'=>$id))}"></script>次</span></p>
        <p class="jianjie"><b>摘要</b>{c9:$description}...</p>
        <div class="entry">
       {c9:$content}
         
        </div>
		{c9:if $down}
        <div class="down">
          <p><strong>下载地址：</strong></p>
          <p>文件名称：{c9:$zymc}</p>
          <p>文件大小：{c9:$zydx}</p>
          <p>更新日期：{c9:function.date("Y/m/d", $time)}</p>
          <div class="downlink"><strong><a class="downbtn" title="{c9:$title}" href="{c9:$down}" target="_blank">点击下载</a></strong> 
		  </div>
		  
        </div>{/c9:if}
        <div class="share"> 分享:</div>
        <div class="nextinfo">
        {c9:if $prev_page}   <p>上一篇：<a href="{c9:$prev_page['url']}">{c9:$prev_page['title']}</a></p>{/c9:if}
         {c9:if $next_page} <p>下一篇：<a href="{c9:$next_page['url']}">{c9:$next_page['title']}</a></p>{/c9:if}
        </div>
      </div>
      <div class="viewbox">
        <h2 class="newstitle"><b>随便看看</b></h2>
        <ul>
				<?php

$handle = fopen("http://api.dataoke.com/index.php?r=Port/index&type=paoliang&appkey=23ade90683&v=2","rb");
$content = "";
while (!feof($handle)) {
    $content .= fread($handle, 1000);
}
$content = json_decode($content);
foreach ($content->result as $keys ) {
 if($i == 4){
     break;
  }
 echo '
	<li><a href="http://mx.wibaby.cn/index.php?r=p/d&id='.$keys->ID.'"><i><img class="J-img" src="'.$keys->Pic.'" alt="'.$keys->Title.'"/></i></a>
			<p>
				<a href="http://mx.wibaby.cn/index.php?r=p/d&id='.$keys->ID.'"><font color="red">【券后价<strong>&yen;&nbsp;'.$keys->Price.'元】</strong></font>'.$keys->D_title.'</a>
<span>优惠截止'.$keys->Quan_time.'</span>
			</p>
			</li>
';
    $i++;
}
 
?>
        </ul>
      </div>
      
      <div class="pinlun">
       <h2 class="newstitle"><b>评论</b></h2>
        <div class="gbok">
评论已关闭
        </div>
      </div>
      
    </div>
{c9:template rside.html}
{c9:template footer.html}