Source for file list.php
Documentation is available at list.php
* @author linea21 <info@linea21.com>
* @license http://opensource.org/licenses/gpl-3.0.html
<a href="index.php"> <?php echo $GLOBALS['lang']['way']['home'];?></a>
<a href=" <?php echo $rub_link;?>"> <?php echo $GLOBALS['lang']['menu']['search'];?></a>
include_once("quickicons.php");
<div class="contentcontainer">
<?php include_once($dir . "/menurub.php"); ?>
if (!isset ($_POST['valid'])) {
echo '<h2>' . $GLOBALS['lang']['menu']['search'] . '</h2>' . END_LINE;
<form action=" <?php echo $_SERVER['PHP_SELF'];?>" method="post">
<label for="search"> <?php echo $GLOBALS['lang']['search']['keywords'];?></label>
<input type="text" maxlength="150" class="textfield" name="search" id="search" style="margin-right:30px" />
<div style="margin-right:30px">
<input type="radio" name="searchtype" id="searchtype_1" value="one" checked="checked" /><span class="radio"> <?php echo $GLOBALS['lang']['search']['one_of_them'];?></span>
<input type="radio" name="searchtype" id="searchtype_2" value="all" /><span class="radio"> <?php echo $GLOBALS['lang']['search']['all_of_them'];?></span>
<input type="radio" name="searchtype" id="searchtype_3" value="exp" /><span class="radio"> <?php echo $GLOBALS['lang']['search']['expression'];?></span>
<input type="hidden" name="rub" id="rubsearch" value=" <?php echo $rub;?>" />
<input type="submit" value=" <?php echo $GLOBALS['lang']['search']['text_button'];?>" size="15" name="valid" class="button" id="validsearch" />
include_once($dir . "/display.php");
if (!isset ($_REQUEST['search']) || strlen($_REQUEST['search']) <= 3)
echo $GLOBALS['lang']['search']['min_length'];
if (isset ($_REQUEST['searchincome'])) $str = trim($_REQUEST['searchincome']);
else $str = $_REQUEST['search'];
if (!isset ($_REQUEST['searchtype'])) $searchtype = 'one';
else $searchtype = $_REQUEST['searchtype'];
if($searchtype== 'one') $display_method= $GLOBALS['lang']['search']['one_of_them'];
if($searchtype== 'all') $display_method= $GLOBALS['lang']['search']['all_of_them'];
if($searchtype== 'exp') $display_method= $GLOBALS['lang']['search']['expression'];
echo '<h2>' . $GLOBALS['lang']['search']['result'] . '</h2>' . END_LINE;
echo $GLOBALS['lang']['search']['keywords'];
echo $GLOBALS['lang']['search']['method'];
if ($rub == 'home') $rub = 'all';
<?php include_once($dir. "/help.php"); ?>
|