Advertisement
Guest User

index

a guest
Aug 22nd, 2019
122
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
text 4.56 KB | None | 0 0
  1.  
  2. <!DOCTYPE html>
  3. <html>
  4. <head>
  5. <title>SYS Key</title>
  6.  
  7. <meta charset="utf-8">
  8. <link rel="canonical" href="https://getbootstrap.com/docs/4.3/examples/offcanvas/">
  9. <link href="https://getbootstrap.com/docs/4.3/dist/css/bootstrap.min.css" rel="stylesheet" integrity="sha384-ggOyR0iXCbMQv3Xipma34MD+dH/1fQ784/j6cY/iJTQUOhcWr7x9JvoRxT2MZw1T" crossorigin="anonymous">
  10. <link href="https://getbootstrap.com/docs/4.3/examples/offcanvas/offcanvas.css" rel="stylesheet">
  11. </head>
  12. <body class="bg-light">
  13. <nav class="navbar navbar-expand-lg fixed-top navbar-dark bg-dark">
  14. <a class="navbar-brand mr-auto mr-lg-0" href="#">SYS KEY</a>
  15. <button class="navbar-toggler p-0 border-0" type="button" data-toggle="offcanvas">
  16. <span class="navbar-toggler-icon"></span>
  17. </button>
  18.  
  19. <div class="navbar-collapse offcanvas-collapse" id="navbarsExampleDefault">
  20. <ul class="navbar-nav mr-auto">
  21. <li class="nav-item active">
  22. <a class="nav-link" href="#">Status<span class="sr-only">(Aberto)</span></a>
  23. </li>
  24. <li class="nav-item">
  25. <a class="nav-link" href="#">Gerador</a>
  26. </li>
  27. </ul>
  28. </div>
  29. </nav>
  30. <main role="main" class="container">
  31. <div class="d-flex align-items-center p-3 my-3 text-white-50 bg-purple rounded shadow-sm">
  32. <img class="mr-3" src="https://icon-library.net/images/money-icon-png/money-icon-png-1.jpg" alt="" width="48" height="48">
  33. <div class="lh-100">
  34. <h6 class="mb-0 text-white lh-100">Sistema de Keys</h6>
  35. <small>Since 2019</small>
  36. </div>
  37. </div>
  38.  
  39. <div class="my-3 p-3 bg-white rounded shadow-sm">
  40. <h6 class="border-bottom border-gray pb-2 mb-0">Ultimas Modificações:</h6>
  41. <div class="media text-muted pt-3">
  42. <svg class="bd-placeholder-img mr-2 rounded" width="32" height="32" xmlns="http://www.w3.org/2000/svg" preserveAspectRatio="xMidYMid slice" focusable="false" role="img" scr="https://png.pngtree.com/svg/20170728/admin_1246391.png" aria-label="Placeholder: 32x32"><title>Placeholder</title><rect width="100%" height="100%" fill="#007bff"/><text x="50%" y="50%" fill="#007bff" dy=".3em">32x32</text></svg>
  43. <p class="media-body pb-3 mb-0 small lh-125 border-bottom border-gray">
  44. <strong class="d-block text-gray-dark">@MK</strong>
  45. Conexão entre o gerador e o banco de dados concluida.
  46. </p>
  47. </div>
  48. </div>
  49.  
  50. <div class="my-3 p-3 bg-white rounded shadow-sm">
  51. <h6 class="border-bottom border-gray pb-2 mb-0">Ultimas Keys Adicionadas:</h6>
  52. <div class="media text-muted pt-3">
  53. <?php
  54. $cx = mysqli_connect("127.0.0.1", "root", "md5lucas");
  55. $db = mysqli_select_db($cx, "key_sys");
  56. $sql = mysqli_query($cx, "SELECT * FROM sistema") or die(
  57. mysqli_error($cx)
  58. );
  59. while($aux = mysqli_fetch_assoc($sql)) {
  60. echo "Key:" .$aux["key"]."<br />";
  61. }
  62. ?>
  63. </div>
  64. </div>
  65.  
  66.  
  67. <small class="d-block text-right mt-3">
  68. <a href="http://localhost/Key01/">Cadastrar Nova KEY</a>
  69. </small>
  70. </div>
  71. </main>
  72.  
  73. <main role="main" class="container">
  74. <div class="d-flex align-items-center p-3 my-3 text-white-50 bg-dark rounded shadow-sm">
  75. <img class="mr-3" src="https://www.freeiconspng.com/uploads/key-icon-32.png" alt="" width="48" height="48">
  76. <div class="lh-100">
  77. <h6 class="mb-0 text-black lh-100">Gerador Automatico</h6><br>
  78. <small><font color="white" face="aria-label"><?php $result = uniqid(); echo $result; ?></font></small>
  79. </div>
  80. </div>
  81.  
  82.  
  83. <div class="alert alert-danger" role="alert">
  84. <center>As KEY's são geradas automaticamente caso queira outra KEY basta aperta F5.</center>
  85. </div>
  86.  
  87.  
  88.  
  89.  
  90.  
  91.  
  92. <center>
  93. <font face="Livvic"><h1>Cadastro de Keys</h1></font>
  94. <br>
  95. <form method="POST" action="insere.inc">
  96. <pre>
  97.  
  98. <i class="fas fa-user"> <font face="Livvic"> Tipo: </font><input type="text" size="35" maxlength="256" name="tipo"></i><br>
  99. <i class="fas fa-key"> <font face="Livvic"> <br>Insera a Key: </font></i>
  100. <input name="key" cols="42" rows="2"></input>
  101.  
  102. <input class="fas fa-paper-plane" type="submit" value="Efetuar Cadastro" name="enviar">
  103. </pre>
  104. </form>
  105. </center>
  106.  
  107.  
  108. <link href='https://fonts.googleapis.com/css?family=Livvic' rel='stylesheet'>
  109.  
  110. </html>
  111.  
  112.  
  113.  
  114.  
  115.  
  116.  
  117.  
  118.  
  119. <style>
  120. .bd-placeholder-img {
  121. font-size: 1.125rem;
  122. text-anchor: middle;
  123. -webkit-user-select: none;
  124. -moz-user-select: none;
  125. -ms-user-select: none;
  126. user-select: none;
  127. }
  128.  
  129. @media (min-width: 768px) {
  130. .bd-placeholder-img-lg {
  131. font-size: 3.5rem;
  132. }
  133. }
  134. </style>
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement