| Server IP : 208.122.213.31 / Your IP : 216.73.216.185 Web Server : Apache System : Linux msd6191.mjhst.com 4.18.0-553.137.1.el8_10.x86_64 #1 SMP Wed Jun 24 11:40:24 UTC 2026 x86_64 User : WHMCS_MIA_382 ( 1001) PHP Version : 7.4.33 Disable Function : NONE MySQL : ON | cURL : ON | WGET : ON | Perl : ON | Python : OFF | Sudo : ON | Pkexec : ON Directory : /home/httpd/html/baberankings.com.bak/templates/compiled/ |
Upload File : |
<? global $en,$configtable,$aconfigtable,$hidftable,$fieldtable,$admmenutable,$sertable,$modstable,$poptstable,$paytable,$picstable,$ratetable,$viewtable,$favstable,$questtable,$langtable,$roomtable,$chattable,$chatonlinetable,$polltable,$pollqtable,$blogtable,$bcomtable,$newsltable,$newstable,$typetable,$membtable,$onlinetable,$logstable,$mbantable,$picscommtable,$msgtable,$fgrouptable,$forumtable,$fthreadtable,$fposttable,$fmembtable,$fmodstable,$fsubscrforumtable,$fsubscrthreadtable; ?><h1><? echo _advanced_search; ?></h1>
<br>
<table width=100%>
<form action='<? echo constant('dir'); ?>index.php' method=post>
<input type=hidden name=req value=dosearch>
<tr><td class=key width=120px><? echo _type_name; ?>:</td><td> <select name=search[type]>
<option value=''><? echo _all; ?></option>
<? $to['sql_4c66c604cdad1'] = 'max'; $from['sql_4c66c604cdad1'] = '1'; $query = "SELECT *, t_name_plural_".do_format('lang')." AS what FROM $typetable ORDER BY t_order"; $sql_4c66c604cdad1 = sql_query($query); if (sql_num_rows($sql_4c66c604cdad1) > 0) { if (!is_numeric($to['sql_4c66c604cdad1'])) $to['sql_4c66c604cdad1'] = sql_num_rows($sql_4c66c604cdad1); $from['sql_4c66c604cdad1'] = min($from['sql_4c66c604cdad1'],sql_num_rows($sql_4c66c604cdad1)); sql_data_seek($sql_4c66c604cdad1,$from['sql_4c66c604cdad1']-1); $en['loops_left'] = $en['total_count'] = $en['total_cnt']['sql_4c66c604cdad1'] = sql_num_rows($sql_4c66c604cdad1); } $en['loops_cnt']['sql_4c66c604cdad1'] = 0; $en['loops_count'] = min(sql_num_rows($sql_4c66c604cdad1)-($from['sql_4c66c604cdad1']-1),$to['sql_4c66c604cdad1']); $tos['sql_4c66c604cdad1'] = $to; while (($line = sql_fetch_assoc($sql_4c66c604cdad1)) && $en['loops_cnt']['sql_4c66c604cdad1'] < $tos['sql_4c66c604cdad1']) {$en = array_merge($en,$line);
if (!is_array($en['loops_cnt'])) { $en['loops_cnt'] = array(); }
$en['loops_index'] = ++$en['loops_cnt']['sql_4c66c604cdad1'];
$en['loops_left'] = $en['total_cnt']['sql_4c66c604cdad1']-$en['loops_cnt']['sql_4c66c604cdad1']; ?>
<option value='<? echo do_format('t_id'); ?>'><? echo do_format('what'); ?></option>
<? } ?>
</select></td></tr>
<tr><td class=key><? echo _age; ?>:</td><td> <input type=text size=2 name=search[agefrom]> to <input type=text size=2 name=search[ageto]></td></tr><? global $countries, $states; include 'modules/members/countries_states.php'; ?><tr><Td class=key><? echo _city; ?>:</td><td><input type=text name=search[city] size=30></td></tr><tr><Td class=key><? echo _state; ?>:</td><td><select name=search[state]>
<option value=''><? echo _any; ?></option>
<? global $states; foreach ($states['US'] as $key => $value) echo "<option value='".htmlentities($value,ENT_QUOTES)."' ".($en['state'] == htmlentities($value,ENT_QUOTES) ? ' selected' : '').">".htmlentities($value,ENT_QUOTES)."</option>"; ?>
</select>
</td></tr><tr><Td class=key><? echo _country; ?>:</td><td><select name=search[country]>
<option value=''><? echo _any; ?></option>
<? global $countries; foreach ($countries as $key => $value) echo "<option value='".$key."' ".($en['country'] == $key ? ' selected' : '').">".htmlentities($value['name'],ENT_QUOTES)."</option>"; ?>
</select>
</td></tr> <tr><td class=key><? echo _is_online; ?>:</td><td> <input type=checkbox name=search[online] value='ON'></td></tr>
<tr><td class=key><? echo _keyword; ?>:</td><td> <input type=text size=30 name=search[keyword]></td></tr>
<tr><td class=key><? echo _username; ?>:</td><td> <input type=text size=30 name=search[user]></td></tr> <tr><td colspan=2 align=center><br><input type=submit name=sm value='<? echo _search; ?>!'>
</table>
</form>