?> <form id="reset-password-form" action="lib/ajax/reset-password.php" method="post" > <input type="hidden" name="token" required="required" value="<?php echo $_GET["reset-password"]; ?> "> <input type="hidden" name="email" required="required" value="<?php echo $_GET["email"]; ?> "> <input class="hidden javascript-check" type="checkbox" name="javascript" value="1"> <?php FormElement::input(array('id' => "new-reset-password", 'name' => "new-reset-password", 'label' => Translate::string("reset_password.new_passoword_label"), 'placeholder' => Translate::string("reset_password.new_passoword_placeholder"), 'type' => "password", 'required' => true)); FormElement::input(array('id' => "confirm-reset-password", 'name' => "confirm-reset-password", 'label' => Translate::string("reset_password.new_passoword_confirm_label"), 'placeholder' => Translate::string("reset_password.new_passoword_confirm_placeholder"), 'type' => "password", 'required' => true)); ?> <button>Reset Password</button> </form> <?php $reset_password_modal_content = ob_get_contents(); ob_end_clean(); // end recording } else { $reset_password_modal_content = "<p>" . Translate::string("reset_password.expired_token") . "</p>"; } $reset_password_modal_id = "reset-password"; $reset_password_modal_title = Translate::string("reset_password.modal_title"); $reset_password_modal_footer = '<a href="#">' . Translate::string("reset_password.modal_footer") . '</a>'; // get the modal DocElement::modal($reset_password_modal_id, $reset_password_modal_title, $reset_password_modal_content, $reset_password_modal_footer); }
if (isset($_GET["title"])) { $title = $_GET["title"]; } if (isset($_GET["alert"])) { $message = $_GET["alert"]; } if (isset($_GET["footer"])) { $footer = $_GET["footer"]; } $alert_modal_id = "alert"; $alert_modal_content = "<p id='alert-paragraph'>" . Inspekt::noTags($message) . "</p>"; // $alert_modal_content = '<img src="http://maps.googleapis.com/maps/api/staticmap?center=56.1138608,10.1577942&zoom=13&size=300x300&sensor=false">'; $alert_modal_title = Inspekt::noTags($title); $alert_modal_footer = Inspekt::noTags($footer); // get the modal DocElement::modal($alert_modal_id, $alert_modal_title, $alert_modal_content, $alert_modal_footer); ?> <script src="lib/plugins/jquery.viewport.mini.js"></script> <script src="lib/plugins/jquery.event.drag-2.2/jquery.event.drag-2.2.js"></script> <script src="lib/js/javascript.js"></script> <script src="lib/js/form-elements.js"></script> <script src="lib/js/smart-search.js"></script> <script src="lib/js/jquery.easing.1.3.js"></script> <script src="lib/js/top-ads.js"></script> <script src="lib/js/expanded-view.js"></script> <script src="lib/js/sticky.js"></script> <script src="lib/js/upload-multiple-images.js"></script> <script src="lib/js/compare.js"></script> </body>
FormElement::input(array('id' => "business-register-password-confirm", 'placeholder' => Translate::string("register.placeholder_confirm_your_password"), 'name' => "confirm_password", 'class' => "one-liner", 'label' => Translate::string("register.label_confirm_password"), 'type' => "password", 'required' => true)); ?> <button type="submit"><?php echo Translate::string("register.button"); ?> </button> </form> <?php $register_modal_content = ob_get_contents(); ob_end_clean(); // end recording $register_modal_id = "register-modal"; $register_modal_title = Translate::string("register.modal_title"); $register_modal_footer = '<a href="?login">' . Translate::string("register.modal_footer") . '</a>'; // get the modal DocElement::modal($register_modal_id, $register_modal_title, $register_modal_content, $register_modal_footer); } ?> <section id="header"> <div class="container"> <a href="#" class="left" id="logo" style="position: relative;"> <img src="lib/images/elements/logo.svg" alt="finnplus logo image"> <span style="font-family: 'Lato', sans-serif; font-weight: 300; font-size: 1rem; position: absolute; left: 0; bottom: 2.2rem; color: #2b3990;" >New or Used</span> <span style="font-family: 'Lato', sans-serif; font-weight: 300; font-size: 1rem; position: absolute; right: 1.2rem; bottom: 2.2rem; color: #2b3990;" >Buy or Sell</span> </a> <div class="two-third right"> <div id="search-container"> <form id="search-form" action="main-search.php" method="GET" role="search"> <?php