@@ -31,22 +31,22 @@ |
||
31 | 31 | <div class="col-md-12 no-padding color-three border_box"> |
32 | 32 | <div class="pull-left"> |
33 | 33 | <ul class="breadcrumb"> |
34 | - <?php $accountinfo=$this->session->userdata('accountinfo'); |
|
35 | - if($accountinfo['type']==1){ ?> |
|
36 | - <li><a href="<?= base_url() . "user/user_myprofile/"; ?>">My Profile</a></li> |
|
37 | - <?php } else{ ?> |
|
34 | + <?php $accountinfo = $this->session->userdata('accountinfo'); |
|
35 | + if ($accountinfo['type'] == 1) { ?> |
|
36 | + <li><a href="<?= base_url()."user/user_myprofile/"; ?>">My Profile</a></li> |
|
37 | + <?php } else { ?> |
|
38 | 38 | <li><a href="#">Configuration</a></li> |
39 | 39 | <?php } ?> |
40 | 40 | <li class='active'> |
41 | - <a href="<?= base_url() . "user/user_alert_threshold/"; ?>">Alert Threshold</a> |
|
41 | + <a href="<?= base_url()."user/user_alert_threshold/"; ?>">Alert Threshold</a> |
|
42 | 42 | </li> |
43 | 43 | </ul> |
44 | 44 | </div> |
45 | - <?php if($accountinfo['type']==1) { ?> |
|
45 | + <?php if ($accountinfo['type'] == 1) { ?> |
|
46 | 46 | <div class="pull-right"> |
47 | 47 | <ul class="breadcrumb"> |
48 | 48 | <li class="active pull-right"> |
49 | - <a href="<?= base_url() . "user/user_myprofile/"; ?>"> <i class="fa fa-fast-backward" aria-hidden="true"></i> Back</a></li> |
|
49 | + <a href="<?= base_url()."user/user_myprofile/"; ?>"> <i class="fa fa-fast-backward" aria-hidden="true"></i> Back</a></li> |
|
50 | 50 | </ul> |
51 | 51 | </div> |
52 | 52 | <?php }?> |
@@ -27,24 +27,24 @@ |
||
27 | 27 | <div class="col-md-12 no-padding color-three border_box"> |
28 | 28 | <div class="pull-left"> |
29 | 29 | <ul class="breadcrumb"> |
30 | - <?php $accountinfo=$this->session->userdata('accountinfo'); |
|
31 | - if($accountinfo['type']==1){ ?> |
|
32 | - <li><a href="<?= base_url() . "user/user_myprofile/"; ?>">My Profile</a></li> |
|
33 | - <?php } else{ ?> |
|
30 | + <?php $accountinfo = $this->session->userdata('accountinfo'); |
|
31 | + if ($accountinfo['type'] == 1) { ?> |
|
32 | + <li><a href="<?= base_url()."user/user_myprofile/"; ?>">My Profile</a></li> |
|
33 | + <?php } else { ?> |
|
34 | 34 | <li><a href="#">Configuration</a></li> |
35 | 35 | <?php } |
36 | 36 | ?> |
37 | 37 | |
38 | 38 | <li class='active'> |
39 | - <a href="<?= base_url() . "user/user_sipdevices/"; ?>">SIP Devices</a> |
|
39 | + <a href="<?= base_url()."user/user_sipdevices/"; ?>">SIP Devices</a> |
|
40 | 40 | </li> |
41 | 41 | </ul> |
42 | 42 | </div> |
43 | - <?php if($accountinfo['type']==1) { ?> |
|
43 | + <?php if ($accountinfo['type'] == 1) { ?> |
|
44 | 44 | <div class="pull-right"> |
45 | 45 | <ul class="breadcrumb"> |
46 | 46 | <li class="active pull-right"> |
47 | - <a href="<?= base_url() . "user/user_myprofile/"; ?>"> <i class="fa fa-fast-backward" aria-hidden="true"></i> Back</a></li> |
|
47 | + <a href="<?= base_url()."user/user_myprofile/"; ?>"> <i class="fa fa-fast-backward" aria-hidden="true"></i> Back</a></li> |
|
48 | 48 | </ul> |
49 | 49 | </div> |
50 | 50 | <?php }?> |
@@ -3,14 +3,14 @@ |
||
3 | 3 | <?php echo $page_title; ?> |
4 | 4 | <? endblock() ?> |
5 | 5 | <?php |
6 | - $accountinfo=$this->session->userdata('accountinfo'); |
|
7 | - $currency=$this->common->get_field_name('currency','currency',array("id"=>$accountinfo['currency_id'])); |
|
6 | + $accountinfo = $this->session->userdata('accountinfo'); |
|
7 | + $currency = $this->common->get_field_name('currency', 'currency', array("id"=>$accountinfo['currency_id'])); |
|
8 | 8 | |
9 | 9 | ?> |
10 | 10 | <? startblock('extra_head') ?> |
11 | - <script type="text/javascript" src="<?php echo base_url();?>assets/js/chart/highcharts.js"></script> |
|
12 | - <script type="text/javascript" src="<?php echo base_url();?>assets/js/chart/exporting.js"></script> |
|
13 | - <script type="text/javascript" src="<?php echo base_url();?>assets/js/chart/highcharts-3d.js"></script> |
|
11 | + <script type="text/javascript" src="<?php echo base_url(); ?>assets/js/chart/highcharts.js"></script> |
|
12 | + <script type="text/javascript" src="<?php echo base_url(); ?>assets/js/chart/exporting.js"></script> |
|
13 | + <script type="text/javascript" src="<?php echo base_url(); ?>assets/js/chart/highcharts-3d.js"></script> |
|
14 | 14 | <style> |
15 | 15 | .second{ |
16 | 16 | color: black; |
@@ -13,7 +13,7 @@ |
||
13 | 13 | <div class="w-section inverse no-padding"> |
14 | 14 | <?php echo $form; ?> |
15 | 15 | <?php |
16 | - if(isset($validation_errors) && $validation_errors != ''){ ?> |
|
16 | + if (isset($validation_errors) && $validation_errors != '') { ?> |
|
17 | 17 | <script> |
18 | 18 | var ERR_STR = '<?php echo $validation_errors; ?>'; |
19 | 19 | print_error(ERR_STR); |
@@ -23,24 +23,24 @@ |
||
23 | 23 | <div class="col-md-12 no-padding color-three border_box"> |
24 | 24 | <div class="pull-left"> |
25 | 25 | <ul class="breadcrumb"> |
26 | - <?php $accountinfo=$this->session->userdata('accountinfo'); |
|
27 | - if($accountinfo['type']==1){ ?> |
|
28 | - <li><a href="<?= base_url() . "user/user_myprofile/"; ?>">My Profile</a></li> |
|
29 | - <?php } else{ ?> |
|
26 | + <?php $accountinfo = $this->session->userdata('accountinfo'); |
|
27 | + if ($accountinfo['type'] == 1) { ?> |
|
28 | + <li><a href="<?= base_url()."user/user_myprofile/"; ?>">My Profile</a></li> |
|
29 | + <?php } else { ?> |
|
30 | 30 | <li><a href="#">Billing</a></li> |
31 | 31 | <?php } |
32 | 32 | ?> |
33 | 33 | |
34 | 34 | <li class='active'> |
35 | - <a href="<?= base_url() . "user/user_subscriptions/"; ?>">Subscriptions </a> |
|
35 | + <a href="<?= base_url()."user/user_subscriptions/"; ?>">Subscriptions </a> |
|
36 | 36 | </li> |
37 | 37 | </ul> |
38 | 38 | </div> |
39 | - <?php if($accountinfo['type']==1) { ?> |
|
39 | + <?php if ($accountinfo['type'] == 1) { ?> |
|
40 | 40 | <div class="pull-right"> |
41 | 41 | <ul class="breadcrumb"> |
42 | 42 | <li class="active pull-right"> |
43 | - <a href="<?= base_url() . "user/user_myprofile/"; ?>"> <i class="fa fa-fast-backward" aria-hidden="true"></i> Back</a></li> |
|
43 | + <a href="<?= base_url()."user/user_myprofile/"; ?>"> <i class="fa fa-fast-backward" aria-hidden="true"></i> Back</a></li> |
|
44 | 44 | </ul> |
45 | 45 | </div> |
46 | 46 | <?php }?> |
@@ -119,7 +119,7 @@ |
||
119 | 119 | </label> |
120 | 120 | </div> |
121 | 121 | <div class="col-md-3"> |
122 | - <input class="col-md-2 form-control" name="speed_dial_<?php echo $i; ?>" id="speed_dial_<?php echo $i; ?>" size="16" type="text" value="<?php if (isset($speeddial[$i]) && !empty($speeddial[$i])) { |
|
122 | + <input class="col-md-2 form-control" name="speed_dial_<?php echo $i; ?>" id="speed_dial_<?php echo $i; ?>" size="16" type="text" value="<?php if (isset($speeddial[$i]) && ! empty($speeddial[$i])) { |
|
123 | 123 | echo $speeddial[$i]; |
124 | 124 | } ?>"> |
125 | 125 | </div> |
@@ -21,24 +21,24 @@ |
||
21 | 21 | <div class="col-md-12 no-padding color-three border_box"> |
22 | 22 | <div class="pull-left"> |
23 | 23 | <ul class="breadcrumb"> |
24 | - <?php $accountinfo=$this->session->userdata('accountinfo'); |
|
25 | - if($accountinfo['type']==1){ ?> |
|
26 | - <li><a href="<?= base_url() . "user/user_myprofile/"; ?>">My Profile</a></li> |
|
27 | - <?php } else{ ?> |
|
24 | + <?php $accountinfo = $this->session->userdata('accountinfo'); |
|
25 | + if ($accountinfo['type'] == 1) { ?> |
|
26 | + <li><a href="<?= base_url()."user/user_myprofile/"; ?>">My Profile</a></li> |
|
27 | + <?php } else { ?> |
|
28 | 28 | <li><a href="#">Configuration</a></li> |
29 | 29 | <?php } |
30 | 30 | ?> |
31 | 31 | |
32 | 32 | <li class='active'> |
33 | - <a href="<?= base_url() . "user/user_ipmap/"; ?>">IP Settings</a> |
|
33 | + <a href="<?= base_url()."user/user_ipmap/"; ?>">IP Settings</a> |
|
34 | 34 | </li> |
35 | 35 | </ul> |
36 | 36 | </div> |
37 | - <?php if($accountinfo['type']==1) { ?> |
|
37 | + <?php if ($accountinfo['type'] == 1) { ?> |
|
38 | 38 | <div class="pull-right"> |
39 | 39 | <ul class="breadcrumb"> |
40 | 40 | <li class="active pull-right"> |
41 | - <a href="<?= base_url() . "user/user_myprofile/"; ?>"> <i class="fa fa-fast-backward" aria-hidden="true"></i> Back</a></li> |
|
41 | + <a href="<?= base_url()."user/user_myprofile/"; ?>"> <i class="fa fa-fast-backward" aria-hidden="true"></i> Back</a></li> |
|
42 | 42 | </ul> |
43 | 43 | </div> |
44 | 44 | <?php }?> |
@@ -198,13 +198,13 @@ |
||
198 | 198 | </div> |
199 | 199 | </div> |
200 | 200 | <?php |
201 | - if($account_data['logo'] != ''){ |
|
202 | - $logo=$account_data['file']; |
|
203 | - }else{ |
|
204 | - $logo=$account_data['logo']; |
|
201 | + if ($account_data['logo'] != '') { |
|
202 | + $logo = $account_data['file']; |
|
203 | + } else { |
|
204 | + $logo = $account_data['logo']; |
|
205 | 205 | } |
206 | - if($logo != ''){ |
|
207 | - $file_name= base_url()."upload/$logo"; |
|
206 | + if ($logo != '') { |
|
207 | + $file_name = base_url()."upload/$logo"; |
|
208 | 208 | ?> |
209 | 209 | |
210 | 210 | <div class='col-md-12 no-padding'> |
@@ -43,24 +43,24 @@ |
||
43 | 43 | <div class="col-md-12 no-padding color-three border_box"> |
44 | 44 | <div class="pull-left"> |
45 | 45 | <ul class="breadcrumb"> |
46 | - <?php $accountinfo=$this->session->userdata('accountinfo'); |
|
47 | - if($accountinfo['type']==1){ ?> |
|
48 | - <li><a href="<?= base_url() . "user/user_myprofile/"; ?>">My Profile</a></li> |
|
49 | - <?php } else{ ?> |
|
46 | + <?php $accountinfo = $this->session->userdata('accountinfo'); |
|
47 | + if ($accountinfo['type'] == 1) { ?> |
|
48 | + <li><a href="<?= base_url()."user/user_myprofile/"; ?>">My Profile</a></li> |
|
49 | + <?php } else { ?> |
|
50 | 50 | <li><a href="#">Configuration</a></li> |
51 | 51 | <?php } |
52 | 52 | ?> |
53 | 53 | |
54 | 54 | <li class='active'> |
55 | - <a href="<?= base_url() . "user/user_animap_list/"; ?>">Caller ID</a> |
|
55 | + <a href="<?= base_url()."user/user_animap_list/"; ?>">Caller ID</a> |
|
56 | 56 | </li> |
57 | 57 | </ul> |
58 | 58 | </div> |
59 | - <?php if($accountinfo['type']==1) { ?> |
|
59 | + <?php if ($accountinfo['type'] == 1) { ?> |
|
60 | 60 | <div class="pull-right"> |
61 | 61 | <ul class="breadcrumb"> |
62 | 62 | <li class="active pull-right"> |
63 | - <a href="<?= base_url() . "user/user_myprofile/"; ?>"> <i class="fa fa-fast-backward" aria-hidden="true"></i> Back</a></li> |
|
63 | + <a href="<?= base_url()."user/user_myprofile/"; ?>"> <i class="fa fa-fast-backward" aria-hidden="true"></i> Back</a></li> |
|
64 | 64 | </ul> |
65 | 65 | </div> |
66 | 66 | <?php }?> |