Advertisement
Not a member of Pastebin yet?
Sign Up,
it unlocks many cool features!
- <?php
- $nav_normal = array("1. Home","2. Read Me","3. License Agreement","4. General Information","5. Database Installer","6. Create an Account","7. Create Config","8. Successfully installed"
- );
- $last_normal = array_pop(array_keys($nav_normal));
- foreach($nav_normal as $name){
- if($Nav_ID == $name){
- $Nav_Type = "Selected";
- }else{
- $Nav_Type = "Unselected";
- }
- ?><li class="<?php echo($Nav_Type); ?>"><?php echo($name); ?></li><?php
- if($name != $last_normal){
- echo("\n ");
- }else{
- echo("\n");
- }
- }
- ?></ul>
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement