<?
$title = $_SERVER['HTTP_HOST'];
include_once 'sys/fnc.php';
if (!isset($user)) {
    echo 'Извините! Но доступ закрыт! ';
    exit;
}
echo '<!DOCTYPE html>
<html lang="en">
    <!--[if IE 9 ]><html class="ie9"><![endif]-->
    <head>
        <meta charset="utf-8">
        <meta http-equiv="X-UA-Compatible" content="IE=edge">
        <meta name="viewport" content="width=device-width, initial-scale=1">
        <link href="/vendors/bower_components/animate.css/animate.min.css" rel="stylesheet">
	<link href="/vendors/bower_components/material-design-iconic-font/dist/css/material-design-iconic-font.min.css" rel="stylesheet">
        <link href="/css/app-1.min.css" rel="stylesheet">
   	</head>
    
    <body>
        <div class="login">
            <div class="login__block toggled" id="l-lockscreen">
                <div class="login__block__header">
                    <img src="'.$user->imguser.'" alt="">
                   Смена пароля
                </div>

             <form action="/cabinet/password" action="POST" >  <div class="login__block__body">
                    <div class="form-group form-group--float form-group--centered">
                        <input type="text" name="pass" class="form-control">
                        <label>Введите старый пароль</label>
                        <i class="form-group__bar"></i>
                    </div>

               <div class="login__block__body">
                    <div class="form-group form-group--float form-group--centered">
                        <input type="text" name="new_pass" class="form-control">
                        <label>Введите новый пароль</label>
                        <i class="form-group__bar"></i>
                    </div>


               <div class="login__block__body">
                    <div class="form-group form-group--float form-group--centered">
                        <input type="text" name="new_pass2" class="form-control">
                        <label>Повторите пароль</label>
                        <i class="form-group__bar"></i>
                    </div>


                    <button class="btn btn--light btn--icon m-t-15"><i class="zmdi zmdi-long-arrow-right"></i></button></form>
                </div>
            </div>
        </div>



        <!-- Javascript Libraries -->

        <!-- jQuery -->
        <script src="/vendors/bower_components/jquery/dist/jquery.min.js"></script>

        <!-- Bootstrap -->
        <script src="/vendors/bower_components/bootstrap/dist/js/bootstrap.min.js"></script>

        <!-- Placeholder for IE9 -->
        <!--[if IE 9 ]>
            <script src="/vendors/bower_components/jquery-placeholder/jquery.placeholder.min.js"></script>
        <![endif]-->

        <!-- Site Functions & Actions -->
        <script src="/js/app.min.js"></script>
    </body>
</html>';
?>