Beispiel #1
0
                <?php 
readfile('images/ncadsa_1Line.svg');
?>
                </a>
               </div><!-- /.col2-->
               <div class="col col-xs-10 col-sm-10 col-md-10">  
                   <p>
                       Promoting the availability, accessibility, cost effectiveness and quality of adult day services in North Carolina
                   </p>
                </div><!-- /.col8-->
               </div><!-- /.row -->
           </div><!-- /.header -->
           
            <div id="main-menu">
                <div class="hidden-xs	hidden-sm">
                <? echo quick_menu(); ?>
                </div>

               <div id="mobile-menu-col">

                    <div id="mobile-toggle" class="mobileMenuTrigger hidden-md hidden-lg">
                        <?php 
readfile('images/menu.svg');
?>
                    </div>
                </div><!-- end of #mobile-menu-col --> 

            </div><!-- /.main-menu -->
            

        </div><!-- /.row -->
<? 

// Part one - the test in the if looks to see if they're signed in.  
// The "else" section is what will show if they are not signed in
if(isset($_COOKIE["rem_sess"]) || isset($_GET['logged_in'])){
	$join_link = "join link (html)";
} else {
	$join_link = '';
}

//Then, the variable that we create can be used elsewhere.  
//This example is to append a link to the menu- '' for the "before" option and $join_link for the "after" option
quick_menu('',$join_link);
?>