D7net
Home
Console
Upload
information
Create File
Create Folder
About
Tools
:
/
proc
/
thread-self
/
root
/
proc
/
thread-self
/
root
/
home
/
shubmkcj
/
urbane.createerp.com
/
Filename :
add-new-user.php
back
Copy
<?php ob_start(); session_start(); include 'config.php'; $login = $_SESSION['login_email']; if($login == ''){ echo '<script>location.replace("index.php")</script>'; } if(isset($_SESSION["source_id"])){ $source_id = $_SESSION['source_id']; } ?> <!DOCTYPE html> <html> <head> <meta charset="utf-8" /> <title>Invoice Management | Invoice</title> <meta name="viewport" content="width=device-width, initial-scale=1.0, maximum-scale=1.0, user-scalable=no" /> <meta content="A fully featured admin theme which can be used to build CRM, CMS, etc." name="description" /> <meta content="Coderthemes" name="author" /> <meta http-equiv="X-UA-Compatible" content="IE=edge" /> <!-- Font Awsome --> <link rel="stylesheet" href="https://cdnjs.cloudflare.com/ajax/libs/font-awesome/4.7.0/css/font-awesome.min.css"> <!-- App favicon --> <link rel="shortcut icon" href="assets/images/favicon.png"> <!-- Pie Chart Css --> <link href="assets/pie charts/style.css" rel="stylesheet" type="text/css" /> <!-- App css --> <link href="assets/css/bootstrap.min.css" rel="stylesheet" type="text/css" /> <link href="assets/css/icons.css" rel="stylesheet" type="text/css" /> <link href="assets/css/metismenu.min.css" rel="stylesheet" type="text/css" /> <link href="assets/css/style.css" rel="stylesheet" type="text/css" /> <script src="assets/js/modernizr.min.js"></script> </head> <body> <!-- Begin page --> <div id="wrapper"> <!-- Top Bar Start --> <?php include 'top-header.php'; ?> <!-- Top Bar End --> <!-- ========== Left Sidebar Start ========== --> <?php include 'left-sidebar.php'; ?> <!-- Left Sidebar End --> <!-- ============================================================== --> <!-- Start right Content here --> <!-- ============================================================== --> <div class="content-page"> <!-- Start content --> <div class="content"> <div class="container-fluid"> <div class="row"> <div class="col-12"> <div class="page-title-box"> <h4 class="page-title float-left">Add User</h4> <ol class="breadcrumb float-right"> <li class="breadcrumb-item"><a href="#">User Manager</a></li> <li class="breadcrumb-item active">Add New User</li> </ol> <div class="clearfix"></div> </div> </div> </div> <!-- end row --> <form action="insert-new-user.php" method="post" role="form"> <div class="card-box"> <input type="hidden" name="sourceId" value="<?php echo $source_id; ?>"> <div class="row"> <div class="col-md-6"> <div class="form-group"> <label for="name">Name</label> <input type="text" class="form-control" name="name" placeholder="Enter email" required> </div> </div> <div class="col-md-6"> <div class="form-group"> <label for="email">User Email</label> <input type="email" class="form-control" name="email" placeholder="Enter email" required> </div> </div> </div> <div class="row"> <div class="col-md-6"> <div class="form-group"> <label for="exampleInputEmail1">Password</label> <input type="password" class="form-control" name="password" placeholder="Enter password" id="password" required> </div> </div> <div class="col-md-6"> <div class="form-group"> <label for="exampleInputEmail1">Confirm Password</label> <input type="password" class="form-control" name="con_password" placeholder="Enter confirm password" id="confirm_password" required> </div> </div> </div> </div> <div class="card-box"> <div class="col-md-12 text-center"><h4>Permissions</h4></div> <h5>Contact Manager</h5> <div class="row"> <div class="col-md-3"> <div class="checkbox checkbox-info form-check-inline"> <input type="checkbox" id="contactView" name="contactView" value="on"> <label for="contactView">View </label> </div> </div> <div class="col-md-3"> <div class="checkbox checkbox-success form-check-inline"> <input type="checkbox" id="contactAdd" name="contactAdd" value="on"> <label for="contactAdd"> Add </label> </div> </div> <div class="col-md-3"> <div class="checkbox checkbox-warning form-check-inline"> <input type="checkbox" id="contactEdit" name="contactEdit" value="on"> <label for="contactEdit"> Edit </label> </div> </div> <div class="col-md-3"> <div class="checkbox checkbox-danger form-check-inline"> <input type="checkbox" id="contactDelete" name="contactDelete" value="on"> <label for="contactDelete"> Delete </label> </div> </div> </div> <h5>Inventory Manager</h5> <div class="row"> <div class="col-md-3"> <div class="checkbox checkbox-info form-check-inline"> <input type="checkbox" id="inventoryView" name="inventoryView" value="on"> <label for="inventoryView">View </label> </div> </div> <div class="col-md-3"> <div class="checkbox checkbox-success form-check-inline"> <input type="checkbox" id="inventoryAdd" name="inventoryAdd" value="on"> <label for="inventoryAdd"> Add </label> </div> </div> <div class="col-md-3"> <div class="checkbox checkbox-warning form-check-inline"> <input type="checkbox" id="inventoryEdit" name="inventoryEdit" value="on"> <label for="inventoryEdit"> Edit </label> </div> </div> <div class="col-md-3"> <div class="checkbox checkbox-danger form-check-inline"> <input type="checkbox" id="inventoryDelete" name="inventoryDelete" value="on"> <label for="inventoryDelete"> Delete </label> </div> </div> </div> <h5>Sales Manager</h5> <div class="row"> <div class="col-md-3"> <div class="checkbox checkbox-info form-check-inline"> <input type="checkbox" id="financeView" name="financeView" value="on"> <label for="financeView">View </label> </div> </div> <div class="col-md-3"> <div class="checkbox checkbox-success form-check-inline"> <input type="checkbox" id="financeAdd" name="financeAdd" value="on"> <label for="financeAdd"> Add </label> </div> </div> <div class="col-md-3"> <div class="checkbox checkbox-warning form-check-inline"> <input type="checkbox" id="financeEdit" name="financeEdit" value="on"> <label for="financeEdit"> Edit </label> </div> </div> <div class="col-md-3"> <div class="checkbox checkbox-danger form-check-inline"> <input type="checkbox" id="financeDelete" name="financeDelete" value="on"> <label for="financeDelete"> Delete </label> </div> </div> </div> <h5>General Setting</h5> <div class="row"> <div class="col-md-3"> <div class="checkbox checkbox-info form-check-inline"> <input type="checkbox" id="generalView" name="generalView" value="on"> <label for="generalView">View </label> </div> </div> <div class="col-md-3"> <div class="checkbox checkbox-success form-check-inline"> <input type="checkbox" id="generalAdd" name="generalAdd" value="on"> <label for="generalAdd"> Add </label> </div> </div> <div class="col-md-3"> <div class="checkbox checkbox-warning form-check-inline"> <input type="checkbox" id="generalEdit" name="generalEdit" value="on"> <label for="generalEdit"> Edit </label> </div> </div> <div class="col-md-3"> <div class="checkbox checkbox-danger form-check-inline"> <input type="checkbox" id="generalDelete" name="generalDelete" value="on"> <label for="generalDelete"> Delete </label> </div> </div> </div> <h5>User Manager</h5> <div class="row"> <div class="col-md-3"> <div class="checkbox checkbox-info form-check-inline"> <input type="checkbox" id="userView" name="userView" value="on"> <label for="userView">View </label> </div> </div> <div class="col-md-3"> <div class="checkbox checkbox-success form-check-inline"> <input type="checkbox" id="userAdd" name="userAdd" value="on"> <label for="userAdd"> Add </label> </div> </div> <div class="col-md-3"> <div class="checkbox checkbox-warning form-check-inline"> <input type="checkbox" id="userEdit" name="userEdit" value="on"> <label for="userEdit"> Edit </label> </div> </div> <div class="col-md-3"> <div class="checkbox checkbox-danger form-check-inline"> <input type="checkbox" id="userDelete" name="userDelete" value="on"> <label for="userDelete"> Delete </label> </div> </div> </div> <button type="submit" class="btn btn-purple waves-effect waves-light">Submit</button> </div> <!-- end col --> </form> </div> </div> <!-- container --> </div> <!-- content --> <?php include 'copyrignt.php' ?> </div> <!-- ============================================================== --> <!-- End Right content here --> <!-- ============================================================== --> </div> <!-- END wrapper --> <!-- Chart Js --> <script> var password = document.getElementById("password"), confirm_password = document.getElementById("confirm_password"); function validatePassword(){ if(password.value != confirm_password.value) { confirm_password.setCustomValidity("Passwords Don't Match"); } else { confirm_password.setCustomValidity(''); } } password.onchange = validatePassword; confirm_password.onkeyup = validatePassword; </script> <script src='https://cdnjs.cloudflare.com/ajax/libs/d3/3.5.17/d3.min.js'></script> <script src='https://cdnjs.cloudflare.com/ajax/libs/c3/0.4.11/c3.min.js'></script> <script src='https://cdnjs.cloudflare.com/ajax/libs/Chart.js/2.1.3/Chart.js'></script> <!-- jQuery --> <script src="assets/js/jquery.min.js"></script> <script src="assets/js/popper.min.js"></script><!-- Popper for Bootstrap --> <script src="assets/js/bootstrap.min.js"></script> <script src="assets/js/metisMenu.min.js"></script> <script src="assets/js/waves.js"></script> <script src="assets/js/jquery.slimscroll.js"></script> <!-- Dashboard init --> <script src="assets/pages/jquery.dashboard.js"></script> <!-- App js --> <script src="assets/js/jquery.core.js"></script> <script src="assets/js/jquery.app.js"></script> <!-- Chart Js --> <!-- <script src="assets/pie charts/script.js"></script> --> </body> </html>