本文整理匯總了PHP中slog::cleanUserData方法的典型用法代碼示例。如果您正苦於以下問題:PHP slog::cleanUserData方法的具體用法?PHP slog::cleanUserData怎麽用?PHP slog::cleanUserData使用的例子?那麽, 這裏精選的方法代碼示例或許可以為您提供幫助。您也可以進一步了解該方法所在類slog
的用法示例。
在下文中一共展示了slog::cleanUserData方法的1個代碼示例,這些例子默認根據受歡迎程度排序。您可以為喜歡或者感覺有用的代碼點讚,您的評價將有助於係統推薦出更棒的PHP代碼示例。
示例1: elseif
exit;
} elseif ($is_guest) {
$breadcrumb->resetUrl();
echo $tpl->parse("header");
echo $tpl->parse("menu");
$group = 'fallback_no_username';
($code = $plugins->load('profile_guest_prepared')) ? eval($code) : null;
echo $tpl->parse("profile/guest");
} elseif ($is_member) {
($code = $plugins->load('profile_member_start')) ? eval($code) : null;
$result = $db->query("\n\tSELECT u.*, f.*\n\tFROM {$db->pre}user AS u\n\t\tLEFT JOIN {$db->pre}userfields AS f ON u.id = f.ufid\n\tWHERE id = {$_GET['id']}\n\tLIMIT 1\n\t", __LINE__, __FILE__);
$breadcrumb->resetUrl();
echo $tpl->parse("header");
echo $tpl->parse("menu");
if ($db->num_rows($result) == 1) {
$row = $slog->cleanUserData($db->fetch_object($result));
$days2 = null;
if ($config['showpostcounter'] == 1) {
$days2 = $row->posts / ((times() - $row->regdate) / 86400);
$days2 = sprintf("%01.2f", $days2);
if ($row->posts < $days2) {
$days2 = $row->posts;
}
}
$row->posts = numbers($row->posts);
$row->p = $slog->Permissions(0, $row->groups, true);
$row->level = $slog->getStatus($row->groups);
$row->regdate = gmdate($lang->phrase('dformat2'), times($row->regdate));
if ($row->lastvisit > 0) {
$row->lastvisit = str_date($lang->phrase('dformat1'), times($row->lastvisit));
} else {