RevCMS Validator - LMAO

LeChris

github.com/habbo-hotel
Sep 30, 2013
2,725
1,307
PHP:
<html lang="en"><head>
  <meta charset="UTF-8">
  <link rel="shortcut icon" type="image/x-icon" href="https://production-assets.codepen.io/assets/favicon/favicon-8ea04875e70c4b0bb41da869e81236e54394d63638a1ef12fa558a4a835f1164.ico">
  <link rel="mask-icon" type="" href="https://production-assets.codepen.io/assets/favicon/logo-pin-f2d2b6d2c61838f7e76325261b7195c27224080bc099486ddd6dccb469b8e8e6.svg" color="#111">
  <title>RevCMS Validator</title>
  <link rel="stylesheet" href="https://cdnjs.cloudflare.com/ajax/libs/meyer-reset/2.0/reset.min.css">
  <link rel="stylesheet prefetch" href="https://fonts.googleapis.com/css?family=Open+Sans:400,300,600,700,800">
  <link rel="stylesheet prefetch" href="https://maxcdn.bootstrapcdn.com/font-awesome/4.2.0/css/font-awesome.min.css">
  <style>
    body {
    background: #f2f2f2;
    font-size: 14px;
    font-family: 'Open Sans', sans-serif;
    line-height: 1;
    -webkit-font-smoothing: antialiased;
    -moz-osx-font-smoothing: grayscale;
    }
    .container {
    display: block;
    max-width: 480px;
    margin: 40px auto;
    }
    .modal {
    background: #FFF;
    -webkit-border-radius: 3px;
    -webkit-background-clip: padding-box;
    -moz-border-radius: 3px;
    -moz-background-clip: padding;
    border-radius: 3px;
    background-clip: padding-box;
    overflow: hidden;
    }
    .modal .form .form-row {
    display: -webkit-box;
    display: -ms-flexbox;
    display: flex;
    -webkit-box-direction: normal;
    -webkit-box-orient: horizontal;
    -ms-flex-direction: row;
    flex-direction: row;
    margin: 0 0 30px;
    }
    .modal .form .form-row:last-child {
    margin: 0;
    }
    .modal .form .form-row:last-child .input-group {
    width: 75%;
    margin: 0 15px 0 0;
    }
    .modal .form .form-row:last-child .input-group:last-child {
    width: 25%;
    margin: 0 0 0 15px;
    }
    .modal .form .input-group {
    width: 100%;
    }
    .modal .form label {
    display: block;
    width: 100%;
    margin: 0 0 10px;
    color: #00A6EA;
    font-size: 12px;
    font-weight: 700;
    letter-spacing: 1px;
    text-transform: uppercase;
    }
    .modal .form input {
    outline: none;
    display: block;
    background: rgba(0, 0, 0, 0.1);
    width: 100%;
    margin: 0;
    border: 0;
    -webkit-border-radius: 3px;
    -webkit-background-clip: padding-box;
    -moz-border-radius: 3px;
    -moz-background-clip: padding;
    border-radius: 3px;
    background-clip: padding-box;
    padding: 15px;
    color: #999;
    font-size: 12px;
    font-weight: 700;
    -webkit-box-sizing: border-box;
    box-sizing: border-box;
    }
    .modal .header {
    background: #00A6EA;
    padding: 30px;
    text-align: center;
    }
    .modal .header h1 {
    margin: 0 0 15px;
    color: #FFF;
    font-size: 14px;
    font-weight: 700;
    letter-spacing: 1px;
    text-transform: uppercase;
    }
    .modal .header .card-type {
    display: -webkit-box;
    display: -ms-flexbox;
    display: flex;
    -webkit-box-direction: normal;
    -webkit-box-orient: horizontal;
    -ms-flex-direction: row;
    flex-direction: row;
    -ms-flex-wrap: wrap;
    flex-wrap: wrap;
    }
    .modal .header .card-type .card {
    position: relative;
    width: 25%;
    min-width: 54px;
    text-align: center;
    -webkit-transition: 0.3s ease;
    transition: 0.3s ease;
    -webkit-filter: grayscale(100%);
    -moz-filter: grayscale(100%);
    -ms-filter: grayscale(100%);
    filter: grayscale(100%);
    }
    .modal .header .card-type .card.active {
    -webkit-filter: grayscale(0);
    -moz-filter: grayscale(0);
    -ms-filter: grayscale(0);
    filter: grayscale(0);
    }
    .modal .header .card-type .card.active:after {
    display: block;
    bottom: -30px;
    }
    .modal .header .card-type .card:after {
    content: '';
    position: absolute;
    bottom: -60px;
    left: 50%;
    margin: 0 0 0 -10px;
    border-right: 10px solid transparent;
    border-left: 10px solid transparent;
    border-bottom: 10px solid #FFF;
    -webkit-transition: 0.3s ease;
    transition: 0.3s ease;
    }
    .modal .header .card-type .card img {
    display: inline-block;
    }
    .modal .header .card-type li {
    display: inline-block;
    margin: 0 10px;
    }
    .modal .content {
    padding: 30px;
    }
    .modal .footer .button {
    outline: none;
    display: block;
    background: #E39C14;
    width: 100%;
    border: 0;
    padding: 20px 30px;
    color: #FFF;
    font-weight: 700;
    letter-spacing: 1px;
    text-transform: uppercase;
    cursor: pointer;
    }
    .info {
    width: 300px;
    margin: 50px auto;
    text-align: center;
    }
    .info h1 {
    margin: 0 0 15px;
    padding: 0;
    font-size: 24px;
    font-weight: 400;
    color: #333;
    }
    .info span {
    color: #666;
    font-size: 12px;
    }
    .info span a {
    color: #000;
    text-decoration: none;
    }
    .info span .fa {
    color: #00A6EA;
    }
    lesshat-selector {
    -lh-property: 0; }
    @-webkit-keyframes active{ 0%{ bottom: -60px; opacity: 0; } 100%{ bottom: -30px; opacity: 1 }}
    @keyframes active{ 0%{ bottom: -60px; opacity: 0; } 100%{ bottom: -30px; opacity: 1 }}
    [not-existing] {
    zoom: 1;
    }
    .remember {
      position: fixed;
      bottom: 2%;
      left: 2%;
    }
  </style>
</head>

<?php if (!isset($_POST["link"])) { ?>
<body>
  <div class="container">
    <div class="info">
      <h1>RevCMS Validation</h1>
      <span></span>
    </div>
    <form class="modal" method="post">
      <header class="header">
        <h1>License Check</h1>
        <p>This tool will identify if this hotel is running a legitimate and safe version of our software.</p>
      </header>
      <div class="content">
        <div class="form" style="display: block;">
          <div class="form-row" style="width:100%;">
            <div class="input-group" style="width:100%;">
              <label>Website Link</label>
              <input name="link" style="width:100%;">
            </div>
          </div>
        </div>
      </div>
      <footer class="footer">
        <button class="button">Show Results</button>
      </footer>
    </form>
  </div>
  <div class="remember">
    <a href="/ideas.php">Safe Development Ideas</a>
  </div>
 </body>
<?php } else { ?>
  <body>
    <div class="container">
      <div class="info">
        <h1>RevCMS Validation</h1>
        <span></span>
      </div>
      <form class="modal" method="post">
        <header class="header">
          <h1>License Check</h1>
          <p>This tool will identify if this hotel is running a legitimate and safe version of our software.</p>
        </header>
        <div class="content">
          <div class="form" style="display: block;">
            <div class="form-row" style="width:100%;">
              <div class="input-group" style="width:100%;">
                <label>Website Link</label>
                <input name="link" style="width:100%;" value="<?php echo $_POST["link"]; ?>" disabled="">
              </div>
            </div>
          </div>
        </div>
        <footer class="footer">
          <button class="button" style="background:#b71c1c;">Unsecure Version Detected</button>
        </footer>
      </form>
    </div>
    <div class="remember">
      <a href="/ideas.php">Safe Development Ideas</a>
    </div>
   </body>
<?php } ?>
</html>
always returns 'unsecure' because fuck rev
 
You must be registered for see images attach
 

GageDodd

Member
Sep 30, 2014
225
57
Created A Live View Of This For You anyways besides that great job
 

Users who are viewing this thread

Top