File manager - Edit - /home/familylifersmpc/htdocs/www.familylifersmpc.com/eeditor.php
Back
<?php session_start(); error_reporting(0); include('editor-includes/config.php'); $sid = $_SESSION['alogin']; if(strlen($_SESSION['alogin'])=="") { header("Location: editor.php"); } else{ ?> <style> table, th, td { //border-bottom: 1px solid #ccc; border-top: 1px solid #ccc; border-collapse: collapse; } body.f{ background-color: white; } tr:nth-child(even) { background-color: White; } tr:nth-child(odd) { background-color: white; } </style> <style> .mySlides {display:none} .w3-left, .w3-right, .w3-badge {cursor:pointer} .w3-badge {height:13px;width:13px;padding:0} .absolute { position: absolute; top: 120px; right: 0; width: 300px; height: 200px; } table.e{ margin: 0 auto; width: 100%; clear: both; border-collapse: collapse; table-layout: fixed; // ***********add this word-wrap:break-word; // ***********and this } </style> <style> /* Center the loader */ #loader { position: absolute; left: 50%; top: 50%; z-index: 1; width: 150px; height: 150px; margin: -75px 0 0 -75px; border: 16px solid #f3f3f3; border-radius: 50%; border-top: 16px solid #3498db; width: 120px; height: 120px; -webkit-animation: spin 2s linear infinite; animation: spin 2s linear infinite; } @-webkit-keyframes spin { 0% { -webkit-transform: rotate(0deg); } 100% { -webkit-transform: rotate(360deg); } } @keyframes spin { 0% { transform: rotate(0deg); } 100% { transform: rotate(360deg); } } /* Add animation to "page content" */ .animate-bottom { position: relative; -webkit-animation-name: animatebottom; -webkit-animation-duration: 1s; animation-name: animatebottom; animation-duration: 1s } @-webkit-keyframes animatebottom { from { bottom:-100px; opacity:0 } to { bottom:0px; opacity:1 } } @keyframes animatebottom { from{ bottom:-100px; opacity:0 } to{ bottom:0; opacity:1 } } #myDiv { display: none; text-align: center; } </style> <!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"> <title>Website Editor</title> <link rel="stylesheet" href="https://www.w3schools.com/w3editor-css/4/w3.css"> <link rel="stylesheet" href="editor-css/bootstrap.min.css" media="screen" > <link rel="stylesheet" href="editor-css/font-awesome.min.css" media="screen" > <link rel="stylesheet" href="editor-css/animate-editor-css/animate.min.css" media="screen" > <link rel="stylesheet" href="editor-css/lobipanel/lobipanel.min.css" media="screen" > <link rel="stylesheet" href="editor-css/icheck/skins/line/blue.css" > <link rel="stylesheet" href="editor-css/icheck/skins/line/red.css" > <link rel="stylesheet" href="editor-css/icheck/skins/line/green.css" > <link rel="stylesheet" href="editor-css/main.css" media="screen" > <script src="editor-js/modernizr/modernizr.min.js"></script> <link rel="stylesheet" href="editor-css/main.css" media="screen" > <link rel="stylesheet" href="editor-css/slides.css"> <script src="https://ajax.googleapis.com/ajax/libs/jquery/3.5.1/jquery.min.js"></script> <script src="https://maxcdn.bootstrapcdn.com/bootstrap/3.4.1/js/bootstrap.min.js"></script> <style> .errorWrap { padding: 10px; margin: 0 0 20px 0; background: #fff; border-left: 4px solid #dd3d36; -webkit-box-shadow: 0 1px 1px 0 rgba(0,0,0,.1); box-shadow: 0 1px 1px 0 rgba(0,0,0,.1); } .succWrap{ padding: 10px; margin: 0 0 20px 0; background: #fff; border-left: 4px solid #5cb85c; -webkit-box-shadow: 0 1px 1px 0 rgba(0,0,0,.1); box-shadow: 0 1px 1px 0 rgba(0,0,0,.1); } } .relative2 { position: relative; top: -20px; left: 20px; background-color: white; width: 500px; } </style> <style> .extra { margin-left: 10px; margin-right: 10px; } </style> </head> <body class="top-navbar-fixed t" style="background-color:white;"> <div class="main-wrapper"> <?php include('editor-includes/Etopbar.php');?> <div class="content-wrapper"> <div class="content-container"> <?php include('editor-includes/Eleftbar.php');?> <div class="main-page"> <div class="container-fluid"> <div class="row breadcrumb-div"> <div class="col-md-0"> <ul class="breadcrumb"> <li><a href="edashboard.php"><i class="fa fa-home"></i><strong> Home</strong></a></li> <li class="active" > <a> Add/Update Account</a></li> </ul> </div> </div> <?php if(isset($_SESSION['error'])){ echo " <div class='alert alert-danger text-center'> <i class='fa fa-times'></i> ".$_SESSION['error']." </div> "; //unset error unset($_SESSION['error']); } if(isset($_SESSION['success'])){ echo " <div class='alert alert-info text-center'> <i class='fa fa-check'></i> ".$_SESSION['success']." </div> "; //unset success unset($_SESSION['success']); } ?> <div class="row"> <!-- /.main-page --> <div class="col-sm-12"> <!-- /.main-page --> <br> <div class="container-fluid"> <div class="col-md-12"> <div class="container-fluid"> <div class="container-fluid"> <div class="container-fluid"> <div class="container-fluid"> <div class="container-fluid"> <div class="container-fluid"> <?php if(isset($_SESSION['error'])){ echo " <div class='alert alert-danger text-center'> <i class='fas fa-exclamation-triangle'></i> ".$_SESSION['error']." </div> "; //unset error unset($_SESSION['error']); } if(isset($_SESSION['success'])){ echo " <div class='alert alert-success text-center'> <i class='fas fa-check-circle'></i> ".$_SESSION['success']." </div> "; //unset success unset($_SESSION['success']); } ?> <div class="card"> <div class="card-body"> <h1 class="card-title text-center"><b>Add/Update Website Editor Account</b></h1> <hr> <form method="POST" action="eeditorreg.php"> <div class="form-group row"> <label for="TYPE" class="col-3 col-form-label">Account Type:</label> <div class="col-9"> <select name="TYPE" id="TYPE"> <option value="EDITOR">Editor</option> <option value="ADMINISTRATOR">Administrator</option> </select> </div> </div> <div class="form-group row"> <label for="NAME" class="col-3 col-form-label">Name:</label> <div class="col-9"> <input class="form-control" id="NAME" name="NAME" value="<?php echo (isset($_SESSION['NAME'])) ? $_SESSION['NAME'] : ''; unset($_SESSION['NAME']) ?>" placeholder="Name" required> </div> </div> <div class="form-group row"> <label for="username" class="col-3 col-form-label">Username:</label> <div class="col-9"> <input class="form-control" id="username" name="username" value="<?php echo (isset($_SESSION['username'])) ? $_SESSION['username'] : ''; unset($_SESSION['username']) ?>" placeholder="Username" required> </div> </div> <div class="form-group row"> <label for="password" class="col-3 col-form-label">Password:</label> <div class="col-9"> <input class="form-control" type="password" id="password" name="password" value="<?php echo (isset($_SESSION['password'])) ? $_SESSION['password'] : ''; unset($_SESSION['password']) ?>" placeholder="Password" required> </div> </div> <div class="form-group row"> <label for="confirm" class="col-3 col-form-label">Confirm:</label> <div class="col-9"> <input class="form-control" type="password" id="confirm" name="confirm" value="<?php echo (isset($_SESSION['confirm'])) ? $_SESSION['confirm'] : ''; unset($_SESSION['confirm']) ?>" placeholder="Re-type Password" required> </div> </div> <hr> <div style="text-align: right;"> <button type="submit" class="btn btn-primary" name="register"><i class="fa fa-user"></i> Signup / Update</button> </div> </form> </div> </div> </div> </div> </div> </div> </div> </div> </div> </div> </div> <!-- /.content-container --> </div> <!-- /.content-wrapper --> </div> <!-- /.main-wrapper --> <!-- ========== COMMON JS FILES ========== --> <script src="editor-js/jquery/jquery-2.2.4.min.js"></script> <script src="editor-js/jquery-ui/jquery-ui.min.js"></script> <script src="editor-js/bootstrap/bootstrap.min.js"></script> <script src="editor-js/pace/pace.min.js"></script> <script src="editor-js/lobipanel/lobipanel.min.js"></script> <script src="editor-js/iscroll/iscroll.js"></script> <!-- ========== PAGE JS FILES ========== --> <script src="editor-js/prism/prism.js"></script> <script src="editor-js/waypoint/waypoints.min.js"></script> <script src="editor-js/counterUp/jquery.counterup.min.js"></script> <script src="editor-js/amcharts/amcharts.js"></script> <script src="editor-js/amcharts/serial.js"></script> <script src="editor-js/amcharts/plugins/export/export.min.js"></script> <link rel="stylesheet" href="editor-js/amcharts/plugins/export/export.css" type="text/css" media="all" /> <script src="editor-js/amcharts/themes/light.js"></script> <script src="editor-js/toastr/toastr.min.js"></script> <script src="editor-js/icheck/icheck.min.js"></script> <!-- ========== THEME JS ========== --> <script src="editor-js/main.js"></script> <script src="editor-js/production-chart.js"></script> <script src="editor-js/traffic-chart.js"></script> <script src="editor-js/task-list.js"></script> <!-- ========== COMMON JS FILES ========== --> <script src="editor-js/jquery/jquery-2.2.4.min.js"></script> <script src="editor-js/jquery-ui/jquery-ui.min.js"></script> <script src="editor-js/bootstrap/bootstrap.min.js"></script> <script src="editor-js/pace/pace.min.js"></script> <script src="editor-js/lobipanel/lobipanel.min.js"></script> <script src="editor-js/iscroll/iscroll.js"></script> <!-- ========== PAGE JS FILES ========== --> <script src="editor-js/prism/prism.js"></script> <script src="editor-js/waypoint/waypoints.min.js"></script> <script src="editor-js/counterUp/jquery.counterup.min.js"></script> <script src="editor-js/amcharts/amcharts.js"></script> <script src="editor-js/amcharts/serial.js"></script> <script src="editor-js/amcharts/plugins/export/export.min.js"></script> <link rel="stylesheet" href="editor-js/amcharts/plugins/export/export.css" type="text/css" media="all" /> <script src="editor-js/amcharts/themes/light.js"></script> <script src="editor-js/toastr/toastr.min.js"></script> <script src="editor-js/icheck/icheck.min.js"></script> <!-- ========== THEME JS ========== --> <script src="editor-js/main.js"></script> <script src="editor-js/production-chart.js"></script> <script src="editor-js/traffic-chart.js"></script> <script src="editor-js/task-list.js"></script> <script> var myVar; function myFunction() { myVar = setTimeout(showPage, 3000); } function showPage() { document.getElementById("loader").style.display = "none"; document.getElementById("myDiv").style.display = "block"; } </script> <script src="editor-js/DataTables/datatables.min.js"></script> <script> $(function($) { $('#example').DataTable(); $('#example2').DataTable( { //"scrollY": "400px", "scrollCollapse": false, "paging": true, "searching": true, "scale": true, "Paginate": true, "bLengthChange": false, "bFilter": true, "bInfo": true, "bSort": false, "center": true, "pageLength": 15, "language": { "searchPlaceholder": "Search", "search": "", "emptyTable": "" } } ); $('#example3').DataTable(); }); </script> </body> <div class="foot"><footer> </footer> </div> <style> .foot{text-align: center; */}</style> </html> <?php } ?>
| ver. 1.4 |
Github
|
.
| PHP 7.4.33 | Generation time: 0.02 |
proxy
|
phpinfo
|
Settings