x.browse.html.php 1.8 KB

123456789101112131415161718192021222324252627282930313233343536373839
  1. <?php
  2. /**
  3. * The browse view file of trip module of RanZhi.
  4. *
  5. * @copyright Copyright 2009-2018 青岛易软天创网络科技有限公司(QingDao Nature Easy Soft Network Technology Co,LTD, www.cnezsoft.com)
  6. * @license ZPL (http://zpl.pub/page/zplv12.html)
  7. * @author Gang Liu <liugang@cnezsoft.com>
  8. * @package trip
  9. * @version $Id$
  10. * @link http://www.ranzhi.org
  11. */
  12. ?>
  13. <?php include $app->getModuleRoot() . 'common/view/header.lite.html.php';?>
  14. <div class='panel xuanxuan-card'>
  15. <table class='table table-data table-hover text-center table-fixed tablesorter'>
  16. <thead>
  17. <tr class='text-center'>
  18. <?php $vars = "date=$date&orderBy=%s";?>
  19. <th class='w-80px'> <?php commonModel::printOrderLink('createdBy', $orderBy, $vars, $lang->$type->createdBy);?></th>
  20. <th class='w-120px'><?php commonModel::printOrderLink('begin', $orderBy, $vars, $lang->$type->begin);?></th>
  21. <th class='w-120px'><?php commonModel::printOrderLink('end', $orderBy, $vars, $lang->$type->end);?></th>
  22. <th class='w-80px'><?php commonModel::printOrderLink('to', $orderBy, $vars, $lang->$type->to);?></th>
  23. <th><?php echo $lang->$type->desc;?></th>
  24. </tr>
  25. </thead>
  26. <?php foreach($tripList as $trip):?>
  27. <tr>
  28. <td><?php echo zget($users, $trip->createdBy);?></td>
  29. <td><?php echo formatTime($trip->begin . ' ' . $trip->start, DT_DATETIME2);?></td>
  30. <td><?php echo formatTime($trip->end . ' ' . $trip->finish, DT_DATETIME2);?></td>
  31. <td title='<?php echo $trip->to?>'> <?php echo $trip->to;?></td>
  32. <td title='<?php echo $trip->desc?>'><?php echo $trip->desc;?></td>
  33. </tr>
  34. <?php endforeach;?>
  35. </table>
  36. <?php if(!$tripList):?>
  37. <?php endif;?>
  38. </div>
  39. <?php include $app->getModuleRoot() . 'common/view/footer.html.php';?>