You can not select more than 25 topics
Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.
336 lines
14 KiB
336 lines
14 KiB
{if isset($covergrp)}
|
|
{if $covergrp == "movies"}
|
|
<form class="form-inline" name="browseby" action="{$smarty.const.WWW_TOP}/search" method="get">
|
|
<input class="form-control" style="width: 150px;" id="movietitle" type="text" name="title" value="{$title}"
|
|
placeholder="Title">
|
|
<input class="form-control" style="width: 150px;" id="movieactors" type="text" name="actors"
|
|
value="{$actors}" placeholder="Actor">
|
|
<input class="form-control" style="width: 150px;" id="moviedirector" type="text" name="director"
|
|
value="{$director}" placeholder="Director">
|
|
<select class="form-control" style="width: 150px;" id="rating" name="rating">
|
|
<option class="grouping" value="">Rating...</option>
|
|
{foreach $ratings as $rate}
|
|
<option {if $rating==$rate}selected="selected"{/if} value="{$rate}">{$rate}</option>
|
|
{/foreach}
|
|
</select>
|
|
<select class="form-control" style="width: 150px;" id="genre" name="genre" placeholder="Genre">
|
|
<option class="grouping" value="">Genre...</option>
|
|
{foreach $genres as $gen}
|
|
<option {if $gen==$genre}selected="selected"{/if} value="{$gen}">{$gen}</option>
|
|
{/foreach}
|
|
</select>
|
|
<select class="form-control" style="width: 150px;" id="year" name="year">
|
|
<option class="grouping" value="">Year...</option>
|
|
{foreach $years as $yr}
|
|
<option {if $yr==$year}selected="selected"{/if} value="{$yr}">{$yr}</option>
|
|
{/foreach}
|
|
</select>
|
|
<select class="form-control" style="width: 150px;" id="category" name="t">
|
|
<option class="grouping" value="{getCategoryValue('MOVIE_ROOT')}">Category...</option>
|
|
{foreach $catlist as $ct}
|
|
<option {if $ct.id==$category}selected="selected"{/if} value="{$ct.id}">{$ct.title}</option>
|
|
{/foreach}
|
|
</select>
|
|
<input class="btn btn-success" type="submit" value="Go">
|
|
</form>
|
|
{/if}
|
|
|
|
{if $covergrp == "xxx"}
|
|
<form class="form-inline" name="browseby" action="{$smarty.const.WWW_TOP}/search" method="get">
|
|
<input class="form-control"
|
|
style="width: 150px;"
|
|
id="xxxtitle"
|
|
type="text"
|
|
name="title"
|
|
value="{$title}"
|
|
placeholder="Title">
|
|
<input class="form-control"
|
|
style="width: 150px;"
|
|
id="xxxactors"
|
|
type="text"
|
|
name="actors"
|
|
value="{$actors}"
|
|
placeholder="Actor">
|
|
<input class="form-control"
|
|
style="width: 150px;"
|
|
id="xxxdirector"
|
|
type="text"
|
|
name="director"
|
|
value="{$director}"
|
|
placeholder="Director">
|
|
<select class="form-control"
|
|
style="width: 150px;"
|
|
id="genre"
|
|
name="genre"
|
|
placeholder="Genre">
|
|
<option class="grouping" value="">Genre...</option>
|
|
{foreach $genres as $gen}
|
|
<option {if $gen==$genre}selected="selected"{/if} value="{$gen}">{$gen}</option>
|
|
{/foreach}
|
|
</select>
|
|
<select class="form-control" style="width: 150px;" id="category" name="t">
|
|
<option class="grouping" value="{getCategoryValue('MOVIE_ROOT')}">Category...</option>
|
|
{foreach $catlist as $ct}
|
|
<option {if $ct.id==$category}selected="selected"{/if}
|
|
value="{$ct.id}">{$ct.title}</option>
|
|
{/foreach}
|
|
</select>
|
|
<input class="btn btn-success" type="submit" value="Go">
|
|
</form>
|
|
{/if}
|
|
|
|
{if $covergrp == "books"}
|
|
<form class="form-inline" name="browseby" action="{$smarty.const.WWW_TOP}/search" method="get">
|
|
<input class="form-control" style="width: 150px;" id="author" type="text" name="author" value="{$author}"
|
|
placeholder="Author">
|
|
<input class="form-control" style="width: 150px;" id="title" type="text" name="title" value="{$title}"
|
|
placeholder="Title">
|
|
<input class="btn btn-success" type="submit" value="Go">
|
|
</form>
|
|
{/if}
|
|
|
|
{if $covergrp == "music"}
|
|
<form class="form-inline" name="browseby" action="{$smarty.const.WWW_TOP}/search" method="get">
|
|
<input class="form-control" style="width: 150px;" id="musicartist" type="text" name="artist"
|
|
value="{$artist}" placeholder="Artist">
|
|
<input class="form-control" style="width: 150px;" id="musictitle" type="text" name="title" value="{$title}"
|
|
placeholder="Title">
|
|
<select class="form-control" style="width: 150px;" id="genre" name="genre">
|
|
<option class="grouping" value="">Genre...</option>
|
|
{foreach $genres as $gen}
|
|
<option {if $gen.id == $genre}selected="selected"{/if}
|
|
value="{$gen.id}">{$gen.title|escape:"htmlall"}</option>
|
|
{/foreach}
|
|
</select>
|
|
<select class="form-control" style="width: 150px;" id="year" name="year">
|
|
<option class="grouping" value="">Year...</option>
|
|
{foreach $years as $yr}
|
|
<option {if $yr==$year}selected="selected"{/if} value="{$yr}">{$yr}</option>
|
|
{/foreach}
|
|
</select>
|
|
<select class="form-control" style="width: 150px;" id="category" name="t">
|
|
<option class="grouping" value="{$catClass::MUSIC_ROOT}">Category...</option>
|
|
{foreach $catlist as $ct}
|
|
<option {if $ct.id==$category}selected="selected"{/if} value="{$ct.id}">{$ct.title}</option>
|
|
{/foreach}
|
|
</select>
|
|
<input class="btn btn-success" type="submit" value="Go">
|
|
</form>
|
|
{/if}
|
|
|
|
{if $covergrp == "console"}
|
|
<form class="form-inline" name="browseby" action="{$smarty.const.WWW_TOP}/search" method="get">
|
|
<input class="form-control" style="width: 150px;" id="title" type="text" name="title" value="{$title}"
|
|
placeholder="Title">
|
|
<input class="form-control" style="width: 150px;" id="platform" type="text" name="platform"
|
|
value="{$platform}" placeholder="Platform">
|
|
<select class="form-control" style="width: 150px;" id="genre" name="genre">
|
|
<option class="grouping" value="">Genre...</option>
|
|
{foreach $genres as $gen}
|
|
<option {if $gen.id == $genre}selected="selected"{/if} value="{$gen.id}">{$gen.title}</option>
|
|
{/foreach}
|
|
</select>
|
|
<select class="form-control" style="width: 150px;" id="category" name="t">
|
|
<option class="grouping" value="{$catClass::GAME_ROOT}">Category...</option>
|
|
{foreach $catlist as $ct}
|
|
<option {if $ct.id==$category}selected="selected"{/if} value="{$ct.id}">{$ct.title}</option>
|
|
{/foreach}
|
|
</select>
|
|
<input class="btn btn-success" type="submit" value="Go">
|
|
</form>
|
|
{/if}
|
|
|
|
{if $covergrp == "games"}
|
|
<form class="form-inline" name="browseby" action="{$smarty.const.WWW_TOP}/search" method="get">
|
|
<input class="form-control" style="width: 150px;" id="title" type="text" name="title" value="{$title}"
|
|
placeholder="Title">
|
|
<select class="form-control" style="width: 150px;" id="genre" name="genre">
|
|
<option class="grouping" value="">Genre...</option>
|
|
{foreach $genres as $gen}
|
|
<option {if $gen.id == $genre}selected="selected"{/if} value="{$gen.id}">{$gen.title}</option>
|
|
{/foreach}
|
|
</select>
|
|
<select class="form-control" style="width: 150px;" id="year" name="year">
|
|
<option class="grouping" value="">Year...</option>
|
|
{foreach $years as $yr}
|
|
<option {if $yr==$year}selected="selected"{/if} value="{$yr}">{$yr}</option>
|
|
{/foreach}
|
|
</select>
|
|
{*<select class="form-control" style="width: 150px;" id="category" name="t">*}
|
|
{*<option class="grouping" value="$catClass::PC_ROOT">Category... </option>*}
|
|
{*{foreach $catlist as $ct}*}
|
|
{*<option {if $ct.id==$category}selected="selected"{/if} value="{$ct.id}">{$ct.title}</option>*}
|
|
{*{/foreach}*}
|
|
{*</select>*}
|
|
<input class="btn btn-success" type="submit" value="Go">
|
|
</form>
|
|
{/if}
|
|
{/if}
|
|
|
|
|
|
{if {$smarty.get.page} == "console"}
|
|
<form class="form-inline" name="browseby" action="console" style="margin:0;">
|
|
<input class="form-control" style="width: 150px;" id="title" type="text" name="title" value="{$title}"
|
|
placeholder="Title">
|
|
<input class="form-control" style="width: 150px;" id="platform" type="text" name="platform" value="{$platform}"
|
|
placeholder="Platform">
|
|
<select class="form-control" style="width: auto;" id="genre" name="genre">
|
|
<option class="grouping" value="">Genre...</option>
|
|
{foreach $genres as $gen}
|
|
<option {if $gen.id == $genre}selected="selected"{/if} value="{$gen.id}">{$gen.title}</option>
|
|
{/foreach}
|
|
</select>
|
|
<select class="form-control" style="width: auto;" id="category" name="t">
|
|
<option class="grouping" value="{$catClass::GAME_ROOT}">Category...</option>
|
|
{foreach $catlist as $ct}
|
|
<option {if $ct.id==$category}selected="selected"{/if} value="{$ct.id}">{$ct.title}</option>
|
|
{/foreach}
|
|
</select>
|
|
<input class="btn btn-success" type="submit" value="Go">
|
|
</form>
|
|
{/if}
|
|
|
|
{if {$smarty.get.page} == "games"}
|
|
<form class="form-inline" name="browseby" action="games" style="margin:0;">
|
|
<input class="form-control" style="width: 150px;" id="title" type="text" name="title" value="{$title}"
|
|
placeholder="Title">
|
|
<select class="form-control" style="width: auto;" id="genre" name="genre">
|
|
<option class="grouping" value="">Genre...</option>
|
|
{foreach $genres as $gen}
|
|
<option {if $gen.id == $genre}selected="selected"{/if} value="{$gen.id}">{$gen.title}</option>
|
|
{/foreach}
|
|
</select>
|
|
<select class="form-control" style="width: auto;" id="year" name="year">
|
|
<option class="grouping" value="">Year...</option>
|
|
{foreach $years as $yr}
|
|
<option {if $yr==$year}selected="selected"{/if} value="{$yr}">{$yr}</option>
|
|
{/foreach}
|
|
</select>
|
|
{*<select class="form-control" style="width: auto;" id="category" name="t">*}
|
|
{*<option class="grouping" value="$catClass::PC_ROOT">Category... </option>*}
|
|
{*{foreach $catlist as $ct}*}
|
|
{*<option {if $ct.id==$category}selected="selected"{/if} value="{$ct.id}">{$ct.title}</option>*}
|
|
{*{/foreach}*}
|
|
{*</select>*}
|
|
<input class="btn btn-success" type="submit" value="Go">
|
|
</form>
|
|
{/if}
|
|
|
|
{if {$smarty.get.page} == "books"}
|
|
<form class="form-inline" name="browseby" action="books" style="margin:0;">
|
|
<input class="form-control" style="width: 150px;" id="author" type="text" name="author" value="{$author}"
|
|
placeholder="Author">
|
|
<input class="form-control" style="width: 150px;" id="title" type="text" name="title" value="{$title}"
|
|
placeholder="Title">
|
|
<input class="btn btn-success" type="submit" value="Go">
|
|
</form>
|
|
{/if}
|
|
|
|
{if {$smarty.get.page} == "movies"}
|
|
<form class="form-inline" name="browseby" action="movies">
|
|
<input class="form-control" style="width: 150px;" id="movietitle" type="text" name="title" value="{$title}"
|
|
placeholder="Title">
|
|
<input class="form-control" style="width: 150px;" id="movieactors" type="text" name="actors" value="{$actors}"
|
|
placeholder="Actor">
|
|
<input class="form-control" style="width: 150px;" id="moviedirector" type="text" name="director"
|
|
value="{$director}" placeholder="Director">
|
|
<select class="form-control" style="width: auto;" id="rating" name="rating">
|
|
<option class="grouping" value="">Rating...</option>
|
|
{foreach $ratings as $rate}
|
|
<option {if $rating==$rate}selected="selected"{/if} value="{$rate}">{$rate}</option>
|
|
{/foreach}
|
|
</select>
|
|
<select class="form-control" style="width: auto;" id="genre" name="genre" placeholder="Genre">
|
|
<option class="grouping" value="">Genre...</option>
|
|
{foreach $genres as $gen}
|
|
<option {if $gen==$genre}selected="selected"{/if} value="{$gen}">{$gen}</option>
|
|
{/foreach}
|
|
</select>
|
|
<select class="form-control" style="width: auto;" id="year" name="year">
|
|
<option class="grouping" value="">Year...</option>
|
|
{foreach $years as $yr}
|
|
<option {if $yr==$year}selected="selected"{/if} value="{$yr}">{$yr}</option>
|
|
{/foreach}
|
|
</select>
|
|
<select class="form-control" style="width: auto;" id="category" name="t">
|
|
<option class="grouping" value="{getCategoryValue('MOVIE_ROOT')}">Category...</option>
|
|
{foreach $catlist as $ct}
|
|
<option {if $ct.id==$category}selected="selected"{/if} value="{$ct.id}">{$ct.title}</option>
|
|
{/foreach}
|
|
</select>
|
|
<input class="btn btn-success" type="submit" value="Go">
|
|
</form>
|
|
{/if}
|
|
|
|
{if {$smarty.get.page} == "xxx"}
|
|
<form class="form-inline" name="browseby" action="xxx">
|
|
<input class="form-control"
|
|
style="width: 150px;"
|
|
id="xxxtitle"
|
|
type="text"
|
|
name="title"
|
|
value="{$title}"
|
|
placeholder="Title">
|
|
<input class="form-control"
|
|
style="width: 150px;"
|
|
id="xxxactors"
|
|
type="text"
|
|
name="actors"
|
|
value="{$actors}"
|
|
placeholder="Actor">
|
|
<input class="form-control"
|
|
style="width: 150px;"
|
|
id="xxxdirector"
|
|
type="text"
|
|
name="director"
|
|
value="{$director}"
|
|
placeholder="Director">
|
|
<select class="form-control"
|
|
style="width: auto;"
|
|
id="genre"
|
|
name="genre"
|
|
placeholder="Genre">
|
|
<option class="grouping" value="">Genre...</option>
|
|
{foreach $genres as $gen}
|
|
<option {if $gen==$genre}selected="selected"{/if} value="{$gen}">{$gen}</option>
|
|
{/foreach}
|
|
</select>
|
|
<select class="form-control" style="width: auto;" id="category" name="t">
|
|
<option class="grouping" value="{getCategoryValue('MOVIE_ROOT')}">Category...</option>
|
|
{foreach $catlist as $ct}
|
|
<option {if $ct.id==$category}selected="selected"{/if}
|
|
value="{$ct.id}">{$ct.title}</option>
|
|
{/foreach}
|
|
</select>
|
|
<input class="btn btn-success" type="submit" value="Go">
|
|
</form>
|
|
{/if}
|
|
|
|
{if {$smarty.get.page} == "music"}
|
|
<form class="form-inline" name="browseby" action="music" style="margin:0;">
|
|
<input class="form-control" style="width: 150px;" id="musicartist" type="text" name="artist" value="{$artist}"
|
|
placeholder="Artist">
|
|
<input class="form-control" style="width: 150px;" id="musictitle" type="text" name="title" value="{$title}"
|
|
placeholder="Title">
|
|
<select class="form-control" style="width: auto;" id="genre" name="genre">
|
|
<option class="grouping" value="">Genre...</option>
|
|
{foreach $genres as $gen}
|
|
<option {if $gen.id == $genre}selected="selected"{/if}
|
|
value="{$gen.id}">{$gen.title|escape:"htmlall"}</option>
|
|
{/foreach}
|
|
</select>
|
|
<select class="form-control" style="width: auto;" id="year" name="year">
|
|
<option class="grouping" value="">Year...</option>
|
|
{foreach $years as $yr}
|
|
<option {if $yr==$year}selected="selected"{/if} value="{$yr}">{$yr}</option>
|
|
{/foreach}
|
|
</select>
|
|
<select class="form-control" style="width: auto;" id="category" name="t">
|
|
<option class="grouping" value="{$catClass::MUSIC_ROOT}">Category...</option>
|
|
{foreach $catlist as $ct}
|
|
<option {if $ct.id==$category}selected="selected"{/if} value="{$ct.id}">{$ct.title}</option>
|
|
{/foreach}
|
|
</select>
|
|
<input class="btn btn-success" type="submit" value="Go">
|
|
</form>
|
|
{/if}
|
|
|