コード例 #1
0
ファイル: requests.php プロジェクト: Kufirc/Gazelle
			<tr id="tagfilter">
				<td class="label">Tags (comma-separated):</td>
				<td>
					<input type="search" name="tags" id="tags" size="60" value="<?php 
    echo !empty($TagNames) ? display_str($TagNames) : '';
    ?>
"<?php 
    Users::has_autocomplete_enabled('other');
    ?>
 />&nbsp;
					<input type="radio" name="tags_type" id="tags_type0" value="0"<?php 
    Format::selected('tags_type', 0, 'checked');
    ?>
 /><label for="tags_type0"> Any</label>&nbsp;&nbsp;
					<input type="radio" name="tags_type" id="tags_type1" value="1"<?php 
    Format::selected('tags_type', 1, 'checked');
    ?>
 /><label for="tags_type1"> All</label>
				</td>
			</tr>
			<tr id="include_filled">
				<td class="label"><label for="include_filled_box">Include filled:</label></td>
				<td>
					<input type="checkbox" id="include_filled_box" name="show_filled"<?php 
    if (!$Submitted || !empty($_GET['show_filled']) || !$Submitted && !empty($_GET['type']) && $_GET['type'] === 'filled') {
        ?>
 checked="checked"<?php 
    }
    ?>
 />
				</td>
コード例 #2
0
ファイル: advancedsearch.php プロジェクト: Kufirc/Gazelle
echo display_str($_GET['avatar']);
?>
" />
				</td>
				<td class="label nobr">Stylesheet:</td>
				<td>
					<select name="stylesheet" id="stylesheet">
						<option value="">Any</option>
<?php 
foreach ($Stylesheets as $Style) {
    ?>
						<option value="<?php 
    echo $Style['ID'];
    ?>
"<?php 
    Format::selected('stylesheet', $Style['ID']);
    ?>
><?php 
    echo $Style['ProperName'];
    ?>
</option>
<?php 
}
?>
					</select>
				</td>
				<td class="label tooltip nobr" title="Two-letter codes as defined in ISO 3166-1 alpha-2">Country code:</td>
				<td width="30%">
					<select name="cc_op">
						<option value="equal"<?php 
if ($_GET['cc_op'] === 'equal') {
コード例 #3
0
ファイル: edit.php プロジェクト: Kufirc/Gazelle
				</td>
			</tr>
			<tr id="tor_showfilt_tr">
				<td class="label tooltip" title="Displaying filter controls will show torrent filtering options in the torrent search menu by default. Displaying filters for official tags will list clickable filters for official tags in the torrent search menu by default."><strong>Torrent search filters</strong></td>
				<td>
					<ul class="options_list nobullet">
						<li>
							<input type="checkbox" name="showtfilter" id="showtfilter"<?php 
echo !isset($SiteOptions['ShowTorFilter']) || $SiteOptions['ShowTorFilter'] ? ' checked="checked"' : '';
?>
 />
							<label for="showtfilter">Display filter controls</label>
						</li>
						<li>
							<input type="checkbox" name="showtags" id="showtags"<?php 
Format::selected('ShowTags', 1, 'checked', $SiteOptions);
?>
 />
							<label for="showtags">Display official tag filters</label>
						</li>
					</ul>
				</td>
			</tr>
			<tr id="tor_autocomp_tr">
				<td class="label tooltip" title="Autocomplete will try to predict the word or phrase that you're typing. Selecting &quot;Everywhere&quot; will enable autocomplete on artist and tag fields across the site. Selecting &quot;Searches only&quot; will enable autocomplete in searches."><strong>Autocompletion</strong></td>
				<td>
					<select name="autocomplete">
						<option value="0"<?php 
echo empty($SiteOptions['AutoComplete']) ? ' selected="selected"' : '';
?>
>Everywhere</option>
コード例 #4
0
ファイル: browse.php プロジェクト: nguyenducduy/Gazelle
			</tr>
			<tr id="order">
				<td class="label">Order by:</td>
				<td colspan="3" class="ft_order">
					<select name="order_by" style="width: auto;" class="ft_order_by">
						<option value="time"<?Format::selected('order_by', 'time')?>>Time added</option>
						<option value="year"<?Format::selected('order_by', 'year')?>>Year</option>
						<option value="size"<?Format::selected('order_by', 'size')?>>Size</option>
						<option value="snatched"<?Format::selected('order_by', 'snatched')?>>Snatched</option>
						<option value="seeders"<?Format::selected('order_by', 'seeders')?>>Seeders</option>
						<option value="leechers"<?Format::selected('order_by', 'leechers')?>>Leechers</option>
						<option value="random"<?Format::selected('order_by', 'random')?>>Random</option>
					</select>
					<select name="order_way" class="ft_order_way">
						<option value="desc"<?Format::selected('order_way', 'desc')?>>Descending</option>
						<option value="asc"<?Format::selected('order_way', 'asc')?>>Ascending</option>
					</select>
				</td>
			</tr>
			<tr id="search_group_results">
				<td class="label">
					<label for="group_results">Group by release:</label>
				</td>
				<td colspan="3" class="ft_group_results">
					<input type="checkbox" value="1" name="group_results" id="group_results"<?php 
echo $GroupResults ? ' checked="checked"' : '';
?>
 />
				</td>
			</tr>
		</table>
コード例 #5
0
ファイル: browse.php プロジェクト: Kufirc/Gazelle
						<option value="leechers"<?php 
Format::selected('order_by', 'leechers');
?>
>Leechers</option>
						<option value="random"<?php 
Format::selected('order_by', 'random');
?>
>Random</option>
					</select>
					<select name="order_way" class="ft_order_way">
						<option value="desc"<?php 
Format::selected('order_way', 'desc');
?>
>Descending</option>
						<option value="asc"<?php 
Format::selected('order_way', 'asc');
?>
>Ascending</option>
					</select>
				</td>
			</tr>
			<tr id="search_group_results">
				<td class="label">
					<label for="group_results">Group by release:</label>
				</td>
				<td colspan="3" class="ft_group_results">
					<input type="checkbox" value="1" name="group_results" id="group_results"<?php 
echo $GroupResults ? ' checked="checked"' : '';
?>
 />
				</td>
コード例 #6
0
ファイル: user.php プロジェクト: Kufirc/Gazelle
    echo $OrderText;
    ?>
</option>
<?php 
}
?>
						</select>&nbsp;
						<select name="way" class="ft_order_way">
<?php 
foreach ($Ways as $WayKey => $WayText) {
    ?>
							<option value="<?php 
    echo $WayKey;
    ?>
"<?php 
    Format::selected('way', $WayKey);
    ?>
><?php 
    echo $WayText;
    ?>
</option>
<?php 
}
?>
						</select>
					</td>
				</tr>
			</table>

			<table class="layout cat_list">
<?php 
コード例 #7
0
ファイル: browse.php プロジェクト: karamanolev/Gazelle
?>
>Descending</option>
						<option value="asc"<?php 
Format::selected('order_way', 'asc');
?>
>Ascending</option>
					</select>
				</td>
			</tr>
			<tr id="search_group_results">
				<td class="label">
					<label for="group_results">Group by release:</label>
				</td>
				<td colspan="3" class="ft_group_results">
					<input type="checkbox" value="1" name="group_results" id="group_results"<?php 
Format::selected('group_results', 1, 'checked');
?>
 />
				</td>
			</tr>
		</table>
		<table class="layout cat_list ft_cat_list">
<?php 
$x = 0;
reset($Categories);
foreach ($Categories as $CatKey => $CatName) {
    if ($x % 7 == 0) {
        if ($x > 0) {
            ?>
			</tr>
<?php 
コード例 #8
0
ファイル: edit.php プロジェクト: Kufirc/Gazelle
        echo $Properties['CategoryID'];
        ?>
" />
		<table>
			<tr>
				<td class="label">Change category</td>
				<td>
					<select id="newcategoryid" name="newcategoryid" onchange="ChangeCategory(this.value);">
<?php 
        foreach ($Categories as $CatID => $CatName) {
            ?>
						<option value="<?php 
            echo $CatID + 1;
            ?>
"<?php 
            Format::selected('CategoryID', $CatID + 1, 'selected', $Properties);
            ?>
><?php 
            echo $CatName;
            ?>
</option>
<?php 
        }
        ?>
					</select>
				</td>
			<tr id="split_releasetype">
				<td class="label">Release type</td>
				<td>
					<select name="releasetype">
<?php