25 lines
1.3 KiB
PHP
25 lines
1.3 KiB
PHP
<div id="searchbreadcrumbstheme">
|
|
<?php if (! preg_match (":^/((html/)?donors.php|(html/)?s(\.shtml)?(\?.*)?|(html/)?search(\.shtml)?(\?.*))$:", $_SERVER['REQUEST_URI']) && ! preg_match (":^4..$:", $_SERVER['REDIRECT_STATUS'])) { ?>
|
|
<div class="box boxmargins" id="search">
|
|
<form action="/search">
|
|
<input type="hidden" name="p" value="<?php print "$_SERVER[REQUEST_URI]" ?>">
|
|
<input class="searchinput" title="Search" type="text" name="q" placeholder="Search" autocomplete="on" required>
|
|
<input type="submit" hidden>
|
|
</form>
|
|
</div>
|
|
<?php } else { ?>
|
|
<div></div>
|
|
<?php } ?>
|
|
<?php if (! preg_match (":^/((html/)?donors.php|(html/)?s(\.shtml)?(\?.*)?|(html/)?search(\.shtml)?(\?.*))?$:", $_SERVER['REQUEST_URI']) && ! preg_match (":^4..$:", $_SERVER['REDIRECT_STATUS'])) { ?>
|
|
<div class="box boxmargins" id="breadcrumbs">
|
|
<div id="breadcrumbstext">
|
|
<?php print (breadcrumbs(' » ', 'Index')); ?>
|
|
</div>
|
|
</div>
|
|
<?php } else { ?>
|
|
<div></div>
|
|
<?php } ?>
|
|
<div class="box boxmargins" id="themetoggle">
|
|
<span id="themetoggletext">Toggle theme:</span><a href="/html/toggletheme.php" title="Toggle Theme"><img id="themetoggleimg" src="/html/toggletheme.png" title="Toggle Theme" alt="Toggle Theme Button"></a>
|
|
</div>
|
|
</div>
|