@@ -27,24 +27,24 @@ discard block |
||
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 }?> |
@@ -52,7 +52,7 @@ discard block |
||
52 | 52 | <div class="padding-15 col-md-12"> |
53 | 53 | <div class="col-md-12 no-padding"> |
54 | 54 | <div class="pull-left margin-t-10"> |
55 | - <a href='<?php echo base_url() . "user/user_sipdevices_add/"; ?>' rel="facebox_medium" title="Add"> |
|
55 | + <a href='<?php echo base_url()."user/user_sipdevices_add/"; ?>' rel="facebox_medium" title="Add"> |
|
56 | 56 | <span class="btn btn-line-warning"> |
57 | 57 | <i class="fa fa-plus-circle fa-lg"></i> Create |
58 | 58 | </span> |
@@ -24,16 +24,16 @@ |
||
24 | 24 | <div class="col-md-12 no-padding color-three border_box"> |
25 | 25 | <div class="pull-left"> |
26 | 26 | <ul class="breadcrumb"> |
27 | - <li><a href="<?= base_url() . "user/user_myprofile/"; ?>">My Profile</a></li> |
|
27 | + <li><a href="<?= base_url()."user/user_myprofile/"; ?>">My Profile</a></li> |
|
28 | 28 | <li class='active'> |
29 | - <a href="<?= base_url() . "user/user_emails/"; ?>">Emails</a> |
|
29 | + <a href="<?= base_url()."user/user_emails/"; ?>">Emails</a> |
|
30 | 30 | </li> |
31 | 31 | </ul> |
32 | 32 | </div> |
33 | 33 | <div class="pull-right"> |
34 | 34 | <ul class="breadcrumb"> |
35 | 35 | <li class="active pull-right"> |
36 | - <a href="<?= base_url() . "user/user_myprofile/"; ?>"> <i class="fa fa-fast-backward" aria-hidden="true"></i> Back</a></li> |
|
36 | + <a href="<?= base_url()."user/user_myprofile/"; ?>"> <i class="fa fa-fast-backward" aria-hidden="true"></i> Back</a></li> |
|
37 | 37 | </ul> |
38 | 38 | </div> |
39 | 39 | </div> |
@@ -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 }?> |
@@ -23,14 +23,14 @@ |
||
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 | - <li><a href="<?= base_url() . "user/user_myprofile/";?>"> My Profile </a></li> |
|
27 | - <li class="active"><a href="<?= base_url() . "user/user_change_password/";?>"> Change Password </a></li> |
|
26 | + <li><a href="<?= base_url()."user/user_myprofile/"; ?>"> My Profile </a></li> |
|
27 | + <li class="active"><a href="<?= base_url()."user/user_change_password/"; ?>"> Change Password </a></li> |
|
28 | 28 | </ul> |
29 | 29 | </div> |
30 | 30 | <div class="pull-right"> |
31 | 31 | <ul class="breadcrumb"> |
32 | 32 | <li class="active pull-right"> |
33 | - <a href="<?= base_url() . "user/user_myprofile/"; ?>"> <i class="fa fa-fast-backward" aria-hidden="true"></i> Back</a></li> |
|
33 | + <a href="<?= base_url()."user/user_myprofile/"; ?>"> <i class="fa fa-fast-backward" aria-hidden="true"></i> Back</a></li> |
|
34 | 34 | </ul> |
35 | 35 | </div> |
36 | 36 | </div> |
@@ -3,14 +3,14 @@ discard block |
||
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; |
@@ -28,7 +28,7 @@ discard block |
||
28 | 28 | function get_invoices_data(){ |
29 | 29 | $.ajax({ |
30 | 30 | type:'POST', |
31 | - url: "<?php echo base_url();?>"+'user/user_dashboard_invoices_data/', |
|
31 | + url: "<?php echo base_url(); ?>"+'user/user_dashboard_invoices_data/', |
|
32 | 32 | cache : false, |
33 | 33 | async : false, |
34 | 34 | success: function(response_data) { |
@@ -73,7 +73,7 @@ discard block |
||
73 | 73 | function get_payment_data(){ |
74 | 74 | $.ajax({ |
75 | 75 | type:'POST', |
76 | - url: "<?php echo base_url();?>"+'user/user_dashboard_recent_payments/', |
|
76 | + url: "<?php echo base_url(); ?>"+'user/user_dashboard_recent_payments/', |
|
77 | 77 | cache : false, |
78 | 78 | async : false, |
79 | 79 | success: function(response_data) { |
@@ -113,7 +113,7 @@ discard block |
||
113 | 113 | function get_package_data(){ |
114 | 114 | $.ajax({ |
115 | 115 | type:'POST', |
116 | - url: "<?php echo base_url();?>"+'user/user_dashboard_package_data/', |
|
116 | + url: "<?php echo base_url(); ?>"+'user/user_dashboard_package_data/', |
|
117 | 117 | cache : false, |
118 | 118 | async : false, |
119 | 119 | success: function(response_data) { |
@@ -154,7 +154,7 @@ discard block |
||
154 | 154 | function get_subscription_data(){ |
155 | 155 | $.ajax({ |
156 | 156 | type:'POST', |
157 | - url: "<?php echo base_url();?>"+'user/user_dashboard_subscription_data/', |
|
157 | + url: "<?php echo base_url(); ?>"+'user/user_dashboard_subscription_data/', |
|
158 | 158 | cache : false, |
159 | 159 | async : false, |
160 | 160 | success: function(response_data) { |
@@ -26,16 +26,16 @@ |
||
26 | 26 | <div class="col-md-12 no-padding color-three border_box"> |
27 | 27 | <div class="pull-left"> |
28 | 28 | <ul class="breadcrumb"> |
29 | - <li><a href="<?= base_url() . "user/user_myprofile/"; ?>">My Profile</a></li> |
|
29 | + <li><a href="<?= base_url()."user/user_myprofile/"; ?>">My Profile</a></li> |
|
30 | 30 | <li class='active'> |
31 | - <a href="<?= base_url() . "user/user_refill_report/"; ?>">Refill Report</a> |
|
31 | + <a href="<?= base_url()."user/user_refill_report/"; ?>">Refill Report</a> |
|
32 | 32 | </li> |
33 | 33 | </ul> |
34 | 34 | </div> |
35 | 35 | <div class="pull-right"> |
36 | 36 | <ul class="breadcrumb"> |
37 | 37 | <li class="active pull-right"> |
38 | - <a href="<?= base_url() . "user/user_myprofile/"; ?>"> <i class="fa fa-fast-backward" aria-hidden="true"></i> Back</a></li> |
|
38 | + <a href="<?= base_url()."user/user_myprofile/"; ?>"> <i class="fa fa-fast-backward" aria-hidden="true"></i> Back</a></li> |
|
39 | 39 | </ul> |
40 | 40 | </div> |
41 | 41 | </div> |
@@ -3,8 +3,8 @@ |
||
3 | 3 | <? startblock('extra_head') ?> |
4 | 4 | <script type="text/javascript"> |
5 | 5 | $(document).ready(function() { |
6 | -var country_id = "<?php echo $account_data[0]['country_id'];?>" |
|
7 | -var timezone_id = "<?php echo $account_data[0]['timezone_id'];?>" |
|
6 | +var country_id = "<?php echo $account_data[0]['country_id']; ?>" |
|
7 | +var timezone_id = "<?php echo $account_data[0]['timezone_id']; ?>" |
|
8 | 8 | $("#country_id").val(country_id); |
9 | 9 | $("#timezone_id").val(timezone_id); |
10 | 10 |
@@ -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 }?> |
@@ -3,8 +3,8 @@ discard block |
||
3 | 3 | <? startblock('extra_head') ?> |
4 | 4 | <script type="text/javascript"> |
5 | 5 | $(document).ready(function() { |
6 | -var country_id = "<?php echo $account_data[0]['country_id'];?>" |
|
7 | -var timezone_id = "<?php echo $account_data[0]['timezone_id'];?>" |
|
6 | +var country_id = "<?php echo $account_data[0]['country_id']; ?>" |
|
7 | +var timezone_id = "<?php echo $account_data[0]['timezone_id']; ?>" |
|
8 | 8 | $("#country_id").val(country_id); |
9 | 9 | $("#timezone_id").val(timezone_id); |
10 | 10 | }); |
@@ -50,8 +50,8 @@ discard block |
||
50 | 50 | <div class="col-md-12 no-padding color-three border_box"> |
51 | 51 | <div class="pull-left"> |
52 | 52 | <ul class="breadcrumb"> |
53 | - <li><a href="<?= base_url() . "accounts/" . strtolower($accounttype) . "_list/";?>"><?= ucfirst($accounttype); ?>s</a></li> |
|
54 | - <li class="active"><a href="<?= base_url() . "accounts/" . strtolower($accounttype) . "_edit/" . $edit_id . "/";?>"> <?= ucfirst($accounttype); ?> Profile </a></li> |
|
53 | + <li><a href="<?= base_url()."accounts/".strtolower($accounttype)."_list/"; ?>"><?= ucfirst($accounttype); ?>s</a></li> |
|
54 | + <li class="active"><a href="<?= base_url()."accounts/".strtolower($accounttype)."_edit/".$edit_id."/"; ?>"> <?= ucfirst($accounttype); ?> Profile </a></li> |
|
55 | 55 | </ul> |
56 | 56 | </div> |
57 | 57 | </div> |