23 lines
643 B
PHP
23 lines
643 B
PHP
|
<?php
|
||
|
|
||
|
$toolbar = <<<TOOLBAR
|
||
|
<form class='db_utilities' method='POST'>
|
||
|
<label for='sel_order'>order by:</label>
|
||
|
<select name='sel_order' id='sel_order'>
|
||
|
<option value='new'>newest</option>
|
||
|
<option value='old'>oldest</option>
|
||
|
<option value='az'>A - Z</option>
|
||
|
<option value='za'>Z -A</option>
|
||
|
</select>
|
||
|
<label for='inp_search'>search:</label>
|
||
|
<input type='search' name='inp_search' id='inp_search'></input>
|
||
|
<label for='submit'> </label>
|
||
|
<input type='submit' name='submit' value=' filter '></input>
|
||
|
</form>
|
||
|
TOOLBAR;
|
||
|
|
||
|
function showToolbar() {
|
||
|
global $toolbar;
|
||
|
echo $toolbar;
|
||
|
}
|