Файл: adultscript-2.0.3-pro/files/admin/templates/default/adv_player_search.tpl.php
Строк: 116
<?php defined('_VALID') or die('Restricted Access!'); ?>
<div id="search_advanced" style="display: none;">
<form id="search-advs-form" method="post" action="<?php echo ADMIN_URL; ?>/index.php?q=adv/player<?php if (isset($this->approve) && $this->approve): echo '&u=1'; endif; ?>">
<fieldset>
<legend>Advanced Search</legend>
<table width="100%" border="0" cellspacing="2" cellpadding="1" class="search">
<tr>
<td>
<div class="optional">
<label for="name" class="search">Name</label>
<input name="name" type="text" id="name" class="medium" value="<?php echo e($this->option['name']); ?>" />
</div>
</td>
<td>
<div class="optional">
<label for="type" class="search">Type</label>
<select name="type" id="type">
<option value="">All</option>
<option value="text"<?php if ($this->option['type'] == 'text'): echo ' selected="selected"'; endif; ?>>Text</option>
<option value="image"<?php if ($this->option['type'] == 'image'): echo ' selected="selected"'; endif; ?>>Image</option>
<option value="media"<?php if ($this->option['type'] == 'media'): echo ' selected="selected"'; endif; ?>>Media</option>
</select>
</div>
</td>
<td>
<div class="optional">
<label for="status" class="search">Status</label>
<select name="status" id="status">
<option value="">All</option>
<option value="1"<?php if ($this->option['status'] == '1'): echo ' selected="selected"'; endif; ?>>Active</option>
<option value="0"<?php if ($this->option['status'] == '0'): echo ' selected="selected"'; endif; ?>>Suspended</option>
</select>
</div>
</td>
</tr>
<tr>
<td>
<div class="optional">
<label for="sort" class="search">Sort</label>
<select name="sort" id="sort">
<option value="a.adv_id"<?php if ($this->option['sort'] == 'a.adv_id'): echo ' selected="selected"'; endif; ?>>Id</option>
<option value="a.adv_name"<?php if ($this->option['sort'] == 'a.name'): echo ' selected="selected"'; endif; ?>>Name</option>
<option value="a.views"<?php if ($this->option['sort'] == 'a.views'): echo ' selected="selected"'; endif; ?>>Total Views</option>
<option value="a.clicks"<?php if ($this->option['sort'] == 'a.clicks'): echo ' selected="selected"'; endif; ?>>Total Clicks</option>
</select>
</div>
</td>
<td>
<div class="optional">
<label for="order" class="search">Order</label>
<select name="order" id="order">
<option value="ASC"<?php if ($this->option['order'] == 'ASC'): echo ' selected="selected"'; endif; ?>>ASC</option>
<option value="DESC"<?php if ($this->option['order'] == 'DESC'): echo ' selected="selected"'; endif; ?>>DESC</option>
</select>
</div>
</td>
<td>
<div class="optional">
<label for="display" class="search">Display</label>
<select name="display" id="display">
<option value="10"<?php if ($this->option['display'] == '10'): echo ' selected="selected"'; endif; ?>>10</option>
<option value="20"<?php if ($this->option['display'] == '20'): echo ' selected="selected"'; endif; ?>>20</option>
<option value="30"<?php if ($this->option['display'] == '30'): echo ' selected="selected"'; endif; ?>>30</option>
<option value="50"<?php if ($this->option['display'] == '50'): echo ' selected="selected"'; endif; ?>>50</option>
<option value="100"<?php if ($this->option['display'] == '100'): echo ' selected="selected"'; endif; ?>>100</option>
<option value="200"<?php if ($this->option['display'] == '200'): echo ' selected="selected"'; endif; ?>>200</option>
</select>
</div>
</td>
</tr>
<tr>
<td colspan="3">
<div style="text-align: center; margin-top: 3px;">
<input name="submit_search" type="submit" class="button butDef" value=" Search " />
<input name="submit_reset" type="submit" class="button butDef" value=" Reset " />
</div>
</td>
</tr>
</table>
</fieldset>
</form>
</div>