/lenasys/trunk

To get this branch, use:
bzr branch http://gegoxaren.bato24.eu/bzr/lenasys/trunk
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
					<div class="span9">
						
						<div class="span9" id="content">
							<h2>Manage course - <?php echo $cid ?></h2>
							<table  class="table table-striped">
								<thead>
									<tr>
										<th>Category ID</th>
										<th>Manage</th>
									</tr>
								</thead>
								<tbody>
									<?php
										foreach ($categories as $item):
									?>
									<tr>
										<td><?php echo $item->categoryName ?></td>
										<td><button class="btn btn-primary" onClick="window.location.href='<?php echo base_url();?>admin/managecategory/<?php echo $cid ?>/<?php echo $item->categoryName ?>'"><i class="icon-cog icon-white"></i> Manage</button></td>
									</tr>
									<?php endforeach;?>
								</tbody>
							</table>
							<button class="btn btn-primary" onClick="window.location.href='<?php echo base_url();?>admin/addcategory/<?php echo $cid ?>'"><i class="icon-plus-sign icon-white"></i> Add category</button>
						</div>
					</div>
					
				</div>
			</div>

		</div>
	</div>
</body>

</html>