HOME


Mini Shell 1.0
DIR: /home/islapiiu/sites/forbes/contact-form/img/
Upload File :
Current File : /home/islapiiu/sites/forbes/contact-form/img/reset-password.php.tar
home/islapiiu/sites/forbes/control-panel/reset-password.php000064400000011473150764212520020204 0ustar00<?php
include_once(dirname(__FILE__) . '/../class/include.php');

//if (Input::exists()) {
//    $validate = new Validator();
//    $validation = $validate->check($_POST, array('username' => array(
//    'name' => 'username',
//    'required' => true,
//    'min' => 2,
//    'max' => 20,
//    'unique' => 'user'),
//    'password' => array (
//    'required' => true,
//    'min' => 6),
//    ));
//    if ($validation->passed()) {
//        echo 'passed';
//    } else {
//        foreach ($validation ->errors() as $error){
//            echo $error, '<br>';
//        }
//    }
//}
?> 
<!DOCTYPE html>
<html> 
    <head>
        <meta charset="UTF-8">
        <meta content="width=device-width, initial-scale=1, maximum-scale=1, user-scalable=no" name="viewport">
        <title>Sign In | Sublime Web Manager</title>
        <!-- Favicon-->
        <link rel="icon" href="favicon.ico" type="image/x-icon">

        <!-- Google Fonts -->
        <link href="https://fonts.googleapis.com/css?family=Roboto:400,700&subset=latin,cyrillic-ext" rel="stylesheet" type="text/css">
        <link href="https://fonts.googleapis.com/icon?family=Material+Icons" rel="stylesheet" type="text/css">

        <!-- Bootstrap Core Css -->
        <link href="plugins/bootstrap/css/bootstrap.css" rel="stylesheet">

        <!-- Waves Effect Css -->
        <link href="plugins/node-waves/waves.css" rel="stylesheet" />

        <!-- Animation Css -->
        <link href="plugins/animate-css/animate.css" rel="stylesheet" />

        <!-- Custom Css -->
        <link href="css/style.css" rel="stylesheet">
    </head> 

    <body class="login-page">
        <div class="login-box">
            <div class="logo">
                <a href="javascript:void(0);">Web <b>Mananger</b></a>
                <small>Lorem ipsum dolor sit amet.</small>
            </div>
            <div class="card">
                <div class="body">
                    <?php
                    if (isset($_GET['message'])) {

                        $MESSAGE = New Message($_GET['message']);
                        ?>
                        <div class="alert alert-<?php echo $MESSAGE->status; ?>" role = "alert">
                            <?php echo $MESSAGE->description; ?>
                        </div>
                        <?php
                    }
                    ?>
                    <form id="sign_in" method="POST" action="post-and-get/change-password.php">

                        <div class="msg">Please check your email</div>
                        <div class="input-group">
                            <span class="input-group-addon">
                                <i class="material-icons">person</i>
                            </span>
                            <div class="form-line">
                                <input type="text" class="form-control" name="code" placeholder="Password Reset code"  autofocus>
                            </div>
                        </div>
                        <div class="input-group">
                            <span class="input-group-addon">
                                <i class="material-icons">lock</i>
                            </span>
                            <div class="form-line">
                                <input type="password" class="form-control" minlength="6" name="password" placeholder="New Password" required="true">
                            </div>
                        </div>

                        <div class="input-group">
                            <span class="input-group-addon">
                                <i class="material-icons">lock</i>
                            </span>
                            <div class="form-line">
                                <input type="password" class="form-control" minlength="6" name="confirmpassword" placeholder="Confirm your new Password" required="true">
                            </div>
                        </div>

                        <div class="row">

                            <div class="col-xs-4">
                                <button class="btn btn-block bg-pink waves-effect" name="PasswordReset" type="submit">SUBMIT</button>
                            </div>
                        </div>

                    </form>
                </div>
            </div>
        </div>

        <!-- Jquery Core Js -->
        <script src="plugins/jquery/jquery.min.js"></script>

        <!-- Bootstrap Core Js -->
        <script src="plugins/bootstrap/js/bootstrap.js"></script>

        <!-- Waves Effect Plugin Js -->
        <script src="plugins/node-waves/waves.js"></script>

        <!-- Validation Plugin Js -->
        <script src="plugins/jquery-validation/jquery.validate.js"></script>

        <!-- Custom Js -->
        <script src="js/admin.js"></script>
        <script src="js/pages/examples/sign-in.js"></script>
    </body>

</html>home/islapiiu/sites/forbes/control-panel/post-and-get/reset-password.php000064400000004357150767202450022515 0ustar00<?php

include_once(dirname(__FILE__) . '/../../class/include.php');


$USER = new User(NULL);

$email = $_POST['email'];

if (empty($email)) {
    header('Location: ../forget-password.php?message=11');
    exit();
}

if ($USER->checkEmail($email)) {

    if ($USER->GenarateCode($email)) {
        $res = $USER->SelectForgetUser($email);

        $username = $USER->username;
        $email = $USER->email;
        $resetcode = $USER->restCode;

        date_default_timezone_set('Asia/Colombo');

        $todayis = date("l, F j, Y, g:i a");

        $subject = 'Dashboard - Password Reset';
        $from = '[email protected]'; // give from email address


        $headers = "From: " . $from . "\r\n";
        $headers .= "Reply-To: " . $email . "\r\n";
        $headers .= "MIME-Version: 1.0\r\n";
        $headers .= "Content-Type: text/html; charset=ISO-8859-1\r\n";

        $html = "<table style='border:solid 1px #F0F0F0; font-size: 15px; font-family: sans-serif; padding: 0;'>";

        $html .= "<tr><th colspan='3' style='font-size: 18px; padding: 30px 25px 0 25px; color: #fff; text-align: center; background-color: #4184F3;'><h2>Sublime Holdings</h2> </th> </tr>";

        $html .= "<tr><td colspan='3' style='font-size: 16px; padding: 20px 25px 10px 25px; color: #333; text-align: left; background-color: #fff;'><h3>" . $subject . "</h3> </td> </tr>";

        $html .= "<tr><td colspan='3' style='font-size: 14px; padding: 5px 25px 10px 25px; color: #666; background-color: #fff; line-height: 25px;'><b>Password Reset Code: </b> " . $resetcode . "</td></tr>";

        $html .= "<tr><td colspan='3' style='font-size: 14px; padding: 0 25px 10px 25px; color: #666; background-color: #fff; '><b>Username: </b> " . $username . "</td></tr>";

        $html .= "<tr><td colspan='3' style='font-size: 14px; background-color: #FAFAFA; padding: 25px; color: #333; font-weight: 300; text-align: justify; '>Thank you</td></tr>";

        $html .= "</table>";

        if (mail($email, $subject, $html, $headers)) {
            header('Location: ../reset-password.php?message=12');
        } else {
            header('Location: ../reset-password.php?message=14');
        }
    }



    exit();
} else {
    header('Location: ../forget-password.php?message=13');
    exit();
}

home/islapiiu/sites/magnoliya/reset-password.php000064400000014712150767623410016135 0ustar00<!DOCTYPE html>
<?php
include './class/include.php';
if (!isset($_SESSION)) {
    session_start();
}

if (isset($_GET['member'])) {
    $return = 'member';
}
?>
<html lang="en">

    <head>
        <meta charset="UTF-8"/>
        <meta name="viewport" content="width=device-width, initial-scale=1.0">
        <link rel="shortcut icon" type="image/x-icon" href="assets/magnoliya logo.png"/>
        <link href="https://fonts.googleapis.com/css2?family=Manrope:wght@200;300;400;500;600;700;800&amp;display=swap" rel="stylesheet">
        <link href="https://fonts.googleapis.com/css2?family=Kaushan+Script&amp;display=swap" rel="stylesheet">
        <link rel="stylesheet" type="text/css" href="assets/css/bootstrap.min.css"/>
        <link rel="stylesheet" type="text/css" href="assets/css/animate.css"/>
        <link rel="stylesheet" type="text/css" href="assets/css/bootstrap.min.css"/>
        <link rel="stylesheet" type="text/css" href="assets/css/chosen.min.css"/>
        <link rel="stylesheet" type="text/css" href="assets/css/font-awesome.min.css"/>
        <link rel="stylesheet" type="text/css" href="assets/css/pe-icon-7-stroke.css"/>
        <link rel="stylesheet" type="text/css" href="assets/css/jquery.scrollbar.css"/>
        <link rel="stylesheet" type="text/css" href="assets/css/lightbox.min.css"/>
        <link rel="stylesheet" type="text/css" href="assets/css/magnific-popup.css"/>
        <link rel="stylesheet" type="text/css" href="assets/css/slick.min.css"/>
        <link rel="stylesheet" type="text/css" href="assets/fonts/flaticon.css"/>
        <link rel="stylesheet" type="text/css" href="assets/css/megamenu.css"/>
        <link rel="stylesheet" type="text/css" href="assets/css/dreaming-attribute.css"/>
        <link rel="stylesheet" type="text/css" href="assets/css/style.css"/>
        <link href="control-panel/plugins/sweetalert/sweetalert.css" rel="stylesheet" type="text/css" />
        <title>Magnoliya | Reset Password</title>
    </head>
    <body>

        <!-- Start Header -->
        <?php include './header.php'; ?>
        <!-- End Header -->

        <div class="banner-wrapper has_background">
            <img src="assets/images/banner-for-all2.jpg"
                 class="img-responsive attachment-1920x447 size-1920x447" alt="img">
            <div class="banner-wrapper-inner">
                <h1 class="page-title"> Reset Password</h1>
                <div role="navigation" aria-label="Breadcrumbs" class="breadcrumb-trail breadcrumbs">
                    <ul class="trail-items breadcrumb">
                        <li class="trail-item trail-begin"><a href="index.php"><span>Home</span></a></li>
                        <li class="trail-item trail-end active"><span> Reset Password</span>
                        </li>
                    </ul>
                </div>
            </div>
        </div>
        <main class="site-main  main-container no-sidebar">
            <div class="container">
                <div class="row">
                    <div class="main-content col-md-12">
                        <div class="page-main-content">
                            <div class="lynessa">
                                <div class="lynessa-notices-wrapper"></div>
                                <div class="u-columns col2-set" >
                                    <div class="u-column1">
                                        <h2> Reset Password</h2>
                                        <form class="register-form outer-top-xs" id="form-data" role="form">
                                            <div class="form-group">
                                                <label class="info-title" for="exampleInputEmail1">Reset Code <span>*</span></label>
                                                <input type="text" class="form-control unicase-form-control text-input" name="reset_code" id="reset_code">
                                            </div>
                                            <div class="form-group">
                                                <label class="info-title" for="exampleInputEmail1">New Password <span>*</span></label>
                                                <input type="password" class="form-control unicase-form-control text-input" name="password" id="password">
                                            </div>
                                            <div class="form-group">
                                                <label class="info-title" for="exampleInputEmail1">Re Enter Password <span>*</span></label>
                                                <input type="password" class="form-control unicase-form-control text-input" name="con_password" id="con_password">
                                            </div>
                                            <button type="button" class="login-btn-color btn-upper btn btn-primary checkout-page-button login-btn" id="submit">Reset</button>
                                        </form>
                                    </div>

                                </div>
                            </div>
                        </div>
                    </div>
                </div>
            </div>
        </main>

        <!-- Start Header -->
        <?php include './footer.php'; ?>
        <!-- End Header -->

      

        <a href="#" class="backtotop active">
            <i class="fa fa-angle-up"></i>
        </a>
        <script src="assets/js/jquery-1.12.4.min.js"></script>
        <script src="assets/js/bootstrap.min.js"></script>
        <script src="assets/js/chosen.min.js"></script>
        <script src="assets/js/countdown.min.js"></script>
        <script src="assets/js/jquery.scrollbar.min.js"></script>
        <script src="assets/js/lightbox.min.js"></script>
        <script src="assets/js/magnific-popup.min.js"></script>
        <script src="assets/js/slick.js"></script>
        <script src="assets/js/jquery.zoom.min.js"></script>
        <script src="assets/js/threesixty.min.js"></script>
        <script src="assets/js/jquery-ui.min.js"></script>
        <script src="assets/js/mobilemenu.js"></script>
        <script src="assets/js/functions.js"></script>
        <script src="control-panel/plugins/sweetalert/sweetalert.min.js" type="text/javascript"></script>
        <script src="js/add-to-cart.js" type="text/javascript"></script>
        <script src="js/reset-password.js" type="text/javascript"></script>
    </body>

</html>home/islapiiu/sites/faithlinkint/control-panel/reset-password.php000064400000011672150770362470021420 0ustar00<?php
include_once(dirname(__FILE__) . '/../class/include.php');

//if (Input::exists()) {
//    $validate = new Validator();
//    $validation = $validate->check($_POST, array('username' => array(
//    'name' => 'username',
//    'required' => true,
//    'min' => 2,
//    'max' => 20,
//    'unique' => 'user'),
//    'password' => array (
//    'required' => true,
//    'min' => 6),
//    ));
//    if ($validation->passed()) {
//        echo 'passed';
//    } else {
//        foreach ($validation ->errors() as $error){
//            echo $error, '<br>';
//        }
//    }
//}
?> 
<!DOCTYPE html>
<html> 
    <head>
        <meta charset="UTF-8">
        <meta content="width=device-width, initial-scale=1, maximum-scale=1, user-scalable=no" name="viewport">
        <title>Sign In | Sublime Web Manager</title>
        <!-- Favicon-->
        <link rel="icon" href="favicon.ico" type="image/x-icon">

        <!-- Google Fonts -->
        <link href="https://fonts.googleapis.com/css?family=Roboto:400,700&subset=latin,cyrillic-ext" rel="stylesheet" type="text/css">
        <link href="https://fonts.googleapis.com/icon?family=Material+Icons" rel="stylesheet" type="text/css">

        <!-- Bootstrap Core Css -->
        <link href="plugins/bootstrap/css/bootstrap.css" rel="stylesheet">

        <!-- Waves Effect Css -->
        <link href="plugins/node-waves/waves.css" rel="stylesheet" />

        <!-- Animation Css -->
        <link href="plugins/animate-css/animate.css" rel="stylesheet" />

        <!-- Custom Css -->
        <link href="css/style.css" rel="stylesheet">
    </head> 

    <body class="login-page">
        <div class="login-box">
            <div class="logo">
                <a href="javascript:void(0);">Web <b>Mananger</b></a>
                <small>Lorem ipsum dolor sit amet.</small>
            </div>
            <div class="card">
                <div class="body">
                    <?php
                    if (isset($_GET['message'])) {

                        $MESSAGE = New Message($_GET['message']);
                        ?>
                        <div class="alert alert-<?php echo $MESSAGE->status; ?>" role = "alert">
                            <?php echo $MESSAGE->description; ?>
                        </div>
                        <?php
                    }
                    ?>
                    <form id="sign_in" method="POST" action="post-and-get/change-password.php">

                        <div class="msg">Please check your email</div>
                        <div class="input-group">
                            <span class="input-group-addon">
                                <i class="material-icons">person</i>
                            </span>
                            <div class="form-line">
                                <input type="text" class="form-control" name="code" placeholder="Password Reset code"  autofocus>
                            </div>
                        </div>
                        <div class="input-group">
                            <span class="input-group-addon">
                                <i class="material-icons">lock</i>
                            </span>
                            <div class="form-line">
                                <input type="password" class="form-control" minlength="6" name="password" placeholder="New Password" required="true">
                            </div>
                        </div>

                        <div class="input-group">
                            <span class="input-group-addon">
                                <i class="material-icons">lock</i>
                            </span>
                            <div class="form-line">
                                <input type="password" class="form-control" minlength="6" name="confirmpassword" placeholder="Confirm your new Password" required="true">
                            </div>
                        </div>

                        <div class="row">

                            <div class="col-xs-4">
                                <button class="btn btn-block bg-pink waves-effect" name="PasswordReset" type="submit">SUBMIT</button>
                            </div>
                        </div>

                    </form>
                </div>
            </div>
        </div>

        <!-- Jquery Core Js -->
        <script src="plugins/jquery/jquery.min.js"></script>

        <!-- Bootstrap Core Js -->
        <script src="plugins/bootstrap/js/bootstrap.js"></script>

        <!-- Waves Effect Plugin Js -->
        <script src="plugins/node-waves/waves.js"></script>

        <!-- Validation Plugin Js -->
        <script src="plugins/jquery-validation/jquery.validate.js"></script>

        <!-- Custom Js -->
        <script src="js/admin.js"></script>
        <script src="js/pages/examples/sign-in.js"></script>
    </body>

</html>