Advertisement
Guest User

stronqa

a guest
Sep 25th, 2017
54
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
HTML 2.48 KB | None | 0 0
  1. <?php
  2.     session_start();
  3.     if(isset($_POST['login']))
  4.     {
  5.         $username = $_POST['username'];
  6.         $password = $_POST['password'];
  7.     }
  8. ?>
  9. <html>
  10.     <head>
  11.         <title></title>
  12.         <link href="https://fonts.googleapis.com/css?family=Asap+Condensed" rel="stylesheet">
  13.     </head>
  14.     <style type="text/css">
  15.         body{
  16.             font-family: 'Asap Condensed', sans-serif;
  17.         }
  18.         #MAIN{
  19.             width: 80%;
  20.             margin: 0 auto;
  21.         }
  22.         #HEADER{
  23.             height: 160px;
  24.             padding: 20px;
  25.             background-color: rgb(148, 72, 175);
  26.         }
  27.         #LOGIN_PANEL{
  28.             background-color: rgb(160, 110, 178);
  29.             padding: 5px;
  30.             text-align: right;
  31.         }
  32.         #MIDDLE{
  33.            
  34.         }
  35.         #LEFT{
  36.             float: left;
  37.             width: 30%;
  38.         }
  39.         #RIGHT{
  40.             float: left;
  41.             width: 70%;
  42.         }
  43.         #LEFT_IN{
  44.             padding: 20px;
  45.             background-color: rgb(180, 122, 201);
  46.             height: 300px;
  47.         }
  48.         #RIGHT_IN{
  49.             padding: 20px;
  50.             background-color: rgb(164, 110, 183);
  51.             height: 300px;
  52.         }
  53.         #FOOTER{
  54.             padding: 20px;
  55.             clear: both;
  56.             background-color: rgb(178, 127, 210);
  57.         }
  58.         .buttonx {
  59.             display: inline-block;
  60.             -webkit-box-sizing: content-box;
  61.             -moz-box-sizing: content-box;
  62.             box-sizing: content-box;
  63.             padding: 7px 15px;
  64.             border: 1px solid #b7b7b7;
  65.             -webkit-border-radius: 3px;
  66.             border-radius: 3px;
  67.             font-size: 11px;
  68.             color: rgba(0,142,198,1);
  69.             -o-text-overflow: clip;
  70.             text-overflow: clip;
  71.             -webkit-box-shadow: 2px 2px 2px 0 rgba(0,0,0,0.2) inset;
  72.             box-shadow: 2px 2px 2px 0 rgba(0,0,0,0.2) inset;
  73.             text-shadow: 1px 1px 0 rgba(255,255,255,0.66) ;
  74.             -webkit-transition: all 200ms cubic-bezier(0.42, 0, 0.58, 1);
  75.             -moz-transition: all 200ms cubic-bezier(0.42, 0, 0.58, 1);
  76.             -o-transition: all 200ms cubic-bezier(0.42, 0, 0.58, 1);
  77.             transition: all 200ms cubic-bezier(0.42, 0, 0.58, 1);
  78.         }
  79.     </style>
  80.     <body>
  81.         <div id="MAIN">
  82.             <div id="HEADER">
  83.                 <h1>NAGŁÓWEK</h1>
  84.             </div>
  85.             <div id="LOGIN_PANEL">
  86.                 <div id="PANEL">
  87.                 <form method="POST">
  88.                     <input type="text" name="username" placeholder="Username" class="buttonx">
  89.                     <input type="password" name="password" placeholder="Password" class="buttonx">
  90.                     <input type="submit" name="login" value="Login" class="buttonx">
  91.                 </form>
  92.                 </div>
  93.             </div>
  94.             <div id="MIDDLE">
  95.                 <div id="LEFT">
  96.                 <div id="LEFT_IN">
  97.                     <h2>LEWO</h2>
  98.                 </div>
  99.                 </div>
  100.                 <div id="RIGHT">
  101.                 <div id="RIGHT_IN">
  102.                     <h2>PRAWO</h2>
  103.                 </div>
  104.                 </div>
  105.             </div>
  106.             <div id="FOOTER">
  107.                 <h2>STOPKA</h2>
  108.             </div>
  109.         </div>
  110.     </body>
  111. </html>
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement