D7net
Home
Console
Upload
information
Create File
Create Folder
About
Tools
:
/
home
/
realadss
/
www
/
partymaker.in
/
application
/
views
/
Filename :
change_password.php
back
Copy
<?php $common_setting = $this->common_model->common_setting; $base_url = base_url(); ?> <!DOCTYPE html> <html> <head> <meta charset="utf-8" /> <title><?php if(isset($common_setting['web_name'])){ echo $common_setting['web_name'];} ?> - Admin Panel</title> <?php if(isset($common_setting['fevicon']) && $common_setting['fevicon'] !='' && file_exists($this->common_model->path_logo.$common_setting['fevicon'])) { ?> <link rel="shortcut icon" href="<?php echo $base_url.$this->common_model->path_logo.$common_setting['fevicon']; ?>" /> <?php } ?> <meta name="viewport" content="width=device-width, initial-scale=1.0"> <style> .topnav { overflow: hidden; background-color: #FD4D40; } .topnav a { float: left; color: #f2f2f2; text-align: center; padding: 12px 8px; text-decoration: none; font-size: 16px; } .topnav a:hover { background-color: #ddd; color: black; } .topnav a.active { background-color: #4CAF50; color: white; } input[type=text], input[type=password] { width: 100%; padding: 12px 20px; margin: 8px 0; display: inline-block; border: 1px solid #ccc; box-sizing: border-box; } /* Set a style for all buttons */ button { background-color: #FD4D40; color: white; padding: 14px 20px; margin: 8px 0; border: none; cursor: pointer; width: 100%; } button:hover { opacity: 0.8; } .modal-content { background-color: #fefefe; margin: 0 auto; margin-top: 40px; margin-bottom: 20px; width: 60%; /* Could be more or less, depending on screen size */ } .alert-danger { color: #a94442; background-color: #f2dede; border-color: #ebccd1; } .alert-success { color: #3c763d; background-color: #dff0d8; border-color: #d6e9c6; } .alert { margin: 15px; padding: 15px; margin-bottom: 20px; border: 1px solid transparent; border-radius: 4px; } </style> </head> <body> <div style="margin: 0 auto;text-align: center"> <?php if(isset($common_setting['logo']) && $common_setting['logo'] !='' && file_exists($this->common_model->path_logo.$common_setting['logo'])) { ?> <img style="max-height: 150px;text-align: center;" src="<?php echo $base_url.$this->common_model->path_logo.$common_setting['logo']; ?>" alt="<?php if(isset($common_setting['web_name'])){ echo $common_setting['web_name'];} ?>" /> <?php } else if(isset($common_setting['web_name'])) { echo $common_setting['web_name']; } ?> </div> <div class="topnav"> <!-- <a href='<?php echo site_url('admin/artist_type')?>'>Artist Type</a> --> <a href='<?php echo site_url('admin/home_slider')?>'>Home Slider</a> <a href='<?php echo site_url('admin/home_gallery')?>'>Home Gallery</a> <a href='<?php echo site_url('admin/home_video')?>'>Home Video</a> <a href='<?php echo site_url('admin/home_faq')?>'>Home Faq</a> <a href='<?php echo site_url('admin/common_setting')?>'>Common Setting</a> <a href='<?php echo site_url('admin/cms')?>'>CMS Pages</a> <a href='<?php echo site_url('admin/games_master')?>'>Games Master</a> <a href='<?php echo site_url('admin/service_master')?>'>Service Master</a> <a href='<?php echo site_url('admin/blog')?>'>Blog</a> <a href='<?php echo site_url('admin/blog_comment')?>'>Blog Comment</a> <a href='<?php echo site_url('admin/blog_faq')?>'>Blog Faq</a> <a href='<?php echo site_url('admin/common_comment')?>'>Common Comment</a> <!-- <a href='<?php echo site_url('admin/service_type')?>'>Service Type</a> --> <!-- <a href='<?php echo site_url('admin/join_artist')?>'>Join Artist</a> --> <a href='<?php echo site_url('admin/contact_us')?>'>Contact Us</a> <a href='<?php echo site_url('admin/change_password')?>'>Change Password</a> <a href='<?php echo site_url('admin/log_out')?>'>Log Out</a> </div> <form class="modal-content animate" action="<?php echo $base_url; ?>admin/change_password_process" method="post"> <div> <?php if($this->session->flashdata('error_message')) { echo '<div class="alert alert-danger">'; echo $this->session->flashdata('error_message'); echo '</div>'; } ?> </div> <div class="container"> <center><h2>Change Password</h2></center> <?php $message_err = $this->session->flashdata('message_err'); if($message_err !='') { ?> <div class="alert alert-danger"><?php echo $message_err; ?></div> <?php } $message_succ = $this->session->flashdata('message_succ'); if($message_succ !='') { ?> <div class="alert alert-success"><?php echo $message_succ; ?></div> <?php } ?> <label for="uname"><b>Old Password</b></label> <input type="password" placeholder="Enter Old Password" name="old_password" required> <br/><br/> <label for="psw"><b>New Password</b></label> <input type="password" placeholder="Enter New Password" name="new_password" required> <br/><br/> <label for="psw"><b>Confirm New Password</b></label> <input type="password" placeholder="Enter Confirm New Password" name="confirm_password" required> <button type="submit">Change Password</button> </div> </form> <br/><br/> <div class="topnav" style="color:#fff;text-align: center;"> <br/> <?php if(isset($common_setting['footer_text'])){ echo $common_setting['footer_text'];} ?> <br/><br/> </div> </body> </html>