Linux sagir-us1.hostever.us 5.14.0-570.51.1.el9_6.x86_64 #1 SMP PREEMPT_DYNAMIC Wed Oct 8 09:41:34 EDT 2025 x86_64
LiteSpeed
Server IP : 104.247.108.91 & Your IP : 216.73.216.105
Domains : 74 Domain
User : georgeto
Terminal
Auto Root
Create File
Create Folder
Localroot Suggester
Backdoor Destroyer
Readme
/
var /
softaculous /
apps /
webdisk /
themes /
enduser /
Delete
Unzip
Name
Size
Permission
Date
Action
webdisk_account_theme.php
5.23
KB
-rw-r--r--
2023-01-18 07:26
webdisk_config_clients_theme.php
5.4
KB
-rw-r--r--
2022-10-14 10:09
webdisk_theme.php
4.14
KB
-rw-r--r--
2022-11-14 06:07
Save
Rename
<?php ////////////////////////////////////////////////////////////// //=========================================================== // WEBUZO CONTROL PANEL // Inspired by the DESIRE to be the BEST OF ALL // ---------------------------------------------------------- // Started by: Pulkit // Date: 10th Jan 2009 // Time: 21:00 hrs // Site: https://webuzo.com/ (WEBUZO) // ---------------------------------------------------------- // Please Read the Terms of Use at https://webuzo.com/terms // ---------------------------------------------------------- //=========================================================== // (c) Softaculous Ltd. //=========================================================== ////////////////////////////////////////////////////////////// if(!defined('SOFTACULOUS')){ die('Hacking Attempt'); } function webdisk_theme(){ global $user, $globals, $theme, $softpanel, $WE, $catwise, $error, $wd_list, $delete_msg, $clients; echo ' <style> .permissions{ display: none; } </style> <div class="card soft-card p-4"> <div class="sai_main_head mt-3 mb-3"> <img src="'.WEBDISK_ASSETS.'webdisk.png" alt="" class="webu_head_img me-2" style="width: 60px;"> <h5 class="d-inline-block">'.__('Web Disk').'</h5> </div> <div class="p-2"> <p>'.__('Create a Web Disk account to manage, navigate, upload, and download the files on your web server. Web Disk account directories exist relative to your account’s home directory.').'</p> </div> <div class="sai_main_head mt-3 mb-3"> <h5 class="d-inline-block">'.__('Manage Web Disk Accounts').'</h5> <a class="add_wd" href="'.$globals['ind'].'act=webdisk_account"> <button type="button" class="flat-butt float-end">'.__('Add New Web Disk User').'</button> </a> </div> <div id="showrectab" class="table-responsive"> <table class="table align-middle table-nowrap mb-0 webuzo-table"> <thead class="sai_head2"> <tr> <th class="align-middle">'.__('User Name').'</th> <th class="align-middle">'.__('Path').'</th> <th class="align-middle">'.__('Permissions').'</th> <th colspan="6" class="text-center">'.__('Options').'</th> </tr> </thead> <tbody> <tr id = "nofound" style="display:none"> <td colspan="100" class="text-center"> <span>Not Found!</span> </td> </tr>'; $i=1; foreach($wd_list as $key => $value){ echo ' <tr id="tr'.$i.'"> <td> <p class="text-break m-0">'.$key.'</p> </td> <td>'.$value['homedir'].'</td> <td> '.(empty($value['permissions']) || preg_match('/w/is', $value['permissions']) ? __('Read-Write') : __('Read-Only')).' </td> <td width="1%"> <i class="fa fa-wrench configure-icon configure" style="cursor:pointer" data-user="'.$key.'" title="'.__('Configure Client Access').'" id="clid'.$i.'"></i> </td> <td width="1%"> '.($key == $WE->user['user'] ? '' : '<a href="'.$globals['ind'].'act=webdisk_account&user='.$key.'" title="'.__('Edit Account').'"> <i class="fas fa-pencil-alt edit-icon edit" title="'.__('Edit Account').'" id="eid'.$i.'"></i> </a>').' </td> <td width="1%" id="did'.$i.'"> <i class="fas fa-times delete delete-icon" title="'.__('Delete').'" data-user="'.$key.'"></i> </td>'; $i++; echo ' </tr>'; } echo ' </tbody> </table> </div> </div> <script language="javascript" type="text/javascript"> $(".delete").click(function() { var user = $(this).data("user"); var d = show_message_r(l.warning, \''.__('Are you sure want to delete this Web Disk user ? <br /><input type="checkbox" name="delete_dir" id="delete_dir" /> <b>Select the checkbox to delete the Web Disk home directory</b>').'\'); d.alert = "alert-danger"; d.confirm.push(function(){ var d = "&delete="+user+($("#delete_dir").prop("checked") ? "&delete_dir=1" : ""); submitit(d, { done_reload: window.location.toString() }); }); show_message(d); }); $(".configure").click(function(){ var id = $(this).attr(\'id\'); var d = $("#"+id).data("user"); var data = {"user": d}; window.location.href = "'.$globals['index'].'act=webdisk_config_clients&user="+d; }); </script>'; }