/system/application/views/unit_function_view.php

http://bitstopdev-hostedqueuesys.googlecode.com/ · PHP · 111 lines · 108 code · 3 blank · 0 comment · 1 complexity · b71891938d7527f2e12f8290951872fe MD5 · raw file

  1. <?php
  2. echo doctype();
  3. ?>
  4. <html>
  5. <head>
  6. <meta http-equiv="Content-Type" content="text/html; charset=utf-8">
  7. <title>
  8. <?php
  9. echo $this->lang->line('manager_title_set_unit');
  10. ?>
  11. </title>
  12. <?php
  13. echo link_tag('css/global.css');
  14. echo link_tag('css/set-unit.css');
  15. ?>
  16. </head>
  17. <body>
  18. <div id="container">
  19. <div id="leftcon">
  20. <div id="logo"></div>
  21. <div id="setunit_navi">
  22. <ul>
  23. <li>
  24. <?php
  25. echo anchor('manager/', $this->lang->line('manager_todays_statistics'));
  26. ?>
  27. </li>
  28. <li>
  29. <?php
  30. echo anchor('manager/agents_grid', $this->lang->line('manager_manage_agents'));
  31. ?>
  32. </li>
  33. <li>
  34. <?php
  35. echo anchor('manager/unit', 'Unit');
  36. ?>
  37. </li>
  38. <li>
  39. <?php
  40. echo anchor('manager/deactivate', $this->lang->line('manager_deactivate'));
  41. ?>
  42. </li>
  43. <li>
  44. <?php
  45. echo anchor('logout/', $this->lang->line('manager_logout'));
  46. ?>
  47. </li>
  48. </ul>
  49. </div>
  50. </div>
  51. <div id="content">
  52. <div class="content_spc"></div>
  53. <div id="setunit_content">
  54. <h1>
  55. <?php
  56. echo $this->lang->line('manager_set_unit');
  57. ?>
  58. </h1>
  59. <div id="setunit_form">
  60. <?php
  61. if($show)
  62. {
  63. echo form_open(base_url() . 'unit/unit_function/');
  64. ?>
  65. <div class="setunit_form_row_g">
  66. Activate
  67. <?php
  68. echo $this->session->userdata('unit_type');
  69. ?>
  70. <br />
  71. <button type="submit">
  72. <?php
  73. echo $this->lang->line('manager_activate');
  74. ?>
  75. </button>
  76. </div>
  77. <?php
  78. echo form_close();
  79. }
  80. ?>
  81. <?php
  82. echo form_open(base_url() . 'manager/deactivate_unit/');
  83. ?>
  84. <div class="setunit_form_row_r">
  85. <?php
  86. echo $this->lang->line('manager_confirm_deactivate');
  87. ?>
  88. <br />
  89. <button type="submit">
  90. <?php
  91. echo $this->lang->line('manager_deactivate');
  92. ?>
  93. </button>
  94. </div>
  95. <?php
  96. echo form_close();
  97. ?>
  98. </div>
  99. </div>
  100. <div id="footer">
  101. <?php
  102. echo $this->lang->line('global_copy_right');
  103. ?>
  104. </div>
  105. </div>
  106. </div>
  107. </body>
  108. </html>