Search This Blog

05 May 2018

SIMPLE SEARCH ENGINE


SIMPLE SEARCH ENGINE



<?php header("Cache-Control: no-cache, must-revalidate"); ?>
<html>
<head></head>
<style>
.seo {
    width: 40%;
    height: 4%;
    border-radius: 4px;
}
.sub {
    height: 5%;
    width: 12%;
    border-radius: 6px;
    background-color: #4683ea;
    color: white;
}
.clear-margin {
    margin: 0;
  }
  .space-top {
    margin-top: 10px;
  }
  .space-right {
    margin-right: 10px;
  }
  .icon-left {
    margin-right: 5px;
  }
  .icon-right {
    margin-left: 5px;
  }
  .labels {
    word-spacing: 5px;
    line-height: 2;
  }
  .label-keyword {
    display: inline-block;
    background: #7eb0db;
    color: white;
    font-size: 0.9em;
    padding: 5px;
    border: 1px solid #357ebd;
  }
  .link-disguise {
    color: inherit;
  }
  .link-disguise:hover {
    color: inherit;
  }
  @media (max-width: 992px) {
    .clear-margin-sm {
      margin-bottom: 0;
    }
  }
  body {
    font-family: 'Lato', "Helvetica Neue", Helvetica, Arial, sans-serif;
    background: #f0f0f0;
    color: #333333;
    font-size: 16px;
  }
  .text-bolder {
    font-weight: bold;
  }
  @media only screen {
    .container {
      max-width: 50em;
    }
  }
  @media (max-width: 480px) {
    ul {
      padding-left: 25px;
    }
    /*
          .mobile-title {
              display: inline-block;
              margin-left: 5px;
              font-weight: bold;
              text-transform: uppercase;
              vertical-align: middle;
          }
  */
    .background-details {
      display: block;
    }
    .background-details .icon {
      max-width: inherit;
      min-width: inherit;
      text-align: left;
    }
    .background-details .icon,
    .background-details .info {
      display: block;
      padding: 10px 0;
    }
    .background-details .title {
      display: none;
    }
    .card-nested {
      padding: 5px 0;
    }
  }
  .profile-card {
    display: table;
    width: 100%;
  }
  .profile-pic {
    display: table-cell;
    vertical-align: top;
    padding: 1rem 4rem 0 0 ;
  }
  .profile-pic img {
    width: 100px;
    height: 100px;
  }
  .contact-details {
    display: table-cell;
  }
  .contact-details .detail {
    display: inline-flex;
    line-height: 2;
    margin-right: -1rem;
  }
  .contact-details .detail .icon {
    padding-right: 7px;
    color: #888;
  }
  .contact-details .detail .info {
    font-size: 0.8em;
  }
  .social-links {
    line-height: 2.5;
  }
  .social-link {
    display: block;
  }
  .social-link span {
    display: inline-block;
    vertical-align: middle;
  }
  .social-link:hover,
  .social-link:focus {
    text-decoration: none;
  }
  .social-link .fa {
    text-align: center;
    width: 2em;
  }
  .fa-github {
    color: #454545;
  }
  .fa-github:hover,
  .fa-github:focus {
    text-decoration: none;
    color: #2b2b2b;
  }
  .fa-twitter {
    color: #33ccff;
  }
  .fa-twitter:hover,
  .fa-twitter:focus {
    text-decoration: none;
    color: #00bfff;
  }
  .fa-rss {
    color: #f36f24;
  }
  .fa-rss:hover,
  .fa-rss:focus {
    text-decoration: none;
    color: #d8560c;
  }
  .fa-linkedin {
    color: #007bb6;
  }
  .fa-linkedin:hover,
  .fa-linkedin:focus {
    text-decoration: none;
    color: #005983;
  }
  .fa-skype {
    color: #12a5f4;
  }
  .fa-skype:hover,
  .fa-skype:focus {
    text-decoration: none;
    color: #0986ca;
  }
  .fa-stack-overflow {
    color: #8e8e92;
  }
  .fa-stack-overflow:hover,
  .fa-stack-overflow:focus {
    text-decoration: none;
    color: #747479;
  }
  .fa-soundcloud {
    color: #e8822d;
  }
  .fa-soundcloud:hover,
  .fa-soundcloud:focus {
    text-decoration: none;
    color: #cc6916;
  }
  .fa-pinterest {
    color: #bd091f;
  }
  .fa-pinterest:hover,
  .fa-pinterest:focus {
    text-decoration: none;
    color: #8c0717;
  }
  .fa-vimeo {
    color: #17b3e8;
  }
  .fa-vimeo:hover,
  .fa-vimeo:focus {
    text-decoration: none;
    color: #128fba;
  }
  .fa-behance {
    color: #2c98cf;
  }
  .fa-behance:hover,
  .fa-behance:focus {
    text-decoration: none;
    color: #2379a5;
  }
  .fa-codepen {
    color: #1c1c1c;
  }
  .fa-codepen:hover,
  .fa-codepen:focus {
    text-decoration: none;
    color: #020202;
  }
  

</style>
<body>
<center>
<form method="post" action="" >
<input class="seo" type="text" name="s1"  autocomplete="off"  ><br>
<input class="sub" type="submit" name="s" value="search" ><br>

<a href="https://accounts.google.com/signin">SIGN IN</a>
</form>
</center>
</body>
</html>

<?php
clearstatcache();
header("Cache-Control: no-cache, must-revalidate");
session_start();
if(isset($_POST['s'])){
$url=$_POST['s1'];
$_SESSION['url']=$url;
$_SESSION['gle']="http://www.bing.com/search?q=".$_SESSION['url'];

}
?>

<?php
error_reporting(0);
 echo '<iframe width="1250"  height="1200" src="'.$_SESSION['gle'].'" ></iframe>';
 ?>


OUTPUT:










No comments:

Post a Comment

Jquery or Javascript Start Exam Time

 <script> function startTimer() {      var date = "<?php echo $date ?>"; // dynamic date      var time = "<?...