<ul class="tabnav el">
    <li<?php if ($_SERVER['SCRIPT_NAME'] === '/shop/admin/ingredients/manage.ingredients.php') {?> class="selected"<?php } ?>><a href="/shop/admin/ingredients/manage.ingredients.php">Manage</a></li>
    <li<?php if ($_SERVER['REQUEST_URI'] === '/shop/admin/ingredients/manage.ingredient.php') {?> class="selected"<?php } ?>><a href="/shop/admin/ingredients/manage.ingredient.php">Add</a></li>
    <li<?php if ($_SERVER['SCRIPT_NAME'] === '/shop/admin/ingredients/incompatible.categories.php' || $_SERVER['SCRIPT_NAME'] === '/shop/admin/ingredients/incompatible.categories.edit.php') {?> class="selected"<?php } ?>><a href="/shop/admin/ingredients/incompatible.categories.php">Incompatible Categories</a></li>
</ul>
