piler/webui/view/theme/default/templates/domain/domains.tpl

20 lines
1.6 KiB
Smarty
Raw Permalink Normal View History

2013-01-05 16:42:36 +01:00
<?php foreach($domains as $domain) { ?>
2013-02-11 20:24:19 +01:00
<a href="#" onclick="append_value_from_slider('domains', '<?php print $domain['domain']; ?>');"><?php print $domain['domain']; ?></a><br />
2013-01-05 16:42:36 +01:00
<?php } ?>
<div id="pagenav">
<?php if($page > 0){ ?><a href="index.php?route=domain/domains&amp;page=0&amp;term=<?php print $search; ?>&amp;sort=<?php print $sort; ?>&amp;order=<?php print $order; ?>" class="navlink"><?php } ?> &laquo; <?php if($page > 0){ ?></a><?php } ?>
2013-04-05 10:16:33 +02:00
&nbsp;
2013-01-05 16:42:36 +01:00
<?php if($page > 0){ ?><a href="index.php?route=domain/domains&amp;page=<?php print $prev_page; ?>&amp;term=<?php print $search; ?>&amp;sort=<?php print $sort; ?>&amp;order=<?php print $order; ?>" class="navlink"><?php } ?> &lsaquo; <?php if($page > 0){ ?></a><?php } ?>
2013-04-05 10:16:33 +02:00
&nbsp;
2013-01-05 16:42:36 +01:00
<?php if(count($domains) > 0) { print $domains[0][$sort]; ?> - <?php print $domains[count($domains)-1][$sort]; } ?>
2013-04-05 10:16:33 +02:00
&nbsp;
2013-01-05 16:42:36 +01:00
<?php if($total >= $page_len*($page+1) && $total > $page_len){ ?><a href="index.php?route=domain/domains&amp;page=<?php print $next_page; ?>&amp;term=<?php print $search; ?>&amp;sort=<?php print $sort; ?>&amp;order=<?php print $order; ?>" class="navlink"><?php } ?> &rsaquo; <?php if($total >= $page_len*($page+1) && $total > $page_len){ ?></a><?php } ?>
2013-04-05 10:16:33 +02:00
&nbsp;
2013-01-05 16:42:36 +01:00
<?php if($page < $total_pages){ ?><a href="index.php?route=domain/domains&amp;page=<?php print $total_pages; ?>&amp;term=<?php print $search; ?>&amp;sort=<?php print $sort; ?>&amp;order=<?php print $order; ?>" class="navlink"><?php } ?> &raquo; <?php if($page < $total_pages){ ?></a><?php } ?>
</div>
2013-02-11 20:24:19 +01:00
<div class="top20px"><a href="#" onclick="window.close();">close</a></div>