<?php include TPL_ROOT . 'common/header.html.php'; include TPL_ROOT . 'common/treeview.html.php'; /* set categoryPath for topNav highlight. */js::set('path', $article->path);js::set('articleID', $article->id);js::set('categoryID', $category->id);js::set('categoryPath', explode(',', trim($category->path, ',')));css::internal($article->css);js::execute($article->js);?><?php $common->printPositionBar($category, $article);?>

<?phpecho $article->title;if($article->isTop){echo " 置顶";}?>

<?php echo formatTime($article->addedDate); ?>
<?php echo $article->author; ?>
<?php if($article->source != 'original'):?>
<?php echo $lang->article->sourceList[$article->source] . $lang->colon;?>
<?php $article->copyURL ? print(html::a($article->copyURL, $article->copySite, "target='_blank'")) : print($article->copySite); ?>
<?php else: ?> <?php echo $lang->article->sourceList[$article->source]; ?> <?php endif;?>
<?php if(!empty($this->config->oauth->sina)) { $sina = json_decode($this->config->oauth->sina); if($sina->widget) echo "
" . $sina->widget . '
'; } ?> <?php echo $article->views; ?>
<?php if($article->summary):?>
<?php echo $lang->article->summary;?><?php echo $lang->colon . $article->summary;?>
<?php endif; ?>
<?php echo $article->content;?>
<?php $this->loadModel('file')->printFiles($article->files);?>
<?php if($article->editor):?> <?php $editor = $this->loadModel('user')->getByAccount($article->editor);?> <?php if(!empty($editor)): ?>

<?php printf($lang->article->lblEditor, $editor->realname, formatTime($article->editedDate));?>

<?php endif;?> <?php endif;?> <?php if($article->keywords):?>

<?php echo $lang->article->keywords;?>

<?php endif; ?>
<?php extract($prevAndNext);?>
<?php echo $this->fetch('message', 'comment', "objectType=article&objectID=18");?>
<?php $this->block->printRegion($layouts, 'article_view', 'side');?>
<?php include TPL_ROOT . 'common/footer.html.php'; ?>