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
|
<!DOCTYPE html> <?php require_once 'Prog_Subject_SQL.php'; ?> <html> <head> <?php require_once '../include/head.php'; ?> <?php require_once '../include/checkuser.php'; ?> <?php require_once '../include/Nav_bar.php'; ?> </head> <body> <!-- line between nav bar and content --> <div class="text-right"> <ul class="breadcrumb"> <li class="active">Programme Subject</li> </ul> </div>
<div class="container-fluid pathways-container"> <a class="btn" href="Prog_Subject_AddPage.php" style="float: right"><i class="icon-plus"></i> Add</a> <h3>Programme Subject</h3>
<form action="Prog_Subject_AddPage.php" method="get" autocomplete="off"> <table class="table table-striped table-bordered table-hover table-condensed"> <thead> <tr> <th style="width: 5%"></th> <th>Programme</th> <th>Subject</th> <th>Group,Individual / Package</th> </tr> </thead> <tbody> <?php $result = SearchList(); ?> <?php foreach ($result as $a) { ?> <?php $iP = isPackage($a); ?> <tr> <td style="text-align: left;"> <a class="btn" href="Prog_Subject_AddPage.php?ps_id=<?= $a['prog_subj_id'] ?>&view=">View</a> </td> <td><?= $a['program_code'] ?></td> <td><?= $a['sub_code'] ?></td> <td><?= $iP ? "Package" : "Indivalual / Group" ?></td> </tr> <?php } ?> </tbody> </table> </form> </div> <!-- /container --> </body> </html>
|