<ul class="tabnav el">
    <li<?php if ($_SERVER['SCRIPT_NAME']==='/shop/admin/warnings/manage.warnings.php') {?> class="selected"<?php } ?>><a href="/shop/admin/warnings/manage.warnings.php">Manage</a></li>
    <li<?php if ($_SERVER['REQUEST_URI']==='/shop/admin/warnings/manage.warning.php') {?> class="selected"<?php } ?>><a href="/shop/admin/warnings/manage.warning.php">Add</a></li>
</ul>
