| <?php |
| |
| |
| |
| |
| |
| |
| |
| |
| |
| |
| |
| |
| |
| |
| |
| |
| |
| |
| |
| |
| |
| |
| ?> |
| |
| <?php |
| if (pt_mod_downloads_popular_dl) : ?> |
| |
| <div class="block"> |
| <h2 class="popDls"><span><?php tpl::lang('Most popular downloads') ?></span></h2> |
| <div class="box"> |
| <table class="download" id="popDls" cellpadding="0" cellspacing="0"> |
| <thead> |
| <tr> |
| <th class="tcl" scope="col"><?php tpl::lang('Title') ?></th> |
| <th class="tc2" scope="col"><?php tpl::lang('Number of downloads') ?></th> |
| <th class="tcr" scope="col"><?php tpl::lang('Date') ?></th> |
| </tr> |
| </thead> |
| <tbody> |
| <?php while ($download_popular->fetch()) : ?> |
| <tr> |
| <td class="tcl"><h3 class="dlTitle"><span><a href="<?php download::popularDownloadsListURL() ?>"><?php download::popularDownloadsListTitle() ?></a></span></h3></td> |
| <td class="tc2"><?php download::popularDownloadsListCount() ?></td> |
| <td class="tcr"><?php download::popularDownloadsListDate() ?></td> |
| </tr> |
| <?php endwhile; ?> |
| </tbody> |
| </table> |
| </div> |
| </div> |
| |
| <?php endif; ?> |
| |
| <?php |
| if (pt_mod_downloads_last_dl) : ?> |
| |
| <div class="block"> |
| <h2 class="lastDls"><span><?php tpl::lang('Last downloads added') ?></span></h2> |
| <div class="box"> |
| <table class="download" id="lastDls" cellpadding="0" cellspacing="0"> |
| <thead> |
| <tr> |
| <th class="tcl" scope="col"><?php tpl::lang('Title') ?></th> |
| <th class="tcr" scope="col"><?php tpl::lang('Date') ?></th> |
| </tr> |
| </thead> |
| <tbody> |
| <?php while ($download_last->fetch()) : ?> |
| <tr> |
| <td class="tcl"><h3 class="dlTitle"><span><a href="<?php download::lastDownloadsListURL() ?>"><?php download::lastDownloadsListTitle() ?></a></span></h3></td> |
| <td class="tcr"><?php download::lastDownloadsListDate() ?></td> |
| </tr> |
| <?php endwhile; ?> |
| </tbody> |
| </table> |
| </div> |
| </div> |
| |
| <?php endif; ?> |