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
|
<?php $page_setting = array( 'controller' => current_controller(), 'table' => $table, 'permission' => $permission, 'redirect_link' => $redirect_link, 'languages' => $languages, );
validate_user_access(array($page_setting['permission']['view']), 0);
include_once 'templates/top.php'; ?>
<!-- Content Header (Page header) --> <section class="content-header"> <h1> <?php echo __(ucfirst(str_replace('_', ' ', $table))); ?> <small><?php echo $page_setting['action']; ?></small> </h1> <ol class="breadcrumb"> <li><a href="<?php echo admin_url(''); ?>"><?php echo __('Home'); ?></a></li> <li class="active"><?php echo __(ucfirst(str_replace('_', ' ', $table))); ?></li> </ol> </section>
<!-- Main content --> <section class="content mt-10"> <div class="box box-default"> <div class="box-body"> <?php echo form_open_multipart($form_action, 'class="form-horizontal"'); ?> <div class="tr margin_bottom_20"> <div class="btn-group"> <a href="<?php echo $page_setting['redirect_link']; ?>" class="btn btn-default"> <i class="fa fa-chevron-left" aria-hidden="true"></i><?php echo __('Cancel'); ?> </a> </div> </div>
<?php if (validation_errors()) {?> <div id="signupalert" class="alert alert-danger margin_bottom_20"> <?php echo validation_errors(); ?> </div> <?php }?>
<div class="form-group"> <label class="col-sm-2 control-label>"><?php echo __('Reference no'); ?></label> <div class="col-sm-10"> <?php echo Application_model::get_certain($model[0]['application_id'])['reference_no']; ?> </div> </div>
<?php foreach ($model as $row) { ?> <div class="form-group"> <label class="col-sm-2 control-label>"><?php echo Scoring_item_model::get_certain($row['scoring_item_id'])['name_' . get_wlang()]; ?></label> <div class="col-sm-10"> <?php echo $row['point']; ?> </div> </div> <?php } ?>
<div class="form-group"> <label class="col-sm-2 control-label>"><?php echo __('Remark'); ?>!</label> <div class="col-sm-10"> <?php echo $remark; ?> </div> </div>
<?php echo form_close(); ?> </div> <div class="clear"> </div> </div> </section> <!-- /.content -->
<?php include_once 'templates/bottom.php'; ?>
|