1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
58
59
60
61
62
63
64
65
66
67
68
69
70
71
72
73
74
75
76
77
78
79
80
81
82
83
84
85
86
<div class="content-wrapper" >
<!-- Content Header (Page header) -->
<section class="content-header">
<h1>
Manage Currency
</h1>
<ol class="breadcrumb">
<li><a href="#"><i class="fa fa-male"></i>Home</a></li>
<li class="active"> Manage Currency</li>
</ol>
</section>
<!-- Main content -->
<section class="content">
<div class="row">
<div class="col-xs-12">
<?php
if($this->session->flashdata('message')) {
$message = $this->session->flashdata('message');
?>
<div class="alert alert-<?php echo $message['class']; ?>">
<button class="close" data-dismiss="alert" type="button">×</button>
<?php echo $message['message']; ?>
</div>
<?php
}
?>
</div>
<div class="col-xs-12">
<!-- /.box -->
<div class="box">
<div class="box-header">
<h3 class="box-title">Manage Currency</h3>
</div>
<!-- /.box-header -->
<div class="box-body">
<?php if($data != ''){ ?>
<table class="table table-bordered table-striped datatable">
<thead>
<tr>
<th class="hidden">ID</th>
<th>Name</th>
<th>Country code</th>
<th>Symbol</th>
</tr>
</thead>
<tbody>
<?php
foreach($data as $res) {
?>
<tr>
<td class="hidden"><?php echo $res->id; ?></td>
<td class="center"><?php echo $res->name; ?>
<td class="center"><?php echo $res->cc; ?></td>
<td class="center"><?php echo $res->symbol; ?></td>
</tr>
<?php
}
?>
</tbody>
<tfoot>
<tr>
<th class="hidden">ID</th>
<th>Name</th>
<th>Country code</th>
<th>Symbol</th>
</tr>
</tfoot>
</table>
<?php } else{ ?>
<div>No Data Found</div>
<?php } ?>
</div>
<!-- /.box-body -->
</div>
<!-- /.box -->
</div>
<!-- /.col -->
</div>
<!-- /.row -->
</section>
<!-- /.content -->
</div>