<? // ******************************************************************* // themes/original/header.php // *******************************************************************
$radio_array = array( "or" => $common_1, "and" => $common_2, "phrase" => $common_3 );
$html = "" . $table2 . "\t\t\r\n\t\t<tr bgcolor=\"#cccc99\"><form target=\"_top\" method=\"post\" action=\"index.php?" . session_name() . "="; $html .= session_id() . "\">\r\n\t\t\t<td background=\"./themes/$theme/titlebg.gif\""; $html .= "class=\"title\" nowrap=\"nowrap\" valign=\"top\"><a href=\"/"; $html .= "\"><img src=\"themes/"; $html .= $theme . "/title.gif\" align=\"left\" width=\"200\" height=\"49\" "; $html .= "border=\"0\" "; $html .= "alt=\"" . $gl["SiteTitle"] . "\" title=\"" . $gl["SiteTitle"]; $html .= "\" /></a></td><td background=\"./themes/$theme/titlebg.gif\" nowrap=\"nowrap\" valign=center><b><font size=3 color=\"#000000\"> L i n k s D i r e c t o r y</font></b><br><br></td><td background=\"./themes/$theme/titlebg.gif\" valign=\"top\" align=\"center\" nowrap=\"nowrap\">"; $html .= "<br><input "; $html .= "class=\"textBox\" type=\"text\" name=\"term\" value=\""; $html .= stripslashes($term) . "\" size=\"20\" /><br><font "; $html .= "class=\"font\"> ";
if( (isset($PID) && strlen($PID)>0) || (isset($search_cat) && $search_cat != 0) ){ $html .= "<img src=\"images/pixel.gif\" width=\"3\" height=\"1\" "; $html .= "alt=\"\" /><select name=\"search_cat\" "; $html .= "class=\"textBox\"><option value=\""; if(isset($PID)){ $html .= $PID; } else { $html .= $search_cat; } $html .= "\" selected=\"selected\"> -- This Category -- </option><option "; $html .= "value=\"0\"> -- All Categories -- </option></select><br>"; } if(!isset($logic)){ $logic = "or"; }
while(list($key, $value) = each($radio_array)){ $html .= "<input type=\"radio\" name=\"logic\" value=\"" . $key . "\""; if($logic == $value){ $html .= " checked=\"checked\""; } $html .= " /> " . $value . " "; }
if(isset($ns)){ echo "<input type=\"hidden\" name=\"ns\" value=\"1\" />"; } $html .= "</font><br><center><INPUT type=image height=21 alt=Search width=86 src=\"./images/clrsearch.gif\" border=0 name=submit align=\"top\" "; $html .= "alt=\"Search\" title=\"Search\" /></td></form>\r\n\t\t</tr>\r\n\t\t"; $html .= "\r\n\t\t</table>\r\n\t\t\r\n";
echo table("100%", "center", "", $html); ?>
|
|