blob: fe377864d0f9e930d83d176cb2e1cd5580cb9ec4 (
plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
|
<nav class="navbar navbar-expand-sm bg-dark navbar-dark" id="navbar-search">
<div class="container">
<a class="navbar-brand" href="/"><img src="/logo.svg" width="36px" style="vertical-align: middle;"> <span style="vertical-align: middle;">UnchainedTech</span></a>
<form class="form-inline" action="/search" id="search-form">
<input class="form-control mr-sm-2" type="text" name="q" value="<?php
if (isset($_GET['q']) && strpos($_GET['q'], "/") === false && strpos($_GET['q'], "&") === false && strpos($_GET['q'], ">") === false && strpos($_GET['q'], ">") === false) {
echo($_GET['q']);
}
?>" placeholder="Search articles">
<button class="btn btn-success" type="submit" id="search-submit">Search</button>
</form>
</div>
</nav>
|