Extensions: Search fixed.

This commit is contained in:
Nate Jones 2015-03-22 08:42:44 +00:00
parent e575f492d5
commit ff5746bba5
1 changed files with 4 additions and 1 deletions

View File

@ -47,6 +47,9 @@ require_once "resources/paging.php";
$language = new text; $language = new text;
$text = $language->get(); $text = $language->get();
//get search term, if any
$search = $_REQUEST['search'];
//show the content //show the content
echo "<table width=\"100%\" border=\"0\" cellpadding=\"0\" cellspacing=\"0\">\n"; echo "<table width=\"100%\" border=\"0\" cellpadding=\"0\" cellspacing=\"0\">\n";
echo " <tr>\n"; echo " <tr>\n";
@ -55,7 +58,7 @@ require_once "resources/paging.php";
echo " </td>\n"; echo " </td>\n";
echo " <form method='get' action=''>\n"; echo " <form method='get' action=''>\n";
echo " <td width='30%' align='right'>\n"; echo " <td width='30%' align='right'>\n";
echo " <input type='text' class='txt' style='width: 150px' name='search' value='$search'>"; echo " <input type='text' class='txt' style='width: 150px' name='search' value='".$search."'>";
echo " <input type='submit' class='btn' name='submit' value='".$text['button-search']."'>"; echo " <input type='submit' class='btn' name='submit' value='".$text['button-search']."'>";
echo " </td>\n"; echo " </td>\n";
echo " </form>\n"; echo " </form>\n";