m.browse.html.php 1.6 KB

123456789101112131415161718192021222324252627282930
  1. <?php include $app->getModuleRoot() . 'common/view/m.header.html.php';?>
  2. <section id='page' class='section list-with-actions list-with-pager'>
  3. <table class="table bordered">
  4. <thead>
  5. <?php $vars = "browseType=$browseType&param=$param&orderBy=%s&recTotal={$pager->recTotal}&recPerPage={$pager->recPerPage}";?>
  6. <tr>
  7. <th><?php common::printOrderLink('city', $orderBy, $vars, $lang->serverroom->city);?></th>
  8. <th class='w-90px'><?php common::printOrderLink('line', $orderBy, $vars, $lang->serverroom->line);?></th>
  9. <th class='w-80px'><?php common::printOrderLink('bandwidth', $orderBy, $vars, $lang->serverroom->bandwidth);?></th>
  10. <th class='w-80px'><?php common::printOrderLink('provider', $orderBy, $vars, $lang->serverroom->provider);?></th>
  11. </tr>
  12. </thead>
  13. <?php if(!empty($serverRoomList)):?>
  14. <tbody>
  15. <?php foreach($serverRoomList as $serverRoom):?>
  16. <tr data-url="<?php echo $this->inlink('view', "id=$serverRoom->id");?>">
  17. <td><?php echo $serverRoom->name?><?php if(!empty($serverRoom->city)):?>(<?php echo zget($lang->serverroom->cityList, $serverRoom->city)?>)<?php endif;?></td>
  18. <td><?php echo zget($lang->serverroom->lineList, $serverRoom->line);?></td>
  19. <td><?php echo $serverRoom->bandwidth;?></td>
  20. <td><?php echo zget($lang->serverroom->providerList, $serverRoom->provider);?></td>
  21. </tr>
  22. <?php endforeach;?>
  23. </tbody>
  24. <?php endif;?>
  25. </table>
  26. <nav class='nav justify pager'>
  27. <?php $pager->show($align = 'justify');?>
  28. </nav>
  29. </section>
  30. <?php include $app->getModuleRoot() . 'common/view/m.footer.html.php';?>