File: /home/httpd/html/seekya.com/DEAD/beta/search.php
<?session_start();
include("header.php");
$sql="Select * from category_master where category_status=1 order by category_name";
$cmdcat = mysql_query($sql);?>
<h1><strong>Search For Videos</strong></h1>
<form name=video method=get action="listing.php">
<p>Search For :
<input name="q" type="text" id="q" size="35"></p>
<br />
<p><input name="matchis" type="radio" value="exact">
Exact phrase
<input name="matchis" type="radio" value="any" checked>
Any words
<input name="matchis" type="radio" value="all" checked>
ALL Words
</p>
<br />
<p>
Category :
<select name=video_category id="videocategory">
<option value="">Any Category</option>
<?while ($rscat = mysql_fetch_array($cmdcat))
{?>
<option value="<?=$rscat["category_id"]?>">
<?=$rscat["category_name"]?>
</option>
<?}?>
</select>
</p>
<br />
<p>
Video Size :
<select name=video_size1 id="videosize">
<option value=1>Less Than</option>
<option value=2>Greater Than</option>
</select>
<input name="video_size" type="text" id="videosize" size="3">
Kbs
</p>
<br>
<form name=video method=post action="">
<p>Minimum Avg. rating :
<select name=votes id="votes">
<option value=>--------</option>
<?for($i=1; $i<=10; $i++){?>
<option value=<?=$i?>>
<?=$i?>
</option>
<?}?>
</select>
</p>
<br>
<p> <input type=submit name=advance class=button value="Search >>"> </p>
<br>
<br>
</form>
<!--EMD -->
<?include("footer.php");
?>
<script>
function openWin(argURL, argSize) {
window.open(argURL, "x_win" + (new Date()).getTime(), "resizable=yes,scrollbars=yes," + argSize);
}
</script>