torrentpier/styles/templates/admin/admin_user_search.tpl
Roman Kelesidis 6759ce0595
Some enhancements in default template (#1312)
* Some enhancements in default template

* Updated

* Updated

* Updated

* Updated

* Updated

* Updated

* Update admin_user_search.tpl

* Updated

* Updated

* Update admin_attachments.tpl

* Updated

* Updated

* Update posting_smilies.tpl

* Updated

* Update CHANGELOG.md
2024-01-10 10:39:54 +07:00

164 lines
8.2 KiB
Smarty

<!-- IF TPL_ADMIN_USER_SEARCH_MAIN -->
<!--========================================================================-->
<h1>{L_SEARCH_USERS_ADVANCED}</h1>
<p>{L_SEARCH_USERS_EXPLAIN}</p>
<br />
<form method="post" name="post" action="{S_SEARCH_ACTION}"><input type="hidden" name="dosearch" value="true" />
<table class="forumline">
<tr>
<th>{L_SEARCH_USERS_ADVANCED}</th>
</tr>
<tr>
<td class="row1"><span class="gen"><b>{L_USERNAME}:</b>&nbsp;<input class="post" type="text" name="username" maxlength="255" size="25" />&nbsp;<input type="submit" name="usersubmit" value="{L_FIND_USERNAME}" onclick="window.open('{U_SEARCH_USER}', '_bbsearch', 'HEIGHT=250,resizable=yes,WIDTH=400');return false;" />&nbsp;<input type="submit" class="post2" name="search_username" value="{L_SEARCH}" /></span><br /><span class="small">{L_SEARCH_USERNAME_EXPLAIN}</span></td>
</tr>
<tr>
<td class="row2">&nbsp;</td>
</tr>
<tr>
<td class="row1"><span class="gen"><b>{L_EMAIL_ADDRESS}:</b>&nbsp;<input class="post" type="text" name="email" maxlength="255" size="25" />&nbsp;<input type="submit" class="post2" name="search_email" value="{L_SEARCH}" /></span><br /><span class="small">{L_SEARCH_EMAIL_EXPLAIN}</span></td>
</tr>
<tr>
<td class="row2">&nbsp;</td>
</tr>
<tr>
<td class="row1"><span class="gen"><b>{L_IP_ADDRESS}:</b>&nbsp;<input class="post" type="text" name="ip_address" maxlength="255" size="25" />&nbsp;<input type="submit" class="post2" name="search_ip" value="{L_SEARCH}" /></span><br /><span class="small">{L_SEARCH_IP_EXPLAIN}</span></td>
</tr>
<tr>
<td class="row2">&nbsp;</td>
</tr>
<tr>
<td class="row1"><span class="gen"><b>{L_SEARCH_USERS_JOINED}:</b>&nbsp;<select name="date_type" class="post"><option value="before" selected>{L_BEFORE}</option><option value="after">{L_AFTER}</option></select>&nbsp;<input class="post" type="text" name="date_year" value="{YEAR}" size="4" maxlength="4" />/<input class="post" type="text" name="date_month" value="{MONTH}" size="2" maxlength="2" />/<input class="post" type="text" name="date_day" value="{DAY}" maxlength="2" size="2" />&nbsp;<input type="submit" class="post2" name="search_joindate" value="{L_SEARCH}" /></span><br /><span class="small">{L_SEARCH_USERS_JOINED_EXPLAIN}</span></td>
</tr>
<tr>
<td class="row2">&nbsp;</td>
</tr>
<!-- BEGIN groups_exist -->
<tr>
<td class="row1"><span class="gen"><b>{L_GROUP_MEMBERS}:</b>&nbsp;<select name="group_id" class="post">{GROUP_LIST}</select>&nbsp;<input type="submit" class="post2" name="search_group" value="{L_SEARCH}" /></span><br /><span class="small">{L_SEARCH_USERS_GROUPS_EXPLAIN}</span></td>
</tr>
<tr>
<td class="row2">&nbsp;</td>
</tr>
<!-- END groups_exist -->
<!-- BEGIN ranks_exist -->
<tr>
<td class="row1"><span class="gen"><b>{L_POSTER_RANK}:</b>&nbsp;<select name="rank_id" class="post">{RANK_SELECT_BOX}</select>&nbsp;<input type="submit" class="post2" name="search_rank" value="{L_SEARCH}" /></span><br /><span class="small">{L_SEARCH_USERS_RANKS_EXPLAIN}</span></td>
</tr>
<tr>
<td class="row2">&nbsp;</td>
</tr>
<!-- END ranks_exist -->
<tr>
<td class="row1"><span class="gen"><b>{L_POSTCOUNT}:</b>&nbsp;<select name="postcount_type"><option value="equals" selected>{L_EQUALS}</option><option value="lesser">{L_LESS_THAN}</option><option value="greater">{L_GREATER_THAN}</option></select>&nbsp;<input class="post" type="text" name="postcount_value" maxlength="25" size="5" />&nbsp;<input type="submit" class="post2" name="search_postcount" value="{L_SEARCH}" /></span><br /><span class="small">{L_SEARCH_USERS_POSTCOUNT_EXPLAIN}</span></td>
</tr>
<tr>
<td class="row2">&nbsp;</td>
</tr>
<tr>
<td class="row1"><span class="gen"><b>{L_USERFIELD}:</b>&nbsp;<select name="userfield_type"><option value="icq" selected>{L_ICQ}</option><option value="skype">{L_SKYPE}</option><option value="twitter">{L_TWITTER}</option><option value="website">{L_WEBSITE}</option><option value="location">{L_LOCATION}</option><option value="interests">{L_INTERESTS}</option></select>&nbsp;<input class="post" type="text" name="userfield_value" maxlength="25" size="25" />&nbsp;<input type="submit" class="post2" name="search_userfield" value="{L_SEARCH}" /></span><br /><span class="small">{L_SEARCH_USERS_USERFIELD_EXPLAIN}</span></td>
</tr>
<tr>
<td class="row2">&nbsp;</td>
</tr>
<tr>
<td class="row1"><span class="gen"><b>{L_SEARCH_USERS_LASTVISITED}:</b>&nbsp;<select name="lastvisited_type"><option value="in">{L_IN_THE_LAST}</option><option value="after">{L_AFTER_THE_LAST}</option></select>&nbsp;<select name="lastvisited_days">{LASTVISITED_LIST}</select>&nbsp;<input type="submit" class="post2" name="search_lastvisited" value="{L_SEARCH}" /></span><br /><span class="small">{L_SEARCH_USERS_LASTVISITED_EXPLAIN}</span></td>
</tr>
<tr>
<td class="row2">&nbsp;</td>
</tr>
<tr>
<td class="row1"><span class="gen"><b>{L_BOARD_LANG}:</b>&nbsp;{LANGUAGE_LIST}&nbsp;<input type="submit" class="post2" name="search_language" value="{L_SEARCH}" /></span><br /><span class="small">{L_SEARCH_USERS_LANGUAGE_EXPLAIN}</span></td>
</tr>
<tr>
<td class="row2">&nbsp;</td>
</tr>
<tr>
<td class="row1"><span class="gen"><b>{L_TIMEZONE}:</b>&nbsp;{TIMEZONE_LIST}&nbsp;<input type="submit" class="post2" name="search_timezone" value="{L_SEARCH}" /></span><br /><span class="small">{L_SEARCH_USERS_TIMEZONE_EXPLAIN}</span></td>
</tr>
<tr>
<td class="row2">&nbsp;</td>
</tr>
<!-- BEGIN forums_exist -->
<tr>
<td class="row1"><span class="gen"><b>{L_MODERATORS_OF}:</b>&nbsp;<select name="moderators_forum">{FORUMS_LIST}</select>&nbsp;<input type="submit" class="post2" name="search_moderators" value="{L_SEARCH}" /></span><br /><span class="small">{L_SEARCH_USERS_MODERATORS_EXPLAIN}</span></td>
</tr>
<tr>
<td class="row2">&nbsp;</td>
</tr>
<!-- END forums_exist -->
<tr>
<td class="row1"><span class="gen"><b>{L_ROLE}</b>&nbsp;<select name="misc" class="post"><option value="admins" selected>{L_ADMINISTRATORS}</option><option value="mods">{L_MODERATORS}</option><option value="banned">{L_BANNED_USERS}</option><option value="disabled">{L_DISABLED_USERS}</option></select>&nbsp;<input type="submit" class="post2" name="search_misc" value="{L_SEARCH}" /></span><br /><span class="small">{L_SEARCH_USERS_MISC_EXPLAIN}</span></td>
</tr>
<tr>
<td class="row2">&nbsp;</td>
</tr>
</table>
</form>
<!--========================================================================-->
<!-- ENDIF / TPL_ADMIN_USER_SEARCH_MAIN -->
<!-- IF TPL_ADMIN_USER_SEARCH_RESULTS -->
<!--========================================================================-->
<h1>{L_SEARCH_USERS_ADVANCED}</h1>
<p>{NEW_SEARCH}</p>
<br />
<form action="{S_POST_ACTION}" method="post" name="post">
<table width="98%" class="bCenter">
<tr>
<td class="nav tCenter"><span class="gen">{L_SORT_OPTIONS}</span> <a href="{U_USERNAME}">{L_USERNAME}</a> | <a href="{U_EMAIL}">{L_EMAIL_ADDRESS}</a> | <a href="{U_POSTS}">{L_POSTS}</a> | <a href="{U_JOINDATE}">{L_JOINED}</a> | <a href="{U_LASTVISIT}">{L_LAST_VISIT}</a></td>
</tr>
</table>
<p>&nbsp;</p>
<table width="98%" class="bCenter">
<tr>
<td class="nav"><span class="gen">{PAGE_NUMBER}</span></td>
<td class="nav tRight nowrap"><span class="gen">{PAGINATION}</span></td>
</tr>
</table>
<table class="forumline">
<tr>
<th>{L_USERNAME}</th>
<th>{L_EMAIL_ADDRESS}</th>
<th>{L_JOINED}</th>
<th>{L_POSTS}</th>
<th>{L_LAST_VISIT}</th>
<th>&nbsp;</th>
<th>&nbsp;</th>
<th>&nbsp;</th>
<th>{L_ACCOUNT_STATUS}</th>
</tr>
<!-- BEGIN userrow -->
<tr class="gen nowrap tCenter {userrow.ROW_CLASS}">
<td>{userrow.USER}</td>
<td>{userrow.EMAIL}</td>
<td>{userrow.JOINDATE}</td>
<td><a href="{userrow.U_VIEWPOSTS}" class="gen" target="_blank">{userrow.POSTS}</td>
<td>{userrow.LASTVISIT}</td>
<td><a href="{userrow.U_MANAGE}" class="gen">{L_MANAGE}</a></td>
<td><a href="{userrow.U_PERMISSIONS}" class="gen">{L_PERMISSIONS}</a></td>
<td>{userrow.BAN}</td>
<td>{userrow.ABLED}</td>
</tr>
<!-- END userrow -->
<tr>
<td class="row3" colspan="9"><img src="{SPACER}" width="1" height="1" alt=""></td>
</tr>
</table>
<table width="100%">
<tr>
<td class="tRight" valign="top"></td>
</tr>
</table>
</form>
<!--========================================================================-->
<!-- ENDIF / TPL_ADMIN_USER_SEARCH_RESULTS -->