Advertisement
Guest User

Untitled

a guest
May 30th, 2018
182
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
text 11.06 KB | None | 0 0
  1. <!DOCTYPE html>
  2. <html>
  3. <head>
  4. <link rel="stylesheet" href="https://use.fontawesome.com/releases/v5.0.13/css/all.css" integrity="sha384-DNOHZ68U8hZfKXOrtjWvjxusGo9WQnrNx2sqG0tfsghAvtVlRW3tvkXWZh58N9jp" crossorigin="anonymous">
  5. <meta name="viewport" content="width=device-width, initial-scale=1">
  6. <script
  7. src="https://code.jquery.com/jquery-3.3.1.js"
  8. integrity="sha256-2Kok7MbOyxpgUVvAk/HJ2jigOSYS2auK4Pfzbm7uH60="
  9. crossorigin="anonymous"></script>
  10. <style>
  11. body {
  12. background-size: cover;
  13. }
  14.  
  15. h1{
  16. color: #8ee537;
  17. font-size: 50px;
  18. float:left;
  19. margin-top: 90px;
  20. }
  21. #hasani{
  22. float:left;
  23. margin-bottom: 100px;
  24.  
  25. }
  26.  
  27. #bekimi{
  28. width: 80%;
  29. float: left;
  30. margin-bottom: 150px;
  31. }
  32.  
  33. .style-two {
  34. border: 0;
  35. height: 1px;
  36. background-image: linear-gradient(to right, rgba(0, 0, 0, 0), rgba(0, 0, 0, 0.75), rgba(0, 0, 0, 0));
  37. }
  38. .milion{
  39. border:solid;
  40. width: 530px;
  41. height: 350px;
  42. float:left;
  43. text-align: center;
  44. padding-left: 10px;
  45. margin-bottom: 600px;
  46. }
  47. .bilion{
  48. border:solid;
  49. width: 530px;
  50. height: 350px;
  51. float:left;
  52. text-align: center;
  53. padding-left: 10px;
  54. margin-bottom: 600px;
  55. }
  56. .beqa{
  57. width: 100%;
  58. height: 200px;
  59.  
  60. }
  61.  
  62. .loni{
  63. width: 150px;
  64. width-left:150px;
  65. }
  66. .hasani{
  67. border:solid;
  68. border-color: black;
  69. height: 300px;
  70. }
  71. .lluni{
  72. width: 100%;
  73. height: 300px;
  74. }
  75.  
  76. img{
  77. margin-bottom: 0px;
  78. }
  79. p {
  80. border:solid;
  81. border-color: white;
  82. width:70%;
  83. height: 250px;
  84. margin-top: 50px;
  85. color:black;
  86.  
  87.  
  88. }
  89. .scrollbutton {
  90. background-color:transparent;
  91. border: none;
  92. font-size: 20px;
  93.  
  94.  
  95.  
  96. }
  97. #scrolldiv{
  98. height: 700px;
  99. width: 400px;
  100. background-color: #bdbfc1;
  101. overflow:hidden;
  102. display:inline-block;
  103. border-bottom-right-radius: 50px;
  104. border-top-left-radius: 50px;
  105. text-align: center;
  106. margin-left: 70%;
  107.  
  108.  
  109. }
  110. div{
  111.  
  112. border:solid;
  113. border-color: transparent;
  114. background-color: #edf0f4;
  115. }
  116.  
  117. #myTopnav{
  118. width:74%;
  119. float:left;
  120. margin-top: 90px;
  121. background-color: black;
  122. }
  123. #id{
  124. margin-top: 150px;
  125.  
  126.  
  127. }
  128.  
  129. .topnav {
  130. overflow: hidden;
  131. background-color:grey;
  132. }
  133.  
  134. .topnav a {
  135. float:left;
  136. display: block;
  137. color: #f2f2f2;
  138. text-align: center;
  139. padding: 15px 28px;
  140. text-decoration: none;
  141. font-size: 20px;
  142. }
  143.  
  144. .topnav a:hover {
  145. background-color: #ddd;
  146. color: black;
  147. }
  148.  
  149. .active {
  150. background-color: #4CAF50;
  151. color: white;
  152. }
  153.  
  154. .topnav .icon {
  155. display: none;
  156. }
  157.  
  158. @media screen and (max-width: 600px) {
  159. .topnav a:not(:first-child) {display: none;}
  160. .topnav a.icon {
  161. float: right;
  162. display: block;
  163. }
  164. }
  165.  
  166. @media screen and (max-width: 600px) {
  167. .topnav.responsive {position: relative;}
  168. .topnav.responsive .icon {
  169. position: absolute;
  170. right: 0;
  171. top: 0;
  172. }
  173. .topnav.responsive a {
  174. float: none;
  175. display: block;
  176. text-align: left;
  177. }
  178. }
  179. </style>
  180. </head>
  181. <body background="https://vignette.wikia.nocookie.net/particracy/images/1/17/Flag_of_Miktar.png/revision/latest?cb=20150731204048">
  182.  
  183. <label id="search" style=" padding-left: 80% ; color:white"> Search :
  184. <input style=" background-color: #343638 " id="search" type="search" placeholder="Search">
  185.  
  186.  
  187.  
  188. <div class="topnav" id="myTopnav">
  189. <a href="#home" id="home" onclick="show();" class="active">Starsette</a>
  190. <a href="#contact">link-1</a>
  191. <a href="#about">link_2</a>
  192. <a href="#about">link_3</a>
  193. <a href="#about">link_4</a>
  194. <a href="#about">link_5</a>
  195. <a href="javascript:void(0);" style="font-size:25px;" class="icon" onclick="myFunction()">&#9776;</a>
  196. </div>
  197.  
  198. <h1> SUNDOX.DE</h1>
  199. <div id="id" style="display: none;"/>
  200. <input type="email" placeholder="email" required ><br>
  201. <input type="password" placeholder="password" required ><br>
  202. <input class="submit" type="submit" >
  203. <button >submit</button>
  204.  
  205. <div class="hasani">
  206. <img class="lluni" src="https://www.windowscentral.com/sites/wpcentral.com/files/styles/xlarge/public/field/image/2016/06/xpbliss_7.jpg?itok=RDRuJObj">
  207. </div>
  208.  
  209. <div id="bekimi">
  210. <h4 style="float:left;color:black;">Loren Ipsam</h4>
  211. <h4 style="margin-left: 50%; float:left;color:black;">babababababa</h4>
  212. <p > <img class="loni" src="https://stepupandlive.files.wordpress.com/2014/09/3d-animated-frog-image.jpg">
  213. Beef ribs jerky brisket kevin swine, buffalo landjaeger fatback porchetta. Turducken andouille cow ribeye, drumstick turkey landjaeger short loin tri-tip corned beef cupim meatball. Shoulder corned beef pastrami burgdoggen shank pork chop biltong ball tip cow boudin jowl andouille jerky meatball. Chuck ham hock landjaeger, pancetta frankfurter pork belly venison filet mignon kielbasa tail leberkas brisket swine boudin fatback. Pancetta ball tip tail, bresaola kevin venison fatback filet mignon ribeye salami shank short loin ham hock corned beef tenderloin. Meatloaf beef ribs tongue, short ribs turkey hamburger strip steak pork chop.
  214. Swine pork loin bresaola short ribs flank andouille. Kielbasa sirloin brisket, pork chop turkey ribeye bacon ground round drumstick tail swine andouille rump. Burgdoggen beef ribs alcatra ham boudin. Short loin spare ribs bacon cow. Prosciutto alcatra jowl pastrami. Pork loin pig andouille cupim ham tongue. </div>
  215.  
  216. <div id="scrolldiv" >
  217.  
  218. <h3 style=" padding-left: 170px; color:black;">TItull</h3>
  219. <img style="width:250px; height: 150px;" src="https://images.pexels.com/photos/248797/pexels-photo-248797.jpeg?auto=compress&cs=tinysrgb&h=350">
  220. <h4 style="color:black;"> bresaola kevin venison fatback filet mignon ribeye salami shank short loin ham hock corned beef tenderloin. Meatloaf beef ribs</h4>
  221. <img style="width:250px; height: 150px;" src="https://encrypted-tbn0.gstatic.com/images?q=tbn:ANd9GcR--wdwKyp4bQqRKv1DoImPR_Uaowg3aiYSd1K0luWcfIMg5xOegg">
  222. <h4 style="color:black;">Short loin spare ribs bacon cow. Prosciutto alcatra jowl pastrami. Pork loin pig andouille cupim ham tongueShort loin spare ribs bacon cow. Prosciutto alcatra jowl pastrami. Pork loin pig andouille cupim ham tongue</h4>
  223. <img style="width:250px; height: 150px;" src="https://encrypted-tbn0.gstatic.com/images?q=tbn:ANd9GcR--wdwKyp4bQqRKv1DoImPR_Uaowg3aiYSd1K0luWcfIMg5xOegg">
  224. <h4 style="color:black;">Short loin spare ribs bacon cow. Prosciutto alcatra jowl pastrami. Pork loin pig andouille cupim ham tongueShort loin spare ribs bacon cow. Prosciutto alcatra jowl pastrami. Pork loin pig andouille cupim ham tongue</h4>
  225. <img style="width:250px; height: 150px;" src="https://images.pexels.com/photos/248797/pexels-photo-248797.jpeg?auto=compress&cs=tinysrgb&h=350">
  226. <h4 style="color:black;"> bresaola kevin venison fatback filet mignon ribeye salami shank short loin ham hock corned beef tenderloin. Meatloaf beef ribs</h4>
  227. </div>
  228. <div style="display: inline-block;">
  229. <button class="scrollbutton" onmousedown="scrollDOWN()"><i class="fas fa-chevron-up"></i></button><br/>
  230. <button class="scrollbutton" onmousedown="scrollUP();"><i class="fas fa-chevron-down"></i></button>
  231. </div>
  232.  
  233. <script>
  234. function scrollUP(){
  235. document.getElementById("scrolldiv").scrollTop += 20;
  236. }
  237. function scrollDOWN(){
  238. document.getElementById("scrolldiv").scrollTop -= 20;
  239. }
  240. </script>
  241. <div id="one">
  242. <div class="milion">
  243. <h4 style=" color:black;">TItulll</h4>
  244. <a href="https://baconipsum.com/?paras=5&type=all-meat&start-with-lorem=1">Pork loin pig andouille cupim ham tongue</a><br/>
  245. <a href="https://baconipsum.com/?paras=5&type=all-meat&start-with-lorem=1">Pork loin pig andouille cupim ham tongue</a><br/>
  246. <a href="https://baconipsum.com/?paras=5&type=all-meat&start-with-lorem=1">Pork loin pig andouille cupim ham tongue</a><br/>
  247. <a href="https://baconipsum.com/?paras=5&type=all-meat&start-with-lorem=1">Pork loin pig andouille cupim ham tongue</a><br/>
  248. <a href="https://baconipsum.com/?paras=5&type=all-meat&start-with-lorem=1">Pork loin pig andouille cupim ham tongue</a><br/>
  249. <hr class="style-two"></hr>
  250. <h4 style=" color:black;">TItulll</h4>
  251. <a href="https://baconipsum.com/?paras=5&type=all-meat&start-with-lorem=1">Pork loin pig andouille cupim ham tongue</a><br/>
  252. <a href="https://baconipsum.com/?paras=5&type=all-meat&start-with-lorem=1">Pork loin pig andouille cupim ham tongue</a><br/>
  253. <a href="https://baconipsum.com/?paras=5&type=all-meat&start-with-lorem=1">Pork loin pig andouille cupim ham tongue</a><br/>
  254. <a href="https://baconipsum.com/?paras=5&type=all-meat&start-with-lorem=1">Pork loin pig andouille cupim ham tongue</a><br/>
  255. <a href="https://baconipsum.com/?paras=5&type=all-meat&start-with-lorem=1">Pork loin pig andouille cupim ham tongue</a><br/>
  256. </div>
  257. <div class="bilion">
  258. <h4 style=" color:black;">TItulll</h4>
  259. <a href="https://baconipsum.com/?paras=5&type=all-meat&start-with-lorem=1">Pork loin pig andouille cupim ham tongue</a><br/>
  260. <a href="https://baconipsum.com/?paras=5&type=all-meat&start-with-lorem=1">Pork loin pig andouille cupim ham tongue</a><br/>
  261. <a href="https://baconipsum.com/?paras=5&type=all-meat&start-with-lorem=1">Pork loin pig andouille cupim ham tongue</a><br/>
  262. <a href="https://baconipsum.com/?paras=5&type=all-meat&start-with-lorem=1">Pork loin pig andouille cupim ham tongue</a><br/>
  263. <a href="https://baconipsum.com/?paras=5&type=all-meat&start-with-lorem=1">Pork loin pig andouille cupim ham tongue</a><br/>
  264. <hr class="style-two"></hr>
  265. <h4 style=" color:black;">TItulll</h4>
  266. <a href="https://baconipsum.com/?paras=5&type=all-meat&start-with-lorem=1">Pork loin pig andouille cupim ham tongue</a><br/>
  267. <a href="https://baconipsum.com/?paras=5&type=all-meat&start-with-lorem=1">Pork loin pig andouille cupim ham tongue</a><br/>
  268. <a href="https://baconipsum.com/?paras=5&type=all-meat&start-with-lorem=1">Pork loin pig andouille cupim ham tongue</a><br/>
  269. <a href="https://baconipsum.com/?paras=5&type=all-meat&start-with-lorem=1">Pork loin pig andouille cupim ham tongue</a><br/>
  270. <a href="https://baconipsum.com/?paras=5&type=all-meat&start-with-lorem=1">Pork loin pig andouille cupim ham tongue</a><br/>
  271.  
  272. </div>
  273. </div>
  274.  
  275. <script>
  276. function show(){
  277.  
  278. $("#id").css("display", "block");
  279. }
  280. function myFunction() {
  281. var x = document.getElementById("myTopnav");
  282. if (x.className === "topnav") {
  283. x.className += " responsive";
  284. } else {
  285. x.className = "topnav";
  286. }
  287. }
  288.  
  289. function scrollWin() {
  290. window.scrollBy(100, 0);
  291. }
  292.  
  293. </script>
  294. </div>
  295. DATA BAZ PREJ QIU E TEPOSHT
  296. <?php
  297.  
  298. $servername = "localhost";
  299. $username = "username";
  300. $password = "password";
  301. $dbname= "bekimhasani"
  302.  
  303.  
  304. $conn = new mysqli($servername, $username, $password, $dbname);
  305.  
  306. if ($conn->connect_error) {
  307. die("Connection failed: " . $conn->connect_error);
  308. }
  309.  
  310.  
  311. $sql = "CREATE TABLE MyGuests (
  312. id INT(6) UNSIGNED AUTO_INCREMENT PRIMARY KEY,
  313. firstname VARCHAR(30) NOT NULL,
  314. lastname VARCHAR(30) NOT NULL,
  315. email VARCHAR(50),
  316. reg_date TIMESTAMP
  317. )";
  318.  
  319. if ($conn->query($sql) === TRUE) {
  320. echo "Table MyGuests created successfully";
  321. } else {
  322. echo "Error creating table: " . $conn->error;
  323. }
  324.  
  325. $conn->close();
  326. ?>
  327. </body>
  328. </html>
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement