Posted By

iuliandita on 06/22/13


Tagged

login anchor


Versions (?)

Anchor user login


 / Published in: PHP
 

for public reviewing

  1. <form class="navbar-form pull-right">
  2. <?php if (user_authed()) : ?>
  3. Hello <?php echo user_authed_name(); ?>
  4. <?php else : ?>
  5. <input class="span2" type="text" placeholder="Email">
  6. <input class="span2" type="password" placeholder="Password">
  7. <button type="submit" class="btn">Sign in</button>
  8. <?php endif; ?>
  9. </form>

Report this snippet  

You need to login to post a comment.