Current File : //root/panel/etc/apps/softaculous/index.php_hold |
<?php
$sss = trim(shell_exec("cat scripts.txt | awk '{print $1}'"));
echo $sss;exit;
foreach ($res as $all_res_key => $all_res_val) {
if($all_res_key == "iscripts") {
foreach ($all_res_val as $script_key => $script_val) {
foreach ($script_val as $script_key => $script_val) {
if($script_key == "cat") {
$category['cat'][] = $script_val;
}
if($script_key == "name") {
$category['name'][] = $script_val;
}
}
}
}
}
$category = array_unique($category);
print_r(json_encode($category));exit;
//print_r(json_encode($res));exit;
// The Installed scripts list is in the array key 'iscripts'
//print_r($res['iscripts']);
?>
<html>
<head>
<title>HR-Softaculous</title>
</head>
<body>
<div style ="width:100%; height:100%;">
<div class ="top_menu">
Div2
</div>
<div class ="left_menu">
<?php foreach($category as $cat) { ?>
<div>
<?php echo $cat; ?>
</div>
<?php } ?>
</div>
<div class ="right_body">
Div2
</div>
</div>
</body>
</html>
<style>
.left_menu {
width: 20%;
background-color: #1c3a57;
float: left;
height: 100%;
}
.top_menu {
width:100%;
background-color: #fff;
height: 10%;
background-color: #1c3a57;
}
.right_body {
width: 80%;
background-color: #fff;
height: 100%;
float:right;
}
</style>