<script type="text/javascript">
function digg(keyid,idtype) {
    $.post(siteurl+'ajax.php', { action:"digg", keyid:keyid, idtype:idtype }, function(result) {
        if(result.substring(0,4) == 'digg') {
            $('#digg_'+keyid).html(result.substring(4,100));
        } else {
            alert(result);
        }
    });
}
</script>
<div id="body">
<div class="link_path">
    <a href="$_config[siteurl]">首页</a>&nbsp;&raquo;&nbsp;<a href="{$MOD[url]}">新闻资讯</a>&nbsp;&raquo;&nbsp;$article[subject]
</div>
<div class="mainrail rail-border-3">
    <div id="article_left">
        <div class="article">
            <h1 class="subject">$article[subject]</h1>
            <div class="info">
                <span>来源：$article[copyfrom]</span>
                <span>作者：$article[author]</span>
                <span>发表时间：<!--{date $article[dateline],'Y-m-d H:i:s'}--></span>
            </div>
            <p style="text-align:center;"><!--{datacall:29}--></p>
            <div class="content" id="content">$article[content]</div>
            <div class="op">
                <!--{if empty($_DCOOKIE['digg_'.$articleid])}-->
                <span id="digg_$articleid"><a href="javascript:digg($articleid,'article');">顶一下</a>($article[digg])</span>&nbsp;&nbsp;
                <!--{else}-->
                <span id="digg_$articleid">顶过了($article[digg])</span>&nbsp;&nbsp;
                <!--{/if}-->
                <a href="javascript:window.print();">打印本页</a>&nbsp;&nbsp;
                <a href="javascript:window.close();">关闭窗口</a>&nbsp;&nbsp;
                <a href="javascript:window.scrollTo(0,0);">返回顶部</a>
            </div>
        </div>
    </div>
    <div id="article_right" style="margin-top:5px;">
        <!--{if $item}-->
            {template article_detail_part_side_item}
        <!--{else}-->
            {template article_detail_part_side_normal}
        <!--{/if}-->
    </div>
    <div class="clear"></div>
</div>