One Hat Cyber Team
Your IP :
216.73.216.1
Server IP :
27.254.111.200
Server :
Linux wh-sh59.csloxinfo.com 3.10.0-693.5.2.el7.x86_64 #1 SMP Fri Oct 20 20:32:50 UTC 2017 x86_64
Server Software :
Apache
PHP Version :
5.5.38
Buat File
|
Buat Folder
Eksekusi
Dir :
~
/
var
/
www
/
vhosts
/
oakwine.co.th
/
httpdocs
/
View File Name :
admin.php
<?php ob_start(); error_reporting(E_ALL); ini_set('display_errors', 1); date_default_timezone_set('Asia/Bangkok'); include_once("src/lib/system/createLink.php"); SYS::DOMAIN("OPDB"); $opdb = new OPDB(); $page = isset($_GET['page']) ? $_GET['page'] : null ; $admin_session = isset($_SESSION['admin']) ? $_SESSION['admin'] : array("id"=>""); if($admin_session['id']==""){ header("location:adminLogin.php"); } ?> <!DOCTYPE html> <!-- This is a starter template page. Use this page to start your new project from scratch. This page gets rid of all links and provides the needed markup only. --> <html style="overflow: scroll;"> <head> <meta charset="UTF-8"> <title>Admin WINE | Manage</title> <!-- Tell the browser to be responsive to screen width --> <meta content="width=device-width, initial-scale=1, maximum-scale=1, user-scalable=no" name="viewport"> <!-- Bootstrap 3.3.4 --> <link href="src/admin/bootstrap/css/bootstrap.min.css" rel="stylesheet" type="text/css" /> <!-- Font Awesome Icons --> <link href="https://maxcdn.bootstrapcdn.com/font-awesome/4.3.0/css/font-awesome.min.css" rel="stylesheet" type="text/css" /> <!-- Ionicons --> <link href="https://code.ionicframework.com/ionicons/2.0.1/css/ionicons.min.css" rel="stylesheet" type="text/css" /> <!-- Theme style --> <link href="src/admin/dist/css/AdminLTE.min.css" rel="stylesheet" type="text/css" /> <!-- AdminLTE Skins. We have chosen the skin-blue for this starter page. However, you can choose any other skin. Make sure you apply the skin class to the body tag so the changes take effect. --> <link href="src/admin/dist/css/skins/skin-blue.min.css" rel="stylesheet" type="text/css" /> <!-- REQUIRED JS SCRIPTS --> <!-- jQuery 2.1.4 --> <script src="src/admin/plugins/jQuery/jQuery-2.1.4.min.js" type="text/javascript"></script> <!-- Bootstrap 3.3.2 JS --> <script src="src/admin/bootstrap/js/bootstrap.min.js" type="text/javascript"></script> <!-- AdminLTE App --> <script src="src/admin/dist/js/app.min.js" type="text/javascript"></script> <!-- bootstrap wysihtml5 - text editor --> <link href="src/admin/plugins/bootstrap-wysihtml5/bootstrap3-wysihtml5.min.css" rel="stylesheet" type="text/css" /> <!-- Optionally, you can add Slimscroll and FastClick plugins. Both of these plugins are recommended to enhance the user experience. Slimscroll is required when using the fixed layout. --> <!-- HTML5 Shim and Respond.js IE8 support of HTML5 elements and media queries --> <!-- WARNING: Respond.js doesn't work if you view the page via file:// --> <!--[if lt IE 9]> <script src="https://oss.maxcdn.com/html5shiv/3.7.2/html5shiv.min.js"></script> <script src="https://oss.maxcdn.com/respond/1.4.2/respond.min.js"></script> <![endif]--> <style>/* style all input elements with a required attribute */ input:invalid, select:invalid, textarea:invalid { background: #fff3f3; border-color: rgba(255, 170, 170, 0.34); color: #cc0000; } </style> </head> <!-- BODY TAG OPTIONS: ================= Apply one or more of the following classes to get the desired effect |---------------------------------------------------------| | SKINS | skin-blue | | | skin-black | | | skin-purple | | | skin-yellow | | | skin-red | | | skin-green | |---------------------------------------------------------| |LAYOUT OPTIONS | fixed | | | layout-boxed | | | layout-top-nav | | | sidebar-collapse | | | sidebar-mini | |---------------------------------------------------------| --> <body class="skin-blue sidebar-mini"> <div class="wrapper"> <!-- Main Header --> <header class="main-header"> <!-- Logo --> <a href="admin.php" class="logo"> <!-- mini logo for sidebar mini 50x50 pixels --> <span class="logo-mini"><b>A</b>W</span> <!-- logo for regular state and mobile devices --> <span class="logo-lg"><b>Admin</b>WINE</span> </a> <?php include_once("view/Layout/adminMenuTop.php");?> </header> <!-- Left side column. contains the logo and sidebar --> <?php include_once("view/Layout/adminMenuLeft.php");?> <!-- Content Wrapper. Contains page content --> <div class="content-wrapper"> <!-- Content Header (Page header) --> <section class="content-header"> <?php $breadcrumb = array("Dashboard", ""); $page = isset($_GET['page']) ? $_GET['page'] : null; $breadcrumb = isset($_GET['page']) ? explode("/", $_GET['page']) : $breadcrumb; ?> <h1> <?php echo $breadcrumb[0]; ?> <small><?php echo $breadcrumb[1]; ?></small> </h1> <!-- <ol class="breadcrumb"> <li><a href="#"><i class="fa fa-dashboard"></i> Level</a></li> <li class="active">Here</li> </ol> --> </section> <!-- Main content --> <section class="content"> <div class="alert alert-warning alert-dismissable" id="alertError" style="display: none;"> <!-- <button type="button" class="close" data-dismiss="alert" aria-hidden="true">×</button> --> <h4><i class="icon fa fa-warning"></i> กรุณาตรวจสอบ!!</h4> </div> <!-- Your Page Content Here --> <?php $page ? include_once("view/".$page.".php") : include_once("view/Layout/adminMain.php"); ?> </section><!-- /.content --> </div><!-- /.content-wrapper --> <!-- Main Footer --> <footer class="main-footer"> <!-- To the right --> <div class="pull-right hidden-xs"> <!-- Anything you want --> </div> <!-- Default to the left --> <strong>Copyright © 2015 <!-- <a href="#">Company</a>.</strong> All rights reserved. --> </footer> <!-- Control Sidebar --> <aside class="control-sidebar control-sidebar-dark"> <!-- Create the tabs --> <ul class="nav nav-tabs nav-justified control-sidebar-tabs"> <li class="active"><a href="#control-sidebar-home-tab" data-toggle="tab"><i class="fa fa-home"></i></a></li> <li><a href="#control-sidebar-settings-tab" data-toggle="tab"><i class="fa fa-gears"></i></a></li> </ul> <!-- Tab panes --> <div class="tab-content"> <!-- Home tab content --> <div class="tab-pane active" id="control-sidebar-home-tab"> <h3 class="control-sidebar-heading">Recent Activity</h3> <ul class="control-sidebar-menu"> <li> <a href="javascript::;"> <i class="menu-icon fa fa-birthday-cake bg-red"></i> <div class="menu-info"> <h4 class="control-sidebar-subheading">Langdon's Birthday</h4> <p>Will be 23 on April 24th</p> </div> </a> </li> </ul><!-- /.control-sidebar-menu --> <h3 class="control-sidebar-heading">Tasks Progress</h3> <ul class="control-sidebar-menu"> <li> <a href="javascript::;"> <h4 class="control-sidebar-subheading"> Custom Template Design <span class="label label-danger pull-right">70%</span> </h4> <div class="progress progress-xxs"> <div class="progress-bar progress-bar-danger" style="width: 70%"></div> </div> </a> </li> </ul><!-- /.control-sidebar-menu --> </div><!-- /.tab-pane --> <!-- Stats tab content --> <div class="tab-pane" id="control-sidebar-stats-tab">Stats Tab Content</div><!-- /.tab-pane --> <!-- Settings tab content --> <div class="tab-pane" id="control-sidebar-settings-tab"> <form method="post"> <h3 class="control-sidebar-heading">General Settings</h3> <div class="form-group"> <label class="control-sidebar-subheading"> Report panel usage <input type="checkbox" class="pull-right" checked /> </label> <p> Some information about this general settings option </p> </div><!-- /.form-group --> </form> </div><!-- /.tab-pane --> </div> </aside><!-- /.control-sidebar --> <!-- Add the sidebar's background. This div must be placed immediately after the control sidebar --> <div class="control-sidebar-bg"></div> </div><!-- ./wrapper --> <script> function checkField(field){ var vals = {}, i, res = true; for (i=0; i<field['field'].length;i++) { vals[field['field'][i]] = document.getElementById(field['field'][i]).value; } field['values'] = vals; $.ajax({ type: "POST", cache: false, async: false, url: "checkField.php", data: $.param(field), success : function(msg){ if (msg.length>4){ $("#alertError").html($("#alertError").html()+msg); $( "#alertError" ).show(); res = false; } } }).responseText; //alert(res); return res; } </script> </body> </html>