daily pastebin goal
47%
SHARE
TWEET

Untitled

a guest Mar 22nd, 2019 66 Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
  1. <?php
  2. //print_r($GLOBALS['user']);
  3.     global $user;
  4.     if (!$user->uid) {
  5.    
  6. ?>
  7. <form method="POST" action="?id=<?php echo $id; ?>">
  8.     <input type="hidden" name="loguj" value="loguj" />
  9.     <div class="form-group">
  10.         <label for="login">Login:</label>
  11.         <input type="text" name="login" id="login" class="form-control" required maxlength="10" />
  12.     </div>
  13.     <div class="form-group">
  14.         <label for="haslo">Hasło:</label>
  15.         <input type="password" name="haslo" id="haslo" class="form-control" required maxlength="20" />
  16.     </div>
  17.     <button type="submit" class="btn btn-primary">Zaloguj</button>
  18. </form>
  19. <?php
  20.     } else {
  21.         echo '<p>Jesteś już zalogowany!</p>';
  22.     }
  23. ?>
RAW Paste Data
We use cookies for various purposes including analytics. By continuing to use Pastebin, you agree to our use of cookies as described in the Cookies Policy. OK, I Understand
 
Top