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: index.php
<div class="wrap"> <h2 id="title">Custom Scripts</h2> <button class="button">Create New Script</button> <table class="wp-list-table widefat striped"> <thead> <tr> <th>No.</th> <th>Script Name</th> <th>Page Destination</th> <th>Script Type</th> <th>Updated At</th> <th></th> </tr> </thead> <tbody> <?php global $wpdb; $table = $wpdb->prefix . 'ghylrock_custom_script'; $rows = $wpdb->get_results("SELECT * FROM $table"); $i = 1; foreach ($rows as $row) { ?> <tr> <td><?php echo $i; ?></td> <td><?php echo esc_html($row['script_name']); ?></td> <td><?php echo esc_html($row['page_destination']); ?></td> <td><?php echo esc_html($row['script_type']); ?></td> <td><?php echo $row['updated_at']; ?></td> <td><button class="button">Edit</button></td> </tr> <?php $i++; } ?> </tbody> </table> </div>
Upload File
Create Folder