<div class="sidebar1" id="sidebar1">
    		<ul class="nav">
                 <?php //If user is not signed in show appropriate menus
					if($user->signed) {?>
                    	<!--<li><a href="?page=home">Home</a></li>
                        <li><a href="?page=about">About MicroCoolTool</a>-->
                 		<li class="parent-nav">
                 			<ul class="side-bar-nav">
                            	<li><a href="?page=instr" class="sim-btn">Instructions</a></li>
                    			<li><a href="?page=geom" class="sim-btn">Geometry</a></li>
                 				<li><a href="?page=bdry" class="sim-btn iefix">Boundary Conditions</a></li>
                 				<li><a href="?page=mat" class="sim-btn">Materials</a></li>
                 				<li><a href="?page=simulate" class="sim-btn">Simulate</a></li>
                 				<li><a href="?page=results" class="sim-btn">Results</a></li>
                    		</ul>
                 		</li>
                 		<li><a href="?page=account">My Account </a></li>
                        <?php if($user->data['group_id'] === '2') {?>
                        	<li><a href="?page=home_admin">CoolTool Administration </a></li>
                            	<ul>
                                	<li><a href="?page=users_admin">Users</a></li>
                                	<!--<li><a href="?page=user_activity_admin">User Activity</a></li>-->
                                </ul>
                        <?php }?>
                 		<li><a href="libs/uam/ps/logout.php" class="iefix">Logout(<?php echo $user->username;?>)</a></li>
                 <?php } else {?>
                 	<!--<li><a href="?page=home">Home</a></li>
                    <li><a href="?page=about">About MicroCoolTool</a>-->
                 	<li><a href="?page=login">Login</a></li>
                 	<li><a href="?page=register">Register</a></li>
                 <?php } ?>
    		</ul>
</div><!-- end .sidebar1 -->