| 1 | <!-- You should retain this javascript in your own template! -->
|
|---|
| 2 |
|
|---|
| 3 | <!-- IF S_IN_SEARCH_POPUP -->
|
|---|
| 4 | <script type="text/javascript">
|
|---|
| 5 | // <![CDATA[
|
|---|
| 6 | function insert_user(user)
|
|---|
| 7 | {
|
|---|
| 8 | opener.document.forms['{S_FORM_NAME}'].{S_FIELD_NAME}.value = ( opener.document.forms['{S_FORM_NAME}'].{S_FIELD_NAME}.value.length && opener.document.forms['{S_FORM_NAME}'].{S_FIELD_NAME}.type == "textarea" ) ? opener.document.forms['{S_FORM_NAME}'].{S_FIELD_NAME}.value + "\n" + user : user;
|
|---|
| 9 | }
|
|---|
| 10 |
|
|---|
| 11 | function insert_marked(users)
|
|---|
| 12 | {
|
|---|
| 13 | if (typeof(users.length) == "undefined")
|
|---|
| 14 | {
|
|---|
| 15 | if (users.checked)
|
|---|
| 16 | {
|
|---|
| 17 | insert_user(users.value);
|
|---|
| 18 | }
|
|---|
| 19 | }
|
|---|
| 20 | else if (users.length > 0)
|
|---|
| 21 | {
|
|---|
| 22 | for (i = 0; i < users.length; i++)
|
|---|
| 23 | {
|
|---|
| 24 | if (users[i].checked)
|
|---|
| 25 | {
|
|---|
| 26 | insert_user(users[i].value);
|
|---|
| 27 | }
|
|---|
| 28 | }
|
|---|
| 29 | }
|
|---|
| 30 |
|
|---|
| 31 | self.close();
|
|---|
| 32 | }
|
|---|
| 33 |
|
|---|
| 34 | function insert_single(user)
|
|---|
| 35 | {
|
|---|
| 36 | opener.document.forms['{S_FORM_NAME}'].{S_FIELD_NAME}.value = user;
|
|---|
| 37 | self.close();
|
|---|
| 38 | }
|
|---|
| 39 |
|
|---|
| 40 | /**
|
|---|
| 41 | * Mark/unmark checklist
|
|---|
| 42 | * id = ID of parent container, name = name prefix, state = state [true/false]
|
|---|
| 43 | */
|
|---|
| 44 | function marklist(id, name, state)
|
|---|
| 45 | {
|
|---|
| 46 | var parent = document.getElementById(id);
|
|---|
| 47 | if (!parent)
|
|---|
| 48 | {
|
|---|
| 49 | eval('parent = document.' + id);
|
|---|
| 50 | }
|
|---|
| 51 |
|
|---|
| 52 | if (!parent)
|
|---|
| 53 | {
|
|---|
| 54 | return;
|
|---|
| 55 | }
|
|---|
| 56 |
|
|---|
| 57 | var rb = parent.getElementsByTagName('input');
|
|---|
| 58 |
|
|---|
| 59 | for (var r = 0; r < rb.length; r++)
|
|---|
| 60 | {
|
|---|
| 61 | if (rb[r].name.substr(0, name.length) == name)
|
|---|
| 62 | {
|
|---|
| 63 | rb[r].checked = state;
|
|---|
| 64 | }
|
|---|
| 65 | }
|
|---|
| 66 | }
|
|---|
| 67 | // ]]>
|
|---|
| 68 | </script>
|
|---|
| 69 | <!-- ENDIF -->
|
|---|
| 70 |
|
|---|
| 71 | <form method="post" action="{S_MODE_ACTION}" name="search">
|
|---|
| 72 |
|
|---|
| 73 | <table class="tablebg" width="100%" cellspacing="1">
|
|---|
| 74 | <tr>
|
|---|
| 75 | <th colspan="4">{L_FIND_USERNAME}</th>
|
|---|
| 76 | </tr>
|
|---|
| 77 | <tr>
|
|---|
| 78 | <td class="row3" colspan="4"><span class="gensmall">{L_FIND_USERNAME_EXPLAIN}</span></td>
|
|---|
| 79 | </tr>
|
|---|
| 80 | <tr>
|
|---|
| 81 | <td class="row1"><b class="genmed">{L_USERNAME}:</b></td>
|
|---|
| 82 | <td class="row2"><input class="post" type="text" name="username" value="{USERNAME}" /></td>
|
|---|
| 83 | <td class="row1"><b class="genmed">{L_ICQ}:</b></td>
|
|---|
| 84 | <td class="row2"><input class="post" type="text" name="icq" value="{ICQ}" /></td>
|
|---|
| 85 | </tr>
|
|---|
| 86 | <tr>
|
|---|
| 87 | <td class="row1"><b class="genmed">{L_EMAIL}:</b></td>
|
|---|
| 88 | <td class="row2"><input class="post" type="text" name="email" value="{EMAIL}" /></td>
|
|---|
| 89 | <td class="row1"><b class="genmed">{L_AIM}:</b></td>
|
|---|
| 90 | <td class="row2"><input class="post" type="text" name="aim" value="{AIM}" /></td>
|
|---|
| 91 | </tr>
|
|---|
| 92 | <tr>
|
|---|
| 93 | <td class="row1"><b class="genmed">{L_JOINED}:</b></td>
|
|---|
| 94 | <td class="row2"><select name="joined_select">{S_JOINED_TIME_OPTIONS}</select> <input class="post" type="text" name="joined" value="{JOINED}" /></td>
|
|---|
| 95 | <td class="row1"><b class="genmed">{L_YIM}:</b></td>
|
|---|
| 96 | <td class="row2"><input class="post" type="text" name="yahoo" value="{YAHOO}" /></td>
|
|---|
| 97 | </tr>
|
|---|
| 98 | <tr>
|
|---|
| 99 | <!-- IF S_VIEWONLINE -->
|
|---|
| 100 | <td class="row1"><b class="genmed">{L_LAST_ACTIVE}:</b></td>
|
|---|
| 101 | <td class="row2"><select name="active_select">{S_ACTIVE_TIME_OPTIONS}</select> <input class="post" type="text" name="active" value="{ACTIVE}" /></td>
|
|---|
| 102 | <!-- ELSE -->
|
|---|
| 103 | <td colspan="2" class="row1"> </td>
|
|---|
| 104 | <!-- ENDIF -->
|
|---|
| 105 | <td class="row1"><b class="genmed">{L_MSNM}:</b></td>
|
|---|
| 106 | <td class="row2"><input class="post" type="text" name="msn" value="{MSNM}" /></td>
|
|---|
| 107 | </tr>
|
|---|
| 108 | <tr>
|
|---|
| 109 | <td class="row1"><b class="genmed">{L_POSTS}:</b></td>
|
|---|
| 110 | <td class="row2"><select name="count_select">{S_COUNT_OPTIONS}</select> <input class="post" type="text" name="count" value="{COUNT}" /></td>
|
|---|
| 111 | <td class="row1"><b class="genmed">{L_JABBER}:</b></td>
|
|---|
| 112 | <td class="row2"><input class="post" type="text" name="jabber" value="{JABBER}" /></td>
|
|---|
| 113 | </tr>
|
|---|
| 114 | <tr>
|
|---|
| 115 | <td class="row1"><b class="genmed">{L_SORT_BY}:</b></td>
|
|---|
| 116 | <td class="row2" nowrap="nowrap"><select name="sk">{S_SORT_OPTIONS}</select> <select name="sd">{S_ORDER_SELECT}</select> </td>
|
|---|
| 117 | <!-- IF S_IP_SEARCH_ALLOWED -->
|
|---|
| 118 | <td class="row1"><b class="genmed">{L_POST_IP}:</b></td>
|
|---|
| 119 | <td class="row2"><input class="post" type="text" name="ip" value="{IP}" /></td>
|
|---|
| 120 | </tr>
|
|---|
| 121 | <tr>
|
|---|
| 122 | <td class="row1"><b class="genmed">{L_GROUP}:</b></td>
|
|---|
| 123 | <td class="row2" nowrap="nowrap"><select name="search_group_id">{S_GROUP_SELECT}</select></td>
|
|---|
| 124 | <td class="row1"> </td>
|
|---|
| 125 | <td class="row2"> </td>
|
|---|
| 126 | </tr>
|
|---|
| 127 | <!-- ELSE -->
|
|---|
| 128 | <td class="row1"><b class="genmed">{L_GROUP}:</b></td>
|
|---|
| 129 | <td class="row2" nowrap="nowrap"><select name="search_group_id">{S_GROUP_SELECT}</select></td>
|
|---|
| 130 | </tr>
|
|---|
| 131 | <!-- ENDIF -->
|
|---|
| 132 | <tr>
|
|---|
| 133 | <td class="cat" colspan="4" align="center"><input class="btnmain" type="submit" name="submit" value="{L_SEARCH}" /> <input class="btnlite" type="reset" value="{L_RESET}" /></td>
|
|---|
| 134 | </tr>
|
|---|
| 135 | </table>
|
|---|
| 136 | {S_FORM_TOKEN}
|
|---|
| 137 | </form>
|
|---|
| 138 |
|
|---|
| 139 | <br clear="all" />
|
|---|