sabret00the
06-27-2005, 08:27 AM
for some reason i can't get the following drop downs to work, even though all other ones on the page do, can someone tell me where i'm going wrong please.
<table class="tborder" cellpadding="$stylevar[cellpadding]" cellspacing="$stylevar[cellspacing]" border="0" width="100%" align="center" style="border-bottom-width:-1px">
<tr>
<td class="tcat" width="100%">Pieces In Category<span class="normal">: $cats[title]</span></td>
<td class="tcat" id="displyoptions" nowrap="nowrap"><a href="#goto_displyoptions">Display Options</a> <script type="text/javascript"> vbmenu_register("displyoptions"); </script></td>
<if condition="$show['catsearch']">
<td class="tcat" id="catsearch" nowrap="nowrap"><a href="#goto_catsearch">Search Category</a> <script type="text/javascript"> vbmenu_register("catsearch"); </script></td>
</if>
</tr>
</table>
<table class="tborder" cellpadding="$stylevar[cellpadding]" cellspacing="$stylevar[cellspacing]" border="0" width="100%" align="center">
<tr>
<td class="thead" width="100%">
<span style="float:$stylevar[right]">$vbphrase[rating]</a> $sortarrow[voteavg]</span>
Piece Info
</td>
<td class="thead" width="150" align="center" nowrap="nowrap">Review Info</td>
</tr>
$browsebits
</table>
<br />
<if condition="$vboptions['usepopups']">
<br />
<!-- popup menu contents -->
<!-- display options -->
<div class="vbmenu_popup" id="displayoptions_menu" style="display:none">
<table cellpadding="4" cellspacing="1">
<tr>
<td class="thead">
Display Options<a name="goto_displyoptions"></a>
</td>
</tr>
<tr>
<td class="vbmenu_option">
<div class="smallfont">
From The:<br />
<div id="clause">
<select name="daysprune">
<option value="1" $daysprunesel[1]>$vbphrase[last_day]</option>
<option value="2" $daysprunesel[2]>$vbphrase[last_2_days]</option>
<option value="7" $daysprunesel[7]>$vbphrase[last_week]</option>
<option value="10" $daysprunesel[10]>$vbphrase[last_10_days]</option>
<option value="14" $daysprunesel[14]>$vbphrase[last_2_weeks]</option>
<option value="30" $daysprunesel[30]>$vbphrase[last_month]</option>
<option value="45" $daysprunesel[45]>$vbphrase[last_45_days]</option>
<option value="60" $daysprunesel[60]>$vbphrase[last_2_months]</option>
<option value="75" $daysprunesel[75]>$vbphrase[last_75_days]</option>
<option value="100" $daysprunesel[100]>$vbphrase[last_100_days]</option>
<option value="365" $daysprunesel[365]>$vbphrase[last_year]</option>
<option value="-1" $daysprunesel[all]>$vbphrase[beginning]</option>
</select>
</div>
Order By: <br />
<div id="order">
<select name="sort">
<option value="title" $sort[title]>Title</option>
<option value="postdate" $sort[lastpost]>Date Posted</option>
<option value="lastreview" $sort[lastpost]>Last Review Date</option>
<option value="reviewcount" $sort[replycount]>Number Of Reviews</option>
<option value="views" $sort[views]>Views</option>
<option value="postusername" $sort[postusername]>Author</option>
<option value="voteavg" $sort[voteavg]>Rating</option>
</select>
</div>
Sort By: <br />
<div id="direction">
<select name="order">
<option value="asc" $order[asc]>$vbphrase[ascending]</option>
<option value="desc" $order[desc]>$vbphrase[descending]</option>
</select>
</div>
<div id="submit">
<input type="submit" class="button" value="Show Pieces" />
</div>
</div>
</td>
</tr>
<table>
</div>
<!-- / display options -->
<!-- / popup menu contents -->
<else />
<!-- controls for non-popup browsers -->
<b>this ++++ aint working</b>
<!-- / controls for non-popup browsers -->
</if>
<if condition="$vboptions['popups'] AND $show['catsearch']">
<!-- search this cat -->
<div class="vbmenu_popup" id="catsearch_menu" style="display:none">
<form action="find.php" method="post">
<table cellpadding="4" cellspacing="1" border="0">
<tr>
<td class="thead">Search Category<a name="goto_catsearch"></a></td>
</tr>
<tr>
<td class="vbmenu_option" title="nohilite" align="center">
<input type="hidden" name="s" value="$session[sessionhash]" />
<input type="hidden" name="do" value="process" />
<input type="hidden" name="catchoice" value="$cat[catid]" />
<input type="hidden" name="formuserid" value="$bbuserinfo[userid]" />
Title:<br/><input type="text" class="bginput" name="query" size="20" style="width:175px" /><br/>
Author:<br/><input type="text" class="bginput" name="query" size="20" style="width:175px" /><br/>
Text:<br/><input type="text" class="bginput" name="query" size="20" style="width:175px" /><br/>
$gobutton<br />
</td>
</tr>
</table>
</form>
</div>
<!-- / search this cat -->
</if>
<table class="tborder" cellpadding="$stylevar[cellpadding]" cellspacing="$stylevar[cellspacing]" border="0" width="100%" align="center" style="border-bottom-width:-1px">
<tr>
<td class="tcat" width="100%">Pieces In Category<span class="normal">: $cats[title]</span></td>
<td class="tcat" id="displyoptions" nowrap="nowrap"><a href="#goto_displyoptions">Display Options</a> <script type="text/javascript"> vbmenu_register("displyoptions"); </script></td>
<if condition="$show['catsearch']">
<td class="tcat" id="catsearch" nowrap="nowrap"><a href="#goto_catsearch">Search Category</a> <script type="text/javascript"> vbmenu_register("catsearch"); </script></td>
</if>
</tr>
</table>
<table class="tborder" cellpadding="$stylevar[cellpadding]" cellspacing="$stylevar[cellspacing]" border="0" width="100%" align="center">
<tr>
<td class="thead" width="100%">
<span style="float:$stylevar[right]">$vbphrase[rating]</a> $sortarrow[voteavg]</span>
Piece Info
</td>
<td class="thead" width="150" align="center" nowrap="nowrap">Review Info</td>
</tr>
$browsebits
</table>
<br />
<if condition="$vboptions['usepopups']">
<br />
<!-- popup menu contents -->
<!-- display options -->
<div class="vbmenu_popup" id="displayoptions_menu" style="display:none">
<table cellpadding="4" cellspacing="1">
<tr>
<td class="thead">
Display Options<a name="goto_displyoptions"></a>
</td>
</tr>
<tr>
<td class="vbmenu_option">
<div class="smallfont">
From The:<br />
<div id="clause">
<select name="daysprune">
<option value="1" $daysprunesel[1]>$vbphrase[last_day]</option>
<option value="2" $daysprunesel[2]>$vbphrase[last_2_days]</option>
<option value="7" $daysprunesel[7]>$vbphrase[last_week]</option>
<option value="10" $daysprunesel[10]>$vbphrase[last_10_days]</option>
<option value="14" $daysprunesel[14]>$vbphrase[last_2_weeks]</option>
<option value="30" $daysprunesel[30]>$vbphrase[last_month]</option>
<option value="45" $daysprunesel[45]>$vbphrase[last_45_days]</option>
<option value="60" $daysprunesel[60]>$vbphrase[last_2_months]</option>
<option value="75" $daysprunesel[75]>$vbphrase[last_75_days]</option>
<option value="100" $daysprunesel[100]>$vbphrase[last_100_days]</option>
<option value="365" $daysprunesel[365]>$vbphrase[last_year]</option>
<option value="-1" $daysprunesel[all]>$vbphrase[beginning]</option>
</select>
</div>
Order By: <br />
<div id="order">
<select name="sort">
<option value="title" $sort[title]>Title</option>
<option value="postdate" $sort[lastpost]>Date Posted</option>
<option value="lastreview" $sort[lastpost]>Last Review Date</option>
<option value="reviewcount" $sort[replycount]>Number Of Reviews</option>
<option value="views" $sort[views]>Views</option>
<option value="postusername" $sort[postusername]>Author</option>
<option value="voteavg" $sort[voteavg]>Rating</option>
</select>
</div>
Sort By: <br />
<div id="direction">
<select name="order">
<option value="asc" $order[asc]>$vbphrase[ascending]</option>
<option value="desc" $order[desc]>$vbphrase[descending]</option>
</select>
</div>
<div id="submit">
<input type="submit" class="button" value="Show Pieces" />
</div>
</div>
</td>
</tr>
<table>
</div>
<!-- / display options -->
<!-- / popup menu contents -->
<else />
<!-- controls for non-popup browsers -->
<b>this ++++ aint working</b>
<!-- / controls for non-popup browsers -->
</if>
<if condition="$vboptions['popups'] AND $show['catsearch']">
<!-- search this cat -->
<div class="vbmenu_popup" id="catsearch_menu" style="display:none">
<form action="find.php" method="post">
<table cellpadding="4" cellspacing="1" border="0">
<tr>
<td class="thead">Search Category<a name="goto_catsearch"></a></td>
</tr>
<tr>
<td class="vbmenu_option" title="nohilite" align="center">
<input type="hidden" name="s" value="$session[sessionhash]" />
<input type="hidden" name="do" value="process" />
<input type="hidden" name="catchoice" value="$cat[catid]" />
<input type="hidden" name="formuserid" value="$bbuserinfo[userid]" />
Title:<br/><input type="text" class="bginput" name="query" size="20" style="width:175px" /><br/>
Author:<br/><input type="text" class="bginput" name="query" size="20" style="width:175px" /><br/>
Text:<br/><input type="text" class="bginput" name="query" size="20" style="width:175px" /><br/>
$gobutton<br />
</td>
</tr>
</table>
</form>
</div>
<!-- / search this cat -->
</if>