<?php /*a:1:{s:62:"D:\phpstudy\WWW\12xz\app\index\view/default\article\index.html";i:1784533080;}*/ ?>
<?php echo ModuleInclude('aapublic/header'); ?>

<!-- header top nav -->
<?php echo ModuleInclude('aapublic/header_top_nav'); ?>

<!-- search -->
<?php echo ModuleInclude('aapublic/nav_search'); ?>

<!-- header nav -->
<?php echo ModuleInclude('aapublic/header_nav'); ?>

<!-- goods category -->
<?php echo ModuleInclude('aapublic/goods_category'); ?>

<!-- content start -->
<div class="am-container article-content">
    <div class="article">
        <h1><?php echo htmlentities((string) $article['title']); ?></h1>
        <div class="articletime">
            <span><?php echo MyLang('article.release_time'); ?><?php echo htmlentities((string) $article['add_time']); ?></span>
            <span><?php echo MyLang('article.view_number'); ?><?php echo htmlentities((string) $article['access_count']); ?></span>
        </div>
        <div class="am-article"><?php echo $article['content']; ?></div>
        
        <div class="last-next-data am-margin-top-lg am-padding-bottom-sm">
            <hr class="am-article-divider am-divider-default am-margin-bottom-sm" />
            <div class="am-nbfc am-padding-horizontal-sm">
                <?php if(!empty($last_next_data['last'])): ?>
                    <div class="am-nbfc">
                        <span class="am-fl am-text-grey"><?php echo MyLang('article.prev_article'); ?></span>
                            <a href="<?php echo htmlentities((string) $last_next_data['last']['url']); ?>" class="am-text-truncate am-fl am-block"><?php echo htmlentities((string) $last_next_data['last']['title']); ?></a>
                        <span class="text-tips am-fr"><?php echo htmlentities((string) $last_next_data['last']['add_time']); ?></span>
                    </div>
                <?php endif; if(!empty($last_next_data['next'])): ?>
                    <div class="am-nbfc am-margin-top-xs">
                        <span class="am-fl am-text-grey"><?php echo MyLang('article.next_article'); ?></span>
                            <a href="<?php echo htmlentities((string) $last_next_data['next']['url']); ?>" class="am-text-truncate am-fl am-block"><?php echo htmlentities((string) $last_next_data['next']['title']); ?></a>
                        <span class="text-tips am-fr"><?php echo htmlentities((string) $last_next_data['next']['add_time']); ?></span>
                    </div>
                <?php endif; ?>
            </div>
        </div>


    </div>
</div>
<!-- content end -->

<!-- footer start -->
<?php echo ModuleInclude('aapublic/footer'); ?>