Advertisement
Guest User

Untitled

a guest
Jun 25th, 2019
208
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
text 10.15 KB | None | 0 0
  1. <!DOCTYPE html>
  2.  
  3. <html lang="en">
  4.  
  5. <style>
  6.  
  7. .video-responsive{
  8.  
  9. overflow:hidden;
  10.  
  11. padding-bottom:56.25%;
  12.  
  13. position:relative;
  14.  
  15. height:0;
  16.  
  17. }
  18.  
  19. .video-responsive iframe{
  20.  
  21. left:0;
  22.  
  23. top:0;
  24.  
  25. height:100%;
  26.  
  27. width:100%;
  28.  
  29. position:absolute;
  30.  
  31. }
  32.  
  33. html {
  34.  
  35. scroll-behavior: smooth;
  36.  
  37. }
  38.  
  39. </style>
  40.  
  41. <head>
  42.  
  43. <meta charset="UTF-8">
  44.  
  45. <meta name="description" content="">
  46.  
  47. <meta http-equiv="X-UA-Compatible" content="IE=edge">
  48.  
  49. <meta name="viewport" content="width=device-width, initial-scale=1, shrink-to-fit=no">
  50.  
  51. <!-- The above 4 meta tags *must* come first in the head; any other head content must come *after* these tags -->
  52.  
  53.  
  54.  
  55. <!-- Title -->
  56.  
  57. <title>SAO RPG: PROJECT AUTOPSY</title>
  58.  
  59.  
  60.  
  61. <!-- Favicon -->
  62.  
  63. <link rel="icon" href="img/core-img/favicon.ico">
  64.  
  65.  
  66.  
  67. <!-- Core Stylesheet -->
  68.  
  69. <link rel="stylesheet" href="style.css">
  70.  
  71.  
  72.  
  73. </head>
  74.  
  75.  
  76.  
  77. <body>
  78.  
  79. <!-- ##### Preloader ##### -->
  80.  
  81.  
  82.  
  83.  
  84.  
  85. <!-- ##### Header Area Start ##### -->
  86.  
  87. <header class="header-area">
  88.  
  89. <!-- Navbar Area -->
  90.  
  91. <div class="musica-main-menu">
  92.  
  93. <div class="classy-nav-container breakpoint-off">
  94.  
  95. <div class="container-fluid">
  96.  
  97. <!-- Menu -->
  98.  
  99. <nav class="classy-navbar justify-content-between" id="musicaNav">
  100.  
  101.  
  102.  
  103. <!-- Nav brand -->
  104.  
  105. <a href="index.html" class="nav-brand"><img src="img/core-img/logo.png" alt=""></a>
  106.  
  107.  
  108.  
  109. <!-- Navbar Toggler -->
  110.  
  111. <div class="classy-navbar-toggler">
  112.  
  113. <span class="navbarToggler"><span></span><span></span><span></span></span>
  114.  
  115. </div>
  116.  
  117.  
  118.  
  119. <!-- Menu -->
  120.  
  121. <div class="classy-menu">
  122.  
  123.  
  124.  
  125. <!-- close btn -->
  126.  
  127. <div class="classycloseIcon">
  128.  
  129. <div class="cross-wrap"><span class="top"></span><span class="bottom"></span></div>
  130.  
  131. </div>
  132.  
  133.  
  134.  
  135. <!-- Nav Start -->
  136.  
  137. <div class="classynav">
  138.  
  139. <ul>
  140.  
  141. <li><a href="index.html#główna">Strona Sieci</a></li>
  142.  
  143. <li><a href="index.html#główna">Główna</a></li>
  144.  
  145. <li><a href="index.html#why">O serwerze</a></li>
  146.  
  147. <li><a href="index.html#how">Jak dołączyć?</a></li>
  148.  
  149. <li><a href="index.html#trailer">Zwiastun</a></li>
  150.  
  151. </ul>
  152.  
  153.  
  154.  
  155. <!-- Social Button -->
  156.  
  157. <div class="top-social-info">
  158.  
  159. <a href="https://www.facebook.com/Zew-Online-2567334010162447/"><i class="fa fa-facebook" aria-hidden="true"></i></a>
  160.  
  161. </div>
  162.  
  163.  
  164.  
  165. </div>
  166.  
  167. <!-- Nav End -->
  168.  
  169. </div>
  170.  
  171. </nav>
  172.  
  173. </div>
  174.  
  175. </div>
  176.  
  177. </div>
  178.  
  179. </header>
  180.  
  181. <!-- ##### Header Area End ##### -->
  182.  
  183.  
  184.  
  185. <!-- ##### Breadcumb Area Start ##### -->
  186.  
  187. <div class="breadcumb-area bg-img bg-overlay2" style="background-image: url(img/bg-img/breadcumb4.jpg);">
  188.  
  189. <div class="bradcumbContent">
  190.  
  191. <h2>Stwórz kartę postaci</h2>
  192.  
  193. </div>
  194.  
  195. </div>
  196.  
  197. <!-- bg gradients -->
  198.  
  199. <div class="bg-gradients"></div>
  200.  
  201. <!-- ##### Breadcumb Area End ##### -->
  202.  
  203.  
  204.  
  205. <!-- ##### Contact Area Start ##### -->
  206.  
  207. <section class="contact-area mt-30 section-padding-100-0">
  208.  
  209. <div class="container2">
  210.  
  211. <center>
  212.  
  213. <div class="row2">
  214.  
  215.  
  216.  
  217. <div class="col-12 col-lg-6">
  218.  
  219. <div class="contact-content mb-100">
  220.  
  221. <p>Jeśli tutaj jesteś, a nie dołączyłeś jeszcze na serwer discord, zrób to najpierw ze <a href="index.html">strony głównej</a>. Aby stworzyć swoją kartę postaci musisz najpierw uzyskać token, który otrzymasz wpisując komendę <b>/token</b> po weryfikacji na serwerze. <br><font color="red"><b>Pamiętaj, że kartę postaci możesz wysłać tylko raz, więc poprawki nie będą już dozwolone! Uważaj na to, co piszesz!</b></font><br>Po wysłaniu karty postaci, sprawdź jej status wpisując komendę <b>/kp status</b> na serwerze.</p>
  222.  
  223. <!-- Contact Form Area -->
  224.  
  225. <div class="contact-form-area">
  226.  
  227. <form id="form1" name="form1" method="post" action="">
  228.  
  229. <div class="form-group">
  230.  
  231. <input type="text" class="form-control" id="name" name="name" maxlength="1024" placeholder="Imię postaci (koniecznie jeden wyraz!)" required>
  232.  
  233. </div>
  234.  
  235. <div class="form-group">
  236.  
  237. <input type="text" class="form-control" id="surname" name="surname" maxlength="1024" placeholder="Inne imiona (niekoniecznie) i nazwisko postaci" required>
  238.  
  239. </div>
  240.  
  241. <div class="form-group">
  242.  
  243. <input type="number" class="form-control" id="age" name="age" maxlength="1024" placeholder="Wiek postaci" required>
  244.  
  245. </div>
  246.  
  247. <div class="form-group">
  248.  
  249. <select class="form-control" name="sex" id="sex" placeholder="Płeć postaci" required>
  250.  
  251. <option value="Kobieta">Kobieta</option>
  252.  
  253. <option value="Mężczyzna">Mężczyzna</option>
  254.  
  255. </select>
  256.  
  257. </div>
  258.  
  259. <div class="form-group">
  260.  
  261. <input type="number" class="form-control" id="height" name="height" maxlength="1024" placeholder="Wzrost postaci [w cm]" required>
  262.  
  263. </div>
  264.  
  265. <div class="form-group">
  266.  
  267. <input type="number" class="form-control" id="weight" name="weight" maxlength="1024" placeholder="Waga postaci [w kg]" required>
  268.  
  269. </div>
  270.  
  271. <div class="form-group">
  272.  
  273. <textarea name="look" class="form-control" id="look" cols="30" rows="10" maxlength="1024" placeholder="Wygląd postaci (dozwolone formatowanie: jak na discordzie) [LIMIT 1024 ZNAKÓW]" required></textarea>
  274.  
  275. </div>
  276.  
  277. <div class="form-group">
  278.  
  279. <textarea name="personality" class="form-control" id="personality" cols="30" rows="10" maxlength="1024" placeholder="Osobowość postaci (dozwolone formatowanie: jak na discordzie) [LIMIT 1024 ZNAKÓW]" required></textarea>
  280.  
  281. </div>
  282.  
  283. <div class="form-group">
  284.  
  285. <textarea name="history" class="form-control" id="history" cols="30" rows="10" maxlength="1024" placeholder="Historia postaci (dozwolone formatowanie: jak na discordzie) [LIMIT 1024 ZNAKÓW]" required></textarea>
  286.  
  287. </div>
  288.  
  289. <div class="form-group">
  290.  
  291. <input type="text" class="form-control" id="img" name="img" maxlength="1024" placeholder="Adres url obrazka (opcjonalne)">
  292.  
  293. </div>
  294.  
  295.  
  296. <div class="form-group">
  297.  
  298. <input type="text" class="form-control" id="token" name="token" placeholder="Token" required>
  299.  
  300. </div>
  301.  
  302.  
  303.  
  304. <button class="btn musica-btn mt-30" type="submit" name="submit" value="Submit" id="submit_form" >wyślij</button>
  305. <?php
  306. if(isset($_GET['submit']))
  307. {
  308. echo "Udało się!";
  309. }
  310. ?>
  311. <div class="response_msg"></div>
  312.  
  313. </form>
  314.  
  315.  
  316.  
  317. </div>
  318.  
  319. </div>
  320.  
  321. </div>
  322.  
  323.  
  324.  
  325. </div>
  326.  
  327. </div>
  328.  
  329. </section></center>
  330.  
  331. <!-- ##### Contact Area End ##### -->
  332.  
  333.  
  334.  
  335.  
  336.  
  337. <!-- ##### Footer Area Start ##### -->
  338.  
  339.  
  340.  
  341. <!-- ##### All Javascript Script ##### -->
  342.  
  343. <!-- jQuery-2.2.4 js -->
  344.  
  345. <script src="js/jquery/jquery-2.2.4.min.js"></script>
  346.  
  347. <!-- Popper js -->
  348.  
  349. <script src="js/bootstrap/popper.min.js"></script>
  350.  
  351. <!-- Bootstrap js -->
  352.  
  353. <script src="js/bootstrap/bootstrap.min.js"></script>
  354.  
  355. <!-- All Plugins js -->
  356.  
  357. <script src="js/plugins/plugins.js"></script>
  358.  
  359. <!-- Active js -->
  360.  
  361. <script src="js/active.js"></script>
  362.  
  363. <script src="http://ajax.googleapis.com/ajax/libs/jquery/1.11.2/jquery.min.js"></script>
  364.  
  365. <script>
  366.  
  367. $(document).ready(function(){
  368.  
  369. $("#form1").on("submit",function(e){
  370.  
  371. e.preventDefault();
  372.  
  373. if($("#form1 [name='your_name']").val() === '')
  374.  
  375. {
  376.  
  377. $("#form1 [name='your_name']").css("border","1px solid red");
  378.  
  379. }
  380.  
  381. else if ($("#form1 [name='your_email']").val() === '')
  382.  
  383. {
  384.  
  385. $("#form1 [name='your_email']").css("border","1px solid red");
  386.  
  387. }
  388.  
  389. else
  390.  
  391. {
  392.  
  393. $("#loading-img").css("display","block");
  394.  
  395. var sendData = $( this ).serialize();
  396.  
  397. $.ajax({
  398.  
  399. type: "POST",
  400.  
  401. url: "sendnij.php",
  402.  
  403. data: sendData,
  404.  
  405. success: function(data){
  406.  
  407. $("#loading-img").css("display","none");
  408.  
  409. $(".response_msg").text(data);
  410.  
  411.  
  412. }
  413.  
  414. });
  415.  
  416. }
  417.  
  418. });
  419.  
  420. $("#form1 input").blur(function(){
  421.  
  422. var checkValue = $(this).val();
  423.  
  424. if(checkValue != '')
  425.  
  426. {
  427.  
  428. $(this).css("border","1px solid #eeeeee");
  429.  
  430. }
  431.  
  432. });
  433.  
  434. });
  435.  
  436. </script>
  437.  
  438. </body>
  439.  
  440.  
  441.  
  442.  
  443.  
  444. </html>
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement