document.write('
Data hosted with ♥ by Pastebin.com - Download Raw - See Original
  1. <?php
  2. include("config.php");
  3. ?>
  4. <?php
  5. if($_GET[\'register\'])
  6. {
  7. include("daftar.php");
  8. exit;
  9. }
  10. ?>
  11. <?php
  12. if($_GET[\'register2\'])
  13. {
  14. include("daftar2.php");
  15. exit;
  16. }
  17. ?>
  18. <?php
  19. if($_GET[\'login\'])
  20. {
  21. include("login.php");
  22. exit;
  23. }
  24. ?>
  25. <style type="text/css">
  26. <!--
  27. .style1 {color: #FFFFFF}
  28. .style2 {color: #0000FF}
  29. -->
  30. </style>
  31. <p>
  32. <?php
  33. if($_GET[\'logout\'])
  34. {
  35. print "Anda telah berhasil logout !<p>";
  36. }
  37. ?>Welcome
  38. <?php
  39. $cookie_nama = $_COOKIE[\'nama\'];
  40. print "$cookie_nama";
  41. ?> [<a href="logout.php" class="style2">Logout</a>] </p>
  42. <p>Klik <a
  43. href="index.php?register=masukkan%20nama,email,dan%20password%20untuk%20daftar"
  44. class="style2">disini</a> untuk register </p>
  45. <form name="form1" method="post" action="index.php?login=success">
  46. <table width="400" border="0">
  47. <tr bgcolor="#999999">
  48. <td colspan="2"><span class="style1">Login</span></td>
  49. </tr>
  50. <tr bgcolor="#CCCCCC">
  51. <td>User : </td>
  52. <td><input name="user" type="text" id="user"></td>
  53. </tr>
  54. <tr bgcolor="#CCCCCC">
  55. <td>Password : </td>
  56. <td><input name="password" type="password" id="password"></td>
  57. </tr>
  58. <tr>
  59. <td colspan="2">&nbsp;</td>
  60. </tr>
  61. <tr>
  62. <td colspan="2"><input type="submit" name="Submit" value="Login !"
  63. style="background -color:#CCCCCC "></td>
  64. </tr>
  65. </table>
  66. </form>
  67. <p>&nbsp;</p>
  68. <?php mysql_close($connect); ?>
');