Zeile 6 | Zeile 6 |
---|
* Website: http://www.mybboard.com * License: http://www.mybboard.com/eula.html *
|
* Website: http://www.mybboard.com * License: http://www.mybboard.com/eula.html *
|
* $Id: users.php 2172 2006-08-30 14:49:42Z Kilroy $
| * $Id: users.php 2261 2006-09-26 07:49:02Z chris $
|
*/
define("IN_MYBB", 1);
| */
define("IN_MYBB", 1);
|
Zeile 551 | Zeile 551 |
---|
if($search['username']) {
|
if($search['username']) {
|
$conditions .= " AND username LIKE '%".$db->escape_string($search[username])."%'";
| $conditions .= " AND username LIKE '%".$db->escape_string($search['username'])."%'";
|
} if(is_array($search['usergroups'])) {
| } if(is_array($search['usergroups'])) {
|
Zeile 644 | Zeile 644 |
---|
echo "<tr>\n<td class=\"$bgcolor\" valign=\"top\">\n"; @set_time_limit(0); $query = $db->query("SELECT * FROM ".TABLE_PREFIX."users WHERE $conditions ORDER BY uid LIMIT ".intval($searchop['start']).", ".intval($searchop['perpage']));
|
echo "<tr>\n<td class=\"$bgcolor\" valign=\"top\">\n"; @set_time_limit(0); $query = $db->query("SELECT * FROM ".TABLE_PREFIX."users WHERE $conditions ORDER BY uid LIMIT ".intval($searchop['start']).", ".intval($searchop['perpage']));
|
while($user = $db->fetch_array($query))
| while($user = $db->fetch_array($query))
|
{ $sendmessage = $searchop['message']; $sendmessage = str_replace("{uid}", $user['uid'], $sendmessage);
| { $sendmessage = $searchop['message']; $sendmessage = str_replace("{uid}", $user['uid'], $sendmessage);
|
Zeile 867 | Zeile 867 |
---|
cpheader(); starttable();
|
cpheader(); starttable();
|
makelabelcode("<ul>\n<li><a href=\"users.php?".SID."&action=delete&uid=$uid\">$lang->delete_account</a></li>\n<li><a href=\"users.php?".SID."&action=misc&uid=$uid\">$lang->view_user_stats</a></li>\n</ul>");
| makelabelcode("<ul>\n<li><a href=\"users.php?".SID."&action=delete&uid=$uid\">$lang->delete_account</a></li>\n<li><a href=\"users.php?".SID."&action=misc&uid=$uid\">$lang->view_user_stats</a></li>\n</ul>");
|
endtable();
starttable();
| endtable();
starttable();
|
Zeile 1524 | Zeile 1524 |
---|
$options['activate'] = $lang->activate; } $bgcolor = getaltbg();
|
$options['activate'] = $lang->activate; } $bgcolor = getaltbg();
|
startform("users.php"); makehiddencode("uid", $user['uid']); makehiddencode("auid", $user['uid']);
| |
echo "<tr>\n"; if($searchdisp['uid'] == 'yes') {
| echo "<tr>\n"; if($searchdisp['uid'] == 'yes') {
|
Zeile 1560 | Zeile 1557 |
---|
} if($searchdisp['email'] == 'yes') {
|
} if($searchdisp['email'] == 'yes') {
|
echo "<td class=\"$bgcolor\"><a href=\"mailto:$user[email]\">$user[email]</td>\n";
| echo "<td class=\"$bgcolor\"><a href=\"mailto:$user[email]\">$user[email]</a></td>\n";
|
} if($searchdisp['website'] == 'yes') {
| } if($searchdisp['website'] == 'yes') {
|
Zeile 1578 | Zeile 1575 |
---|
{ echo "<td class=\"$bgcolor\">$user[yahoo]</td>\n"; }
|
{ echo "<td class=\"$bgcolor\">$user[yahoo]</td>\n"; }
|
if($searchdisp['msn'] == 'yes') {
| if($searchdisp['msn'] == 'yes') {
|
echo "<td class=\"$bgcolor\">$user[msn]</td>\n"; } if($searchdisp['signature'] == 'yes')
| echo "<td class=\"$bgcolor\">$user[msn]</td>\n"; } if($searchdisp['signature'] == 'yes')
|
Zeile 1609 | Zeile 1607 |
---|
} if($searchdisp['postnum'] == 'yes') {
|
} if($searchdisp['postnum'] == 'yes') {
|
echo "<td class=\"$bgcolor\"><a href=\"../search.php?action=finduser&uid=$user[uid]\">$user[postnum]</a></td>\n";
| echo "<td class=\"$bgcolor\"><a href=\"../search.php?action=finduser&uid=$user[uid]\">$user[postnum]</a></td>\n";
|
} if($searchdisp['birthday'] == 'yes') {
| } if($searchdisp['birthday'] == 'yes') {
|
Zeile 1621 | Zeile 1619 |
---|
} if($searchdisp['ops'] == 'yes') {
|
} if($searchdisp['ops'] == 'yes') {
|
echo "<td class=\"$bgcolor\" align=\"right\">".makehopper("action", $options)."</td>\n";
| echo "<td class=\"$bgcolor\" align=\"right\">"; startform("users.php"); makehiddencode("uid", $user['uid']); makehiddencode("auid", $user['uid']); echo makehopper("action", $options); endform(); echo"</td>\n";
|
} echo "</tr>\n";
|
} echo "</tr>\n";
|
endform();
| |
} endtable();
| } endtable();
|
Zeile 1713 | Zeile 1716 |
---|
echo '</div>'; } echo $first_page_button.$prev_page_button.$next_page_button.$last_page_button;
|
echo '</div>'; } echo $first_page_button.$prev_page_button.$next_page_button.$last_page_button;
|
echo '</div>';
| |
cpfooter(); } }
| cpfooter(); } }
|