2016-11-11 20:36:27 +00:00
|
|
|
<?php
|
|
|
|
|
|
|
|
require_once("../inc/util.inc");
|
|
|
|
|
|
|
|
function search_form($url) {
|
|
|
|
page_head("Site search");
|
|
|
|
echo '
|
2016-12-05 21:36:45 +00:00
|
|
|
<form class="form-inline" method="get" action="https://google.com/search">
|
2016-11-11 20:36:27 +00:00
|
|
|
<input type=hidden name=domains value="'.$url.'">
|
|
|
|
<input type=hidden name=sitesearch value="'.$url.'">
|
2016-12-05 21:36:45 +00:00
|
|
|
<div class="form-group">
|
|
|
|
<input class="btn btn-success form-control" type="submit" value='.tra("Search").'>
|
|
|
|
<input type="text" class="form-control" name="q" size="20" placeholder="keywords">
|
|
|
|
</div>
|
2016-11-11 20:36:27 +00:00
|
|
|
</form>
|
|
|
|
';
|
|
|
|
page_tail();
|
|
|
|
}
|
|
|
|
|
|
|
|
search_form($master_url);
|
|
|
|
|
|
|
|
?>
|