SILENT KILLERPanel

Current Path: > home > codekrsu > > ameliagraphics.com > wp-content > plugins > > wp-user-frontend > > includes


Operation   : Linux premium131.web-hosting.com 4.18.0-553.44.1.lve.el8.x86_64 #1 SMP Thu Mar 13 14:29:12 UTC 2025 x86_64
Software     : Apache
Server IP    : 162.0.232.56 | Your IP: 216.73.216.111
Domains      : 1034 Domain(s)
Permission   : [ 0755 ]

Files and Folders in: /home/codekrsu//ameliagraphics.com/wp-content/plugins//wp-user-frontend//includes

NameTypeSizeLast ModifiedActions
Admin Directory - -
Ajax Directory - -
Api Directory - -
Data Directory - -
Fields Directory - -
Free Directory - -
Frontend Directory - -
Hooks Directory - -
Integrations Directory - -
Log Directory - -
Traits Directory - -
Widgets Directory - -
functions Directory - -
upgrades Directory - -
API.php File 752 bytes May 12 2025 14:47:56.
Admin.php File 8331 bytes May 12 2025 14:47:56.
Ajax.php File 5162 bytes March 20 2025 14:31:02.
Assets.php File 15809 bytes May 12 2025 14:47:56.
Encryption_Helper.php File 2280 bytes February 13 2024 11:27:44.
Frontend.php File 9999 bytes October 15 2024 07:05:02.
Frontend_Render_Form.php File 16496 bytes June 30 2025 16:27:10.
Installer.php File 3159 bytes January 02 2024 16:35:50.
Integrations.php File 1488 bytes October 15 2024 07:05:02.
Pro_Upgrades.php File 2510 bytes June 30 2025 16:27:10.
Render_Form.php File 69939 bytes June 30 2025 16:27:10.
Setup_Wizard.php File 20226 bytes March 20 2025 14:31:02.
User_Subscription.php File 19761 bytes June 02 2025 07:42:20.
WPUF_Privacy.php File 24813 bytes March 19 2025 14:25:12.
WPUF_User.php File 4200 bytes March 19 2025 14:25:12.
class-field-manager.php File 11935 bytes February 13 2024 11:27:44.
class-frontend-render-form.php File 38527 bytes June 30 2025 16:27:10.

Reading File: /home/codekrsu//ameliagraphics.com/wp-content/plugins//wp-user-frontend//includes/Installer.php

<?php

namespace WeDevs\Wpuf;

/**
 * The installer class
 *
 * @since 2.6.0
 */
class Installer {

    /**
     * The installer class
     *
     * @return void
     */
    public function install() {
        $this->create_tables();
        $this->schedule_events();

        $installed = get_option( 'wpuf_installed' );

        if ( !$installed ) {
            update_option( 'wpuf_installed', time() );
        }

        flush_rewrite_rules( false );

        set_transient( 'wpuf_activation_redirect', true, 30 );
        update_option( 'wpuf_version', WPUF_VERSION );
    }

    /**
     * Create the table schema
     *
     * @return void
     */
    public function create_tables() {
        global $wpdb;

        $collate = '';

        if ( $wpdb->has_cap( 'collation' ) ) {
            if ( !empty( $wpdb->charset ) ) {
                $collate .= "DEFAULT CHARACTER SET $wpdb->charset";
            }

            if ( !empty( $wpdb->collate ) ) {
                $collate .= " COLLATE $wpdb->collate";
            }
        }

        $table_schema = [
            "CREATE TABLE IF NOT EXISTS `{$wpdb->prefix}wpuf_transaction` (
                `id` int(11) NOT NULL AUTO_INCREMENT,
                `user_id` bigint(20) DEFAULT NULL,
                `status` varchar(60) NOT NULL DEFAULT 'pending_payment',
                `subtotal` varchar(255) DEFAULT '',
                `tax` varchar(255) DEFAULT '',
                `cost` varchar(255) DEFAULT '',
                `post_id` varchar(20) DEFAULT NULL,
                `pack_id` bigint(20) DEFAULT NULL,
                `payer_first_name` varchar(60),
                `payer_last_name` varchar(60),
                `payer_email` varchar(100),
                `payment_type` varchar(20),
                `payer_address` longtext,
                `transaction_id` varchar(60),
                `created` datetime NOT NULL,
                PRIMARY KEY (`id`),
                key `user_id` (`user_id`),
                key `post_id` (`post_id`),
                key `pack_id` (`pack_id`),
                key `payer_email` (`payer_email`)
            ) $collate;",

            "CREATE TABLE IF NOT EXISTS `{$wpdb->prefix}wpuf_subscribers` (
                `id` int(11) NOT NULL AUTO_INCREMENT,
                `user_id` int(11) NOT NULL,
                `name` varchar(191) NOT NULL,
                `subscribtion_id` varchar(191) NOT NULL,
                `subscribtion_status` varchar(191) NOT NULL,
                `gateway` varchar(191) NOT NULL,
                `transaction_id` varchar(191) NOT NULL,
                `starts_from` varchar(191) NOT NULL,
                `expire` varchar(191) NOT NULL,
                PRIMARY KEY (`id`),
                key `user_id` (`user_id`)
            ) $collate;",
        ];

        require_once ABSPATH . 'wp-admin/includes/upgrade.php';

        foreach ( $table_schema as $table ) {
            dbDelta( $table );
        }
    }

    /**
     * Schedules the post expiry event
     *
     * @since 2.2.7
     */
    public function schedule_events() {
        wp_schedule_event( time(), 'daily', 'wpuf_remove_expired_post_hook' );
    }
}

SILENT KILLER Tool