bzr branch
http://gegoxaren.bato24.eu/bzr/lenasys/trunk
|
50.1.1
by galaxyAbstractor
Started implementing categories and a menu |
1 |
<div class="span9"> |
2 |
|
|
3 |
<div class="span9" id="content"> |
|
4 |
<h2>Manage Subcategory - <?php echo $categoryName ?> - <?php echo $cid ?></h2> |
|
5 |
<table class="table table-striped"> |
|
6 |
<thead> |
|
7 |
<tr> |
|
8 |
<th>SubCategory ID</th> |
|
9 |
<th>Manage</th> |
|
10 |
</tr> |
|
11 |
</thead> |
|
12 |
<tbody> |
|
13 |
<?php |
|
14 |
foreach ($subcategories as $item): |
|
15 |
?>
|
|
16 |
<tr> |
|
17 |
<td><?php echo $item->subCategoryName ?></td> |
|
18 |
<td><button class="btn btn-primary" onClick="window.location.href='<?php echo base_url();?>admin/managesubcategory/<?php echo $cid ?>/<?php echo $categoryName ?>/<?php echo $item->subCategoryName ?>'"><i class="icon-cog icon-white"></i> Manage</button></td> |
|
19 |
</tr> |
|
20 |
<?php endforeach;?> |
|
21 |
</tbody> |
|
22 |
</table> |
|
23 |
<button class="btn btn-primary" onClick="window.location.href='<?php echo base_url();?>admin/addsubcategory/<?php echo $cid ?>/<?php echo $categoryName ?>'"><i class="icon-plus-sign icon-white"></i> Add SubCategory</button> |
|
24 |
</div> |
|
25 |
</div> |
|
26 |
|
|
27 |
</div> |
|
28 |
</div> |
|
29 |
||
30 |
</div> |
|
31 |
</div> |
|
32 |
</body>
|
|
33 |
||
34 |
</html>
|
|
35 |