Esempio n. 1
0
<?php

require_once 'templates/header.php';
if (!empty($_POST)) {
    try {
        $user_obj = new Cl_User();
        $data = $user_obj->account($_POST);
        if ($data) {
            $_SESSION['success'] = PASSOWRD_CHANAGE_SUCCESS;
        }
    } catch (Exception $e) {
        $_SESSION['error'] = $e->getMessage();
    }
}
?>
<!DOCTYPE html>
<html lang="en">
        <head>
            <meta charset="utf-8">
            <meta http-equiv="X-UA-Compatible" content="IE=edge">
            <meta name="viewport" content="width=device-width, initial-scale=1">
            <meta name="description" content="">
            <meta name="author" content="">
            <title>Change Password!</title>
        	<meta charset="utf-8">
        	<meta http-equiv="X-UA-Compatible" content="IE=edge">
        	<meta name="viewport" content="width=device-width, initial-scale=1">
        	<meta name="description" content="">
        	<meta name="author" content="inventory, inventory, furniture, IMS">
        	<link href="css/custom.css" rel="stylesheet"> <!-- Custom CSS -->
        	<link rel="stylesheet" href="https://maxcdn.bootstrapcdn.com/bootstrap/3.3.6/css/bootstrap.min.css"> <!-- Latest compiled and minified CSS -->