Example #1
0
\t
<dt>Access Level</dt>
<dd>{$axx}</dd>
\t
<dt>Status</dt>
<dd>{$statustext}</dd>
\t
<dt>Date Registered</dt>
<dd>{$regdatetext}</dd>
{$extraforadmins}
</dl>
EOT
);
                    }
                }
                Sidebar::clear();
                if (User::$role == 0 && !User::getField('wantsdev')) {
                    $requestpermissions = '<li><a href="/user/requestdev">Request Developer Access</a></li>';
                } else {
                    if (User::getField('wantsdev')) {
                        $requestpermissions = '<li>Developer Access Requested</li>';
                    }
                }
                if (User::$uname == $uname || User::$role > 1) {
                    Sidebar::add('User CP', <<<EOT
\t<ol>
\t\t<li><a href="/user/{$uname}/">Main Profile</a></li>
\t\t<li><a href="/user/{$uname}/edit">Edit Profile</a></li>
\t\t{$requestpermissions}
\t</ol>
EOT