Last active
August 29, 2015 13:57
-
-
Save ihsanberahim/11f8d1e1b4b5eba54e5e to your computer and use it in GitHub Desktop.
simple code to create php menu tree. Inspired by Drupal.
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
<?php | |
require_once('menu.php'); | |
?> | |
<?php load_menu() ?> | |
<table cellpadding="0" cellspacing="0" border="0" class="stdtable"> | |
<colgroup> | |
<col class="con1"> | |
<col class="con1"> | |
</colgroup> | |
<thead> | |
<tr> | |
<th class="head1">Menu Items</th> | |
<th class="head1">State</th> | |
</tr> | |
</thead> | |
<tbody> | |
<?php load_menurow() ?> | |
</tbody> | |
<tfoot> | |
<tr> | |
<th colspan="2"><button class="stdbtn btn_red" style="float: right;">SAVE</button></th> | |
</tr> | |
</tfoot> | |
</table> |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment