Zeile 254 | Zeile 254 |
---|
$user = array( "uid" => $mybb->user['uid'],
|
$user = array( "uid" => $mybb->user['uid'],
|
| "postnum" => $mybb->user['postnum'],
|
"website" => $mybb->input['website'], "icq" => intval($mybb->input['icq']), "aim" => $mybb->input['aim'],
| "website" => $mybb->input['website'], "icq" => intval($mybb->input['icq']), "aim" => $mybb->input['aim'],
|
Zeile 433 | Zeile 434 |
---|
while($profilefield = $db->fetch_array($query)) { // Does this field have a minimum post count?
|
while($profilefield = $db->fetch_array($query)) { // Does this field have a minimum post count?
|
if($profilefield['postnum'] && $profilefield['postnum'] > $user['postnum'])
| if($profilefield['postnum'] && $profilefield['postnum'] > $mybb->user['postnum'])
|
{ continue; }
| { continue; }
|
Zeile 612 | Zeile 613 |
---|
{ if($title['posts'] <= $mybb->user['postnum']) {
|
{ if($title['posts'] <= $mybb->user['postnum']) {
|
$defaulttitle = $title['title'];
| $defaulttitle = htmlspecialchars_uni($title['title']);
|
break; } } } else {
|
break; } } } else {
|
$defaulttitle = $mybb->usergroup['usertitle'];
| $defaulttitle = htmlspecialchars_uni($mybb->usergroup['usertitle']);
|
}
if(trim($user['usertitle']) == '')
| }
if(trim($user['usertitle']) == '')
|
Zeile 1239 | Zeile 1240 |
---|
"); $threadcount = $db->fetch_field($query, "threads");
|
"); $threadcount = $db->fetch_field($query, "threads");
|
if(!$mybb->settings['threadsperpage'])
| if(!$mybb->settings['threadsperpage'] || (int)$mybb->settings['threadsperpage'] < 1)
|
{ $mybb->settings['threadsperpage'] = 20; }
| { $mybb->settings['threadsperpage'] = 20; }
|
Zeile 1403 | Zeile 1404 |
---|
if($thread['icon'] > 0 && $icon_cache[$thread['icon']]) { $icon = $icon_cache[$thread['icon']];
|
if($thread['icon'] > 0 && $icon_cache[$thread['icon']]) { $icon = $icon_cache[$thread['icon']];
|
| $icon['path'] = htmlspecialchars_uni($icon['path']); $icon['name'] = htmlspecialchars_uni($icon['name']);
|
$icon = "<img src=\"{$icon['path']}\" alt=\"{$icon['name']}\" />"; } else
| $icon = "<img src=\"{$icon['path']}\" alt=\"{$icon['name']}\" />"; } else
|
Zeile 2641 | Zeile 2644 |
---|
} if($mybb->input['do'] == "joingroup" && $usergroup['type'] == 4) {
|
} if($mybb->input['do'] == "joingroup" && $usergroup['type'] == 4) {
|
$reason = utf8_handle_4byte_string($mybb->input['reason']); $reason = $db->escape_string($reason);
| $reason = $db->escape_string($mybb->input['reason']);
|
$now = TIME_NOW; $joinrequest = array( "uid" => $mybb->user['uid'],
| $now = TIME_NOW; $joinrequest = array( "uid" => $mybb->user['uid'],
|
Zeile 2718 | Zeile 2720 |
---|
{ $memberlistlink = $moderaterequestslink = ''; $memberlistlink = " [<a href=\"managegroup.php?gid=".$usergroup['gid']."\">".$lang->view_members."</a>]";
|
{ $memberlistlink = $moderaterequestslink = ''; $memberlistlink = " [<a href=\"managegroup.php?gid=".$usergroup['gid']."\">".$lang->view_members."</a>]";
|
| $usergroup['title'] = htmlspecialchars_uni($usergroup['title']);
|
if($usergroup['type'] != 4) { $usergroup['joinrequests'] = '--';
| if($usergroup['type'] != 4) { $usergroup['joinrequests'] = '--';
|
Zeile 2739 | Zeile 2742 |
---|
// Do the primary group first $query = $db->simple_select("usergroups", "*", "gid='".$mybb->user['usergroup']."'"); $usergroup = $db->fetch_array($query);
|
// Do the primary group first $query = $db->simple_select("usergroups", "*", "gid='".$mybb->user['usergroup']."'"); $usergroup = $db->fetch_array($query);
|
| $usergroup['title'] = htmlspecialchars_uni($usergroup['title']); $usergroup['usertitle'] = htmlspecialchars_uni($usergroup['usertitle']); $usergroup['description'] = htmlspecialchars_uni($usergroup['description']);
|
$leavelink = "<div style=\"text-align:center;\"><span class=\"smalltext\">{$lang->usergroup_leave_primary}</span></div>"; $trow = alt_trow(); if($usergroup['candisplaygroup'] == 1 && $usergroup['gid'] == $mybb->user['displaygroup'])
| $leavelink = "<div style=\"text-align:center;\"><span class=\"smalltext\">{$lang->usergroup_leave_primary}</span></div>"; $trow = alt_trow(); if($usergroup['candisplaygroup'] == 1 && $usergroup['gid'] == $mybb->user['displaygroup'])
|
Zeile 2775 | Zeile 2781 |
---|
{ $leavelink = "<div style=\"text-align: center;\"><a href=\"usercp.php?action=usergroups&leavegroup=".$usergroup['gid']."&my_post_key={$mybb->post_code}\">".$lang->usergroup_leave."</a></div>"; }
|
{ $leavelink = "<div style=\"text-align: center;\"><a href=\"usercp.php?action=usergroups&leavegroup=".$usergroup['gid']."&my_post_key={$mybb->post_code}\">".$lang->usergroup_leave."</a></div>"; }
|
| $usergroup['title'] = htmlspecialchars_uni($usergroup['title']); $usergroup['usertitle'] = htmlspecialchars_uni($usergroup['usertitle']);
|
if($usergroup['description']) {
|
if($usergroup['description']) {
|
| $usergroup['description'] = htmlspecialchars_uni($usergroup['description']);
|
$description = "<br /><span class=\"smalltext\">".$usergroup['description']."</span>"; } else { $description = '';
|
$description = "<br /><span class=\"smalltext\">".$usergroup['description']."</span>"; } else { $description = '';
|
} if(!$usergroup['usertitle']) { // fetch title here
| |
} $trow = alt_trow(); if($usergroup['candisplaygroup'] == 1 && $usergroup['gid'] == $mybb->user['displaygroup'])
| } $trow = alt_trow(); if($usergroup['candisplaygroup'] == 1 && $usergroup['gid'] == $mybb->user['displaygroup'])
|
Zeile 2824 | Zeile 2829 |
---|
while($usergroup = $db->fetch_array($query)) { $trow = alt_trow();
|
while($usergroup = $db->fetch_array($query)) { $trow = alt_trow();
|
| $usergroup['title'] = htmlspecialchars_uni($usergroup['title']);
|
if($usergroup['description']) {
|
if($usergroup['description']) {
|
| $usergroup['description'] = htmlspecialchars_uni($usergroup['description']);
|
$description = "<br /><span class=\"smallfont\">".$usergroup['description']."</span>"; } else
| $description = "<br /><span class=\"smallfont\">".$usergroup['description']."</span>"; } else
|
Zeile 2892 | Zeile 2899 |
---|
$attachments = '';
// Pagination
|
$attachments = '';
// Pagination
|
if(!$mybb->settings['threadsperpage'])
| if(!$mybb->settings['threadsperpage'] || (int)$mybb->settings['threadsperpage'] < 1)
|
{ $mybb->settings['threadsperpage'] = 20; }
| { $mybb->settings['threadsperpage'] = 20; }
|
Zeile 3055 | Zeile 3062 |
---|
}
$lang->posts_day = $lang->sprintf($lang->posts_day, my_number_format($perday), $percent);
|
}
$lang->posts_day = $lang->sprintf($lang->posts_day, my_number_format($perday), $percent);
|
$usergroup = $groupscache[$mybb->user['usergroup']]['title'];
| $usergroup = htmlspecialchars_uni($groupscache[$mybb->user['usergroup']]['title']);
|
$colspan = 1; if($mybb->user['avatar'])
| $colspan = 1; if($mybb->user['avatar'])
|
Zeile 3287 | Zeile 3294 |
---|
if($thread['icon'] > 0 && $icon_cache[$thread['icon']]) { $icon = $icon_cache[$thread['icon']];
|
if($thread['icon'] > 0 && $icon_cache[$thread['icon']]) { $icon = $icon_cache[$thread['icon']];
|
| $icon['path'] = htmlspecialchars_uni($icon['path']); $icon['name'] = htmlspecialchars_uni($icon['name']);
|
$icon = "<img src=\"{$icon['path']}\" alt=\"{$icon['name']}\" />"; } else
| $icon = "<img src=\"{$icon['path']}\" alt=\"{$icon['name']}\" />"; } else
|
Zeile 3466 | Zeile 3475 |
---|
if($thread['icon'] > 0 && $icon_cache[$thread['icon']]) { $icon = $icon_cache[$thread['icon']];
|
if($thread['icon'] > 0 && $icon_cache[$thread['icon']]) { $icon = $icon_cache[$thread['icon']];
|
| $icon['path'] = htmlspecialchars_uni($icon['path']); $icon['name'] = htmlspecialchars_uni($icon['name']);
|
$icon = "<img src=\"{$icon['path']}\" alt=\"{$icon['name']}\" />"; } else
| $icon = "<img src=\"{$icon['path']}\" alt=\"{$icon['name']}\" />"; } else
|