本文整理汇总了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 {