Drupal 6 custom logged in block

/ Published in: PHP
Save to your folder(s)

Copy this code and paste it in your HTML
  1. <?php global $user; ?>
  3. <div id="portal-login">
  4. <p><?php print l($user->name,'user/'.$user->uid); ?>, Sie sind angemeldet.<br />
  5. <b><?php print l("logout","logout"); ?></b></p>
  6. </div>

Report this snippet


RSS Icon Subscribe to comments

You need to login to post a comment.