Guest User

probemm

a guest
Feb 15th, 2017
41
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
  1. <!DOCTYPE html>
  2. <html xmlns="http://www.w3.org/1999/xhtml">
  3.  
  4.  
  5.         <meta http-equiv="content-type" content="text/html;charset=utf-8" />
  6. <head><meta name='robots' content='noindex, nofollow'>
  7.         <title>
  8. Rejestracja - Peace  Craft</title>
  9.         <meta charset="UTF-8">
  10.         <meta name="viewport" content="width=device-width, maximum-scale=1"/>
  11. <link rel="stylesheet" type="text/css" href="http://edit.www.imcreator.com/get_css?v=1.3.9d" />
  12.  
  13.    
  14.         <link rel="icon" type="image/png" href="icon.png" />
  15.         <link rel="apple-touch-icon" href="icon.png" />
  16.    
  17.         <link rel="stylesheet" type="text/css" href="http://edit.www.imcreator.com/css/lib/font-awesome.min.css?v=1.3.9d" />
  18.     <link id="vbid-644e29c7-lok1anrm-STRIPE_DATA" rel="stylesheet" type="text/css"  href="http://edit.www.imcreator.com/stripe_data_css?page_id=vbid-644e29c7-lok1anrm-STRIPE_DATA&amp;v=1.3.9d">
  19.    
  20.         <link id="vbid-5d106-mnjgca2p-STRIPE_DATA" rel="stylesheet" type="text/css"  href="http://edit.www.imcreator.com/stripe_data_css?page_id=vbid-5d106-mnjgca2p-STRIPE_DATA&amp;v=1.3.9d">
  21.    
  22.     <link rel="stylesheet" type="text/css" href="http://edit.www.imcreator.com/css/fonts.css?v=1.3.9d" />
  23.         <link rel="stylesheet" type="text/css" href="http://edit.www.imcreator.com/css/effects.css?v=1.3.9d" />
  24.         <link rel="stylesheet" type="text/css" href="http://edit.www.imcreator.com/css/lightbox.css?v=1.3.9d">
  25.    
  26.     <link rel="stylesheet" type="text/css" href="http://edit.www.imcreator.com/css/previewhelper.css?v=1.3.9d">
  27.     <link rel="stylesheet" type="text/css" href="http://edit.www.imcreator.com/css/spimeview.css?v=1.3.9d">
  28.    
  29.     <link id="vbid-644e29c7-lok1anrm-STATIC_STYLE" rel="stylesheet" type="text/css" href="http://edit.www.imcreator.com/static_style?v=1.3.9d&amp;vbid=vbid-644e29c7-lok1anrm&amp;caller=static">
  30.         <script src="http://edit.www.imcreator.com/js/lib/jquery/jquery-2.1.0.min.js" type="text/javascript"></script>
  31.         <script src="https://maps.googleapis.com/maps/api/js?key=AIzaSyByWRZWFbQRxJM7SiNz2NURPDPJPqTtBQQ" type="text/javascript"></script>
  32.        
  33.         <script src="http://edit.www.imcreator.com/js/xprs_helper.js?v=1.3.9d" type="text/javascript"></script>
  34.        
  35. <script src="https://imos004-dot-im--os.appspot.com/js/imos.js?v=1.3.9d" type="text/javascript"></script>
  36.  
  37.         <script type="text/javascript" src="http://edit.www.imcreator.com/get_js?v=1.3.9d"></script>
  38.         <script src="http://edit.www.imcreator.com/js/lib/touchswipe/jquery.mobile.custom.min.js"></script>
  39.         <script type="text/javascript">IMOS.pageView();</script>
  40.        
  41.    
  42.    
  43.         <script src="http://edit.www.imcreator.com/js/preview_helper.js?v=1.3.9d"  type="text/javascript"></script>
  44.     <script>
  45.         var currentDomain =  window.location.host;
  46.         if (currentDomain != "imxprs.com" && currentDomain != "localhost:7000"){
  47.             var _gaq = _gaq || [];
  48.             _gaq.push(['_setAccount', 'UA-58695071-1']);
  49.             _gaq.push(['_setDomainName', currentDomain]);
  50.             _gaq.push(['_setAllowLinker', true]);
  51.             _gaq.push(['_trackPageview']);
  52.         }
  53.     </script>
  54.         <script>
  55.        
  56.          var LABEL_CONFIG = {};
  57.          
  58.         </script><script src="https://www.youtube.com/iframe_api"></script>
  59.         <link rel="stylesheet" href="http://edit.www.imcreator.com/css/common.css?v=1.3.9d">
  60.        
  61.         </head>
  62.  
  63.     <body class="fast-animated-bg fixed-bg " data-ecommerce-solution="NONE" data-root-id="vbid-5d106-mnjgca2p" data-root-style-id="style-5d106-y0mmpnia" data-default-currency="USD" data-osid="osid--495185d7-7b4b4480"  data-app-version="1.3.9d" data-caller="static"  data-ecommerce-dashboard="http://dashboard.shoprocket.co" data-static-server="//edit.www.imcreator.com" data-imos-server="https://imos004-dot-im--os.appspot.com">
  64.    
  65.         <div id="xprs" data-website-name="Peace  Craft" class="xprs-holder" >
  66.             <div class="main-page "   >
  67.                 <div id="content">
  68.                     <div  id="vbid-644e29c7-lok1anrm"  class="master container style-644e29c7-dzebo07f content stripes scroll-effects scroll_effect3 website-style " data-itemtype="folder" data-creator="" data-itemname="Rejestracja"  data-itemslug="rejestracja" data-itemstyleid="style-644e29c7-dzebo07f" data-margintop="" data-arranger="stripes" data-layout="menu" data-vbid="vbid-644e29c7-lok1anrm" data-preset-type-id="ITEMS" data-preview-style="style-644e29c7-dzebo07f" data-style="style-5a24e-kzdyurm3ju" data-absolute-path="/free/ferigone" >
  69.     <div class="arranger-settings" style="display:none;"
  70.         data-ARRANGER_TYPE="stripes"
  71.         data-ARRANGER_COLS="0"
  72.         data-ARRANGER_ITEM_MAX_WIDTH="400"
  73.         data-ARRANGER_ITEM_MIN_WIDTH="230"
  74.         data-ARRANGER_ITEM_RATIO="1"
  75.         data-ARRANGER_ITEM_SPACING="20"
  76.         data-ARRANGER_ITEMS_PER_PAGE="all"
  77.         data-ARRANGER_ORDER_TYPE="regular"
  78.         data-AUTO_PLAY="false"
  79.         data-AUTO_PLAY_DURATION="4"
  80.         data-FLEX_ELEMENT_EFFECT=""
  81.     ></div>
  82.     <div class="layout-settings" style="display:none;" data-type="menu"></div>
  83.     <div id="children">
  84.         <div  id="vbid-5d106-bzdx3aj9"  class="master item-box  header-box style-5d106-kfta8jzo injected   button-effects btn_hover4      " data-holder-type="header"" data-holder-type="header"  data-child-type="ORIGIN"  data-styleid="style-5d106-kfta8jzo" data-preview-styleid='style-5d106-kfta8jzo' data-preset-type-id="MENUS">
  85.             <div id="no-image" class="stripe-background load-high-res " ></div>
  86.             <div class="header-wrapper item-wrapper menus-wrapper ">
  87.                    
  88.                     <div class="item-content leaf menu_layout header content" data-preview-style="style-5d106-kfta8jzo" data-style="style-7f715-scjjarqgxu"  data-behavior-type="NOTHING" data-orig-thumb-height="" data-orig-thumb-width="" data-vbid="vbid-5d106-bzdx3aj9" data-bgimg="">
  89. <div class="preview-content-wrapper">
  90. <div class="preview-content-holder">
  91.     <div class="left-div">
  92.     <div class="benet" style="min-height:inherit;"></div>
  93.     <div class="logo-holder">
  94. <div class="element-placeholder" data-elementtype='ICON' style="display:none;"></div>
  95.  
  96.     </div>
  97.     <div class="helper-div">
  98.         <div class="item-details menu">
  99. <div class="element-placeholder" data-elementtype='TITLE' style="display:none;"></div>
  100. <div class="element-placeholder" data-elementtype='SUBTITLE' style="display:none;"></div>
  101.  
  102.         </div>
  103.         </div>
  104.     </div>
  105.         <div class="right-div">
  106.             <div class="benet" style="min-height:inherit;"></div>
  107.             <div class="preview-item-links ">
  108. <ul class="preview-links-wrapper">
  109.  
  110.  
  111.    
  112.        
  113.         <li class="removable-parent">
  114.        
  115.             <a class="removable-parent" href="index.html" data-link-type="EXISTING"   target="_self" >
  116.        
  117.             <span id="vbid-5d106-voeehabn"  class="preview-element Link item-link magic-circle-holder text-element custom" data-menu-name="PREVIEW_LINK" >Home</span>
  118.             </a>
  119.    
  120.         </li>
  121.  
  122.    
  123.        
  124.         <li class="removable-parent">
  125.        
  126.             <a class="removable-parent" href="aktualnosci.html" data-link-type="EXISTING"   target="_self" >
  127.        
  128.             <span id="acb4e77f"  class="preview-element Link item-link magic-circle-holder text-element custom" data-menu-name="PREVIEW_LINK" >Aktualności</span>
  129.             </a>
  130.    
  131.         </li>
  132.  
  133.    
  134.        
  135.         <li class="removable-parent">
  136.        
  137.             <a class="removable-parent" href="lista-modow.html" data-link-type="EXISTING"   target="_self" >
  138.        
  139.             <span id="vbid-5d106-byspeajh"  class="preview-element Link item-link magic-circle-holder text-element custom" data-menu-name="PREVIEW_LINK" >Lista Modów</span>
  140.             </a>
  141.    
  142.         </li>
  143.  
  144.    
  145.        
  146.         <li class="removable-parent">
  147.        
  148.             <a class="removable-parent" href="kontakt.html" data-link-type="EXISTING"   target="_self" >
  149.        
  150.             <span id="a29508f5"  class="preview-element Link item-link magic-circle-holder text-element custom" data-menu-name="PREVIEW_LINK" >Kontakt</span>
  151.             </a>
  152.    
  153.         </li>
  154.  
  155.    
  156.        
  157.         <li class="removable-parent">
  158.        
  159.             <a class="removable-parent" href="login.html" data-link-type="EXISTING"   target="_self" >
  160.        
  161.             <span id="7e8098b4"  class="preview-element Link item-link magic-circle-holder text-element custom" data-menu-name="PREVIEW_LINK" >Logowanie</span>
  162.             </a>
  163.    
  164.         </li>
  165.  
  166.    
  167.        
  168.         <li class="removable-parent">
  169.        
  170.             <a class="removable-parent" href="rejestracja.html" data-link-type="EXISTING"   target="_self" >
  171.        
  172.             <span id="c6b9dc27"  class="preview-element Link item-link magic-circle-holder text-element custom" data-menu-name="PREVIEW_LINK" >Rejestracja</span>
  173.             </a>
  174.    
  175.         </li>
  176.  
  177.  
  178. <div class="element-placeholder" data-elementtype='LINK' style="display:none;"></div>
  179.    
  180.     </ul>
  181. </div>
  182.            
  183.            
  184.             <button class="hamburger links-menu-btn  small" type="button">
  185.                 <span class="hamburger-box">
  186.                  <span class="hamburger-inner"></span>
  187.                 </span>
  188.             </button>
  189.            
  190.        
  191.            
  192.         </div>
  193.     </div>
  194. </div>
  195.     <div class="layout-settings" style="display:none;" data-type="menu"
  196.         data-MENU_OVERLAY="relative"
  197.         data-MENU_SCROLL="false"
  198.         data-ALWAYS_MINIFIED="false"
  199.         data-MENU_POSITION="top"
  200.         data-MENU_ALIGN="left"
  201.         data-BACKGROUND_COLOR="rgb(255, 255, 255)"
  202.     ></div>
  203. </div>
  204.                    
  205.             </div>
  206.         </div>
  207.     </div>
  208. </div>
  209.                 </div>
  210.             </div>
  211.         <div class="light-box-wrapper  space-layer" style="display:none;">
  212.     <div class="light-box-image-holder">
  213.         <div class="light-box-image animated">
  214.            
  215.         </div>
  216.         <div class="lightbox-text-wrapper ">
  217.             <div class="lightbox-text-holder animated">
  218.                 <div class="lightbox-title"></div>
  219.                 <div class="lightbox-subtitle"></div>
  220.                 <div id="paginator" style="display:none;">
  221.                 </div>
  222.             </div>
  223.         </div>
  224.     </div>
  225.         <img src="http://edit.www.imcreator.com/images/ui_icons/download.png" class="download-gallery-btn clickable" style="display: none;">
  226.         <img src="http://edit.www.imcreator.com/images/ui_icons/delete_on.png" class="close-lightbox-btn clickable" style="opacity: 1;">
  227.         <img src="http://edit.www.imcreator.com/images/ui_icons/lightbox_arrow_left.png" class="lightbox-arrow lightbox-left clickable top-layer" >
  228.         <img src="http://edit.www.imcreator.com/images/ui_icons/lightbox_arrow_right.png" class="lightbox-arrow lightbox-right clickable top-layer" >
  229. </div>
  230.  
  231.     </div>
  232.     <script src="http://edit.www.imcreator.com/js/lightbox.js?v=1.3.9d"  type="text/javascript"></script>
  233.     <script src="http://edit.www.imcreator.com/js/spimeengine.js?v=1.3.9d"  type="text/javascript"></script>
  234.     <script>
  235.         var JSR = jQuery.noConflict();
  236.         var $ = jQuery.noConflict();
  237.     </script>      
  238.    
  239.     <input type="hidden" name="sr-companyid" id="sr-companyid" value="">
  240.    
  241.    
  242.    
  243.    
  244.    
  245.    
  246.    
  247. <title>Rejestracja</title>
  248. <meta name="viewport" content="width=device-width, initial-scale=1">
  249. <meta http-equiv="Content-Type" content="text/html; charset=utf-8" />
  250. <script type="application/x-javascript"> addEventListener("load", function() { setTimeout(hideURLbar, 0); }, false); function hideURLbar(){ window.scrollTo(0,1); } </script>
  251. <link href="css/style.css" rel="stylesheet" type="text/css" media="all" />
  252. <link href='//fonts.googleapis.com/css?family=Open+Sans:400,300,600,700,800' rel='stylesheet' type='text/css'>
  253. </head>
  254. <body>
  255.  
  256.     <form method="post" action="index.html">
  257.     <div class="w3layouts-main">
  258.         <div class="agilesign-form">  
  259.             <div class="agileits-top">
  260.                 <form action="#" method="post">
  261.                     <div class="styled-input w3ls-text">
  262.                         <input type="text" name="user_name" required=""/>
  263.                         <label>Login</label>
  264.                         <span></span>
  265.                     </div>
  266.                     <div class="styled-input w3ls-text">
  267.                         <input type="text" name="email" required=""/>
  268.                         <label>Email</label>
  269.                         <span></span>
  270.                     </div>
  271.                     <div class="styled-input w3ls-text">
  272.                         <input type="password" name="password" required="">
  273.                         <label>Hasło</label>
  274.                         <span></span>
  275.                     </div>
  276.                     <div class="styled-input w3ls-text">
  277.                         <input type="password" name="password" required="">
  278.                         <label>Powtórz hasło</label>
  279.                         <span></span>
  280.                     </div>
  281.                     <div class="wthree-text">
  282.                     <div class="agileits-bottom">
  283.                         <input type="submit" value="Zarejestruj">
  284.                     </div> 
  285.                 </form>
  286.             </div>
  287.         </div> 
  288.     </div>
  289.      
  290. </body>
  291. </html>
  292.  
  293.  
  294.     <?php
  295.         $servername = "host";
  296.         $username = "username";
  297.         $password = "pass";
  298.         $dbname = "nameDB";
  299.  
  300.         // Create connection
  301.         $conn = new mysqli($servername, $username, $password, $dbname);
  302.         // Check connection
  303.         if ($conn->connect_error) {
  304.             die("Connection failed: " . $conn->connect_error);
  305.         }
  306.  
  307.         $sql = "INSERT INTO user_cache (user_name, password, email)
  308.         VALUES ('$login', '$email', '$haslo')";
  309.  
  310.        
  311.         if ($conn->query($sql) === TRUE) {
  312.             echo "  ";
  313.         } else {
  314.             echo "Error: " . $sql . "<br>" . $conn->error;
  315.         }
  316.    
  317.         $conn->close();
  318.  
  319.     ?>
Add Comment
Please, Sign In to add comment