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: member.php 2789 2007-02-14 01:52:24Z chris $
| * $Id: member.php 2932 2007-03-10 05:48:55Z chris $
|
*/
define("IN_MYBB", 1);
| */
define("IN_MYBB", 1);
|
Zeile 1046 | Zeile 1046 |
---|
$lang->users_additional_info = sprintf($lang->users_additional_info, $memprofile['username']); $lang->users_signature = sprintf($lang->users_signature, $memprofile['username']); $lang->send_user_email = sprintf($lang->send_user_email, $memprofile['username']);
|
$lang->users_additional_info = sprintf($lang->users_additional_info, $memprofile['username']); $lang->users_signature = sprintf($lang->users_signature, $memprofile['username']); $lang->send_user_email = sprintf($lang->send_user_email, $memprofile['username']);
|
if(!empty($memprofile['awayreason'])) { $awayreason = $memprofile['awayreason']; } else { $awayreason = $lang->away_no_reason; }
| |
if($memprofile['avatar']) {
| if($memprofile['avatar']) {
|
Zeile 1065 | Zeile 1056 |
---|
$avatar_width_height = "width=\"{$avatar_dimensions[0]}\" height=\"{$avatar_dimensions[1]}\""; } $avatar = "<img src=\"$memprofile[avatar]\" alt=\"\" $avatar_width_height />";
|
$avatar_width_height = "width=\"{$avatar_dimensions[0]}\" height=\"{$avatar_dimensions[1]}\""; } $avatar = "<img src=\"$memprofile[avatar]\" alt=\"\" $avatar_width_height />";
|
} else
| } else
|
{ $avatar = ''; }
| { $avatar = ''; }
|
Zeile 1098 | Zeile 1089 |
---|
"allow_smilies" => $mybb->settings['sigsmilies'], "allow_imgcode" => $mybb->settings['sigimgcode'] );
|
"allow_smilies" => $mybb->settings['sigsmilies'], "allow_imgcode" => $mybb->settings['sigimgcode'] );
|
|
|
$memprofile['signature'] = $parser->parse_message($memprofile['signature'], $sig_parser); eval("\$signature = \"".$templates->get("member_profile_signature")."\";"); }
| $memprofile['signature'] = $parser->parse_message($memprofile['signature'], $sig_parser); eval("\$signature = \"".$templates->get("member_profile_signature")."\";"); }
|
Zeile 1109 | Zeile 1100 |
---|
if($ppd > $memprofile['postnum']) { $ppd = $memprofile['postnum'];
|
if($ppd > $memprofile['postnum']) { $ppd = $memprofile['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)
|
if($posts == 0)
|
{
| {
|
$percent = "0";
|
$percent = "0";
|
}
| }
|
else { $percent = $memprofile['postnum']*100/$posts; $percent = round($percent, 2);
|
else { $percent = $memprofile['postnum']*100/$posts; $percent = round($percent, 2);
|
}
| }
|
$query = $db->simple_select(TABLE_PREFIX."users", "COUNT(*) AS referrals", "referrer='{$memprofile['uid']}'"); $referrals = $db->fetch_field($query, "referrals");
| $query = $db->simple_select(TABLE_PREFIX."users", "COUNT(*) AS referrals", "referrer='{$memprofile['uid']}'"); $referrals = $db->fetch_field($query, "referrals");
|
Zeile 1138 | Zeile 1129 |
---|
{ $lang->away_note = sprintf($lang->away_note, $memprofile['username']); $awaydate = my_date($mybb->settings['dateformat'], $memprofile['awaydate']);
|
{ $lang->away_note = sprintf($lang->away_note, $memprofile['username']); $awaydate = my_date($mybb->settings['dateformat'], $memprofile['awaydate']);
|
$memprofile['awayreason'] = htmlspecialchars_uni($memprofile['awayreason']);
| if(!empty($memprofile['awayreason'])) { $awayreason = htmlspecialchars_uni($memprofile['awayreason']); } else { $awayreason = $lang->away_no_reason; }
|
if($memprofile['returndate'] == '') { $returndate = "$lang->unknown";
| if($memprofile['returndate'] == '') { $returndate = "$lang->unknown";
|