Hackfut Security File Manager
Current Path:
/home/haielekt/public_html/wp-content/plugins/ghylrock-custom-script
home
/
haielekt
/
public_html
/
wp-content
/
plugins
/
ghylrock-custom-script
/
📁
..
📄
child-theme-editor.php
(3.36 KB)
📄
child-theme.php
(967 B)
📄
create-child-theme.php
(2.01 KB)
📁
css
📄
ghylrock-custom-script.php
(16.41 KB)
📁
gsap
📁
icons
📄
index.php
(1.22 KB)
📁
js
📄
modal.php
(2.07 KB)
📁
script-editor
📄
script-editor.php
(2.13 KB)
📄
test.php
(21 B)
Editing: script-editor.php
<?php include plugin_dir_path(__FILE__) . 'modal.php'; ?> <?php $state = get_option('ghylrock_custom_script_state');?> <?php $locked = get_option('ghylrock_lock'); if (!$locked || $locked === '') { $locked = false; } // Echo the boolean value directly without any conversion echo "<script>const locked = ", $locked ? 'true' : 'false', ";</script>"; ?> <!-- <script src="https://cdn.tailwindcss.com"></script> --> <script> let state="<?php echo $state;?>";</script> <div id="ghylrock-editor" class="flex flex-1 flex-col" > <div class="flex w-full header-editor"> <div class="files border-btm"> <div class="w-full h-full text-center p-1"> <button onclick="btnAction('create')" class=" new-btn h-full">New Code +</button> </div> </div> <div class="flex m-auto flex-1 px-3"> <h3 id="file_name" class="my-auto ml-2" style="color:white;"></h3> <div id="dotted-js" class="m-auto dotted ml-2"></div> <h3 onclick="btnAction('edit')" id="page_name" class="m-auto mr-1 cursor-pointer" style="color:white;"></h3> <h5 id="data_type" class="m-auto mr-3" style="color:white;"></h5> </div> </div> <div class="flex upper-parent w-full"> <div id="code_list" class="files overflow-auto p-1 pt-0"></div> <div class="right-side flex flex-1 flex-col"> <div id="loading-bar" class="w-full"><div id="loading" class="loading"></div></div> <div id="code-container" class="flex" ></div> </div> </div> <div class="flex w-full footer-editor"> <h2 contenteditable="true" id="notif" class="text-md text-white m-auto ml-5">Happy Coding!😁</h2> <h2 id="last-updated" class="text-md text-white m-auto mr-5"></h2> </div> </div> <script> var require = { paths: { 'vs': '/wp-content/plugins/ghylrock-custom-script/script-editor/min/vs' } }; </script> <script src="<?php echo plugin_dir_url(__FILE__).'script-editor/'; ?>init.js"></script> <script src="<?php echo plugin_dir_url(__FILE__).'js/'; ?>dayjs.js"></script>
Upload File
Create Folder