Trying to simplify my code to something like:
if($_SESSION['url'] != 'http://www.golden-wand.com/Pages/admin.php'||'http://www.golden-wand.com/Pages/admin-test.php')
This is what works that I would like simplified:
<!---------------------------------- ADMIN FUNCTIONS START ------------------------------->
<?php if($_SESSION['admin']=='1'){
if($_SESSION['url'] != 'http://www.golden-wand.com/Pages/admin.php'){
if($_SESSION['url'] != 'http://www.golden-wand.com/Pages/admin-test.php'){ ?>
<input type="button" value="Admin Page" class="button hvr-wobble-skew" onclick="location.href='http://www.golden-wand.com/Pages/admin.php'">
<?php }}} ?>
<!----------------------------------- ADMIN FUNCTIONS END -------------------------------->