Not a member of Pastebin yet?
Sign Up,
it unlocks many cool features!
- <html id="all">
- <head>
- <link href="https://fonts.googleapis.com/css?family=Roboto+Mono:700&display=swap" rel="stylesheet">
- <script src="https://ajax.googleapis.com/ajax/libs/jquery/3.4.1/jquery.min.js"></script>
- <title>Martin Najemi</title>
- <meta name="description" content="The official website of Martin Najemi">
- <meta name="robots" content="index, follow" />
- <style>
- .bigbox {
- height: 800px;
- }
- .sendbutton {
- height: 50px;
- width: 300px;
- background-color: #666;
- border: 0;
- font-size: 120%;
- -webkit-appearance: none;
- }
- .sendbutton:hover {
- background-color: #555;
- }
- #rederror h1:empty {
- display: none;
- }
- .errorText {
- padding-top: 15px;
- }
- .rederror {
- background-color: red;
- min-height: 70px;
- height: 70px;
- }
- .rederror.panel-alert:empty {
- display: none;
- }
- #dropdown {
- left: -5px;
- display: inline-block;
- margin-left: 4%;
- }
- #dropdown-content {
- display: none;
- position: absolute;
- background-color: #f1f1f1;
- box-shadow: 0px 8px 16px 0px rgba(0,0,0,0.2);
- z-index: 1;
- margin-left: -20px;
- font-family: 'Roboto Mono', monospace;
- letter-spacing: 1px;
- }
- #dropdown-content a {
- color: black;
- display: block;
- cursor: pointer;
- }
- .p {
- cursor: pointer;
- padding: 5px 16px;
- color: black;
- text-decoration: none;
- text-transform: uppercase;
- font-size: 14px;
- }
- #dropdown:hover #dropdown-content {display: block;}
- #logo {
- left: 2%;
- position: absolute;
- top: 10px;
- }
- .header {
- padding: 30px;
- text-align: center;
- background: #333;
- color: white;
- font-size: 30px;
- }
- .container {
- width: 80%;
- margin: 0 auto;
- }
- header {
- background: #222;
- height: 65px;
- }
- header::after {
- content: '';
- display: table;
- clear: both;
- }
- nav {
- float: right;
- position: absolute;
- right: 10px;
- width: 550px;
- height: 200px;
- top: 0px;
- }
- nav ul {
- margin: 0;
- padding: 0;
- width: 100%;
- list-style: none;
- }
- nav li {
- display: inline-block;
- margin-left: 4%;
- padding-top: 23px;
- position: relative;
- }
- nav a {
- color: #fff;
- text-decoration: none;
- text-transform: uppercase;
- font-size: 14px;
- font-family: 'Roboto Mono', monospace;
- letter-spacing: 1px;
- }
- nav a::before {
- content: '';
- display: block;
- height: 5px;
- background-color: #fff;
- position: absolute;
- top: 0;
- width: 0%;
- transition: all ease-in-out 250ms;
- }
- nav a:hover::before { width: 100%; }
- section#footer{
- float: left;
- width: 100%;
- padding-top: 15px;
- padding-left: 10%;
- padding-right: 10%;
- background-color:#fff;
- font-size: 14px;
- color: black;
- }
- .common-Button {
- transform:translateX(-50%);
- position:absolute;
- cursor: pointer;
- opacity:1;
- white-space:nowrap;
- font-family: 'Oswald', sans-serif;
- display:inline-block;
- line-height:75px;
- padding:0 14px;
- -webkit-box-shadow:0 4px 6px rgba(50,50,93,.11),0 1px 3px rgba(0,0,0,.08);
- box-shadow:0 4px 6px rgba(50,50,93,.11),0 1px 3px rgba(0,0,0,.08);
- background:#fff;
- border-radius:4px;
- height: 75px;
- width: 300px;
- font-size:30px;
- text-transform:uppercase;
- letter-spacing:.025em;
- color:#6772e5;
- text-decoration:none;
- -webkit-transition:all .15s ease;
- transition:all .15s ease;
- text-align: center;
- -webkit-user-select: none; /* Safari */
- -moz-user-select: none; /* Firefox */
- -ms-user-select: none; /* IE10+/Edge */
- user-select: none; /* Standard */
- }
- .common-Button:focus {
- color:#7795f8;
- -webkit-box-shadow:0 13px 27px -5px rgba(50,50,93,.25),0 8px 16px -8px rgba(0,0,0,.3),0 -6px 16px -6px rgba(0,0,0,.025);
- box-shadow:0 13px 27px -5px rgba(50,50,93,.25),0 8px 16px -8px rgba(0,0,0,.3),0 -6px 16px -6px rgba(0,0,0,.025);
- -webkit-box-shadow:0 7px 14px rgba(50,50,93,.1),0 3px 6px rgba(0,0,0,.08);
- box-shadow:0 7px 14px rgba(50,50,93,.1),0 3px 6px rgba(0,0,0,.08);
- }
- .common-Button:hover {
- color:#7795f8;
- -webkit-box-shadow:0 13px 27px -5px rgba(50,50,93,.25),0 8px 16px -8px rgba(0,0,0,.3),0 -6px 16px -6px rgba(0,0,0,.025);
- box-shadow:0 13px 27px -5px rgba(50,50,93,.25),0 8px 16px -8px rgba(0,0,0,.3),0 -6px 16px -6px rgba(0,0,0,.025);
- -webkit-box-shadow:0 7px 14px rgba(50,50,93,.1),0 3px 6px rgba(0,0,0,.08);
- box-shadow:0 7px 14px rgba(50,50,93,.1),0 3px 6px rgba(0,0,0,.08);
- }
- .common-Button:active {
- color:#7795f8;
- -webkit-box-shadow:0 13px 27px -5px rgba(50,50,93,.25),0 8px 16px -8px rgba(0,0,0,.3),0 -6px 16px -6px rgba(0,0,0,.025);
- box-shadow:0 13px 27px -5px rgba(50,50,93,.25),0 8px 16px -8px rgba(0,0,0,.3),0 -6px 16px -6px rgba(0,0,0,.025);
- -webkit-box-shadow:0 7px 14px rgba(50,50,93,.1),0 3px 6px rgba(0,0,0,.08);
- box-shadow:0 7px 14px rgba(50,50,93,.1),0 3px 6px rgba(0,0,0,.08);
- }
- .fa {
- color: white;
- padding: 20px;
- font-size: 30px;
- width: 50px;
- text-align: center;
- text-decoration: none;
- margin: 5px 2px;
- }
- .fa:hover { opacity: 0.8; }
- .fa-facebook { background: #3B5998; }
- .fa-twitter { background: #55ACEE; }
- .fa-youtube { background: #bb0000; }
- .fa-instagram { background: #125688; }
- .fa-reddit { background: #ff5700; }
- .contentnotfill {
- position: absolute;
- bottom: 0px;
- }
- #page-container {
- position: relative;
- min-height: 100vh;
- }
- #content-wrap { padding-bottom: 5.6rem; }
- #footer {
- position: absolute;
- bottom: 0;
- width: 100%;
- height: 5.6rem; /* Footer height */
- }
- .hiddenbox {
- display: none;
- width: 50%;
- height: 50px;
- background-color: #0d0d0d;
- border-top: 0;
- border-bottom: 0;
- border-left: 0;
- border-right: 0;
- color: white;
- font-size: 15pt;
- line-height: 60%;
- }
- .box {
- width: 50%;
- height: 50px;
- background-color: #0d0d0d;
- border-top: 0;
- border-bottom: 0;
- border-left: 0;
- border-right: 0;
- color: white;
- font-size: 15pt;
- line-height: 60%;
- }
- .text {
- width: 100%;
- height: 50px;
- background-color: #0d0d0d;
- border-top: 0;
- border-bottom: 0;
- border-left: 0;
- border-right: 0;
- color: white;
- font-size: 15pt;
- padding-left: 10px;
- }
- #account:hover { cursor: pointer; }
- </style>
- <link rel="stylesheet" href="https://cdnjs.cloudflare.com/ajax/libs/font-awesome/4.7.0/css/font-awesome.min.css">
- <!--<link rel="stylesheet" href="http://fuckyourself.org.uk/css/style.css">-->
- <meta charset="utf-8">
- <link rel="stylesheet" href="https://unpkg.com/purecss@1.0.1/build/pure-min.css" integrity="sha384-oAOxQR6DkCoMliIh8yFnu25d7Eq/PHS21PClpwjOTeU2jRSq11vu66rf90/cZr47" crossorigin="anonymous">
- </head>
- <body style="background-color: #333;">
- <div id="content1" style="display: none;"><?php
- //THE LOGIN SCRIPT, WILL RETURN EXAMPLE@EXAMPLE.COM
- ?></div>
- <div id="page-container" style="background-color: #333;">
- <div id="content-wrap">
- <header>
- <div class="container">
- <br>
- <img alt="logo" src="http://<?php echo "$_SERVER[HTTP_HOST]"; ?>/logo/logo.png" align="left" id="logo" width="45">
- <nav>
- <ul>
- <li><a href="http://<?php echo "$_SERVER[HTTP_HOST]"; ?>" id="homebutton">Home</a></li>
- <li><a href="http://<?php echo "$_SERVER[HTTP_HOST]"; ?>/products/">Products</a></li>
- <li><a href="http://<?php echo "$_SERVER[HTTP_HOST]"; ?>/services/">Services</a></li>
- <div id="dropdown">
- <li><a href="http://<?php echo "$_SERVER[HTTP_HOST]"; ?>/network/">Network</a></li>
- <div id="dropdown-content">
- <p id="para1" class="p">YouTube</p>
- <p id="para2" class="p">Facebook</p>
- <p id="para3" class="p">Instagram</p>
- <p id="para4" class="p">Twitter</p>
- <p id="para5" class="p">Domains</p>
- <p id="para6" class="p">Music Distribution</p>
- </div>
- </div>
- <div id="dropdown">
- <li><a href="http://<?php echo "$_SERVER[HTTP_HOST]"; ?>/account/" id="account">Account</a></li>
- <div id="dropdown-content">
- <p id="para7" class="p">Register</p>
- <p id="para8" class="p">Sign In</p>
- <p id="para9" class="p">Sign Out</p>
- </div>
- </div>
- <li><a href="http://<?php echo "$_SERVER[HTTP_HOST]"; ?>/contact/">Contact</a></li>
- </ul>
- </nav>
- </div>
- </header>
- <div class="Header">
- <div id="rederror" class="rederror" style="display: block;" align="center">
- <h1 id="errorText" class="errorText" style="text-align: center; display: block;">
- <?php
- if(isset($_GET['success'])) { $success = $_GET['success']; } else { $success = "none"; }
- if(isset($_GET['reason'])) { $reason = $_GET['reason']; } else { $reason = "none"; }
- if (($success == "none")&&($reason == "none")){ echo "";
- }elseif (($reason == "none")&&(!$success == "none")) {
- if ($success == "0"){ echo "Your login returned an error"; }
- if ($success == "1"){ echo "Your login was successful"; }
- }elseif (($success == "none")&&($reason != "none")){ echo $reason; }
- ?>
- </h1>
- </div>
- <h1>Login</h1>
- <form method="post" action="changemail.php" autocomplete="off" style="text-align: left;">
- <br>
- <h3>Email Address:</h3>
- <div class="box">
- <input class="text" type="text" id="mailbox">
- </div>
- <br>
- <input type="submit" value="Save" class="sendbutton">
- <br><br>
- </form>
- </div>
- <script>
- var email = document.getElementById('content1').textContent;
- var register = document.getElementById("para7");
- var login = document.getElementById("para8");
- var logout = document.getElementById("para9");
- if (email !== "") {
- register.style.display = "none";
- login.style.display = "none";
- document.getElementById('mailbox').innerHTML = email;
- console.log("We are here")
- }else{ window.location.href = "../login/";logout.style.display = "none";}
- document.getElementById("logo").addEventListener("click",function(){document.getElementById("homebutton").click();});
- document.getElementById("account").addEventListener("click",function(){if(!email == ""){document.getElementById("accountbutton").click();}});
- </script>
- </div>
- <section id="footer" style="width: 80%; margin: 0 auto;" class="contentnotfill">
- <h3 align="center">Email : <a style="color: black" href="mailto:info@<?php echo "$_SERVER[HTTP_HOST]"; ?>"><?php echo "info@".str_replace("www.", "", $_SERVER["HTTP_HOST"]);?></a>
- <br>
- © 2019 All rights reserved
- <br>
- Martin Najemi
- </h3>
- </section>
- </div>
- <script>
- document.getElementById("para1").onclick = function(){location.href = "http://martinnaj.co.uk/network/youtube/"}
- document.getElementById("para2").onclick = function(){location.href = "http://martinnaj.co.uk/network/facebook/"}
- document.getElementById("para3").onclick = function(){location.href = "http://martinnaj.co.uk/network/instagram/"}
- document.getElementById("para4").onclick = function(){location.href = "http://martinnaj.co.uk/network/twitter/"}
- document.getElementById("para5").onclick = function(){location.href = "http://martinnaj.co.uk/network/domains/"}
- document.getElementById("para6").onclick = function(){location.href = "http://martinnaj.co.uk/network/music/"}
- document.getElementById("para7").onclick = function(){location.href = "http://martinnaj.co.uk/register/"}
- document.getElementById("para8").onclick = function(){location.href = "http://martinnaj.co.uk/login/"}
- document.getElementById("para9").onclick = function(){location.href = "http://martinnaj.co.uk/signout/"}
- </script>
- <script>
- function1();
- function function1() {
- var x = document.getElementById("errorText").innerText;
- if (x != "") {
- document.getElementById("errorText").style.display = "block";
- document.getElementById("rederror").style.display = "block";
- }
- else{
- document.getElementById("errorText").style.display = "none";
- document.getElementById("rederror").style.display = "none";
- }
- }
- </script>
- </body>
- </html>
Add Comment
Please, Sign In to add comment