Ejemplo n.º 1
0
 public function get_office_total()
 {
     $rs = $this->db->select('b.distname as name,COUNT(*) as total')->where('a.provid', provid())->group_by('a.distid')->join('co_district b', 'a.distid=b.distid')->get('co_office a')->result();
     return $rs;
 }
Ejemplo n.º 2
0
    <title><?php 
echo version();
?>
</title>

    <script type="text/javascript" charset="utf-8">
    var site_url = '<?php 
echo site_url();
?>
';
    var base_url = '<?php 
echo base_url();
?>
';
    var provid = '<?php 
echo provid();
?>
';
    var url_44 = '<?php 
echo prov_server(44);
?>
';
    var url_40 = '<?php 
echo prov_server(40);
?>
';
    var url_45 = '<?php 
echo prov_server(45);
?>
';
    var url_46 = '<?php 
Ejemplo n.º 3
0
 public function all_users()
 {
     $data['amp'] = $this->users->get_amp(provid());
     $this->layout->setLayout('default_layout');
     $this->layout->view('users/all_users_view', $data);
 }