/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
- <?php
- echo doctype();
- ?>
- <html>
- <head>
- <meta http-equiv="Content-Type" content="text/html; charset=utf-8">
- <title>
- <?php
- echo $this->lang->line('manager_title_set_unit');
- ?>
- </title>
- <?php
- echo link_tag('css/global.css');
- echo link_tag('css/set-unit.css');
- ?>
- </head>
- <body>
- <div id="container">
- <div id="leftcon">
- <div id="logo"></div>
- <div id="setunit_navi">
- <ul>
- <li>
- <?php
- echo anchor('manager/', $this->lang->line('manager_todays_statistics'));
- ?>
- </li>
- <li>
- <?php
- echo anchor('manager/agents_grid', $this->lang->line('manager_manage_agents'));
- ?>
- </li>
- <li>
- <?php
- echo anchor('manager/unit', 'Unit');
- ?>
- </li>
- <li>
- <?php
- echo anchor('manager/deactivate', $this->lang->line('manager_deactivate'));
- ?>
- </li>
- <li>
- <?php
- echo anchor('logout/', $this->lang->line('manager_logout'));
- ?>
- </li>
- </ul>
- </div>
- </div>
- <div id="content">
- <div class="content_spc"></div>
- <div id="setunit_content">
- <h1>
- <?php
- echo $this->lang->line('manager_set_unit');
- ?>
- </h1>
- <div id="setunit_form">
- <?php
- if($show)
- {
- echo form_open(base_url() . 'unit/unit_function/');
- ?>
- <div class="setunit_form_row_g">
- Activate
- <?php
- echo $this->session->userdata('unit_type');
- ?>
- <br />
- <button type="submit">
- <?php
- echo $this->lang->line('manager_activate');
- ?>
- </button>
- </div>
- <?php
- echo form_close();
- }
- ?>
- <?php
- echo form_open(base_url() . 'manager/deactivate_unit/');
- ?>
- <div class="setunit_form_row_r">
- <?php
- echo $this->lang->line('manager_confirm_deactivate');
- ?>
- <br />
- <button type="submit">
- <?php
- echo $this->lang->line('manager_deactivate');
- ?>
- </button>
- </div>
- <?php
- echo form_close();
- ?>
-
- </div>
- </div>
- <div id="footer">
- <?php
- echo $this->lang->line('global_copy_right');
- ?>
- </div>
- </div>
- </div>
- </body>
- </html>