<?php if (!defined('IN_CONTEXT')) die('access violation error!'); ?>


<div class="art_list">
	<div class="art_list_title"><?php echo $category->name; ?></div>
	<div class="art_list_search"><?php include_once(dirname(__FILE__).'/_search.php'); ?></div>
	<div class="art_list_con">
		<ul>
        <?php
        if (sizeof($downloads) > 0) {
            $row_idx = 0;
            foreach ($downloads as $download) {
        ?>
		<li><div class="art_list_time"><?php echo date('Y-m-d H:i', $download->create_time); ?></div><a href="index.php?<?php echo Html::xuriquery('mod_download', 'download', array('dw_id' => $download->id)); ?>" title="<?php echo $download->description; ?>"><?php echo Toolkit::substr_MB($download->description, 0, 20); ?>...</a></li>
            
        <?php
                $row_idx = 1 - $row_idx;
            }
        } else {
        ?>
           <?php _e('No Records!'); ?>
        <?php } ?>
	</ul>
</div>
<div class="contentpager">
    <?php include_once(P_TPL.'/common/pager.php'); ?>
</div>