summaryrefslogtreecommitdiffstats
path: root/template/admin/html/post/search.php
blob: ab021b93065f88c79c41cc8303cc8b4cd53106fc (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
<h1>
	<i class="fa fa-search"></i><?=$Language->text('title_post_search')?>
	<a class="brackets" href="<?=Application::getAdminURL("post/insert.php")?>"><?=$Language->text('insert')?></a>
</h1>
<p><?=$Language->text('search_post_desc')?></p>

<form id="search-form" method="GET">
	<div class="flex flex-padding background">
		<input id="search-text" type="search" name="q" placeholder="<?=$Language->text('placeholder_search')?>" value="<?=escapeHTML($QUERY)?>" />
	</div>
	<div class="flex flex-padding background">
		<input id="update-button" type="submit" value="<?=$Language->text('search')?>" />
	</div>
</form>

<div class="item-container post">
	<?php foreach($POSTS as $post): ?>
		<?php echo $post; ?>
	<?php endforeach; ?>
</div>