Guest User

Untitled

a guest
Apr 11th, 2018
122
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
PHP 0.71 KB | None | 0 0
  1. <?php
  2.  
  3. $page->contentSet('
  4.     <h1>Please Login</h1>
  5.        <form action="" method="post">
  6.        <p>
  7.        <label for="username">Username: </label>
  8.        <input type="text" id="username" name="username" size="30" value="'.(isset($_POST['username']) ? $_POST['username'] : '').'" />
  9.        </p>
  10.        <p>
  11.        <label for="password">Password: </label>
  12.        <input type="password" id="password" name="password" size="30" value="'.(isset($_POST['password']) ? $_POST['password'] : '').'" />
  13.        </p>
  14.        <p>
  15.        <input type="hidden" value="1" name="login" id="login" />
  16.        <input type="submit" value="Login" name="loginSubmit" id="loginSubmit" />
  17.        </p>
  18.        </form>');
  19. ?>
Add Comment
Please, Sign In to add comment