Parašė Apocal· 2009 Spa. 29 21:10:21
#1
Taigiu turiu toki scripta ir kartu beda, kaip spaudi Pereiti pereina, o kaip spaudi ieskoti, tada irgi pereina, manau kazkaip reikia atskirti tuos scriptus, bet nezinau kaip.
$t1=$_GET['t1'];
switch ($t1)
{
case "7":
$Mon="selected";
break;
case "8":
$Tue="selected";
break;
case "9":
$Wed="selected";
break;
case "6":
$Thu="selected";
break;
case "1":
$Fri="selected";
break;
case "Sat":
$Sat="selected";
break;
case "Sun":
$Sun="selected";
break;
}
echo"
<b>Pereiti i:</b>
<form method=post action=pb-dropck.php>
<select name=t1>
<option value==7 $cat_id=1>Programos</option>
<option value==8 $cat_id=8>Skaitalai</option>
<option value==9 $cat_id=9>Video</option>
<option value==6 $cat_id=6>Muzika</option>
<option value==1 $cat_id=1>Kita</option>
</select>
<input type=submit value=Pereiti>
</td>";
echo "<td class='tbl1' colspan='2' align='center'>
<form name='searchform' method='post' action='search.php' style='display: inline;'>
<b>Ie?koti Siuntiniu:</b> <input name='stext' class='textbox' style='width: 200px;' type='text'>
<input name='stype' value='d' type='hidden'><input name='search' value='Ie?koti!' class='button' type='submit'>
</form>
Redagavo Apocal· 2009 Spa. 29 21:10:56