batchcreate.html.php 2.3 KB

1234567891011121314151617181920212223242526272829303132333435363738394041424344454647484950
  1. <?php
  2. /**
  3. * The batchcreate of meetingroom module of ZenTaoPMS.
  4. *
  5. * @copyright Copyright 2009-2021 禅道软件(青岛)有限公司(ZenTao Software (Qingdao) Co., Ltd. www.cnezsoft.com)
  6. * @license ZPL(http://zpl.pub/page/zplv12.html) or AGPL(https://www.gnu.org/licenses/agpl-3.0.en.html)
  7. * @author Yuchun Li <liyuchun@cnezsoft.com>
  8. * @package meetingroom
  9. * @version $Id: batchcreate.html.php 4903 2021-06-10 13:55:00Z lyc $
  10. * @link https://www.zentao.net
  11. */
  12. ?>
  13. <?php include $app->getModuleRoot() . 'common/view/header.html.php';?>
  14. <div id="mainContent" class="main-content fade">
  15. <div class="main-header">
  16. <h2><?php echo $lang->meetingroom->batchCreate;?></h2>
  17. </div>
  18. <form class="load-indicator main-form form-ajax" method='post' enctype='multipart/form-data' id='dataform'>
  19. <table class="table table-form">
  20. <thead>
  21. <tr>
  22. <th class='w-50px'><?php echo $lang->meetingroom->id;?></th>
  23. <th class='required'><?php echo $lang->meetingroom->name;?></th>
  24. <th class='w-160px required'><?php echo $lang->meetingroom->position;?></th>
  25. <th class='w-80px required'><?php echo $lang->meetingroom->seats;?></th>
  26. <th class='w-280px required'><?php echo $lang->meetingroom->equipment;?></th>
  27. <th class='w-280px required'><?php echo $lang->meetingroom->openTime;?></th>
  28. </tr>
  29. </thead>
  30. <tbody>
  31. <?php for($i = 1; $i <= 10; $i ++):?>
  32. <tr>
  33. <td><?php echo $i;?></td>
  34. <td><?php echo html::input("name[$i]", '', "class='form-control'");?></td>
  35. <td><?php echo html::input("position[$i]", '', "class='form-control'");?></td>
  36. <td><?php echo html::input("seats[$i]", '', "class='form-control'");?></td>
  37. <td><?php echo html::select("equipment[$i][]", $lang->meetingroom->equipmentList, '', "class='form-control chosen' multiple");?></td>
  38. <td><?php echo html::select("openTime[$i][]", $lang->meetingroom->openTimeList, '', "class='form-control chosen' multiple");?></td>
  39. </tr>
  40. <?php endfor;?>
  41. <tr>
  42. <td colspan='6' class='form-actions text-center'>
  43. <?php echo html::submitButton() . html::backButton();?>
  44. </td>
  45. </tr>
  46. </tbody>
  47. </table>
  48. </form>
  49. </div>
  50. <?php include $app->getModuleRoot() . 'common/view/footer.html.php';?>