1
|
|
|
<? extend('left_panel_master.php') ?> |
|
|
|
|
2
|
|
|
<?php error_reporting(E_ERROR); ?> |
3
|
|
|
<? startblock('extra_head') ?> |
4
|
|
|
<script type="text/javascript" language="javascript"> |
5
|
|
|
$(document).ready(function() { |
6
|
|
|
build_grid("subscriptions_grid","",<? echo $grid_fields; ?>,""); |
7
|
|
|
$("#user_subscriptions_button").click(function(){ |
8
|
|
|
post_request_for_search("subscriptions_grid","","user_subscription_search"); |
9
|
|
|
}); |
10
|
|
|
$("#id_reset").click(function(){ |
11
|
|
|
clear_search_request("subscriptions_grid",""); |
12
|
|
|
}); |
13
|
|
|
}); |
14
|
|
|
</script> |
15
|
|
|
<? endblock() ?> |
16
|
|
|
<? startblock('page-title') ?> |
17
|
|
|
<?= $page_title ?> |
18
|
|
|
<? endblock() ?> |
19
|
|
|
<? startblock('content') ?> |
20
|
|
|
<div id="main-wrapper" class="tabcontents"> |
21
|
|
|
<div id="content"> |
22
|
|
|
<div class="row"> |
23
|
|
|
<div class="col-md-12 no-padding color-three border_box"> |
24
|
|
|
<div class="pull-left"> |
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{ ?> |
30
|
|
|
<li><a href="#">Billing</a></li> |
31
|
|
|
<?php } |
32
|
|
|
?> |
33
|
|
|
|
34
|
|
|
<li class='active'> |
35
|
|
|
<a href="<?= base_url() . "user/user_subscriptions/"; ?>">Subscriptions </a> |
36
|
|
|
</li> |
37
|
|
|
</ul> |
38
|
|
|
</div> |
39
|
|
|
<?php if($accountinfo['type']==1) { ?> |
40
|
|
|
<div class="pull-right"> |
41
|
|
|
<ul class="breadcrumb"> |
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> |
44
|
|
|
</ul> |
45
|
|
|
</div> |
46
|
|
|
<?php }?> |
47
|
|
|
</div> |
48
|
|
|
<div class="padding-15 col-md-12"> |
49
|
|
|
<div class="col-md-12 no-padding"> |
50
|
|
|
<div class="pull-right margin-b-10 col-md-4 no-padding"> |
51
|
|
|
<div id="left_panel_search" class= "pull-right btn btn-warning btn margin-t-10"><i class="fa fa-search"></i> Search</div> |
52
|
|
|
</div> |
53
|
|
|
|
54
|
|
|
<div class="margin-b-10 slice color-three pull-left content_border col-md-12" id="left_panel_search_form" style="cursor: pointer; display: none;"> |
55
|
|
|
<?php echo $form_search; ?> |
56
|
|
|
</div> |
57
|
|
|
<div class="col-md-12 no-padding"> |
58
|
|
|
<div class="col-md-12 color-three padding-b-20 slice color-three pull-left content_border"> |
59
|
|
|
<table id="subscriptions_grid" align="left" style="display:none;"></table> |
60
|
|
|
</div> |
61
|
|
|
</div> |
62
|
|
|
</div> |
63
|
|
|
</div> |
64
|
|
|
</div> |
65
|
|
|
</div> |
66
|
|
|
</div> |
67
|
|
|
|
68
|
|
|
<? endblock() ?> |
69
|
|
|
<? end_extend() ?> |
70
|
|
|
|
Short opening tags are disabled in PHP’s default configuration. In such a case, all content of this file is output verbatim to the browser without being parsed, or executed.
As a precaution to avoid these problems better use the long opening tag
<?php
.