<?php 
/**
 * 阅读文章页面
 */
if(!defined('EMLOG_ROOT')) {exit('error!');} 
?>
<div id="mainbody">
  
<div class="blank"></div>
<div class="blogs">
	
<div id="index_view">
      <h2 class="t_nav"><a href="/">网站首页</a><?php blog_sort($logid); ?></h2>
      <h1 class="c_titile"><?php topflg($top); ?><?php echo $log_title; ?></h1>
      <p class="box">
          发布时间：<?php echo gmdate('Y-n-j G:i l', $date); ?>
          <span>作者：<?php blog_author($author); ?></span>
          阅读（<?php echo $views; ?>）
          <?php editflg($logid,$author); ?>
      </p>
      <ul>
        <p><?php echo $log_content; ?></p>
      </ul>

     <div class="otherlink">
<!--<?php doAction('log_related', $logData); ?> 
            
 <!-- 原版评论插件 -->
<!--	-->
	  </div>
      <div class="tagshare">
      
      </div>
      
   <div class="author_text">
        <strong>特别申明：</strong>若无说明,文章均为原创，转载时请注明本文地址，谢谢合作！<br />
        <strong>本文链接：</strong><a itemprop="url" title="<?php echo 'http://'.$_SERVER['HTTP_HOST'].$_SERVER['REQUEST_URI'];?>" 
            href="<?php echo 'http://'.$_SERVER['HTTP_HOST'].$_SERVER['REQUEST_URI'];?>"><?php echo 'http://'.$_SERVER['HTTP_HOST'].$_SERVER['REQUEST_URI'];?></a>
            <?php neighbor_log($neighborLog); ?>
			</div>

    <div  class="otherlink">
    <h2>相关文章</h2>
    <?php $Log_Model = new Log_Model();
          $randlogs = $Log_Model->getLogsForHome("AND sortid = {$sortid} ORDER BY rand() DESC,date DESC", 1, 10);?>
        <ul>
        <?php foreach($randlogs as $value): ?>
            <li>
            <a href="<?php echo $value['log_url']; ?>" title="查看文章:<?php echo $value[		'log_title']; ?>"><?php echo $value['log_title']; ?></a>
            </li>
        <?php endforeach; ?>
        </ul>
    </div>
	<div id="tucao"  style="border-top: #ccc 1px solid;">
    <?php blog_comments($comments); ?><div style="clear:both;"></div>
	<?php blog_comments_post($logid,$ckname,$ckmail,$ckurl,$verifyCode,$allow_remark); ?>
    </div>
	</div>

 <?php
 include View::getView('Interface/wzside');
?>
  </div>
  </div>
  
<?php
 include View::getView('footer');
?>
	
	
	
