Advertisement
Guest User

Untitled

a guest
Feb 21st, 2019
118
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
text 1.08 KB | None | 0 0
  1. <?php
  2. if ($username && $userid){
  3. echo "You have logged in as <b> $username </b>. Click here to <a href='logout.php'> Logout </a>";
  4. }
  5. else {
  6. $form = "<form action= 'index.php' method='POST'>
  7. <table>
  8. <tr> <td> <font color='black' face='arial' size='3'>Username: </font> </font></td> <td> <input type='text' name='user' placeholder='Username' > </td>
  9. <td> <font color='black' face='arial' size='3'>Password: </td> </font><td> <input type='password' name='password' placeholder='Password'></td>
  10. <td> <button type='submit' class='btn' name='loginbtn' value ='Login'><font size='3'>Login</font> </td></button>
  11. <tr><td> <a href='signup.php'> <font color='black' face='arial' size='3'>Register</font> </a> </td> </tr>
  12. </table>
  13. </form>";
  14.  
  15. <table style=" background-repeat:no-repeat; width:450px;margin:0;" cellpadding="0" cellspacing="0" border="0">
  16. <tr style="height:40px; width:450px; margin:0;">
  17. <td style="height:40px; width:40px; margin:0;">
  18.  
  19. echo '<table class="myClass">';
  20.  
  21. .myClass{
  22. top: 15px;
  23. left: 10px;
  24. }
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement