403Webshell
Server IP : 69.72.244.102  /  Your IP : 216.73.216.164
Web Server : LiteSpeed
System : Linux s3434.fra1.stableserver.net 4.18.0-513.24.1.lve.2.el8.x86_64 #1 SMP Fri May 24 12:42:50 UTC 2024 x86_64
User : konzalta ( 1271)
PHP Version : 7.4.33
Disable Function : NONE
MySQL : OFF  |  cURL : ON  |  WGET : ON  |  Perl : ON  |  Python : ON  |  Sudo : OFF  |  Pkexec : OFF
Directory :  /home/konzalta/buildframework.konzaltant.com/wp-content/plugins/formlayer-pro/main/

Upload File :
current_dir [ Writeable ] document_root [ Writeable ]

 

Command :


[ Back ]     

Current File : /home/konzalta/buildframework.konzaltant.com/wp-content/plugins/formlayer-pro/main/install.php
<?php
/*
* FormLayer Pro
* https://formlayer.net
* (c) FormLayer Team
*/

namespace FormLayerPro;

if(!defined('ABSPATH')){
	die('HACKING ATTEMPT!');
}

class Install{

	static function activate(){
		global $wpdb;

		$table_name = $wpdb->prefix . 'formlayer_entries';
		$charset_collate = $wpdb->get_charset_collate();
		
		$sql = "CREATE TABLE IF NOT EXISTS $table_name (
			id bigint(20) NOT NULL AUTO_INCREMENT,
			form_id bigint(20) NOT NULL,
			data longtext NOT NULL,
			status varchar(20) DEFAULT 'unread' NOT NULL,
			ip_address varchar(100) DEFAULT '' NOT NULL,
			user_agent text DEFAULT '' NOT NULL,
			created_at datetime NOT NULL,
			PRIMARY KEY  (id),
			KEY form_id (form_id)
		) $charset_collate;";

		require_once(ABSPATH . 'wp-admin/includes/upgrade.php');
		dbDelta($sql);

		update_option('formlayer_pro_version', FORMLAYER_PRO_VERSION);
	}

	static function deactivate(){
		delete_option('formlayer_pro_version');
		delete_option('formlayer_integration_settings');
	}

	static function uninstall(){
		delete_option('formlayer_integration_settings');
	}

}

Youez - 2016 - github.com/yon3zu
LinuXploit