Zeile 3 | Zeile 3 |
---|
* MyBB 1.2 * Copyright � 2006 MyBB Group, All Rights Reserved *
|
* MyBB 1.2 * Copyright � 2006 MyBB Group, All Rights Reserved *
|
* Website: http://www.mybboard.com * License: http://www.mybboard.com/eula.html
| * Website: http://www.mybboard.net * License: http://www.mybboard.net/eula.html
|
*
|
*
|
* $Id: usercp.php 2725 2007-02-07 20:50:17Z CraKteR $
| * $Id: usercp.php 3055 2007-05-13 15:01:15Z Tikitiki $
|
*/
define("IN_MYBB", 1);
| */
define("IN_MYBB", 1);
|
Zeile 2213 | Zeile 2213 |
---|
$bandwidth = get_friendly_size($bandwidth); if($mybb->usergroup['attachquota']) {
|
$bandwidth = get_friendly_size($bandwidth); if($mybb->usergroup['attachquota']) {
|
$percent = round(($totalusage/($mybb->usergroup['attachquota']*1000))*100)."%"; $attachquota = get_friendly_size($mybb->usergroup['attachquota']*1000);
| $percent = round(($totalusage/($mybb->usergroup['attachquota']*1024))*100)."%"; $attachquota = get_friendly_size($mybb->usergroup['attachquota']*1024);
|
$usagenote = sprintf($lang->attachments_usage_quota, $friendlyusage, $attachquota, $percent, $totalattachments); } else
| $usagenote = sprintf($lang->attachments_usage_quota, $friendlyusage, $attachquota, $percent, $totalattachments); } else
|
Zeile 2260 | Zeile 2260 |
---|
$perday = $mybb->user['postnum']; }
|
$perday = $mybb->user['postnum']; }
|
$query = $db->simple_select(TABLE_PREFIX."posts", "COUNT(pid) AS posts", "visible > 0"); $posts = $db->fetch_field($query, "posts");
| $stats = $cache->read("stats"); $posts = $stats['numposts'];
|
if($posts == 0) { $percent = "0";
| if($posts == 0) { $percent = "0";
|
Zeile 2298 | Zeile 2298 |
---|
} // Make reputations row $reputations = '';
|
} // Make reputations row $reputations = '';
|
if($mybb->usergroup['usereputationsystem'] == 'yes')
| if($mybb->usergroup['usereputationsystem'] == 'yes' && $mybb->settings['enablereputation'] == 'yes')
|
{ $reputation_link = get_reputation($mybb->user['reputation']); eval("\$reputation = \"".$templates->get("usercp_reputation")."\";");
| { $reputation_link = get_reputation($mybb->user['reputation']); eval("\$reputation = \"".$templates->get("usercp_reputation")."\";");
|