PageRenderTime 23ms CodeModel.GetById 22ms app.highlight 0ms RepoModel.GetById 1ms app.codeStats 0ms

/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
Possible License(s): Unlicense
  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
 78                        <?php
 79                                echo form_close();
 80                            }
 81                        ?>
 82
 83                        <?php
 84                            echo form_open(base_url() . 'manager/deactivate_unit/');
 85                        ?>
 86                        <div class="setunit_form_row_r">
 87                            <?php
 88                                echo $this->lang->line('manager_confirm_deactivate');
 89                            ?>
 90                            <br />
 91                            <button type="submit">
 92                                <?php
 93                                    echo $this->lang->line('manager_deactivate');
 94                                ?>
 95                            </button>
 96                        </div>
 97                        <?php
 98                            echo form_close();
 99                        ?>
100                        
101                    </div>
102                </div>
103                <div id="footer">
104                    <?php
105                        echo $this->lang->line('global_copy_right');
106                    ?>
107                </div>
108            </div>
109        </div>
110    </body>
111</html>