File: passwordreset.php

Recommend this page to a friend!
  Classes of Jules Warner  >  WICMS  >  passwordreset.php  >  Download  
File: passwordreset.php
Role: Example script
Content type: text/plain
Description: Example script
Class: WICMS
Database driven content management system with PDO
Author: By
Last change: WI CMS

I am in process of building up my own cms system, its not quiet complete
There are multiple PDO classes, database driven, in process of making an
installer package for it.
The back end is being built UI with drag and drop, for a simple set up
Date: 4 years ago
Size: 3,896 bytes



Class file image Download

include "ASEngine/AS.php";

if (! isset(
$_GET['k'])) {

$valid = app('validator')->prKeyValid($_GET['k']);
<!doctype html>
<html lang="en">
        <meta charset="UTF-8">
        <meta http-equiv="X-UA-Compatible" content="IE=edge">
        <meta name="viewport" content="width=device-width, initial-scale=1.0">
        <meta name="description" content="Advanced Security - PHP MySQL Register/Login System">
        <meta name="author" content="Milos Stojanovic">
        <title><?= trans('password_reset'); ?> | Advanced Security</title>

        <link rel='stylesheet' href='assets/css/bootstrap.min.css' type='text/css' media='all' />
        <link rel='stylesheet' href='ASLibrary/css/style3.css' type='text/css' media='all' />

        <script type="text/javascript" src="assets/js/jquery.min.js"></script>
        <script type="text/javascript" src="assets/js/bootstrap.min.js"></script>
        <script type="text/javascript" src="ASLibrary/js/js-bootstrap.php"></script>
        <div class="container">
            <div class="modal modal-visible" id="password-reset-modal">
                <div class="modal-dialog" >
                    <div class="modal-content">
                        <div class="modal-header">
                            <h3><?= WEBSITE_NAME; ?></h3>
                        <div class="modal-body">
                            <div class="well">
                                <?php if ($valid) : ?>
<form class="form-horizontal" id="password-reset-form">
                                            <div id="legend">
                                                <legend class=""><?= trans('password_reset'); ?></legend>

                                            <div class="control-group form-group">
                                                <label class="control-label col-lg-4" for="login-username">
                                                    <?= trans('new_password'); ?>
                                                <div class="controls col-lg-8">
                                                    <input type="password" id="password-reset-new-password"
                                                           class="input-xlarge form-control" />

                                            <div class="control-group form-group">
                                                <div class="controls col-lg-offset-4 col-lg-8">
                                                    <button id="btn-reset-pass" class="btn btn-success">
                                                        <?= trans('reset_password'); ?>
                                <?php else : ?>
<h5 class="text-error text-center"><?= trans('invalid_password_reset_key') ?></h5>
                                <?php endif; ?>

        <script type="text/javascript" src="assets/js/sha512.js"></script>
        <script type="text/javascript" src="ASLibrary/js/asengine.js"></script>
        <script type="text/javascript" src="ASLibrary/js/passwordreset.js"></script>


For more information send a message to info at phpclasses dot org.