Server IP : 213.176.29.180  /  Your IP : 18.118.208.127
Web Server : Apache
System : Linux 213.176.29.180.hostiran.name 4.18.0-553.22.1.el8_10.x86_64 #1 SMP Tue Sep 24 05:16:59 EDT 2024 x86_64
User : webtaragh ( 1001)
PHP Version : 7.4.33
Disable Function : NONE
MySQL : OFF  |  cURL : ON  |  WGET : ON  |  Perl : ON  |  Python : ON
Directory (0750) :  /home/webtaragh/public_html/webtaragh.ir/../wordpress/../

[  Home  ][  C0mmand  ][  Upload File  ]

Current File : /home/webtaragh/public_html/webtaragh.ir/../wordpress/../sql.tar
upgrade830alpha1.sql000064400000011202147361027270010243 0ustar00-- Add new field to tbladmins for user_preferences
set @query = if ((select count(*) from information_schema.columns where table_schema=database() and table_name='tbladmins' and column_name='user_preferences') = 0, 'ALTER table `tbladmins` ADD `user_preferences` mediumtext COLLATE utf8_unicode_ci DEFAULT NULL AFTER `widget_order`', 'DO 0');
prepare statement from @query;
execute statement;
deallocate prepare statement;
-- Add new permissions for Disputes
INSERT INTO `tbladminperms` (`roleid` ,`permid` ) VALUES ('1', '155'),('1', '156'),('1', '157');

-- Add new fields to affiliates tables
set @query = if ((select count(*) from information_schema.columns where table_schema=database() and table_name='tblaffiliatespending' and column_name='invoice_id') = 0, 'ALTER TABLE `tblaffiliatespending` ADD `invoice_id` int(10) unsigned NOT NULL DEFAULT 0 AFTER `affaccid`', 'DO 0');
prepare statement from @query;
execute statement;
deallocate prepare statement;

set @query = if ((select count(*) from information_schema.columns where table_schema=database() and table_name='tblaffiliatespending' and column_name='created_at') = 0, 'ALTER TABLE `tblaffiliatespending` ADD COLUMN `created_at` timestamp NOT NULL DEFAULT \'0000-00-00 00:00:00\'', 'DO 0');
prepare statement from @query;
execute statement;
deallocate prepare statement;

set @query = if ((select count(*) from information_schema.columns where table_schema=database() and table_name='tblaffiliatespending' and column_name='updated_at') = 0, 'ALTER TABLE `tblaffiliatespending` ADD COLUMN `updated_at` timestamp NOT NULL DEFAULT \'0000-00-00 00:00:00\'', 'DO 0');
prepare statement from @query;
execute statement;
deallocate prepare statement;

set @query = if ((select count(*) from information_schema.columns where table_schema=database() and table_name='tblaffiliateshistory' and column_name='invoice_id') = 0, 'ALTER TABLE `tblaffiliateshistory` ADD `invoice_id` int(10) unsigned NOT NULL DEFAULT 0 AFTER `affaccid`', 'DO 0');
prepare statement from @query;
execute statement;
deallocate prepare statement;

set @query = if ((select count(*) from information_schema.columns where table_schema=database() and table_name='tblaffiliateshistory' and column_name='created_at') = 0, 'ALTER TABLE `tblaffiliateshistory` ADD COLUMN `created_at` timestamp NOT NULL DEFAULT \'0000-00-00 00:00:00\'', 'DO 0');
prepare statement from @query;
execute statement;
deallocate prepare statement;

set @query = if ((select count(*) from information_schema.columns where table_schema=database() and table_name='tblaffiliateshistory' and column_name='updated_at') = 0, 'ALTER TABLE `tblaffiliateshistory` ADD COLUMN `updated_at` timestamp NOT NULL DEFAULT \'0000-00-00 00:00:00\'', 'DO 0');
prepare statement from @query;
execute statement;
deallocate prepare statement;

set @query = if ((select count(*) from information_schema.columns where table_schema=database() and table_name='tblaffiliatesaccounts' and column_name='created_at') = 0, 'ALTER TABLE `tblaffiliatesaccounts` ADD COLUMN `created_at` timestamp NOT NULL DEFAULT \'0000-00-00 00:00:00\'', 'DO 0');
prepare statement from @query;
execute statement;
deallocate prepare statement;

set @query = if ((select count(*) from information_schema.columns where table_schema=database() and table_name='tblaffiliatesaccounts' and column_name='updated_at') = 0, 'ALTER TABLE `tblaffiliatesaccounts` ADD COLUMN `updated_at` timestamp NOT NULL DEFAULT \'0000-00-00 00:00:00\'', 'DO 0');
prepare statement from @query;
execute statement;
deallocate prepare statement;

set @query = if ((select count(*) from information_schema.columns where table_schema=database() and table_name='tblaffiliateswithdrawals' and column_name='created_at') = 0, 'ALTER TABLE `tblaffiliateswithdrawals` ADD COLUMN `created_at` timestamp NOT NULL DEFAULT \'0000-00-00 00:00:00\'', 'DO 0');
prepare statement from @query;
execute statement;
deallocate prepare statement;

set @query = if ((select count(*) from information_schema.columns where table_schema=database() and table_name='tblaffiliateswithdrawals' and column_name='updated_at') = 0, 'ALTER TABLE `tblaffiliateswithdrawals` ADD COLUMN `updated_at` timestamp NOT NULL DEFAULT \'0000-00-00 00:00:00\'', 'DO 0');
prepare statement from @query;
execute statement;
deallocate prepare statement;

-- Add new field to capture SSL domain validation options
set @query = if ((select count(*) from information_schema.columns where table_schema=database() and table_name='tblsslorders' and column_name='authdata') = 0, 'ALTER table `tblsslorders` ADD `authdata` text COLLATE utf8_unicode_ci DEFAULT NULL AFTER `configdata`', 'DO 0');
prepare statement from @query;
execute statement;
deallocate prepare statement;
upgrade524.sql000064400000001054147361027270007160 0ustar00UPDATE `tblemailtemplates` SET  `message` = '<p>A new support ticket has been flagged to you.</p><p>Ticket #: {$ticket_tid}<br>Client Name: {$client_name} (ID {$client_id})<br>Department: {$ticket_department}<br>Subject: {$ticket_subject}<br>Priority: {$ticket_priority}</p><p>----------------------<br />{$ticket_message}<br />----------------------</p><p><a href="{$whmcs_admin_url}supporttickets.php?action=viewticket&id={$ticket_id}">{$whmcs_admin_url}supporttickets.php?action=viewticket&id={$ticket_id}</a></p>' WHERE  name='Support Ticket Flagged';
upgrade533release1.sql000064400000001364147361027270010606 0ustar00DELETE FROM tbltickettags WHERE ticketid NOT IN (SELECT id FROM tbltickets);

DELETE FROM tblticketnotes WHERE ticketid NOT IN (SELECT id FROM tbltickets);

DELETE FROM tblticketlog WHERE tid NOT IN (SELECT id FROM tbltickets);

DELETE FROM tblcustomfieldsvalues WHERE fieldid IN (SELECT id FROM tblcustomfields WHERE type='client') AND relid NOT IN (SELECT id FROM tblclients);

DELETE FROM tblcustomfieldsvalues WHERE fieldid IN (SELECT id FROM tblcustomfields WHERE type='product') AND relid NOT IN (SELECT id FROM tblhosting);

DELETE FROM tblcustomfieldsvalues WHERE fieldid IN (SELECT id FROM tblcustomfields WHERE type='support') AND relid NOT IN (SELECT id FROM tbltickets);

UPDATE tbladdonmodules SET module='newtlds' WHERE module='enomnewtlds';
upgrade370.sql000064400000010166147361027270007163 0ustar00ALTER TABLE `tbltax` ADD `level` INT( 1 ) NOT NULL AFTER `id` ;
UPDATE tbltax SET level='1';
ALTER TABLE `tblinvoices` ADD `tax2` DECIMAL( 10, 2 ) NOT NULL AFTER `tax` ;
ALTER TABLE `tblinvoices` ADD `taxrate2` DECIMAL( 10, 2 ) NOT NULL AFTER `taxrate` ;
INSERT INTO `tblconfiguration` (`setting`,`value` ) VALUES ('TaxL2Compound','');
INSERT INTO `tblemailtemplates` (`type`, `name`, `subject`, `message`, `fromname`, `fromemail`, `disabled`, `custom`, `language`, `copyto`, `plaintext`) VALUES ('support', 'Support Ticket Auto Close Notification', 'Support Ticket Resolved', '<p>[CustomerName],</p><p>This is a notification to let you know that we are changing the status of your ticket #[TicketID] to Closed as we have not received a response from you in over [AutoCloseTime] hours.</p><p>Subject: [Subject]<br>Department: [Department]<br>Priority: [Priority]<br>Status: [Status]</p><p>If you have any further questions then please just reply to re-open the ticket.</p><p>[Signature]</p>', '', '', '', '', '', '', '0');
INSERT INTO `tblemailtemplates` (`type`, `name`, `subject`, `message`, `fromname`, `fromemail`, `disabled`, `custom`, `language`, `copyto`, `plaintext`) VALUES ('invoice', 'Credit Card Payment Due', 'Invoice Payment Reminder', '<p>Dear [CustomerName],</p><p>This is a notice to remind you that you have an invoice due on [DueDate]. We tried to bill you automatically but were unable to because we don\'t have your credit card details on file.</p><p>Invoice Date: [InvoiceDate]<br>Invoice #[InvoiceNo]<br>Amount Due: [AmountDue]<br>Due Date: [DueDate]</p><p>Please login to our client area at the link below to submit your card details or make payment using a different method.</p><p>[InvoiceLink]</p><p>[Signature]</p>', '', '', '', '', '', '', '0');
ALTER TABLE `tblclients` ADD `latefeeoveride` TEXT NOT NULL AFTER `taxexempt` ;
ALTER TABLE `tblclients` ADD `overideduenotices` TEXT NOT NULL AFTER `latefeeoveride` ;
UPDATE tblproductconfigoptions SET optiontype='1';
ALTER TABLE `tblhostingconfigoptions` ADD `qty` INT( 10 ) NOT NULL ;
ALTER TABLE `tblpromotions` DROP `item`, DROP `addons`;
ALTER TABLE `tblpromotions` CHANGE `code` `code` TEXT NOT NULL AFTER id, CHANGE `type` `recurring` INT(1) AFTER code, CHANGE `discount` `type` TEXT NOT NULL AFTER code, CHANGE `appliesto` `cycles` TEXT NOT NULL AFTER value, CHANGE `packages` `appliesto` TEXT NOT NULL AFTER cycles;
UPDATE tblpromotions SET recurring='1' WHERE type='Recurring';
ALTER TABLE `tblpromotions` ADD `applyonce` INT( 1 ) NOT NULL, ADD `newsignups` INT( 1 ) NOT NULL ;
UPDATE tblpromotions SET type='Fixed Amount' WHERE type='Money Value';
INSERT INTO `tblemailtemplates` (`id`, `type`, `name`, `subject`, `message`, `fromname`, `fromemail`, `disabled`, `custom`, `language`, `copyto`, `plaintext`) VALUES (NULL, 'product', 'Cancellation Request Confirmation', 'Cancellation Request Confirmation', '<p>Dear {$client_name},</p><p>This email is to confirm that we have received your cancellation request for the service listed below.</p><p>Product/Service: {$service_product_name}<br />Domain: {$service_domain}</p><p>If you requested immediate cancellation then the service will be terminated within the next 24 hours. If however you chose end of billing cycle, it will not be cancelled until {$service_next_due_date}.</p><p>Thank you for using {$company_name} and we hope to see you again in the future.</p><p>{$signature}</p>', '', '', '', '', '', '', '0');
ALTER TABLE `tbltickets` ADD `service` TEXT NOT NULL ;
ALTER TABLE `tblaffiliatesaccounts`  DROP `domain`,  DROP `package`,  DROP `billingcycle`,  DROP `regdate`,  DROP `amount`,  DROP `commission`;
ALTER TABLE `tblaffiliatesaccounts` CHANGE `id` `id` INT( 10 ) NOT NULL AUTO_INCREMENT , CHANGE `relid` `relid` INT( 10 ) NOT NULL AFTER affiliateid;
DROP TABLE IF EXISTS `tblaffiliateswithdrawals`;
CREATE TABLE IF NOT EXISTS `tblaffiliateswithdrawals` (  `id` int(10) NOT NULL auto_increment,  `affiliateid` int(10) NOT NULL,  `date` date NOT NULL,  `amount` decimal(10,2) NOT NULL,  PRIMARY KEY  (`id`),  KEY `affiliateid` (`affiliateid`)) DEFAULT CHARSET=utf8 COLLATE=utf8_unicode_ci;
ALTER TABLE `tblservers` ADD `hostname` TEXT NOT NULL AFTER `ipaddress` ;
upgrade700beta2.sql000064400000000644147361027270010076 0ustar00-- editor to tblticketescalations --
set @query = if ((select count(*) from information_schema.columns where table_schema=database() and table_name='tblticketescalations' and column_name='editor') = 0, 'ALTER TABLE tblticketescalations ADD `editor` enum(\'plain\',\'markdown\') COLLATE utf8_unicode_ci NOT NULL DEFAULT \'plain\'', 'DO 0');
prepare statement from @query;
execute statement;
deallocate prepare statement;
upgrade760alpha1.sql000064400000003221147361027270010247 0ustar00-- Add the target_php_version column to tblioncube_file_log
set @query = if ((select count(*) from information_schema.columns where table_schema=database() and table_name='tblioncube_file_log' and column_name='target_php_version') = 0, 'alter table `tblioncube_file_log` add `target_php_version` CHAR(16) NOT NULL DEFAULT \'\'', 'DO 0');
prepare statement from @query;
execute statement;
deallocate prepare statement;

-- update MaxMind Configuration
UPDATE `tblfraud` SET `setting` = 'licenseKey' WHERE `setting` = 'MaxMind License Key' AND `fraud` = 'maxmind';
UPDATE `tblfraud` SET `setting` = 'riskScore' WHERE `setting` = 'MaxMind Fraud Risk Score' AND `fraud` = 'maxmind';
UPDATE `tblfraud` SET `setting` = 'ignoreAddressValidation' WHERE `setting` = 'Do Not Validate Address Information' AND `fraud` = 'maxmind';
UPDATE `tblfraud` SET `setting` = 'rejectFreeEmail' WHERE `setting` = 'Reject Free Email Service' AND `fraud` = 'maxmind';
UPDATE `tblfraud` SET `setting` = 'rejectCountryMismatch' WHERE `setting` = 'Reject Country Mismatch' AND `fraud` = 'maxmind';
UPDATE `tblfraud` SET `setting` = 'rejectAnonymousNetwork' WHERE `setting` = 'Reject Anonymous Proxy' AND `fraud` = 'maxmind';
UPDATE `tblfraud` SET `setting` = 'rejectHighRiskCountry' WHERE `setting` = 'Reject High Risk Country' AND `fraud` = 'maxmind';
DELETE FROM `tblfraud` WHERE `setting` IN ('Use New Risk Score', 'Service Type', 'Force Phone Verify Products') AND `fraud` = 'maxmind';

-- Change enum to include bbcode for editor column in tbltickets
ALTER TABLE `tbltickets` CHANGE `editor` `editor` ENUM('plain','markdown','bbcode') CHARACTER SET utf8 COLLATE utf8_unicode_ci NOT NULL DEFAULT 'plain';
upgrade431.sql000064400000000147147361027270007157 0ustar00UPDATE `tblconfiguration` SET value='cart' where setting = 'OrderFormTemplate' and value='singlepage';
upgrade630alpha1.sql000064400000011712147361027270010247 0ustar00-- Add the created_at column to tblcustomfields
set @query = if ((select count(*) from information_schema.columns where table_schema=database() and table_name='tblcustomfields' and column_name='created_at') = 0, 'alter table tblcustomfields add `created_at` timestamp NOT NULL DEFAULT \'0000-00-00 00:00:00\' AFTER `sortorder`', 'DO 0');
prepare statement from @query;
execute statement;
deallocate prepare statement;

-- Add the updated_at column to tblcustomfields
set @query = if ((select count(*) from information_schema.columns where table_schema=database() and table_name='tblcustomfields' and column_name='updated_at') = 0, 'alter table tblcustomfields add `updated_at` timestamp NOT NULL DEFAULT \'0000-00-00 00:00:00\' AFTER `created_at`', 'DO 0');
prepare statement from @query;
execute statement;
deallocate prepare statement;

-- attachments to ticket notes
set @query = if ((select count(*) from information_schema.columns where table_schema=database() and table_name='tblticketnotes' and column_name='attachments') = 0, 'ALTER TABLE tblticketnotes ADD `attachments` TEXT NOT NULL AFTER `message`', 'DO 0');
prepare statement from @query;
execute statement;
deallocate prepare statement;

-- merged_ticket_id to tbltickets
set @query = if ((select count(*) from information_schema.columns where table_schema=database() and table_name='tbltickets' and column_name='merged_ticket_id') = 0, 'ALTER TABLE tbltickets ADD `merged_ticket_id` integer NOT NULL DEFAULT 0', 'DO 0');
prepare statement from @query;
execute statement;
deallocate prepare statement;

set @query = if ((select count(*) from information_schema.STATISTICS where table_schema=database() and table_name='tbltickets' and index_name='merged_ticket_id') = 0, 'CREATE INDEX `merged_ticket_id` ON `tbltickets` (`merged_ticket_id`,`id`)', 'DO 0');
prepare statement from @query;
execute statement;
deallocate prepare statement;

-- Add email_verified to tblclients.
set @query = if (
  (select count(*) from information_schema.columns where table_schema=database() and table_name='tblclients' and column_name='email_verified') = 0,
    'ALTER TABLE `tblclients` add `email_verified` tinyint(1) NOT NULL DEFAULT 0 AFTER `allow_sso`',
    'DO 0'
);
prepare statement from @query;
execute statement;
deallocate prepare statement;

-- Insert Email Verification email template.
set @query = if (
  (select count(*) from tblemailtemplates where name = 'Client Email Address Verification') = 0,
    'INSERT INTO `tblemailtemplates` (`type`, `name`, `subject`, `message`) VALUES (\'general\', \'Client Email Address Verification\', \'Confirm Your Registration\', \'<p>Dear {$client_name},</p><p>Thank you for creating a {$companyname} account.</p><p>Please visit the link below and sign into your account to verify your email address and complete your registration.</p><p>{$client_email_verification_link}</p><p>You are receiving this email because you recently created an account or changed your email address. If you did not do this, please contact us.</p><p>{$signature}</p>\')',
    'DO 0'
);
prepare statement from @query;
execute statement;
deallocate prepare statement;

-- Create translations table
CREATE TABLE IF NOT EXISTS `tbldynamic_translations` (
  `id` int(10) unsigned NOT NULL AUTO_INCREMENT,
  `related_type` enum('configurable_option.{id}.name','configurable_option_option.{id}.name','custom_field.{id}.description','custom_field.{id}.name','download.{id}.description','download.{id}.title','product.{id}.description','product.{id}.name','product_addon.{id}.description','product_addon.{id}.name','product_bundle.{id}.description','product_bundle.{id}.name','product_group.{id}.headline','product_group.{id}.name','product_group.{id}.tagline','product_group_features.{id}.feature','ticket_department.{id}.description','ticket_department.{id}.name') NOT NULL,
  `related_id` int(10) unsigned NOT NULL DEFAULT 0,
  `language` varchar(16) NOT NULL DEFAULT '',
  `translation` text NOT NULL,
  `input_type` enum('text','textarea') NOT NULL,
  `created_at` timestamp NOT NULL DEFAULT '0000-00-00 00:00:00',
  `updated_at` timestamp NOT NULL DEFAULT '0000-00-00 00:00:00',
  PRIMARY KEY (`id`),
  KEY `tbldynamic_translations_id` (`related_id`),
  KEY `tbldynamic_translations_type` (`related_type`),
  KEY `tbldynamic_translations_id_type` (`related_id`, `related_type`)
) ENGINE=InnoDB DEFAULT CHARSET=utf8 COLLATE=utf8_unicode_ci;

CREATE TABLE IF NOT EXISTS `tblticket_watchers` (
  `id` int(10) unsigned NOT NULL AUTO_INCREMENT,
  `ticket_id` int(10) unsigned NOT NULL DEFAULT 0,
  `admin_id` int(10) unsigned NOT NULL DEFAULT 0,
  `created_at` timestamp NOT NULL DEFAULT '0000-00-00 00:00:00',
  `updated_at` timestamp NOT NULL DEFAULT '0000-00-00 00:00:00',
  PRIMARY KEY (`id`),
  UNIQUE KEY `admin_ticket_unique` (`ticket_id`,`admin_id`)
) ENGINE=InnoDB DEFAULT CHARSET=utf8 COLLATE=utf8_unicode_ci;

-- Remove partial index and replace with full column index so its used more often CORE-6368
DROP INDEX  `status` on `tbltickets`;
CREATE INDEX `status` ON `tbltickets` (status);
upgrade820alpha1.sql000064400000006673147361027270010262 0ustar00-- Add new field to tbltickets for ipaddress
set @query = if ((select count(*) from information_schema.columns where table_schema=database() and table_name='tbltickets' and column_name='ipaddress') = 0, 'ALTER table `tbltickets` ADD `ipaddress` varchar(64) COLLATE utf8_unicode_ci DEFAULT NULL AFTER `c`', 'DO 0');
prepare statement from @query;
execute statement;
deallocate prepare statement;

-- Create index to improve user/client lookups
set @query = if ((SELECT count(*) FROM (SELECT GROUP_CONCAT(COLUMN_NAME ORDER BY SEQ_IN_INDEX) idx_cols FROM information_schema.statistics WHERE table_schema=database() AND TABLE_NAME='tblusers_clients' GROUP BY INDEX_NAME) i WHERE idx_cols = 'client_id,owner') = 0, 'ALTER TABLE `tblusers_clients` ADD INDEX `client_id_owner_idx` (`client_id`, `owner`);', 'DO 0');
prepare statement from @query;
execute statement;
deallocate prepare statement;

-- Add new field to tblbillableitems for unit tracking
set @query = if ((select count(*) from information_schema.columns where table_schema=database() and table_name='tblbillableitems' and column_name='unit') = 0, 'ALTER table `tblbillableitems` ADD `unit` tinyint(1) NOT NULL DEFAULT \'0\' AFTER `invoiceaction`', 'DO 0');
prepare statement from @query;
execute statement;
deallocate prepare statement;
-- Add new field to tblorders to track associated Requestor ID
set @query = if ((select count(*) from information_schema.columns where table_schema=database() and table_name='tblorders' and column_name='requestor_id') = 0, 'ALTER TABLE `tblorders` ADD `requestor_id` INT(10) UNSIGNED NOT NULL DEFAULT \'0\' AFTER `contactid`', 'DO 0');
prepare statement from @query;
execute statement;
deallocate prepare statement;

-- Add new field to tblorders to track associated Admin Requestor ID
set @query = if ((select count(*) from information_schema.columns where table_schema=database() and table_name='tblorders' and column_name='admin_requestor_id') = 0, 'ALTER TABLE `tblorders` ADD `admin_requestor_id` INT(10) UNSIGNED NOT NULL DEFAULT \'0\' AFTER `requestor_id`', 'DO 0');
prepare statement from @query;
execute statement;
deallocate prepare statement;

-- Add new field to tbladdons for prorate
set @query = if ((select count(*) from information_schema.columns where table_schema=database() and table_name='tbladdons' and column_name='prorate') = 0, 'ALTER TABLE `tbladdons` ADD `prorate` TINYINT(1) NOT NULL DEFAULT \'0\' AFTER `server_group_id`', 'DO 0');
prepare statement from @query;
execute statement;
deallocate prepare statement;

-- Add new field to tblhostingaddons for proratadate
set @query = if ((select count(*) from information_schema.columns where table_schema=database() and table_name='tblhostingaddons' and column_name='proratadate') = 0, 'ALTER TABLE `tblhostingaddons` ADD `proratadate` DATE NOT NULL DEFAULT \'0000-00-00\' AFTER `termination_date`', 'DO 0');
prepare statement from @query;
execute statement;
deallocate prepare statement;

-- Add new field to tblhostingaddons for firstpaymentamount
set @query = if ((select count(*) from information_schema.columns where table_schema=database() and table_name='tblhostingaddons' and column_name='firstpaymentamount') = 0, 'ALTER TABLE `tblhostingaddons` ADD `firstpaymentamount` DECIMAL(16,2) NOT NULL DEFAULT \'0.00\' AFTER `qty`', 'DO 0');
prepare statement from @query;
execute statement;
deallocate prepare statement;

-- Add new permission for View Gateway Balance Data
INSERT INTO `tbladminperms` (`roleid` ,`permid` ) VALUES ('1', '154');
upgrade771release1.sql000064400000000650147361027270010607 0ustar00-- Add the last_error column to tblstorageconfigurations
set @query = if ((select count(*) from information_schema.columns where table_schema=database() and table_name='tblstorageconfigurations' and column_name='last_error') = 0, 'alter table `tblstorageconfigurations` add `last_error` TEXT COLLATE utf8_unicode_ci AFTER `settings`', 'DO 0');
prepare statement from @query;
execute statement;
deallocate prepare statement;
upgrade760release1.sql000064400000000325147361027270010604 0ustar00-- Geotargeted Results in tblconfiguration
INSERT INTO tbldomain_lookup_configuration (`registrar`, `setting`, `value`, `created_at`, `updated_at`) VALUES ('WhmcsWhois', 'geotargetedResults', 'on', NOW(), NOW());
upgrade780release1.sql000064400000000660147361027270010610 0ustar00-- Add AcceptedCardTypes setting to tblconfiguration
set @query = if ((select count(*) from `tblconfiguration` where `setting` = 'AcceptedCardTypes') = 0, "INSERT INTO `tblconfiguration` (`setting`, `value`, `created_at`, `updated_at`) VALUES ('AcceptedCardTypes', 'Visa,MasterCard,Discover,American Express,JCB,Diners Club', now(), now());",'DO 0;');
prepare statement from @query;
execute statement;
deallocate prepare statement;
upgrade361.sql000064400000002033147361027270007155 0ustar00ALTER TABLE `tblproductconfigoptionssub` CHANGE `price` `monthly` DECIMAL( 10, 2 ) NOT NULL DEFAULT '0.00' ;
ALTER TABLE `tblproductconfigoptionssub` ADD `quarterly` DECIMAL( 10, 2 ) NOT NULL ,ADD `semiannual` DECIMAL( 10, 2 ) NOT NULL ,ADD `annual` DECIMAL( 10, 2 ) NOT NULL ,ADD `biennial` DECIMAL( 10, 2 ) NOT NULL ;
UPDATE tblproductconfigoptionssub SET quarterly=monthly*3,semiannual=monthly*6,annual=monthly*12,biennial=monthly*24;
ALTER TABLE `tblclients` CHANGE `status` `status` ENUM( 'Active', 'Inactive', 'Closed' ) NOT NULL DEFAULT 'Active' ;
ALTER TABLE `tbldomains` CHANGE `status` `status` ENUM( 'Pending', 'Pending Transfer', 'Active', 'Expired', 'Cancelled', 'Fraud' ) NOT NULL DEFAULT 'Pending';
ALTER TABLE `tbldomains` ADD `donotrenew` TEXT NOT NULL ;
INSERT INTO `tblconfiguration` (`setting`, `value`) VALUES ('BulkDomainSearchEnabled', 'on');
INSERT INTO `tblconfiguration` (`setting`,`value`) VALUES ('AutoRenewDomainsonPayment','on');
INSERT INTO `tblconfiguration` (`setting`,`value`) VALUES ('DomainAutoRenewDefault','on');
upgrade810rc1.sql000064400000002231147361027270007562 0ustar00-- Add new index to tbllog_register for namespace_id
set @query = if ((select count(*) from information_schema.statistics where table_schema=database() and table_name='tbllog_register' and column_name='namespace_id') = 0, 'CREATE INDEX tbllog_register_namespace_id_index ON tbllog_register (namespace_id);', 'DO 0');
prepare statement from @query;
execute statement;
deallocate prepare statement;

-- Add new index to tbllog_register for namespace
set @query = if ((select count(*) from information_schema.statistics where table_schema=database() and table_name='tbllog_register' and column_name='namespace') = 0, 'CREATE INDEX tbllog_register_namespace_index ON tbllog_register (namespace(32));', 'DO 0');
prepare statement from @query;
execute statement;
deallocate prepare statement;

-- Add new index to tbllog_register for created_at
set @query = if ((select count(*) from information_schema.statistics where table_schema=database() and table_name='tbllog_register' and column_name='created_at') = 0, 'CREATE INDEX tbllog_register_created_at_index ON tbllog_register (created_at);', 'DO 0');
prepare statement from @query;
execute statement;
deallocate prepare statement;
upgrade501.sql000064400000002052147361027270007152 0ustar00ALTER TABLE `tblclients` ADD `defaultgateway` TEXT NOT NULL AFTER `currency` ;

ALTER TABLE `tbltickets`  ADD `contactid` INT(10) NOT NULL AFTER `userid`;
ALTER TABLE `tblticketreplies`  ADD `contactid` INT(10) NOT NULL AFTER `userid`;

ALTER TABLE `tbldownloads`  ADD `hidden` TEXT NOT NULL AFTER `clientsonly`;

ALTER TABLE `tblorders` ADD `orderdata` TEXT NOT NULL AFTER `promovalue` ;

INSERT INTO `tbladminperms` (`roleid`, `permid`) VALUES ('2', '71'), ('2', '73'), ('1', '104'), ('2', '104'), ('1', '105'), ('2', '105'), ('3', '105'), ('1', '106'), ('1', '107'), ('1', '108'), ('1', '109'), ('1', '110'), ('2', '110'), ('1', '111'), ('1', '112'), ('1', '113'), ('1', '114'), ('1', '115'), ('1', '116'), ('1', '117'), ('1', '118'), ('1', '119'), ('1', '120'), ('2', '120');

UPDATE `tbladmins` SET template='blend' WHERE template='simple';
ALTER TABLE `tblclients`  ADD `bankname` TEXT NOT NULL AFTER `issuenumber`,  ADD `banktype` TEXT NOT NULL AFTER `bankname`,  ADD `bankcode` BLOB NOT NULL AFTER `banktype`,  ADD `bankacct` BLOB NOT NULL AFTER `bankcode`;
upgrade880beta1.sql000064400000006434147361027270010111 0ustar00-- Add new configuration value for OnDemandRenewalsEnabled
set @query = if ((select count(*) from `tblconfiguration` where `setting` = 'OnDemandRenewalsEnabled') = 0, "INSERT INTO `tblconfiguration` (`setting`, `value`, `created_at`, `updated_at`) VALUES ('OnDemandRenewalsEnabled', 0, now(), now());",'DO 0;');
prepare statement from @query;
execute statement;
deallocate prepare statement;

-- Add new configuration value for OnDemandRenewalPeriodMonthly
set @query = if ((select count(*) from `tblconfiguration` where `setting` = 'OnDemandRenewalPeriodMonthly') = 0, "INSERT INTO `tblconfiguration` (`setting`, `value`, `created_at`, `updated_at`) VALUES ('OnDemandRenewalPeriodMonthly', 31, now(), now());",'DO 0;');
prepare statement from @query;
execute statement;
deallocate prepare statement;

-- Add new configuration value for OnDemandRenewalPeriodQuarterly
set @query = if ((select count(*) from `tblconfiguration` where `setting` = 'OnDemandRenewalPeriodQuarterly') = 0, "INSERT INTO `tblconfiguration` (`setting`, `value`, `created_at`, `updated_at`) VALUES ('OnDemandRenewalPeriodQuarterly', 92, now(), now());",'DO 0;');
prepare statement from @query;
execute statement;
deallocate prepare statement;

-- Add new configuration value for OnDemandRenewalPeriodSemiAnnually
set @query = if ((select count(*) from `tblconfiguration` where `setting` = 'OnDemandRenewalPeriodSemiAnnually') = 0, "INSERT INTO `tblconfiguration` (`setting`, `value`, `created_at`, `updated_at`) VALUES ('OnDemandRenewalPeriodSemiAnnually', 183, now(), now());",'DO 0;');
prepare statement from @query;
execute statement;
deallocate prepare statement;

-- Add new configuration value for OnDemandRenewalPeriodAnnually
set @query = if ((select count(*) from `tblconfiguration` where `setting` = 'OnDemandRenewalPeriodAnnually') = 0, "INSERT INTO `tblconfiguration` (`setting`, `value`, `created_at`, `updated_at`) VALUES ('OnDemandRenewalPeriodAnnually', 366, now(), now());",'DO 0;');
prepare statement from @query;
execute statement;
deallocate prepare statement;

-- Add new configuration value for OnDemandRenewalPeriodBiennially
set @query = if ((select count(*) from `tblconfiguration` where `setting` = 'OnDemandRenewalPeriodBiennially') = 0, "INSERT INTO `tblconfiguration` (`setting`, `value`, `created_at`, `updated_at`) VALUES ('OnDemandRenewalPeriodBiennially', 731, now(), now());",'DO 0;');
prepare statement from @query;
execute statement;
deallocate prepare statement;

-- Add new configuration value for OnDemandRenewalPeriodTriennially
set @query = if ((select count(*) from `tblconfiguration` where `setting` = 'OnDemandRenewalPeriodTriennially') = 0, "INSERT INTO `tblconfiguration` (`setting`, `value`, `created_at`, `updated_at`) VALUES ('OnDemandRenewalPeriodTriennially', 1096, now(), now());",'DO 0;');
prepare statement from @query;
execute statement;
deallocate prepare statement;

-- Add new composite index for (merged_ticket_id, status, userid) columns in tbltickets
set @query = if ((SELECT count(INDEX_NAME) FROM INFORMATION_SCHEMA.STATISTICS WHERE TABLE_SCHEMA = database() AND TABLE_NAME = 'tbltickets' AND INDEX_NAME = 'merged_status_userid') = 0, 'CREATE INDEX `merged_status_userid` ON `tbltickets` (`merged_ticket_id`, `status`, `userid`)', 'DO 0');
prepare statement from @query;
execute statement;
deallocate prepare statement;
upgrade430.sql000064400000015541147361027270007162 0ustar00ALTER TABLE `tbladdons` ADD `weight` INT( 2 ) NOT NULL DEFAULT '0';

INSERT INTO `tblconfiguration` (`setting`, `value`) VALUES ('CreateInvoiceDaysBeforeMonthly', '');
INSERT INTO `tblconfiguration` (`setting`, `value`) VALUES ('CreateInvoiceDaysBeforeQuarterly', '');
INSERT INTO `tblconfiguration` (`setting`, `value`) VALUES ('CreateInvoiceDaysBeforeSemiAnnually', '');
INSERT INTO `tblconfiguration` (`setting`, `value`) VALUES ('CreateInvoiceDaysBeforeAnnually', '');
INSERT INTO `tblconfiguration` (`setting`, `value`) VALUES ('CreateInvoiceDaysBeforeBiennially', '');
INSERT INTO `tblconfiguration` (`setting`, `value`) VALUES ('CreateInvoiceDaysBeforeTriennially', '');

INSERT INTO `tblconfiguration` (`setting`, `value`) VALUES ('ClientsProfileUneditableFields', '');

ALTER TABLE `tblhosting` ADD `suspendreason` TEXT NOT NULL AFTER `promoid` ;
UPDATE `tblemailtemplates` SET `name` = 'Service Suspension Notification',`subject` = 'Service Suspension Notification',`message` = '<p>Dear {$client_name},</p><p>This is a notification that your service has now been suspended.  The details of this suspension are below:</p><p>Product/Service: {$service_product_name}<br />{if $service_domain}Domain: {$service_domain}<br />{/if}Amount: {$service_recurring_amount}<br />Due Date: {$service_next_due_date}<br />Suspension Reason: <strong>{$service_suspension_reason}</strong></p><p>Please contact us as soon as possible to get your service reactivated.</p><p>{$signature}</p>' WHERE `name` = 'Account Suspended';

ALTER TABLE `tblpromotions` ADD `recurfor` INT( 3 ) NOT NULL ;

INSERT INTO `tblemailtemplates` (`id`, `type`, `name`, `subject`, `message`, `fromname`, `fromemail`, `disabled`, `custom`, `language`, `copyto`, `plaintext`) VALUES (NULL, 'admin', 'Automatic Setup Failed', 'WHMCS Automatic Setup Failed', '<p>An order has received its first payment but the automatic provisioning has failed and requires you to manually check & resolve.</p>\r\n<p>Client ID: {$client_id}<br />{if $service_id}Service ID: {$service_id}<br />Product/Service: {$service_product}<br />Domain: {$service_domain}{else}Domain ID: {$domain_id}<br />Registration Type: {$domain_type}<br />Domain: {$domain_name}{/if}<br />Error: {$error_msg}</p>\r\n<p>{$whmcs_admin_link}</p>', '', '', '', '', '', '', 0),(NULL, 'admin', 'Automatic Setup Successful', 'WHMCS Automatic Setup Successful', '<p>An order has received its first payment and the product/service has been automatically provisioned successfully.</p>\r\n<p>Client ID: {$client_id}<br />{if $service_id}Service ID: {$service_id}<br />Product/Service: {$service_product}<br />Domain: {$service_domain}{else}Domain ID: {$domain_id}<br />Registration Type: {$domain_type}<br />Domain: {$domain_name}{/if}</p>\r\n<p>{$whmcs_admin_link}</p>', '', '', '', '', '', '', 0),(NULL, 'admin', 'Domain Renewal Failed', 'WHMCS Automatic Domain Renewal Failed', '<p>An invoice for the renewal of a domain has been paid but the renewal request submitted to the registrar failed.</p>\r\n<p>Client ID: {$client_id}<br />Domain ID: {$domain_id}<br />Domain Name: {$domain_name}<br />Error: {$error_msg}</p>\r\n<p>{$whmcs_admin_link}</p>', '', '', '', '', '', '', 0),(NULL, 'admin', 'Domain Renewal Successful', 'WHMCS Automatic Domain Renewal Successful', '<p>An invoice for the renewal of a domain has been paid and the renewal request was submitted to the registrar successfully.</p>\r\n<p>Client ID: {$client_id}<br />Domain ID: {$domain_id}<br />Domain Name: {$domain_name}</p>\r\n<p>{$whmcs_admin_link}</p>', '', '', '', '', '', '', 0),(NULL, 'admin', 'New Order Notification', 'WHMCS New Order Notification', '<p><strong>Order Information</strong></p>\r\n<p>Order ID: {$order_id}<br />\r\nOrder Number: {$order_number}<br />\r\nDate/Time: {$order_date}<br />\r\nInvoice Number: {$invoice_id}<br />\r\nPayment Method: {$order_payment_method}</p>\r\n<p><strong>Customer Information</strong></p>\r\n<p>Customer ID: {$client_id}<br />\r\nName: {$client_first_name} {$client_last_name}<br />\r\nEmail: {$client_email}<br />\r\nCompany: {$client_company_name}<br />\r\nAddress 1: {$client_address1}<br />\r\nAddress 2: {$client_address2}<br />\r\nCity: {$client_city}<br />\r\nState: {$client_state}<br />\r\nPostcode: {$client_postcode}<br />\r\nCountry: {$client_country}<br />\r\nPhone Number: {$client_phonenumber}</p>\r\n<p><strong>Order Items</strong></p>\r\n<p>{$order_items}</p>\r\n{if $order_notes}<p><strong>Order Notes</strong></p>\r\n<p>{$order_notes}</p>{/if}\r\n<p><strong>ISP Information</strong></p>\r\n<p>IP: {$client_ip}<br />\r\nHost: {$client_hostname}</p><p><a href="{$whmcs_admin_url}orders.php?action=view&id={$order_id}">{$whmcs_admin_url}orders.php?action=view&id={$order_id}</a></p>', '', '', '', '', '', '', 0),(NULL, 'admin', 'Service Unsuspension Failed', 'WHMCS Service Unsuspension Failed', '<p>This product/service has received its next payment but the automatic reactivation has failed.</p>\r\n<p>Client ID: {$client_id}<br />Service ID: {$service_id}<br />Product/Service: {$service_product}<br />Domain: {$service_domain}<br />Error: {$error_msg}</p>\r\n<p>{$whmcs_admin_link}</p>', '', '', '', '', '', '', 0),(NULL, 'admin', 'Service Unsuspension Successful', 'WHMCS Service Unsuspension Successful', '<p>This product/service has received its next payment and has been reactivated successfully.</p>\r\n<p>Client ID: {$client_id}<br />Service ID: {$service_id}<br />Product/Service: {$service_product}<br />Domain: {$service_domain}</p>\r\n<p>{$whmcs_admin_link}</p>', '', '', '', '', '', '', 0),(NULL, 'admin', 'Support Ticket Created', '[Ticket ID: {$ticket_tid}] New Support Ticket Opened', '<p>A new support ticket has been opened.</p>\r\n<p>Client: {$client_name}{if $client_id} #{$client_id}{/if}<br />Department: {$ticket_department}<br />Subject: {$ticket_subject}<br />Priority: {$ticket_priority}</p>\r\n<p>---<br />{$ticket_message}<br />---</p>\r\n<p>You can respond to this ticket by simply replying to this email or through the admin area at the url below.</p>\r\n<p><a href="{$whmcs_admin_url}supporttickets.php?action=viewticket&id={$ticket_id}">{$whmcs_admin_url}supporttickets.php?action=viewticket&id={$ticket_id}</a></p>', '', '', '', '', '', '', 0),(NULL, 'admin', 'Support Ticket Response', '[Ticket ID: {$ticket_tid}] New Support Ticket Response', '<p>A new support ticket response has been made.</p>\r\n<p>Client: {$client_name}{if $client_id} #{$client_id}{/if} <br />Department: {$ticket_department} <br />Subject: {$ticket_subject} <br />Priority: {$ticket_priority}</p>\r\n<p>--- <br />{$ticket_message} <br />---</p>\r\n<p>You can respond to this ticket by simply replying to this email or through the admin area at the url below.</p>\r\n<p><a href="{$whmcs_admin_url}supporttickets.php?action=viewticket&id={$ticket_id}">{$whmcs_admin_url}supporttickets.php?action=viewticket&id={$ticket_id}</a></p>', '', '', '', '', '', '', 0);

UPDATE `tblconfiguration` SET value='ssl' where setting = 'SMTPSSL' and value='on';
upgrade362.sql000064400000034210147361027270007160 0ustar00ALTER TABLE `tblannouncements` CHANGE `date` `date` DATETIME NULL DEFAULT NULL ;
ALTER TABLE `tblaccounts` CHANGE `id` `id` INT( 10 ) NOT NULL AUTO_INCREMENT , CHANGE `userid` `userid` INT( 10 ) NOT NULL,CHANGE `invoiceid` `invoiceid` INT( 10 ) NOT NULL DEFAULT '0'  ;
CREATE INDEX invoiceid ON tblaccounts (invoiceid);
CREATE INDEX userid ON tblaccounts (userid);
CREATE INDEX date ON tblaccounts (date);
CREATE INDEX transid ON tblaccounts (transid(32));
ALTER TABLE `tblactivitylog` CHANGE `id` `id` INT( 10 ) NOT NULL AUTO_INCREMENT ;
ALTER TABLE `tbladdons` CHANGE `id` `id` INT( 10 ) NOT NULL AUTO_INCREMENT ;
CREATE INDEX name ON tbladdons (name(32));
ALTER TABLE `tbladminlog` CHANGE `id` `id` INT( 10 ) NOT NULL AUTO_INCREMENT ;
CREATE INDEX logouttime ON tbladminlog (logouttime);
CREATE INDEX roleid_permid ON tbladminperms (roleid,permid);
ALTER TABLE `tbladmins` CHANGE `id` `id` INT( 10 ) NOT NULL AUTO_INCREMENT ;
CREATE INDEX username ON tbladmins (username(32));
ALTER TABLE `tblaffiliates` CHANGE `clientid` `clientid` INT( 10 ) NOT NULL ;
CREATE INDEX affiliateid ON tblaffiliates (id);
CREATE INDEX clientid ON tblaffiliates (clientid);
ALTER TABLE `tblaffiliates` DROP PRIMARY KEY;
ALTER TABLE `tblaffiliatesaccounts` CHANGE `id` `id` INT( 1 ) NOT NULL AUTO_INCREMENT ;
ALTER TABLE `tblaffiliatesaccounts` CHANGE `affiliateid` `affiliateid` INT( 10 ) NOT NULL ;
CREATE INDEX affiliateid ON tblaffiliatesaccounts (affiliateid);
ALTER TABLE `tblaffiliateshistory` CHANGE `id` `id` INT( 10 ) NOT NULL AUTO_INCREMENT ,CHANGE `affiliateid` `affiliateid` INT( 10 ) NOT NULL , CHANGE `affaccid` `affaccid` INT( 10 ) NOT NULL ;
CREATE INDEX affiliateid ON tblaffiliateshistory (affiliateid);
ALTER TABLE `tblaffiliatespending` CHANGE `id` `id` INT( 10 ) NOT NULL AUTO_INCREMENT , CHANGE `affaccid` `affaccid` INT( 10 ) NOT NULL DEFAULT '0' ;
CREATE INDEX clearingdate ON tblaffiliatespending (clearingdate);
ALTER TABLE `tblannouncements` CHANGE `id` `id` INT( 10 ) NOT NULL AUTO_INCREMENT ;
CREATE INDEX date ON tblannouncements (date);
ALTER TABLE `tblbannedemails` CHANGE `id` `id` INT( 10 ) NOT NULL AUTO_INCREMENT ,CHANGE `count` `count` INT( 10 ) NOT NULL DEFAULT '0' ;
CREATE INDEX domain ON tblbannedemails (domain(64));
ALTER TABLE `tblbannedips` CHANGE `id` `id` INT( 10 ) NOT NULL AUTO_INCREMENT ;
CREATE INDEX ip ON tblbannedips (ip(32));
ALTER TABLE `tblbrowserlinks` CHANGE `id` `id` INT( 10 ) NOT NULL AUTO_INCREMENT ;
CREATE INDEX name ON tblbrowserlinks (name(32));
ALTER TABLE `tblcalendar` CHANGE `id` `id` INT( 10 ) NOT NULL AUTO_INCREMENT , CHANGE `adminid` `adminid` INT( 10 ) NOT NULL ;
CREATE INDEX day_month_year ON tblcalendar (day(2),month(2),year(4));
ALTER TABLE `tblcancelrequests` CHANGE `id` `id` INT( 10 ) NOT NULL AUTO_INCREMENT , CHANGE `relid` `relid` INT( 10 ) NOT NULL ;
CREATE INDEX serviceid ON tblcancelrequests (relid);
ALTER TABLE `tblclients` CHANGE `id` `id` INT( 10 ) NOT NULL AUTO_INCREMENT , CHANGE `billingcid` `billingcid` INT( 10 ) NOT NULL ;
CREATE INDEX firstname_lastname ON tblclients (firstname(32),lastname(32));
CREATE INDEX email ON tblclients (email(64));
CREATE INDEX setting ON tblconfiguration (setting(32));
CREATE INDEX userid_firstname_lastname ON tblcontacts (userid,firstname(32),lastname(32));
ALTER TABLE `tblcontacts` CHANGE `id` `id` INT( 10 ) NOT NULL AUTO_INCREMENT , CHANGE `userid` `userid` INT( 10 ) NOT NULL ;
CREATE INDEX email ON tblcontacts (email(64));
ALTER TABLE `tblcredit` CHANGE `id` `id` INT( 10 ) NOT NULL AUTO_INCREMENT , CHANGE `clientid` `clientid` INT( 10 ) NOT NULL ;
ALTER TABLE `tblcustomfields` CHANGE `id` `id` INT( 10 ) NOT NULL AUTO_INCREMENT , CHANGE `relid` `relid` INT( 10 ) NOT NULL ;
CREATE INDEX serviceid ON tblcustomfields (relid);
ALTER TABLE `tblcustomfieldsvalues` CHANGE `fieldid` `fieldid` INT( 10 ) NOT NULL , CHANGE `relid` `relid` INT( 10 ) NOT NULL ;
CREATE INDEX fieldid_relid ON tblcustomfieldsvalues (fieldid,relid);
ALTER TABLE `tbldomainpricing` CHANGE `id` `id` INT( 10 ) NOT NULL AUTO_INCREMENT ;
CREATE INDEX extension_registrationperiod ON tbldomainpricing (extension(32),registrationperiod);
CREATE INDEX `order` ON tbldomainpricing (`order`);
ALTER TABLE `tbldomains` CHANGE `id` `id` INT( 10 ) NOT NULL AUTO_INCREMENT , CHANGE `userid` `userid` INT( 10 ) NOT NULL ;
CREATE INDEX userid ON tbldomains (userid);
CREATE INDEX orderid ON tbldomains (orderid);
CREATE INDEX domain ON tbldomains (domain(64));
CREATE INDEX status ON tbldomains (status);
ALTER TABLE `tbldomainsadditionalfields` CHANGE `id` `id` INT( 10 ) NOT NULL AUTO_INCREMENT ,CHANGE `domainid` `domainid` INT( 10 ) NOT NULL ;
CREATE INDEX domainid ON tbldomainsadditionalfields (domainid);
ALTER TABLE `tbldownloadcats` CHANGE `id` `id` INT( 10 ) NOT NULL AUTO_INCREMENT , CHANGE `parentid` `parentid` INT( 10 ) NOT NULL DEFAULT '0' ;
CREATE INDEX parentid ON tbldownloadcats (parentid);
ALTER TABLE `tbldownloads` CHANGE `id` `id` INT( 10 ) NOT NULL AUTO_INCREMENT , CHANGE `category` `category` INT( 10 ) NOT NULL AFTER id , CHANGE `downloads` `downloads` INT( 10 ) NOT NULL DEFAULT '0' ;
CREATE INDEX title ON tbldownloads (title(32));
ALTER TABLE `tbldownloads` ADD INDEX ( `downloads` ) ;
ALTER TABLE `tblemails` CHANGE `id` `id` INT( 10 ) NOT NULL AUTO_INCREMENT , CHANGE `userid` `userid` INT( 10 ) NOT NULL ;
CREATE INDEX userid ON tblemails (userid);
ALTER TABLE `tblemailtemplates` CHANGE `id` `id` INT( 10 ) NOT NULL AUTO_INCREMENT ;
CREATE INDEX type ON tblemailtemplates (type(32));
CREATE INDEX name ON tblemailtemplates (name(64));
ALTER TABLE `tblfraud` CHANGE `id` `id` INT( 10 ) NOT NULL AUTO_INCREMENT ;
CREATE INDEX fraud ON tblfraud (fraud(32));
ALTER TABLE `tblgatewaylog` CHANGE `id` `id` INT( 10 ) NOT NULL AUTO_INCREMENT ;
ALTER TABLE `tblhosting` CHANGE `id` `id` INT( 10 ) NOT NULL AUTO_INCREMENT ,CHANGE `userid` `userid` INT( 10 ) NOT NULL ,CHANGE `orderid` `orderid` INT( 10 ) NOT NULL ,CHANGE `packageid` `packageid` INT( 10 ) NOT NULL AFTER `orderid` ,CHANGE `server` `server` INT( 10 ) NOT NULL AFTER `packageid`;
UPDATE tblhosting SET password=rootpassword WHERE password='' AND rootpassword!='';
ALTER TABLE `tblhosting` DROP `rootpassword` ;
CREATE INDEX serviceid ON tblhosting (id);
CREATE INDEX userid ON tblhosting (userid);
CREATE INDEX orderid ON tblhosting (orderid);
CREATE INDEX productid ON tblhosting (packageid);
CREATE INDEX serverid ON tblhosting (server);
CREATE INDEX domain ON tblhosting (domain(64));
CREATE INDEX domainstatus ON tblhosting (domainstatus);
ALTER TABLE `tblhostingaddons` CHANGE `id` `id` INT( 10 ) NOT NULL AUTO_INCREMENT ,CHANGE `orderid` `orderid` INT( 10 ) NOT NULL ,CHANGE `hostingid` `hostingid` INT( 10 ) NOT NULL ;
ALTER TABLE `tblhostingaddons` ADD INDEX ( `orderid` ) ;
CREATE INDEX serviceid ON tblhostingaddons (hostingid);
CREATE INDEX name ON tblhostingaddons (name(32));
CREATE INDEX status ON tblhostingaddons (status);
ALTER TABLE `tblhostingconfigoptions` CHANGE `id` `id` INT( 10 ) NOT NULL AUTO_INCREMENT ,CHANGE `relid` `relid` INT( 10 ) NOT NULL ,CHANGE `configid` `configid` INT( 10 ) NOT NULL ,CHANGE `optionid` `optionid` INT( 10 ) NOT NULL ;
CREATE INDEX relid_configid ON tblhostingconfigoptions (relid,configid);
ALTER TABLE `tblinvoiceitems` CHANGE `id` `id` INT( 10 ) NOT NULL AUTO_INCREMENT ,CHANGE `invoiceid` `invoiceid` INT( 10 ) NOT NULL DEFAULT '0' , CHANGE `userid` `userid` INT( 10 ) NOT NULL ,CHANGE `relid` `relid` INT( 10 ) NOT NULL ;
ALTER TABLE `tblinvoiceitems` ADD INDEX ( `invoiceid` ) ;
ALTER TABLE `tblinvoices` CHANGE `id` `id` INT( 10 ) NOT NULL AUTO_INCREMENT ,CHANGE `userid` `userid` INT( 10 ) NOT NULL AFTER `id`;
ALTER TABLE `tblinvoices` ADD INDEX ( `userid` ) ;
CREATE INDEX status ON tblinvoices (status(3));
ALTER TABLE `tblknowledgebase` CHANGE `id` `id` INT( 10 ) NOT NULL AUTO_INCREMENT ,CHANGE `category` `category` INT( 10 ) NOT NULL DEFAULT '0',CHANGE `views` `views` INT( 10 ) NOT NULL DEFAULT '0',CHANGE `useful` `useful` INT( 10 ) NOT NULL DEFAULT '0',CHANGE `votes` `votes` INT( 10 ) NOT NULL DEFAULT '0' ;
ALTER TABLE `tblknowledgebasecats` CHANGE `id` `id` INT( 10 ) NOT NULL AUTO_INCREMENT ,CHANGE `parentid` `parentid` INT( 10 ) NOT NULL DEFAULT '0' ;
ALTER TABLE `tblknowledgebasecats` ADD INDEX ( `parentid` ) ;
CREATE INDEX name ON tblknowledgebasecats (name(64));
ALTER TABLE `tbllinks` CHANGE `id` `id` INT( 10 ) NOT NULL AUTO_INCREMENT ,CHANGE `clicks` `clicks` INT( 10 ) NOT NULL ,CHANGE `conversions` `conversions` INT( 10 ) NOT NULL ;
CREATE INDEX name ON tbllinks (name(64));
ALTER TABLE `tblnotes` CHANGE `id` `id` INT( 10 ) NOT NULL AUTO_INCREMENT ,CHANGE `userid` `userid` INT( 10 ) NOT NULL ,CHANGE `adminid` `adminid` INT( 10 ) NOT NULL DEFAULT '0' ;
CREATE INDEX userid ON tblnotes (userid);
ALTER TABLE `tblorders` CHANGE `id` `id` INT( 10 ) NOT NULL AUTO_INCREMENT ,CHANGE `userid` `userid` INT( 10 ) NOT NULL ,CHANGE `contactid` `contactid` INT( 10 ) NOT NULL ,CHANGE `invoiceid` `invoiceid` INT( 10 ) NOT NULL DEFAULT '0' ;
CREATE INDEX ordernum ON tblorders (ordernum);
CREATE INDEX userid ON tblorders (userid);
CREATE INDEX contactid ON tblorders (contactid);
CREATE INDEX date ON tblorders (date);
ALTER TABLE `tblpaymentgateways` CHANGE `id` `id` INT( 10 ) NOT NULL AUTO_INCREMENT ;
CREATE INDEX gateway_setting ON tblpaymentgateways (gateway(32),setting(32));
CREATE INDEX setting_value ON tblpaymentgateways (setting(32),value(32));
ALTER TABLE `tblproductconfigoptions` CHANGE `id` `id` INT( 10 ) NOT NULL AUTO_INCREMENT ,CHANGE `productid` `productid` INT( 10 ) NOT NULL ;
ALTER TABLE `tblproductconfigoptions` ADD INDEX ( `productid` ) ;
ALTER TABLE `tblproductconfigoptionssub` CHANGE `id` `id` INT( 10 ) NOT NULL AUTO_INCREMENT ,CHANGE `configid` `configid` INT( 10 ) NOT NULL ;
CREATE INDEX configid ON tblproductconfigoptionssub (configid);
CREATE INDEX `order` ON tblproductgroups (`order`);
ALTER TABLE `tblproductgroups` CHANGE `id` `id` INT( 10 ) NOT NULL AUTO_INCREMENT ;
ALTER TABLE `tblproducts` CHANGE `id` `id` INT( 10 ) NOT NULL AUTO_INCREMENT ,CHANGE `gid` `gid` INT( 10 ) NOT NULL ,CHANGE `welcomeemail` `welcomeemail` INT( 1 ) NOT NULL DEFAULT '0',CHANGE `qty` `qty` INT( 1 ) NOT NULL DEFAULT '0',CHANGE `defaultserver` `defaultserver` INT( 1 ) NOT NULL DEFAULT '0' ;
CREATE INDEX gid ON tblproducts (gid);
CREATE INDEX name ON tblproducts (name(64));
ALTER TABLE `tblpromotions` CHANGE `id` `id` INT( 10 ) NOT NULL AUTO_INCREMENT ,CHANGE `maxuses` `maxuses` INT( 10 ) NOT NULL DEFAULT '0',CHANGE `uses` `uses` INT( 10 ) NOT NULL DEFAULT '0' ;
CREATE INDEX code ON tblpromotions (code(32));
ALTER TABLE `tblregistrars` CHANGE `id` `id` INT( 10 ) NOT NULL AUTO_INCREMENT ;
CREATE INDEX registrar_setting ON tblregistrars(registrar(32),setting(32));
ALTER TABLE `tblservers` CHANGE `id` `id` INT( 10 ) NOT NULL AUTO_INCREMENT ,CHANGE `maxaccounts` `maxaccounts` INT( 10 ) NOT NULL DEFAULT '0' ;
ALTER TABLE `tbltax` CHANGE `id` `id` INT( 10 ) NOT NULL AUTO_INCREMENT ;
CREATE INDEX state_country ON tbltax (state(32),country(2));
ALTER TABLE `tblticketbreaklines` CHANGE `id` `id` INT( 10 ) NOT NULL AUTO_INCREMENT ;
ALTER TABLE `tblticketdepartments` CHANGE `id` `id` INT( 10 ) NOT NULL AUTO_INCREMENT ;
CREATE INDEX name ON tblticketdepartments (name(64));
ALTER TABLE `tblticketlog` CHANGE `id` `id` INT( 10 ) NOT NULL AUTO_INCREMENT ,CHANGE `tid` `tid` INT( 10 ) NOT NULL ;
CREATE INDEX tid ON tblticketlog (tid);
ALTER TABLE `tblticketmaillog` CHANGE `id` `id` INT( 10 ) NOT NULL AUTO_INCREMENT ;
ALTER TABLE `tblticketnotes` CHANGE `id` `id` INT( 10 ) NOT NULL AUTO_INCREMENT ,CHANGE `ticketid` `ticketid` INT( 10 ) NOT NULL AFTER `id`;
CREATE INDEX ticketid_date ON tblticketnotes (ticketid,date);
ALTER TABLE `tblticketpredefinedcats` CHANGE `id` `id` INT( 10 ) NOT NULL AUTO_INCREMENT ,CHANGE `parentid` `parentid` INT( 10 ) NOT NULL DEFAULT '0' ;
CREATE INDEX parentid_name ON tblticketpredefinedcats (parentid,name(64));
ALTER TABLE `tblticketpredefinedreplies` CHANGE `id` `id` INT( 10 ) NOT NULL AUTO_INCREMENT ,CHANGE `catid` `catid` INT( 10 ) NOT NULL ;
ALTER TABLE `tblticketreplies` CHANGE `id` `id` INT( 10 ) NOT NULL AUTO_INCREMENT ,CHANGE `tid` `tid` INT( 10 ) NOT NULL ,CHANGE `userid` `userid` INT( 10 ) NOT NULL ;
CREATE INDEX tid_date ON tblticketreplies (tid,date);
ALTER TABLE `tbltickets` CHANGE `id` `id` INT( 10 ) NOT NULL AUTO_INCREMENT ,CHANGE `did` `did` INT( 10 ) NOT NULL ,CHANGE `userid` `userid` INT( 10 ) NOT NULL ;
CREATE INDEX tid_c ON tbltickets (tid,c(64));
CREATE INDEX userid ON tbltickets (userid);
CREATE INDEX status ON tbltickets (status(10));
CREATE INDEX date ON tbltickets (date);
ALTER TABLE `tblticketspamfilters` CHANGE `id` `id` INT( 10 ) NOT NULL AUTO_INCREMENT ;
ALTER TABLE `tblticketspamfilters` ADD INDEX ( `type` ) ;
ALTER TABLE `tbltodolist` CHANGE `id` `id` INT( 10 ) NOT NULL AUTO_INCREMENT ,CHANGE `admin` `admin` INT( 10 ) NOT NULL DEFAULT '0' ;
CREATE INDEX duedate ON tbltodolist (duedate);
ALTER TABLE `tblupgrades` CHANGE `id` `id` INT( 10 ) NOT NULL AUTO_INCREMENT ,CHANGE `orderid` `orderid` INT( 10 ) NOT NULL ;
CREATE INDEX orderid ON tblupgrades (orderid);
CREATE INDEX serviceid ON tblupgrades (relid);
ALTER TABLE `tblwhoislog` CHANGE `id` `id` INT( 10 ) NOT NULL AUTO_INCREMENT ;
INSERT INTO tblconfiguration (setting,value) VALUES ('CCRetryEveryWeekFor','0');
INSERT INTO tblconfiguration (setting,value) VALUES ('SupportTicketKBSuggestions','on');
CREATE TABLE IF NOT EXISTS `tblsslorders` ( `id` int(10) NOT NULL auto_increment, `userid` int(10) NOT NULL, `serviceid` int(10) NOT NULL, `remoteid` text COLLATE utf8_unicode_ci NOT NULL,  `module` text COLLATE utf8_unicode_ci NOT NULL,  `certtype` text COLLATE utf8_unicode_ci NOT NULL,  `completiondate` datetime NOT NULL, `status` enum('Incomplete','Completed','Cancelled') NOT NULL,  PRIMARY KEY  (`id`)) DEFAULT CHARSET=utf8 COLLATE=utf8_unicode_ci;
ALTER TABLE `tblhostingaddons` CHANGE `status` `status` ENUM( 'Pending', 'Active', 'Suspended', 'Terminated', 'Cancelled', 'Fraud' ) NOT NULL DEFAULT 'Pending';
INSERT INTO `tblconfiguration` (`setting`, `value`) VALUES ('DailyEmailBackup', '');
INSERT INTO `tblconfiguration` (`setting`, `value`) VALUES ('FTPBackupHostname', '');
INSERT INTO `tblconfiguration` (`setting`, `value`) VALUES ('FTPBackupUsername', '');
INSERT INTO `tblconfiguration` (`setting`, `value`) VALUES ('FTPBackupPassword', '');
INSERT INTO `tblconfiguration` (`setting`, `value`) VALUES ('FTPBackupDestination', '/');
upgrade340.sql000064400000013221147361027270007153 0ustar00ALTER TABLE `tbldomains` CHANGE `urlforwarding` `dnsmanagement` TEXT NOT NULL ;
UPDATE `tblconfiguration` SET setting='DomainDNSManagement' WHERE setting='DomainURLForwarding' ;
ALTER TABLE `tbldomainpricing` ADD `dnsmanagement` TEXT NOT NULL AFTER `renew` , ADD `emailforwarding` TEXT NOT NULL AFTER `dnsmanagement` ;
INSERT INTO `tblconfiguration` (`setting` ,`value` )VALUES ('DomainIDProtection','5.00');
ALTER TABLE `tbldomainpricing` ADD `idprotection` TEXT NOT NULL AFTER `emailforwarding` ;
ALTER TABLE `tbldomainpricing` ADD `eppcode` TEXT NOT NULL AFTER `idprotection` ;
ALTER TABLE `tbldomains` ADD `idprotection` TEXT NOT NULL ;
ALTER TABLE `tblclients` CHANGE `status` `status` ENUM( "Active", "Inactive" ) NOT NULL ;
ALTER TABLE `tblhosting` CHANGE `domainstatus` `domainstatus` ENUM( "Pending", "Active", "Suspended", "Terminated" ) NOT NULL ;
ALTER TABLE `tblhostingaddons` CHANGE `status` `status` ENUM( "Pending", "Active", "Suspended", "Terminated" ) NOT NULL ;
ALTER TABLE `tbldomains` CHANGE `status` `status` ENUM( "Pending", "Active", "Expired" ) NOT NULL ;
DELETE FROM tblemailtemplates WHERE type='addon';
DELETE FROM tblemailtemplates WHERE name='Domain Subscription Payment Confirmation';
DELETE FROM tblemailtemplates WHERE name='Subscription Payment Confirmation';
DELETE FROM tblemailtemplates WHERE name='Subscription Payment Due';
INSERT INTO `tblemailtemplates` (type,name,subject,message) VALUES ('domain', 'Domain Transfer Initiated', 'Domain Transfer Initiated', '<p>Dear [CustomerName], </p><p>Thank you for your domain transfer order. Your order has been received and we have now initiated the transfer process. The details of the domain purchase are below: </p><p>Domain: [Domain]<br />Registration Length: [RegPeriod]<br />Transfer Price: [FirstPaymentAmount]<br />Renewal Price: [RecurringAmount]<br />Next Due Date: [NextDueDate] </p><p>You may login to your client area at [ClientAreaLink] to manage your domain. </p><p>[Signature] </p>');
INSERT INTO `tblemailtemplates` (type,name,subject,message) VALUES ('domain', 'Domain Renewal Confirmation', 'Domain Renewal Confirmation', '<p>Dear [CustomerName], </p><p>Thank you for your domain renewal order. Your domain renewal request for the domain listed below has now been completed.</p><p>Domain: [Domain]<br />Renewal Length: [RegPeriod]<br />Renewal Price: [RecurringAmount]<br />Next Due Date: [NextDueDate] </p><p>You may login to your client area at [ClientAreaLink] to manage your domain. </p><p>[Signature] </p>');
INSERT INTO `tblemailtemplates` (type,name,subject,message) VALUES ('domain', 'Upcoming Domain Renewal Notice', 'Upcoming Domain Renewal Notice', '<p>Dear [CustomerName], </p><p>The domain name listed below will expire in [DaysUntilExpiry] days.</p><p>[Domain] - [NextDueDate]</p><p>To ensure the domain does not expire, you should renew it now. You can do this from the domains management section of our client area here: [ClientAreaLink]</p><p>Should you allow the domain to expire, you will be able to renew it for up to 30 days after the renewal date. During this time, the domain will not be accessible so any web site or email services associated with it will stop working.</p><p>[Signature]</p>');
INSERT INTO `tblconfiguration` (`setting` ,`value` )VALUES ('DomainRenewalNotices', '30,7,-3,0,0');
UPDATE tblpaymentgateways SET value='Invoices' WHERE gateway='paypal' AND setting='type' ;
UPDATE tblpaymentgateways SET value='PayPal' WHERE gateway='paypal' AND setting='name' ;
UPDATE tblhosting SET paymentmethod='paypal' WHERE paymentmethod='paypalinvoices';
UPDATE tblhostingaddons SET paymentmethod='paypal' WHERE paymentmethod='paypalinvoices';
UPDATE tbldomains SET paymentmethod='paypal' WHERE paymentmethod='paypalinvoices';
UPDATE tblinvoices SET paymentmethod='paypal' WHERE paymentmethod='paypalinvoices';
UPDATE tblaccounts SET gateway='paypal' WHERE gateway='paypalinvoices';
UPDATE tblorders SET paymentmethod='paypal' WHERE paymentmethod='paypalinvoices';
DELETE FROM tblpaymentgateways WHERE gateway='paypal' AND setting='style' ;
DELETE FROM tblpaymentgateways WHERE gateway='paypalinvoices';
INSERT INTO `tblpaymentgateways` (`gateway`, `type`, `setting`, `name`, `description`) VALUES ('paypal', 'yesno', 'forcesubscriptions', 'Force Subscriptions', 'Check to hide the one time payment button when a subscription can be created');
ALTER TABLE `tbltickets` ADD `replyingadmin` INT( 1 ) NOT NULL , ADD `replyingtime` DATETIME NOT NULL ;
INSERT INTO `tblconfiguration` (`setting` ,`value` )VALUES ('SequentialInvoiceNumbering', '');
INSERT INTO `tblconfiguration` (`setting` ,`value` )VALUES ('SequentialInvoiceNumberFormat', '{NUMBER}');
INSERT INTO `tblconfiguration` (`setting`, `value`) VALUES ('SequentialInvoiceNumberValue', '1');
DELETE FROM tblconfiguration WHERE setting='InvoiceSubscriptionPayments';
ALTER TABLE `tblservers` CHANGE `primarynameserver` `nameserver1` TEXT NOT NULL ,CHANGE `primarynameserverip` `nameserver1ip` TEXT NOT NULL ,CHANGE `secondarynameserver` `nameserver2` TEXT NOT NULL ,CHANGE `secondarynameserverip` `nameserver2ip` TEXT NOT NULL ;
ALTER TABLE `tblservers` ADD `nameserver3` TEXT NOT NULL AFTER `nameserver2ip` ,ADD `nameserver3ip` TEXT NOT NULL AFTER `nameserver3` ,ADD `nameserver4` TEXT NOT NULL AFTER `nameserver3ip` ,ADD `nameserver4ip` TEXT NOT NULL AFTER `nameserver4` ;
INSERT INTO `tblconfiguration` (`setting` ,`value` )VALUES ('DefaultNameserver3', '');
INSERT INTO `tblconfiguration` (`setting` ,`value` )VALUES ('DefaultNameserver4', '');
ALTER TABLE `tblservers` ADD `accesshash` TEXT NOT NULL AFTER `password` ;
UPDATE `tblhosting` SET nextinvoicedate = nextduedate;
UPDATE `tbldomains` SET nextinvoicedate = nextduedate;
UPDATE `tblhostingaddons` SET nextinvoicedate = nextduedate;
upgrade520.sql000064400000010230147361027270007150 0ustar00ALTER TABLE  `tbladmins` ADD  `disabled` INT( 1 ) NOT NULL AFTER  `language`;

INSERT INTO `tblconfiguration` (`setting`, `value`) VALUES ('AutoClientStatusChange', '2');

CREATE TABLE IF NOT EXISTS `tbltickettags` (
  `id` int(10) NOT NULL AUTO_INCREMENT,
  `ticketid` int(10) NOT NULL,
  `tag` text NOT NULL,
  PRIMARY KEY (`id`)
) ENGINE=InnoDB DEFAULT CHARSET=utf8 COLLATE=utf8_unicode_ci;

ALTER TABLE  `tbladmins` CHANGE  `ticketnotifications`  `ticketnotifications` TEXT NOT NULL;
UPDATE tbladmins SET ticketnotifications = supportdepts WHERE ticketnotifications != '';

ALTER TABLE `tblclients` ADD `emailoptout` INT( 1 ) NOT NULL;

INSERT INTO `tblconfiguration` (`setting`, `value`) VALUES ('AllowClientsEmailOptOut', '1');

ALTER TABLE `tblemailmarketer` ADD `marketing` INT( 1 ) NOT NULL;

ALTER TABLE `tblclients` ADD `overrideautoclose` INT( 1 ) NOT NULL;

UPDATE `tblemailtemplates` SET `name` = 'Automated Password Reset' WHERE `name` = 'Password Reset Confirmation';

UPDATE `tblemailtemplates` SET `message` = '<p>Dear {$client_name},</p><p>Recently a request was submitted to reset your password for our client area. If you did not request this, please ignore this email. It will expire and become useless in 2 hours time.</p><p>To reset your password, please visit the url below:<br /><a href="{$pw_reset_url}">{$pw_reset_url}</a></p><p>When you visit the link above, your password will be reset, and the new password will be emailed to you.</p><p>{$signature}</p>' WHERE `name` = 'Password Reset Validation';

INSERT INTO `tblemailtemplates` (`id`, `type`, `name`, `subject`, `message`, `fromname`, `fromemail`, `disabled`, `custom`, `language`, `copyto`, `plaintext`) VALUES (NULL, 'general', 'Password Reset Confirmation', 'Your password has been reset for {$company_name}', '<p>Dear {$client_name},</p><p>As you requested, your password for our client area has now been reset. </p><p>If it was not at your request, then please contact support immediately.</p><p>{$signature}</p>', '', '', '', '', '', '', '0');

ALTER TABLE `tblproductgroups` ADD `orderfrmtpl` TEXT NOT NULL AFTER `name`;

INSERT INTO `tblconfiguration` (`setting`, `value`) VALUES ('BannedSubdomainPrefixes', 'mail,mx,gapps,gmail,webmail,cpanel,whm,ftp,clients,billing,members,login,accounts,access');

ALTER TABLE `tblcontacts` ADD `affiliateemails` INT( 1 ) NOT NULL AFTER `supportemails`;

INSERT INTO `tbladminperms` (`roleid`, `permid`) VALUES ('1', '125'), ('1', '126'), ('2', '125'), ('2', '126'), ('3', '125'), ('3', '126');

INSERT INTO `tblconfiguration` (`setting`, `value`) VALUES ('FreeDomainAutoRenewRequiresProduct', 'on');
INSERT INTO `tblconfiguration` (`setting`, `value`) VALUES ('DomainToDoListEntries', 'on');

UPDATE tblemailtemplates SET message='<p>The escalation rule {$rule_name} has just been applied to this ticket.</p><p>Client: {$client_name}{if $client_id} #{$client_id}{/if} <br />Department: {$ticket_department} <br />Subject: {$ticket_subject} <br />Priority: {$ticket_priority}</p><p>---<br />{$ticket_message}<br />---</p><p>You can respond to this ticket by simply replying to this email or through the admin area at the url below.</p><p><a href="{$whmcs_admin_url}supporttickets.php?action=viewticket&id={$ticket_id}">{$whmcs_admin_url}supporttickets.php?action=viewticket&id={$ticket_id}</a></p>' WHERE name='Escalation Rule Notification';

INSERT INTO `tblemailtemplates` (`type`, `name`, `subject`, `message`) VALUES ('support', 'Support Ticket Feedback Request', 'Your Feedback is Requested for Ticket #{$ticket_id}', '<p>This support request has been marked as completed.</p><p>We would really appreciate it if you would just take a moment to let us know about the quality of your experience.</p><p><a href="{$ticket_url}&feedback=1">{$ticket_url}&feedback=1</a></p><p>Your feedback is very important to us.</p><p>Thank you for your business.</p><p>{$signature}</p>');
CREATE TABLE IF NOT EXISTS `tblticketfeedback` (
  `id` int(10) NOT NULL AUTO_INCREMENT,
  `ticketid` int(10) NOT NULL,
  `adminid` int(10) NOT NULL,
  `rating` int(2) NOT NULL,
  `comments` text NOT NULL,
  `datetime` DATETIME NOT NULL,
  `ip` TEXT NOT NULL,
  PRIMARY KEY (`id`)
) ENGINE=InnoDB DEFAULT CHARSET=utf8 COLLATE=utf8_unicode_ci;
upgrade700alpha1.sql000064400000002530147361027270010243 0ustar00-- remove browser.php
DROP TABLE IF EXISTS `tblbrowserlinks`;
DELETE FROM `tbladminperms` WHERE `permid` = 48;

-- remove ClientDropdownFormat
DELETE FROM `tblconfiguration` WHERE setting = 'ClientDropdownFormat';

-- feedback_request to tblticketdepartments --
set @query = if ((select count(*) from information_schema.columns where table_schema=database() and table_name='tblticketdepartments' and column_name='feedback_request') = 0, 'ALTER TABLE tblticketdepartments ADD `feedback_request` tinyint(1) NOT NULL DEFAULT \'0\'', 'DO 0');
prepare statement from @query;
execute statement;
deallocate prepare statement;

-- set feedback request for each department based on current setting --
UPDATE `tblticketdepartments` SET `feedback_request` = CASE WHEN (SELECT value from `tblconfiguration` WHERE setting = 'TicketFeedback' LIMIT 1) = 'on' THEN 1 ELSE 0 END;

-- remove TicketFeedback from tblconfiguration --
DELETE FROM `tblconfiguration` WHERE setting = 'TicketFeedback';

-- new field for tbldomainpricing
set @query = if ((select count(*) from information_schema.columns where table_schema=database() and table_name='tbldomainpricing' and column_name='group') = 0, 'ALTER TABLE tbldomainpricing ADD `group` VARCHAR(5) COLLATE utf8_unicode_ci NOT NULL DEFAULT \'none\'', 'DO 0');
prepare statement from @query;
execute statement;
deallocate prepare statement;
upgrade440.sql000064400000002071147361027270007155 0ustar00INSERT INTO `tbladminperms` (`roleid` ,`permid` )VALUES ('1', '97'),('1', '98'),('1', '99'),('1', '100'),('2', '98'),('2', '99');

ALTER TABLE `tblclientgroups` ADD COLUMN `separateinvoices` TEXT NOT NULL AFTER `susptermexempt`;
ALTER TABLE `tblclients` ADD COLUMN `separateinvoices` TEXT NOT NULL AFTER `overideduenotices`;
ALTER TABLE `tblclients` ADD COLUMN `disableautocc` TEXT NOT NULL AFTER `separateinvoices`;

INSERT INTO `tblconfiguration` (`setting`, `value`) VALUES ('ClientDisplayFormat', '1');

ALTER TABLE `tbladmins` ADD `language` TEXT NOT NULL AFTER `template` ;

ALTER TABLE `tblactivitylog` ADD `userid` INT( 10 ) NOT NULL AFTER `user` ,
ADD `ipaddr` TEXT NOT NULL AFTER `userid` ;

ALTER TABLE `tblproducts` ADD `upgradeemail` TEXT NOT NULL AFTER `billingcycleupgrade`;
UPDATE tblproducts SET upgradeemail=welcomeemail;

CREATE TABLE IF NOT EXISTS `tbladdonmodules` (
`module` TEXT COLLATE utf8_unicode_ci NOT NULL ,
`setting` TEXT COLLATE utf8_unicode_ci NOT NULL ,
`value` TEXT COLLATE utf8_unicode_ci NOT NULL
) DEFAULT CHARSET=utf8 COLLATE=utf8_unicode_ci;
upgrade510.sql000064400000016405147361027270007161 0ustar00INSERT INTO tblconfiguration (setting,value) VALUES ('DomainSyncEnabled','on');
INSERT INTO tblconfiguration (setting,value) VALUES ('DomainSyncNextDueDate','');
INSERT INTO tblconfiguration (setting,value) VALUES ('DomainSyncNextDueDateDays','0');
ALTER TABLE `tbldomains` ADD `synced` INT( 1 ) NOT NULL;

ALTER TABLE `tblnotes` ADD `sticky` INT( 1 ) NOT NULL;

ALTER TABLE `tblproducts` CHANGE  `overagesenabled`  `overagesenabled` VARCHAR( 10 ) NOT NULL;

ALTER TABLE `tblproducts` ADD `retired` INT( 1 ) NOT NULL;

INSERT INTO `tblconfiguration` (`setting`, `value`) VALUES ('TicketMask', '%n%n%n%n%n%n');
ALTER TABLE  `tbltickets` CHANGE  `tid`  `tid` VARCHAR( 15 ) NOT NULL;

INSERT INTO `tblemailtemplates` (`id`, `type`, `name`, `subject`, `message`, `attachments`, `fromname`, `fromemail`, `disabled`, `custom`, `language`, `copyto`, `plaintext`) VALUES (NULL, 'admin', 'New Cancellation Request', 'New Cancellation Request', '<p>A new cancellation request has been submitted.</p><p>Client ID: {$client_id}<br>Client Name: {$clientname}<br>Service ID: {$service_id}<br>Product Name: {$product_name}<br>Cancellation Type: {$service_cancellation_type}<br>Cancellation Reason: {$service_cancellation_reason}</p><p>{$whmcs_admin_link}</p>', '', '', '', '', '', '', '', '0');
UPDATE `tblemailtemplates` SET `message` = '<p>Dear {$client_name},</p><p>This email is to confirm that we have received your cancellation request for the service listed below.</p><p>Product/Service: {$service_product_name}<br />Domain: {$service_domain}</p><p>{if $service_cancellation_type=="Immediate"}The service will be terminated within the next 24 hours.{else}The service will be cancelled at the end of your current billing period on {$service_next_due_date}.{/if}</p><p>Thank you for using {$company_name} and we hope to see you again in the future.</p><p>{$signature}</p>' WHERE `name` = 'Cancellation Request Confirmation';

INSERT INTO `tblemailtemplates` (`id`, `type`, `name`, `subject`, `message`, `attachments`, `fromname`, `fromemail`, `disabled`, `custom`, `language`, `copyto`, `plaintext`) VALUES (NULL, 'admin', 'Support Ticket Flagged', 'New Support Ticket Flagged to You', '<p>A new support ticket has been flagged to you.</p><p>Ticket #: {$ticket_tid}<br>Client Name: {$client_name} (ID {$client_id})<br>Department: {$ticket_department}<br>Subject: {$ticket_subject}<br>Priority: {$ticket_priority}</p><p>----------------------<br />{$ticket_message}<br />----------------------</p><p>{$whmcs_admin_link}</p>', '', '', '', '', '', '', '', '0');

ALTER TABLE  `tbladmins` ADD  `authmodule` TEXT NOT NULL AFTER  `password` , ADD  `authdata` TEXT NOT NULL AFTER  `authmodule`;

INSERT INTO `tblemailtemplates` (`id`, `type`, `name`, `subject`, `message`, `attachments`, `fromname`, `fromemail`, `disabled`, `custom`, `language`, `copyto`, `plaintext`) VALUES (NULL, 'domain', 'Domain Transfer Failed', 'Domain Transfer Failed: {$domain_name}', '<p>Dear {$client_name},</p><p>Recently you placed a domain transfer order with us but unfortunately it has failed. The reason for the failure if available is shown below so once this has been resolved, please contact us to re-attempt the transfer.</p><p>Domain: {$domain_name}<br>Failure Reason: {$domain_transfer_failure_reason}</p><p>If you have any questions, please open a support ticket from our client area @ {$whmcs_link}</p><p>{$signature}</p>', '', '', '', '', '', '', '', 0);

ALTER TABLE  `tbldomains` ADD `reminders` TEXT NOT NULL AFTER `donotrenew`;
UPDATE `tblemailtemplates` SET `message` = '<p>Dear {$client_name},</p><p>{if $days_until_expiry}The domain(s) listed below are due to expire within the next {$days_until_expiry} days.{else}The domain(s) listed below are going to expire in {$domain_days_until_expiry} days. Renew now before it\'s too late...{/if}</p><p>{if $expiring_domains}{foreach from=$expiring_domains item=domain}{$domain.name} - {$domain.nextduedate} <strong>({$domain.days} Days)</strong><br />{/foreach}{else}{$domain_name} - {$domain_next_due_date} <strong>({$domain_days_until_nextdue} Days)</strong>{/if}</p><p>To ensure the domain does not expire, you should renew it now. You can do this from the domains management section of our client area here: {$whmcs_link}</p><p>Should you allow the domain to expire, you will be able to renew it for up to 30 days after the renewal date. During this time, the domain will not be accessible so any web site or email services associated with it will stop working.</p><p>{$signature}</p>' WHERE `name` = 'Upcoming Domain Renewal Notice';

CREATE TABLE IF NOT EXISTS `tblorderstatuses` (
  `id` int(10) NOT NULL AUTO_INCREMENT,
  `title` text NOT NULL,
  `color` text NOT NULL,
  `showpending` int(1) NOT NULL,
  `showactive` int(1) NOT NULL,
  `showcancelled` int(1) NOT NULL,
  `sortorder` int(2) NOT NULL,
  PRIMARY KEY (`id`)
)  DEFAULT  CHARSET=utf8 COLLATE=utf8_unicode_ci;
INSERT INTO `tblorderstatuses` (`id`, `title`, `color`, `showpending`, `showactive`, `showcancelled`, `sortorder`) VALUES
(1, 'Pending', '#cc0000', 1, 0, 0, 10),
(2, 'Active', '#779500', 0, 1, 0, 20),
(3, 'Cancelled', '#888888', 0, 0, 1, 30),
(4, 'Fraud', '#000000', 0, 0, 0, 40);
INSERT INTO `tbladminperms` (`roleid`, `permid`) VALUES ('1', '122');

ALTER TABLE  `tblpromotions` ADD `lifetimepromo` INT(1) NOT NULL AFTER `uses`;

ALTER TABLE  `tblquotes` ADD  `datesent` DATE NOT NULL , ADD  `dateaccepted` DATE NOT NULL ;

UPDATE `tblemailtemplates` SET `message` = '<p>Dear {$client_name},</p><p>Here is the quote you requested for {$quote_subject}. The quote is valid until {$quote_valid_until}. You may {if $client_id}view the quote at any time at {$quote_link} and {/if}simply reply to this email with any further questions or requirement.</p><p>{$signature}</p>' WHERE `name` = 'Quote Delivery with PDF';
INSERT INTO `tblemailtemplates` (`id`, `type`, `name`, `subject`, `message`, `attachments`, `fromname`, `fromemail`, `disabled`, `custom`, `language`, `copyto`, `plaintext`) VALUES (NULL, 'general', 'Quote Accepted', 'Quote #{$quote_number} Accepted - {$quote_subject}', '<p>\r\nDear {$client_name}, \r\n</p>\r\n<p>\r\nThis is a confirmation that quote generated on {$quote_date_created} has been accepted by you and invoice # {$invoice_num} is generated.\r\n<p>\r\n{$signature} \r\n</p>', '', '', '', '', '', '', '', '0');
INSERT INTO `tblemailtemplates` (`id`, `type`, `name`, `subject`, `message`, `attachments`, `fromname`, `fromemail`, `disabled`, `custom`, `language`, `copyto`, `plaintext`) VALUES (NULL, 'general', 'Quote Accepted Notification', 'Quote #{$quote_number} Accepted - {$quote_subject}', '<p>A quote has been accepted by the following customer.</p><p><strong>Customer Information</strong></p>\r\n<p>Customer ID: {$client_id}<br />\r\nName: {$clientname}<br />\r\nEmail: {$client_email}<br />\r\nCompany: {$client_company_name}<br />\r\nAddress 1: {$client_address1}<br />\r\nAddress 2: {$client_address2}<br />\r\nCity: {$client_city}<br />\r\nState: {$client_state}<br />\r\nPostcode: {$client_postcode}<br />\r\nCountry: {$client_country}<br />\r\nPhone Number: {$client_phonenumber}</p>\r\n<p><strong>Quote Information</strong></p>\r\n<p>Quote #: {$quote_number}<br />\r\nQuote Subject: {$quote_subject}</p><p><a href="{$whmcs_admin_url}quotes.php?action=manage&id={$quote_number}">{$whmcs_admin_url}quotes.php?action=manage&id={$quote_number}</a></p>', '', '', '', '', '', '', '', 0);
upgrade622release1.sql000064400000000122147361027270010574 0ustar00INSERT INTO `tblconfiguration` (`setting`, `value`) VALUES ('CutUtf8Mb4', 'on');

upgrade800rc1.sql000064400000000524147361027270007564 0ustar00-- permission for List Users
INSERT INTO `tbladminperms` (`roleid`, `permid`) VALUES (1, 152);

UPDATE `tblusers` SET `last_login`=NULL WHERE `last_login`='0000-00-00 00:00:00';
UPDATE `tblusers_clients` SET `last_login`=NULL WHERE `last_login`='0000-00-00 00:00:00';

UPDATE `tblemails` SET `attachments`='[]' WHERE `attachments` IS NULL;
upgrade700alpha5.sql000064400000001240147361027270010244 0ustar00-- Add the Update WHMCS permissions to Full Admin role
INSERT INTO `tbladminperms` (`roleid`, `permid`) VALUES (1, 135), (1, 136);

DROP TABLE IF EXISTS `tblupdatelog`;
CREATE TABLE `tblupdatelog` (
  `id` int(10) unsigned NOT NULL AUTO_INCREMENT,
  `instance_id` varchar(255) COLLATE utf8_unicode_ci NOT NULL DEFAULT '',
  `level` int(10) unsigned NOT NULL,
  `message` text COLLATE utf8_unicode_ci NOT NULL,
  `extra` text COLLATE utf8_unicode_ci NOT NULL,
  `created_at` timestamp NOT NULL DEFAULT '0000-00-00 00:00:00',
  `updated_at` timestamp NOT NULL DEFAULT '0000-00-00 00:00:00',
  PRIMARY KEY (`id`)
) ENGINE=InnoDB DEFAULT CHARSET=utf8 COLLATE=utf8_unicode_ci;
upgrade800rc2.sql000064400000002215147361027270007564 0ustar00-- Add new field to tblhosting for qty
set @query = if ((select count(*) from information_schema.columns where table_schema=database() and table_name='tblhosting' and column_name='qty') = 0, 'ALTER TABLE `tblhosting` ADD `qty` INT(10) UNSIGNED NOT NULL DEFAULT \'1\' AFTER `paymentmethod`', 'DO 0');
prepare statement from @query;
execute statement;
deallocate prepare statement;

-- Add new field to tblhostingaddons for qty
set @query = if ((select count(*) from information_schema.columns where table_schema=database() and table_name='tblhostingaddons' and column_name='qty') = 0, 'ALTER TABLE `tblhostingaddons` ADD `qty` INT(10) UNSIGNED NOT NULL DEFAULT \'1\' AFTER `name`', 'DO 0');
prepare statement from @query;
execute statement;
deallocate prepare statement;

-- Add new field to tbladdons for allowqty
set @query = if ((select count(*) from information_schema.columns where table_schema=database() and table_name='tbladdons' and column_name='allowqty') = 0, 'ALTER TABLE `tbladdons` ADD `allowqty` TINYINT(1) UNSIGNED NOT NULL DEFAULT \'0\' AFTER `billingcycle`', 'DO 0');
prepare statement from @query;
execute statement;
deallocate prepare statement;
upgrade350.sql000064400000004123147361027270007155 0ustar00DROP TABLE `tblreselleraccountsetup` ;
INSERT INTO `tblconfiguration` (`setting` ,`value` )VALUES ('SupportModule', '');
CREATE TABLE IF NOT EXISTS `tblcontacts` (`id` INT( 1 ) NOT NULL AUTO_INCREMENT PRIMARY KEY ,`userid` INT( 1 ) NOT NULL ,`firstname` TEXT COLLATE utf8_unicode_ci NOT NULL ,`lastname` TEXT COLLATE utf8_unicode_ci NOT NULL ,`companyname` TEXT COLLATE utf8_unicode_ci NOT NULL ,`email` TEXT COLLATE utf8_unicode_ci NOT NULL ,`address1` TEXT COLLATE utf8_unicode_ci NOT NULL ,`address2` TEXT COLLATE utf8_unicode_ci NOT NULL ,`city` TEXT COLLATE utf8_unicode_ci NOT NULL ,`state` TEXT COLLATE utf8_unicode_ci NOT NULL ,`postcode` TEXT COLLATE utf8_unicode_ci NOT NULL ,`country` TEXT COLLATE utf8_unicode_ci NOT NULL ,`phonenumber` TEXT COLLATE utf8_unicode_ci NOT NULL ,`domainemails` INT( 1 ) NOT NULL ,`generalemails` INT( 1 ) NOT NULL ,`invoiceemails` INT( 1 ) NOT NULL ,`productemails` INT( 1 ) NOT NULL ,`supportemails` INT( 1 ) NOT NULL ) DEFAULT CHARSET=utf8 COLLATE=utf8_unicode_ci;
INSERT INTO `tblconfiguration` (`setting` ,`value` )VALUES ('AddFundsEnabled', '');
INSERT INTO `tblconfiguration` (`setting` ,`value` )VALUES ('AddFundsMinimum', '10');
INSERT INTO `tblconfiguration` (`setting` ,`value` )VALUES ('AddFundsMaximum', '100');
INSERT INTO `tblconfiguration` (`setting` ,`value` )VALUES ('AddFundsMaximumBalance', '300');
ALTER TABLE `tbldomains` ADD `type` ENUM( 'Register', 'Transfer' ) NOT NULL AFTER `orderid` ;
UPDATE `tbldomains` INNER JOIN tblorders ON tblorders.id=tbldomains.orderid SET tbldomains.type=tblorders.domaintype;
ALTER TABLE `tblorders` DROP `hostingid`, DROP `domainids`, DROP `addonids`, DROP `upgradeids`, DROP `domaintype`;
ALTER TABLE `tblorders` ADD `contactid` INT( 1 ) NOT NULL AFTER `userid` ;
ALTER TABLE `tblticketdepartments` ADD `clientsonly` TEXT NOT NULL AFTER `email` ;
DELETE FROM tblconfiguration WHERE setting='AllowTicketsRegisteredClientsOnly';
ALTER TABLE `tblclients` ADD `billingcid` INT( 1 ) NOT NULL AFTER `notes` ;
INSERT INTO tblconfiguration (`setting` ,`value` )VALUES ('OrderDaysGrace', '0');
ALTER TABLE `tblinvoices` DROP `randomstring` ;
upgrade503.sql000064400000000221147361027270007150 0ustar00UPDATE `tblconfiguration` SET value='' WHERE setting='License';
UPDATE `tbladminroles` SET widgets = CONCAT(widgets,',supporttickets_overview');
upgrade751release1.sql000064400000000574147361027270010612 0ustar00-- Add new EnableSafeInclude setting to tblconfiguration
set @query = if ((select count(*) from `tblconfiguration` where `setting` = 'EnableSafeInclude') = 0, "INSERT INTO `tblconfiguration` (`setting`, `value`, `created_at`, `updated_at`) VALUES ('EnableSafeInclude', '1', now(), now());",'DO 0;');
prepare statement from @query;
execute statement;
deallocate prepare statement;
upgrade450.sql000064400000004663147361027270007167 0ustar00UPDATE `tblemailtemplates` SET name='Hosting Account Welcome Email' WHERE name='Hosting Account Welcome Email (cPanel)';
UPDATE `tblemailtemplates` SET custom='1' WHERE name='Hosting Account Welcome Email (DirectAdmin)';
UPDATE `tblemailtemplates` SET custom='1' WHERE name='Hosting Account Welcome Email (Plesk)';

ALTER TABLE `tblpromotions` ADD `startdate` DATE NOT NULL AFTER `requiresexisting` ;
ALTER TABLE `tblpromotions` ADD `notes` TEXT NOT NULL ;

ALTER TABLE `tbladdons` ADD `suspendproduct` TEXT NOT NULL AFTER `autoactivate` ;

INSERT INTO `tblemailtemplates` (`id`, `type`, `name`, `subject`, `message`, `fromname`, `fromemail`, `disabled`, `custom`, `language`, `copyto`, `plaintext`) VALUES ('', 'admin', 'Escalation Rule Notification', '[Ticket ID: {$tickettid}] Escalation Rule Notification', '<p>The escalation rule {$name} has just been applied to this ticket.</p>\r\n<p>Client: {$clientname}<br />Department: {$deptname}<br />Subject: {$ticketsubject}<br />Priority: {$ticketpriority}<br />Status: {$ticketstatus}</p>\r\n<p>You can respond to this ticket by simply replying to this email or by logging into the administration area.</p>', '', '', '', '', '', '', 0);

ALTER TABLE `tblcustomfields` ADD `showinvoice` TEXT NOT NULL AFTER `showorder` ;

ALTER TABLE `tblproducts` ADD `autoterminatedays` INT( 4) NOT NULL AFTER `freedomaintlds` ,
ADD `autoterminateemail` TEXT NOT NULL AFTER `autoterminatedays` ;

INSERT INTO `tblconfiguration` (`setting`, `value`) VALUES ('GenerateRandomUsername', '');

ALTER TABLE `tblservers` ADD `assignedips` TEXT NOT NULL AFTER `ipaddress` ;

ALTER TABLE `tblquotes` ADD `proposal` TEXT NOT NULL AFTER `total` ;

INSERT INTO `tblconfiguration` (`setting`, `value`) VALUES ('AddFundsRequireOrder', 'on');

INSERT INTO `tblconfiguration` (`setting`, `value`) VALUES ('GroupSimilarLineItems', 'on');

INSERT INTO `tblconfiguration` (`setting`, `value`) VALUES ('ProrataClientsAnniversaryDate', '');

INSERT INTO `tblconfiguration` (`setting`, `value`) VALUES ('TCPDFFont', 'helvetica');

ALTER TABLE `tblservers` CHANGE `active` `active` INT(1) NOT NULL ;
ALTER TABLE `tblservers` ADD `disabled` INT(1) NOT NULL ;

ALTER TABLE `tblemailtemplates` ADD `attachments` TEXT NOT NULL AFTER `message` ;

ALTER TABLE `tblpromotions` ADD `upgrades` INT(1) NOT NULL AFTER `recurfor` ,
ADD `upgradeconfig` TEXT NOT NULL AFTER `upgrades` ;

INSERT INTO `tblconfiguration` (`setting`, `value`) VALUES ('CancelInvoiceOnCancellation', 'on');
upgrade710rc1.sql000064400000000647147361027270007572 0ustar00-- last_capture_attempt to tblinvoices --
set @query = if ((select count(*) from information_schema.columns where table_schema=database() and table_name='tblinvoices' and column_name='last_capture_attempt') = 0, 'ALTER TABLE tblinvoices ADD `last_capture_attempt` timestamp NOT NULL DEFAULT \'0000-00-00 00:00:00\' AFTER `datepaid`', 'DO 0');
prepare statement from @query;
execute statement;
deallocate prepare statement;
upgrade880rc1.sql000064400000002165147361027270007577 0ustar00-- Add new index (date) for date column in tblinvoices
set @query = if ((SELECT count(INDEX_NAME) FROM INFORMATION_SCHEMA.STATISTICS WHERE TABLE_SCHEMA = database() AND TABLE_NAME = 'tblinvoices' AND INDEX_NAME = 'duedate') = 0, 'CREATE INDEX `duedate` ON `tblinvoices` (`duedate`)', 'DO 0');
prepare statement from @query;
execute statement;
deallocate prepare statement;

-- Add composite index for client id and client status in tblclients;
set @query = if ((SELECT count(INDEX_NAME) FROM INFORMATION_SCHEMA.STATISTICS WHERE TABLE_SCHEMA = database() AND TABLE_NAME = 'tblclients' AND INDEX_NAME = 'client_status_id') = 0, 'CREATE INDEX `client_status_id` ON `tblclients` (`status`, `id`)', 'DO 0');
prepare statement from @query;
execute statement;
deallocate prepare statement;

-- Add index for product type in tblproducts;
set @query = if ((SELECT count(INDEX_NAME) FROM INFORMATION_SCHEMA.STATISTICS WHERE TABLE_SCHEMA = database() AND TABLE_NAME = 'tblproducts' AND INDEX_NAME = 'type') = 0, 'CREATE INDEX `type` ON `tblproducts` (`type`(4))', 'DO 0');
prepare statement from @query;
execute statement;
deallocate prepare statement;upgrade730alpha1.sql000064400000003172147361027270010251 0ustar00-- blind_copy_to to tblemailtemplates
set @query = if ((select count(*) from information_schema.columns where table_schema=database() and table_name='tblemailtemplates' and column_name='blind_copy_to') = 0, 'ALTER TABLE `tblemailtemplates` ADD `blind_copy_to` TEXT NOT NULL AFTER `copyto`', 'DO 0;');
prepare statement from @query;
execute statement;
deallocate prepare statement;

-- hidden_widgets to tbladmins
set @query = if ((select count(*) from information_schema.columns where table_schema=database() and table_name='tbladmins' and column_name='hidden_widgets') = 0, 'ALTER TABLE `tbladmins` ADD `hidden_widgets` TEXT COLLATE utf8_unicode_ci NOT NULL AFTER `password_reset_expiry`', 'DO 0;');
prepare statement from @query;
execute statement;
deallocate prepare statement;

-- add primary key to tbladdonmodules
set @query = if ((select count(*) from information_schema.columns where table_schema=database() and table_name='tbladdonmodules' and column_name='id') = 0, 'ALTER TABLE `tbladdonmodules` ADD `id` INT NOT NULL AUTO_INCREMENT PRIMARY KEY FIRST', 'DO 0;');
prepare statement from @query;
execute statement;
deallocate prepare statement;

-- create jobs queue table
CREATE TABLE IF NOT EXISTS `tbljobs_queue` (
  `id` int(10) NOT NULL AUTO_INCREMENT,
  `name` varchar(255) NOT NULL DEFAULT '',
  `class_name` varchar(255) NOT NULL DEFAULT '',
  `method_name` varchar(255) NOT NULL DEFAULT '',
  `input_parameters` text NOT NULL,
  `available_at` datetime NOT NULL,
  `digest_hash` varchar(255) NOT NULL DEFAULT '',
  `created_at` datetime NOT NULL,
  `updated_at` datetime NOT NULL,
  PRIMARY KEY (`id`)
) ENGINE=InnoDB DEFAULT CHARSET=utf8;
upgrade400.sql000064400000013402147361027270007151 0ustar00ALTER TABLE `tblpromotions` ADD `existingclient` INT NOT NULL , ADD `onceperclient` INT NOT NULL ;

ALTER TABLE `tblcredit` ADD `relid` INT( 10 ) NOT NULL DEFAULT '0' ;

ALTER TABLE `tblclients` ADD `currency` INT( 10 ) NOT NULL AFTER `password` ;
UPDATE tblclients SET currency=1;

CREATE TABLE IF NOT EXISTS `tblcurrencies` (
`id` INT( 10 ) NOT NULL AUTO_INCREMENT PRIMARY KEY ,
`code` TEXT COLLATE utf8_unicode_ci NOT NULL ,
`prefix` TEXT COLLATE utf8_unicode_ci NOT NULL ,
`suffix` TEXT COLLATE utf8_unicode_ci NOT NULL ,
`format` INT( 1 ) NOT NULL ,
`rate` DECIMAL( 10, 5 ) NOT NULL DEFAULT '1',
`default` INT( 1 ) NOT NULL
) DEFAULT CHARSET=utf8 COLLATE=utf8_unicode_ci;
INSERT INTO `tblcurrencies` (`id`, `code`, `prefix`, `suffix`, `format`, `rate`, `default`) VALUES
(1, 'USD', '$', ' USD', 1, 1.00000, 1);

CREATE TABLE IF NOT EXISTS `tblpricing` (
`id` INT( 10 ) NOT NULL AUTO_INCREMENT PRIMARY KEY ,
`type` ENUM( "product", "addon", "configoptions", "domainregister", "domaintransfer", "domainrenew", "domainaddons" ) NOT NULL ,
`currency` INT( 10 ) NOT NULL ,
`relid` INT( 10 ) NOT NULL ,
`msetupfee` DECIMAL( 10, 2 ) NOT NULL ,
`qsetupfee` DECIMAL( 10, 2 ) NOT NULL ,
`ssetupfee` DECIMAL( 10, 2 ) NOT NULL ,
`asetupfee` DECIMAL( 10, 2 ) NOT NULL ,
`bsetupfee` DECIMAL( 10, 2 ) NOT NULL ,
`monthly` DECIMAL( 10, 2 ) NOT NULL ,
`quarterly` DECIMAL( 10, 2 ) NOT NULL ,
`semiannually` DECIMAL( 10, 2 ) NOT NULL ,
`annually` DECIMAL( 10, 2 ) NOT NULL ,
`biennially` DECIMAL( 10, 2 ) NOT NULL
) DEFAULT CHARSET=utf8 COLLATE=utf8_unicode_ci;

INSERT INTO `tblconfiguration` (`setting`, `value`) VALUES ('CurrencyAutoUpdateExchangeRates', 'on');
INSERT INTO `tblconfiguration` (`setting`, `value`) VALUES ('CurrencyAutoUpdateProductPrices', '');

ALTER TABLE `tblaccounts` ADD `currency` INT( 10 ) NOT NULL AFTER `userid` ;

ALTER TABLE `tblquotes` ADD `currency` INT( 10 ) NOT NULL AFTER `phonenumber` ;

ALTER TABLE `tblpaymentgateways`  DROP `id`,  DROP `type`,  DROP `name`,  DROP `size`,  DROP `notes`,  DROP `description`;

CREATE TABLE IF NOT EXISTS `tbladminsecurityquestions` (
  `id` int(10) unsigned NOT NULL auto_increment,
  `question` text NOT NULL,
  PRIMARY KEY  (`id`)
) DEFAULT CHARSET=utf8 COLLATE=utf8_unicode_ci;

ALTER TABLE `tblclients` ADD `securityqid` INT( 10 ) NOT NULL AFTER `billingcid` , ADD `securityqans` TEXT NOT NULL AFTER `securityqid` ;

ALTER TABLE `tblemails` ADD `to` TEXT NULL, ADD `cc` TEXT NULL, ADD `bcc` TEXT NULL;

ALTER TABLE `tbladmins` ADD `template` TEXT NOT NULL AFTER `notes` ;
UPDATE tbladmins SET template='blend';

ALTER TABLE `tblaccounts` ADD `refundid` INT( 10 ) NOT NULL DEFAULT '0' ;

INSERT INTO `tblconfiguration` (`setting` ,`value`) VALUES ('RequiredPWStrength', '50');

INSERT INTO `tblconfiguration` (`setting`, `value`) VALUES ('MaintenanceMode', '');
INSERT INTO `tblconfiguration` (`setting`, `value`) VALUES ('MaintenanceModeMessage', 'We are currently performing maintenance and will be back shortly.');

ALTER TABLE `tblaccounts` ADD `rate` DECIMAL( 10, 5 ) NOT NULL DEFAULT '1' AFTER `amountout` ;

UPDATE tblaccounts SET rate='1';
UPDATE tblaccounts SET currency='1' WHERE userid='0';

ALTER TABLE `tblcustomfields` ADD `regexpr` TEXT NOT NULL AFTER `fieldoptions` ;

CREATE TABLE IF NOT EXISTS `tblknowledgebaselinks` (
`categoryid` INT( 10 ) NOT NULL ,
`articleid` INT( 10 ) NOT NULL
) DEFAULT CHARSET=utf8 COLLATE=utf8_unicode_ci;

CREATE TABLE IF NOT EXISTS `tblbillableitems` (
  `id` int(10) NOT NULL auto_increment,
  `userid` int(10) NOT NULL,
  `description` text NOT NULL,
  `amount` decimal(10,2) NOT NULL,
  `recur` int(5) NOT NULL default '0',
  `recurcycle` text NOT NULL,
  `recurfor` int(5) NOT NULL default '0',
  `invoiceaction` int(1) NOT NULL,
  `duedate` date NOT NULL,
  `invoicecount` int(5) NOT NULL default '0',
  PRIMARY KEY  (`id`)
) DEFAULT CHARSET=utf8 COLLATE=utf8_unicode_ci;

INSERT INTO `tblconfiguration` (`setting`, `value`) VALUES ('SkipFraudForExisting', '');
INSERT INTO `tblconfiguration` (`setting`, `value`) VALUES ('SMTPSSL', '');
INSERT INTO `tblconfiguration` (`setting`, `value`) VALUES ('ContactFormDept', '');
INSERT INTO `tblconfiguration` (`setting`, `value`) VALUES ('ContactFormTo', '');

CREATE TABLE IF NOT EXISTS  `tblclientgroups` (
  `id` int(10) unsigned NOT NULL auto_increment,
  `groupname` varchar(45) NOT NULL,
  `groupcolour` varchar(45) default NULL,
  `discountpercent` decimal(10,2) unsigned default '0.00',
  `susptermexempt` text COLLATE utf8_unicode_ci,
  PRIMARY KEY  (`id`)
) DEFAULT CHARSET=utf8 COLLATE=utf8_unicode_ci;

ALTER TABLE `tblclients` ADD `groupid` INT( 10 ) NOT NULL AFTER `securityqans` ;

CREATE TABLE IF NOT EXISTS `tblticketescalations` (
`id` INT( 10 ) NOT NULL AUTO_INCREMENT PRIMARY KEY ,
`name` TEXT COLLATE utf8_unicode_ci NOT NULL ,
`departments` TEXT COLLATE utf8_unicode_ci NOT NULL ,
`statuses` TEXT COLLATE utf8_unicode_ci NOT NULL ,
`priorities` TEXT COLLATE utf8_unicode_ci NOT NULL ,
`timeelapsed` INT( 5 ) NOT NULL ,
`newdepartment` TEXT COLLATE utf8_unicode_ci NOT NULL ,
`newpriority` TEXT COLLATE utf8_unicode_ci NOT NULL ,
`newstatus` TEXT COLLATE utf8_unicode_ci NOT NULL ,
`flagto` TEXT COLLATE utf8_unicode_ci NOT NULL ,
`notify` TEXT COLLATE utf8_unicode_ci NOT NULL ,
`addreply` TEXT COLLATE utf8_unicode_ci NOT NULL
) DEFAULT CHARSET=utf8 COLLATE=utf8_unicode_ci;

ALTER TABLE `tblhosting` ADD `overidesuspenduntil` DATE NOT NULL AFTER `overideautosuspend` ;

INSERT INTO `tblconfiguration` (`setting`, `value`) VALUES ('TicketEscalationLastRun', '2009-01-01 00:00:00');

INSERT INTO `tblconfiguration` (`setting`, `value`) VALUES ('APIAllowedIPs', '');

ALTER TABLE `tblclients` ADD `gatewayid` TEXT NOT NULL AFTER `issuenumber` ;

INSERT INTO `tbladminperms` (`roleid` ,`permid` )VALUES ('1', '86'),('1', '87'),('1', '88'),('1', '89'),('1', '90'),('1', '91'),('1', '92'),('1', '93'),('1', '94');
upgrade730rc1.sql000064400000000223147361027270007562 0ustar00-- Change `data` from TEXT to MEDIUMTEXT to allow storing larger datasets
ALTER TABLE `tbltransientdata` MODIFY COLUMN `data` MEDIUMTEXT NOT NULL;
upgrade700rc1.sql000064400000000075147361027270007564 0ustar00-- lastCronInvocationTime removed by backport fix in 7.0.0 GAupgrade330.sql000064400000005447147361027270007165 0ustar00ALTER TABLE `tblproducts` ADD `order` INT( 1 ) NOT NULL ;

INSERT INTO `tblconfiguration` (`setting`, `value`) VALUES ('LateFeeType', 'Percentage');

CREATE TABLE IF NOT EXISTS `tblnotes` (
`id` INT( 1 ) NOT NULL AUTO_INCREMENT PRIMARY KEY ,
`userid` INT( 10 ) UNSIGNED ZEROFILL NOT NULL ,
`adminid` INT( 1 ) NOT NULL ,
`created` DATETIME NOT NULL ,
`modified` DATETIME NOT NULL ,
`note` TEXT COLLATE utf8_unicode_ci NOT NULL
) DEFAULT CHARSET=utf8 COLLATE=utf8_unicode_ci;

ALTER TABLE `tblproductconfigoptionssub` ADD `setup` DECIMAL( 10, 2 ) NOT NULL AFTER `optionname` ;

ALTER TABLE `tblemailtemplates` ADD `copyto` TEXT NOT NULL ;
ALTER TABLE `tblemailtemplates` ADD `plaintext` INT( 1 ) NOT NULL ;

ALTER TABLE `tblinvoices` ADD `invoicenum` TEXT NOT NULL AFTER `id` ;

ALTER TABLE `tbldownloads` ADD `productdownload` TEXT NOT NULL ;
ALTER TABLE `tblproducts` ADD `downloads` TEXT NOT NULL AFTER `affiliatepayamount` ;

UPDATE tblconfiguration SET setting='SendFirstOverdueInvoiceReminder' WHERE setting='SendOverdueInvoiceReminders';
INSERT INTO `tblconfiguration` (`setting` ,`value` )VALUES ('SendSecondOverdueInvoiceReminder', '0');
INSERT INTO `tblconfiguration` (`setting` ,`value` )VALUES ('SendThirdOverdueInvoiceReminder', '0');

UPDATE tblemailtemplates SET name='First Invoice Overdue Notice' WHERE name='Invoice Overdue Notice';
UPDATE tblemailtemplates SET subject='First Invoice Overdue Notice' WHERE subject='Invoice Overdue Notice';

INSERT INTO `tblemailtemplates` (type,name,subject,message) VALUES ( 'invoice', 'Second Invoice Overdue Notice', 'Second Invoice Overdue Notice', '<p> Dear [CustomerName], </p> <p> This is the second billing notice that your invoice no. [InvoiceNo] which was generated on [InvoiceDate] is now overdue. </p> <p> Your payment method is: [PaymentMethod] </p> <p> Invoice: [InvoiceNo]<br /> Balance Due: [Balance]<br /> Due Date: [DueDate] </p> <p> You can login to your client area to view and pay the invoice at [InvoiceLink] </p> <p> Your login details are as follows: </p> <p> Email Address: [CustomerEmail]<br /> Password: [CAPassword] </p> <p> [Signature] </p>');
INSERT INTO `tblemailtemplates` (type,name,subject,message) VALUES ( 'invoice', 'Third Invoice Overdue Notice', 'Third Invoice Overdue Notice', '<p> Dear [CustomerName], </p> <p> This is the third and final billing notice that your invoice no. [InvoiceNo] which was generated on [InvoiceDate] is now overdue. Failure to make payment will result in account suspension.</p> <p> Your payment method is: [PaymentMethod] </p> <p> Invoice: [InvoiceNo]<br /> Balance Due: [Balance]<br /> Due Date: [DueDate] </p> <p> You can login to your client area to view and pay the invoice at [InvoiceLink] </p> <p> Your login details are as follows: </p> <p> Email Address: [CustomerEmail]<br /> Password: [CAPassword] </p> <p> [Signature] </p>');
upgrade832release1.sql000064400000001247147361027270010610 0ustar00-- Remove orphaned affiliate data
DELETE FROM tblaffiliatespending WHERE `affaccid` IN (SELECT acc.id FROM tblaffiliatesaccounts acc LEFT JOIN tblaffiliates aff ON aff.id = acc.affiliateid WHERE aff.id IS NULL);
DELETE FROM tblaffiliates_hits WHERE `affiliate_id` NOT IN (SELECT id FROM tblaffiliates);
DELETE FROM tblaffiliates_referrers WHERE `affiliate_id` NOT IN (SELECT id FROM tblaffiliates);
DELETE FROM tblaffiliatesaccounts WHERE `affiliateid` NOT IN (SELECT id FROM tblaffiliates);
DELETE FROM tblaffiliateshistory WHERE `affiliateid` NOT IN (SELECT id FROM tblaffiliates);
DELETE FROM tblaffiliateswithdrawals WHERE `affiliateid` NOT IN (SELECT id FROM tblaffiliates);upgrade442.sql000064400000000124147361027270007154 0ustar00INSERT INTO `tblconfiguration` (setting,value) VALUES ('CCDoNotRemoveOnExpiry','');
upgrade452.sql000064400000000344147361027270007161 0ustar00ALTER TABLE `tblsslorders` CHANGE `status` `status` TEXT NOT NULL;
UPDATE `tblsslorders` SET status='Awaiting Configuration' WHERE status='Incomplete';
ALTER TABLE `tblsslorders` ADD `configdata` TEXT NOT NULL AFTER `certtype`;
upgrade538release1.sql000064400000000223147361027270010604 0ustar00UPDATE tblemailtemplates SET subject = 'Credit Card Payment Due' WHERE name = 'Credit Card Payment Due' AND subject = 'Invoice Payment Reminder';

upgrade831release1.sql000064400000002636147361027270010612 0ustar00-- Add new index (date) for date column in tblticketmaillog
set @query = if ((SELECT count(INDEX_NAME) FROM INFORMATION_SCHEMA.STATISTICS WHERE TABLE_SCHEMA = database() AND TABLE_NAME = 'tblticketmaillog' AND INDEX_NAME = 'date') = 0, 'ALTER TABLE `tblticketmaillog` ADD INDEX `date` (`date`)', 'DO 0');
prepare statement from @query;
execute statement;
deallocate prepare statement;

-- Remove orphaned affiliate data
DELETE FROM tblaffiliatespending WHERE `affaccid` IN (SELECT acc.id FROM tblaffiliatesaccounts acc LEFT JOIN tblaffiliates aff ON aff.id = acc.affiliateid WHERE aff.id IS NULL);
DELETE FROM tblaffiliates_hits WHERE `affiliate_id` NOT IN (SELECT id FROM tblaffiliates);
DELETE FROM tblaffiliates_referrers WHERE `affiliate_id` NOT IN (SELECT id FROM tblaffiliates);
DELETE FROM tblaffiliatesaccounts WHERE `affiliateid` NOT IN (SELECT id FROM tblaffiliates);
DELETE FROM tblaffiliateshistory WHERE `affiliateid` NOT IN (SELECT id FROM tblaffiliates);
DELETE FROM tblaffiliateswithdrawals WHERE `affiliateid` NOT IN (SELECT id FROM tblaffiliates);

-- Remove unnecessary tracking column from tblproducts_slugs
set @query = if ((select count(*) from information_schema.columns where TABLE_NAME='tblproducts_slugs' and COLUMN_NAME='tracking' and TABLE_SCHEMA=database()) > 0, 'ALTER TABLE `tblproducts_slugs` DROP COLUMN `tracking`', 'DO 0');
prepare statement from @query;
execute statement;
deallocate prepare statement;upgrade7101release1.sql000064400000000746147361027270010667 0ustar00-- Add new field to tblhosting for promocount
set @query = if ((select count(*) from information_schema.columns where table_schema=database() and table_name='tblhosting' and column_name='promocount') = 0, 'alter table `tblhosting` add `promocount` INT(10) NULL DEFAULT \'0\' AFTER `promoid`', 'DO 0');
prepare statement from @query;
execute statement;
deallocate prepare statement;

-- Update promocount for existing services and set to null
UPDATE `tblhosting` SET `promocount` = null;upgrade710beta1.sql000064400000020351147361027270010073 0ustar00-- Remove table structure for table `tbltask_schedule`
DROP TABLE IF EXISTS `tbltask_schedule`;

-- Remove table structure for table `tbltask_mutex`
DROP TABLE IF EXISTS `tbltask_mutex`;

-- Remove table structure for table `tbllog_task`
DROP TABLE IF EXISTS `tbllog_task`;


-- Table structure for table `tbltask`

DROP TABLE IF EXISTS `tbltask`;
CREATE TABLE `tbltask` (
  `id` int(10) unsigned NOT NULL AUTO_INCREMENT,
  `priority` int(11) NOT NULL DEFAULT '0',
  `class_name` varchar(255) COLLATE utf8_unicode_ci NOT NULL DEFAULT '',
  `is_enabled` tinyint(4) NOT NULL DEFAULT '1',
  `is_periodic` tinyint(4) NOT NULL DEFAULT '1',
  `frequency` int(10) unsigned NOT NULL DEFAULT '0',
  `name` varchar(255) COLLATE utf8_unicode_ci NOT NULL DEFAULT '',
  `description` text COLLATE utf8_unicode_ci NOT NULL,
  `created_at` timestamp NOT NULL DEFAULT '0000-00-00 00:00:00',
  `updated_at` timestamp NOT NULL DEFAULT '0000-00-00 00:00:00',
  PRIMARY KEY (`id`)
) ENGINE=InnoDB AUTO_INCREMENT=23 DEFAULT CHARSET=utf8 COLLATE=utf8_unicode_ci;

LOCK TABLES `tbltask` WRITE;
INSERT INTO `tbltask` (`id`,`priority`,`class_name`,`is_enabled`,`is_periodic`,`frequency`,`name`,`description`,`created_at`,`updated_at`) VALUES (1,1530,'WHMCS\\Cron\\Task\\AddLateFees',1,1,1440,'Late Fees','Apply Late Fees','2016-11-02 16:59:20','2016-11-02 16:59:20'),(2,1620,'WHMCS\\Cron\\Task\\AffiliateCommissions',1,1,1440,'Delayed Affiliate Commissions','Process Delayed Affiliate Commissions','2016-11-02 16:59:20','2016-11-02 16:59:20'),(3,1630,'WHMCS\\Cron\\Task\\AffiliateReports',1,1,43200,'Affiliate Reports','Send Monthly Affiliate Reports','2016-11-02 16:59:20','2016-11-02 16:59:20'),(4,1680,'WHMCS\\Cron\\Task\\AutoClientStatusSync',1,1,1440,'Client Status Update','Synchronise Client Status','2016-11-02 16:59:20','2016-11-02 16:59:20'),(5,1590,'WHMCS\\Cron\\Task\\AutoTerminations',1,1,1440,'Overdue Terminations','Process Overdue Terminations','2016-11-02 16:59:20','2016-11-02 16:59:20'),(6,1570,'WHMCS\\Cron\\Task\\CancellationRequests',1,1,1440,'Cancellation Requests','Process Cancellation Requests','2016-11-02 16:59:20','2016-11-02 16:59:20'),(7,2000,'WHMCS\\Cron\\Task\\CheckForWhmcsUpdate',1,1,480,'WHMCS Updates','Check for WHMCS Software Updates','2016-11-02 16:59:20','2016-11-02 16:59:20'),(8,1610,'WHMCS\\Cron\\Task\\CloseInactiveTickets',1,1,1440,'Inactive Tickets','Auto Close Inactive Tickets','2016-11-02 16:59:20','2016-11-02 16:59:20'),(9,1520,'WHMCS\\Cron\\Task\\CreateInvoices',1,1,1440,'Invoices','Generate Invoices','2016-11-02 16:59:20','2016-11-02 16:59:20'),(10,1650,'WHMCS\\Cron\\Task\\CreditCardExpiryNotices',1,1,43200,'Credit Card Expiry Notices','Sending Credit Card Expiry Reminders','2016-11-02 16:59:20','2016-11-02 16:59:20'),(11,1500,'WHMCS\\Cron\\Task\\CurrencyUpdateExchangeRates',1,1,1440,'Currency Exchange Rates','Update Currency Exchange Rates','2016-11-02 16:59:20','2016-11-02 16:59:20'),(12,1510,'WHMCS\\Cron\\Task\\CurrencyUpdateProductPricing',1,1,1440,'Product Pricing Updates','Update Product Prices for Current Rates','2016-11-02 16:59:20','2016-11-02 16:59:20'),(13,1560,'WHMCS\\Cron\\Task\\DomainRenewalNotices',1,1,1440,'Domain Renewal Notices','Processing Domain Renewal Notices','2016-11-02 16:59:20','2016-11-02 16:59:20'),(14,1640,'WHMCS\\Cron\\Task\\EmailMarketer',1,1,1440,'Email Marketer Rules','Process Email Marketer Rules','2016-11-02 16:59:20','2016-11-02 16:59:20'),(15,1600,'WHMCS\\Cron\\Task\\FixedTermTerminations',1,1,1440,'Fixed Term Terminations','Process Fixed Term Terminations','2016-11-02 16:59:20','2016-11-02 16:59:20'),(16,1550,'WHMCS\\Cron\\Task\\InvoiceReminders',1,1,1440,'Invoice & Overdue Reminders','Generate daily reminders for unpaid and overdue invoice','2016-11-02 16:59:20','2016-11-02 16:59:20'),(17,1670,'WHMCS\\Cron\\Task\\OverageBilling',1,1,43200,'Overage Billing Charges','Process Overage Billing Charges','2016-11-02 16:59:20','2016-11-02 16:59:20'),(18,1540,'WHMCS\\Cron\\Task\\ProcessCreditCardPayments',1,1,1440,'Credit Card Charges','Process Credit Card Charges','2016-11-02 16:59:20','2016-11-02 16:59:20'),(19,1580,'WHMCS\\Cron\\Task\\AutoSuspensions',1,1,1440,'Overdue Suspensions','Process Overdue Suspensions','2016-11-02 16:59:21','2016-11-02 16:59:21'),(20,1700,'WHMCS\\Cron\\Task\\TicketEscalations',1,1,3,'Ticket Escalation Rules','Process and escalate tickets per any Escalation Rules','2016-11-02 16:59:21','2016-11-02 16:59:21'),(21,1690,'WHMCS\\Cron\\Task\\UpdateDomainExpiryStatus',1,1,1440,'Domain Expiry','Update Domain Expiry Status','2016-11-02 16:59:21','2016-11-02 16:59:21'),(22,1660,'WHMCS\\Cron\\Task\\UpdateServerUsage',1,1,1440,'Server Usage Stats','Updating Disk & Bandwidth Usage Stats','2016-11-02 16:59:21','2016-11-02 16:59:21');
UNLOCK TABLES;

-- Table structure for table `tbltask_status`

DROP TABLE IF EXISTS `tbltask_status`;
CREATE TABLE `tbltask_status` (
  `id` int(10) unsigned NOT NULL AUTO_INCREMENT,
  `task_id` int(10) unsigned NOT NULL,
  `in_progress` tinyint(4) NOT NULL DEFAULT '0',
  `last_run` timestamp NOT NULL DEFAULT '0000-00-00 00:00:00',
  `next_due` timestamp NOT NULL DEFAULT '0000-00-00 00:00:00',
  `created_at` timestamp NOT NULL DEFAULT '0000-00-00 00:00:00',
  `updated_at` timestamp NOT NULL DEFAULT '0000-00-00 00:00:00',
  PRIMARY KEY (`id`)
) ENGINE=InnoDB AUTO_INCREMENT=23 DEFAULT CHARSET=utf8 COLLATE=utf8_unicode_ci;

LOCK TABLES `tbltask_status` WRITE;
INSERT INTO `tbltask_status` (`id`,`task_id`,`in_progress`,`last_run`,`next_due`,`created_at`,`updated_at`) VALUES (1,1,0,'0000-00-00 00:00:00','2016-11-02 16:59:23','2016-11-02 16:59:20','2016-11-02 16:59:23'),(2,2,0,'0000-00-00 00:00:00','2016-11-02 16:59:23','2016-11-02 16:59:20','2016-11-02 16:59:23'),(3,3,0,'0000-00-00 00:00:00','2016-11-02 16:59:23','2016-11-02 16:59:20','2016-11-02 16:59:23'),(4,4,0,'0000-00-00 00:00:00','2016-11-02 16:59:23','2016-11-02 16:59:20','2016-11-02 16:59:23'),(5,5,0,'0000-00-00 00:00:00','2016-11-02 16:59:23','2016-11-02 16:59:20','2016-11-02 16:59:23'),(6,6,0,'0000-00-00 00:00:00','2016-11-02 16:59:23','2016-11-02 16:59:20','2016-11-02 16:59:23'),(7,7,0,'0000-00-00 00:00:00','2016-11-02 16:59:23','2016-11-02 16:59:20','2016-11-02 16:59:23'),(8,8,0,'0000-00-00 00:00:00','2016-11-02 16:59:23','2016-11-02 16:59:20','2016-11-02 16:59:23'),(9,9,0,'0000-00-00 00:00:00','2016-11-02 16:59:23','2016-11-02 16:59:20','2016-11-02 16:59:23'),(10,10,0,'0000-00-00 00:00:00','2016-11-02 16:59:23','2016-11-02 16:59:20','2016-11-02 16:59:23'),(11,11,0,'0000-00-00 00:00:00','2016-11-02 16:59:23','2016-11-02 16:59:20','2016-11-02 16:59:23'),(12,12,0,'0000-00-00 00:00:00','2016-11-02 16:59:23','2016-11-02 16:59:20','2016-11-02 16:59:23'),(13,13,0,'0000-00-00 00:00:00','2016-11-02 16:59:23','2016-11-02 16:59:20','2016-11-02 16:59:23'),(14,14,0,'0000-00-00 00:00:00','2016-11-02 16:59:23','2016-11-02 16:59:20','2016-11-02 16:59:23'),(15,15,0,'0000-00-00 00:00:00','2016-11-02 16:59:23','2016-11-02 16:59:20','2016-11-02 16:59:23'),(16,16,0,'0000-00-00 00:00:00','2016-11-02 16:59:23','2016-11-02 16:59:20','2016-11-02 16:59:23'),(17,17,0,'0000-00-00 00:00:00','2016-11-02 16:59:23','2016-11-02 16:59:20','2016-11-02 16:59:23'),(18,18,0,'0000-00-00 00:00:00','2016-11-02 16:59:23','2016-11-02 16:59:20','2016-11-02 16:59:23'),(19,19,0,'0000-00-00 00:00:00','2016-11-02 16:59:23','2016-11-02 16:59:21','2016-11-02 16:59:23'),(20,20,0,'0000-00-00 00:00:00','2016-11-02 16:59:23','2016-11-02 16:59:21','2016-11-02 16:59:23'),(21,21,0,'0000-00-00 00:00:00','2016-11-02 16:59:23','2016-11-02 16:59:21','2016-11-02 16:59:23'),(22,22,0,'0000-00-00 00:00:00','2016-11-02 16:59:23','2016-11-02 16:59:21','2016-11-02 16:59:23');
UNLOCK TABLES;

-- Table structure for table `tbllog_register`

DROP TABLE IF EXISTS `tbllog_register`;
CREATE TABLE `tbllog_register` (
  `id` int(10) unsigned NOT NULL AUTO_INCREMENT,
  `name` varchar(255) COLLATE utf8_unicode_ci NOT NULL DEFAULT '',
  `namespace_id` int(10) unsigned,
  `namespace` varchar(255) COLLATE utf8_unicode_ci NOT NULL DEFAULT '',
  `namespace_value` text COLLATE utf8_unicode_ci NOT NULL,
  `created_at` timestamp NOT NULL DEFAULT '0000-00-00 00:00:00',
  `updated_at` timestamp NOT NULL DEFAULT '0000-00-00 00:00:00',
  PRIMARY KEY (`id`)
) ENGINE=InnoDB DEFAULT CHARSET=utf8 COLLATE=utf8_unicode_ci;

-- Insert Automation Status Permission to admin role 1
INSERT INTO `tbladminperms` (`roleid`, `permid`) VALUES (1, 138);
upgrade410.sql000064400000007672147361027270007166 0ustar00ALTER TABLE `tblticketdepartments` ADD `piperepliesonly` TEXT NOT NULL AFTER `clientsonly` ;

CREATE TABLE IF NOT EXISTS `tblservergroups` (
`id` INT( 10 ) NOT NULL AUTO_INCREMENT PRIMARY KEY ,
`name` TEXT COLLATE utf8_unicode_ci NOT NULL ,
`filltype` INT( 1 ) NOT NULL
) DEFAULT CHARSET=utf8 COLLATE=utf8_unicode_ci;


CREATE TABLE IF NOT EXISTS `tblservergroupsrel` (
`groupid` INT( 10 ) NOT NULL ,
`serverid` INT( 10 ) NOT NULL
) DEFAULT CHARSET=utf8 COLLATE=utf8_unicode_ci;

ALTER TABLE `tblproducts` DROP `defaultserver` ;
ALTER TABLE `tblproducts` ADD `servergroup` INT( 10 ) NOT NULL AFTER `servertype` ;

INSERT INTO `tblconfiguration` (`setting`, `value`) VALUES ('DisableSessionIPCheck', '');

ALTER TABLE `tblclients` ADD `cardlastfour` TEXT NOT NULL AFTER `cardtype` ;

ALTER TABLE `tbladdons` ADD `downloads` TEXT NOT NULL ,
ADD `autoactivate` TEXT NOT NULL ,
ADD `welcomeemail` INT( 10 ) NOT NULL ;

ALTER TABLE `tblhostingaddons` ADD `addonid` INT( 10 ) NOT NULL AFTER `hostingid` ;

ALTER TABLE `tblproductconfigoptions` ADD `hidden` INT( 1 ) NOT NULL ;
ALTER TABLE `tblproductconfigoptionssub` ADD `hidden` INT( 1 ) NOT NULL ;

ALTER TABLE `tbltickets` ADD `cc` TEXT NOT NULL AFTER `email` ;
INSERT INTO `tblconfiguration` (`setting`, `value`) VALUES ('DisableSupportTicketReplyEmailsLogging', '');

CREATE TABLE IF NOT EXISTS `tblclientsfiles` (
`id` INT( 10 ) NOT NULL AUTO_INCREMENT PRIMARY KEY ,
`userid` INT( 10 ) NOT NULL ,
`title` TEXT COLLATE utf8_unicode_ci NOT NULL ,
`filename` TEXT COLLATE utf8_unicode_ci NOT NULL ,
`adminonly` INT( 1 ) NOT NULL ,
`dateadded` DATE NOT NULL
) DEFAULT CHARSET=utf8 COLLATE=utf8_unicode_ci;

ALTER TABLE `tblclients` ADD `pwresetkey` TEXT NOT NULL , ADD `pwresetexpiry` INT( 10 ) NOT NULL ;
INSERT INTO `tblemailtemplates` (`id`, `type`, `name`, `subject`, `message`, `fromname`, `fromemail`, `disabled`, `custom`, `language`, `copyto`, `plaintext`) VALUES (NULL, 'general', 'Password Reset Validation', 'Your login details for {$company_name}', '<p>Dear {$client_name},</p><p>Recently a request was submitted to reset your password for our client area. If you did not request this, please ignore this email. It will expire and become useless in 2 hours time.</p><p>To reset your password, please visit the url below:<br /><a href="{$pw_reset_url}">{$pw_reset_url}</a></p><p>When you visit the link above, your password will be reset, and the new password will be emailed to you.</p><p>{$signature}</p>', '', '', '', '', '', '', '0');
INSERT INTO `tblemailtemplates` (`id`, `type`, `name`, `subject`, `message`, `fromname`, `fromemail`, `disabled`, `custom`, `language`, `copyto`, `plaintext`) VALUES (NULL, 'general', 'Password Reset Confirmation', 'Your new password for {$company_name}', '<p>Dear {$client_name},</p><p>As you requested, your password for our client area has now been reset.  Your new login details are as follows:</p><p>{$whmcs_link}<br />Email: {$client_email}<br />Password: {$client_password}</p><p>To change your password to something more memorable, after logging in go to My Details > Change Password.</p><p>{$signature}</p>', '', '', '', '', '', '', '0');

ALTER TABLE `tblproducts` ADD `overagesenabled` INT( 1 ) NOT NULL AFTER `billingcycleupgrade` ,
ADD `overagesdisklimit` INT( 10 ) NOT NULL AFTER `overagesenabled` ,
ADD `overagesbwlimit` INT( 10 ) NOT NULL AFTER `overagesdisklimit` ,
ADD `overagesdiskprice` DECIMAL( 6, 4 ) NOT NULL AFTER `overagesbwlimit` ,
ADD `overagesbwprice` DECIMAL( 6, 4 ) NOT NULL AFTER `overagesdiskprice` ;
INSERT INTO `tblconfiguration` (`setting`, `value`) VALUES ('OverageBillingMethod', '1');

ALTER TABLE `tblproductconfigoptions` ADD `qtyminimum` INT( 10 ) NOT NULL AFTER `optiontype` ,
ADD `qtymaximum` INT( 10 ) NOT NULL AFTER `qtyminimum` ;

ALTER TABLE `tblcustomfields` ADD `description` TEXT NOT NULL AFTER `fieldtype` ;

INSERT INTO `tblconfiguration` (`setting` ,`value`)VALUES ('CCNeverStore', '');
INSERT INTO `tblconfiguration` (`setting` ,`value`)VALUES ('CCAllowCustomerDelete', '');
upgrade620alpha1.sql000064400000026000147361027270010242 0ustar00-- Add the Configure Application Links permission to Full Admin role
INSERT INTO `tbladminperms` (`roleid`, `permid`) VALUES (1, 133);

-- Add the Configure OpenID Connect permission to Full Admin role
INSERT INTO `tbladminperms` (`roleid`, `permid`) VALUES (1, 134);

-- Remove the Disable Client Dropdown setting
DELETE FROM `tblconfiguration` WHERE `setting` = 'DisableClientDropdown';

-- Add termination_date to tblhosting
ALTER TABLE `tblhosting` ADD `termination_date` DATE NOT NULL DEFAULT '0000-00-00' AFTER `nextinvoicedate`;

-- Add termination_date to tblhostingaddons
ALTER TABLE `tblhostingaddons` ADD `termination_date` DATE NOT NULL DEFAULT '0000-00-00' AFTER `nextinvoicedate`;

-- Populate the termination date for tblhosting and tblhostingaddons for terminated products
UPDATE `tblhosting` SET `termination_date` = `nextduedate` WHERE `domainstatus` = 'Terminated' OR `domainstatus` = 'Cancelled';
UPDATE `tblhostingaddons` SET `termination_date` = `nextduedate` WHERE `status` = 'Terminated' OR `status` = 'Cancelled';

-- Add single sign-on client toggle setting
ALTER TABLE `tblclients` ADD `allow_sso` TINYINT( 1 ) NOT NULL DEFAULT '1' AFTER `overrideautoclose` ;

-- \WHMCS\ApplicationLink\AccessToken
CREATE TABLE IF NOT EXISTS `tbloauthserver_access_tokens` (
  `id` int(10) unsigned NOT NULL AUTO_INCREMENT,
  `access_token` varchar(80) COLLATE utf8_unicode_ci NOT NULL,
  `client_id` varchar(80) COLLATE utf8_unicode_ci NOT NULL DEFAULT '',
  `user_id` varchar(255) COLLATE utf8_unicode_ci NOT NULL DEFAULT '',
  `redirect_uri` varchar(2000) COLLATE utf8_unicode_ci NOT NULL DEFAULT '',
  `expires` timestamp NOT NULL DEFAULT '0000-00-00 00:00:00',
  `created_at` timestamp NOT NULL DEFAULT '0000-00-00 00:00:00',
  `updated_at` timestamp NOT NULL DEFAULT '0000-00-00 00:00:00',
  PRIMARY KEY (`id`),
  UNIQUE KEY `tbloauthserver_access_tokens_access_token_unique` (`access_token`)
) ENGINE=InnoDB DEFAULT CHARSET=utf8 COLLATE=utf8_unicode_ci;

CREATE TABLE IF NOT EXISTS `tbloauthserver_access_token_scopes` (
  `access_token_id` int(10) unsigned NOT NULL DEFAULT '0',
  `scope_id` int(10) unsigned NOT NULL DEFAULT '0',
  KEY `tbloauthserver_access_token_scopes_scope_id_index` (`access_token_id`,`scope_id`)
) ENGINE=InnoDB DEFAULT CHARSET=utf8 COLLATE=utf8_unicode_ci;

-- \WHMCS\ApplicationLink\ApplicationLink
CREATE TABLE IF NOT EXISTS `tblapplinks` (
  `id` int(10) unsigned NOT NULL AUTO_INCREMENT,
  `module_type` varchar(20) COLLATE utf8_unicode_ci NOT NULL DEFAULT '',
  `module_name` varchar(50) COLLATE utf8_unicode_ci NOT NULL DEFAULT '',
  `is_enabled` tinyint(4) NOT NULL DEFAULT '0',
  `created_at` timestamp NOT NULL DEFAULT '0000-00-00 00:00:00',
  `updated_at` timestamp NOT NULL DEFAULT '0000-00-00 00:00:00',
  PRIMARY KEY (`id`)
) ENGINE=InnoDB DEFAULT CHARSET=utf8 COLLATE=utf8_unicode_ci;

-- \WHMCS\ApplicationLink\AuthorizationCode
CREATE TABLE IF NOT EXISTS `tbloauthserver_auth_codes` (
  `id` int(11) NOT NULL AUTO_INCREMENT,
  `authorization_code` varchar(80) COLLATE utf8_unicode_ci NOT NULL,
  `client_id` varchar(80) COLLATE utf8_unicode_ci NOT NULL DEFAULT '',
  `user_id` varchar(255) COLLATE utf8_unicode_ci NOT NULL DEFAULT '',
  `redirect_uri` varchar(2000) COLLATE utf8_unicode_ci NOT NULL DEFAULT '',
  `id_token` varchar(2000) COLLATE utf8_unicode_ci NOT NULL DEFAULT '',
  `expires` timestamp NOT NULL DEFAULT '0000-00-00 00:00:00',
  `created_at` timestamp NOT NULL DEFAULT '0000-00-00 00:00:00',
  `updated_at` timestamp NOT NULL DEFAULT '0000-00-00 00:00:00',
  PRIMARY KEY (`id`),
  UNIQUE KEY `tbloauthserver_auth_codes_authorization_code_unique` (`authorization_code`)
) ENGINE=InnoDB DEFAULT CHARSET=utf8 COLLATE=utf8_unicode_ci;

CREATE TABLE IF NOT EXISTS `tbloauthserver_authcode_scopes` (
  `authorization_code_id` int(10) unsigned NOT NULL DEFAULT '0',
  `scope_id` int(10) unsigned NOT NULL DEFAULT '0',
  KEY `tbloauthserver_authcode_scopes_scope_id_index` (`authorization_code_id`,`scope_id`)
) ENGINE=InnoDB DEFAULT CHARSET=utf8 COLLATE=utf8_unicode_ci;

-- \WHMCS\ApplicationLink\Client
CREATE TABLE IF NOT EXISTS `tbloauthserver_clients` (
  `id` int(10) unsigned NOT NULL AUTO_INCREMENT,
  `identifier` varchar(80) COLLATE utf8_unicode_ci NOT NULL,
  `secret` varchar(255) COLLATE utf8_unicode_ci NOT NULL DEFAULT '',
  `redirect_uri` varchar(2000) COLLATE utf8_unicode_ci NOT NULL DEFAULT '',
  `grant_types` varchar(80) COLLATE utf8_unicode_ci NOT NULL DEFAULT '',
  `user_id` varchar(255) COLLATE utf8_unicode_ci NOT NULL DEFAULT '',
  `service_id` int(11) NOT NULL DEFAULT '0',
  `name` varchar(255) COLLATE utf8_unicode_ci NOT NULL DEFAULT '',
  `description` varchar(255) COLLATE utf8_unicode_ci NOT NULL DEFAULT '',
  `logo_uri` varchar(255) COLLATE utf8_unicode_ci NOT NULL DEFAULT '',
  `rsa_key_pair_id` int(11) NOT NULL DEFAULT '0',
  `created_at` timestamp NOT NULL DEFAULT '0000-00-00 00:00:00',
  `updated_at` timestamp NOT NULL DEFAULT '0000-00-00 00:00:00',
  PRIMARY KEY (`id`),
  UNIQUE KEY `tbloauthserver_clients_identifier_unique` (`identifier`)
) ENGINE=InnoDB DEFAULT CHARSET=utf8 COLLATE=utf8_unicode_ci;

CREATE TABLE IF NOT EXISTS `tbloauthserver_client_scopes` (
  `client_id` int(10) unsigned NOT NULL DEFAULT '0',
  `scope_id` int(10) unsigned NOT NULL DEFAULT '0',
  KEY `tbloauthserver_client_scopes_scope_id_index` (`client_id`,`scope_id`)
) ENGINE=InnoDB DEFAULT CHARSET=utf8 COLLATE=utf8_unicode_ci;

-- \WHMCS\ApplicationLink\Links
CREATE TABLE IF NOT EXISTS `tblapplinks_links` (
  `id` int(10) unsigned NOT NULL AUTO_INCREMENT,
  `applink_id` int(10) unsigned NOT NULL DEFAULT '0',
  `scope` varchar(80) COLLATE utf8_unicode_ci NOT NULL DEFAULT '',
  `display_label` varchar(256) COLLATE utf8_unicode_ci NOT NULL DEFAULT '',
  `is_enabled` tinyint(4) NOT NULL DEFAULT '0',
  `order` tinyint(4) NOT NULL DEFAULT '0',
  `created_at` timestamp NOT NULL DEFAULT '0000-00-00 00:00:00',
  `updated_at` timestamp NOT NULL DEFAULT '0000-00-00 00:00:00',
  PRIMARY KEY (`id`)
) ENGINE=InnoDB DEFAULT CHARSET=utf8 COLLATE=utf8_unicode_ci;

-- \WHMCS\ApplicationLink\Log
CREATE TABLE IF NOT EXISTS `tblapplinks_log` (
  `id` int(10) unsigned NOT NULL AUTO_INCREMENT,
  `applink_id` int(10) unsigned NOT NULL DEFAULT '0',
  `message` varchar(2000) COLLATE utf8_unicode_ci NOT NULL DEFAULT '',
  `level` int(11) NOT NULL DEFAULT '0',
  `created_at` timestamp NOT NULL DEFAULT '0000-00-00 00:00:00',
  `updated_at` timestamp NOT NULL DEFAULT '0000-00-00 00:00:00',
  PRIMARY KEY (`id`)
) ENGINE=InnoDB DEFAULT CHARSET=utf8 COLLATE=utf8_unicode_ci;

-- \WHMCS\ApplicationLink\Scope
CREATE TABLE IF NOT EXISTS `tbloauthserver_scopes` (
  `id` int(10) unsigned NOT NULL AUTO_INCREMENT,
  `scope` varchar(80) COLLATE utf8_unicode_ci NOT NULL,
  `description` varchar(255) COLLATE utf8_unicode_ci NOT NULL DEFAULT '',
  `is_default` tinyint(4) NOT NULL DEFAULT '0',
  `created_at` timestamp NOT NULL DEFAULT '0000-00-00 00:00:00',
  `updated_at` timestamp NOT NULL DEFAULT '0000-00-00 00:00:00',
  PRIMARY KEY (`id`),
  UNIQUE KEY `tbloauthserver_scopes_scope_unique` (`scope`)
) ENGINE=InnoDB  DEFAULT CHARSET=utf8 COLLATE=utf8_unicode_ci;

INSERT INTO `tbloauthserver_scopes` (`id`,`scope`,`description`,`is_default`,`created_at`,`updated_at`) VALUES
  (1, 'clientarea:sso', 'Single Sign-on for Client Area', 1, '0000-00-00 00:00:00','0000-00-00 00:00:00'),
  (2, 'clientarea:profile', 'Account Profile', 0, '0000-00-00 00:00:00','0000-00-00 00:00:00'),
  (3, 'clientarea:billing_info', 'Manage Billing Information', 0, '0000-00-00 00:00:00','0000-00-00 00:00:00'),
  (4, 'clientarea:emails', 'Email History', 0, '0000-00-00 00:00:00','0000-00-00 00:00:00'),
  (5, 'clientarea:announcements', 'Announcements', 0, '0000-00-00 00:00:00','0000-00-00 00:00:00'),
  (6, 'clientarea:downloads', 'Downloads', 0, '0000-00-00 00:00:00','0000-00-00 00:00:00'),
  (7, 'clientarea:knowledgebase', 'Knowledgebase', 0, '0000-00-00 00:00:00','0000-00-00 00:00:00'),
  (8, 'clientarea:network_status', 'Network Status', 0, '0000-00-00 00:00:00','0000-00-00 00:00:00'),
  (9, 'clientarea:services', 'Products/Services', 0, '0000-00-00 00:00:00','0000-00-00 00:00:00'),
  (10, 'clientarea:product_details', 'Product Info/Details (requires associated serviceId)', 0, '0000-00-00 00:00:00','0000-00-00 00:00:00'),
  (11, 'clientarea:domains', 'Domains', 0, '0000-00-00 00:00:00','0000-00-00 00:00:00'),
  (12, 'clientarea:domain_details', 'Domain Info/Details (requires associated domainId)', 0, '0000-00-00 00:00:00','0000-00-00 00:00:00'),
  (13, 'clientarea:invoices', 'Invoices', 0, '0000-00-00 00:00:00','0000-00-00 00:00:00'),
  (14, 'clientarea:tickets', 'Support Tickets', 0, '0000-00-00 00:00:00','0000-00-00 00:00:00'),
  (15, 'clientarea:submit_ticket', 'Submit New Ticket', 0, '0000-00-00 00:00:00','0000-00-00 00:00:00'),
  (16, 'clientarea:shopping_cart', 'Shopping Cart Default Product Group', 0, '0000-00-00 00:00:00','0000-00-00 00:00:00'),
  (17, 'clientarea:shopping_cart_addons', 'Shopping Cart Product Addons', 0, '0000-00-00 00:00:00','0000-00-00 00:00:00'),
  (18, 'clientarea:shopping_cart_domain_register', 'Shopping Cart Register New Domain', 0, '0000-00-00 00:00:00','0000-00-00 00:00:00'),
  (19, 'clientarea:shopping_cart_domain_transfer', 'Shopping Cart Transfer Existing Domain', 0, '0000-00-00 00:00:00','0000-00-00 00:00:00'),
  (20, 'openid', 'Scope required for OpenID Connect ID tokens', 0, '0000-00-00 00:00:00','0000-00-00 00:00:00'),
  (21, 'email', 'Scope used for Email Claim', 0, '0000-00-00 00:00:00','0000-00-00 00:00:00'),
  (22, 'profile', 'Scope used for Profile Claim', 0, '0000-00-00 00:00:00','0000-00-00 00:00:00');

-- \WHMCS\ApplicationLink\Scope\UserAuthorization
CREATE TABLE IF NOT EXISTS `tbloauthserver_user_authz` (
  `id` int(11) NOT NULL AUTO_INCREMENT,
  `user_id` varchar(255) COLLATE utf8_unicode_ci NOT NULL DEFAULT '',
  `client_id` int(10) unsigned NOT NULL DEFAULT '0',
  `expires` timestamp NOT NULL DEFAULT '0000-00-00 00:00:00',
  `created_at` timestamp NOT NULL DEFAULT '0000-00-00 00:00:00',
  `updated_at` timestamp NOT NULL DEFAULT '0000-00-00 00:00:00',
  PRIMARY KEY (`id`)
) ENGINE=InnoDB DEFAULT CHARSET=utf8 COLLATE=utf8_unicode_ci;

CREATE TABLE IF NOT EXISTS `tbloauthserver_user_authz_scopes` (
  `user_authz_id` int(10) unsigned NOT NULL DEFAULT '0',
  `scope_id` int(10) unsigned NOT NULL DEFAULT '0',
  KEY `tbloauthserver_user_authz_scopes_scope_id_index` (`user_authz_id`,`scope_id`)
) ENGINE=InnoDB DEFAULT CHARSET=utf8 COLLATE=utf8_unicode_ci;

-- \WHMCS\Security\Encryption\RsaKeyPair
CREATE TABLE IF NOT EXISTS `tblrsakeypairs` (
  `id` int(11) NOT NULL AUTO_INCREMENT,
  `identifier` varchar(96) COLLATE utf8_unicode_ci NOT NULL DEFAULT '',
  `private_key` text COLLATE utf8_unicode_ci NOT NULL,
  `public_key` text COLLATE utf8_unicode_ci NOT NULL,
  `algorithm` varchar(16) COLLATE utf8_unicode_ci NOT NULL DEFAULT 'RS256',
  `name` varchar(255) COLLATE utf8_unicode_ci NOT NULL DEFAULT '',
  `description` varchar(255) COLLATE utf8_unicode_ci NOT NULL DEFAULT '',
  `created_at` timestamp NOT NULL DEFAULT '0000-00-00 00:00:00',
  `updated_at` timestamp NOT NULL DEFAULT '0000-00-00 00:00:00',
  PRIMARY KEY (`id`)
) ENGINE=InnoDB DEFAULT CHARSET=utf8 COLLATE=utf8_unicode_ci;
upgrade860rc1.sql000064400000003247147361027270007577 0ustar00-- Add new index (date) for date column in tblactivitylog
set @query = if ((SELECT count(INDEX_NAME) FROM INFORMATION_SCHEMA.STATISTICS WHERE TABLE_SCHEMA = database() AND TABLE_NAME = 'tblactivitylog' AND INDEX_NAME = 'date') = 0, 'CREATE INDEX `date` ON `tblactivitylog` (`date`)', 'DO 0');
prepare statement from @query;
execute statement;
deallocate prepare statement;

-- Add new index (user) for user column in tblactivitylog
set @query = if ((SELECT count(INDEX_NAME) FROM INFORMATION_SCHEMA.STATISTICS WHERE TABLE_SCHEMA = database() AND TABLE_NAME = 'tblactivitylog' AND INDEX_NAME = 'user') = 0, 'CREATE INDEX `user` ON `tblactivitylog` (`user`(255))', 'DO 0');
prepare statement from @query;
execute statement;
deallocate prepare statement;

-- Reintroduce table mod_invoicedata in the event it went missing. It had a history of being related to an addon module, and being dynamically created.
CREATE TABLE IF NOT EXISTS `mod_invoicedata` (
    `id` int(10) NOT NULL AUTO_INCREMENT,
    `invoiceid` int(10) NOT NULL,
    `clientsdetails` text COLLATE utf8_unicode_ci NOT NULL,
    `customfields` text COLLATE utf8_unicode_ci NOT NULL,
    `version` varchar(255) COLLATE utf8_unicode_ci NULL,
    PRIMARY KEY (`id`)
) ENGINE=InnoDB DEFAULT CHARSET=utf8 COLLATE=utf8_unicode_ci;

-- Add new column (version) to mod_invoicedata
set @query = if ((SELECT COUNT(*) FROM INFORMATION_SCHEMA.COLUMNS WHERE table_schema = database() AND TABLE_NAME = 'mod_invoicedata' AND COLUMN_NAME  = 'version') = 0, 'ALTER TABLE `mod_invoicedata` ADD `version` VARCHAR(255) COLLATE utf8_unicode_ci NULL AFTER `customfields`', 'DO 0');
prepare statement from @query;
execute statement;
deallocate prepare statement;
upgrade783release1.sql000064400000000424147361027270010611 0ustar00UPDATE `tblclients` SET `state`='ARABA/ÁLAVA' WHERE `state`='ARABA';
UPDATE `tblcontacts` SET `state`='ARABA/ÁLAVA' WHERE `state`='ARABA';
UPDATE `tblquotes` SET `state`='ARABA/ÁLAVA' WHERE `state`='ARABA';
UPDATE `tbltax` SET `state`='ARABA/ÁLAVA' WHERE `state`='ARABA';
upgrade720alpha1.sql000064400000016772147361027270010262 0ustar00CREATE TABLE IF NOT EXISTS `tblapilog` (
  `id` int(10) unsigned NOT NULL AUTO_INCREMENT,
  `action` varchar(255) COLLATE utf8_unicode_ci NOT NULL DEFAULT '',
  `request` text COLLATE utf8_unicode_ci NOT NULL,
  `response` text COLLATE utf8_unicode_ci NOT NULL,
  `status` int(11) NOT NULL DEFAULT '0',
  `headers` text COLLATE utf8_unicode_ci NOT NULL,
  `level` int(11) NOT NULL DEFAULT '0',
  `created_at` timestamp NOT NULL DEFAULT '0000-00-00 00:00:00',
  `updated_at` timestamp NOT NULL DEFAULT '0000-00-00 00:00:00',
  PRIMARY KEY (`id`)
) ENGINE=InnoDB DEFAULT CHARSET=utf8 COLLATE=utf8_unicode_ci;

-- add What's New permission
INSERT INTO `tbladminperms` (`roleid`, `permid`) VALUES (1, 139);
-- add Manage API Credentials permission
INSERT INTO `tbladminperms` (`roleid`, `permid`) VALUES (1, 142);

CREATE TABLE IF NOT EXISTS `tbldeviceauth` (
  `id` int(10) unsigned NOT NULL AUTO_INCREMENT,
  `identifier` varchar(255) COLLATE utf8_unicode_ci NOT NULL DEFAULT '',
  `secret` varchar(255) COLLATE utf8_unicode_ci NOT NULL DEFAULT '',
  `user_id` int(11) NOT NULL DEFAULT '0',
  `is_admin` tinyint(1) NOT NULL DEFAULT '0',
  `description` varchar(255) COLLATE utf8_unicode_ci NOT NULL DEFAULT '',
  `last_access` timestamp NOT NULL DEFAULT '0000-00-00 00:00:00',
  `created_at` timestamp NOT NULL DEFAULT '0000-00-00 00:00:00',
  `updated_at` timestamp NOT NULL DEFAULT '0000-00-00 00:00:00',
  `deleted_at` timestamp NULL DEFAULT NULL,
  PRIMARY KEY (`id`),
  UNIQUE KEY `tbldeviceauth_identifier_unique` (`identifier`)
) ENGINE=InnoDB DEFAULT CHARSET=utf8 COLLATE=utf8_unicode_ci;

CREATE TABLE IF NOT EXISTS `tblmarketconnect_services` (
  `id` int(10) NOT NULL AUTO_INCREMENT,
  `name` varchar(30) NOT NULL  DEFAULT '',
  `status` tinyint(1) NOT NULL DEFAULT '0',
  `product_ids` text NOT NULL,
  `settings` text NOT NULL,
  PRIMARY KEY (`id`)
) ENGINE=InnoDB DEFAULT CHARSET=utf8;

-- created_at to tbladdons --
set @query = if ((select count(*) from information_schema.columns where table_schema=database() and table_name='tbladdons' and column_name='created_at') = 0, 'ALTER TABLE `tbladdons` ADD COLUMN `created_at` timestamp NOT NULL DEFAULT \'0000-00-00 00:00:00\';', 'DO 0;');
prepare statement from @query;
execute statement;
deallocate prepare statement;

-- updated_at to tbladdons --
set @query = if ((select count(*) from information_schema.columns where table_schema=database() and table_name='tbladdons' and column_name='updated_at') = 0, 'ALTER TABLE `tbladdons` ADD COLUMN `updated_at` timestamp NOT NULL DEFAULT \'0000-00-00 00:00:00\';', 'DO 0;');
prepare statement from @query;
execute statement;
deallocate prepare statement;

-- type to tbladdons --
set @query = if ((select count(*) from information_schema.columns where table_schema=database() and table_name='tbladdons' and column_name='type') = 0, 'ALTER TABLE tbladdons ADD `type` VARCHAR(16) COLLATE utf8_unicode_ci NOT NULL DEFAULT \'\' AFTER `welcomeemail`;', 'DO 0;');
prepare statement from @query;
execute statement;
deallocate prepare statement;

-- module to tbladdons --
set @query = if ((select count(*) from information_schema.columns where table_schema=database() and table_name='tbladdons' and column_name='module') = 0, 'ALTER TABLE tbladdons ADD `module` VARCHAR(32) COLLATE utf8_unicode_ci NOT NULL DEFAULT \'\' AFTER `type`;', 'DO 0;');
prepare statement from @query;
execute statement;
deallocate prepare statement;

-- server_group_id to tbladdons --
set @query = if ((select count(*) from information_schema.columns where table_schema=database() and table_name='tbladdons' and column_name='server_group_id') = 0, 'ALTER TABLE tbladdons ADD `server_group_id` INTEGER(10) NOT NULL DEFAULT \'0\' AFTER `module`;', 'DO 0;');
prepare statement from @query;
execute statement;
deallocate prepare statement;

-- server to tblhostingaddons --
set @query = if ((select count(*) from information_schema.columns where table_schema=database() and table_name='tblhostingaddons' and column_name='server') = 0, 'ALTER TABLE tblhostingaddons ADD `server` INTEGER(10) NOT NULL DEFAULT \'0\' AFTER `addonid`;', 'DO 0;');
prepare statement from @query;
execute statement;
deallocate prepare statement;

-- userid to tblhostingaddons --
set @query = if ((select count(*) from information_schema.columns where table_schema=database() and table_name='tblhostingaddons' and column_name='userid') = 0, 'ALTER TABLE tblhostingaddons ADD `userid` INTEGER(10) NOT NULL DEFAULT \'0\' AFTER `addonid`;', 'DO 0;');
prepare statement from @query;
execute statement;
deallocate prepare statement;

-- Create tblmodule_configuration
CREATE TABLE IF NOT EXISTS `tblmodule_configuration` (
  `id` INTEGER(10) unsigned NOT NULL AUTO_INCREMENT,
  `entity_type` VARCHAR(8) COLLATE utf8_unicode_ci NOT NULL DEFAULT '',
  `entity_id` INTEGER(10) unsigned NOT NULL DEFAULT '0',
  `setting_name` VARCHAR(16) COLLATE utf8_unicode_ci NOT NULL DEFAULT '',
  `friendly_name` VARCHAR(64) COLLATE utf8_unicode_ci NOT NULL DEFAULT '',
  `value` text COLLATE utf8_unicode_ci NOT NULL DEFAULT '',
  `created_at` TIMESTAMP NOT NULL DEFAULT '0000-00-00 00:00:00',
  `updated_at` TIMESTAMP NOT NULL DEFAULT '0000-00-00 00:00:00',
  PRIMARY KEY (`id`),
  UNIQUE KEY `unique_constraint` (`entity_type`,`entity_id`,`setting_name`),
  KEY `tblmodule_configuration_entity_type_index` (`entity_type`)
) ENGINE=InnoDB DEFAULT CHARSET=utf8 COLLATE=utf8_unicode_ci;

-- Convert autoactivate on tbladdons --
UPDATE `tbladdons` SET `autoactivate` = 'payment' WHERE `autoactivate` = 'on';

-- id to tblcustomfieldsvalues --
set @query = if ((select count(*) from information_schema.columns where table_schema=database() and table_name='tblcustomfieldsvalues' and column_name='id') = 0, 'ALTER TABLE `tblcustomfieldsvalues` ADD COLUMN `id` INT(10) UNSIGNED PRIMARY KEY AUTO_INCREMENT NOT NULL FIRST;', 'DO 0;');
prepare statement from @query;
execute statement;
deallocate prepare statement;

-- created_at to tblcustomfieldsvalues --
set @query = if ((select count(*) from information_schema.columns where table_schema=database() and table_name='tblcustomfieldsvalues' and column_name='created_at') = 0, 'ALTER TABLE `tblcustomfieldsvalues` ADD COLUMN `created_at` timestamp NOT NULL DEFAULT \'0000-00-00 00:00:00\';', 'DO 0;');
prepare statement from @query;
execute statement;
deallocate prepare statement;

-- updated_at to tblcustomfieldsvalues --
set @query = if ((select count(*) from information_schema.columns where table_schema=database() and table_name='tblcustomfieldsvalues' and column_name='updated_at') = 0, 'ALTER TABLE `tblcustomfieldsvalues` ADD COLUMN `updated_at` timestamp NOT NULL DEFAULT \'0000-00-00 00:00:00\';', 'DO 0;');
prepare statement from @query;
execute statement;
deallocate prepare statement;

-- addon_id to tblsslorders --
set @query = if ((select count(*) from information_schema.columns where table_schema=database() and table_name='tblsslorders' and column_name='addon_id') = 0, 'ALTER TABLE `tblsslorders` ADD COLUMN `addon_id` INT(10) NOT NULL DEFAULT \'0\' AFTER `serviceid`;', 'DO 0;');
prepare statement from @query;
execute statement;
deallocate prepare statement;

-- add default value to completiondate on tblsslorders --
ALTER TABLE `tblsslorders` MODIFY COLUMN `completiondate` DATETIME NOT NULL DEFAULT '0000-00-00 00:00:00';
-- reports to tbladminroles --
set @query = if ((select count(*) from information_schema.columns where table_schema=database() and table_name='tbladminroles' and column_name='reports') = 0, 'ALTER TABLE tbladminroles ADD `reports` text NOT NULL AFTER `widgets`', 'DO 0');
prepare statement from @query;
execute statement;
deallocate prepare statement;
upgrade630rc1.sql000064400000002262147361027270007566 0ustar00-- editor to tbltickets --
set @query = if ((select count(*) from information_schema.columns where table_schema=database() and table_name='tbltickets' and column_name='editor') = 0, 'ALTER TABLE tbltickets ADD `editor` enum(\'plain\',\'markdown\') COLLATE utf8_unicode_ci NOT NULL DEFAULT \'plain\'', 'DO 0');
prepare statement from @query;
execute statement;
deallocate prepare statement;

-- editor to tblticketreplies --
set @query = if ((select count(*) from information_schema.columns where table_schema=database() and table_name='tblticketreplies' and column_name='editor') = 0, 'ALTER TABLE tblticketreplies ADD `editor` enum(\'plain\',\'markdown\') COLLATE utf8_unicode_ci NOT NULL DEFAULT \'plain\'', 'DO 0');
prepare statement from @query;
execute statement;
deallocate prepare statement;

-- editor to tblticketnotes --
set @query = if ((select count(*) from information_schema.columns where table_schema=database() and table_name='tblticketnotes' and column_name='editor') = 0, 'ALTER TABLE tblticketnotes ADD `editor` enum(\'plain\',\'markdown\') COLLATE utf8_unicode_ci NOT NULL DEFAULT \'plain\'', 'DO 0');
prepare statement from @query;
execute statement;
deallocate prepare statement;
upgrade360.sql000064400000012555147361027270007166 0ustar00CREATE TABLE IF NOT EXISTS `tbladminroles` (  `id` int(1) NOT NULL auto_increment,  `name` text COLLATE utf8_unicode_ci NOT NULL,  `systememails` int(1) NOT NULL,  `accountemails` int(1) NOT NULL,  `supportemails` int(1) NOT NULL,  PRIMARY KEY  (`id`)) DEFAULT CHARSET=utf8 COLLATE=utf8_unicode_ci;
INSERT INTO `tbladminroles` (`id`, `name`, `systememails`, `accountemails`, `supportemails`) VALUES(1, 'Full Administrator', 1, 1, 1);
INSERT INTO `tbladminroles` (`id`, `name`, `systememails`, `accountemails`, `supportemails`) VALUES(2, 'Sales Operator', 0, 1, 1);
INSERT INTO `tbladminroles` (`id`, `name`, `systememails`, `accountemails`, `supportemails`) VALUES(3, 'Support Operator', 0, 0, 1);
CREATE TABLE IF NOT EXISTS `tbladminperms` (  `roleid` int(1) NOT NULL,  `permid` int(1) NOT NULL) DEFAULT CHARSET=utf8 COLLATE=utf8_unicode_ci;
INSERT INTO `tbladminperms` (`roleid`, `permid`) VALUES(1, 1),(1, 2),(1, 3),(1, 4),(1, 5),(1, 6),(1, 7),(1, 8),(1, 9),(1, 10),(1, 11),(1, 12),(1, 13),(1, 14),(1, 15),(1, 16),(1, 17),(1, 18),(1, 19),(1, 20),(1, 21),(1, 22),(1, 23),(1, 24),(1, 25),(1, 26),(1, 27),(1, 28),(1, 29),(1, 30),(1, 31),(1, 32),(1, 33),(1, 34),(1, 35),(1, 36),(1, 37),(1, 38),(1, 39),(1, 40),(1, 41),(1, 42),(1, 43),(1, 44),(1, 45),(1, 46),(1, 47),(1, 48),(1, 49),(1, 50),(1, 51),(1, 52),(1, 53),(1, 54),(1, 55),(1, 56),(1, 57),(1, 58),(1, 59),(1, 60),(1, 61),(1, 62),(1, 63),(1, 64),(1, 65),(1, 66),(1, 67),(1, 68),(1, 69),(1, 70),(1, 71),(1, 72),(1, 73),(1, 74),(1, 75),(1, 76),(1, 77),(1, 78),(1, 79),(1, 80),(1, 81),(1, 82),(1, 83),(2, 1),(2, 2),(2, 3),(2, 4),(2, 5),(2, 6),(2, 7),(2, 8),(2, 9),(2, 10),(2, 11),(2, 12),(2, 13),(2, 14),(2, 15),(2, 16),(2, 17),(2, 18),(2, 19),(2, 20),(2, 21),(2, 22),(2, 23),(2, 24),(2, 25),(2, 26),(2, 27),(2, 28),(2, 29),(2, 30),(2, 31),(2, 32),(2, 33),(2, 34),(2, 35),(2, 36),(2, 37),(2, 38),(2, 39),(2, 40),(2, 41),(2, 42),(2, 43),(2, 44),(2, 45),(2, 46),(2, 47),(2, 48),(2, 49),(2, 50),(2, 51),(2, 52),(3, 3),(3, 38),(3, 39),(3, 40),(3, 41),(3, 42),(3, 43),(3, 44),(3, 50);
ALTER TABLE `tbladmins` ADD `roleid` INT( 1 ) NOT NULL AFTER `id` ;
ALTER TABLE `tblticketdepartments` ADD `noautoresponder` TEXT NOT NULL AFTER `clientsonly` ;
UPDATE `tblconfiguration` SET `setting`='CaptchaSetting' WHERE `setting`='DisableCapatcha';
INSERT INTO `tblconfiguration` (`setting`, `value`) VALUES ('DisableClientDropdown', '');
INSERT INTO `tblemailtemplates` (`type`, `name`, `subject`, `message`, `fromname`, `fromemail`, `disabled`, `custom`, `language`, `copyto`, `plaintext`) VALUES('general', 'Credit Card Expiring Soon', 'Credit Card Expiring Soon', '<p>Dear [CustomerName], </p><p>This is a notice to inform you that your [CCType] credit card ending with [CCLastFour] will be expiring next month on [CCExpiryDate]. Please login to update your credit card information as soon as possible and prevent any interuptions in service at [ClientAreaLink]<br /><br />If you have any questions regarding your account, please open a support ticket from the client area.</p><p>[Signature]</p>', '', '', '', '', '', '', 0);
CREATE TABLE IF NOT EXISTS `tbllinks` (`id` INT( 1 ) NOT NULL AUTO_INCREMENT PRIMARY KEY ,`name` TEXT COLLATE utf8_unicode_ci NOT NULL ,`link` TEXT COLLATE utf8_unicode_ci NOT NULL ,`clicks` INT( 1 ) NOT NULL ,`conversions` INT( 1 ) NOT NULL ) DEFAULT CHARSET=utf8 COLLATE=utf8_unicode_ci;
UPDATE tbladmins SET roleid='1' WHERE userlevel='3';
UPDATE tbladmins SET roleid='2' WHERE userlevel='2';
UPDATE tbladmins SET roleid='3' WHERE userlevel='1';
ALTER TABLE `tbladmins` DROP `userlevel` ;
ALTER TABLE `tbladmins` DROP `ordernotifications` ;
INSERT INTO `tblconfiguration` (`setting` ,`value` )VALUES ('CCProcessDaysBefore', '0');
INSERT INTO `tblconfiguration` (`setting` ,`value` )VALUES ('CCAttemptOnlyOnce', '');
INSERT INTO `tblconfiguration` (`setting` ,`value` )VALUES ('CCDaySendExpiryNotices', '25');
UPDATE tblclients SET country = 'SH' WHERE country = 'AC';
UPDATE tblclients SET country = 'TL' WHERE country = 'TP';
UPDATE tblclients SET country = 'GQ' WHERE country = 'GC';
UPDATE tblclients SET country = 'FR' WHERE country = 'FX';
UPDATE tblclients SET country = 'GH' WHERE country = 'GA';
UPDATE tblclients SET country = 'GI' WHERE country = 'BI';
UPDATE tblclients SET country = 'IM' WHERE country = 'GB4';
UPDATE tblclients SET country = 'JE' WHERE country = 'JR';
UPDATE tblclients SET country = 'GB' WHERE country = 'UK';
UPDATE tblclients SET country = 'RS' WHERE country = 'YU';
UPDATE tblclients SET country = 'CD' WHERE country = 'ZR';
UPDATE tbltax SET country = 'SH' WHERE country = 'AC';
UPDATE tbltax SET country = 'TL' WHERE country = 'TP';
UPDATE tbltax SET country = 'GQ' WHERE country = 'GC';
UPDATE tbltax SET country = 'FR' WHERE country = 'FX';
UPDATE tbltax SET country = 'GH' WHERE country = 'GA';
UPDATE tbltax SET country = 'GI' WHERE country = 'BI';
UPDATE tbltax SET country = 'IM' WHERE country = 'GB4';
UPDATE tbltax SET country = 'JE' WHERE country = 'JR';
UPDATE tbltax SET country = 'GB' WHERE country = 'UK';
UPDATE tbltax SET country = 'RS' WHERE country = 'YU';
UPDATE tbltax SET country = 'CD' WHERE country = 'ZR';
CREATE TABLE IF NOT EXISTS `tblaffiliateswithdrawals` (`id` INT( 1 ) NOT NULL AUTO_INCREMENT PRIMARY KEY ,`affiliateid` INT( 3 ) NOT NULL ,`date` DATE NOT NULL ,`description` TEXT NOT NULL ,`amount` DECIMAL( 10, 2 ) NOT NULL ) DEFAULT CHARSET=utf8 COLLATE=utf8_unicode_ci;
UPDATE tblinvoiceitems SET type='LateFee' WHERE description LIKE 'Late Fee%';
upgrade740release1.sql000064400000000173147361027270010603 0ustar00-- New Telephone Dropdown Setting
INSERT INTO `tblconfiguration` (`setting`, `value`) VALUES ('PhoneNumberDropdown', '1');
upgrade792release1.sql000064400000000672147361027270010616 0ustar00-- Add new field to tblhostingaddons for subscriptionid
set @query = if ((select count(*) from information_schema.columns where table_schema=database() and table_name='tblhostingaddons' and column_name='subscriptionid') = 0, 'alter table `tblhostingaddons` add `subscriptionid` VARCHAR(128) COLLATE utf8_unicode_ci NOT NULL DEFAULT \'\' AFTER `notes`', 'DO 0');
prepare statement from @query;
execute statement;
deallocate prepare statement;
upgrade321.sql000064400000000144147361027270007152 0ustar00INSERT INTO `tblconfiguration` (`setting` ,`value` ) VALUES ('ProductMonthlyPricingBreakdown', '');
upgrade810alpha1.sql000064400000000631147361027270010245 0ustar00-- Add new field to tblticketdepartments for mail_auth_config
set @query = if ((select count(*) from information_schema.columns where table_schema=database() and table_name='tblticketdepartments' and column_name='mail_auth_config') = 0, 'ALTER TABLE `tblticketdepartments` ADD `mail_auth_config` TEXT AFTER `password`', 'DO 0');
prepare statement from @query;
execute statement;
deallocate prepare statement;
upgrade740beta1.sql000064400000002765147361027270010107 0ustar00-- Create notification providers table.
CREATE TABLE IF NOT EXISTS `tblnotificationproviders` (
  `id` int(10) unsigned NOT NULL AUTO_INCREMENT,
  `name` varchar(255) COLLATE utf8_unicode_ci NOT NULL DEFAULT '',
  `settings` text COLLATE utf8_unicode_ci NOT NULL,
  `active` tinyint(4) NOT NULL DEFAULT 0,
  `created_at` timestamp NOT NULL DEFAULT '0000-00-00 00:00:00',
  `updated_at` timestamp NOT NULL DEFAULT '0000-00-00 00:00:00',
  PRIMARY KEY (`id`)
) ENGINE=InnoDB AUTO_INCREMENT=1 DEFAULT CHARSET=utf8 COLLATE=utf8_unicode_ci ;

-- Create notification rules table.
CREATE TABLE IF NOT EXISTS `tblnotificationrules` (
  `id` int(10) unsigned NOT NULL AUTO_INCREMENT,
  `description` varchar(255) COLLATE utf8_unicode_ci NOT NULL DEFAULT '',
  `event_type` varchar(255) COLLATE utf8_unicode_ci NOT NULL DEFAULT '',
  `events` varchar(255) COLLATE utf8_unicode_ci NOT NULL DEFAULT '',
  `conditions` text COLLATE utf8_unicode_ci NOT NULL,
  `provider` varchar(255) COLLATE utf8_unicode_ci NOT NULL DEFAULT '',
  `provider_config` text COLLATE utf8_unicode_ci NOT NULL,
  `active` tinyint(4) NOT NULL DEFAULT 0,
  `can_delete` tinyint(4) NOT NULL DEFAULT 0,
  `created_at` timestamp NOT NULL DEFAULT '0000-00-00 00:00:00',
  `updated_at` timestamp NOT NULL DEFAULT '0000-00-00 00:00:00',
  PRIMARY KEY (`id`)
) ENGINE=InnoDB AUTO_INCREMENT=1 DEFAULT CHARSET=utf8 COLLATE=utf8_unicode_ci ;

-- Add notifications permission to full administrator role.
INSERT INTO `tbladminperms` (`roleid`, `permid`) VALUES ('1', '144');
upgrade850beta1.sql000064400000000676147361027270010110 0ustar00-- Add new index (tblcreditcards_last_four) for last_four column in tblcreditcards
set @query = if ((SELECT count(INDEX_NAME) FROM INFORMATION_SCHEMA.STATISTICS WHERE TABLE_SCHEMA = database() AND TABLE_NAME = 'tblcreditcards' AND INDEX_NAME = 'tblcreditcards_last_four') = 0, 'CREATE INDEX `tblcreditcards_last_four` ON `tblcreditcards` (`last_four`(4))', 'DO 0');
prepare statement from @query;
execute statement;
deallocate prepare statement;
upgrade810release1.sql000064400000000277147361027270010606 0ustar00-- Update tblmodulelog to have mediumtext columns
ALTER table `tblmodulelog`
modify `request` mediumtext not null,
modify `response` mediumtext not null,
modify `arrdata` mediumtext not null;upgrade830release1.sql000064400000002400147361027270010576 0ustar00-- Create indices to improve cart performance
set @query = if ((SELECT count(*) FROM (SELECT GROUP_CONCAT(COLUMN_NAME ORDER BY SEQ_IN_INDEX) idx_cols FROM information_schema.statistics WHERE table_schema=database() AND TABLE_NAME='tblpricing' GROUP BY INDEX_NAME) i WHERE idx_cols = 'relid') = 0, 'ALTER TABLE `tblpricing` ADD INDEX `pricing_relid_idx` (`relid`);', 'DO 0');
prepare statement from @query;
execute statement;
deallocate prepare statement;

set @query = if ((SELECT count(*) FROM (SELECT GROUP_CONCAT(COLUMN_NAME ORDER BY SEQ_IN_INDEX) idx_cols FROM information_schema.statistics WHERE table_schema=database() AND TABLE_NAME='tblpricing' GROUP BY INDEX_NAME) i WHERE idx_cols = 'currency') = 0, 'ALTER TABLE `tblpricing` ADD INDEX `pricing_currency_idx` (`currency`);', 'DO 0');
prepare statement from @query;
execute statement;
deallocate prepare statement;

set @query = if ((SELECT count(*) FROM (SELECT GROUP_CONCAT(COLUMN_NAME ORDER BY SEQ_IN_INDEX) idx_cols FROM information_schema.statistics WHERE table_schema=database() AND TABLE_NAME='tblpricing' GROUP BY INDEX_NAME) i WHERE idx_cols = 'type') = 0, 'ALTER TABLE `tblpricing` ADD INDEX `pricing_type_idx` (`type`);', 'DO 0');
prepare statement from @query;
execute statement;
deallocate prepare statement;upgrade610alpha1.sql000064400000004575147361027270010256 0ustar00-- Create the product group feature table
CREATE TABLE IF NOT EXISTS `tblproduct_group_features` (
    `id` int(10) unsigned NOT NULL AUTO_INCREMENT,
    `product_group_id` int(10) NOT NULL,
    `feature` text COLLATE utf8_unicode_ci NOT NULL,
    `order` int(11) NOT NULL DEFAULT '0',
    `created_at` timestamp NOT NULL DEFAULT '0000-00-00 00:00:00',
    `updated_at` timestamp NOT NULL DEFAULT '0000-00-00 00:00:00',
    PRIMARY KEY (`id`),
    KEY `tblproduct_group_features_product_group_id_index` (`product_group_id`),
    KEY `tblproduct_group_features_id_product_group_id_index` (`id`,`product_group_id`)
) ENGINE=InnoDB DEFAULT CHARSET=utf8 COLLATE=utf8_unicode_ci;

-- Add the headline column to tblproductgroups
set @query = if ((select count(*) from information_schema.columns where table_schema=database() and table_name='tblproductgroups' and column_name='headline') = 0, 'alter table tblproductgroups add `headline` text after `name`', 'DO 0');
prepare statement from @query;
execute statement;
deallocate prepare statement;

-- Add the tagline column to tblproductgroups
set @query = if ((select count(*) from information_schema.columns where table_schema=database() and table_name='tblproductgroups' and column_name='tagline') = 0, 'alter table tblproductgroups add `tagline` text after `headline`', 'DO 0');
prepare statement from @query;
execute statement;
deallocate prepare statement;

-- Add the is_featured column to tblproducts
set @query = if ((select count(*) from information_schema.columns where table_schema=database() and table_name='tblproducts' and column_name='is_featured') = 0, 'alter table tblproducts add `is_featured` tinyint(1) not null after `retired`', 'DO 0');
prepare statement from @query;
execute statement;
deallocate prepare statement;

-- Add the is_featured column to tblbundles
set @query = if ((select count(*) from information_schema.columns where table_schema=database() and table_name='tblbundles' and column_name='is_featured') = 0, 'alter table tblbundles add `is_featured` tinyint(1) not null after `sortorder`', 'DO 0');
prepare statement from @query;
execute statement;
deallocate prepare statement;

-- Add the Health and Updates permission to Full Admin role
INSERT INTO tbladminperms (`roleid`, `permid`) VALUES (1, 132);

-- Set order form sidebar toggle setting to on by default
INSERT INTO tblconfiguration (setting, value) VALUES ('OrderFormSidebarToggle', '1');
upgrade800alpha1.sql000064400000032577147361027270010262 0ustar00-- Modify the datatype of tbltax.taxrate
alter table `tbltax` modify `taxrate` DECIMAL(10,3) NOT NULL default '0.000';

-- Modify the datatype of tblinvoices.taxrate
alter table `tblinvoices` modify `taxrate` DECIMAL(10,3) NOT NULL default '0.000';

-- Modify the datatype of tblinvoices.taxrate2
alter table `tblinvoices` modify `taxrate2` DECIMAL(10,3) NOT NULL default '0.000';

-- Modify pricing columns to DECIMAL(16,2)
alter table `tblaccounts` modify `amountin` decimal(16,2) default 0.00 not null;

alter table `tblaccounts` modify `fees` decimal(16,2) default 0.00 not null;

alter table `tblaccounts` modify `amountout` decimal(16,2) default 0.00 not null;

alter table `tblaccounts` modify `rate` decimal(16,5) default 1.00000 not null;

alter table `tblaffiliates` modify `payamount` decimal(16,2) not null;

alter table `tblaffiliates` modify `balance` decimal(16,2) default 0.00 not null;

alter table `tblaffiliates` modify `withdrawn` decimal(16,2) default 0.00 not null;

alter table `tblaffiliateshistory` modify `amount` decimal(16,2) not null;

alter table `tblaffiliatespending` modify `amount` decimal(16,2) not null;

alter table `tblaffiliateswithdrawals` modify `amount` decimal(16,2) not null;

alter table `tblbillableitems` modify `amount` decimal(16,2) not null;

alter table `tblbundles` modify `displayprice` decimal(16,2) not null;

alter table `tblclients` modify `credit` decimal(16,2) not null;

alter table `tblcredit` modify `amount` decimal(16,2) not null;

alter table `tbldomainpricing` modify `grace_period_fee` decimal(16,2) default 0.00 not null;

alter table `tbldomainpricing` modify `redemption_grace_period_fee` decimal(16,2) default -1.00 not null;

alter table `tbldomainpricing_premium` modify `to_amount` decimal(16,2) default 0.00 not null;

alter table `tbldomains` modify `firstpaymentamount` decimal(16,2) default 0.00 not null;

alter table `tbldomains` modify `recurringamount` decimal(16,2) not null;

alter table `tblhosting` modify `firstpaymentamount` decimal(16,2) default 0.00 not null;

alter table `tblhosting` modify `amount` decimal(16,2) default 0.00 not null;

alter table `tblhostingaddons` modify `setupfee` decimal(16,2) default 0.00 not null;

alter table `tblhostingaddons` modify `recurring` decimal(16,2) default 0.00 not null;

alter table `tblinvoiceitems` modify `amount` decimal(16,2) default 0.00 not null;

alter table `tblinvoices` modify `subtotal` decimal(16,2) not null;

alter table `tblinvoices` modify `credit` decimal(16,2) not null;

alter table `tblinvoices` modify `tax` decimal(16,2) not null;

alter table `tblinvoices` modify `tax2` decimal(16,2) not null;

alter table `tblinvoices` modify `total` decimal(16,2) default 0.00 not null;

alter table `tblorders` modify `amount` decimal(16,2) not null;

alter table `tblpricing` modify `msetupfee` decimal(16,2) not null;

alter table `tblpricing` modify `qsetupfee` decimal(16,2) not null;

alter table `tblpricing` modify `ssetupfee` decimal(16,2) not null;

alter table `tblpricing` modify `asetupfee` decimal(16,2) not null;

alter table `tblpricing` modify `bsetupfee` decimal(16,2) not null;

alter table `tblpricing` modify `tsetupfee` decimal(16,2) not null;

alter table `tblpricing` modify `monthly` decimal(16,2) not null;

alter table `tblpricing` modify `quarterly` decimal(16,2) not null;

alter table `tblpricing` modify `semiannually` decimal(16,2) not null;

alter table `tblpricing` modify `annually` decimal(16,2) not null;

alter table `tblpricing` modify `biennially` decimal(16,2) not null;

alter table `tblpricing` modify `triennially` decimal(16,2) not null;

alter table `tblproducts` modify `affiliatepayamount` decimal(16,2) not null;

alter table `tblpromotions` modify `value` decimal(16,2) default 0.00 not null;

alter table `tblquoteitems` modify `unitprice` decimal(16,2) not null;

alter table `tblquoteitems` modify `discount` decimal(16,2) not null;

alter table `tblquotes` modify `subtotal` decimal(16,2) not null;

alter table `tblquotes` modify `tax1` decimal(16,2) not null;

alter table `tblquotes` modify `tax2` decimal(16,2) not null;

alter table `tblquotes` modify `total` decimal(16,2) not null;

alter table `tblservers` modify `monthlycost` decimal(16,2) default 0.00 not null;

alter table `tbltransaction_history` modify `amount` decimal(16,2) default 0.00 not null;

alter table `tblupgrades` modify `amount` decimal(16,2) not null;

alter table `tblupgrades` modify `credit_amount` decimal(16,2) not null;

alter table `tblupgrades` modify `new_recurring_amount` decimal(16,2) not null;

alter table `tblupgrades` modify `recurringchange` decimal(16,2) not null;

-- Multi-user auth changes
-- Add new field to tblactivitylog for user_id
set @query = if ((select count(*) from information_schema.columns where table_schema=database() and table_name='tblactivitylog' and column_name='user_id') = 0, 'ALTER TABLE `tblactivitylog` ADD `user_id` INT(10) UNSIGNED NOT NULL DEFAULT \'0\' AFTER `userid`', 'DO 0');
prepare statement from @query;
execute statement;
deallocate prepare statement;

-- Add new field to tblactivitylog for admin_id
set @query = if ((select count(*) from information_schema.columns where table_schema=database() and table_name='tblactivitylog' and column_name='admin_id') = 0, 'ALTER TABLE `tblactivitylog` ADD `admin_id` INT(10) UNSIGNED NOT NULL DEFAULT \'0\' AFTER `user_id`', 'DO 0');
prepare statement from @query;
execute statement;
deallocate prepare statement;

-- Add new index to tblactivitylog for user_id
set @query = if ((select count(*) from information_schema.statistics where table_schema=database() and table_name='tblactivitylog' and column_name='user_id') = 0, 'CREATE INDEX `user_id` ON tblactivitylog(user_id)', 'DO 0');
prepare statement from @query;
execute statement;
deallocate prepare statement;

-- Add new index to tblactivitylog for admin_id
set @query = if ((select count(*) from information_schema.statistics where table_schema=database() and table_name='tblactivitylog' and column_name='admin_id') = 0, 'CREATE INDEX `admin_id` ON tblactivitylog(admin_id)', 'DO 0');
prepare statement from @query;
execute statement;
deallocate prepare statement;

-- Add new field to tbltickets for requestor_id
set @query = if ((select count(*) from information_schema.columns where table_schema=database() and table_name='tbltickets' and column_name='requestor_id') = 0, 'ALTER TABLE `tbltickets` ADD `requestor_id` INT(10) UNSIGNED NOT NULL DEFAULT \'0\' AFTER `contactid`', 'DO 0');
prepare statement from @query;
execute statement;
deallocate prepare statement;

-- Add new field to tblticketreplies for requestor_id
set @query = if ((select count(*) from information_schema.columns where table_schema=database() and table_name='tblticketreplies' and column_name='requestor_id') = 0, 'ALTER TABLE `tblticketreplies` ADD `requestor_id` INT(10) UNSIGNED NOT NULL DEFAULT \'0\' AFTER `contactid`', 'DO 0');
prepare statement from @query;
execute statement;
deallocate prepare statement;

-- Add new field to tblauthn_account_links for user_id
set @query = if ((select count(*) from information_schema.columns where table_schema=database() and table_name='tblauthn_account_links' and column_name='user_id') = 0, 'ALTER TABLE `tblauthn_account_links` ADD `user_id` INT(11) DEFAULT NULL AFTER `remote_user_id`', 'DO 0');
prepare statement from @query;
execute statement;
deallocate prepare statement;

-- User related email template removals
DELETE FROM tblemailtemplates WHERE name='Automated Password Reset';
DELETE FROM tblemailtemplates WHERE name='Client Email Address Verification';
DELETE FROM tblemailtemplates WHERE name='Password Reset Confirmation';
DELETE FROM tblemailtemplates WHERE name='Password Reset Validation';

-- permission for View and Manage Users
INSERT INTO `tbladminperms` (`roleid`, `permid`) VALUES (1, 150), (1, 151);

-- Create index to speed up username based lookups CORE-14623
set @query = if ((select count(*) from information_schema.statistics where table_schema=database() and table_name='tblhosting' and column_name = 'username') = 0, 'create index `username` on `tblhosting` (`username`(8))', 'DO 0');
prepare statement from @query;
execute statement;
deallocate prepare statement;

-- Add slug field to products and groups
set @query = if ((select count(*) from information_schema.columns where table_schema=database() and table_name='tblproducts' and column_name='slug') = 0, 'ALTER TABLE `tblproducts` ADD `slug` VARCHAR(128) NOT NULL DEFAULT \'\'  AFTER `name`', 'DO 0');
prepare statement from @query;
execute statement;
deallocate prepare statement;

set @query = if ((select count(*) from information_schema.columns where table_schema=database() and table_name='tblproductgroups' and column_name='slug') = 0, 'ALTER TABLE `tblproductgroups` ADD `slug` VARCHAR(128) NOT NULL DEFAULT \'\' AFTER `name`', 'DO 0');
prepare statement from @query;
execute statement;
deallocate prepare statement;

-- Add new field to tblemails for attachments
set @query = if ((select count(*) from information_schema.columns where table_schema=database() and table_name='tblemails' and column_name='attachments') = 0, 'alter table `tblemails` add `attachments` TEXT COLLATE utf8_unicode_ci DEFAULT NULL AFTER `bcc`', 'DO 0');
prepare statement from @query;
execute statement;
deallocate prepare statement;

-- Add new field to tblemails for pending
set @query = if ((select count(*) from information_schema.columns where table_schema=database() and table_name='tblemails' and column_name='pending') = 0, 'alter table `tblemails` add `pending` tinyint(1) NOT NULL DEFAULT \'0\' AFTER `attachments`', 'DO 0');
prepare statement from @query;
execute statement;
deallocate prepare statement;

-- Add new field to tblemails for message_data
set @query = if ((select count(*) from information_schema.columns where table_schema=database() and table_name='tblemails' and column_name='message_data') = 0, 'alter table `tblemails` add `message_data` MEDIUMTEXT COLLATE utf8_unicode_ci DEFAULT NULL AFTER `pending`', 'DO 0');
prepare statement from @query;
execute statement;
deallocate prepare statement;

-- Add new field to tblemails for failed
set @query = if ((select count(*) from information_schema.columns where table_schema=database() and table_name='tblemails' and column_name='failed') = 0, 'alter table `tblemails` add `failed` tinyint(1) NOT NULL DEFAULT \'0\' AFTER `message_data`', 'DO 0');
prepare statement from @query;
execute statement;
deallocate prepare statement;

-- Add new field to tblemails for failure_reason
set @query = if ((select count(*) from information_schema.columns where table_schema=database() and table_name='tblemails' and column_name='failure_reason') = 0, 'alter table `tblemails` add `failure_reason` VARCHAR(250) COLLATE utf8_unicode_ci NOT NULL DEFAULT \'\' AFTER `failed`', 'DO 0');
prepare statement from @query;
execute statement;
deallocate prepare statement;

-- Add new field to tblemails for retry_count
set @query = if ((select count(*) from information_schema.columns where table_schema=database() and table_name='tblemails' and column_name='retry_count') = 0, 'alter table `tblemails` add `retry_count` tinyint(1) NOT NULL DEFAULT \'0\' AFTER `failure_reason`', 'DO 0');
prepare statement from @query;
execute statement;
deallocate prepare statement;

-- Add new field to tblemails for campaign_id
set @query = if ((select count(*) from information_schema.columns where table_schema=database() and table_name='tblemails' and column_name='campaign_id') = 0, 'alter table `tblemails` add `campaign_id` int(10) NOT NULL DEFAULT \'0\' AFTER `retry_count`', 'DO 0');
prepare statement from @query;
execute statement;
deallocate prepare statement;

-- Add new field to tblemails for created_at
set @query = if ((select count(*) from information_schema.columns where table_schema=database() and table_name='tblemails' and column_name='created_at') = 0, 'alter table `tblemails` add `created_at` timestamp NULL DEFAULT NULL AFTER `retry_count`', 'DO 0');
prepare statement from @query;
execute statement;
deallocate prepare statement;

-- Add new field to tblemails for updated_at
set @query = if ((select count(*) from information_schema.columns where table_schema=database() and table_name='tblemails' and column_name='updated_at') = 0, 'alter table `tblemails` add `updated_at` timestamp NULL DEFAULT NULL AFTER `created_at`', 'DO 0');
prepare statement from @query;
execute statement;
deallocate prepare statement;

-- Add new index to tblemails for pending
set @query = if ((select count(*) from information_schema.statistics where table_schema=database() and table_name='tblemails' and column_name='pending') = 0, 'CREATE INDEX `pending` ON tblemails(pending)', 'DO 0');
prepare statement from @query;
execute statement;
deallocate prepare statement;

-- Add new index to tblemails for campaign_id
set @query = if ((select count(*) from information_schema.statistics where table_schema=database() and table_name='tblemails' and column_name='campaign_id') = 0, 'CREATE INDEX `campaign_id` ON tblemails(campaign_id)', 'DO 0');
prepare statement from @query;
execute statement;
deallocate prepare statement;

CREATE TABLE IF NOT EXISTS `tblerrorlog` (
   `id` int(10) unsigned NOT NULL AUTO_INCREMENT,
   `severity` varchar(16) NOT NULL,
   `exception_class` varchar(255),
   `message` varchar(255),
   `filename` varchar(255),
   `line` int(10) unsigned,
   `details` mediumtext,
   `created_at` timestamp NOT NULL DEFAULT '0000-00-00 00:00:00',
   `updated_at` timestamp NOT NULL DEFAULT '0000-00-00 00:00:00',
   PRIMARY KEY (`id`)
) ENGINE=InnoDB DEFAULT CHARSET=utf8 COLLATE=utf8_unicode_ci;
upgrade341.sql000064400000002253147361027270007157 0ustar00CREATE TABLE IF NOT EXISTS `tblaffiliatespending` (`id` INT( 1 ) NOT NULL AUTO_INCREMENT PRIMARY KEY ,`affaccid` INT( 1 ) NOT NULL ,`amount` DECIMAL( 10, 2 ) NOT NULL ,`clearingdate` DATE NOT NULL ) DEFAULT CHARSET=utf8 COLLATE=utf8_unicode_ci;
INSERT INTO `tblconfiguration` (`setting`, `value`) VALUES ('AffiliatesDelayCommission', '0');
ALTER TABLE `tblhosting` CHANGE `domainstatus` `domainstatus` ENUM( 'Pending', 'Active', 'Suspended', 'Terminated', 'Cancelled', 'Fraud' ) NOT NULL ;
ALTER TABLE `tblhostingaddons` CHANGE `status` `status` ENUM( 'Pending', 'Active', 'Terminated', 'Cancelled', 'Fraud' ) NOT NULL ;
ALTER TABLE `tbldomains` CHANGE `status` `status` ENUM( 'Pending', 'Active', 'Expired', 'Cancelled', 'Fraud' ) NOT NULL ;
INSERT INTO `tblemailtemplates` (`type`, `name`, `subject`, `message`) VALUES ('support', 'Bounce Message', 'Support Ticket Not Opened', '<p>[Name],</p><p>Your email to our support system could not be accepted because it was not recognized as coming from an email address belonging to one of our customers.  If you need assistance, please email from the address you registered with us that you use to login to our client area.</p><p>[Signature]</p>');
upgrade840alpha1.sql000064400000002555147361027270010257 0ustar00-- Add new fields to tbljobs_queue table
set @query = if ((select count(*) from information_schema.columns where table_schema=database() and table_name='tbljobs_queue' and column_name='async') = 0, 'ALTER TABLE `tbljobs_queue` ADD `async` tinyint(1) unsigned NOT NULL DEFAULT 0 AFTER `digest_hash`', 'DO 0');
prepare statement from @query;
execute statement;
deallocate prepare statement;

set @query = if ((select count(*) from information_schema.columns where table_schema=database() and table_name='tbljobs_queue' and column_name='started_at') = 0, 'ALTER TABLE `tbljobs_queue` ADD `started_at` datetime DEFAULT NULL AFTER `available_at`', 'DO 0');
prepare statement from @query;
execute statement;
deallocate prepare statement;

-- realign upgrades with fresh install schema for tblactivitylog
ALTER TABLE tblactivitylog MODIFY `userid` int unsigned NOT NULL DEFAULT '0';

-- realign upgrades with fresh install schema for tblorders
set @query = if ((select count(*) from information_schema.statistics where table_schema=database() and table_name='tblorders' and index_name='requestor_id') = 0, 'ALTER TABLE tblorders ADD KEY `requestor_id` (`requestor_id`)', 'DO 0');
prepare statement from @query;
execute statement;
deallocate prepare statement;

-- realign upgrades with fresh install schema for tblusers
ALTER TABLE tblusers MODIFY `reset_token` varchar(255) NOT NULL DEFAULT '';
upgrade761release1.sql000064400000000462147361027270010607 0ustar00-- Update Indian state name from Orissa to Odisha
update `tblclients` set `state`='Odisha' where `state`='Orissa';
update `tblcontacts` set `state`='Odisha' where `state`='Orissa';
update `tblquotes` set `state`='Odisha' where `state`='Orissa';
update `tbltax` set `state`='Odisha' where `state`='Orissa';
upgrade750release1.sql000064400000001232147361027270010601 0ustar00-- permission for Client Data Export
INSERT INTO `tbladminperms` (`roleid`, `permid`) VALUES (1, 146);

CREATE TABLE IF NOT EXISTS `tblioncube_file_log` (
  `id` int(10) unsigned NOT NULL AUTO_INCREMENT,
  `filename` text COLLATE utf8_unicode_ci NOT NULL,
  `content_hash` varchar(512) COLLATE utf8_unicode_ci NOT NULL DEFAULT '',
  `encoder_version` varchar(16) COLLATE utf8_unicode_ci NOT NULL DEFAULT '',
  `bundled_php_versions` varchar(128) COLLATE utf8_unicode_ci NOT NULL DEFAULT '',
  `loaded_in_php` varchar(128) COLLATE utf8_unicode_ci NOT NULL DEFAULT '',
  PRIMARY KEY (`id`)
) ENGINE=InnoDB AUTO_INCREMENT=1 DEFAULT CHARSET=utf8 COLLATE=utf8_unicode_ci;upgrade870beta2.sql000064400000000765147361027270010112 0ustar00-- Modify hours columns to DECIMAL(5,2)
alter table `tblbillableitems` modify `hours` decimal(5,2) not null;

-- Add new index for relid column in tblcustomfieldsvalues
set @query = if ((SELECT count(INDEX_NAME) FROM INFORMATION_SCHEMA.STATISTICS WHERE TABLE_SCHEMA = database() AND TABLE_NAME = 'tblcustomfieldsvalues' AND INDEX_NAME = 'relid') = 0, 'CREATE INDEX `relid` ON `tblcustomfieldsvalues` (`relid`)', 'DO 0');
prepare statement from @query;
execute statement;
deallocate prepare statement;
upgrade790alpha1.sql000064400000015111147361027270010253 0ustar00-- Add new configuration value for AutoNumberingResetMonth
set @query = if ((select count(*) from `tblconfiguration` where `setting` = 'AutoNumberingResetMonth') = 0, "INSERT INTO `tblconfiguration` (`setting`, `value`, `created_at`, `updated_at`) VALUES ('AutoNumberingResetMonth', CONCAT_WS('-', YEAR(CURRENT_DATE()), MONTH(CURRENT_DATE())), now(), now());",'DO 0;');
prepare statement from @query;
execute statement;
deallocate prepare statement;

-- Add new configuration value for AutoPaidNumberingResetMonth
set @query = if ((select count(*) from `tblconfiguration` where `setting` = 'AutoPaidNumberingResetMonth') = 0, "INSERT INTO `tblconfiguration` (`setting`, `value`, `created_at`, `updated_at`) VALUES ('AutoPaidNumberingResetMonth', CONCAT_WS('-', YEAR(CURRENT_DATE()), MONTH(CURRENT_DATE())), now(), now());",'DO 0;');
prepare statement from @query;
execute statement;
deallocate prepare statement;

-- Add new payment gateway product mapping table
CREATE TABLE IF NOT EXISTS `tblpaymentgateways_product_mapping` (
  `id` int(10) unsigned NOT NULL AUTO_INCREMENT,
  `gateway` varchar(255) COLLATE utf8_unicode_ci NOT NULL DEFAULT '',
  `account_identifier` varchar(255) COLLATE utf8_unicode_ci NOT NULL DEFAULT '',
  `product_identifier` varchar(255) COLLATE utf8_unicode_ci NOT NULL DEFAULT '',
  `remote_identifier` varchar(255) COLLATE utf8_unicode_ci NOT NULL DEFAULT '',
  `created_at` timestamp NULL DEFAULT '0000-00-00 00:00:00',
  `updated_at` timestamp NULL DEFAULT '0000-00-00 00:00:00',
  PRIMARY KEY (`id`)
) ENGINE=InnoDB DEFAULT CHARSET=utf8 COLLATE=utf8_unicode_ci;

-- Add new field to tblinvoices for date_refunded
set @query = if ((select count(*) from information_schema.columns where table_schema=database() and table_name='tblinvoices' and column_name='date_refunded') = 0, 'alter table `tblinvoices` add `date_refunded` timestamp NOT NULL DEFAULT \'0000-00-00 00:00:00\' AFTER `last_capture_attempt`', 'DO 0');
prepare statement from @query;
execute statement;
deallocate prepare statement;

-- Add new field to tblinvoices for date_cancelled
set @query = if ((select count(*) from information_schema.columns where table_schema=database() and table_name='tblinvoices' and column_name='date_cancelled') = 0, 'alter table `tblinvoices` add `date_cancelled` timestamp NOT NULL DEFAULT \'0000-00-00 00:00:00\' AFTER `date_refunded`', 'DO 0');
prepare statement from @query;
execute statement;
deallocate prepare statement;

-- Add new field to tblinvoices for created_at
set @query = if ((select count(*) from information_schema.columns where table_schema=database() and table_name='tblinvoices' and column_name='created_at') = 0, 'alter table `tblinvoices` add `created_at` timestamp NOT NULL DEFAULT \'0000-00-00 00:00:00\' AFTER `notes`', 'DO 0');
prepare statement from @query;
execute statement;
deallocate prepare statement;

-- Add new field to tblinvoices for updated_at
set @query = if ((select count(*) from information_schema.columns where table_schema=database() and table_name='tblinvoices' and column_name='updated_at') = 0, 'alter table `tblinvoices` add `updated_at` timestamp NOT NULL DEFAULT \'0000-00-00 00:00:00\' AFTER `created_at`', 'DO 0');
prepare statement from @query;
execute statement;
deallocate prepare statement;

-- update type of gateways to BankAccount
UPDATE `tblpaymentgateways` SET `value` = 'Bank' WHERE `setting` = 'type' AND `gateway` IN ('authorizeecheck', 'bluepayecheck', 'directdebit');

-- Update pricing enum type to include usage billing values
set @query = if ((select count(*) from information_schema.columns where table_schema=database() and table_name='tblpricing' and column_name='type' and column_type='enum("product","addon","configoptions","domainregister","domaintransfer","domainrenew","domainaddons")') = 0, 'ALTER TABLE `tblpricing` CHANGE `type` `type` enum("product","addon","configoptions","domainregister","domaintransfer","domainrenew","domainaddons","usage") CHARACTER SET utf8 COLLATE utf8_unicode_ci NOT NULL','DO 0;');
prepare statement from @query;
execute statement;
deallocate prepare statement;

CREATE TABLE IF NOT EXISTS `tblpricing_bracket` (
  `id` int(10) unsigned NOT NULL AUTO_INCREMENT,
  `floor` decimal(19,6) NOT NULL DEFAULT '0.000000',
  `ceiling` decimal(19,6) NOT NULL DEFAULT '0.000000',
  `rel_type` varchar(200) COLLATE utf8_unicode_ci NOT NULL DEFAULT '',
  `rel_id` varchar(200) COLLATE utf8_unicode_ci NOT NULL DEFAULT '',
  `schema_type` varchar(32) COLLATE utf8_unicode_ci NOT NULL DEFAULT 'flat',
  `created_at` timestamp NULL DEFAULT NULL,
  `updated_at` timestamp NULL DEFAULT NULL,
  `deleted_at` timestamp NULL DEFAULT NULL,
  PRIMARY KEY (`id`)
) ENGINE=InnoDB DEFAULT CHARSET=utf8 COLLATE=utf8_unicode_ci;

CREATE TABLE IF NOT EXISTS `tbltenant_stats` (
  `id` int(10) unsigned NOT NULL AUTO_INCREMENT,
  `tenant_id` int(11) NOT NULL DEFAULT '0',
  `metric` varchar(255) COLLATE utf8_unicode_ci NOT NULL DEFAULT '',
  `type` varchar(255) COLLATE utf8_unicode_ci NOT NULL DEFAULT '',
  `value` decimal(19,6) NOT NULL DEFAULT '0.000000',
  `measured_at` decimal(18,6) NOT NULL DEFAULT '0.000000',
  `invoice_id` int(11) DEFAULT '0',
  `created_at` timestamp NULL DEFAULT NULL,
  `updated_at` timestamp NULL DEFAULT NULL,
  PRIMARY KEY (`id`),
  KEY `tenant_id` (`tenant_id`)
) ENGINE=InnoDB DEFAULT CHARSET=utf8 COLLATE=utf8_unicode_ci;

CREATE TABLE IF NOT EXISTS `tblserver_tenants` (
  `id` int(10) unsigned NOT NULL AUTO_INCREMENT,
  `server_id` int(11) NOT NULL DEFAULT '0',
  `tenant` varchar(255) COLLATE utf8_unicode_ci NOT NULL DEFAULT '',
  `created_at` timestamp NULL DEFAULT NULL,
  `updated_at` timestamp NULL DEFAULT NULL,
  PRIMARY KEY (`id`),
  KEY `server_tenant` (`tenant`,`server_id`)
) ENGINE=InnoDB DEFAULT CHARSET=utf8 COLLATE=utf8_unicode_ci;

CREATE TABLE IF NOT EXISTS `tblusage_items` (
  `id` int(10) unsigned NOT NULL AUTO_INCREMENT,
  `rel_type` varchar(200) COLLATE utf8_unicode_ci NOT NULL DEFAULT '',
  `rel_id` int(11) NOT NULL DEFAULT '0',
  `module_type` varchar(200) COLLATE utf8_unicode_ci NOT NULL DEFAULT '',
  `module` varchar(200) COLLATE utf8_unicode_ci NOT NULL DEFAULT '',
  `metric` varchar(200) COLLATE utf8_unicode_ci NOT NULL DEFAULT '',
  `included` decimal(19,6) NOT NULL DEFAULT '0.000000',
  `is_hidden` tinyint(4) NOT NULL DEFAULT '1',
  `created_at` timestamp NULL DEFAULT NULL,
  `updated_at` timestamp NULL DEFAULT NULL,
  `deleted_at` timestamp NULL DEFAULT NULL,
  PRIMARY KEY (`id`),
  KEY `tblusage_items_rel_type_id` (`rel_type`,`rel_id`),
  KEY `tblusage_items_module_type` (`module_type`),
  KEY `tblusage_items_module` (`module`),
  KEY `tblusage_items_metric` (`metric`)
) ENGINE=InnoDB DEFAULT CHARSET=utf8 COLLATE=utf8_unicode_ci;
upgrade521.sql000064400000000667147361027270007166 0ustar00ALTER TABLE `tblclients` ADD `authmodule` TEXT NOT NULL AFTER `password` , ADD `authdata` TEXT NOT NULL AFTER `authmodule` ;

ALTER TABLE `tblproducts` ADD `upgradechargefullcycle` INT( 1 ) NOT NULL AFTER `billingcycleupgrade`;

INSERT INTO `tbladminperms` (`roleid`, `permid`) VALUES ('1', '125'), ('1', '126'), ('1', '127'), ('1', '128'), ('1', '129'), ('2', '125'), ('2', '126'), ('2', '128'), ('2', '129'), ('3', '125'), ('3', '128');
index.php000064400000012047147361027270006401 0ustar00<?php //ICB0 72:0 81:1040                                                     ?><?php //00cb7
// *************************************************************************
// *                                                                       *
// * WHMCS - The Complete Client Management, Billing & Support Solution    *
// * Copyright (c) WHMCS Ltd. All Rights Reserved,                         *
// * Version:8.8.0 (8.8.0-release.1)                                      *
// * BuildId:06fc63b.326                                                  *
// * Build Date:20 Sep 2023                                               *
// *                                                                       *
// *************************************************************************
// *                                                                       *
// * Email: info@whmcs.com                                                 *
// * Website: http://www.whmcs.com                                         *
// *                                                                       *
// *************************************************************************
// *                                                                       *
// * This software is furnished under a license and may be used and copied *
// * only  in  accordance  with  the  terms  of such  license and with the *
// * inclusion of the above copyright notice.  This software  or any other *
// * copies thereof may not be provided or otherwise made available to any *
// * other person.  No title to and  ownership of the  software is  hereby *
// * transferred.                                                          *
// *                                                                       *
// * You may not reverse  engineer, decompile, defeat  license  encryption *
// * mechanisms, or  disassemble this software product or software product *
// * license.  WHMCompleteSolution may terminate this license if you don't *
// * comply with any of the terms and conditions set forth in our end user *
// * license agreement (EULA).  In such event,  licensee  agrees to return *
// * licensor  or destroy  all copies of software  upon termination of the *
// * license.                                                              *
// *                                                                       *
// * Please see the EULA file for the full End User License Agreement.     *
// *                                                                       *
// *************************************************************************
if(extension_loaded('ionCube Loader')){die('The file '.__FILE__." is corrupted.\n");}echo("\nScript error: the ".(($cli=(php_sapi_name()=='cli')) ?'ionCube':'<a href="https://www.ioncube.com">ionCube</a>')." Loader for PHP needs to be installed.\n\nThe ionCube Loader is the industry standard PHP extension for running protected PHP code,\nand can usually be added easily to a PHP installation.\n\nFor Loaders please visit".($cli?":\n\nhttps://get-loader.ioncube.com\n\nFor":' <a href="https://get-loader.ioncube.com">get-loader.ioncube.com</a> and for')." an instructional video please see".($cli?":\n\nhttp://ioncu.be/LV\n\n":' <a href="http://ioncu.be/LV">http://ioncu.be/LV</a> ')."\n\n");exit(199);
?>
HR+cPnZ7h58wBXLbitGvSNz00Bpou3YtoovvyUHz6oarONjDG+XydNzt0eifHmNE+4nWxW1eMyQJ
xtRUJvqA5/czK1XpKZr3XZTwVMKfq1258kHryerTjyO+n9WLN7C3bJ6bZPSCWjShokQ3isXt+miU
4btubYSk/cl6slowwfGj0b9pEC33B1blGfFpjjydCkL5Xh0+v+9CQJMWIhbkIc7lKKQ5rDNixzvg
mXyUDK2H4dHs0reWAWYVT+bLi6oPjDJZFN0F6CJSHMwigOPaSo/5yqjKTtESigbrE/gMBu/tP3eI
aHEDU6mFZPFQPsvYyboq5i9KJb//i2c+diKBFwG9GYO2FJTwiG322Mo3dn1B9gt0UkKDAD7+6e4w
Ijq5hR0lokM7kjci1l3PG4qkjuo0jQtdIibHZ/pTG5ocYqhhOhvH+1YgUwUVt2RpNHX2HeQ2+kSY
Z1b+9q9CpLnGDqk7gVn0RvfsmTT7YVz+D6VMEr2Ro4GARMlsESHFRKWvceGFiGreQP9wA72iB20q
aFcgW4A4vwhRJYSF7TriYR65fBz0YaRBaaDJ0mT7oMpiIMDvsByN/VhMcQsmRDJcW4lFeyYpVU4s
04qH6yecAMrpIN/f1eTcdxauzISeVsXflAQJoDCU0wTASxwlgb3ibbjlWgAZO1h2QfgrxPnFDQyl
EKG7EGXiJ2lk3NBt1VCdrlr5JGtj3uSeTQVQY21JVElIj1HX9JGJjLl1KWon7uK70GQPWD64PfY0
AOz9OcHEN3VJuBj/EZjvdYG5TciEbwVlFGDEYktGmoQpa1oJ5YlSUBOBf51qd/m9tiUewY5SvEVE
z8MF7Ls7QMB1392p1x8DqmIr4cV8P9TPk50ipDY0VIjwkjl4pbe==
HR+cPu/AurhiBjYTcNHsUP7SekKnaTpYlG2x1D6iN19bmjvp9SufJ62VxRrk3xzDPX+LMnf3zKRh
KOOnTouuOH2hCfexuyOdq77FQznHs7HZZlyqrsu2DVNjBhiTAF7LzeKqMjidNW8FBqCa2j90Ugf+
Z08xB2Gw54f+jk9ToAJX9ZkWTUpuRIzOtjJTfus6ZN7ZGUOW52AcRJ1T8XxwmPpCD59hD/DFLGMa
ZVomt9Fr5y1bg7zk531HwSsRvm/3L0TSqqRuBuI12PWRyhvY/H6vIMujJ17VCG7R0e5C1dG77BbF
E2lmYcoi8rn8Eauli/2hos6ePXqerjgoMphLckWESICUCZhkXcV0wr+UFmdajD3PapkK3sqvxPMb
awoQb9sUA1oUIZjIluPGBUUulPGu2ABX4pKu+oVdKabpIHnZY2mkkUR9rUw5cMTgFmPhUHshUmMm
oyvZw6X1+HKqMEFCN11JEPQgUO0c5WPGpzmq1Obt+oLRRo8V3kdeBQ7UNgWllgwhj9ZvvcQW6oYR
mt8IMTR+brKhQ9E4kBLXmzb5g96kEnzQNPQ2jF2Hzt13Ggr8g3GfX5WHySCiWAvWh2tufjHcg+MW
igGnqE2YZBW4bnBSb3Jl5+XVzMZk7/hSrwcRySUKp/HFooAZPq2plqP60UjtgIdZ5eUvvbY3BMT2
XGBSevBRM0W7cnA77X0dGtuDUFOGBcUyg+Gc56NgOfq0AeEyPNQ9XIkyRiqe6IYpvp6OrbVzkDw6
50MkNE6HKamElZjK331CXsudGCRFHFVKSEUt2kpaCYoyDm0JWGzQa6RteN38ZMfL3icSL0SBkkrm
N+v8apc6bPq09HautB1uw5CIX33H5FT1GM5AC2sWEhcO9JVZWIdT2fTeoNxEJV6bwSvyG0==upgrade530.sql000064400000014266147361027270007166 0ustar00UPDATE `tblemailtemplates` SET `message` = '<p> Dear {$client_name}, </p> <p> This is a billing notice that your invoice no. {$invoice_num} which was generated on {$invoice_date_created} is now overdue. </p> <p> Your payment method is: {$invoice_payment_method} </p> <p> Invoice: {$invoice_num}<br /> Balance Due: {$invoice_balance}<br /> Due Date: {$invoice_date_due} </p> <p> You can login to your client area to view and pay the invoice at {$invoice_link} </p> <p> {$signature} </p>' WHERE `type` = 'invoice' AND `name` = 'First Invoice Overdue Notice' AND `message` = '<p> Dear {$client_name}, </p> <p> This is a billing notice that your invoice no. {$invoice_num} which was generated on {$invoice_date_created} is now overdue. </p> <p> Your payment method is: {$invoice_payment_method} </p> <p> Invoice: {$invoice_num}<br /> Balance Due: {$invoice_balance}<br /> Due Date: {$invoice_date_due} </p> <p> You can login to your client area to view and pay the invoice at {$invoice_link} </p> <p> Your login details are as follows: </p> <p> Email Address: {$client_email}<br /> Password: {$client_password} </p> <p> {$signature} </p>';

UPDATE `tblemailtemplates` SET `message` = '<p> Dear {$client_name}, </p> <p> This is the second billing notice that your invoice no. {$invoice_num} which was generated on {$invoice_date_created} is now overdue. </p> <p> Your payment method is: {$invoice_payment_method} </p> <p> Invoice: {$invoice_num}<br /> Balance Due: {$invoice_balance}<br /> Due Date: {$invoice_date_due} </p> <p> You can login to your client area to view and pay the invoice at {$invoice_link} </p> <p> {$signature} </p>' WHERE `type` = 'invoice' AND `name` = 'Second Invoice Overdue Notice' AND `message` = '<p> Dear {$client_name}, </p> <p> This is the second billing notice that your invoice no. {$invoice_num} which was generated on {$invoice_date_created} is now overdue. </p> <p> Your payment method is: {$invoice_payment_method} </p> <p> Invoice: {$invoice_num}<br /> Balance Due: {$invoice_balance}<br /> Due Date: {$invoice_date_due} </p> <p> You can login to your client area to view and pay the invoice at {$invoice_link} </p> <p> Your login details are as follows: </p> <p> Email Address: {$client_email}<br /> Password: {$client_password} </p> <p> {$signature} </p>';

UPDATE `tblemailtemplates` SET `message` = '<p> Dear {$client_name}, </p> <p> This is the third and final billing notice that your invoice no. {$invoice_num} which was generated on {$invoice_date_created} is now overdue. Failure to make payment will result in account suspension.</p> <p> Your payment method is: {$invoice_payment_method} </p> <p> Invoice: {$invoice_num}<br /> Balance Due: {$invoice_balance}<br /> Due Date: {$invoice_date_due} </p> <p> You can login to your client area to view and pay the invoice at {$invoice_link} </p> <p> {$signature} </p>' WHERE `type` = 'invoice' AND `name` = 'Third Invoice Overdue Notice' AND `message` = '<p> Dear {$client_name}, </p> <p> This is the third and final billing notice that your invoice no. {$invoice_num} which was generated on {$invoice_date_created} is now overdue. Failure to make payment will result in account suspension.</p> <p> Your payment method is: {$invoice_payment_method} </p> <p> Invoice: {$invoice_num}<br /> Balance Due: {$invoice_balance}<br /> Due Date: {$invoice_date_due} </p> <p> You can login to your client area to view and pay the invoice at {$invoice_link} </p> <p> Your login details are as follows: </p> <p> Email Address: {$client_email}<br /> Password: {$client_password} </p> <p> {$signature} </p>';

DELETE FROM `tblaffiliatesaccounts` WHERE relid NOT IN (SELECT id FROM tblhosting);

INSERT INTO `tblemailtemplates` (`type`, `name`, `subject`, `message`, `attachments`, `fromname`, `fromemail`, `disabled`, `custom`, `language`, `copyto`, `plaintext`) VALUES
('support', 'Replies Only Bounce Message', 'Online Submission Required', '<p>{$client_name},</p><p>Your email to our support system could not be accepted because we require you to submit all tickets via our online client support portal. You can do this at the URL below.</p><p><a href="{$whmcs_url}/submitticket.php">{$whmcs_url}/submitticket.php</a></p><p>{$signature}</p>', '', '', '', '', '', '', '', 0);

UPDATE `tblemailtemplates` SET `name` = 'Clients Only Bounce Message' WHERE `name` = 'Bounce Message';

UPDATE `tblemailtemplates` SET  `message` = '<p>Dear {$client_name},</p><p>Recently a request was submitted to reset your password for our client area. If you did not request this, please ignore this email. It will expire and become useless in 2 hours time.</p><p>To reset your password, please visit the url below:<br /><a href="{$pw_reset_url}">{$pw_reset_url}</a></p><p>When you visit the link above, you will have the opportunity to choose a new password.</p><p>{$signature}</p>' WHERE `type` = 'general' AND `name` = 'Password Reset Validation' AND `message` = '<p>Dear {$client_name},</p><p>Recently a request was submitted to reset your password for our client area. If you did not request this, please ignore this email. It will expire and become useless in 2 hours time.</p><p>To reset your password, please visit the url below:<br /><a href="{$pw_reset_url}">{$pw_reset_url}</a></p><p>When you visit the link above, your password will be reset, and the new password will be emailed to you.</p><p>{$signature}</p>';

INSERT INTO `tblemailtemplates` (`type`, `name`, `subject`, `message`, `attachments`, `fromname`, `fromemail`, `disabled`, `custom`, `language`, `copyto`, `plaintext`) VALUES
('general', 'Unsubscribe Confirmation', 'Unsubscribe Confirmation', 'Dear {$client_name},<br /><br />We have now removed your email address from our mailing list.<br /><br />If this was a mistake or you change your mind, you can re-subscribe at any time from the My Details section of our client area.<br /><br /><a href="{$whmcs_url}/clientarea.php?action=details">{$whmcs_url}/clientarea.php?action=details</a><br /><br />{$signature}', '', '', '', '', '', '', '', 0);

CREATE TABLE IF NOT EXISTS `tbltransientdata` (
 `id` int(10) NOT NULL AUTO_INCREMENT,
 `name` varchar(1024) NOT NULL,
 `data` text NOT NULL,
 `expires` int(10) NOT NULL,
 PRIMARY KEY (`id`),
 KEY `name` (`name`(255))
) ENGINE=InnoDB  DEFAULT CHARSET=utf8 AUTO_INCREMENT=1 COLLATE=utf8_unicode_ci;
upgrade420.sql000064400000005134147361027270007156 0ustar00ALTER TABLE `tblannouncements` ADD `parentid` INT( 10 ) NOT NULL , ADD `language` TEXT NOT NULL ;

ALTER TABLE `tblknowledgebase` ADD `parentid` INT( 10 ) NOT NULL , ADD `language` TEXT NOT NULL ;
ALTER TABLE `tblknowledgebasecats` ADD `catid` INT( 10 ) NOT NULL , ADD `language` TEXT NOT NULL ;

ALTER TABLE `tbltickets` CHANGE `adminunread` `adminunread` TEXT NOT NULL ;

ALTER TABLE `tblpromotions` ADD `requires` TEXT NOT NULL AFTER `appliesto` , ADD `requiresexisting` INT( 1 ) NOT NULL AFTER `requires` ;

ALTER TABLE `tblcontacts` ADD `subaccount` INT( 1 ) NOT NULL DEFAULT '0' AFTER `phonenumber` ,
ADD `password` TEXT NOT NULL AFTER `subaccount` ,
ADD `permissions` TEXT NOT NULL AFTER `password`;

INSERT INTO `tblconfiguration` (`setting`, `value`) VALUES ('CreateDomainInvoiceDaysBefore', '');
INSERT INTO `tblconfiguration` (`setting`, `value`) VALUES ('NoInvoiceEmailOnOrder', '');
INSERT INTO `tblconfiguration` (`setting`, `value`) VALUES ('TaxInclusiveDeduct', '');
INSERT INTO `tblconfiguration` (`setting`, `value`) VALUES ('LateFeeMinimum', '0.00');
INSERT INTO `tblconfiguration` (`setting`, `value`) VALUES ('AutoProvisionExistingOnly', '');

CREATE TABLE IF NOT EXISTS `tblticketstatuses` (
  `id` int(10) NOT NULL auto_increment,
  `title` text COLLATE utf8_unicode_ci NOT NULL,
  `color` text COLLATE utf8_unicode_ci NOT NULL,
  `sortorder` int(2) NOT NULL,
  `showactive` int(1) NOT NULL,
  `showawaiting` int(1) NOT NULL,
  `autoclose` int(1) NOT NULL,
  PRIMARY KEY  (`id`)
) DEFAULT CHARSET=utf8 COLLATE=utf8_unicode_ci;

INSERT INTO `tblticketstatuses` (`id`, `title`, `color`, `sortorder`, `showactive`, `showawaiting`, `autoclose`) VALUES
(1, 'Open', '#779500', 1, 1, 1, 0),
(2, 'Answered', '#000000', 2, 1, 0, 1),
(3, 'Customer-Reply', '#ff6600', 3, 1, 1, 1),
(4, 'Closed', '#888888', 10, 0, 0, 0),
(5, 'On Hold', '#224488', 5, 1, 0, 0),
(6, 'In Progress', '#cc0000', 6, 1, 0, 0);

ALTER TABLE `tblhosting` ADD `promoid` INT( 10 ) NOT NULL AFTER `subscriptionid` ;
ALTER TABLE `tbldomains` ADD `promoid` INT( 10 ) NOT NULL AFTER `subscriptionid` ;

ALTER TABLE `tblpricing` ADD `triennially` DECIMAL( 10, 2 ) NOT NULL ;
ALTER TABLE `tblpricing` ADD `tsetupfee` DECIMAL( 10, 2 ) NOT NULL AFTER `bsetupfee` ;
UPDATE tblpricing SET triennially='-1' WHERE type='product';

INSERT INTO `tblconfiguration` (`setting`, `value`) VALUES ('EnableDomainRenewalOrders', 'on');
INSERT INTO `tblconfiguration` (`setting`, `value`) VALUES ('EnableMassPay', 'on');

ALTER TABLE `tblorders` ADD `renewals` TEXT NOT NULL AFTER `transfersecret` ;

ALTER TABLE `tblbillableitems` ADD `hours` DECIMAL( 5, 1 ) NOT NULL AFTER `description` ;
upgrade850alpha1.sql000064400000021112147361027270010246 0ustar00-- Add new configuration value for ProductRecommendationEnable
set @query = if ((select count(*) from `tblconfiguration` where `setting` = 'ProductRecommendationEnable') = 0, "INSERT INTO `tblconfiguration` (`setting`, `value`, `created_at`, `updated_at`) VALUES ('ProductRecommendationEnable', 0, now(), now());",'DO 0;');
prepare statement from @query;
execute statement;
deallocate prepare statement;

-- Add new configuration value for ProductRecommendationLocationAfterAdd
set @query = if ((select count(*) from `tblconfiguration` where `setting` = 'ProductRecommendationLocationAfterAdd') = 0, "INSERT INTO `tblconfiguration` (`setting`, `value`, `created_at`, `updated_at`) VALUES ('ProductRecommendationLocationAfterAdd', 0, now(), now());",'DO 0;');
prepare statement from @query;
execute statement;
deallocate prepare statement;

-- Add new configuration value for ProductRecommendationLocationViewCart
set @query = if ((select count(*) from `tblconfiguration` where `setting` = 'ProductRecommendationLocationViewCart') = 0, "INSERT INTO `tblconfiguration` (`setting`, `value`, `created_at`, `updated_at`) VALUES ('ProductRecommendationLocationViewCart', 0, now(), now());",'DO 0;');
prepare statement from @query;
execute statement;
deallocate prepare statement;

-- Add new configuration value for ProductRecommendationLocationCheckout
set @query = if ((select count(*) from `tblconfiguration` where `setting` = 'ProductRecommendationLocationCheckout') = 0, "INSERT INTO `tblconfiguration` (`setting`, `value`, `created_at`, `updated_at`) VALUES ('ProductRecommendationLocationCheckout', 0, now(), now());",'DO 0;');
prepare statement from @query;
execute statement;
deallocate prepare statement;

-- Add new configuration value for ProductRecommendationLocationOrderComplete
set @query = if ((select count(*) from `tblconfiguration` where `setting` = 'ProductRecommendationLocationOrderComplete') = 0, "INSERT INTO `tblconfiguration` (`setting`, `value`, `created_at`, `updated_at`) VALUES ('ProductRecommendationLocationOrderComplete', 0, now(), now());",'DO 0;');
prepare statement from @query;
execute statement;
deallocate prepare statement;

-- Add new configuration value for ProductRecommendationCount
set @query = if ((select count(*) from `tblconfiguration` where `setting` = 'ProductRecommendationCount') = 0, "INSERT INTO `tblconfiguration` (`setting`, `value`, `created_at`, `updated_at`) VALUES ('ProductRecommendationCount', 10, now(), now());",'DO 0;');
prepare statement from @query;
execute statement;
deallocate prepare statement;

-- Add new configuration value for ProductRecommendationExisting
set @query = if ((select count(*) from `tblconfiguration` where `setting` = 'ProductRecommendationExisting') = 0, "INSERT INTO `tblconfiguration` (`setting`, `value`, `created_at`, `updated_at`) VALUES ('ProductRecommendationExisting', 0, now(), now());",'DO 0;');
prepare statement from @query;
execute statement;
deallocate prepare statement;

-- Add new configuration value for ProductRecommendationStyle
set @query = if ((select count(*) from `tblconfiguration` where `setting` = 'ProductRecommendationStyle') = 0, "INSERT INTO `tblconfiguration` (`setting`, `value`, `created_at`, `updated_at`) VALUES ('ProductRecommendationStyle', 0, now(), now());",'DO 0;');
prepare statement from @query;
execute statement;
deallocate prepare statement;

-- Add new columns to tblproducts table
set @query = if ((select count(*) from information_schema.columns where table_schema=database() and table_name='tblproducts' and column_name='short_description') = 0, 'ALTER TABLE `tblproducts` ADD `short_description` text COLLATE utf8_unicode_ci NOT NULL AFTER `is_featured`', 'DO 0');
prepare statement from @query;
execute statement;
deallocate prepare statement;

set @query = if ((select count(*) from information_schema.columns where table_schema=database() and table_name='tblproducts' and column_name='tagline') = 0, 'ALTER TABLE `tblproducts` ADD `tagline` text COLLATE utf8_unicode_ci NOT NULL AFTER `is_featured`', 'DO 0');
prepare statement from @query;
execute statement;
deallocate prepare statement;

set @query = if ((select count(*) from information_schema.columns where table_schema=database() and table_name='tblproducts' and column_name='color') = 0, 'ALTER TABLE `tblproducts` ADD `color` text COLLATE utf8_unicode_ci NOT NULL AFTER `is_featured`', 'DO 0');
prepare statement from @query;
execute statement;
deallocate prepare statement;

-- Add new enum values to tbldynamic_translations.related_type column
set @query = if ((select md5(substring(column_type,5)) from information_schema.columns where table_schema=database() and table_name='tbldynamic_translations' and column_name='related_type') != 'b91f10ba1f03adf3e7dfd3a10fcd0d7c', 'ALTER TABLE `tbldynamic_translations` MODIFY COLUMN `related_type` ENUM ("configurable_option.{id}.name","configurable_option_option.{id}.name","custom_field.{id}.description","custom_field.{id}.name","download.{id}.description","download.{id}.title","product.{id}.description","product.{id}.name","product.{id}.tagline","product.{id}.short_description","product_addon.{id}.description","product_addon.{id}.name","product_bundle.{id}.description","product_bundle.{id}.name","product_group.{id}.headline","product_group.{id}.name","product_group.{id}.tagline","product_group_feature.{id}.feature","ticket_department.{id}.description","ticket_department.{id}.name")', 'DO 0');
prepare statement from @query;
execute statement;
deallocate prepare statement;

-- Create new tblproduct_recommendations table
CREATE TABLE IF NOT EXISTS `tblproduct_recommendations` (
    `id` int(10) NOT NULL,
    `product_id` int(10) NOT NULL,
    `sortorder` int(10) NOT NULL DEFAULT '0',
    PRIMARY KEY `id_product_id` (`id`, `product_id`),
    INDEX `product_id` (`product_id`)
) ENGINE=InnoDB DEFAULT CHARSET=utf8 COLLATE=utf8_unicode_ci;

-- Rename and add new columns to tblapilog table START
set @query = if ((select count(*) from information_schema.columns where table_schema=database() and table_name='tblapilog' and column_name='endpoint') = 0,
    'ALTER TABLE `tblapilog` ADD `endpoint` varchar(255) NULL AFTER `action`','DO 0');
prepare statement from @query;
execute statement;
deallocate prepare statement;

set @query = if ((select count(*) from information_schema.columns where table_schema=database() and table_name='tblapilog' and column_name='method') = 0,
    'ALTER TABLE `tblapilog` ADD `method` enum (''GET'', ''POST'', ''PUT'', ''PATCH'', ''DELETE'') NULL AFTER `endpoint`', 'DO 0');
prepare statement from @query;
execute statement;
deallocate prepare statement;

set @query = if ((select count(*) from information_schema.columns where table_schema=database() and table_name='tblapilog' and column_name='status') = 1,
    'ALTER TABLE `tblapilog` CHANGE COLUMN `status` `response_status` int(11) NOT NULL DEFAULT ''0''', 'DO 0');
prepare statement from @query;
execute statement;
deallocate prepare statement;

set @query = if ((select count(*) from information_schema.columns where table_schema=database() and table_name='tblapilog' and column_name='headers') = 1,
    'ALTER TABLE `tblapilog` CHANGE COLUMN `headers` `response_headers` text COLLATE utf8_unicode_ci NOT NULL', 'DO 0');
prepare statement from @query;
execute statement;
deallocate prepare statement;

set @query = if ((select count(*) from information_schema.columns where table_schema=database() and table_name='tblapilog' and column_name='request_headers') = 0,
    'ALTER TABLE `tblapilog` ADD `request_headers` text NULL AFTER `request`', 'DO 0');
prepare statement from @query;
execute statement;
deallocate prepare statement;
-- Rename and add new columns to tblapilog table END

-- Add new fields to tblsslorders table
set @query = if ((select count(*) from information_schema.columns where table_schema=database() and table_name='tblsslorders' and column_name='certificate_expiry_date') = 0, 'ALTER TABLE `tblsslorders` ADD `certificate_expiry_date` timestamp NULL DEFAULT NULL', 'DO 0');
prepare statement from @query;
execute statement;
deallocate prepare statement;

set @query = if ((select count(*) from information_schema.columns where table_schema=database() and table_name='tblsslorders' and column_name='created_at') = 0, 'ALTER TABLE `tblsslorders` ADD `created_at` timestamp NULL DEFAULT NULL', 'DO 0');
prepare statement from @query;
execute statement;
deallocate prepare statement;

set @query = if ((select count(*) from information_schema.columns where table_schema=database() and table_name='tblsslorders' and column_name='updated_at') = 0, 'ALTER TABLE `tblsslorders` ADD `updated_at` timestamp NULL DEFAULT NULL', 'DO 0');
prepare statement from @query;
execute statement;
deallocate prepare statement;
upgrade502.sql000064400000000310147361027270007146 0ustar00ALTER TABLE `tblbundles`  ADD `showgroup` INT(1) NOT NULL,  ADD `gid` INT(10) NOT NULL,  ADD `description` TEXT NOT NULL,  ADD `displayprice` DECIMAL(10,2) NOT NULL,  ADD `sortorder` INT(3) NOT NULL;
upgrade710alpha1.sql000064400000014333147361027270010250 0ustar00-- password_reset_key to tbladmins --
set @query = if ((select count(*) from information_schema.columns where table_schema=database() and table_name='tbladmins' and column_name='password_reset_key') = 0, 'ALTER TABLE tbladmins ADD `password_reset_key` VARCHAR(255) COLLATE utf8_unicode_ci NOT NULL DEFAULT \'\'', 'DO 0');
prepare statement from @query;
execute statement;
deallocate prepare statement;

-- password_reset_data to tbladmins --
set @query = if ((select count(*) from information_schema.columns where table_schema=database() and table_name='tbladmins' and column_name='password_reset_data') = 0, 'ALTER TABLE tbladmins ADD `password_reset_data` text COLLATE utf8_unicode_ci NOT NULL', 'DO 0');
prepare statement from @query;
execute statement;
deallocate prepare statement;

-- password_reset_expiry to tbladmins --
set @query = if ((select count(*) from information_schema.columns where table_schema=database() and table_name='tbladmins' and column_name='password_reset_expiry') = 0, 'ALTER TABLE tbladmins ADD `password_reset_expiry` timestamp NOT NULL DEFAULT \'0000-00-00 00:00:00\'', 'DO 0');
prepare statement from @query;
execute statement;
deallocate prepare statement;

-- Add the created_at column to tbladmins
set @query = if ((select count(*) from information_schema.columns where table_schema=database() and table_name='tbladmins' and column_name='created_at') = 0, 'alter table tbladmins add `created_at` timestamp NOT NULL DEFAULT \'0000-00-00 00:00:00\'', 'DO 0');
prepare statement from @query;
execute statement;
deallocate prepare statement;

-- Add the updated_at column to tbladmins
set @query = if ((select count(*) from information_schema.columns where table_schema=database() and table_name='tbladmins' and column_name='updated_at') = 0, 'alter table tbladmins add `updated_at` timestamp NOT NULL DEFAULT \'0000-00-00 00:00:00\'', 'DO 0');
prepare statement from @query;
execute statement;
deallocate prepare statement;

-- Add Transferred Away to tbldomains
ALTER TABLE `tbldomains` CHANGE `status` `status` ENUM('Pending','Pending Transfer','Active','Expired','Cancelled','Fraud','Transferred Away') NOT NULL DEFAULT 'Pending';

-- Add Completed to tblhosting
ALTER TABLE `tblhosting` CHANGE `domainstatus` `domainstatus` ENUM('Pending','Active','Suspended','Terminated','Cancelled','Fraud','Completed') NOT NULL DEFAULT 'Pending';

-- Add Completed Date to tblhosting --
set @query = if ((select count(*) from information_schema.columns where table_schema=database() and table_name='tblhosting' and column_name='completed_date') = 0, 'ALTER TABLE `tblhosting` ADD `completed_date` DATE NOT NULL DEFAULT \'0000-00-00\' AFTER `termination_date`', 'DO 0');
prepare statement from @query;
execute statement;
deallocate prepare statement;

-- Create tbldomains_extra
CREATE TABLE IF NOT EXISTS `tbldomains_extra` (
  `id` int(10) unsigned NOT NULL AUTO_INCREMENT,
  `domain_id` int(11) NOT NULL DEFAULT '0',
  `name` varchar(32) COLLATE utf8_unicode_ci NOT NULL DEFAULT '',
  `value` varchar(255) COLLATE utf8_unicode_ci NOT NULL DEFAULT '',
  `created_at` timestamp NOT NULL DEFAULT '0000-00-00 00:00:00',
  `updated_at` timestamp NOT NULL DEFAULT '0000-00-00 00:00:00',
  PRIMARY KEY (`id`),
  UNIQUE KEY `tbldomains_extra_domain_id_type_unique` (`domain_id`,`name`),
  KEY `tbldomains_extra_type_index` (`name`)
) ENGINE=InnoDB DEFAULT CHARSET=utf8 COLLATE=utf8_unicode_ci;

-- Create tbldomainpricing_premium
CREATE TABLE IF NOT EXISTS `tbldomainpricing_premium` (
  `id` int(10) unsigned NOT NULL AUTO_INCREMENT,
  `to_amount` decimal(10,2) NOT NULL DEFAULT '0.00',
  `markup` decimal(8,5) NOT NULL DEFAULT '0.00000',
  `created_at` timestamp NOT NULL DEFAULT '0000-00-00 00:00:00',
  `updated_at` timestamp NOT NULL DEFAULT '0000-00-00 00:00:00',
  PRIMARY KEY (`id`),
  UNIQUE KEY `tbldomain_pricing_premium_to_amount_unique` (`to_amount`)
) ENGINE=InnoDB DEFAULT CHARSET=utf8 COLLATE=utf8_unicode_ci;

-- truncate tbldomainpricing_premium to ensure no accidental duplicates
TRUNCATE tbldomainpricing_premium;
INSERT INTO `tbldomainpricing_premium` (`to_amount`, `markup`, `created_at`, `updated_at`)
VALUES ('200', '20', now(), now()), ('500', '25', now(), now()), ('1000', '30', now(), now()), ('-1', '20', now(), now());

-- Premium Domains in tblconfiguration
INSERT INTO `tblconfiguration` (`setting`, `value`, `created_at`, `updated_at`) VALUES ('PremiumDomains', 0, NOW(), NOW());

-- is_premium field on tbldomains
set @query = if ((select count(*) from information_schema.columns where table_schema=database() and table_name='tbldomains' and column_name='is_premium') = 0, 'ALTER TABLE tbldomains ADD `is_premium` TINYINT(1) AFTER `idprotection`', 'DO 0');
prepare statement from @query;
execute statement;
deallocate prepare statement;

-- Create tbldomain_lookup_configuration
CREATE TABLE IF NOT EXISTS `tbldomain_lookup_configuration` (
  `id` int(10) unsigned NOT NULL AUTO_INCREMENT,
  `registrar` varchar(32) COLLATE utf8_unicode_ci NOT NULL DEFAULT '',
  `setting` varchar(128) COLLATE utf8_unicode_ci NOT NULL DEFAULT '',
  `value` text COLLATE utf8_unicode_ci NOT NULL,
  `created_at` timestamp NOT NULL DEFAULT '0000-00-00 00:00:00',
  `updated_at` timestamp NOT NULL DEFAULT '0000-00-00 00:00:00',
  PRIMARY KEY (`id`),
  KEY `registrar_setting_index` (`registrar`,`setting`)
) ENGINE=InnoDB DEFAULT CHARSET=utf8 COLLATE=utf8_unicode_ci;

-- Create tblmodulequeue
CREATE TABLE IF NOT EXISTS `tblmodulequeue` (
  `id` int(10) unsigned NOT NULL AUTO_INCREMENT,
  `service_type` varchar(20) COLLATE utf8_unicode_ci NOT NULL DEFAULT '',
  `service_id` int(10) unsigned NOT NULL DEFAULT '0',
  `module_name` varchar(64) COLLATE utf8_unicode_ci NOT NULL DEFAULT '',
  `module_action` varchar(64) COLLATE utf8_unicode_ci NOT NULL DEFAULT '',
  `last_attempt` timestamp NOT NULL DEFAULT '0000-00-00 00:00:00',
  `last_attempt_error` text COLLATE utf8_unicode_ci NOT NULL,
  `num_retries` smallint(5) unsigned NOT NULL DEFAULT '0',
  `completed` tinyint(1) NOT NULL DEFAULT '0',
  `created_at` timestamp NOT NULL DEFAULT '0000-00-00 00:00:00',
  `updated_at` timestamp NOT NULL DEFAULT '0000-00-00 00:00:00',
  PRIMARY KEY (`id`)
) ENGINE=InnoDB DEFAULT CHARSET=utf8 COLLATE=utf8_unicode_ci;

-- Insert Module Queue Permission to admin role 1
INSERT INTO `tbladminperms` (`roleid`, `permid`) VALUES (1, 137);
upgrade780alpha1.sql000064400000016227147361027270010263 0ustar00-- Create pay method and related tables
CREATE TABLE IF NOT EXISTS `tblpaymethods` (
  `id` int(10) unsigned NOT NULL AUTO_INCREMENT,
  `userid` int(11) NOT NULL DEFAULT '0',
  `description` varchar(255) COLLATE utf8_unicode_ci NOT NULL DEFAULT '',
  `contact_id` int(11) NOT NULL DEFAULT '0',
  `contact_type` varchar(255) COLLATE utf8_unicode_ci NOT NULL DEFAULT '',
  `payment_id` int(11) NOT NULL DEFAULT '0',
  `payment_type` varchar(255) COLLATE utf8_unicode_ci NOT NULL DEFAULT '',
  `gateway_name` varchar(255) COLLATE utf8_unicode_ci NOT NULL DEFAULT '',
  `order_preference` int(11) NOT NULL DEFAULT '0',
  `created_at` timestamp NOT NULL DEFAULT '0000-00-00 00:00:00',
  `updated_at` timestamp NOT NULL DEFAULT '0000-00-00 00:00:00',
  `deleted_at` timestamp NULL,
  PRIMARY KEY (`id`),
  KEY `tblpaymethods_userid` (`userid`)
) ENGINE=InnoDB DEFAULT CHARSET=utf8 COLLATE=utf8_unicode_ci;

CREATE TABLE IF NOT EXISTS `tblcreditcards` (
  `id` int(10) unsigned NOT NULL AUTO_INCREMENT,
  `pay_method_id` int(11) NOT NULL DEFAULT '0',
  `card_type` varchar(255) COLLATE utf8_unicode_ci NOT NULL DEFAULT '',
  `last_four` varchar(255) COLLATE utf8_unicode_ci NOT NULL DEFAULT '',
  `expiry_date` datetime NOT NULL DEFAULT '0000-00-00 00:00:00',
  `card_data` blob NOT NULL,
  `created_at` timestamp NOT NULL DEFAULT '0000-00-00 00:00:00',
  `updated_at` timestamp NOT NULL DEFAULT '0000-00-00 00:00:00',
  `deleted_at` timestamp NULL,
  PRIMARY KEY (`id`),
  KEY `tblcreditcards_pay_method_id` (`pay_method_id`)
) ENGINE=InnoDB DEFAULT CHARSET=utf8 COLLATE=utf8_unicode_ci;

CREATE TABLE IF NOT EXISTS `tblbankaccts` (
  `id` int(10) unsigned NOT NULL AUTO_INCREMENT,
  `pay_method_id` int(11) NOT NULL DEFAULT '0',
  `bank_name` varchar(255) COLLATE utf8_unicode_ci NOT NULL DEFAULT '',
  `acct_type` varchar(255) COLLATE utf8_unicode_ci NOT NULL DEFAULT '',
  `bank_data` blob NOT NULL,
  `created_at` timestamp NOT NULL DEFAULT '0000-00-00 00:00:00',
  `updated_at` timestamp NOT NULL DEFAULT '0000-00-00 00:00:00',
  `deleted_at` timestamp NULL,
  PRIMARY KEY (`id`),
  KEY `tblbankaccts_pay_method_id` (`pay_method_id`)
) ENGINE=InnoDB DEFAULT CHARSET=utf8 COLLATE=utf8_unicode_ci;

-- Add the admin_id column to tblcredit
set @query = if ((select count(*) from information_schema.columns where table_schema=database() and table_name='tblcredit' and column_name='admin_id') = 0, 'alter table `tblcredit` add `admin_id` int(10) unsigned NOT NULL DEFAULT \'0\' AFTER `clientid`', 'DO 0');
prepare statement from @query;
execute statement;
deallocate prepare statement;

-- Add the paymethodid column to tblinvoices
set @query = if ((select count(*) from information_schema.columns where table_schema=database() and table_name='tblinvoices' and column_name='paymethodid') = 0, 'alter table `tblinvoices` add `paymethodid` int(10) unsigned DEFAULT NULL AFTER `paymentmethod`', 'DO 0');
prepare statement from @query;
execute statement;
deallocate prepare statement;

-- Add PruneTicketAttachmentsMonths to tblconfiguration
set @query = if ((select count(*) from tblconfiguration where setting='PruneTicketAttachmentsMonths') = 0, 'INSERT INTO `tblconfiguration` (setting, value, created_at, updated_at) VALUES (\'PruneTicketAttachmentsMonths\', 0, now(), now())', 'DO 0');
prepare statement from @query;
execute statement;
deallocate prepare statement;

-- Add the attachments_removed column to tbltickets
set @query = if ((select count(*) from information_schema.columns where table_schema=database() and table_name='tbltickets' and column_name='attachments_removed') = 0, 'alter table `tbltickets` add `attachments_removed` tinyint(1) NOT NULL DEFAULT \'0\' AFTER `attachment`', 'DO 0');
prepare statement from @query;
execute statement;
deallocate prepare statement;

-- Add the attachments_removed column to tblticketreplies
set @query = if ((select count(*) from information_schema.columns where table_schema=database() and table_name='tblticketreplies' and column_name='attachments_removed') = 0, 'alter table `tblticketreplies` add `attachments_removed` tinyint(1) NOT NULL DEFAULT \'0\' AFTER `attachment`', 'DO 0');
prepare statement from @query;
execute statement;
deallocate prepare statement;

-- Add the attachments_removed column to tblticketnotes
set @query = if ((select count(*) from information_schema.columns where table_schema=database() and table_name='tblticketnotes' and column_name='attachments_removed') = 0, 'alter table `tblticketnotes` add `attachments_removed` tinyint(1) NOT NULL DEFAULT \'0\' AFTER `attachments`', 'DO 0');
prepare statement from @query;
execute statement;
deallocate prepare statement;

-- Add the hidden column to tbladdons
set @query = if ((select count(*) from information_schema.columns where table_schema=database() and table_name='tbladdons' and column_name='hidden') = 0, 'alter table `tbladdons` add `hidden` TINYINT(1) NOT NULL DEFAULT \'0\' AFTER `showorder`', 'DO 0');
prepare statement from @query;
execute statement;
deallocate prepare statement;

-- Add the retired column to tbladdons
set @query = if ((select count(*) from information_schema.columns where table_schema=database() and table_name='tbladdons' and column_name='retired') = 0, 'alter table `tbladdons` add `retired` TINYINT(1) NOT NULL DEFAULT \'0\' AFTER `hidden`', 'DO 0');
prepare statement from @query;
execute statement;
deallocate prepare statement;

-- Modify the datatype of the title column of tblnetworkissues
set @query = if ((select count(*) from information_schema.columns where table_schema=database() and table_name='tblnetworkissues' and column_name='title') = 1, 'alter table `tblnetworkissues` modify `title` varchar(150) NOT NULL', 'DO 1');
prepare statement from @query;
execute statement;
deallocate prepare statement;

-- Remove legacy settings
DELETE FROM tblconfiguration WHERE setting = 'CCNeverStore';

-- Create server remote data storage table
CREATE TABLE IF NOT EXISTS `tblservers_remote` (
  `id` int(10) unsigned NOT NULL AUTO_INCREMENT,
  `server_id` int(10) NOT NULL DEFAULT '0',
  `num_accounts` int(10) NOT NULL DEFAULT '0',
  `meta_data` text NOT NULL,
  `created_at` timestamp NOT NULL DEFAULT '0000-00-00 00:00:00',
  `updated_at` timestamp NOT NULL DEFAULT '0000-00-00 00:00:00',
  PRIMARY KEY (`id`),
  KEY `tblservers_remote_server_id` (`server_id`)
) ENGINE=InnoDB DEFAULT CHARSET=utf8 COLLATE=utf8_unicode_ci;

-- Create metric usage table
CREATE TABLE IF NOT EXISTS `tblmetric_usage` (
  `id` int(10) unsigned NOT NULL AUTO_INCREMENT,
  `rel_type` varchar(200) COLLATE utf8_unicode_ci NOT NULL DEFAULT '',
  `rel_id` int(10) NOT NULL DEFAULT '0',
  `module_type` varchar(200) COLLATE utf8_unicode_ci NOT NULL DEFAULT '',
  `module` varchar(200) COLLATE utf8_unicode_ci NOT NULL DEFAULT '',
  `metric` varchar(200) COLLATE utf8_unicode_ci NOT NULL DEFAULT '',
  `value` varchar(255) COLLATE utf8_unicode_ci NOT NULL DEFAULT '',
  `created_at` timestamp NOT NULL DEFAULT '0000-00-00 00:00:00',
  `updated_at` timestamp NOT NULL DEFAULT '0000-00-00 00:00:00',
  PRIMARY KEY (`id`),
  KEY `tblmetric_usage_rel_type_id` (`rel_type`,`rel_id`),
  KEY `tblmetric_usage_module_type` (`module_type`),
  KEY `tblmetric_usage_module` (`module`),
  KEY `tblmetric_usage_metric` (`metric`)
) ENGINE=InnoDB DEFAULT CHARSET=utf8 COLLATE=utf8_unicode_ci;
upgrade720release1.sql000064400000006027147361027270010605 0ustar00set @query = if ((select count(*) from information_schema.columns where table_schema=database() and table_name='tblupgrades' and column_name='userid') = 0, 'ALTER TABLE  `tblupgrades` ADD  `userid` INT( 10 ) NOT NULL AFTER  `id`', 'DO 0;');
prepare statement from @query;
execute statement;
deallocate prepare statement;

UPDATE  `tblupgrades` SET type = 'package' WHERE type != 'package' AND type != 'configoptions';

ALTER TABLE  `tblupgrades` CHANGE  `type`  `type` ENUM(  'service', 'addon', 'package',  'configoptions') CHARACTER SET utf8 COLLATE utf8_unicode_ci NOT NULL ;

set @query = if ((select count(*) from information_schema.columns where table_schema=database() and table_name='tblupgrades' and column_name='new_cycle') = 0, 'ALTER TABLE  `tblupgrades` ADD  `new_cycle` VARCHAR( 30 ) NOT NULL AFTER  `newvalue`', 'DO 0;');
prepare statement from @query;
execute statement;
deallocate prepare statement;

set @query = if ((select count(*) from information_schema.columns where table_schema=database() and table_name='tblupgrades' and column_name='new_recurring_amount') = 0, 'ALTER TABLE  `tblupgrades` ADD  `new_recurring_amount` DECIMAL( 10, 2 ) NOT NULL AFTER  `amount`', 'DO 0;');
prepare statement from @query;
execute statement;
deallocate prepare statement;

set @query = if ((select count(*) from information_schema.columns where table_schema=database() and table_name='tblupgrades' and column_name='credit_amount') = 0, 'ALTER TABLE  `tblupgrades` ADD  `credit_amount` DECIMAL( 10, 2 ) NOT NULL AFTER  `amount`', 'DO 0;');
prepare statement from @query;
execute statement;
deallocate prepare statement;

set @query = if ((select count(*) from information_schema.columns where table_schema=database() and table_name='tblupgrades' and column_name='days_remaining') = 0, 'ALTER TABLE  `tblupgrades` ADD  `days_remaining` INT( 4 ) NOT NULL AFTER  `credit_amount`', 'DO 0;');
prepare statement from @query;
execute statement;
deallocate prepare statement;

set @query = if ((select count(*) from information_schema.columns where table_schema=database() and table_name='tblupgrades' and column_name='total_days_in_cycle') = 0, 'ALTER TABLE  `tblupgrades` ADD  `total_days_in_cycle` INT( 4 ) NOT NULL AFTER  `days_remaining`', 'DO 0;');
prepare statement from @query;
execute statement;
deallocate prepare statement;

UPDATE tblupgrades SET userid = (SELECT userid FROM tblhosting WHERE tblhosting.id = tblupgrades.relid) WHERE type='package';

-- update custom field 'bool' values to be on or empty
UPDATE `tblcustomfields` SET `adminonly` = 'on' where `adminonly` = '1';
UPDATE `tblcustomfields` SET `adminonly` = '' where `adminonly` = '0';
UPDATE `tblcustomfields` SET `required` = 'on' where `required` = '1';
UPDATE `tblcustomfields` SET `required` = '' where `required` = '0';
UPDATE `tblcustomfields` SET `showorder` = 'on' where `showorder` = '1';
UPDATE `tblcustomfields` SET `showorder` = '' where `showorder` = '0';
UPDATE `tblcustomfields` SET `showinvoice` = 'on' where `showinvoice` = '1';
UPDATE `tblcustomfields` SET `showinvoice` = '' where `showinvoice` = '0';
upgrade740alpha1.sql000064400000001527147361027270010254 0ustar00set @query = if ((select count(*) from information_schema.columns where table_schema=database() and table_name='tbldeviceauth' and column_name='role_ids') = 0, 'ALTER TABLE  `tbldeviceauth` ADD `role_ids` TEXT COLLATE utf8_unicode_ci NOT NULL AFTER `is_admin`', 'DO 0;');
prepare statement from @query;
execute statement;
deallocate prepare statement;

CREATE TABLE IF NOT EXISTS `tblapi_roles` (
  `id` int(10) unsigned NOT NULL AUTO_INCREMENT,
  `role` varchar(255) COLLATE utf8_unicode_ci NOT NULL DEFAULT '',
  `description` varchar(255) COLLATE utf8_unicode_ci NOT NULL DEFAULT '',
  `permissions` text COLLATE utf8_unicode_ci NOT NULL,
  `created_at` timestamp NOT NULL DEFAULT '0000-00-00 00:00:00',
  `updated_at` timestamp NOT NULL DEFAULT '0000-00-00 00:00:00',
  PRIMARY KEY (`id`)
) ENGINE=InnoDB DEFAULT CHARSET=utf8 COLLATE=utf8_unicode_ci;
upgrade750alpha1.sql000064400000015253147361027270010256 0ustar00-- Create affiliates hits table.
CREATE TABLE IF NOT EXISTS `tblaffiliates_hits` (
  `id` int(10) unsigned NOT NULL AUTO_INCREMENT,
  `affiliate_id` int(10) unsigned NOT NULL DEFAULT 0,
  `referrer_id` int(10) unsigned NOT NULL DEFAULT 0,
  `created_at` datetime NOT NULL DEFAULT '0000-00-00 00:00:00',
  PRIMARY KEY (`id`),
  KEY `affiliate_id` (`affiliate_id`,`referrer_id`)
) ENGINE=InnoDB AUTO_INCREMENT=1 DEFAULT CHARSET=utf8 COLLATE=utf8_unicode_ci ;

-- Create affiliates referrers table.
CREATE TABLE IF NOT EXISTS `tblaffiliates_referrers` (
  `id` int(10) unsigned NOT NULL AUTO_INCREMENT,
  `affiliate_id` int(10) unsigned NOT NULL DEFAULT 0,
  `referrer` varchar(500) NOT NULL DEFAULT '',
  `created_at` datetime NOT NULL DEFAULT '0000-00-00 00:00:00',
  `updated_at` datetime NOT NULL DEFAULT '0000-00-00 00:00:00',
  PRIMARY KEY (`id`),
  KEY `affiliate_id` (`affiliate_id`)
) ENGINE=InnoDB AUTO_INCREMENT=1 DEFAULT CHARSET=utf8 COLLATE=utf8_unicode_ci ;

-- Create marketing consent table.
CREATE TABLE IF NOT EXISTS `tblmarketing_consent` (
  `id` int(10) unsigned NOT NULL AUTO_INCREMENT,
  `userid` int(10) unsigned NOT NULL DEFAULT 0,
  `opt_in` tinyint(1) NOT NULL DEFAULT 0,
  `admin` tinyint(1) NOT NULL DEFAULT 0,
  `ip_address` varchar(32) NOT NULL DEFAULT '',
  `created_at` datetime NOT NULL DEFAULT '0000-00-00 00:00:00',
  `updated_at` datetime NOT NULL DEFAULT '0000-00-00 00:00:00',
  PRIMARY KEY (`id`),
  KEY `userid` (`userid`)
) ENGINE=InnoDB AUTO_INCREMENT=1 DEFAULT CHARSET=utf8 COLLATE=utf8_unicode_ci ;

-- Update permissable addon status values
set @query = if ((select count(*) from information_schema.columns where table_schema=database() and table_name='tblhostingaddons' and column_name='status' and column_type="enum('Pending','Active','Suspended','Terminated','Cancelled','Fraud','Completed')") = 0, "ALTER TABLE `tblhostingaddons` CHANGE `status` `status` ENUM('Pending','Active','Suspended','Terminated','Cancelled','Fraud','Completed') NOT NULL DEFAULT 'Pending'",'DO 0;');
prepare statement from @query;
execute statement;
deallocate prepare statement;

-- Fix state spelling
UPDATE `tblclients` SET `state`='Chhattisgarh' WHERE `state`='Chattisgarh';
UPDATE `tblcontacts` SET `state`='Chhattisgarh' WHERE `state`='Chattisgarh';
UPDATE `tblquotes` SET `state`='Chhattisgarh' WHERE `state`='Chattisgarh';
UPDATE `tbltax` SET `state`='Chhattisgarh' WHERE `state`='Chattisgarh';

-- Add the updated_at column to tbltickets
set @query = if ((select count(*) from information_schema.columns where table_schema=database() and table_name='tbltickets' and column_name='updated_at') = 0, 'alter table tbltickets add `updated_at` timestamp NOT NULL DEFAULT \'0000-00-00 00:00:00\'', 'DO 0');
prepare statement from @query;
execute statement;
deallocate prepare statement;

-- Add View MarketConnect Balance permission to existing roles.
INSERT INTO `tbladminperms` (`roleid`, `permid`) VALUES ('1', '145'), ('2', '145');

-- Add email marketing opt in default message
set @query = if ((select count(*) from `tblconfiguration` where `setting` = 'EmailMarketingOptInMessage') = 0, "INSERT INTO `tblconfiguration` (`setting`, `value`, `created_at`, `updated_at`) VALUES ('EmailMarketingOptInMessage', 'We would like to send you occasional news, information and special offers by email. To join our mailing list, check below. You can unsubscribe at any time.', now(), now());",'DO 0;');
prepare statement from @query;
execute statement;
deallocate prepare statement;

-- Add the grace_period column to tbldomainpricing
-- grace period can be overridden to '0' so -1 is default
set @query = if ((select count(*) from information_schema.columns where table_schema=database() and table_name='tbldomainpricing' and column_name='grace_period') = 0, 'alter table tbldomainpricing add `grace_period` INT(1) NOT NULL DEFAULT \'-1\';', 'DO 0');
prepare statement from @query;
execute statement;
deallocate prepare statement;

-- created_at to tbldomainpricing --
set @query = if ((select count(*) from information_schema.columns where table_schema=database() and table_name='tbldomainpricing' and column_name='created_at') = 0, 'ALTER TABLE `tbldomainpricing` ADD COLUMN `created_at` timestamp NOT NULL DEFAULT \'0000-00-00 00:00:00\';', 'DO 0;');
prepare statement from @query;
execute statement;
deallocate prepare statement;

-- updated_at to tbldomainpricing --
set @query = if ((select count(*) from information_schema.columns where table_schema=database() and table_name='tbldomainpricing' and column_name='updated_at') = 0, 'ALTER TABLE `tbldomainpricing` ADD COLUMN `updated_at` timestamp NOT NULL DEFAULT \'0000-00-00 00:00:00\';', 'DO 0;');
prepare statement from @query;
execute statement;
deallocate prepare statement;

-- Add the redemption_grace_period column to tbldomainpricing
-- redemption grace period can be overridden to '0' so -1 is default
set @query = if ((select count(*) from information_schema.columns where table_schema=database() and table_name='tbldomainpricing' and column_name='redemption_grace_period') = 0, 'alter table tbldomainpricing add `redemption_grace_period` INT(1) NOT NULL DEFAULT \'-1\' AFTER `grace_period`;', 'DO 0');
prepare statement from @query;
execute statement;
deallocate prepare statement;

-- Add new DomainExpirationFeeHandling setting to tblconfiguration
set @query = if ((select count(*) from `tblconfiguration` where `setting` = 'DomainExpirationFeeHandling') = 0, "INSERT INTO `tblconfiguration` (`setting`, `value`, `created_at`, `updated_at`) VALUES ('DomainExpirationFeeHandling', 'existing', now(), now());",'DO 0;');
prepare statement from @query;
execute statement;
deallocate prepare statement;

-- Add new statuses to tbldomains
ALTER TABLE `tbldomains` CHANGE `status` `status` ENUM('Pending','Pending Transfer','Active','Grace','Redemption','Expired','Cancelled','Fraud','Transferred Away') NOT NULL DEFAULT 'Pending';

-- Add the grace_period_fee column to tbldomainpricing
set @query = if ((select count(*) from information_schema.columns where table_schema=database() and table_name='tbldomainpricing' and column_name='grace_period_fee') = 0, 'alter table tbldomainpricing add `grace_period_fee` DECIMAL(10,2) NOT NULL DEFAULT \'0.00\' AFTER `grace_period`;', 'DO 0');
prepare statement from @query;
execute statement;
deallocate prepare statement;

-- Add the redemption_grace_period_fee column to tbldomainpricing
set @query = if ((select count(*) from information_schema.columns where table_schema=database() and table_name='tbldomainpricing' and column_name='redemption_grace_period_fee') = 0, 'alter table tbldomainpricing add `redemption_grace_period_fee` DECIMAL(10,2) NOT NULL DEFAULT \'-1.00\' AFTER `redemption_grace_period`;', 'DO 0');
prepare statement from @query;
execute statement;
deallocate prepare statement;
upgrade512.sql000064400000000160147361027270007152 0ustar00INSERT INTO `tbladminperms` (`roleid`, `permid`) VALUES ('1', '123'), ('1', '124'), ('2', '123'), ('2', '124');
upgrade500.sql000064400000011032147361027270007147 0ustar00ALTER TABLE `tbladmins` ADD `homewidgets` TEXT NOT NULL ;
ALTER TABLE `tbladminroles` ADD `widgets` TEXT NOT NULL AFTER `name` ;
UPDATE `tbladminroles` SET `widgets`='activity_log,getting_started,income_forecast,income_overview,my_notes,network_status,open_invoices,orders_overview,paypal_addon,admin_activity,client_activity,system_overview,todo_list,whmcs_news' WHERE `id`=1;
UPDATE `tbladminroles` SET `widgets`='activity_log,getting_started,income_forecast,income_overview,my_notes,network_status,open_invoices,orders_overview,paypal_addon,client_activity,todo_list,whmcs_news' WHERE `id`=2;
UPDATE `tbladminroles` SET `widgets`='activity_log,getting_started,my_notes,todo_list,whmcs_news' WHERE `id`=3;

INSERT INTO `tblemailtemplates` (`type`, `name`, `subject`, `message`, `plaintext`) VALUES ('admin', 'Support Ticket Department Reassigned', '[Ticket ID: {$ticket_tid}] Support Ticket Department Reassigned', '<p>The department this ticket is assigned to has been changed to a department you are a member of.</p><p>Client: {$client_name}{if $client_id} #{$client_id}{/if}<br />Department: {$ticket_department}<br />Subject: {$ticket_subject}<br />Priority: {$ticket_priority}</p><p>---<br />{$ticket_message}<br />---</p><p>You can respond to this ticket by simply replying to this email or through the admin area at the url below.</p><p><a href="{$whmcs_admin_url}supporttickets.php?action=viewticket&id={$ticket_id}">{$whmcs_admin_url}supporttickets.php?action=viewticket&id={$ticket_id}</a></p>', '0');

INSERT INTO `tblconfiguration` ( `setting` , `value` ) VALUES ( 'AttachmentThumbnails','on' );

ALTER TABLE `tblaffiliates` ADD `onetime` INT(1) NOT NULL AFTER `payamount` ;
ALTER TABLE `tblaffiliateshistory` ADD `description` TEXT NOT NULL AFTER `affaccid` ;

ALTER TABLE `tblproducts` ADD `recurringcycles` INT(2) NOT NULL AFTER `freedomaintlds` ;
ALTER TABLE `tblproducts` ADD `allowqty` INT(1) NOT NULL AFTER `paytype`;

INSERT INTO `tblemailtemplates` (`type`, `name`, `subject`, `message`, `plaintext`) VALUES('invoice', 'Invoice Refund Confirmation', 'Invoice Refund Confirmation', '<p>Dear {$client_name},</p>\r\n<p>This is confirmation that a {if $invoice_status eq "Refunded"}full{else}partial{/if} refund has been processed for Invoice #{$invoice_num}</p>\r\n<p>The refund has been {if $invoice_refund_type eq "credit"}credited to your account balance with us{else}returned via the payment method you originally paid with{/if}.</p>\r\n<p>{$invoice_html_contents}</p>\r\n<p>Amount Refunded: {$invoice_last_payment_amount}{if $invoice_last_payment_transid}<br />Transaction #: {$invoice_last_payment_transid}{/if}</p>\r\n<p>You may review your invoice history at any time by logging in to your client area.</p>\r\n<p>{$signature}</p>', 0);

ALTER TABLE `tblservers` ADD `nameserver5` TEXT NOT NULL AFTER `nameserver4ip` ,
 ADD `nameserver5ip` TEXT NOT NULL AFTER `nameserver5`;

CREATE TABLE IF NOT EXISTS `tblemailmarketer` (
  `id` int(10) NOT NULL AUTO_INCREMENT,
  `name` text COLLATE utf8_unicode_ci NOT NULL,
  `type` text COLLATE utf8_unicode_ci NOT NULL,
  `settings` text COLLATE utf8_unicode_ci NOT NULL,
  `disable` int(1) NOT NULL,
  PRIMARY KEY (`id`)
) DEFAULT CHARSET=utf8 COLLATE=utf8_unicode_ci;

ALTER TABLE `tblknowledgebase` ADD `order` INT(3) NOT NULL AFTER `private` ;

CREATE TABLE IF NOT EXISTS `tblbundles` (
  `id` int(10) NOT NULL AUTO_INCREMENT,
  `name` text COLLATE utf8_unicode_ci NOT NULL,
  `validfrom` date NOT NULL,
  `validuntil` date NOT NULL,
  `uses` int(4) NOT NULL,
  `maxuses` int(4) NOT NULL,
  `itemdata` text COLLATE utf8_unicode_ci NOT NULL,
  `allowpromo` int(1) NOT NULL,
  PRIMARY KEY (`id`)
) DEFAULT CHARSET=utf8 COLLATE=utf8_unicode_ci;

CREATE TABLE IF NOT EXISTS `tblmodulelog` (
  `id` int(10) NOT NULL AUTO_INCREMENT,
  `date` DATETIME NOT NULL,
  `module` text COLLATE utf8_unicode_ci NOT NULL,
  `action` text COLLATE utf8_unicode_ci NOT NULL,
  `request` text COLLATE utf8_unicode_ci NOT NULL,
  `response` text COLLATE utf8_unicode_ci NOT NULL,
  `arrdata` text COLLATE utf8_unicode_ci NOT NULL,
  PRIMARY KEY (`id`)
) DEFAULT CHARSET=utf8 COLLATE=utf8_unicode_ci;

INSERT INTO `tbladminperms` (`roleid`, `permid`) VALUES ('1', '101'), ('2', '101'), ('1', '102'), ('1', '103');

INSERT INTO `tblconfiguration` (`setting`, `value`) VALUES('EmailGlobalHeader', '&lt;p&gt;&lt;a href=&quot;{$company_domain}&quot; target=&quot;_blank&quot;&gt;&lt;img src=&quot;{$company_logo_url}&quot; alt=&quot;{$company_name}&quot; border=&quot;0&quot; /&gt;&lt;/a&gt;&lt;/p&gt;');
INSERT INTO `tblconfiguration` (`setting`, `value`) VALUES('EmailGlobalFooter', '');
upgrade380.sql000064400000011141147361027270007156 0ustar00INSERT INTO `tblconfiguration` (`setting` ,`value` )VALUES ('SEOFriendlyUrls', '');
INSERT INTO `tblconfiguration` (`setting` ,`value` )VALUES ('ShowCCIssueStart', '');

ALTER TABLE `tblcustomfields` CHANGE `relid` `relid` INT( 10 ) NOT NULL DEFAULT '0' ;
ALTER TABLE `tblcustomfields` ADD `sortorder` INT( 10 ) NOT NULL DEFAULT '0';

ALTER TABLE `tblproductconfigoptionssub` ADD `sortorder` INT( 10 ) NOT NULL DEFAULT '0';

ALTER TABLE `tbladdons` ADD `tax` TEXT NOT NULL AFTER `billingcycle` ;
UPDATE tbladdons SET tax='on';
ALTER TABLE `tblhostingaddons` ADD `tax` TEXT NOT NULL AFTER `billingcycle` ;
UPDATE tblhostingaddons SET tax='on';

INSERT INTO `tblconfiguration` (`setting`, `value`) VALUES ('ClientDropdownFormat', '1');

INSERT INTO `tblconfiguration` (`setting` ,`value` )VALUES ('TicketRatingEnabled', 'on');
ALTER TABLE `tblticketreplies` ADD `rating` INT( 5 ) NOT NULL ;

CREATE TABLE IF NOT EXISTS `tblproductconfiggroups` (
  `id` int(10) NOT NULL auto_increment,
  `name` text COLLATE utf8_unicode_ci NOT NULL,
  `description` text COLLATE utf8_unicode_ci NOT NULL,
  PRIMARY KEY  (`id`)
) DEFAULT CHARSET=utf8 COLLATE=utf8_unicode_ci;

CREATE TABLE IF NOT EXISTS `tblproductconfiglinks` (
  `gid` int(10) NOT NULL,
  `pid` int(10) NOT NULL
) DEFAULT CHARSET=utf8 COLLATE=utf8_unicode_ci;

ALTER TABLE `tblproductconfigoptions` CHANGE `productid` `gid` INT( 10 ) NOT NULL DEFAULT '0' ;

CREATE TABLE IF NOT EXISTS `tblnetworkissues` (
  `id` int(10) unsigned NOT NULL auto_increment,
  `title` varchar(45) NOT NULL,
  `description` text COLLATE utf8_unicode_ci NOT NULL,
  `type` enum('Server','System','Other') NOT NULL,
  `affecting` varchar(100) default NULL,
  `server` int(10) unsigned default NULL,
  `priority` enum('Critical','Low','Medium','High') NOT NULL,
  `startdate` datetime NOT NULL,
  `enddate` datetime default NULL,
  `status` enum('Reported','Investigating','In Progress','Outage','Scheduled','Resolved') NOT NULL,
  `lastupdate` datetime NOT NULL,
  PRIMARY KEY  (`id`)
) DEFAULT CHARSET=utf8 COLLATE=utf8_unicode_ci;
INSERT INTO `tblconfiguration` (`setting`, `value`) VALUES ('NetworkIssuesRequireLogin', 'on');

INSERT INTO `tblconfiguration` (`setting` ,`value` )VALUES ('ShowNotesFieldonCheckout', 'on');
ALTER TABLE `tblorders` ADD `notes` TEXT NOT NULL ;

INSERT INTO `tblconfiguration` (`setting` ,`value` )VALUES ('RequireLoginforClientTickets', 'on');

ALTER TABLE `tblhostingaddons` CHANGE `subscriptionid` `notes` TEXT NOT NULL ;

CREATE TABLE IF NOT EXISTS `tblquotes` (
`id` INT( 10 ) NOT NULL AUTO_INCREMENT PRIMARY KEY ,
`subject` TEXT COLLATE utf8_unicode_ci NOT NULL ,
`stage` ENUM( 'Draft', 'Delivered', 'On Hold', 'Accepted', 'Lost', 'Dead' ) NOT NULL ,
`validuntil` DATE NOT NULL ,
`userid` INT( 10 ) NOT NULL ,
`firstname` TEXT COLLATE utf8_unicode_ci NOT NULL ,
`lastname` TEXT COLLATE utf8_unicode_ci NOT NULL ,
`companyname` TEXT COLLATE utf8_unicode_ci NOT NULL ,
`email` TEXT COLLATE utf8_unicode_ci NOT NULL ,
`address1` TEXT COLLATE utf8_unicode_ci NOT NULL ,
`address2` TEXT COLLATE utf8_unicode_ci NOT NULL ,
`city` TEXT COLLATE utf8_unicode_ci NOT NULL ,
`state` TEXT COLLATE utf8_unicode_ci NOT NULL ,
`postcode` TEXT COLLATE utf8_unicode_ci NOT NULL ,
`country` TEXT COLLATE utf8_unicode_ci NOT NULL ,
`phonenumber` TEXT COLLATE utf8_unicode_ci NOT NULL ,
`subtotal` DECIMAL( 10, 2 ) NOT NULL ,
`tax1` DECIMAL( 10, 2 ) NOT NULL ,
`tax2` DECIMAL( 10, 2 ) NOT NULL ,
`total` DECIMAL( 10, 2 ) NOT NULL ,
`customernotes` TEXT COLLATE utf8_unicode_ci NOT NULL ,
`adminnotes` TEXT COLLATE utf8_unicode_ci NOT NULL ,
`datecreated` DATE NOT NULL ,
`lastmodified` DATE NOT NULL
) DEFAULT CHARSET=utf8 COLLATE=utf8_unicode_ci;

CREATE TABLE IF NOT EXISTS `tblquoteitems` (
`id` INT( 10 ) NOT NULL AUTO_INCREMENT PRIMARY KEY ,
`quoteid` INT( 10 ) NOT NULL ,
`description` TEXT COLLATE utf8_unicode_ci NOT NULL ,
`quantity` TEXT COLLATE utf8_unicode_ci NOT NULL ,
`unitprice` DECIMAL( 10, 2 ) NOT NULL ,
`discount` DECIMAL( 10, 2 ) NOT NULL ,
`taxable` INT( 1 ) NOT NULL
) DEFAULT CHARSET=utf8 COLLATE=utf8_unicode_ci;

INSERT INTO `tblemailtemplates` (`id`, `type`, `name`, `subject`, `message`, `fromname`, `fromemail`, `disabled`, `custom`, `language`, `copyto`, `plaintext`) VALUES('', 'general', 'Quote Delivery with PDF', 'Quote #{$quote_number} - {$quote_subject}', '<p>Dear {$client_name},</p>\r\n<p>Here is the quote you requested for {$quote_subject}. The quote is valid until {$quote_valid_until}. You may simply reply to this email with any furthur questions or requirement.</p>\r\n<p>{$signature}</p>', '', '', '', '', '', '', 0);

INSERT INTO `tbladminperms` (`roleid` ,`permid` ) VALUES ('1', '84'), ('1', '85'), ('2', '85');
upgrade723release1.sql000064400000001111147361027270010575 0ustar00UPDATE `tblclients` SET `state`='Yukon' WHERE `state`='Yukon Territory';
UPDATE `tblcontacts` SET `state`='Yukon' WHERE `state`='Yukon Territory';
UPDATE `tblquotes` SET `state`='Yukon' WHERE `state`='Yukon Territory';
UPDATE `tbltax` SET `state`='Yukon' WHERE `state`='Yukon Territory';

UPDATE `tblclients` SET `state`='Uttarakhand' WHERE `state`='Uttaranchal';
UPDATE `tblcontacts` SET `state`='Uttarakhand' WHERE `state`='Uttaranchal';
UPDATE `tblquotes` SET `state`='Uttarakhand' WHERE `state`='Uttaranchal';
UPDATE `tbltax` SET `state`='Uttarakhand' WHERE `state`='Uttaranchal';
upgrade7100alpha1.sql000064400000002637147361027270010334 0ustar00-- Modify the datatype of the namespace_value column of tbllog_register
ALTER table `tbllog_register` modify `namespace_value` mediumtext COLLATE utf8_unicode_ci NOT NULL;

-- Add new field to tblemailmarketer for created_at
set @query = if ((select count(*) from information_schema.columns where table_schema=database() and table_name='tblemailmarketer' and column_name='created_at') = 0, 'alter table `tblemailmarketer` add `created_at` timestamp NOT NULL DEFAULT \'0000-00-00 00:00:00\' AFTER `marketing`', 'DO 0');
prepare statement from @query;
execute statement;
deallocate prepare statement;

-- Add new field to tblemailmarketer for updated_at
set @query = if ((select count(*) from information_schema.columns where table_schema=database() and table_name='tblemailmarketer' and column_name='updated_at') = 0, 'alter table `tblemailmarketer` add `updated_at` timestamp NOT NULL DEFAULT \'0000-00-00 00:00:00\' AFTER `created_at`', 'DO 0');
prepare statement from @query;
execute statement;
deallocate prepare statement;

-- add email_preferences to tblclients
set @query = if ((select count(*) from information_schema.columns where table_schema=database() and table_name='tblclients' and column_name='email_preferences') = 0, 'alter table `tblclients` add `email_preferences` TEXT COLLATE utf8_unicode_ci DEFAULT NULL AFTER `email_verified`', 'DO 0');
prepare statement from @query;
execute statement;
deallocate prepare statement;
upgrade720beta3.sql000064400000001363147361027270010100 0ustar00set @query = if ((select count(*) from information_schema.columns where table_schema=database() and table_name='tbldeviceauth' and column_name='compat_secret') = 0, 'ALTER TABLE `tbldeviceauth` ADD COLUMN `compat_secret` varchar(255) COLLATE utf8_unicode_ci NOT NULL DEFAULT \'\' AFTER `secret`;', 'DO 0;');
prepare statement from @query;
execute statement;
deallocate prepare statement;

set @query = if ((select count(*) from information_schema.columns where table_schema=database() and table_name='tbladdons' and column_name='autolinkby') = 0, 'ALTER TABLE `tbladdons` ADD COLUMN `autolinkby` text COLLATE utf8_unicode_ci NOT NULL DEFAULT \'\' AFTER `weight`;', 'DO 0;');
prepare statement from @query;
execute statement;
deallocate prepare statement;
install/tblticketescalations.data.sql000064400000001135147361027270014067 0ustar00/*!40103 SET @OLD_TIME_ZONE=@@TIME_ZONE */;
/*!40103 SET TIME_ZONE='+00:00' */;
/*!40014 SET @OLD_FOREIGN_KEY_CHECKS=@@FOREIGN_KEY_CHECKS, FOREIGN_KEY_CHECKS=0 */;
/*!40101 SET @OLD_SQL_MODE=@@SQL_MODE, SQL_MODE='NO_AUTO_VALUE_ON_ZERO' */;
/*!40111 SET @OLD_SQL_NOTES=@@SQL_NOTES, SQL_NOTES=0 */;

/*!40000 ALTER TABLE `tblticketescalations` DISABLE KEYS */;
/*!40000 ALTER TABLE `tblticketescalations` ENABLE KEYS */;
/*!40103 SET TIME_ZONE=@OLD_TIME_ZONE */;

/*!40101 SET SQL_MODE=@OLD_SQL_MODE */;
/*!40014 SET FOREIGN_KEY_CHECKS=@OLD_FOREIGN_KEY_CHECKS */;
/*!40111 SET SQL_NOTES=@OLD_SQL_NOTES */;

install/tblauthn_account_links.data.sql000064400000001141147361027270014406 0ustar00/*!40103 SET @OLD_TIME_ZONE=@@TIME_ZONE */;
/*!40103 SET TIME_ZONE='+00:00' */;
/*!40014 SET @OLD_FOREIGN_KEY_CHECKS=@@FOREIGN_KEY_CHECKS, FOREIGN_KEY_CHECKS=0 */;
/*!40101 SET @OLD_SQL_MODE=@@SQL_MODE, SQL_MODE='NO_AUTO_VALUE_ON_ZERO' */;
/*!40111 SET @OLD_SQL_NOTES=@@SQL_NOTES, SQL_NOTES=0 */;

/*!40000 ALTER TABLE `tblauthn_account_links` DISABLE KEYS */;
/*!40000 ALTER TABLE `tblauthn_account_links` ENABLE KEYS */;
/*!40103 SET TIME_ZONE=@OLD_TIME_ZONE */;

/*!40101 SET SQL_MODE=@OLD_SQL_MODE */;
/*!40014 SET FOREIGN_KEY_CHECKS=@OLD_FOREIGN_KEY_CHECKS */;
/*!40111 SET SQL_NOTES=@OLD_SQL_NOTES */;

install/tblclients.schema.sql000064400000007307147361027270012355 0ustar00/*!40103 SET @OLD_TIME_ZONE=@@TIME_ZONE */;
/*!40103 SET TIME_ZONE='+00:00' */;
/*!40014 SET @OLD_UNIQUE_CHECKS=@@UNIQUE_CHECKS, UNIQUE_CHECKS=0 */;
/*!40014 SET @OLD_FOREIGN_KEY_CHECKS=@@FOREIGN_KEY_CHECKS, FOREIGN_KEY_CHECKS=0 */;
/*!40101 SET @OLD_SQL_MODE=@@SQL_MODE, SQL_MODE='NO_AUTO_VALUE_ON_ZERO' */;
/*!40111 SET @OLD_SQL_NOTES=@@SQL_NOTES, SQL_NOTES=0 */;
DROP TABLE IF EXISTS `tblclients`;
/*!40101 SET @saved_cs_client     = @@character_set_client */;
/*!40101 SET character_set_client = utf8 */;
CREATE TABLE `tblclients` (
  `id` int(10) NOT NULL AUTO_INCREMENT,
  `uuid` varchar(255) COLLATE utf8_unicode_ci NOT NULL DEFAULT '',
  `firstname` text COLLATE utf8_unicode_ci NOT NULL,
  `lastname` text COLLATE utf8_unicode_ci NOT NULL,
  `companyname` text COLLATE utf8_unicode_ci NOT NULL,
  `email` text COLLATE utf8_unicode_ci NOT NULL,
  `address1` text COLLATE utf8_unicode_ci NOT NULL,
  `address2` text COLLATE utf8_unicode_ci NOT NULL,
  `city` text COLLATE utf8_unicode_ci NOT NULL,
  `state` text COLLATE utf8_unicode_ci NOT NULL,
  `postcode` text COLLATE utf8_unicode_ci NOT NULL,
  `country` text COLLATE utf8_unicode_ci NOT NULL,
  `phonenumber` text COLLATE utf8_unicode_ci NOT NULL,
  `tax_id` VARCHAR(128) COLLATE utf8_unicode_ci NOT NULL DEFAULT '',
  `password` text COLLATE utf8_unicode_ci NOT NULL,
  `authmodule` text COLLATE utf8_unicode_ci NOT NULL,
  `authdata` text COLLATE utf8_unicode_ci NOT NULL,
  `currency` int(10) NOT NULL,
  `defaultgateway` text COLLATE utf8_unicode_ci NOT NULL,
  `credit` decimal(16,2) NOT NULL,
  `taxexempt` tinyint(1) NOT NULL,
  `latefeeoveride` tinyint(1) NOT NULL,
  `overideduenotices` tinyint(1) NOT NULL,
  `separateinvoices` tinyint(1) NOT NULL,
  `disableautocc` tinyint(1) NOT NULL,
  `datecreated` date NOT NULL,
  `notes` text COLLATE utf8_unicode_ci NOT NULL,
  `billingcid` int(10) NOT NULL,
  `securityqid` int(10) NOT NULL,
  `securityqans` text COLLATE utf8_unicode_ci NOT NULL,
  `groupid` int(10) NOT NULL,
  `cardtype` varchar(255) COLLATE utf8_unicode_ci NOT NULL DEFAULT '',
  `cardlastfour` text COLLATE utf8_unicode_ci NOT NULL,
  `cardnum` blob NOT NULL,
  `startdate` blob NOT NULL,
  `expdate` blob NOT NULL,
  `issuenumber` blob NOT NULL,
  `bankname` text COLLATE utf8_unicode_ci NOT NULL,
  `banktype` text COLLATE utf8_unicode_ci NOT NULL,
  `bankcode` blob NOT NULL,
  `bankacct` blob NOT NULL,
  `gatewayid` text COLLATE utf8_unicode_ci NOT NULL,
  `lastlogin` datetime DEFAULT NULL,
  `ip` text COLLATE utf8_unicode_ci NOT NULL,
  `host` text COLLATE utf8_unicode_ci NOT NULL,
  `status` enum('Active','Inactive','Closed') COLLATE utf8_unicode_ci NOT NULL DEFAULT 'Active',
  `language` text COLLATE utf8_unicode_ci NOT NULL,
  `pwresetkey` text COLLATE utf8_unicode_ci NOT NULL,
  `emailoptout` int(1) NOT NULL,
  `marketing_emails_opt_in` tinyint(1) unsigned NOT NULL DEFAULT '0',
  `overrideautoclose` int(1) NOT NULL,
  `allow_sso` tinyint(1) NOT NULL DEFAULT '1',
  `email_verified` tinyint(1) NOT NULL DEFAULT '0',
  `email_preferences` text COLLATE utf8_unicode_ci,
  `created_at` timestamp NOT NULL DEFAULT '0000-00-00 00:00:00',
  `updated_at` timestamp NOT NULL DEFAULT '0000-00-00 00:00:00',
  `pwresetexpiry` timestamp NOT NULL DEFAULT '0000-00-00 00:00:00',
  PRIMARY KEY (`id`),
  KEY `firstname_lastname` (`firstname`(32),`lastname`(32)),
  KEY `email` (`email`(64)),
  KEY `client_status_id` (`status`, `id`)
) ENGINE=InnoDB DEFAULT CHARSET=utf8 COLLATE=utf8_unicode_ci;
/*!40101 SET character_set_client = @saved_cs_client */;
/*!40103 SET TIME_ZONE=@OLD_TIME_ZONE */;

/*!40101 SET SQL_MODE=@OLD_SQL_MODE */;
/*!40014 SET FOREIGN_KEY_CHECKS=@OLD_FOREIGN_KEY_CHECKS */;
/*!40014 SET UNIQUE_CHECKS=@OLD_UNIQUE_CHECKS */;
/*!40111 SET SQL_NOTES=@OLD_SQL_NOTES */;

install/tblapi_roles.schema.sql000064400000002414147361027270012663 0ustar00/*!40103 SET @OLD_TIME_ZONE=@@TIME_ZONE */;
/*!40103 SET TIME_ZONE='+00:00' */;
/*!40014 SET @OLD_UNIQUE_CHECKS=@@UNIQUE_CHECKS, UNIQUE_CHECKS=0 */;
/*!40014 SET @OLD_FOREIGN_KEY_CHECKS=@@FOREIGN_KEY_CHECKS, FOREIGN_KEY_CHECKS=0 */;
/*!40101 SET @OLD_SQL_MODE=@@SQL_MODE, SQL_MODE='NO_AUTO_VALUE_ON_ZERO' */;
/*!40111 SET @OLD_SQL_NOTES=@@SQL_NOTES, SQL_NOTES=0 */;
DROP TABLE IF EXISTS `tblapi_roles`;
/*!40101 SET @saved_cs_client     = @@character_set_client */;
/*!40101 SET character_set_client = utf8 */;
CREATE TABLE `tblapi_roles` (
  `id` int(10) unsigned NOT NULL AUTO_INCREMENT,
  `role` varchar(255) COLLATE utf8_unicode_ci NOT NULL DEFAULT '',
  `description` varchar(255) COLLATE utf8_unicode_ci NOT NULL DEFAULT '',
  `permissions` text COLLATE utf8_unicode_ci NOT NULL,
  `created_at` timestamp NOT NULL DEFAULT '0000-00-00 00:00:00',
  `updated_at` timestamp NOT NULL DEFAULT '0000-00-00 00:00:00',
  PRIMARY KEY (`id`)
) ENGINE=InnoDB DEFAULT CHARSET=utf8 COLLATE=utf8_unicode_ci;
/*!40101 SET character_set_client = @saved_cs_client */;
/*!40103 SET TIME_ZONE=@OLD_TIME_ZONE */;

/*!40101 SET SQL_MODE=@OLD_SQL_MODE */;
/*!40014 SET FOREIGN_KEY_CHECKS=@OLD_FOREIGN_KEY_CHECKS */;
/*!40014 SET UNIQUE_CHECKS=@OLD_UNIQUE_CHECKS */;
/*!40111 SET SQL_NOTES=@OLD_SQL_NOTES */;

install/tblinvoiceitems.data.sql000064400000001123147361027270013051 0ustar00/*!40103 SET @OLD_TIME_ZONE=@@TIME_ZONE */;
/*!40103 SET TIME_ZONE='+00:00' */;
/*!40014 SET @OLD_FOREIGN_KEY_CHECKS=@@FOREIGN_KEY_CHECKS, FOREIGN_KEY_CHECKS=0 */;
/*!40101 SET @OLD_SQL_MODE=@@SQL_MODE, SQL_MODE='NO_AUTO_VALUE_ON_ZERO' */;
/*!40111 SET @OLD_SQL_NOTES=@@SQL_NOTES, SQL_NOTES=0 */;

/*!40000 ALTER TABLE `tblinvoiceitems` DISABLE KEYS */;
/*!40000 ALTER TABLE `tblinvoiceitems` ENABLE KEYS */;
/*!40103 SET TIME_ZONE=@OLD_TIME_ZONE */;

/*!40101 SET SQL_MODE=@OLD_SQL_MODE */;
/*!40014 SET FOREIGN_KEY_CHECKS=@OLD_FOREIGN_KEY_CHECKS */;
/*!40111 SET SQL_NOTES=@OLD_SQL_NOTES */;

install/tblupgrades.schema.sql000064400000003401147361027270012515 0ustar00/*!40103 SET @OLD_TIME_ZONE=@@TIME_ZONE */;
/*!40103 SET TIME_ZONE='+00:00' */;
/*!40014 SET @OLD_UNIQUE_CHECKS=@@UNIQUE_CHECKS, UNIQUE_CHECKS=0 */;
/*!40014 SET @OLD_FOREIGN_KEY_CHECKS=@@FOREIGN_KEY_CHECKS, FOREIGN_KEY_CHECKS=0 */;
/*!40101 SET @OLD_SQL_MODE=@@SQL_MODE, SQL_MODE='NO_AUTO_VALUE_ON_ZERO' */;
/*!40111 SET @OLD_SQL_NOTES=@@SQL_NOTES, SQL_NOTES=0 */;
DROP TABLE IF EXISTS `tblupgrades`;
/*!40101 SET @saved_cs_client     = @@character_set_client */;
/*!40101 SET character_set_client = utf8 */;
CREATE TABLE `tblupgrades` (
  `id` int(10) NOT NULL AUTO_INCREMENT,
  `userid` int(10) NOT NULL,
  `orderid` int(10) NOT NULL,
  `type` enum('service','addon','package','configoptions') COLLATE utf8_unicode_ci NOT NULL,
  `date` date NOT NULL,
  `relid` int(10) NOT NULL,
  `originalvalue` text COLLATE utf8_unicode_ci NOT NULL,
  `newvalue` text COLLATE utf8_unicode_ci NOT NULL,
  `new_cycle` varchar(30) COLLATE utf8_unicode_ci NOT NULL,
  `amount` decimal(16,2) NOT NULL,
  `credit_amount` decimal(16,2) NOT NULL,
  `days_remaining` int(4) NOT NULL,
  `total_days_in_cycle` int(4) NOT NULL,
  `new_recurring_amount` decimal(16,2) NOT NULL,
  `recurringchange` decimal(16,2) NOT NULL,
  `status` enum('Pending','Completed') COLLATE utf8_unicode_ci NOT NULL DEFAULT 'Pending',
  `paid` enum('Y','N') COLLATE utf8_unicode_ci NOT NULL DEFAULT 'N',
  PRIMARY KEY (`id`),
  KEY `orderid` (`orderid`),
  KEY `serviceid` (`relid`)
) ENGINE=InnoDB DEFAULT CHARSET=utf8 COLLATE=utf8_unicode_ci;
/*!40101 SET character_set_client = @saved_cs_client */;
/*!40103 SET TIME_ZONE=@OLD_TIME_ZONE */;

/*!40101 SET SQL_MODE=@OLD_SQL_MODE */;
/*!40014 SET FOREIGN_KEY_CHECKS=@OLD_FOREIGN_KEY_CHECKS */;
/*!40014 SET UNIQUE_CHECKS=@OLD_UNIQUE_CHECKS */;
/*!40111 SET SQL_NOTES=@OLD_SQL_NOTES */;

install/tblgatewaylog.data.sql000064400000001117147361027270012521 0ustar00/*!40103 SET @OLD_TIME_ZONE=@@TIME_ZONE */;
/*!40103 SET TIME_ZONE='+00:00' */;
/*!40014 SET @OLD_FOREIGN_KEY_CHECKS=@@FOREIGN_KEY_CHECKS, FOREIGN_KEY_CHECKS=0 */;
/*!40101 SET @OLD_SQL_MODE=@@SQL_MODE, SQL_MODE='NO_AUTO_VALUE_ON_ZERO' */;
/*!40111 SET @OLD_SQL_NOTES=@@SQL_NOTES, SQL_NOTES=0 */;

/*!40000 ALTER TABLE `tblgatewaylog` DISABLE KEYS */;
/*!40000 ALTER TABLE `tblgatewaylog` ENABLE KEYS */;
/*!40103 SET TIME_ZONE=@OLD_TIME_ZONE */;

/*!40101 SET SQL_MODE=@OLD_SQL_MODE */;
/*!40014 SET FOREIGN_KEY_CHECKS=@OLD_FOREIGN_KEY_CHECKS */;
/*!40111 SET SQL_NOTES=@OLD_SQL_NOTES */;

install/tbloauthserver_client_scopes.schema.sql000064400000002224147361027270016166 0ustar00/*!40103 SET @OLD_TIME_ZONE=@@TIME_ZONE */;
/*!40103 SET TIME_ZONE='+00:00' */;
/*!40014 SET @OLD_UNIQUE_CHECKS=@@UNIQUE_CHECKS, UNIQUE_CHECKS=0 */;
/*!40014 SET @OLD_FOREIGN_KEY_CHECKS=@@FOREIGN_KEY_CHECKS, FOREIGN_KEY_CHECKS=0 */;
/*!40101 SET @OLD_SQL_MODE=@@SQL_MODE, SQL_MODE='NO_AUTO_VALUE_ON_ZERO' */;
/*!40111 SET @OLD_SQL_NOTES=@@SQL_NOTES, SQL_NOTES=0 */;
DROP TABLE IF EXISTS `tbloauthserver_client_scopes`;
/*!40101 SET @saved_cs_client     = @@character_set_client */;
/*!40101 SET character_set_client = utf8 */;
CREATE TABLE `tbloauthserver_client_scopes` (
  `id` int(10) NOT NULL AUTO_INCREMENT,
  `client_id` int(10) unsigned NOT NULL DEFAULT '0',
  `scope_id` int(10) unsigned NOT NULL DEFAULT '0',
  PRIMARY KEY (`id`),
  KEY `tbloauthserver_client_scopes_scope_id_index` (`client_id`,`scope_id`)
) ENGINE=InnoDB DEFAULT CHARSET=utf8 COLLATE=utf8_unicode_ci;
/*!40101 SET character_set_client = @saved_cs_client */;
/*!40103 SET TIME_ZONE=@OLD_TIME_ZONE */;

/*!40101 SET SQL_MODE=@OLD_SQL_MODE */;
/*!40014 SET FOREIGN_KEY_CHECKS=@OLD_FOREIGN_KEY_CHECKS */;
/*!40014 SET UNIQUE_CHECKS=@OLD_UNIQUE_CHECKS */;
/*!40111 SET SQL_NOTES=@OLD_SQL_NOTES */;

install/tblpaymentgateways.schema.sql000064400000002345147361027270014133 0ustar00/*!40103 SET @OLD_TIME_ZONE=@@TIME_ZONE */;
/*!40103 SET TIME_ZONE='+00:00' */;
/*!40014 SET @OLD_UNIQUE_CHECKS=@@UNIQUE_CHECKS, UNIQUE_CHECKS=0 */;
/*!40014 SET @OLD_FOREIGN_KEY_CHECKS=@@FOREIGN_KEY_CHECKS, FOREIGN_KEY_CHECKS=0 */;
/*!40101 SET @OLD_SQL_MODE=@@SQL_MODE, SQL_MODE='NO_AUTO_VALUE_ON_ZERO' */;
/*!40111 SET @OLD_SQL_NOTES=@@SQL_NOTES, SQL_NOTES=0 */;
DROP TABLE IF EXISTS `tblpaymentgateways`;
/*!40101 SET @saved_cs_client     = @@character_set_client */;
/*!40101 SET character_set_client = utf8 */;
CREATE TABLE `tblpaymentgateways` (
  `id` int(10) NOT NULL AUTO_INCREMENT,
  `gateway` text COLLATE utf8_unicode_ci NOT NULL,
  `setting` text COLLATE utf8_unicode_ci NOT NULL,
  `value` text COLLATE utf8_unicode_ci NOT NULL,
  `order` int(1) NOT NULL,
  PRIMARY KEY (`id`),
  KEY `gateway_setting` (`gateway`(32),`setting`(32)),
  KEY `setting_value` (`setting`(32),`value`(32))
) ENGINE=InnoDB DEFAULT CHARSET=utf8 COLLATE=utf8_unicode_ci;
/*!40101 SET character_set_client = @saved_cs_client */;
/*!40103 SET TIME_ZONE=@OLD_TIME_ZONE */;

/*!40101 SET SQL_MODE=@OLD_SQL_MODE */;
/*!40014 SET FOREIGN_KEY_CHECKS=@OLD_FOREIGN_KEY_CHECKS */;
/*!40014 SET UNIQUE_CHECKS=@OLD_UNIQUE_CHECKS */;
/*!40111 SET SQL_NOTES=@OLD_SQL_NOTES */;

install/tblhostingconfigoptions.data.sql000064400000001143147361027270014632 0ustar00/*!40103 SET @OLD_TIME_ZONE=@@TIME_ZONE */;
/*!40103 SET TIME_ZONE='+00:00' */;
/*!40014 SET @OLD_FOREIGN_KEY_CHECKS=@@FOREIGN_KEY_CHECKS, FOREIGN_KEY_CHECKS=0 */;
/*!40101 SET @OLD_SQL_MODE=@@SQL_MODE, SQL_MODE='NO_AUTO_VALUE_ON_ZERO' */;
/*!40111 SET @OLD_SQL_NOTES=@@SQL_NOTES, SQL_NOTES=0 */;

/*!40000 ALTER TABLE `tblhostingconfigoptions` DISABLE KEYS */;
/*!40000 ALTER TABLE `tblhostingconfigoptions` ENABLE KEYS */;
/*!40103 SET TIME_ZONE=@OLD_TIME_ZONE */;

/*!40101 SET SQL_MODE=@OLD_SQL_MODE */;
/*!40014 SET FOREIGN_KEY_CHECKS=@OLD_FOREIGN_KEY_CHECKS */;
/*!40111 SET SQL_NOTES=@OLD_SQL_NOTES */;

install/tblapplinks.schema.sql000064400000002410147361027270012523 0ustar00/*!40103 SET @OLD_TIME_ZONE=@@TIME_ZONE */;
/*!40103 SET TIME_ZONE='+00:00' */;
/*!40014 SET @OLD_UNIQUE_CHECKS=@@UNIQUE_CHECKS, UNIQUE_CHECKS=0 */;
/*!40014 SET @OLD_FOREIGN_KEY_CHECKS=@@FOREIGN_KEY_CHECKS, FOREIGN_KEY_CHECKS=0 */;
/*!40101 SET @OLD_SQL_MODE=@@SQL_MODE, SQL_MODE='NO_AUTO_VALUE_ON_ZERO' */;
/*!40111 SET @OLD_SQL_NOTES=@@SQL_NOTES, SQL_NOTES=0 */;
DROP TABLE IF EXISTS `tblapplinks`;
/*!40101 SET @saved_cs_client     = @@character_set_client */;
/*!40101 SET character_set_client = utf8 */;
CREATE TABLE `tblapplinks` (
  `id` int(10) unsigned NOT NULL AUTO_INCREMENT,
  `module_type` varchar(20) COLLATE utf8_unicode_ci NOT NULL DEFAULT '',
  `module_name` varchar(50) COLLATE utf8_unicode_ci NOT NULL DEFAULT '',
  `is_enabled` tinyint(4) NOT NULL DEFAULT '0',
  `created_at` timestamp NOT NULL DEFAULT '0000-00-00 00:00:00',
  `updated_at` timestamp NOT NULL DEFAULT '0000-00-00 00:00:00',
  PRIMARY KEY (`id`)
) ENGINE=InnoDB DEFAULT CHARSET=utf8 COLLATE=utf8_unicode_ci;
/*!40101 SET character_set_client = @saved_cs_client */;
/*!40103 SET TIME_ZONE=@OLD_TIME_ZONE */;

/*!40101 SET SQL_MODE=@OLD_SQL_MODE */;
/*!40014 SET FOREIGN_KEY_CHECKS=@OLD_FOREIGN_KEY_CHECKS */;
/*!40014 SET UNIQUE_CHECKS=@OLD_UNIQUE_CHECKS */;
/*!40111 SET SQL_NOTES=@OLD_SQL_NOTES */;

install/tblwhoislog.data.sql000064400000001113147361027270012205 0ustar00/*!40103 SET @OLD_TIME_ZONE=@@TIME_ZONE */;
/*!40103 SET TIME_ZONE='+00:00' */;
/*!40014 SET @OLD_FOREIGN_KEY_CHECKS=@@FOREIGN_KEY_CHECKS, FOREIGN_KEY_CHECKS=0 */;
/*!40101 SET @OLD_SQL_MODE=@@SQL_MODE, SQL_MODE='NO_AUTO_VALUE_ON_ZERO' */;
/*!40111 SET @OLD_SQL_NOTES=@@SQL_NOTES, SQL_NOTES=0 */;

/*!40000 ALTER TABLE `tblwhoislog` DISABLE KEYS */;
/*!40000 ALTER TABLE `tblwhoislog` ENABLE KEYS */;
/*!40103 SET TIME_ZONE=@OLD_TIME_ZONE */;

/*!40101 SET SQL_MODE=@OLD_SQL_MODE */;
/*!40014 SET FOREIGN_KEY_CHECKS=@OLD_FOREIGN_KEY_CHECKS */;
/*!40111 SET SQL_NOTES=@OLD_SQL_NOTES */;

install/tbluser_invites.schema.sql000064400000002610147361027270013423 0ustar00/*!40103 SET @OLD_TIME_ZONE=@@TIME_ZONE */;
/*!40103 SET TIME_ZONE='+00:00' */;
/*!40014 SET @OLD_UNIQUE_CHECKS=@@UNIQUE_CHECKS, UNIQUE_CHECKS=0 */;
/*!40014 SET @OLD_FOREIGN_KEY_CHECKS=@@FOREIGN_KEY_CHECKS, FOREIGN_KEY_CHECKS=0 */;
/*!40101 SET @OLD_SQL_MODE=@@SQL_MODE, SQL_MODE='NO_AUTO_VALUE_ON_ZERO' */;
/*!40111 SET @OLD_SQL_NOTES=@@SQL_NOTES, SQL_NOTES=0 */;
DROP TABLE IF EXISTS `tbluser_invites`;
/*!40101 SET @saved_cs_client     = @@character_set_client */;
/*!40101 SET character_set_client = utf8 */;
CREATE TABLE `tbluser_invites` (
  `id` int(10) unsigned NOT NULL AUTO_INCREMENT,
  `token` varchar(100) NOT NULL DEFAULT '',
  `email` varchar(255) NOT NULL DEFAULT '',
  `client_id` int(10) unsigned NOT NULL DEFAULT '0',
  `invited_by` int(10) unsigned NOT NULL DEFAULT '0',
  `invited_by_admin` tinyint NOT NULL DEFAULT '0',
  `permissions` text,
  `accepted_at` timestamp NULL DEFAULT NULL,
  `created_at` timestamp NULL DEFAULT NULL,
  `updated_at` timestamp NULL DEFAULT NULL,
  `deleted_at` timestamp NULL DEFAULT NULL,
  PRIMARY KEY (`id`)
) ENGINE=InnoDB DEFAULT CHARSET=utf8 COLLATE=utf8_unicode_ci;
/*!40101 SET character_set_client = @saved_cs_client */;
/*!40103 SET TIME_ZONE=@OLD_TIME_ZONE */;

/*!40101 SET SQL_MODE=@OLD_SQL_MODE */;
/*!40014 SET FOREIGN_KEY_CHECKS=@OLD_FOREIGN_KEY_CHECKS */;
/*!40014 SET UNIQUE_CHECKS=@OLD_UNIQUE_CHECKS */;
/*!40111 SET SQL_NOTES=@OLD_SQL_NOTES */;
install/tblpaymentgateways.data.sql000064400000001312147361027270013575 0ustar00/*!40103 SET @OLD_TIME_ZONE=@@TIME_ZONE */;
/*!40103 SET TIME_ZONE='+00:00' */;
/*!40014 SET @OLD_FOREIGN_KEY_CHECKS=@@FOREIGN_KEY_CHECKS, FOREIGN_KEY_CHECKS=0 */;
/*!40101 SET @OLD_SQL_MODE=@@SQL_MODE, SQL_MODE='NO_AUTO_VALUE_ON_ZERO' */;
/*!40111 SET @OLD_SQL_NOTES=@@SQL_NOTES, SQL_NOTES=0 */;

/*!40000 ALTER TABLE `tblpaymentgateways` DISABLE KEYS */;
INSERT INTO `tblpaymentgateways` VALUES (1,'paypal','forcesubscriptions','',0),(2,'paypal','forceonetime','',0);
/*!40000 ALTER TABLE `tblpaymentgateways` ENABLE KEYS */;
/*!40103 SET TIME_ZONE=@OLD_TIME_ZONE */;

/*!40101 SET SQL_MODE=@OLD_SQL_MODE */;
/*!40014 SET FOREIGN_KEY_CHECKS=@OLD_FOREIGN_KEY_CHECKS */;
/*!40111 SET SQL_NOTES=@OLD_SQL_NOTES */;

install/tbloauthserver_access_token_scopes.data.sql000064400000001171147361027270017022 0ustar00/*!40103 SET @OLD_TIME_ZONE=@@TIME_ZONE */;
/*!40103 SET TIME_ZONE='+00:00' */;
/*!40014 SET @OLD_FOREIGN_KEY_CHECKS=@@FOREIGN_KEY_CHECKS, FOREIGN_KEY_CHECKS=0 */;
/*!40101 SET @OLD_SQL_MODE=@@SQL_MODE, SQL_MODE='NO_AUTO_VALUE_ON_ZERO' */;
/*!40111 SET @OLD_SQL_NOTES=@@SQL_NOTES, SQL_NOTES=0 */;

/*!40000 ALTER TABLE `tbloauthserver_access_token_scopes` DISABLE KEYS */;
/*!40000 ALTER TABLE `tbloauthserver_access_token_scopes` ENABLE KEYS */;
/*!40103 SET TIME_ZONE=@OLD_TIME_ZONE */;

/*!40101 SET SQL_MODE=@OLD_SQL_MODE */;
/*!40014 SET FOREIGN_KEY_CHECKS=@OLD_FOREIGN_KEY_CHECKS */;
/*!40111 SET SQL_NOTES=@OLD_SQL_NOTES */;

install/tblapilog.schema.sql000064400000003002147361027270012153 0ustar00/*!40103 SET @OLD_TIME_ZONE=@@TIME_ZONE */;
/*!40103 SET TIME_ZONE='+00:00' */;
/*!40014 SET @OLD_UNIQUE_CHECKS=@@UNIQUE_CHECKS, UNIQUE_CHECKS=0 */;
/*!40014 SET @OLD_FOREIGN_KEY_CHECKS=@@FOREIGN_KEY_CHECKS, FOREIGN_KEY_CHECKS=0 */;
/*!40101 SET @OLD_SQL_MODE=@@SQL_MODE, SQL_MODE='NO_AUTO_VALUE_ON_ZERO' */;
/*!40111 SET @OLD_SQL_NOTES=@@SQL_NOTES, SQL_NOTES=0 */;
DROP TABLE IF EXISTS `tblapilog`;
/*!40101 SET @saved_cs_client     = @@character_set_client */;
/*!40101 SET character_set_client = utf8 */;
CREATE TABLE `tblapilog` (
  `id` int(10) unsigned NOT NULL AUTO_INCREMENT,
  `action` varchar(255) COLLATE utf8_unicode_ci NOT NULL DEFAULT '',
  `endpoint` varchar(255) NULL,
  `method` enum('GET', 'POST', 'PUT', 'PATCH', 'DELETE') NULL,
  `request` text COLLATE utf8_unicode_ci NOT NULL,
  `request_headers` text NULL,
  `response` text COLLATE utf8_unicode_ci NOT NULL,
  `response_status` int(11) NOT NULL DEFAULT '0',
  `response_headers` text COLLATE utf8_unicode_ci NOT NULL,
  `level` int(11) NOT NULL DEFAULT '0',
  `created_at` timestamp NOT NULL DEFAULT '0000-00-00 00:00:00',
  `updated_at` timestamp NOT NULL DEFAULT '0000-00-00 00:00:00',
  PRIMARY KEY (`id`)
) ENGINE=InnoDB DEFAULT CHARSET=utf8 COLLATE=utf8_unicode_ci;
/*!40101 SET character_set_client = @saved_cs_client */;
/*!40103 SET TIME_ZONE=@OLD_TIME_ZONE */;

/*!40101 SET SQL_MODE=@OLD_SQL_MODE */;
/*!40014 SET FOREIGN_KEY_CHECKS=@OLD_FOREIGN_KEY_CHECKS */;
/*!40014 SET UNIQUE_CHECKS=@OLD_UNIQUE_CHECKS */;
/*!40111 SET SQL_NOTES=@OLD_SQL_NOTES */;

install/tblsessions.data.sql000064400000001302147361027270012220 0ustar00/*!40103 SET @OLD_TIME_ZONE=@@TIME_ZONE */;
/*!40103 SET TIME_ZONE='+00:00' */;
/*!40014 SET @OLD_UNIQUE_CHECKS=@@UNIQUE_CHECKS, UNIQUE_CHECKS=0 */;
/*!40014 SET @OLD_FOREIGN_KEY_CHECKS=@@FOREIGN_KEY_CHECKS, FOREIGN_KEY_CHECKS=0 */;
/*!40101 SET @OLD_SQL_MODE=@@SQL_MODE, SQL_MODE='NO_AUTO_VALUE_ON_ZERO' */;
/*!40111 SET @OLD_SQL_NOTES=@@SQL_NOTES, SQL_NOTES=0 */;

/*!40000 ALTER TABLE `tblsessions` DISABLE KEYS */;
/*!40000 ALTER TABLE `tblsessions` ENABLE KEYS */;
/*!40103 SET TIME_ZONE=@OLD_TIME_ZONE */;

/*!40101 SET SQL_MODE=@OLD_SQL_MODE */;
/*!40014 SET FOREIGN_KEY_CHECKS=@OLD_FOREIGN_KEY_CHECKS */;
/*!40014 SET UNIQUE_CHECKS=@OLD_UNIQUE_CHECKS */;
/*!40111 SET SQL_NOTES=@OLD_SQL_NOTES */;

install/tblproduct_upgrade_products.schema.sql000064400000002512147361027270016017 0ustar00/*!40103 SET @OLD_TIME_ZONE=@@TIME_ZONE */;
/*!40103 SET TIME_ZONE='+00:00' */;
/*!40014 SET @OLD_UNIQUE_CHECKS=@@UNIQUE_CHECKS, UNIQUE_CHECKS=0 */;
/*!40014 SET @OLD_FOREIGN_KEY_CHECKS=@@FOREIGN_KEY_CHECKS, FOREIGN_KEY_CHECKS=0 */;
/*!40101 SET @OLD_SQL_MODE=@@SQL_MODE, SQL_MODE='NO_AUTO_VALUE_ON_ZERO' */;
/*!40111 SET @OLD_SQL_NOTES=@@SQL_NOTES, SQL_NOTES=0 */;
DROP TABLE IF EXISTS `tblproduct_upgrade_products`;
/*!40101 SET @saved_cs_client     = @@character_set_client */;
/*!40101 SET character_set_client = utf8 */;
CREATE TABLE `tblproduct_upgrade_products` (
  `id` int(10) unsigned NOT NULL AUTO_INCREMENT,
  `product_id` int(10) NOT NULL,
  `upgrade_product_id` int(10) NOT NULL,
  `created_at` timestamp NOT NULL DEFAULT '0000-00-00 00:00:00',
  `updated_at` timestamp NOT NULL DEFAULT '0000-00-00 00:00:00',
  PRIMARY KEY (`id`),
  KEY `tblproduct_upgrade_products_product_id_index` (`product_id`),
  KEY `tblproduct_upgrade_products_upgrade_product_id_index` (`upgrade_product_id`)
) ENGINE=InnoDB DEFAULT CHARSET=utf8 COLLATE=utf8_unicode_ci;
/*!40101 SET character_set_client = @saved_cs_client */;
/*!40103 SET TIME_ZONE=@OLD_TIME_ZONE */;

/*!40101 SET SQL_MODE=@OLD_SQL_MODE */;
/*!40014 SET FOREIGN_KEY_CHECKS=@OLD_FOREIGN_KEY_CHECKS */;
/*!40014 SET UNIQUE_CHECKS=@OLD_UNIQUE_CHECKS */;
/*!40111 SET SQL_NOTES=@OLD_SQL_NOTES */;

install/tblproductconfiglinks.data.sql000064400000001137147361027270014267 0ustar00/*!40103 SET @OLD_TIME_ZONE=@@TIME_ZONE */;
/*!40103 SET TIME_ZONE='+00:00' */;
/*!40014 SET @OLD_FOREIGN_KEY_CHECKS=@@FOREIGN_KEY_CHECKS, FOREIGN_KEY_CHECKS=0 */;
/*!40101 SET @OLD_SQL_MODE=@@SQL_MODE, SQL_MODE='NO_AUTO_VALUE_ON_ZERO' */;
/*!40111 SET @OLD_SQL_NOTES=@@SQL_NOTES, SQL_NOTES=0 */;

/*!40000 ALTER TABLE `tblproductconfiglinks` DISABLE KEYS */;
/*!40000 ALTER TABLE `tblproductconfiglinks` ENABLE KEYS */;
/*!40103 SET TIME_ZONE=@OLD_TIME_ZONE */;

/*!40101 SET SQL_MODE=@OLD_SQL_MODE */;
/*!40014 SET FOREIGN_KEY_CHECKS=@OLD_FOREIGN_KEY_CHECKS */;
/*!40111 SET SQL_NOTES=@OLD_SQL_NOTES */;

install/tblproducts_slugs_tracking.schema.sql000064400000002374147361027270015655 0ustar00/*!40103 SET @OLD_TIME_ZONE=@@TIME_ZONE */;
/*!40103 SET TIME_ZONE='+00:00' */;
/*!40014 SET @OLD_UNIQUE_CHECKS=@@UNIQUE_CHECKS, UNIQUE_CHECKS=0 */;
/*!40014 SET @OLD_FOREIGN_KEY_CHECKS=@@FOREIGN_KEY_CHECKS, FOREIGN_KEY_CHECKS=0 */;
/*!40101 SET @OLD_SQL_MODE=@@SQL_MODE, SQL_MODE='NO_AUTO_VALUE_ON_ZERO' */;
/*!40111 SET @OLD_SQL_NOTES=@@SQL_NOTES, SQL_NOTES=0 */;
DROP TABLE IF EXISTS `tblproducts_slugs_tracking`;
/*!40101 SET @saved_cs_client     = @@character_set_client */;
/*!40101 SET character_set_client = utf8 */;
CREATE TABLE `tblproducts_slugs_tracking` (
  `id` int(10) unsigned NOT NULL AUTO_INCREMENT,
  `slug_id` int(10) unsigned NOT NULL,
  `date` date NOT NULL DEFAULT '0000-00-00',
  `clicks` int(10) unsigned NOT NULL DEFAULT 0,
  `created_at` timestamp NULL DEFAULT NULL,
  `updated_at` timestamp NULL DEFAULT NULL,
  PRIMARY KEY (`id`),
  KEY `tblproducts_slugs_tracking_slug_id_index` (`slug_id`)
) ENGINE=InnoDB DEFAULT CHARSET=utf8 COLLATE=utf8_unicode_ci;
/*!40101 SET character_set_client = @saved_cs_client */;
/*!40103 SET TIME_ZONE=@OLD_TIME_ZONE */;

/*!40101 SET SQL_MODE=@OLD_SQL_MODE */;
/*!40014 SET FOREIGN_KEY_CHECKS=@OLD_FOREIGN_KEY_CHECKS */;
/*!40014 SET UNIQUE_CHECKS=@OLD_UNIQUE_CHECKS */;
/*!40111 SET SQL_NOTES=@OLD_SQL_NOTES */;

install/tblnotificationproviders.schema.sql000064400000002403147361027270015330 0ustar00/*!40103 SET @OLD_TIME_ZONE=@@TIME_ZONE */;
/*!40103 SET TIME_ZONE='+00:00' */;
/*!40014 SET @OLD_UNIQUE_CHECKS=@@UNIQUE_CHECKS, UNIQUE_CHECKS=0 */;
/*!40014 SET @OLD_FOREIGN_KEY_CHECKS=@@FOREIGN_KEY_CHECKS, FOREIGN_KEY_CHECKS=0 */;
/*!40101 SET @OLD_SQL_MODE=@@SQL_MODE, SQL_MODE='NO_AUTO_VALUE_ON_ZERO' */;
/*!40111 SET @OLD_SQL_NOTES=@@SQL_NOTES, SQL_NOTES=0 */;
DROP TABLE IF EXISTS `tblnotificationproviders`;
/*!40101 SET @saved_cs_client     = @@character_set_client */;
/*!40101 SET character_set_client = utf8 */;
CREATE TABLE `tblnotificationproviders` (
  `id` int(10) unsigned NOT NULL AUTO_INCREMENT,
  `name` varchar(255) COLLATE utf8_unicode_ci NOT NULL DEFAULT '',
  `settings` text COLLATE utf8_unicode_ci NOT NULL,
  `active` tinyint(4) NOT NULL DEFAULT '0',
  `created_at` timestamp NOT NULL DEFAULT '0000-00-00 00:00:00',
  `updated_at` timestamp NOT NULL DEFAULT '0000-00-00 00:00:00',
  PRIMARY KEY (`id`)
) ENGINE=InnoDB DEFAULT CHARSET=utf8 COLLATE=utf8_unicode_ci;
/*!40101 SET character_set_client = @saved_cs_client */;
/*!40103 SET TIME_ZONE=@OLD_TIME_ZONE */;

/*!40101 SET SQL_MODE=@OLD_SQL_MODE */;
/*!40014 SET FOREIGN_KEY_CHECKS=@OLD_FOREIGN_KEY_CHECKS */;
/*!40014 SET UNIQUE_CHECKS=@OLD_UNIQUE_CHECKS */;
/*!40111 SET SQL_NOTES=@OLD_SQL_NOTES */;

install/tblknowledgebase_images.data.sql000064400000001143147361027270014514 0ustar00/*!40103 SET @OLD_TIME_ZONE=@@TIME_ZONE */;
/*!40103 SET TIME_ZONE='+00:00' */;
/*!40014 SET @OLD_FOREIGN_KEY_CHECKS=@@FOREIGN_KEY_CHECKS, FOREIGN_KEY_CHECKS=0 */;
/*!40101 SET @OLD_SQL_MODE=@@SQL_MODE, SQL_MODE='NO_AUTO_VALUE_ON_ZERO' */;
/*!40111 SET @OLD_SQL_NOTES=@@SQL_NOTES, SQL_NOTES=0 */;

/*!40000 ALTER TABLE `tblknowledgebase_images` DISABLE KEYS */;
/*!40000 ALTER TABLE `tblknowledgebase_images` ENABLE KEYS */;
/*!40103 SET TIME_ZONE=@OLD_TIME_ZONE */;

/*!40101 SET SQL_MODE=@OLD_SQL_MODE */;
/*!40014 SET FOREIGN_KEY_CHECKS=@OLD_FOREIGN_KEY_CHECKS */;
/*!40111 SET SQL_NOTES=@OLD_SQL_NOTES */;

install/tbloauthserver_scopes.schema.sql000064400000002511147361027270014627 0ustar00/*!40103 SET @OLD_TIME_ZONE=@@TIME_ZONE */;
/*!40103 SET TIME_ZONE='+00:00' */;
/*!40014 SET @OLD_UNIQUE_CHECKS=@@UNIQUE_CHECKS, UNIQUE_CHECKS=0 */;
/*!40014 SET @OLD_FOREIGN_KEY_CHECKS=@@FOREIGN_KEY_CHECKS, FOREIGN_KEY_CHECKS=0 */;
/*!40101 SET @OLD_SQL_MODE=@@SQL_MODE, SQL_MODE='NO_AUTO_VALUE_ON_ZERO' */;
/*!40111 SET @OLD_SQL_NOTES=@@SQL_NOTES, SQL_NOTES=0 */;
DROP TABLE IF EXISTS `tbloauthserver_scopes`;
/*!40101 SET @saved_cs_client     = @@character_set_client */;
/*!40101 SET character_set_client = utf8 */;
CREATE TABLE `tbloauthserver_scopes` (
  `id` int(10) unsigned NOT NULL AUTO_INCREMENT,
  `scope` varchar(80) COLLATE utf8_unicode_ci NOT NULL,
  `description` varchar(255) COLLATE utf8_unicode_ci NOT NULL DEFAULT '',
  `is_default` tinyint(4) NOT NULL DEFAULT '0',
  `created_at` timestamp NOT NULL DEFAULT '0000-00-00 00:00:00',
  `updated_at` timestamp NOT NULL DEFAULT '0000-00-00 00:00:00',
  PRIMARY KEY (`id`),
  UNIQUE KEY `tbloauthserver_scopes_scope_unique` (`scope`)
) ENGINE=InnoDB DEFAULT CHARSET=utf8 COLLATE=utf8_unicode_ci;
/*!40101 SET character_set_client = @saved_cs_client */;
/*!40103 SET TIME_ZONE=@OLD_TIME_ZONE */;

/*!40101 SET SQL_MODE=@OLD_SQL_MODE */;
/*!40014 SET FOREIGN_KEY_CHECKS=@OLD_FOREIGN_KEY_CHECKS */;
/*!40014 SET UNIQUE_CHECKS=@OLD_UNIQUE_CHECKS */;
/*!40111 SET SQL_NOTES=@OLD_SQL_NOTES */;

install/tbldomains_extra.data.sql000064400000001125147361027270013212 0ustar00/*!40103 SET @OLD_TIME_ZONE=@@TIME_ZONE */;
/*!40103 SET TIME_ZONE='+00:00' */;
/*!40014 SET @OLD_FOREIGN_KEY_CHECKS=@@FOREIGN_KEY_CHECKS, FOREIGN_KEY_CHECKS=0 */;
/*!40101 SET @OLD_SQL_MODE=@@SQL_MODE, SQL_MODE='NO_AUTO_VALUE_ON_ZERO' */;
/*!40111 SET @OLD_SQL_NOTES=@@SQL_NOTES, SQL_NOTES=0 */;

/*!40000 ALTER TABLE `tbldomains_extra` DISABLE KEYS */;
/*!40000 ALTER TABLE `tbldomains_extra` ENABLE KEYS */;
/*!40103 SET TIME_ZONE=@OLD_TIME_ZONE */;

/*!40101 SET SQL_MODE=@OLD_SQL_MODE */;
/*!40014 SET FOREIGN_KEY_CHECKS=@OLD_FOREIGN_KEY_CHECKS */;
/*!40111 SET SQL_NOTES=@OLD_SQL_NOTES */;

install/tblclientsfiles.schema.sql000064400000002201147361027270013364 0ustar00/*!40103 SET @OLD_TIME_ZONE=@@TIME_ZONE */;
/*!40103 SET TIME_ZONE='+00:00' */;
/*!40014 SET @OLD_UNIQUE_CHECKS=@@UNIQUE_CHECKS, UNIQUE_CHECKS=0 */;
/*!40014 SET @OLD_FOREIGN_KEY_CHECKS=@@FOREIGN_KEY_CHECKS, FOREIGN_KEY_CHECKS=0 */;
/*!40101 SET @OLD_SQL_MODE=@@SQL_MODE, SQL_MODE='NO_AUTO_VALUE_ON_ZERO' */;
/*!40111 SET @OLD_SQL_NOTES=@@SQL_NOTES, SQL_NOTES=0 */;
DROP TABLE IF EXISTS `tblclientsfiles`;
/*!40101 SET @saved_cs_client     = @@character_set_client */;
/*!40101 SET character_set_client = utf8 */;
CREATE TABLE `tblclientsfiles` (
  `id` int(10) NOT NULL AUTO_INCREMENT,
  `userid` int(10) NOT NULL,
  `title` text COLLATE utf8_unicode_ci NOT NULL,
  `filename` text COLLATE utf8_unicode_ci NOT NULL,
  `adminonly` int(1) NOT NULL,
  `dateadded` date NOT NULL,
  PRIMARY KEY (`id`)
) ENGINE=InnoDB DEFAULT CHARSET=utf8 COLLATE=utf8_unicode_ci;
/*!40101 SET character_set_client = @saved_cs_client */;
/*!40103 SET TIME_ZONE=@OLD_TIME_ZONE */;

/*!40101 SET SQL_MODE=@OLD_SQL_MODE */;
/*!40014 SET FOREIGN_KEY_CHECKS=@OLD_FOREIGN_KEY_CHECKS */;
/*!40014 SET UNIQUE_CHECKS=@OLD_UNIQUE_CHECKS */;
/*!40111 SET SQL_NOTES=@OLD_SQL_NOTES */;

install/tbloauthserver_authcode_scopes.data.sql000064400000001161147361027270016154 0ustar00/*!40103 SET @OLD_TIME_ZONE=@@TIME_ZONE */;
/*!40103 SET TIME_ZONE='+00:00' */;
/*!40014 SET @OLD_FOREIGN_KEY_CHECKS=@@FOREIGN_KEY_CHECKS, FOREIGN_KEY_CHECKS=0 */;
/*!40101 SET @OLD_SQL_MODE=@@SQL_MODE, SQL_MODE='NO_AUTO_VALUE_ON_ZERO' */;
/*!40111 SET @OLD_SQL_NOTES=@@SQL_NOTES, SQL_NOTES=0 */;

/*!40000 ALTER TABLE `tbloauthserver_authcode_scopes` DISABLE KEYS */;
/*!40000 ALTER TABLE `tbloauthserver_authcode_scopes` ENABLE KEYS */;
/*!40103 SET TIME_ZONE=@OLD_TIME_ZONE */;

/*!40101 SET SQL_MODE=@OLD_SQL_MODE */;
/*!40014 SET FOREIGN_KEY_CHECKS=@OLD_FOREIGN_KEY_CHECKS */;
/*!40111 SET SQL_NOTES=@OLD_SQL_NOTES */;

install/tblservergroupsrel.data.sql000064400000001131147361027270013623 0ustar00/*!40103 SET @OLD_TIME_ZONE=@@TIME_ZONE */;
/*!40103 SET TIME_ZONE='+00:00' */;
/*!40014 SET @OLD_FOREIGN_KEY_CHECKS=@@FOREIGN_KEY_CHECKS, FOREIGN_KEY_CHECKS=0 */;
/*!40101 SET @OLD_SQL_MODE=@@SQL_MODE, SQL_MODE='NO_AUTO_VALUE_ON_ZERO' */;
/*!40111 SET @OLD_SQL_NOTES=@@SQL_NOTES, SQL_NOTES=0 */;

/*!40000 ALTER TABLE `tblservergroupsrel` DISABLE KEYS */;
/*!40000 ALTER TABLE `tblservergroupsrel` ENABLE KEYS */;
/*!40103 SET TIME_ZONE=@OLD_TIME_ZONE */;

/*!40101 SET SQL_MODE=@OLD_SQL_MODE */;
/*!40014 SET FOREIGN_KEY_CHECKS=@OLD_FOREIGN_KEY_CHECKS */;
/*!40111 SET SQL_NOTES=@OLD_SQL_NOTES */;

install/tblmodulelog.schema.sql000064400000002241147361027270012673 0ustar00/*!40103 SET @OLD_TIME_ZONE=@@TIME_ZONE */;
/*!40103 SET TIME_ZONE='+00:00' */;
/*!40014 SET @OLD_UNIQUE_CHECKS=@@UNIQUE_CHECKS, UNIQUE_CHECKS=0 */;
/*!40014 SET @OLD_FOREIGN_KEY_CHECKS=@@FOREIGN_KEY_CHECKS, FOREIGN_KEY_CHECKS=0 */;
/*!40101 SET @OLD_SQL_MODE=@@SQL_MODE, SQL_MODE='NO_AUTO_VALUE_ON_ZERO' */;
/*!40111 SET @OLD_SQL_NOTES=@@SQL_NOTES, SQL_NOTES=0 */;
DROP TABLE IF EXISTS `tblmodulelog`;
/*!40101 SET @saved_cs_client     = @@character_set_client */;
/*!40101 SET character_set_client = utf8 */;
CREATE TABLE `tblmodulelog` (
  `id` int(10) NOT NULL AUTO_INCREMENT,
  `date` datetime NOT NULL,
  `module` text COLLATE utf8_unicode_ci NOT NULL,
  `action` text COLLATE utf8_unicode_ci NOT NULL,
  `request` mediumtext NOT NULL,
  `response` mediumtext NOT NULL,
  `arrdata` mediumtext NOT NULL,
  PRIMARY KEY (`id`)
) ENGINE=InnoDB DEFAULT CHARSET=utf8 COLLATE=utf8_unicode_ci;
/*!40101 SET character_set_client = @saved_cs_client */;
/*!40103 SET TIME_ZONE=@OLD_TIME_ZONE */;

/*!40101 SET SQL_MODE=@OLD_SQL_MODE */;
/*!40014 SET FOREIGN_KEY_CHECKS=@OLD_FOREIGN_KEY_CHECKS */;
/*!40014 SET UNIQUE_CHECKS=@OLD_UNIQUE_CHECKS */;
/*!40111 SET SQL_NOTES=@OLD_SQL_NOTES */;

install/tbldownloads.schema.sql000064400000003002147361027270012672 0ustar00/*!40103 SET @OLD_TIME_ZONE=@@TIME_ZONE */;
/*!40103 SET TIME_ZONE='+00:00' */;
/*!40014 SET @OLD_UNIQUE_CHECKS=@@UNIQUE_CHECKS, UNIQUE_CHECKS=0 */;
/*!40014 SET @OLD_FOREIGN_KEY_CHECKS=@@FOREIGN_KEY_CHECKS, FOREIGN_KEY_CHECKS=0 */;
/*!40101 SET @OLD_SQL_MODE=@@SQL_MODE, SQL_MODE='NO_AUTO_VALUE_ON_ZERO' */;
/*!40111 SET @OLD_SQL_NOTES=@@SQL_NOTES, SQL_NOTES=0 */;
DROP TABLE IF EXISTS `tbldownloads`;
/*!40101 SET @saved_cs_client     = @@character_set_client */;
/*!40101 SET character_set_client = utf8 */;
CREATE TABLE `tbldownloads` (
  `id` int(10) NOT NULL AUTO_INCREMENT,
  `category` int(10) NOT NULL,
  `type` text COLLATE utf8_unicode_ci NOT NULL,
  `title` text COLLATE utf8_unicode_ci NOT NULL,
  `description` text COLLATE utf8_unicode_ci NOT NULL,
  `downloads` int(10) NOT NULL DEFAULT '0',
  `location` text COLLATE utf8_unicode_ci NOT NULL,
  `clientsonly` tinyint(1) NOT NULL,
  `hidden` tinyint(1) NOT NULL,
  `productdownload` tinyint(1) NOT NULL,
  `created_at` timestamp NOT NULL DEFAULT '0000-00-00 00:00:00',
  `updated_at` timestamp NOT NULL DEFAULT '0000-00-00 00:00:00',
  PRIMARY KEY (`id`),
  KEY `title` (`title`(32)),
  KEY `downloads` (`downloads`)
) ENGINE=InnoDB DEFAULT CHARSET=utf8 COLLATE=utf8_unicode_ci;
/*!40101 SET character_set_client = @saved_cs_client */;
/*!40103 SET TIME_ZONE=@OLD_TIME_ZONE */;

/*!40101 SET SQL_MODE=@OLD_SQL_MODE */;
/*!40014 SET FOREIGN_KEY_CHECKS=@OLD_FOREIGN_KEY_CHECKS */;
/*!40014 SET UNIQUE_CHECKS=@OLD_UNIQUE_CHECKS */;
/*!40111 SET SQL_NOTES=@OLD_SQL_NOTES */;

install/tbltask.data.sql000064400000013750147361027270011326 0ustar00/*!40103 SET @OLD_TIME_ZONE=@@TIME_ZONE */;
/*!40103 SET TIME_ZONE='+00:00' */;
/*!40014 SET @OLD_FOREIGN_KEY_CHECKS=@@FOREIGN_KEY_CHECKS, FOREIGN_KEY_CHECKS=0 */;
/*!40101 SET @OLD_SQL_MODE=@@SQL_MODE, SQL_MODE='NO_AUTO_VALUE_ON_ZERO' */;
/*!40111 SET @OLD_SQL_NOTES=@@SQL_NOTES, SQL_NOTES=0 */;

/*!40000 ALTER TABLE `tbltask` DISABLE KEYS */;
INSERT INTO `tbltask` VALUES (1,1530,'WHMCS\\Cron\\Task\\AddLateFees',1,1,1440,'Late Fees','Apply Late Fees','2016-11-02 16:59:20','2016-11-02 16:59:20'),
(2,1620,'WHMCS\\Cron\\Task\\AffiliateCommissions',1,1,1440,'Delayed Affiliate Commissions','Process Delayed Affiliate Commissions','2016-11-02 16:59:20','2016-11-02 16:59:20'),
(3,1630,'WHMCS\\Cron\\Task\\AffiliateReports',1,1,43200,'Affiliate Reports','Send Monthly Affiliate Reports','2016-11-02 16:59:20','2016-11-02 16:59:20'),
(4,1680,'WHMCS\\Cron\\Task\\AutoClientStatusSync',1,1,1440,'Client Status Update','Synchronise Client Status','2016-11-02 16:59:20','2016-11-02 16:59:20'),
(5,1590,'WHMCS\\Cron\\Task\\AutoTerminations',1,1,1440,'Overdue Terminations','Process Overdue Terminations','2016-11-02 16:59:20','2016-11-02 16:59:20'),
(6,1570,'WHMCS\\Cron\\Task\\CancellationRequests',1,1,1440,'Cancellation Requests','Process Cancellation Requests','2016-11-02 16:59:20','2016-11-02 16:59:20'),
(7,2000,'WHMCS\\Cron\\Task\\CheckForWhmcsUpdate',1,1,480,'WHMCS Updates','Check for WHMCS Software Updates','2016-11-02 16:59:20','2016-11-02 16:59:20'),
(8,1610,'WHMCS\\Cron\\Task\\CloseInactiveTickets',1,1,1440,'Inactive Tickets','Auto Close Inactive Tickets','2016-11-02 16:59:20','2016-11-02 16:59:20'),
(9,1520,'WHMCS\\Cron\\Task\\CreateInvoices',1,1,1440,'Invoices','Generate Invoices','2016-11-02 16:59:20','2016-11-02 16:59:20'),
(10,1650,'WHMCS\\Cron\\Task\\CreditCardExpiryNotices',1,1,43200,'Credit Card Expiry Notices','Sending Credit Card Expiry Reminders','2016-11-02 16:59:20','2016-11-02 16:59:20'),
(11,1500,'WHMCS\\Cron\\Task\\CurrencyUpdateExchangeRates',1,1,1440,'Currency Exchange Rates','Update Currency Exchange Rates','2016-11-02 16:59:20','2016-11-02 16:59:20'),
(12,1510,'WHMCS\\Cron\\Task\\CurrencyUpdateProductPricing',1,1,1440,'Product Pricing Updates','Update Product Prices for Current Rates','2016-11-02 16:59:20','2016-11-02 16:59:20'),
(13,1560,'WHMCS\\Cron\\Task\\DomainRenewalNotices',1,1,1440,'Domain Renewal Notices','Processing Domain Renewal Notices','2016-11-02 16:59:20','2016-11-02 16:59:20'),
(14,1640,'WHMCS\\Cron\\Task\\EmailMarketer',1,1,1440,'Email Marketer Rules','Process Email Marketer Rules','2016-11-02 16:59:20','2016-11-02 16:59:20'),
(15,1600,'WHMCS\\Cron\\Task\\FixedTermTerminations',1,1,1440,'Fixed Term Terminations','Process Fixed Term Terminations','2016-11-02 16:59:20','2016-11-02 16:59:20'),
(16,1550,'WHMCS\\Cron\\Task\\InvoiceReminders',1,1,1440,'Invoice & Overdue Reminders','Generate daily reminders for unpaid and overdue invoice','2016-11-02 16:59:20','2016-11-02 16:59:20'),
(17,1670,'WHMCS\\Cron\\Task\\OverageBilling',1,1,43200,'Overage Billing Charges','Process Overage Billing Charges','2016-11-02 16:59:20','2016-11-02 16:59:20'),
(18,1540,'WHMCS\\Cron\\Task\\ProcessCreditCardPayments',1,1,1440,'Credit Card Charges','Process Credit Card Charges','2016-11-02 16:59:20','2016-11-02 16:59:20'),
(19,1580,'WHMCS\\Cron\\Task\\AutoSuspensions',1,1,1440,'Overdue Suspensions','Process Overdue Suspensions','2016-11-02 16:59:21','2016-11-02 16:59:21'),
(20,1700,'WHMCS\\Cron\\Task\\TicketEscalations',1,1,3,'Ticket Escalation Rules','Process and escalate tickets per any Escalation Rules','2016-11-02 16:59:21','2016-11-02 16:59:21'),
(21,1690,'WHMCS\\Cron\\Task\\UpdateDomainExpiryStatus',1,1,1440,'Domain Expiry','Update Domain Expiry Status','2016-11-02 16:59:21','2016-11-02 16:59:21'),
(22,1660,'WHMCS\\Cron\\Task\\UpdateServerUsage',1,1,1440,'Server Usage Stats','Updating Disk & Bandwidth Usage Stats','2016-11-02 16:59:21','2016-11-02 16:59:21'),
(23,2000,'WHMCS\\Cron\\Task\\RunJobsQueue',1,1,5,'Run Jobs Queue','Execute queued jobs that are due for execution.','2018-04-18 10:21:42','2018-04-18 10:21:42'),
(24,1800,'WHMCS\\Cron\\Task\\DataRetentionPruning',1,1,1440,'Data Retention Pruning','Perform data retention pruning operations.','2018-04-18 10:21:43','2018-04-18 10:21:43'),
(25,2100,'WHMCS\\Cron\\Task\\DomainTransferSync',1,1,240,'Domain Transfer Status Synchronisation','Syncing Domain Pending Transfer Status','2018-04-18 10:21:43','2018-04-18 10:21:43'),
(26,2150,'WHMCS\\Cron\\Task\\DomainStatusSync',1,1,240,'Domain Status Synchronisation','Domain Status Syncing','2018-04-18 10:21:43','2018-04-18 10:21:43'),
(27,1650,'WHMCS\\Cron\\Task\\SslStatusSync',1,1,1440,'SSL Sync','SSL Status Sync','2019-01-01 15:49:13','2019-01-01 15:49:13'),
(28,1615,'WHMCS\\Cron\\Task\\AutoPruneTicketAttachments',1,1,60,'Prune Ticket Attachments','Auto Remove Inactive Ticket Attachments','2019-04-01 09:00:00','2019-04-01 09:00:00'),
(29,1900,'WHMCS\\Cron\\Task\\ServerUsageCount',1,1,60,'Update Server Usage','Auto Update Server Usage Count','2019-07-29 09:00:00','2019-07-29 09:00:00'),
(30,1910,'WHMCS\\Cron\\Task\\ServerRemoteMetaData',1,1,60,'Update Server Meta Data','Auto Update Server Meta Data','2019-07-29 09:00:00','2019-07-29 09:00:00'),
(31,1519,'WHMCS\\Cron\\Task\\TenantUsageMetrics',1,1,720,'Tenant Usage Metrics','Collect tenant usage metrics from servers','2019-11-01 01:00:00','2019-11-01 01:00:00'),
(32, 1640, 'WHMCS\\Cron\\Task\\EmailCampaigns', 1, 1, 5, 'Process Email Campaigns', 'Process Scheduled Email Campaigns', '2020-07-17 11:42:30', '2020-07-17 11:42:30'),
(33, 1636, 'WHMCS\\Cron\\Task\\ProcessEmailQueue', 1, 1, 1, 'Process Email Queue', 'Process Queued Emails', '2020-07-17 11:42:30', '2020-07-17 11:42:30'),
(34, 1850, 'WHMCS\\Cron\\Task\\SslReissues', 1, 1, 1440, 'SSL Certificate Reissues', 'SSL Certificate Reissues', '2022-01-17 11:00:00', '2022-01-17 11:00:00');
/*!40000 ALTER TABLE `tbltask` ENABLE KEYS */;
/*!40103 SET TIME_ZONE=@OLD_TIME_ZONE */;

/*!40101 SET SQL_MODE=@OLD_SQL_MODE */;
/*!40014 SET FOREIGN_KEY_CHECKS=@OLD_FOREIGN_KEY_CHECKS */;
/*!40111 SET SQL_NOTES=@OLD_SQL_NOTES */;

install/tblticketdepartments.data.sql000064400000001135147361027270014110 0ustar00/*!40103 SET @OLD_TIME_ZONE=@@TIME_ZONE */;
/*!40103 SET TIME_ZONE='+00:00' */;
/*!40014 SET @OLD_FOREIGN_KEY_CHECKS=@@FOREIGN_KEY_CHECKS, FOREIGN_KEY_CHECKS=0 */;
/*!40101 SET @OLD_SQL_MODE=@@SQL_MODE, SQL_MODE='NO_AUTO_VALUE_ON_ZERO' */;
/*!40111 SET @OLD_SQL_NOTES=@@SQL_NOTES, SQL_NOTES=0 */;

/*!40000 ALTER TABLE `tblticketdepartments` DISABLE KEYS */;
/*!40000 ALTER TABLE `tblticketdepartments` ENABLE KEYS */;
/*!40103 SET TIME_ZONE=@OLD_TIME_ZONE */;

/*!40101 SET SQL_MODE=@OLD_SQL_MODE */;
/*!40014 SET FOREIGN_KEY_CHECKS=@OLD_FOREIGN_KEY_CHECKS */;
/*!40111 SET SQL_NOTES=@OLD_SQL_NOTES */;

install/tblsessions.schema.sql000064400000002235147361027270012555 0ustar00/*!40103 SET @OLD_TIME_ZONE=@@TIME_ZONE */;
/*!40103 SET TIME_ZONE='+00:00' */;
/*!40014 SET @OLD_UNIQUE_CHECKS=@@UNIQUE_CHECKS, UNIQUE_CHECKS=0 */;
/*!40014 SET @OLD_FOREIGN_KEY_CHECKS=@@FOREIGN_KEY_CHECKS, FOREIGN_KEY_CHECKS=0 */;
/*!40101 SET @OLD_SQL_MODE=@@SQL_MODE, SQL_MODE='NO_AUTO_VALUE_ON_ZERO' */;
/*!40111 SET @OLD_SQL_NOTES=@@SQL_NOTES, SQL_NOTES=0 */;
DROP TABLE IF EXISTS `tblsessions`;
/*!40101 SET @saved_cs_client     = @@character_set_client */;
/*!40101 SET character_set_client = utf8 */;
CREATE TABLE `tblsessions` (
  `id` bigint(20) unsigned NOT NULL AUTO_INCREMENT,
  `session_id` varchar(255) COLLATE utf8_unicode_ci NOT NULL,
  `payload` mediumtext COLLATE utf8_unicode_ci NOT NULL,
  `last_activity` int(11) unsigned NOT NULL,
  PRIMARY KEY (`id`),
  UNIQUE KEY `sessions_id_unique` (`session_id`)
) ENGINE=InnoDB DEFAULT CHARSET=utf8 COLLATE=utf8_unicode_ci;
/*!40101 SET character_set_client = @saved_cs_client */;
/*!40103 SET TIME_ZONE=@OLD_TIME_ZONE */;

/*!40101 SET SQL_MODE=@OLD_SQL_MODE */;
/*!40014 SET FOREIGN_KEY_CHECKS=@OLD_FOREIGN_KEY_CHECKS */;
/*!40014 SET UNIQUE_CHECKS=@OLD_UNIQUE_CHECKS */;
/*!40111 SET SQL_NOTES=@OLD_SQL_NOTES */;

install/tblaffiliateswithdrawals.schema.sql000064400000002331147361027270015265 0ustar00/*!40103 SET @OLD_TIME_ZONE=@@TIME_ZONE */;
/*!40103 SET TIME_ZONE='+00:00' */;
/*!40014 SET @OLD_UNIQUE_CHECKS=@@UNIQUE_CHECKS, UNIQUE_CHECKS=0 */;
/*!40014 SET @OLD_FOREIGN_KEY_CHECKS=@@FOREIGN_KEY_CHECKS, FOREIGN_KEY_CHECKS=0 */;
/*!40101 SET @OLD_SQL_MODE=@@SQL_MODE, SQL_MODE='NO_AUTO_VALUE_ON_ZERO' */;
/*!40111 SET @OLD_SQL_NOTES=@@SQL_NOTES, SQL_NOTES=0 */;
DROP TABLE IF EXISTS `tblaffiliateswithdrawals`;
/*!40101 SET @saved_cs_client     = @@character_set_client */;
/*!40101 SET character_set_client = utf8 */;
CREATE TABLE `tblaffiliateswithdrawals` (
  `id` int(10) NOT NULL AUTO_INCREMENT,
  `affiliateid` int(10) NOT NULL,
  `date` date NOT NULL,
  `amount` decimal(16,2) NOT NULL,
  `created_at` timestamp NOT NULL DEFAULT '0000-00-00 00:00:00',
  `updated_at` timestamp NOT NULL DEFAULT '0000-00-00 00:00:00',
  PRIMARY KEY (`id`),
  KEY `affiliateid` (`affiliateid`)
) ENGINE=InnoDB DEFAULT CHARSET=utf8 COLLATE=utf8_unicode_ci;
/*!40101 SET character_set_client = @saved_cs_client */;
/*!40103 SET TIME_ZONE=@OLD_TIME_ZONE */;

/*!40101 SET SQL_MODE=@OLD_SQL_MODE */;
/*!40014 SET FOREIGN_KEY_CHECKS=@OLD_FOREIGN_KEY_CHECKS */;
/*!40014 SET UNIQUE_CHECKS=@OLD_UNIQUE_CHECKS */;
/*!40111 SET SQL_NOTES=@OLD_SQL_NOTES */;

install/tblstorageconfigurations.data.sql000064400000001145147361027270014776 0ustar00/*!40103 SET @OLD_TIME_ZONE=@@TIME_ZONE */;
/*!40103 SET TIME_ZONE='+00:00' */;
/*!40014 SET @OLD_FOREIGN_KEY_CHECKS=@@FOREIGN_KEY_CHECKS, FOREIGN_KEY_CHECKS=0 */;
/*!40101 SET @OLD_SQL_MODE=@@SQL_MODE, SQL_MODE='NO_AUTO_VALUE_ON_ZERO' */;
/*!40111 SET @OLD_SQL_NOTES=@@SQL_NOTES, SQL_NOTES=0 */;

/*!40000 ALTER TABLE `tblstorageconfigurations` DISABLE KEYS */;
/*!40000 ALTER TABLE `tblstorageconfigurations` ENABLE KEYS */;
/*!40103 SET TIME_ZONE=@OLD_TIME_ZONE */;

/*!40101 SET SQL_MODE=@OLD_SQL_MODE */;
/*!40014 SET FOREIGN_KEY_CHECKS=@OLD_FOREIGN_KEY_CHECKS */;
/*!40111 SET SQL_NOTES=@OLD_SQL_NOTES */;

install/tblaffiliates_hits.schema.sql000064400000002266147361027270014051 0ustar00/*!40103 SET @OLD_TIME_ZONE=@@TIME_ZONE */;
/*!40103 SET TIME_ZONE='+00:00' */;
/*!40014 SET @OLD_UNIQUE_CHECKS=@@UNIQUE_CHECKS, UNIQUE_CHECKS=0 */;
/*!40014 SET @OLD_FOREIGN_KEY_CHECKS=@@FOREIGN_KEY_CHECKS, FOREIGN_KEY_CHECKS=0 */;
/*!40101 SET @OLD_SQL_MODE=@@SQL_MODE, SQL_MODE='NO_AUTO_VALUE_ON_ZERO' */;
/*!40111 SET @OLD_SQL_NOTES=@@SQL_NOTES, SQL_NOTES=0 */;
DROP TABLE IF EXISTS `tblaffiliates_hits`;
/*!40101 SET @saved_cs_client     = @@character_set_client */;
/*!40101 SET character_set_client = utf8 */;
CREATE TABLE `tblaffiliates_hits` (
  `id` int(10) unsigned NOT NULL AUTO_INCREMENT,
  `affiliate_id` int(10) unsigned NOT NULL DEFAULT '0',
  `referrer_id` int(10) unsigned NOT NULL DEFAULT '0',
  `created_at` datetime NOT NULL DEFAULT '0000-00-00 00:00:00',
  PRIMARY KEY (`id`),
  KEY `affiliate_id` (`affiliate_id`,`referrer_id`)
) ENGINE=InnoDB DEFAULT CHARSET=utf8 COLLATE=utf8_unicode_ci;
/*!40101 SET character_set_client = @saved_cs_client */;
/*!40103 SET TIME_ZONE=@OLD_TIME_ZONE */;

/*!40101 SET SQL_MODE=@OLD_SQL_MODE */;
/*!40014 SET FOREIGN_KEY_CHECKS=@OLD_FOREIGN_KEY_CHECKS */;
/*!40014 SET UNIQUE_CHECKS=@OLD_UNIQUE_CHECKS */;
/*!40111 SET SQL_NOTES=@OLD_SQL_NOTES */;

install/tblupdatelog.data.sql000064400000001115147361027270012340 0ustar00/*!40103 SET @OLD_TIME_ZONE=@@TIME_ZONE */;
/*!40103 SET TIME_ZONE='+00:00' */;
/*!40014 SET @OLD_FOREIGN_KEY_CHECKS=@@FOREIGN_KEY_CHECKS, FOREIGN_KEY_CHECKS=0 */;
/*!40101 SET @OLD_SQL_MODE=@@SQL_MODE, SQL_MODE='NO_AUTO_VALUE_ON_ZERO' */;
/*!40111 SET @OLD_SQL_NOTES=@@SQL_NOTES, SQL_NOTES=0 */;

/*!40000 ALTER TABLE `tblupdatelog` DISABLE KEYS */;
/*!40000 ALTER TABLE `tblupdatelog` ENABLE KEYS */;
/*!40103 SET TIME_ZONE=@OLD_TIME_ZONE */;

/*!40101 SET SQL_MODE=@OLD_SQL_MODE */;
/*!40014 SET FOREIGN_KEY_CHECKS=@OLD_FOREIGN_KEY_CHECKS */;
/*!40111 SET SQL_NOTES=@OLD_SQL_NOTES */;

install/tbloauthserver_scopes.data.sql000064400000006061147361027270014304 0ustar00/*!40103 SET @OLD_TIME_ZONE=@@TIME_ZONE */;
/*!40103 SET TIME_ZONE='+00:00' */;
/*!40014 SET @OLD_FOREIGN_KEY_CHECKS=@@FOREIGN_KEY_CHECKS, FOREIGN_KEY_CHECKS=0 */;
/*!40101 SET @OLD_SQL_MODE=@@SQL_MODE, SQL_MODE='NO_AUTO_VALUE_ON_ZERO' */;
/*!40111 SET @OLD_SQL_NOTES=@@SQL_NOTES, SQL_NOTES=0 */;

/*!40000 ALTER TABLE `tbloauthserver_scopes` DISABLE KEYS */;
INSERT INTO `tbloauthserver_scopes` VALUES (1,'clientarea:sso','Single Sign-on for Client Area',1,'0000-00-00 00:00:00','0000-00-00 00:00:00'),(2,'clientarea:profile','Account Profile',0,'0000-00-00 00:00:00','0000-00-00 00:00:00'),(3,'clientarea:billing_info','Manage Billing Information',0,'0000-00-00 00:00:00','0000-00-00 00:00:00'),(4,'clientarea:emails','Email History',0,'0000-00-00 00:00:00','0000-00-00 00:00:00'),(5,'clientarea:announcements','Announcements',0,'0000-00-00 00:00:00','0000-00-00 00:00:00'),(6,'clientarea:downloads','Downloads',0,'0000-00-00 00:00:00','0000-00-00 00:00:00'),(7,'clientarea:knowledgebase','Knowledgebase',0,'0000-00-00 00:00:00','0000-00-00 00:00:00'),(8,'clientarea:network_status','Network Status',0,'0000-00-00 00:00:00','0000-00-00 00:00:00'),(9,'clientarea:services','Products/Services',0,'0000-00-00 00:00:00','0000-00-00 00:00:00'),(10,'clientarea:product_details','Product Info/Details (requires associated serviceId)',0,'0000-00-00 00:00:00','0000-00-00 00:00:00'),(11,'clientarea:domains','Domains',0,'0000-00-00 00:00:00','0000-00-00 00:00:00'),(12,'clientarea:domain_details','Domain Info/Details (requires associated domainId)',0,'0000-00-00 00:00:00','0000-00-00 00:00:00'),(13,'clientarea:invoices','Invoices',0,'0000-00-00 00:00:00','0000-00-00 00:00:00'),(14,'clientarea:tickets','Support Tickets',0,'0000-00-00 00:00:00','0000-00-00 00:00:00'),(15,'clientarea:submit_ticket','Submit New Ticket',0,'0000-00-00 00:00:00','0000-00-00 00:00:00'),(16,'clientarea:shopping_cart','Shopping Cart Default Product Group',0,'0000-00-00 00:00:00','0000-00-00 00:00:00'),(17,'clientarea:shopping_cart_addons','Shopping Cart Product Addons',0,'0000-00-00 00:00:00','0000-00-00 00:00:00'),(18,'clientarea:shopping_cart_domain_register','Shopping Cart Register New Domain',0,'0000-00-00 00:00:00','0000-00-00 00:00:00'),(19,'clientarea:shopping_cart_domain_transfer','Shopping Cart Transfer Existing Domain',0,'0000-00-00 00:00:00','0000-00-00 00:00:00'),(20,'openid','Scope required for OpenID Connect ID tokens',0,'0000-00-00 00:00:00','0000-00-00 00:00:00'),(21,'email','Scope used for Email Claim',0,'0000-00-00 00:00:00','0000-00-00 00:00:00'),(22,'profile','Scope used for Profile Claim',0,'0000-00-00 00:00:00','0000-00-00 00:00:00'),(23,'clientarea:upgrade','Upgrade/Downgrade',0,'2018-04-18 10:21:42','2018-04-18 10:21:42'),(24,'sso:custom_redirect','Scope required for arbitrary path redirect on token creation',0,'0000-00-00 00:00:00','0000-00-00 00:00:00');
/*!40000 ALTER TABLE `tbloauthserver_scopes` ENABLE KEYS */;
/*!40103 SET TIME_ZONE=@OLD_TIME_ZONE */;

/*!40101 SET SQL_MODE=@OLD_SQL_MODE */;
/*!40014 SET FOREIGN_KEY_CHECKS=@OLD_FOREIGN_KEY_CHECKS */;
/*!40111 SET SQL_NOTES=@OLD_SQL_NOTES */;

install/tbldomain_lookup_configuration.data.sql000064400000001161147361027270016144 0ustar00/*!40103 SET @OLD_TIME_ZONE=@@TIME_ZONE */;
/*!40103 SET TIME_ZONE='+00:00' */;
/*!40014 SET @OLD_FOREIGN_KEY_CHECKS=@@FOREIGN_KEY_CHECKS, FOREIGN_KEY_CHECKS=0 */;
/*!40101 SET @OLD_SQL_MODE=@@SQL_MODE, SQL_MODE='NO_AUTO_VALUE_ON_ZERO' */;
/*!40111 SET @OLD_SQL_NOTES=@@SQL_NOTES, SQL_NOTES=0 */;

/*!40000 ALTER TABLE `tbldomain_lookup_configuration` DISABLE KEYS */;
/*!40000 ALTER TABLE `tbldomain_lookup_configuration` ENABLE KEYS */;
/*!40103 SET TIME_ZONE=@OLD_TIME_ZONE */;

/*!40101 SET SQL_MODE=@OLD_SQL_MODE */;
/*!40014 SET FOREIGN_KEY_CHECKS=@OLD_FOREIGN_KEY_CHECKS */;
/*!40111 SET SQL_NOTES=@OLD_SQL_NOTES */;

install/tblmodulequeue.data.sql000064400000001121147361027270012703 0ustar00/*!40103 SET @OLD_TIME_ZONE=@@TIME_ZONE */;
/*!40103 SET TIME_ZONE='+00:00' */;
/*!40014 SET @OLD_FOREIGN_KEY_CHECKS=@@FOREIGN_KEY_CHECKS, FOREIGN_KEY_CHECKS=0 */;
/*!40101 SET @OLD_SQL_MODE=@@SQL_MODE, SQL_MODE='NO_AUTO_VALUE_ON_ZERO' */;
/*!40111 SET @OLD_SQL_NOTES=@@SQL_NOTES, SQL_NOTES=0 */;

/*!40000 ALTER TABLE `tblmodulequeue` DISABLE KEYS */;
/*!40000 ALTER TABLE `tblmodulequeue` ENABLE KEYS */;
/*!40103 SET TIME_ZONE=@OLD_TIME_ZONE */;

/*!40101 SET SQL_MODE=@OLD_SQL_MODE */;
/*!40014 SET FOREIGN_KEY_CHECKS=@OLD_FOREIGN_KEY_CHECKS */;
/*!40111 SET SQL_NOTES=@OLD_SQL_NOTES */;

install/tblmarketing_consent.schema.sql000064400000002502147361027270014416 0ustar00/*!40103 SET @OLD_TIME_ZONE=@@TIME_ZONE */;
/*!40103 SET TIME_ZONE='+00:00' */;
/*!40014 SET @OLD_UNIQUE_CHECKS=@@UNIQUE_CHECKS, UNIQUE_CHECKS=0 */;
/*!40014 SET @OLD_FOREIGN_KEY_CHECKS=@@FOREIGN_KEY_CHECKS, FOREIGN_KEY_CHECKS=0 */;
/*!40101 SET @OLD_SQL_MODE=@@SQL_MODE, SQL_MODE='NO_AUTO_VALUE_ON_ZERO' */;
/*!40111 SET @OLD_SQL_NOTES=@@SQL_NOTES, SQL_NOTES=0 */;
DROP TABLE IF EXISTS `tblmarketing_consent`;
/*!40101 SET @saved_cs_client     = @@character_set_client */;
/*!40101 SET character_set_client = utf8 */;
CREATE TABLE `tblmarketing_consent` (
  `id` int(10) unsigned NOT NULL AUTO_INCREMENT,
  `userid` int(10) unsigned NOT NULL DEFAULT '0',
  `opt_in` tinyint(1) NOT NULL DEFAULT '0',
  `admin` tinyint(1) NOT NULL DEFAULT '0',
  `ip_address` varchar(32) COLLATE utf8_unicode_ci NOT NULL DEFAULT '',
  `created_at` datetime NOT NULL DEFAULT '0000-00-00 00:00:00',
  `updated_at` datetime NOT NULL DEFAULT '0000-00-00 00:00:00',
  PRIMARY KEY (`id`),
  KEY `userid` (`userid`)
) ENGINE=InnoDB DEFAULT CHARSET=utf8 COLLATE=utf8_unicode_ci;
/*!40101 SET character_set_client = @saved_cs_client */;
/*!40103 SET TIME_ZONE=@OLD_TIME_ZONE */;

/*!40101 SET SQL_MODE=@OLD_SQL_MODE */;
/*!40014 SET FOREIGN_KEY_CHECKS=@OLD_FOREIGN_KEY_CHECKS */;
/*!40014 SET UNIQUE_CHECKS=@OLD_UNIQUE_CHECKS */;
/*!40111 SET SQL_NOTES=@OLD_SQL_NOTES */;

install/tblcurrencies.data.sql000064400000001232147361027270012516 0ustar00/*!40103 SET @OLD_TIME_ZONE=@@TIME_ZONE */;
/*!40103 SET TIME_ZONE='+00:00' */;
/*!40014 SET @OLD_FOREIGN_KEY_CHECKS=@@FOREIGN_KEY_CHECKS, FOREIGN_KEY_CHECKS=0 */;
/*!40101 SET @OLD_SQL_MODE=@@SQL_MODE, SQL_MODE='NO_AUTO_VALUE_ON_ZERO' */;
/*!40111 SET @OLD_SQL_NOTES=@@SQL_NOTES, SQL_NOTES=0 */;

/*!40000 ALTER TABLE `tblcurrencies` DISABLE KEYS */;
INSERT INTO `tblcurrencies` VALUES (1, 'USD', '$', ' USD', 2, 1.00000, 1);
/*!40000 ALTER TABLE `tblcurrencies` ENABLE KEYS */;
/*!40103 SET TIME_ZONE=@OLD_TIME_ZONE */;

/*!40101 SET SQL_MODE=@OLD_SQL_MODE */;
/*!40014 SET FOREIGN_KEY_CHECKS=@OLD_FOREIGN_KEY_CHECKS */;
/*!40111 SET SQL_NOTES=@OLD_SQL_NOTES */;

install/tblpaymethods.schema.sql000064400000003163147361027270013065 0ustar00/*!40103 SET @OLD_TIME_ZONE=@@TIME_ZONE */;
/*!40103 SET TIME_ZONE='+00:00' */;
/*!40014 SET @OLD_UNIQUE_CHECKS=@@UNIQUE_CHECKS, UNIQUE_CHECKS=0 */;
/*!40014 SET @OLD_FOREIGN_KEY_CHECKS=@@FOREIGN_KEY_CHECKS, FOREIGN_KEY_CHECKS=0 */;
/*!40101 SET @OLD_SQL_MODE=@@SQL_MODE, SQL_MODE='NO_AUTO_VALUE_ON_ZERO' */;
/*!40111 SET @OLD_SQL_NOTES=@@SQL_NOTES, SQL_NOTES=0 */;
DROP TABLE IF EXISTS `tblpaymethods`;
/*!40101 SET @saved_cs_client     = @@character_set_client */;
/*!40101 SET character_set_client = utf8 */;
CREATE TABLE `tblpaymethods` (
  `id` int(10) unsigned NOT NULL AUTO_INCREMENT,
  `userid` int(11) NOT NULL DEFAULT '0',
  `description` varchar(255) COLLATE utf8_unicode_ci NOT NULL DEFAULT '',
  `contact_id` int(11) NOT NULL DEFAULT '0',
  `contact_type` varchar(255) COLLATE utf8_unicode_ci NOT NULL DEFAULT '',
  `payment_id` int(11) NOT NULL DEFAULT '0',
  `payment_type` varchar(255) COLLATE utf8_unicode_ci NOT NULL DEFAULT '',
  `gateway_name` varchar(255) COLLATE utf8_unicode_ci NOT NULL DEFAULT '',
  `order_preference` int(11) NOT NULL DEFAULT '0',
  `created_at` timestamp NOT NULL DEFAULT '0000-00-00 00:00:00',
  `updated_at` timestamp NOT NULL DEFAULT '0000-00-00 00:00:00',
  `deleted_at` timestamp NULL,
  PRIMARY KEY (`id`),
  KEY `tblpaymethods_userid` (`userid`)
) ENGINE=InnoDB DEFAULT CHARSET=utf8 COLLATE=utf8_unicode_ci;
/*!40101 SET character_set_client = @saved_cs_client */;
/*!40103 SET TIME_ZONE=@OLD_TIME_ZONE */;

/*!40101 SET SQL_MODE=@OLD_SQL_MODE */;
/*!40014 SET FOREIGN_KEY_CHECKS=@OLD_FOREIGN_KEY_CHECKS */;
/*!40014 SET UNIQUE_CHECKS=@OLD_UNIQUE_CHECKS */;
/*!40111 SET SQL_NOTES=@OLD_SQL_NOTES */;

install/tblondemandrenewals.data.sql000064400000001132147361027270013701 0ustar00/*!40103 SET @OLD_TIME_ZONE=@@TIME_ZONE */;
/*!40103 SET TIME_ZONE='+00:00' */;
/*!40014 SET @OLD_FOREIGN_KEY_CHECKS=@@FOREIGN_KEY_CHECKS, FOREIGN_KEY_CHECKS=0 */;
/*!40101 SET @OLD_SQL_MODE=@@SQL_MODE, SQL_MODE='NO_AUTO_VALUE_ON_ZERO' */;
/*!40111 SET @OLD_SQL_NOTES=@@SQL_NOTES, SQL_NOTES=0 */;

/*!40000 ALTER TABLE `tblondemandrenewals` DISABLE KEYS */;
/*!40000 ALTER TABLE `tblondemandrenewals` ENABLE KEYS */;
/*!40103 SET TIME_ZONE=@OLD_TIME_ZONE */;

/*!40101 SET SQL_MODE=@OLD_SQL_MODE */;
/*!40014 SET FOREIGN_KEY_CHECKS=@OLD_FOREIGN_KEY_CHECKS */;
/*!40111 SET SQL_NOTES=@OLD_SQL_NOTES */;
install/tbldownloadcats.schema.sql000064400000002426147361027270013373 0ustar00/*!40103 SET @OLD_TIME_ZONE=@@TIME_ZONE */;
/*!40103 SET TIME_ZONE='+00:00' */;
/*!40014 SET @OLD_UNIQUE_CHECKS=@@UNIQUE_CHECKS, UNIQUE_CHECKS=0 */;
/*!40014 SET @OLD_FOREIGN_KEY_CHECKS=@@FOREIGN_KEY_CHECKS, FOREIGN_KEY_CHECKS=0 */;
/*!40101 SET @OLD_SQL_MODE=@@SQL_MODE, SQL_MODE='NO_AUTO_VALUE_ON_ZERO' */;
/*!40111 SET @OLD_SQL_NOTES=@@SQL_NOTES, SQL_NOTES=0 */;
DROP TABLE IF EXISTS `tbldownloadcats`;
/*!40101 SET @saved_cs_client     = @@character_set_client */;
/*!40101 SET character_set_client = utf8 */;
CREATE TABLE `tbldownloadcats` (
  `id` int(10) NOT NULL AUTO_INCREMENT,
  `parentid` int(10) NOT NULL DEFAULT '0',
  `name` text COLLATE utf8_unicode_ci NOT NULL,
  `description` text COLLATE utf8_unicode_ci NOT NULL,
  `hidden` tinyint(1) NOT NULL,
  `created_at` timestamp NOT NULL DEFAULT '0000-00-00 00:00:00',
  `updated_at` timestamp NOT NULL DEFAULT '0000-00-00 00:00:00',
  PRIMARY KEY (`id`),
  KEY `parentid` (`parentid`)
) ENGINE=InnoDB DEFAULT CHARSET=utf8 COLLATE=utf8_unicode_ci;
/*!40101 SET character_set_client = @saved_cs_client */;
/*!40103 SET TIME_ZONE=@OLD_TIME_ZONE */;

/*!40101 SET SQL_MODE=@OLD_SQL_MODE */;
/*!40014 SET FOREIGN_KEY_CHECKS=@OLD_FOREIGN_KEY_CHECKS */;
/*!40014 SET UNIQUE_CHECKS=@OLD_UNIQUE_CHECKS */;
/*!40111 SET SQL_NOTES=@OLD_SQL_NOTES */;

install/tbltld_categories.schema.sql000064400000002346147361027270013702 0ustar00/*!40103 SET @OLD_TIME_ZONE=@@TIME_ZONE */;
/*!40103 SET TIME_ZONE='+00:00' */;
/*!40014 SET @OLD_UNIQUE_CHECKS=@@UNIQUE_CHECKS, UNIQUE_CHECKS=0 */;
/*!40014 SET @OLD_FOREIGN_KEY_CHECKS=@@FOREIGN_KEY_CHECKS, FOREIGN_KEY_CHECKS=0 */;
/*!40101 SET @OLD_SQL_MODE=@@SQL_MODE, SQL_MODE='NO_AUTO_VALUE_ON_ZERO' */;
/*!40111 SET @OLD_SQL_NOTES=@@SQL_NOTES, SQL_NOTES=0 */;
DROP TABLE IF EXISTS `tbltld_categories`;
/*!40101 SET @saved_cs_client     = @@character_set_client */;
/*!40101 SET character_set_client = utf8 */;
CREATE TABLE `tbltld_categories` (
  `id` int(10) unsigned NOT NULL AUTO_INCREMENT,
  `category` varchar(255) COLLATE utf8_unicode_ci NOT NULL,
  `is_primary` tinyint(1) NOT NULL DEFAULT '0',
  `display_order` int(11) DEFAULT NULL,
  `created_at` timestamp NOT NULL DEFAULT '0000-00-00 00:00:00',
  `updated_at` timestamp NOT NULL DEFAULT '0000-00-00 00:00:00',
  PRIMARY KEY (`id`)
) ENGINE=InnoDB DEFAULT CHARSET=utf8 COLLATE=utf8_unicode_ci;
/*!40101 SET character_set_client = @saved_cs_client */;
/*!40103 SET TIME_ZONE=@OLD_TIME_ZONE */;

/*!40101 SET SQL_MODE=@OLD_SQL_MODE */;
/*!40014 SET FOREIGN_KEY_CHECKS=@OLD_FOREIGN_KEY_CHECKS */;
/*!40014 SET UNIQUE_CHECKS=@OLD_UNIQUE_CHECKS */;
/*!40111 SET SQL_NOTES=@OLD_SQL_NOTES */;

install/tblservergroups.data.sql000064400000001123147361027270013121 0ustar00/*!40103 SET @OLD_TIME_ZONE=@@TIME_ZONE */;
/*!40103 SET TIME_ZONE='+00:00' */;
/*!40014 SET @OLD_FOREIGN_KEY_CHECKS=@@FOREIGN_KEY_CHECKS, FOREIGN_KEY_CHECKS=0 */;
/*!40101 SET @OLD_SQL_MODE=@@SQL_MODE, SQL_MODE='NO_AUTO_VALUE_ON_ZERO' */;
/*!40111 SET @OLD_SQL_NOTES=@@SQL_NOTES, SQL_NOTES=0 */;

/*!40000 ALTER TABLE `tblservergroups` DISABLE KEYS */;
/*!40000 ALTER TABLE `tblservergroups` ENABLE KEYS */;
/*!40103 SET TIME_ZONE=@OLD_TIME_ZONE */;

/*!40101 SET SQL_MODE=@OLD_SQL_MODE */;
/*!40014 SET FOREIGN_KEY_CHECKS=@OLD_FOREIGN_KEY_CHECKS */;
/*!40111 SET SQL_NOTES=@OLD_SQL_NOTES */;

install/tblproduct_group_features.schema.sql000064400000002612147361027270015500 0ustar00/*!40103 SET @OLD_TIME_ZONE=@@TIME_ZONE */;
/*!40103 SET TIME_ZONE='+00:00' */;
/*!40014 SET @OLD_UNIQUE_CHECKS=@@UNIQUE_CHECKS, UNIQUE_CHECKS=0 */;
/*!40014 SET @OLD_FOREIGN_KEY_CHECKS=@@FOREIGN_KEY_CHECKS, FOREIGN_KEY_CHECKS=0 */;
/*!40101 SET @OLD_SQL_MODE=@@SQL_MODE, SQL_MODE='NO_AUTO_VALUE_ON_ZERO' */;
/*!40111 SET @OLD_SQL_NOTES=@@SQL_NOTES, SQL_NOTES=0 */;
DROP TABLE IF EXISTS `tblproduct_group_features`;
/*!40101 SET @saved_cs_client     = @@character_set_client */;
/*!40101 SET character_set_client = utf8 */;
CREATE TABLE `tblproduct_group_features` (
  `id` int(10) unsigned NOT NULL AUTO_INCREMENT,
  `product_group_id` int(10) NOT NULL,
  `feature` text COLLATE utf8_unicode_ci NOT NULL,
  `order` int(11) NOT NULL DEFAULT '0',
  `created_at` timestamp NOT NULL DEFAULT '0000-00-00 00:00:00',
  `updated_at` timestamp NOT NULL DEFAULT '0000-00-00 00:00:00',
  PRIMARY KEY (`id`),
  KEY `tblproduct_group_features_product_group_id_index` (`product_group_id`),
  KEY `tblproduct_group_features_id_product_group_id_index` (`id`,`product_group_id`)
) ENGINE=InnoDB DEFAULT CHARSET=utf8 COLLATE=utf8_unicode_ci;
/*!40101 SET character_set_client = @saved_cs_client */;
/*!40103 SET TIME_ZONE=@OLD_TIME_ZONE */;

/*!40101 SET SQL_MODE=@OLD_SQL_MODE */;
/*!40014 SET FOREIGN_KEY_CHECKS=@OLD_FOREIGN_KEY_CHECKS */;
/*!40014 SET UNIQUE_CHECKS=@OLD_UNIQUE_CHECKS */;
/*!40111 SET SQL_NOTES=@OLD_SQL_NOTES */;

install/tblticketdepartments.schema.sql000064400000003220147361027270014434 0ustar00/*!40103 SET @OLD_TIME_ZONE=@@TIME_ZONE */;
/*!40103 SET TIME_ZONE='+00:00' */;
/*!40014 SET @OLD_UNIQUE_CHECKS=@@UNIQUE_CHECKS, UNIQUE_CHECKS=0 */;
/*!40014 SET @OLD_FOREIGN_KEY_CHECKS=@@FOREIGN_KEY_CHECKS, FOREIGN_KEY_CHECKS=0 */;
/*!40101 SET @OLD_SQL_MODE=@@SQL_MODE, SQL_MODE='NO_AUTO_VALUE_ON_ZERO' */;
/*!40111 SET @OLD_SQL_NOTES=@@SQL_NOTES, SQL_NOTES=0 */;
DROP TABLE IF EXISTS `tblticketdepartments`;
/*!40101 SET @saved_cs_client     = @@character_set_client */;
/*!40101 SET character_set_client = utf8 */;
CREATE TABLE `tblticketdepartments` (
  `id` int(10) NOT NULL AUTO_INCREMENT,
  `name` text COLLATE utf8_unicode_ci NOT NULL,
  `description` text COLLATE utf8_unicode_ci NOT NULL,
  `email` text COLLATE utf8_unicode_ci NOT NULL,
  `clientsonly` text COLLATE utf8_unicode_ci NOT NULL,
  `piperepliesonly` text COLLATE utf8_unicode_ci NOT NULL,
  `noautoresponder` text COLLATE utf8_unicode_ci NOT NULL,
  `hidden` text COLLATE utf8_unicode_ci NOT NULL,
  `order` int(1) NOT NULL,
  `host` text COLLATE utf8_unicode_ci NOT NULL,
  `port` text COLLATE utf8_unicode_ci NOT NULL,
  `login` text COLLATE utf8_unicode_ci NOT NULL,
  `password` text COLLATE utf8_unicode_ci NOT NULL,
  `mail_auth_config` text,
  `feedback_request` tinyint(1) NOT NULL DEFAULT '0',
  PRIMARY KEY (`id`),
  KEY `name` (`name`(64))
) ENGINE=InnoDB DEFAULT CHARSET=utf8 COLLATE=utf8_unicode_ci;
/*!40101 SET character_set_client = @saved_cs_client */;
/*!40103 SET TIME_ZONE=@OLD_TIME_ZONE */;

/*!40101 SET SQL_MODE=@OLD_SQL_MODE */;
/*!40014 SET FOREIGN_KEY_CHECKS=@OLD_FOREIGN_KEY_CHECKS */;
/*!40014 SET UNIQUE_CHECKS=@OLD_UNIQUE_CHECKS */;
/*!40111 SET SQL_NOTES=@OLD_SQL_NOTES */;

install/tblknowledgebase.data.sql000064400000001125147361027270013167 0ustar00/*!40103 SET @OLD_TIME_ZONE=@@TIME_ZONE */;
/*!40103 SET TIME_ZONE='+00:00' */;
/*!40014 SET @OLD_FOREIGN_KEY_CHECKS=@@FOREIGN_KEY_CHECKS, FOREIGN_KEY_CHECKS=0 */;
/*!40101 SET @OLD_SQL_MODE=@@SQL_MODE, SQL_MODE='NO_AUTO_VALUE_ON_ZERO' */;
/*!40111 SET @OLD_SQL_NOTES=@@SQL_NOTES, SQL_NOTES=0 */;

/*!40000 ALTER TABLE `tblknowledgebase` DISABLE KEYS */;
/*!40000 ALTER TABLE `tblknowledgebase` ENABLE KEYS */;
/*!40103 SET TIME_ZONE=@OLD_TIME_ZONE */;

/*!40101 SET SQL_MODE=@OLD_SQL_MODE */;
/*!40014 SET FOREIGN_KEY_CHECKS=@OLD_FOREIGN_KEY_CHECKS */;
/*!40111 SET SQL_NOTES=@OLD_SQL_NOTES */;

install/tbldomains.data.sql000064400000001111147361027270012002 0ustar00/*!40103 SET @OLD_TIME_ZONE=@@TIME_ZONE */;
/*!40103 SET TIME_ZONE='+00:00' */;
/*!40014 SET @OLD_FOREIGN_KEY_CHECKS=@@FOREIGN_KEY_CHECKS, FOREIGN_KEY_CHECKS=0 */;
/*!40101 SET @OLD_SQL_MODE=@@SQL_MODE, SQL_MODE='NO_AUTO_VALUE_ON_ZERO' */;
/*!40111 SET @OLD_SQL_NOTES=@@SQL_NOTES, SQL_NOTES=0 */;

/*!40000 ALTER TABLE `tbldomains` DISABLE KEYS */;
/*!40000 ALTER TABLE `tbldomains` ENABLE KEYS */;
/*!40103 SET TIME_ZONE=@OLD_TIME_ZONE */;

/*!40101 SET SQL_MODE=@OLD_SQL_MODE */;
/*!40014 SET FOREIGN_KEY_CHECKS=@OLD_FOREIGN_KEY_CHECKS */;
/*!40111 SET SQL_NOTES=@OLD_SQL_NOTES */;

install/tblaffiliatespending.data.sql000064400000001135147361027270014032 0ustar00/*!40103 SET @OLD_TIME_ZONE=@@TIME_ZONE */;
/*!40103 SET TIME_ZONE='+00:00' */;
/*!40014 SET @OLD_FOREIGN_KEY_CHECKS=@@FOREIGN_KEY_CHECKS, FOREIGN_KEY_CHECKS=0 */;
/*!40101 SET @OLD_SQL_MODE=@@SQL_MODE, SQL_MODE='NO_AUTO_VALUE_ON_ZERO' */;
/*!40111 SET @OLD_SQL_NOTES=@@SQL_NOTES, SQL_NOTES=0 */;

/*!40000 ALTER TABLE `tblaffiliatespending` DISABLE KEYS */;
/*!40000 ALTER TABLE `tblaffiliatespending` ENABLE KEYS */;
/*!40103 SET TIME_ZONE=@OLD_TIME_ZONE */;

/*!40101 SET SQL_MODE=@OLD_SQL_MODE */;
/*!40014 SET FOREIGN_KEY_CHECKS=@OLD_FOREIGN_KEY_CHECKS */;
/*!40111 SET SQL_NOTES=@OLD_SQL_NOTES */;

install/tbltld_categories.data.sql000064400000004637147361027270013360 0ustar00/*!40103 SET @OLD_TIME_ZONE=@@TIME_ZONE */;
/*!40103 SET TIME_ZONE='+00:00' */;
/*!40014 SET @OLD_FOREIGN_KEY_CHECKS=@@FOREIGN_KEY_CHECKS, FOREIGN_KEY_CHECKS=0 */;
/*!40101 SET @OLD_SQL_MODE=@@SQL_MODE, SQL_MODE='NO_AUTO_VALUE_ON_ZERO' */;
/*!40111 SET @OLD_SQL_NOTES=@@SQL_NOTES, SQL_NOTES=0 */;

/*!40000 ALTER TABLE `tbltld_categories` DISABLE KEYS */;
INSERT INTO `tbltld_categories` VALUES (1,'gTLD',1,1,'2018-04-18 10:21:24','2018-04-18 10:21:24'),(2,'Specialty',1,3,'2018-04-18 10:21:24','2018-04-18 10:21:24'),(3,'Sponsored',1,4,'2018-04-18 10:21:24','2018-04-18 10:21:24'),(4,'ccTLD',1,2,'2018-04-18 10:21:24','2018-04-18 10:21:24'),(5,'Services',0,NULL,'2018-04-18 10:21:24','2018-04-18 10:21:24'),(6,'Geographic',0,NULL,'2018-04-18 10:21:24','2018-04-18 10:21:24'),(7,'Geography',0,NULL,'2018-04-18 10:21:24','2018-04-18 10:21:24'),(8,'Education',0,NULL,'2018-04-18 10:21:24','2018-04-18 10:21:24'),(9,'Popular',1,0,'2018-04-18 10:21:24','2018-04-18 10:21:24'),(10,'Money and Finance',0,NULL,'2018-04-18 10:21:24','2018-04-18 10:21:24'),(11,'Featured',0,NULL,'2018-04-18 10:21:24','2018-04-18 10:21:24'),(12,'Community',0,NULL,'2018-04-18 10:21:24','2018-04-18 10:21:24'),(13,'Identity and Lifestyle',0,NULL,'2018-04-18 10:21:24','2018-04-18 10:21:24'),(14,'Arts and Entertainment',0,NULL,'2018-04-18 10:21:24','2018-04-18 10:21:24'),(15,'Business',0,NULL,'2018-04-18 10:21:24','2018-04-18 10:21:24'),(16,'Adult',0,NULL,'2018-04-18 10:21:24','2018-04-18 10:21:24'),(17,'Novelty',0,NULL,'2018-04-18 10:21:24','2018-04-18 10:21:24'),(18,'Real Estate',0,NULL,'2018-04-18 10:21:24','2018-04-18 10:21:24'),(19,'Technology',0,NULL,'2018-04-18 10:21:24','2018-04-18 10:21:24'),(20,'Other',1,7,'2018-04-18 10:21:24','2018-04-18 10:21:24'),(21,'Shopping',0,NULL,'2018-04-18 10:21:24','2018-04-18 10:21:24'),(22,'Interest',0,NULL,'2018-04-18 10:21:25','2018-04-18 10:21:25'),(23,'Food and Drink',0,NULL,'2018-04-18 10:21:25','2018-04-18 10:21:25'),(24,'Sports',0,NULL,'2018-04-18 10:21:25','2018-04-18 10:21:25'),(25,'Leisure and Recreation',0,NULL,'2018-04-18 10:21:25','2018-04-18 10:21:25'),(26,'WatchList',1,6,'2018-04-18 10:21:32','2018-04-18 10:21:32'),(27,'IDN',1,5,'2018-04-18 10:21:36','2018-04-18 10:21:36');
/*!40000 ALTER TABLE `tbltld_categories` ENABLE KEYS */;
/*!40103 SET TIME_ZONE=@OLD_TIME_ZONE */;

/*!40101 SET SQL_MODE=@OLD_SQL_MODE */;
/*!40014 SET FOREIGN_KEY_CHECKS=@OLD_FOREIGN_KEY_CHECKS */;
/*!40111 SET SQL_NOTES=@OLD_SQL_NOTES */;

install/tblupgrades.data.sql000064400000001113147361027270012164 0ustar00/*!40103 SET @OLD_TIME_ZONE=@@TIME_ZONE */;
/*!40103 SET TIME_ZONE='+00:00' */;
/*!40014 SET @OLD_FOREIGN_KEY_CHECKS=@@FOREIGN_KEY_CHECKS, FOREIGN_KEY_CHECKS=0 */;
/*!40101 SET @OLD_SQL_MODE=@@SQL_MODE, SQL_MODE='NO_AUTO_VALUE_ON_ZERO' */;
/*!40111 SET @OLD_SQL_NOTES=@@SQL_NOTES, SQL_NOTES=0 */;

/*!40000 ALTER TABLE `tblupgrades` DISABLE KEYS */;
/*!40000 ALTER TABLE `tblupgrades` ENABLE KEYS */;
/*!40103 SET TIME_ZONE=@OLD_TIME_ZONE */;

/*!40101 SET SQL_MODE=@OLD_SQL_MODE */;
/*!40014 SET FOREIGN_KEY_CHECKS=@OLD_FOREIGN_KEY_CHECKS */;
/*!40111 SET SQL_NOTES=@OLD_SQL_NOTES */;

install/tblmetric_usage.data.sql000064400000001123147361027270013022 0ustar00/*!40103 SET @OLD_TIME_ZONE=@@TIME_ZONE */;
/*!40103 SET TIME_ZONE='+00:00' */;
/*!40014 SET @OLD_FOREIGN_KEY_CHECKS=@@FOREIGN_KEY_CHECKS, FOREIGN_KEY_CHECKS=0 */;
/*!40101 SET @OLD_SQL_MODE=@@SQL_MODE, SQL_MODE='NO_AUTO_VALUE_ON_ZERO' */;
/*!40111 SET @OLD_SQL_NOTES=@@SQL_NOTES, SQL_NOTES=0 */;

/*!40000 ALTER TABLE `tblmetric_usage` DISABLE KEYS */;
/*!40000 ALTER TABLE `tblmetric_usage` ENABLE KEYS */;
/*!40103 SET TIME_ZONE=@OLD_TIME_ZONE */;

/*!40101 SET SQL_MODE=@OLD_SQL_MODE */;
/*!40014 SET FOREIGN_KEY_CHECKS=@OLD_FOREIGN_KEY_CHECKS */;
/*!40111 SET SQL_NOTES=@OLD_SQL_NOTES */;

install/tbltld_category_pivot.schema.sql000064400000002421147361027270014605 0ustar00/*!40103 SET @OLD_TIME_ZONE=@@TIME_ZONE */;
/*!40103 SET TIME_ZONE='+00:00' */;
/*!40014 SET @OLD_UNIQUE_CHECKS=@@UNIQUE_CHECKS, UNIQUE_CHECKS=0 */;
/*!40014 SET @OLD_FOREIGN_KEY_CHECKS=@@FOREIGN_KEY_CHECKS, FOREIGN_KEY_CHECKS=0 */;
/*!40101 SET @OLD_SQL_MODE=@@SQL_MODE, SQL_MODE='NO_AUTO_VALUE_ON_ZERO' */;
/*!40111 SET @OLD_SQL_NOTES=@@SQL_NOTES, SQL_NOTES=0 */;
DROP TABLE IF EXISTS `tbltld_category_pivot`;
/*!40101 SET @saved_cs_client     = @@character_set_client */;
/*!40101 SET character_set_client = utf8 */;
CREATE TABLE `tbltld_category_pivot` (
  `id` int(10) unsigned NOT NULL AUTO_INCREMENT,
  `tld_id` int(11) NOT NULL,
  `category_id` int(11) NOT NULL,
  `created_at` timestamp NOT NULL DEFAULT '0000-00-00 00:00:00',
  `updated_at` timestamp NOT NULL DEFAULT '0000-00-00 00:00:00',
  PRIMARY KEY (`id`),
  KEY `tbltld_category_pivot_tld_id_index` (`tld_id`),
  KEY `tbltld_category_pivot_category_id_index` (`category_id`)
) ENGINE=InnoDB DEFAULT CHARSET=utf8 COLLATE=utf8_unicode_ci;
/*!40101 SET character_set_client = @saved_cs_client */;
/*!40103 SET TIME_ZONE=@OLD_TIME_ZONE */;

/*!40101 SET SQL_MODE=@OLD_SQL_MODE */;
/*!40014 SET FOREIGN_KEY_CHECKS=@OLD_FOREIGN_KEY_CHECKS */;
/*!40014 SET UNIQUE_CHECKS=@OLD_UNIQUE_CHECKS */;
/*!40111 SET SQL_NOTES=@OLD_SQL_NOTES */;

install/tblcalendar.schema.sql000064400000002252147361027270012457 0ustar00/*!40103 SET @OLD_TIME_ZONE=@@TIME_ZONE */;
/*!40103 SET TIME_ZONE='+00:00' */;
/*!40014 SET @OLD_UNIQUE_CHECKS=@@UNIQUE_CHECKS, UNIQUE_CHECKS=0 */;
/*!40014 SET @OLD_FOREIGN_KEY_CHECKS=@@FOREIGN_KEY_CHECKS, FOREIGN_KEY_CHECKS=0 */;
/*!40101 SET @OLD_SQL_MODE=@@SQL_MODE, SQL_MODE='NO_AUTO_VALUE_ON_ZERO' */;
/*!40111 SET @OLD_SQL_NOTES=@@SQL_NOTES, SQL_NOTES=0 */;
DROP TABLE IF EXISTS `tblcalendar`;
/*!40101 SET @saved_cs_client     = @@character_set_client */;
/*!40101 SET character_set_client = utf8 */;
CREATE TABLE `tblcalendar` (
  `id` int(10) NOT NULL AUTO_INCREMENT,
  `title` text COLLATE utf8_unicode_ci NOT NULL,
  `desc` text COLLATE utf8_unicode_ci NOT NULL,
  `start` int(10) NOT NULL,
  `end` int(10) NOT NULL,
  `allday` int(1) NOT NULL,
  `adminid` int(10) NOT NULL,
  `recurid` int(10) NOT NULL,
  PRIMARY KEY (`id`)
) ENGINE=InnoDB DEFAULT CHARSET=utf8 COLLATE=utf8_unicode_ci;
/*!40101 SET character_set_client = @saved_cs_client */;
/*!40103 SET TIME_ZONE=@OLD_TIME_ZONE */;

/*!40101 SET SQL_MODE=@OLD_SQL_MODE */;
/*!40014 SET FOREIGN_KEY_CHECKS=@OLD_FOREIGN_KEY_CHECKS */;
/*!40014 SET UNIQUE_CHECKS=@OLD_UNIQUE_CHECKS */;
/*!40111 SET SQL_NOTES=@OLD_SQL_NOTES */;

install/tblinvoicedata.schema.sql000064400000002405147361027270013174 0ustar00/*!40103 SET @OLD_TIME_ZONE=@@TIME_ZONE */;
/*!40103 SET TIME_ZONE='+00:00' */;
/*!40014 SET @OLD_UNIQUE_CHECKS=@@UNIQUE_CHECKS, UNIQUE_CHECKS=0 */;
/*!40014 SET @OLD_FOREIGN_KEY_CHECKS=@@FOREIGN_KEY_CHECKS, FOREIGN_KEY_CHECKS=0 */;
/*!40101 SET @OLD_SQL_MODE=@@SQL_MODE, SQL_MODE='NO_AUTO_VALUE_ON_ZERO' */;
/*!40111 SET @OLD_SQL_NOTES=@@SQL_NOTES, SQL_NOTES=0 */;
DROP TABLE IF EXISTS `tblinvoicedata`;
/*!40101 SET @saved_cs_client     = @@character_set_client */;
/*!40101 SET character_set_client = utf8 */;
CREATE TABLE `tblinvoicedata` (
  `id` int(10) unsigned NOT NULL AUTO_INCREMENT,
  `invoice_id` int(10) unsigned NOT NULL DEFAULT '0',
  `country` varchar(2) COLLATE utf8_unicode_ci NOT NULL DEFAULT '',
  `created_at` timestamp NOT NULL DEFAULT '0000-00-00 00:00:00',
  `updated_at` timestamp NOT NULL DEFAULT '0000-00-00 00:00:00',
  PRIMARY KEY (`id`),
  UNIQUE KEY `tblinvoicedata_invoice_id_unique` (`invoice_id`)
) ENGINE=InnoDB DEFAULT CHARSET=utf8 COLLATE=utf8_unicode_ci;
/*!40101 SET character_set_client = @saved_cs_client */;
/*!40103 SET TIME_ZONE=@OLD_TIME_ZONE */;

/*!40101 SET SQL_MODE=@OLD_SQL_MODE */;
/*!40014 SET FOREIGN_KEY_CHECKS=@OLD_FOREIGN_KEY_CHECKS */;
/*!40014 SET UNIQUE_CHECKS=@OLD_UNIQUE_CHECKS */;
/*!40111 SET SQL_NOTES=@OLD_SQL_NOTES */;
install/tbldomainreminders.data.sql000064400000001131147361027270013532 0ustar00/*!40103 SET @OLD_TIME_ZONE=@@TIME_ZONE */;
/*!40103 SET TIME_ZONE='+00:00' */;
/*!40014 SET @OLD_FOREIGN_KEY_CHECKS=@@FOREIGN_KEY_CHECKS, FOREIGN_KEY_CHECKS=0 */;
/*!40101 SET @OLD_SQL_MODE=@@SQL_MODE, SQL_MODE='NO_AUTO_VALUE_ON_ZERO' */;
/*!40111 SET @OLD_SQL_NOTES=@@SQL_NOTES, SQL_NOTES=0 */;

/*!40000 ALTER TABLE `tbldomainreminders` DISABLE KEYS */;
/*!40000 ALTER TABLE `tbldomainreminders` ENABLE KEYS */;
/*!40103 SET TIME_ZONE=@OLD_TIME_ZONE */;

/*!40101 SET SQL_MODE=@OLD_SQL_MODE */;
/*!40014 SET FOREIGN_KEY_CHECKS=@OLD_FOREIGN_KEY_CHECKS */;
/*!40111 SET SQL_NOTES=@OLD_SQL_NOTES */;

install/tbldomainpricing.data.sql000064400000001125147361027270013200 0ustar00/*!40103 SET @OLD_TIME_ZONE=@@TIME_ZONE */;
/*!40103 SET TIME_ZONE='+00:00' */;
/*!40014 SET @OLD_FOREIGN_KEY_CHECKS=@@FOREIGN_KEY_CHECKS, FOREIGN_KEY_CHECKS=0 */;
/*!40101 SET @OLD_SQL_MODE=@@SQL_MODE, SQL_MODE='NO_AUTO_VALUE_ON_ZERO' */;
/*!40111 SET @OLD_SQL_NOTES=@@SQL_NOTES, SQL_NOTES=0 */;

/*!40000 ALTER TABLE `tbldomainpricing` DISABLE KEYS */;
/*!40000 ALTER TABLE `tbldomainpricing` ENABLE KEYS */;
/*!40103 SET TIME_ZONE=@OLD_TIME_ZONE */;

/*!40101 SET SQL_MODE=@OLD_SQL_MODE */;
/*!40014 SET FOREIGN_KEY_CHECKS=@OLD_FOREIGN_KEY_CHECKS */;
/*!40111 SET SQL_NOTES=@OLD_SQL_NOTES */;

install/tbltickets.schema.sql000064400000005004147361027270012352 0ustar00/*!40103 SET @OLD_TIME_ZONE=@@TIME_ZONE */;
/*!40103 SET TIME_ZONE='+00:00' */;
/*!40014 SET @OLD_UNIQUE_CHECKS=@@UNIQUE_CHECKS, UNIQUE_CHECKS=0 */;
/*!40014 SET @OLD_FOREIGN_KEY_CHECKS=@@FOREIGN_KEY_CHECKS, FOREIGN_KEY_CHECKS=0 */;
/*!40101 SET @OLD_SQL_MODE=@@SQL_MODE, SQL_MODE='NO_AUTO_VALUE_ON_ZERO' */;
/*!40111 SET @OLD_SQL_NOTES=@@SQL_NOTES, SQL_NOTES=0 */;
DROP TABLE IF EXISTS `tbltickets`;
/*!40101 SET @saved_cs_client     = @@character_set_client */;
/*!40101 SET character_set_client = utf8 */;
CREATE TABLE `tbltickets` (
  `id` int(10) NOT NULL AUTO_INCREMENT,
  `tid` varchar(128) COLLATE utf8_unicode_ci DEFAULT NULL,
  `did` int(10) NOT NULL,
  `userid` int(10) NOT NULL,
  `contactid` int(10) NOT NULL,
  `requestor_id` INT(10) UNSIGNED NOT NULL DEFAULT '0',
  `name` text COLLATE utf8_unicode_ci NOT NULL,
  `email` text COLLATE utf8_unicode_ci NOT NULL,
  `cc` text COLLATE utf8_unicode_ci NOT NULL,
  `c` text COLLATE utf8_unicode_ci NOT NULL,
  `ipaddress` varchar(64) COLLATE utf8_unicode_ci DEFAULT NULL,
  `date` datetime NOT NULL DEFAULT '0000-00-00 00:00:00',
  `title` text COLLATE utf8_unicode_ci NOT NULL,
  `message` text COLLATE utf8_unicode_ci NOT NULL,
  `status` varchar(64) COLLATE utf8_unicode_ci NOT NULL,
  `urgency` text COLLATE utf8_unicode_ci NOT NULL,
  `admin` text COLLATE utf8_unicode_ci NOT NULL,
  `attachment` text COLLATE utf8_unicode_ci NOT NULL,
  `attachments_removed` tinyint(1) NOT NULL DEFAULT '0',
  `lastreply` datetime NOT NULL,
  `flag` int(1) NOT NULL,
  `clientunread` int(1) NOT NULL,
  `adminunread` text COLLATE utf8_unicode_ci NOT NULL,
  `replyingadmin` int(1) NOT NULL,
  `replyingtime` datetime NOT NULL,
  `service` text COLLATE utf8_unicode_ci NOT NULL,
  `merged_ticket_id` int(11) NOT NULL DEFAULT '0',
  `editor` enum('plain','markdown','bbcode') COLLATE utf8_unicode_ci NOT NULL DEFAULT 'plain',
  `updated_at` timestamp NOT NULL DEFAULT '0000-00-00 00:00:00',
  PRIMARY KEY (`id`),
  KEY `tid_c` (`tid`,`c`(64)),
  KEY `userid` (`userid`),
  KEY `date` (`date`),
  KEY `did` (`did`),
  KEY `merged_ticket_id` (`merged_ticket_id`,`id`),
  KEY `status` (`status`),
  KEY `merged_status_userid` (`merged_ticket_id`,`status`,`userid`)
) ENGINE=InnoDB DEFAULT CHARSET=utf8 COLLATE=utf8_unicode_ci;
/*!40101 SET character_set_client = @saved_cs_client */;
/*!40103 SET TIME_ZONE=@OLD_TIME_ZONE */;

/*!40101 SET SQL_MODE=@OLD_SQL_MODE */;
/*!40014 SET FOREIGN_KEY_CHECKS=@OLD_FOREIGN_KEY_CHECKS */;
/*!40014 SET UNIQUE_CHECKS=@OLD_UNIQUE_CHECKS */;
/*!40111 SET SQL_NOTES=@OLD_SQL_NOTES */;

install/tblticketbreaklines.schema.sql000064400000002000147361027270014220 0ustar00/*!40103 SET @OLD_TIME_ZONE=@@TIME_ZONE */;
/*!40103 SET TIME_ZONE='+00:00' */;
/*!40014 SET @OLD_UNIQUE_CHECKS=@@UNIQUE_CHECKS, UNIQUE_CHECKS=0 */;
/*!40014 SET @OLD_FOREIGN_KEY_CHECKS=@@FOREIGN_KEY_CHECKS, FOREIGN_KEY_CHECKS=0 */;
/*!40101 SET @OLD_SQL_MODE=@@SQL_MODE, SQL_MODE='NO_AUTO_VALUE_ON_ZERO' */;
/*!40111 SET @OLD_SQL_NOTES=@@SQL_NOTES, SQL_NOTES=0 */;
DROP TABLE IF EXISTS `tblticketbreaklines`;
/*!40101 SET @saved_cs_client     = @@character_set_client */;
/*!40101 SET character_set_client = utf8 */;
CREATE TABLE `tblticketbreaklines` (
  `id` int(10) NOT NULL AUTO_INCREMENT,
  `breakline` text COLLATE utf8_unicode_ci NOT NULL,
  PRIMARY KEY (`id`)
) ENGINE=InnoDB DEFAULT CHARSET=utf8 COLLATE=utf8_unicode_ci;
/*!40101 SET character_set_client = @saved_cs_client */;
/*!40103 SET TIME_ZONE=@OLD_TIME_ZONE */;

/*!40101 SET SQL_MODE=@OLD_SQL_MODE */;
/*!40014 SET FOREIGN_KEY_CHECKS=@OLD_FOREIGN_KEY_CHECKS */;
/*!40014 SET UNIQUE_CHECKS=@OLD_UNIQUE_CHECKS */;
/*!40111 SET SQL_NOTES=@OLD_SQL_NOTES */;

install/tblticketlog.data.sql000064400000001115147361027270012341 0ustar00/*!40103 SET @OLD_TIME_ZONE=@@TIME_ZONE */;
/*!40103 SET TIME_ZONE='+00:00' */;
/*!40014 SET @OLD_FOREIGN_KEY_CHECKS=@@FOREIGN_KEY_CHECKS, FOREIGN_KEY_CHECKS=0 */;
/*!40101 SET @OLD_SQL_MODE=@@SQL_MODE, SQL_MODE='NO_AUTO_VALUE_ON_ZERO' */;
/*!40111 SET @OLD_SQL_NOTES=@@SQL_NOTES, SQL_NOTES=0 */;

/*!40000 ALTER TABLE `tblticketlog` DISABLE KEYS */;
/*!40000 ALTER TABLE `tblticketlog` ENABLE KEYS */;
/*!40103 SET TIME_ZONE=@OLD_TIME_ZONE */;

/*!40101 SET SQL_MODE=@OLD_SQL_MODE */;
/*!40014 SET FOREIGN_KEY_CHECKS=@OLD_FOREIGN_KEY_CHECKS */;
/*!40111 SET SQL_NOTES=@OLD_SQL_NOTES */;

install/tblfileassetmigrationprogress.schema.sql000064400000003030147361027270016357 0ustar00/*!40103 SET @OLD_TIME_ZONE=@@TIME_ZONE */;
/*!40103 SET TIME_ZONE='+00:00' */;
/*!40014 SET @OLD_UNIQUE_CHECKS=@@UNIQUE_CHECKS, UNIQUE_CHECKS=0 */;
/*!40014 SET @OLD_FOREIGN_KEY_CHECKS=@@FOREIGN_KEY_CHECKS, FOREIGN_KEY_CHECKS=0 */;
/*!40101 SET @OLD_SQL_MODE=@@SQL_MODE, SQL_MODE='NO_AUTO_VALUE_ON_ZERO' */;
/*!40111 SET @OLD_SQL_NOTES=@@SQL_NOTES, SQL_NOTES=0 */;
DROP TABLE IF EXISTS `tblfileassetmigrationprogress`;
/*!40101 SET @saved_cs_client     = @@character_set_client */;
/*!40101 SET character_set_client = utf8 */;
CREATE TABLE `tblfileassetmigrationprogress` (
  `id` int(10) unsigned NOT NULL AUTO_INCREMENT,
  `asset_type` varchar(64) COLLATE utf8_unicode_ci NOT NULL,
  `migrated_objects` mediumtext COLLATE utf8_unicode_ci NOT NULL,
  `num_objects_migrated` int(10) unsigned DEFAULT '0',
  `num_objects_total` int(10) unsigned DEFAULT '0',
  `active` tinyint(1) unsigned DEFAULT '1',
  `num_failures` int(10) unsigned DEFAULT '0',
  `last_failure_reason` text COLLATE utf8_unicode_ci NOT NULL,
  `created_at` timestamp NOT NULL DEFAULT '0000-00-00 00:00:00',
  `updated_at` timestamp NOT NULL DEFAULT '0000-00-00 00:00:00',
  PRIMARY KEY (`id`),
  UNIQUE KEY `asset_type` (`asset_type`)
) ENGINE=InnoDB DEFAULT CHARSET=utf8 COLLATE=utf8_unicode_ci;
/*!40101 SET character_set_client = @saved_cs_client */;
/*!40103 SET TIME_ZONE=@OLD_TIME_ZONE */;

/*!40101 SET SQL_MODE=@OLD_SQL_MODE */;
/*!40014 SET FOREIGN_KEY_CHECKS=@OLD_FOREIGN_KEY_CHECKS */;
/*!40014 SET UNIQUE_CHECKS=@OLD_UNIQUE_CHECKS */;
/*!40111 SET SQL_NOTES=@OLD_SQL_NOTES */;

install/tblbillableitems.schema.sql000064400000002572147361027270013523 0ustar00/*!40103 SET @OLD_TIME_ZONE=@@TIME_ZONE */;
/*!40103 SET TIME_ZONE='+00:00' */;
/*!40014 SET @OLD_UNIQUE_CHECKS=@@UNIQUE_CHECKS, UNIQUE_CHECKS=0 */;
/*!40014 SET @OLD_FOREIGN_KEY_CHECKS=@@FOREIGN_KEY_CHECKS, FOREIGN_KEY_CHECKS=0 */;
/*!40101 SET @OLD_SQL_MODE=@@SQL_MODE, SQL_MODE='NO_AUTO_VALUE_ON_ZERO' */;
/*!40111 SET @OLD_SQL_NOTES=@@SQL_NOTES, SQL_NOTES=0 */;
DROP TABLE IF EXISTS `tblbillableitems`;
/*!40101 SET @saved_cs_client     = @@character_set_client */;
/*!40101 SET character_set_client = utf8 */;
CREATE TABLE `tblbillableitems` (
  `id` int(10) NOT NULL AUTO_INCREMENT,
  `userid` int(10) NOT NULL,
  `description` text COLLATE utf8_unicode_ci NOT NULL,
  `hours` decimal(5,2) NOT NULL,
  `amount` decimal(16,2) NOT NULL,
  `recur` int(5) NOT NULL DEFAULT '0',
  `recurcycle` text COLLATE utf8_unicode_ci NOT NULL,
  `recurfor` int(5) NOT NULL DEFAULT '0',
  `invoiceaction` int(1) NOT NULL,
  `unit` tinyint(1) NOT NULL DEFAULT '0',
  `duedate` date NOT NULL,
  `invoicecount` int(5) NOT NULL DEFAULT '0',
  PRIMARY KEY (`id`)
) ENGINE=InnoDB DEFAULT CHARSET=utf8 COLLATE=utf8_unicode_ci;
/*!40101 SET character_set_client = @saved_cs_client */;
/*!40103 SET TIME_ZONE=@OLD_TIME_ZONE */;

/*!40101 SET SQL_MODE=@OLD_SQL_MODE */;
/*!40014 SET FOREIGN_KEY_CHECKS=@OLD_FOREIGN_KEY_CHECKS */;
/*!40014 SET UNIQUE_CHECKS=@OLD_UNIQUE_CHECKS */;
/*!40111 SET SQL_NOTES=@OLD_SQL_NOTES */;

install/tblaffiliateshistory.schema.sql000064400000002535147361027270014443 0ustar00/*!40103 SET @OLD_TIME_ZONE=@@TIME_ZONE */;
/*!40103 SET TIME_ZONE='+00:00' */;
/*!40014 SET @OLD_UNIQUE_CHECKS=@@UNIQUE_CHECKS, UNIQUE_CHECKS=0 */;
/*!40014 SET @OLD_FOREIGN_KEY_CHECKS=@@FOREIGN_KEY_CHECKS, FOREIGN_KEY_CHECKS=0 */;
/*!40101 SET @OLD_SQL_MODE=@@SQL_MODE, SQL_MODE='NO_AUTO_VALUE_ON_ZERO' */;
/*!40111 SET @OLD_SQL_NOTES=@@SQL_NOTES, SQL_NOTES=0 */;
DROP TABLE IF EXISTS `tblaffiliateshistory`;
/*!40101 SET @saved_cs_client     = @@character_set_client */;
/*!40101 SET character_set_client = utf8 */;
CREATE TABLE `tblaffiliateshistory` (
  `id` int(10) NOT NULL AUTO_INCREMENT,
  `affiliateid` int(10) NOT NULL,
  `date` date NOT NULL,
  `affaccid` int(10) NOT NULL,
  `invoice_id` int(10) unsigned NOT NULL DEFAULT '0',
  `description` text COLLATE utf8_unicode_ci NOT NULL,
  `amount` decimal(16,2) NOT NULL,
  `created_at` timestamp NOT NULL DEFAULT '0000-00-00 00:00:00',
  `updated_at` timestamp NOT NULL DEFAULT '0000-00-00 00:00:00',
  PRIMARY KEY (`id`),
  KEY `affiliateid` (`affiliateid`)
) ENGINE=InnoDB DEFAULT CHARSET=utf8 COLLATE=utf8_unicode_ci;
/*!40101 SET character_set_client = @saved_cs_client */;
/*!40103 SET TIME_ZONE=@OLD_TIME_ZONE */;

/*!40101 SET SQL_MODE=@OLD_SQL_MODE */;
/*!40014 SET FOREIGN_KEY_CHECKS=@OLD_FOREIGN_KEY_CHECKS */;
/*!40014 SET UNIQUE_CHECKS=@OLD_UNIQUE_CHECKS */;
/*!40111 SET SQL_NOTES=@OLD_SQL_NOTES */;

install/tbloauthserver_access_tokens.data.sql000064400000001155147361027270015633 0ustar00/*!40103 SET @OLD_TIME_ZONE=@@TIME_ZONE */;
/*!40103 SET TIME_ZONE='+00:00' */;
/*!40014 SET @OLD_FOREIGN_KEY_CHECKS=@@FOREIGN_KEY_CHECKS, FOREIGN_KEY_CHECKS=0 */;
/*!40101 SET @OLD_SQL_MODE=@@SQL_MODE, SQL_MODE='NO_AUTO_VALUE_ON_ZERO' */;
/*!40111 SET @OLD_SQL_NOTES=@@SQL_NOTES, SQL_NOTES=0 */;

/*!40000 ALTER TABLE `tbloauthserver_access_tokens` DISABLE KEYS */;
/*!40000 ALTER TABLE `tbloauthserver_access_tokens` ENABLE KEYS */;
/*!40103 SET TIME_ZONE=@OLD_TIME_ZONE */;

/*!40101 SET SQL_MODE=@OLD_SQL_MODE */;
/*!40014 SET FOREIGN_KEY_CHECKS=@OLD_FOREIGN_KEY_CHECKS */;
/*!40111 SET SQL_NOTES=@OLD_SQL_NOTES */;

install/tblapplinks_links.schema.sql000064400000002562147361027270013733 0ustar00/*!40103 SET @OLD_TIME_ZONE=@@TIME_ZONE */;
/*!40103 SET TIME_ZONE='+00:00' */;
/*!40014 SET @OLD_UNIQUE_CHECKS=@@UNIQUE_CHECKS, UNIQUE_CHECKS=0 */;
/*!40014 SET @OLD_FOREIGN_KEY_CHECKS=@@FOREIGN_KEY_CHECKS, FOREIGN_KEY_CHECKS=0 */;
/*!40101 SET @OLD_SQL_MODE=@@SQL_MODE, SQL_MODE='NO_AUTO_VALUE_ON_ZERO' */;
/*!40111 SET @OLD_SQL_NOTES=@@SQL_NOTES, SQL_NOTES=0 */;
DROP TABLE IF EXISTS `tblapplinks_links`;
/*!40101 SET @saved_cs_client     = @@character_set_client */;
/*!40101 SET character_set_client = utf8 */;
CREATE TABLE `tblapplinks_links` (
  `id` int(10) unsigned NOT NULL AUTO_INCREMENT,
  `applink_id` int(10) unsigned NOT NULL DEFAULT '0',
  `scope` varchar(80) COLLATE utf8_unicode_ci NOT NULL DEFAULT '',
  `display_label` varchar(256) COLLATE utf8_unicode_ci NOT NULL DEFAULT '',
  `is_enabled` tinyint(4) NOT NULL DEFAULT '0',
  `order` tinyint(4) NOT NULL DEFAULT '0',
  `created_at` timestamp NOT NULL DEFAULT '0000-00-00 00:00:00',
  `updated_at` timestamp NOT NULL DEFAULT '0000-00-00 00:00:00',
  PRIMARY KEY (`id`)
) ENGINE=InnoDB DEFAULT CHARSET=utf8 COLLATE=utf8_unicode_ci;
/*!40101 SET character_set_client = @saved_cs_client */;
/*!40103 SET TIME_ZONE=@OLD_TIME_ZONE */;

/*!40101 SET SQL_MODE=@OLD_SQL_MODE */;
/*!40014 SET FOREIGN_KEY_CHECKS=@OLD_FOREIGN_KEY_CHECKS */;
/*!40014 SET UNIQUE_CHECKS=@OLD_UNIQUE_CHECKS */;
/*!40111 SET SQL_NOTES=@OLD_SQL_NOTES */;

install/tblcampaigns.schema.sql000064400000003341147361027270012650 0ustar00/*!40103 SET @OLD_TIME_ZONE=@@TIME_ZONE */;
/*!40103 SET TIME_ZONE='+00:00' */;
/*!40014 SET @OLD_UNIQUE_CHECKS=@@UNIQUE_CHECKS, UNIQUE_CHECKS=0 */;
/*!40014 SET @OLD_FOREIGN_KEY_CHECKS=@@FOREIGN_KEY_CHECKS, FOREIGN_KEY_CHECKS=0 */;
/*!40101 SET @OLD_SQL_MODE=@@SQL_MODE, SQL_MODE='NO_AUTO_VALUE_ON_ZERO' */;
/*!40111 SET @OLD_SQL_NOTES=@@SQL_NOTES, SQL_NOTES=0 */;
DROP TABLE IF EXISTS `tblcampaigns`;
/*!40101 SET @saved_cs_client     = @@character_set_client */;
/*!40101 SET character_set_client = utf8 */;
CREATE TABLE `tblcampaigns` (
  `id` int(10) unsigned NOT NULL AUTO_INCREMENT,
  `admin_id` int unsigned NOT NULL DEFAULT '0',
  `name` varchar(250) NOT NULL DEFAULT '',
  `configuration` text,
  `message_data` mediumtext,
  `sending_start_at` datetime DEFAULT NULL,
  `draft` tinyint(1) NOT NULL DEFAULT '0',
  `started` tinyint(1) NOT NULL DEFAULT '0',
  `paused` tinyint(1) NOT NULL DEFAULT '0',
  `position` int(10) unsigned NOT NULL DEFAULT '0',
  `completed` tinyint(1) NOT NULL DEFAULT '0',
  `completed_at` timestamp NULL DEFAULT NULL,
  `queue_completed_at` timestamp NULL DEFAULT NULL,
  `created_at` timestamp NULL DEFAULT NULL,
  `updated_at` timestamp NULL DEFAULT NULL,
  `deleted_at` timestamp NULL DEFAULT NULL,
  PRIMARY KEY (`id`),
  KEY `tblcampaigns_started_index` (`started`),
  KEY `tblcampaigns_paused_index` (`paused`),
  KEY `tblcampaigns_completed_index` (`completed`)
) ENGINE=InnoDB DEFAULT CHARSET=utf8 COLLATE=utf8_unicode_ci;
/*!40101 SET character_set_client = @saved_cs_client */;
/*!40103 SET TIME_ZONE=@OLD_TIME_ZONE */;

/*!40101 SET SQL_MODE=@OLD_SQL_MODE */;
/*!40014 SET FOREIGN_KEY_CHECKS=@OLD_FOREIGN_KEY_CHECKS */;
/*!40014 SET UNIQUE_CHECKS=@OLD_UNIQUE_CHECKS */;
/*!40111 SET SQL_NOTES=@OLD_SQL_NOTES */;

install/tblticketmaillog.data.sql000064400000001125147361027270013205 0ustar00/*!40103 SET @OLD_TIME_ZONE=@@TIME_ZONE */;
/*!40103 SET TIME_ZONE='+00:00' */;
/*!40014 SET @OLD_FOREIGN_KEY_CHECKS=@@FOREIGN_KEY_CHECKS, FOREIGN_KEY_CHECKS=0 */;
/*!40101 SET @OLD_SQL_MODE=@@SQL_MODE, SQL_MODE='NO_AUTO_VALUE_ON_ZERO' */;
/*!40111 SET @OLD_SQL_NOTES=@@SQL_NOTES, SQL_NOTES=0 */;

/*!40000 ALTER TABLE `tblticketmaillog` DISABLE KEYS */;
/*!40000 ALTER TABLE `tblticketmaillog` ENABLE KEYS */;
/*!40103 SET TIME_ZONE=@OLD_TIME_ZONE */;

/*!40101 SET SQL_MODE=@OLD_SQL_MODE */;
/*!40014 SET FOREIGN_KEY_CHECKS=@OLD_FOREIGN_KEY_CHECKS */;
/*!40111 SET SQL_NOTES=@OLD_SQL_NOTES */;

install/tbladdons.data.sql000064400000001107147361027270011625 0ustar00/*!40103 SET @OLD_TIME_ZONE=@@TIME_ZONE */;
/*!40103 SET TIME_ZONE='+00:00' */;
/*!40014 SET @OLD_FOREIGN_KEY_CHECKS=@@FOREIGN_KEY_CHECKS, FOREIGN_KEY_CHECKS=0 */;
/*!40101 SET @OLD_SQL_MODE=@@SQL_MODE, SQL_MODE='NO_AUTO_VALUE_ON_ZERO' */;
/*!40111 SET @OLD_SQL_NOTES=@@SQL_NOTES, SQL_NOTES=0 */;

/*!40000 ALTER TABLE `tbladdons` DISABLE KEYS */;
/*!40000 ALTER TABLE `tbladdons` ENABLE KEYS */;
/*!40103 SET TIME_ZONE=@OLD_TIME_ZONE */;

/*!40101 SET SQL_MODE=@OLD_SQL_MODE */;
/*!40014 SET FOREIGN_KEY_CHECKS=@OLD_FOREIGN_KEY_CHECKS */;
/*!40111 SET SQL_NOTES=@OLD_SQL_NOTES */;

install/tblapplinks_log.schema.sql000064400000002363147361027270013373 0ustar00/*!40103 SET @OLD_TIME_ZONE=@@TIME_ZONE */;
/*!40103 SET TIME_ZONE='+00:00' */;
/*!40014 SET @OLD_UNIQUE_CHECKS=@@UNIQUE_CHECKS, UNIQUE_CHECKS=0 */;
/*!40014 SET @OLD_FOREIGN_KEY_CHECKS=@@FOREIGN_KEY_CHECKS, FOREIGN_KEY_CHECKS=0 */;
/*!40101 SET @OLD_SQL_MODE=@@SQL_MODE, SQL_MODE='NO_AUTO_VALUE_ON_ZERO' */;
/*!40111 SET @OLD_SQL_NOTES=@@SQL_NOTES, SQL_NOTES=0 */;
DROP TABLE IF EXISTS `tblapplinks_log`;
/*!40101 SET @saved_cs_client     = @@character_set_client */;
/*!40101 SET character_set_client = utf8 */;
CREATE TABLE `tblapplinks_log` (
  `id` int(10) unsigned NOT NULL AUTO_INCREMENT,
  `applink_id` int(10) unsigned NOT NULL DEFAULT '0',
  `message` varchar(2000) COLLATE utf8_unicode_ci NOT NULL DEFAULT '',
  `level` int(11) NOT NULL DEFAULT '0',
  `created_at` timestamp NOT NULL DEFAULT '0000-00-00 00:00:00',
  `updated_at` timestamp NOT NULL DEFAULT '0000-00-00 00:00:00',
  PRIMARY KEY (`id`)
) ENGINE=InnoDB DEFAULT CHARSET=utf8 COLLATE=utf8_unicode_ci;
/*!40101 SET character_set_client = @saved_cs_client */;
/*!40103 SET TIME_ZONE=@OLD_TIME_ZONE */;

/*!40101 SET SQL_MODE=@OLD_SQL_MODE */;
/*!40014 SET FOREIGN_KEY_CHECKS=@OLD_FOREIGN_KEY_CHECKS */;
/*!40014 SET UNIQUE_CHECKS=@OLD_UNIQUE_CHECKS */;
/*!40111 SET SQL_NOTES=@OLD_SQL_NOTES */;

install/tblaffiliates.schema.sql000064400000002627147361027270013023 0ustar00/*!40103 SET @OLD_TIME_ZONE=@@TIME_ZONE */;
/*!40103 SET TIME_ZONE='+00:00' */;
/*!40014 SET @OLD_UNIQUE_CHECKS=@@UNIQUE_CHECKS, UNIQUE_CHECKS=0 */;
/*!40014 SET @OLD_FOREIGN_KEY_CHECKS=@@FOREIGN_KEY_CHECKS, FOREIGN_KEY_CHECKS=0 */;
/*!40101 SET @OLD_SQL_MODE=@@SQL_MODE, SQL_MODE='NO_AUTO_VALUE_ON_ZERO' */;
/*!40111 SET @OLD_SQL_NOTES=@@SQL_NOTES, SQL_NOTES=0 */;
DROP TABLE IF EXISTS `tblaffiliates`;
/*!40101 SET @saved_cs_client     = @@character_set_client */;
/*!40101 SET character_set_client = utf8 */;
CREATE TABLE `tblaffiliates` (
  `id` int(10) NOT NULL AUTO_INCREMENT,
  `date` date DEFAULT NULL,
  `clientid` int(10) NOT NULL,
  `visitors` int(1) NOT NULL,
  `paytype` text COLLATE utf8_unicode_ci NOT NULL,
  `payamount` decimal(16,2) NOT NULL,
  `onetime` int(1) NOT NULL,
  `balance` decimal(16,2) NOT NULL DEFAULT '0.00',
  `withdrawn` decimal(16,2) NOT NULL DEFAULT '0.00',
  `created_at` timestamp NOT NULL DEFAULT '0000-00-00 00:00:00',
  `updated_at` timestamp NOT NULL DEFAULT '0000-00-00 00:00:00',
  PRIMARY KEY (`id`),
  KEY `clientid` (`clientid`)
) ENGINE=InnoDB DEFAULT CHARSET=utf8 COLLATE=utf8_unicode_ci;
/*!40101 SET character_set_client = @saved_cs_client */;
/*!40103 SET TIME_ZONE=@OLD_TIME_ZONE */;

/*!40101 SET SQL_MODE=@OLD_SQL_MODE */;
/*!40014 SET FOREIGN_KEY_CHECKS=@OLD_FOREIGN_KEY_CHECKS */;
/*!40014 SET UNIQUE_CHECKS=@OLD_UNIQUE_CHECKS */;
/*!40111 SET SQL_NOTES=@OLD_SQL_NOTES */;

install/tbltenant_stats.schema.sql000064400000002613147361027270013416 0ustar00/*!40103 SET @OLD_TIME_ZONE=@@TIME_ZONE */;
/*!40103 SET TIME_ZONE='+00:00' */;
/*!40014 SET @OLD_UNIQUE_CHECKS=@@UNIQUE_CHECKS, UNIQUE_CHECKS=0 */;
/*!40014 SET @OLD_FOREIGN_KEY_CHECKS=@@FOREIGN_KEY_CHECKS, FOREIGN_KEY_CHECKS=0 */;
/*!40101 SET @OLD_SQL_MODE=@@SQL_MODE, SQL_MODE='NO_AUTO_VALUE_ON_ZERO' */;
/*!40111 SET @OLD_SQL_NOTES=@@SQL_NOTES, SQL_NOTES=0 */;
DROP TABLE IF EXISTS `tbltenant_stats`;
/*!40101 SET @saved_cs_client     = @@character_set_client */;
/*!40101 SET character_set_client = utf8 */;
CREATE TABLE `tbltenant_stats` (
  `id` int(10) unsigned NOT NULL AUTO_INCREMENT,
  `tenant_id` int(11) NOT NULL DEFAULT '0',
  `metric` varchar(255) COLLATE utf8_unicode_ci NOT NULL DEFAULT '',
  `type` varchar(255) COLLATE utf8_unicode_ci NOT NULL DEFAULT '',
  `value` decimal(19,6) NOT NULL DEFAULT '0.000000',
  `measured_at` decimal(18,6) NOT NULL DEFAULT '0.000000',
  `invoice_id` int(11) DEFAULT '0',
  `created_at` timestamp NULL DEFAULT NULL,
  `updated_at` timestamp NULL DEFAULT NULL,
  PRIMARY KEY (`id`),
  KEY `tenant_id` (`tenant_id`)
) ENGINE=InnoDB DEFAULT CHARSET=utf8 COLLATE=utf8_unicode_ci;
/*!40101 SET character_set_client = @saved_cs_client */;
/*!40103 SET TIME_ZONE=@OLD_TIME_ZONE */;

/*!40101 SET SQL_MODE=@OLD_SQL_MODE */;
/*!40014 SET FOREIGN_KEY_CHECKS=@OLD_FOREIGN_KEY_CHECKS */;
/*!40014 SET UNIQUE_CHECKS=@OLD_UNIQUE_CHECKS */;
/*!40111 SET SQL_NOTES=@OLD_SQL_NOTES */;install/tblclientgroups.data.sql000064400000001123147361027270013071 0ustar00/*!40103 SET @OLD_TIME_ZONE=@@TIME_ZONE */;
/*!40103 SET TIME_ZONE='+00:00' */;
/*!40014 SET @OLD_FOREIGN_KEY_CHECKS=@@FOREIGN_KEY_CHECKS, FOREIGN_KEY_CHECKS=0 */;
/*!40101 SET @OLD_SQL_MODE=@@SQL_MODE, SQL_MODE='NO_AUTO_VALUE_ON_ZERO' */;
/*!40111 SET @OLD_SQL_NOTES=@@SQL_NOTES, SQL_NOTES=0 */;

/*!40000 ALTER TABLE `tblclientgroups` DISABLE KEYS */;
/*!40000 ALTER TABLE `tblclientgroups` ENABLE KEYS */;
/*!40103 SET TIME_ZONE=@OLD_TIME_ZONE */;

/*!40101 SET SQL_MODE=@OLD_SQL_MODE */;
/*!40014 SET FOREIGN_KEY_CHECKS=@OLD_FOREIGN_KEY_CHECKS */;
/*!40111 SET SQL_NOTES=@OLD_SQL_NOTES */;

install/tblbannedips.schema.sql000064400000002123147361027270012646 0ustar00/*!40103 SET @OLD_TIME_ZONE=@@TIME_ZONE */;
/*!40103 SET TIME_ZONE='+00:00' */;
/*!40014 SET @OLD_UNIQUE_CHECKS=@@UNIQUE_CHECKS, UNIQUE_CHECKS=0 */;
/*!40014 SET @OLD_FOREIGN_KEY_CHECKS=@@FOREIGN_KEY_CHECKS, FOREIGN_KEY_CHECKS=0 */;
/*!40101 SET @OLD_SQL_MODE=@@SQL_MODE, SQL_MODE='NO_AUTO_VALUE_ON_ZERO' */;
/*!40111 SET @OLD_SQL_NOTES=@@SQL_NOTES, SQL_NOTES=0 */;
DROP TABLE IF EXISTS `tblbannedips`;
/*!40101 SET @saved_cs_client     = @@character_set_client */;
/*!40101 SET character_set_client = utf8 */;
CREATE TABLE `tblbannedips` (
  `id` int(10) NOT NULL AUTO_INCREMENT,
  `ip` text COLLATE utf8_unicode_ci NOT NULL,
  `reason` text COLLATE utf8_unicode_ci NOT NULL,
  `expires` datetime NOT NULL,
  PRIMARY KEY (`id`),
  KEY `ip` (`ip`(32))
) ENGINE=InnoDB DEFAULT CHARSET=utf8 COLLATE=utf8_unicode_ci;
/*!40101 SET character_set_client = @saved_cs_client */;
/*!40103 SET TIME_ZONE=@OLD_TIME_ZONE */;

/*!40101 SET SQL_MODE=@OLD_SQL_MODE */;
/*!40014 SET FOREIGN_KEY_CHECKS=@OLD_FOREIGN_KEY_CHECKS */;
/*!40014 SET UNIQUE_CHECKS=@OLD_UNIQUE_CHECKS */;
/*!40111 SET SQL_NOTES=@OLD_SQL_NOTES */;

install/tblapilog.data.sql000064400000001107147361027270011630 0ustar00/*!40103 SET @OLD_TIME_ZONE=@@TIME_ZONE */;
/*!40103 SET TIME_ZONE='+00:00' */;
/*!40014 SET @OLD_FOREIGN_KEY_CHECKS=@@FOREIGN_KEY_CHECKS, FOREIGN_KEY_CHECKS=0 */;
/*!40101 SET @OLD_SQL_MODE=@@SQL_MODE, SQL_MODE='NO_AUTO_VALUE_ON_ZERO' */;
/*!40111 SET @OLD_SQL_NOTES=@@SQL_NOTES, SQL_NOTES=0 */;

/*!40000 ALTER TABLE `tblapilog` DISABLE KEYS */;
/*!40000 ALTER TABLE `tblapilog` ENABLE KEYS */;
/*!40103 SET TIME_ZONE=@OLD_TIME_ZONE */;

/*!40101 SET SQL_MODE=@OLD_SQL_MODE */;
/*!40014 SET FOREIGN_KEY_CHECKS=@OLD_FOREIGN_KEY_CHECKS */;
/*!40111 SET SQL_NOTES=@OLD_SQL_NOTES */;

install/tblmodule_configuration.data.sql000064400000001143147361027270014571 0ustar00/*!40103 SET @OLD_TIME_ZONE=@@TIME_ZONE */;
/*!40103 SET TIME_ZONE='+00:00' */;
/*!40014 SET @OLD_FOREIGN_KEY_CHECKS=@@FOREIGN_KEY_CHECKS, FOREIGN_KEY_CHECKS=0 */;
/*!40101 SET @OLD_SQL_MODE=@@SQL_MODE, SQL_MODE='NO_AUTO_VALUE_ON_ZERO' */;
/*!40111 SET @OLD_SQL_NOTES=@@SQL_NOTES, SQL_NOTES=0 */;

/*!40000 ALTER TABLE `tblmodule_configuration` DISABLE KEYS */;
/*!40000 ALTER TABLE `tblmodule_configuration` ENABLE KEYS */;
/*!40103 SET TIME_ZONE=@OLD_TIME_ZONE */;

/*!40101 SET SQL_MODE=@OLD_SQL_MODE */;
/*!40014 SET FOREIGN_KEY_CHECKS=@OLD_FOREIGN_KEY_CHECKS */;
/*!40111 SET SQL_NOTES=@OLD_SQL_NOTES */;

install/tblpricing_bracket.data.sql000064400000001131147361027270013500 0ustar00/*!40103 SET @OLD_TIME_ZONE=@@TIME_ZONE */;
/*!40103 SET TIME_ZONE='+00:00' */;
/*!40014 SET @OLD_FOREIGN_KEY_CHECKS=@@FOREIGN_KEY_CHECKS, FOREIGN_KEY_CHECKS=0 */;
/*!40101 SET @OLD_SQL_MODE=@@SQL_MODE, SQL_MODE='NO_AUTO_VALUE_ON_ZERO' */;
/*!40111 SET @OLD_SQL_NOTES=@@SQL_NOTES, SQL_NOTES=0 */;

/*!40000 ALTER TABLE `tblpricing_bracket` DISABLE KEYS */;
/*!40000 ALTER TABLE `tblpricing_bracket` ENABLE KEYS */;
/*!40103 SET TIME_ZONE=@OLD_TIME_ZONE */;

/*!40101 SET SQL_MODE=@OLD_SQL_MODE */;
/*!40014 SET FOREIGN_KEY_CHECKS=@OLD_FOREIGN_KEY_CHECKS */;
/*!40111 SET SQL_NOTES=@OLD_SQL_NOTES */;

install/tblcredit.data.sql000064400000001107147361027270011627 0ustar00/*!40103 SET @OLD_TIME_ZONE=@@TIME_ZONE */;
/*!40103 SET TIME_ZONE='+00:00' */;
/*!40014 SET @OLD_FOREIGN_KEY_CHECKS=@@FOREIGN_KEY_CHECKS, FOREIGN_KEY_CHECKS=0 */;
/*!40101 SET @OLD_SQL_MODE=@@SQL_MODE, SQL_MODE='NO_AUTO_VALUE_ON_ZERO' */;
/*!40111 SET @OLD_SQL_NOTES=@@SQL_NOTES, SQL_NOTES=0 */;

/*!40000 ALTER TABLE `tblcredit` DISABLE KEYS */;
/*!40000 ALTER TABLE `tblcredit` ENABLE KEYS */;
/*!40103 SET TIME_ZONE=@OLD_TIME_ZONE */;

/*!40101 SET SQL_MODE=@OLD_SQL_MODE */;
/*!40014 SET FOREIGN_KEY_CHECKS=@OLD_FOREIGN_KEY_CHECKS */;
/*!40111 SET SQL_NOTES=@OLD_SQL_NOTES */;

install/tblemailtemplates.data.sql000064400000236575147361027270013406 0ustar00/*!40103 SET @OLD_TIME_ZONE=@@TIME_ZONE */;
/*!40103 SET TIME_ZONE='+00:00' */;
/*!40014 SET @OLD_FOREIGN_KEY_CHECKS=@@FOREIGN_KEY_CHECKS, FOREIGN_KEY_CHECKS=0 */;
/*!40101 SET @OLD_SQL_MODE=@@SQL_MODE, SQL_MODE='NO_AUTO_VALUE_ON_ZERO' */;
/*!40111 SET @OLD_SQL_NOTES=@@SQL_NOTES, SQL_NOTES=0 */;

/*!40000 ALTER TABLE `tblemailtemplates` DISABLE KEYS */;
INSERT INTO `tblemailtemplates` VALUES (1,'product','Hosting Account Welcome Email','New Account Information','<p>Dear {$client_name},</p><p align=\"center\"><strong>PLEASE READ THIS EMAIL IN FULL AND PRINT IT FOR YOUR RECORDS</strong></p><p>Thank you for your order from us! Your hosting account has now been setup and this email contains all the information you will need in order to begin using your account.</p><p>If you have requested a domain name during sign up, please keep in mind that your domain name will not be visible on the internet instantly. This process is called propagation and can take up to 48 hours. Until your domain has propagated, your website and email will not function, we have provided a temporary url which you may use to view your website and upload files in the meantime.</p><p><strong>New Account Information</strong></p><p>Hosting Package: {$service_product_name}<br />Domain: {$service_domain}<br />First Payment Amount: {$service_first_payment_amount}<br />Recurring Amount: {$service_recurring_amount}<br />Billing Cycle: {$service_billing_cycle}<br />Next Due Date: {$service_next_due_date}</p><p><strong>Login Details</strong></p><p>Username: {$service_username}<br />Password: {$service_password}</p><p>Control Panel URL: <a href=\"http://{$service_server_ip}:2082/\">http://{$service_server_ip}:2082/</a><br />Once your domain has propagated, you may also use <a href=\"http://www.{$service_domain}:2082/\">http://www.{$service_domain}:2082/</a></p><p><strong>Server Information</strong></p><p>Server Name: {$service_server_name}<br />Server IP: {$service_server_ip}</p><p>If you are using an existing domain with your new hosting account, you will need to update the nameservers to point to the nameservers listed below.</p><p>Nameserver 1: {$service_ns1} ({$service_ns1_ip})<br />Nameserver 2: {$service_ns2} ({$service_ns2_ip}){if $service_ns3}<br />Nameserver 3: {$service_ns3} ({$service_ns3_ip}){/if}{if $service_ns4}<br />Nameserver 4: {$service_ns4} ({$service_ns4_ip}){/if}</p><p><strong>Uploading Your Website</strong></p><p>Temporarily you may use one of the addresses given below to manage your web site:</p><p>Temporary FTP Hostname: {$service_server_ip}<br />Temporary Webpage URL: <a href=\"http://{$service_server_ip}/~{$service_username}/\">http://{$service_server_ip}/~{$service_username}/</a></p><p>And once your domain has propagated you may use the details below:</p><p>FTP Hostname: {$service_domain}<br />Webpage URL: <a href=\"http://www.{$service_domain}\">http://www.{$service_domain}</a></p><p><strong>Email Settings</strong></p><p>For email accounts that you setup, you should use the following connection details in your email program:</p><p>POP3 Host Address: mail.{$service_domain}<br />SMTP Host Address: mail.{$service_domain}<br />Username: The email address you are checking email for<br />Password: As specified in your control panel</p><p>Thank you for choosing us.</p><p>{$signature}</p>','','','',0,0,'','','',0,'0000-00-00 00:00:00','0000-00-00 00:00:00'),
(3,'domain','Domain Registration Confirmation','Domain Registration Confirmation','<p>\r\nDear {$client_name}, \r\n</p>\r\n<p>\r\nThis message is to confirm that your domain purchase has been successful. The details of the domain purchase are below: \r\n</p>\r\n<p>\r\nRegistration Date: {$domain_reg_date}<br />\r\nDomain: {$domain_name}<br />\r\nRegistration Period: {$domain_reg_period}<br />\r\nAmount: {$domain_first_payment_amount}<br />\r\nNext Due Date: {$domain_next_due_date} \r\n</p>\r\n<p>\r\nYou may login to your client area at <a href=\"{$whmcs_url}\">{$whmcs_url}</a> to manage your new domain. \r\n</p>\r\n<p>\r\n{$signature} \r\n</p>\r\n','','','',0,0,'','','',0,'0000-00-00 00:00:00','0000-00-00 00:00:00'),
(4,'product','Reseller Account Welcome Email','Reseller Account Information','<p align=\"center\">\r\n<strong>PLEASE PRINT THIS MESSAGE FOR YOUR RECORDS - PLEASE READ THIS EMAIL IN FULL.</strong>\r\n</p>\r\n<p>\r\nIf you have requested a domain name during sign up then this will not be visible on the internet for between 24 and 72 hours. This process is called Propagation. Until your domain has Propagated your website and email will not function, we have provided a temporary url which you may use to view your website and upload files in the meantime.\r\n</p>\r\n<p>\r\nDear {$client_name},\r\n</p>\r\n<p>\r\nThe reseller hosting account for {$service_domain} has been set up. The username and password below are for both cPanel to manage the website at {$service_domain} and WebHostManager to manage your Reseller Account.\r\n</p>\r\n<p>\r\n<strong>New Account Info</strong>\r\n</p>\r\n<p>\r\nDomain: {$service_domain}<br />\r\nUsername: {$service_username}<br />\r\nPassword: {$service_password}<br />\r\nHosting Package: {$service_product_name}\r\n</p>\r\n<p>\r\nControl Panel: <a href=\"http://{$service_server_ip}:2082/\">http://{$service_server_ip}:2082/</a><br />\r\nWeb Host Manager: <a href=\"http://{$service_server_ip}:2086/\">http://{$service_server_ip}:2086/</a>\r\n</p>\r\n<p>\r\n-------------------------------------------------------------------------------------------- <br />\r\n<strong>Web Host Manager Quick Start</strong> <br />\r\n-------------------------------------------------------------------------------------------- <br />\r\n<br />\r\nTo access your Web Host Manager, use the following address:<br />\r\n<br />\r\n<a href=\"http://{$service_server_ip}:2086/\">http://{$service_server_ip}:2086/</a><br />\r\n<br />\r\nThe <strong>http://</strong> must be in the address line to connect to port :2086 <br />\r\nPlease use the username/password given above. <br />\r\n<br />\r\n<strong><em>To Create a New Account <br />\r\n</em></strong><br />\r\nThe first thing you need to do is scroll down on the left and click on &#39Add Package&#39 so that you can create your own hosting packages. You cannot install a domain onto your account without first creating packages.<br />\r\n<br />\r\n1. Click on &#39Create a New Account&#39 from the left hand side menu <br />\r\n2. Put the domain in the &#39Domain&#39 box (no www or http or spaces ? just domainname.com). After putting in the domain, hit TAB and it will automatically create a username. Also, enter a password for the account.<br />\r\n3. Your package selection should be one that you created earlier <br />\r\n4. Then press the create button <br />\r\n<br />\r\nThis will give you a confirmation page (you should print this for your records)\r\n</p>\r\n<p>\r\nPlease do not click on anything that you are not sure what it does. Please do not try to alter the WHM Theme from the selection box - fatal errors may occur. \r\n</p>\r\n<p>\r\n-------------------------------------------------------------------------------------------- \r\n</p>\r\n<p>\r\nTemporarily you may use one of the addresses given below manage your web site\r\n</p>\r\n<p>\r\nTemporary FTP Hostname: {$service_server_ip}<br />\r\nTemporary Webpage URL: <a href=\"http://{$service_server_ip}/~{$service_username}/\">http://{$service_server_ip}/~{$service_username}/</a><br />\r\nTemporary Control Panel: <a href=\"http://{$service_server_ip}/cpanel\">http://{$service_server_ip}/cpanel</a>\r\n</p>\r\n<p>\r\nOnce your domain has Propagated\r\n</p>\r\n<p>\r\nFTP Hostname: www.{$service_domain}<br />\r\nWebpage URL: <a href=\"http://www.{$service_domain}\">http://www.{$service_domain}</a><br />\r\nControl Panel: <a href=\"http://www.{$service_domain}/cpanel\">http://www.{$service_domain}/cpanel</a><br />\r\nWeb Host Manager: <a href=\"http://www.{$service_domain}/whm\">http://www.{$service_domain}/whm</a>\r\n</p>\r\n<p>\r\n<strong>Mail settings</strong>\r\n</p>\r\n<p>\r\nCatch all email with your default email account\r\n</p>\r\n<p>\r\nPOP3 Host Address : mail.{$service_domain}<br />\r\nSMTP Host Address: mail.{$service_domain}<br />\r\nUsername: {$service_username}<br />\r\nPassword: {$service_password}\r\n</p>\r\n<p>\r\nAdditional mail accounts that you add\r\n</p>\r\n<p>\r\nPOP3 Host Address : mail.{$service_domain}<br />\r\nSMTP Host Address: mail.{$service_domain}<br />\r\nUsername : The FULL email address that you are picking up from (e.g. info@example.com). <br />\r\nIf your email client cannot accept a @ symbol, then you may replace this with a backslash .<br />\r\nPassword : As specified in your control panel \r\n</p>\r\n<p>\r\nThank you for choosing us.\r\n</p>\r\n<p>\r\n{$signature}\r\n</p>\r\n','','','',0,0,'','','',0,'0000-00-00 00:00:00','0000-00-00 00:00:00'),
(7,'support','Support Ticket Opened','New Support Ticket Opened','<p>\r\n{$client_name},\r\n</p>\r\n<p>\r\nThank you for contacting our support team. A support ticket has now been opened for your request. You will be notified when a response is made by email. The details of your ticket are shown below.\r\n</p>\r\n<p>\r\nSubject: {$ticket_subject}<br />\r\nPriority: {$ticket_priority}<br />\r\nStatus: {$ticket_status}\r\n</p>\r\n<p>\r\nYou can view the ticket at any time at {$ticket_link}\r\n</p>\r\n<p>\r\n{$signature}\r\n</p>\r\n','','','',0,0,'','','',0,'0000-00-00 00:00:00','0000-00-00 00:00:00'),
(8,'support','Support Ticket Reply','Support Ticket Response','<p>\r\n{$ticket_message}\r\n</p>\r\n<p>\r\n----------------------------------------------<br />\r\nTicket ID: #{$ticket_id}<br />\r\nSubject: {$ticket_subject}<br />\r\nStatus: {$ticket_status}<br />\r\nTicket URL: {$ticket_link}<br />\r\n----------------------------------------------\r\n</p>\r\n','','','',0,0,'','','',0,'0000-00-00 00:00:00','0000-00-00 00:00:00'),
(9,'general','Client Signup Email','Welcome','<p>Dear {$client_first_name},</p>\r\n<p>Thank you for creating a {$companyname} account. Please review this email in its entirety as it contains important information.</p>\r\n<p><strong>Logging In</strong></p>\r\n<p>You can access our client area at {$whmcs_link}</p>\r\n<p>You will need your email address and the password you chose during signup to login.</p>\r\n<p>If you created an account as part of placing a new order with us, you will shortly receive an order confirmation email.</p>\r\n<p><strong>Getting Support</strong></p>\r\n<p>If you need any help or assistance, you can access our support resources below.</p>\r\n<ul>\r\n<li><a href=\"{$whmcs_url}/knowledgebase.php\">Knowledgebase</a></li>\r\n<li><a href=\"{$whmcs_url}/submitticket.php\">Submit a Ticket</a></li>\r\n</ul>\r\n<p>{$signature}</p>\r\n<p><small>You are receiving this email because you recently created an account. If you did not do this, please contact us.</small></p>','','','',0,0,'','','',0,'0000-00-00 00:00:00','0000-00-00 00:00:00'),
(10,'product','Service Suspension Notification','Service Suspension Notification','<p>Dear {$client_name},</p><p>This is a notification that your service has now been suspended.  The details of this suspension are below:</p><p>Product/Service: {$service_product_name}<br />{if $service_domain}Domain: {$service_domain}<br />{/if}Amount: {$service_recurring_amount}<br />Due Date: {$service_next_due_date}<br />Suspension Reason: <strong>{$service_suspension_reason}</strong></p><p>Please contact us as soon as possible to get your service reactivated.</p><p>{$signature}</p>','','','',0,0,'','','',0,'0000-00-00 00:00:00','0000-00-00 00:00:00'),
(13,'invoice','Invoice Payment Confirmation','Invoice Payment Confirmation','<p>Dear {$client_name},</p>\r\n<p>This is a payment receipt for Invoice {$invoice_num} sent on {$invoice_date_created}</p>\r\n<p>{$invoice_html_contents}</p>\r\n<p>Amount: {$invoice_last_payment_amount}<br />Transaction #: {$invoice_last_payment_transid}<br />Total Paid: {$invoice_amount_paid}<br />Remaining Balance: {$invoice_balance}<br />Status: {$invoice_status}</p>\r\n<p>You may review your invoice history at any time by logging in to your client area.</p>\r\n<p>Note: This email will serve as an official receipt for this payment.</p>\r\n<p>{$signature}</p>','','','',0,0,'','','',0,'0000-00-00 00:00:00','0000-00-00 00:00:00'),
(14,'invoice','Invoice Created','Customer Invoice','<p>\r\nDear {$client_name}, \r\n</p>\r\n<p>\r\nThis is a notice that an invoice has been generated on {$invoice_date_created}. \r\n</p>\r\n<p>\r\nYour payment method is: {$invoice_payment_method} \r\n</p>\r\n<p>\r\nInvoice #{$invoice_num}<br />\r\nAmount Due: {$invoice_total}<br />\r\nDue Date: {$invoice_date_due} \r\n</p>\r\n<p>\r\n<strong>Invoice Items</strong> \r\n</p>\r\n<p>\r\n{$invoice_html_contents} <br />\r\n------------------------------------------------------ \r\n</p>\r\n<p>\r\nYou can login to your client area to view and pay the invoice at {$invoice_link} \r\n</p>\r\n<p>\r\n{$signature} \r\n</p>\r\n','','','',0,0,'','','',0,'0000-00-00 00:00:00','0000-00-00 00:00:00'),
(15,'invoice','Invoice Payment Reminder','Invoice Payment Reminder','<p>\r\nDear {$client_name},\r\n</p>\r\n<p>\r\nThis is a billing reminder that your invoice no. {$invoice_num} which was generated on {$invoice_date_created} is due on {$invoice_date_due}.\r\n</p>\r\n<p>\r\nYour payment method is: {$invoice_payment_method}\r\n</p>\r\n<p>\r\nInvoice: {$invoice_num}<br />\r\nBalance Due: {$invoice_balance}<br />\r\nDue Date: {$invoice_date_due}\r\n</p>\r\n<p>\r\nYou can login to your client area to view and pay the invoice at {$invoice_link}\r\n</p>\r\n<p>\r\n{$signature}\r\n</p>\r\n','','','',0,0,'','','',0,'0000-00-00 00:00:00','0000-00-00 00:00:00'),
(16,'general','Order Confirmation','Order Confirmation','<p>\r\nDear {$client_name}, \r\n</p>\r\n<p>\r\nWe have received your order and will be processing it shortly. The details of the order are below: \r\n</p>\r\n<p>\r\nOrder Number: <b>{if isset($order_number)}{$order_number}{/if}</b></p>\r\n<p>\r\n{if isset($order_details)}{$order_details}{/if} \r\n</p>\r\n<p>\r\nYou will receive an email from us shortly once your account has been setup. Please quote your order reference number if you wish to contact us about this order. \r\n</p>\r\n<p>\r\n{$signature}\r\n</p>\r\n','','','',0,0,'','','',0,'0000-00-00 00:00:00','0000-00-00 00:00:00'),
(17,'product','Dedicated/VPS Server Welcome Email','New Dedicated Server Information','<p>\r\nDear {$client_name},<br />\r\n<br />\r\n<strong>PLEASE PRINT THIS MESSAGE FOR YOUR RECORDS - PLEASE READ THIS EMAIL IN FULL.</strong>\r\n</p>\r\n<p>\r\nWe are pleased to tell you that the server you ordered has now been set up and is operational.\r\n</p>\r\n<p>\r\n<strong>Server Details<br />\r\n</strong>=============================\r\n</p>\r\n<p>\r\n{$service_product_name}\r\n</p>\r\n<p>\r\nMain IP: {$service_dedicated_ip}<br />\r\nRoot pass: {$service_password}\r\n</p>\r\n<p>\r\nIP address allocation: <br />\r\n{$service_assigned_ips}\r\n</p>\r\n<p>\r\nServerName: {$service_domain}\r\n</p>\r\n<p>\r\n<strong>WHM Access<br />\r\n</strong>=============================<br />\r\n<a href=\"http://xxxxx:2086/\">http://xxxxx:2086</a><br />\r\nUsername: root<br />\r\nPassword: {$service_password}\r\n</p>\r\n<p>\r\n<strong>Custom DNS Server Addresses</strong><br />\r\n=============================<br />\r\nThe custom DNS addresses you should set for your domain to use are: <br />\r\nPrimary DNS: {$service_ns1}<br />\r\nSecondary DNS: {$service_ns2}\r\n</p>\r\n<p>\r\nYou will have to login to your registrar and find the area where you can specify both of your custom name server addresses.\r\n</p>\r\n<p>\r\nAfter adding these custom nameservers to your domain registrar control panel, it will take 24 to 48 hours for your domain to delegate authority to your DNS server. Once this has taken effect, your DNS server has control over the DNS records for the domains which use your custom name server addresses. \r\n</p>\r\n<p>\r\n<strong>SSH Access Information<br />\r\n</strong>=============================<br />\r\nMain IP Address: xxxxxxxx<br />\r\nServer Name: {$service_domain}<br />\r\nRoot Password: xxxxxxxx\r\n</p>\r\n<p>\r\nYou can access your server using a free simple SSH client program called Putty located at:<br />\r\n<a href=\"http://www.securitytools.net/mirrors/putty/\">http://www.securitytools.net/mirrors/putty/</a>\r\n</p>\r\n<p>\r\n<strong>Support</strong><br />\r\n=============================<br />\r\nFor any support needs, please open a ticket at <a href=\"{$whmcs_url}\">{$whmcs_url}</a>\r\n</p>\r\n<p>\r\nPlease include any necessary information to provide you with faster service, such as root password, domain names, and a description of the problem / or assistance needed. This will speed up the support time by allowing our administrators to immediately begin diagnosing the problem.\r\n</p>\r\n<p>\r\nThe manual for cPanel can be found here: <a href=\"http://www.cpanel.net/docs/cp/\">http://www.cpanel.net/docs/cp/</a> <br />\r\nFor documentation on using WHM please see the following link: <a href=\"http://www.cpanel.net/docs/whm/index.html\">http://www.cpanel.net/docs/whm/index.html</a>\r\n</p>\r\n<p>\r\n=============================\r\n</p>\r\n<p>\r\nIf you need to move accounts to the server use: Transfers Copy an account from another server with account password\r\n</p>\r\n<p>\r\n<a href=\"http://xxxxxxx:2086/scripts2/norootcopy\">http://xxxxxxx:2086/scripts2/norootcopy</a>\r\n</p>\r\n<p>\r\nNote the other server must use cpanel to move it.\r\n</p>\r\n<p>\r\n=============================\r\n</p>\r\n<p>\r\n{$signature}\r\n</p>\r\n','','','',0,0,'','','',0,'0000-00-00 00:00:00','0000-00-00 00:00:00'),
(18,'product','Other Product/Service Welcome Email','New Product Information','<p>\r\nDear {$client_name},\r\n</p>\r\n<p>\r\nYour order for {$service_product_name} has now been activated. Please keep this message for your records.\r\n</p>\r\n<p>\r\nProduct/Service: {$service_product_name}<br />\r\nPayment Method: {$service_payment_method}<br />\r\nAmount: {$service_recurring_amount}<br />\r\nBilling Cycle: {$service_billing_cycle}<br />\r\nNext Due Date: {$service_next_due_date}\r\n</p>\r\n<p>\r\nThank you for choosing us.\r\n</p>\r\n<p>\r\n{$signature}\r\n</p>\r\n','','','',0,0,'','','',0,'0000-00-00 00:00:00','0000-00-00 00:00:00'),
(19,'invoice','Credit Card Payment Confirmation','Credit Card Payment Confirmation','<p>Dear {$client_name},</p>\r\n<p>This is a payment receipt for Invoice {$invoice_num} sent on {$invoice_date_created}</p>\r\n<p>{$invoice_html_contents}</p>\r\n<p>Amount: {$invoice_last_payment_amount}<br />Pay Method: {$invoice_payment_method} ({$invoice_pay_method_display_name})<br />Transaction #: {$invoice_last_payment_transid}<br />Total Paid: {$invoice_amount_paid}<br />Remaining Balance: {$invoice_balance}<br />Status: {$invoice_status}</p>\r\n<p>You may review your invoice history at any time by logging in to your client area.</p>\r\n<p>Note: This email will serve as an official receipt for this payment.</p>\r\n<p>{$signature}</p>','','','',0,0,'','','',0,'0000-00-00 00:00:00','0000-00-00 00:00:00'),
(20,'invoice','Credit Card Payment Failed','Credit Card Payment Failed','<p>\r\nDear {$client_name}, \r\n</p>\r\n<p>\r\nThis is a notice that a recent credit card payment we attempted on the card we have registered for you failed. \r\n</p>\r\n<p>\r\nInvoice Date: {$invoice_date_created}<br />\r\nInvoice No: {$invoice_num}<br />\r\nAmount: {$invoice_total}<br />\r\nStatus: {$invoice_status} \r\n</p>\r\n<p>\r\nYou now need to login to your client area to pay the invoice manually. During the payment process you will be given the opportunity to change the card on record with us.<br />\r\n{$invoice_link} \r\n</p>\r\n<p>\r\nNote: This email will serve as an official receipt for this payment. \r\n</p>\r\n<p>\r\n{$signature}\r\n</p>\r\n','','','',0,0,'','','',0,'0000-00-00 00:00:00','0000-00-00 00:00:00'),
(21,'invoice','Credit Card Invoice Created','Customer Invoice','<p> Dear {$client_name}, </p> <p> This is a notice that an invoice has been generated on {$invoice_date_created}. </p> <p> Your payment method is: {$invoice_payment_method} </p> <p> Invoice #{$invoice_num}<br /> Amount Due: {$invoice_total}<br /> Due Date: {$invoice_date_due} </p> <p> <strong>Invoice Items</strong> </p> <p> {$invoice_html_contents} <br /> ------------------------------------------------------ </p> <p> {if $invoice_auto_capture_available}\r\n    Payment will be taken automatically from the {if $invoice_pay_method_type == "bankaccount"}bank account{else}credit card{/if} {$invoice_pay_method_display_name} on {$invoice_next_payment_attempt_date}. To change or pay with a different payment method, please login at {$invoice_link} and click Pay Now, then follow the instructions on screen.\r\n{else}\r\n    Payment will not be taken automatically. To pay your invoice, please login at {$invoice_link} and click Pay Now, then follow the instructions on screen.\r\n{/if}\r\n </p> <p> {$signature} </p>','','','',0,0,'','','',0,'0000-00-00 00:00:00','0000-00-00 00:00:00'),
(22,'affiliate','Affiliate Monthly Referrals Report','Affiliate Monthly Referrals Report','<p>\r\nDear {$client_name}, \r\n</p>\r\n<p>\r\nThis is your monthly affiliate referrals report. You can view your referral statistics at any time by logging in to the client area. \r\n</p>\r\n<p>\r\nTotal Visitors Referred: {$affiliate_total_visits}<br />\r\nCurrent Earnings: {$affiliate_balance}<br />\r\nAmount Withdrawn: {$affiliate_withdrawn} \r\n</p>\r\n<p>\r\n<strong>Your New Signups this Month</strong> \r\n</p>\r\n<p>\r\n{$affiliate_referrals_table} \r\n</p>\r\n<p>\r\nRemember, you can refer new customers using your unique affiliate link: {$affiliate_referral_url} \r\n</p>\r\n<p>\r\n{$signature}\r\n</p>\r\n','','','',0,0,'','','',0,'0000-00-00 00:00:00','0000-00-00 00:00:00'),
(23,'support','Support Ticket Opened by Admin','{$ticket_subject}','{$ticket_message}','','','',0,0,'','','',0,'0000-00-00 00:00:00','0000-00-00 00:00:00'),
(24,'invoice','First Invoice Overdue Notice','First Invoice Overdue Notice','<p> Dear {$client_name}, </p> <p> This is a billing notice that your invoice no. {$invoice_num} which was generated on {$invoice_date_created} is now overdue. </p> <p> Your payment method is: {$invoice_payment_method} </p> <p> Invoice: {$invoice_num}<br /> Balance Due: {$invoice_balance}<br /> Due Date: {$invoice_date_due} </p> <p> You can login to your client area to view and pay the invoice at {$invoice_link} </p> <p> {$signature} </p>','','','',0,0,'','','',0,'0000-00-00 00:00:00','0000-00-00 00:00:00'),
(25,'product','SHOUTcast Welcome Email','SHOUTcast New Account Information','<p align=\"center\">\r\n<strong>PLEASE READ THIS EMAIL IN FULL AND PRINT IT FOR YOUR RECORDS</strong> \r\n</p>\r\n<p>\r\nDear {$client_name}, \r\n</p>\r\n<p>\r\nThank you for your order from us! Your shoutcast account has now been setup and this email contains all the information you will need in order to begin using your account. \r\n</p>\r\n<p>\r\n<strong>New Account Information</strong> \r\n</p>\r\n<p>\r\nDomain: {$service_domain}<br />\r\nUsername: {$service_username}<br />\r\nPassword: {$service_password} \r\n</p>\r\n<p>\r\n<strong>Server Information</strong> \r\n</p>\r\n<p>\r\nServer Name: {$service_server_name}<br />\r\nServer IP: {$service_server_ip}<br />\r\nNameserver 1: {$service_ns1}<br />\r\nNameserver 1 IP: {$service_ns1_ip}<br />\r\nNameserver 2: {$service_ns2} <br />\r\nNameserver 2 IP: {$service_ns2_ip} \r\n</p>\r\n<p>\r\nThank you for choosing us. \r\n</p>\r\n<p>\r\n{$signature}\r\n</p>\r\n','','','',0,0,'','','',0,'0000-00-00 00:00:00','0000-00-00 00:00:00'),
(26,'invoice','Second Invoice Overdue Notice','Second Invoice Overdue Notice','<p> Dear {$client_name}, </p> <p> This is the second billing notice that your invoice no. {$invoice_num} which was generated on {$invoice_date_created} is now overdue. </p> <p> Your payment method is: {$invoice_payment_method} </p> <p> Invoice: {$invoice_num}<br /> Balance Due: {$invoice_balance}<br /> Due Date: {$invoice_date_due} </p> <p> You can login to your client area to view and pay the invoice at {$invoice_link} </p> <p> {$signature} </p>','','','',0,0,'','','',0,'0000-00-00 00:00:00','0000-00-00 00:00:00'),
(27,'invoice','Third Invoice Overdue Notice','Third Invoice Overdue Notice','<p> Dear {$client_name}, </p> <p> This is the third and final billing notice that your invoice no. {$invoice_num} which was generated on {$invoice_date_created} is now overdue. Failure to make payment will result in account suspension.</p> <p> Your payment method is: {$invoice_payment_method} </p> <p> Invoice: {$invoice_num}<br /> Balance Due: {$invoice_balance}<br /> Due Date: {$invoice_date_due} </p> <p> You can login to your client area to view and pay the invoice at {$invoice_link} </p> <p> {$signature} </p>','','','',0,0,'','','',0,'0000-00-00 00:00:00','0000-00-00 00:00:00'),
(28,'domain','Domain Transfer Initiated','Domain Transfer Initiated','<p>Dear {$client_name}, </p><p>Thank you for your domain transfer order. Your order has been received and we have now initiated the transfer process. The details of the domain purchase are below: </p><p>Domain: {$domain_name}<br />Registration Length: {$domain_reg_period}<br />Transfer Price: {$domain_first_payment_amount}<br />Renewal Price: {$domain_recurring_amount}<br />Next Due Date: {$domain_next_due_date} </p><p>You may login to your client area at <a href=\"{$whmcs_url}\">{$whmcs_url}</a> to manage your domain. </p><p>{$signature} </p>','','','',0,0,'','','',0,'0000-00-00 00:00:00','0000-00-00 00:00:00'),
(29,'domain','Domain Renewal Confirmation','Domain Renewal Confirmation','<p>Dear {$client_name}, </p><p>Thank you for your domain renewal order. Your domain renewal request for the domain listed below has now been completed.</p><p>Domain: {$domain_name}<br />Renewal Length: {$domain_reg_period}<br />Renewal Price: {$domain_recurring_amount}<br />Next Due Date: {$domain_next_due_date} </p><p>You may login to your client area at <a href=\"{$whmcs_url}\">{$whmcs_url}</a> to manage your domain. </p><p>{$signature} </p>','','','',0,0,'','','',0,'0000-00-00 00:00:00','0000-00-00 00:00:00'),
(30,'domain','Upcoming Domain Renewal Notice','Upcoming Domain Renewal Notice','<p>Dear {$client_name},</p>\r\n<p>This is a reminder that the domain listed below is scheduled to expire soon.</p>\r\n<p>Domain Name - Expiry Date - Description</p>\r\n<p>--------------------------------------------------------------</p> \r\n<p>{$domain_name} - {$domain_next_due_date} - Expires in {$domain_days_until_nextdue} Days</p>\r\n<p>Please be aware that if your domain name expires, any web site or email services associated with it will stop working.</p>\r\n<p>Renew it now to avoid interruption in service.</p>\r\n<p>To renew your domain, <a href=\"{$domain_renewal_url}\">click here</a>.</p>\r\n<p>To view and manage your domains, you can login to our client area here: <a href=\"{$domains_manage_url}\">Client Area</a></p>\r\n<p>If you have any questions, please reply to this email. Thank you for using our domain name services.</p>\r\n<p>{$signature}</p>','','','',0,0,'','','',0,'0000-00-00 00:00:00','0000-00-00 00:00:00'),
(31,'support','Clients Only Bounce Message','Support Ticket Not Opened','<p>{$client_name},</p><p>Your email to our support system could not be accepted because it was not recognized as coming from an email address belonging to one of our customers.  If you need assistance, please email from the address you registered with us that you use to login to our client area.</p><p>{$signature}</p>','','','',0,0,'','','',0,'0000-00-00 00:00:00','0000-00-00 00:00:00'),
(32,'general','Credit Card Expiring Soon','Credit Card Expiring Soon','<p>Dear {$client_name}, </p><p>This is a notice to inform you that your {$client_cc_type} credit card ending with {$client_cc_number} will be expiring next month on {$client_cc_expiry}. Please login to update your credit card information as soon as possible and prevent any interruptions in service at <a href=\"{$whmcs_url}\">{$whmcs_url}</a><br /><br />If you have any questions regarding your account, please open a support ticket from the client area.</p><p>{$signature}</p>','','','',0,0,'','','',0,'0000-00-00 00:00:00','0000-00-00 00:00:00'),
(33,'support','Support Ticket Auto Close Notification','Support Ticket Resolved','<p>{$client_name},</p><p>This is a notification to let you know that we are changing the status of your ticket #{$ticket_id} to Closed as we have not received a response from you in over {$ticket_auto_close_time} hours.</p><p>Subject: {$ticket_subject}<br>Department: {$ticket_department}<br>Priority: {$ticket_priority}<br>Status: {$ticket_status}</p><p>If you have any further questions then please just reply to re-open the ticket.</p><p>{$signature}</p>','','','',0,0,'','','',0,'0000-00-00 00:00:00','0000-00-00 00:00:00'),
(34,'invoice','Credit Card Payment Due','Credit Card Payment Due','<p>Dear {$client_name},</p><p>This is a notice to remind you that you have an invoice due on {$invoice_date_due}. We tried to bill you automatically but were unable to because we don\'t have your credit card details on file.</p><p>Invoice Date: {$invoice_date_created}<br>Invoice #{$invoice_num}<br>Amount Due: {$invoice_total}<br>Due Date: {$invoice_date_due}</p><p>Please login to our client area at the link below to submit your card details or make payment using a different method.</p><p>{$invoice_link}</p><p>{$signature}</p>','','','',0,0,'','','',0,'0000-00-00 00:00:00','0000-00-00 00:00:00'),
(35,'product','Cancellation Request Confirmation','Cancellation Request Confirmation','<p>Dear {$client_name},</p><p>This email is to confirm that we have received your cancellation request for the service listed below.</p><p>Product/Service: {$service_product_name}<br />Domain: {$service_domain}</p><p>{if $service_is_immediate_cancellation}The service will be terminated within the next 24 hours.{else}The service will be cancelled at the end of your current billing period on {$service_next_due_date}.{/if}</p><p>Thank you for using {$company_name} and we hope to see you again in the future.</p><p>{$signature}</p>','','','',0,0,'','','',0,'0000-00-00 00:00:00','0000-00-00 00:00:00'),
(36,'general','Quote Delivery with PDF','Quote #{$quote_number} - {$quote_subject}','<p>Dear {$client_name},</p><p>Here is the quote you requested for {$quote_subject}. The quote is valid until {$quote_valid_until}. You may {if $client_id}view the quote at any time at {$quote_link} and {/if}simply reply to this email with any further questions or requirement.</p><p>{$signature}</p>','','','',0,0,'','','',0,'0000-00-00 00:00:00','0000-00-00 00:00:00'),
(39,'admin','Automatic Setup Failed','WHMCS Automatic Setup Failed','<p>An order has received its first payment but the automatic provisioning has failed and requires you to manually check & resolve.</p>\r\n<p>Client ID: {$client_id}<br />{if $service_id}Service ID: {$service_id}<br />Product/Service: {$service_product}<br />Domain: {$service_domain}{else}Domain ID: {$domain_id}<br />Registration Type: {$domain_type}<br />Domain: {$domain_name}{/if}<br />Error: {$error_msg}</p>\r\n<p>{$whmcs_admin_link}</p>','','','',0,0,'','','',0,'0000-00-00 00:00:00','0000-00-00 00:00:00'),
(40,'admin','Automatic Setup Successful','WHMCS Automatic Setup Successful','<p>An order has received its first payment and the product/service has been automatically provisioned successfully.</p>\r\n<p>Client ID: {$client_id}<br />{if $service_id}Service ID: {$service_id}<br />Product/Service: {$service_product}<br />Domain: {$service_domain}{else}Domain ID: {$domain_id}<br />Registration Type: {$domain_type}<br />Domain: {$domain_name}{/if}</p>\r\n<p>{$whmcs_admin_link}</p>','','','',0,0,'','','',0,'0000-00-00 00:00:00','0000-00-00 00:00:00'),
(41,'admin','Domain Renewal Failed','WHMCS Automatic Domain Renewal Failed','<p>An invoice for the renewal of a domain has been paid but the renewal request submitted to the registrar failed.</p>\r\n<p>Client ID: {$client_id}<br />Domain ID: {$domain_id}<br />Domain Name: {$domain_name}<br />Error: {$error_msg}</p>\r\n<p>{$whmcs_admin_link}</p>','','','',0,0,'','','',0,'0000-00-00 00:00:00','0000-00-00 00:00:00'),
(42,'admin','Domain Renewal Successful','WHMCS Automatic Domain Renewal Successful','<p>An invoice for the renewal of a domain has been paid and the renewal request was submitted to the registrar successfully.</p>\r\n<p>Client ID: {$client_id}<br />Domain ID: {$domain_id}<br />Domain Name: {$domain_name}</p>\r\n<p>{$whmcs_admin_link}</p>','','','',0,0,'','','',0,'0000-00-00 00:00:00','0000-00-00 00:00:00'),
(43,'admin','New Order Notification','WHMCS New Order Notification','{assign "displayTotalToday" true}\n<p><strong>Order Information</strong></p>\r\n<p>Order ID: {$order_id}<br />\r\nOrder Number: {$order_number}<br />\r\nDate/Time: {$order_date}<br />\r\nInvoice Number: {if $custom_invoice_number}{$custom_invoice_number}{else}{$invoice_id}{/if}<br />\r\nPayment Method: {$order_payment_method}</p>\r\n<p><strong>Customer Information</strong></p>\r\n<p>Customer ID: {$client_id}<br />\r\nName: {$client_first_name} {$client_last_name}<br />\r\nEmail: {$client_email}<br />\r\nCompany: {$client_company_name}<br />\r\nAddress 1: {$client_address1}<br />\r\nAddress 2: {$client_address2}<br />\r\nCity: {$client_city}<br />\r\nState: {$client_state}<br />\r\nPostcode: {$client_postcode}<br />\r\nCountry: {$client_country}<br />\r\nPhone Number: {$client_phonenumber}</p>\r\n<p><strong>Order Items</strong></p>\r\n<p>{foreach $order_items_array as $key => $value}\n    {if $value.service}\n        Product/Service: {$value.service}<br>\n        {if !empty($value.domain)}Domain: {$value.domain}<br>{/if}\n        {if !empty($value.extra)}{foreach $value.extra as $extra}{$extra}<br>{/foreach}{/if}\n        First Payment Amount: {$value.firstPayment}<br>\n        {if !empty($value.recurringPayment)}Recurring Amount: {$value.recurringPayment}<br>{/if}\n        Billing Cycle: {$value.cycle}<br>\n        {if $value.qty}\n            Quantity: {$value.qty}<br>\n            Total: {$value.totalDue}<br>\n        {/if}<br>\n    {elseif !empty($value.domain)}\n        Domain Action: {$value.type}<br>\n        Domain: {$value.domain}<br>\n        {if !empty($value.firstPayment)}First Payment Amount: {$value.firstPayment}<br>{/if}\n        {if !empty($value.recurringPayment)}Recurring Amount: {$value.recurringPayment}<br>{/if}\n        Registration Period: {$value.registrationPeriod}<br>\n        {if $value.dnsManagement}DNS Management<br>{/if}\n        {if $value.emailForwarding}Email Forwarding<br>{/if}\n        {if $value.idProtection}ID Protection<br>{/if}\n    {elseif $value.addon}\n        {if !empty($value.qty)}{$value.qty} x {/if}Addon: {$value.addon}<br>\n        Setup Fee: {$value.setupFee}<br>\n        {if !empty($value.recurringPayment)}Recurring Amount: {$value.recurringPayment}<br>{/if}\n        Billing Cycle: {$value.cycle}<br>\n    {elseif $value.upgrade}\n{$value.upgrade}\n{$displayTotalToday = false}\n{/if}<br>\n{/foreach}\n{if $displayTotalToday eq true}Total Due Today: {$total_due_today}{/if}</p>\r\n{if $order_notes}<p><strong>Order Notes</strong></p>\r\n<p>{$order_notes}</p>{/if}\r\n<p><strong>ISP Information</strong></p>\r\n<p>IP: {$client_ip}<br />\r\nHost: {$client_hostname}</p><p><a href=\"{$whmcs_admin_url}orders.php?action=view&id={$order_id}\">{$whmcs_admin_url}orders.php?action=view&id={$order_id}</a></p>','','','',0,0,'','','',0,'0000-00-00 00:00:00','0000-00-00 00:00:00'),
(44,'admin','Service Unsuspension Failed','WHMCS Service Unsuspension Failed','<p>This product/service has received its next payment but the automatic reactivation has failed.</p>\r\n<p>Client ID: {$client_id}<br />Service ID: {$service_id}<br />Product/Service: {$service_product}<br />Domain: {$service_domain}<br />Error: {$error_msg}</p>\r\n<p>{$whmcs_admin_link}</p>','','','',0,0,'','','',0,'0000-00-00 00:00:00','0000-00-00 00:00:00'),
(45,'admin','Service Unsuspension Successful','WHMCS Service Unsuspension Successful','<p>This product/service has received its next payment and has been reactivated successfully.</p>\r\n<p>Client ID: {$client_id}<br />Service ID: {$service_id}<br />Product/Service: {$service_product}<br />Domain: {$service_domain}</p>\r\n<p>{$whmcs_admin_link}</p>','','','',0,0,'','','',0,'0000-00-00 00:00:00','0000-00-00 00:00:00'),
(48,'admin','Escalation Rule Notification','[Ticket ID: {$ticket_tid}] Escalation Rule Notification','<p>The escalation rule {$rule_name} has just been applied to this ticket.</p><p>Client: {$client_name}{if $client_id} #{$client_id}{/if} <br />Department: {$ticket_department} <br />Subject: {$ticket_subject} <br />Priority: {$ticket_priority}</p><p>---<br />{$ticket_message}<br />---</p><p>You can respond to this ticket by simply replying to this email or through the admin area at the url below.</p><p><a href=\"{$whmcs_admin_url}supporttickets.php?action=viewticket&id={$ticket_id}\">{$whmcs_admin_url}supporttickets.php?action=viewticket&id={$ticket_id}</a></p>','','','',0,0,'','','',0,'0000-00-00 00:00:00','0000-00-00 00:00:00'),
(50,'invoice','Invoice Refund Confirmation','Invoice Refund Confirmation','<p>Dear {$client_name},</p>\r\n<p>This is confirmation that a {if $invoice_status eq \"Refunded\"}full{else}partial{/if} refund has been processed for Invoice #{$invoice_num}</p>\r\n<p>The refund has been {if $invoice_refund_type eq \"credit\"}credited to your account balance with us{else}returned via the payment method you originally paid with{/if}.</p>\r\n<p>{$invoice_html_contents}</p>\r\n<p>Amount Refunded: {$invoice_last_payment_amount}{if $invoice_last_payment_transid}<br />Transaction #: {$invoice_last_payment_transid}{/if}</p>\r\n<p>You may review your invoice history at any time by logging in to your client area.</p>\r\n<p>{$signature}</p>','','','',0,0,'','','',0,'0000-00-00 00:00:00','0000-00-00 00:00:00'),
(51,'admin','New Cancellation Request','New Cancellation Request','<p>A new cancellation request has been submitted.</p><p>Client ID: {$client_id}<br>Client Name: {$clientname}<br>Service ID: {$service_id}<br>Product Name: {$product_name}<br>Cancellation Type: {$service_cancellation_type}<br>Cancellation Reason: {$service_cancellation_reason}</p><p>{$whmcs_admin_link}</p>','','','',0,0,'','','',0,'0000-00-00 00:00:00','0000-00-00 00:00:00'),
(53,'domain','Domain Transfer Failed','Domain Transfer Failed: {$domain_name}','<p>Dear {$client_name},</p><p>Recently you placed a domain transfer order with us but unfortunately it has failed. The reason for the failure if available is shown below so once this has been resolved, please contact us to re-attempt the transfer.</p><p>Domain: {$domain_name}<br>Failure Reason: {$domain_transfer_failure_reason}</p><p>If you have any questions, please open a support ticket from our client area @ {$whmcs_link}</p><p>{$signature}</p>','','','',0,0,'','','',0,'0000-00-00 00:00:00','0000-00-00 00:00:00'),
(54,'general','Quote Accepted','Quote #{$quote_number} Accepted - {$quote_subject}','<p>Dear {$client_name},</p><p>This is a confirmation that you have accepted the generated quote from {$quote_date_created}.</p><p>{$signature}</p>','','','',0,0,'','','',0,'0000-00-00 00:00:00','0000-00-00 00:00:00'),
(55,'admin','Quote Accepted Notification','Quote #{$quote_number} Accepted - {$quote_subject}','<p>A quote has been accepted by the following customer.</p><p><strong>Customer Information</strong></p>\r\n<p>Customer ID: {$client_id}<br />\r\nName: {$clientname}<br />\r\nEmail: {$client_email}<br />\r\nCompany: {$client_company_name}<br />\r\nAddress 1: {$client_address1}<br />\r\nAddress 2: {$client_address2}<br />\r\nCity: {$client_city}<br />\r\nState: {$client_state}<br />\r\nPostcode: {$client_postcode}<br />\r\nCountry: {$client_country}<br />\r\nPhone Number: {$client_phonenumber}</p>\r\n<p><strong>Quote Information</strong></p>\r\n<p>Quote #: {$quote_number}<br />\r\nQuote Subject: {$quote_subject}</p><p><a href=\"{$whmcs_admin_url}quotes.php?action=manage&id={$quote_number}\">{$whmcs_admin_url}quotes.php?action=manage&id={$quote_number}</a></p>','','','',0,0,'','','',0,'0000-00-00 00:00:00','0000-00-00 00:00:00'),
(57,'support','Support Ticket Feedback Request','Your Feedback is Requested for Ticket #{$ticket_id}','<p>This support request has been marked as completed.</p><p>We would really appreciate it if you would just take a moment to let us know about the quality of your experience.</p><p><a href=\"{$ticket_url}&feedback=1\">{$ticket_url}&feedback=1</a></p><p>Your feedback is very important to us.</p><p>Thank you for your business.</p><p>{$signature}</p>','','','',0,0,'','','',0,'0000-00-00 00:00:00','0000-00-00 00:00:00'),
(58,'support','Replies Only Bounce Message','Online Submission Required','<p>{$client_name},</p><p>Your email to our support system could not be accepted because we require you to submit all tickets via our online client support portal. You can do this at the URL below.</p><p><a href=\"{$whmcs_url}/submitticket.php\">{$whmcs_url}/submitticket.php</a></p><p>{$signature}</p>','','','',0,0,'','','',0,'0000-00-00 00:00:00','0000-00-00 00:00:00'),
(59,'general','Unsubscribe Confirmation','Unsubscribe Confirmation','Dear {$client_name},<br /><br />We have now removed your email address from our mailing list.<br /><br />If this was a mistake or you change your mind, you can re-subscribe at any time from the My Details section of our client area.<br /><br /><a href=\"{$whmcs_url}/clientarea.php?action=details\">{$whmcs_url}/clientarea.php?action=details</a><br /><br />{$signature}','','','',0,0,'','','',0,'0000-00-00 00:00:00','0000-00-00 00:00:00'),
(60,'support','Closed Ticket Bounce Message','Closed Ticket Bounce Message','<p>{$client_name},</p>\n<p>Your email to our ticket system could not be accepted because the ticket being responded to has already been closed.</p>\n<p>{if $client_id}If you wish to reopen this ticket, you can do so from our client area:\n{$ticket_link}{else}To open a new ticket, please visit:</p>\n<p><a href=\"{$whmcs_url}/submitticket.php\">{$whmcs_url}/submitticket.php</a>{/if}</p>\n<p>This is an automated response from our support system.</p>\n<p>{$signature}</p>','','','',0,0,'','','',0,'0000-00-00 00:00:00','0000-00-00 00:00:00'),
(61,'domain','Expired Domain Notice','Expired Domain Notice','<p>Dear {$client_name},</p>\n<p>The domain name listed below expired {$domain_days_after_expiry} days ago.</p>\n<p>{$domain_name}</p>\n<p>To ensure that the domain isn\'t registered by someone else, you should renew it now. To renew the domain, please visit the following page and follow the steps shown: <a title=\"{$whmcs_url}/cart.php?gid=renewals\" href=\"{$whmcs_url}/cart.php?gid=renewals\">{$whmcs_url}/cart.php?gid=renewals</a></p>\n<p>Due to the domain expiring, the domain will not be accessible so any web site or email services associated with it will stop working. You may be able to renew it for up to 30 days after the renewal date.</p>\n<p>{$signature}</p>','','','',0,0,'','','',0,'0000-00-00 00:00:00','0000-00-00 00:00:00'),
(62,'product','Service Unsuspension Notification','Service Unsuspension Notification','<p>Dear {$client_name},</p>\n<p>This is a notification that your service has now been unsuspended. The details of this unsuspension are below:</p>\n<p>Product/Service: {$service_product_name}<br />{if $service_domain}Domain: {$service_domain}<br />{/if}Amount: {$service_recurring_amount}<br />Due Date: {$service_next_due_date}</p>\n<p>{$signature}</p>','','','',0,0,'','','',0,'2016-02-24 15:27:00','2016-02-24 15:27:00'),
(63,'admin','Manual Upgrade Required','Manual Upgrade Required','<p>An upgrade order has received its payment, but does not support automatic upgrades and requires manually processing.</p>\n<p>Client ID: {$client_id}<br />Service ID: {$service_id}<br />Order ID: {$order_id}</p>\n<p>{if $upgrade_type eq \'package\'}New Package ID: {$new_package_id}<br />Existing Billing Cycle: {$billing_cycle}<br />New Billing Cycle: {$new_billing_cycle}{else}Configurable Option: {$config_id}<br />Option Type: {$option_type}<br />Current Value: {$current_value}<br />New Value: {$new_value}{/if}</p>\n<p><a href=\"{$whmcs_admin_url}orders.php?action=view&id={$order_id}\">\n{$whmcs_admin_url}orders.php?action=view&id={$order_id}</a></p>','','','',0,0,'','','',0,'2016-02-24 15:27:00','2016-02-24 15:27:00'),
(65,'admin','Support Ticket Change Notification','[Ticket ID: {$ticket_tid}] {$ticket_subject}','{if $newTicket}\r\n    <p>Ticket #<a href=\"{$whmcs_admin_url}supporttickets.php?action=viewticket&id={$ticket_id}\"><strong>{$ticket_tid}</strong></a> has been opened by <strong>{$changer}</strong>.</p>\r\n    <p>\r\n        Client: {$client_name}{if $client_id} #{$client_id}{/if}<br />\r\n        Department: {$ticket_department}<br />\r\n        Subject: {$ticket_subject}<br />\r\n        Priority: {$ticket_priority}\r\n    </p>\r\n    <div class=\"quoted-content\">\r\n        {$newTicket}\r\n    </div>\r\n{else}\r\n    <p>Ticket #<a href=\"{$whmcs_admin_url}supporttickets.php?action=viewticket&id={$ticket_id}\"><strong>{$ticket_tid}</strong></a> {if $newReply || $newNote}has had a new {if $newReply}reply{else}note{/if} posted by{else}has been updated by{/if} <strong>{$changer}</strong>.</p>\r\n\r\n    {if $changes}\r\n        <table class=\"keyvalue-table\" style=\"border-collapse: collapse; mso-table-lspace: 0pt; mso-table-rspace: 0pt;\">\r\n            <tbody>\r\n                {foreach $changes as $change}\r\n                    <tr>\r\n                        <td>{$change@key}:</td>\r\n                        <td>\r\n                            <span style=\"background-color:#ffe7e7;text-decoration:line-through;\">{$change.old}</span>\r\n                            &nbsp;\r\n                            <span style=\"background-color:#ddfade;\">{$change.new}</span>\r\n                        </td>\r\n                    </tr>\r\n                {/foreach}\r\n            </tbody>\r\n        </table>\r\n    {/if}\r\n\r\n    {if $newReply}\r\n        <div class=\"quoted-content\">\r\n            {$newReply}\r\n        </div>\r\n    {/if}\r\n\r\n    {if $newNote}\r\n        <div class=\"quoted-content\">\r\n            {$newNote}\r\n        </div>\r\n    {/if}\r\n\r\n    {if $newAttachments}{$newAttachments}{/if}\r\n{/if}\r\n<p>\r\n    You can respond to this ticket by simply replying to this email or through the admin area at the url below.\r\n</p>\r\n<p>\r\n    <a href=\"{$whmcs_admin_url}supporttickets.php?action=viewticket&id={$ticket_id}\">\r\n        {$whmcs_admin_url}supporttickets.php?action=viewticket&id={$ticket_id}\r\n    </a>\r\n</p>','','','',0,0,'','','',0,'2016-02-24 15:27:04','2016-02-24 15:27:04'),
(66,'admin','Admin Password Reset Validation','WHMCS Password Reset','<p>Hi {$firstname},</p>\r\n<p>Recently a request was submitted to reset your admin password. Follow the link below to reset it.</p>\r\n<p><a href=\"{$pw_reset_url}\">{$pw_reset_url}</a></p>\r\n<p>If you did not request a password reset, please ignore this email. The password reset link will expire in 2 hours.</p>\r\n<p>{$whmcs_admin_link}</p>','','','',0,0,'','','',0,'2016-09-07 15:57:57','2016-09-07 15:57:57'),
(67,'admin','Admin Password Reset Confirmation','WHMCS Password Reset Confirmation','<p>Hi {$firstname},</p>\r\n<p>This is a confirmation that your admin password has now been reset.</p>\r\n<p>If you did not initiate this password reset, please notify your system administrator immediately.</p>\r\n<p>{$whmcs_admin_link}</p>','','','',0,0,'','','',0,'2016-09-07 15:57:57','2016-09-07 15:57:57'),
(68,'product','SpamExperts Welcome Email','Welcome to Spam Free Email','<p>Congratulations!</p>\r\n<p>Your service has been setup and is ready for you to begin using.</p>\r\n{if $configuration_required}\r\n<p><strong>Required Action</strong></p>\r\n<p>To begin using SpamExperts mail services, you must modify the MX records for your domain to the following:</p>\r\n<p>\r\n{foreach from=$required_mx_records key=mx_host item=mx_priority}\r\n    {$mx_host} with a recommended priority of {$mx_priority}<br />\r\n{/foreach}\r\n</p>\r\n<p>We have guides available for this at <a href="https://documentation.solarwindsmsp.com/spamexperts/documentation/Content/B_Admin%20Level/domains/mx-records.htm" target="_blank">https://documentation.solarwindsmsp.com/spamexperts/documentation/Content/B_Admin%20Level/domains/mx-records.htm</a></p>\r\n{/if}\r\n{if $outgoing_service}\r\n<p><strong>Outgoing Email Filtering</strong></p>\r\n<p>Outgoing Email Filtering protects your reputation by preventing spam & viruses from leaving \r\nyour network and working to ensure your IPs are protected from being blacklisted.<br>\r\nTo begin using it, you will need to login to the SpamExperts Control Panel to create \r\nthe outgoing user accounts you will use to send email.<br>\r\nOnce the user accounts are created, you will need to update your email clients to use \r\nthe new hostname and credentials provided via the SpamExperts Control Panel.<br>\r\nMore information on how to do this can be found at <a href="https://kb.spamexperts.com/36678-getting-started/227750-getting-started-with-outbound" target="_blank">https://kb.spamexperts.com/36678-getting-started/227750-getting-started-with-outbound</a>\r\n</p>\r\n{/if}\r\n{if $archiving_service}\r\n<p><strong>Email Archiving</strong></p>\r\n<p>Your purchase included Email Archiving which helps to ensure you will never lose an email again.<br>\r\nEmail archiving has been automatically enabled and you can review and access your email archives \r\nvia the SpamExperts Control Panel at any time.\r\n</p>\r\n{/if}\r\n<p><strong>Managing your Service</strong></p>\r\n<p>You can access and manage your email filtering at any time from our client area at {$whmcs_link}</p>\r\n<p>Simply login and look for the SpamExperts Manage link on the homepage.</p>\r\n<p>If you need any further assistance, please contact our <a href="{$whmcs_url}submitticket.php">support team</a></p>\r\n<p>{$signature}</p>','','','',0,0,'','','',0,'2018-04-18 10:21:40','2018-04-18 10:21:40'),
(69,'product','Weebly Welcome Email','Welcome to your Beautiful Website','<p>Dear {$client_name},</p>\r\n<p>Congratulations!</p>\r\n<p>Your account has been setup and you are ready to begin building your site with Weebly.</p>\r\n{if $configuration_required}\n<p>To allow automatic publishing of your site, Weebly require an FTP account to be created and provided to them in their settings.</p>\r\n{/if}\n<p>Guides for how to get started with Weebly can be found at <a href=\"https://www.weebly.com/app/help/us/en/topics/first-steps\">https://www.weebly.com/app/help/us/en/topics/first-steps</a></p>\r\n<p>To access the Weebly site builder and begin building your website, please <a href=\"{$whmcs_url}clientarea.php?action=productdetails&id={$service_id}\">click here</a></p>\r\n<p>If you need any further assistance, please contact our <a href=\"{$whmcs_url}submitticket.php\">support team</a></p>\r\n<p>{$signature}</p>','','','',0,0,'','','',0,'2018-04-18 10:21:40','2018-04-18 10:21:40'),
(70,'invoice','Direct Debit Payment Failed','Direct Debit Payment Failed','<p>Dear {$client_name},</p>\n<p>This is a notice that a recent direct debit payment for you failed.</p>\n<p>Invoice Date: {$invoice_date_created}<br />Invoice No: {$invoice_num}<br />Amount: {$invoice_total}<br />Status: {$invoice_status}</p>\n<p>You now need to login to your client area to pay the invoice manually.<br />{$invoice_link}</p>\n<p>{$signature}</p>','','','',0,0,'','','',0,'2017-02-21 09:48:41','2017-02-21 09:48:41'),
(71,'invoice','Direct Debit Payment Confirmation','Direct Debit Payment Confirmation','<p>Dear {$client_name},</p>\n<p>This is a payment receipt for Invoice {$invoice_num} generated on {$invoice_date_created}. The payment has been taken automatically via direct debit.</p>\n<p>Amount: {$invoice_total}<br />Status: {$invoice_status}</p>\n<p>You may review your invoice history at any time by logging in to your client area.<br />{$invoice_link}</p>\n<p>Note: This email will serve as an official receipt for this payment.</p>\n<p>{$signature}</p>','','','',0,0,'','','',0,'2017-02-21 09:48:42','2017-02-21 09:48:42'),
(72,'invoice','Direct Debit Payment Pending','Direct Debit Payment Pending','<p>Dear {$client_name},</p>\n<p>This is a notification that a payment has been requested for Invoice {$invoice_num}. The payment has been taken automatically via direct debit on or around {$invoice_date_due}.</p>\n<p>Amount: {$invoice_total}<br />Status: {$invoice_status}</p>\n<p>You may review your invoice history at any time by logging in to your client area.<br />{$invoice_link}</p>\n<p>Note: This email will serve as an official notification for this payment.</p>\n<p>{$signature}</p>','','','',0,0,'','','',0,'2017-02-21 09:48:42','2017-02-21 09:48:42'),
(73,'invoice','Credit Card Payment Pending','Credit Card Payment Pending','<p>Dear {$client_name},</p>\n<p>This is a payment pending notification for Invoice {$invoice_num} generated on {$invoice_date_created}. The payment will be taken from your card on record with us automatically.</p>\n<p>Amount: {$invoice_total}<br />Status: {$invoice_status}</p>\n<p>You may review your invoice history at any time by logging in to your client area.<br />{$invoice_link}</p>\n<p>{$signature}</p>','','','',0,0,'','','',0,'2017-02-21 09:48:42','2017-02-21 09:48:42'),
(74,'admin','Payment Reversed Notification','Payment Reversed Notification','<p>This is a notification that a transaction has been reversed and follow up may be required.</p>\n<p>\n    Transaction ID: {$transaction_id}<br />\n    Transaction Date: {$transaction_date}<br />\n    Transaction Amount: {$transaction_amount}<br />\n    Payment Method: {$payment_method}<br />\n    Invoice ID: {$invoice_id}<br />\n</p>\n<p>{$whmcs_admin_link}</p>','','','',0,0,'','','',0,'2017-03-13 17:32:42','2017-03-13 17:32:42'),
(75,'product','SSL Certificate Configuration Required','SSL Certificate Configuration Required','<p>Dear {$client_name},</p>\r\n<p>Thank you for your order for an SSL Certificate. Before you can use your certificate, it requires configuration which can be done at the URL below.</p>\r\n<p>{$ssl_configuration_link}</p>\r\n<p>Instructions are provided throughout the process but if you experience any problems or have any questions, please open a ticket for assistance.</p>\r\n<p>{$signature}</p>','','','',0,0,'','','',0,'2017-04-01 09:00:00','2017-04-01 09:00:00'),
(76,'product','Upgrade Order Cancelled','Pending Upgrade Order Cancelled','<p>Dear {$client_name},</p>\r\n<p>Re: {$service_product_name}{if $service_domain} ({$service_domain}){/if}</p>\r\n<p>\r\n    Recently you placed an upgrade order with us.<br>\r\n    Today your automated renewal invoice has been generated for the product/service listed above which has invalidated the upgrade quote and invoice.<br>\r\n    As a result, your upgrade order has now been cancelled.\r\n</p>\r\n<p>Should you wish to continue with the upgrade, we ask that you please first pay the renewal invoice, after which you will be able to order the upgrade again and simply pay the difference.</p>\r\n<p>We thank you for your business.</p>\r\n<p>{$signature}</p>\r\n','','','',0,0,'','','',0,'2017-07-21 09:00:00','2017-07-21 09:00:00'),
(77,'notification','Default Notification Message','Notification Message','<h2><a href=\"{$notification_url}\">{$notification_title}</a></h2>\r\n<div>{$notification_message}</div>\r\n{foreach from=$notification_attributes item=$attribute}\r\n<div>\r\n<div>{$attribute.label}: {if $attribute.icon}<img src=\"{$attribute.icon}\" alt=\"\" />{/if}{if $attribute.style}<span class=\"{$attribute.style}\">{/if}{if $attribute.url}<a href=\"{$attribute.url}\">{$attribute.value}</a>\r\n{else}{$attribute.value}{/if}{if $attribute.style}</span>{/if}</div>\r\n</div>\r\n{/foreach}','','','',0,0,'','','',0,'2017-10-31 12:08:18','2017-10-31 12:08:18'),
(78,'admin','Mention Notification','{$mention_admin_name} mentioned you in a {$mention_entity}','<p>{$mention_admin_name} mentioned you in {$mention_entity_description}:</p>\r\n<blockquote>\r\n{$message}\r\n</blockquote>\r\n<p><a href=\"{$mention_view_url}\" target=\"_blank\">{$mention_entity_action}</a></p>','','','',0,0,'','','',0,'2018-01-29 16:21:18','2018-01-29 16:21:18'),
(79,'product','SiteLock Welcome Email','Getting Started with SiteLock','<p>Dear {$client_name},</p>\n<p>Thank you for purchasing the SiteLock service. You are just a few steps away from securing your website.</p>\n<p>Below are the details you will need to administer and use the SiteLock service.</p>\n{if ($sitelock_requires_ftp && !$sitelock_ftp_auto_provisioned) || ($sitelock_requires_dns && !$sitelock_dns_auto_provisioned)}\n    <p><b>Additional Setup Required</b></p>\n{/if}\n{if $sitelock_requires_ftp && !$sitelock_ftp_auto_provisioned}\n    <p>To allow SiteLock to automatically fix issues that are discovered with your website, SiteLock requires FTP access to your website.</p>\n    <p>Unfortunately we were unable to provision these automatically and so you must supply FTP credentials to SiteLock via the SiteLock Control Panel.</p>\n    <p>To do this, please login to our <a href=\"{$whmcs_url}\">client area</a> and click the Login button found under the SiteLock service. Then navigate to Sites > FTP Credentials within the SiteLock control panel.</p>\n{/if}\n{if $sitelock_requires_dns && !$sitelock_dns_auto_provisioned}\n    <p>To allow SiteLock to provide WAF and CDN services for your website, SiteLock requires some DNS changes.</p>\n    <p>Unfortunately we were unable to provision these automatically and so you must make these changes manually.</p>\n    <p>To do this, please modify your domain DNS host records as follows:</p>\n    <p>{$sitelock_dns_host_record_info}</p>\n{/if}\n<p><b>Using SiteLock</b></p>\n<p>To use the SiteLock service, login to our <a href=\"{$whmcs_url}\">client area</a> and click the Login button found under the SiteLock service.</p>\n<p>If you have any questions, please reply to this email. Thank you for choosing our services.</p>\n<p>{$signature}</p>','','','',0,0,'','','',0,'2018-02-15 16:07:49','2018-02-15 16:07:49'),
(80,'invoice','Invoice Modified','Invoice #{$invoice_num} Updated','<p>Dear {$client_name},</p>\r\n<p>This is a notice that invoice #{$invoice_num} which was originally generated on {$invoice_date_created} has been updated.</p>\r\n<p>Your payment method is: {$invoice_payment_method}</p>\r\n<p>\r\n    Invoice #{$invoice_num}<br>\r\n    Amount Due: {$invoice_balance}<br>\r\n    Due Date: {$invoice_date_due}\r\n</p>\r\n<p>Invoice Items</p>\r\n<p>\r\n    {$invoice_html_contents}<br>\r\n    ------------------------------------------------------\r\n</p>\r\n<p>You can login to our client area to view and pay the invoice at {$invoice_link}</p>\r\n<p>{$signature}</p>','','','',0,0,'','','',0,'2018-03-16 10:20:00','2018-03-16 10:20:00'),
(81,'admin','Service Renewal Failed','WHMCS Service Renewal Failed','<p>\r\n    An automatic renewal attempt was triggered for this service but failed. The renewal will not be attempted again automatically. Please resolve the error and try again.\r\n</p>\r\n<p>\r\n    Client ID: {$client_id}<br />\r\n    Service ID: {$service_id}<br />\r\n    Product/Service: {$service_product}<br />\r\n    Domain: {$service_domain}<br />{if $addon_id}\r\n    Addon ID: {$addon_id}<br />\r\n    Addon: {$addon_name}<br />\r\n    {/if}Error: {$error_msg}\r\n</p>\r\n<p>\r\n    <a href=\"{$whmcs_admin_url}/clientsservices.php?userid={$client_id}&id={$service_id}{if $addon_id}&aid={$addon_id}{/if}\">\r\n        Go to {if $addon_id}addon{else}service{/if}\r\n    </a>\r\n</p>','','','',0,0,'','','',0,'2018-06-05 04:37:38','2018-06-05 04:37:38'),
(82,'domain','Domain Transfer Completed','Transfer Completed for {$domain_name}','<p>Dear {$client_name},</p>\n<p>We are pleased to confirm that your recent domain transfer has now been completed.</p>\n<p>Order Date: {$domain_reg_date}<br />\nDomain: {$domain_name}<br />\nStatus: {$domain_status}</p>\n<p>You may now login to your client area at {$whmcs_link} to manage your domain.</p>\n<p>{$signature}</p>','','','',0,0,'','','',0,'2018-06-15 15:10:21','2018-06-15 15:10:21'),
(83,'product','CodeGuard Welcome Email','Welcome to Website Protection','<p>Congratulations!</p>\r\n<p>Your CodeGuard website backup service has been provisioned successfully and is now ready for use!</p>\r\n{if $configuration_required}\r\n<p>To begin using the service, you will need to login and provide the SFTP or SSH credentials required to access your website. Our guide that demonstrates how to do this can be found at <a href="https://codeguard.zendesk.com/hc/en-us/articles/115000610543-How-do-I-back-up-my-website" target="_blank">https://codeguard.zendesk.com/hc/en-us/articles/115000610543-How-do-I-back-up-my-website</a></p>\r\n{else}\r\n<p>We have successfully configured daily backups for your website files and the first backup will be performed shortly. Once that has been performed, backups will be performed daily. If at any time a backup encounters problems, we will notify you by email.</p>\r\n<p>If you have databases that need to be backed up, CodeGuard will attempt to add them automatically after you have configured your website backup. Alternatively, database backups can be added manually. Our guide for how to do this can be found at <a href="https://codeguard.zendesk.com/hc/en-us/articles/115000604663-CodeGuard-Database-Backup-Walkthrough" target="_blank">https://codeguard.zendesk.com/hc/en-us/articles/115000604663-CodeGuard-Database-Backup-Walkthrough</a></p>\r\n{/if}\r\n<p>You can access and manage your website backups at any time from our <a href="{$whmcs_url}">client area</a>. Simply login and look for the CodeGuard Manage link on the homepage.</p>\r\n<p>If you need any further assistance, you may contact our <a href="{$whmcs_url}submitticket.php">support team</a> at any time.</p>\r\n<p>{$signature}</p>','','','',0,0,'','','',0,'2018-12-12 05:15:53','2018-12-12 05:15:53'),
(84,'product','SiteLock VPN Welcome Email','Getting Started with SiteLock VPN','<p>Dear {$client_name},</p>\r\n<p>Thank you for your purchase to secure your personal and business data. You now ready to have a secure end-to-end connection for browsing and transmitting data through the internet via SiteLock VPN.</p>\r\n<p>Below are a few simple steps to setup your VPN credentials and begin securely browsing the web.</p>\r\n<p><strong>Step 1 – Login and Setup VPN Credentials</strong></p>\r\n<p>To set up your account you must first access the SiteLock dashboard.  Login to our <a href="{$whmcs_url}">client area</a> and click the Login button found under the SiteLock VPN service to access the dashboard.</p>\r\n<p>Once you’re logged in click on ‘VPN’ to be directed to the Sitelock VPN configuration screen.</p>\r\n<p>Next, setup your user ID and set your password for accessing VPN.</p>\r\n<p><strong>Step 2 – Download and Install VPN client appStep 2 – Download and Install VPN client app</strong></p>\r\n<p>Once your VPN login and password has been set, you can download the VPN clients for your preferred devices.</p>\r\n<p>Apple iOS - <a href="https://itunes.apple.com/us/app/sitelock-vpn/id1446325257?ls=1&mt=8">Download the iOS app</a></p>\r\n<p>Android - <a href="https://play.google.com/store/apps/details?id=com.sitelock.vpn.android">Download the Android app</a></p>\r\n<p>macOS - <a href="https://s3.us-east-2.amazonaws.com/sitelock-vpn/mac/SiteLock+VPN.dmg">Download the macOS app</a></p>\r\n<p>Windows - <a href="https://s3.us-east-2.amazonaws.com/sitelock-vpn/app/Setup_1.0.1.0.exe">Download the Windows app</a></p>\r\n<p><strong>Step 3 – Login and Begin Browsing Securely</strong></p>\r\n<p>Once the VPN client installation is complete, log in with your user ID and password that was just setup to connect to any of the 1,100+ secure servers worldwide.</p>\r\n<p>Complete instructions can also be downloaded on the upper right-hand corner of your VPN configuration screen.</p>\r\n<p>If you have any questions, please contact us or reply to this email. Thank you for choosing our services.</p>\r\n<p>{$signature}</p>','','','',0,0,'','','',0,'2019-11-06 09:00:00','2019-11-06 09:00:00'),
(85,'product','Marketgoo Welcome Email','Getting Started with Marketgoo','<p>Hi {$client_first_name},</p>\r\n<p>Thank you for your purchase. Your website is now being analyzed by marketgoo. You’re now ready to take the next steps to improve your search engine ranking.</p>\r\n<p>To login and get started straight away, or check your SEO progress at any time, simply login to our client area and follow the link to access the marketgoo dashboard.</p><p><a href="{$whmcs_url}clientarea.php">{$whmcs_url}clientarea.php</a></p>\r\n<p>If you have any questions or need help, please contact us by opening a <a href="{$whmcs_url}submitticket.php">support ticket</a></p>\r\n<p>{$signature}</p>','','','',0,0,'','','',0,'2020-03-02 09:00:00','2020-03-02 09:00:00'),
(86,'user','Email Address Verification','Email Address Verification','<p>Welcome to {$company_name}</p>\r\n<p>Please click on the link below to verify your email address. This is required to confirm ownership of the email address.</p>\r\n<p><a href="{if isset($verification_url)}{$verification_url}{/if}">Verify your email address</a></p>\r\n<p>If you\'re having trouble, try copying and pasting the following URL into your browser:<br>{if isset($verification_url)}{$verification_url}{/if}</p>\r\n<p>This link is valid for 60 minutes only. If it has expired, login to our <a href="{$whmcs_url}">client area</a> to request a new link.</p>\r\n<p>{$signature}</p>','','','',0,0,'','','',0,'2020-07-08 09:22:00','2020-07-08 09:22:00'),
(87,'user','Password Reset Validation','Password Reset Validation','<p>To reset your password, please click on the link below.</p>\r\n<p><a href="{if isset($reset_password_url)}{$reset_password_url}{/if}">Reset your password</a></p>\r\n<p>If you\'re having trouble, try copying and pasting the following URL into your browser:<br>{if isset($reset_password_url)}{$reset_password_url}{/if}</p>\r\n<p>If you did not request this reset, you can ignore this email. It will expire in 2 hours time.</p>\r\n<p>{$signature}</p>','','','',0,0,'','','',0,'2020-07-08 09:22:00','2020-07-08 09:22:00'),
(88,'user','Password Reset Confirmation','Your password has been reset','<p>Your password has been reset.</p>\r\n<p>If you did not request this reset, please <a href="{$whmcs_url}">contact us</a>.</p>\r\n<p>{$signature}</p>','','','',0,0,'','','',0,'2020-07-08 09:22:00','2020-07-08 09:22:00'),
(89,'invite','Account Access Invitation','{if $invite_sent_by_admin}An agent of {$company_name} has sent you an invite{else}{$invite_sender_name} has invited you to their account{/if}','\r\n<h2>You\'ve been given access to {$invite_account_name}.</h2>\r\n<p>{if $invite_sent_by_admin}An agent of {$company_name}{else}{$invite_sender_name}{/if} has given you access to the {$invite_account_name} account with {$company_name}.</p>\r\n<p>To accept the invite, please click on the link below.</p>\r\n<p><a href="{$invite_accept_url}">Accept invitation</a></p>\r\n<p>Invitations are valid for 7 days from the time of issue. After that time, you will need to request a new invite from the account administrator.</p>\r\n<p>{$signature}</p>','','','',0,0,'','','',0,'2020-07-08 09:22:00','2020-07-08 09:22:00'),
(90,'product','Open-Xchange Welcome Email','Your new professional email','<p>Dear {$client_name},</p>\n<p>\n    Thank you for purchasing {$service_product_name} from Open-Xchange.<br>\n    Your email service has been set up and is ready for you to begin creating email accounts.\n</p>\n{if $configuration_required}\n<p>\n    <strong>Required Action</strong><br>\n    To begin using Open-Xchange mail services, you must modify the MX records for your domain to the following:<br>\n<pre>{foreach from=$required_mx_records key=mx_host item=mx_priority}\n{$mx_host} with a recommended priority of {$mx_priority}\n{/foreach}</pre>\n    The following SPF record is also recommended:\n    <pre>{$required_spf_record}</pre>\n</p>\n{/if}\n<p>\n    To create, edit and administer your email addresses and passwords, please visit the "Email User Management" pages in your\n    <a href="{$whmcs_url}clientarea.php?action=productdetails&id={$service_id}">client area</a>.\n</p>\n<p>You can access OX App Suite via <a href="{$webmail_link}">the OX App Suite Cloud portal</a>.</p>\n<p>\n    <strong>Mobile Access</strong><br>\n    To configure and sync email and PIM data on your mobile device, please refer to the "Connect Your Device" Wizard in App Suite.\n    You can find it under your profile icon in the top right-hand corner of your App Suite Webmail interface.<br>\n    You can also download the App Suite Mobile App here: <br>\n    <a href="https://apps.apple.com/us/app/ox-mail-by-open-xchange/id1385582725">iOS</a> or\n    <a href="https://play.google.com/store/apps/details?id=com.openxchange.mobile.oxmail">Android</a>\n</p>\n{if $migration_tool_url}\n<p>\n    <strong>Migrations</strong><br>\n    OX App Suite has a quick and easy self-service migration tool to help you move your users.\n    You can find it here: <a href="{$migration_tool_url}">Migration Tool</a><br>\n</p>\n{/if}\n<p>If you have any questions, please contact our <a href="{$whmcs_url}submitticket.php">support team</a>.</p>\n<p>Thank you for choosing us as your trusted service provider.</p>\n<p>{$signature}</p>','','','',0,0,'','','',0,'2020-08-26 12:36:45','2021-04-12 10:32:47'),
(91,'user','User Identity Verification','Identity Verification Required','<p>Dear {$user_first_name},</p>\r\n<p>You have been requested to provide additional verification for your user account {$user_email} at {$company_name}.</p>\r\n<p>Log in to your account, and then locate and click the Submit Documents button to follow the steps for the secure submission process.</p>\r\n<p>Please complete this verification process to avoid possible interruptions with your account.</p>\r\n<p>Click on the link below to be taken to the Client Area:</p>\r\n<p><a href=\"{$whmcs_url}\">{$whmcs_url}</a></p>\r\n<p>{$signature}</p>','','','',0,0,'','','',0,'2021-04-13 04:12:11','2021-04-23 18:37:59'),
(92,'domain','Upcoming Free Domain Renewal Notice','Upcoming Domain Renewal Notice','<p>Dear {$client_name},</p>\r\n<p>This is a reminder that the domain listed below is scheduled to expire soon.</p>\r\n<p>Domain Name - Expiry Date - Description</p>\r\n<p>--------------------------------------------------------------</p>\r\n<p>{$domain_name} - {$domain_next_due_date} - Expires in {$domain_days_until_nextdue} Days</p>\r\n{if $autoRenewalDisabled || (!$freeDomainWithService && $freeDomainAutoRenewRequiresProduct)}\r\n<p>Please be aware that if your domain name expires, any website or email services associated with it will stop working.</p>\r\n<p><a href="{$domain_renewal_url}">Renew your domain now</a> to avoid an interruption in service.</p>\r\n{elseif $freeDomainWithService}\r\n<p><strong>This is an informational notice</strong>. Because this domain name is associated with a service including a free domain renewal, no action is needed to renew this domain automatically.</p>\r\n{else}\r\n<p><strong>This is an informational notice</strong>. This domain will automatically renew and you do not need to take any further action.</p>\r\n{/if}\r\n<p>To view and manage your domains, you can log in to our client area here: <a href="{$domains_manage_url}">Client Area</a></p>\r\n<p>If you have any questions, please reply to this email. Thank you for using our domain name services.</p>\r\n<p>{$signature}</p>','','','',0,0,'','','',0,'2021-04-09 09:00:00','2021-04-09 09:00:00'),
(93,'product','Site Builder Welcome Email','Welcome to Your New Website Builder','<p>Dear {$client_name},</p>\r\n<p>Congratulations!</p>\r\n<p>Your account has been set up and you are ready to begin building your website.</p>\r\n<p>{if $configuration_required}</p>\r\n<p>To allow automatic publishing of your site, an FTP account is required. You can provide FTP details in the client area.</p>\r\n<p>{/if}</p>\r\n<p>To access the site builder and begin building your website, please <a href="{$whmcs_url}clientarea.php?action=productdetails&amp;id={$service_id}">click here</a>.</p>\r\n<p>If you need any further assistance, please contact our <a href="{$whmcs_url}submitticket.php">support team</a>.</p>\r\n<p>{$signature}</p>','','','',0,0,'','','',0,'2020-08-26 07:36:45','2020-08-26 07:36:45'),
(94,'product','WP Toolkit Welcome Email','{$service_product_name}','<p>Dear {$client_name},</p>\n<p>Thank you for purchasing {$service_product_name}!</p>\n<p>{$service_product_name} has now been activated for your account with domain {$service_domain} and you can begin using the advanced features of {$service_product_name} immediately.</p>\n<p>You can access {$service_product_name} via your hosting service or by logging in to your client area using the link below.</p>\n<p>{$whmcs_link}</p>\n<p>{$signature}</p>','','','',0,0,'','','',0,'2021-05-21 10:19:28','2021-05-21 10:19:28'),
(95,'product','WordPress Installation Welcome Email','Welcome to WordPress','<p>Dear {$client_name},</p>\n<p>Your new WordPress® blog is ready. This email contains all of the important information to get you started.</p>\n<p>You and your visitors can find your new WordPress installation at: {$instance_url}</p>\n<p>To configure your blog and add content, use the WordPress Administration Area: {$instance_admin_url}</p>\n<p>You can use these details to log in:<br>\nUsername: {$admin_username}<br>\nPassword: {$admin_password}</p>\n<p>{$signature}</p>','','','',0,0,'','','',0,'2021-08-26 10:21:20','2021-08-26 10:21:20'),
(96,'product','SSL Certificate Multi-Year Reissue Due','[Action Required] Your SSL certificate is due for reissuance','<p>Dear {$client_name},</p>\n<p>Your multi-year SSL certificate is nearing the end of its current term.</p>\n<p>\n    Certificate Product: {$service_product_name}<br>\n    Domain: {$service_domain}<br>\n    Registration Date: {$service_reg_date}<br>\n    Next Due Date: {$service_next_due_date}\n</p>\n\n<p>Due to the limits from the Certification Authority Browser Forum, you must reissue multi-year SSL certificates during their term.</p>\n<p>\n    Unfortunately, we cannot automatically reissue your certificate because {if $noSupport}it does not currently support automatic reissuance{else}the reissuance request failed{/if}.<br>\n    You must initiate reissuance manually.\n</p>\n<p>To manage your certificate, visit our Client Area using the link below. You can initiate reissuance by selecting \"Reissue Certificate\" and following the displayed steps.</p>\n<p>{$certificate_manage_link}</p>\n<p>For assistance regarding your SSL certificate, contact our <a href=\"{$whmcs_url}submitticket.php\">support team</a>.</p>\n<p>{$signature}</p>','','','',0,0,'','','',0,'2022-03-22 16:02:19','2022-03-22 16:02:19'),
(97,'product','SSL Certificate Validation Manual Intervention','[Action Required] SSL Certificate Validation','<p>Dear {$client_name},</p>\n<p>Your recent SSL certificate order requires validation that we cannot complete automatically.</p>\n<p>\n    Certificate Product: {$service_product_name}<br>\n    Domain: {$service_domain}<br>\n    Registration Date: {$service_reg_date}<br>\n    Next Due Date: {$service_next_due_date}\n</p>\n<p>{if $file_validation}</p>\n<p>Validation Method: HTTP File</p>\n<p>To complete validation successfully, you must create a file with the details below in the root directory of your hosting account.</p>\n<p>\n    Filepath/Filename: {$file_name}<br>\n    File Contents: {$validation_contents}\n</p>\n<p>{else if $dns_validation}</p>\n<p>Validation Method: DNS</p>\n<p>To complete validation successfully, you must create the following DNS record with your domain registrar or DNS provider.</p>\n<p>\n    Record Type: TXT<br>\n    Record Contents: {$validation_contents}\n</p>\n<p>{/if}</p>\n<p>When you complete the above steps, our systems will detect this automatically and continue processing your order. No further action is required.</p>\n<p>For assistance regarding your SSL certificate, contact our <a href=\"{$whmcs_url}submitticket.php\">support team</a>.</p>\n<p>{$signature}</p>','','','',0,0,'','','',0,'2022-03-22 16:02:19','2022-03-22 16:02:19'),
(98,'product','SSL Certificate Installed','Your website is now secured with SSL!','<p>Dear {$client_name},</p>\n<p>Your recent SSL certificate order is complete and you have secured your website with SSL. No further action is required.</p>\n<p>\n    Certificate Product: {$service_product_name}<br>\n    Domain: {$service_domain}<br>\n    Registration Date: {$service_reg_date}<br>\n    Next Due Date: {$service_next_due_date}<br>\n</p>\n<p>To manage your certificate, visit our Client Area using the link below.</p>\n<p>{$certificate_manage_link}</p>\n<p>For assistance regarding your SSL certificate, contact our <a href=\"{$whmcs_url}submitticket.php\">support team</a>.</p>\n<p>{$signature}</p>','','','',0,0,'','','',0,'2022-03-22 16:02:19','2022-03-22 16:02:19'),
(99,'product','SSL Certificate Issued','Your SSL certificate is now ready for installation!','<p>Dear {$client_name},</p>\n<p>Your recent SSL certificate order is complete and is now ready for installation.</p>\n<p>\n    Certificate Product: {$service_product_name}<br>\n    Domain: {$service_domain}<br>\n    Registration Date: {$service_reg_date}<br>\n    Next Due Date: {$service_next_due_date}\n</p>\n<p>You are receiving this email because we cannot automatically install certificate. You must install it manually.</p>\n<p>To manage your certificate, visit our Client Area using the link below.</p>\n<p>{$certificate_manage_link}</p>\n<p>For assistance regarding your SSL certificate, contact our <a href=\"{$whmcs_url}submitticket.php\">support team</a>.</p>\n<p>{$signature}</p>','','','',0,0,'','','',0,'2022-03-22 16:02:19','2022-03-22 16:02:19'),
(100,'product','XOVI NOW Welcome Email','Get Started with XOVI NOW','<p>Dear {$client_name},</p>\r\n<p>Welcome to XOVI NOW! You\'re ready to find relevant keywords, optimize your content, and get to the top of the Google® search results.</p>\r\n<p>Log in now to complete the setup wizard so that XOVI NOW can begin analyzing your website. After it finishes, you''ll be able to view your rankings, keywords, and visibility and get started improving your position in the XOVI NOW Advisor.</p>\r\n<p>\r\nTo get started, log in to our Client Area and follow the link to access XOVI NOW:<br>\r\n{$whmcs_url}clientarea.php\r\n</p>\r\n<p>If you need any further assistance, you may contact our support team at any time.</p>\r\n<p>{$signature}</p>','','','',0,0,'','','',0,'2023-02-01 10:21:20','2023-02-01 10:21:20'),
(101,'product','NordVPN Welcome Email','Getting Started with NordVPN','<p>Dear {$client_name},</p><p>Thank you for purchasing NordVPN to secure your personal and business data. You will receive an email from NordVPN containing your activation link soon. If you don’t see it in your inbox, check your spam folder.</p><p>With 5,500+ servers across the globe, NordVPN gives you peace of mind when you use public Wi-Fi®, access personal and work accounts on the road, or just want to keep your browsing history to yourself.</p><p>If you have questions about NordVPN or need technical support, contact <a href="https://support.nordvpn.com/">NordVPN support</a>.</p><p>If you have order or billing questions, contact our support team at <a href="{$whmcs_url}/submitticket.php">Submit a Ticket</a>.</p><p>Thank you for choosing our services!</p><p>{$signature}</p>','','','',0,0,'','','',0,'2022-12-01 17:17:17','2022-12-01 17:17:17'),
(102,'product','360 Monitoring Welcome Email','Welcome to 360 Monitoring. Get started with monitoring now!','<p>Hi, {$client_first_name}!</p>\n<p>Welcome to 360 Monitoring! Your 360 Monitoring account is registered, your specified domain ({$domain}) is configured, and you are ready to perform real-time monitoring.</p>\n<p>To access the 360 Monitoring dashboard and view results, make adjustments, or include additional websites based on your chosen plan, log in to our Client Area and click Login under 360 Monitoring.</p>\n<p>For more information on 360 Monitoring features, including{if $numberOfMonitors > 1} adding websites,{if $numberOfServers > 0} servers,{/if}{/if} dashboards, reports, and more, visit the <a href="https://docs.360monitoring.com/docs"><strong>360 Monitoring documentation</strong></a>.</p>\n<p>{$signature}</p>','','','',0,0,'','','',0,'2020-03-02 09:00:00','2020-03-02 09:00:00');

/*!40000 ALTER TABLE `tblemailtemplates` ENABLE KEYS */;
/*!40103 SET TIME_ZONE=@OLD_TIME_ZONE */;

/*!40101 SET SQL_MODE=@OLD_SQL_MODE */;
/*!40014 SET FOREIGN_KEY_CHECKS=@OLD_FOREIGN_KEY_CHECKS */;
/*!40111 SET SQL_NOTES=@OLD_SQL_NOTES */;
install/tblwhoislog.schema.sql000064400000002067147361027270012545 0ustar00/*!40103 SET @OLD_TIME_ZONE=@@TIME_ZONE */;
/*!40103 SET TIME_ZONE='+00:00' */;
/*!40014 SET @OLD_UNIQUE_CHECKS=@@UNIQUE_CHECKS, UNIQUE_CHECKS=0 */;
/*!40014 SET @OLD_FOREIGN_KEY_CHECKS=@@FOREIGN_KEY_CHECKS, FOREIGN_KEY_CHECKS=0 */;
/*!40101 SET @OLD_SQL_MODE=@@SQL_MODE, SQL_MODE='NO_AUTO_VALUE_ON_ZERO' */;
/*!40111 SET @OLD_SQL_NOTES=@@SQL_NOTES, SQL_NOTES=0 */;
DROP TABLE IF EXISTS `tblwhoislog`;
/*!40101 SET @saved_cs_client     = @@character_set_client */;
/*!40101 SET character_set_client = utf8 */;
CREATE TABLE `tblwhoislog` (
  `id` int(10) NOT NULL AUTO_INCREMENT,
  `date` datetime NOT NULL,
  `domain` text COLLATE utf8_unicode_ci NOT NULL,
  `ip` text COLLATE utf8_unicode_ci NOT NULL,
  PRIMARY KEY (`id`)
) ENGINE=InnoDB DEFAULT CHARSET=utf8 COLLATE=utf8_unicode_ci;
/*!40101 SET character_set_client = @saved_cs_client */;
/*!40103 SET TIME_ZONE=@OLD_TIME_ZONE */;

/*!40101 SET SQL_MODE=@OLD_SQL_MODE */;
/*!40014 SET FOREIGN_KEY_CHECKS=@OLD_FOREIGN_KEY_CHECKS */;
/*!40014 SET UNIQUE_CHECKS=@OLD_UNIQUE_CHECKS */;
/*!40111 SET SQL_NOTES=@OLD_SQL_NOTES */;

install/tblmarketconnect_services.schema.sql000064400000002120147361027270015440 0ustar00/*!40103 SET @OLD_TIME_ZONE=@@TIME_ZONE */;
/*!40103 SET TIME_ZONE='+00:00' */;
/*!40014 SET @OLD_UNIQUE_CHECKS=@@UNIQUE_CHECKS, UNIQUE_CHECKS=0 */;
/*!40014 SET @OLD_FOREIGN_KEY_CHECKS=@@FOREIGN_KEY_CHECKS, FOREIGN_KEY_CHECKS=0 */;
/*!40101 SET @OLD_SQL_MODE=@@SQL_MODE, SQL_MODE='NO_AUTO_VALUE_ON_ZERO' */;
/*!40111 SET @OLD_SQL_NOTES=@@SQL_NOTES, SQL_NOTES=0 */;
DROP TABLE IF EXISTS `tblmarketconnect_services`;
/*!40101 SET @saved_cs_client     = @@character_set_client */;
/*!40101 SET character_set_client = utf8 */;
CREATE TABLE `tblmarketconnect_services` (
  `id` int(10) NOT NULL AUTO_INCREMENT,
  `name` varchar(30) NOT NULL DEFAULT '',
  `status` tinyint(1) NOT NULL DEFAULT '0',
  `product_ids` text NOT NULL,
  `settings` text NOT NULL,
  PRIMARY KEY (`id`)
) ENGINE=InnoDB DEFAULT CHARSET=utf8;
/*!40101 SET character_set_client = @saved_cs_client */;
/*!40103 SET TIME_ZONE=@OLD_TIME_ZONE */;

/*!40101 SET SQL_MODE=@OLD_SQL_MODE */;
/*!40014 SET FOREIGN_KEY_CHECKS=@OLD_FOREIGN_KEY_CHECKS */;
/*!40014 SET UNIQUE_CHECKS=@OLD_UNIQUE_CHECKS */;
/*!40111 SET SQL_NOTES=@OLD_SQL_NOTES */;

install/tblnotes.schema.sql000064400000002242147361027270012035 0ustar00/*!40103 SET @OLD_TIME_ZONE=@@TIME_ZONE */;
/*!40103 SET TIME_ZONE='+00:00' */;
/*!40014 SET @OLD_UNIQUE_CHECKS=@@UNIQUE_CHECKS, UNIQUE_CHECKS=0 */;
/*!40014 SET @OLD_FOREIGN_KEY_CHECKS=@@FOREIGN_KEY_CHECKS, FOREIGN_KEY_CHECKS=0 */;
/*!40101 SET @OLD_SQL_MODE=@@SQL_MODE, SQL_MODE='NO_AUTO_VALUE_ON_ZERO' */;
/*!40111 SET @OLD_SQL_NOTES=@@SQL_NOTES, SQL_NOTES=0 */;
DROP TABLE IF EXISTS `tblnotes`;
/*!40101 SET @saved_cs_client     = @@character_set_client */;
/*!40101 SET character_set_client = utf8 */;
CREATE TABLE `tblnotes` (
  `id` int(10) NOT NULL AUTO_INCREMENT,
  `userid` int(10) NOT NULL,
  `adminid` int(10) NOT NULL DEFAULT '0',
  `created` datetime NOT NULL,
  `modified` datetime NOT NULL,
  `note` text COLLATE utf8_unicode_ci NOT NULL,
  `sticky` int(1) NOT NULL,
  PRIMARY KEY (`id`),
  KEY `userid` (`userid`)
) ENGINE=InnoDB DEFAULT CHARSET=utf8 COLLATE=utf8_unicode_ci;
/*!40101 SET character_set_client = @saved_cs_client */;
/*!40103 SET TIME_ZONE=@OLD_TIME_ZONE */;

/*!40101 SET SQL_MODE=@OLD_SQL_MODE */;
/*!40014 SET FOREIGN_KEY_CHECKS=@OLD_FOREIGN_KEY_CHECKS */;
/*!40014 SET UNIQUE_CHECKS=@OLD_UNIQUE_CHECKS */;
/*!40111 SET SQL_NOTES=@OLD_SQL_NOTES */;

install/tblcustomfields.data.sql000064400000001123147361027270013054 0ustar00/*!40103 SET @OLD_TIME_ZONE=@@TIME_ZONE */;
/*!40103 SET TIME_ZONE='+00:00' */;
/*!40014 SET @OLD_FOREIGN_KEY_CHECKS=@@FOREIGN_KEY_CHECKS, FOREIGN_KEY_CHECKS=0 */;
/*!40101 SET @OLD_SQL_MODE=@@SQL_MODE, SQL_MODE='NO_AUTO_VALUE_ON_ZERO' */;
/*!40111 SET @OLD_SQL_NOTES=@@SQL_NOTES, SQL_NOTES=0 */;

/*!40000 ALTER TABLE `tblcustomfields` DISABLE KEYS */;
/*!40000 ALTER TABLE `tblcustomfields` ENABLE KEYS */;
/*!40103 SET TIME_ZONE=@OLD_TIME_ZONE */;

/*!40101 SET SQL_MODE=@OLD_SQL_MODE */;
/*!40014 SET FOREIGN_KEY_CHECKS=@OLD_FOREIGN_KEY_CHECKS */;
/*!40111 SET SQL_NOTES=@OLD_SQL_NOTES */;

install/tbldomainpricing_premium.data.sql000064400000001624147361027270014742 0ustar00/*!40103 SET @OLD_TIME_ZONE=@@TIME_ZONE */;
/*!40103 SET TIME_ZONE='+00:00' */;
/*!40014 SET @OLD_FOREIGN_KEY_CHECKS=@@FOREIGN_KEY_CHECKS, FOREIGN_KEY_CHECKS=0 */;
/*!40101 SET @OLD_SQL_MODE=@@SQL_MODE, SQL_MODE='NO_AUTO_VALUE_ON_ZERO' */;
/*!40111 SET @OLD_SQL_NOTES=@@SQL_NOTES, SQL_NOTES=0 */;

/*!40000 ALTER TABLE `tbldomainpricing_premium` DISABLE KEYS */;
INSERT INTO `tbldomainpricing_premium` VALUES (1,200.00,20.00000,'2018-04-18 15:21:39','2018-04-18 15:21:39'),(2,500.00,25.00000,'2018-04-18 15:21:39','2018-04-18 15:21:39'),(3,1000.00,30.00000,'2018-04-18 15:21:39','2018-04-18 15:21:39'),(4,-1.00,20.00000,'2018-04-18 15:21:39','2018-04-18 15:21:39');
/*!40000 ALTER TABLE `tbldomainpricing_premium` ENABLE KEYS */;
/*!40103 SET TIME_ZONE=@OLD_TIME_ZONE */;

/*!40101 SET SQL_MODE=@OLD_SQL_MODE */;
/*!40014 SET FOREIGN_KEY_CHECKS=@OLD_FOREIGN_KEY_CHECKS */;
/*!40111 SET SQL_NOTES=@OLD_SQL_NOTES */;

install/tblservers.data.sql000064400000001111147361027270012041 0ustar00/*!40103 SET @OLD_TIME_ZONE=@@TIME_ZONE */;
/*!40103 SET TIME_ZONE='+00:00' */;
/*!40014 SET @OLD_FOREIGN_KEY_CHECKS=@@FOREIGN_KEY_CHECKS, FOREIGN_KEY_CHECKS=0 */;
/*!40101 SET @OLD_SQL_MODE=@@SQL_MODE, SQL_MODE='NO_AUTO_VALUE_ON_ZERO' */;
/*!40111 SET @OLD_SQL_NOTES=@@SQL_NOTES, SQL_NOTES=0 */;

/*!40000 ALTER TABLE `tblservers` DISABLE KEYS */;
/*!40000 ALTER TABLE `tblservers` ENABLE KEYS */;
/*!40103 SET TIME_ZONE=@OLD_TIME_ZONE */;

/*!40101 SET SQL_MODE=@OLD_SQL_MODE */;
/*!40014 SET FOREIGN_KEY_CHECKS=@OLD_FOREIGN_KEY_CHECKS */;
/*!40111 SET SQL_NOTES=@OLD_SQL_NOTES */;

install/tblnotificationrules.data.sql000064400000001135147361027270014117 0ustar00/*!40103 SET @OLD_TIME_ZONE=@@TIME_ZONE */;
/*!40103 SET TIME_ZONE='+00:00' */;
/*!40014 SET @OLD_FOREIGN_KEY_CHECKS=@@FOREIGN_KEY_CHECKS, FOREIGN_KEY_CHECKS=0 */;
/*!40101 SET @OLD_SQL_MODE=@@SQL_MODE, SQL_MODE='NO_AUTO_VALUE_ON_ZERO' */;
/*!40111 SET @OLD_SQL_NOTES=@@SQL_NOTES, SQL_NOTES=0 */;

/*!40000 ALTER TABLE `tblnotificationrules` DISABLE KEYS */;
/*!40000 ALTER TABLE `tblnotificationrules` ENABLE KEYS */;
/*!40103 SET TIME_ZONE=@OLD_TIME_ZONE */;

/*!40101 SET SQL_MODE=@OLD_SQL_MODE */;
/*!40014 SET FOREIGN_KEY_CHECKS=@OLD_FOREIGN_KEY_CHECKS */;
/*!40111 SET SQL_NOTES=@OLD_SQL_NOTES */;

install/tbladminroles.data.sql000064400000002340147361027270012512 0ustar00/*!40103 SET @OLD_TIME_ZONE=@@TIME_ZONE */;
/*!40103 SET TIME_ZONE='+00:00' */;
/*!40014 SET @OLD_FOREIGN_KEY_CHECKS=@@FOREIGN_KEY_CHECKS, FOREIGN_KEY_CHECKS=0 */;
/*!40101 SET @OLD_SQL_MODE=@@SQL_MODE, SQL_MODE='NO_AUTO_VALUE_ON_ZERO' */;
/*!40111 SET @OLD_SQL_NOTES=@@SQL_NOTES, SQL_NOTES=0 */;

/*!40000 ALTER TABLE `tbladminroles` DISABLE KEYS */;
INSERT INTO `tbladminroles` VALUES (1,'Full Administrator','activity_log,getting_started,income_forecast,income_overview,my_notes,network_status,open_invoices,orders_overview,paypal_addon,admin_activity,client_activity,system_overview,todo_list,whmcs_news,supporttickets_overview,calendar','',1,1,1),(2,'Sales Operator','activity_log,getting_started,income_forecast,income_overview,my_notes,network_status,open_invoices,orders_overview,paypal_addon,client_activity,todo_list,whmcs_news,supporttickets_overview,calendar','',0,1,1),(3,'Support Operator','activity_log,getting_started,my_notes,todo_list,whmcs_news,supporttickets_overview,calendar','',0,0,1);
/*!40000 ALTER TABLE `tbladminroles` ENABLE KEYS */;
/*!40103 SET TIME_ZONE=@OLD_TIME_ZONE */;

/*!40101 SET SQL_MODE=@OLD_SQL_MODE */;
/*!40014 SET FOREIGN_KEY_CHECKS=@OLD_FOREIGN_KEY_CHECKS */;
/*!40111 SET SQL_NOTES=@OLD_SQL_NOTES */;

install/tblcustomfields.schema.sql000064400000003307147361027270013411 0ustar00/*!40103 SET @OLD_TIME_ZONE=@@TIME_ZONE */;
/*!40103 SET TIME_ZONE='+00:00' */;
/*!40014 SET @OLD_UNIQUE_CHECKS=@@UNIQUE_CHECKS, UNIQUE_CHECKS=0 */;
/*!40014 SET @OLD_FOREIGN_KEY_CHECKS=@@FOREIGN_KEY_CHECKS, FOREIGN_KEY_CHECKS=0 */;
/*!40101 SET @OLD_SQL_MODE=@@SQL_MODE, SQL_MODE='NO_AUTO_VALUE_ON_ZERO' */;
/*!40111 SET @OLD_SQL_NOTES=@@SQL_NOTES, SQL_NOTES=0 */;
DROP TABLE IF EXISTS `tblcustomfields`;
/*!40101 SET @saved_cs_client     = @@character_set_client */;
/*!40101 SET character_set_client = utf8 */;
CREATE TABLE `tblcustomfields` (
  `id` int(10) NOT NULL AUTO_INCREMENT,
  `type` text COLLATE utf8_unicode_ci NOT NULL,
  `relid` int(10) NOT NULL DEFAULT '0',
  `fieldname` text COLLATE utf8_unicode_ci NOT NULL,
  `fieldtype` text COLLATE utf8_unicode_ci NOT NULL,
  `description` text COLLATE utf8_unicode_ci NOT NULL,
  `fieldoptions` text COLLATE utf8_unicode_ci NOT NULL,
  `regexpr` text COLLATE utf8_unicode_ci NOT NULL,
  `adminonly` text COLLATE utf8_unicode_ci NOT NULL,
  `required` text COLLATE utf8_unicode_ci NOT NULL,
  `showorder` text COLLATE utf8_unicode_ci NOT NULL,
  `showinvoice` text COLLATE utf8_unicode_ci NOT NULL,
  `sortorder` int(10) NOT NULL DEFAULT '0',
  `created_at` timestamp NOT NULL DEFAULT '0000-00-00 00:00:00',
  `updated_at` timestamp NOT NULL DEFAULT '0000-00-00 00:00:00',
  PRIMARY KEY (`id`),
  KEY `serviceid` (`relid`)
) ENGINE=InnoDB DEFAULT CHARSET=utf8 COLLATE=utf8_unicode_ci;
/*!40101 SET character_set_client = @saved_cs_client */;
/*!40103 SET TIME_ZONE=@OLD_TIME_ZONE */;

/*!40101 SET SQL_MODE=@OLD_SQL_MODE */;
/*!40014 SET FOREIGN_KEY_CHECKS=@OLD_FOREIGN_KEY_CHECKS */;
/*!40014 SET UNIQUE_CHECKS=@OLD_UNIQUE_CHECKS */;
/*!40111 SET SQL_NOTES=@OLD_SQL_NOTES */;

install/tblaffiliateswithdrawals.data.sql000064400000001145147361027270014740 0ustar00/*!40103 SET @OLD_TIME_ZONE=@@TIME_ZONE */;
/*!40103 SET TIME_ZONE='+00:00' */;
/*!40014 SET @OLD_FOREIGN_KEY_CHECKS=@@FOREIGN_KEY_CHECKS, FOREIGN_KEY_CHECKS=0 */;
/*!40101 SET @OLD_SQL_MODE=@@SQL_MODE, SQL_MODE='NO_AUTO_VALUE_ON_ZERO' */;
/*!40111 SET @OLD_SQL_NOTES=@@SQL_NOTES, SQL_NOTES=0 */;

/*!40000 ALTER TABLE `tblaffiliateswithdrawals` DISABLE KEYS */;
/*!40000 ALTER TABLE `tblaffiliateswithdrawals` ENABLE KEYS */;
/*!40103 SET TIME_ZONE=@OLD_TIME_ZONE */;

/*!40101 SET SQL_MODE=@OLD_SQL_MODE */;
/*!40014 SET FOREIGN_KEY_CHECKS=@OLD_FOREIGN_KEY_CHECKS */;
/*!40111 SET SQL_NOTES=@OLD_SQL_NOTES */;

install/tblticketstatuses.schema.sql000064400000002260147361027270013764 0ustar00/*!40103 SET @OLD_TIME_ZONE=@@TIME_ZONE */;
/*!40103 SET TIME_ZONE='+00:00' */;
/*!40014 SET @OLD_UNIQUE_CHECKS=@@UNIQUE_CHECKS, UNIQUE_CHECKS=0 */;
/*!40014 SET @OLD_FOREIGN_KEY_CHECKS=@@FOREIGN_KEY_CHECKS, FOREIGN_KEY_CHECKS=0 */;
/*!40101 SET @OLD_SQL_MODE=@@SQL_MODE, SQL_MODE='NO_AUTO_VALUE_ON_ZERO' */;
/*!40111 SET @OLD_SQL_NOTES=@@SQL_NOTES, SQL_NOTES=0 */;
DROP TABLE IF EXISTS `tblticketstatuses`;
/*!40101 SET @saved_cs_client     = @@character_set_client */;
/*!40101 SET character_set_client = utf8 */;
CREATE TABLE `tblticketstatuses` (
  `id` int(10) NOT NULL AUTO_INCREMENT,
  `title` varchar(64) COLLATE utf8_unicode_ci NOT NULL,
  `color` text COLLATE utf8_unicode_ci NOT NULL,
  `sortorder` int(2) NOT NULL,
  `showactive` int(1) NOT NULL,
  `showawaiting` int(1) NOT NULL,
  `autoclose` int(1) NOT NULL,
  PRIMARY KEY (`id`)
) ENGINE=InnoDB DEFAULT CHARSET=utf8 COLLATE=utf8_unicode_ci;
/*!40101 SET character_set_client = @saved_cs_client */;
/*!40103 SET TIME_ZONE=@OLD_TIME_ZONE */;

/*!40101 SET SQL_MODE=@OLD_SQL_MODE */;
/*!40014 SET FOREIGN_KEY_CHECKS=@OLD_FOREIGN_KEY_CHECKS */;
/*!40014 SET UNIQUE_CHECKS=@OLD_UNIQUE_CHECKS */;
/*!40111 SET SQL_NOTES=@OLD_SQL_NOTES */;

install/tbldomainreminders.schema.sql000064400000002201147361027270014060 0ustar00/*!40103 SET @OLD_TIME_ZONE=@@TIME_ZONE */;
/*!40103 SET TIME_ZONE='+00:00' */;
/*!40014 SET @OLD_UNIQUE_CHECKS=@@UNIQUE_CHECKS, UNIQUE_CHECKS=0 */;
/*!40014 SET @OLD_FOREIGN_KEY_CHECKS=@@FOREIGN_KEY_CHECKS, FOREIGN_KEY_CHECKS=0 */;
/*!40101 SET @OLD_SQL_MODE=@@SQL_MODE, SQL_MODE='NO_AUTO_VALUE_ON_ZERO' */;
/*!40111 SET @OLD_SQL_NOTES=@@SQL_NOTES, SQL_NOTES=0 */;
DROP TABLE IF EXISTS `tbldomainreminders`;
/*!40101 SET @saved_cs_client     = @@character_set_client */;
/*!40101 SET character_set_client = utf8 */;
CREATE TABLE `tbldomainreminders` (
  `id` int(10) NOT NULL AUTO_INCREMENT,
  `domain_id` int(10) NOT NULL,
  `date` date NOT NULL,
  `recipients` text COLLATE utf8_unicode_ci NOT NULL,
  `type` tinyint(4) NOT NULL,
  `days_before_expiry` tinyint(4) NOT NULL,
  PRIMARY KEY (`id`)
) ENGINE=InnoDB DEFAULT CHARSET=utf8 COLLATE=utf8_unicode_ci;
/*!40101 SET character_set_client = @saved_cs_client */;
/*!40103 SET TIME_ZONE=@OLD_TIME_ZONE */;

/*!40101 SET SQL_MODE=@OLD_SQL_MODE */;
/*!40014 SET FOREIGN_KEY_CHECKS=@OLD_FOREIGN_KEY_CHECKS */;
/*!40014 SET UNIQUE_CHECKS=@OLD_UNIQUE_CHECKS */;
/*!40111 SET SQL_NOTES=@OLD_SQL_NOTES */;

install/tblcampaigns.data.sql000064400000001114147361027270012315 0ustar00/*!40103 SET @OLD_TIME_ZONE=@@TIME_ZONE */;
/*!40103 SET TIME_ZONE='+00:00' */;
/*!40014 SET @OLD_FOREIGN_KEY_CHECKS=@@FOREIGN_KEY_CHECKS, FOREIGN_KEY_CHECKS=0 */;
/*!40101 SET @OLD_SQL_MODE=@@SQL_MODE, SQL_MODE='NO_AUTO_VALUE_ON_ZERO' */;
/*!40111 SET @OLD_SQL_NOTES=@@SQL_NOTES, SQL_NOTES=0 */;

/*!40000 ALTER TABLE `tblcampaigns` DISABLE KEYS */;
/*!40000 ALTER TABLE `tblcampaigns` ENABLE KEYS */;
/*!40103 SET TIME_ZONE=@OLD_TIME_ZONE */;

/*!40101 SET SQL_MODE=@OLD_SQL_MODE */;
/*!40014 SET FOREIGN_KEY_CHECKS=@OLD_FOREIGN_KEY_CHECKS */;
/*!40111 SET SQL_NOTES=@OLD_SQL_NOTES */;
install/tbltlds.data.sql000064400000154721147361027270011336 0ustar00/*!40103 SET @OLD_TIME_ZONE=@@TIME_ZONE */;
/*!40103 SET TIME_ZONE='+00:00' */;
/*!40014 SET @OLD_FOREIGN_KEY_CHECKS=@@FOREIGN_KEY_CHECKS, FOREIGN_KEY_CHECKS=0 */;
/*!40101 SET @OLD_SQL_MODE=@@SQL_MODE, SQL_MODE='NO_AUTO_VALUE_ON_ZERO' */;
/*!40111 SET @OLD_SQL_NOTES=@@SQL_NOTES, SQL_NOTES=0 */;

/*!40000 ALTER TABLE `tbltlds` DISABLE KEYS */;
INSERT INTO `tbltlds` VALUES (1,'aaa.pro','2018-04-18 10:21:24','2018-04-18 10:21:24'),(2,'ab.ca','2018-04-18 10:21:24','2018-04-18 10:21:24'),(3,'abogado','2018-04-18 10:21:24','2018-04-18 10:21:24'),(4,'abudhabi','2018-04-18 10:21:24','2018-04-18 10:21:24'),(5,'ac','2018-04-18 10:21:24','2018-04-18 10:21:24'),(6,'aca.pro','2018-04-18 10:21:24','2018-04-18 10:21:24'),(7,'academy','2018-04-18 10:21:24','2018-04-18 10:21:24'),(8,'accountant','2018-04-18 10:21:24','2018-04-18 10:21:24'),(9,'accountants','2018-04-18 10:21:24','2018-04-18 10:21:24'),(10,'acct.pro','2018-04-18 10:21:24','2018-04-18 10:21:24'),(11,'aco','2018-04-18 10:21:24','2018-04-18 10:21:24'),(12,'active','2018-04-18 10:21:24','2018-04-18 10:21:24'),(13,'actor','2018-04-18 10:21:24','2018-04-18 10:21:24'),(14,'adac','2018-04-18 10:21:24','2018-04-18 10:21:24'),(15,'ads','2018-04-18 10:21:24','2018-04-18 10:21:24'),(16,'adult','2018-04-18 10:21:24','2018-04-18 10:21:24'),(17,'ae.org','2018-04-18 10:21:24','2018-04-18 10:21:24'),(18,'africa','2018-04-18 10:21:24','2018-04-18 10:21:24'),(19,'ag','2018-04-18 10:21:24','2018-04-18 10:21:24'),(20,'agency','2018-04-18 10:21:24','2018-04-18 10:21:24'),(21,'ah.cn','2018-04-18 10:21:24','2018-04-18 10:21:24'),(22,'airforce','2018-04-18 10:21:24','2018-04-18 10:21:24'),(23,'alsace','2018-04-18 10:21:24','2018-04-18 10:21:24'),(24,'am','2018-04-18 10:21:24','2018-04-18 10:21:24'),(25,'amsterdam','2018-04-18 10:21:24','2018-04-18 10:21:24'),(26,'analytics','2018-04-18 10:21:24','2018-04-18 10:21:24'),(27,'and','2018-04-18 10:21:24','2018-04-18 10:21:24'),(28,'apartments','2018-04-18 10:21:24','2018-04-18 10:21:24'),(29,'app','2018-04-18 10:21:24','2018-04-18 10:21:24'),(30,'aquitaine','2018-04-18 10:21:24','2018-04-18 10:21:24'),(31,'ar.com','2018-04-18 10:21:24','2018-04-18 10:21:24'),(32,'arab','2018-04-18 10:21:24','2018-04-18 10:21:24'),(33,'archi','2018-04-18 10:21:24','2018-04-18 10:21:24'),(34,'architect','2018-04-18 10:21:24','2018-04-18 10:21:24'),(35,'are','2018-04-18 10:21:24','2018-04-18 10:21:24'),(36,'army','2018-04-18 10:21:24','2018-04-18 10:21:24'),(37,'art','2018-04-18 10:21:24','2018-04-18 10:21:24'),(38,'asia','2018-04-18 10:21:24','2018-04-18 10:21:24'),(39,'associates','2018-04-18 10:21:24','2018-04-18 10:21:24'),(40,'at','2018-04-18 10:21:24','2018-04-18 10:21:24'),(41,'attorney','2018-04-18 10:21:24','2018-04-18 10:21:24'),(42,'au','2018-04-18 10:21:24','2018-04-18 10:21:24'),(43,'auction','2018-04-18 10:21:24','2018-04-18 10:21:24'),(44,'audi','2018-04-18 10:21:24','2018-04-18 10:21:24'),(45,'audible','2018-04-18 10:21:24','2018-04-18 10:21:24'),(46,'audio','2018-04-18 10:21:24','2018-04-18 10:21:24'),(47,'auto','2018-04-18 10:21:24','2018-04-18 10:21:24'),(48,'autos','2018-04-18 10:21:24','2018-04-18 10:21:24'),(49,'avocat.pro','2018-04-18 10:21:25','2018-04-18 10:21:25'),(50,'baby','2018-04-18 10:21:25','2018-04-18 10:21:25'),(51,'band','2018-04-18 10:21:25','2018-04-18 10:21:25'),(52,'bank','2018-04-18 10:21:25','2018-04-18 10:21:25'),(53,'banque','2018-04-18 10:21:25','2018-04-18 10:21:25'),(54,'bar','2018-04-18 10:21:25','2018-04-18 10:21:25'),(55,'bar.pro','2018-04-18 10:21:25','2018-04-18 10:21:25'),(56,'barcelona','2018-04-18 10:21:25','2018-04-18 10:21:25'),(57,'bargains','2018-04-18 10:21:25','2018-04-18 10:21:25'),(58,'baseball','2018-04-18 10:21:25','2018-04-18 10:21:25'),(59,'basketball','2018-04-18 10:21:25','2018-04-18 10:21:25'),(60,'bauhaus','2018-04-18 10:21:25','2018-04-18 10:21:25'),(61,'bayern','2018-04-18 10:21:25','2018-04-18 10:21:25'),(62,'bbb','2018-04-18 10:21:25','2018-04-18 10:21:25'),(63,'bc.ca','2018-04-18 10:21:25','2018-04-18 10:21:25'),(64,'be','2018-04-18 10:21:25','2018-04-18 10:21:25'),(65,'beauty','2018-04-18 10:21:25','2018-04-18 10:21:25'),(66,'beer','2018-04-18 10:21:25','2018-04-18 10:21:25'),(67,'beknown','2018-04-18 10:21:25','2018-04-18 10:21:25'),(68,'berlin','2018-04-18 10:21:25','2018-04-18 10:21:25'),(69,'best','2018-04-18 10:21:25','2018-04-18 10:21:25'),(70,'bet','2018-04-18 10:21:25','2018-04-18 10:21:25'),(71,'bible','2018-04-18 10:21:25','2018-04-18 10:21:25'),(72,'bid','2018-04-18 10:21:25','2018-04-18 10:21:25'),(73,'bike','2018-04-18 10:21:25','2018-04-18 10:21:25'),(74,'bingo','2018-04-18 10:21:25','2018-04-18 10:21:25'),(75,'bio','2018-04-18 10:21:25','2018-04-18 10:21:25'),(76,'biz','2018-04-18 10:21:25','2018-04-18 10:21:25'),(77,'bj.cn','2018-04-18 10:21:25','2018-04-18 10:21:25'),(78,'black','2018-04-18 10:21:25','2018-04-18 10:21:25'),(79,'blackfriday','2018-04-18 10:21:25','2018-04-18 10:21:25'),(80,'blog','2018-04-18 10:21:25','2018-04-18 10:21:25'),(81,'blue','2018-04-18 10:21:25','2018-04-18 10:21:25'),(82,'boats','2018-04-18 10:21:25','2018-04-18 10:21:25'),(83,'bond','2018-04-18 10:21:25','2018-04-18 10:21:25'),(84,'boo','2018-04-18 10:21:25','2018-04-18 10:21:25'),(85,'book','2018-04-18 10:21:25','2018-04-18 10:21:25'),(86,'booking','2018-04-18 10:21:25','2018-04-18 10:21:25'),(87,'boston','2018-04-18 10:21:25','2018-04-18 10:21:25'),(88,'boutique','2018-04-18 10:21:25','2018-04-18 10:21:25'),(89,'box','2018-04-18 10:21:25','2018-04-18 10:21:25'),(90,'br.com','2018-04-18 10:21:25','2018-04-18 10:21:25'),(91,'broadway','2018-04-18 10:21:25','2018-04-18 10:21:25'),(92,'broker','2018-04-18 10:21:25','2018-04-18 10:21:25'),(93,'brother','2018-04-18 10:21:25','2018-04-18 10:21:25'),(94,'brussels','2018-04-18 10:21:25','2018-04-18 10:21:25'),(95,'budapest','2018-04-18 10:21:25','2018-04-18 10:21:25'),(96,'bugatti','2018-04-18 10:21:25','2018-04-18 10:21:25'),(97,'build','2018-04-18 10:21:25','2018-04-18 10:21:25'),(98,'builders','2018-04-18 10:21:25','2018-04-18 10:21:25'),(99,'business','2018-04-18 10:21:25','2018-04-18 10:21:25'),(100,'buy','2018-04-18 10:21:25','2018-04-18 10:21:25'),(101,'buzz','2018-04-18 10:21:25','2018-04-18 10:21:25'),(102,'bway','2018-04-18 10:21:25','2018-04-18 10:21:25'),(103,'bz','2018-04-18 10:21:25','2018-04-18 10:21:25'),(104,'bzh','2018-04-18 10:21:25','2018-04-18 10:21:25'),(105,'ca','2018-04-18 10:21:25','2018-04-18 10:21:25'),(106,'cab','2018-04-18 10:21:25','2018-04-18 10:21:25'),(107,'cafe','2018-04-18 10:21:25','2018-04-18 10:21:25'),(108,'cam','2018-04-18 10:21:25','2018-04-18 10:21:25'),(109,'camera','2018-04-18 10:21:25','2018-04-18 10:21:25'),(110,'camp','2018-04-18 10:21:25','2018-04-18 10:21:25'),(111,'capetown','2018-04-18 10:21:25','2018-04-18 10:21:25'),(112,'capital','2018-04-18 10:21:25','2018-04-18 10:21:25'),(113,'car','2018-04-18 10:21:26','2018-04-18 10:21:26'),(114,'cards','2018-04-18 10:21:26','2018-04-18 10:21:26'),(115,'care','2018-04-18 10:21:26','2018-04-18 10:21:26'),(116,'career','2018-04-18 10:21:26','2018-04-18 10:21:26'),(117,'careers','2018-04-18 10:21:26','2018-04-18 10:21:26'),(118,'cars','2018-04-18 10:21:26','2018-04-18 10:21:26'),(119,'casa','2018-04-18 10:21:26','2018-04-18 10:21:26'),(120,'cash','2018-04-18 10:21:26','2018-04-18 10:21:26'),(121,'casino','2018-04-18 10:21:26','2018-04-18 10:21:26'),(122,'catalonia','2018-04-18 10:21:26','2018-04-18 10:21:26'),(123,'catering','2018-04-18 10:21:26','2018-04-18 10:21:26'),(124,'catholic','2018-04-18 10:21:26','2018-04-18 10:21:26'),(125,'cc','2018-04-18 10:21:26','2018-04-18 10:21:26'),(126,'center','2018-04-18 10:21:26','2018-04-18 10:21:26'),(127,'ceo','2018-04-18 10:21:26','2018-04-18 10:21:26'),(128,'cfd','2018-04-18 10:21:26','2018-04-18 10:21:26'),(129,'ch','2018-04-18 10:21:26','2018-04-18 10:21:26'),(130,'charity','2018-04-18 10:21:26','2018-04-18 10:21:26'),(131,'chat','2018-04-18 10:21:26','2018-04-18 10:21:26'),(132,'cheap','2018-04-18 10:21:26','2018-04-18 10:21:26'),(133,'chesapeake','2018-04-18 10:21:26','2018-04-18 10:21:26'),(134,'chk','2018-04-18 10:21:26','2018-04-18 10:21:26'),(135,'christmas','2018-04-18 10:21:26','2018-04-18 10:21:26'),(136,'church','2018-04-18 10:21:26','2018-04-18 10:21:26'),(137,'city','2018-04-18 10:21:26','2018-04-18 10:21:26'),(138,'cityeats','2018-04-18 10:21:26','2018-04-18 10:21:26'),(139,'claims','2018-04-18 10:21:26','2018-04-18 10:21:26'),(140,'cleaning','2018-04-18 10:21:26','2018-04-18 10:21:26'),(141,'click','2018-04-18 10:21:26','2018-04-18 10:21:26'),(142,'clinic','2018-04-18 10:21:26','2018-04-18 10:21:26'),(143,'clothing','2018-04-18 10:21:26','2018-04-18 10:21:26'),(144,'cloud','2018-04-18 10:21:26','2018-04-18 10:21:26'),(145,'club','2018-04-18 10:21:26','2018-04-18 10:21:26'),(146,'cm','2018-04-18 10:21:26','2018-04-18 10:21:26'),(147,'cn','2018-04-18 10:21:26','2018-04-18 10:21:26'),(148,'cn.com','2018-04-18 10:21:26','2018-04-18 10:21:26'),(149,'co','2018-04-18 10:21:26','2018-04-18 10:21:26'),(150,'co.com','2018-04-18 10:21:26','2018-04-18 10:21:26'),(151,'co.in','2018-04-18 10:21:26','2018-04-18 10:21:26'),(152,'co.nz','2018-04-18 10:21:26','2018-04-18 10:21:26'),(153,'co.uk','2018-04-18 10:21:26','2018-04-18 10:21:26'),(154,'coach','2018-04-18 10:21:26','2018-04-18 10:21:26'),(155,'codes','2018-04-18 10:21:26','2018-04-18 10:21:26'),(156,'coffee','2018-04-18 10:21:26','2018-04-18 10:21:26'),(157,'college','2018-04-18 10:21:26','2018-04-18 10:21:26'),(158,'cologne','2018-04-18 10:21:26','2018-04-18 10:21:26'),(159,'com','2018-04-18 10:21:26','2018-04-18 10:21:26'),(160,'com.ag','2018-04-18 10:21:26','2018-04-18 10:21:26'),(161,'com.au','2018-04-18 10:21:26','2018-04-18 10:21:26'),(162,'com.cn','2018-04-18 10:21:26','2018-04-18 10:21:26'),(163,'com.co','2018-04-18 10:21:26','2018-04-18 10:21:26'),(164,'com.de','2018-04-18 10:21:26','2018-04-18 10:21:26'),(165,'com.es','2018-04-18 10:21:26','2018-04-18 10:21:26'),(166,'com.mx','2018-04-18 10:21:26','2018-04-18 10:21:26'),(167,'com.pe','2018-04-18 10:21:26','2018-04-18 10:21:26'),(168,'com.pl','2018-04-18 10:21:26','2018-04-18 10:21:26'),(169,'com.sc','2018-04-18 10:21:26','2018-04-18 10:21:26'),(170,'com.sg','2018-04-18 10:21:26','2018-04-18 10:21:26'),(171,'com.tw','2018-04-18 10:21:26','2018-04-18 10:21:26'),(172,'community','2018-04-18 10:21:26','2018-04-18 10:21:26'),(173,'company','2018-04-18 10:21:26','2018-04-18 10:21:26'),(174,'compare','2018-04-18 10:21:26','2018-04-18 10:21:26'),(175,'computer','2018-04-18 10:21:26','2018-04-18 10:21:26'),(176,'comsec','2018-04-18 10:21:26','2018-04-18 10:21:26'),(177,'condos','2018-04-18 10:21:26','2018-04-18 10:21:26'),(178,'construction','2018-04-18 10:21:27','2018-04-18 10:21:27'),(179,'consulting','2018-04-18 10:21:27','2018-04-18 10:21:27'),(180,'contact','2018-04-18 10:21:27','2018-04-18 10:21:27'),(181,'contractors','2018-04-18 10:21:27','2018-04-18 10:21:27'),(182,'cooking','2018-04-18 10:21:27','2018-04-18 10:21:27'),(183,'cookingchannel','2018-04-18 10:21:27','2018-04-18 10:21:27'),(184,'cool','2018-04-18 10:21:27','2018-04-18 10:21:27'),(185,'corp','2018-04-18 10:21:27','2018-04-18 10:21:27'),(186,'corsica','2018-04-18 10:21:27','2018-04-18 10:21:27'),(187,'country','2018-04-18 10:21:27','2018-04-18 10:21:27'),(188,'coupon','2018-04-18 10:21:27','2018-04-18 10:21:27'),(189,'coupons','2018-04-18 10:21:27','2018-04-18 10:21:27'),(190,'courses','2018-04-18 10:21:27','2018-04-18 10:21:27'),(191,'cpa','2018-04-18 10:21:27','2018-04-18 10:21:27'),(192,'cpa.pro','2018-04-18 10:21:27','2018-04-18 10:21:27'),(193,'cq.cn','2018-04-18 10:21:27','2018-04-18 10:21:27'),(194,'credit','2018-04-18 10:21:27','2018-04-18 10:21:27'),(195,'creditcard','2018-04-18 10:21:27','2018-04-18 10:21:27'),(196,'creditunion','2018-04-18 10:21:27','2018-04-18 10:21:27'),(197,'cricket','2018-04-18 10:21:27','2018-04-18 10:21:27'),(198,'cruise','2018-04-18 10:21:27','2018-04-18 10:21:27'),(199,'cruises','2018-04-18 10:21:27','2018-04-18 10:21:27'),(200,'cymru','2018-04-18 10:21:27','2018-04-18 10:21:27'),(201,'cyou','2018-04-18 10:21:27','2018-04-18 10:21:27'),(202,'dad','2018-04-18 10:21:27','2018-04-18 10:21:27'),(203,'dance','2018-04-18 10:21:27','2018-04-18 10:21:27'),(204,'data','2018-04-18 10:21:27','2018-04-18 10:21:27'),(205,'date','2018-04-18 10:21:27','2018-04-18 10:21:27'),(206,'dating','2018-04-18 10:21:27','2018-04-18 10:21:27'),(207,'day','2018-04-18 10:21:27','2018-04-18 10:21:27'),(208,'dds','2018-04-18 10:21:27','2018-04-18 10:21:27'),(209,'de','2018-04-18 10:21:27','2018-04-18 10:21:27'),(210,'de.com','2018-04-18 10:21:27','2018-04-18 10:21:27'),(211,'deal','2018-04-18 10:21:27','2018-04-18 10:21:27'),(212,'deals','2018-04-18 10:21:27','2018-04-18 10:21:27'),(213,'degree','2018-04-18 10:21:27','2018-04-18 10:21:27'),(214,'delivery','2018-04-18 10:21:27','2018-04-18 10:21:27'),(215,'democrat','2018-04-18 10:21:27','2018-04-18 10:21:27'),(216,'dental','2018-04-18 10:21:27','2018-04-18 10:21:27'),(217,'dentist','2018-04-18 10:21:27','2018-04-18 10:21:27'),(218,'desi','2018-04-18 10:21:27','2018-04-18 10:21:27'),(219,'design','2018-04-18 10:21:27','2018-04-18 10:21:27'),(220,'diamonds','2018-04-18 10:21:27','2018-04-18 10:21:27'),(221,'diet','2018-04-18 10:21:27','2018-04-18 10:21:27'),(222,'digital','2018-04-18 10:21:27','2018-04-18 10:21:27'),(223,'direct','2018-04-18 10:21:27','2018-04-18 10:21:27'),(224,'directory','2018-04-18 10:21:27','2018-04-18 10:21:27'),(225,'discount','2018-04-18 10:21:27','2018-04-18 10:21:27'),(226,'diy','2018-04-18 10:21:27','2018-04-18 10:21:27'),(227,'docs','2018-04-18 10:21:27','2018-04-18 10:21:27'),(228,'doctor','2018-04-18 10:21:27','2018-04-18 10:21:27'),(229,'dog','2018-04-18 10:21:27','2018-04-18 10:21:27'),(230,'doha','2018-04-18 10:21:27','2018-04-18 10:21:27'),(231,'domains','2018-04-18 10:21:27','2018-04-18 10:21:27'),(232,'dot','2018-04-18 10:21:27','2018-04-18 10:21:27'),(233,'dotafrica','2018-04-18 10:21:27','2018-04-18 10:21:27'),(234,'download','2018-04-18 10:21:27','2018-04-18 10:21:27'),(235,'dubai','2018-04-18 10:21:27','2018-04-18 10:21:27'),(236,'durban','2018-04-18 10:21:27','2018-04-18 10:21:27'),(237,'dvr','2018-04-18 10:21:27','2018-04-18 10:21:27'),(238,'earth','2018-04-18 10:21:27','2018-04-18 10:21:27'),(239,'eat','2018-04-18 10:21:27','2018-04-18 10:21:27'),(240,'eco','2018-04-18 10:21:27','2018-04-18 10:21:27'),(241,'ecom','2018-04-18 10:21:27','2018-04-18 10:21:27'),(242,'edeka','2018-04-18 10:21:27','2018-04-18 10:21:27'),(243,'education','2018-04-18 10:21:27','2018-04-18 10:21:27'),(244,'email','2018-04-18 10:21:27','2018-04-18 10:21:27'),(245,'energy','2018-04-18 10:21:27','2018-04-18 10:21:27'),(246,'eng.pro','2018-04-18 10:21:28','2018-04-18 10:21:28'),(247,'engineer','2018-04-18 10:21:28','2018-04-18 10:21:28'),(248,'engineering','2018-04-18 10:21:28','2018-04-18 10:21:28'),(249,'enterprises','2018-04-18 10:21:28','2018-04-18 10:21:28'),(250,'epost','2018-04-18 10:21:28','2018-04-18 10:21:28'),(251,'equipment','2018-04-18 10:21:28','2018-04-18 10:21:28'),(252,'es','2018-04-18 10:21:28','2018-04-18 10:21:28'),(253,'esq','2018-04-18 10:21:28','2018-04-18 10:21:28'),(254,'est','2018-04-18 10:21:28','2018-04-18 10:21:28'),(255,'estate','2018-04-18 10:21:28','2018-04-18 10:21:28'),(256,'eu','2018-04-18 10:21:28','2018-04-18 10:21:28'),(257,'eu.com','2018-04-18 10:21:28','2018-04-18 10:21:28'),(258,'eus','2018-04-18 10:21:28','2018-04-18 10:21:28'),(259,'events','2018-04-18 10:21:28','2018-04-18 10:21:28'),(260,'exchange','2018-04-18 10:21:28','2018-04-18 10:21:28'),(261,'expert','2018-04-18 10:21:28','2018-04-18 10:21:28'),(262,'exposed','2018-04-18 10:21:28','2018-04-18 10:21:28'),(263,'express','2018-04-18 10:21:28','2018-04-18 10:21:28'),(264,'fail','2018-04-18 10:21:28','2018-04-18 10:21:28'),(265,'faith','2018-04-18 10:21:28','2018-04-18 10:21:28'),(266,'family','2018-04-18 10:21:28','2018-04-18 10:21:28'),(267,'fan','2018-04-18 10:21:28','2018-04-18 10:21:28'),(268,'fans','2018-04-18 10:21:28','2018-04-18 10:21:28'),(269,'farm','2018-04-18 10:21:28','2018-04-18 10:21:28'),(270,'fashion','2018-04-18 10:21:28','2018-04-18 10:21:28'),(271,'feedback','2018-04-18 10:21:28','2018-04-18 10:21:28'),(272,'film','2018-04-18 10:21:28','2018-04-18 10:21:28'),(273,'final','2018-04-18 10:21:28','2018-04-18 10:21:28'),(274,'finance','2018-04-18 10:21:28','2018-04-18 10:21:28'),(275,'financial','2018-04-18 10:21:28','2018-04-18 10:21:28'),(276,'financialaid','2018-04-18 10:21:28','2018-04-18 10:21:28'),(277,'firm.in','2018-04-18 10:21:28','2018-04-18 10:21:28'),(278,'fish','2018-04-18 10:21:28','2018-04-18 10:21:28'),(279,'fishing','2018-04-18 10:21:28','2018-04-18 10:21:28'),(280,'fit','2018-04-18 10:21:28','2018-04-18 10:21:28'),(281,'fitness','2018-04-18 10:21:28','2018-04-18 10:21:28'),(282,'fj.cn','2018-04-18 10:21:28','2018-04-18 10:21:28'),(283,'flights','2018-04-18 10:21:28','2018-04-18 10:21:28'),(284,'florist','2018-04-18 10:21:28','2018-04-18 10:21:28'),(285,'flowers','2018-04-18 10:21:28','2018-04-18 10:21:28'),(286,'fly','2018-04-18 10:21:28','2018-04-18 10:21:28'),(287,'fm','2018-04-18 10:21:28','2018-04-18 10:21:28'),(288,'foo','2018-04-18 10:21:28','2018-04-18 10:21:28'),(289,'food','2018-04-18 10:21:28','2018-04-18 10:21:28'),(290,'football','2018-04-18 10:21:28','2018-04-18 10:21:28'),(291,'forsale','2018-04-18 10:21:28','2018-04-18 10:21:28'),(292,'forum','2018-04-18 10:21:28','2018-04-18 10:21:28'),(293,'foundation','2018-04-18 10:21:28','2018-04-18 10:21:28'),(294,'fr','2018-04-18 10:21:28','2018-04-18 10:21:28'),(295,'free','2018-04-18 10:21:28','2018-04-18 10:21:28'),(296,'frl','2018-04-18 10:21:28','2018-04-18 10:21:28'),(297,'fun','2018-04-18 10:21:28','2018-04-18 10:21:28'),(298,'fund','2018-04-18 10:21:28','2018-04-18 10:21:28'),(299,'furniture','2018-04-18 10:21:28','2018-04-18 10:21:28'),(300,'futbol','2018-04-18 10:21:28','2018-04-18 10:21:28'),(301,'fyi','2018-04-18 10:21:28','2018-04-18 10:21:28'),(302,'gal','2018-04-18 10:21:28','2018-04-18 10:21:28'),(303,'gallery','2018-04-18 10:21:28','2018-04-18 10:21:28'),(304,'game','2018-04-18 10:21:28','2018-04-18 10:21:28'),(305,'games','2018-04-18 10:21:28','2018-04-18 10:21:28'),(306,'garden','2018-04-18 10:21:29','2018-04-18 10:21:29'),(307,'gay','2018-04-18 10:21:29','2018-04-18 10:21:29'),(308,'gb.com','2018-04-18 10:21:29','2018-04-18 10:21:29'),(309,'gb.net','2018-04-18 10:21:29','2018-04-18 10:21:29'),(310,'gd.cn','2018-04-18 10:21:29','2018-04-18 10:21:29'),(311,'gea','2018-04-18 10:21:29','2018-04-18 10:21:29'),(312,'gen.in','2018-04-18 10:21:29','2018-04-18 10:21:29'),(313,'gent','2018-04-18 10:21:29','2018-04-18 10:21:29'),(314,'gift','2018-04-18 10:21:29','2018-04-18 10:21:29'),(315,'gifts','2018-04-18 10:21:29','2018-04-18 10:21:29'),(316,'gives','2018-04-18 10:21:29','2018-04-18 10:21:29'),(317,'giving','2018-04-18 10:21:29','2018-04-18 10:21:29'),(318,'glass','2018-04-18 10:21:29','2018-04-18 10:21:29'),(319,'glean','2018-04-18 10:21:29','2018-04-18 10:21:29'),(320,'global','2018-04-18 10:21:29','2018-04-18 10:21:29'),(321,'gmbh','2018-04-18 10:21:29','2018-04-18 10:21:29'),(322,'gold','2018-04-18 10:21:29','2018-04-18 10:21:29'),(323,'golf','2018-04-18 10:21:29','2018-04-18 10:21:29'),(324,'goo','2018-04-18 10:21:29','2018-04-18 10:21:29'),(325,'gop','2018-04-18 10:21:29','2018-04-18 10:21:29'),(326,'gr.com','2018-04-18 10:21:29','2018-04-18 10:21:29'),(327,'graphics','2018-04-18 10:21:29','2018-04-18 10:21:29'),(328,'gratis','2018-04-18 10:21:29','2018-04-18 10:21:29'),(329,'gree','2018-04-18 10:21:29','2018-04-18 10:21:29'),(330,'green','2018-04-18 10:21:29','2018-04-18 10:21:29'),(331,'gripe','2018-04-18 10:21:29','2018-04-18 10:21:29'),(332,'grocery','2018-04-18 10:21:29','2018-04-18 10:21:29'),(333,'group','2018-04-18 10:21:29','2018-04-18 10:21:29'),(334,'gs','2018-04-18 10:21:29','2018-04-18 10:21:29'),(335,'gs.cn','2018-04-18 10:21:29','2018-04-18 10:21:29'),(336,'guide','2018-04-18 10:21:29','2018-04-18 10:21:29'),(337,'guitars','2018-04-18 10:21:29','2018-04-18 10:21:29'),(338,'guru','2018-04-18 10:21:29','2018-04-18 10:21:29'),(339,'gx.cn','2018-04-18 10:21:29','2018-04-18 10:21:29'),(340,'gz.cn','2018-04-18 10:21:29','2018-04-18 10:21:29'),(341,'ha.cn','2018-04-18 10:21:29','2018-04-18 10:21:29'),(342,'hair','2018-04-18 10:21:29','2018-04-18 10:21:29'),(343,'halal','2018-04-18 10:21:29','2018-04-18 10:21:29'),(344,'hamburg','2018-04-18 10:21:29','2018-04-18 10:21:29'),(345,'haus','2018-04-18 10:21:29','2018-04-18 10:21:29'),(346,'hb.cn','2018-04-18 10:21:29','2018-04-18 10:21:29'),(347,'he.cn','2018-04-18 10:21:29','2018-04-18 10:21:29'),(348,'health','2018-04-18 10:21:29','2018-04-18 10:21:29'),(349,'healthcare','2018-04-18 10:21:29','2018-04-18 10:21:29'),(350,'heart','2018-04-18 10:21:29','2018-04-18 10:21:29'),(351,'help','2018-04-18 10:21:29','2018-04-18 10:21:29'),(352,'helsinki','2018-04-18 10:21:29','2018-04-18 10:21:29'),(353,'here','2018-04-18 10:21:29','2018-04-18 10:21:29'),(354,'hi.cn','2018-04-18 10:21:29','2018-04-18 10:21:29'),(355,'hiphop','2018-04-18 10:21:29','2018-04-18 10:21:29'),(356,'hiv','2018-04-18 10:21:29','2018-04-18 10:21:29'),(357,'hk.cn','2018-04-18 10:21:29','2018-04-18 10:21:29'),(358,'hl.cn','2018-04-18 10:21:29','2018-04-18 10:21:29'),(359,'hn','2018-04-18 10:21:29','2018-04-18 10:21:29'),(360,'hn.cn','2018-04-18 10:21:29','2018-04-18 10:21:29'),(361,'hockey','2018-04-18 10:21:29','2018-04-18 10:21:29'),(362,'holdings','2018-04-18 10:21:29','2018-04-18 10:21:29'),(363,'holiday','2018-04-18 10:21:29','2018-04-18 10:21:29'),(364,'home','2018-04-18 10:21:29','2018-04-18 10:21:29'),(365,'homes','2018-04-18 10:21:29','2018-04-18 10:21:29'),(366,'horse','2018-04-18 10:21:29','2018-04-18 10:21:29'),(367,'hospital','2018-04-18 10:21:29','2018-04-18 10:21:29'),(368,'host','2018-04-18 10:21:29','2018-04-18 10:21:29'),(369,'hosting','2018-04-18 10:21:29','2018-04-18 10:21:29'),(370,'hot','2018-04-18 10:21:29','2018-04-18 10:21:29'),(371,'hotel','2018-04-18 10:21:29','2018-04-18 10:21:29'),(372,'hotels','2018-04-18 10:21:29','2018-04-18 10:21:29'),(373,'house','2018-04-18 10:21:29','2018-04-18 10:21:29'),(374,'how','2018-04-18 10:21:29','2018-04-18 10:21:29'),(375,'hu.com','2018-04-18 10:21:29','2018-04-18 10:21:29'),(376,'icu','2018-04-18 10:21:29','2018-04-18 10:21:29'),(377,'idn','2018-04-18 10:21:30','2018-04-18 10:21:30'),(378,'idv.tw','2018-04-18 10:21:30','2018-04-18 10:21:30'),(379,'ieee','2018-04-18 10:21:30','2018-04-18 10:21:30'),(380,'ikano','2018-04-18 10:21:30','2018-04-18 10:21:30'),(381,'immo','2018-04-18 10:21:30','2018-04-18 10:21:30'),(382,'immobilien','2018-04-18 10:21:30','2018-04-18 10:21:30'),(383,'in','2018-04-18 10:21:30','2018-04-18 10:21:30'),(384,'inc','2018-04-18 10:21:30','2018-04-18 10:21:30'),(385,'ind.in','2018-04-18 10:21:30','2018-04-18 10:21:30'),(386,'indians','2018-04-18 10:21:30','2018-04-18 10:21:30'),(387,'industries','2018-04-18 10:21:30','2018-04-18 10:21:30'),(388,'info','2018-04-18 10:21:30','2018-04-18 10:21:30'),(389,'info.pl','2018-04-18 10:21:30','2018-04-18 10:21:30'),(390,'ing','2018-04-18 10:21:30','2018-04-18 10:21:30'),(391,'ink','2018-04-18 10:21:30','2018-04-18 10:21:30'),(392,'institute','2018-04-18 10:21:30','2018-04-18 10:21:30'),(393,'insurance','2018-04-18 10:21:30','2018-04-18 10:21:30'),(394,'insure','2018-04-18 10:21:30','2018-04-18 10:21:30'),(395,'international','2018-04-18 10:21:30','2018-04-18 10:21:30'),(396,'investments','2018-04-18 10:21:30','2018-04-18 10:21:30'),(397,'io','2018-04-18 10:21:30','2018-04-18 10:21:30'),(398,'ira','2018-04-18 10:21:30','2018-04-18 10:21:30'),(399,'irish','2018-04-18 10:21:30','2018-04-18 10:21:30'),(400,'islam','2018-04-18 10:21:30','2018-04-18 10:21:30'),(401,'ismaili','2018-04-18 10:21:30','2018-04-18 10:21:30'),(402,'ist','2018-04-18 10:21:30','2018-04-18 10:21:30'),(403,'istanbul','2018-04-18 10:21:30','2018-04-18 10:21:30'),(404,'it','2018-04-18 10:21:30','2018-04-18 10:21:30'),(405,'jetzt','2018-04-18 10:21:30','2018-04-18 10:21:30'),(406,'jewelry','2018-04-18 10:21:30','2018-04-18 10:21:30'),(407,'jobs','2018-04-18 10:21:30','2018-04-18 10:21:30'),(408,'joburg','2018-04-18 10:21:30','2018-04-18 10:21:30'),(409,'jp','2018-04-18 10:21:30','2018-04-18 10:21:30'),(410,'jpn.com','2018-04-18 10:21:30','2018-04-18 10:21:30'),(411,'js.cn','2018-04-18 10:21:30','2018-04-18 10:21:30'),(412,'juegos','2018-04-18 10:21:30','2018-04-18 10:21:30'),(413,'jur.pro','2018-04-18 10:21:30','2018-04-18 10:21:30'),(414,'justforu','2018-04-18 10:21:30','2018-04-18 10:21:30'),(415,'jx.cn','2018-04-18 10:21:30','2018-04-18 10:21:30'),(416,'kaufen','2018-04-18 10:21:30','2018-04-18 10:21:30'),(417,'kid','2018-04-18 10:21:30','2018-04-18 10:21:30'),(418,'kids','2018-04-18 10:21:30','2018-04-18 10:21:30'),(419,'kids.us','2018-04-18 10:21:30','2018-04-18 10:21:30'),(420,'kim','2018-04-18 10:21:30','2018-04-18 10:21:30'),(421,'kitchen','2018-04-18 10:21:30','2018-04-18 10:21:30'),(422,'kiwi','2018-04-18 10:21:30','2018-04-18 10:21:30'),(423,'koeln','2018-04-18 10:21:30','2018-04-18 10:21:30'),(424,'kosher','2018-04-18 10:21:30','2018-04-18 10:21:30'),(425,'kr.com','2018-04-18 10:21:30','2018-04-18 10:21:30'),(426,'kyoto','2018-04-18 10:21:30','2018-04-18 10:21:30'),(427,'la','2018-04-18 10:21:30','2018-04-18 10:21:30'),(428,'lamborghini','2018-04-18 10:21:30','2018-04-18 10:21:30'),(429,'land','2018-04-18 10:21:30','2018-04-18 10:21:30'),(430,'lat','2018-04-18 10:21:30','2018-04-18 10:21:30'),(431,'latino','2018-04-18 10:21:30','2018-04-18 10:21:30'),(432,'law','2018-04-18 10:21:30','2018-04-18 10:21:30'),(433,'law.pro','2018-04-18 10:21:30','2018-04-18 10:21:30'),(434,'lawyer','2018-04-18 10:21:30','2018-04-18 10:21:30'),(435,'lds','2018-04-18 10:21:30','2018-04-18 10:21:30'),(436,'lease','2018-04-18 10:21:30','2018-04-18 10:21:30'),(437,'leclerc','2018-04-18 10:21:30','2018-04-18 10:21:30'),(438,'legal','2018-04-18 10:21:30','2018-04-18 10:21:30'),(439,'lgbt','2018-04-18 10:21:30','2018-04-18 10:21:30'),(440,'li','2018-04-18 10:21:30','2018-04-18 10:21:30'),(441,'life','2018-04-18 10:21:30','2018-04-18 10:21:30'),(442,'lifeinsurance','2018-04-18 10:21:30','2018-04-18 10:21:30'),(443,'lifestyle','2018-04-18 10:21:30','2018-04-18 10:21:30'),(444,'lighting','2018-04-18 10:21:30','2018-04-18 10:21:30'),(445,'limited','2018-04-18 10:21:30','2018-04-18 10:21:30'),(446,'limo','2018-04-18 10:21:30','2018-04-18 10:21:30'),(447,'link','2018-04-18 10:21:30','2018-04-18 10:21:30'),(448,'live','2018-04-18 10:21:31','2018-04-18 10:21:31'),(449,'living','2018-04-18 10:21:31','2018-04-18 10:21:31'),(450,'llc','2018-04-18 10:21:31','2018-04-18 10:21:31'),(451,'llp','2018-04-18 10:21:31','2018-04-18 10:21:31'),(452,'ln.cn','2018-04-18 10:21:31','2018-04-18 10:21:31'),(453,'loan','2018-04-18 10:21:31','2018-04-18 10:21:31'),(454,'loans','2018-04-18 10:21:31','2018-04-18 10:21:31'),(455,'lol','2018-04-18 10:21:31','2018-04-18 10:21:31'),(456,'london','2018-04-18 10:21:31','2018-04-18 10:21:31'),(457,'lotto','2018-04-18 10:21:31','2018-04-18 10:21:31'),(458,'love','2018-04-18 10:21:31','2018-04-18 10:21:31'),(459,'ltd','2018-04-18 10:21:31','2018-04-18 10:21:31'),(460,'ltd.uk','2018-04-18 10:21:31','2018-04-18 10:21:31'),(461,'luxe','2018-04-18 10:21:31','2018-04-18 10:21:31'),(462,'luxury','2018-04-18 10:21:31','2018-04-18 10:21:31'),(463,'madrid','2018-04-18 10:21:31','2018-04-18 10:21:31'),(464,'mail','2018-04-18 10:21:31','2018-04-18 10:21:31'),(465,'maison','2018-04-18 10:21:31','2018-04-18 10:21:31'),(466,'management','2018-04-18 10:21:31','2018-04-18 10:21:31'),(467,'map','2018-04-18 10:21:31','2018-04-18 10:21:31'),(468,'market','2018-04-18 10:21:31','2018-04-18 10:21:31'),(469,'marketing','2018-04-18 10:21:31','2018-04-18 10:21:31'),(470,'markets','2018-04-18 10:21:31','2018-04-18 10:21:31'),(471,'mb.ca','2018-04-18 10:21:31','2018-04-18 10:21:31'),(472,'mba','2018-04-18 10:21:31','2018-04-18 10:21:31'),(473,'me','2018-04-18 10:21:31','2018-04-18 10:21:31'),(474,'me.uk','2018-04-18 10:21:31','2018-04-18 10:21:31'),(475,'med','2018-04-18 10:21:31','2018-04-18 10:21:31'),(476,'med.pro','2018-04-18 10:21:31','2018-04-18 10:21:31'),(477,'media','2018-04-18 10:21:31','2018-04-18 10:21:31'),(478,'medical','2018-04-18 10:21:31','2018-04-18 10:21:31'),(479,'meet','2018-04-18 10:21:31','2018-04-18 10:21:31'),(480,'melbourne','2018-04-18 10:21:31','2018-04-18 10:21:31'),(481,'meme','2018-04-18 10:21:31','2018-04-18 10:21:31'),(482,'memorial','2018-04-18 10:21:31','2018-04-18 10:21:31'),(483,'men','2018-04-18 10:21:31','2018-04-18 10:21:31'),(484,'menu','2018-04-18 10:21:31','2018-04-18 10:21:31'),(485,'merck','2018-04-18 10:21:31','2018-04-18 10:21:31'),(486,'miami','2018-04-18 10:21:31','2018-04-18 10:21:31'),(487,'mls','2018-04-18 10:21:31','2018-04-18 10:21:31'),(488,'mma','2018-04-18 10:21:31','2018-04-18 10:21:31'),(489,'mn','2018-04-18 10:21:31','2018-04-18 10:21:31'),(490,'mo.cn','2018-04-18 10:21:31','2018-04-18 10:21:31'),(491,'mobi','2018-04-18 10:21:31','2018-04-18 10:21:31'),(492,'mobile','2018-04-18 10:21:31','2018-04-18 10:21:31'),(493,'mobily','2018-04-18 10:21:31','2018-04-18 10:21:31'),(494,'moda','2018-04-18 10:21:31','2018-04-18 10:21:31'),(495,'moe','2018-04-18 10:21:31','2018-04-18 10:21:31'),(496,'mom','2018-04-18 10:21:31','2018-04-18 10:21:31'),(497,'money','2018-04-18 10:21:31','2018-04-18 10:21:31'),(498,'mormon','2018-04-18 10:21:31','2018-04-18 10:21:31'),(499,'mortgage','2018-04-18 10:21:31','2018-04-18 10:21:31'),(500,'moscow','2018-04-18 10:21:31','2018-04-18 10:21:31'),(501,'moto','2018-04-18 10:21:31','2018-04-18 10:21:31'),(502,'motorcycles','2018-04-18 10:21:31','2018-04-18 10:21:31'),(503,'mov','2018-04-18 10:21:31','2018-04-18 10:21:31'),(504,'movie','2018-04-18 10:21:31','2018-04-18 10:21:31'),(505,'mozaic','2018-04-18 10:21:31','2018-04-18 10:21:31'),(506,'ms','2018-04-18 10:21:31','2018-04-18 10:21:31'),(507,'msd','2018-04-18 10:21:31','2018-04-18 10:21:31'),(508,'music','2018-04-18 10:21:31','2018-04-18 10:21:31'),(509,'mutual','2018-04-18 10:21:31','2018-04-18 10:21:31'),(510,'mutualfunds','2018-04-18 10:21:31','2018-04-18 10:21:31'),(511,'nagoya','2018-04-18 10:21:31','2018-04-18 10:21:31'),(512,'name','2018-04-18 10:21:31','2018-04-18 10:21:31'),(513,'navy','2018-04-18 10:21:31','2018-04-18 10:21:31'),(514,'nb.ca','2018-04-18 10:21:31','2018-04-18 10:21:31'),(515,'nba','2018-04-18 10:21:31','2018-04-18 10:21:31'),(516,'net','2018-04-18 10:21:31','2018-04-18 10:21:31'),(517,'net.ag','2018-04-18 10:21:31','2018-04-18 10:21:31'),(518,'net.au','2018-04-18 10:21:32','2018-04-18 10:21:32'),(519,'net.cn','2018-04-18 10:21:32','2018-04-18 10:21:32'),(520,'net.co','2018-04-18 10:21:32','2018-04-18 10:21:32'),(521,'net.in','2018-04-18 10:21:32','2018-04-18 10:21:32'),(522,'net.nz','2018-04-18 10:21:32','2018-04-18 10:21:32'),(523,'net.pe','2018-04-18 10:21:32','2018-04-18 10:21:32'),(524,'net.pl','2018-04-18 10:21:32','2018-04-18 10:21:32'),(525,'net.sc','2018-04-18 10:21:32','2018-04-18 10:21:32'),(526,'network','2018-04-18 10:21:32','2018-04-18 10:21:32'),(527,'new','2018-04-18 10:21:32','2018-04-18 10:21:32'),(528,'news','2018-04-18 10:21:32','2018-04-18 10:21:32'),(529,'nf.ca','2018-04-18 10:21:32','2018-04-18 10:21:32'),(530,'ngo','2018-04-18 10:21:32','2018-04-18 10:21:32'),(531,'ninja','2018-04-18 10:21:32','2018-04-18 10:21:32'),(532,'nl','2018-04-18 10:21:32','2018-04-18 10:21:32'),(533,'nl.ca','2018-04-18 10:21:32','2018-04-18 10:21:32'),(534,'nm.cn','2018-04-18 10:21:32','2018-04-18 10:21:32'),(535,'no.com','2018-04-18 10:21:32','2018-04-18 10:21:32'),(536,'nom.co','2018-04-18 10:21:32','2018-04-18 10:21:32'),(537,'nom.es','2018-04-18 10:21:32','2018-04-18 10:21:32'),(538,'nom.pe','2018-04-18 10:21:32','2018-04-18 10:21:32'),(539,'notes:','2018-04-18 10:21:32','2018-04-18 10:21:32'),(540,'now','2018-04-18 10:21:32','2018-04-18 10:21:32'),(541,'nowruz','2018-04-18 10:21:32','2018-04-18 10:21:32'),(542,'nrw','2018-04-18 10:21:32','2018-04-18 10:21:32'),(543,'ns.ca','2018-04-18 10:21:32','2018-04-18 10:21:32'),(544,'nt.ca','2018-04-18 10:21:32','2018-04-18 10:21:32'),(545,'nu','2018-04-18 10:21:32','2018-04-18 10:21:32'),(546,'nu.ca','2018-04-18 10:21:32','2018-04-18 10:21:32'),(547,'nx.cn','2018-04-18 10:21:32','2018-04-18 10:21:32'),(548,'nyc','2018-04-18 10:21:32','2018-04-18 10:21:32'),(549,'okinawa','2018-04-18 10:21:32','2018-04-18 10:21:32'),(550,'on.ca','2018-04-18 10:21:32','2018-04-18 10:21:32'),(551,'one','2018-04-18 10:21:32','2018-04-18 10:21:32'),(552,'ong','2018-04-18 10:21:32','2018-04-18 10:21:32'),(553,'onl','2018-04-18 10:21:32','2018-04-18 10:21:32'),(554,'online','2018-04-18 10:21:32','2018-04-18 10:21:32'),(555,'ooo','2018-04-18 10:21:32','2018-04-18 10:21:32'),(556,'org','2018-04-18 10:21:32','2018-04-18 10:21:32'),(557,'org.ag','2018-04-18 10:21:32','2018-04-18 10:21:32'),(558,'org.au','2018-04-18 10:21:32','2018-04-18 10:21:32'),(559,'org.cn','2018-04-18 10:21:32','2018-04-18 10:21:32'),(560,'org.es','2018-04-18 10:21:32','2018-04-18 10:21:32'),(561,'org.in','2018-04-18 10:21:32','2018-04-18 10:21:32'),(562,'org.nz','2018-04-18 10:21:32','2018-04-18 10:21:32'),(563,'org.pe','2018-04-18 10:21:32','2018-04-18 10:21:32'),(564,'org.pl','2018-04-18 10:21:32','2018-04-18 10:21:32'),(565,'org.sc','2018-04-18 10:21:32','2018-04-18 10:21:32'),(566,'org.tw','2018-04-18 10:21:32','2018-04-18 10:21:32'),(567,'org.uk','2018-04-18 10:21:32','2018-04-18 10:21:32'),(568,'organic','2018-04-18 10:21:32','2018-04-18 10:21:32'),(569,'origins','2018-04-18 10:21:32','2018-04-18 10:21:32'),(570,'osaka','2018-04-18 10:21:32','2018-04-18 10:21:32'),(571,'ovh','2018-04-18 10:21:32','2018-04-18 10:21:32'),(572,'paris','2018-04-18 10:21:32','2018-04-18 10:21:32'),(573,'pars','2018-04-18 10:21:32','2018-04-18 10:21:32'),(574,'partners','2018-04-18 10:21:32','2018-04-18 10:21:32'),(575,'parts','2018-04-18 10:21:32','2018-04-18 10:21:32'),(576,'party','2018-04-18 10:21:32','2018-04-18 10:21:32'),(577,'patagonia','2018-04-18 10:21:32','2018-04-18 10:21:32'),(578,'pay','2018-04-18 10:21:32','2018-04-18 10:21:32'),(579,'pe','2018-04-18 10:21:32','2018-04-18 10:21:32'),(580,'pe.ca','2018-04-18 10:21:32','2018-04-18 10:21:32'),(581,'persiangulf','2018-04-18 10:21:32','2018-04-18 10:21:32'),(582,'pet','2018-04-18 10:21:32','2018-04-18 10:21:32'),(583,'pets','2018-04-18 10:21:32','2018-04-18 10:21:32'),(584,'pharmacy','2018-04-18 10:21:32','2018-04-18 10:21:32'),(585,'phd','2018-04-18 10:21:32','2018-04-18 10:21:32'),(586,'phone','2018-04-18 10:21:32','2018-04-18 10:21:32'),(587,'photo','2018-04-18 10:21:32','2018-04-18 10:21:32'),(588,'photography','2018-04-18 10:21:32','2018-04-18 10:21:32'),(589,'photos','2018-04-18 10:21:32','2018-04-18 10:21:32'),(590,'physio','2018-04-18 10:21:32','2018-04-18 10:21:32'),(591,'pics','2018-04-18 10:21:32','2018-04-18 10:21:32'),(592,'pictures','2018-04-18 10:21:32','2018-04-18 10:21:32'),(593,'pid','2018-04-18 10:21:33','2018-04-18 10:21:33'),(594,'pink','2018-04-18 10:21:33','2018-04-18 10:21:33'),(595,'pizza','2018-04-18 10:21:33','2018-04-18 10:21:33'),(596,'pl','2018-04-18 10:21:33','2018-04-18 10:21:33'),(597,'place','2018-04-18 10:21:33','2018-04-18 10:21:33'),(598,'play','2018-04-18 10:21:33','2018-04-18 10:21:33'),(599,'plc.uk','2018-04-18 10:21:33','2018-04-18 10:21:33'),(600,'plumbing','2018-04-18 10:21:33','2018-04-18 10:21:33'),(601,'plus','2018-04-18 10:21:33','2018-04-18 10:21:33'),(602,'poker','2018-04-18 10:21:33','2018-04-18 10:21:33'),(603,'porn','2018-04-18 10:21:33','2018-04-18 10:21:33'),(604,'press','2018-04-18 10:21:33','2018-04-18 10:21:33'),(605,'pro','2018-04-18 10:21:33','2018-04-18 10:21:33'),(606,'productions','2018-04-18 10:21:33','2018-04-18 10:21:33'),(607,'prof','2018-04-18 10:21:33','2018-04-18 10:21:33'),(608,'promo','2018-04-18 10:21:33','2018-04-18 10:21:33'),(609,'properties','2018-04-18 10:21:33','2018-04-18 10:21:33'),(610,'property','2018-04-18 10:21:33','2018-04-18 10:21:33'),(611,'pub','2018-04-18 10:21:33','2018-04-18 10:21:33'),(612,'pw','2018-04-18 10:21:33','2018-04-18 10:21:33'),(613,'qc.ca','2018-04-18 10:21:33','2018-04-18 10:21:33'),(614,'qc.com','2018-04-18 10:21:33','2018-04-18 10:21:33'),(615,'qh.cn','2018-04-18 10:21:33','2018-04-18 10:21:33'),(616,'qpon','2018-04-18 10:21:33','2018-04-18 10:21:33'),(617,'quebec','2018-04-18 10:21:33','2018-04-18 10:21:33'),(618,'racing','2018-04-18 10:21:33','2018-04-18 10:21:33'),(619,'radio','2018-04-18 10:21:33','2018-04-18 10:21:33'),(620,'realestate','2018-04-18 10:21:33','2018-04-18 10:21:33'),(621,'realtor','2018-04-18 10:21:33','2018-04-18 10:21:33'),(622,'realty','2018-04-18 10:21:33','2018-04-18 10:21:33'),(623,'recht.pro','2018-04-18 10:21:33','2018-04-18 10:21:33'),(624,'recipes','2018-04-18 10:21:33','2018-04-18 10:21:33'),(625,'red','2018-04-18 10:21:33','2018-04-18 10:21:33'),(626,'rehab','2018-04-18 10:21:33','2018-04-18 10:21:33'),(627,'reise','2018-04-18 10:21:33','2018-04-18 10:21:33'),(628,'reisen','2018-04-18 10:21:33','2018-04-18 10:21:33'),(629,'reit','2018-04-18 10:21:33','2018-04-18 10:21:33'),(630,'ren','2018-04-18 10:21:33','2018-04-18 10:21:33'),(631,'rent','2018-04-18 10:21:33','2018-04-18 10:21:33'),(632,'rentals','2018-04-18 10:21:33','2018-04-18 10:21:33'),(633,'repair','2018-04-18 10:21:33','2018-04-18 10:21:33'),(634,'report','2018-04-18 10:21:33','2018-04-18 10:21:33'),(635,'republican','2018-04-18 10:21:33','2018-04-18 10:21:33'),(636,'rest','2018-04-18 10:21:33','2018-04-18 10:21:33'),(637,'restaurant','2018-04-18 10:21:33','2018-04-18 10:21:33'),(638,'review','2018-04-18 10:21:33','2018-04-18 10:21:33'),(639,'reviews','2018-04-18 10:21:33','2018-04-18 10:21:33'),(640,'rich','2018-04-18 10:21:33','2018-04-18 10:21:33'),(641,'rio','2018-04-18 10:21:33','2018-04-18 10:21:33'),(642,'rip','2018-04-18 10:21:33','2018-04-18 10:21:33'),(643,'rocks','2018-04-18 10:21:33','2018-04-18 10:21:33'),(644,'rodeo','2018-04-18 10:21:33','2018-04-18 10:21:33'),(645,'roma','2018-04-18 10:21:33','2018-04-18 10:21:33'),(646,'rsvp','2018-04-18 10:21:33','2018-04-18 10:21:33'),(647,'ru.com','2018-04-18 10:21:33','2018-04-18 10:21:33'),(648,'rugby','2018-04-18 10:21:33','2018-04-18 10:21:33'),(649,'ruhr','2018-04-18 10:21:33','2018-04-18 10:21:33'),(650,'run','2018-04-18 10:21:33','2018-04-18 10:21:33'),(651,'ryukyu','2018-04-18 10:21:33','2018-04-18 10:21:33'),(652,'sa.com','2018-04-18 10:21:33','2018-04-18 10:21:33'),(653,'saarland','2018-04-18 10:21:33','2018-04-18 10:21:33'),(654,'safe','2018-04-18 10:21:33','2018-04-18 10:21:33'),(655,'safety','2018-04-18 10:21:33','2018-04-18 10:21:33'),(656,'sale','2018-04-18 10:21:33','2018-04-18 10:21:33'),(657,'salon','2018-04-18 10:21:33','2018-04-18 10:21:33'),(658,'sarl','2018-04-18 10:21:33','2018-04-18 10:21:33'),(659,'sas','2018-04-18 10:21:34','2018-04-18 10:21:34'),(660,'save','2018-04-18 10:21:34','2018-04-18 10:21:34'),(661,'sc','2018-04-18 10:21:34','2018-04-18 10:21:34'),(662,'sc.cn','2018-04-18 10:21:34','2018-04-18 10:21:34'),(663,'scholarships','2018-04-18 10:21:34','2018-04-18 10:21:34'),(664,'school','2018-04-18 10:21:34','2018-04-18 10:21:34'),(665,'schule','2018-04-18 10:21:34','2018-04-18 10:21:34'),(666,'science','2018-04-18 10:21:34','2018-04-18 10:21:34'),(667,'scot','2018-04-18 10:21:34','2018-04-18 10:21:34'),(668,'sd.cn','2018-04-18 10:21:34','2018-04-18 10:21:34'),(669,'se.com','2018-04-18 10:21:34','2018-04-18 10:21:34'),(670,'se.net','2018-04-18 10:21:34','2018-04-18 10:21:34'),(671,'search','2018-04-18 10:21:34','2018-04-18 10:21:34'),(672,'secure','2018-04-18 10:21:34','2018-04-18 10:21:34'),(673,'security','2018-04-18 10:21:34','2018-04-18 10:21:34'),(674,'seek','2018-04-18 10:21:34','2018-04-18 10:21:34'),(675,'services','2018-04-18 10:21:34','2018-04-18 10:21:34'),(676,'sex','2018-04-18 10:21:34','2018-04-18 10:21:34'),(677,'sexy','2018-04-18 10:21:34','2018-04-18 10:21:34'),(678,'sg','2018-04-18 10:21:34','2018-04-18 10:21:34'),(679,'sh','2018-04-18 10:21:34','2018-04-18 10:21:34'),(680,'sh.cn','2018-04-18 10:21:34','2018-04-18 10:21:34'),(681,'shia','2018-04-18 10:21:34','2018-04-18 10:21:34'),(682,'shiksha','2018-04-18 10:21:34','2018-04-18 10:21:34'),(683,'shoes','2018-04-18 10:21:34','2018-04-18 10:21:34'),(684,'shop','2018-04-18 10:21:34','2018-04-18 10:21:34'),(685,'shopping','2018-04-18 10:21:34','2018-04-18 10:21:34'),(686,'shopyourway','2018-04-18 10:21:34','2018-04-18 10:21:34'),(687,'show','2018-04-18 10:21:34','2018-04-18 10:21:34'),(688,'singles','2018-04-18 10:21:34','2018-04-18 10:21:34'),(689,'site','2018-04-18 10:21:34','2018-04-18 10:21:34'),(690,'sk.ca','2018-04-18 10:21:34','2018-04-18 10:21:34'),(691,'ski','2018-04-18 10:21:34','2018-04-18 10:21:34'),(692,'skin','2018-04-18 10:21:34','2018-04-18 10:21:34'),(693,'sn.cn','2018-04-18 10:21:34','2018-04-18 10:21:34'),(694,'soccer','2018-04-18 10:21:34','2018-04-18 10:21:34'),(695,'social','2018-04-18 10:21:34','2018-04-18 10:21:34'),(696,'software','2018-04-18 10:21:34','2018-04-18 10:21:34'),(697,'solar','2018-04-18 10:21:34','2018-04-18 10:21:34'),(698,'solutions','2018-04-18 10:21:34','2018-04-18 10:21:34'),(699,'soy','2018-04-18 10:21:34','2018-04-18 10:21:34'),(700,'spa','2018-04-18 10:21:34','2018-04-18 10:21:34'),(701,'space','2018-04-18 10:21:34','2018-04-18 10:21:34'),(702,'sport','2018-04-18 10:21:34','2018-04-18 10:21:34'),(703,'sports','2018-04-18 10:21:34','2018-04-18 10:21:34'),(704,'spot','2018-04-18 10:21:34','2018-04-18 10:21:34'),(705,'spreadbetting','2018-04-18 10:21:34','2018-04-18 10:21:34'),(706,'srl','2018-04-18 10:21:34','2018-04-18 10:21:34'),(707,'stada','2018-04-18 10:21:34','2018-04-18 10:21:34'),(708,'stockholm','2018-04-18 10:21:34','2018-04-18 10:21:34'),(709,'storage','2018-04-18 10:21:34','2018-04-18 10:21:34'),(710,'store','2018-04-18 10:21:34','2018-04-18 10:21:34'),(711,'stroke','2018-04-18 10:21:34','2018-04-18 10:21:34'),(712,'studio','2018-04-18 10:21:34','2018-04-18 10:21:34'),(713,'study','2018-04-18 10:21:34','2018-04-18 10:21:34'),(714,'style','2018-04-18 10:21:34','2018-04-18 10:21:34'),(715,'sucks','2018-04-18 10:21:34','2018-04-18 10:21:34'),(716,'supplies','2018-04-18 10:21:34','2018-04-18 10:21:34'),(717,'supply','2018-04-18 10:21:34','2018-04-18 10:21:34'),(718,'support','2018-04-18 10:21:34','2018-04-18 10:21:34'),(719,'surf','2018-04-18 10:21:34','2018-04-18 10:21:34'),(720,'surgery','2018-04-18 10:21:34','2018-04-18 10:21:34'),(721,'swiss','2018-04-18 10:21:34','2018-04-18 10:21:34'),(722,'sx.cn','2018-04-18 10:21:34','2018-04-18 10:21:34'),(723,'sydney','2018-04-18 10:21:34','2018-04-18 10:21:34'),(724,'systems','2018-04-18 10:21:34','2018-04-18 10:21:34'),(725,'taipei','2018-04-18 10:21:34','2018-04-18 10:21:34'),(726,'tatar','2018-04-18 10:21:34','2018-04-18 10:21:34'),(727,'tattoo','2018-04-18 10:21:34','2018-04-18 10:21:34'),(728,'tax','2018-04-18 10:21:34','2018-04-18 10:21:34'),(729,'taxi','2018-04-18 10:21:34','2018-04-18 10:21:34'),(730,'tc','2018-04-18 10:21:35','2018-04-18 10:21:35'),(731,'team','2018-04-18 10:21:35','2018-04-18 10:21:35'),(732,'tech','2018-04-18 10:21:35','2018-04-18 10:21:35'),(733,'technology','2018-04-18 10:21:35','2018-04-18 10:21:35'),(734,'tel','2018-04-18 10:21:35','2018-04-18 10:21:35'),(735,'tennis','2018-04-18 10:21:35','2018-04-18 10:21:35'),(736,'thai','2018-04-18 10:21:35','2018-04-18 10:21:35'),(737,'theater','2018-04-18 10:21:35','2018-04-18 10:21:35'),(738,'theatre','2018-04-18 10:21:35','2018-04-18 10:21:35'),(739,'tickets','2018-04-18 10:21:35','2018-04-18 10:21:35'),(740,'tienda','2018-04-18 10:21:35','2018-04-18 10:21:35'),(741,'tips','2018-04-18 10:21:35','2018-04-18 10:21:35'),(742,'tires','2018-04-18 10:21:35','2018-04-18 10:21:35'),(743,'tirol','2018-04-18 10:21:35','2018-04-18 10:21:35'),(744,'tj.cn','2018-04-18 10:21:35','2018-04-18 10:21:35'),(745,'tk','2018-04-18 10:21:35','2018-04-18 10:21:35'),(746,'tm','2018-04-18 10:21:35','2018-04-18 10:21:35'),(747,'today','2018-04-18 10:21:35','2018-04-18 10:21:35'),(748,'tokyo','2018-04-18 10:21:35','2018-04-18 10:21:35'),(749,'tools','2018-04-18 10:21:35','2018-04-18 10:21:35'),(750,'top','2018-04-18 10:21:35','2018-04-18 10:21:35'),(751,'tour','2018-04-18 10:21:35','2018-04-18 10:21:35'),(752,'tours','2018-04-18 10:21:35','2018-04-18 10:21:35'),(753,'town','2018-04-18 10:21:35','2018-04-18 10:21:35'),(754,'toys','2018-04-18 10:21:35','2018-04-18 10:21:35'),(755,'trade','2018-04-18 10:21:35','2018-04-18 10:21:35'),(756,'trading','2018-04-18 10:21:35','2018-04-18 10:21:35'),(757,'training','2018-04-18 10:21:35','2018-04-18 10:21:35'),(758,'translations','2018-04-18 10:21:35','2018-04-18 10:21:35'),(759,'trust','2018-04-18 10:21:35','2018-04-18 10:21:35'),(760,'tube','2018-04-18 10:21:35','2018-04-18 10:21:35'),(761,'tv','2018-04-18 10:21:35','2018-04-18 10:21:35'),(762,'tw','2018-04-18 10:21:35','2018-04-18 10:21:35'),(763,'tw.cn','2018-04-18 10:21:35','2018-04-18 10:21:35'),(764,'uk','2018-04-18 10:21:35','2018-04-18 10:21:35'),(765,'uk.com','2018-04-18 10:21:35','2018-04-18 10:21:35'),(766,'uk.net','2018-04-18 10:21:35','2018-04-18 10:21:35'),(767,'university','2018-04-18 10:21:35','2018-04-18 10:21:35'),(768,'uno','2018-04-18 10:21:35','2018-04-18 10:21:35'),(769,'us','2018-04-18 10:21:35','2018-04-18 10:21:35'),(770,'us.com','2018-04-18 10:21:35','2018-04-18 10:21:35'),(771,'us.org','2018-04-18 10:21:35','2018-04-18 10:21:35'),(772,'uy.com','2018-04-18 10:21:35','2018-04-18 10:21:35'),(773,'vacations','2018-04-18 10:21:35','2018-04-18 10:21:35'),(774,'vana','2018-04-18 10:21:35','2018-04-18 10:21:35'),(775,'vc','2018-04-18 10:21:35','2018-04-18 10:21:35'),(776,'vegas','2018-04-18 10:21:35','2018-04-18 10:21:35'),(777,'ventures','2018-04-18 10:21:35','2018-04-18 10:21:35'),(778,'versicherung','2018-04-18 10:21:35','2018-04-18 10:21:35'),(779,'vet','2018-04-18 10:21:35','2018-04-18 10:21:35'),(780,'vg','2018-04-18 10:21:35','2018-04-18 10:21:35'),(781,'viajes','2018-04-18 10:21:35','2018-04-18 10:21:35'),(782,'video','2018-04-18 10:21:35','2018-04-18 10:21:35'),(783,'villas','2018-04-18 10:21:35','2018-04-18 10:21:35'),(784,'vin','2018-04-18 10:21:35','2018-04-18 10:21:35'),(785,'vip','2018-04-18 10:21:35','2018-04-18 10:21:35'),(786,'vision','2018-04-18 10:21:35','2018-04-18 10:21:35'),(787,'vlaanderen','2018-04-18 10:21:35','2018-04-18 10:21:35'),(788,'vodka','2018-04-18 10:21:35','2018-04-18 10:21:35'),(789,'vote','2018-04-18 10:21:35','2018-04-18 10:21:35'),(790,'voting','2018-04-18 10:21:35','2018-04-18 10:21:35'),(791,'voto','2018-04-18 10:21:35','2018-04-18 10:21:35'),(792,'voyage','2018-04-18 10:21:35','2018-04-18 10:21:35'),(793,'wales','2018-04-18 10:21:35','2018-04-18 10:21:35'),(794,'wang','2018-04-18 10:21:35','2018-04-18 10:21:35'),(795,'watch','2018-04-18 10:21:35','2018-04-18 10:21:35'),(796,'watches','2018-04-18 10:21:36','2018-04-18 10:21:36'),(797,'weather','2018-04-18 10:21:36','2018-04-18 10:21:36'),(798,'web','2018-04-18 10:21:36','2018-04-18 10:21:36'),(799,'web.com','2018-04-18 10:21:36','2018-04-18 10:21:36'),(800,'webcam','2018-04-18 10:21:36','2018-04-18 10:21:36'),(801,'webs','2018-04-18 10:21:36','2018-04-18 10:21:36'),(802,'website','2018-04-18 10:21:36','2018-04-18 10:21:36'),(803,'wed','2018-04-18 10:21:36','2018-04-18 10:21:36'),(804,'wedding','2018-04-18 10:21:36','2018-04-18 10:21:36'),(805,'weibo','2018-04-18 10:21:36','2018-04-18 10:21:36'),(806,'whoswho','2018-04-18 10:21:36','2018-04-18 10:21:36'),(807,'wien','2018-04-18 10:21:36','2018-04-18 10:21:36'),(808,'wiki','2018-04-18 10:21:36','2018-04-18 10:21:36'),(809,'win','2018-04-18 10:21:36','2018-04-18 10:21:36'),(810,'wine','2018-04-18 10:21:36','2018-04-18 10:21:36'),(811,'winners','2018-04-18 10:21:36','2018-04-18 10:21:36'),(812,'work','2018-04-18 10:21:36','2018-04-18 10:21:36'),(813,'works','2018-04-18 10:21:36','2018-04-18 10:21:36'),(814,'world','2018-04-18 10:21:36','2018-04-18 10:21:36'),(815,'wow','2018-04-18 10:21:36','2018-04-18 10:21:36'),(816,'ws','2018-04-18 10:21:36','2018-04-18 10:21:36'),(817,'wtf','2018-04-18 10:21:36','2018-04-18 10:21:36'),(818,'xin','2018-04-18 10:21:36','2018-04-18 10:21:36'),(819,'xj.cn','2018-04-18 10:21:36','2018-04-18 10:21:36'),(820,'xn--11b4c3d','2018-04-18 10:21:36','2018-04-18 10:21:36'),(821,'xn--1ck2e1b','2018-04-18 10:21:36','2018-04-18 10:21:36'),(822,'xn--1qqw23a','2018-04-18 10:21:36','2018-04-18 10:21:36'),(823,'xn--30rr7y','2018-04-18 10:21:36','2018-04-18 10:21:36'),(824,'xn--3bst00m','2018-04-18 10:21:36','2018-04-18 10:21:36'),(825,'xn--3ds443g','2018-04-18 10:21:36','2018-04-18 10:21:36'),(826,'xn--3pxu8k','2018-04-18 10:21:36','2018-04-18 10:21:36'),(827,'xn--42c2d9a','2018-04-18 10:21:36','2018-04-18 10:21:36'),(828,'xn--45q11c','2018-04-18 10:21:36','2018-04-18 10:21:36'),(829,'xn--4gbrim','2018-04-18 10:21:36','2018-04-18 10:21:36'),(830,'xn--4gq48lf9j','2018-04-18 10:21:36','2018-04-18 10:21:36'),(831,'xn--55qw42g','2018-04-18 10:21:36','2018-04-18 10:21:36'),(832,'xn--55qx5d','2018-04-18 10:21:36','2018-04-18 10:21:36'),(833,'xn--5tzm5g','2018-04-18 10:21:36','2018-04-18 10:21:36'),(834,'xn--6frz82g','2018-04-18 10:21:36','2018-04-18 10:21:36'),(835,'xn--6qq986b3xl','2018-04-18 10:21:36','2018-04-18 10:21:36'),(836,'xn--6rtwn','2018-04-18 10:21:36','2018-04-18 10:21:36'),(837,'xn--80adxhks','2018-04-18 10:21:36','2018-04-18 10:21:36'),(838,'xn--80aqecdr1a','2018-04-18 10:21:36','2018-04-18 10:21:36'),(839,'xn--80asehdb','2018-04-18 10:21:36','2018-04-18 10:21:36'),(840,'xn--80aswg','2018-04-18 10:21:36','2018-04-18 10:21:36'),(841,'xn--8y0a063a','2018-04-18 10:21:36','2018-04-18 10:21:36'),(842,'xn--9et52u','2018-04-18 10:21:36','2018-04-18 10:21:36'),(843,'xn--9krt00a','2018-04-18 10:21:36','2018-04-18 10:21:36'),(844,'xn--b4w605ferd','2018-04-18 10:21:36','2018-04-18 10:21:36'),(845,'xn--c1avg','2018-04-18 10:21:36','2018-04-18 10:21:36'),(846,'xn--c1yn36f','2018-04-18 10:21:36','2018-04-18 10:21:36'),(847,'xn--c2br7g','2018-04-18 10:21:36','2018-04-18 10:21:36'),(848,'xn--cck2b3b','2018-04-18 10:21:36','2018-04-18 10:21:36'),(849,'xn--cckwcxetd','2018-04-18 10:21:36','2018-04-18 10:21:36'),(850,'xn--cg4bki','2018-04-18 10:21:36','2018-04-18 10:21:36'),(851,'xn--czr694b','2018-04-18 10:21:36','2018-04-18 10:21:36'),(852,'xn--czrs0t','2018-04-18 10:21:36','2018-04-18 10:21:36'),(853,'xn--czru2d','2018-04-18 10:21:36','2018-04-18 10:21:36'),(854,'xn--d1acj3b','2018-04-18 10:21:36','2018-04-18 10:21:36'),(855,'xn--dkwm73cwpn','2018-04-18 10:21:36','2018-04-18 10:21:36'),(856,'xn--eckvdtc9d','2018-04-18 10:21:36','2018-04-18 10:21:36'),(857,'xn--efvy88h','2018-04-18 10:21:36','2018-04-18 10:21:36'),(858,'xn--estv75g','2018-04-18 10:21:36','2018-04-18 10:21:36'),(859,'xn--fct429k','2018-04-18 10:21:36','2018-04-18 10:21:36'),(860,'xn--fes124c','2018-04-18 10:21:36','2018-04-18 10:21:36'),(861,'xn--fhbei','2018-04-18 10:21:36','2018-04-18 10:21:36'),(862,'xn--fiq228c5hs','2018-04-18 10:21:36','2018-04-18 10:21:36'),(863,'xn--fiq64b','2018-04-18 10:21:36','2018-04-18 10:21:36'),(864,'xn--fjq720a','2018-04-18 10:21:36','2018-04-18 10:21:36'),(865,'xn--flw351e','2018-04-18 10:21:36','2018-04-18 10:21:36'),(866,'xn--g2xx48c','2018-04-18 10:21:36','2018-04-18 10:21:36'),(867,'xn--gckr3f0f','2018-04-18 10:21:36','2018-04-18 10:21:36'),(868,'xn--gk3at1e','2018-04-18 10:21:37','2018-04-18 10:21:37'),(869,'xn--hdb9cza1b','2018-04-18 10:21:37','2018-04-18 10:21:37'),(870,'xn--hxt814e','2018-04-18 10:21:37','2018-04-18 10:21:37'),(871,'xn--i1b6b1a6a2e','2018-04-18 10:21:37','2018-04-18 10:21:37'),(872,'xn--imr513n','2018-04-18 10:21:37','2018-04-18 10:21:37'),(873,'xn--io0a7i','2018-04-18 10:21:37','2018-04-18 10:21:37'),(874,'xn--j1aef','2018-04-18 10:21:37','2018-04-18 10:21:37'),(875,'xn--jlq480n2rg','2018-04-18 10:21:37','2018-04-18 10:21:37'),(876,'xn--jlq61u9w7b','2018-04-18 10:21:37','2018-04-18 10:21:37'),(877,'xn--jvr189m','2018-04-18 10:21:37','2018-04-18 10:21:37'),(878,'xn--kpu716f','2018-04-18 10:21:37','2018-04-18 10:21:37'),(879,'xn--kput3i','2018-04-18 10:21:37','2018-04-18 10:21:37'),(880,'xn--mgba3a3ejt','2018-04-18 10:21:37','2018-04-18 10:21:37'),(881,'xn--mgbaakc7dvf','2018-04-18 10:21:37','2018-04-18 10:21:37'),(882,'xn--mgbab2bd','2018-04-18 10:21:37','2018-04-18 10:21:37'),(883,'xn--mgbb9fbpob','2018-04-18 10:21:37','2018-04-18 10:21:37'),(884,'xn--mgbca7dzdo','2018-04-18 10:21:37','2018-04-18 10:21:37'),(885,'xn--mgbi4ecexp','2018-04-18 10:21:37','2018-04-18 10:21:37'),(886,'xn--mgbt3dhd','2018-04-18 10:21:37','2018-04-18 10:21:37'),(887,'xn--mgbv6cfpo','2018-04-18 10:21:37','2018-04-18 10:21:37'),(888,'xn--mk1bu44c','2018-04-18 10:21:37','2018-04-18 10:21:37'),(889,'xn--mxtq1m','2018-04-18 10:21:37','2018-04-18 10:21:37'),(890,'xn--ngbc5azd','2018-04-18 10:21:37','2018-04-18 10:21:37'),(891,'xn--ngbe9e0a','2018-04-18 10:21:37','2018-04-18 10:21:37'),(892,'xn--ngbrx','2018-04-18 10:21:37','2018-04-18 10:21:37'),(893,'xn--nqv7f','2018-04-18 10:21:37','2018-04-18 10:21:37'),(894,'xn--nyqy26a','2018-04-18 10:21:37','2018-04-18 10:21:37'),(895,'xn--otu796d','2018-04-18 10:21:37','2018-04-18 10:21:37'),(896,'xn--p1acf','2018-04-18 10:21:37','2018-04-18 10:21:37'),(897,'xn--pbt977c','2018-04-18 10:21:37','2018-04-18 10:21:37'),(898,'xn--pgb3ceoj','2018-04-18 10:21:37','2018-04-18 10:21:37'),(899,'xn--pssy2u','2018-04-18 10:21:37','2018-04-18 10:21:37'),(900,'xn--q9jyb4c','2018-04-18 10:21:37','2018-04-18 10:21:37'),(901,'xn--qcka1pmc','2018-04-18 10:21:37','2018-04-18 10:21:37'),(902,'xn--rhqv96g','2018-04-18 10:21:37','2018-04-18 10:21:37'),(903,'xn--rovu88b','2018-04-18 10:21:37','2018-04-18 10:21:37'),(904,'xn--ses554g','2018-04-18 10:21:37','2018-04-18 10:21:37'),(905,'xn--t60b56a','2018-04-18 10:21:37','2018-04-18 10:21:37'),(906,'xn--tckwe','2018-04-18 10:21:37','2018-04-18 10:21:37'),(907,'xn--tiq49xqyj','2018-04-18 10:21:37','2018-04-18 10:21:37'),(908,'xn--unup4y','2018-04-18 10:21:37','2018-04-18 10:21:37'),(909,'xn--vhquv','2018-04-18 10:21:37','2018-04-18 10:21:37'),(910,'xn--vuq861b','2018-04-18 10:21:37','2018-04-18 10:21:37'),(911,'xn--w4rs40l','2018-04-18 10:21:37','2018-04-18 10:21:37'),(912,'xn--xhq521b','2018-04-18 10:21:37','2018-04-18 10:21:37'),(913,'xn--zfr164b','2018-04-18 10:21:37','2018-04-18 10:21:37'),(914,'xxx','2018-04-18 10:21:37','2018-04-18 10:21:37'),(915,'xyz','2018-04-18 10:21:37','2018-04-18 10:21:37'),(916,'xz.cn','2018-04-18 10:21:37','2018-04-18 10:21:37'),(917,'yachts','2018-04-18 10:21:37','2018-04-18 10:21:37'),(918,'yk.ca','2018-04-18 10:21:37','2018-04-18 10:21:37'),(919,'yoga','2018-04-18 10:21:37','2018-04-18 10:21:37'),(920,'yokohama','2018-04-18 10:21:37','2018-04-18 10:21:37'),(921,'you','2018-04-18 10:21:37','2018-04-18 10:21:37'),(922,'za.com','2018-04-18 10:21:37','2018-04-18 10:21:37'),(923,'zip','2018-04-18 10:21:37','2018-04-18 10:21:37'),(924,'zone','2018-04-18 10:21:37','2018-04-18 10:21:37'),(925,'zuerich','2018-04-18 10:21:37','2018-04-18 10:21:37'),(926,'zulu','2018-04-18 10:21:37','2018-04-18 10:21:37'),(927,'gr','2018-04-18 10:21:42','2018-04-18 10:21:42'),(928,'com.br','2018-04-18 10:21:42','2018-04-18 10:21:42'),(929,'net.br','2018-04-18 10:21:42','2018-04-18 10:21:42'),(930,'co.za','2018-04-18 10:21:42','2018-04-18 10:21:42'),(931,'org.za','2018-04-18 10:21:42','2018-04-18 10:21:42'),(932,'web.za','2018-04-18 10:21:42','2018-04-18 10:21:42'),(933,'alt.za','2018-04-18 10:21:42','2018-04-18 10:21:42'),(934,'net.za','2018-04-18 10:21:42','2018-04-18 10:21:42'),(935,'pt','2018-04-18 10:21:43','2018-04-18 10:21:43'),(936,'com.pt','2018-04-18 10:21:43','2018-04-18 10:21:43'),(937,'edu.pt','2018-04-18 10:21:43','2018-04-18 10:21:43');
/*!40000 ALTER TABLE `tbltlds` ENABLE KEYS */;
/*!40103 SET TIME_ZONE=@OLD_TIME_ZONE */;

/*!40101 SET SQL_MODE=@OLD_SQL_MODE */;
/*!40014 SET FOREIGN_KEY_CHECKS=@OLD_FOREIGN_KEY_CHECKS */;
/*!40111 SET SQL_NOTES=@OLD_SQL_NOTES */;

install/tblticketmaillog.schema.sql000064400000002603147361027270013536 0ustar00/*!40103 SET @OLD_TIME_ZONE=@@TIME_ZONE */;
/*!40103 SET TIME_ZONE='+00:00' */;
/*!40014 SET @OLD_UNIQUE_CHECKS=@@UNIQUE_CHECKS, UNIQUE_CHECKS=0 */;
/*!40014 SET @OLD_FOREIGN_KEY_CHECKS=@@FOREIGN_KEY_CHECKS, FOREIGN_KEY_CHECKS=0 */;
/*!40101 SET @OLD_SQL_MODE=@@SQL_MODE, SQL_MODE='NO_AUTO_VALUE_ON_ZERO' */;
/*!40111 SET @OLD_SQL_NOTES=@@SQL_NOTES, SQL_NOTES=0 */;
DROP TABLE IF EXISTS `tblticketmaillog`;
/*!40101 SET @saved_cs_client     = @@character_set_client */;
/*!40101 SET character_set_client = utf8 */;
CREATE TABLE `tblticketmaillog` (
  `id` int(10) NOT NULL AUTO_INCREMENT,
  `date` datetime NOT NULL,
  `to` text COLLATE utf8_unicode_ci NOT NULL,
  `cc` text COLLATE utf8_unicode_ci NOT NULL,
  `name` text COLLATE utf8_unicode_ci NOT NULL,
  `email` text COLLATE utf8_unicode_ci NOT NULL,
  `subject` text COLLATE utf8_unicode_ci NOT NULL,
  `message` text COLLATE utf8_unicode_ci NOT NULL,
  `status` text COLLATE utf8_unicode_ci NOT NULL,
  `attachment` text COLLATE utf8_unicode_ci NOT NULL,
  KEY `date` (`date`),
  PRIMARY KEY (`id`)
) ENGINE=InnoDB DEFAULT CHARSET=utf8 COLLATE=utf8_unicode_ci;
/*!40101 SET character_set_client = @saved_cs_client */;
/*!40103 SET TIME_ZONE=@OLD_TIME_ZONE */;

/*!40101 SET SQL_MODE=@OLD_SQL_MODE */;
/*!40014 SET FOREIGN_KEY_CHECKS=@OLD_FOREIGN_KEY_CHECKS */;
/*!40014 SET UNIQUE_CHECKS=@OLD_UNIQUE_CHECKS */;
/*!40111 SET SQL_NOTES=@OLD_SQL_NOTES */;

install/tblsslstatus.data.sql000064400000001115147361027270012421 0ustar00/*!40103 SET @OLD_TIME_ZONE=@@TIME_ZONE */;
/*!40103 SET TIME_ZONE='+00:00' */;
/*!40014 SET @OLD_FOREIGN_KEY_CHECKS=@@FOREIGN_KEY_CHECKS, FOREIGN_KEY_CHECKS=0 */;
/*!40101 SET @OLD_SQL_MODE=@@SQL_MODE, SQL_MODE='NO_AUTO_VALUE_ON_ZERO' */;
/*!40111 SET @OLD_SQL_NOTES=@@SQL_NOTES, SQL_NOTES=0 */;

/*!40000 ALTER TABLE `tblsslstatus` DISABLE KEYS */;
/*!40000 ALTER TABLE `tblsslstatus` ENABLE KEYS */;
/*!40103 SET TIME_ZONE=@OLD_TIME_ZONE */;

/*!40101 SET SQL_MODE=@OLD_SQL_MODE */;
/*!40014 SET FOREIGN_KEY_CHECKS=@OLD_FOREIGN_KEY_CHECKS */;
/*!40111 SET SQL_NOTES=@OLD_SQL_NOTES */;

install/tblticketpredefinedreplies.data.sql000064400000001151147361027270015251 0ustar00/*!40103 SET @OLD_TIME_ZONE=@@TIME_ZONE */;
/*!40103 SET TIME_ZONE='+00:00' */;
/*!40014 SET @OLD_FOREIGN_KEY_CHECKS=@@FOREIGN_KEY_CHECKS, FOREIGN_KEY_CHECKS=0 */;
/*!40101 SET @OLD_SQL_MODE=@@SQL_MODE, SQL_MODE='NO_AUTO_VALUE_ON_ZERO' */;
/*!40111 SET @OLD_SQL_NOTES=@@SQL_NOTES, SQL_NOTES=0 */;

/*!40000 ALTER TABLE `tblticketpredefinedreplies` DISABLE KEYS */;
/*!40000 ALTER TABLE `tblticketpredefinedreplies` ENABLE KEYS */;
/*!40103 SET TIME_ZONE=@OLD_TIME_ZONE */;

/*!40101 SET SQL_MODE=@OLD_SQL_MODE */;
/*!40014 SET FOREIGN_KEY_CHECKS=@OLD_FOREIGN_KEY_CHECKS */;
/*!40111 SET SQL_NOTES=@OLD_SQL_NOTES */;

install/tblusers.data.sql000064400000001105147361027270011514 0ustar00/*!40103 SET @OLD_TIME_ZONE=@@TIME_ZONE */;
/*!40103 SET TIME_ZONE='+00:00' */;
/*!40014 SET @OLD_FOREIGN_KEY_CHECKS=@@FOREIGN_KEY_CHECKS, FOREIGN_KEY_CHECKS=0 */;
/*!40101 SET @OLD_SQL_MODE=@@SQL_MODE, SQL_MODE='NO_AUTO_VALUE_ON_ZERO' */;
/*!40111 SET @OLD_SQL_NOTES=@@SQL_NOTES, SQL_NOTES=0 */;

/*!40000 ALTER TABLE `tblusers` DISABLE KEYS */;
/*!40000 ALTER TABLE `tblusers` ENABLE KEYS */;
/*!40103 SET TIME_ZONE=@OLD_TIME_ZONE */;

/*!40101 SET SQL_MODE=@OLD_SQL_MODE */;
/*!40014 SET FOREIGN_KEY_CHECKS=@OLD_FOREIGN_KEY_CHECKS */;
/*!40111 SET SQL_NOTES=@OLD_SQL_NOTES */;

install/tblemailmarketer.data.sql000064400000001125147361027270013177 0ustar00/*!40103 SET @OLD_TIME_ZONE=@@TIME_ZONE */;
/*!40103 SET TIME_ZONE='+00:00' */;
/*!40014 SET @OLD_FOREIGN_KEY_CHECKS=@@FOREIGN_KEY_CHECKS, FOREIGN_KEY_CHECKS=0 */;
/*!40101 SET @OLD_SQL_MODE=@@SQL_MODE, SQL_MODE='NO_AUTO_VALUE_ON_ZERO' */;
/*!40111 SET @OLD_SQL_NOTES=@@SQL_NOTES, SQL_NOTES=0 */;

/*!40000 ALTER TABLE `tblemailmarketer` DISABLE KEYS */;
/*!40000 ALTER TABLE `tblemailmarketer` ENABLE KEYS */;
/*!40103 SET TIME_ZONE=@OLD_TIME_ZONE */;

/*!40101 SET SQL_MODE=@OLD_SQL_MODE */;
/*!40014 SET FOREIGN_KEY_CHECKS=@OLD_FOREIGN_KEY_CHECKS */;
/*!40111 SET SQL_NOTES=@OLD_SQL_NOTES */;

install/tbldomainpricing.schema.sql000064400000003361147361027270013533 0ustar00/*!40103 SET @OLD_TIME_ZONE=@@TIME_ZONE */;
/*!40103 SET TIME_ZONE='+00:00' */;
/*!40014 SET @OLD_UNIQUE_CHECKS=@@UNIQUE_CHECKS, UNIQUE_CHECKS=0 */;
/*!40014 SET @OLD_FOREIGN_KEY_CHECKS=@@FOREIGN_KEY_CHECKS, FOREIGN_KEY_CHECKS=0 */;
/*!40101 SET @OLD_SQL_MODE=@@SQL_MODE, SQL_MODE='NO_AUTO_VALUE_ON_ZERO' */;
/*!40111 SET @OLD_SQL_NOTES=@@SQL_NOTES, SQL_NOTES=0 */;
DROP TABLE IF EXISTS `tbldomainpricing`;
/*!40101 SET @saved_cs_client     = @@character_set_client */;
/*!40101 SET character_set_client = utf8 */;
CREATE TABLE `tbldomainpricing` (
  `id` int(10) NOT NULL AUTO_INCREMENT,
  `extension` text COLLATE utf8_unicode_ci NOT NULL,
  `dnsmanagement` tinyint(1) NOT NULL,
  `emailforwarding` tinyint(1) NOT NULL,
  `idprotection` tinyint(1) NOT NULL,
  `eppcode` tinyint(1) NOT NULL,
  `autoreg` text COLLATE utf8_unicode_ci NOT NULL,
  `order` int(1) NOT NULL DEFAULT '0',
  `group` varchar(5) COLLATE utf8_unicode_ci NOT NULL DEFAULT 'none',
  `grace_period` int(1) NOT NULL DEFAULT '-1',
  `grace_period_fee` decimal(16,2) NOT NULL DEFAULT '0.00',
  `redemption_grace_period` int(1) NOT NULL DEFAULT '-1',
  `redemption_grace_period_fee` decimal(16,2) NOT NULL DEFAULT '-1.00',
  `created_at` timestamp NOT NULL DEFAULT '0000-00-00 00:00:00',
  `updated_at` timestamp NOT NULL DEFAULT '0000-00-00 00:00:00',
  PRIMARY KEY (`id`),
  KEY `extension_registrationperiod` (`extension`(32)),
  KEY `order` (`order`)
) ENGINE=InnoDB DEFAULT CHARSET=utf8 COLLATE=utf8_unicode_ci;
/*!40101 SET character_set_client = @saved_cs_client */;
/*!40103 SET TIME_ZONE=@OLD_TIME_ZONE */;

/*!40101 SET SQL_MODE=@OLD_SQL_MODE */;
/*!40014 SET FOREIGN_KEY_CHECKS=@OLD_FOREIGN_KEY_CHECKS */;
/*!40014 SET UNIQUE_CHECKS=@OLD_UNIQUE_CHECKS */;
/*!40111 SET SQL_NOTES=@OLD_SQL_NOTES */;

install/tblcancelrequests.schema.sql000064400000002436147361027270013733 0ustar00/*!40103 SET @OLD_TIME_ZONE=@@TIME_ZONE */;
/*!40103 SET TIME_ZONE='+00:00' */;
/*!40014 SET @OLD_UNIQUE_CHECKS=@@UNIQUE_CHECKS, UNIQUE_CHECKS=0 */;
/*!40014 SET @OLD_FOREIGN_KEY_CHECKS=@@FOREIGN_KEY_CHECKS, FOREIGN_KEY_CHECKS=0 */;
/*!40101 SET @OLD_SQL_MODE=@@SQL_MODE, SQL_MODE='NO_AUTO_VALUE_ON_ZERO' */;
/*!40111 SET @OLD_SQL_NOTES=@@SQL_NOTES, SQL_NOTES=0 */;
DROP TABLE IF EXISTS `tblcancelrequests`;
/*!40101 SET @saved_cs_client     = @@character_set_client */;
/*!40101 SET character_set_client = utf8 */;
CREATE TABLE `tblcancelrequests` (
  `id` int(10) NOT NULL AUTO_INCREMENT,
  `date` datetime NOT NULL DEFAULT '0000-00-00 00:00:00',
  `relid` int(10) NOT NULL,
  `reason` text COLLATE utf8_unicode_ci NOT NULL,
  `type` text COLLATE utf8_unicode_ci NOT NULL,
  `created_at` timestamp NOT NULL DEFAULT '0000-00-00 00:00:00',
  `updated_at` timestamp NOT NULL DEFAULT '0000-00-00 00:00:00',
  PRIMARY KEY (`id`),
  KEY `serviceid` (`relid`)
) ENGINE=InnoDB DEFAULT CHARSET=utf8 COLLATE=utf8_unicode_ci;
/*!40101 SET character_set_client = @saved_cs_client */;
/*!40103 SET TIME_ZONE=@OLD_TIME_ZONE */;

/*!40101 SET SQL_MODE=@OLD_SQL_MODE */;
/*!40014 SET FOREIGN_KEY_CHECKS=@OLD_FOREIGN_KEY_CHECKS */;
/*!40014 SET UNIQUE_CHECKS=@OLD_UNIQUE_CHECKS */;
/*!40111 SET SQL_NOTES=@OLD_SQL_NOTES */;

install/tbldomainpricing_premium.schema.sql000064400000002422147361027270015266 0ustar00/*!40103 SET @OLD_TIME_ZONE=@@TIME_ZONE */;
/*!40103 SET TIME_ZONE='+00:00' */;
/*!40014 SET @OLD_UNIQUE_CHECKS=@@UNIQUE_CHECKS, UNIQUE_CHECKS=0 */;
/*!40014 SET @OLD_FOREIGN_KEY_CHECKS=@@FOREIGN_KEY_CHECKS, FOREIGN_KEY_CHECKS=0 */;
/*!40101 SET @OLD_SQL_MODE=@@SQL_MODE, SQL_MODE='NO_AUTO_VALUE_ON_ZERO' */;
/*!40111 SET @OLD_SQL_NOTES=@@SQL_NOTES, SQL_NOTES=0 */;
DROP TABLE IF EXISTS `tbldomainpricing_premium`;
/*!40101 SET @saved_cs_client     = @@character_set_client */;
/*!40101 SET character_set_client = utf8 */;
CREATE TABLE `tbldomainpricing_premium` (
  `id` int(10) unsigned NOT NULL AUTO_INCREMENT,
  `to_amount` decimal(16,2) NOT NULL DEFAULT '0.00',
  `markup` decimal(8,5) NOT NULL DEFAULT '0.00000',
  `created_at` timestamp NOT NULL DEFAULT '0000-00-00 00:00:00',
  `updated_at` timestamp NOT NULL DEFAULT '0000-00-00 00:00:00',
  PRIMARY KEY (`id`),
  UNIQUE KEY `tbldomain_pricing_premium_to_amount_unique` (`to_amount`)
) ENGINE=InnoDB DEFAULT CHARSET=utf8 COLLATE=utf8_unicode_ci;
/*!40101 SET character_set_client = @saved_cs_client */;
/*!40103 SET TIME_ZONE=@OLD_TIME_ZONE */;

/*!40101 SET SQL_MODE=@OLD_SQL_MODE */;
/*!40014 SET FOREIGN_KEY_CHECKS=@OLD_FOREIGN_KEY_CHECKS */;
/*!40014 SET UNIQUE_CHECKS=@OLD_UNIQUE_CHECKS */;
/*!40111 SET SQL_NOTES=@OLD_SQL_NOTES */;

install/tblorderstatuses.schema.sql000064400000002252147361027270013615 0ustar00/*!40103 SET @OLD_TIME_ZONE=@@TIME_ZONE */;
/*!40103 SET TIME_ZONE='+00:00' */;
/*!40014 SET @OLD_UNIQUE_CHECKS=@@UNIQUE_CHECKS, UNIQUE_CHECKS=0 */;
/*!40014 SET @OLD_FOREIGN_KEY_CHECKS=@@FOREIGN_KEY_CHECKS, FOREIGN_KEY_CHECKS=0 */;
/*!40101 SET @OLD_SQL_MODE=@@SQL_MODE, SQL_MODE='NO_AUTO_VALUE_ON_ZERO' */;
/*!40111 SET @OLD_SQL_NOTES=@@SQL_NOTES, SQL_NOTES=0 */;
DROP TABLE IF EXISTS `tblorderstatuses`;
/*!40101 SET @saved_cs_client     = @@character_set_client */;
/*!40101 SET character_set_client = utf8 */;
CREATE TABLE `tblorderstatuses` (
  `id` int(10) NOT NULL AUTO_INCREMENT,
  `title` text COLLATE utf8_unicode_ci NOT NULL,
  `color` text COLLATE utf8_unicode_ci NOT NULL,
  `showpending` int(1) NOT NULL,
  `showactive` int(1) NOT NULL,
  `showcancelled` int(1) NOT NULL,
  `sortorder` int(2) NOT NULL,
  PRIMARY KEY (`id`)
) ENGINE=InnoDB DEFAULT CHARSET=utf8 COLLATE=utf8_unicode_ci;
/*!40101 SET character_set_client = @saved_cs_client */;
/*!40103 SET TIME_ZONE=@OLD_TIME_ZONE */;

/*!40101 SET SQL_MODE=@OLD_SQL_MODE */;
/*!40014 SET FOREIGN_KEY_CHECKS=@OLD_FOREIGN_KEY_CHECKS */;
/*!40014 SET UNIQUE_CHECKS=@OLD_UNIQUE_CHECKS */;
/*!40111 SET SQL_NOTES=@OLD_SQL_NOTES */;

install/tblrsakeypairs.data.sql000064400000001121147361027270012706 0ustar00/*!40103 SET @OLD_TIME_ZONE=@@TIME_ZONE */;
/*!40103 SET TIME_ZONE='+00:00' */;
/*!40014 SET @OLD_FOREIGN_KEY_CHECKS=@@FOREIGN_KEY_CHECKS, FOREIGN_KEY_CHECKS=0 */;
/*!40101 SET @OLD_SQL_MODE=@@SQL_MODE, SQL_MODE='NO_AUTO_VALUE_ON_ZERO' */;
/*!40111 SET @OLD_SQL_NOTES=@@SQL_NOTES, SQL_NOTES=0 */;

/*!40000 ALTER TABLE `tblrsakeypairs` DISABLE KEYS */;
/*!40000 ALTER TABLE `tblrsakeypairs` ENABLE KEYS */;
/*!40103 SET TIME_ZONE=@OLD_TIME_ZONE */;

/*!40101 SET SQL_MODE=@OLD_SQL_MODE */;
/*!40014 SET FOREIGN_KEY_CHECKS=@OLD_FOREIGN_KEY_CHECKS */;
/*!40111 SET SQL_NOTES=@OLD_SQL_NOTES */;

install/tblpricing.schema.sql000064400000003315147361027270012342 0ustar00/*!40103 SET @OLD_TIME_ZONE=@@TIME_ZONE */;
/*!40103 SET TIME_ZONE='+00:00' */;
/*!40014 SET @OLD_UNIQUE_CHECKS=@@UNIQUE_CHECKS, UNIQUE_CHECKS=0 */;
/*!40014 SET @OLD_FOREIGN_KEY_CHECKS=@@FOREIGN_KEY_CHECKS, FOREIGN_KEY_CHECKS=0 */;
/*!40101 SET @OLD_SQL_MODE=@@SQL_MODE, SQL_MODE='NO_AUTO_VALUE_ON_ZERO' */;
/*!40111 SET @OLD_SQL_NOTES=@@SQL_NOTES, SQL_NOTES=0 */;
DROP TABLE IF EXISTS `tblpricing`;
/*!40101 SET @saved_cs_client     = @@character_set_client */;
/*!40101 SET character_set_client = utf8 */;
CREATE TABLE `tblpricing` (
  `id` int(10) NOT NULL AUTO_INCREMENT,
  `type` enum('product','addon','configoptions','domainregister','domaintransfer','domainrenew','domainaddons', 'usage') COLLATE utf8_unicode_ci NOT NULL,
  `currency` int(10) NOT NULL,
  `relid` int(10) NOT NULL,
  `msetupfee` decimal(16,2) NOT NULL,
  `qsetupfee` decimal(16,2) NOT NULL,
  `ssetupfee` decimal(16,2) NOT NULL,
  `asetupfee` decimal(16,2) NOT NULL,
  `bsetupfee` decimal(16,2) NOT NULL,
  `tsetupfee` decimal(16,2) NOT NULL,
  `monthly` decimal(16,2) NOT NULL,
  `quarterly` decimal(16,2) NOT NULL,
  `semiannually` decimal(16,2) NOT NULL,
  `annually` decimal(16,2) NOT NULL,
  `biennially` decimal(16,2) NOT NULL,
  `triennially` decimal(16,2) NOT NULL,
  PRIMARY KEY (`id`),
  KEY `pricing_relid_idx` (`relid`),
  KEY `pricing_currency_idx` (`currency`),
  KEY `pricing_type_idx` (`type`)
) ENGINE=InnoDB DEFAULT CHARSET=utf8 COLLATE=utf8_unicode_ci;
/*!40101 SET character_set_client = @saved_cs_client */;
/*!40103 SET TIME_ZONE=@OLD_TIME_ZONE */;

/*!40101 SET SQL_MODE=@OLD_SQL_MODE */;
/*!40014 SET FOREIGN_KEY_CHECKS=@OLD_FOREIGN_KEY_CHECKS */;
/*!40014 SET UNIQUE_CHECKS=@OLD_UNIQUE_CHECKS */;
/*!40111 SET SQL_NOTES=@OLD_SQL_NOTES */;

install/tbltransientdata.schema.sql000064400000002156147361027270013552 0ustar00/*!40103 SET @OLD_TIME_ZONE=@@TIME_ZONE */;
/*!40103 SET TIME_ZONE='+00:00' */;
/*!40014 SET @OLD_UNIQUE_CHECKS=@@UNIQUE_CHECKS, UNIQUE_CHECKS=0 */;
/*!40014 SET @OLD_FOREIGN_KEY_CHECKS=@@FOREIGN_KEY_CHECKS, FOREIGN_KEY_CHECKS=0 */;
/*!40101 SET @OLD_SQL_MODE=@@SQL_MODE, SQL_MODE='NO_AUTO_VALUE_ON_ZERO' */;
/*!40111 SET @OLD_SQL_NOTES=@@SQL_NOTES, SQL_NOTES=0 */;
DROP TABLE IF EXISTS `tbltransientdata`;
/*!40101 SET @saved_cs_client     = @@character_set_client */;
/*!40101 SET character_set_client = utf8 */;
CREATE TABLE `tbltransientdata` (
  `id` int(10) NOT NULL AUTO_INCREMENT,
  `name` varchar(1024) COLLATE utf8_unicode_ci NOT NULL,
  `data` mediumtext COLLATE utf8_unicode_ci NOT NULL,
  `expires` int(10) NOT NULL,
  PRIMARY KEY (`id`),
  KEY `name` (`name`(255))
) ENGINE=InnoDB DEFAULT CHARSET=utf8 COLLATE=utf8_unicode_ci;
/*!40101 SET character_set_client = @saved_cs_client */;
/*!40103 SET TIME_ZONE=@OLD_TIME_ZONE */;

/*!40101 SET SQL_MODE=@OLD_SQL_MODE */;
/*!40014 SET FOREIGN_KEY_CHECKS=@OLD_FOREIGN_KEY_CHECKS */;
/*!40014 SET UNIQUE_CHECKS=@OLD_UNIQUE_CHECKS */;
/*!40111 SET SQL_NOTES=@OLD_SQL_NOTES */;

install/tbladminperms.schema.sql000064400000002042147361027270013042 0ustar00/*!40103 SET @OLD_TIME_ZONE=@@TIME_ZONE */;
/*!40103 SET TIME_ZONE='+00:00' */;
/*!40014 SET @OLD_UNIQUE_CHECKS=@@UNIQUE_CHECKS, UNIQUE_CHECKS=0 */;
/*!40014 SET @OLD_FOREIGN_KEY_CHECKS=@@FOREIGN_KEY_CHECKS, FOREIGN_KEY_CHECKS=0 */;
/*!40101 SET @OLD_SQL_MODE=@@SQL_MODE, SQL_MODE='NO_AUTO_VALUE_ON_ZERO' */;
/*!40111 SET @OLD_SQL_NOTES=@@SQL_NOTES, SQL_NOTES=0 */;
DROP TABLE IF EXISTS `tbladminperms`;
/*!40101 SET @saved_cs_client     = @@character_set_client */;
/*!40101 SET character_set_client = utf8 */;
CREATE TABLE `tbladminperms` (
  `id` int(10) NOT NULL AUTO_INCREMENT,
  `roleid` int(1) NOT NULL,
  `permid` int(1) NOT NULL,
  PRIMARY KEY (`id`),
  KEY `roleid_permid` (`roleid`,`permid`)
) ENGINE=InnoDB DEFAULT CHARSET=utf8 COLLATE=utf8_unicode_ci;
/*!40101 SET character_set_client = @saved_cs_client */;
/*!40103 SET TIME_ZONE=@OLD_TIME_ZONE */;

/*!40101 SET SQL_MODE=@OLD_SQL_MODE */;
/*!40014 SET FOREIGN_KEY_CHECKS=@OLD_FOREIGN_KEY_CHECKS */;
/*!40014 SET UNIQUE_CHECKS=@OLD_UNIQUE_CHECKS */;
/*!40111 SET SQL_NOTES=@OLD_SQL_NOTES */;

install/tbladminlog.data.sql000064400000001113147361027270012144 0ustar00/*!40103 SET @OLD_TIME_ZONE=@@TIME_ZONE */;
/*!40103 SET TIME_ZONE='+00:00' */;
/*!40014 SET @OLD_FOREIGN_KEY_CHECKS=@@FOREIGN_KEY_CHECKS, FOREIGN_KEY_CHECKS=0 */;
/*!40101 SET @OLD_SQL_MODE=@@SQL_MODE, SQL_MODE='NO_AUTO_VALUE_ON_ZERO' */;
/*!40111 SET @OLD_SQL_NOTES=@@SQL_NOTES, SQL_NOTES=0 */;

/*!40000 ALTER TABLE `tbladminlog` DISABLE KEYS */;
/*!40000 ALTER TABLE `tbladminlog` ENABLE KEYS */;
/*!40103 SET TIME_ZONE=@OLD_TIME_ZONE */;

/*!40101 SET SQL_MODE=@OLD_SQL_MODE */;
/*!40014 SET FOREIGN_KEY_CHECKS=@OLD_FOREIGN_KEY_CHECKS */;
/*!40111 SET SQL_NOTES=@OLD_SQL_NOTES */;

install/tblservers_remote.schema.sql000064400000002413147361027270013751 0ustar00/*!40103 SET @OLD_TIME_ZONE=@@TIME_ZONE */;
/*!40103 SET TIME_ZONE='+00:00' */;
/*!40014 SET @OLD_UNIQUE_CHECKS=@@UNIQUE_CHECKS, UNIQUE_CHECKS=0 */;
/*!40014 SET @OLD_FOREIGN_KEY_CHECKS=@@FOREIGN_KEY_CHECKS, FOREIGN_KEY_CHECKS=0 */;
/*!40101 SET @OLD_SQL_MODE=@@SQL_MODE, SQL_MODE='NO_AUTO_VALUE_ON_ZERO' */;
/*!40111 SET @OLD_SQL_NOTES=@@SQL_NOTES, SQL_NOTES=0 */;
DROP TABLE IF EXISTS `tblservers_remote`;
/*!40101 SET @saved_cs_client     = @@character_set_client */;
/*!40101 SET character_set_client = utf8 */;
CREATE TABLE IF NOT EXISTS `tblservers_remote` (
  `id` int(10) unsigned NOT NULL AUTO_INCREMENT,
  `server_id` int(10) NOT NULL DEFAULT '0',
  `num_accounts` int(10) NOT NULL DEFAULT '0',
  `meta_data` text NOT NULL,
  `created_at` timestamp NOT NULL DEFAULT '0000-00-00 00:00:00',
  `updated_at` timestamp NOT NULL DEFAULT '0000-00-00 00:00:00',
  PRIMARY KEY (`id`),
  KEY `tblservers_remote_server_id` (`server_id`)
) ENGINE=InnoDB DEFAULT CHARSET=utf8 COLLATE=utf8_unicode_ci;
/*!40101 SET character_set_client = @saved_cs_client */;
/*!40103 SET TIME_ZONE=@OLD_TIME_ZONE */;

/*!40101 SET SQL_MODE=@OLD_SQL_MODE */;
/*!40014 SET FOREIGN_KEY_CHECKS=@OLD_FOREIGN_KEY_CHECKS */;
/*!40014 SET UNIQUE_CHECKS=@OLD_UNIQUE_CHECKS */;
/*!40111 SET SQL_NOTES=@OLD_SQL_NOTES */;

install/tblondemandrenewals.schema.sql000064400000002673147361027270014243 0ustar00/*!40103 SET @OLD_TIME_ZONE=@@TIME_ZONE */;
/*!40103 SET TIME_ZONE='+00:00' */;
/*!40014 SET @OLD_UNIQUE_CHECKS=@@UNIQUE_CHECKS, UNIQUE_CHECKS=0 */;
/*!40014 SET @OLD_FOREIGN_KEY_CHECKS=@@FOREIGN_KEY_CHECKS, FOREIGN_KEY_CHECKS=0 */;
/*!40101 SET @OLD_SQL_MODE=@@SQL_MODE, SQL_MODE='NO_AUTO_VALUE_ON_ZERO' */;
/*!40111 SET @OLD_SQL_NOTES=@@SQL_NOTES, SQL_NOTES=0 */;
DROP TABLE IF EXISTS `tblondemandrenewals`;
/*!40101 SET @saved_cs_client     = @@character_set_client */;
/*!40101 SET character_set_client = utf8 */;
CREATE TABLE `tblondemandrenewals` (
    `id` int unsigned NOT NULL AUTO_INCREMENT PRIMARY KEY,
    `rel_type` enum('Product', 'Addon') NOT NULL,
    `rel_id` int NOT NULL DEFAULT '0',
    `enabled` tinyint NOT NULL DEFAULT '0',
    `monthly` tinyint NOT NULL DEFAULT '0',
    `quarterly` tinyint NOT NULL DEFAULT '0',
    `semiannually` smallint NOT NULL DEFAULT '0',
    `annually` smallint NOT NULL DEFAULT '0',
    `biennially` smallint NOT NULL DEFAULT '0',
    `triennially` smallint NOT NULL DEFAULT '0',
    UNIQUE KEY `tblondemandrenewals_rel_type_rel_id_unique` (`rel_type`, `rel_id`)
) ENGINE=InnoDB DEFAULT CHARSET=utf8 COLLATE=utf8_unicode_ci;
/*!40101 SET character_set_client = @saved_cs_client */;
/*!40103 SET TIME_ZONE=@OLD_TIME_ZONE */;

/*!40101 SET SQL_MODE=@OLD_SQL_MODE */;
/*!40014 SET FOREIGN_KEY_CHECKS=@OLD_FOREIGN_KEY_CHECKS */;
/*!40014 SET UNIQUE_CHECKS=@OLD_UNIQUE_CHECKS */;
/*!40111 SET SQL_NOTES=@OLD_SQL_NOTES */;
install/tbladmins.data.sql000064400000001107147361027270011630 0ustar00/*!40103 SET @OLD_TIME_ZONE=@@TIME_ZONE */;
/*!40103 SET TIME_ZONE='+00:00' */;
/*!40014 SET @OLD_FOREIGN_KEY_CHECKS=@@FOREIGN_KEY_CHECKS, FOREIGN_KEY_CHECKS=0 */;
/*!40101 SET @OLD_SQL_MODE=@@SQL_MODE, SQL_MODE='NO_AUTO_VALUE_ON_ZERO' */;
/*!40111 SET @OLD_SQL_NOTES=@@SQL_NOTES, SQL_NOTES=0 */;

/*!40000 ALTER TABLE `tbladmins` DISABLE KEYS */;
/*!40000 ALTER TABLE `tbladmins` ENABLE KEYS */;
/*!40103 SET TIME_ZONE=@OLD_TIME_ZONE */;

/*!40101 SET SQL_MODE=@OLD_SQL_MODE */;
/*!40014 SET FOREIGN_KEY_CHECKS=@OLD_FOREIGN_KEY_CHECKS */;
/*!40111 SET SQL_NOTES=@OLD_SQL_NOTES */;

install/tblbankaccts.data.sql000064400000001304147361027270012305 0ustar00/*!40103 SET @OLD_TIME_ZONE=@@TIME_ZONE */;
/*!40103 SET TIME_ZONE='+00:00' */;
/*!40014 SET @OLD_UNIQUE_CHECKS=@@UNIQUE_CHECKS, UNIQUE_CHECKS=0 */;
/*!40014 SET @OLD_FOREIGN_KEY_CHECKS=@@FOREIGN_KEY_CHECKS, FOREIGN_KEY_CHECKS=0 */;
/*!40101 SET @OLD_SQL_MODE=@@SQL_MODE, SQL_MODE='NO_AUTO_VALUE_ON_ZERO' */;
/*!40111 SET @OLD_SQL_NOTES=@@SQL_NOTES, SQL_NOTES=0 */;

/*!40000 ALTER TABLE `tblbankaccts` DISABLE KEYS */;
/*!40000 ALTER TABLE `tblbankaccts` ENABLE KEYS */;
/*!40103 SET TIME_ZONE=@OLD_TIME_ZONE */;

/*!40101 SET SQL_MODE=@OLD_SQL_MODE */;
/*!40014 SET FOREIGN_KEY_CHECKS=@OLD_FOREIGN_KEY_CHECKS */;
/*!40014 SET UNIQUE_CHECKS=@OLD_UNIQUE_CHECKS */;
/*!40111 SET SQL_NOTES=@OLD_SQL_NOTES */;

install/tblregistrars.schema.sql000064400000002223147361027270013071 0ustar00/*!40103 SET @OLD_TIME_ZONE=@@TIME_ZONE */;
/*!40103 SET TIME_ZONE='+00:00' */;
/*!40014 SET @OLD_UNIQUE_CHECKS=@@UNIQUE_CHECKS, UNIQUE_CHECKS=0 */;
/*!40014 SET @OLD_FOREIGN_KEY_CHECKS=@@FOREIGN_KEY_CHECKS, FOREIGN_KEY_CHECKS=0 */;
/*!40101 SET @OLD_SQL_MODE=@@SQL_MODE, SQL_MODE='NO_AUTO_VALUE_ON_ZERO' */;
/*!40111 SET @OLD_SQL_NOTES=@@SQL_NOTES, SQL_NOTES=0 */;
DROP TABLE IF EXISTS `tblregistrars`;
/*!40101 SET @saved_cs_client     = @@character_set_client */;
/*!40101 SET character_set_client = utf8 */;
CREATE TABLE `tblregistrars` (
  `id` int(10) NOT NULL AUTO_INCREMENT,
  `registrar` text COLLATE utf8_unicode_ci NOT NULL,
  `setting` text COLLATE utf8_unicode_ci NOT NULL,
  `value` text COLLATE utf8_unicode_ci NOT NULL,
  PRIMARY KEY (`id`),
  KEY `registrar_setting` (`registrar`(32),`setting`(32))
) ENGINE=InnoDB DEFAULT CHARSET=utf8 COLLATE=utf8_unicode_ci;
/*!40101 SET character_set_client = @saved_cs_client */;
/*!40103 SET TIME_ZONE=@OLD_TIME_ZONE */;

/*!40101 SET SQL_MODE=@OLD_SQL_MODE */;
/*!40014 SET FOREIGN_KEY_CHECKS=@OLD_FOREIGN_KEY_CHECKS */;
/*!40014 SET UNIQUE_CHECKS=@OLD_UNIQUE_CHECKS */;
/*!40111 SET SQL_NOTES=@OLD_SQL_NOTES */;

install/tbladminlog.schema.sql000064400000002477147361027270012511 0ustar00/*!40103 SET @OLD_TIME_ZONE=@@TIME_ZONE */;
/*!40103 SET TIME_ZONE='+00:00' */;
/*!40014 SET @OLD_UNIQUE_CHECKS=@@UNIQUE_CHECKS, UNIQUE_CHECKS=0 */;
/*!40014 SET @OLD_FOREIGN_KEY_CHECKS=@@FOREIGN_KEY_CHECKS, FOREIGN_KEY_CHECKS=0 */;
/*!40101 SET @OLD_SQL_MODE=@@SQL_MODE, SQL_MODE='NO_AUTO_VALUE_ON_ZERO' */;
/*!40111 SET @OLD_SQL_NOTES=@@SQL_NOTES, SQL_NOTES=0 */;
DROP TABLE IF EXISTS `tbladminlog`;
/*!40101 SET @saved_cs_client     = @@character_set_client */;
/*!40101 SET character_set_client = utf8 */;
CREATE TABLE `tbladminlog` (
  `id` int(10) NOT NULL AUTO_INCREMENT,
  `adminusername` text COLLATE utf8_unicode_ci NOT NULL,
  `logintime` datetime NOT NULL DEFAULT '0000-00-00 00:00:00',
  `logouttime` datetime NOT NULL DEFAULT '0000-00-00 00:00:00',
  `ipaddress` text COLLATE utf8_unicode_ci NOT NULL,
  `sessionid` text COLLATE utf8_unicode_ci NOT NULL,
  `lastvisit` datetime NOT NULL DEFAULT '0000-00-00 00:00:00',
  PRIMARY KEY (`id`),
  KEY `logouttime` (`logouttime`)
) ENGINE=InnoDB DEFAULT CHARSET=utf8 COLLATE=utf8_unicode_ci;
/*!40101 SET character_set_client = @saved_cs_client */;
/*!40103 SET TIME_ZONE=@OLD_TIME_ZONE */;

/*!40101 SET SQL_MODE=@OLD_SQL_MODE */;
/*!40014 SET FOREIGN_KEY_CHECKS=@OLD_FOREIGN_KEY_CHECKS */;
/*!40014 SET UNIQUE_CHECKS=@OLD_UNIQUE_CHECKS */;
/*!40111 SET SQL_NOTES=@OLD_SQL_NOTES */;

install/tbltask.schema.sql000064400000002702147361027270011650 0ustar00/*!40103 SET @OLD_TIME_ZONE=@@TIME_ZONE */;
/*!40103 SET TIME_ZONE='+00:00' */;
/*!40014 SET @OLD_UNIQUE_CHECKS=@@UNIQUE_CHECKS, UNIQUE_CHECKS=0 */;
/*!40014 SET @OLD_FOREIGN_KEY_CHECKS=@@FOREIGN_KEY_CHECKS, FOREIGN_KEY_CHECKS=0 */;
/*!40101 SET @OLD_SQL_MODE=@@SQL_MODE, SQL_MODE='NO_AUTO_VALUE_ON_ZERO' */;
/*!40111 SET @OLD_SQL_NOTES=@@SQL_NOTES, SQL_NOTES=0 */;
DROP TABLE IF EXISTS `tbltask`;
/*!40101 SET @saved_cs_client     = @@character_set_client */;
/*!40101 SET character_set_client = utf8 */;
CREATE TABLE `tbltask` (
  `id` int(10) unsigned NOT NULL AUTO_INCREMENT,
  `priority` int(11) NOT NULL DEFAULT '0',
  `class_name` varchar(255) COLLATE utf8_unicode_ci NOT NULL DEFAULT '',
  `is_enabled` tinyint(4) NOT NULL DEFAULT '1',
  `is_periodic` tinyint(4) NOT NULL DEFAULT '1',
  `frequency` int(10) unsigned NOT NULL DEFAULT '0',
  `name` varchar(255) COLLATE utf8_unicode_ci NOT NULL DEFAULT '',
  `description` text COLLATE utf8_unicode_ci NOT NULL,
  `created_at` timestamp NOT NULL DEFAULT '0000-00-00 00:00:00',
  `updated_at` timestamp NOT NULL DEFAULT '0000-00-00 00:00:00',
  PRIMARY KEY (`id`)
) ENGINE=InnoDB DEFAULT CHARSET=utf8 COLLATE=utf8_unicode_ci;
/*!40101 SET character_set_client = @saved_cs_client */;
/*!40103 SET TIME_ZONE=@OLD_TIME_ZONE */;

/*!40101 SET SQL_MODE=@OLD_SQL_MODE */;
/*!40014 SET FOREIGN_KEY_CHECKS=@OLD_FOREIGN_KEY_CHECKS */;
/*!40014 SET UNIQUE_CHECKS=@OLD_UNIQUE_CHECKS */;
/*!40111 SET SQL_NOTES=@OLD_SQL_NOTES */;

install/tblemailmarketer.schema.sql000064400000002427147361027270013534 0ustar00/*!40103 SET @OLD_TIME_ZONE=@@TIME_ZONE */;
/*!40103 SET TIME_ZONE='+00:00' */;
/*!40014 SET @OLD_UNIQUE_CHECKS=@@UNIQUE_CHECKS, UNIQUE_CHECKS=0 */;
/*!40014 SET @OLD_FOREIGN_KEY_CHECKS=@@FOREIGN_KEY_CHECKS, FOREIGN_KEY_CHECKS=0 */;
/*!40101 SET @OLD_SQL_MODE=@@SQL_MODE, SQL_MODE='NO_AUTO_VALUE_ON_ZERO' */;
/*!40111 SET @OLD_SQL_NOTES=@@SQL_NOTES, SQL_NOTES=0 */;
DROP TABLE IF EXISTS `tblemailmarketer`;
/*!40101 SET @saved_cs_client     = @@character_set_client */;
/*!40101 SET character_set_client = utf8 */;
CREATE TABLE `tblemailmarketer` (
  `id` int(10) NOT NULL AUTO_INCREMENT,
  `name` text COLLATE utf8_unicode_ci NOT NULL,
  `type` text COLLATE utf8_unicode_ci NOT NULL,
  `settings` text COLLATE utf8_unicode_ci NOT NULL,
  `disable` int(1) NOT NULL,
  `marketing` int(1) NOT NULL,
  `created_at` timestamp NOT NULL DEFAULT '0000-00-00 00:00:00',
  `updated_at` timestamp NOT NULL DEFAULT '0000-00-00 00:00:00',
  PRIMARY KEY (`id`)
) ENGINE=InnoDB DEFAULT CHARSET=utf8 COLLATE=utf8_unicode_ci;
/*!40101 SET character_set_client = @saved_cs_client */;
/*!40103 SET TIME_ZONE=@OLD_TIME_ZONE */;

/*!40101 SET SQL_MODE=@OLD_SQL_MODE */;
/*!40014 SET FOREIGN_KEY_CHECKS=@OLD_FOREIGN_KEY_CHECKS */;
/*!40014 SET UNIQUE_CHECKS=@OLD_UNIQUE_CHECKS */;
/*!40111 SET SQL_NOTES=@OLD_SQL_NOTES */;

install/tbladmins.schema.sql000064400000004734147361027270012170 0ustar00/*!40103 SET @OLD_TIME_ZONE=@@TIME_ZONE */;
/*!40103 SET TIME_ZONE='+00:00' */;
/*!40014 SET @OLD_UNIQUE_CHECKS=@@UNIQUE_CHECKS, UNIQUE_CHECKS=0 */;
/*!40014 SET @OLD_FOREIGN_KEY_CHECKS=@@FOREIGN_KEY_CHECKS, FOREIGN_KEY_CHECKS=0 */;
/*!40101 SET @OLD_SQL_MODE=@@SQL_MODE, SQL_MODE='NO_AUTO_VALUE_ON_ZERO' */;
/*!40111 SET @OLD_SQL_NOTES=@@SQL_NOTES, SQL_NOTES=0 */;
DROP TABLE IF EXISTS `tbladmins`;
/*!40101 SET @saved_cs_client     = @@character_set_client */;
/*!40101 SET character_set_client = utf8 */;
CREATE TABLE `tbladmins` (
  `id` int(10) NOT NULL AUTO_INCREMENT,
  `uuid` varchar(255) COLLATE utf8_unicode_ci NOT NULL DEFAULT '',
  `roleid` int(1) NOT NULL,
  `username` text COLLATE utf8_unicode_ci NOT NULL,
  `password` varchar(255) COLLATE utf8_unicode_ci NOT NULL DEFAULT '',
  `passwordhash` varchar(255) COLLATE utf8_unicode_ci NOT NULL DEFAULT '',
  `authmodule` text COLLATE utf8_unicode_ci NOT NULL,
  `authdata` text COLLATE utf8_unicode_ci NOT NULL,
  `firstname` text COLLATE utf8_unicode_ci NOT NULL,
  `lastname` text COLLATE utf8_unicode_ci NOT NULL,
  `email` text COLLATE utf8_unicode_ci NOT NULL,
  `signature` text COLLATE utf8_unicode_ci NOT NULL,
  `notes` text COLLATE utf8_unicode_ci NOT NULL,
  `template` text COLLATE utf8_unicode_ci NOT NULL,
  `language` text COLLATE utf8_unicode_ci NOT NULL,
  `disabled` int(1) NOT NULL,
  `loginattempts` int(1) NOT NULL,
  `supportdepts` text COLLATE utf8_unicode_ci NOT NULL,
  `ticketnotifications` text COLLATE utf8_unicode_ci NOT NULL,
  `homewidgets` text COLLATE utf8_unicode_ci NOT NULL,
  `password_reset_key` varchar(255) COLLATE utf8_unicode_ci NOT NULL DEFAULT '',
  `password_reset_data` text COLLATE utf8_unicode_ci NOT NULL,
  `password_reset_expiry` timestamp NOT NULL DEFAULT '0000-00-00 00:00:00',
  `hidden_widgets` text COLLATE utf8_unicode_ci NOT NULL,
  `widget_order` text COLLATE utf8_unicode_ci NOT NULL,
  `user_preferences` mediumtext CHARACTER SET utf8 COLLATE utf8_unicode_ci,
  `created_at` timestamp NOT NULL DEFAULT '0000-00-00 00:00:00',
  `updated_at` timestamp NOT NULL DEFAULT '0000-00-00 00:00:00',
  PRIMARY KEY (`id`),
  KEY `username` (`username`(32))
) ENGINE=InnoDB DEFAULT CHARSET=utf8 COLLATE=utf8_unicode_ci;
/*!40101 SET character_set_client = @saved_cs_client */;
/*!40103 SET TIME_ZONE=@OLD_TIME_ZONE */;

/*!40101 SET SQL_MODE=@OLD_SQL_MODE */;
/*!40014 SET FOREIGN_KEY_CHECKS=@OLD_FOREIGN_KEY_CHECKS */;
/*!40014 SET UNIQUE_CHECKS=@OLD_UNIQUE_CHECKS */;
/*!40111 SET SQL_NOTES=@OLD_SQL_NOTES */;

install/tblannouncements.schema.sql000064400000002535147361027270013567 0ustar00/*!40103 SET @OLD_TIME_ZONE=@@TIME_ZONE */;
/*!40103 SET TIME_ZONE='+00:00' */;
/*!40014 SET @OLD_UNIQUE_CHECKS=@@UNIQUE_CHECKS, UNIQUE_CHECKS=0 */;
/*!40014 SET @OLD_FOREIGN_KEY_CHECKS=@@FOREIGN_KEY_CHECKS, FOREIGN_KEY_CHECKS=0 */;
/*!40101 SET @OLD_SQL_MODE=@@SQL_MODE, SQL_MODE='NO_AUTO_VALUE_ON_ZERO' */;
/*!40111 SET @OLD_SQL_NOTES=@@SQL_NOTES, SQL_NOTES=0 */;
DROP TABLE IF EXISTS `tblannouncements`;
/*!40101 SET @saved_cs_client     = @@character_set_client */;
/*!40101 SET character_set_client = utf8 */;
CREATE TABLE `tblannouncements` (
  `id` int(10) NOT NULL AUTO_INCREMENT,
  `date` datetime DEFAULT NULL,
  `title` text COLLATE utf8_unicode_ci NOT NULL,
  `announcement` text COLLATE utf8_unicode_ci NOT NULL,
  `published` tinyint(1) NOT NULL,
  `parentid` int(10) NOT NULL,
  `language` text COLLATE utf8_unicode_ci NOT NULL,
  `created_at` timestamp NOT NULL DEFAULT '0000-00-00 00:00:00',
  `updated_at` timestamp NOT NULL DEFAULT '0000-00-00 00:00:00',
  PRIMARY KEY (`id`),
  KEY `date` (`date`)
) ENGINE=InnoDB DEFAULT CHARSET=utf8 COLLATE=utf8_unicode_ci;
/*!40101 SET character_set_client = @saved_cs_client */;
/*!40103 SET TIME_ZONE=@OLD_TIME_ZONE */;

/*!40101 SET SQL_MODE=@OLD_SQL_MODE */;
/*!40014 SET FOREIGN_KEY_CHECKS=@OLD_FOREIGN_KEY_CHECKS */;
/*!40014 SET UNIQUE_CHECKS=@OLD_UNIQUE_CHECKS */;
/*!40111 SET SQL_NOTES=@OLD_SQL_NOTES */;

install/tblorderstatuses.data.sql000064400000001377147361027270013275 0ustar00/*!40103 SET @OLD_TIME_ZONE=@@TIME_ZONE */;
/*!40103 SET TIME_ZONE='+00:00' */;
/*!40014 SET @OLD_FOREIGN_KEY_CHECKS=@@FOREIGN_KEY_CHECKS, FOREIGN_KEY_CHECKS=0 */;
/*!40101 SET @OLD_SQL_MODE=@@SQL_MODE, SQL_MODE='NO_AUTO_VALUE_ON_ZERO' */;
/*!40111 SET @OLD_SQL_NOTES=@@SQL_NOTES, SQL_NOTES=0 */;

/*!40000 ALTER TABLE `tblorderstatuses` DISABLE KEYS */;
INSERT INTO `tblorderstatuses` VALUES (1,'Pending','#cc0000',1,0,0,10),(2,'Active','#779500',0,1,0,20),(3,'Cancelled','#888888',0,0,1,30),(4,'Fraud','#000000',0,0,0,40);
/*!40000 ALTER TABLE `tblorderstatuses` ENABLE KEYS */;
/*!40103 SET TIME_ZONE=@OLD_TIME_ZONE */;

/*!40101 SET SQL_MODE=@OLD_SQL_MODE */;
/*!40014 SET FOREIGN_KEY_CHECKS=@OLD_FOREIGN_KEY_CHECKS */;
/*!40111 SET SQL_NOTES=@OLD_SQL_NOTES */;

install/tblclientgroups.schema.sql000064400000002362147361027270013426 0ustar00/*!40103 SET @OLD_TIME_ZONE=@@TIME_ZONE */;
/*!40103 SET TIME_ZONE='+00:00' */;
/*!40014 SET @OLD_UNIQUE_CHECKS=@@UNIQUE_CHECKS, UNIQUE_CHECKS=0 */;
/*!40014 SET @OLD_FOREIGN_KEY_CHECKS=@@FOREIGN_KEY_CHECKS, FOREIGN_KEY_CHECKS=0 */;
/*!40101 SET @OLD_SQL_MODE=@@SQL_MODE, SQL_MODE='NO_AUTO_VALUE_ON_ZERO' */;
/*!40111 SET @OLD_SQL_NOTES=@@SQL_NOTES, SQL_NOTES=0 */;
DROP TABLE IF EXISTS `tblclientgroups`;
/*!40101 SET @saved_cs_client     = @@character_set_client */;
/*!40101 SET character_set_client = utf8 */;
CREATE TABLE `tblclientgroups` (
  `id` int(10) unsigned NOT NULL AUTO_INCREMENT,
  `groupname` varchar(45) COLLATE utf8_unicode_ci NOT NULL,
  `groupcolour` varchar(45) COLLATE utf8_unicode_ci DEFAULT NULL,
  `discountpercent` decimal(10,2) unsigned DEFAULT '0.00',
  `susptermexempt` text COLLATE utf8_unicode_ci,
  `separateinvoices` text COLLATE utf8_unicode_ci NOT NULL,
  PRIMARY KEY (`id`)
) ENGINE=InnoDB DEFAULT CHARSET=utf8 COLLATE=utf8_unicode_ci;
/*!40101 SET character_set_client = @saved_cs_client */;
/*!40103 SET TIME_ZONE=@OLD_TIME_ZONE */;

/*!40101 SET SQL_MODE=@OLD_SQL_MODE */;
/*!40014 SET FOREIGN_KEY_CHECKS=@OLD_FOREIGN_KEY_CHECKS */;
/*!40014 SET UNIQUE_CHECKS=@OLD_UNIQUE_CHECKS */;
/*!40111 SET SQL_NOTES=@OLD_SQL_NOTES */;

install/tbloauthserver_access_token_scopes.schema.sql000064400000002262147361027270017353 0ustar00/*!40103 SET @OLD_TIME_ZONE=@@TIME_ZONE */;
/*!40103 SET TIME_ZONE='+00:00' */;
/*!40014 SET @OLD_UNIQUE_CHECKS=@@UNIQUE_CHECKS, UNIQUE_CHECKS=0 */;
/*!40014 SET @OLD_FOREIGN_KEY_CHECKS=@@FOREIGN_KEY_CHECKS, FOREIGN_KEY_CHECKS=0 */;
/*!40101 SET @OLD_SQL_MODE=@@SQL_MODE, SQL_MODE='NO_AUTO_VALUE_ON_ZERO' */;
/*!40111 SET @OLD_SQL_NOTES=@@SQL_NOTES, SQL_NOTES=0 */;
DROP TABLE IF EXISTS `tbloauthserver_access_token_scopes`;
/*!40101 SET @saved_cs_client     = @@character_set_client */;
/*!40101 SET character_set_client = utf8 */;
CREATE TABLE `tbloauthserver_access_token_scopes` (
  `id` int(10) NOT NULL AUTO_INCREMENT,
  `access_token_id` int(10) unsigned NOT NULL DEFAULT '0',
  `scope_id` int(10) unsigned NOT NULL DEFAULT '0',
  PRIMARY KEY (`id`),
  KEY `tbloauthserver_access_token_scopes_scope_id_index` (`access_token_id`,`scope_id`)
) ENGINE=InnoDB DEFAULT CHARSET=utf8 COLLATE=utf8_unicode_ci;
/*!40101 SET character_set_client = @saved_cs_client */;
/*!40103 SET TIME_ZONE=@OLD_TIME_ZONE */;

/*!40101 SET SQL_MODE=@OLD_SQL_MODE */;
/*!40014 SET FOREIGN_KEY_CHECKS=@OLD_FOREIGN_KEY_CHECKS */;
/*!40014 SET UNIQUE_CHECKS=@OLD_UNIQUE_CHECKS */;
/*!40111 SET SQL_NOTES=@OLD_SQL_NOTES */;

install/tblpricing_bracket.schema.sql000064400000002631147361027270014035 0ustar00/*!40103 SET @OLD_TIME_ZONE=@@TIME_ZONE */;
/*!40103 SET TIME_ZONE='+00:00' */;
/*!40014 SET @OLD_UNIQUE_CHECKS=@@UNIQUE_CHECKS, UNIQUE_CHECKS=0 */;
/*!40014 SET @OLD_FOREIGN_KEY_CHECKS=@@FOREIGN_KEY_CHECKS, FOREIGN_KEY_CHECKS=0 */;
/*!40101 SET @OLD_SQL_MODE=@@SQL_MODE, SQL_MODE='NO_AUTO_VALUE_ON_ZERO' */;
/*!40111 SET @OLD_SQL_NOTES=@@SQL_NOTES, SQL_NOTES=0 */;
DROP TABLE IF EXISTS `tblpricing_bracket`;
/*!40101 SET @saved_cs_client     = @@character_set_client */;
/*!40101 SET character_set_client = utf8 */;
CREATE TABLE `tblpricing_bracket` (
  `id` int(10) unsigned NOT NULL AUTO_INCREMENT,
  `floor` decimal(19,6) NOT NULL DEFAULT '0.000000',
  `ceiling` decimal(19,6) NOT NULL DEFAULT '0.000000',
  `rel_type` varchar(200) COLLATE utf8_unicode_ci NOT NULL DEFAULT '',
  `rel_id` varchar(200) COLLATE utf8_unicode_ci NOT NULL DEFAULT '',
  `schema_type` varchar(32) COLLATE utf8_unicode_ci NOT NULL DEFAULT 'flat',
  `created_at` timestamp NULL DEFAULT NULL,
  `updated_at` timestamp NULL DEFAULT NULL,
  `deleted_at` timestamp NULL DEFAULT NULL,
  PRIMARY KEY (`id`)
) ENGINE=InnoDB DEFAULT CHARSET=utf8 COLLATE=utf8_unicode_ci;
/*!40101 SET character_set_client = @saved_cs_client */;
/*!40103 SET TIME_ZONE=@OLD_TIME_ZONE */;

/*!40101 SET SQL_MODE=@OLD_SQL_MODE */;
/*!40014 SET FOREIGN_KEY_CHECKS=@OLD_FOREIGN_KEY_CHECKS */;
/*!40014 SET UNIQUE_CHECKS=@OLD_UNIQUE_CHECKS */;
/*!40111 SET SQL_NOTES=@OLD_SQL_NOTES */;install/tblaccounts.data.sql000064400000001113147361027270012171 0ustar00/*!40103 SET @OLD_TIME_ZONE=@@TIME_ZONE */;
/*!40103 SET TIME_ZONE='+00:00' */;
/*!40014 SET @OLD_FOREIGN_KEY_CHECKS=@@FOREIGN_KEY_CHECKS, FOREIGN_KEY_CHECKS=0 */;
/*!40101 SET @OLD_SQL_MODE=@@SQL_MODE, SQL_MODE='NO_AUTO_VALUE_ON_ZERO' */;
/*!40111 SET @OLD_SQL_NOTES=@@SQL_NOTES, SQL_NOTES=0 */;

/*!40000 ALTER TABLE `tblaccounts` DISABLE KEYS */;
/*!40000 ALTER TABLE `tblaccounts` ENABLE KEYS */;
/*!40103 SET TIME_ZONE=@OLD_TIME_ZONE */;

/*!40101 SET SQL_MODE=@OLD_SQL_MODE */;
/*!40014 SET FOREIGN_KEY_CHECKS=@OLD_FOREIGN_KEY_CHECKS */;
/*!40111 SET SQL_NOTES=@OLD_SQL_NOTES */;

install/tbltransaction_history.schema.sql000064400000003270147361027270015015 0ustar00/*!40103 SET @OLD_TIME_ZONE=@@TIME_ZONE */;
/*!40103 SET TIME_ZONE='+00:00' */;
/*!40014 SET @OLD_UNIQUE_CHECKS=@@UNIQUE_CHECKS, UNIQUE_CHECKS=0 */;
/*!40014 SET @OLD_FOREIGN_KEY_CHECKS=@@FOREIGN_KEY_CHECKS, FOREIGN_KEY_CHECKS=0 */;
/*!40101 SET @OLD_SQL_MODE=@@SQL_MODE, SQL_MODE='NO_AUTO_VALUE_ON_ZERO' */;
/*!40111 SET @OLD_SQL_NOTES=@@SQL_NOTES, SQL_NOTES=0 */;
DROP TABLE IF EXISTS `tbltransaction_history`;
/*!40101 SET @saved_cs_client     = @@character_set_client */;
/*!40101 SET character_set_client = utf8 */;
CREATE TABLE `tbltransaction_history` (
  `id` int(10) unsigned NOT NULL AUTO_INCREMENT,
  `invoice_id` int(10) unsigned NOT NULL,
  `gateway` varchar(32) COLLATE utf8_unicode_ci NOT NULL DEFAULT '',
  `transaction_id` varchar(255) COLLATE utf8_unicode_ci NOT NULL DEFAULT '',
  `remote_status` varchar(255) COLLATE utf8_unicode_ci NOT NULL DEFAULT '',
  `completed` tinyint(1) NOT NULL DEFAULT '0',
  `description` varchar(255) COLLATE utf8_unicode_ci NOT NULL DEFAULT '',
  `additional_information` text COLLATE utf8_unicode_ci NOT NULL,
  `amount` decimal(16, 2) NOT NULL DEFAULT '0.00',
  `currency_id` int(10) unsigned NOT NULL DEFAULT '0',
  `created_at` timestamp NOT NULL DEFAULT '0000-00-00 00:00:00',
  `updated_at` timestamp NOT NULL DEFAULT '0000-00-00 00:00:00',
  PRIMARY KEY (`id`),
  KEY `transaction_id` (`transaction_id`(255))
) ENGINE=InnoDB DEFAULT CHARSET=utf8 COLLATE=utf8_unicode_ci;
/*!40101 SET character_set_client = @saved_cs_client */;
/*!40103 SET TIME_ZONE=@OLD_TIME_ZONE */;

/*!40101 SET SQL_MODE=@OLD_SQL_MODE */;
/*!40014 SET FOREIGN_KEY_CHECKS=@OLD_FOREIGN_KEY_CHECKS */;
/*!40014 SET UNIQUE_CHECKS=@OLD_UNIQUE_CHECKS */;
/*!40111 SET SQL_NOTES=@OLD_SQL_NOTES */;
install/tblproductconfigoptions.schema.sql000064400000002405147361027270015170 0ustar00/*!40103 SET @OLD_TIME_ZONE=@@TIME_ZONE */;
/*!40103 SET TIME_ZONE='+00:00' */;
/*!40014 SET @OLD_UNIQUE_CHECKS=@@UNIQUE_CHECKS, UNIQUE_CHECKS=0 */;
/*!40014 SET @OLD_FOREIGN_KEY_CHECKS=@@FOREIGN_KEY_CHECKS, FOREIGN_KEY_CHECKS=0 */;
/*!40101 SET @OLD_SQL_MODE=@@SQL_MODE, SQL_MODE='NO_AUTO_VALUE_ON_ZERO' */;
/*!40111 SET @OLD_SQL_NOTES=@@SQL_NOTES, SQL_NOTES=0 */;
DROP TABLE IF EXISTS `tblproductconfigoptions`;
/*!40101 SET @saved_cs_client     = @@character_set_client */;
/*!40101 SET character_set_client = utf8 */;
CREATE TABLE `tblproductconfigoptions` (
  `id` int(10) NOT NULL AUTO_INCREMENT,
  `gid` int(10) NOT NULL DEFAULT '0',
  `optionname` text COLLATE utf8_unicode_ci NOT NULL,
  `optiontype` text COLLATE utf8_unicode_ci NOT NULL,
  `qtyminimum` int(10) NOT NULL,
  `qtymaximum` int(10) NOT NULL,
  `order` int(1) NOT NULL DEFAULT '0',
  `hidden` int(1) NOT NULL,
  PRIMARY KEY (`id`),
  KEY `productid` (`gid`)
) ENGINE=InnoDB DEFAULT CHARSET=utf8 COLLATE=utf8_unicode_ci;
/*!40101 SET character_set_client = @saved_cs_client */;
/*!40103 SET TIME_ZONE=@OLD_TIME_ZONE */;

/*!40101 SET SQL_MODE=@OLD_SQL_MODE */;
/*!40014 SET FOREIGN_KEY_CHECKS=@OLD_FOREIGN_KEY_CHECKS */;
/*!40014 SET UNIQUE_CHECKS=@OLD_UNIQUE_CHECKS */;
/*!40111 SET SQL_NOTES=@OLD_SQL_NOTES */;

install/tbldynamic_translations.schema.sql000064400000004222147361027270015132 0ustar00/*!40103 SET @OLD_TIME_ZONE=@@TIME_ZONE */;
/*!40103 SET TIME_ZONE='+00:00' */;
/*!40014 SET @OLD_UNIQUE_CHECKS=@@UNIQUE_CHECKS, UNIQUE_CHECKS=0 */;
/*!40014 SET @OLD_FOREIGN_KEY_CHECKS=@@FOREIGN_KEY_CHECKS, FOREIGN_KEY_CHECKS=0 */;
/*!40101 SET @OLD_SQL_MODE=@@SQL_MODE, SQL_MODE='NO_AUTO_VALUE_ON_ZERO' */;
/*!40111 SET @OLD_SQL_NOTES=@@SQL_NOTES, SQL_NOTES=0 */;
DROP TABLE IF EXISTS `tbldynamic_translations`;
/*!40101 SET @saved_cs_client     = @@character_set_client */;
/*!40101 SET character_set_client = utf8 */;
CREATE TABLE `tbldynamic_translations` (
  `id` int(10) unsigned NOT NULL AUTO_INCREMENT,
  `related_type` enum('configurable_option.{id}.name','configurable_option_option.{id}.name','custom_field.{id}.description','custom_field.{id}.name','download.{id}.description','download.{id}.title','product.{id}.description','product.{id}.name','product.{id}.tagline','product.{id}.short_description','product_addon.{id}.description','product_addon.{id}.name','product_bundle.{id}.description','product_bundle.{id}.name','product_group.{id}.headline','product_group.{id}.name','product_group.{id}.tagline','product_group_feature.{id}.feature','ticket_department.{id}.description','ticket_department.{id}.name') COLLATE utf8_unicode_ci NOT NULL,
  `related_id` int(10) unsigned NOT NULL DEFAULT '0',
  `language` varchar(16) COLLATE utf8_unicode_ci NOT NULL DEFAULT '',
  `translation` text COLLATE utf8_unicode_ci NOT NULL,
  `input_type` enum('text','textarea') COLLATE utf8_unicode_ci NOT NULL,
  `created_at` timestamp NOT NULL DEFAULT '0000-00-00 00:00:00',
  `updated_at` timestamp NOT NULL DEFAULT '0000-00-00 00:00:00',
  PRIMARY KEY (`id`),
  KEY `tbldynamic_translations_id` (`related_id`),
  KEY `tbldynamic_translations_type` (`related_type`),
  KEY `tbldynamic_translations_id_type` (`related_id`,`related_type`)
) ENGINE=InnoDB DEFAULT CHARSET=utf8 COLLATE=utf8_unicode_ci;
/*!40101 SET character_set_client = @saved_cs_client */;
/*!40103 SET TIME_ZONE=@OLD_TIME_ZONE */;

/*!40101 SET SQL_MODE=@OLD_SQL_MODE */;
/*!40014 SET FOREIGN_KEY_CHECKS=@OLD_FOREIGN_KEY_CHECKS */;
/*!40014 SET UNIQUE_CHECKS=@OLD_UNIQUE_CHECKS */;
/*!40111 SET SQL_NOTES=@OLD_SQL_NOTES */;

install/tblusage_items.schema.sql000064400000003271147361027270013215 0ustar00/*!40103 SET @OLD_TIME_ZONE=@@TIME_ZONE */;
/*!40103 SET TIME_ZONE='+00:00' */;
/*!40014 SET @OLD_UNIQUE_CHECKS=@@UNIQUE_CHECKS, UNIQUE_CHECKS=0 */;
/*!40014 SET @OLD_FOREIGN_KEY_CHECKS=@@FOREIGN_KEY_CHECKS, FOREIGN_KEY_CHECKS=0 */;
/*!40101 SET @OLD_SQL_MODE=@@SQL_MODE, SQL_MODE='NO_AUTO_VALUE_ON_ZERO' */;
/*!40111 SET @OLD_SQL_NOTES=@@SQL_NOTES, SQL_NOTES=0 */;
DROP TABLE IF EXISTS `tblusage_items`;
/*!40101 SET @saved_cs_client     = @@character_set_client */;
/*!40101 SET character_set_client = utf8 */;
CREATE TABLE `tblusage_items` (
  `id` int(10) unsigned NOT NULL AUTO_INCREMENT,
  `rel_type` varchar(200) COLLATE utf8_unicode_ci NOT NULL DEFAULT '',
  `rel_id` int(11) NOT NULL DEFAULT '0',
  `module_type` varchar(200) COLLATE utf8_unicode_ci NOT NULL DEFAULT '',
  `module` varchar(200) COLLATE utf8_unicode_ci NOT NULL DEFAULT '',
  `metric` varchar(200) COLLATE utf8_unicode_ci NOT NULL DEFAULT '',
  `included` decimal(19,6) NOT NULL DEFAULT '0.000000',
  `is_hidden` tinyint(4) NOT NULL DEFAULT '1',
  `created_at` timestamp NULL DEFAULT NULL,
  `updated_at` timestamp NULL DEFAULT NULL,
  `deleted_at` timestamp NULL DEFAULT NULL,
  PRIMARY KEY (`id`),
  KEY `tblusage_items_rel_type_id` (`rel_type`,`rel_id`),
  KEY `tblusage_items_module_type` (`module_type`),
  KEY `tblusage_items_module` (`module`),
  KEY `tblusage_items_metric` (`metric`)
) ENGINE=InnoDB DEFAULT CHARSET=utf8 COLLATE=utf8_unicode_ci;
/*!40101 SET character_set_client = @saved_cs_client */;
/*!40103 SET TIME_ZONE=@OLD_TIME_ZONE */;

/*!40101 SET SQL_MODE=@OLD_SQL_MODE */;
/*!40014 SET FOREIGN_KEY_CHECKS=@OLD_FOREIGN_KEY_CHECKS */;
/*!40014 SET UNIQUE_CHECKS=@OLD_UNIQUE_CHECKS */;
/*!40111 SET SQL_NOTES=@OLD_SQL_NOTES */;install/tblauthn_config.data.sql000064400000001123147361027270013017 0ustar00/*!40103 SET @OLD_TIME_ZONE=@@TIME_ZONE */;
/*!40103 SET TIME_ZONE='+00:00' */;
/*!40014 SET @OLD_FOREIGN_KEY_CHECKS=@@FOREIGN_KEY_CHECKS, FOREIGN_KEY_CHECKS=0 */;
/*!40101 SET @OLD_SQL_MODE=@@SQL_MODE, SQL_MODE='NO_AUTO_VALUE_ON_ZERO' */;
/*!40111 SET @OLD_SQL_NOTES=@@SQL_NOTES, SQL_NOTES=0 */;

/*!40000 ALTER TABLE `tblauthn_config` DISABLE KEYS */;
/*!40000 ALTER TABLE `tblauthn_config` ENABLE KEYS */;
/*!40103 SET TIME_ZONE=@OLD_TIME_ZONE */;

/*!40101 SET SQL_MODE=@OLD_SQL_MODE */;
/*!40014 SET FOREIGN_KEY_CHECKS=@OLD_FOREIGN_KEY_CHECKS */;
/*!40111 SET SQL_NOTES=@OLD_SQL_NOTES */;

install/tbltax.data.sql000064400000001101147361027270011143 0ustar00/*!40103 SET @OLD_TIME_ZONE=@@TIME_ZONE */;
/*!40103 SET TIME_ZONE='+00:00' */;
/*!40014 SET @OLD_FOREIGN_KEY_CHECKS=@@FOREIGN_KEY_CHECKS, FOREIGN_KEY_CHECKS=0 */;
/*!40101 SET @OLD_SQL_MODE=@@SQL_MODE, SQL_MODE='NO_AUTO_VALUE_ON_ZERO' */;
/*!40111 SET @OLD_SQL_NOTES=@@SQL_NOTES, SQL_NOTES=0 */;

/*!40000 ALTER TABLE `tbltax` DISABLE KEYS */;
/*!40000 ALTER TABLE `tbltax` ENABLE KEYS */;
/*!40103 SET TIME_ZONE=@OLD_TIME_ZONE */;

/*!40101 SET SQL_MODE=@OLD_SQL_MODE */;
/*!40014 SET FOREIGN_KEY_CHECKS=@OLD_FOREIGN_KEY_CHECKS */;
/*!40111 SET SQL_NOTES=@OLD_SQL_NOTES */;

install/tbltodolist.schema.sql000064400000002315147361027270012547 0ustar00/*!40103 SET @OLD_TIME_ZONE=@@TIME_ZONE */;
/*!40103 SET TIME_ZONE='+00:00' */;
/*!40014 SET @OLD_UNIQUE_CHECKS=@@UNIQUE_CHECKS, UNIQUE_CHECKS=0 */;
/*!40014 SET @OLD_FOREIGN_KEY_CHECKS=@@FOREIGN_KEY_CHECKS, FOREIGN_KEY_CHECKS=0 */;
/*!40101 SET @OLD_SQL_MODE=@@SQL_MODE, SQL_MODE='NO_AUTO_VALUE_ON_ZERO' */;
/*!40111 SET @OLD_SQL_NOTES=@@SQL_NOTES, SQL_NOTES=0 */;
DROP TABLE IF EXISTS `tbltodolist`;
/*!40101 SET @saved_cs_client     = @@character_set_client */;
/*!40101 SET character_set_client = utf8 */;
CREATE TABLE `tbltodolist` (
  `id` int(10) NOT NULL AUTO_INCREMENT,
  `date` date NOT NULL,
  `title` text COLLATE utf8_unicode_ci NOT NULL,
  `description` text COLLATE utf8_unicode_ci NOT NULL,
  `admin` int(10) NOT NULL DEFAULT '0',
  `status` text COLLATE utf8_unicode_ci NOT NULL,
  `duedate` date NOT NULL,
  PRIMARY KEY (`id`),
  KEY `duedate` (`duedate`)
) ENGINE=InnoDB DEFAULT CHARSET=utf8 COLLATE=utf8_unicode_ci;
/*!40101 SET character_set_client = @saved_cs_client */;
/*!40103 SET TIME_ZONE=@OLD_TIME_ZONE */;

/*!40101 SET SQL_MODE=@OLD_SQL_MODE */;
/*!40014 SET FOREIGN_KEY_CHECKS=@OLD_FOREIGN_KEY_CHECKS */;
/*!40014 SET UNIQUE_CHECKS=@OLD_UNIQUE_CHECKS */;
/*!40111 SET SQL_NOTES=@OLD_SQL_NOTES */;

install/tblemail_images.data.sql000064400000001123147361027270012767 0ustar00/*!40103 SET @OLD_TIME_ZONE=@@TIME_ZONE */;
/*!40103 SET TIME_ZONE='+00:00' */;
/*!40014 SET @OLD_FOREIGN_KEY_CHECKS=@@FOREIGN_KEY_CHECKS, FOREIGN_KEY_CHECKS=0 */;
/*!40101 SET @OLD_SQL_MODE=@@SQL_MODE, SQL_MODE='NO_AUTO_VALUE_ON_ZERO' */;
/*!40111 SET @OLD_SQL_NOTES=@@SQL_NOTES, SQL_NOTES=0 */;

/*!40000 ALTER TABLE `tblemail_images` DISABLE KEYS */;
/*!40000 ALTER TABLE `tblemail_images` ENABLE KEYS */;
/*!40103 SET TIME_ZONE=@OLD_TIME_ZONE */;

/*!40101 SET SQL_MODE=@OLD_SQL_MODE */;
/*!40014 SET FOREIGN_KEY_CHECKS=@OLD_FOREIGN_KEY_CHECKS */;
/*!40111 SET SQL_NOTES=@OLD_SQL_NOTES */;

install/tblquotes.data.sql000064400000001107147361027270011675 0ustar00/*!40103 SET @OLD_TIME_ZONE=@@TIME_ZONE */;
/*!40103 SET TIME_ZONE='+00:00' */;
/*!40014 SET @OLD_FOREIGN_KEY_CHECKS=@@FOREIGN_KEY_CHECKS, FOREIGN_KEY_CHECKS=0 */;
/*!40101 SET @OLD_SQL_MODE=@@SQL_MODE, SQL_MODE='NO_AUTO_VALUE_ON_ZERO' */;
/*!40111 SET @OLD_SQL_NOTES=@@SQL_NOTES, SQL_NOTES=0 */;

/*!40000 ALTER TABLE `tblquotes` DISABLE KEYS */;
/*!40000 ALTER TABLE `tblquotes` ENABLE KEYS */;
/*!40103 SET TIME_ZONE=@OLD_TIME_ZONE */;

/*!40101 SET SQL_MODE=@OLD_SQL_MODE */;
/*!40014 SET FOREIGN_KEY_CHECKS=@OLD_FOREIGN_KEY_CHECKS */;
/*!40111 SET SQL_NOTES=@OLD_SQL_NOTES */;

install/tblticketpredefinedcats.data.sql000064400000001143147361027270014541 0ustar00/*!40103 SET @OLD_TIME_ZONE=@@TIME_ZONE */;
/*!40103 SET TIME_ZONE='+00:00' */;
/*!40014 SET @OLD_FOREIGN_KEY_CHECKS=@@FOREIGN_KEY_CHECKS, FOREIGN_KEY_CHECKS=0 */;
/*!40101 SET @OLD_SQL_MODE=@@SQL_MODE, SQL_MODE='NO_AUTO_VALUE_ON_ZERO' */;
/*!40111 SET @OLD_SQL_NOTES=@@SQL_NOTES, SQL_NOTES=0 */;

/*!40000 ALTER TABLE `tblticketpredefinedcats` DISABLE KEYS */;
/*!40000 ALTER TABLE `tblticketpredefinedcats` ENABLE KEYS */;
/*!40103 SET TIME_ZONE=@OLD_TIME_ZONE */;

/*!40101 SET SQL_MODE=@OLD_SQL_MODE */;
/*!40014 SET FOREIGN_KEY_CHECKS=@OLD_FOREIGN_KEY_CHECKS */;
/*!40111 SET SQL_NOTES=@OLD_SQL_NOTES */;

install/tblknowledgebaselinks.data.sql000064400000001137147361027270014233 0ustar00/*!40103 SET @OLD_TIME_ZONE=@@TIME_ZONE */;
/*!40103 SET TIME_ZONE='+00:00' */;
/*!40014 SET @OLD_FOREIGN_KEY_CHECKS=@@FOREIGN_KEY_CHECKS, FOREIGN_KEY_CHECKS=0 */;
/*!40101 SET @OLD_SQL_MODE=@@SQL_MODE, SQL_MODE='NO_AUTO_VALUE_ON_ZERO' */;
/*!40111 SET @OLD_SQL_NOTES=@@SQL_NOTES, SQL_NOTES=0 */;

/*!40000 ALTER TABLE `tblknowledgebaselinks` DISABLE KEYS */;
/*!40000 ALTER TABLE `tblknowledgebaselinks` ENABLE KEYS */;
/*!40103 SET TIME_ZONE=@OLD_TIME_ZONE */;

/*!40101 SET SQL_MODE=@OLD_SQL_MODE */;
/*!40014 SET FOREIGN_KEY_CHECKS=@OLD_FOREIGN_KEY_CHECKS */;
/*!40111 SET SQL_NOTES=@OLD_SQL_NOTES */;

install/tblclientsfiles.data.sql000064400000001123147361027270013037 0ustar00/*!40103 SET @OLD_TIME_ZONE=@@TIME_ZONE */;
/*!40103 SET TIME_ZONE='+00:00' */;
/*!40014 SET @OLD_FOREIGN_KEY_CHECKS=@@FOREIGN_KEY_CHECKS, FOREIGN_KEY_CHECKS=0 */;
/*!40101 SET @OLD_SQL_MODE=@@SQL_MODE, SQL_MODE='NO_AUTO_VALUE_ON_ZERO' */;
/*!40111 SET @OLD_SQL_NOTES=@@SQL_NOTES, SQL_NOTES=0 */;

/*!40000 ALTER TABLE `tblclientsfiles` DISABLE KEYS */;
/*!40000 ALTER TABLE `tblclientsfiles` ENABLE KEYS */;
/*!40103 SET TIME_ZONE=@OLD_TIME_ZONE */;

/*!40101 SET SQL_MODE=@OLD_SQL_MODE */;
/*!40014 SET FOREIGN_KEY_CHECKS=@OLD_FOREIGN_KEY_CHECKS */;
/*!40111 SET SQL_NOTES=@OLD_SQL_NOTES */;

install/tblproductgroups.schema.sql000064400000002712147361027270013627 0ustar00/*!40103 SET @OLD_TIME_ZONE=@@TIME_ZONE */;
/*!40103 SET TIME_ZONE='+00:00' */;
/*!40014 SET @OLD_UNIQUE_CHECKS=@@UNIQUE_CHECKS, UNIQUE_CHECKS=0 */;
/*!40014 SET @OLD_FOREIGN_KEY_CHECKS=@@FOREIGN_KEY_CHECKS, FOREIGN_KEY_CHECKS=0 */;
/*!40101 SET @OLD_SQL_MODE=@@SQL_MODE, SQL_MODE='NO_AUTO_VALUE_ON_ZERO' */;
/*!40111 SET @OLD_SQL_NOTES=@@SQL_NOTES, SQL_NOTES=0 */;
DROP TABLE IF EXISTS `tblproductgroups`;
/*!40101 SET @saved_cs_client     = @@character_set_client */;
/*!40101 SET character_set_client = utf8 */;
CREATE TABLE `tblproductgroups` (
  `id` int(10) NOT NULL AUTO_INCREMENT,
  `name` text COLLATE utf8_unicode_ci NOT NULL,
  `slug` varchar(128) NOT NULL DEFAULT '',
  `headline` text COLLATE utf8_unicode_ci,
  `tagline` text COLLATE utf8_unicode_ci,
  `orderfrmtpl` text COLLATE utf8_unicode_ci NOT NULL,
  `disabledgateways` text COLLATE utf8_unicode_ci NOT NULL,
  `hidden` tinyint(1) NOT NULL,
  `order` int(1) NOT NULL DEFAULT '0',
  `created_at` timestamp NOT NULL DEFAULT '0000-00-00 00:00:00',
  `updated_at` timestamp NOT NULL DEFAULT '0000-00-00 00:00:00',
  PRIMARY KEY (`id`),
  KEY `order` (`order`)
) ENGINE=InnoDB DEFAULT CHARSET=utf8 COLLATE=utf8_unicode_ci;
/*!40101 SET character_set_client = @saved_cs_client */;
/*!40103 SET TIME_ZONE=@OLD_TIME_ZONE */;

/*!40101 SET SQL_MODE=@OLD_SQL_MODE */;
/*!40014 SET FOREIGN_KEY_CHECKS=@OLD_FOREIGN_KEY_CHECKS */;
/*!40014 SET UNIQUE_CHECKS=@OLD_UNIQUE_CHECKS */;
/*!40111 SET SQL_NOTES=@OLD_SQL_NOTES */;

install/tblproducts_slugs_tracking.data.sql000064400000001151147361027270015316 0ustar00/*!40103 SET @OLD_TIME_ZONE=@@TIME_ZONE */;
/*!40103 SET TIME_ZONE='+00:00' */;
/*!40014 SET @OLD_FOREIGN_KEY_CHECKS=@@FOREIGN_KEY_CHECKS, FOREIGN_KEY_CHECKS=0 */;
/*!40101 SET @OLD_SQL_MODE=@@SQL_MODE, SQL_MODE='NO_AUTO_VALUE_ON_ZERO' */;
/*!40111 SET @OLD_SQL_NOTES=@@SQL_NOTES, SQL_NOTES=0 */;

/*!40000 ALTER TABLE `tblproducts_slugs_tracking` DISABLE KEYS */;
/*!40000 ALTER TABLE `tblproducts_slugs_tracking` ENABLE KEYS */;
/*!40103 SET TIME_ZONE=@OLD_TIME_ZONE */;

/*!40101 SET SQL_MODE=@OLD_SQL_MODE */;
/*!40014 SET FOREIGN_KEY_CHECKS=@OLD_FOREIGN_KEY_CHECKS */;
/*!40111 SET SQL_NOTES=@OLD_SQL_NOTES */;

install/tblaffiliates_hits.data.sql000064400000001131147361027270013510 0ustar00/*!40103 SET @OLD_TIME_ZONE=@@TIME_ZONE */;
/*!40103 SET TIME_ZONE='+00:00' */;
/*!40014 SET @OLD_FOREIGN_KEY_CHECKS=@@FOREIGN_KEY_CHECKS, FOREIGN_KEY_CHECKS=0 */;
/*!40101 SET @OLD_SQL_MODE=@@SQL_MODE, SQL_MODE='NO_AUTO_VALUE_ON_ZERO' */;
/*!40111 SET @OLD_SQL_NOTES=@@SQL_NOTES, SQL_NOTES=0 */;

/*!40000 ALTER TABLE `tblaffiliates_hits` DISABLE KEYS */;
/*!40000 ALTER TABLE `tblaffiliates_hits` ENABLE KEYS */;
/*!40103 SET TIME_ZONE=@OLD_TIME_ZONE */;

/*!40101 SET SQL_MODE=@OLD_SQL_MODE */;
/*!40014 SET FOREIGN_KEY_CHECKS=@OLD_FOREIGN_KEY_CHECKS */;
/*!40111 SET SQL_NOTES=@OLD_SQL_NOTES */;

install/tblmetric_usage.schema.sql000064400000003252147361027270013356 0ustar00/*!40103 SET @OLD_TIME_ZONE=@@TIME_ZONE */;
/*!40103 SET TIME_ZONE='+00:00' */;
/*!40014 SET @OLD_UNIQUE_CHECKS=@@UNIQUE_CHECKS, UNIQUE_CHECKS=0 */;
/*!40014 SET @OLD_FOREIGN_KEY_CHECKS=@@FOREIGN_KEY_CHECKS, FOREIGN_KEY_CHECKS=0 */;
/*!40101 SET @OLD_SQL_MODE=@@SQL_MODE, SQL_MODE='NO_AUTO_VALUE_ON_ZERO' */;
/*!40111 SET @OLD_SQL_NOTES=@@SQL_NOTES, SQL_NOTES=0 */;
DROP TABLE IF EXISTS `tblmetric_usage`;
/*!40101 SET @saved_cs_client     = @@character_set_client */;
/*!40101 SET character_set_client = utf8 */;
CREATE TABLE IF NOT EXISTS `tblmetric_usage` (
  `id` int(10) unsigned NOT NULL AUTO_INCREMENT,
  `rel_type` varchar(200) COLLATE utf8_unicode_ci NOT NULL DEFAULT '',
  `rel_id` int(10) NOT NULL DEFAULT '0',
  `module_type` varchar(200) COLLATE utf8_unicode_ci NOT NULL DEFAULT '',
  `module` varchar(200) COLLATE utf8_unicode_ci NOT NULL DEFAULT '',
  `metric` varchar(200) COLLATE utf8_unicode_ci NOT NULL DEFAULT '',
  `value` varchar(255) COLLATE utf8_unicode_ci NOT NULL DEFAULT '',
  `created_at` timestamp NOT NULL DEFAULT '0000-00-00 00:00:00',
  `updated_at` timestamp NOT NULL DEFAULT '0000-00-00 00:00:00',
  PRIMARY KEY (`id`),
  KEY `tblmetric_usage_rel_type_id` (`rel_type`,`rel_id`),
  KEY `tblmetric_usage_module_type` (`module_type`),
  KEY `tblmetric_usage_module` (`module`),
  KEY `tblmetric_usage_metric` (`metric`)
) ENGINE=InnoDB DEFAULT CHARSET=utf8 COLLATE=utf8_unicode_ci;
/*!40101 SET character_set_client = @saved_cs_client */;
/*!40103 SET TIME_ZONE=@OLD_TIME_ZONE */;

/*!40101 SET SQL_MODE=@OLD_SQL_MODE */;
/*!40014 SET FOREIGN_KEY_CHECKS=@OLD_FOREIGN_KEY_CHECKS */;
/*!40014 SET UNIQUE_CHECKS=@OLD_UNIQUE_CHECKS */;
/*!40111 SET SQL_NOTES=@OLD_SQL_NOTES */;

install/tblmodulequeue.schema.sql000064400000003113147361027270013235 0ustar00/*!40103 SET @OLD_TIME_ZONE=@@TIME_ZONE */;
/*!40103 SET TIME_ZONE='+00:00' */;
/*!40014 SET @OLD_UNIQUE_CHECKS=@@UNIQUE_CHECKS, UNIQUE_CHECKS=0 */;
/*!40014 SET @OLD_FOREIGN_KEY_CHECKS=@@FOREIGN_KEY_CHECKS, FOREIGN_KEY_CHECKS=0 */;
/*!40101 SET @OLD_SQL_MODE=@@SQL_MODE, SQL_MODE='NO_AUTO_VALUE_ON_ZERO' */;
/*!40111 SET @OLD_SQL_NOTES=@@SQL_NOTES, SQL_NOTES=0 */;
DROP TABLE IF EXISTS `tblmodulequeue`;
/*!40101 SET @saved_cs_client     = @@character_set_client */;
/*!40101 SET character_set_client = utf8 */;
CREATE TABLE `tblmodulequeue` (
  `id` int(10) unsigned NOT NULL AUTO_INCREMENT,
  `service_type` varchar(20) COLLATE utf8_unicode_ci NOT NULL DEFAULT '',
  `service_id` int(10) unsigned NOT NULL DEFAULT '0',
  `module_name` varchar(64) COLLATE utf8_unicode_ci NOT NULL DEFAULT '',
  `module_action` varchar(64) COLLATE utf8_unicode_ci NOT NULL DEFAULT '',
  `last_attempt` timestamp NOT NULL DEFAULT '0000-00-00 00:00:00',
  `last_attempt_error` text COLLATE utf8_unicode_ci NOT NULL,
  `num_retries` smallint(5) unsigned NOT NULL DEFAULT '0',
  `completed` tinyint(1) NOT NULL DEFAULT '0',
  `created_at` timestamp NOT NULL DEFAULT '0000-00-00 00:00:00',
  `updated_at` timestamp NOT NULL DEFAULT '0000-00-00 00:00:00',
  PRIMARY KEY (`id`)
) ENGINE=InnoDB DEFAULT CHARSET=utf8 COLLATE=utf8_unicode_ci;
/*!40101 SET character_set_client = @saved_cs_client */;
/*!40103 SET TIME_ZONE=@OLD_TIME_ZONE */;

/*!40101 SET SQL_MODE=@OLD_SQL_MODE */;
/*!40014 SET FOREIGN_KEY_CHECKS=@OLD_FOREIGN_KEY_CHECKS */;
/*!40014 SET UNIQUE_CHECKS=@OLD_UNIQUE_CHECKS */;
/*!40111 SET SQL_NOTES=@OLD_SQL_NOTES */;

install/tblregistrars.data.sql000064400000001117147361027270012543 0ustar00/*!40103 SET @OLD_TIME_ZONE=@@TIME_ZONE */;
/*!40103 SET TIME_ZONE='+00:00' */;
/*!40014 SET @OLD_FOREIGN_KEY_CHECKS=@@FOREIGN_KEY_CHECKS, FOREIGN_KEY_CHECKS=0 */;
/*!40101 SET @OLD_SQL_MODE=@@SQL_MODE, SQL_MODE='NO_AUTO_VALUE_ON_ZERO' */;
/*!40111 SET @OLD_SQL_NOTES=@@SQL_NOTES, SQL_NOTES=0 */;

/*!40000 ALTER TABLE `tblregistrars` DISABLE KEYS */;
/*!40000 ALTER TABLE `tblregistrars` ENABLE KEYS */;
/*!40103 SET TIME_ZONE=@OLD_TIME_ZONE */;

/*!40101 SET SQL_MODE=@OLD_SQL_MODE */;
/*!40014 SET FOREIGN_KEY_CHECKS=@OLD_FOREIGN_KEY_CHECKS */;
/*!40111 SET SQL_NOTES=@OLD_SQL_NOTES */;

install/tblannouncements.data.sql000064400000001125147361027270013232 0ustar00/*!40103 SET @OLD_TIME_ZONE=@@TIME_ZONE */;
/*!40103 SET TIME_ZONE='+00:00' */;
/*!40014 SET @OLD_FOREIGN_KEY_CHECKS=@@FOREIGN_KEY_CHECKS, FOREIGN_KEY_CHECKS=0 */;
/*!40101 SET @OLD_SQL_MODE=@@SQL_MODE, SQL_MODE='NO_AUTO_VALUE_ON_ZERO' */;
/*!40111 SET @OLD_SQL_NOTES=@@SQL_NOTES, SQL_NOTES=0 */;

/*!40000 ALTER TABLE `tblannouncements` DISABLE KEYS */;
/*!40000 ALTER TABLE `tblannouncements` ENABLE KEYS */;
/*!40103 SET TIME_ZONE=@OLD_TIME_ZONE */;

/*!40101 SET SQL_MODE=@OLD_SQL_MODE */;
/*!40014 SET FOREIGN_KEY_CHECKS=@OLD_FOREIGN_KEY_CHECKS */;
/*!40111 SET SQL_NOTES=@OLD_SQL_NOTES */;

install/tblerrorlog.schema.sql000064400000002363147361027270012544 0ustar00/*!40103 SET @OLD_TIME_ZONE=@@TIME_ZONE */;
/*!40103 SET TIME_ZONE='+00:00' */;
/*!40014 SET @OLD_UNIQUE_CHECKS=@@UNIQUE_CHECKS, UNIQUE_CHECKS=0 */;
/*!40014 SET @OLD_FOREIGN_KEY_CHECKS=@@FOREIGN_KEY_CHECKS, FOREIGN_KEY_CHECKS=0 */;
/*!40101 SET @OLD_SQL_MODE=@@SQL_MODE, SQL_MODE='NO_AUTO_VALUE_ON_ZERO' */;
/*!40111 SET @OLD_SQL_NOTES=@@SQL_NOTES, SQL_NOTES=0 */;
DROP TABLE IF EXISTS `tblerrorlog`;
/*!40101 SET @saved_cs_client     = @@character_set_client */;
/*!40101 SET character_set_client = utf8 */;
CREATE TABLE `tblerrorlog` (
  `id` int(10) unsigned NOT NULL AUTO_INCREMENT,
  `severity` varchar(16) NOT NULL,
  `exception_class` varchar(255),
  `message` varchar(255),
  `filename` varchar(255),
  `line` int(10) unsigned,
  `details` mediumtext,
  `created_at` timestamp NOT NULL DEFAULT '0000-00-00 00:00:00',
  `updated_at` timestamp NOT NULL DEFAULT '0000-00-00 00:00:00',
  PRIMARY KEY (`id`)
) ENGINE=InnoDB DEFAULT CHARSET=utf8 COLLATE=utf8_unicode_ci;
/*!40101 SET character_set_client = @saved_cs_client */;
/*!40103 SET TIME_ZONE=@OLD_TIME_ZONE */;

/*!40101 SET SQL_MODE=@OLD_SQL_MODE */;
/*!40014 SET FOREIGN_KEY_CHECKS=@OLD_FOREIGN_KEY_CHECKS */;
/*!40014 SET UNIQUE_CHECKS=@OLD_UNIQUE_CHECKS */;
/*!40111 SET SQL_NOTES=@OLD_SQL_NOTES */;

install/tblproductconfigoptions.data.sql000064400000001143147361027270014637 0ustar00/*!40103 SET @OLD_TIME_ZONE=@@TIME_ZONE */;
/*!40103 SET TIME_ZONE='+00:00' */;
/*!40014 SET @OLD_FOREIGN_KEY_CHECKS=@@FOREIGN_KEY_CHECKS, FOREIGN_KEY_CHECKS=0 */;
/*!40101 SET @OLD_SQL_MODE=@@SQL_MODE, SQL_MODE='NO_AUTO_VALUE_ON_ZERO' */;
/*!40111 SET @OLD_SQL_NOTES=@@SQL_NOTES, SQL_NOTES=0 */;

/*!40000 ALTER TABLE `tblproductconfigoptions` DISABLE KEYS */;
/*!40000 ALTER TABLE `tblproductconfigoptions` ENABLE KEYS */;
/*!40103 SET TIME_ZONE=@OLD_TIME_ZONE */;

/*!40101 SET SQL_MODE=@OLD_SQL_MODE */;
/*!40014 SET FOREIGN_KEY_CHECKS=@OLD_FOREIGN_KEY_CHECKS */;
/*!40111 SET SQL_NOTES=@OLD_SQL_NOTES */;

install/tbloauthserver_user_authz_scopes.data.sql000064400000001165147361027270016555 0ustar00/*!40103 SET @OLD_TIME_ZONE=@@TIME_ZONE */;
/*!40103 SET TIME_ZONE='+00:00' */;
/*!40014 SET @OLD_FOREIGN_KEY_CHECKS=@@FOREIGN_KEY_CHECKS, FOREIGN_KEY_CHECKS=0 */;
/*!40101 SET @OLD_SQL_MODE=@@SQL_MODE, SQL_MODE='NO_AUTO_VALUE_ON_ZERO' */;
/*!40111 SET @OLD_SQL_NOTES=@@SQL_NOTES, SQL_NOTES=0 */;

/*!40000 ALTER TABLE `tbloauthserver_user_authz_scopes` DISABLE KEYS */;
/*!40000 ALTER TABLE `tbloauthserver_user_authz_scopes` ENABLE KEYS */;
/*!40103 SET TIME_ZONE=@OLD_TIME_ZONE */;

/*!40101 SET SQL_MODE=@OLD_SQL_MODE */;
/*!40014 SET FOREIGN_KEY_CHECKS=@OLD_FOREIGN_KEY_CHECKS */;
/*!40111 SET SQL_NOTES=@OLD_SQL_NOTES */;

install/tbltax.schema.sql000064400000002306147361027270011502 0ustar00/*!40103 SET @OLD_TIME_ZONE=@@TIME_ZONE */;
/*!40103 SET TIME_ZONE='+00:00' */;
/*!40014 SET @OLD_UNIQUE_CHECKS=@@UNIQUE_CHECKS, UNIQUE_CHECKS=0 */;
/*!40014 SET @OLD_FOREIGN_KEY_CHECKS=@@FOREIGN_KEY_CHECKS, FOREIGN_KEY_CHECKS=0 */;
/*!40101 SET @OLD_SQL_MODE=@@SQL_MODE, SQL_MODE='NO_AUTO_VALUE_ON_ZERO' */;
/*!40111 SET @OLD_SQL_NOTES=@@SQL_NOTES, SQL_NOTES=0 */;
DROP TABLE IF EXISTS `tbltax`;
/*!40101 SET @saved_cs_client     = @@character_set_client */;
/*!40101 SET character_set_client = utf8 */;
CREATE TABLE `tbltax` (
  `id` int(10) NOT NULL AUTO_INCREMENT,
  `level` int(1) NOT NULL,
  `name` text COLLATE utf8_unicode_ci NOT NULL,
  `state` text COLLATE utf8_unicode_ci NOT NULL,
  `country` text COLLATE utf8_unicode_ci NOT NULL,
  `taxrate` decimal(10,3) NOT NULL DEFAULT '0.000',
  PRIMARY KEY (`id`),
  KEY `state_country` (`state`(32),`country`(2))
) ENGINE=InnoDB DEFAULT CHARSET=utf8 COLLATE=utf8_unicode_ci;
/*!40101 SET character_set_client = @saved_cs_client */;
/*!40103 SET TIME_ZONE=@OLD_TIME_ZONE */;

/*!40101 SET SQL_MODE=@OLD_SQL_MODE */;
/*!40014 SET FOREIGN_KEY_CHECKS=@OLD_FOREIGN_KEY_CHECKS */;
/*!40014 SET UNIQUE_CHECKS=@OLD_UNIQUE_CHECKS */;
/*!40111 SET SQL_NOTES=@OLD_SQL_NOTES */;

install/tblservergroups.schema.sql000064400000002021147361027270013446 0ustar00/*!40103 SET @OLD_TIME_ZONE=@@TIME_ZONE */;
/*!40103 SET TIME_ZONE='+00:00' */;
/*!40014 SET @OLD_UNIQUE_CHECKS=@@UNIQUE_CHECKS, UNIQUE_CHECKS=0 */;
/*!40014 SET @OLD_FOREIGN_KEY_CHECKS=@@FOREIGN_KEY_CHECKS, FOREIGN_KEY_CHECKS=0 */;
/*!40101 SET @OLD_SQL_MODE=@@SQL_MODE, SQL_MODE='NO_AUTO_VALUE_ON_ZERO' */;
/*!40111 SET @OLD_SQL_NOTES=@@SQL_NOTES, SQL_NOTES=0 */;
DROP TABLE IF EXISTS `tblservergroups`;
/*!40101 SET @saved_cs_client     = @@character_set_client */;
/*!40101 SET character_set_client = utf8 */;
CREATE TABLE `tblservergroups` (
  `id` int(10) NOT NULL AUTO_INCREMENT,
  `name` text COLLATE utf8_unicode_ci NOT NULL,
  `filltype` int(1) NOT NULL,
  PRIMARY KEY (`id`)
) ENGINE=InnoDB DEFAULT CHARSET=utf8 COLLATE=utf8_unicode_ci;
/*!40101 SET character_set_client = @saved_cs_client */;
/*!40103 SET TIME_ZONE=@OLD_TIME_ZONE */;

/*!40101 SET SQL_MODE=@OLD_SQL_MODE */;
/*!40014 SET FOREIGN_KEY_CHECKS=@OLD_FOREIGN_KEY_CHECKS */;
/*!40014 SET UNIQUE_CHECKS=@OLD_UNIQUE_CHECKS */;
/*!40111 SET SQL_NOTES=@OLD_SQL_NOTES */;

install/tblmarketconnect_services.data.sql000064400000001147147361027270015121 0ustar00/*!40103 SET @OLD_TIME_ZONE=@@TIME_ZONE */;
/*!40103 SET TIME_ZONE='+00:00' */;
/*!40014 SET @OLD_FOREIGN_KEY_CHECKS=@@FOREIGN_KEY_CHECKS, FOREIGN_KEY_CHECKS=0 */;
/*!40101 SET @OLD_SQL_MODE=@@SQL_MODE, SQL_MODE='NO_AUTO_VALUE_ON_ZERO' */;
/*!40111 SET @OLD_SQL_NOTES=@@SQL_NOTES, SQL_NOTES=0 */;

/*!40000 ALTER TABLE `tblmarketconnect_services` DISABLE KEYS */;
/*!40000 ALTER TABLE `tblmarketconnect_services` ENABLE KEYS */;
/*!40103 SET TIME_ZONE=@OLD_TIME_ZONE */;

/*!40101 SET SQL_MODE=@OLD_SQL_MODE */;
/*!40014 SET FOREIGN_KEY_CHECKS=@OLD_FOREIGN_KEY_CHECKS */;
/*!40111 SET SQL_NOTES=@OLD_SQL_NOTES */;

install/tblapplinks_links.data.sql000064400000001127147361027270013400 0ustar00/*!40103 SET @OLD_TIME_ZONE=@@TIME_ZONE */;
/*!40103 SET TIME_ZONE='+00:00' */;
/*!40014 SET @OLD_FOREIGN_KEY_CHECKS=@@FOREIGN_KEY_CHECKS, FOREIGN_KEY_CHECKS=0 */;
/*!40101 SET @OLD_SQL_MODE=@@SQL_MODE, SQL_MODE='NO_AUTO_VALUE_ON_ZERO' */;
/*!40111 SET @OLD_SQL_NOTES=@@SQL_NOTES, SQL_NOTES=0 */;

/*!40000 ALTER TABLE `tblapplinks_links` DISABLE KEYS */;
/*!40000 ALTER TABLE `tblapplinks_links` ENABLE KEYS */;
/*!40103 SET TIME_ZONE=@OLD_TIME_ZONE */;

/*!40101 SET SQL_MODE=@OLD_SQL_MODE */;
/*!40014 SET FOREIGN_KEY_CHECKS=@OLD_FOREIGN_KEY_CHECKS */;
/*!40111 SET SQL_NOTES=@OLD_SQL_NOTES */;

install/tbljobs_queue.data.sql000064400000001117147361027270012517 0ustar00/*!40103 SET @OLD_TIME_ZONE=@@TIME_ZONE */;
/*!40103 SET TIME_ZONE='+00:00' */;
/*!40014 SET @OLD_FOREIGN_KEY_CHECKS=@@FOREIGN_KEY_CHECKS, FOREIGN_KEY_CHECKS=0 */;
/*!40101 SET @OLD_SQL_MODE=@@SQL_MODE, SQL_MODE='NO_AUTO_VALUE_ON_ZERO' */;
/*!40111 SET @OLD_SQL_NOTES=@@SQL_NOTES, SQL_NOTES=0 */;

/*!40000 ALTER TABLE `tbljobs_queue` DISABLE KEYS */;
/*!40000 ALTER TABLE `tbljobs_queue` ENABLE KEYS */;
/*!40103 SET TIME_ZONE=@OLD_TIME_ZONE */;

/*!40101 SET SQL_MODE=@OLD_SQL_MODE */;
/*!40014 SET FOREIGN_KEY_CHECKS=@OLD_FOREIGN_KEY_CHECKS */;
/*!40111 SET SQL_NOTES=@OLD_SQL_NOTES */;

install/tblticketescalations.schema.sql000064400000003122147361027270014414 0ustar00/*!40103 SET @OLD_TIME_ZONE=@@TIME_ZONE */;
/*!40103 SET TIME_ZONE='+00:00' */;
/*!40014 SET @OLD_UNIQUE_CHECKS=@@UNIQUE_CHECKS, UNIQUE_CHECKS=0 */;
/*!40014 SET @OLD_FOREIGN_KEY_CHECKS=@@FOREIGN_KEY_CHECKS, FOREIGN_KEY_CHECKS=0 */;
/*!40101 SET @OLD_SQL_MODE=@@SQL_MODE, SQL_MODE='NO_AUTO_VALUE_ON_ZERO' */;
/*!40111 SET @OLD_SQL_NOTES=@@SQL_NOTES, SQL_NOTES=0 */;
DROP TABLE IF EXISTS `tblticketescalations`;
/*!40101 SET @saved_cs_client     = @@character_set_client */;
/*!40101 SET character_set_client = utf8 */;
CREATE TABLE `tblticketescalations` (
  `id` int(10) NOT NULL AUTO_INCREMENT,
  `name` text COLLATE utf8_unicode_ci NOT NULL,
  `departments` text COLLATE utf8_unicode_ci NOT NULL,
  `statuses` text COLLATE utf8_unicode_ci NOT NULL,
  `priorities` text COLLATE utf8_unicode_ci NOT NULL,
  `timeelapsed` int(5) NOT NULL,
  `newdepartment` text COLLATE utf8_unicode_ci NOT NULL,
  `newpriority` text COLLATE utf8_unicode_ci NOT NULL,
  `newstatus` text COLLATE utf8_unicode_ci NOT NULL,
  `flagto` text COLLATE utf8_unicode_ci NOT NULL,
  `notify` text COLLATE utf8_unicode_ci NOT NULL,
  `addreply` text COLLATE utf8_unicode_ci NOT NULL,
  `editor` enum('plain','markdown') COLLATE utf8_unicode_ci NOT NULL DEFAULT 'plain',
  PRIMARY KEY (`id`)
) ENGINE=InnoDB DEFAULT CHARSET=utf8 COLLATE=utf8_unicode_ci;
/*!40101 SET character_set_client = @saved_cs_client */;
/*!40103 SET TIME_ZONE=@OLD_TIME_ZONE */;

/*!40101 SET SQL_MODE=@OLD_SQL_MODE */;
/*!40014 SET FOREIGN_KEY_CHECKS=@OLD_FOREIGN_KEY_CHECKS */;
/*!40014 SET UNIQUE_CHECKS=@OLD_UNIQUE_CHECKS */;
/*!40111 SET SQL_NOTES=@OLD_SQL_NOTES */;

install/tbldownloadcats.data.sql000064400000001123147361027270013035 0ustar00/*!40103 SET @OLD_TIME_ZONE=@@TIME_ZONE */;
/*!40103 SET TIME_ZONE='+00:00' */;
/*!40014 SET @OLD_FOREIGN_KEY_CHECKS=@@FOREIGN_KEY_CHECKS, FOREIGN_KEY_CHECKS=0 */;
/*!40101 SET @OLD_SQL_MODE=@@SQL_MODE, SQL_MODE='NO_AUTO_VALUE_ON_ZERO' */;
/*!40111 SET @OLD_SQL_NOTES=@@SQL_NOTES, SQL_NOTES=0 */;

/*!40000 ALTER TABLE `tbldownloadcats` DISABLE KEYS */;
/*!40000 ALTER TABLE `tbldownloadcats` ENABLE KEYS */;
/*!40103 SET TIME_ZONE=@OLD_TIME_ZONE */;

/*!40101 SET SQL_MODE=@OLD_SQL_MODE */;
/*!40014 SET FOREIGN_KEY_CHECKS=@OLD_FOREIGN_KEY_CHECKS */;
/*!40111 SET SQL_NOTES=@OLD_SQL_NOTES */;

install/tblactivitylog.data.sql000064400000001121147361027270012707 0ustar00/*!40103 SET @OLD_TIME_ZONE=@@TIME_ZONE */;
/*!40103 SET TIME_ZONE='+00:00' */;
/*!40014 SET @OLD_FOREIGN_KEY_CHECKS=@@FOREIGN_KEY_CHECKS, FOREIGN_KEY_CHECKS=0 */;
/*!40101 SET @OLD_SQL_MODE=@@SQL_MODE, SQL_MODE='NO_AUTO_VALUE_ON_ZERO' */;
/*!40111 SET @OLD_SQL_NOTES=@@SQL_NOTES, SQL_NOTES=0 */;

/*!40000 ALTER TABLE `tblactivitylog` DISABLE KEYS */;
/*!40000 ALTER TABLE `tblactivitylog` ENABLE KEYS */;
/*!40103 SET TIME_ZONE=@OLD_TIME_ZONE */;

/*!40101 SET SQL_MODE=@OLD_SQL_MODE */;
/*!40014 SET FOREIGN_KEY_CHECKS=@OLD_FOREIGN_KEY_CHECKS */;
/*!40111 SET SQL_NOTES=@OLD_SQL_NOTES */;

install/tblgatewaylog.schema.sql000064400000002320147361027270013045 0ustar00/*!40103 SET @OLD_TIME_ZONE=@@TIME_ZONE */;
/*!40103 SET TIME_ZONE='+00:00' */;
/*!40014 SET @OLD_UNIQUE_CHECKS=@@UNIQUE_CHECKS, UNIQUE_CHECKS=0 */;
/*!40014 SET @OLD_FOREIGN_KEY_CHECKS=@@FOREIGN_KEY_CHECKS, FOREIGN_KEY_CHECKS=0 */;
/*!40101 SET @OLD_SQL_MODE=@@SQL_MODE, SQL_MODE='NO_AUTO_VALUE_ON_ZERO' */;
/*!40111 SET @OLD_SQL_NOTES=@@SQL_NOTES, SQL_NOTES=0 */;
DROP TABLE IF EXISTS `tblgatewaylog`;
/*!40101 SET @saved_cs_client     = @@character_set_client */;
/*!40101 SET character_set_client = utf8 */;
CREATE TABLE `tblgatewaylog` (
  `id` int(10) NOT NULL AUTO_INCREMENT,
  `date` datetime NOT NULL DEFAULT '0000-00-00 00:00:00',
  `gateway` text COLLATE utf8_unicode_ci NOT NULL,
  `data` text COLLATE utf8_unicode_ci NOT NULL,
  `transaction_history_id` int(10) unsigned NOT NULL DEFAULT '0',
  `result` text COLLATE utf8_unicode_ci NOT NULL,
  PRIMARY KEY (`id`)
) ENGINE=InnoDB DEFAULT CHARSET=utf8 COLLATE=utf8_unicode_ci;
/*!40101 SET character_set_client = @saved_cs_client */;
/*!40103 SET TIME_ZONE=@OLD_TIME_ZONE */;

/*!40101 SET SQL_MODE=@OLD_SQL_MODE */;
/*!40014 SET FOREIGN_KEY_CHECKS=@OLD_FOREIGN_KEY_CHECKS */;
/*!40014 SET UNIQUE_CHECKS=@OLD_UNIQUE_CHECKS */;
/*!40111 SET SQL_NOTES=@OLD_SQL_NOTES */;

install/tblbannedips.data.sql000064400000001115147361027270012317 0ustar00/*!40103 SET @OLD_TIME_ZONE=@@TIME_ZONE */;
/*!40103 SET TIME_ZONE='+00:00' */;
/*!40014 SET @OLD_FOREIGN_KEY_CHECKS=@@FOREIGN_KEY_CHECKS, FOREIGN_KEY_CHECKS=0 */;
/*!40101 SET @OLD_SQL_MODE=@@SQL_MODE, SQL_MODE='NO_AUTO_VALUE_ON_ZERO' */;
/*!40111 SET @OLD_SQL_NOTES=@@SQL_NOTES, SQL_NOTES=0 */;

/*!40000 ALTER TABLE `tblbannedips` DISABLE KEYS */;
/*!40000 ALTER TABLE `tblbannedips` ENABLE KEYS */;
/*!40103 SET TIME_ZONE=@OLD_TIME_ZONE */;

/*!40101 SET SQL_MODE=@OLD_SQL_MODE */;
/*!40014 SET FOREIGN_KEY_CHECKS=@OLD_FOREIGN_KEY_CHECKS */;
/*!40111 SET SQL_NOTES=@OLD_SQL_NOTES */;

install/tblticketpredefinedcats.schema.sql000064400000002135147361027270015072 0ustar00/*!40103 SET @OLD_TIME_ZONE=@@TIME_ZONE */;
/*!40103 SET TIME_ZONE='+00:00' */;
/*!40014 SET @OLD_UNIQUE_CHECKS=@@UNIQUE_CHECKS, UNIQUE_CHECKS=0 */;
/*!40014 SET @OLD_FOREIGN_KEY_CHECKS=@@FOREIGN_KEY_CHECKS, FOREIGN_KEY_CHECKS=0 */;
/*!40101 SET @OLD_SQL_MODE=@@SQL_MODE, SQL_MODE='NO_AUTO_VALUE_ON_ZERO' */;
/*!40111 SET @OLD_SQL_NOTES=@@SQL_NOTES, SQL_NOTES=0 */;
DROP TABLE IF EXISTS `tblticketpredefinedcats`;
/*!40101 SET @saved_cs_client     = @@character_set_client */;
/*!40101 SET character_set_client = utf8 */;
CREATE TABLE `tblticketpredefinedcats` (
  `id` int(10) NOT NULL AUTO_INCREMENT,
  `parentid` int(10) NOT NULL DEFAULT '0',
  `name` text COLLATE utf8_unicode_ci NOT NULL,
  PRIMARY KEY (`id`),
  KEY `parentid_name` (`parentid`,`name`(64))
) ENGINE=InnoDB DEFAULT CHARSET=utf8 COLLATE=utf8_unicode_ci;
/*!40101 SET character_set_client = @saved_cs_client */;
/*!40103 SET TIME_ZONE=@OLD_TIME_ZONE */;

/*!40101 SET SQL_MODE=@OLD_SQL_MODE */;
/*!40014 SET FOREIGN_KEY_CHECKS=@OLD_FOREIGN_KEY_CHECKS */;
/*!40014 SET UNIQUE_CHECKS=@OLD_UNIQUE_CHECKS */;
/*!40111 SET SQL_NOTES=@OLD_SQL_NOTES */;

install/tblticket_watchers.schema.sql000064400000002372147361027270014074 0ustar00/*!40103 SET @OLD_TIME_ZONE=@@TIME_ZONE */;
/*!40103 SET TIME_ZONE='+00:00' */;
/*!40014 SET @OLD_UNIQUE_CHECKS=@@UNIQUE_CHECKS, UNIQUE_CHECKS=0 */;
/*!40014 SET @OLD_FOREIGN_KEY_CHECKS=@@FOREIGN_KEY_CHECKS, FOREIGN_KEY_CHECKS=0 */;
/*!40101 SET @OLD_SQL_MODE=@@SQL_MODE, SQL_MODE='NO_AUTO_VALUE_ON_ZERO' */;
/*!40111 SET @OLD_SQL_NOTES=@@SQL_NOTES, SQL_NOTES=0 */;
DROP TABLE IF EXISTS `tblticket_watchers`;
/*!40101 SET @saved_cs_client     = @@character_set_client */;
/*!40101 SET character_set_client = utf8 */;
CREATE TABLE `tblticket_watchers` (
  `id` int(10) unsigned NOT NULL AUTO_INCREMENT,
  `ticket_id` int(10) unsigned NOT NULL DEFAULT '0',
  `admin_id` int(10) unsigned NOT NULL DEFAULT '0',
  `created_at` timestamp NOT NULL DEFAULT '0000-00-00 00:00:00',
  `updated_at` timestamp NOT NULL DEFAULT '0000-00-00 00:00:00',
  PRIMARY KEY (`id`),
  UNIQUE KEY `admin_ticket_unique` (`ticket_id`,`admin_id`)
) ENGINE=InnoDB DEFAULT CHARSET=utf8 COLLATE=utf8_unicode_ci;
/*!40101 SET character_set_client = @saved_cs_client */;
/*!40103 SET TIME_ZONE=@OLD_TIME_ZONE */;

/*!40101 SET SQL_MODE=@OLD_SQL_MODE */;
/*!40014 SET FOREIGN_KEY_CHECKS=@OLD_FOREIGN_KEY_CHECKS */;
/*!40014 SET UNIQUE_CHECKS=@OLD_UNIQUE_CHECKS */;
/*!40111 SET SQL_NOTES=@OLD_SQL_NOTES */;

install/tblserversssoperms.schema.sql000064400000002007147361027270014171 0ustar00/*!40103 SET @OLD_TIME_ZONE=@@TIME_ZONE */;
/*!40103 SET TIME_ZONE='+00:00' */;
/*!40014 SET @OLD_UNIQUE_CHECKS=@@UNIQUE_CHECKS, UNIQUE_CHECKS=0 */;
/*!40014 SET @OLD_FOREIGN_KEY_CHECKS=@@FOREIGN_KEY_CHECKS, FOREIGN_KEY_CHECKS=0 */;
/*!40101 SET @OLD_SQL_MODE=@@SQL_MODE, SQL_MODE='NO_AUTO_VALUE_ON_ZERO' */;
/*!40111 SET @OLD_SQL_NOTES=@@SQL_NOTES, SQL_NOTES=0 */;
DROP TABLE IF EXISTS `tblserversssoperms`;
/*!40101 SET @saved_cs_client     = @@character_set_client */;
/*!40101 SET character_set_client = utf8 */;
CREATE TABLE `tblserversssoperms` (
  `id` int(10) NOT NULL AUTO_INCREMENT,
  `server_id` int(10) NOT NULL,
  `role_id` int(10) NOT NULL,
  PRIMARY KEY (`id`)
) ENGINE=InnoDB DEFAULT CHARSET=utf8 COLLATE=utf8_unicode_ci;
/*!40101 SET character_set_client = @saved_cs_client */;
/*!40103 SET TIME_ZONE=@OLD_TIME_ZONE */;

/*!40101 SET SQL_MODE=@OLD_SQL_MODE */;
/*!40014 SET FOREIGN_KEY_CHECKS=@OLD_FOREIGN_KEY_CHECKS */;
/*!40014 SET UNIQUE_CHECKS=@OLD_UNIQUE_CHECKS */;
/*!40111 SET SQL_NOTES=@OLD_SQL_NOTES */;

install/tbltask_status.data.sql000064400000007140147361027270012725 0ustar00/*!40103 SET @OLD_TIME_ZONE=@@TIME_ZONE */;
/*!40103 SET TIME_ZONE='+00:00' */;
/*!40014 SET @OLD_FOREIGN_KEY_CHECKS=@@FOREIGN_KEY_CHECKS, FOREIGN_KEY_CHECKS=0 */;
/*!40101 SET @OLD_SQL_MODE=@@SQL_MODE, SQL_MODE='NO_AUTO_VALUE_ON_ZERO' */;
/*!40111 SET @OLD_SQL_NOTES=@@SQL_NOTES, SQL_NOTES=0 */;

/*!40000 ALTER TABLE `tbltask_status` DISABLE KEYS */;
INSERT INTO `tbltask_status` VALUES (1,1,0,'2018-04-18 10:21:39','2016-11-02 16:59:23','2016-11-02 16:59:20','2018-04-18 10:21:39'),
(2,2,0,'2018-04-18 10:21:39','2016-11-02 16:59:23','2016-11-02 16:59:20','2018-04-18 10:21:39'),
(3,3,0,'2018-04-18 10:21:39','2016-11-02 16:59:23','2016-11-02 16:59:20','2018-04-18 10:21:39'),
(4,4,0,'2018-04-18 10:21:39','2016-11-02 16:59:23','2016-11-02 16:59:20','2018-04-18 10:21:39'),
(5,5,0,'2018-04-18 10:21:39','2016-11-02 16:59:23','2016-11-02 16:59:20','2018-04-18 10:21:39'),
(6,6,0,'2018-04-18 10:21:39','2016-11-02 16:59:23','2016-11-02 16:59:20','2018-04-18 10:21:39'),
(7,7,0,'2018-04-18 10:21:39','2016-11-02 16:59:23','2016-11-02 16:59:20','2018-04-18 10:21:39'),
(8,8,0,'2018-04-18 10:21:39','2016-11-02 16:59:23','2016-11-02 16:59:20','2018-04-18 10:21:39'),
(9,9,0,'2018-04-18 10:21:39','2016-11-02 16:59:23','2016-11-02 16:59:20','2018-04-18 10:21:39'),
(10,10,0,'2018-04-18 10:21:39','2016-11-02 16:59:23','2016-11-02 16:59:20','2018-04-18 10:21:39'),
(11,11,0,'2018-04-18 10:21:39','2016-11-02 16:59:23','2016-11-02 16:59:20','2018-04-18 10:21:39'),
(12,12,0,'2018-04-18 10:21:39','2016-11-02 16:59:23','2016-11-02 16:59:20','2018-04-18 10:21:39'),
(13,13,0,'2018-04-18 10:21:39','2016-11-02 16:59:23','2016-11-02 16:59:20','2018-04-18 10:21:39'),
(14,14,0,'2018-04-18 10:21:39','2016-11-02 16:59:23','2016-11-02 16:59:20','2018-04-18 10:21:39'),
(15,15,0,'2018-04-18 10:21:39','2016-11-02 16:59:23','2016-11-02 16:59:20','2018-04-18 10:21:39'),
(16,16,0,'2018-04-18 10:21:39','2016-11-02 16:59:23','2016-11-02 16:59:20','2018-04-18 10:21:39'),
(17,17,0,'2018-04-18 10:21:39','2016-11-02 16:59:23','2016-11-02 16:59:20','2018-04-18 10:21:39'),
(18,18,0,'2018-04-18 10:21:39','2016-11-02 16:59:23','2016-11-02 16:59:20','2018-04-18 10:21:39'),
(19,19,0,'2018-04-18 10:21:39','2016-11-02 16:59:23','2016-11-02 16:59:21','2018-04-18 10:21:39'),
(20,20,0,'2018-04-18 10:21:39','2016-11-02 16:59:23','2016-11-02 16:59:21','2018-04-18 10:21:39'),
(21,21,0,'2018-04-18 10:21:39','2016-11-02 16:59:23','2016-11-02 16:59:21','2018-04-18 10:21:39'),
(22,22,0,'2018-04-18 10:21:39','2016-11-02 16:59:23','2016-11-02 16:59:21','2018-04-18 10:21:39'),
(23,23,0,'0000-00-00 00:00:00','0000-00-00 00:00:00','2018-04-18 10:21:42','2018-04-18 10:21:42'),
(24,24,0,'0000-00-00 00:00:00','0000-00-00 00:00:00','2018-04-18 10:21:43','2018-04-18 10:21:43'),
(25,25,0,'0000-00-00 00:00:00','0000-00-00 00:00:00','2018-04-18 10:21:43','2018-04-18 10:21:43'),
(26,26,0,'0000-00-00 00:00:00','0000-00-00 00:00:00','2018-04-18 10:21:43','2018-04-18 10:21:43'),
(27,27,0,'0000-00-00 00:00:00','0000-00-00 00:00:00','2019-01-01 15:49:13','2019-01-01 15:49:13'),
(28,28,0,'0000-00-00 00:00:00','0000-00-00 00:00:00','2019-04-01 09:00:00','2019-04-01 09:00:00'),
(32,32,0,'0000-00-00 00:00:00','0000-00-00 00:00:00','2020-07-17 11:42:36','2020-07-17 11:42:36'),
(33,33,0,'0000-00-00 00:00:00','0000-00-00 00:00:00','2020-07-17 11:42:36','2020-07-17 11:42:36'),
(34,34,0,'0000-00-00 00:00:00','0000-00-00 00:00:00','2022-01-17 11:00:00','2022-07-17 11:00:00');
/*!40000 ALTER TABLE `tbltask_status` ENABLE KEYS */;
/*!40103 SET TIME_ZONE=@OLD_TIME_ZONE */;

/*!40101 SET SQL_MODE=@OLD_SQL_MODE */;
/*!40014 SET FOREIGN_KEY_CHECKS=@OLD_FOREIGN_KEY_CHECKS */;
/*!40111 SET SQL_NOTES=@OLD_SQL_NOTES */;

install/tblpromotions.data.sql000064400000001117147361027270012567 0ustar00/*!40103 SET @OLD_TIME_ZONE=@@TIME_ZONE */;
/*!40103 SET TIME_ZONE='+00:00' */;
/*!40014 SET @OLD_FOREIGN_KEY_CHECKS=@@FOREIGN_KEY_CHECKS, FOREIGN_KEY_CHECKS=0 */;
/*!40101 SET @OLD_SQL_MODE=@@SQL_MODE, SQL_MODE='NO_AUTO_VALUE_ON_ZERO' */;
/*!40111 SET @OLD_SQL_NOTES=@@SQL_NOTES, SQL_NOTES=0 */;

/*!40000 ALTER TABLE `tblpromotions` DISABLE KEYS */;
/*!40000 ALTER TABLE `tblpromotions` ENABLE KEYS */;
/*!40103 SET TIME_ZONE=@OLD_TIME_ZONE */;

/*!40101 SET SQL_MODE=@OLD_SQL_MODE */;
/*!40014 SET FOREIGN_KEY_CHECKS=@OLD_FOREIGN_KEY_CHECKS */;
/*!40111 SET SQL_NOTES=@OLD_SQL_NOTES */;

install/tblhostingconfigoptions.schema.sql000064400000002164147361027270015165 0ustar00/*!40103 SET @OLD_TIME_ZONE=@@TIME_ZONE */;
/*!40103 SET TIME_ZONE='+00:00' */;
/*!40014 SET @OLD_UNIQUE_CHECKS=@@UNIQUE_CHECKS, UNIQUE_CHECKS=0 */;
/*!40014 SET @OLD_FOREIGN_KEY_CHECKS=@@FOREIGN_KEY_CHECKS, FOREIGN_KEY_CHECKS=0 */;
/*!40101 SET @OLD_SQL_MODE=@@SQL_MODE, SQL_MODE='NO_AUTO_VALUE_ON_ZERO' */;
/*!40111 SET @OLD_SQL_NOTES=@@SQL_NOTES, SQL_NOTES=0 */;
DROP TABLE IF EXISTS `tblhostingconfigoptions`;
/*!40101 SET @saved_cs_client     = @@character_set_client */;
/*!40101 SET character_set_client = utf8 */;
CREATE TABLE `tblhostingconfigoptions` (
  `id` int(10) NOT NULL AUTO_INCREMENT,
  `relid` int(10) NOT NULL,
  `configid` int(10) NOT NULL,
  `optionid` int(10) NOT NULL,
  `qty` int(10) NOT NULL,
  PRIMARY KEY (`id`),
  KEY `relid_configid` (`relid`,`configid`)
) ENGINE=InnoDB DEFAULT CHARSET=utf8 COLLATE=utf8_unicode_ci;
/*!40101 SET character_set_client = @saved_cs_client */;
/*!40103 SET TIME_ZONE=@OLD_TIME_ZONE */;

/*!40101 SET SQL_MODE=@OLD_SQL_MODE */;
/*!40014 SET FOREIGN_KEY_CHECKS=@OLD_FOREIGN_KEY_CHECKS */;
/*!40014 SET UNIQUE_CHECKS=@OLD_UNIQUE_CHECKS */;
/*!40111 SET SQL_NOTES=@OLD_SQL_NOTES */;

install/tbldeviceauth.schema.sql000064400000003247147361027270013034 0ustar00/*!40103 SET @OLD_TIME_ZONE=@@TIME_ZONE */;
/*!40103 SET TIME_ZONE='+00:00' */;
/*!40014 SET @OLD_UNIQUE_CHECKS=@@UNIQUE_CHECKS, UNIQUE_CHECKS=0 */;
/*!40014 SET @OLD_FOREIGN_KEY_CHECKS=@@FOREIGN_KEY_CHECKS, FOREIGN_KEY_CHECKS=0 */;
/*!40101 SET @OLD_SQL_MODE=@@SQL_MODE, SQL_MODE='NO_AUTO_VALUE_ON_ZERO' */;
/*!40111 SET @OLD_SQL_NOTES=@@SQL_NOTES, SQL_NOTES=0 */;
DROP TABLE IF EXISTS `tbldeviceauth`;
/*!40101 SET @saved_cs_client     = @@character_set_client */;
/*!40101 SET character_set_client = utf8 */;
CREATE TABLE `tbldeviceauth` (
  `id` int(10) unsigned NOT NULL AUTO_INCREMENT,
  `identifier` varchar(255) COLLATE utf8_unicode_ci NOT NULL DEFAULT '',
  `secret` varchar(255) COLLATE utf8_unicode_ci NOT NULL DEFAULT '',
  `compat_secret` varchar(255) COLLATE utf8_unicode_ci NOT NULL DEFAULT '',
  `user_id` int(11) NOT NULL DEFAULT '0',
  `is_admin` tinyint(1) NOT NULL DEFAULT '0',
  `role_ids` text COLLATE utf8_unicode_ci NOT NULL,
  `description` varchar(255) COLLATE utf8_unicode_ci NOT NULL DEFAULT '',
  `last_access` timestamp NOT NULL DEFAULT '0000-00-00 00:00:00',
  `created_at` timestamp NOT NULL DEFAULT '0000-00-00 00:00:00',
  `updated_at` timestamp NOT NULL DEFAULT '0000-00-00 00:00:00',
  `deleted_at` timestamp NULL DEFAULT NULL,
  PRIMARY KEY (`id`),
  UNIQUE KEY `tbldeviceauth_identifier_unique` (`identifier`)
) ENGINE=InnoDB DEFAULT CHARSET=utf8 COLLATE=utf8_unicode_ci;
/*!40101 SET character_set_client = @saved_cs_client */;
/*!40103 SET TIME_ZONE=@OLD_TIME_ZONE */;

/*!40101 SET SQL_MODE=@OLD_SQL_MODE */;
/*!40014 SET FOREIGN_KEY_CHECKS=@OLD_FOREIGN_KEY_CHECKS */;
/*!40014 SET UNIQUE_CHECKS=@OLD_UNIQUE_CHECKS */;
/*!40111 SET SQL_NOTES=@OLD_SQL_NOTES */;

install/tblemailtemplates.schema.sql000064400000003351147361027270013715 0ustar00/*!40103 SET @OLD_TIME_ZONE=@@TIME_ZONE */;
/*!40103 SET TIME_ZONE='+00:00' */;
/*!40014 SET @OLD_UNIQUE_CHECKS=@@UNIQUE_CHECKS, UNIQUE_CHECKS=0 */;
/*!40014 SET @OLD_FOREIGN_KEY_CHECKS=@@FOREIGN_KEY_CHECKS, FOREIGN_KEY_CHECKS=0 */;
/*!40101 SET @OLD_SQL_MODE=@@SQL_MODE, SQL_MODE='NO_AUTO_VALUE_ON_ZERO' */;
/*!40111 SET @OLD_SQL_NOTES=@@SQL_NOTES, SQL_NOTES=0 */;
DROP TABLE IF EXISTS `tblemailtemplates`;
/*!40101 SET @saved_cs_client     = @@character_set_client */;
/*!40101 SET character_set_client = utf8 */;
CREATE TABLE `tblemailtemplates` (
  `id` int(10) NOT NULL AUTO_INCREMENT,
  `type` text COLLATE utf8_unicode_ci NOT NULL,
  `name` text COLLATE utf8_unicode_ci NOT NULL,
  `subject` text COLLATE utf8_unicode_ci NOT NULL,
  `message` text COLLATE utf8_unicode_ci NOT NULL,
  `attachments` text COLLATE utf8_unicode_ci NOT NULL,
  `fromname` text COLLATE utf8_unicode_ci NOT NULL,
  `fromemail` text COLLATE utf8_unicode_ci NOT NULL,
  `disabled` tinyint(1) NOT NULL,
  `custom` tinyint(1) NOT NULL,
  `language` text COLLATE utf8_unicode_ci NOT NULL,
  `copyto` text COLLATE utf8_unicode_ci NOT NULL,
  `blind_copy_to` text COLLATE utf8_unicode_ci NOT NULL,
  `plaintext` tinyint(1) NOT NULL,
  `created_at` timestamp NOT NULL DEFAULT '0000-00-00 00:00:00',
  `updated_at` timestamp NOT NULL DEFAULT '0000-00-00 00:00:00',
  PRIMARY KEY (`id`),
  KEY `type` (`type`(32)),
  KEY `name` (`name`(64))
) ENGINE=InnoDB DEFAULT CHARSET=utf8 COLLATE=utf8_unicode_ci;
/*!40101 SET character_set_client = @saved_cs_client */;
/*!40103 SET TIME_ZONE=@OLD_TIME_ZONE */;

/*!40101 SET SQL_MODE=@OLD_SQL_MODE */;
/*!40014 SET FOREIGN_KEY_CHECKS=@OLD_FOREIGN_KEY_CHECKS */;
/*!40014 SET UNIQUE_CHECKS=@OLD_UNIQUE_CHECKS */;
/*!40111 SET SQL_NOTES=@OLD_SQL_NOTES */;

install/tblemailmarketer_related_pivot.data.sql000064400000001161147361027270016120 0ustar00/*!40103 SET @OLD_TIME_ZONE=@@TIME_ZONE */;
/*!40103 SET TIME_ZONE='+00:00' */;
/*!40014 SET @OLD_FOREIGN_KEY_CHECKS=@@FOREIGN_KEY_CHECKS, FOREIGN_KEY_CHECKS=0 */;
/*!40101 SET @OLD_SQL_MODE=@@SQL_MODE, SQL_MODE='NO_AUTO_VALUE_ON_ZERO' */;
/*!40111 SET @OLD_SQL_NOTES=@@SQL_NOTES, SQL_NOTES=0 */;

/*!40000 ALTER TABLE `tblemailmarketer_related_pivot` DISABLE KEYS */;
/*!40000 ALTER TABLE `tblemailmarketer_related_pivot` ENABLE KEYS */;
/*!40103 SET TIME_ZONE=@OLD_TIME_ZONE */;

/*!40101 SET SQL_MODE=@OLD_SQL_MODE */;
/*!40014 SET FOREIGN_KEY_CHECKS=@OLD_FOREIGN_KEY_CHECKS */;
/*!40111 SET SQL_NOTES=@OLD_SQL_NOTES */;

install/tblservers_remote.data.sql000064400000001127147361027270013423 0ustar00/*!40103 SET @OLD_TIME_ZONE=@@TIME_ZONE */;
/*!40103 SET TIME_ZONE='+00:00' */;
/*!40014 SET @OLD_FOREIGN_KEY_CHECKS=@@FOREIGN_KEY_CHECKS, FOREIGN_KEY_CHECKS=0 */;
/*!40101 SET @OLD_SQL_MODE=@@SQL_MODE, SQL_MODE='NO_AUTO_VALUE_ON_ZERO' */;
/*!40111 SET @OLD_SQL_NOTES=@@SQL_NOTES, SQL_NOTES=0 */;

/*!40000 ALTER TABLE `tblservers_remote` DISABLE KEYS */;
/*!40000 ALTER TABLE `tblservers_remote` ENABLE KEYS */;
/*!40103 SET TIME_ZONE=@OLD_TIME_ZONE */;

/*!40101 SET SQL_MODE=@OLD_SQL_MODE */;
/*!40014 SET FOREIGN_KEY_CHECKS=@OLD_FOREIGN_KEY_CHECKS */;
/*!40111 SET SQL_NOTES=@OLD_SQL_NOTES */;

install/tblproducteventactions.schema.sql000064400000002413147361027270015010 0ustar00/*!40103 SET @OLD_TIME_ZONE=@@TIME_ZONE */;
/*!40103 SET TIME_ZONE='+00:00' */;
/*!40014 SET @OLD_UNIQUE_CHECKS=@@UNIQUE_CHECKS, UNIQUE_CHECKS=0 */;
/*!40014 SET @OLD_FOREIGN_KEY_CHECKS=@@FOREIGN_KEY_CHECKS, FOREIGN_KEY_CHECKS=0 */;
/*!40101 SET @OLD_SQL_MODE=@@SQL_MODE, SQL_MODE='NO_AUTO_VALUE_ON_ZERO' */;
/*!40111 SET @OLD_SQL_NOTES=@@SQL_NOTES, SQL_NOTES=0 */;
DROP TABLE IF EXISTS `tblproducteventactions`;
/*!40101 SET @saved_cs_client     = @@character_set_client */;
/*!40101 SET character_set_client = utf8 */;
CREATE TABLE `tblproducteventactions` (
    `id` int unsigned NOT NULL AUTO_INCREMENT,
    `entity_type` varchar(16) NOT NULL,
    `entity_id` int NOT NULL,
    `name` varchar(64) NOT NULL,
    `event_name` varchar(32) NOT NULL,
    `action` varchar(64) NOT NULL,
    `params` text,
    `created_at` timestamp NULL DEFAULT NULL,
    `updated_at` timestamp NULL DEFAULT NULL,
    PRIMARY KEY (`id`)
) ENGINE=InnoDB AUTO_INCREMENT=1 DEFAULT CHARSET=utf8 COLLATE=utf8_unicode_ci;
/*!40101 SET character_set_client = @saved_cs_client */;
/*!40103 SET TIME_ZONE=@OLD_TIME_ZONE */;

/*!40101 SET SQL_MODE=@OLD_SQL_MODE */;
/*!40014 SET FOREIGN_KEY_CHECKS=@OLD_FOREIGN_KEY_CHECKS */;
/*!40014 SET UNIQUE_CHECKS=@OLD_UNIQUE_CHECKS */;
/*!40111 SET SQL_NOTES=@OLD_SQL_NOTES */;

install/tblbundles.data.sql000064400000001111147361027270012004 0ustar00/*!40103 SET @OLD_TIME_ZONE=@@TIME_ZONE */;
/*!40103 SET TIME_ZONE='+00:00' */;
/*!40014 SET @OLD_FOREIGN_KEY_CHECKS=@@FOREIGN_KEY_CHECKS, FOREIGN_KEY_CHECKS=0 */;
/*!40101 SET @OLD_SQL_MODE=@@SQL_MODE, SQL_MODE='NO_AUTO_VALUE_ON_ZERO' */;
/*!40111 SET @OLD_SQL_NOTES=@@SQL_NOTES, SQL_NOTES=0 */;

/*!40000 ALTER TABLE `tblbundles` DISABLE KEYS */;
/*!40000 ALTER TABLE `tblbundles` ENABLE KEYS */;
/*!40103 SET TIME_ZONE=@OLD_TIME_ZONE */;

/*!40101 SET SQL_MODE=@OLD_SQL_MODE */;
/*!40014 SET FOREIGN_KEY_CHECKS=@OLD_FOREIGN_KEY_CHECKS */;
/*!40111 SET SQL_NOTES=@OLD_SQL_NOTES */;

install/mod_invoicedata.schema.sql000064400000002214147361027270013327 0ustar00/*!40103 SET @OLD_TIME_ZONE=@@TIME_ZONE */;
/*!40103 SET TIME_ZONE='+00:00' */;
/*!40014 SET @OLD_UNIQUE_CHECKS=@@UNIQUE_CHECKS, UNIQUE_CHECKS=0 */;
/*!40014 SET @OLD_FOREIGN_KEY_CHECKS=@@FOREIGN_KEY_CHECKS, FOREIGN_KEY_CHECKS=0 */;
/*!40101 SET @OLD_SQL_MODE=@@SQL_MODE, SQL_MODE='NO_AUTO_VALUE_ON_ZERO' */;
/*!40111 SET @OLD_SQL_NOTES=@@SQL_NOTES, SQL_NOTES=0 */;
DROP TABLE IF EXISTS `mod_invoicedata`;
/*!40101 SET @saved_cs_client     = @@character_set_client */;
/*!40101 SET character_set_client = utf8 */;
CREATE TABLE `mod_invoicedata` (
  `id` int(10) NOT NULL AUTO_INCREMENT,
  `invoiceid` int(10) NOT NULL,
  `clientsdetails` text COLLATE utf8_unicode_ci NOT NULL,
  `customfields` text COLLATE utf8_unicode_ci NOT NULL,
  `version` varchar(255) COLLATE utf8_unicode_ci NULL,
  PRIMARY KEY (`id`)
) ENGINE=InnoDB DEFAULT CHARSET=utf8 COLLATE=utf8_unicode_ci;
/*!40101 SET character_set_client = @saved_cs_client */;
/*!40103 SET TIME_ZONE=@OLD_TIME_ZONE */;

/*!40101 SET SQL_MODE=@OLD_SQL_MODE */;
/*!40014 SET FOREIGN_KEY_CHECKS=@OLD_FOREIGN_KEY_CHECKS */;
/*!40014 SET UNIQUE_CHECKS=@OLD_UNIQUE_CHECKS */;
/*!40111 SET SQL_NOTES=@OLD_SQL_NOTES */;

install/tblknowledgebaselinks.schema.sql000064400000002020147361027270014552 0ustar00/*!40103 SET @OLD_TIME_ZONE=@@TIME_ZONE */;
/*!40103 SET TIME_ZONE='+00:00' */;
/*!40014 SET @OLD_UNIQUE_CHECKS=@@UNIQUE_CHECKS, UNIQUE_CHECKS=0 */;
/*!40014 SET @OLD_FOREIGN_KEY_CHECKS=@@FOREIGN_KEY_CHECKS, FOREIGN_KEY_CHECKS=0 */;
/*!40101 SET @OLD_SQL_MODE=@@SQL_MODE, SQL_MODE='NO_AUTO_VALUE_ON_ZERO' */;
/*!40111 SET @OLD_SQL_NOTES=@@SQL_NOTES, SQL_NOTES=0 */;
DROP TABLE IF EXISTS `tblknowledgebaselinks`;
/*!40101 SET @saved_cs_client     = @@character_set_client */;
/*!40101 SET character_set_client = utf8 */;
CREATE TABLE `tblknowledgebaselinks` (
  `id` int(10) NOT NULL AUTO_INCREMENT,
  `categoryid` int(10) NOT NULL,
  `articleid` int(10) NOT NULL,
  PRIMARY KEY (`id`)
) ENGINE=InnoDB DEFAULT CHARSET=utf8 COLLATE=utf8_unicode_ci;
/*!40101 SET character_set_client = @saved_cs_client */;
/*!40103 SET TIME_ZONE=@OLD_TIME_ZONE */;

/*!40101 SET SQL_MODE=@OLD_SQL_MODE */;
/*!40014 SET FOREIGN_KEY_CHECKS=@OLD_FOREIGN_KEY_CHECKS */;
/*!40014 SET UNIQUE_CHECKS=@OLD_UNIQUE_CHECKS */;
/*!40111 SET SQL_NOTES=@OLD_SQL_NOTES */;

install/tblapi_roles.data.sql000064400000001115147361027270012331 0ustar00/*!40103 SET @OLD_TIME_ZONE=@@TIME_ZONE */;
/*!40103 SET TIME_ZONE='+00:00' */;
/*!40014 SET @OLD_FOREIGN_KEY_CHECKS=@@FOREIGN_KEY_CHECKS, FOREIGN_KEY_CHECKS=0 */;
/*!40101 SET @OLD_SQL_MODE=@@SQL_MODE, SQL_MODE='NO_AUTO_VALUE_ON_ZERO' */;
/*!40111 SET @OLD_SQL_NOTES=@@SQL_NOTES, SQL_NOTES=0 */;

/*!40000 ALTER TABLE `tblapi_roles` DISABLE KEYS */;
/*!40000 ALTER TABLE `tblapi_roles` ENABLE KEYS */;
/*!40103 SET TIME_ZONE=@OLD_TIME_ZONE */;

/*!40101 SET SQL_MODE=@OLD_SQL_MODE */;
/*!40014 SET FOREIGN_KEY_CHECKS=@OLD_FOREIGN_KEY_CHECKS */;
/*!40111 SET SQL_NOTES=@OLD_SQL_NOTES */;

install/tblnotes.data.sql000064400000001105147361027270011503 0ustar00/*!40103 SET @OLD_TIME_ZONE=@@TIME_ZONE */;
/*!40103 SET TIME_ZONE='+00:00' */;
/*!40014 SET @OLD_FOREIGN_KEY_CHECKS=@@FOREIGN_KEY_CHECKS, FOREIGN_KEY_CHECKS=0 */;
/*!40101 SET @OLD_SQL_MODE=@@SQL_MODE, SQL_MODE='NO_AUTO_VALUE_ON_ZERO' */;
/*!40111 SET @OLD_SQL_NOTES=@@SQL_NOTES, SQL_NOTES=0 */;

/*!40000 ALTER TABLE `tblnotes` DISABLE KEYS */;
/*!40000 ALTER TABLE `tblnotes` ENABLE KEYS */;
/*!40103 SET TIME_ZONE=@OLD_TIME_ZONE */;

/*!40101 SET SQL_MODE=@OLD_SQL_MODE */;
/*!40014 SET FOREIGN_KEY_CHECKS=@OLD_FOREIGN_KEY_CHECKS */;
/*!40111 SET SQL_NOTES=@OLD_SQL_NOTES */;

install/tblproduct_group_features.data.sql000064400000001147147361027270015153 0ustar00/*!40103 SET @OLD_TIME_ZONE=@@TIME_ZONE */;
/*!40103 SET TIME_ZONE='+00:00' */;
/*!40014 SET @OLD_FOREIGN_KEY_CHECKS=@@FOREIGN_KEY_CHECKS, FOREIGN_KEY_CHECKS=0 */;
/*!40101 SET @OLD_SQL_MODE=@@SQL_MODE, SQL_MODE='NO_AUTO_VALUE_ON_ZERO' */;
/*!40111 SET @OLD_SQL_NOTES=@@SQL_NOTES, SQL_NOTES=0 */;

/*!40000 ALTER TABLE `tblproduct_group_features` DISABLE KEYS */;
/*!40000 ALTER TABLE `tblproduct_group_features` ENABLE KEYS */;
/*!40103 SET TIME_ZONE=@OLD_TIME_ZONE */;

/*!40101 SET SQL_MODE=@OLD_SQL_MODE */;
/*!40014 SET FOREIGN_KEY_CHECKS=@OLD_FOREIGN_KEY_CHECKS */;
/*!40111 SET SQL_NOTES=@OLD_SQL_NOTES */;

install/tblticketpredefinedreplies.schema.sql000064400000002126147361027270015603 0ustar00/*!40103 SET @OLD_TIME_ZONE=@@TIME_ZONE */;
/*!40103 SET TIME_ZONE='+00:00' */;
/*!40014 SET @OLD_UNIQUE_CHECKS=@@UNIQUE_CHECKS, UNIQUE_CHECKS=0 */;
/*!40014 SET @OLD_FOREIGN_KEY_CHECKS=@@FOREIGN_KEY_CHECKS, FOREIGN_KEY_CHECKS=0 */;
/*!40101 SET @OLD_SQL_MODE=@@SQL_MODE, SQL_MODE='NO_AUTO_VALUE_ON_ZERO' */;
/*!40111 SET @OLD_SQL_NOTES=@@SQL_NOTES, SQL_NOTES=0 */;
DROP TABLE IF EXISTS `tblticketpredefinedreplies`;
/*!40101 SET @saved_cs_client     = @@character_set_client */;
/*!40101 SET character_set_client = utf8 */;
CREATE TABLE `tblticketpredefinedreplies` (
  `id` int(10) NOT NULL AUTO_INCREMENT,
  `catid` int(10) NOT NULL,
  `name` text COLLATE utf8_unicode_ci NOT NULL,
  `reply` text COLLATE utf8_unicode_ci NOT NULL,
  PRIMARY KEY (`id`)
) ENGINE=InnoDB DEFAULT CHARSET=utf8 COLLATE=utf8_unicode_ci;
/*!40101 SET character_set_client = @saved_cs_client */;
/*!40103 SET TIME_ZONE=@OLD_TIME_ZONE */;

/*!40101 SET SQL_MODE=@OLD_SQL_MODE */;
/*!40014 SET FOREIGN_KEY_CHECKS=@OLD_FOREIGN_KEY_CHECKS */;
/*!40014 SET UNIQUE_CHECKS=@OLD_UNIQUE_CHECKS */;
/*!40111 SET SQL_NOTES=@OLD_SQL_NOTES */;

install/tblticketspamfilters.data.sql000064400000001135147361027270014113 0ustar00/*!40103 SET @OLD_TIME_ZONE=@@TIME_ZONE */;
/*!40103 SET TIME_ZONE='+00:00' */;
/*!40014 SET @OLD_FOREIGN_KEY_CHECKS=@@FOREIGN_KEY_CHECKS, FOREIGN_KEY_CHECKS=0 */;
/*!40101 SET @OLD_SQL_MODE=@@SQL_MODE, SQL_MODE='NO_AUTO_VALUE_ON_ZERO' */;
/*!40111 SET @OLD_SQL_NOTES=@@SQL_NOTES, SQL_NOTES=0 */;

/*!40000 ALTER TABLE `tblticketspamfilters` DISABLE KEYS */;
/*!40000 ALTER TABLE `tblticketspamfilters` ENABLE KEYS */;
/*!40103 SET TIME_ZONE=@OLD_TIME_ZONE */;

/*!40101 SET SQL_MODE=@OLD_SQL_MODE */;
/*!40014 SET FOREIGN_KEY_CHECKS=@OLD_FOREIGN_KEY_CHECKS */;
/*!40111 SET SQL_NOTES=@OLD_SQL_NOTES */;

install/tblbillableitems.data.sql000064400000001125147361027270013165 0ustar00/*!40103 SET @OLD_TIME_ZONE=@@TIME_ZONE */;
/*!40103 SET TIME_ZONE='+00:00' */;
/*!40014 SET @OLD_FOREIGN_KEY_CHECKS=@@FOREIGN_KEY_CHECKS, FOREIGN_KEY_CHECKS=0 */;
/*!40101 SET @OLD_SQL_MODE=@@SQL_MODE, SQL_MODE='NO_AUTO_VALUE_ON_ZERO' */;
/*!40111 SET @OLD_SQL_NOTES=@@SQL_NOTES, SQL_NOTES=0 */;

/*!40000 ALTER TABLE `tblbillableitems` DISABLE KEYS */;
/*!40000 ALTER TABLE `tblbillableitems` ENABLE KEYS */;
/*!40103 SET TIME_ZONE=@OLD_TIME_ZONE */;

/*!40101 SET SQL_MODE=@OLD_SQL_MODE */;
/*!40014 SET FOREIGN_KEY_CHECKS=@OLD_FOREIGN_KEY_CHECKS */;
/*!40111 SET SQL_NOTES=@OLD_SQL_NOTES */;

install/tblupdatehistory.schema.sql000064400000002475147361027270013621 0ustar00/*!40103 SET @OLD_TIME_ZONE=@@TIME_ZONE */;
/*!40103 SET TIME_ZONE='+00:00' */;
/*!40014 SET @OLD_UNIQUE_CHECKS=@@UNIQUE_CHECKS, UNIQUE_CHECKS=0 */;
/*!40014 SET @OLD_FOREIGN_KEY_CHECKS=@@FOREIGN_KEY_CHECKS, FOREIGN_KEY_CHECKS=0 */;
/*!40101 SET @OLD_SQL_MODE=@@SQL_MODE, SQL_MODE='NO_AUTO_VALUE_ON_ZERO' */;
/*!40111 SET @OLD_SQL_NOTES=@@SQL_NOTES, SQL_NOTES=0 */;
DROP TABLE IF EXISTS `tblupdatehistory`;
/*!40101 SET @saved_cs_client     = @@character_set_client */;
/*!40101 SET character_set_client = utf8 */;
CREATE TABLE `tblupdatehistory` (
  `id` int(10) unsigned NOT NULL AUTO_INCREMENT,
  `admin_id` int(11) NOT NULL,
  `original_version` varchar(255) COLLATE utf8_unicode_ci NOT NULL,
  `new_version` varchar(255) COLLATE utf8_unicode_ci NOT NULL,
  `success` tinyint(1) NOT NULL,
  `message` text COLLATE utf8_unicode_ci,
  `created_at` timestamp NOT NULL DEFAULT '0000-00-00 00:00:00',
  `updated_at` timestamp NOT NULL DEFAULT '0000-00-00 00:00:00',
  PRIMARY KEY (`id`)
) ENGINE=InnoDB DEFAULT CHARSET=utf8 COLLATE=utf8_unicode_ci;
/*!40101 SET character_set_client = @saved_cs_client */;
/*!40103 SET TIME_ZONE=@OLD_TIME_ZONE */;

/*!40101 SET SQL_MODE=@OLD_SQL_MODE */;
/*!40014 SET FOREIGN_KEY_CHECKS=@OLD_FOREIGN_KEY_CHECKS */;
/*!40014 SET UNIQUE_CHECKS=@OLD_UNIQUE_CHECKS */;
/*!40111 SET SQL_NOTES=@OLD_SQL_NOTES */;

install/tblticketpendingimports.data.sql000064400000001143147361027270014623 0ustar00/*!40103 SET @OLD_TIME_ZONE=@@TIME_ZONE */;
/*!40103 SET TIME_ZONE='+00:00' */;
/*!40014 SET @OLD_FOREIGN_KEY_CHECKS=@@FOREIGN_KEY_CHECKS, FOREIGN_KEY_CHECKS=0 */;
/*!40101 SET @OLD_SQL_MODE=@@SQL_MODE, SQL_MODE='NO_AUTO_VALUE_ON_ZERO' */;
/*!40111 SET @OLD_SQL_NOTES=@@SQL_NOTES, SQL_NOTES=0 */;

/*!40000 ALTER TABLE `tblticketpendingimports` DISABLE KEYS */;
/*!40000 ALTER TABLE `tblticketpendingimports` ENABLE KEYS */;
/*!40103 SET TIME_ZONE=@OLD_TIME_ZONE */;

/*!40101 SET SQL_MODE=@OLD_SQL_MODE */;
/*!40014 SET FOREIGN_KEY_CHECKS=@OLD_FOREIGN_KEY_CHECKS */;
/*!40111 SET SQL_NOTES=@OLD_SQL_NOTES */;

install/tbldeviceauth.data.sql000064400000001117147361027270012477 0ustar00/*!40103 SET @OLD_TIME_ZONE=@@TIME_ZONE */;
/*!40103 SET TIME_ZONE='+00:00' */;
/*!40014 SET @OLD_FOREIGN_KEY_CHECKS=@@FOREIGN_KEY_CHECKS, FOREIGN_KEY_CHECKS=0 */;
/*!40101 SET @OLD_SQL_MODE=@@SQL_MODE, SQL_MODE='NO_AUTO_VALUE_ON_ZERO' */;
/*!40111 SET @OLD_SQL_NOTES=@@SQL_NOTES, SQL_NOTES=0 */;

/*!40000 ALTER TABLE `tbldeviceauth` DISABLE KEYS */;
/*!40000 ALTER TABLE `tbldeviceauth` ENABLE KEYS */;
/*!40103 SET TIME_ZONE=@OLD_TIME_ZONE */;

/*!40101 SET SQL_MODE=@OLD_SQL_MODE */;
/*!40014 SET FOREIGN_KEY_CHECKS=@OLD_FOREIGN_KEY_CHECKS */;
/*!40111 SET SQL_NOTES=@OLD_SQL_NOTES */;

install/tblfraud.data.sql000064400000001105147361027270011454 0ustar00/*!40103 SET @OLD_TIME_ZONE=@@TIME_ZONE */;
/*!40103 SET TIME_ZONE='+00:00' */;
/*!40014 SET @OLD_FOREIGN_KEY_CHECKS=@@FOREIGN_KEY_CHECKS, FOREIGN_KEY_CHECKS=0 */;
/*!40101 SET @OLD_SQL_MODE=@@SQL_MODE, SQL_MODE='NO_AUTO_VALUE_ON_ZERO' */;
/*!40111 SET @OLD_SQL_NOTES=@@SQL_NOTES, SQL_NOTES=0 */;

/*!40000 ALTER TABLE `tblfraud` DISABLE KEYS */;
/*!40000 ALTER TABLE `tblfraud` ENABLE KEYS */;
/*!40103 SET TIME_ZONE=@OLD_TIME_ZONE */;

/*!40101 SET SQL_MODE=@OLD_SQL_MODE */;
/*!40014 SET FOREIGN_KEY_CHECKS=@OLD_FOREIGN_KEY_CHECKS */;
/*!40111 SET SQL_NOTES=@OLD_SQL_NOTES */;

install/tblupdatelog.schema.sql000064400000002433147361027270012673 0ustar00/*!40103 SET @OLD_TIME_ZONE=@@TIME_ZONE */;
/*!40103 SET TIME_ZONE='+00:00' */;
/*!40014 SET @OLD_UNIQUE_CHECKS=@@UNIQUE_CHECKS, UNIQUE_CHECKS=0 */;
/*!40014 SET @OLD_FOREIGN_KEY_CHECKS=@@FOREIGN_KEY_CHECKS, FOREIGN_KEY_CHECKS=0 */;
/*!40101 SET @OLD_SQL_MODE=@@SQL_MODE, SQL_MODE='NO_AUTO_VALUE_ON_ZERO' */;
/*!40111 SET @OLD_SQL_NOTES=@@SQL_NOTES, SQL_NOTES=0 */;
DROP TABLE IF EXISTS `tblupdatelog`;
/*!40101 SET @saved_cs_client     = @@character_set_client */;
/*!40101 SET character_set_client = utf8 */;
CREATE TABLE `tblupdatelog` (
  `id` int(10) unsigned NOT NULL AUTO_INCREMENT,
  `instance_id` varchar(255) COLLATE utf8_unicode_ci NOT NULL DEFAULT '',
  `level` int(10) unsigned NOT NULL,
  `message` text COLLATE utf8_unicode_ci NOT NULL,
  `extra` text COLLATE utf8_unicode_ci NOT NULL,
  `created_at` timestamp NOT NULL DEFAULT '0000-00-00 00:00:00',
  `updated_at` timestamp NOT NULL DEFAULT '0000-00-00 00:00:00',
  PRIMARY KEY (`id`)
) ENGINE=InnoDB DEFAULT CHARSET=utf8 COLLATE=utf8_unicode_ci;
/*!40101 SET character_set_client = @saved_cs_client */;
/*!40103 SET TIME_ZONE=@OLD_TIME_ZONE */;

/*!40101 SET SQL_MODE=@OLD_SQL_MODE */;
/*!40014 SET FOREIGN_KEY_CHECKS=@OLD_FOREIGN_KEY_CHECKS */;
/*!40014 SET UNIQUE_CHECKS=@OLD_UNIQUE_CHECKS */;
/*!40111 SET SQL_NOTES=@OLD_SQL_NOTES */;

install/tbloauthserver_clients.schema.sql000064400000003464147361027270015004 0ustar00/*!40103 SET @OLD_TIME_ZONE=@@TIME_ZONE */;
/*!40103 SET TIME_ZONE='+00:00' */;
/*!40014 SET @OLD_UNIQUE_CHECKS=@@UNIQUE_CHECKS, UNIQUE_CHECKS=0 */;
/*!40014 SET @OLD_FOREIGN_KEY_CHECKS=@@FOREIGN_KEY_CHECKS, FOREIGN_KEY_CHECKS=0 */;
/*!40101 SET @OLD_SQL_MODE=@@SQL_MODE, SQL_MODE='NO_AUTO_VALUE_ON_ZERO' */;
/*!40111 SET @OLD_SQL_NOTES=@@SQL_NOTES, SQL_NOTES=0 */;
DROP TABLE IF EXISTS `tbloauthserver_clients`;
/*!40101 SET @saved_cs_client     = @@character_set_client */;
/*!40101 SET character_set_client = utf8 */;
CREATE TABLE `tbloauthserver_clients` (
  `id` int(10) unsigned NOT NULL AUTO_INCREMENT,
  `identifier` varchar(80) COLLATE utf8_unicode_ci NOT NULL,
  `secret` varchar(255) COLLATE utf8_unicode_ci NOT NULL DEFAULT '',
  `redirect_uri` varchar(2000) COLLATE utf8_unicode_ci NOT NULL DEFAULT '',
  `grant_types` varchar(80) COLLATE utf8_unicode_ci NOT NULL DEFAULT '',
  `user_id` varchar(255) COLLATE utf8_unicode_ci NOT NULL DEFAULT '',
  `service_id` int(11) NOT NULL DEFAULT '0',
  `name` varchar(255) COLLATE utf8_unicode_ci NOT NULL DEFAULT '',
  `description` varchar(255) COLLATE utf8_unicode_ci NOT NULL DEFAULT '',
  `logo_uri` varchar(255) COLLATE utf8_unicode_ci NOT NULL DEFAULT '',
  `rsa_key_pair_id` int(11) NOT NULL DEFAULT '0',
  `created_at` timestamp NOT NULL DEFAULT '0000-00-00 00:00:00',
  `updated_at` timestamp NOT NULL DEFAULT '0000-00-00 00:00:00',
  PRIMARY KEY (`id`),
  UNIQUE KEY `tbloauthserver_clients_identifier_unique` (`identifier`)
) ENGINE=InnoDB DEFAULT CHARSET=utf8 COLLATE=utf8_unicode_ci;
/*!40101 SET character_set_client = @saved_cs_client */;
/*!40103 SET TIME_ZONE=@OLD_TIME_ZONE */;

/*!40101 SET SQL_MODE=@OLD_SQL_MODE */;
/*!40014 SET FOREIGN_KEY_CHECKS=@OLD_FOREIGN_KEY_CHECKS */;
/*!40014 SET UNIQUE_CHECKS=@OLD_UNIQUE_CHECKS */;
/*!40111 SET SQL_NOTES=@OLD_SQL_NOTES */;

install/tblrsakeypairs.schema.sql000064400000002721147361027270013244 0ustar00/*!40103 SET @OLD_TIME_ZONE=@@TIME_ZONE */;
/*!40103 SET TIME_ZONE='+00:00' */;
/*!40014 SET @OLD_UNIQUE_CHECKS=@@UNIQUE_CHECKS, UNIQUE_CHECKS=0 */;
/*!40014 SET @OLD_FOREIGN_KEY_CHECKS=@@FOREIGN_KEY_CHECKS, FOREIGN_KEY_CHECKS=0 */;
/*!40101 SET @OLD_SQL_MODE=@@SQL_MODE, SQL_MODE='NO_AUTO_VALUE_ON_ZERO' */;
/*!40111 SET @OLD_SQL_NOTES=@@SQL_NOTES, SQL_NOTES=0 */;
DROP TABLE IF EXISTS `tblrsakeypairs`;
/*!40101 SET @saved_cs_client     = @@character_set_client */;
/*!40101 SET character_set_client = utf8 */;
CREATE TABLE `tblrsakeypairs` (
  `id` int(11) NOT NULL AUTO_INCREMENT,
  `identifier` varchar(96) COLLATE utf8_unicode_ci NOT NULL DEFAULT '',
  `private_key` text COLLATE utf8_unicode_ci NOT NULL,
  `public_key` text COLLATE utf8_unicode_ci NOT NULL,
  `algorithm` varchar(16) COLLATE utf8_unicode_ci NOT NULL DEFAULT 'RS256',
  `name` varchar(255) COLLATE utf8_unicode_ci NOT NULL DEFAULT '',
  `description` varchar(255) COLLATE utf8_unicode_ci NOT NULL DEFAULT '',
  `created_at` timestamp NOT NULL DEFAULT '0000-00-00 00:00:00',
  `updated_at` timestamp NOT NULL DEFAULT '0000-00-00 00:00:00',
  PRIMARY KEY (`id`)
) ENGINE=InnoDB DEFAULT CHARSET=utf8 COLLATE=utf8_unicode_ci;
/*!40101 SET character_set_client = @saved_cs_client */;
/*!40103 SET TIME_ZONE=@OLD_TIME_ZONE */;

/*!40101 SET SQL_MODE=@OLD_SQL_MODE */;
/*!40014 SET FOREIGN_KEY_CHECKS=@OLD_FOREIGN_KEY_CHECKS */;
/*!40014 SET UNIQUE_CHECKS=@OLD_UNIQUE_CHECKS */;
/*!40111 SET SQL_NOTES=@OLD_SQL_NOTES */;

install/tbloauthserver_access_tokens.schema.sql000064400000003020147361027270016153 0ustar00/*!40103 SET @OLD_TIME_ZONE=@@TIME_ZONE */;
/*!40103 SET TIME_ZONE='+00:00' */;
/*!40014 SET @OLD_UNIQUE_CHECKS=@@UNIQUE_CHECKS, UNIQUE_CHECKS=0 */;
/*!40014 SET @OLD_FOREIGN_KEY_CHECKS=@@FOREIGN_KEY_CHECKS, FOREIGN_KEY_CHECKS=0 */;
/*!40101 SET @OLD_SQL_MODE=@@SQL_MODE, SQL_MODE='NO_AUTO_VALUE_ON_ZERO' */;
/*!40111 SET @OLD_SQL_NOTES=@@SQL_NOTES, SQL_NOTES=0 */;
DROP TABLE IF EXISTS `tbloauthserver_access_tokens`;
/*!40101 SET @saved_cs_client     = @@character_set_client */;
/*!40101 SET character_set_client = utf8 */;
CREATE TABLE `tbloauthserver_access_tokens` (
  `id` int(10) unsigned NOT NULL AUTO_INCREMENT,
  `access_token` varchar(80) COLLATE utf8_unicode_ci NOT NULL,
  `client_id` varchar(80) COLLATE utf8_unicode_ci NOT NULL DEFAULT '',
  `user_id` varchar(255) COLLATE utf8_unicode_ci NOT NULL DEFAULT '',
  `redirect_uri` varchar(2000) COLLATE utf8_unicode_ci NOT NULL DEFAULT '',
  `expires` timestamp NOT NULL DEFAULT '0000-00-00 00:00:00',
  `created_at` timestamp NOT NULL DEFAULT '0000-00-00 00:00:00',
  `updated_at` timestamp NOT NULL DEFAULT '0000-00-00 00:00:00',
  PRIMARY KEY (`id`),
  UNIQUE KEY `tbloauthserver_access_tokens_access_token_unique` (`access_token`)
) ENGINE=InnoDB DEFAULT CHARSET=utf8 COLLATE=utf8_unicode_ci;
/*!40101 SET character_set_client = @saved_cs_client */;
/*!40103 SET TIME_ZONE=@OLD_TIME_ZONE */;

/*!40101 SET SQL_MODE=@OLD_SQL_MODE */;
/*!40014 SET FOREIGN_KEY_CHECKS=@OLD_FOREIGN_KEY_CHECKS */;
/*!40014 SET UNIQUE_CHECKS=@OLD_UNIQUE_CHECKS */;
/*!40111 SET SQL_NOTES=@OLD_SQL_NOTES */;

install/tbltenant_stats.data.sql000064400000001123147361027270013062 0ustar00/*!40103 SET @OLD_TIME_ZONE=@@TIME_ZONE */;
/*!40103 SET TIME_ZONE='+00:00' */;
/*!40014 SET @OLD_FOREIGN_KEY_CHECKS=@@FOREIGN_KEY_CHECKS, FOREIGN_KEY_CHECKS=0 */;
/*!40101 SET @OLD_SQL_MODE=@@SQL_MODE, SQL_MODE='NO_AUTO_VALUE_ON_ZERO' */;
/*!40111 SET @OLD_SQL_NOTES=@@SQL_NOTES, SQL_NOTES=0 */;

/*!40000 ALTER TABLE `tbltenant_stats` DISABLE KEYS */;
/*!40000 ALTER TABLE `tbltenant_stats` ENABLE KEYS */;
/*!40103 SET TIME_ZONE=@OLD_TIME_ZONE */;

/*!40101 SET SQL_MODE=@OLD_SQL_MODE */;
/*!40014 SET FOREIGN_KEY_CHECKS=@OLD_FOREIGN_KEY_CHECKS */;
/*!40111 SET SQL_NOTES=@OLD_SQL_NOTES */;

install/tbltransaction_history.data.sql000064400000001141147361027270014461 0ustar00/*!40103 SET @OLD_TIME_ZONE=@@TIME_ZONE */;
/*!40103 SET TIME_ZONE='+00:00' */;
/*!40014 SET @OLD_FOREIGN_KEY_CHECKS=@@FOREIGN_KEY_CHECKS, FOREIGN_KEY_CHECKS=0 */;
/*!40101 SET @OLD_SQL_MODE=@@SQL_MODE, SQL_MODE='NO_AUTO_VALUE_ON_ZERO' */;
/*!40111 SET @OLD_SQL_NOTES=@@SQL_NOTES, SQL_NOTES=0 */;

/*!40000 ALTER TABLE `tbltransaction_history` DISABLE KEYS */;
/*!40000 ALTER TABLE `tbltransaction_history` ENABLE KEYS */;
/*!40103 SET TIME_ZONE=@OLD_TIME_ZONE */;

/*!40101 SET SQL_MODE=@OLD_SQL_MODE */;
/*!40014 SET FOREIGN_KEY_CHECKS=@OLD_FOREIGN_KEY_CHECKS */;
/*!40111 SET SQL_NOTES=@OLD_SQL_NOTES */;

install/tblknowledgebase.schema.sql000064400000002503147361027270013517 0ustar00/*!40103 SET @OLD_TIME_ZONE=@@TIME_ZONE */;
/*!40103 SET TIME_ZONE='+00:00' */;
/*!40014 SET @OLD_UNIQUE_CHECKS=@@UNIQUE_CHECKS, UNIQUE_CHECKS=0 */;
/*!40014 SET @OLD_FOREIGN_KEY_CHECKS=@@FOREIGN_KEY_CHECKS, FOREIGN_KEY_CHECKS=0 */;
/*!40101 SET @OLD_SQL_MODE=@@SQL_MODE, SQL_MODE='NO_AUTO_VALUE_ON_ZERO' */;
/*!40111 SET @OLD_SQL_NOTES=@@SQL_NOTES, SQL_NOTES=0 */;
DROP TABLE IF EXISTS `tblknowledgebase`;
/*!40101 SET @saved_cs_client     = @@character_set_client */;
/*!40101 SET character_set_client = utf8 */;
CREATE TABLE `tblknowledgebase` (
  `id` int(10) NOT NULL AUTO_INCREMENT,
  `title` text COLLATE utf8_unicode_ci NOT NULL,
  `article` text COLLATE utf8_unicode_ci NOT NULL,
  `views` int(10) NOT NULL DEFAULT '0',
  `useful` int(10) NOT NULL DEFAULT '0',
  `votes` int(10) NOT NULL DEFAULT '0',
  `private` text COLLATE utf8_unicode_ci NOT NULL,
  `order` int(3) NOT NULL,
  `parentid` int(10) NOT NULL,
  `language` text COLLATE utf8_unicode_ci NOT NULL,
  PRIMARY KEY (`id`)
) ENGINE=InnoDB DEFAULT CHARSET=utf8 COLLATE=utf8_unicode_ci;
/*!40101 SET character_set_client = @saved_cs_client */;
/*!40103 SET TIME_ZONE=@OLD_TIME_ZONE */;

/*!40101 SET SQL_MODE=@OLD_SQL_MODE */;
/*!40014 SET FOREIGN_KEY_CHECKS=@OLD_FOREIGN_KEY_CHECKS */;
/*!40014 SET UNIQUE_CHECKS=@OLD_UNIQUE_CHECKS */;
/*!40111 SET SQL_NOTES=@OLD_SQL_NOTES */;

install/tblproducts_slugs.data.sql000064400000001127147361027270013437 0ustar00/*!40103 SET @OLD_TIME_ZONE=@@TIME_ZONE */;
/*!40103 SET TIME_ZONE='+00:00' */;
/*!40014 SET @OLD_FOREIGN_KEY_CHECKS=@@FOREIGN_KEY_CHECKS, FOREIGN_KEY_CHECKS=0 */;
/*!40101 SET @OLD_SQL_MODE=@@SQL_MODE, SQL_MODE='NO_AUTO_VALUE_ON_ZERO' */;
/*!40111 SET @OLD_SQL_NOTES=@@SQL_NOTES, SQL_NOTES=0 */;

/*!40000 ALTER TABLE `tblproducts_slugs` DISABLE KEYS */;
/*!40000 ALTER TABLE `tblproducts_slugs` ENABLE KEYS */;
/*!40103 SET TIME_ZONE=@OLD_TIME_ZONE */;

/*!40101 SET SQL_MODE=@OLD_SQL_MODE */;
/*!40014 SET FOREIGN_KEY_CHECKS=@OLD_FOREIGN_KEY_CHECKS */;
/*!40111 SET SQL_NOTES=@OLD_SQL_NOTES */;

install/tblfileassetmigrationprogress.data.sql000064400000001157147361027270016040 0ustar00/*!40103 SET @OLD_TIME_ZONE=@@TIME_ZONE */;
/*!40103 SET TIME_ZONE='+00:00' */;
/*!40014 SET @OLD_FOREIGN_KEY_CHECKS=@@FOREIGN_KEY_CHECKS, FOREIGN_KEY_CHECKS=0 */;
/*!40101 SET @OLD_SQL_MODE=@@SQL_MODE, SQL_MODE='NO_AUTO_VALUE_ON_ZERO' */;
/*!40111 SET @OLD_SQL_NOTES=@@SQL_NOTES, SQL_NOTES=0 */;

/*!40000 ALTER TABLE `tblfileassetmigrationprogress` DISABLE KEYS */;
/*!40000 ALTER TABLE `tblfileassetmigrationprogress` ENABLE KEYS */;
/*!40103 SET TIME_ZONE=@OLD_TIME_ZONE */;

/*!40101 SET SQL_MODE=@OLD_SQL_MODE */;
/*!40014 SET FOREIGN_KEY_CHECKS=@OLD_FOREIGN_KEY_CHECKS */;
/*!40111 SET SQL_NOTES=@OLD_SQL_NOTES */;

install/tblapplinks_log.data.sql000064400000001123147361027270013035 0ustar00/*!40103 SET @OLD_TIME_ZONE=@@TIME_ZONE */;
/*!40103 SET TIME_ZONE='+00:00' */;
/*!40014 SET @OLD_FOREIGN_KEY_CHECKS=@@FOREIGN_KEY_CHECKS, FOREIGN_KEY_CHECKS=0 */;
/*!40101 SET @OLD_SQL_MODE=@@SQL_MODE, SQL_MODE='NO_AUTO_VALUE_ON_ZERO' */;
/*!40111 SET @OLD_SQL_NOTES=@@SQL_NOTES, SQL_NOTES=0 */;

/*!40000 ALTER TABLE `tblapplinks_log` DISABLE KEYS */;
/*!40000 ALTER TABLE `tblapplinks_log` ENABLE KEYS */;
/*!40103 SET TIME_ZONE=@OLD_TIME_ZONE */;

/*!40101 SET SQL_MODE=@OLD_SQL_MODE */;
/*!40014 SET FOREIGN_KEY_CHECKS=@OLD_FOREIGN_KEY_CHECKS */;
/*!40111 SET SQL_NOTES=@OLD_SQL_NOTES */;

install/tblauthn_config.schema.sql000064400000002413147361027270013351 0ustar00/*!40103 SET @OLD_TIME_ZONE=@@TIME_ZONE */;
/*!40103 SET TIME_ZONE='+00:00' */;
/*!40014 SET @OLD_UNIQUE_CHECKS=@@UNIQUE_CHECKS, UNIQUE_CHECKS=0 */;
/*!40014 SET @OLD_FOREIGN_KEY_CHECKS=@@FOREIGN_KEY_CHECKS, FOREIGN_KEY_CHECKS=0 */;
/*!40101 SET @OLD_SQL_MODE=@@SQL_MODE, SQL_MODE='NO_AUTO_VALUE_ON_ZERO' */;
/*!40111 SET @OLD_SQL_NOTES=@@SQL_NOTES, SQL_NOTES=0 */;
DROP TABLE IF EXISTS `tblauthn_config`;
/*!40101 SET @saved_cs_client     = @@character_set_client */;
/*!40101 SET character_set_client = utf8 */;
CREATE TABLE `tblauthn_config` (
  `id` int(10) unsigned NOT NULL AUTO_INCREMENT,
  `provider` char(64) COLLATE utf8_unicode_ci NOT NULL,
  `setting` char(128) COLLATE utf8_unicode_ci NOT NULL,
  `value` text COLLATE utf8_unicode_ci,
  `created_at` timestamp NULL DEFAULT NULL,
  `updated_at` timestamp NULL DEFAULT NULL,
  PRIMARY KEY (`id`),
  UNIQUE KEY `tblauthn_config_provider_setting_unique` (`provider`,`setting`)
) ENGINE=InnoDB DEFAULT CHARSET=utf8 COLLATE=utf8_unicode_ci;
/*!40101 SET character_set_client = @saved_cs_client */;
/*!40103 SET TIME_ZONE=@OLD_TIME_ZONE */;

/*!40101 SET SQL_MODE=@OLD_SQL_MODE */;
/*!40014 SET FOREIGN_KEY_CHECKS=@OLD_FOREIGN_KEY_CHECKS */;
/*!40014 SET UNIQUE_CHECKS=@OLD_UNIQUE_CHECKS */;
/*!40111 SET SQL_NOTES=@OLD_SQL_NOTES */;

install/tblsslstatus.schema.sql000064400000003135147361027270012754 0ustar00/*!40103 SET @OLD_TIME_ZONE=@@TIME_ZONE */;
/*!40103 SET TIME_ZONE='+00:00' */;
/*!40014 SET @OLD_UNIQUE_CHECKS=@@UNIQUE_CHECKS, UNIQUE_CHECKS=0 */;
/*!40014 SET @OLD_FOREIGN_KEY_CHECKS=@@FOREIGN_KEY_CHECKS, FOREIGN_KEY_CHECKS=0 */;
/*!40101 SET @OLD_SQL_MODE=@@SQL_MODE, SQL_MODE='NO_AUTO_VALUE_ON_ZERO' */;
/*!40111 SET @OLD_SQL_NOTES=@@SQL_NOTES, SQL_NOTES=0 */;
DROP TABLE IF EXISTS `tblsslstatus`;
/*!40101 SET @saved_cs_client     = @@character_set_client */;
/*!40101 SET character_set_client = utf8 */;
CREATE TABLE `tblsslstatus` (
  `id` int(10) unsigned NOT NULL AUTO_INCREMENT,
  `user_id` int(10) unsigned NOT NULL DEFAULT '0',
  `domain_name` varchar(128) COLLATE utf8_unicode_ci NOT NULL DEFAULT '',
  `subject_name` varchar(128) COLLATE utf8_unicode_ci DEFAULT '',
  `subject_org` varchar(128) COLLATE utf8_unicode_ci DEFAULT '',
  `issuer_name` varchar(128) COLLATE utf8_unicode_ci DEFAULT '',
  `issuer_org` varchar(128) COLLATE utf8_unicode_ci DEFAULT '',
  `start_date` datetime DEFAULT NULL,
  `expiry_date` datetime DEFAULT NULL,
  `active` tinyint(1) NOT NULL DEFAULT '0',
  `last_synced_date` datetime DEFAULT NULL,
  `created_at` timestamp NULL DEFAULT NULL,
  `updated_at` timestamp NULL DEFAULT NULL,
  PRIMARY KEY (`id`),
  INDEX (`domain_name`)
) ENGINE=InnoDB DEFAULT CHARSET=utf8 COLLATE=utf8_unicode_ci;
/*!40101 SET character_set_client = @saved_cs_client */;
/*!40103 SET TIME_ZONE=@OLD_TIME_ZONE */;

/*!40101 SET SQL_MODE=@OLD_SQL_MODE */;
/*!40014 SET FOREIGN_KEY_CHECKS=@OLD_FOREIGN_KEY_CHECKS */;
/*!40014 SET UNIQUE_CHECKS=@OLD_UNIQUE_CHECKS */;
/*!40111 SET SQL_NOTES=@OLD_SQL_NOTES */;

install/tblknowledgebasetags.schema.sql000064400000002043147361027270014375 0ustar00/*!40103 SET @OLD_TIME_ZONE=@@TIME_ZONE */;
/*!40103 SET TIME_ZONE='+00:00' */;
/*!40014 SET @OLD_UNIQUE_CHECKS=@@UNIQUE_CHECKS, UNIQUE_CHECKS=0 */;
/*!40014 SET @OLD_FOREIGN_KEY_CHECKS=@@FOREIGN_KEY_CHECKS, FOREIGN_KEY_CHECKS=0 */;
/*!40101 SET @OLD_SQL_MODE=@@SQL_MODE, SQL_MODE='NO_AUTO_VALUE_ON_ZERO' */;
/*!40111 SET @OLD_SQL_NOTES=@@SQL_NOTES, SQL_NOTES=0 */;
DROP TABLE IF EXISTS `tblknowledgebasetags`;
/*!40101 SET @saved_cs_client     = @@character_set_client */;
/*!40101 SET character_set_client = utf8 */;
CREATE TABLE `tblknowledgebasetags` (
  `id` int(10) NOT NULL AUTO_INCREMENT,
  `articleid` int(10) NOT NULL,
  `tag` varchar(64) COLLATE utf8_unicode_ci NOT NULL,
  PRIMARY KEY (`id`)
) ENGINE=InnoDB DEFAULT CHARSET=utf8 COLLATE=utf8_unicode_ci;
/*!40101 SET character_set_client = @saved_cs_client */;
/*!40103 SET TIME_ZONE=@OLD_TIME_ZONE */;

/*!40101 SET SQL_MODE=@OLD_SQL_MODE */;
/*!40014 SET FOREIGN_KEY_CHECKS=@OLD_FOREIGN_KEY_CHECKS */;
/*!40014 SET UNIQUE_CHECKS=@OLD_UNIQUE_CHECKS */;
/*!40111 SET SQL_NOTES=@OLD_SQL_NOTES */;

install/tblknowledgebasecats.data.sql000064400000001135147361027270014043 0ustar00/*!40103 SET @OLD_TIME_ZONE=@@TIME_ZONE */;
/*!40103 SET TIME_ZONE='+00:00' */;
/*!40014 SET @OLD_FOREIGN_KEY_CHECKS=@@FOREIGN_KEY_CHECKS, FOREIGN_KEY_CHECKS=0 */;
/*!40101 SET @OLD_SQL_MODE=@@SQL_MODE, SQL_MODE='NO_AUTO_VALUE_ON_ZERO' */;
/*!40111 SET @OLD_SQL_NOTES=@@SQL_NOTES, SQL_NOTES=0 */;

/*!40000 ALTER TABLE `tblknowledgebasecats` DISABLE KEYS */;
/*!40000 ALTER TABLE `tblknowledgebasecats` ENABLE KEYS */;
/*!40103 SET TIME_ZONE=@OLD_TIME_ZONE */;

/*!40101 SET SQL_MODE=@OLD_SQL_MODE */;
/*!40014 SET FOREIGN_KEY_CHECKS=@OLD_FOREIGN_KEY_CHECKS */;
/*!40111 SET SQL_NOTES=@OLD_SQL_NOTES */;

install/tbltld_category_pivot.data.sql000064400000331335147361027270014267 0ustar00/*!40103 SET @OLD_TIME_ZONE=@@TIME_ZONE */;
/*!40103 SET TIME_ZONE='+00:00' */;
/*!40014 SET @OLD_FOREIGN_KEY_CHECKS=@@FOREIGN_KEY_CHECKS, FOREIGN_KEY_CHECKS=0 */;
/*!40101 SET @OLD_SQL_MODE=@@SQL_MODE, SQL_MODE='NO_AUTO_VALUE_ON_ZERO' */;
/*!40111 SET @OLD_SQL_NOTES=@@SQL_NOTES, SQL_NOTES=0 */;

/*!40000 ALTER TABLE `tbltld_category_pivot` DISABLE KEYS */;
INSERT INTO `tbltld_category_pivot` VALUES (1,1,1,'2018-04-18 10:21:24','2018-04-18 10:21:24'),(2,1,2,'2018-04-18 10:21:24','2018-04-18 10:21:24'),(3,1,3,'2018-04-18 10:21:24','2018-04-18 10:21:24'),(4,2,4,'2018-04-18 10:21:24','2018-04-18 10:21:24'),(5,3,5,'2018-04-18 10:21:24','2018-04-18 10:21:24'),(6,4,6,'2018-04-18 10:21:24','2018-04-18 10:21:24'),(7,5,4,'2018-04-18 10:21:24','2018-04-18 10:21:24'),(8,5,7,'2018-04-18 10:21:24','2018-04-18 10:21:24'),(9,6,1,'2018-04-18 10:21:24','2018-04-18 10:21:24'),(10,6,2,'2018-04-18 10:21:24','2018-04-18 10:21:24'),(11,6,3,'2018-04-18 10:21:24','2018-04-18 10:21:24'),(12,7,8,'2018-04-18 10:21:24','2018-04-18 10:21:24'),(13,7,9,'2018-04-18 10:21:24','2018-04-18 10:21:24'),(14,7,1,'2018-04-18 10:21:24','2018-04-18 10:21:24'),(15,8,10,'2018-04-18 10:21:24','2018-04-18 10:21:24'),(16,8,5,'2018-04-18 10:21:24','2018-04-18 10:21:24'),(17,9,11,'2018-04-18 10:21:24','2018-04-18 10:21:24'),(18,9,1,'2018-04-18 10:21:24','2018-04-18 10:21:24'),(19,9,10,'2018-04-18 10:21:24','2018-04-18 10:21:24'),(20,9,5,'2018-04-18 10:21:24','2018-04-18 10:21:24'),(21,10,1,'2018-04-18 10:21:24','2018-04-18 10:21:24'),(22,10,2,'2018-04-18 10:21:24','2018-04-18 10:21:24'),(23,10,3,'2018-04-18 10:21:24','2018-04-18 10:21:24'),(24,11,12,'2018-04-18 10:21:24','2018-04-18 10:21:24'),(25,12,13,'2018-04-18 10:21:24','2018-04-18 10:21:24'),(26,13,14,'2018-04-18 10:21:24','2018-04-18 10:21:24'),(27,13,11,'2018-04-18 10:21:24','2018-04-18 10:21:24'),(28,13,1,'2018-04-18 10:21:24','2018-04-18 10:21:24'),(29,13,13,'2018-04-18 10:21:24','2018-04-18 10:21:24'),(30,14,12,'2018-04-18 10:21:24','2018-04-18 10:21:24'),(31,15,15,'2018-04-18 10:21:24','2018-04-18 10:21:24'),(32,16,16,'2018-04-18 10:21:24','2018-04-18 10:21:24'),(33,17,4,'2018-04-18 10:21:24','2018-04-18 10:21:24'),(34,18,6,'2018-04-18 10:21:24','2018-04-18 10:21:24'),(35,19,4,'2018-04-18 10:21:24','2018-04-18 10:21:24'),(36,20,15,'2018-04-18 10:21:24','2018-04-18 10:21:24'),(37,20,9,'2018-04-18 10:21:24','2018-04-18 10:21:24'),(38,20,1,'2018-04-18 10:21:24','2018-04-18 10:21:24'),(39,21,4,'2018-04-18 10:21:24','2018-04-18 10:21:24'),(40,22,11,'2018-04-18 10:21:24','2018-04-18 10:21:24'),(41,22,13,'2018-04-18 10:21:24','2018-04-18 10:21:24'),(42,23,6,'2018-04-18 10:21:24','2018-04-18 10:21:24'),(43,24,4,'2018-04-18 10:21:24','2018-04-18 10:21:24'),(44,24,7,'2018-04-18 10:21:24','2018-04-18 10:21:24'),(45,24,2,'2018-04-18 10:21:24','2018-04-18 10:21:24'),(46,25,6,'2018-04-18 10:21:24','2018-04-18 10:21:24'),(47,26,15,'2018-04-18 10:21:24','2018-04-18 10:21:24'),(48,27,17,'2018-04-18 10:21:24','2018-04-18 10:21:24'),(49,28,11,'2018-04-18 10:21:24','2018-04-18 10:21:24'),(50,28,18,'2018-04-18 10:21:24','2018-04-18 10:21:24'),(51,28,5,'2018-04-18 10:21:24','2018-04-18 10:21:24'),(52,29,11,'2018-04-18 10:21:24','2018-04-18 10:21:24'),(53,29,5,'2018-04-18 10:21:24','2018-04-18 10:21:24'),(54,29,19,'2018-04-18 10:21:24','2018-04-18 10:21:24'),(55,30,6,'2018-04-18 10:21:24','2018-04-18 10:21:24'),(56,31,4,'2018-04-18 10:21:24','2018-04-18 10:21:24'),(57,31,20,'2018-04-18 10:21:24','2018-04-18 10:21:24'),(58,32,13,'2018-04-18 10:21:24','2018-04-18 10:21:24'),(59,33,9,'2018-04-18 10:21:24','2018-04-18 10:21:24'),(60,33,1,'2018-04-18 10:21:24','2018-04-18 10:21:24'),(61,33,5,'2018-04-18 10:21:24','2018-04-18 10:21:24'),(62,34,11,'2018-04-18 10:21:24','2018-04-18 10:21:24'),(63,34,5,'2018-04-18 10:21:24','2018-04-18 10:21:24'),(64,35,17,'2018-04-18 10:21:24','2018-04-18 10:21:24'),(65,36,11,'2018-04-18 10:21:24','2018-04-18 10:21:24'),(66,36,13,'2018-04-18 10:21:24','2018-04-18 10:21:24'),(67,37,14,'2018-04-18 10:21:24','2018-04-18 10:21:24'),(68,37,12,'2018-04-18 10:21:24','2018-04-18 10:21:24'),(69,37,11,'2018-04-18 10:21:24','2018-04-18 10:21:24'),(70,38,4,'2018-04-18 10:21:24','2018-04-18 10:21:24'),(71,38,9,'2018-04-18 10:21:24','2018-04-18 10:21:24'),(72,38,7,'2018-04-18 10:21:24','2018-04-18 10:21:24'),(73,38,1,'2018-04-18 10:21:24','2018-04-18 10:21:24'),(74,39,15,'2018-04-18 10:21:24','2018-04-18 10:21:24'),(75,39,11,'2018-04-18 10:21:24','2018-04-18 10:21:24'),(76,39,9,'2018-04-18 10:21:24','2018-04-18 10:21:24'),(77,39,1,'2018-04-18 10:21:24','2018-04-18 10:21:24'),(78,40,4,'2018-04-18 10:21:24','2018-04-18 10:21:24'),(79,40,7,'2018-04-18 10:21:24','2018-04-18 10:21:24'),(80,41,11,'2018-04-18 10:21:24','2018-04-18 10:21:24'),(81,41,5,'2018-04-18 10:21:24','2018-04-18 10:21:24'),(82,42,4,'2018-04-18 10:21:24','2018-04-18 10:21:24'),(83,43,11,'2018-04-18 10:21:24','2018-04-18 10:21:24'),(84,43,21,'2018-04-18 10:21:24','2018-04-18 10:21:24'),(85,44,12,'2018-04-18 10:21:24','2018-04-18 10:21:24'),(86,45,14,'2018-04-18 10:21:24','2018-04-18 10:21:24'),(87,46,14,'2018-04-18 10:21:24','2018-04-18 10:21:24'),(88,46,11,'2018-04-18 10:21:24','2018-04-18 10:21:24'),(89,46,21,'2018-04-18 10:21:24','2018-04-18 10:21:24'),(90,47,11,'2018-04-18 10:21:24','2018-04-18 10:21:24'),(91,47,5,'2018-04-18 10:21:24','2018-04-18 10:21:24'),(92,47,21,'2018-04-18 10:21:24','2018-04-18 10:21:24'),(93,48,5,'2018-04-18 10:21:24','2018-04-18 10:21:24'),(94,48,21,'2018-04-18 10:21:25','2018-04-18 10:21:25'),(95,49,1,'2018-04-18 10:21:25','2018-04-18 10:21:25'),(96,49,2,'2018-04-18 10:21:25','2018-04-18 10:21:25'),(97,49,3,'2018-04-18 10:21:25','2018-04-18 10:21:25'),(98,50,11,'2018-04-18 10:21:25','2018-04-18 10:21:25'),(99,50,13,'2018-04-18 10:21:25','2018-04-18 10:21:25'),(100,51,14,'2018-04-18 10:21:25','2018-04-18 10:21:25'),(101,51,11,'2018-04-18 10:21:25','2018-04-18 10:21:25'),(102,51,22,'2018-04-18 10:21:25','2018-04-18 10:21:25'),(103,52,12,'2018-04-18 10:21:25','2018-04-18 10:21:25'),(104,52,10,'2018-04-18 10:21:25','2018-04-18 10:21:25'),(105,52,5,'2018-04-18 10:21:25','2018-04-18 10:21:25'),(106,53,10,'2018-04-18 10:21:25','2018-04-18 10:21:25'),(107,53,5,'2018-04-18 10:21:25','2018-04-18 10:21:25'),(108,54,11,'2018-04-18 10:21:25','2018-04-18 10:21:25'),(109,54,23,'2018-04-18 10:21:25','2018-04-18 10:21:25'),(110,54,9,'2018-04-18 10:21:25','2018-04-18 10:21:25'),(111,54,6,'2018-04-18 10:21:25','2018-04-18 10:21:25'),(112,54,1,'2018-04-18 10:21:25','2018-04-18 10:21:25'),(113,55,1,'2018-04-18 10:21:25','2018-04-18 10:21:25'),(114,55,2,'2018-04-18 10:21:25','2018-04-18 10:21:25'),(115,55,3,'2018-04-18 10:21:25','2018-04-18 10:21:25'),(116,56,12,'2018-04-18 10:21:25','2018-04-18 10:21:25'),(117,56,6,'2018-04-18 10:21:25','2018-04-18 10:21:25'),(118,57,9,'2018-04-18 10:21:25','2018-04-18 10:21:25'),(119,57,1,'2018-04-18 10:21:25','2018-04-18 10:21:25'),(120,57,21,'2018-04-18 10:21:25','2018-04-18 10:21:25'),(121,58,11,'2018-04-18 10:21:25','2018-04-18 10:21:25'),(122,58,22,'2018-04-18 10:21:25','2018-04-18 10:21:25'),(123,58,24,'2018-04-18 10:21:25','2018-04-18 10:21:25'),(124,59,11,'2018-04-18 10:21:25','2018-04-18 10:21:25'),(125,59,22,'2018-04-18 10:21:25','2018-04-18 10:21:25'),(126,59,24,'2018-04-18 10:21:25','2018-04-18 10:21:25'),(127,60,15,'2018-04-18 10:21:25','2018-04-18 10:21:25'),(128,61,6,'2018-04-18 10:21:25','2018-04-18 10:21:25'),(129,62,12,'2018-04-18 10:21:25','2018-04-18 10:21:25'),(130,63,4,'2018-04-18 10:21:25','2018-04-18 10:21:25'),(131,64,4,'2018-04-18 10:21:25','2018-04-18 10:21:25'),(132,64,7,'2018-04-18 10:21:25','2018-04-18 10:21:25'),(133,65,11,'2018-04-18 10:21:25','2018-04-18 10:21:25'),(134,65,13,'2018-04-18 10:21:25','2018-04-18 10:21:25'),(135,66,23,'2018-04-18 10:21:25','2018-04-18 10:21:25'),(136,67,17,'2018-04-18 10:21:25','2018-04-18 10:21:25'),(137,68,12,'2018-04-18 10:21:25','2018-04-18 10:21:25'),(138,68,6,'2018-04-18 10:21:25','2018-04-18 10:21:25'),(139,69,9,'2018-04-18 10:21:25','2018-04-18 10:21:25'),(140,69,1,'2018-04-18 10:21:25','2018-04-18 10:21:25'),(141,69,17,'2018-04-18 10:21:25','2018-04-18 10:21:25'),(142,70,11,'2018-04-18 10:21:25','2018-04-18 10:21:25'),(143,70,25,'2018-04-18 10:21:25','2018-04-18 10:21:25'),(144,71,13,'2018-04-18 10:21:25','2018-04-18 10:21:25'),(145,72,9,'2018-04-18 10:21:25','2018-04-18 10:21:25'),(146,72,1,'2018-04-18 10:21:25','2018-04-18 10:21:25'),(147,72,25,'2018-04-18 10:21:25','2018-04-18 10:21:25'),(148,72,21,'2018-04-18 10:21:25','2018-04-18 10:21:25'),(149,73,9,'2018-04-18 10:21:25','2018-04-18 10:21:25'),(150,73,1,'2018-04-18 10:21:25','2018-04-18 10:21:25'),(151,73,21,'2018-04-18 10:21:25','2018-04-18 10:21:25'),(152,74,11,'2018-04-18 10:21:25','2018-04-18 10:21:25'),(153,74,25,'2018-04-18 10:21:25','2018-04-18 10:21:25'),(154,75,13,'2018-04-18 10:21:25','2018-04-18 10:21:25'),(155,76,9,'2018-04-18 10:21:25','2018-04-18 10:21:25'),(156,76,1,'2018-04-18 10:21:25','2018-04-18 10:21:25'),(157,77,4,'2018-04-18 10:21:25','2018-04-18 10:21:25'),(158,78,13,'2018-04-18 10:21:25','2018-04-18 10:21:25'),(159,78,17,'2018-04-18 10:21:25','2018-04-18 10:21:25'),(160,79,9,'2018-04-18 10:21:25','2018-04-18 10:21:25'),(161,79,1,'2018-04-18 10:21:25','2018-04-18 10:21:25'),(162,79,21,'2018-04-18 10:21:25','2018-04-18 10:21:25'),(163,80,11,'2018-04-18 10:21:25','2018-04-18 10:21:25'),(164,80,22,'2018-04-18 10:21:25','2018-04-18 10:21:25'),(165,80,19,'2018-04-18 10:21:25','2018-04-18 10:21:25'),(166,81,9,'2018-04-18 10:21:25','2018-04-18 10:21:25'),(167,81,1,'2018-04-18 10:21:25','2018-04-18 10:21:25'),(168,81,17,'2018-04-18 10:21:25','2018-04-18 10:21:25'),(169,82,11,'2018-04-18 10:21:25','2018-04-18 10:21:25'),(170,82,21,'2018-04-18 10:21:25','2018-04-18 10:21:25'),(171,83,10,'2018-04-18 10:21:25','2018-04-18 10:21:25'),(172,84,17,'2018-04-18 10:21:25','2018-04-18 10:21:25'),(173,85,14,'2018-04-18 10:21:25','2018-04-18 10:21:25'),(174,85,11,'2018-04-18 10:21:25','2018-04-18 10:21:25'),(175,85,22,'2018-04-18 10:21:25','2018-04-18 10:21:25'),(176,86,15,'2018-04-18 10:21:25','2018-04-18 10:21:25'),(177,87,6,'2018-04-18 10:21:25','2018-04-18 10:21:25'),(178,88,9,'2018-04-18 10:21:25','2018-04-18 10:21:25'),(179,88,1,'2018-04-18 10:21:25','2018-04-18 10:21:25'),(180,88,21,'2018-04-18 10:21:25','2018-04-18 10:21:25'),(181,89,17,'2018-04-18 10:21:25','2018-04-18 10:21:25'),(182,90,4,'2018-04-18 10:21:25','2018-04-18 10:21:25'),(183,90,7,'2018-04-18 10:21:25','2018-04-18 10:21:25'),(184,91,14,'2018-04-18 10:21:25','2018-04-18 10:21:25'),(185,91,11,'2018-04-18 10:21:25','2018-04-18 10:21:25'),(186,91,6,'2018-04-18 10:21:25','2018-04-18 10:21:25'),(187,91,22,'2018-04-18 10:21:25','2018-04-18 10:21:25'),(188,92,11,'2018-04-18 10:21:25','2018-04-18 10:21:25'),(189,92,10,'2018-04-18 10:21:25','2018-04-18 10:21:25'),(190,92,5,'2018-04-18 10:21:25','2018-04-18 10:21:25'),(191,93,13,'2018-04-18 10:21:25','2018-04-18 10:21:25'),(192,94,6,'2018-04-18 10:21:25','2018-04-18 10:21:25'),(193,95,6,'2018-04-18 10:21:25','2018-04-18 10:21:25'),(194,96,12,'2018-04-18 10:21:25','2018-04-18 10:21:25'),(195,97,11,'2018-04-18 10:21:25','2018-04-18 10:21:25'),(196,97,9,'2018-04-18 10:21:25','2018-04-18 10:21:25'),(197,97,1,'2018-04-18 10:21:25','2018-04-18 10:21:25'),(198,97,21,'2018-04-18 10:21:25','2018-04-18 10:21:25'),(199,98,9,'2018-04-18 10:21:25','2018-04-18 10:21:25'),(200,98,1,'2018-04-18 10:21:25','2018-04-18 10:21:25'),(201,98,18,'2018-04-18 10:21:25','2018-04-18 10:21:25'),(202,98,5,'2018-04-18 10:21:25','2018-04-18 10:21:25'),(203,99,15,'2018-04-18 10:21:25','2018-04-18 10:21:25'),(204,99,11,'2018-04-18 10:21:25','2018-04-18 10:21:25'),(205,100,11,'2018-04-18 10:21:25','2018-04-18 10:21:25'),(206,100,21,'2018-04-18 10:21:25','2018-04-18 10:21:25'),(207,101,9,'2018-04-18 10:21:25','2018-04-18 10:21:25'),(208,101,1,'2018-04-18 10:21:25','2018-04-18 10:21:25'),(209,101,13,'2018-04-18 10:21:25','2018-04-18 10:21:25'),(210,102,14,'2018-04-18 10:21:25','2018-04-18 10:21:25'),(211,103,4,'2018-04-18 10:21:25','2018-04-18 10:21:25'),(212,103,7,'2018-04-18 10:21:25','2018-04-18 10:21:25'),(213,104,12,'2018-04-18 10:21:25','2018-04-18 10:21:25'),(214,104,6,'2018-04-18 10:21:25','2018-04-18 10:21:25'),(215,105,4,'2018-04-18 10:21:25','2018-04-18 10:21:25'),(216,105,7,'2018-04-18 10:21:25','2018-04-18 10:21:25'),(217,106,9,'2018-04-18 10:21:25','2018-04-18 10:21:25'),(218,106,1,'2018-04-18 10:21:25','2018-04-18 10:21:25'),(219,106,5,'2018-04-18 10:21:25','2018-04-18 10:21:25'),(220,107,11,'2018-04-18 10:21:25','2018-04-18 10:21:25'),(221,107,23,'2018-04-18 10:21:25','2018-04-18 10:21:25'),(222,108,11,'2018-04-18 10:21:25','2018-04-18 10:21:25'),(223,108,22,'2018-04-18 10:21:25','2018-04-18 10:21:25'),(224,109,9,'2018-04-18 10:21:25','2018-04-18 10:21:25'),(225,109,1,'2018-04-18 10:21:25','2018-04-18 10:21:25'),(226,109,22,'2018-04-18 10:21:25','2018-04-18 10:21:25'),(227,110,9,'2018-04-18 10:21:25','2018-04-18 10:21:25'),(228,110,1,'2018-04-18 10:21:25','2018-04-18 10:21:25'),(229,110,22,'2018-04-18 10:21:25','2018-04-18 10:21:25'),(230,110,25,'2018-04-18 10:21:25','2018-04-18 10:21:25'),(231,111,6,'2018-04-18 10:21:25','2018-04-18 10:21:25'),(232,112,11,'2018-04-18 10:21:25','2018-04-18 10:21:25'),(233,112,9,'2018-04-18 10:21:25','2018-04-18 10:21:25'),(234,112,1,'2018-04-18 10:21:25','2018-04-18 10:21:25'),(235,112,10,'2018-04-18 10:21:25','2018-04-18 10:21:25'),(236,113,22,'2018-04-18 10:21:26','2018-04-18 10:21:26'),(237,114,11,'2018-04-18 10:21:26','2018-04-18 10:21:26'),(238,114,9,'2018-04-18 10:21:26','2018-04-18 10:21:26'),(239,114,1,'2018-04-18 10:21:26','2018-04-18 10:21:26'),(240,114,22,'2018-04-18 10:21:26','2018-04-18 10:21:26'),(241,115,11,'2018-04-18 10:21:26','2018-04-18 10:21:26'),(242,115,1,'2018-04-18 10:21:26','2018-04-18 10:21:26'),(243,115,22,'2018-04-18 10:21:26','2018-04-18 10:21:26'),(244,116,15,'2018-04-18 10:21:26','2018-04-18 10:21:26'),(245,116,5,'2018-04-18 10:21:26','2018-04-18 10:21:26'),(246,117,15,'2018-04-18 10:21:26','2018-04-18 10:21:26'),(247,117,9,'2018-04-18 10:21:26','2018-04-18 10:21:26'),(248,117,1,'2018-04-18 10:21:26','2018-04-18 10:21:26'),(249,117,5,'2018-04-18 10:21:26','2018-04-18 10:21:26'),(250,118,11,'2018-04-18 10:21:26','2018-04-18 10:21:26'),(251,118,21,'2018-04-18 10:21:26','2018-04-18 10:21:26'),(252,119,11,'2018-04-18 10:21:26','2018-04-18 10:21:26'),(253,119,18,'2018-04-18 10:21:26','2018-04-18 10:21:26'),(254,120,11,'2018-04-18 10:21:26','2018-04-18 10:21:26'),(255,120,1,'2018-04-18 10:21:26','2018-04-18 10:21:26'),(256,120,10,'2018-04-18 10:21:26','2018-04-18 10:21:26'),(257,121,11,'2018-04-18 10:21:26','2018-04-18 10:21:26'),(258,121,25,'2018-04-18 10:21:26','2018-04-18 10:21:26'),(259,122,6,'2018-04-18 10:21:26','2018-04-18 10:21:26'),(260,123,11,'2018-04-18 10:21:26','2018-04-18 10:21:26'),(261,123,23,'2018-04-18 10:21:26','2018-04-18 10:21:26'),(262,123,9,'2018-04-18 10:21:26','2018-04-18 10:21:26'),(263,123,1,'2018-04-18 10:21:26','2018-04-18 10:21:26'),(264,123,5,'2018-04-18 10:21:26','2018-04-18 10:21:26'),(265,124,12,'2018-04-18 10:21:26','2018-04-18 10:21:26'),(266,125,4,'2018-04-18 10:21:26','2018-04-18 10:21:26'),(267,125,9,'2018-04-18 10:21:26','2018-04-18 10:21:26'),(268,125,2,'2018-04-18 10:21:26','2018-04-18 10:21:26'),(269,126,15,'2018-04-18 10:21:26','2018-04-18 10:21:26'),(270,126,9,'2018-04-18 10:21:26','2018-04-18 10:21:26'),(271,126,1,'2018-04-18 10:21:26','2018-04-18 10:21:26'),(272,127,9,'2018-04-18 10:21:26','2018-04-18 10:21:26'),(273,127,1,'2018-04-18 10:21:26','2018-04-18 10:21:26'),(274,127,13,'2018-04-18 10:21:26','2018-04-18 10:21:26'),(275,128,10,'2018-04-18 10:21:26','2018-04-18 10:21:26'),(276,129,4,'2018-04-18 10:21:26','2018-04-18 10:21:26'),(277,129,7,'2018-04-18 10:21:26','2018-04-18 10:21:26'),(278,130,11,'2018-04-18 10:21:26','2018-04-18 10:21:26'),(279,130,22,'2018-04-18 10:21:26','2018-04-18 10:21:26'),(280,131,11,'2018-04-18 10:21:26','2018-04-18 10:21:26'),(281,131,19,'2018-04-18 10:21:26','2018-04-18 10:21:26'),(282,132,9,'2018-04-18 10:21:26','2018-04-18 10:21:26'),(283,132,1,'2018-04-18 10:21:26','2018-04-18 10:21:26'),(284,132,21,'2018-04-18 10:21:26','2018-04-18 10:21:26'),(285,133,6,'2018-04-18 10:21:26','2018-04-18 10:21:26'),(286,134,17,'2018-04-18 10:21:26','2018-04-18 10:21:26'),(287,135,9,'2018-04-18 10:21:26','2018-04-18 10:21:26'),(288,135,1,'2018-04-18 10:21:26','2018-04-18 10:21:26'),(289,135,22,'2018-04-18 10:21:26','2018-04-18 10:21:26'),(290,136,11,'2018-04-18 10:21:26','2018-04-18 10:21:26'),(291,136,1,'2018-04-18 10:21:26','2018-04-18 10:21:26'),(292,136,13,'2018-04-18 10:21:26','2018-04-18 10:21:26'),(293,137,11,'2018-04-18 10:21:26','2018-04-18 10:21:26'),(294,137,6,'2018-04-18 10:21:26','2018-04-18 10:21:26'),(295,138,23,'2018-04-18 10:21:26','2018-04-18 10:21:26'),(296,138,5,'2018-04-18 10:21:26','2018-04-18 10:21:26'),(297,139,11,'2018-04-18 10:21:26','2018-04-18 10:21:26'),(298,139,1,'2018-04-18 10:21:26','2018-04-18 10:21:26'),(299,139,5,'2018-04-18 10:21:26','2018-04-18 10:21:26'),(300,140,11,'2018-04-18 10:21:26','2018-04-18 10:21:26'),(301,140,9,'2018-04-18 10:21:26','2018-04-18 10:21:26'),(302,140,1,'2018-04-18 10:21:26','2018-04-18 10:21:26'),(303,140,5,'2018-04-18 10:21:26','2018-04-18 10:21:26'),(304,141,19,'2018-04-18 10:21:26','2018-04-18 10:21:26'),(305,142,11,'2018-04-18 10:21:26','2018-04-18 10:21:26'),(306,142,1,'2018-04-18 10:21:26','2018-04-18 10:21:26'),(307,142,5,'2018-04-18 10:21:26','2018-04-18 10:21:26'),(308,143,9,'2018-04-18 10:21:26','2018-04-18 10:21:26'),(309,143,1,'2018-04-18 10:21:26','2018-04-18 10:21:26'),(310,143,21,'2018-04-18 10:21:26','2018-04-18 10:21:26'),(311,144,11,'2018-04-18 10:21:26','2018-04-18 10:21:26'),(312,144,19,'2018-04-18 10:21:26','2018-04-18 10:21:26'),(313,145,9,'2018-04-18 10:21:26','2018-04-18 10:21:26'),(314,145,1,'2018-04-18 10:21:26','2018-04-18 10:21:26'),(315,145,13,'2018-04-18 10:21:26','2018-04-18 10:21:26'),(316,146,4,'2018-04-18 10:21:26','2018-04-18 10:21:26'),(317,146,7,'2018-04-18 10:21:26','2018-04-18 10:21:26'),(318,146,2,'2018-04-18 10:21:26','2018-04-18 10:21:26'),(319,147,4,'2018-04-18 10:21:26','2018-04-18 10:21:26'),(320,147,7,'2018-04-18 10:21:26','2018-04-18 10:21:26'),(321,148,4,'2018-04-18 10:21:26','2018-04-18 10:21:26'),(322,148,7,'2018-04-18 10:21:26','2018-04-18 10:21:26'),(323,149,4,'2018-04-18 10:21:26','2018-04-18 10:21:26'),(324,149,7,'2018-04-18 10:21:26','2018-04-18 10:21:26'),(325,149,2,'2018-04-18 10:21:26','2018-04-18 10:21:26'),(326,150,15,'2018-04-18 10:21:26','2018-04-18 10:21:26'),(327,150,9,'2018-04-18 10:21:26','2018-04-18 10:21:26'),(328,150,1,'2018-04-18 10:21:26','2018-04-18 10:21:26'),(329,151,4,'2018-04-18 10:21:26','2018-04-18 10:21:26'),(330,152,4,'2018-04-18 10:21:26','2018-04-18 10:21:26'),(331,152,7,'2018-04-18 10:21:26','2018-04-18 10:21:26'),(332,153,4,'2018-04-18 10:21:26','2018-04-18 10:21:26'),(333,153,7,'2018-04-18 10:21:26','2018-04-18 10:21:26'),(334,154,11,'2018-04-18 10:21:26','2018-04-18 10:21:26'),(335,154,24,'2018-04-18 10:21:26','2018-04-18 10:21:26'),(336,155,9,'2018-04-18 10:21:26','2018-04-18 10:21:26'),(337,155,1,'2018-04-18 10:21:26','2018-04-18 10:21:26'),(338,155,19,'2018-04-18 10:21:26','2018-04-18 10:21:26'),(339,156,23,'2018-04-18 10:21:26','2018-04-18 10:21:26'),(340,156,9,'2018-04-18 10:21:26','2018-04-18 10:21:26'),(341,156,1,'2018-04-18 10:21:26','2018-04-18 10:21:26'),(342,157,8,'2018-04-18 10:21:26','2018-04-18 10:21:26'),(343,157,11,'2018-04-18 10:21:26','2018-04-18 10:21:26'),(344,158,6,'2018-04-18 10:21:26','2018-04-18 10:21:26'),(345,159,9,'2018-04-18 10:21:26','2018-04-18 10:21:26'),(346,159,1,'2018-04-18 10:21:26','2018-04-18 10:21:26'),(347,160,4,'2018-04-18 10:21:26','2018-04-18 10:21:26'),(348,161,4,'2018-04-18 10:21:26','2018-04-18 10:21:26'),(349,161,7,'2018-04-18 10:21:26','2018-04-18 10:21:26'),(350,162,4,'2018-04-18 10:21:26','2018-04-18 10:21:26'),(351,162,20,'2018-04-18 10:21:26','2018-04-18 10:21:26'),(352,163,4,'2018-04-18 10:21:26','2018-04-18 10:21:26'),(353,163,20,'2018-04-18 10:21:26','2018-04-18 10:21:26'),(354,164,4,'2018-04-18 10:21:26','2018-04-18 10:21:26'),(355,164,20,'2018-04-18 10:21:26','2018-04-18 10:21:26'),(356,165,4,'2018-04-18 10:21:26','2018-04-18 10:21:26'),(357,165,7,'2018-04-18 10:21:26','2018-04-18 10:21:26'),(358,166,4,'2018-04-18 10:21:26','2018-04-18 10:21:26'),(359,166,20,'2018-04-18 10:21:26','2018-04-18 10:21:26'),(360,167,4,'2018-04-18 10:21:26','2018-04-18 10:21:26'),(361,167,7,'2018-04-18 10:21:26','2018-04-18 10:21:26'),(362,168,4,'2018-04-18 10:21:26','2018-04-18 10:21:26'),(363,169,4,'2018-04-18 10:21:26','2018-04-18 10:21:26'),(364,170,4,'2018-04-18 10:21:26','2018-04-18 10:21:26'),(365,170,7,'2018-04-18 10:21:26','2018-04-18 10:21:26'),(366,170,20,'2018-04-18 10:21:26','2018-04-18 10:21:26'),(367,171,4,'2018-04-18 10:21:26','2018-04-18 10:21:26'),(368,171,20,'2018-04-18 10:21:26','2018-04-18 10:21:26'),(369,172,11,'2018-04-18 10:21:26','2018-04-18 10:21:26'),(370,172,9,'2018-04-18 10:21:26','2018-04-18 10:21:26'),(371,172,1,'2018-04-18 10:21:26','2018-04-18 10:21:26'),(372,172,13,'2018-04-18 10:21:26','2018-04-18 10:21:26'),(373,173,15,'2018-04-18 10:21:26','2018-04-18 10:21:26'),(374,173,9,'2018-04-18 10:21:26','2018-04-18 10:21:26'),(375,173,1,'2018-04-18 10:21:26','2018-04-18 10:21:26'),(376,174,21,'2018-04-18 10:21:26','2018-04-18 10:21:26'),(377,175,9,'2018-04-18 10:21:26','2018-04-18 10:21:26'),(378,175,1,'2018-04-18 10:21:26','2018-04-18 10:21:26'),(379,175,21,'2018-04-18 10:21:26','2018-04-18 10:21:26'),(380,175,19,'2018-04-18 10:21:26','2018-04-18 10:21:26'),(381,176,19,'2018-04-18 10:21:26','2018-04-18 10:21:26'),(382,177,11,'2018-04-18 10:21:26','2018-04-18 10:21:26'),(383,177,9,'2018-04-18 10:21:26','2018-04-18 10:21:26'),(384,177,1,'2018-04-18 10:21:26','2018-04-18 10:21:26'),(385,177,18,'2018-04-18 10:21:27','2018-04-18 10:21:27'),(386,178,9,'2018-04-18 10:21:27','2018-04-18 10:21:27'),(387,178,1,'2018-04-18 10:21:27','2018-04-18 10:21:27'),(388,178,5,'2018-04-18 10:21:27','2018-04-18 10:21:27'),(389,179,11,'2018-04-18 10:21:27','2018-04-18 10:21:27'),(390,179,1,'2018-04-18 10:21:27','2018-04-18 10:21:27'),(391,179,5,'2018-04-18 10:21:27','2018-04-18 10:21:27'),(392,180,13,'2018-04-18 10:21:27','2018-04-18 10:21:27'),(393,181,9,'2018-04-18 10:21:27','2018-04-18 10:21:27'),(394,181,1,'2018-04-18 10:21:27','2018-04-18 10:21:27'),(395,181,5,'2018-04-18 10:21:27','2018-04-18 10:21:27'),(396,182,23,'2018-04-18 10:21:27','2018-04-18 10:21:27'),(397,182,9,'2018-04-18 10:21:27','2018-04-18 10:21:27'),(398,182,1,'2018-04-18 10:21:27','2018-04-18 10:21:27'),(399,182,22,'2018-04-18 10:21:27','2018-04-18 10:21:27'),(400,183,13,'2018-04-18 10:21:27','2018-04-18 10:21:27'),(401,184,11,'2018-04-18 10:21:27','2018-04-18 10:21:27'),(402,184,9,'2018-04-18 10:21:27','2018-04-18 10:21:27'),(403,184,1,'2018-04-18 10:21:27','2018-04-18 10:21:27'),(404,184,17,'2018-04-18 10:21:27','2018-04-18 10:21:27'),(405,185,15,'2018-04-18 10:21:27','2018-04-18 10:21:27'),(406,185,12,'2018-04-18 10:21:27','2018-04-18 10:21:27'),(407,185,11,'2018-04-18 10:21:27','2018-04-18 10:21:27'),(408,186,12,'2018-04-18 10:21:27','2018-04-18 10:21:27'),(409,187,9,'2018-04-18 10:21:27','2018-04-18 10:21:27'),(410,187,6,'2018-04-18 10:21:27','2018-04-18 10:21:27'),(411,187,1,'2018-04-18 10:21:27','2018-04-18 10:21:27'),(412,188,21,'2018-04-18 10:21:27','2018-04-18 10:21:27'),(413,189,11,'2018-04-18 10:21:27','2018-04-18 10:21:27'),(414,189,21,'2018-04-18 10:21:27','2018-04-18 10:21:27'),(415,190,8,'2018-04-18 10:21:27','2018-04-18 10:21:27'),(416,191,12,'2018-04-18 10:21:27','2018-04-18 10:21:27'),(417,191,11,'2018-04-18 10:21:27','2018-04-18 10:21:27'),(418,191,10,'2018-04-18 10:21:27','2018-04-18 10:21:27'),(419,191,5,'2018-04-18 10:21:27','2018-04-18 10:21:27'),(420,192,1,'2018-04-18 10:21:27','2018-04-18 10:21:27'),(421,192,2,'2018-04-18 10:21:27','2018-04-18 10:21:27'),(422,192,3,'2018-04-18 10:21:27','2018-04-18 10:21:27'),(423,193,4,'2018-04-18 10:21:27','2018-04-18 10:21:27'),(424,194,11,'2018-04-18 10:21:27','2018-04-18 10:21:27'),(425,194,1,'2018-04-18 10:21:27','2018-04-18 10:21:27'),(426,194,10,'2018-04-18 10:21:27','2018-04-18 10:21:27'),(427,195,11,'2018-04-18 10:21:27','2018-04-18 10:21:27'),(428,195,1,'2018-04-18 10:21:27','2018-04-18 10:21:27'),(429,195,10,'2018-04-18 10:21:27','2018-04-18 10:21:27'),(430,196,10,'2018-04-18 10:21:27','2018-04-18 10:21:27'),(431,196,5,'2018-04-18 10:21:27','2018-04-18 10:21:27'),(432,197,11,'2018-04-18 10:21:27','2018-04-18 10:21:27'),(433,197,22,'2018-04-18 10:21:27','2018-04-18 10:21:27'),(434,197,24,'2018-04-18 10:21:27','2018-04-18 10:21:27'),(435,198,25,'2018-04-18 10:21:27','2018-04-18 10:21:27'),(436,199,9,'2018-04-18 10:21:27','2018-04-18 10:21:27'),(437,199,1,'2018-04-18 10:21:27','2018-04-18 10:21:27'),(438,199,25,'2018-04-18 10:21:27','2018-04-18 10:21:27'),(439,200,6,'2018-04-18 10:21:27','2018-04-18 10:21:27'),(440,201,17,'2018-04-18 10:21:27','2018-04-18 10:21:27'),(441,202,13,'2018-04-18 10:21:27','2018-04-18 10:21:27'),(442,203,9,'2018-04-18 10:21:27','2018-04-18 10:21:27'),(443,203,1,'2018-04-18 10:21:27','2018-04-18 10:21:27'),(444,203,25,'2018-04-18 10:21:27','2018-04-18 10:21:27'),(445,204,11,'2018-04-18 10:21:27','2018-04-18 10:21:27'),(446,204,19,'2018-04-18 10:21:27','2018-04-18 10:21:27'),(447,205,13,'2018-04-18 10:21:27','2018-04-18 10:21:27'),(448,206,11,'2018-04-18 10:21:27','2018-04-18 10:21:27'),(449,206,9,'2018-04-18 10:21:27','2018-04-18 10:21:27'),(450,206,1,'2018-04-18 10:21:27','2018-04-18 10:21:27'),(451,206,13,'2018-04-18 10:21:27','2018-04-18 10:21:27'),(452,207,17,'2018-04-18 10:21:27','2018-04-18 10:21:27'),(453,208,5,'2018-04-18 10:21:27','2018-04-18 10:21:27'),(454,209,4,'2018-04-18 10:21:27','2018-04-18 10:21:27'),(455,209,7,'2018-04-18 10:21:27','2018-04-18 10:21:27'),(456,210,4,'2018-04-18 10:21:27','2018-04-18 10:21:27'),(457,210,20,'2018-04-18 10:21:27','2018-04-18 10:21:27'),(458,211,21,'2018-04-18 10:21:27','2018-04-18 10:21:27'),(459,212,11,'2018-04-18 10:21:27','2018-04-18 10:21:27'),(460,212,21,'2018-04-18 10:21:27','2018-04-18 10:21:27'),(461,213,8,'2018-04-18 10:21:27','2018-04-18 10:21:27'),(462,213,11,'2018-04-18 10:21:27','2018-04-18 10:21:27'),(463,214,11,'2018-04-18 10:21:27','2018-04-18 10:21:27'),(464,214,5,'2018-04-18 10:21:27','2018-04-18 10:21:27'),(465,215,9,'2018-04-18 10:21:27','2018-04-18 10:21:27'),(466,215,1,'2018-04-18 10:21:27','2018-04-18 10:21:27'),(467,215,13,'2018-04-18 10:21:27','2018-04-18 10:21:27'),(468,216,11,'2018-04-18 10:21:27','2018-04-18 10:21:27'),(469,216,1,'2018-04-18 10:21:27','2018-04-18 10:21:27'),(470,216,5,'2018-04-18 10:21:27','2018-04-18 10:21:27'),(471,217,11,'2018-04-18 10:21:27','2018-04-18 10:21:27'),(472,217,5,'2018-04-18 10:21:27','2018-04-18 10:21:27'),(473,218,6,'2018-04-18 10:21:27','2018-04-18 10:21:27'),(474,219,11,'2018-04-18 10:21:27','2018-04-18 10:21:27'),(475,219,5,'2018-04-18 10:21:27','2018-04-18 10:21:27'),(476,220,9,'2018-04-18 10:21:27','2018-04-18 10:21:27'),(477,220,1,'2018-04-18 10:21:27','2018-04-18 10:21:27'),(478,220,21,'2018-04-18 10:21:27','2018-04-18 10:21:27'),(479,221,11,'2018-04-18 10:21:27','2018-04-18 10:21:27'),(480,221,13,'2018-04-18 10:21:27','2018-04-18 10:21:27'),(481,222,11,'2018-04-18 10:21:27','2018-04-18 10:21:27'),(482,222,1,'2018-04-18 10:21:27','2018-04-18 10:21:27'),(483,222,19,'2018-04-18 10:21:27','2018-04-18 10:21:27'),(484,223,11,'2018-04-18 10:21:27','2018-04-18 10:21:27'),(485,223,1,'2018-04-18 10:21:27','2018-04-18 10:21:27'),(486,223,5,'2018-04-18 10:21:27','2018-04-18 10:21:27'),(487,224,9,'2018-04-18 10:21:27','2018-04-18 10:21:27'),(488,224,1,'2018-04-18 10:21:27','2018-04-18 10:21:27'),(489,224,5,'2018-04-18 10:21:27','2018-04-18 10:21:27'),(490,225,11,'2018-04-18 10:21:27','2018-04-18 10:21:27'),(491,225,1,'2018-04-18 10:21:27','2018-04-18 10:21:27'),(492,225,21,'2018-04-18 10:21:27','2018-04-18 10:21:27'),(493,226,22,'2018-04-18 10:21:27','2018-04-18 10:21:27'),(494,227,5,'2018-04-18 10:21:27','2018-04-18 10:21:27'),(495,227,19,'2018-04-18 10:21:27','2018-04-18 10:21:27'),(496,228,11,'2018-04-18 10:21:27','2018-04-18 10:21:27'),(497,228,5,'2018-04-18 10:21:27','2018-04-18 10:21:27'),(498,229,11,'2018-04-18 10:21:27','2018-04-18 10:21:27'),(499,229,22,'2018-04-18 10:21:27','2018-04-18 10:21:27'),(500,230,6,'2018-04-18 10:21:27','2018-04-18 10:21:27'),(501,231,9,'2018-04-18 10:21:27','2018-04-18 10:21:27'),(502,231,1,'2018-04-18 10:21:27','2018-04-18 10:21:27'),(503,231,19,'2018-04-18 10:21:27','2018-04-18 10:21:27'),(504,232,19,'2018-04-18 10:21:27','2018-04-18 10:21:27'),(505,233,6,'2018-04-18 10:21:27','2018-04-18 10:21:27'),(506,234,5,'2018-04-18 10:21:27','2018-04-18 10:21:27'),(507,234,19,'2018-04-18 10:21:27','2018-04-18 10:21:27'),(508,235,6,'2018-04-18 10:21:27','2018-04-18 10:21:27'),(509,236,6,'2018-04-18 10:21:27','2018-04-18 10:21:27'),(510,237,19,'2018-04-18 10:21:27','2018-04-18 10:21:27'),(511,238,6,'2018-04-18 10:21:27','2018-04-18 10:21:27'),(512,239,23,'2018-04-18 10:21:27','2018-04-18 10:21:27'),(513,239,22,'2018-04-18 10:21:27','2018-04-18 10:21:27'),(514,240,12,'2018-04-18 10:21:27','2018-04-18 10:21:27'),(515,240,11,'2018-04-18 10:21:27','2018-04-18 10:21:27'),(516,240,22,'2018-04-18 10:21:27','2018-04-18 10:21:27'),(517,241,15,'2018-04-18 10:21:27','2018-04-18 10:21:27'),(518,241,21,'2018-04-18 10:21:27','2018-04-18 10:21:27'),(519,242,12,'2018-04-18 10:21:27','2018-04-18 10:21:27'),(520,243,8,'2018-04-18 10:21:27','2018-04-18 10:21:27'),(521,243,9,'2018-04-18 10:21:27','2018-04-18 10:21:27'),(522,243,1,'2018-04-18 10:21:27','2018-04-18 10:21:27'),(523,244,9,'2018-04-18 10:21:27','2018-04-18 10:21:27'),(524,244,1,'2018-04-18 10:21:27','2018-04-18 10:21:27'),(525,244,5,'2018-04-18 10:21:27','2018-04-18 10:21:27'),(526,244,19,'2018-04-18 10:21:27','2018-04-18 10:21:27'),(527,245,11,'2018-04-18 10:21:27','2018-04-18 10:21:27'),(528,245,1,'2018-04-18 10:21:27','2018-04-18 10:21:27'),(529,245,5,'2018-04-18 10:21:28','2018-04-18 10:21:28'),(530,246,1,'2018-04-18 10:21:28','2018-04-18 10:21:28'),(531,246,2,'2018-04-18 10:21:28','2018-04-18 10:21:28'),(532,246,3,'2018-04-18 10:21:28','2018-04-18 10:21:28'),(533,247,11,'2018-04-18 10:21:28','2018-04-18 10:21:28'),(534,247,5,'2018-04-18 10:21:28','2018-04-18 10:21:28'),(535,248,11,'2018-04-18 10:21:28','2018-04-18 10:21:28'),(536,248,9,'2018-04-18 10:21:28','2018-04-18 10:21:28'),(537,248,1,'2018-04-18 10:21:28','2018-04-18 10:21:28'),(538,248,5,'2018-04-18 10:21:28','2018-04-18 10:21:28'),(539,249,15,'2018-04-18 10:21:28','2018-04-18 10:21:28'),(540,249,9,'2018-04-18 10:21:28','2018-04-18 10:21:28'),(541,249,1,'2018-04-18 10:21:28','2018-04-18 10:21:28'),(542,250,19,'2018-04-18 10:21:28','2018-04-18 10:21:28'),(543,251,9,'2018-04-18 10:21:28','2018-04-18 10:21:28'),(544,251,1,'2018-04-18 10:21:28','2018-04-18 10:21:28'),(545,251,21,'2018-04-18 10:21:28','2018-04-18 10:21:28'),(546,252,4,'2018-04-18 10:21:28','2018-04-18 10:21:28'),(547,252,7,'2018-04-18 10:21:28','2018-04-18 10:21:28'),(548,253,5,'2018-04-18 10:21:28','2018-04-18 10:21:28'),(549,254,17,'2018-04-18 10:21:28','2018-04-18 10:21:28'),(550,255,9,'2018-04-18 10:21:28','2018-04-18 10:21:28'),(551,255,1,'2018-04-18 10:21:28','2018-04-18 10:21:28'),(552,255,10,'2018-04-18 10:21:28','2018-04-18 10:21:28'),(553,256,4,'2018-04-18 10:21:28','2018-04-18 10:21:28'),(554,256,7,'2018-04-18 10:21:28','2018-04-18 10:21:28'),(555,257,4,'2018-04-18 10:21:28','2018-04-18 10:21:28'),(556,257,7,'2018-04-18 10:21:28','2018-04-18 10:21:28'),(557,258,12,'2018-04-18 10:21:28','2018-04-18 10:21:28'),(558,258,6,'2018-04-18 10:21:28','2018-04-18 10:21:28'),(559,259,14,'2018-04-18 10:21:28','2018-04-18 10:21:28'),(560,259,11,'2018-04-18 10:21:28','2018-04-18 10:21:28'),(561,259,9,'2018-04-18 10:21:28','2018-04-18 10:21:28'),(562,259,1,'2018-04-18 10:21:28','2018-04-18 10:21:28'),(563,259,25,'2018-04-18 10:21:28','2018-04-18 10:21:28'),(564,260,11,'2018-04-18 10:21:28','2018-04-18 10:21:28'),(565,260,9,'2018-04-18 10:21:28','2018-04-18 10:21:28'),(566,260,1,'2018-04-18 10:21:28','2018-04-18 10:21:28'),(567,260,10,'2018-04-18 10:21:28','2018-04-18 10:21:28'),(568,260,21,'2018-04-18 10:21:28','2018-04-18 10:21:28'),(569,261,11,'2018-04-18 10:21:28','2018-04-18 10:21:28'),(570,261,9,'2018-04-18 10:21:28','2018-04-18 10:21:28'),(571,261,1,'2018-04-18 10:21:28','2018-04-18 10:21:28'),(572,261,5,'2018-04-18 10:21:28','2018-04-18 10:21:28'),(573,262,9,'2018-04-18 10:21:28','2018-04-18 10:21:28'),(574,262,1,'2018-04-18 10:21:28','2018-04-18 10:21:28'),(575,262,13,'2018-04-18 10:21:28','2018-04-18 10:21:28'),(576,263,11,'2018-04-18 10:21:28','2018-04-18 10:21:28'),(577,263,13,'2018-04-18 10:21:28','2018-04-18 10:21:28'),(578,263,5,'2018-04-18 10:21:28','2018-04-18 10:21:28'),(579,264,11,'2018-04-18 10:21:28','2018-04-18 10:21:28'),(580,264,1,'2018-04-18 10:21:28','2018-04-18 10:21:28'),(581,264,17,'2018-04-18 10:21:28','2018-04-18 10:21:28'),(582,265,13,'2018-04-18 10:21:28','2018-04-18 10:21:28'),(583,266,11,'2018-04-18 10:21:28','2018-04-18 10:21:28'),(584,266,13,'2018-04-18 10:21:28','2018-04-18 10:21:28'),(585,267,11,'2018-04-18 10:21:28','2018-04-18 10:21:28'),(586,267,13,'2018-04-18 10:21:28','2018-04-18 10:21:28'),(587,267,24,'2018-04-18 10:21:28','2018-04-18 10:21:28'),(588,268,13,'2018-04-18 10:21:28','2018-04-18 10:21:28'),(589,268,24,'2018-04-18 10:21:28','2018-04-18 10:21:28'),(590,269,15,'2018-04-18 10:21:28','2018-04-18 10:21:28'),(591,269,11,'2018-04-18 10:21:28','2018-04-18 10:21:28'),(592,269,9,'2018-04-18 10:21:28','2018-04-18 10:21:28'),(593,269,1,'2018-04-18 10:21:28','2018-04-18 10:21:28'),(594,269,5,'2018-04-18 10:21:28','2018-04-18 10:21:28'),(595,270,11,'2018-04-18 10:21:28','2018-04-18 10:21:28'),(596,270,13,'2018-04-18 10:21:28','2018-04-18 10:21:28'),(597,270,21,'2018-04-18 10:21:28','2018-04-18 10:21:28'),(598,271,17,'2018-04-18 10:21:28','2018-04-18 10:21:28'),(599,272,14,'2018-04-18 10:21:28','2018-04-18 10:21:28'),(600,272,11,'2018-04-18 10:21:28','2018-04-18 10:21:28'),(601,273,17,'2018-04-18 10:21:28','2018-04-18 10:21:28'),(602,274,11,'2018-04-18 10:21:28','2018-04-18 10:21:28'),(603,274,1,'2018-04-18 10:21:28','2018-04-18 10:21:28'),(604,274,10,'2018-04-18 10:21:28','2018-04-18 10:21:28'),(605,274,5,'2018-04-18 10:21:28','2018-04-18 10:21:28'),(606,275,11,'2018-04-18 10:21:28','2018-04-18 10:21:28'),(607,275,1,'2018-04-18 10:21:28','2018-04-18 10:21:28'),(608,275,10,'2018-04-18 10:21:28','2018-04-18 10:21:28'),(609,275,5,'2018-04-18 10:21:28','2018-04-18 10:21:28'),(610,276,10,'2018-04-18 10:21:28','2018-04-18 10:21:28'),(611,276,5,'2018-04-18 10:21:28','2018-04-18 10:21:28'),(612,277,4,'2018-04-18 10:21:28','2018-04-18 10:21:28'),(613,278,11,'2018-04-18 10:21:28','2018-04-18 10:21:28'),(614,278,9,'2018-04-18 10:21:28','2018-04-18 10:21:28'),(615,278,1,'2018-04-18 10:21:28','2018-04-18 10:21:28'),(616,278,25,'2018-04-18 10:21:28','2018-04-18 10:21:28'),(617,279,11,'2018-04-18 10:21:28','2018-04-18 10:21:28'),(618,279,9,'2018-04-18 10:21:28','2018-04-18 10:21:28'),(619,279,1,'2018-04-18 10:21:28','2018-04-18 10:21:28'),(620,279,25,'2018-04-18 10:21:28','2018-04-18 10:21:28'),(621,280,13,'2018-04-18 10:21:28','2018-04-18 10:21:28'),(622,280,5,'2018-04-18 10:21:28','2018-04-18 10:21:28'),(623,281,11,'2018-04-18 10:21:28','2018-04-18 10:21:28'),(624,281,1,'2018-04-18 10:21:28','2018-04-18 10:21:28'),(625,281,13,'2018-04-18 10:21:28','2018-04-18 10:21:28'),(626,281,5,'2018-04-18 10:21:28','2018-04-18 10:21:28'),(627,282,4,'2018-04-18 10:21:28','2018-04-18 10:21:28'),(628,283,9,'2018-04-18 10:21:28','2018-04-18 10:21:28'),(629,283,1,'2018-04-18 10:21:28','2018-04-18 10:21:28'),(630,283,25,'2018-04-18 10:21:28','2018-04-18 10:21:28'),(631,283,5,'2018-04-18 10:21:28','2018-04-18 10:21:28'),(632,284,9,'2018-04-18 10:21:28','2018-04-18 10:21:28'),(633,284,1,'2018-04-18 10:21:28','2018-04-18 10:21:28'),(634,284,5,'2018-04-18 10:21:28','2018-04-18 10:21:28'),(635,285,11,'2018-04-18 10:21:28','2018-04-18 10:21:28'),(636,285,5,'2018-04-18 10:21:28','2018-04-18 10:21:28'),(637,286,25,'2018-04-18 10:21:28','2018-04-18 10:21:28'),(638,286,5,'2018-04-18 10:21:28','2018-04-18 10:21:28'),(639,287,4,'2018-04-18 10:21:28','2018-04-18 10:21:28'),(640,287,7,'2018-04-18 10:21:28','2018-04-18 10:21:28'),(641,287,2,'2018-04-18 10:21:28','2018-04-18 10:21:28'),(642,288,17,'2018-04-18 10:21:28','2018-04-18 10:21:28'),(643,289,11,'2018-04-18 10:21:28','2018-04-18 10:21:28'),(644,289,23,'2018-04-18 10:21:28','2018-04-18 10:21:28'),(645,289,22,'2018-04-18 10:21:28','2018-04-18 10:21:28'),(646,290,11,'2018-04-18 10:21:28','2018-04-18 10:21:28'),(647,290,22,'2018-04-18 10:21:28','2018-04-18 10:21:28'),(648,290,24,'2018-04-18 10:21:28','2018-04-18 10:21:28'),(649,291,11,'2018-04-18 10:21:28','2018-04-18 10:21:28'),(650,291,18,'2018-04-18 10:21:28','2018-04-18 10:21:28'),(651,291,21,'2018-04-18 10:21:28','2018-04-18 10:21:28'),(652,292,15,'2018-04-18 10:21:28','2018-04-18 10:21:28'),(653,292,11,'2018-04-18 10:21:28','2018-04-18 10:21:28'),(654,292,22,'2018-04-18 10:21:28','2018-04-18 10:21:28'),(655,293,15,'2018-04-18 10:21:28','2018-04-18 10:21:28'),(656,293,9,'2018-04-18 10:21:28','2018-04-18 10:21:28'),(657,293,1,'2018-04-18 10:21:28','2018-04-18 10:21:28'),(658,294,4,'2018-04-18 10:21:28','2018-04-18 10:21:28'),(659,294,7,'2018-04-18 10:21:28','2018-04-18 10:21:28'),(660,295,11,'2018-04-18 10:21:28','2018-04-18 10:21:28'),(661,295,17,'2018-04-18 10:21:28','2018-04-18 10:21:28'),(662,295,21,'2018-04-18 10:21:28','2018-04-18 10:21:28'),(663,296,6,'2018-04-18 10:21:28','2018-04-18 10:21:28'),(664,297,17,'2018-04-18 10:21:28','2018-04-18 10:21:28'),(665,298,11,'2018-04-18 10:21:28','2018-04-18 10:21:28'),(666,298,1,'2018-04-18 10:21:28','2018-04-18 10:21:28'),(667,298,10,'2018-04-18 10:21:28','2018-04-18 10:21:28'),(668,299,11,'2018-04-18 10:21:28','2018-04-18 10:21:28'),(669,299,1,'2018-04-18 10:21:28','2018-04-18 10:21:28'),(670,299,21,'2018-04-18 10:21:28','2018-04-18 10:21:28'),(671,300,11,'2018-04-18 10:21:28','2018-04-18 10:21:28'),(672,300,9,'2018-04-18 10:21:28','2018-04-18 10:21:28'),(673,300,1,'2018-04-18 10:21:28','2018-04-18 10:21:28'),(674,300,22,'2018-04-18 10:21:28','2018-04-18 10:21:28'),(675,300,24,'2018-04-18 10:21:28','2018-04-18 10:21:28'),(676,301,11,'2018-04-18 10:21:28','2018-04-18 10:21:28'),(677,301,17,'2018-04-18 10:21:28','2018-04-18 10:21:28'),(678,302,12,'2018-04-18 10:21:28','2018-04-18 10:21:28'),(679,302,6,'2018-04-18 10:21:28','2018-04-18 10:21:28'),(680,303,14,'2018-04-18 10:21:28','2018-04-18 10:21:28'),(681,303,9,'2018-04-18 10:21:28','2018-04-18 10:21:28'),(682,303,1,'2018-04-18 10:21:28','2018-04-18 10:21:28'),(683,304,25,'2018-04-18 10:21:28','2018-04-18 10:21:28'),(684,305,11,'2018-04-18 10:21:29','2018-04-18 10:21:29'),(685,305,25,'2018-04-18 10:21:29','2018-04-18 10:21:29'),(686,306,11,'2018-04-18 10:21:29','2018-04-18 10:21:29'),(687,306,22,'2018-04-18 10:21:29','2018-04-18 10:21:29'),(688,307,12,'2018-04-18 10:21:29','2018-04-18 10:21:29'),(689,307,11,'2018-04-18 10:21:29','2018-04-18 10:21:29'),(690,307,13,'2018-04-18 10:21:29','2018-04-18 10:21:29'),(691,308,4,'2018-04-18 10:21:29','2018-04-18 10:21:29'),(692,309,4,'2018-04-18 10:21:29','2018-04-18 10:21:29'),(693,310,4,'2018-04-18 10:21:29','2018-04-18 10:21:29'),(694,311,12,'2018-04-18 10:21:29','2018-04-18 10:21:29'),(695,312,4,'2018-04-18 10:21:29','2018-04-18 10:21:29'),(696,313,6,'2018-04-18 10:21:29','2018-04-18 10:21:29'),(697,313,13,'2018-04-18 10:21:29','2018-04-18 10:21:29'),(698,314,9,'2018-04-18 10:21:29','2018-04-18 10:21:29'),(699,314,1,'2018-04-18 10:21:29','2018-04-18 10:21:29'),(700,314,22,'2018-04-18 10:21:29','2018-04-18 10:21:29'),(701,314,5,'2018-04-18 10:21:29','2018-04-18 10:21:29'),(702,315,11,'2018-04-18 10:21:29','2018-04-18 10:21:29'),(703,315,21,'2018-04-18 10:21:29','2018-04-18 10:21:29'),(704,316,15,'2018-04-18 10:21:29','2018-04-18 10:21:29'),(705,316,11,'2018-04-18 10:21:29','2018-04-18 10:21:29'),(706,316,22,'2018-04-18 10:21:29','2018-04-18 10:21:29'),(707,317,15,'2018-04-18 10:21:29','2018-04-18 10:21:29'),(708,317,22,'2018-04-18 10:21:29','2018-04-18 10:21:29'),(709,318,9,'2018-04-18 10:21:29','2018-04-18 10:21:29'),(710,318,1,'2018-04-18 10:21:29','2018-04-18 10:21:29'),(711,318,5,'2018-04-18 10:21:29','2018-04-18 10:21:29'),(712,319,17,'2018-04-18 10:21:29','2018-04-18 10:21:29'),(713,320,11,'2018-04-18 10:21:29','2018-04-18 10:21:29'),(714,320,6,'2018-04-18 10:21:29','2018-04-18 10:21:29'),(715,321,15,'2018-04-18 10:21:29','2018-04-18 10:21:29'),(716,321,12,'2018-04-18 10:21:29','2018-04-18 10:21:29'),(717,321,11,'2018-04-18 10:21:29','2018-04-18 10:21:29'),(718,322,11,'2018-04-18 10:21:29','2018-04-18 10:21:29'),(719,322,10,'2018-04-18 10:21:29','2018-04-18 10:21:29'),(720,323,11,'2018-04-18 10:21:29','2018-04-18 10:21:29'),(721,323,22,'2018-04-18 10:21:29','2018-04-18 10:21:29'),(722,323,24,'2018-04-18 10:21:29','2018-04-18 10:21:29'),(723,324,17,'2018-04-18 10:21:29','2018-04-18 10:21:29'),(724,325,13,'2018-04-18 10:21:29','2018-04-18 10:21:29'),(725,326,4,'2018-04-18 10:21:29','2018-04-18 10:21:29'),(726,326,7,'2018-04-18 10:21:29','2018-04-18 10:21:29'),(727,327,9,'2018-04-18 10:21:29','2018-04-18 10:21:29'),(728,327,1,'2018-04-18 10:21:29','2018-04-18 10:21:29'),(729,327,5,'2018-04-18 10:21:29','2018-04-18 10:21:29'),(730,327,19,'2018-04-18 10:21:29','2018-04-18 10:21:29'),(731,328,11,'2018-04-18 10:21:29','2018-04-18 10:21:29'),(732,328,1,'2018-04-18 10:21:29','2018-04-18 10:21:29'),(733,328,17,'2018-04-18 10:21:29','2018-04-18 10:21:29'),(734,329,12,'2018-04-18 10:21:29','2018-04-18 10:21:29'),(735,330,11,'2018-04-18 10:21:29','2018-04-18 10:21:29'),(736,330,22,'2018-04-18 10:21:29','2018-04-18 10:21:29'),(737,331,11,'2018-04-18 10:21:29','2018-04-18 10:21:29'),(738,331,9,'2018-04-18 10:21:29','2018-04-18 10:21:29'),(739,331,1,'2018-04-18 10:21:29','2018-04-18 10:21:29'),(740,331,17,'2018-04-18 10:21:29','2018-04-18 10:21:29'),(741,332,23,'2018-04-18 10:21:29','2018-04-18 10:21:29'),(742,332,21,'2018-04-18 10:21:29','2018-04-18 10:21:29'),(743,333,11,'2018-04-18 10:21:29','2018-04-18 10:21:29'),(744,333,13,'2018-04-18 10:21:29','2018-04-18 10:21:29'),(745,333,22,'2018-04-18 10:21:29','2018-04-18 10:21:29'),(746,334,4,'2018-04-18 10:21:29','2018-04-18 10:21:29'),(747,334,7,'2018-04-18 10:21:29','2018-04-18 10:21:29'),(748,335,4,'2018-04-18 10:21:29','2018-04-18 10:21:29'),(749,336,11,'2018-04-18 10:21:29','2018-04-18 10:21:29'),(750,336,1,'2018-04-18 10:21:29','2018-04-18 10:21:29'),(751,336,5,'2018-04-18 10:21:29','2018-04-18 10:21:29'),(752,337,9,'2018-04-18 10:21:29','2018-04-18 10:21:29'),(753,337,1,'2018-04-18 10:21:29','2018-04-18 10:21:29'),(754,337,22,'2018-04-18 10:21:29','2018-04-18 10:21:29'),(755,337,5,'2018-04-18 10:21:29','2018-04-18 10:21:29'),(756,338,9,'2018-04-18 10:21:29','2018-04-18 10:21:29'),(757,338,1,'2018-04-18 10:21:29','2018-04-18 10:21:29'),(758,338,21,'2018-04-18 10:21:29','2018-04-18 10:21:29'),(759,339,4,'2018-04-18 10:21:29','2018-04-18 10:21:29'),(760,340,4,'2018-04-18 10:21:29','2018-04-18 10:21:29'),(761,341,4,'2018-04-18 10:21:29','2018-04-18 10:21:29'),(762,342,13,'2018-04-18 10:21:29','2018-04-18 10:21:29'),(763,343,12,'2018-04-18 10:21:29','2018-04-18 10:21:29'),(764,343,13,'2018-04-18 10:21:29','2018-04-18 10:21:29'),(765,344,12,'2018-04-18 10:21:29','2018-04-18 10:21:29'),(766,344,6,'2018-04-18 10:21:29','2018-04-18 10:21:29'),(767,345,11,'2018-04-18 10:21:29','2018-04-18 10:21:29'),(768,345,1,'2018-04-18 10:21:29','2018-04-18 10:21:29'),(769,345,18,'2018-04-18 10:21:29','2018-04-18 10:21:29'),(770,346,4,'2018-04-18 10:21:29','2018-04-18 10:21:29'),(771,347,4,'2018-04-18 10:21:29','2018-04-18 10:21:29'),(772,348,11,'2018-04-18 10:21:29','2018-04-18 10:21:29'),(773,348,13,'2018-04-18 10:21:29','2018-04-18 10:21:29'),(774,348,5,'2018-04-18 10:21:29','2018-04-18 10:21:29'),(775,349,11,'2018-04-18 10:21:29','2018-04-18 10:21:29'),(776,349,5,'2018-04-18 10:21:29','2018-04-18 10:21:29'),(777,350,13,'2018-04-18 10:21:29','2018-04-18 10:21:29'),(778,351,11,'2018-04-18 10:21:29','2018-04-18 10:21:29'),(779,351,5,'2018-04-18 10:21:29','2018-04-18 10:21:29'),(780,352,6,'2018-04-18 10:21:29','2018-04-18 10:21:29'),(781,353,17,'2018-04-18 10:21:29','2018-04-18 10:21:29'),(782,354,4,'2018-04-18 10:21:29','2018-04-18 10:21:29'),(783,355,14,'2018-04-18 10:21:29','2018-04-18 10:21:29'),(784,356,13,'2018-04-18 10:21:29','2018-04-18 10:21:29'),(785,357,4,'2018-04-18 10:21:29','2018-04-18 10:21:29'),(786,358,4,'2018-04-18 10:21:29','2018-04-18 10:21:29'),(787,359,4,'2018-04-18 10:21:29','2018-04-18 10:21:29'),(788,360,4,'2018-04-18 10:21:29','2018-04-18 10:21:29'),(789,361,11,'2018-04-18 10:21:29','2018-04-18 10:21:29'),(790,361,22,'2018-04-18 10:21:29','2018-04-18 10:21:29'),(791,361,24,'2018-04-18 10:21:29','2018-04-18 10:21:29'),(792,362,9,'2018-04-18 10:21:29','2018-04-18 10:21:29'),(793,362,1,'2018-04-18 10:21:29','2018-04-18 10:21:29'),(794,362,21,'2018-04-18 10:21:29','2018-04-18 10:21:29'),(795,363,11,'2018-04-18 10:21:29','2018-04-18 10:21:29'),(796,363,9,'2018-04-18 10:21:29','2018-04-18 10:21:29'),(797,363,1,'2018-04-18 10:21:29','2018-04-18 10:21:29'),(798,363,25,'2018-04-18 10:21:29','2018-04-18 10:21:29'),(799,364,11,'2018-04-18 10:21:29','2018-04-18 10:21:29'),(800,364,18,'2018-04-18 10:21:29','2018-04-18 10:21:29'),(801,365,18,'2018-04-18 10:21:29','2018-04-18 10:21:29'),(802,366,9,'2018-04-18 10:21:29','2018-04-18 10:21:29'),(803,366,1,'2018-04-18 10:21:29','2018-04-18 10:21:29'),(804,366,25,'2018-04-18 10:21:29','2018-04-18 10:21:29'),(805,367,11,'2018-04-18 10:21:29','2018-04-18 10:21:29'),(806,367,5,'2018-04-18 10:21:29','2018-04-18 10:21:29'),(807,368,19,'2018-04-18 10:21:29','2018-04-18 10:21:29'),(808,369,11,'2018-04-18 10:21:29','2018-04-18 10:21:29'),(809,369,5,'2018-04-18 10:21:29','2018-04-18 10:21:29'),(810,369,19,'2018-04-18 10:21:29','2018-04-18 10:21:29'),(811,370,11,'2018-04-18 10:21:29','2018-04-18 10:21:29'),(812,370,17,'2018-04-18 10:21:29','2018-04-18 10:21:29'),(813,371,12,'2018-04-18 10:21:29','2018-04-18 10:21:29'),(814,371,11,'2018-04-18 10:21:29','2018-04-18 10:21:29'),(815,371,25,'2018-04-18 10:21:29','2018-04-18 10:21:29'),(816,371,5,'2018-04-18 10:21:29','2018-04-18 10:21:29'),(817,372,25,'2018-04-18 10:21:29','2018-04-18 10:21:29'),(818,372,5,'2018-04-18 10:21:29','2018-04-18 10:21:29'),(819,373,9,'2018-04-18 10:21:29','2018-04-18 10:21:29'),(820,373,1,'2018-04-18 10:21:29','2018-04-18 10:21:29'),(821,373,18,'2018-04-18 10:21:29','2018-04-18 10:21:29'),(822,374,17,'2018-04-18 10:21:29','2018-04-18 10:21:29'),(823,375,4,'2018-04-18 10:21:29','2018-04-18 10:21:29'),(824,375,7,'2018-04-18 10:21:29','2018-04-18 10:21:29'),(825,376,13,'2018-04-18 10:21:30','2018-04-18 10:21:30'),(826,377,19,'2018-04-18 10:21:30','2018-04-18 10:21:30'),(827,378,4,'2018-04-18 10:21:30','2018-04-18 10:21:30'),(828,378,20,'2018-04-18 10:21:30','2018-04-18 10:21:30'),(829,378,2,'2018-04-18 10:21:30','2018-04-18 10:21:30'),(830,379,12,'2018-04-18 10:21:30','2018-04-18 10:21:30'),(831,380,12,'2018-04-18 10:21:30','2018-04-18 10:21:30'),(832,381,12,'2018-04-18 10:21:30','2018-04-18 10:21:30'),(833,381,11,'2018-04-18 10:21:30','2018-04-18 10:21:30'),(834,381,18,'2018-04-18 10:21:30','2018-04-18 10:21:30'),(835,382,11,'2018-04-18 10:21:30','2018-04-18 10:21:30'),(836,382,9,'2018-04-18 10:21:30','2018-04-18 10:21:30'),(837,382,1,'2018-04-18 10:21:30','2018-04-18 10:21:30'),(838,382,18,'2018-04-18 10:21:30','2018-04-18 10:21:30'),(839,383,4,'2018-04-18 10:21:30','2018-04-18 10:21:30'),(840,383,7,'2018-04-18 10:21:30','2018-04-18 10:21:30'),(841,384,15,'2018-04-18 10:21:30','2018-04-18 10:21:30'),(842,384,12,'2018-04-18 10:21:30','2018-04-18 10:21:30'),(843,384,11,'2018-04-18 10:21:30','2018-04-18 10:21:30'),(844,385,4,'2018-04-18 10:21:30','2018-04-18 10:21:30'),(845,386,13,'2018-04-18 10:21:30','2018-04-18 10:21:30'),(846,387,15,'2018-04-18 10:21:30','2018-04-18 10:21:30'),(847,387,11,'2018-04-18 10:21:30','2018-04-18 10:21:30'),(848,387,9,'2018-04-18 10:21:30','2018-04-18 10:21:30'),(849,387,1,'2018-04-18 10:21:30','2018-04-18 10:21:30'),(850,388,9,'2018-04-18 10:21:30','2018-04-18 10:21:30'),(851,388,1,'2018-04-18 10:21:30','2018-04-18 10:21:30'),(852,389,4,'2018-04-18 10:21:30','2018-04-18 10:21:30'),(853,390,17,'2018-04-18 10:21:30','2018-04-18 10:21:30'),(854,391,9,'2018-04-18 10:21:30','2018-04-18 10:21:30'),(855,391,1,'2018-04-18 10:21:30','2018-04-18 10:21:30'),(856,391,22,'2018-04-18 10:21:30','2018-04-18 10:21:30'),(857,392,9,'2018-04-18 10:21:30','2018-04-18 10:21:30'),(858,392,1,'2018-04-18 10:21:30','2018-04-18 10:21:30'),(859,392,5,'2018-04-18 10:21:30','2018-04-18 10:21:30'),(860,393,12,'2018-04-18 10:21:30','2018-04-18 10:21:30'),(861,393,11,'2018-04-18 10:21:30','2018-04-18 10:21:30'),(862,393,5,'2018-04-18 10:21:30','2018-04-18 10:21:30'),(863,394,11,'2018-04-18 10:21:30','2018-04-18 10:21:30'),(864,394,1,'2018-04-18 10:21:30','2018-04-18 10:21:30'),(865,394,5,'2018-04-18 10:21:30','2018-04-18 10:21:30'),(866,395,9,'2018-04-18 10:21:30','2018-04-18 10:21:30'),(867,395,6,'2018-04-18 10:21:30','2018-04-18 10:21:30'),(868,395,1,'2018-04-18 10:21:30','2018-04-18 10:21:30'),(869,396,11,'2018-04-18 10:21:30','2018-04-18 10:21:30'),(870,396,1,'2018-04-18 10:21:30','2018-04-18 10:21:30'),(871,396,10,'2018-04-18 10:21:30','2018-04-18 10:21:30'),(872,396,5,'2018-04-18 10:21:30','2018-04-18 10:21:30'),(873,397,4,'2018-04-18 10:21:30','2018-04-18 10:21:30'),(874,397,7,'2018-04-18 10:21:30','2018-04-18 10:21:30'),(875,398,10,'2018-04-18 10:21:30','2018-04-18 10:21:30'),(876,399,13,'2018-04-18 10:21:30','2018-04-18 10:21:30'),(877,400,12,'2018-04-18 10:21:30','2018-04-18 10:21:30'),(878,400,13,'2018-04-18 10:21:30','2018-04-18 10:21:30'),(879,401,12,'2018-04-18 10:21:30','2018-04-18 10:21:30'),(880,402,6,'2018-04-18 10:21:30','2018-04-18 10:21:30'),(881,403,6,'2018-04-18 10:21:30','2018-04-18 10:21:30'),(882,404,4,'2018-04-18 10:21:30','2018-04-18 10:21:30'),(883,404,7,'2018-04-18 10:21:30','2018-04-18 10:21:30'),(884,405,13,'2018-04-18 10:21:30','2018-04-18 10:21:30'),(885,406,11,'2018-04-18 10:21:30','2018-04-18 10:21:30'),(886,406,21,'2018-04-18 10:21:30','2018-04-18 10:21:30'),(887,407,1,'2018-04-18 10:21:30','2018-04-18 10:21:30'),(888,407,3,'2018-04-18 10:21:30','2018-04-18 10:21:30'),(889,408,6,'2018-04-18 10:21:30','2018-04-18 10:21:30'),(890,409,4,'2018-04-18 10:21:30','2018-04-18 10:21:30'),(891,409,7,'2018-04-18 10:21:30','2018-04-18 10:21:30'),(892,410,4,'2018-04-18 10:21:30','2018-04-18 10:21:30'),(893,410,20,'2018-04-18 10:21:30','2018-04-18 10:21:30'),(894,411,4,'2018-04-18 10:21:30','2018-04-18 10:21:30'),(895,412,11,'2018-04-18 10:21:30','2018-04-18 10:21:30'),(896,412,22,'2018-04-18 10:21:30','2018-04-18 10:21:30'),(897,413,1,'2018-04-18 10:21:30','2018-04-18 10:21:30'),(898,413,2,'2018-04-18 10:21:30','2018-04-18 10:21:30'),(899,413,3,'2018-04-18 10:21:30','2018-04-18 10:21:30'),(900,414,17,'2018-04-18 10:21:30','2018-04-18 10:21:30'),(901,415,4,'2018-04-18 10:21:30','2018-04-18 10:21:30'),(902,416,11,'2018-04-18 10:21:30','2018-04-18 10:21:30'),(903,416,1,'2018-04-18 10:21:30','2018-04-18 10:21:30'),(904,416,21,'2018-04-18 10:21:30','2018-04-18 10:21:30'),(905,417,13,'2018-04-18 10:21:30','2018-04-18 10:21:30'),(906,418,12,'2018-04-18 10:21:30','2018-04-18 10:21:30'),(907,418,13,'2018-04-18 10:21:30','2018-04-18 10:21:30'),(908,419,4,'2018-04-18 10:21:30','2018-04-18 10:21:30'),(909,420,9,'2018-04-18 10:21:30','2018-04-18 10:21:30'),(910,420,1,'2018-04-18 10:21:30','2018-04-18 10:21:30'),(911,420,13,'2018-04-18 10:21:30','2018-04-18 10:21:30'),(912,420,17,'2018-04-18 10:21:30','2018-04-18 10:21:30'),(913,421,23,'2018-04-18 10:21:30','2018-04-18 10:21:30'),(914,421,9,'2018-04-18 10:21:30','2018-04-18 10:21:30'),(915,421,1,'2018-04-18 10:21:30','2018-04-18 10:21:30'),(916,422,9,'2018-04-18 10:21:30','2018-04-18 10:21:30'),(917,422,6,'2018-04-18 10:21:30','2018-04-18 10:21:30'),(918,422,1,'2018-04-18 10:21:30','2018-04-18 10:21:30'),(919,422,13,'2018-04-18 10:21:30','2018-04-18 10:21:30'),(920,423,6,'2018-04-18 10:21:30','2018-04-18 10:21:30'),(921,424,13,'2018-04-18 10:21:30','2018-04-18 10:21:30'),(922,425,4,'2018-04-18 10:21:30','2018-04-18 10:21:30'),(923,426,6,'2018-04-18 10:21:30','2018-04-18 10:21:30'),(924,427,4,'2018-04-18 10:21:30','2018-04-18 10:21:30'),(925,427,7,'2018-04-18 10:21:30','2018-04-18 10:21:30'),(926,427,2,'2018-04-18 10:21:30','2018-04-18 10:21:30'),(927,428,12,'2018-04-18 10:21:30','2018-04-18 10:21:30'),(928,429,9,'2018-04-18 10:21:30','2018-04-18 10:21:30'),(929,429,1,'2018-04-18 10:21:30','2018-04-18 10:21:30'),(930,429,18,'2018-04-18 10:21:30','2018-04-18 10:21:30'),(931,430,13,'2018-04-18 10:21:30','2018-04-18 10:21:30'),(932,431,13,'2018-04-18 10:21:30','2018-04-18 10:21:30'),(933,432,11,'2018-04-18 10:21:30','2018-04-18 10:21:30'),(934,432,5,'2018-04-18 10:21:30','2018-04-18 10:21:30'),(935,433,1,'2018-04-18 10:21:30','2018-04-18 10:21:30'),(936,433,2,'2018-04-18 10:21:30','2018-04-18 10:21:30'),(937,433,3,'2018-04-18 10:21:30','2018-04-18 10:21:30'),(938,434,11,'2018-04-18 10:21:30','2018-04-18 10:21:30'),(939,434,5,'2018-04-18 10:21:30','2018-04-18 10:21:30'),(940,435,12,'2018-04-18 10:21:30','2018-04-18 10:21:30'),(941,435,13,'2018-04-18 10:21:30','2018-04-18 10:21:30'),(942,436,11,'2018-04-18 10:21:30','2018-04-18 10:21:30'),(943,436,9,'2018-04-18 10:21:30','2018-04-18 10:21:30'),(944,436,1,'2018-04-18 10:21:30','2018-04-18 10:21:30'),(945,436,18,'2018-04-18 10:21:30','2018-04-18 10:21:30'),(946,437,12,'2018-04-18 10:21:30','2018-04-18 10:21:30'),(947,438,11,'2018-04-18 10:21:30','2018-04-18 10:21:30'),(948,438,5,'2018-04-18 10:21:30','2018-04-18 10:21:30'),(949,439,13,'2018-04-18 10:21:30','2018-04-18 10:21:30'),(950,440,4,'2018-04-18 10:21:30','2018-04-18 10:21:30'),(951,440,7,'2018-04-18 10:21:30','2018-04-18 10:21:30'),(952,441,11,'2018-04-18 10:21:30','2018-04-18 10:21:30'),(953,441,1,'2018-04-18 10:21:30','2018-04-18 10:21:30'),(954,441,5,'2018-04-18 10:21:30','2018-04-18 10:21:30'),(955,442,5,'2018-04-18 10:21:30','2018-04-18 10:21:30'),(956,443,13,'2018-04-18 10:21:30','2018-04-18 10:21:30'),(957,444,9,'2018-04-18 10:21:30','2018-04-18 10:21:30'),(958,444,1,'2018-04-18 10:21:30','2018-04-18 10:21:30'),(959,444,21,'2018-04-18 10:21:30','2018-04-18 10:21:30'),(960,445,15,'2018-04-18 10:21:30','2018-04-18 10:21:30'),(961,445,11,'2018-04-18 10:21:30','2018-04-18 10:21:30'),(962,445,1,'2018-04-18 10:21:30','2018-04-18 10:21:30'),(963,446,9,'2018-04-18 10:21:30','2018-04-18 10:21:30'),(964,446,1,'2018-04-18 10:21:30','2018-04-18 10:21:30'),(965,446,5,'2018-04-18 10:21:30','2018-04-18 10:21:30'),(966,447,9,'2018-04-18 10:21:30','2018-04-18 10:21:30'),(967,447,1,'2018-04-18 10:21:30','2018-04-18 10:21:30'),(968,447,22,'2018-04-18 10:21:31','2018-04-18 10:21:31'),(969,447,5,'2018-04-18 10:21:31','2018-04-18 10:21:31'),(970,448,11,'2018-04-18 10:21:31','2018-04-18 10:21:31'),(971,448,13,'2018-04-18 10:21:31','2018-04-18 10:21:31'),(972,449,11,'2018-04-18 10:21:31','2018-04-18 10:21:31'),(973,449,13,'2018-04-18 10:21:31','2018-04-18 10:21:31'),(974,450,15,'2018-04-18 10:21:31','2018-04-18 10:21:31'),(975,450,12,'2018-04-18 10:21:31','2018-04-18 10:21:31'),(976,450,11,'2018-04-18 10:21:31','2018-04-18 10:21:31'),(977,451,15,'2018-04-18 10:21:31','2018-04-18 10:21:31'),(978,451,12,'2018-04-18 10:21:31','2018-04-18 10:21:31'),(979,452,4,'2018-04-18 10:21:31','2018-04-18 10:21:31'),(980,453,10,'2018-04-18 10:21:31','2018-04-18 10:21:31'),(981,453,5,'2018-04-18 10:21:31','2018-04-18 10:21:31'),(982,454,11,'2018-04-18 10:21:31','2018-04-18 10:21:31'),(983,454,1,'2018-04-18 10:21:31','2018-04-18 10:21:31'),(984,454,10,'2018-04-18 10:21:31','2018-04-18 10:21:31'),(985,454,5,'2018-04-18 10:21:31','2018-04-18 10:21:31'),(986,455,17,'2018-04-18 10:21:31','2018-04-18 10:21:31'),(987,456,6,'2018-04-18 10:21:31','2018-04-18 10:21:31'),(988,456,1,'2018-04-18 10:21:31','2018-04-18 10:21:31'),(989,457,25,'2018-04-18 10:21:31','2018-04-18 10:21:31'),(990,458,11,'2018-04-18 10:21:31','2018-04-18 10:21:31'),(991,458,13,'2018-04-18 10:21:31','2018-04-18 10:21:31'),(992,459,15,'2018-04-18 10:21:31','2018-04-18 10:21:31'),(993,459,11,'2018-04-18 10:21:31','2018-04-18 10:21:31'),(994,460,4,'2018-04-18 10:21:31','2018-04-18 10:21:31'),(995,461,21,'2018-04-18 10:21:31','2018-04-18 10:21:31'),(996,462,9,'2018-04-18 10:21:31','2018-04-18 10:21:31'),(997,462,1,'2018-04-18 10:21:31','2018-04-18 10:21:31'),(998,462,21,'2018-04-18 10:21:31','2018-04-18 10:21:31'),(999,463,12,'2018-04-18 10:21:31','2018-04-18 10:21:31'),(1000,463,6,'2018-04-18 10:21:31','2018-04-18 10:21:31'),(1001,464,11,'2018-04-18 10:21:31','2018-04-18 10:21:31'),(1002,464,5,'2018-04-18 10:21:31','2018-04-18 10:21:31'),(1003,464,19,'2018-04-18 10:21:31','2018-04-18 10:21:31'),(1004,465,11,'2018-04-18 10:21:31','2018-04-18 10:21:31'),(1005,465,9,'2018-04-18 10:21:31','2018-04-18 10:21:31'),(1006,465,1,'2018-04-18 10:21:31','2018-04-18 10:21:31'),(1007,465,18,'2018-04-18 10:21:31','2018-04-18 10:21:31'),(1008,466,15,'2018-04-18 10:21:31','2018-04-18 10:21:31'),(1009,466,9,'2018-04-18 10:21:31','2018-04-18 10:21:31'),(1010,466,1,'2018-04-18 10:21:31','2018-04-18 10:21:31'),(1011,466,5,'2018-04-18 10:21:31','2018-04-18 10:21:31'),(1012,467,11,'2018-04-18 10:21:31','2018-04-18 10:21:31'),(1013,467,19,'2018-04-18 10:21:31','2018-04-18 10:21:31'),(1014,468,11,'2018-04-18 10:21:31','2018-04-18 10:21:31'),(1015,468,21,'2018-04-18 10:21:31','2018-04-18 10:21:31'),(1016,469,15,'2018-04-18 10:21:31','2018-04-18 10:21:31'),(1017,469,11,'2018-04-18 10:21:31','2018-04-18 10:21:31'),(1018,469,9,'2018-04-18 10:21:31','2018-04-18 10:21:31'),(1019,469,1,'2018-04-18 10:21:31','2018-04-18 10:21:31'),(1020,469,5,'2018-04-18 10:21:31','2018-04-18 10:21:31'),(1021,470,21,'2018-04-18 10:21:31','2018-04-18 10:21:31'),(1022,471,4,'2018-04-18 10:21:31','2018-04-18 10:21:31'),(1023,472,8,'2018-04-18 10:21:31','2018-04-18 10:21:31'),(1024,472,11,'2018-04-18 10:21:31','2018-04-18 10:21:31'),(1025,472,13,'2018-04-18 10:21:31','2018-04-18 10:21:31'),(1026,473,4,'2018-04-18 10:21:31','2018-04-18 10:21:31'),(1027,473,7,'2018-04-18 10:21:31','2018-04-18 10:21:31'),(1028,473,2,'2018-04-18 10:21:31','2018-04-18 10:21:31'),(1029,474,4,'2018-04-18 10:21:31','2018-04-18 10:21:31'),(1030,474,7,'2018-04-18 10:21:31','2018-04-18 10:21:31'),(1031,475,12,'2018-04-18 10:21:31','2018-04-18 10:21:31'),(1032,475,5,'2018-04-18 10:21:31','2018-04-18 10:21:31'),(1033,476,1,'2018-04-18 10:21:31','2018-04-18 10:21:31'),(1034,476,2,'2018-04-18 10:21:31','2018-04-18 10:21:31'),(1035,476,3,'2018-04-18 10:21:31','2018-04-18 10:21:31'),(1036,477,11,'2018-04-18 10:21:31','2018-04-18 10:21:31'),(1037,477,9,'2018-04-18 10:21:31','2018-04-18 10:21:31'),(1038,477,1,'2018-04-18 10:21:31','2018-04-18 10:21:31'),(1039,477,19,'2018-04-18 10:21:31','2018-04-18 10:21:31'),(1040,478,11,'2018-04-18 10:21:31','2018-04-18 10:21:31'),(1041,478,5,'2018-04-18 10:21:31','2018-04-18 10:21:31'),(1042,479,22,'2018-04-18 10:21:31','2018-04-18 10:21:31'),(1043,479,5,'2018-04-18 10:21:31','2018-04-18 10:21:31'),(1044,480,6,'2018-04-18 10:21:31','2018-04-18 10:21:31'),(1045,481,17,'2018-04-18 10:21:31','2018-04-18 10:21:31'),(1046,482,11,'2018-04-18 10:21:31','2018-04-18 10:21:31'),(1047,482,5,'2018-04-18 10:21:31','2018-04-18 10:21:31'),(1048,483,17,'2018-04-18 10:21:31','2018-04-18 10:21:31'),(1049,484,9,'2018-04-18 10:21:31','2018-04-18 10:21:31'),(1050,484,1,'2018-04-18 10:21:31','2018-04-18 10:21:31'),(1051,484,21,'2018-04-18 10:21:31','2018-04-18 10:21:31'),(1052,485,12,'2018-04-18 10:21:31','2018-04-18 10:21:31'),(1053,486,6,'2018-04-18 10:21:31','2018-04-18 10:21:31'),(1054,487,12,'2018-04-18 10:21:31','2018-04-18 10:21:31'),(1055,487,18,'2018-04-18 10:21:31','2018-04-18 10:21:31'),(1056,487,5,'2018-04-18 10:21:31','2018-04-18 10:21:31'),(1057,488,12,'2018-04-18 10:21:31','2018-04-18 10:21:31'),(1058,489,4,'2018-04-18 10:21:31','2018-04-18 10:21:31'),(1059,490,4,'2018-04-18 10:21:31','2018-04-18 10:21:31'),(1060,491,9,'2018-04-18 10:21:31','2018-04-18 10:21:31'),(1061,491,1,'2018-04-18 10:21:31','2018-04-18 10:21:31'),(1062,491,2,'2018-04-18 10:21:31','2018-04-18 10:21:31'),(1063,491,3,'2018-04-18 10:21:31','2018-04-18 10:21:31'),(1064,492,11,'2018-04-18 10:21:31','2018-04-18 10:21:31'),(1065,492,5,'2018-04-18 10:21:31','2018-04-18 10:21:31'),(1066,492,19,'2018-04-18 10:21:31','2018-04-18 10:21:31'),(1067,493,19,'2018-04-18 10:21:31','2018-04-18 10:21:31'),(1068,494,11,'2018-04-18 10:21:31','2018-04-18 10:21:31'),(1069,494,1,'2018-04-18 10:21:31','2018-04-18 10:21:31'),(1070,494,22,'2018-04-18 10:21:31','2018-04-18 10:21:31'),(1071,494,21,'2018-04-18 10:21:31','2018-04-18 10:21:31'),(1072,495,17,'2018-04-18 10:21:31','2018-04-18 10:21:31'),(1073,496,11,'2018-04-18 10:21:31','2018-04-18 10:21:31'),(1074,496,13,'2018-04-18 10:21:31','2018-04-18 10:21:31'),(1075,497,11,'2018-04-18 10:21:31','2018-04-18 10:21:31'),(1076,497,10,'2018-04-18 10:21:31','2018-04-18 10:21:31'),(1077,497,5,'2018-04-18 10:21:31','2018-04-18 10:21:31'),(1078,498,13,'2018-04-18 10:21:31','2018-04-18 10:21:31'),(1079,499,11,'2018-04-18 10:21:31','2018-04-18 10:21:31'),(1080,499,10,'2018-04-18 10:21:31','2018-04-18 10:21:31'),(1081,499,5,'2018-04-18 10:21:31','2018-04-18 10:21:31'),(1082,500,6,'2018-04-18 10:21:31','2018-04-18 10:21:31'),(1083,501,11,'2018-04-18 10:21:31','2018-04-18 10:21:31'),(1084,501,22,'2018-04-18 10:21:31','2018-04-18 10:21:31'),(1085,501,24,'2018-04-18 10:21:31','2018-04-18 10:21:31'),(1086,502,21,'2018-04-18 10:21:31','2018-04-18 10:21:31'),(1087,503,19,'2018-04-18 10:21:31','2018-04-18 10:21:31'),(1088,504,14,'2018-04-18 10:21:31','2018-04-18 10:21:31'),(1089,504,11,'2018-04-18 10:21:31','2018-04-18 10:21:31'),(1090,504,22,'2018-04-18 10:21:31','2018-04-18 10:21:31'),(1091,504,21,'2018-04-18 10:21:31','2018-04-18 10:21:31'),(1092,505,19,'2018-04-18 10:21:31','2018-04-18 10:21:31'),(1093,506,4,'2018-04-18 10:21:31','2018-04-18 10:21:31'),(1094,506,7,'2018-04-18 10:21:31','2018-04-18 10:21:31'),(1095,507,19,'2018-04-18 10:21:31','2018-04-18 10:21:31'),(1096,508,14,'2018-04-18 10:21:31','2018-04-18 10:21:31'),(1097,508,12,'2018-04-18 10:21:31','2018-04-18 10:21:31'),(1098,508,11,'2018-04-18 10:21:31','2018-04-18 10:21:31'),(1099,508,22,'2018-04-18 10:21:31','2018-04-18 10:21:31'),(1100,508,21,'2018-04-18 10:21:31','2018-04-18 10:21:31'),(1101,509,10,'2018-04-18 10:21:31','2018-04-18 10:21:31'),(1102,510,10,'2018-04-18 10:21:31','2018-04-18 10:21:31'),(1103,510,5,'2018-04-18 10:21:31','2018-04-18 10:21:31'),(1104,511,9,'2018-04-18 10:21:31','2018-04-18 10:21:31'),(1105,511,6,'2018-04-18 10:21:31','2018-04-18 10:21:31'),(1106,511,1,'2018-04-18 10:21:31','2018-04-18 10:21:31'),(1107,512,9,'2018-04-18 10:21:31','2018-04-18 10:21:31'),(1108,512,1,'2018-04-18 10:21:31','2018-04-18 10:21:31'),(1109,512,2,'2018-04-18 10:21:31','2018-04-18 10:21:31'),(1110,512,3,'2018-04-18 10:21:31','2018-04-18 10:21:31'),(1111,513,11,'2018-04-18 10:21:31','2018-04-18 10:21:31'),(1112,513,13,'2018-04-18 10:21:31','2018-04-18 10:21:31'),(1113,514,4,'2018-04-18 10:21:31','2018-04-18 10:21:31'),(1114,515,22,'2018-04-18 10:21:31','2018-04-18 10:21:31'),(1115,515,24,'2018-04-18 10:21:31','2018-04-18 10:21:31'),(1116,516,9,'2018-04-18 10:21:31','2018-04-18 10:21:31'),(1117,516,1,'2018-04-18 10:21:31','2018-04-18 10:21:31'),(1118,517,4,'2018-04-18 10:21:32','2018-04-18 10:21:32'),(1119,518,4,'2018-04-18 10:21:32','2018-04-18 10:21:32'),(1120,518,7,'2018-04-18 10:21:32','2018-04-18 10:21:32'),(1121,519,4,'2018-04-18 10:21:32','2018-04-18 10:21:32'),(1122,519,7,'2018-04-18 10:21:32','2018-04-18 10:21:32'),(1123,520,4,'2018-04-18 10:21:32','2018-04-18 10:21:32'),(1124,520,20,'2018-04-18 10:21:32','2018-04-18 10:21:32'),(1125,521,4,'2018-04-18 10:21:32','2018-04-18 10:21:32'),(1126,522,4,'2018-04-18 10:21:32','2018-04-18 10:21:32'),(1127,522,7,'2018-04-18 10:21:32','2018-04-18 10:21:32'),(1128,523,4,'2018-04-18 10:21:32','2018-04-18 10:21:32'),(1129,523,7,'2018-04-18 10:21:32','2018-04-18 10:21:32'),(1130,524,4,'2018-04-18 10:21:32','2018-04-18 10:21:32'),(1131,525,4,'2018-04-18 10:21:32','2018-04-18 10:21:32'),(1132,526,11,'2018-04-18 10:21:32','2018-04-18 10:21:32'),(1133,526,19,'2018-04-18 10:21:32','2018-04-18 10:21:32'),(1134,527,17,'2018-04-18 10:21:32','2018-04-18 10:21:32'),(1135,528,14,'2018-04-18 10:21:32','2018-04-18 10:21:32'),(1136,528,11,'2018-04-18 10:21:32','2018-04-18 10:21:32'),(1137,528,5,'2018-04-18 10:21:32','2018-04-18 10:21:32'),(1138,529,4,'2018-04-18 10:21:32','2018-04-18 10:21:32'),(1139,530,15,'2018-04-18 10:21:32','2018-04-18 10:21:32'),(1140,530,12,'2018-04-18 10:21:32','2018-04-18 10:21:32'),(1141,531,11,'2018-04-18 10:21:32','2018-04-18 10:21:32'),(1142,531,9,'2018-04-18 10:21:32','2018-04-18 10:21:32'),(1143,531,1,'2018-04-18 10:21:32','2018-04-18 10:21:32'),(1144,531,25,'2018-04-18 10:21:32','2018-04-18 10:21:32'),(1145,531,17,'2018-04-18 10:21:32','2018-04-18 10:21:32'),(1146,532,4,'2018-04-18 10:21:32','2018-04-18 10:21:32'),(1147,532,7,'2018-04-18 10:21:32','2018-04-18 10:21:32'),(1148,533,4,'2018-04-18 10:21:32','2018-04-18 10:21:32'),(1149,534,4,'2018-04-18 10:21:32','2018-04-18 10:21:32'),(1150,535,4,'2018-04-18 10:21:32','2018-04-18 10:21:32'),(1151,535,20,'2018-04-18 10:21:32','2018-04-18 10:21:32'),(1152,536,4,'2018-04-18 10:21:32','2018-04-18 10:21:32'),(1153,536,20,'2018-04-18 10:21:32','2018-04-18 10:21:32'),(1154,537,4,'2018-04-18 10:21:32','2018-04-18 10:21:32'),(1155,537,7,'2018-04-18 10:21:32','2018-04-18 10:21:32'),(1156,538,4,'2018-04-18 10:21:32','2018-04-18 10:21:32'),(1157,538,7,'2018-04-18 10:21:32','2018-04-18 10:21:32'),(1158,539,26,'2018-04-18 10:21:32','2018-04-18 10:21:32'),(1159,540,11,'2018-04-18 10:21:32','2018-04-18 10:21:32'),(1160,540,17,'2018-04-18 10:21:32','2018-04-18 10:21:32'),(1161,541,13,'2018-04-18 10:21:32','2018-04-18 10:21:32'),(1162,542,6,'2018-04-18 10:21:32','2018-04-18 10:21:32'),(1163,543,4,'2018-04-18 10:21:32','2018-04-18 10:21:32'),(1164,544,4,'2018-04-18 10:21:32','2018-04-18 10:21:32'),(1165,545,4,'2018-04-18 10:21:32','2018-04-18 10:21:32'),(1166,545,7,'2018-04-18 10:21:32','2018-04-18 10:21:32'),(1167,546,4,'2018-04-18 10:21:32','2018-04-18 10:21:32'),(1168,547,4,'2018-04-18 10:21:32','2018-04-18 10:21:32'),(1169,548,6,'2018-04-18 10:21:32','2018-04-18 10:21:32'),(1170,548,1,'2018-04-18 10:21:32','2018-04-18 10:21:32'),(1171,549,6,'2018-04-18 10:21:32','2018-04-18 10:21:32'),(1172,550,4,'2018-04-18 10:21:32','2018-04-18 10:21:32'),(1173,551,17,'2018-04-18 10:21:32','2018-04-18 10:21:32'),(1174,552,15,'2018-04-18 10:21:32','2018-04-18 10:21:32'),(1175,552,12,'2018-04-18 10:21:32','2018-04-18 10:21:32'),(1176,553,9,'2018-04-18 10:21:32','2018-04-18 10:21:32'),(1177,553,1,'2018-04-18 10:21:32','2018-04-18 10:21:32'),(1178,554,11,'2018-04-18 10:21:32','2018-04-18 10:21:32'),(1179,554,19,'2018-04-18 10:21:32','2018-04-18 10:21:32'),(1180,555,17,'2018-04-18 10:21:32','2018-04-18 10:21:32'),(1181,556,9,'2018-04-18 10:21:32','2018-04-18 10:21:32'),(1182,556,1,'2018-04-18 10:21:32','2018-04-18 10:21:32'),(1183,557,4,'2018-04-18 10:21:32','2018-04-18 10:21:32'),(1184,558,4,'2018-04-18 10:21:32','2018-04-18 10:21:32'),(1185,558,7,'2018-04-18 10:21:32','2018-04-18 10:21:32'),(1186,559,4,'2018-04-18 10:21:32','2018-04-18 10:21:32'),(1187,559,7,'2018-04-18 10:21:32','2018-04-18 10:21:32'),(1188,560,4,'2018-04-18 10:21:32','2018-04-18 10:21:32'),(1189,560,7,'2018-04-18 10:21:32','2018-04-18 10:21:32'),(1190,561,4,'2018-04-18 10:21:32','2018-04-18 10:21:32'),(1191,562,4,'2018-04-18 10:21:32','2018-04-18 10:21:32'),(1192,562,7,'2018-04-18 10:21:32','2018-04-18 10:21:32'),(1193,563,4,'2018-04-18 10:21:32','2018-04-18 10:21:32'),(1194,563,7,'2018-04-18 10:21:32','2018-04-18 10:21:32'),(1195,564,4,'2018-04-18 10:21:32','2018-04-18 10:21:32'),(1196,565,4,'2018-04-18 10:21:32','2018-04-18 10:21:32'),(1197,566,4,'2018-04-18 10:21:32','2018-04-18 10:21:32'),(1198,566,7,'2018-04-18 10:21:32','2018-04-18 10:21:32'),(1199,567,4,'2018-04-18 10:21:32','2018-04-18 10:21:32'),(1200,567,7,'2018-04-18 10:21:32','2018-04-18 10:21:32'),(1201,568,13,'2018-04-18 10:21:32','2018-04-18 10:21:32'),(1202,568,22,'2018-04-18 10:21:32','2018-04-18 10:21:32'),(1203,569,13,'2018-04-18 10:21:32','2018-04-18 10:21:32'),(1204,570,12,'2018-04-18 10:21:32','2018-04-18 10:21:32'),(1205,570,6,'2018-04-18 10:21:32','2018-04-18 10:21:32'),(1206,571,12,'2018-04-18 10:21:32','2018-04-18 10:21:32'),(1207,572,12,'2018-04-18 10:21:32','2018-04-18 10:21:32'),(1208,572,6,'2018-04-18 10:21:32','2018-04-18 10:21:32'),(1209,573,12,'2018-04-18 10:21:32','2018-04-18 10:21:32'),(1210,573,13,'2018-04-18 10:21:32','2018-04-18 10:21:32'),(1211,574,15,'2018-04-18 10:21:32','2018-04-18 10:21:32'),(1212,574,11,'2018-04-18 10:21:32','2018-04-18 10:21:32'),(1213,574,9,'2018-04-18 10:21:32','2018-04-18 10:21:32'),(1214,574,1,'2018-04-18 10:21:32','2018-04-18 10:21:32'),(1215,575,11,'2018-04-18 10:21:32','2018-04-18 10:21:32'),(1216,575,9,'2018-04-18 10:21:32','2018-04-18 10:21:32'),(1217,575,1,'2018-04-18 10:21:32','2018-04-18 10:21:32'),(1218,575,21,'2018-04-18 10:21:32','2018-04-18 10:21:32'),(1219,576,25,'2018-04-18 10:21:32','2018-04-18 10:21:32'),(1220,577,6,'2018-04-18 10:21:32','2018-04-18 10:21:32'),(1221,578,10,'2018-04-18 10:21:32','2018-04-18 10:21:32'),(1222,579,4,'2018-04-18 10:21:32','2018-04-18 10:21:32'),(1223,579,7,'2018-04-18 10:21:32','2018-04-18 10:21:32'),(1224,580,4,'2018-04-18 10:21:32','2018-04-18 10:21:32'),(1225,581,6,'2018-04-18 10:21:32','2018-04-18 10:21:32'),(1226,581,13,'2018-04-18 10:21:32','2018-04-18 10:21:32'),(1227,582,22,'2018-04-18 10:21:32','2018-04-18 10:21:32'),(1228,583,11,'2018-04-18 10:21:32','2018-04-18 10:21:32'),(1229,583,22,'2018-04-18 10:21:32','2018-04-18 10:21:32'),(1230,584,12,'2018-04-18 10:21:32','2018-04-18 10:21:32'),(1231,584,5,'2018-04-18 10:21:32','2018-04-18 10:21:32'),(1232,585,8,'2018-04-18 10:21:32','2018-04-18 10:21:32'),(1233,585,13,'2018-04-18 10:21:32','2018-04-18 10:21:32'),(1234,586,11,'2018-04-18 10:21:32','2018-04-18 10:21:32'),(1235,586,19,'2018-04-18 10:21:32','2018-04-18 10:21:32'),(1236,587,9,'2018-04-18 10:21:32','2018-04-18 10:21:32'),(1237,587,1,'2018-04-18 10:21:32','2018-04-18 10:21:32'),(1238,587,22,'2018-04-18 10:21:32','2018-04-18 10:21:32'),(1239,587,5,'2018-04-18 10:21:32','2018-04-18 10:21:32'),(1240,588,14,'2018-04-18 10:21:32','2018-04-18 10:21:32'),(1241,588,9,'2018-04-18 10:21:32','2018-04-18 10:21:32'),(1242,588,1,'2018-04-18 10:21:32','2018-04-18 10:21:32'),(1243,588,22,'2018-04-18 10:21:32','2018-04-18 10:21:32'),(1244,588,5,'2018-04-18 10:21:32','2018-04-18 10:21:32'),(1245,589,14,'2018-04-18 10:21:32','2018-04-18 10:21:32'),(1246,589,9,'2018-04-18 10:21:32','2018-04-18 10:21:32'),(1247,589,1,'2018-04-18 10:21:32','2018-04-18 10:21:32'),(1248,590,5,'2018-04-18 10:21:32','2018-04-18 10:21:32'),(1249,591,9,'2018-04-18 10:21:32','2018-04-18 10:21:32'),(1250,591,1,'2018-04-18 10:21:32','2018-04-18 10:21:32'),(1251,591,22,'2018-04-18 10:21:32','2018-04-18 10:21:32'),(1252,591,5,'2018-04-18 10:21:32','2018-04-18 10:21:32'),(1253,592,14,'2018-04-18 10:21:33','2018-04-18 10:21:33'),(1254,592,11,'2018-04-18 10:21:33','2018-04-18 10:21:33'),(1255,592,9,'2018-04-18 10:21:33','2018-04-18 10:21:33'),(1256,592,1,'2018-04-18 10:21:33','2018-04-18 10:21:33'),(1257,593,17,'2018-04-18 10:21:33','2018-04-18 10:21:33'),(1258,594,9,'2018-04-18 10:21:33','2018-04-18 10:21:33'),(1259,594,1,'2018-04-18 10:21:33','2018-04-18 10:21:33'),(1260,594,17,'2018-04-18 10:21:33','2018-04-18 10:21:33'),(1261,595,11,'2018-04-18 10:21:33','2018-04-18 10:21:33'),(1262,595,23,'2018-04-18 10:21:33','2018-04-18 10:21:33'),(1263,596,4,'2018-04-18 10:21:33','2018-04-18 10:21:33'),(1264,596,7,'2018-04-18 10:21:33','2018-04-18 10:21:33'),(1265,597,11,'2018-04-18 10:21:33','2018-04-18 10:21:33'),(1266,597,6,'2018-04-18 10:21:33','2018-04-18 10:21:33'),(1267,597,1,'2018-04-18 10:21:33','2018-04-18 10:21:33'),(1268,598,25,'2018-04-18 10:21:33','2018-04-18 10:21:33'),(1269,599,4,'2018-04-18 10:21:33','2018-04-18 10:21:33'),(1270,600,9,'2018-04-18 10:21:33','2018-04-18 10:21:33'),(1271,600,1,'2018-04-18 10:21:33','2018-04-18 10:21:33'),(1272,600,21,'2018-04-18 10:21:33','2018-04-18 10:21:33'),(1273,601,11,'2018-04-18 10:21:33','2018-04-18 10:21:33'),(1274,601,17,'2018-04-18 10:21:33','2018-04-18 10:21:33'),(1275,602,11,'2018-04-18 10:21:33','2018-04-18 10:21:33'),(1276,602,25,'2018-04-18 10:21:33','2018-04-18 10:21:33'),(1277,603,16,'2018-04-18 10:21:33','2018-04-18 10:21:33'),(1278,604,15,'2018-04-18 10:21:33','2018-04-18 10:21:33'),(1279,605,1,'2018-04-18 10:21:33','2018-04-18 10:21:33'),(1280,605,2,'2018-04-18 10:21:33','2018-04-18 10:21:33'),(1281,605,3,'2018-04-18 10:21:33','2018-04-18 10:21:33'),(1282,606,11,'2018-04-18 10:21:33','2018-04-18 10:21:33'),(1283,606,9,'2018-04-18 10:21:33','2018-04-18 10:21:33'),(1284,606,1,'2018-04-18 10:21:33','2018-04-18 10:21:33'),(1285,606,5,'2018-04-18 10:21:33','2018-04-18 10:21:33'),(1286,607,8,'2018-04-18 10:21:33','2018-04-18 10:21:33'),(1287,608,21,'2018-04-18 10:21:33','2018-04-18 10:21:33'),(1288,609,11,'2018-04-18 10:21:33','2018-04-18 10:21:33'),(1289,609,9,'2018-04-18 10:21:33','2018-04-18 10:21:33'),(1290,609,1,'2018-04-18 10:21:33','2018-04-18 10:21:33'),(1291,609,18,'2018-04-18 10:21:33','2018-04-18 10:21:33'),(1292,610,11,'2018-04-18 10:21:33','2018-04-18 10:21:33'),(1293,610,18,'2018-04-18 10:21:33','2018-04-18 10:21:33'),(1294,611,11,'2018-04-18 10:21:33','2018-04-18 10:21:33'),(1295,611,23,'2018-04-18 10:21:33','2018-04-18 10:21:33'),(1296,611,9,'2018-04-18 10:21:33','2018-04-18 10:21:33'),(1297,611,1,'2018-04-18 10:21:33','2018-04-18 10:21:33'),(1298,611,25,'2018-04-18 10:21:33','2018-04-18 10:21:33'),(1299,612,15,'2018-04-18 10:21:33','2018-04-18 10:21:33'),(1300,612,4,'2018-04-18 10:21:33','2018-04-18 10:21:33'),(1301,612,2,'2018-04-18 10:21:33','2018-04-18 10:21:33'),(1302,613,4,'2018-04-18 10:21:33','2018-04-18 10:21:33'),(1303,614,4,'2018-04-18 10:21:33','2018-04-18 10:21:33'),(1304,614,7,'2018-04-18 10:21:33','2018-04-18 10:21:33'),(1305,615,4,'2018-04-18 10:21:33','2018-04-18 10:21:33'),(1306,616,21,'2018-04-18 10:21:33','2018-04-18 10:21:33'),(1307,617,12,'2018-04-18 10:21:33','2018-04-18 10:21:33'),(1308,617,6,'2018-04-18 10:21:33','2018-04-18 10:21:33'),(1309,618,11,'2018-04-18 10:21:33','2018-04-18 10:21:33'),(1310,618,22,'2018-04-18 10:21:33','2018-04-18 10:21:33'),(1311,618,24,'2018-04-18 10:21:33','2018-04-18 10:21:33'),(1312,619,14,'2018-04-18 10:21:33','2018-04-18 10:21:33'),(1313,619,12,'2018-04-18 10:21:33','2018-04-18 10:21:33'),(1314,619,11,'2018-04-18 10:21:33','2018-04-18 10:21:33'),(1315,620,11,'2018-04-18 10:21:33','2018-04-18 10:21:33'),(1316,620,18,'2018-04-18 10:21:33','2018-04-18 10:21:33'),(1317,621,18,'2018-04-18 10:21:33','2018-04-18 10:21:33'),(1318,621,5,'2018-04-18 10:21:33','2018-04-18 10:21:33'),(1319,622,11,'2018-04-18 10:21:33','2018-04-18 10:21:33'),(1320,622,18,'2018-04-18 10:21:33','2018-04-18 10:21:33'),(1321,623,1,'2018-04-18 10:21:33','2018-04-18 10:21:33'),(1322,623,2,'2018-04-18 10:21:33','2018-04-18 10:21:33'),(1323,623,3,'2018-04-18 10:21:33','2018-04-18 10:21:33'),(1324,624,23,'2018-04-18 10:21:33','2018-04-18 10:21:33'),(1325,624,9,'2018-04-18 10:21:33','2018-04-18 10:21:33'),(1326,624,1,'2018-04-18 10:21:33','2018-04-18 10:21:33'),(1327,625,11,'2018-04-18 10:21:33','2018-04-18 10:21:33'),(1328,625,9,'2018-04-18 10:21:33','2018-04-18 10:21:33'),(1329,625,1,'2018-04-18 10:21:33','2018-04-18 10:21:33'),(1330,625,17,'2018-04-18 10:21:33','2018-04-18 10:21:33'),(1331,626,11,'2018-04-18 10:21:33','2018-04-18 10:21:33'),(1332,626,5,'2018-04-18 10:21:33','2018-04-18 10:21:33'),(1333,627,25,'2018-04-18 10:21:33','2018-04-18 10:21:33'),(1334,628,11,'2018-04-18 10:21:33','2018-04-18 10:21:33'),(1335,628,1,'2018-04-18 10:21:33','2018-04-18 10:21:33'),(1336,628,25,'2018-04-18 10:21:33','2018-04-18 10:21:33'),(1337,629,12,'2018-04-18 10:21:33','2018-04-18 10:21:33'),(1338,629,10,'2018-04-18 10:21:33','2018-04-18 10:21:33'),(1339,630,13,'2018-04-18 10:21:33','2018-04-18 10:21:33'),(1340,631,11,'2018-04-18 10:21:33','2018-04-18 10:21:33'),(1341,631,18,'2018-04-18 10:21:33','2018-04-18 10:21:33'),(1342,632,9,'2018-04-18 10:21:33','2018-04-18 10:21:33'),(1343,632,1,'2018-04-18 10:21:33','2018-04-18 10:21:33'),(1344,632,5,'2018-04-18 10:21:33','2018-04-18 10:21:33'),(1345,633,9,'2018-04-18 10:21:33','2018-04-18 10:21:33'),(1346,633,1,'2018-04-18 10:21:33','2018-04-18 10:21:33'),(1347,633,5,'2018-04-18 10:21:33','2018-04-18 10:21:33'),(1348,634,11,'2018-04-18 10:21:33','2018-04-18 10:21:33'),(1349,634,9,'2018-04-18 10:21:33','2018-04-18 10:21:33'),(1350,634,1,'2018-04-18 10:21:33','2018-04-18 10:21:33'),(1351,634,22,'2018-04-18 10:21:33','2018-04-18 10:21:33'),(1352,635,11,'2018-04-18 10:21:33','2018-04-18 10:21:33'),(1353,635,1,'2018-04-18 10:21:33','2018-04-18 10:21:33'),(1354,635,13,'2018-04-18 10:21:33','2018-04-18 10:21:33'),(1355,636,23,'2018-04-18 10:21:33','2018-04-18 10:21:33'),(1356,636,9,'2018-04-18 10:21:33','2018-04-18 10:21:33'),(1357,636,1,'2018-04-18 10:21:33','2018-04-18 10:21:33'),(1358,636,5,'2018-04-18 10:21:33','2018-04-18 10:21:33'),(1359,637,11,'2018-04-18 10:21:33','2018-04-18 10:21:33'),(1360,637,23,'2018-04-18 10:21:33','2018-04-18 10:21:33'),(1361,638,22,'2018-04-18 10:21:33','2018-04-18 10:21:33'),(1362,639,11,'2018-04-18 10:21:33','2018-04-18 10:21:33'),(1363,639,9,'2018-04-18 10:21:33','2018-04-18 10:21:33'),(1364,639,1,'2018-04-18 10:21:33','2018-04-18 10:21:33'),(1365,639,22,'2018-04-18 10:21:33','2018-04-18 10:21:33'),(1366,640,9,'2018-04-18 10:21:33','2018-04-18 10:21:33'),(1367,640,1,'2018-04-18 10:21:33','2018-04-18 10:21:33'),(1368,640,10,'2018-04-18 10:21:33','2018-04-18 10:21:33'),(1369,641,6,'2018-04-18 10:21:33','2018-04-18 10:21:33'),(1370,642,11,'2018-04-18 10:21:33','2018-04-18 10:21:33'),(1371,642,17,'2018-04-18 10:21:33','2018-04-18 10:21:33'),(1372,643,11,'2018-04-18 10:21:33','2018-04-18 10:21:33'),(1373,643,1,'2018-04-18 10:21:33','2018-04-18 10:21:33'),(1374,643,17,'2018-04-18 10:21:33','2018-04-18 10:21:33'),(1375,644,9,'2018-04-18 10:21:33','2018-04-18 10:21:33'),(1376,644,1,'2018-04-18 10:21:33','2018-04-18 10:21:33'),(1377,644,22,'2018-04-18 10:21:33','2018-04-18 10:21:33'),(1378,644,24,'2018-04-18 10:21:33','2018-04-18 10:21:33'),(1379,645,6,'2018-04-18 10:21:33','2018-04-18 10:21:33'),(1380,646,17,'2018-04-18 10:21:33','2018-04-18 10:21:33'),(1381,647,4,'2018-04-18 10:21:33','2018-04-18 10:21:33'),(1382,647,20,'2018-04-18 10:21:33','2018-04-18 10:21:33'),(1383,648,11,'2018-04-18 10:21:33','2018-04-18 10:21:33'),(1384,648,22,'2018-04-18 10:21:33','2018-04-18 10:21:33'),(1385,648,24,'2018-04-18 10:21:33','2018-04-18 10:21:33'),(1386,649,6,'2018-04-18 10:21:33','2018-04-18 10:21:33'),(1387,650,11,'2018-04-18 10:21:33','2018-04-18 10:21:33'),(1388,650,22,'2018-04-18 10:21:33','2018-04-18 10:21:33'),(1389,650,24,'2018-04-18 10:21:33','2018-04-18 10:21:33'),(1390,651,6,'2018-04-18 10:21:33','2018-04-18 10:21:33'),(1391,652,4,'2018-04-18 10:21:33','2018-04-18 10:21:33'),(1392,652,20,'2018-04-18 10:21:33','2018-04-18 10:21:33'),(1393,653,6,'2018-04-18 10:21:33','2018-04-18 10:21:33'),(1394,654,5,'2018-04-18 10:21:33','2018-04-18 10:21:33'),(1395,655,5,'2018-04-18 10:21:33','2018-04-18 10:21:33'),(1396,656,11,'2018-04-18 10:21:33','2018-04-18 10:21:33'),(1397,656,21,'2018-04-18 10:21:33','2018-04-18 10:21:33'),(1398,657,11,'2018-04-18 10:21:33','2018-04-18 10:21:33'),(1399,657,5,'2018-04-18 10:21:33','2018-04-18 10:21:33'),(1400,658,15,'2018-04-18 10:21:33','2018-04-18 10:21:33'),(1401,658,11,'2018-04-18 10:21:33','2018-04-18 10:21:33'),(1402,659,5,'2018-04-18 10:21:34','2018-04-18 10:21:34'),(1403,660,21,'2018-04-18 10:21:34','2018-04-18 10:21:34'),(1404,661,4,'2018-04-18 10:21:34','2018-04-18 10:21:34'),(1405,662,4,'2018-04-18 10:21:34','2018-04-18 10:21:34'),(1406,663,8,'2018-04-18 10:21:34','2018-04-18 10:21:34'),(1407,664,8,'2018-04-18 10:21:34','2018-04-18 10:21:34'),(1408,664,11,'2018-04-18 10:21:34','2018-04-18 10:21:34'),(1409,665,8,'2018-04-18 10:21:34','2018-04-18 10:21:34'),(1410,665,11,'2018-04-18 10:21:34','2018-04-18 10:21:34'),(1411,665,1,'2018-04-18 10:21:34','2018-04-18 10:21:34'),(1412,666,8,'2018-04-18 10:21:34','2018-04-18 10:21:34'),(1413,666,22,'2018-04-18 10:21:34','2018-04-18 10:21:34'),(1414,667,12,'2018-04-18 10:21:34','2018-04-18 10:21:34'),(1415,667,6,'2018-04-18 10:21:34','2018-04-18 10:21:34'),(1416,667,13,'2018-04-18 10:21:34','2018-04-18 10:21:34'),(1417,668,4,'2018-04-18 10:21:34','2018-04-18 10:21:34'),(1418,669,4,'2018-04-18 10:21:34','2018-04-18 10:21:34'),(1419,669,20,'2018-04-18 10:21:34','2018-04-18 10:21:34'),(1420,670,4,'2018-04-18 10:21:34','2018-04-18 10:21:34'),(1421,670,20,'2018-04-18 10:21:34','2018-04-18 10:21:34'),(1422,671,11,'2018-04-18 10:21:34','2018-04-18 10:21:34'),(1423,671,19,'2018-04-18 10:21:34','2018-04-18 10:21:34'),(1424,672,5,'2018-04-18 10:21:34','2018-04-18 10:21:34'),(1425,673,11,'2018-04-18 10:21:34','2018-04-18 10:21:34'),(1426,673,5,'2018-04-18 10:21:34','2018-04-18 10:21:34'),(1427,674,19,'2018-04-18 10:21:34','2018-04-18 10:21:34'),(1428,675,11,'2018-04-18 10:21:34','2018-04-18 10:21:34'),(1429,675,9,'2018-04-18 10:21:34','2018-04-18 10:21:34'),(1430,675,1,'2018-04-18 10:21:34','2018-04-18 10:21:34'),(1431,675,5,'2018-04-18 10:21:34','2018-04-18 10:21:34'),(1432,676,16,'2018-04-18 10:21:34','2018-04-18 10:21:34'),(1433,677,9,'2018-04-18 10:21:34','2018-04-18 10:21:34'),(1434,677,1,'2018-04-18 10:21:34','2018-04-18 10:21:34'),(1435,677,22,'2018-04-18 10:21:34','2018-04-18 10:21:34'),(1436,677,5,'2018-04-18 10:21:34','2018-04-18 10:21:34'),(1437,678,4,'2018-04-18 10:21:34','2018-04-18 10:21:34'),(1438,678,7,'2018-04-18 10:21:34','2018-04-18 10:21:34'),(1439,679,4,'2018-04-18 10:21:34','2018-04-18 10:21:34'),(1440,679,7,'2018-04-18 10:21:34','2018-04-18 10:21:34'),(1441,680,4,'2018-04-18 10:21:34','2018-04-18 10:21:34'),(1442,681,12,'2018-04-18 10:21:34','2018-04-18 10:21:34'),(1443,681,13,'2018-04-18 10:21:34','2018-04-18 10:21:34'),(1444,682,8,'2018-04-18 10:21:34','2018-04-18 10:21:34'),(1445,682,9,'2018-04-18 10:21:34','2018-04-18 10:21:34'),(1446,682,1,'2018-04-18 10:21:34','2018-04-18 10:21:34'),(1447,683,9,'2018-04-18 10:21:34','2018-04-18 10:21:34'),(1448,683,1,'2018-04-18 10:21:34','2018-04-18 10:21:34'),(1449,683,21,'2018-04-18 10:21:34','2018-04-18 10:21:34'),(1450,684,12,'2018-04-18 10:21:34','2018-04-18 10:21:34'),(1451,684,11,'2018-04-18 10:21:34','2018-04-18 10:21:34'),(1452,684,21,'2018-04-18 10:21:34','2018-04-18 10:21:34'),(1453,685,11,'2018-04-18 10:21:34','2018-04-18 10:21:34'),(1454,685,21,'2018-04-18 10:21:34','2018-04-18 10:21:34'),(1455,686,21,'2018-04-18 10:21:34','2018-04-18 10:21:34'),(1456,687,14,'2018-04-18 10:21:34','2018-04-18 10:21:34'),(1457,687,11,'2018-04-18 10:21:34','2018-04-18 10:21:34'),(1458,688,9,'2018-04-18 10:21:34','2018-04-18 10:21:34'),(1459,688,1,'2018-04-18 10:21:34','2018-04-18 10:21:34'),(1460,688,21,'2018-04-18 10:21:34','2018-04-18 10:21:34'),(1461,689,11,'2018-04-18 10:21:34','2018-04-18 10:21:34'),(1462,689,19,'2018-04-18 10:21:34','2018-04-18 10:21:34'),(1463,690,4,'2018-04-18 10:21:34','2018-04-18 10:21:34'),(1464,691,12,'2018-04-18 10:21:34','2018-04-18 10:21:34'),(1465,691,11,'2018-04-18 10:21:34','2018-04-18 10:21:34'),(1466,691,22,'2018-04-18 10:21:34','2018-04-18 10:21:34'),(1467,691,24,'2018-04-18 10:21:34','2018-04-18 10:21:34'),(1468,692,13,'2018-04-18 10:21:34','2018-04-18 10:21:34'),(1469,693,4,'2018-04-18 10:21:34','2018-04-18 10:21:34'),(1470,694,11,'2018-04-18 10:21:34','2018-04-18 10:21:34'),(1471,694,22,'2018-04-18 10:21:34','2018-04-18 10:21:34'),(1472,694,24,'2018-04-18 10:21:34','2018-04-18 10:21:34'),(1473,695,11,'2018-04-18 10:21:34','2018-04-18 10:21:34'),(1474,695,9,'2018-04-18 10:21:34','2018-04-18 10:21:34'),(1475,695,1,'2018-04-18 10:21:34','2018-04-18 10:21:34'),(1476,695,25,'2018-04-18 10:21:34','2018-04-18 10:21:34'),(1477,696,11,'2018-04-18 10:21:34','2018-04-18 10:21:34'),(1478,696,19,'2018-04-18 10:21:34','2018-04-18 10:21:34'),(1479,697,9,'2018-04-18 10:21:34','2018-04-18 10:21:34'),(1480,697,1,'2018-04-18 10:21:34','2018-04-18 10:21:34'),(1481,697,22,'2018-04-18 10:21:34','2018-04-18 10:21:34'),(1482,698,15,'2018-04-18 10:21:34','2018-04-18 10:21:34'),(1483,698,9,'2018-04-18 10:21:34','2018-04-18 10:21:34'),(1484,698,1,'2018-04-18 10:21:34','2018-04-18 10:21:34'),(1485,699,13,'2018-04-18 10:21:34','2018-04-18 10:21:34'),(1486,699,22,'2018-04-18 10:21:34','2018-04-18 10:21:34'),(1487,700,12,'2018-04-18 10:21:34','2018-04-18 10:21:34'),(1488,700,11,'2018-04-18 10:21:34','2018-04-18 10:21:34'),(1489,700,25,'2018-04-18 10:21:34','2018-04-18 10:21:34'),(1490,701,22,'2018-04-18 10:21:34','2018-04-18 10:21:34'),(1491,702,12,'2018-04-18 10:21:34','2018-04-18 10:21:34'),(1492,702,22,'2018-04-18 10:21:34','2018-04-18 10:21:34'),(1493,702,24,'2018-04-18 10:21:34','2018-04-18 10:21:34'),(1494,703,11,'2018-04-18 10:21:34','2018-04-18 10:21:34'),(1495,703,22,'2018-04-18 10:21:34','2018-04-18 10:21:34'),(1496,703,24,'2018-04-18 10:21:34','2018-04-18 10:21:34'),(1497,704,17,'2018-04-18 10:21:34','2018-04-18 10:21:34'),(1498,705,25,'2018-04-18 10:21:34','2018-04-18 10:21:34'),(1499,706,15,'2018-04-18 10:21:34','2018-04-18 10:21:34'),(1500,707,12,'2018-04-18 10:21:34','2018-04-18 10:21:34'),(1501,708,6,'2018-04-18 10:21:34','2018-04-18 10:21:34'),(1502,709,11,'2018-04-18 10:21:34','2018-04-18 10:21:34'),(1503,709,5,'2018-04-18 10:21:34','2018-04-18 10:21:34'),(1504,710,11,'2018-04-18 10:21:34','2018-04-18 10:21:34'),(1505,710,21,'2018-04-18 10:21:34','2018-04-18 10:21:34'),(1506,711,13,'2018-04-18 10:21:34','2018-04-18 10:21:34'),(1507,712,15,'2018-04-18 10:21:34','2018-04-18 10:21:34'),(1508,712,11,'2018-04-18 10:21:34','2018-04-18 10:21:34'),(1509,712,18,'2018-04-18 10:21:34','2018-04-18 10:21:34'),(1510,713,8,'2018-04-18 10:21:34','2018-04-18 10:21:34'),(1511,714,11,'2018-04-18 10:21:34','2018-04-18 10:21:34'),(1512,714,13,'2018-04-18 10:21:34','2018-04-18 10:21:34'),(1513,715,11,'2018-04-18 10:21:34','2018-04-18 10:21:34'),(1514,715,17,'2018-04-18 10:21:34','2018-04-18 10:21:34'),(1515,716,11,'2018-04-18 10:21:34','2018-04-18 10:21:34'),(1516,716,9,'2018-04-18 10:21:34','2018-04-18 10:21:34'),(1517,716,1,'2018-04-18 10:21:34','2018-04-18 10:21:34'),(1518,716,21,'2018-04-18 10:21:34','2018-04-18 10:21:34'),(1519,717,11,'2018-04-18 10:21:34','2018-04-18 10:21:34'),(1520,717,9,'2018-04-18 10:21:34','2018-04-18 10:21:34'),(1521,717,1,'2018-04-18 10:21:34','2018-04-18 10:21:34'),(1522,717,21,'2018-04-18 10:21:34','2018-04-18 10:21:34'),(1523,718,9,'2018-04-18 10:21:34','2018-04-18 10:21:34'),(1524,718,1,'2018-04-18 10:21:34','2018-04-18 10:21:34'),(1525,718,5,'2018-04-18 10:21:34','2018-04-18 10:21:34'),(1526,719,25,'2018-04-18 10:21:34','2018-04-18 10:21:34'),(1527,720,11,'2018-04-18 10:21:34','2018-04-18 10:21:34'),(1528,720,1,'2018-04-18 10:21:34','2018-04-18 10:21:34'),(1529,720,5,'2018-04-18 10:21:34','2018-04-18 10:21:34'),(1530,721,12,'2018-04-18 10:21:34','2018-04-18 10:21:34'),(1531,721,6,'2018-04-18 10:21:34','2018-04-18 10:21:34'),(1532,722,4,'2018-04-18 10:21:34','2018-04-18 10:21:34'),(1533,723,6,'2018-04-18 10:21:34','2018-04-18 10:21:34'),(1534,724,9,'2018-04-18 10:21:34','2018-04-18 10:21:34'),(1535,724,1,'2018-04-18 10:21:34','2018-04-18 10:21:34'),(1536,724,19,'2018-04-18 10:21:34','2018-04-18 10:21:34'),(1537,725,6,'2018-04-18 10:21:34','2018-04-18 10:21:34'),(1538,726,12,'2018-04-18 10:21:34','2018-04-18 10:21:34'),(1539,726,6,'2018-04-18 10:21:34','2018-04-18 10:21:34'),(1540,727,9,'2018-04-18 10:21:34','2018-04-18 10:21:34'),(1541,727,1,'2018-04-18 10:21:34','2018-04-18 10:21:34'),(1542,727,22,'2018-04-18 10:21:34','2018-04-18 10:21:34'),(1543,727,5,'2018-04-18 10:21:34','2018-04-18 10:21:34'),(1544,728,11,'2018-04-18 10:21:34','2018-04-18 10:21:34'),(1545,728,1,'2018-04-18 10:21:34','2018-04-18 10:21:34'),(1546,728,10,'2018-04-18 10:21:34','2018-04-18 10:21:34'),(1547,729,12,'2018-04-18 10:21:34','2018-04-18 10:21:34'),(1548,729,11,'2018-04-18 10:21:35','2018-04-18 10:21:35'),(1549,729,5,'2018-04-18 10:21:35','2018-04-18 10:21:35'),(1550,730,4,'2018-04-18 10:21:35','2018-04-18 10:21:35'),(1551,730,7,'2018-04-18 10:21:35','2018-04-18 10:21:35'),(1552,731,11,'2018-04-18 10:21:35','2018-04-18 10:21:35'),(1553,731,22,'2018-04-18 10:21:35','2018-04-18 10:21:35'),(1554,731,24,'2018-04-18 10:21:35','2018-04-18 10:21:35'),(1555,732,11,'2018-04-18 10:21:35','2018-04-18 10:21:35'),(1556,732,19,'2018-04-18 10:21:35','2018-04-18 10:21:35'),(1557,733,9,'2018-04-18 10:21:35','2018-04-18 10:21:35'),(1558,733,1,'2018-04-18 10:21:35','2018-04-18 10:21:35'),(1559,733,19,'2018-04-18 10:21:35','2018-04-18 10:21:35'),(1560,734,1,'2018-04-18 10:21:35','2018-04-18 10:21:35'),(1561,734,2,'2018-04-18 10:21:35','2018-04-18 10:21:35'),(1562,734,3,'2018-04-18 10:21:35','2018-04-18 10:21:35'),(1563,735,12,'2018-04-18 10:21:35','2018-04-18 10:21:35'),(1564,735,11,'2018-04-18 10:21:35','2018-04-18 10:21:35'),(1565,735,22,'2018-04-18 10:21:35','2018-04-18 10:21:35'),(1566,735,24,'2018-04-18 10:21:35','2018-04-18 10:21:35'),(1567,736,12,'2018-04-18 10:21:35','2018-04-18 10:21:35'),(1568,736,6,'2018-04-18 10:21:35','2018-04-18 10:21:35'),(1569,737,14,'2018-04-18 10:21:35','2018-04-18 10:21:35'),(1570,737,11,'2018-04-18 10:21:35','2018-04-18 10:21:35'),(1571,737,22,'2018-04-18 10:21:35','2018-04-18 10:21:35'),(1572,738,14,'2018-04-18 10:21:35','2018-04-18 10:21:35'),(1573,738,22,'2018-04-18 10:21:35','2018-04-18 10:21:35'),(1574,739,11,'2018-04-18 10:21:35','2018-04-18 10:21:35'),(1575,739,21,'2018-04-18 10:21:35','2018-04-18 10:21:35'),(1576,740,11,'2018-04-18 10:21:35','2018-04-18 10:21:35'),(1577,740,9,'2018-04-18 10:21:35','2018-04-18 10:21:35'),(1578,740,1,'2018-04-18 10:21:35','2018-04-18 10:21:35'),(1579,740,21,'2018-04-18 10:21:35','2018-04-18 10:21:35'),(1580,741,9,'2018-04-18 10:21:35','2018-04-18 10:21:35'),(1581,741,1,'2018-04-18 10:21:35','2018-04-18 10:21:35'),(1582,741,5,'2018-04-18 10:21:35','2018-04-18 10:21:35'),(1583,742,11,'2018-04-18 10:21:35','2018-04-18 10:21:35'),(1584,742,21,'2018-04-18 10:21:35','2018-04-18 10:21:35'),(1585,743,12,'2018-04-18 10:21:35','2018-04-18 10:21:35'),(1586,743,6,'2018-04-18 10:21:35','2018-04-18 10:21:35'),(1587,744,4,'2018-04-18 10:21:35','2018-04-18 10:21:35'),(1588,745,4,'2018-04-18 10:21:35','2018-04-18 10:21:35'),(1589,746,4,'2018-04-18 10:21:35','2018-04-18 10:21:35'),(1590,746,7,'2018-04-18 10:21:35','2018-04-18 10:21:35'),(1591,746,2,'2018-04-18 10:21:35','2018-04-18 10:21:35'),(1592,747,9,'2018-04-18 10:21:35','2018-04-18 10:21:35'),(1593,747,1,'2018-04-18 10:21:35','2018-04-18 10:21:35'),(1594,747,17,'2018-04-18 10:21:35','2018-04-18 10:21:35'),(1595,748,6,'2018-04-18 10:21:35','2018-04-18 10:21:35'),(1596,748,1,'2018-04-18 10:21:35','2018-04-18 10:21:35'),(1597,749,11,'2018-04-18 10:21:35','2018-04-18 10:21:35'),(1598,749,9,'2018-04-18 10:21:35','2018-04-18 10:21:35'),(1599,749,1,'2018-04-18 10:21:35','2018-04-18 10:21:35'),(1600,749,21,'2018-04-18 10:21:35','2018-04-18 10:21:35'),(1601,750,13,'2018-04-18 10:21:35','2018-04-18 10:21:35'),(1602,751,25,'2018-04-18 10:21:35','2018-04-18 10:21:35'),(1603,752,11,'2018-04-18 10:21:35','2018-04-18 10:21:35'),(1604,752,25,'2018-04-18 10:21:35','2018-04-18 10:21:35'),(1605,752,5,'2018-04-18 10:21:35','2018-04-18 10:21:35'),(1606,753,11,'2018-04-18 10:21:35','2018-04-18 10:21:35'),(1607,753,6,'2018-04-18 10:21:35','2018-04-18 10:21:35'),(1608,753,1,'2018-04-18 10:21:35','2018-04-18 10:21:35'),(1609,754,11,'2018-04-18 10:21:35','2018-04-18 10:21:35'),(1610,754,1,'2018-04-18 10:21:35','2018-04-18 10:21:35'),(1611,754,21,'2018-04-18 10:21:35','2018-04-18 10:21:35'),(1612,755,15,'2018-04-18 10:21:35','2018-04-18 10:21:35'),(1613,755,9,'2018-04-18 10:21:35','2018-04-18 10:21:35'),(1614,755,1,'2018-04-18 10:21:35','2018-04-18 10:21:35'),(1615,756,15,'2018-04-18 10:21:35','2018-04-18 10:21:35'),(1616,756,11,'2018-04-18 10:21:35','2018-04-18 10:21:35'),(1617,757,9,'2018-04-18 10:21:35','2018-04-18 10:21:35'),(1618,757,1,'2018-04-18 10:21:35','2018-04-18 10:21:35'),(1619,757,5,'2018-04-18 10:21:35','2018-04-18 10:21:35'),(1620,758,5,'2018-04-18 10:21:35','2018-04-18 10:21:35'),(1621,759,5,'2018-04-18 10:21:35','2018-04-18 10:21:35'),(1622,760,11,'2018-04-18 10:21:35','2018-04-18 10:21:35'),(1623,760,19,'2018-04-18 10:21:35','2018-04-18 10:21:35'),(1624,761,4,'2018-04-18 10:21:35','2018-04-18 10:21:35'),(1625,761,7,'2018-04-18 10:21:35','2018-04-18 10:21:35'),(1626,761,2,'2018-04-18 10:21:35','2018-04-18 10:21:35'),(1627,762,4,'2018-04-18 10:21:35','2018-04-18 10:21:35'),(1628,762,7,'2018-04-18 10:21:35','2018-04-18 10:21:35'),(1629,763,4,'2018-04-18 10:21:35','2018-04-18 10:21:35'),(1630,764,4,'2018-04-18 10:21:35','2018-04-18 10:21:35'),(1631,764,9,'2018-04-18 10:21:35','2018-04-18 10:21:35'),(1632,764,6,'2018-04-18 10:21:35','2018-04-18 10:21:35'),(1633,765,4,'2018-04-18 10:21:35','2018-04-18 10:21:35'),(1634,765,20,'2018-04-18 10:21:35','2018-04-18 10:21:35'),(1635,766,4,'2018-04-18 10:21:35','2018-04-18 10:21:35'),(1636,766,20,'2018-04-18 10:21:35','2018-04-18 10:21:35'),(1637,767,8,'2018-04-18 10:21:35','2018-04-18 10:21:35'),(1638,767,11,'2018-04-18 10:21:35','2018-04-18 10:21:35'),(1639,767,1,'2018-04-18 10:21:35','2018-04-18 10:21:35'),(1640,768,9,'2018-04-18 10:21:35','2018-04-18 10:21:35'),(1641,768,1,'2018-04-18 10:21:35','2018-04-18 10:21:35'),(1642,768,13,'2018-04-18 10:21:35','2018-04-18 10:21:35'),(1643,769,4,'2018-04-18 10:21:35','2018-04-18 10:21:35'),(1644,769,9,'2018-04-18 10:21:35','2018-04-18 10:21:35'),(1645,769,7,'2018-04-18 10:21:35','2018-04-18 10:21:35'),(1646,770,4,'2018-04-18 10:21:35','2018-04-18 10:21:35'),(1647,770,20,'2018-04-18 10:21:35','2018-04-18 10:21:35'),(1648,771,4,'2018-04-18 10:21:35','2018-04-18 10:21:35'),(1649,771,20,'2018-04-18 10:21:35','2018-04-18 10:21:35'),(1650,772,4,'2018-04-18 10:21:35','2018-04-18 10:21:35'),(1651,772,7,'2018-04-18 10:21:35','2018-04-18 10:21:35'),(1652,773,9,'2018-04-18 10:21:35','2018-04-18 10:21:35'),(1653,773,1,'2018-04-18 10:21:35','2018-04-18 10:21:35'),(1654,773,25,'2018-04-18 10:21:35','2018-04-18 10:21:35'),(1655,774,25,'2018-04-18 10:21:35','2018-04-18 10:21:35'),(1656,775,4,'2018-04-18 10:21:35','2018-04-18 10:21:35'),(1657,776,6,'2018-04-18 10:21:35','2018-04-18 10:21:35'),(1658,776,1,'2018-04-18 10:21:35','2018-04-18 10:21:35'),(1659,776,25,'2018-04-18 10:21:35','2018-04-18 10:21:35'),(1660,777,9,'2018-04-18 10:21:35','2018-04-18 10:21:35'),(1661,777,1,'2018-04-18 10:21:35','2018-04-18 10:21:35'),(1662,777,21,'2018-04-18 10:21:35','2018-04-18 10:21:35'),(1663,778,12,'2018-04-18 10:21:35','2018-04-18 10:21:35'),(1664,778,5,'2018-04-18 10:21:35','2018-04-18 10:21:35'),(1665,779,11,'2018-04-18 10:21:35','2018-04-18 10:21:35'),(1666,779,13,'2018-04-18 10:21:35','2018-04-18 10:21:35'),(1667,779,5,'2018-04-18 10:21:35','2018-04-18 10:21:35'),(1668,780,4,'2018-04-18 10:21:35','2018-04-18 10:21:35'),(1669,780,7,'2018-04-18 10:21:35','2018-04-18 10:21:35'),(1670,781,11,'2018-04-18 10:21:35','2018-04-18 10:21:35'),(1671,781,9,'2018-04-18 10:21:35','2018-04-18 10:21:35'),(1672,781,1,'2018-04-18 10:21:35','2018-04-18 10:21:35'),(1673,781,19,'2018-04-18 10:21:35','2018-04-18 10:21:35'),(1674,782,14,'2018-04-18 10:21:35','2018-04-18 10:21:35'),(1675,782,11,'2018-04-18 10:21:35','2018-04-18 10:21:35'),(1676,783,9,'2018-04-18 10:21:35','2018-04-18 10:21:35'),(1677,783,1,'2018-04-18 10:21:35','2018-04-18 10:21:35'),(1678,783,18,'2018-04-18 10:21:35','2018-04-18 10:21:35'),(1679,784,11,'2018-04-18 10:21:35','2018-04-18 10:21:35'),(1680,784,5,'2018-04-18 10:21:35','2018-04-18 10:21:35'),(1681,785,11,'2018-04-18 10:21:35','2018-04-18 10:21:35'),(1682,785,13,'2018-04-18 10:21:35','2018-04-18 10:21:35'),(1683,786,11,'2018-04-18 10:21:35','2018-04-18 10:21:35'),(1684,786,9,'2018-04-18 10:21:35','2018-04-18 10:21:35'),(1685,786,1,'2018-04-18 10:21:35','2018-04-18 10:21:35'),(1686,786,13,'2018-04-18 10:21:35','2018-04-18 10:21:35'),(1687,787,6,'2018-04-18 10:21:35','2018-04-18 10:21:35'),(1688,788,23,'2018-04-18 10:21:35','2018-04-18 10:21:35'),(1689,788,9,'2018-04-18 10:21:35','2018-04-18 10:21:35'),(1690,788,1,'2018-04-18 10:21:35','2018-04-18 10:21:35'),(1691,789,11,'2018-04-18 10:21:35','2018-04-18 10:21:35'),(1692,789,13,'2018-04-18 10:21:35','2018-04-18 10:21:35'),(1693,790,1,'2018-04-18 10:21:35','2018-04-18 10:21:35'),(1694,790,13,'2018-04-18 10:21:35','2018-04-18 10:21:35'),(1695,791,13,'2018-04-18 10:21:35','2018-04-18 10:21:35'),(1696,792,9,'2018-04-18 10:21:35','2018-04-18 10:21:35'),(1697,792,1,'2018-04-18 10:21:35','2018-04-18 10:21:35'),(1698,792,25,'2018-04-18 10:21:35','2018-04-18 10:21:35'),(1699,793,6,'2018-04-18 10:21:35','2018-04-18 10:21:35'),(1700,794,13,'2018-04-18 10:21:35','2018-04-18 10:21:35'),(1701,795,11,'2018-04-18 10:21:35','2018-04-18 10:21:35'),(1702,795,9,'2018-04-18 10:21:36','2018-04-18 10:21:36'),(1703,795,1,'2018-04-18 10:21:36','2018-04-18 10:21:36'),(1704,795,21,'2018-04-18 10:21:36','2018-04-18 10:21:36'),(1705,796,21,'2018-04-18 10:21:36','2018-04-18 10:21:36'),(1706,797,22,'2018-04-18 10:21:36','2018-04-18 10:21:36'),(1707,797,5,'2018-04-18 10:21:36','2018-04-18 10:21:36'),(1708,798,11,'2018-04-18 10:21:36','2018-04-18 10:21:36'),(1709,798,19,'2018-04-18 10:21:36','2018-04-18 10:21:36'),(1710,799,4,'2018-04-18 10:21:36','2018-04-18 10:21:36'),(1711,800,9,'2018-04-18 10:21:36','2018-04-18 10:21:36'),(1712,800,1,'2018-04-18 10:21:36','2018-04-18 10:21:36'),(1713,800,19,'2018-04-18 10:21:36','2018-04-18 10:21:36'),(1714,801,12,'2018-04-18 10:21:36','2018-04-18 10:21:36'),(1715,802,11,'2018-04-18 10:21:36','2018-04-18 10:21:36'),(1716,802,19,'2018-04-18 10:21:36','2018-04-18 10:21:36'),(1717,803,5,'2018-04-18 10:21:36','2018-04-18 10:21:36'),(1718,804,11,'2018-04-18 10:21:36','2018-04-18 10:21:36'),(1719,804,13,'2018-04-18 10:21:36','2018-04-18 10:21:36'),(1720,805,19,'2018-04-18 10:21:36','2018-04-18 10:21:36'),(1721,806,13,'2018-04-18 10:21:36','2018-04-18 10:21:36'),(1722,807,12,'2018-04-18 10:21:36','2018-04-18 10:21:36'),(1723,807,6,'2018-04-18 10:21:36','2018-04-18 10:21:36'),(1724,808,9,'2018-04-18 10:21:36','2018-04-18 10:21:36'),(1725,808,1,'2018-04-18 10:21:36','2018-04-18 10:21:36'),(1726,808,22,'2018-04-18 10:21:36','2018-04-18 10:21:36'),(1727,809,17,'2018-04-18 10:21:36','2018-04-18 10:21:36'),(1728,810,11,'2018-04-18 10:21:36','2018-04-18 10:21:36'),(1729,810,23,'2018-04-18 10:21:36','2018-04-18 10:21:36'),(1730,811,17,'2018-04-18 10:21:36','2018-04-18 10:21:36'),(1731,812,5,'2018-04-18 10:21:36','2018-04-18 10:21:36'),(1732,813,11,'2018-04-18 10:21:36','2018-04-18 10:21:36'),(1733,813,9,'2018-04-18 10:21:36','2018-04-18 10:21:36'),(1734,813,1,'2018-04-18 10:21:36','2018-04-18 10:21:36'),(1735,813,5,'2018-04-18 10:21:36','2018-04-18 10:21:36'),(1736,814,11,'2018-04-18 10:21:36','2018-04-18 10:21:36'),(1737,814,6,'2018-04-18 10:21:36','2018-04-18 10:21:36'),(1738,815,11,'2018-04-18 10:21:36','2018-04-18 10:21:36'),(1739,815,17,'2018-04-18 10:21:36','2018-04-18 10:21:36'),(1740,816,4,'2018-04-18 10:21:36','2018-04-18 10:21:36'),(1741,816,2,'2018-04-18 10:21:36','2018-04-18 10:21:36'),(1742,817,11,'2018-04-18 10:21:36','2018-04-18 10:21:36'),(1743,817,1,'2018-04-18 10:21:36','2018-04-18 10:21:36'),(1744,817,17,'2018-04-18 10:21:36','2018-04-18 10:21:36'),(1745,818,15,'2018-04-18 10:21:36','2018-04-18 10:21:36'),(1746,819,4,'2018-04-18 10:21:36','2018-04-18 10:21:36'),(1747,820,27,'2018-04-18 10:21:36','2018-04-18 10:21:36'),(1748,821,27,'2018-04-18 10:21:36','2018-04-18 10:21:36'),(1749,822,6,'2018-04-18 10:21:36','2018-04-18 10:21:36'),(1750,822,27,'2018-04-18 10:21:36','2018-04-18 10:21:36'),(1751,823,27,'2018-04-18 10:21:36','2018-04-18 10:21:36'),(1752,824,27,'2018-04-18 10:21:36','2018-04-18 10:21:36'),(1753,825,9,'2018-04-18 10:21:36','2018-04-18 10:21:36'),(1754,825,1,'2018-04-18 10:21:36','2018-04-18 10:21:36'),(1755,825,27,'2018-04-18 10:21:36','2018-04-18 10:21:36'),(1756,825,19,'2018-04-18 10:21:36','2018-04-18 10:21:36'),(1757,826,27,'2018-04-18 10:21:36','2018-04-18 10:21:36'),(1758,827,27,'2018-04-18 10:21:36','2018-04-18 10:21:36'),(1759,828,27,'2018-04-18 10:21:36','2018-04-18 10:21:36'),(1760,828,22,'2018-04-18 10:21:36','2018-04-18 10:21:36'),(1761,829,27,'2018-04-18 10:21:36','2018-04-18 10:21:36'),(1762,829,19,'2018-04-18 10:21:36','2018-04-18 10:21:36'),(1763,830,27,'2018-04-18 10:21:36','2018-04-18 10:21:36'),(1764,831,27,'2018-04-18 10:21:36','2018-04-18 10:21:36'),(1765,832,15,'2018-04-18 10:21:36','2018-04-18 10:21:36'),(1766,832,27,'2018-04-18 10:21:36','2018-04-18 10:21:36'),(1767,833,27,'2018-04-18 10:21:36','2018-04-18 10:21:36'),(1768,833,19,'2018-04-18 10:21:36','2018-04-18 10:21:36'),(1769,834,9,'2018-04-18 10:21:36','2018-04-18 10:21:36'),(1770,834,1,'2018-04-18 10:21:36','2018-04-18 10:21:36'),(1771,834,27,'2018-04-18 10:21:36','2018-04-18 10:21:36'),(1772,834,19,'2018-04-18 10:21:36','2018-04-18 10:21:36'),(1773,835,27,'2018-04-18 10:21:36','2018-04-18 10:21:36'),(1774,835,17,'2018-04-18 10:21:36','2018-04-18 10:21:36'),(1775,836,6,'2018-04-18 10:21:36','2018-04-18 10:21:36'),(1776,836,27,'2018-04-18 10:21:36','2018-04-18 10:21:36'),(1777,837,6,'2018-04-18 10:21:36','2018-04-18 10:21:36'),(1778,837,27,'2018-04-18 10:21:36','2018-04-18 10:21:36'),(1779,838,12,'2018-04-18 10:21:36','2018-04-18 10:21:36'),(1780,838,13,'2018-04-18 10:21:36','2018-04-18 10:21:36'),(1781,838,27,'2018-04-18 10:21:36','2018-04-18 10:21:36'),(1782,839,9,'2018-04-18 10:21:36','2018-04-18 10:21:36'),(1783,839,1,'2018-04-18 10:21:36','2018-04-18 10:21:36'),(1784,839,27,'2018-04-18 10:21:36','2018-04-18 10:21:36'),(1785,839,19,'2018-04-18 10:21:36','2018-04-18 10:21:36'),(1786,840,9,'2018-04-18 10:21:36','2018-04-18 10:21:36'),(1787,840,1,'2018-04-18 10:21:36','2018-04-18 10:21:36'),(1788,840,27,'2018-04-18 10:21:36','2018-04-18 10:21:36'),(1789,840,19,'2018-04-18 10:21:36','2018-04-18 10:21:36'),(1790,841,27,'2018-04-18 10:21:36','2018-04-18 10:21:36'),(1791,842,13,'2018-04-18 10:21:36','2018-04-18 10:21:36'),(1792,842,27,'2018-04-18 10:21:36','2018-04-18 10:21:36'),(1793,842,21,'2018-04-18 10:21:36','2018-04-18 10:21:36'),(1794,843,27,'2018-04-18 10:21:36','2018-04-18 10:21:36'),(1795,843,19,'2018-04-18 10:21:36','2018-04-18 10:21:36'),(1796,844,27,'2018-04-18 10:21:36','2018-04-18 10:21:36'),(1797,845,9,'2018-04-18 10:21:36','2018-04-18 10:21:36'),(1798,845,1,'2018-04-18 10:21:36','2018-04-18 10:21:36'),(1799,845,27,'2018-04-18 10:21:36','2018-04-18 10:21:36'),(1800,846,27,'2018-04-18 10:21:36','2018-04-18 10:21:36'),(1801,847,27,'2018-04-18 10:21:36','2018-04-18 10:21:36'),(1802,848,27,'2018-04-18 10:21:36','2018-04-18 10:21:36'),(1803,849,27,'2018-04-18 10:21:36','2018-04-18 10:21:36'),(1804,850,27,'2018-04-18 10:21:36','2018-04-18 10:21:36'),(1805,851,27,'2018-04-18 10:21:36','2018-04-18 10:21:36'),(1806,852,11,'2018-04-18 10:21:36','2018-04-18 10:21:36'),(1807,852,27,'2018-04-18 10:21:36','2018-04-18 10:21:36'),(1808,852,21,'2018-04-18 10:21:36','2018-04-18 10:21:36'),(1809,853,27,'2018-04-18 10:21:36','2018-04-18 10:21:36'),(1810,853,21,'2018-04-18 10:21:36','2018-04-18 10:21:36'),(1811,854,13,'2018-04-18 10:21:36','2018-04-18 10:21:36'),(1812,854,27,'2018-04-18 10:21:36','2018-04-18 10:21:36'),(1813,855,27,'2018-04-18 10:21:36','2018-04-18 10:21:36'),(1814,856,27,'2018-04-18 10:21:36','2018-04-18 10:21:36'),(1815,857,27,'2018-04-18 10:21:36','2018-04-18 10:21:36'),(1816,857,5,'2018-04-18 10:21:36','2018-04-18 10:21:36'),(1817,858,27,'2018-04-18 10:21:36','2018-04-18 10:21:36'),(1818,858,10,'2018-04-18 10:21:36','2018-04-18 10:21:36'),(1819,859,27,'2018-04-18 10:21:36','2018-04-18 10:21:36'),(1820,860,6,'2018-04-18 10:21:36','2018-04-18 10:21:36'),(1821,860,27,'2018-04-18 10:21:36','2018-04-18 10:21:36'),(1822,861,27,'2018-04-18 10:21:36','2018-04-18 10:21:36'),(1823,862,9,'2018-04-18 10:21:36','2018-04-18 10:21:36'),(1824,862,1,'2018-04-18 10:21:36','2018-04-18 10:21:36'),(1825,862,27,'2018-04-18 10:21:36','2018-04-18 10:21:36'),(1826,862,19,'2018-04-18 10:21:36','2018-04-18 10:21:36'),(1827,863,27,'2018-04-18 10:21:36','2018-04-18 10:21:36'),(1828,864,14,'2018-04-18 10:21:36','2018-04-18 10:21:36'),(1829,864,11,'2018-04-18 10:21:36','2018-04-18 10:21:36'),(1830,864,27,'2018-04-18 10:21:36','2018-04-18 10:21:36'),(1831,865,27,'2018-04-18 10:21:36','2018-04-18 10:21:36'),(1832,866,27,'2018-04-18 10:21:36','2018-04-18 10:21:36'),(1833,866,21,'2018-04-18 10:21:36','2018-04-18 10:21:36'),(1834,867,27,'2018-04-18 10:21:36','2018-04-18 10:21:36'),(1835,868,27,'2018-04-18 10:21:37','2018-04-18 10:21:37'),(1836,869,27,'2018-04-18 10:21:37','2018-04-18 10:21:37'),(1837,870,27,'2018-04-18 10:21:37','2018-04-18 10:21:37'),(1838,870,21,'2018-04-18 10:21:37','2018-04-18 10:21:37'),(1839,871,27,'2018-04-18 10:21:37','2018-04-18 10:21:37'),(1840,872,23,'2018-04-18 10:21:37','2018-04-18 10:21:37'),(1841,872,27,'2018-04-18 10:21:37','2018-04-18 10:21:37'),(1842,873,27,'2018-04-18 10:21:37','2018-04-18 10:21:37'),(1843,873,19,'2018-04-18 10:21:37','2018-04-18 10:21:37'),(1844,874,27,'2018-04-18 10:21:37','2018-04-18 10:21:37'),(1845,875,27,'2018-04-18 10:21:37','2018-04-18 10:21:37'),(1846,876,27,'2018-04-18 10:21:37','2018-04-18 10:21:37'),(1847,877,27,'2018-04-18 10:21:37','2018-04-18 10:21:37'),(1848,878,27,'2018-04-18 10:21:37','2018-04-18 10:21:37'),(1849,879,27,'2018-04-18 10:21:37','2018-04-18 10:21:37'),(1850,879,19,'2018-04-18 10:21:37','2018-04-18 10:21:37'),(1851,880,27,'2018-04-18 10:21:37','2018-04-18 10:21:37'),(1852,881,15,'2018-04-18 10:21:37','2018-04-18 10:21:37'),(1853,881,27,'2018-04-18 10:21:37','2018-04-18 10:21:37'),(1854,881,19,'2018-04-18 10:21:37','2018-04-18 10:21:37'),(1855,882,27,'2018-04-18 10:21:37','2018-04-18 10:21:37'),(1856,882,5,'2018-04-18 10:21:37','2018-04-18 10:21:37'),(1857,882,21,'2018-04-18 10:21:37','2018-04-18 10:21:37'),(1858,883,27,'2018-04-18 10:21:37','2018-04-18 10:21:37'),(1859,884,6,'2018-04-18 10:21:37','2018-04-18 10:21:37'),(1860,884,27,'2018-04-18 10:21:37','2018-04-18 10:21:37'),(1861,885,12,'2018-04-18 10:21:37','2018-04-18 10:21:37'),(1862,885,13,'2018-04-18 10:21:37','2018-04-18 10:21:37'),(1863,885,27,'2018-04-18 10:21:37','2018-04-18 10:21:37'),(1864,886,27,'2018-04-18 10:21:37','2018-04-18 10:21:37'),(1865,887,27,'2018-04-18 10:21:37','2018-04-18 10:21:37'),(1866,888,27,'2018-04-18 10:21:37','2018-04-18 10:21:37'),(1867,889,27,'2018-04-18 10:21:37','2018-04-18 10:21:37'),(1868,890,9,'2018-04-18 10:21:37','2018-04-18 10:21:37'),(1869,890,1,'2018-04-18 10:21:37','2018-04-18 10:21:37'),(1870,890,27,'2018-04-18 10:21:37','2018-04-18 10:21:37'),(1871,890,17,'2018-04-18 10:21:37','2018-04-18 10:21:37'),(1872,891,27,'2018-04-18 10:21:37','2018-04-18 10:21:37'),(1873,892,27,'2018-04-18 10:21:37','2018-04-18 10:21:37'),(1874,893,9,'2018-04-18 10:21:37','2018-04-18 10:21:37'),(1875,893,1,'2018-04-18 10:21:37','2018-04-18 10:21:37'),(1876,893,27,'2018-04-18 10:21:37','2018-04-18 10:21:37'),(1877,894,13,'2018-04-18 10:21:37','2018-04-18 10:21:37'),(1878,894,27,'2018-04-18 10:21:37','2018-04-18 10:21:37'),(1879,895,27,'2018-04-18 10:21:37','2018-04-18 10:21:37'),(1880,895,5,'2018-04-18 10:21:37','2018-04-18 10:21:37'),(1881,896,12,'2018-04-18 10:21:37','2018-04-18 10:21:37'),(1882,896,13,'2018-04-18 10:21:37','2018-04-18 10:21:37'),(1883,896,27,'2018-04-18 10:21:37','2018-04-18 10:21:37'),(1884,897,27,'2018-04-18 10:21:37','2018-04-18 10:21:37'),(1885,897,21,'2018-04-18 10:21:37','2018-04-18 10:21:37'),(1886,898,27,'2018-04-18 10:21:37','2018-04-18 10:21:37'),(1887,899,27,'2018-04-18 10:21:37','2018-04-18 10:21:37'),(1888,900,9,'2018-04-18 10:21:37','2018-04-18 10:21:37'),(1889,900,1,'2018-04-18 10:21:37','2018-04-18 10:21:37'),(1890,900,27,'2018-04-18 10:21:37','2018-04-18 10:21:37'),(1891,900,17,'2018-04-18 10:21:37','2018-04-18 10:21:37'),(1892,901,27,'2018-04-18 10:21:37','2018-04-18 10:21:37'),(1893,902,27,'2018-04-18 10:21:37','2018-04-18 10:21:37'),(1894,903,27,'2018-04-18 10:21:37','2018-04-18 10:21:37'),(1895,904,27,'2018-04-18 10:21:37','2018-04-18 10:21:37'),(1896,904,19,'2018-04-18 10:21:37','2018-04-18 10:21:37'),(1897,905,27,'2018-04-18 10:21:37','2018-04-18 10:21:37'),(1898,906,27,'2018-04-18 10:21:37','2018-04-18 10:21:37'),(1899,907,12,'2018-04-18 10:21:37','2018-04-18 10:21:37'),(1900,907,13,'2018-04-18 10:21:37','2018-04-18 10:21:37'),(1901,907,27,'2018-04-18 10:21:37','2018-04-18 10:21:37'),(1902,908,11,'2018-04-18 10:21:37','2018-04-18 10:21:37'),(1903,908,27,'2018-04-18 10:21:37','2018-04-18 10:21:37'),(1904,908,25,'2018-04-18 10:21:37','2018-04-18 10:21:37'),(1905,909,15,'2018-04-18 10:21:37','2018-04-18 10:21:37'),(1906,909,11,'2018-04-18 10:21:37','2018-04-18 10:21:37'),(1907,909,27,'2018-04-18 10:21:37','2018-04-18 10:21:37'),(1908,910,27,'2018-04-18 10:21:37','2018-04-18 10:21:37'),(1909,911,27,'2018-04-18 10:21:37','2018-04-18 10:21:37'),(1910,912,12,'2018-04-18 10:21:37','2018-04-18 10:21:37'),(1911,912,6,'2018-04-18 10:21:37','2018-04-18 10:21:37'),(1912,912,27,'2018-04-18 10:21:37','2018-04-18 10:21:37'),(1913,913,12,'2018-04-18 10:21:37','2018-04-18 10:21:37'),(1914,913,27,'2018-04-18 10:21:37','2018-04-18 10:21:37'),(1915,914,1,'2018-04-18 10:21:37','2018-04-18 10:21:37'),(1916,914,2,'2018-04-18 10:21:37','2018-04-18 10:21:37'),(1917,914,3,'2018-04-18 10:21:37','2018-04-18 10:21:37'),(1918,915,9,'2018-04-18 10:21:37','2018-04-18 10:21:37'),(1919,915,1,'2018-04-18 10:21:37','2018-04-18 10:21:37'),(1920,915,17,'2018-04-18 10:21:37','2018-04-18 10:21:37'),(1921,916,4,'2018-04-18 10:21:37','2018-04-18 10:21:37'),(1922,917,25,'2018-04-18 10:21:37','2018-04-18 10:21:37'),(1923,918,4,'2018-04-18 10:21:37','2018-04-18 10:21:37'),(1924,919,11,'2018-04-18 10:21:37','2018-04-18 10:21:37'),(1925,919,22,'2018-04-18 10:21:37','2018-04-18 10:21:37'),(1926,919,24,'2018-04-18 10:21:37','2018-04-18 10:21:37'),(1927,920,6,'2018-04-18 10:21:37','2018-04-18 10:21:37'),(1928,921,17,'2018-04-18 10:21:37','2018-04-18 10:21:37'),(1929,922,4,'2018-04-18 10:21:37','2018-04-18 10:21:37'),(1930,922,20,'2018-04-18 10:21:37','2018-04-18 10:21:37'),(1931,923,19,'2018-04-18 10:21:37','2018-04-18 10:21:37'),(1932,924,9,'2018-04-18 10:21:37','2018-04-18 10:21:37'),(1933,924,1,'2018-04-18 10:21:37','2018-04-18 10:21:37'),(1934,924,17,'2018-04-18 10:21:37','2018-04-18 10:21:37'),(1935,925,6,'2018-04-18 10:21:37','2018-04-18 10:21:37'),(1936,926,13,'2018-04-18 10:21:37','2018-04-18 10:21:37'),(1937,927,4,'2018-04-18 10:21:42','2018-04-18 10:21:42'),(1938,928,4,'2018-04-18 10:21:42','2018-04-18 10:21:42'),(1939,929,4,'2018-04-18 10:21:42','2018-04-18 10:21:42'),(1940,930,4,'2018-04-18 10:21:42','2018-04-18 10:21:42'),(1941,931,4,'2018-04-18 10:21:42','2018-04-18 10:21:42'),(1942,932,4,'2018-04-18 10:21:42','2018-04-18 10:21:42'),(1943,933,4,'2018-04-18 10:21:42','2018-04-18 10:21:42'),(1944,934,4,'2018-04-18 10:21:42','2018-04-18 10:21:42'),(1945,935,4,'2018-04-18 10:21:43','2018-04-18 10:21:43'),(1946,936,4,'2018-04-18 10:21:43','2018-04-18 10:21:43'),(1947,937,4,'2018-04-18 10:21:43','2018-04-18 10:21:43');
/*!40000 ALTER TABLE `tbltld_category_pivot` ENABLE KEYS */;
/*!40103 SET TIME_ZONE=@OLD_TIME_ZONE */;

/*!40101 SET SQL_MODE=@OLD_SQL_MODE */;
/*!40014 SET FOREIGN_KEY_CHECKS=@OLD_FOREIGN_KEY_CHECKS */;
/*!40111 SET SQL_NOTES=@OLD_SQL_NOTES */;

install/tblusers_clients.data.sql000064400000001125147361027270013237 0ustar00/*!40103 SET @OLD_TIME_ZONE=@@TIME_ZONE */;
/*!40103 SET TIME_ZONE='+00:00' */;
/*!40014 SET @OLD_FOREIGN_KEY_CHECKS=@@FOREIGN_KEY_CHECKS, FOREIGN_KEY_CHECKS=0 */;
/*!40101 SET @OLD_SQL_MODE=@@SQL_MODE, SQL_MODE='NO_AUTO_VALUE_ON_ZERO' */;
/*!40111 SET @OLD_SQL_NOTES=@@SQL_NOTES, SQL_NOTES=0 */;

/*!40000 ALTER TABLE `tblusers_clients` DISABLE KEYS */;
/*!40000 ALTER TABLE `tblusers_clients` ENABLE KEYS */;
/*!40103 SET TIME_ZONE=@OLD_TIME_ZONE */;

/*!40101 SET SQL_MODE=@OLD_SQL_MODE */;
/*!40014 SET FOREIGN_KEY_CHECKS=@OLD_FOREIGN_KEY_CHECKS */;
/*!40111 SET SQL_NOTES=@OLD_SQL_NOTES */;

install/tblaffiliatespending.schema.sql000064400000002432147361027270014362 0ustar00/*!40103 SET @OLD_TIME_ZONE=@@TIME_ZONE */;
/*!40103 SET TIME_ZONE='+00:00' */;
/*!40014 SET @OLD_UNIQUE_CHECKS=@@UNIQUE_CHECKS, UNIQUE_CHECKS=0 */;
/*!40014 SET @OLD_FOREIGN_KEY_CHECKS=@@FOREIGN_KEY_CHECKS, FOREIGN_KEY_CHECKS=0 */;
/*!40101 SET @OLD_SQL_MODE=@@SQL_MODE, SQL_MODE='NO_AUTO_VALUE_ON_ZERO' */;
/*!40111 SET @OLD_SQL_NOTES=@@SQL_NOTES, SQL_NOTES=0 */;
DROP TABLE IF EXISTS `tblaffiliatespending`;
/*!40101 SET @saved_cs_client     = @@character_set_client */;
/*!40101 SET character_set_client = utf8 */;
CREATE TABLE `tblaffiliatespending` (
  `id` int(10) NOT NULL AUTO_INCREMENT,
  `affaccid` int(10) NOT NULL DEFAULT '0',
  `invoice_id` int(10) unsigned NOT NULL DEFAULT '0',
  `amount` decimal(16,2) NOT NULL,
  `clearingdate` date NOT NULL,
  `created_at` timestamp NOT NULL DEFAULT '0000-00-00 00:00:00',
  `updated_at` timestamp NOT NULL DEFAULT '0000-00-00 00:00:00',
  PRIMARY KEY (`id`),
  KEY `clearingdate` (`clearingdate`)
) ENGINE=InnoDB DEFAULT CHARSET=utf8 COLLATE=utf8_unicode_ci;
/*!40101 SET character_set_client = @saved_cs_client */;
/*!40103 SET TIME_ZONE=@OLD_TIME_ZONE */;

/*!40101 SET SQL_MODE=@OLD_SQL_MODE */;
/*!40014 SET FOREIGN_KEY_CHECKS=@OLD_FOREIGN_KEY_CHECKS */;
/*!40014 SET UNIQUE_CHECKS=@OLD_UNIQUE_CHECKS */;
/*!40111 SET SQL_NOTES=@OLD_SQL_NOTES */;

install/tblcarts.data.sql000064400000001105147361027270011467 0ustar00/*!40103 SET @OLD_TIME_ZONE=@@TIME_ZONE */;
/*!40103 SET TIME_ZONE='+00:00' */;
/*!40014 SET @OLD_FOREIGN_KEY_CHECKS=@@FOREIGN_KEY_CHECKS, FOREIGN_KEY_CHECKS=0 */;
/*!40101 SET @OLD_SQL_MODE=@@SQL_MODE, SQL_MODE='NO_AUTO_VALUE_ON_ZERO' */;
/*!40111 SET @OLD_SQL_NOTES=@@SQL_NOTES, SQL_NOTES=0 */;

/*!40000 ALTER TABLE `tblcarts` DISABLE KEYS */;
/*!40000 ALTER TABLE `tblcarts` ENABLE KEYS */;
/*!40103 SET TIME_ZONE=@OLD_TIME_ZONE */;

/*!40101 SET SQL_MODE=@OLD_SQL_MODE */;
/*!40014 SET FOREIGN_KEY_CHECKS=@OLD_FOREIGN_KEY_CHECKS */;
/*!40111 SET SQL_NOTES=@OLD_SQL_NOTES */;

install/tblproductconfiglinks.schema.sql000064400000002003147361027270014607 0ustar00/*!40103 SET @OLD_TIME_ZONE=@@TIME_ZONE */;
/*!40103 SET TIME_ZONE='+00:00' */;
/*!40014 SET @OLD_UNIQUE_CHECKS=@@UNIQUE_CHECKS, UNIQUE_CHECKS=0 */;
/*!40014 SET @OLD_FOREIGN_KEY_CHECKS=@@FOREIGN_KEY_CHECKS, FOREIGN_KEY_CHECKS=0 */;
/*!40101 SET @OLD_SQL_MODE=@@SQL_MODE, SQL_MODE='NO_AUTO_VALUE_ON_ZERO' */;
/*!40111 SET @OLD_SQL_NOTES=@@SQL_NOTES, SQL_NOTES=0 */;
DROP TABLE IF EXISTS `tblproductconfiglinks`;
/*!40101 SET @saved_cs_client     = @@character_set_client */;
/*!40101 SET character_set_client = utf8 */;
CREATE TABLE `tblproductconfiglinks` (
  `id` int(10) NOT NULL AUTO_INCREMENT,
  `gid` int(10) NOT NULL,
  `pid` int(10) NOT NULL,
  PRIMARY KEY (`id`)
) ENGINE=InnoDB DEFAULT CHARSET=utf8 COLLATE=utf8_unicode_ci;
/*!40101 SET character_set_client = @saved_cs_client */;
/*!40103 SET TIME_ZONE=@OLD_TIME_ZONE */;

/*!40101 SET SQL_MODE=@OLD_SQL_MODE */;
/*!40014 SET FOREIGN_KEY_CHECKS=@OLD_FOREIGN_KEY_CHECKS */;
/*!40014 SET UNIQUE_CHECKS=@OLD_UNIQUE_CHECKS */;
/*!40111 SET SQL_NOTES=@OLD_SQL_NOTES */;

install/tbldynamic_translations.data.sql000064400000001143147361027270014602 0ustar00/*!40103 SET @OLD_TIME_ZONE=@@TIME_ZONE */;
/*!40103 SET TIME_ZONE='+00:00' */;
/*!40014 SET @OLD_FOREIGN_KEY_CHECKS=@@FOREIGN_KEY_CHECKS, FOREIGN_KEY_CHECKS=0 */;
/*!40101 SET @OLD_SQL_MODE=@@SQL_MODE, SQL_MODE='NO_AUTO_VALUE_ON_ZERO' */;
/*!40111 SET @OLD_SQL_NOTES=@@SQL_NOTES, SQL_NOTES=0 */;

/*!40000 ALTER TABLE `tbldynamic_translations` DISABLE KEYS */;
/*!40000 ALTER TABLE `tbldynamic_translations` ENABLE KEYS */;
/*!40103 SET TIME_ZONE=@OLD_TIME_ZONE */;

/*!40101 SET SQL_MODE=@OLD_SQL_MODE */;
/*!40014 SET FOREIGN_KEY_CHECKS=@OLD_FOREIGN_KEY_CHECKS */;
/*!40111 SET SQL_NOTES=@OLD_SQL_NOTES */;

install/tbladdons.schema.sql000064400000003757147361027270012171 0ustar00/*!40103 SET @OLD_TIME_ZONE=@@TIME_ZONE */;
/*!40103 SET TIME_ZONE='+00:00' */;
/*!40014 SET @OLD_UNIQUE_CHECKS=@@UNIQUE_CHECKS, UNIQUE_CHECKS=0 */;
/*!40014 SET @OLD_FOREIGN_KEY_CHECKS=@@FOREIGN_KEY_CHECKS, FOREIGN_KEY_CHECKS=0 */;
/*!40101 SET @OLD_SQL_MODE=@@SQL_MODE, SQL_MODE='NO_AUTO_VALUE_ON_ZERO' */;
/*!40111 SET @OLD_SQL_NOTES=@@SQL_NOTES, SQL_NOTES=0 */;
DROP TABLE IF EXISTS `tbladdons`;
/*!40101 SET @saved_cs_client     = @@character_set_client */;
/*!40101 SET character_set_client = utf8 */;
CREATE TABLE `tbladdons` (
  `id` int(10) NOT NULL AUTO_INCREMENT,
  `packages` text COLLATE utf8_unicode_ci NOT NULL,
  `name` text COLLATE utf8_unicode_ci NOT NULL,
  `description` text COLLATE utf8_unicode_ci NOT NULL,
  `billingcycle` text COLLATE utf8_unicode_ci NOT NULL,
  `allowqty` tinyint UNSIGNED NOT NULL DEFAULT '0',
  `tax` tinyint(1) NOT NULL,
  `showorder` tinyint(1) NOT NULL,
  `hidden` tinyint(1) NOT NULL DEFAULT '0',
  `retired` tinyint(1) NOT NULL DEFAULT '0',
  `downloads` text COLLATE utf8_unicode_ci NOT NULL,
  `autoactivate` text COLLATE utf8_unicode_ci NOT NULL,
  `suspendproduct` tinyint(1) NOT NULL,
  `welcomeemail` int(10) NOT NULL,
  `type` varchar(16) COLLATE utf8_unicode_ci NOT NULL DEFAULT '',
  `module` varchar(32) COLLATE utf8_unicode_ci NOT NULL DEFAULT '',
  `server_group_id` int(10) NOT NULL DEFAULT '0',
  `prorate` tinyint(1) NOT NULL DEFAULT '0',
  `weight` int(2) NOT NULL DEFAULT '0',
  `autolinkby` text COLLATE utf8_unicode_ci NOT NULL,
  `created_at` timestamp NOT NULL DEFAULT '0000-00-00 00:00:00',
  `updated_at` timestamp NOT NULL DEFAULT '0000-00-00 00:00:00',
  PRIMARY KEY (`id`),
  KEY `name` (`name`(32))
) ENGINE=InnoDB DEFAULT CHARSET=utf8 COLLATE=utf8_unicode_ci;
/*!40101 SET character_set_client = @saved_cs_client */;
/*!40103 SET TIME_ZONE=@OLD_TIME_ZONE */;

/*!40101 SET SQL_MODE=@OLD_SQL_MODE */;
/*!40014 SET FOREIGN_KEY_CHECKS=@OLD_FOREIGN_KEY_CHECKS */;
/*!40014 SET UNIQUE_CHECKS=@OLD_UNIQUE_CHECKS */;
/*!40111 SET SQL_NOTES=@OLD_SQL_NOTES */;

install/tbltransientdata.data.sql000064400000001125147361027270013216 0ustar00/*!40103 SET @OLD_TIME_ZONE=@@TIME_ZONE */;
/*!40103 SET TIME_ZONE='+00:00' */;
/*!40014 SET @OLD_FOREIGN_KEY_CHECKS=@@FOREIGN_KEY_CHECKS, FOREIGN_KEY_CHECKS=0 */;
/*!40101 SET @OLD_SQL_MODE=@@SQL_MODE, SQL_MODE='NO_AUTO_VALUE_ON_ZERO' */;
/*!40111 SET @OLD_SQL_NOTES=@@SQL_NOTES, SQL_NOTES=0 */;

/*!40000 ALTER TABLE `tbltransientdata` DISABLE KEYS */;
/*!40000 ALTER TABLE `tbltransientdata` ENABLE KEYS */;
/*!40103 SET TIME_ZONE=@OLD_TIME_ZONE */;

/*!40101 SET SQL_MODE=@OLD_SQL_MODE */;
/*!40014 SET FOREIGN_KEY_CHECKS=@OLD_FOREIGN_KEY_CHECKS */;
/*!40111 SET SQL_NOTES=@OLD_SQL_NOTES */;

install/tblorders.data.sql000064400000001107147361027270011653 0ustar00/*!40103 SET @OLD_TIME_ZONE=@@TIME_ZONE */;
/*!40103 SET TIME_ZONE='+00:00' */;
/*!40014 SET @OLD_FOREIGN_KEY_CHECKS=@@FOREIGN_KEY_CHECKS, FOREIGN_KEY_CHECKS=0 */;
/*!40101 SET @OLD_SQL_MODE=@@SQL_MODE, SQL_MODE='NO_AUTO_VALUE_ON_ZERO' */;
/*!40111 SET @OLD_SQL_NOTES=@@SQL_NOTES, SQL_NOTES=0 */;

/*!40000 ALTER TABLE `tblorders` DISABLE KEYS */;
/*!40000 ALTER TABLE `tblorders` ENABLE KEYS */;
/*!40103 SET TIME_ZONE=@OLD_TIME_ZONE */;

/*!40101 SET SQL_MODE=@OLD_SQL_MODE */;
/*!40014 SET FOREIGN_KEY_CHECKS=@OLD_FOREIGN_KEY_CHECKS */;
/*!40111 SET SQL_NOTES=@OLD_SQL_NOTES */;

install/tblsslorders.data.sql000064400000001115147361027270012374 0ustar00/*!40103 SET @OLD_TIME_ZONE=@@TIME_ZONE */;
/*!40103 SET TIME_ZONE='+00:00' */;
/*!40014 SET @OLD_FOREIGN_KEY_CHECKS=@@FOREIGN_KEY_CHECKS, FOREIGN_KEY_CHECKS=0 */;
/*!40101 SET @OLD_SQL_MODE=@@SQL_MODE, SQL_MODE='NO_AUTO_VALUE_ON_ZERO' */;
/*!40111 SET @OLD_SQL_NOTES=@@SQL_NOTES, SQL_NOTES=0 */;

/*!40000 ALTER TABLE `tblsslorders` DISABLE KEYS */;
/*!40000 ALTER TABLE `tblsslorders` ENABLE KEYS */;
/*!40103 SET TIME_ZONE=@OLD_TIME_ZONE */;

/*!40101 SET SQL_MODE=@OLD_SQL_MODE */;
/*!40014 SET FOREIGN_KEY_CHECKS=@OLD_FOREIGN_KEY_CHECKS */;
/*!40111 SET SQL_NOTES=@OLD_SQL_NOTES */;

install/tbladminperms.data.sql000064400000006251147361027270012521 0ustar00/*!40103 SET @OLD_TIME_ZONE=@@TIME_ZONE */;
/*!40103 SET TIME_ZONE='+00:00' */;
/*!40014 SET @OLD_FOREIGN_KEY_CHECKS=@@FOREIGN_KEY_CHECKS, FOREIGN_KEY_CHECKS=0 */;
/*!40101 SET @OLD_SQL_MODE=@@SQL_MODE, SQL_MODE='NO_AUTO_VALUE_ON_ZERO' */;
/*!40111 SET @OLD_SQL_NOTES=@@SQL_NOTES, SQL_NOTES=0 */;

/*!40000 ALTER TABLE `tbladminperms` DISABLE KEYS */;
INSERT INTO `tbladminperms` VALUES (1,1,1),(2,1,2),(3,1,3),(4,1,4),(5,1,5),(6,1,6),(7,1,7),(8,1,8),(9,1,9),(10,1,10),(11,1,11),(12,1,12),(13,1,13),(14,1,14),(15,1,15),(16,1,16),(17,1,17),(18,1,18),(19,1,19),(20,1,20),(21,1,21),(22,1,22),(23,1,23),(24,1,24),(25,1,25),(26,1,26),(27,1,27),(28,1,28),(29,1,29),(30,1,30),(31,1,31),(32,1,32),(33,1,33),(34,1,34),(35,1,35),(36,1,36),(37,1,37),(38,1,38),(39,1,39),(40,1,40),(41,1,41),(42,1,42),(43,1,43),(44,1,44),(45,1,45),(46,1,46),(47,1,47),(48,1,49),(49,1,50),(50,1,51),(51,1,52),(52,1,53),(53,1,54),(54,1,55),(55,1,56),(56,1,57),(57,1,58),(58,1,59),(59,1,60),(60,1,61),(61,1,62),(62,1,63),(63,1,64),(64,1,65),(65,1,66),(66,1,67),(67,1,68),(68,1,69),(69,1,70),(70,1,71),(71,1,72),(72,1,73),(73,1,74),(74,1,75),(75,1,76),(76,1,77),(77,1,78),(78,1,79),(79,1,80),(80,1,81),(81,1,82),(82,1,83),(83,1,84),(84,1,85),(85,1,86),(86,1,87),(87,1,88),(88,1,89),(89,1,90),(90,1,91),(91,1,92),(92,1,93),(93,1,94),(94,1,95),(95,1,96),(96,1,97),(97,1,98),(98,1,99),(99,1,100),(100,1,101),(101,1,102),(102,1,103),(103,1,104),(104,1,105),(105,1,106),(106,1,107),(107,1,108),(108,1,109),(109,1,110),(110,1,111),(111,1,112),(112,1,113),(113,1,114),(114,1,115),(115,1,116),(116,1,117),(117,1,118),(118,1,119),(119,1,120),(120,1,122),(121,1,123),(122,1,124),(123,1,125),(124,1,125),(125,1,126),(126,1,126),(127,1,127),(128,1,128),(129,1,129),(130,1,131),(131,1,132),(132,1,133),(133,1,134),(134,1,135),(135,1,136),(136,1,137),(137,1,138),(138,1,139),(139,1,139),(140,1,140),(141,1,141),(142,1,142),(143,1,143),(144,1,144),(145,1,145),(146,1,146),(147,2,1),(148,2,2),(149,2,3),(150,2,4),(151,2,5),(152,2,6),(153,2,7),(154,2,8),(155,2,9),(156,2,10),(157,2,11),(158,2,12),(159,2,13),(160,2,14),(161,2,15),(162,2,16),(163,2,17),(164,2,18),(165,2,19),(166,2,20),(167,2,21),(168,2,22),(169,2,23),(170,2,24),(171,2,25),(172,2,26),(173,2,27),(174,2,28),(175,2,29),(176,2,30),(177,2,31),(178,2,32),(179,2,33),(180,2,34),(181,2,35),(182,2,36),(183,2,37),(184,2,38),(185,2,39),(186,2,40),(187,2,41),(188,2,42),(189,2,43),(190,2,44),(191,2,45),(192,2,46),(193,2,47),(194,2,49),(195,2,50),(196,2,51),(197,2,52),(198,2,71),(199,2,73),(200,2,85),(201,2,98),(202,2,99),(203,2,101),(204,2,104),(205,2,105),(206,2,110),(207,2,120),(208,2,123),(209,2,124),(210,2,125),(211,2,125),(212,2,126),(213,2,126),(214,2,128),(215,2,129),(216,2,145),(217,3,3),(218,3,38),(219,3,39),(220,3,40),(221,3,41),(222,3,42),(223,3,43),(224,3,44),(225,3,50),(226,3,105),(227,3,125),(228,3,125),(229,3,126),(230,3,128),(231,1,147),(232,1,148),(233,1,149),(244,2,149),(245,1,150),(246,1,151),(247,1,152),(248,1,153),(249,1,154),(250,1,155),(251,1,156),(252,1,157);
/*!40000 ALTER TABLE `tbladminperms` ENABLE KEYS */;
/*!40103 SET TIME_ZONE=@OLD_TIME_ZONE */;

/*!40101 SET SQL_MODE=@OLD_SQL_MODE */;
/*!40014 SET FOREIGN_KEY_CHECKS=@OLD_FOREIGN_KEY_CHECKS */;
/*!40111 SET SQL_NOTES=@OLD_SQL_NOTES */;

install/tblticketbreaklines.data.sql000064400000001503147361027270013700 0ustar00/*!40103 SET @OLD_TIME_ZONE=@@TIME_ZONE */;
/*!40103 SET TIME_ZONE='+00:00' */;
/*!40014 SET @OLD_FOREIGN_KEY_CHECKS=@@FOREIGN_KEY_CHECKS, FOREIGN_KEY_CHECKS=0 */;
/*!40101 SET @OLD_SQL_MODE=@@SQL_MODE, SQL_MODE='NO_AUTO_VALUE_ON_ZERO' */;
/*!40111 SET @OLD_SQL_NOTES=@@SQL_NOTES, SQL_NOTES=0 */;

/*!40000 ALTER TABLE `tblticketbreaklines` DISABLE KEYS */;
INSERT INTO `tblticketbreaklines` VALUES (1,'> -----Original Message-----'),(2,'----- Original Message -----'),(3,'-----Original Message-----'),(4,'<!-- Break Line -->'),(5,'====== Please reply above this line ======'),(6,'_____');
/*!40000 ALTER TABLE `tblticketbreaklines` ENABLE KEYS */;
/*!40103 SET TIME_ZONE=@OLD_TIME_ZONE */;

/*!40101 SET SQL_MODE=@OLD_SQL_MODE */;
/*!40014 SET FOREIGN_KEY_CHECKS=@OLD_FOREIGN_KEY_CHECKS */;
/*!40111 SET SQL_NOTES=@OLD_SQL_NOTES */;

install/tblaffiliateshistory.data.sql000064400000001135147361027270014107 0ustar00/*!40103 SET @OLD_TIME_ZONE=@@TIME_ZONE */;
/*!40103 SET TIME_ZONE='+00:00' */;
/*!40014 SET @OLD_FOREIGN_KEY_CHECKS=@@FOREIGN_KEY_CHECKS, FOREIGN_KEY_CHECKS=0 */;
/*!40101 SET @OLD_SQL_MODE=@@SQL_MODE, SQL_MODE='NO_AUTO_VALUE_ON_ZERO' */;
/*!40111 SET @OLD_SQL_NOTES=@@SQL_NOTES, SQL_NOTES=0 */;

/*!40000 ALTER TABLE `tblaffiliateshistory` DISABLE KEYS */;
/*!40000 ALTER TABLE `tblaffiliateshistory` ENABLE KEYS */;
/*!40103 SET TIME_ZONE=@OLD_TIME_ZONE */;

/*!40101 SET SQL_MODE=@OLD_SQL_MODE */;
/*!40014 SET FOREIGN_KEY_CHECKS=@OLD_FOREIGN_KEY_CHECKS */;
/*!40111 SET SQL_NOTES=@OLD_SQL_NOTES */;

install/tblbankaccts.schema.sql000064400000002572147361027270012644 0ustar00/*!40103 SET @OLD_TIME_ZONE=@@TIME_ZONE */;
/*!40103 SET TIME_ZONE='+00:00' */;
/*!40014 SET @OLD_UNIQUE_CHECKS=@@UNIQUE_CHECKS, UNIQUE_CHECKS=0 */;
/*!40014 SET @OLD_FOREIGN_KEY_CHECKS=@@FOREIGN_KEY_CHECKS, FOREIGN_KEY_CHECKS=0 */;
/*!40101 SET @OLD_SQL_MODE=@@SQL_MODE, SQL_MODE='NO_AUTO_VALUE_ON_ZERO' */;
/*!40111 SET @OLD_SQL_NOTES=@@SQL_NOTES, SQL_NOTES=0 */;
DROP TABLE IF EXISTS `tblbankaccts`;
/*!40101 SET @saved_cs_client     = @@character_set_client */;
/*!40101 SET character_set_client = utf8 */;
CREATE TABLE `tblbankaccts` (
  `id` int(10) unsigned NOT NULL AUTO_INCREMENT,
  `pay_method_id` int(11) NOT NULL DEFAULT '0',
  `bank_name` varchar(255) COLLATE utf8_unicode_ci NOT NULL DEFAULT '',
  `acct_type` varchar(255) COLLATE utf8_unicode_ci NOT NULL DEFAULT '',
  `bank_data` blob NOT NULL,
  `created_at` timestamp NOT NULL DEFAULT '0000-00-00 00:00:00',
  `updated_at` timestamp NOT NULL DEFAULT '0000-00-00 00:00:00',
  `deleted_at` timestamp NULL,
  PRIMARY KEY (`id`),
  KEY `tblbankaccts_pay_method_id` (`pay_method_id`)
) ENGINE=InnoDB DEFAULT CHARSET=utf8 COLLATE=utf8_unicode_ci;
/*!40101 SET character_set_client = @saved_cs_client */;
/*!40103 SET TIME_ZONE=@OLD_TIME_ZONE */;

/*!40101 SET SQL_MODE=@OLD_SQL_MODE */;
/*!40014 SET FOREIGN_KEY_CHECKS=@OLD_FOREIGN_KEY_CHECKS */;
/*!40014 SET UNIQUE_CHECKS=@OLD_UNIQUE_CHECKS */;
/*!40111 SET SQL_NOTES=@OLD_SQL_NOTES */;

install/tblnotificationrules.schema.sql000064400000003104147361027270014444 0ustar00/*!40103 SET @OLD_TIME_ZONE=@@TIME_ZONE */;
/*!40103 SET TIME_ZONE='+00:00' */;
/*!40014 SET @OLD_UNIQUE_CHECKS=@@UNIQUE_CHECKS, UNIQUE_CHECKS=0 */;
/*!40014 SET @OLD_FOREIGN_KEY_CHECKS=@@FOREIGN_KEY_CHECKS, FOREIGN_KEY_CHECKS=0 */;
/*!40101 SET @OLD_SQL_MODE=@@SQL_MODE, SQL_MODE='NO_AUTO_VALUE_ON_ZERO' */;
/*!40111 SET @OLD_SQL_NOTES=@@SQL_NOTES, SQL_NOTES=0 */;
DROP TABLE IF EXISTS `tblnotificationrules`;
/*!40101 SET @saved_cs_client     = @@character_set_client */;
/*!40101 SET character_set_client = utf8 */;
CREATE TABLE `tblnotificationrules` (
  `id` int(10) unsigned NOT NULL AUTO_INCREMENT,
  `description` varchar(255) COLLATE utf8_unicode_ci NOT NULL DEFAULT '',
  `event_type` varchar(255) COLLATE utf8_unicode_ci NOT NULL DEFAULT '',
  `events` varchar(255) COLLATE utf8_unicode_ci NOT NULL DEFAULT '',
  `conditions` text COLLATE utf8_unicode_ci NOT NULL,
  `provider` varchar(255) COLLATE utf8_unicode_ci NOT NULL DEFAULT '',
  `provider_config` text COLLATE utf8_unicode_ci NOT NULL,
  `active` tinyint(4) NOT NULL DEFAULT '0',
  `can_delete` tinyint(4) NOT NULL DEFAULT '0',
  `created_at` timestamp NOT NULL DEFAULT '0000-00-00 00:00:00',
  `updated_at` timestamp NOT NULL DEFAULT '0000-00-00 00:00:00',
  PRIMARY KEY (`id`)
) ENGINE=InnoDB DEFAULT CHARSET=utf8 COLLATE=utf8_unicode_ci;
/*!40101 SET character_set_client = @saved_cs_client */;
/*!40103 SET TIME_ZONE=@OLD_TIME_ZONE */;

/*!40101 SET SQL_MODE=@OLD_SQL_MODE */;
/*!40014 SET FOREIGN_KEY_CHECKS=@OLD_FOREIGN_KEY_CHECKS */;
/*!40014 SET UNIQUE_CHECKS=@OLD_UNIQUE_CHECKS */;
/*!40111 SET SQL_NOTES=@OLD_SQL_NOTES */;

install/mod_invoicedata.data.sql000064400000001123147361027270012776 0ustar00/*!40103 SET @OLD_TIME_ZONE=@@TIME_ZONE */;
/*!40103 SET TIME_ZONE='+00:00' */;
/*!40014 SET @OLD_FOREIGN_KEY_CHECKS=@@FOREIGN_KEY_CHECKS, FOREIGN_KEY_CHECKS=0 */;
/*!40101 SET @OLD_SQL_MODE=@@SQL_MODE, SQL_MODE='NO_AUTO_VALUE_ON_ZERO' */;
/*!40111 SET @OLD_SQL_NOTES=@@SQL_NOTES, SQL_NOTES=0 */;

/*!40000 ALTER TABLE `mod_invoicedata` DISABLE KEYS */;
/*!40000 ALTER TABLE `mod_invoicedata` ENABLE KEYS */;
/*!40103 SET TIME_ZONE=@OLD_TIME_ZONE */;

/*!40101 SET SQL_MODE=@OLD_SQL_MODE */;
/*!40014 SET FOREIGN_KEY_CHECKS=@OLD_FOREIGN_KEY_CHECKS */;
/*!40111 SET SQL_NOTES=@OLD_SQL_NOTES */;

install/tblproduct_downloads.data.sql000064400000001135147361027270014110 0ustar00/*!40103 SET @OLD_TIME_ZONE=@@TIME_ZONE */;
/*!40103 SET TIME_ZONE='+00:00' */;
/*!40014 SET @OLD_FOREIGN_KEY_CHECKS=@@FOREIGN_KEY_CHECKS, FOREIGN_KEY_CHECKS=0 */;
/*!40101 SET @OLD_SQL_MODE=@@SQL_MODE, SQL_MODE='NO_AUTO_VALUE_ON_ZERO' */;
/*!40111 SET @OLD_SQL_NOTES=@@SQL_NOTES, SQL_NOTES=0 */;

/*!40000 ALTER TABLE `tblproduct_downloads` DISABLE KEYS */;
/*!40000 ALTER TABLE `tblproduct_downloads` ENABLE KEYS */;
/*!40103 SET TIME_ZONE=@OLD_TIME_ZONE */;

/*!40101 SET SQL_MODE=@OLD_SQL_MODE */;
/*!40014 SET FOREIGN_KEY_CHECKS=@OLD_FOREIGN_KEY_CHECKS */;
/*!40111 SET SQL_NOTES=@OLD_SQL_NOTES */;

install/tblmodulelog.data.sql000064400000001115147361027270012343 0ustar00/*!40103 SET @OLD_TIME_ZONE=@@TIME_ZONE */;
/*!40103 SET TIME_ZONE='+00:00' */;
/*!40014 SET @OLD_FOREIGN_KEY_CHECKS=@@FOREIGN_KEY_CHECKS, FOREIGN_KEY_CHECKS=0 */;
/*!40101 SET @OLD_SQL_MODE=@@SQL_MODE, SQL_MODE='NO_AUTO_VALUE_ON_ZERO' */;
/*!40111 SET @OLD_SQL_NOTES=@@SQL_NOTES, SQL_NOTES=0 */;

/*!40000 ALTER TABLE `tblmodulelog` DISABLE KEYS */;
/*!40000 ALTER TABLE `tblmodulelog` ENABLE KEYS */;
/*!40103 SET TIME_ZONE=@OLD_TIME_ZONE */;

/*!40101 SET SQL_MODE=@OLD_SQL_MODE */;
/*!40014 SET FOREIGN_KEY_CHECKS=@OLD_FOREIGN_KEY_CHECKS */;
/*!40111 SET SQL_NOTES=@OLD_SQL_NOTES */;

install/tblaffiliatesaccounts.data.sql000064400000001137147361027270014227 0ustar00/*!40103 SET @OLD_TIME_ZONE=@@TIME_ZONE */;
/*!40103 SET TIME_ZONE='+00:00' */;
/*!40014 SET @OLD_FOREIGN_KEY_CHECKS=@@FOREIGN_KEY_CHECKS, FOREIGN_KEY_CHECKS=0 */;
/*!40101 SET @OLD_SQL_MODE=@@SQL_MODE, SQL_MODE='NO_AUTO_VALUE_ON_ZERO' */;
/*!40111 SET @OLD_SQL_NOTES=@@SQL_NOTES, SQL_NOTES=0 */;

/*!40000 ALTER TABLE `tblaffiliatesaccounts` DISABLE KEYS */;
/*!40000 ALTER TABLE `tblaffiliatesaccounts` ENABLE KEYS */;
/*!40103 SET TIME_ZONE=@OLD_TIME_ZONE */;

/*!40101 SET SQL_MODE=@OLD_SQL_MODE */;
/*!40014 SET FOREIGN_KEY_CHECKS=@OLD_FOREIGN_KEY_CHECKS */;
/*!40111 SET SQL_NOTES=@OLD_SQL_NOTES */;

install/tblserver_tenants.data.sql000064400000001127147361027270013421 0ustar00/*!40103 SET @OLD_TIME_ZONE=@@TIME_ZONE */;
/*!40103 SET TIME_ZONE='+00:00' */;
/*!40014 SET @OLD_FOREIGN_KEY_CHECKS=@@FOREIGN_KEY_CHECKS, FOREIGN_KEY_CHECKS=0 */;
/*!40101 SET @OLD_SQL_MODE=@@SQL_MODE, SQL_MODE='NO_AUTO_VALUE_ON_ZERO' */;
/*!40111 SET @OLD_SQL_NOTES=@@SQL_NOTES, SQL_NOTES=0 */;

/*!40000 ALTER TABLE `tblserver_tenants` DISABLE KEYS */;
/*!40000 ALTER TABLE `tblserver_tenants` ENABLE KEYS */;
/*!40103 SET TIME_ZONE=@OLD_TIME_ZONE */;

/*!40101 SET SQL_MODE=@OLD_SQL_MODE */;
/*!40014 SET FOREIGN_KEY_CHECKS=@OLD_FOREIGN_KEY_CHECKS */;
/*!40111 SET SQL_NOTES=@OLD_SQL_NOTES */;

install/tbltlds.schema.sql000064400000002165147361027270011657 0ustar00/*!40103 SET @OLD_TIME_ZONE=@@TIME_ZONE */;
/*!40103 SET TIME_ZONE='+00:00' */;
/*!40014 SET @OLD_UNIQUE_CHECKS=@@UNIQUE_CHECKS, UNIQUE_CHECKS=0 */;
/*!40014 SET @OLD_FOREIGN_KEY_CHECKS=@@FOREIGN_KEY_CHECKS, FOREIGN_KEY_CHECKS=0 */;
/*!40101 SET @OLD_SQL_MODE=@@SQL_MODE, SQL_MODE='NO_AUTO_VALUE_ON_ZERO' */;
/*!40111 SET @OLD_SQL_NOTES=@@SQL_NOTES, SQL_NOTES=0 */;
DROP TABLE IF EXISTS `tbltlds`;
/*!40101 SET @saved_cs_client     = @@character_set_client */;
/*!40101 SET character_set_client = utf8 */;
CREATE TABLE `tbltlds` (
  `id` int(10) unsigned NOT NULL AUTO_INCREMENT,
  `tld` varchar(255) COLLATE utf8_unicode_ci NOT NULL,
  `created_at` timestamp NOT NULL DEFAULT '0000-00-00 00:00:00',
  `updated_at` timestamp NOT NULL DEFAULT '0000-00-00 00:00:00',
  PRIMARY KEY (`id`)
) ENGINE=InnoDB DEFAULT CHARSET=utf8 COLLATE=utf8_unicode_ci;
/*!40101 SET character_set_client = @saved_cs_client */;
/*!40103 SET TIME_ZONE=@OLD_TIME_ZONE */;

/*!40101 SET SQL_MODE=@OLD_SQL_MODE */;
/*!40014 SET FOREIGN_KEY_CHECKS=@OLD_FOREIGN_KEY_CHECKS */;
/*!40014 SET UNIQUE_CHECKS=@OLD_UNIQUE_CHECKS */;
/*!40111 SET SQL_NOTES=@OLD_SQL_NOTES */;

install/tblknowledgebasecats.schema.sql000064400000002433147361027270014374 0ustar00/*!40103 SET @OLD_TIME_ZONE=@@TIME_ZONE */;
/*!40103 SET TIME_ZONE='+00:00' */;
/*!40014 SET @OLD_UNIQUE_CHECKS=@@UNIQUE_CHECKS, UNIQUE_CHECKS=0 */;
/*!40014 SET @OLD_FOREIGN_KEY_CHECKS=@@FOREIGN_KEY_CHECKS, FOREIGN_KEY_CHECKS=0 */;
/*!40101 SET @OLD_SQL_MODE=@@SQL_MODE, SQL_MODE='NO_AUTO_VALUE_ON_ZERO' */;
/*!40111 SET @OLD_SQL_NOTES=@@SQL_NOTES, SQL_NOTES=0 */;
DROP TABLE IF EXISTS `tblknowledgebasecats`;
/*!40101 SET @saved_cs_client     = @@character_set_client */;
/*!40101 SET character_set_client = utf8 */;
CREATE TABLE `tblknowledgebasecats` (
  `id` int(10) NOT NULL AUTO_INCREMENT,
  `parentid` int(10) NOT NULL DEFAULT '0',
  `name` text COLLATE utf8_unicode_ci NOT NULL,
  `description` text COLLATE utf8_unicode_ci NOT NULL,
  `hidden` text COLLATE utf8_unicode_ci NOT NULL,
  `catid` int(10) NOT NULL,
  `language` text COLLATE utf8_unicode_ci NOT NULL,
  PRIMARY KEY (`id`),
  KEY `parentid` (`parentid`),
  KEY `name` (`name`(64))
) ENGINE=InnoDB DEFAULT CHARSET=utf8 COLLATE=utf8_unicode_ci;
/*!40101 SET character_set_client = @saved_cs_client */;
/*!40103 SET TIME_ZONE=@OLD_TIME_ZONE */;

/*!40101 SET SQL_MODE=@OLD_SQL_MODE */;
/*!40014 SET FOREIGN_KEY_CHECKS=@OLD_FOREIGN_KEY_CHECKS */;
/*!40014 SET UNIQUE_CHECKS=@OLD_UNIQUE_CHECKS */;
/*!40111 SET SQL_NOTES=@OLD_SQL_NOTES */;

install/tblioncube_file_log.schema.sql000064400000002614147361027270014174 0ustar00/*!40103 SET @OLD_TIME_ZONE=@@TIME_ZONE */;
/*!40103 SET TIME_ZONE='+00:00' */;
/*!40014 SET @OLD_UNIQUE_CHECKS=@@UNIQUE_CHECKS, UNIQUE_CHECKS=0 */;
/*!40014 SET @OLD_FOREIGN_KEY_CHECKS=@@FOREIGN_KEY_CHECKS, FOREIGN_KEY_CHECKS=0 */;
/*!40101 SET @OLD_SQL_MODE=@@SQL_MODE, SQL_MODE='NO_AUTO_VALUE_ON_ZERO' */;
/*!40111 SET @OLD_SQL_NOTES=@@SQL_NOTES, SQL_NOTES=0 */;
DROP TABLE IF EXISTS `tblioncube_file_log`;
/*!40101 SET @saved_cs_client     = @@character_set_client */;
/*!40101 SET character_set_client = utf8 */;
CREATE TABLE `tblioncube_file_log` (
  `id` int(10) unsigned NOT NULL AUTO_INCREMENT,
  `filename` text COLLATE utf8_unicode_ci NOT NULL,
  `content_hash` varchar(512) COLLATE utf8_unicode_ci NOT NULL DEFAULT '',
  `encoder_version` varchar(16) COLLATE utf8_unicode_ci NOT NULL DEFAULT '',
  `bundled_php_versions` varchar(128) COLLATE utf8_unicode_ci NOT NULL DEFAULT '',
  `loaded_in_php` varchar(128) COLLATE utf8_unicode_ci NOT NULL DEFAULT '',
  `target_php_version` char(16) COLLATE utf8_unicode_ci NOT NULL DEFAULT '',
  PRIMARY KEY (`id`)
) ENGINE=InnoDB DEFAULT CHARSET=utf8 COLLATE=utf8_unicode_ci;
/*!40101 SET character_set_client = @saved_cs_client */;
/*!40103 SET TIME_ZONE=@OLD_TIME_ZONE */;

/*!40101 SET SQL_MODE=@OLD_SQL_MODE */;
/*!40014 SET FOREIGN_KEY_CHECKS=@OLD_FOREIGN_KEY_CHECKS */;
/*!40014 SET UNIQUE_CHECKS=@OLD_UNIQUE_CHECKS */;
/*!40111 SET SQL_NOTES=@OLD_SQL_NOTES */;

install/tbladminsecurityquestions.data.sql000064400000001147147361027270015214 0ustar00/*!40103 SET @OLD_TIME_ZONE=@@TIME_ZONE */;
/*!40103 SET TIME_ZONE='+00:00' */;
/*!40014 SET @OLD_FOREIGN_KEY_CHECKS=@@FOREIGN_KEY_CHECKS, FOREIGN_KEY_CHECKS=0 */;
/*!40101 SET @OLD_SQL_MODE=@@SQL_MODE, SQL_MODE='NO_AUTO_VALUE_ON_ZERO' */;
/*!40111 SET @OLD_SQL_NOTES=@@SQL_NOTES, SQL_NOTES=0 */;

/*!40000 ALTER TABLE `tbladminsecurityquestions` DISABLE KEYS */;
/*!40000 ALTER TABLE `tbladminsecurityquestions` ENABLE KEYS */;
/*!40103 SET TIME_ZONE=@OLD_TIME_ZONE */;

/*!40101 SET SQL_MODE=@OLD_SQL_MODE */;
/*!40014 SET FOREIGN_KEY_CHECKS=@OLD_FOREIGN_KEY_CHECKS */;
/*!40111 SET SQL_NOTES=@OLD_SQL_NOTES */;

install/tbltickets.data.sql000064400000001111147361027270012016 0ustar00/*!40103 SET @OLD_TIME_ZONE=@@TIME_ZONE */;
/*!40103 SET TIME_ZONE='+00:00' */;
/*!40014 SET @OLD_FOREIGN_KEY_CHECKS=@@FOREIGN_KEY_CHECKS, FOREIGN_KEY_CHECKS=0 */;
/*!40101 SET @OLD_SQL_MODE=@@SQL_MODE, SQL_MODE='NO_AUTO_VALUE_ON_ZERO' */;
/*!40111 SET @OLD_SQL_NOTES=@@SQL_NOTES, SQL_NOTES=0 */;

/*!40000 ALTER TABLE `tbltickets` DISABLE KEYS */;
/*!40000 ALTER TABLE `tbltickets` ENABLE KEYS */;
/*!40103 SET TIME_ZONE=@OLD_TIME_ZONE */;

/*!40101 SET SQL_MODE=@OLD_SQL_MODE */;
/*!40014 SET FOREIGN_KEY_CHECKS=@OLD_FOREIGN_KEY_CHECKS */;
/*!40111 SET SQL_NOTES=@OLD_SQL_NOTES */;

install/tblservers.schema.sql000064400000004336147361027270012404 0ustar00/*!40103 SET @OLD_TIME_ZONE=@@TIME_ZONE */;
/*!40103 SET TIME_ZONE='+00:00' */;
/*!40014 SET @OLD_UNIQUE_CHECKS=@@UNIQUE_CHECKS, UNIQUE_CHECKS=0 */;
/*!40014 SET @OLD_FOREIGN_KEY_CHECKS=@@FOREIGN_KEY_CHECKS, FOREIGN_KEY_CHECKS=0 */;
/*!40101 SET @OLD_SQL_MODE=@@SQL_MODE, SQL_MODE='NO_AUTO_VALUE_ON_ZERO' */;
/*!40111 SET @OLD_SQL_NOTES=@@SQL_NOTES, SQL_NOTES=0 */;
DROP TABLE IF EXISTS `tblservers`;
/*!40101 SET @saved_cs_client     = @@character_set_client */;
/*!40101 SET character_set_client = utf8 */;
CREATE TABLE `tblservers` (
  `id` int(10) NOT NULL AUTO_INCREMENT,
  `name` text COLLATE utf8_unicode_ci NOT NULL,
  `ipaddress` text COLLATE utf8_unicode_ci NOT NULL,
  `assignedips` text COLLATE utf8_unicode_ci NOT NULL,
  `hostname` text COLLATE utf8_unicode_ci NOT NULL,
  `monthlycost` decimal(16,2) NOT NULL DEFAULT '0.00',
  `noc` text COLLATE utf8_unicode_ci NOT NULL,
  `statusaddress` text COLLATE utf8_unicode_ci NOT NULL,
  `nameserver1` text COLLATE utf8_unicode_ci NOT NULL,
  `nameserver1ip` text COLLATE utf8_unicode_ci NOT NULL,
  `nameserver2` text COLLATE utf8_unicode_ci NOT NULL,
  `nameserver2ip` text COLLATE utf8_unicode_ci NOT NULL,
  `nameserver3` text COLLATE utf8_unicode_ci NOT NULL,
  `nameserver3ip` text COLLATE utf8_unicode_ci NOT NULL,
  `nameserver4` text COLLATE utf8_unicode_ci NOT NULL,
  `nameserver4ip` text COLLATE utf8_unicode_ci NOT NULL,
  `nameserver5` text COLLATE utf8_unicode_ci NOT NULL,
  `nameserver5ip` text COLLATE utf8_unicode_ci NOT NULL,
  `maxaccounts` int(10) NOT NULL DEFAULT '0',
  `type` text COLLATE utf8_unicode_ci NOT NULL,
  `username` text COLLATE utf8_unicode_ci NOT NULL,
  `password` text COLLATE utf8_unicode_ci NOT NULL,
  `accesshash` text COLLATE utf8_unicode_ci NOT NULL,
  `secure` text COLLATE utf8_unicode_ci NOT NULL,
  `port` int(8) DEFAULT NULL,
  `active` int(1) NOT NULL,
  `disabled` int(1) NOT NULL,
  PRIMARY KEY (`id`)
) ENGINE=InnoDB DEFAULT CHARSET=utf8 COLLATE=utf8_unicode_ci;
/*!40101 SET character_set_client = @saved_cs_client */;
/*!40103 SET TIME_ZONE=@OLD_TIME_ZONE */;

/*!40101 SET SQL_MODE=@OLD_SQL_MODE */;
/*!40014 SET FOREIGN_KEY_CHECKS=@OLD_FOREIGN_KEY_CHECKS */;
/*!40014 SET UNIQUE_CHECKS=@OLD_UNIQUE_CHECKS */;
/*!40111 SET SQL_NOTES=@OLD_SQL_NOTES */;

install/tblmarketing_consent.data.sql000064400000001135147361027270014070 0ustar00/*!40103 SET @OLD_TIME_ZONE=@@TIME_ZONE */;
/*!40103 SET TIME_ZONE='+00:00' */;
/*!40014 SET @OLD_FOREIGN_KEY_CHECKS=@@FOREIGN_KEY_CHECKS, FOREIGN_KEY_CHECKS=0 */;
/*!40101 SET @OLD_SQL_MODE=@@SQL_MODE, SQL_MODE='NO_AUTO_VALUE_ON_ZERO' */;
/*!40111 SET @OLD_SQL_NOTES=@@SQL_NOTES, SQL_NOTES=0 */;

/*!40000 ALTER TABLE `tblmarketing_consent` DISABLE KEYS */;
/*!40000 ALTER TABLE `tblmarketing_consent` ENABLE KEYS */;
/*!40103 SET TIME_ZONE=@OLD_TIME_ZONE */;

/*!40101 SET SQL_MODE=@OLD_SQL_MODE */;
/*!40014 SET FOREIGN_KEY_CHECKS=@OLD_FOREIGN_KEY_CHECKS */;
/*!40111 SET SQL_NOTES=@OLD_SQL_NOTES */;

install/tblcancelrequests.data.sql000064400000001127147361027270013400 0ustar00/*!40103 SET @OLD_TIME_ZONE=@@TIME_ZONE */;
/*!40103 SET TIME_ZONE='+00:00' */;
/*!40014 SET @OLD_FOREIGN_KEY_CHECKS=@@FOREIGN_KEY_CHECKS, FOREIGN_KEY_CHECKS=0 */;
/*!40101 SET @OLD_SQL_MODE=@@SQL_MODE, SQL_MODE='NO_AUTO_VALUE_ON_ZERO' */;
/*!40111 SET @OLD_SQL_NOTES=@@SQL_NOTES, SQL_NOTES=0 */;

/*!40000 ALTER TABLE `tblcancelrequests` DISABLE KEYS */;
/*!40000 ALTER TABLE `tblcancelrequests` ENABLE KEYS */;
/*!40103 SET TIME_ZONE=@OLD_TIME_ZONE */;

/*!40101 SET SQL_MODE=@OLD_SQL_MODE */;
/*!40014 SET FOREIGN_KEY_CHECKS=@OLD_FOREIGN_KEY_CHECKS */;
/*!40111 SET SQL_NOTES=@OLD_SQL_NOTES */;

install/tblcontacts.data.sql000064400000001113147361027270012170 0ustar00/*!40103 SET @OLD_TIME_ZONE=@@TIME_ZONE */;
/*!40103 SET TIME_ZONE='+00:00' */;
/*!40014 SET @OLD_FOREIGN_KEY_CHECKS=@@FOREIGN_KEY_CHECKS, FOREIGN_KEY_CHECKS=0 */;
/*!40101 SET @OLD_SQL_MODE=@@SQL_MODE, SQL_MODE='NO_AUTO_VALUE_ON_ZERO' */;
/*!40111 SET @OLD_SQL_NOTES=@@SQL_NOTES, SQL_NOTES=0 */;

/*!40000 ALTER TABLE `tblcontacts` DISABLE KEYS */;
/*!40000 ALTER TABLE `tblcontacts` ENABLE KEYS */;
/*!40103 SET TIME_ZONE=@OLD_TIME_ZONE */;

/*!40101 SET SQL_MODE=@OLD_SQL_MODE */;
/*!40014 SET FOREIGN_KEY_CHECKS=@OLD_FOREIGN_KEY_CHECKS */;
/*!40111 SET SQL_NOTES=@OLD_SQL_NOTES */;

install/tbltickettags.schema.sql000064400000002015147361027270013045 0ustar00/*!40103 SET @OLD_TIME_ZONE=@@TIME_ZONE */;
/*!40103 SET TIME_ZONE='+00:00' */;
/*!40014 SET @OLD_UNIQUE_CHECKS=@@UNIQUE_CHECKS, UNIQUE_CHECKS=0 */;
/*!40014 SET @OLD_FOREIGN_KEY_CHECKS=@@FOREIGN_KEY_CHECKS, FOREIGN_KEY_CHECKS=0 */;
/*!40101 SET @OLD_SQL_MODE=@@SQL_MODE, SQL_MODE='NO_AUTO_VALUE_ON_ZERO' */;
/*!40111 SET @OLD_SQL_NOTES=@@SQL_NOTES, SQL_NOTES=0 */;
DROP TABLE IF EXISTS `tbltickettags`;
/*!40101 SET @saved_cs_client     = @@character_set_client */;
/*!40101 SET character_set_client = utf8 */;
CREATE TABLE `tbltickettags` (
  `id` int(10) NOT NULL AUTO_INCREMENT,
  `ticketid` int(10) NOT NULL,
  `tag` text COLLATE utf8_unicode_ci NOT NULL,
  PRIMARY KEY (`id`)
) ENGINE=InnoDB DEFAULT CHARSET=utf8 COLLATE=utf8_unicode_ci;
/*!40101 SET character_set_client = @saved_cs_client */;
/*!40103 SET TIME_ZONE=@OLD_TIME_ZONE */;

/*!40101 SET SQL_MODE=@OLD_SQL_MODE */;
/*!40014 SET FOREIGN_KEY_CHECKS=@OLD_FOREIGN_KEY_CHECKS */;
/*!40014 SET UNIQUE_CHECKS=@OLD_UNIQUE_CHECKS */;
/*!40111 SET SQL_NOTES=@OLD_SQL_NOTES */;

install/tbladdonmodules.data.sql000064400000001123147361027270013031 0ustar00/*!40103 SET @OLD_TIME_ZONE=@@TIME_ZONE */;
/*!40103 SET TIME_ZONE='+00:00' */;
/*!40014 SET @OLD_FOREIGN_KEY_CHECKS=@@FOREIGN_KEY_CHECKS, FOREIGN_KEY_CHECKS=0 */;
/*!40101 SET @OLD_SQL_MODE=@@SQL_MODE, SQL_MODE='NO_AUTO_VALUE_ON_ZERO' */;
/*!40111 SET @OLD_SQL_NOTES=@@SQL_NOTES, SQL_NOTES=0 */;

/*!40000 ALTER TABLE `tbladdonmodules` DISABLE KEYS */;
/*!40000 ALTER TABLE `tbladdonmodules` ENABLE KEYS */;
/*!40103 SET TIME_ZONE=@OLD_TIME_ZONE */;

/*!40101 SET SQL_MODE=@OLD_SQL_MODE */;
/*!40014 SET FOREIGN_KEY_CHECKS=@OLD_FOREIGN_KEY_CHECKS */;
/*!40111 SET SQL_NOTES=@OLD_SQL_NOTES */;

install/tblfileassetsettings.schema.sql000064400000002463147361027270014452 0ustar00/*!40103 SET @OLD_TIME_ZONE=@@TIME_ZONE */;
/*!40103 SET TIME_ZONE='+00:00' */;
/*!40014 SET @OLD_UNIQUE_CHECKS=@@UNIQUE_CHECKS, UNIQUE_CHECKS=0 */;
/*!40014 SET @OLD_FOREIGN_KEY_CHECKS=@@FOREIGN_KEY_CHECKS, FOREIGN_KEY_CHECKS=0 */;
/*!40101 SET @OLD_SQL_MODE=@@SQL_MODE, SQL_MODE='NO_AUTO_VALUE_ON_ZERO' */;
/*!40111 SET @OLD_SQL_NOTES=@@SQL_NOTES, SQL_NOTES=0 */;
DROP TABLE IF EXISTS `tblfileassetsettings`;
/*!40101 SET @saved_cs_client     = @@character_set_client */;
/*!40101 SET character_set_client = utf8 */;
CREATE TABLE `tblfileassetsettings` (
  `id` int(10) unsigned NOT NULL AUTO_INCREMENT,
  `asset_type` varchar(64) COLLATE utf8_unicode_ci NOT NULL,
  `storageconfiguration_id` int(10) unsigned NOT NULL,
  `migratetoconfiguration_id` int(10) unsigned DEFAULT NULL,
  `created_at` timestamp NOT NULL DEFAULT '0000-00-00 00:00:00',
  `updated_at` timestamp NOT NULL DEFAULT '0000-00-00 00:00:00',
  PRIMARY KEY (`id`),
  UNIQUE KEY `asset_type` (`asset_type`)
) ENGINE=InnoDB DEFAULT CHARSET=utf8 COLLATE=utf8_unicode_ci;
/*!40101 SET character_set_client = @saved_cs_client */;
/*!40103 SET TIME_ZONE=@OLD_TIME_ZONE */;

/*!40101 SET SQL_MODE=@OLD_SQL_MODE */;
/*!40014 SET FOREIGN_KEY_CHECKS=@OLD_FOREIGN_KEY_CHECKS */;
/*!40014 SET UNIQUE_CHECKS=@OLD_UNIQUE_CHECKS */;
/*!40111 SET SQL_NOTES=@OLD_SQL_NOTES */;

install/tblticketpendingimports.schema.sql000064400000002115147361027270015152 0ustar00/*!40103 SET @OLD_TIME_ZONE=@@TIME_ZONE */;
/*!40103 SET TIME_ZONE='+00:00' */;
/*!40014 SET @OLD_UNIQUE_CHECKS=@@UNIQUE_CHECKS, UNIQUE_CHECKS=0 */;
/*!40014 SET @OLD_FOREIGN_KEY_CHECKS=@@FOREIGN_KEY_CHECKS, FOREIGN_KEY_CHECKS=0 */;
/*!40101 SET @OLD_SQL_MODE=@@SQL_MODE, SQL_MODE='NO_AUTO_VALUE_ON_ZERO' */;
/*!40111 SET @OLD_SQL_NOTES=@@SQL_NOTES, SQL_NOTES=0 */;
DROP TABLE IF EXISTS `tblticketpendingimports`;
/*!40101 SET @saved_cs_client     = @@character_set_client */;
/*!40101 SET character_set_client = utf8 */;
CREATE TABLE `tblticketpendingimports` (
    `ticketmaillog_id` int not null,
    `ticket_id` int not null,
    KEY `idx_ticket_id` (`ticket_id`),
    UNIQUE KEY `ticketmaillog_id_ticket_id` (`ticketmaillog_id`,`ticket_id`)
) ENGINE=InnoDB DEFAULT CHARSET=utf8 COLLATE=utf8_unicode_ci;
/*!40101 SET character_set_client = @saved_cs_client */;
/*!40103 SET TIME_ZONE=@OLD_TIME_ZONE */;

/*!40101 SET SQL_MODE=@OLD_SQL_MODE */;
/*!40014 SET FOREIGN_KEY_CHECKS=@OLD_FOREIGN_KEY_CHECKS */;
/*!40014 SET UNIQUE_CHECKS=@OLD_UNIQUE_CHECKS */;
/*!40111 SET SQL_NOTES=@OLD_SQL_NOTES */;

install/tblaffiliatesaccounts.schema.sql000064400000002345147361027270014560 0ustar00/*!40103 SET @OLD_TIME_ZONE=@@TIME_ZONE */;
/*!40103 SET TIME_ZONE='+00:00' */;
/*!40014 SET @OLD_UNIQUE_CHECKS=@@UNIQUE_CHECKS, UNIQUE_CHECKS=0 */;
/*!40014 SET @OLD_FOREIGN_KEY_CHECKS=@@FOREIGN_KEY_CHECKS, FOREIGN_KEY_CHECKS=0 */;
/*!40101 SET @OLD_SQL_MODE=@@SQL_MODE, SQL_MODE='NO_AUTO_VALUE_ON_ZERO' */;
/*!40111 SET @OLD_SQL_NOTES=@@SQL_NOTES, SQL_NOTES=0 */;
DROP TABLE IF EXISTS `tblaffiliatesaccounts`;
/*!40101 SET @saved_cs_client     = @@character_set_client */;
/*!40101 SET character_set_client = utf8 */;
CREATE TABLE `tblaffiliatesaccounts` (
  `id` int(10) NOT NULL AUTO_INCREMENT,
  `affiliateid` int(10) NOT NULL,
  `relid` int(10) NOT NULL,
  `lastpaid` date NOT NULL DEFAULT '0000-00-00',
  `created_at` timestamp NOT NULL DEFAULT '0000-00-00 00:00:00',
  `updated_at` timestamp NOT NULL DEFAULT '0000-00-00 00:00:00',
  PRIMARY KEY (`id`),
  KEY `affiliateid` (`affiliateid`)
) ENGINE=InnoDB DEFAULT CHARSET=utf8 COLLATE=utf8_unicode_ci;
/*!40101 SET character_set_client = @saved_cs_client */;
/*!40103 SET TIME_ZONE=@OLD_TIME_ZONE */;

/*!40101 SET SQL_MODE=@OLD_SQL_MODE */;
/*!40014 SET FOREIGN_KEY_CHECKS=@OLD_FOREIGN_KEY_CHECKS */;
/*!40014 SET UNIQUE_CHECKS=@OLD_UNIQUE_CHECKS */;
/*!40111 SET SQL_NOTES=@OLD_SQL_NOTES */;

install/tblfileassetsettings.data.sql000064400000001135147361027270014116 0ustar00/*!40103 SET @OLD_TIME_ZONE=@@TIME_ZONE */;
/*!40103 SET TIME_ZONE='+00:00' */;
/*!40014 SET @OLD_FOREIGN_KEY_CHECKS=@@FOREIGN_KEY_CHECKS, FOREIGN_KEY_CHECKS=0 */;
/*!40101 SET @OLD_SQL_MODE=@@SQL_MODE, SQL_MODE='NO_AUTO_VALUE_ON_ZERO' */;
/*!40111 SET @OLD_SQL_NOTES=@@SQL_NOTES, SQL_NOTES=0 */;

/*!40000 ALTER TABLE `tblfileassetsettings` DISABLE KEYS */;
/*!40000 ALTER TABLE `tblfileassetsettings` ENABLE KEYS */;
/*!40103 SET TIME_ZONE=@OLD_TIME_ZONE */;

/*!40101 SET SQL_MODE=@OLD_SQL_MODE */;
/*!40014 SET FOREIGN_KEY_CHECKS=@OLD_FOREIGN_KEY_CHECKS */;
/*!40111 SET SQL_NOTES=@OLD_SQL_NOTES */;

install/tblpaymentgateways_product_mapping.schema.sql000064400000002644147361027270017410 0ustar00/*!40103 SET @OLD_TIME_ZONE=@@TIME_ZONE */;
/*!40103 SET TIME_ZONE='+00:00' */;
/*!40014 SET @OLD_UNIQUE_CHECKS=@@UNIQUE_CHECKS, UNIQUE_CHECKS=0 */;
/*!40014 SET @OLD_FOREIGN_KEY_CHECKS=@@FOREIGN_KEY_CHECKS, FOREIGN_KEY_CHECKS=0 */;
/*!40101 SET @OLD_SQL_MODE=@@SQL_MODE, SQL_MODE='NO_AUTO_VALUE_ON_ZERO' */;
/*!40111 SET @OLD_SQL_NOTES=@@SQL_NOTES, SQL_NOTES=0 */;
DROP TABLE IF EXISTS `tblpaymentgateways_product_mapping`;
/*!40101 SET @saved_cs_client     = @@character_set_client */;
/*!40101 SET character_set_client = utf8 */;
CREATE TABLE `tblpaymentgateways_product_mapping` (
  `id` int(10) unsigned NOT NULL AUTO_INCREMENT,
  `gateway` varchar(255) COLLATE utf8_unicode_ci NOT NULL DEFAULT '',
  `account_identifier` varchar(255) COLLATE utf8_unicode_ci NOT NULL DEFAULT '',
  `product_identifier` varchar(255) COLLATE utf8_unicode_ci NOT NULL DEFAULT '',
  `remote_identifier` varchar(255) COLLATE utf8_unicode_ci NOT NULL DEFAULT '',
  `created_at` timestamp NULL DEFAULT '0000-00-00 00:00:00',
  `updated_at` timestamp NULL DEFAULT '0000-00-00 00:00:00',
  PRIMARY KEY (`id`)
) ENGINE=InnoDB DEFAULT CHARSET=utf8 COLLATE=utf8_unicode_ci;
/*!40101 SET character_set_client = @saved_cs_client */;
/*!40103 SET TIME_ZONE=@OLD_TIME_ZONE */;

/*!40101 SET SQL_MODE=@OLD_SQL_MODE */;
/*!40014 SET FOREIGN_KEY_CHECKS=@OLD_FOREIGN_KEY_CHECKS */;
/*!40014 SET UNIQUE_CHECKS=@OLD_UNIQUE_CHECKS */;
/*!40111 SET SQL_NOTES=@OLD_SQL_NOTES */;

install/tblticketstatuses.data.sql000064400000001510147361027270013432 0ustar00/*!40103 SET @OLD_TIME_ZONE=@@TIME_ZONE */;
/*!40103 SET TIME_ZONE='+00:00' */;
/*!40014 SET @OLD_FOREIGN_KEY_CHECKS=@@FOREIGN_KEY_CHECKS, FOREIGN_KEY_CHECKS=0 */;
/*!40101 SET @OLD_SQL_MODE=@@SQL_MODE, SQL_MODE='NO_AUTO_VALUE_ON_ZERO' */;
/*!40111 SET @OLD_SQL_NOTES=@@SQL_NOTES, SQL_NOTES=0 */;

/*!40000 ALTER TABLE `tblticketstatuses` DISABLE KEYS */;
INSERT INTO `tblticketstatuses` VALUES (1,'Open','#779500',1,1,1,0),(2,'Answered','#000000',2,1,0,1),(3,'Customer-Reply','#ff6600',3,1,1,1),(4,'Closed','#888888',10,0,0,0),(5,'On Hold','#224488',5,1,0,0),(6,'In Progress','#cc0000',6,1,0,0);
/*!40000 ALTER TABLE `tblticketstatuses` ENABLE KEYS */;
/*!40103 SET TIME_ZONE=@OLD_TIME_ZONE */;

/*!40101 SET SQL_MODE=@OLD_SQL_MODE */;
/*!40014 SET FOREIGN_KEY_CHECKS=@OLD_FOREIGN_KEY_CHECKS */;
/*!40111 SET SQL_NOTES=@OLD_SQL_NOTES */;

install/tblhosting.schema.sql000064400000005657147361027270012375 0ustar00/*!40103 SET @OLD_TIME_ZONE=@@TIME_ZONE */;
/*!40103 SET TIME_ZONE='+00:00' */;
/*!40014 SET @OLD_UNIQUE_CHECKS=@@UNIQUE_CHECKS, UNIQUE_CHECKS=0 */;
/*!40014 SET @OLD_FOREIGN_KEY_CHECKS=@@FOREIGN_KEY_CHECKS, FOREIGN_KEY_CHECKS=0 */;
/*!40101 SET @OLD_SQL_MODE=@@SQL_MODE, SQL_MODE='NO_AUTO_VALUE_ON_ZERO' */;
/*!40111 SET @OLD_SQL_NOTES=@@SQL_NOTES, SQL_NOTES=0 */;
DROP TABLE IF EXISTS `tblhosting`;
/*!40101 SET @saved_cs_client     = @@character_set_client */;
/*!40101 SET character_set_client = utf8 */;
CREATE TABLE `tblhosting` (
  `id` int(10) NOT NULL AUTO_INCREMENT,
  `userid` int(10) NOT NULL,
  `orderid` int(10) NOT NULL,
  `packageid` int(10) NOT NULL,
  `server` int(10) NOT NULL,
  `regdate` date NOT NULL,
  `domain` text COLLATE utf8_unicode_ci NOT NULL,
  `paymentmethod` text COLLATE utf8_unicode_ci NOT NULL,
  `qty` int unsigned NOT NULL DEFAULT '1',
  `firstpaymentamount` decimal(16,2) NOT NULL DEFAULT '0.00',
  `amount` decimal(16,2) NOT NULL DEFAULT '0.00',
  `billingcycle` text COLLATE utf8_unicode_ci NOT NULL,
  `nextduedate` date DEFAULT NULL,
  `nextinvoicedate` date NOT NULL,
  `termination_date` date NOT NULL DEFAULT '0000-00-00',
  `completed_date` date NOT NULL DEFAULT '0000-00-00',
  `domainstatus` enum('Pending','Active','Suspended','Terminated','Cancelled','Fraud','Completed') COLLATE utf8_unicode_ci NOT NULL DEFAULT 'Pending',
  `username` text COLLATE utf8_unicode_ci NOT NULL,
  `password` text COLLATE utf8_unicode_ci NOT NULL,
  `notes` text COLLATE utf8_unicode_ci NOT NULL,
  `subscriptionid` text COLLATE utf8_unicode_ci NOT NULL,
  `promoid` int(10) NOT NULL,
  `promocount` int(10) NULL DEFAULT '0',
  `suspendreason` text COLLATE utf8_unicode_ci NOT NULL,
  `overideautosuspend` tinyint(1) NOT NULL,
  `overidesuspenduntil` date NOT NULL,
  `dedicatedip` text COLLATE utf8_unicode_ci NOT NULL,
  `assignedips` text COLLATE utf8_unicode_ci NOT NULL,
  `ns1` text COLLATE utf8_unicode_ci NOT NULL,
  `ns2` text COLLATE utf8_unicode_ci NOT NULL,
  `diskusage` int(10) NOT NULL DEFAULT '0',
  `disklimit` int(10) NOT NULL DEFAULT '0',
  `bwusage` int(10) NOT NULL DEFAULT '0',
  `bwlimit` int(10) NOT NULL DEFAULT '0',
  `lastupdate` datetime NOT NULL DEFAULT '0000-00-00 00:00:00',
  `created_at` timestamp NOT NULL DEFAULT '0000-00-00 00:00:00',
  `updated_at` timestamp NOT NULL DEFAULT '0000-00-00 00:00:00',
  PRIMARY KEY (`id`),
  KEY `serviceid` (`id`),
  KEY `userid` (`userid`),
  KEY `orderid` (`orderid`),
  KEY `productid` (`packageid`),
  KEY `serverid` (`server`),
  KEY `domain` (`domain`(64)),
  KEY `domainstatus` (`domainstatus`),
  KEY `username` (`username`(8))
) ENGINE=InnoDB DEFAULT CHARSET=utf8 COLLATE=utf8_unicode_ci;
/*!40101 SET character_set_client = @saved_cs_client */;
/*!40103 SET TIME_ZONE=@OLD_TIME_ZONE */;

/*!40101 SET SQL_MODE=@OLD_SQL_MODE */;
/*!40014 SET FOREIGN_KEY_CHECKS=@OLD_FOREIGN_KEY_CHECKS */;
/*!40014 SET UNIQUE_CHECKS=@OLD_UNIQUE_CHECKS */;
/*!40111 SET SQL_NOTES=@OLD_SQL_NOTES */;

install/tblproduct_recommendations.data.sql000064400000001151147361027270015303 0ustar00/*!40103 SET @OLD_TIME_ZONE=@@TIME_ZONE */;
/*!40103 SET TIME_ZONE='+00:00' */;
/*!40014 SET @OLD_FOREIGN_KEY_CHECKS=@@FOREIGN_KEY_CHECKS, FOREIGN_KEY_CHECKS=0 */;
/*!40101 SET @OLD_SQL_MODE=@@SQL_MODE, SQL_MODE='NO_AUTO_VALUE_ON_ZERO' */;
/*!40111 SET @OLD_SQL_NOTES=@@SQL_NOTES, SQL_NOTES=0 */;

/*!40000 ALTER TABLE `tblproduct_recommendations` DISABLE KEYS */;
/*!40000 ALTER TABLE `tblproduct_recommendations` ENABLE KEYS */;
/*!40103 SET TIME_ZONE=@OLD_TIME_ZONE */;

/*!40101 SET SQL_MODE=@OLD_SQL_MODE */;
/*!40014 SET FOREIGN_KEY_CHECKS=@OLD_FOREIGN_KEY_CHECKS */;
/*!40111 SET SQL_NOTES=@OLD_SQL_NOTES */;

install/tblaccounts.schema.sql000064400000003113147361027270012522 0ustar00/*!40103 SET @OLD_TIME_ZONE=@@TIME_ZONE */;
/*!40103 SET TIME_ZONE='+00:00' */;
/*!40014 SET @OLD_UNIQUE_CHECKS=@@UNIQUE_CHECKS, UNIQUE_CHECKS=0 */;
/*!40014 SET @OLD_FOREIGN_KEY_CHECKS=@@FOREIGN_KEY_CHECKS, FOREIGN_KEY_CHECKS=0 */;
/*!40101 SET @OLD_SQL_MODE=@@SQL_MODE, SQL_MODE='NO_AUTO_VALUE_ON_ZERO' */;
/*!40111 SET @OLD_SQL_NOTES=@@SQL_NOTES, SQL_NOTES=0 */;
DROP TABLE IF EXISTS `tblaccounts`;
/*!40101 SET @saved_cs_client     = @@character_set_client */;
/*!40101 SET character_set_client = utf8 */;
CREATE TABLE `tblaccounts` (
  `id` int(10) NOT NULL AUTO_INCREMENT,
  `userid` int(10) NOT NULL,
  `currency` int(10) NOT NULL,
  `gateway` text COLLATE utf8_unicode_ci NOT NULL,
  `date` datetime DEFAULT NULL,
  `description` text COLLATE utf8_unicode_ci NOT NULL,
  `amountin` decimal(16,2) NOT NULL DEFAULT '0.00',
  `fees` decimal(16,2) NOT NULL DEFAULT '0.00',
  `amountout` decimal(16,2) NOT NULL DEFAULT '0.00',
  `rate` decimal(16,5) NOT NULL DEFAULT '1.00000',
  `transid` text COLLATE utf8_unicode_ci NOT NULL,
  `invoiceid` int(10) NOT NULL DEFAULT '0',
  `refundid` int(10) NOT NULL DEFAULT '0',
  PRIMARY KEY (`id`),
  KEY `invoiceid` (`invoiceid`),
  KEY `userid` (`userid`),
  KEY `date` (`date`),
  KEY `transid` (`transid`(32))
) ENGINE=InnoDB DEFAULT CHARSET=utf8 COLLATE=utf8_unicode_ci;
/*!40101 SET character_set_client = @saved_cs_client */;
/*!40103 SET TIME_ZONE=@OLD_TIME_ZONE */;

/*!40101 SET SQL_MODE=@OLD_SQL_MODE */;
/*!40014 SET FOREIGN_KEY_CHECKS=@OLD_FOREIGN_KEY_CHECKS */;
/*!40014 SET UNIQUE_CHECKS=@OLD_UNIQUE_CHECKS */;
/*!40111 SET SQL_NOTES=@OLD_SQL_NOTES */;

install/tblcreditcards.schema.sql000064400000002766147361027270013207 0ustar00/*!40103 SET @OLD_TIME_ZONE=@@TIME_ZONE */;
/*!40103 SET TIME_ZONE='+00:00' */;
/*!40014 SET @OLD_UNIQUE_CHECKS=@@UNIQUE_CHECKS, UNIQUE_CHECKS=0 */;
/*!40014 SET @OLD_FOREIGN_KEY_CHECKS=@@FOREIGN_KEY_CHECKS, FOREIGN_KEY_CHECKS=0 */;
/*!40101 SET @OLD_SQL_MODE=@@SQL_MODE, SQL_MODE='NO_AUTO_VALUE_ON_ZERO' */;
/*!40111 SET @OLD_SQL_NOTES=@@SQL_NOTES, SQL_NOTES=0 */;
DROP TABLE IF EXISTS `tblcreditcards`;
/*!40101 SET @saved_cs_client     = @@character_set_client */;
/*!40101 SET character_set_client = utf8 */;
CREATE TABLE `tblcreditcards` (
  `id` int(10) unsigned NOT NULL AUTO_INCREMENT,
  `pay_method_id` int(11) NOT NULL DEFAULT '0',
  `card_type` varchar(255) COLLATE utf8_unicode_ci NOT NULL DEFAULT '',
  `last_four` varchar(255) COLLATE utf8_unicode_ci NOT NULL DEFAULT '',
  `expiry_date` datetime NOT NULL DEFAULT '0000-00-00 00:00:00',
  `card_data` blob NOT NULL,
  `created_at` timestamp NOT NULL DEFAULT '0000-00-00 00:00:00',
  `updated_at` timestamp NOT NULL DEFAULT '0000-00-00 00:00:00',
  `deleted_at` timestamp NULL,
  PRIMARY KEY (`id`),
  KEY `tblcreditcards_pay_method_id` (`pay_method_id`),
  INDEX `tblcreditcards_last_four` (`last_four`(4))
) ENGINE=InnoDB DEFAULT CHARSET=utf8 COLLATE=utf8_unicode_ci;
/*!40101 SET character_set_client = @saved_cs_client */;
/*!40103 SET TIME_ZONE=@OLD_TIME_ZONE */;

/*!40101 SET SQL_MODE=@OLD_SQL_MODE */;
/*!40014 SET FOREIGN_KEY_CHECKS=@OLD_FOREIGN_KEY_CHECKS */;
/*!40014 SET UNIQUE_CHECKS=@OLD_UNIQUE_CHECKS */;
/*!40111 SET SQL_NOTES=@OLD_SQL_NOTES */;

install/tblhostingaddons.data.sql000064400000001125147361027270013221 0ustar00/*!40103 SET @OLD_TIME_ZONE=@@TIME_ZONE */;
/*!40103 SET TIME_ZONE='+00:00' */;
/*!40014 SET @OLD_FOREIGN_KEY_CHECKS=@@FOREIGN_KEY_CHECKS, FOREIGN_KEY_CHECKS=0 */;
/*!40101 SET @OLD_SQL_MODE=@@SQL_MODE, SQL_MODE='NO_AUTO_VALUE_ON_ZERO' */;
/*!40111 SET @OLD_SQL_NOTES=@@SQL_NOTES, SQL_NOTES=0 */;

/*!40000 ALTER TABLE `tblhostingaddons` DISABLE KEYS */;
/*!40000 ALTER TABLE `tblhostingaddons` ENABLE KEYS */;
/*!40103 SET TIME_ZONE=@OLD_TIME_ZONE */;

/*!40101 SET SQL_MODE=@OLD_SQL_MODE */;
/*!40014 SET FOREIGN_KEY_CHECKS=@OLD_FOREIGN_KEY_CHECKS */;
/*!40111 SET SQL_NOTES=@OLD_SQL_NOTES */;

install/tblhosting.data.sql000064400000001111147361027270012023 0ustar00/*!40103 SET @OLD_TIME_ZONE=@@TIME_ZONE */;
/*!40103 SET TIME_ZONE='+00:00' */;
/*!40014 SET @OLD_FOREIGN_KEY_CHECKS=@@FOREIGN_KEY_CHECKS, FOREIGN_KEY_CHECKS=0 */;
/*!40101 SET @OLD_SQL_MODE=@@SQL_MODE, SQL_MODE='NO_AUTO_VALUE_ON_ZERO' */;
/*!40111 SET @OLD_SQL_NOTES=@@SQL_NOTES, SQL_NOTES=0 */;

/*!40000 ALTER TABLE `tblhosting` DISABLE KEYS */;
/*!40000 ALTER TABLE `tblhosting` ENABLE KEYS */;
/*!40103 SET TIME_ZONE=@OLD_TIME_ZONE */;

/*!40101 SET SQL_MODE=@OLD_SQL_MODE */;
/*!40014 SET FOREIGN_KEY_CHECKS=@OLD_FOREIGN_KEY_CHECKS */;
/*!40111 SET SQL_NOTES=@OLD_SQL_NOTES */;

install/tbladminsecurityquestions.schema.sql000064400000002226147361027270015542 0ustar00/*!40103 SET @OLD_TIME_ZONE=@@TIME_ZONE */;
/*!40103 SET TIME_ZONE='+00:00' */;
/*!40014 SET @OLD_UNIQUE_CHECKS=@@UNIQUE_CHECKS, UNIQUE_CHECKS=0 */;
/*!40014 SET @OLD_FOREIGN_KEY_CHECKS=@@FOREIGN_KEY_CHECKS, FOREIGN_KEY_CHECKS=0 */;
/*!40101 SET @OLD_SQL_MODE=@@SQL_MODE, SQL_MODE='NO_AUTO_VALUE_ON_ZERO' */;
/*!40111 SET @OLD_SQL_NOTES=@@SQL_NOTES, SQL_NOTES=0 */;
DROP TABLE IF EXISTS `tbladminsecurityquestions`;
/*!40101 SET @saved_cs_client     = @@character_set_client */;
/*!40101 SET character_set_client = utf8 */;
CREATE TABLE `tbladminsecurityquestions` (
  `id` int(10) unsigned NOT NULL AUTO_INCREMENT,
  `question` text COLLATE utf8_unicode_ci NOT NULL,
  `created_at` timestamp NOT NULL DEFAULT '0000-00-00 00:00:00',
  `updated_at` timestamp NOT NULL DEFAULT '0000-00-00 00:00:00',
  PRIMARY KEY (`id`)
) ENGINE=InnoDB DEFAULT CHARSET=utf8 COLLATE=utf8_unicode_ci;
/*!40101 SET character_set_client = @saved_cs_client */;
/*!40103 SET TIME_ZONE=@OLD_TIME_ZONE */;

/*!40101 SET SQL_MODE=@OLD_SQL_MODE */;
/*!40014 SET FOREIGN_KEY_CHECKS=@OLD_FOREIGN_KEY_CHECKS */;
/*!40014 SET UNIQUE_CHECKS=@OLD_UNIQUE_CHECKS */;
/*!40111 SET SQL_NOTES=@OLD_SQL_NOTES */;

install/tblconfiguration.data.sql000064400000105124147361027270013230 0ustar00/*!40103 SET @OLD_TIME_ZONE=@@TIME_ZONE */;
/*!40103 SET TIME_ZONE='+00:00' */;
/*!40014 SET @OLD_FOREIGN_KEY_CHECKS=@@FOREIGN_KEY_CHECKS, FOREIGN_KEY_CHECKS=0 */;
/*!40101 SET @OLD_SQL_MODE=@@SQL_MODE, SQL_MODE='NO_AUTO_VALUE_ON_ZERO' */;
/*!40111 SET @OLD_SQL_NOTES=@@SQL_NOTES, SQL_NOTES=0 */;

/*!40000 ALTER TABLE `tblconfiguration` DISABLE KEYS */;
INSERT INTO `tblconfiguration` VALUES (1,'Language','english','0000-00-00 00:00:00','0000-00-00 00:00:00'),
(2,'CompanyName','Company Name','0000-00-00 00:00:00','0000-00-00 00:00:00'),
(3,'Email','changeme@example.com','0000-00-00 00:00:00','0000-00-00 00:00:00'),
(4,'Domain','http://www.yourdomain.com/','0000-00-00 00:00:00','0000-00-00 00:00:00'),
(5,'LogoURL','','0000-00-00 00:00:00','0000-00-00 00:00:00'),
(6,'AutoSuspension','on','0000-00-00 00:00:00','0000-00-00 00:00:00'),
(7,'AutoSuspensionDays','5','0000-00-00 00:00:00','0000-00-00 00:00:00'),
(8,'CreateInvoiceDaysBefore','14','0000-00-00 00:00:00','0000-00-00 00:00:00'),
(9,'AffiliateEnabled','','0000-00-00 00:00:00','0000-00-00 00:00:00'),
(10,'AffiliateEarningPercent','0','0000-00-00 00:00:00','0000-00-00 00:00:00'),
(11,'AffiliateBonusDeposit','0.00','0000-00-00 00:00:00','0000-00-00 00:00:00'),
(12,'AffiliatePayout','25.00','0000-00-00 00:00:00','2018-04-18 10:21:37'),
(13,'AffiliateLinks','','0000-00-00 00:00:00','0000-00-00 00:00:00'),
(14,'ActivityLimit','10000','0000-00-00 00:00:00','0000-00-00 00:00:00'),
(15,'DateFormat','DD/MM/YYYY','0000-00-00 00:00:00','0000-00-00 00:00:00'),
(16,'PreSalesQuestions','on','0000-00-00 00:00:00','0000-00-00 00:00:00'),
(17,'Template','twenty-one','0000-00-00 00:00:00','0000-00-00 00:00:00'),
(18,'AllowRegister','on','0000-00-00 00:00:00','0000-00-00 00:00:00'),
(19,'AllowTransfer','on','0000-00-00 00:00:00','0000-00-00 00:00:00'),
(20,'AllowOwnDomain','on','0000-00-00 00:00:00','0000-00-00 00:00:00'),
(21,'EnableTOSAccept','','0000-00-00 00:00:00','0000-00-00 00:00:00'),
(22,'TermsOfService','','0000-00-00 00:00:00','0000-00-00 00:00:00'),
(23,'AllowLanguageChange','on','0000-00-00 00:00:00','0000-00-00 00:00:00'),
(24,'CutUtf8Mb4','on','0000-00-00 00:00:00','0000-00-00 00:00:00'),
(25,'AllowCustomerChangeInvoiceGateway','on','0000-00-00 00:00:00','0000-00-00 00:00:00'),
(26,'DefaultNameserver1','ns1.example.com','0000-00-00 00:00:00','0000-00-00 00:00:00'),
(27,'DefaultNameserver2','ns2.example.com','0000-00-00 00:00:00','0000-00-00 00:00:00'),
(28,'SendInvoiceReminderDays','7','0000-00-00 00:00:00','0000-00-00 00:00:00'),
(29,'SendReminder','on','0000-00-00 00:00:00','0000-00-00 00:00:00'),
(30,'NumRecordstoDisplay','50','0000-00-00 00:00:00','0000-00-00 00:00:00'),
(31,'BCCMessages','','0000-00-00 00:00:00','0000-00-00 00:00:00'),
(32,'MailType','mail','0000-00-00 00:00:00','0000-00-00 00:00:00'),
(33,'SMTPHost','','0000-00-00 00:00:00','0000-00-00 00:00:00'),
(34,'SMTPUsername','','0000-00-00 00:00:00','0000-00-00 00:00:00'),
(35,'SMTPPassword','zAUN4WdG8mWRlZCQZwk2Z2ippXU=','0000-00-00 00:00:00','0000-00-00 00:00:00'),
(36,'SMTPPort','25','0000-00-00 00:00:00','0000-00-00 00:00:00'),
(37,'ShowCancellationButton','on','0000-00-00 00:00:00','0000-00-00 00:00:00'),
(38,'UpdateStatsAuto','on','0000-00-00 00:00:00','0000-00-00 00:00:00'),
(39,'InvoicePayTo','Address goes here...','0000-00-00 00:00:00','0000-00-00 00:00:00'),
(40,'SendAffiliateReportMonthly','on','0000-00-00 00:00:00','0000-00-00 00:00:00'),
(41,'InvalidLoginBanLength','15','0000-00-00 00:00:00','0000-00-00 00:00:00'),
(42,'Signature','Signature goes here...','0000-00-00 00:00:00','0000-00-00 00:00:00'),
(43,'DomainOnlyOrderEnabled','on','0000-00-00 00:00:00','0000-00-00 00:00:00'),
(44,'TicketBannedAddresses','','0000-00-00 00:00:00','0000-00-00 00:00:00'),
(45,'SendEmailNotificationonUserDetailsChange','on','0000-00-00 00:00:00','0000-00-00 00:00:00'),
(46,'TicketAllowedFileTypes','.jpg,.gif,.jpeg,.png,.txt,.pdf','0000-00-00 00:00:00','0000-00-00 00:00:00'),
(47,'CloseInactiveTickets','0','0000-00-00 00:00:00','0000-00-00 00:00:00'),
(48,'InvoiceLateFeeAmount','10.00','0000-00-00 00:00:00','0000-00-00 00:00:00'),
(49,'AutoTermination','','0000-00-00 00:00:00','0000-00-00 00:00:00'),
(50,'AutoTerminationDays','30','0000-00-00 00:00:00','0000-00-00 00:00:00'),
(51,'RegistrarAdminFirstName','','0000-00-00 00:00:00','0000-00-00 00:00:00'),
(52,'RegistrarAdminLastName','','0000-00-00 00:00:00','0000-00-00 00:00:00'),
(53,'RegistrarAdminCompanyName','','0000-00-00 00:00:00','0000-00-00 00:00:00'),
(54,'RegistrarAdminAddress1','','0000-00-00 00:00:00','0000-00-00 00:00:00'),
(55,'RegistrarAdminAddress2','','0000-00-00 00:00:00','0000-00-00 00:00:00'),
(56,'RegistrarAdminCity','','0000-00-00 00:00:00','0000-00-00 00:00:00'),
(57,'RegistrarAdminStateProvince','','0000-00-00 00:00:00','0000-00-00 00:00:00'),
(58,'RegistrarAdminCountry','US','0000-00-00 00:00:00','0000-00-00 00:00:00'),
(59,'RegistrarAdminPostalCode','','0000-00-00 00:00:00','0000-00-00 00:00:00'),
(60,'RegistrarAdminPhone','','0000-00-00 00:00:00','0000-00-00 00:00:00'),
(61,'RegistrarAdminFax','','0000-00-00 00:00:00','0000-00-00 00:00:00'),
(62,'RegistrarAdminEmailAddress','','0000-00-00 00:00:00','0000-00-00 00:00:00'),
(63,'RegistrarAdminUseClientDetails','on','0000-00-00 00:00:00','0000-00-00 00:00:00'),
(64,'Charset','utf-8','0000-00-00 00:00:00','0000-00-00 00:00:00'),
(65,'AutoUnsuspend','on','0000-00-00 00:00:00','0000-00-00 00:00:00'),
(66,'RunScriptonCheckOut','','0000-00-00 00:00:00','0000-00-00 00:00:00'),
(67,'License','MjMzMmU1YWFmM2E5YzA4YWM0YjM1YjIzZGZlNWZhYzkyNzdlYTM5ZDRWbWJpd2lJdTlHWmtGRUkwNVda\ndFYyWmg1V1lOQkNkalZtYXZKSFVpb2pJbDFXWXVKeWVicGpJejUyYmtSV1lpd1NmaU1YWlpKaU9pTVhl\nbHRVYWlWWFdpd2lJelZXV2lvaklRUjFUVUpDTDFvakk1UlhheVYzWWxORkl2VkhSaXNuT2lNbmJ2bEdk\ndzkyWnBabWJ2Tm1Jc0lDTXdvVE53MENNd29ETXdvRE13UTFNeTBTTncwQ094QWpNaW9qSWxSWFlrbEhk\ncFJHYmhaWFowRkdad1ZuSXNVMmNzRm1aNkl5Y2xSWFlrQlhkelZtY3BWWGNsSm5Jc0lDWndFR09obERP\nbU5UTm1aell5UXpOaFZXTXkwQ2JoNW1jbFJuYkpKaU9pa1hackpDTGlVbWRwUjNZQkppT2lNWGQwRkdk\nekpDTGlVR2RoNTJMY3hXYjBoMlhqbEdiaVZIY3Z3bGJvUlhkaDlDWGwxMmJvOUNYc2tIZHlGMkxjeFdi\nMGgyWGpsR2JpVkhjdndsYm9SWGRoOUNYbDEyYm85Q1hzTTNZdGgyZHZ3RlpsUjJiajVXWnpOV2JvZDNM\nY1JYYW45Q1h5VldlbDFXYWw1R1pwWlhZazlDWHpKWFp6VjFMY3h5Y2oxR2EzOUNYczFHZG85MVlweG1Z\nMUIzTGNWR2RoNTJMY1ZXYnZoMkxjeHlNdTlXYTBGMllweEdjd0YwTGNSWGFuOUNYeVZXZWwxV2FsNUda\ncFpYWWs5Q1h6SlhaelYxTGN4eWNqMUdhMzlDWHMxR2RvOTFZcHhtWTFCM0xjRjJjek5XYm9kM0xjVldi\ndmgyTGN4eWNqMUdhMzlDWHMxR2RvOTFZcHhtWTFCM0xjVlhZek5XYm9kM0xjVldidmgyTGN4eWNqMUdh\nMzlDWHMxR2RvOTFZcHhtWTFCM0xjTlhaa0ZtY25CWGQ2Qm5lbDlDWGwxMmJvOUNYc00zWXRoMmR2d0Zi\ndFJIYXZ3VmJ2Tm1MeVZtZHlWMmNrbG1jbjV5TnlVVE54SXpjdncxY3VsV1l0OUdadncxTnlVVE54SXpM\nY1JuYnQ5Q1h5QURhdndsTXhNMkxjTm5adTlDWHNNM1l0aDJkdndWYnZObUwwTlhaMDFDYWsxeWNqMUdh\nMzlDWHhGV2VyVkdkZmhHWnZ3Vlp0OUdhdndGTDBWbWJ1d1dadUZHY2o1eVp1bEdkelZHZHVjM2QzNXlj\najFHYTM5Q1gzZDNkdndsY2haM0xjeHljajFHYTM5Q1hzMUdkbzkxWXB4bVkxQjNMY0ZXY3pOV2JvZDNM\nY1ZXYnZoMkxjeHljajFHYTM5Q1hzMUdkbzlDWDNkM2R2d2xjaFozTGNKaU9pTW5jcFJHWnB4V1kySkNM\nZHRsT2lNSFpzVldhbTEyYjBOWGRqSkNMaUlpT2lNSGNwUldhc0ZtZGl3aUl0OTJZdVEzY2xSM2NqMUdh\nMzVpYm9SWGRoeENkejlHYXNGMll2eG1Ma1ZHWnZObWJsTjNZdGgyZHMwMmJqNUNkelZHZHpOV2JvZG5M\nbFJYWXV4U051WVROdWdqTng0aU01RURMME4zYm94V1lqOUdidU16Y2oxR2EzeFNidk5tTGxObWJoWkha\naFJuWnZObkx6Tldib2RITHlBak11QWpNeDRDTjM0Q093SURMdDkyWXVJWFowRkdad1YzYjBWWFl6Tldi\nb2RITHQ5Mll1TVhaa0ZtY25CWGR0b0hjNlZXTHpOV2JvZFhMbjVXYTBOWFoweFNidk5tTHlWbWR5VjJj\na2xtY241eU55VVROeEl6Y3MwMmJqNUNkelZHZHRnR1p0TTNZdGgyZHNZWFprOTFjajFHYTN4Q2RsNW1M\nc1ZtYmhCM1l1Y21icFIzY2xSbkwzZDNkdU0zWXRoMmRzMDJiajV5Y2oxR2EzNVNZeDV5WnVsR2R6Vkdk\nc2dUTXVRakx3QVRNdUFUTXNZWFprOWxjbHQyWXZSR0x0OTJZdU0zWXRoMmR1ZzNiaVpYWms1U2UwSlhZ\ndXdXWWo5R2JzUTNjdmhHYmhOMmJzeGlkbFIyY2oxR2EzNXlkM2RITDJWR1p6Tldib2RITDBOWFowNXlj\najFHYTM1eWQzZEhMME5YWjA1eWNqMUdhM0ppT2lNbmJwRldidlJHWnB4V1kySnllNjQ3NDc5YzhlZDFh\nNjAwNTU1NTJmZDBjZTgxMzAzNGUxNGNhNGRjZDlKeU15MENOdzBDT3hBak1pb2pJbFJYWWt0MllsaDJZ\naXdpSWlGR09tWlRZNWNUWmpWVFp6TVRONFltWjJRVFk1UURabVZ6TjFValkySXpObEYyWXdnRE4ySWlP\naWcyY2hobUlzSWlJNklDZGxKM1lsTlZaejVXWmpsR1Rpd2lJbFJXWXlkR2MxOUNYME5XWnlsR1psSjNM\nYzEyYmo1eWNqMUdhMzV5ZDNkM0xjOUNYNk1IYzBSSGFpb2pJc0pYVmxSV1l5ZEdjVlJYYXRsR1QwNVda\ncHgyUWl3aUlsSjNidDFpYnlGV1pzOUNYbFJXWXlkR2MxOUNYME5XWnlsR1psSjNMYzEyYmo1eWNqMUdh\nMzV5ZDNkM0xjOUNYNk1IYzBSSGFpb2pJc0pYVmxKM2JONW1jaFZHVDBsV2JweEVkdVZXYXNOa0lzVVdk\neVJuT2lRV1pzSldZdVZVWmtGbWNuQlhWdlJYZEJSWGF0bEdUMDVXWnB4MlFpd0NNMUlqT2lRWGF0bEdU\nMDVXWnB4MlFpd1NaenhXWW1waklrVkdiaUZtYkZOSGRwMVdhTVJuYmxsR2JESkNMaUlpT2lJWFpzeFda\nelZtY2l3U1oxSkhkNkl5Y3pWMllqRkdkeTlHY3dWM2Npd2lJeDR5WXkxQ011VWpMM0lpT2k0MmJwTm5j\nbFpYWnpGV1pzVm1jbEpIYzBOWFowRkdiaXdpSXg0U1p6Rldac1ZtY3RFakwxNHlOaW9qSXU5V2F6Slha\nMk5XYXNKV2R3UjNjbFJYWXNKQ0xpSWlPaVVHZGhSV1oxUkdkNFZtYml3aUkwNVdkdk4yWUJCU1psSm5S\naW9qSWx4Mlk1TjJadWxHYnNsbVlpd2lJMUVUTDVBVEwxRURNeUlpT2lVR2RoUjJabEpuSXNJU1p6NVda\namxHVGd3V1l1SlhaMDVXU2lvaklsMVdZdVIzWTFSMmJ5Qm5Jc0lDWmxSWGF0bEdUZ00xUU5oMFZpb2pJ\nbDFXWXVSV1p5VkdkemwyWmxKbklzVTJjc0ZtWjZJQ2JoWjNidFZtVW41V2FrNVdZeUprSXMwVmZpVW1k\ncFIzWUJKaU9pTVhkMEZHZHpKQ0xpQURNdEFETXRBRE13QWpJNklTWjBGR1psVkhaMGhYWnVKQ0xpNDJi\na1JXUWdRV1p1ZDNUZ1FYWW9ORUlsWlhhTUppT2lVV2JoNW1JN3hTZmlRV1pzeFdaajVXWURKaU9pTVhk\nMEZHZHpKQ0xpQURNdEFETXRBRE13QWpJNklTWjBGR1psVkhaMGhYWnVKQ0xpd1dZMjlXYmxKRkluNVdh\nazVXWXlKa0k2SVNadEZtYmlzSEw5SlNaMmxHZGpGa0k2SXljMVJYWTBObklzSUNNdzBDTXcwQ013QURN\naW9qSWxSWFlrVldka1JIZWw1bUlzSXljMzlHWnVsMlZnSTNibUJ5VUQxRVNYSmlPaVVXYmg1bUk3eFNm\naVVtZHBSM1lCSmlPaU1YZDBGR2R6SkNMaUFETXRBRE10QURNd0FqSTZJU1owRkdabFZIWjBoWFp1SkNM\naUFIY0JCQ1pwOW1jazVXUWlvaklsMVdZdUp5ZXMwbklrVkdadVZHY3pWM1Vpb2pJelZIZGhSM2Npd2lJ\nd0FUTHdBVEx3QURNd0lpT2lVR2RoUldaMVJHZDRWbWJpd2lJd0JYUWdVbWJ2aEdVcEppT2lVV2JoNW1J\nN3hTZmlVbWRwUjNZQkppT2lNWGQwRkdkekpDTGlBRE10QURNdEFETXdBakk2SVNaMEZHWmxWSFowaFha\ndUpDTGk0MmJrUldRZ2NtYnBObmJsTldhTUppT2lVV2JoNW1JN3hTZmlRV1owRm1icDFtY2xSbEk2SXlj\nMVJYWTBObklzSUNNdzBDTXcwQ013QURNaW9qSWxSWFlrVldka1JIZWw1bUlzSWlidlJHWkJCU2VzaEdk\ndTlXVGdRWFlvTkVJbFpYYU1KaU9pVVdiaDVtSTd4U2ZpVW1kcFIzWUJKaU9pTVhkMEZHZHpKQ0xpQURN\ndEFETXRBRE13QWpJNklTWjBGR1psVkhaMGhYWnVKQ0xpNDJia1JXUWdVMlpodDJZaEJGSWx4bVloSlhk\nbmxtWnU5MlFpb2pJbDFXWXVKeWVzMG5JbFpYYTBOV1Fpb2pJelZIZGhSM2Npd2lJd0FUTHdBVEx3QURN\nd0lpT2lVR2RoUldaMVJHZGRjMTE3YjA5YzY5MzgwYzFjOWY5OTRhODcyNjM1MDVhNTg5ZjNlMjQ=','0000-00-00 00:00:00','2018-04-23 17:19:29'),
(68,'OrderFormTemplate','standard_cart','0000-00-00 00:00:00','0000-00-00 00:00:00'),
(69,'AllowDomainsTwice','on','0000-00-00 00:00:00','0000-00-00 00:00:00'),
(70,'AddLateFeeDays','5','0000-00-00 00:00:00','0000-00-00 00:00:00'),
(71,'TaxEnabled','','0000-00-00 00:00:00','0000-00-00 00:00:00'),
(72,'DefaultCountry','US','0000-00-00 00:00:00','0000-00-00 00:00:00'),
(73,'AutoRedirectoInvoice','gateway','0000-00-00 00:00:00','0000-00-00 00:00:00'),
(74,'EnablePDFInvoices','on','0000-00-00 00:00:00','0000-00-00 00:00:00'),
(75,'CaptchaSetting','offloggedin','0000-00-00 00:00:00','0000-00-00 00:00:00'),
(76,'SupportTicketOrder','ASC','0000-00-00 00:00:00','0000-00-00 00:00:00'),
(77,'SendFirstOverdueInvoiceReminder','1','0000-00-00 00:00:00','0000-00-00 00:00:00'),
(78,'TaxType','Exclusive','0000-00-00 00:00:00','0000-00-00 00:00:00'),
(79,'DomainDNSManagement','5.00','0000-00-00 00:00:00','0000-00-00 00:00:00'),
(80,'DomainEmailForwarding','5.00','0000-00-00 00:00:00','0000-00-00 00:00:00'),
(81,'InvoiceIncrement','1','0000-00-00 00:00:00','0000-00-00 00:00:00'),
(82,'ContinuousInvoiceGeneration','','0000-00-00 00:00:00','0000-00-00 00:00:00'),
(83,'AutoCancellationRequests','on','0000-00-00 00:00:00','0000-00-00 00:00:00'),
(84,'SystemEmailsFromName','WHMCompleteSolution','0000-00-00 00:00:00','0000-00-00 00:00:00'),
(85,'SystemEmailsFromEmail','noreply@yourdomain.com','0000-00-00 00:00:00','0000-00-00 00:00:00'),
(86,'AllowClientRegister','on','0000-00-00 00:00:00','0000-00-00 00:00:00'),
(87,'BulkCheckTLDs','.com,.net','0000-00-00 00:00:00','0000-00-00 00:00:00'),
(88,'CreditOnDowngrade','on','0000-00-00 00:00:00','0000-00-00 00:00:00'),
(90,'TaxDomains','on','0000-00-00 00:00:00','0000-00-00 00:00:00'),
(91,'TaxLateFee','on','0000-00-00 00:00:00','0000-00-00 00:00:00'),
(92,'MarketingEmailConvert','on','0000-00-00 00:00:00','0000-00-00 00:00:00'),
(93,'ProductMonthlyPricingBreakdown','','0000-00-00 00:00:00','0000-00-00 00:00:00'),
(94,'LateFeeType','Percentage','0000-00-00 00:00:00','0000-00-00 00:00:00'),
(95,'SendSecondOverdueInvoiceReminder','0','0000-00-00 00:00:00','0000-00-00 00:00:00'),
(96,'SendThirdOverdueInvoiceReminder','0','0000-00-00 00:00:00','0000-00-00 00:00:00'),
(97,'DomainIDProtection','5.00','0000-00-00 00:00:00','0000-00-00 00:00:00'),
(98,'DomainRenewalNotices','30,7,-3,0,0','0000-00-00 00:00:00','0000-00-00 00:00:00'),
(99,'SequentialInvoiceNumbering','0','0000-00-00 00:00:00','0000-00-00 00:00:00'),
(100,'SequentialInvoiceNumberFormat','{NUMBER}','0000-00-00 00:00:00','0000-00-00 00:00:00'),
(101,'SequentialInvoiceNumberValue','1','0000-00-00 00:00:00','0000-00-00 00:00:00'),
(102,'DefaultNameserver3','','0000-00-00 00:00:00','0000-00-00 00:00:00'),
(103,'DefaultNameserver4','','0000-00-00 00:00:00','0000-00-00 00:00:00'),
(104,'AffiliatesDelayCommission','0','0000-00-00 00:00:00','0000-00-00 00:00:00'),
(105,'SupportModule','','0000-00-00 00:00:00','0000-00-00 00:00:00'),
(106,'AddFundsEnabled','','0000-00-00 00:00:00','0000-00-00 00:00:00'),
(107,'AddFundsMinimum','10','0000-00-00 00:00:00','0000-00-00 00:00:00'),
(108,'AddFundsMaximum','100','0000-00-00 00:00:00','0000-00-00 00:00:00'),
(109,'AddFundsMaximumBalance','300','0000-00-00 00:00:00','0000-00-00 00:00:00'),
(110,'CCProcessDaysBefore','0','0000-00-00 00:00:00','0000-00-00 00:00:00'),
(111,'CCAttemptOnlyOnce','','0000-00-00 00:00:00','0000-00-00 00:00:00'),
(112,'CCDaySendExpiryNotices','25','0000-00-00 00:00:00','0000-00-00 00:00:00'),
(113,'BulkDomainSearchEnabled','on','0000-00-00 00:00:00','0000-00-00 00:00:00'),
(114,'AutoRenewDomainsonPayment','on','0000-00-00 00:00:00','0000-00-00 00:00:00'),
(115,'DomainAutoRenewDefault','on','0000-00-00 00:00:00','0000-00-00 00:00:00'),
(116,'CCRetryEveryWeekFor','0','0000-00-00 00:00:00','0000-00-00 00:00:00'),
(117,'SupportTicketKBSuggestions','on','0000-00-00 00:00:00','0000-00-00 00:00:00'),
(118,'DailyEmailBackup','','0000-00-00 00:00:00','0000-00-00 00:00:00'),
(119,'FTPBackupHostname','','0000-00-00 00:00:00','0000-00-00 00:00:00'),
(120,'FTPBackupUsername','','0000-00-00 00:00:00','0000-00-00 00:00:00'),
(121,'FTPBackupPassword','','0000-00-00 00:00:00','0000-00-00 00:00:00'),
(122,'FTPBackupDestination','/','0000-00-00 00:00:00','0000-00-00 00:00:00'),
(123,'TaxL2Compound','','0000-00-00 00:00:00','0000-00-00 00:00:00'),
(124,'SEOFriendlyUrls','','0000-00-00 00:00:00','0000-00-00 00:00:00'),
(125,'ShowCCIssueStart','','0000-00-00 00:00:00','0000-00-00 00:00:00'),
(126,'TicketRatingEnabled','on','0000-00-00 00:00:00','0000-00-00 00:00:00'),
(127,'NetworkIssuesRequireLogin','on','0000-00-00 00:00:00','0000-00-00 00:00:00'),
(128,'ShowNotesFieldOnCheckout','on','0000-00-00 00:00:00','0000-00-00 00:00:00'),
(129,'RequireLoginforClientTickets','on','0000-00-00 00:00:00','0000-00-00 00:00:00'),
(130,'EmailCSS','.ExternalClass,.ExternalClass div,.ExternalClass font,.ExternalClass p,.ExternalClass span,.ExternalClass td,h1,img{line-height:100%}h1,h2{display:block;font-family:Helvetica;font-style:normal;font-weight:700}#outlook a{padding:0}.ExternalClass,.ReadMsgBody{width:100%}a,blockquote,body,li,p,table,td{-webkit-text-size-adjust:100%;-ms-text-size-adjust:100%}table,td{mso-table-lspace:0;mso-table-rspace:0}img{-ms-interpolation-mode:bicubic;border:0;height:auto;outline:0;text-decoration:none}table{border-collapse:collapse!important}#bodyCell,#bodyTable,body{height:100%!important;margin:0;padding:0;width:100%!important}#bodyCell{padding:20px;}#templateContainer{width:600px;border:1px solid #ddd;background-color:#fff}#bodyTable,body{background-color:#FAFAFA}h1{color:#202020!important;font-size:26px;letter-spacing:normal;text-align:left;margin:0 0 10px}h2{color:#404040!important;font-size:20px;line-height:100%;letter-spacing:normal;text-align:left;margin:0 0 10px}h3,h4{display:block;font-style:italic;font-weight:400;letter-spacing:normal;text-align:left;margin:0 0 10px;font-family:Helvetica;line-height:100%}h3{color:#606060!important;font-size:16px}h4{color:grey!important;font-size:14px}.headerContent{background-color:#f8f8f8;border-bottom:1px solid #ddd;color:#505050;font-family:Helvetica;font-size:20px;font-weight:700;line-height:100%;text-align:left;vertical-align:middle;padding:0}.bodyContent,.footerContent{font-family:Helvetica;line-height:150%;text-align:left;}.footerContent{text-align:center}.bodyContent pre{padding:15px;background-color:#444;color:#f8f8f8;border:0}.bodyContent pre code{white-space:pre;word-break:normal;word-wrap:normal}.bodyContent table{margin:10px 0;background-color:#fff;border:1px solid #ddd}.bodyContent table th{padding:4px 10px;background-color:#f8f8f8;border:1px solid #ddd;font-weight:700;text-align:center}.bodyContent table td{padding:3px 8px;border:1px solid #ddd}.table-responsive{border:0}.bodyContent a{word-break:break-all}.headerContent a .yshortcuts,.headerContent a:link,.headerContent a:visited{color:#1f5d8c;font-weight:400;text-decoration:underline}#headerImage{height:auto;max-width:600px;padding:20px}#templateBody{background-color:#fff}.bodyContent{color:#505050;font-size:14px;padding:20px}.bodyContent a .yshortcuts,.bodyContent a:link,.bodyContent a:visited{color:#1f5d8c;font-weight:400;text-decoration:underline}.bodyContent a:hover{text-decoration:none}.bodyContent img{display:inline;height:auto;max-width:560px}.footerContent{color:grey;font-size:12px;padding:20px}.footerContent a .yshortcuts,.footerContent a span,.footerContent a:link,.footerContent a:visited{color:#606060;font-weight:400;text-decoration:underline}@media only screen and (max-width:640px){h1,h2,h3,h4{line-height:100%!important}#templateContainer{max-width:600px!important;width:100%!important}#templateContainer,body{width:100%!important}a,blockquote,body,li,p,table,td{-webkit-text-size-adjust:none!important}body{min-width:100%!important}#bodyCell{padding:10px!important}h1{font-size:24px!important}h2{font-size:20px!important}h3{font-size:18px!important}h4{font-size:16px!important}#templatePreheader{display:none!important}.headerContent{font-size:20px!important;line-height:125%!important}.footerContent{font-size:14px!important;line-height:115%!important}.footerContent a{display:block!important}.hide-mobile{display:none;}}','0000-00-00 00:00:00','2018-04-18 10:21:38'),
(131,'CurrencyAutoUpdateExchangeRates','on','0000-00-00 00:00:00','0000-00-00 00:00:00'),
(132,'CurrencyAutoUpdateProductPrices','','0000-00-00 00:00:00','0000-00-00 00:00:00'),
(133,'RequiredPWStrength','50','0000-00-00 00:00:00','0000-00-00 00:00:00'),
(134,'MaintenanceMode','','0000-00-00 00:00:00','0000-00-00 00:00:00'),
(135,'MaintenanceModeMessage','We are currently performing maintenance and will be back shortly.','0000-00-00 00:00:00','0000-00-00 00:00:00'),
(136,'SkipFraudForExisting','','0000-00-00 00:00:00','0000-00-00 00:00:00'),
(137,'SMTPSSL','','0000-00-00 00:00:00','0000-00-00 00:00:00'),
(138,'ContactFormDept','','0000-00-00 00:00:00','0000-00-00 00:00:00'),
(139,'ContactFormTo','','0000-00-00 00:00:00','0000-00-00 00:00:00'),
(140,'TicketEscalationLastRun','2009-01-01 00:00:00','0000-00-00 00:00:00','0000-00-00 00:00:00'),
(141,'APIAllowedIPs','a:1:{i:0;a:2:{s:2:\"ip\";s:0:\"\";s:4:\"note\";s:0:\"\";}}','0000-00-00 00:00:00','0000-00-00 00:00:00'),
(142,'NOMD5','','0000-00-00 00:00:00','0000-00-00 00:00:00'),
(143,'DisableSessionIPCheck','','0000-00-00 00:00:00','0000-00-00 00:00:00'),
(144,'DisableSupportTicketReplyEmailsLogging','','0000-00-00 00:00:00','0000-00-00 00:00:00'),
(145,'OverageBillingMethod','1','0000-00-00 00:00:00','0000-00-00 00:00:00'),
(147,'CCAllowCustomerDelete','','0000-00-00 00:00:00','0000-00-00 00:00:00'),
(148,'CreateDomainInvoiceDaysBefore','','0000-00-00 00:00:00','0000-00-00 00:00:00'),
(149,'NoInvoiceEmailOnOrder','','0000-00-00 00:00:00','0000-00-00 00:00:00'),
(150,'TaxInclusiveDeduct','','0000-00-00 00:00:00','0000-00-00 00:00:00'),
(151,'LateFeeMinimum','0.00','0000-00-00 00:00:00','0000-00-00 00:00:00'),
(152,'AutoProvisionExistingOnly','','0000-00-00 00:00:00','0000-00-00 00:00:00'),
(153,'EnableDomainRenewalOrders','on','0000-00-00 00:00:00','0000-00-00 00:00:00'),
(154,'EnableMassPay','on','0000-00-00 00:00:00','0000-00-00 00:00:00'),
(155,'NoAutoApplyCredit','','0000-00-00 00:00:00','0000-00-00 00:00:00'),
(156,'CreateInvoiceDaysBeforeMonthly','','0000-00-00 00:00:00','0000-00-00 00:00:00'),
(157,'CreateInvoiceDaysBeforeQuarterly','','0000-00-00 00:00:00','0000-00-00 00:00:00'),
(158,'CreateInvoiceDaysBeforeSemiAnnually','','0000-00-00 00:00:00','0000-00-00 00:00:00'),
(159,'CreateInvoiceDaysBeforeAnnually','','0000-00-00 00:00:00','0000-00-00 00:00:00'),
(160,'CreateInvoiceDaysBeforeBiennially','','0000-00-00 00:00:00','0000-00-00 00:00:00'),
(161,'CreateInvoiceDaysBeforeTriennially','','0000-00-00 00:00:00','0000-00-00 00:00:00'),
(162,'ClientsProfileUneditableFields','','0000-00-00 00:00:00','0000-00-00 00:00:00'),
(163,'ClientDisplayFormat','1','0000-00-00 00:00:00','0000-00-00 00:00:00'),
(164,'CCDoNotRemoveOnExpiry','','0000-00-00 00:00:00','0000-00-00 00:00:00'),
(165,'GenerateRandomUsername','','0000-00-00 00:00:00','0000-00-00 00:00:00'),
(166,'AddFundsRequireOrder','on','0000-00-00 00:00:00','0000-00-00 00:00:00'),
(167,'GroupSimilarLineItems','on','0000-00-00 00:00:00','0000-00-00 00:00:00'),
(168,'ProrataClientsAnniversaryDate','','0000-00-00 00:00:00','0000-00-00 00:00:00'),
(169,'TCPDFFont','helvetica','0000-00-00 00:00:00','0000-00-00 00:00:00'),
(170,'CancelInvoiceOnCancellation','on','0000-00-00 00:00:00','0000-00-00 00:00:00'),
(171,'AttachmentThumbnails','on','0000-00-00 00:00:00','0000-00-00 00:00:00'),
(172,'EmailGlobalHeader','&lt;!DOCTYPE html PUBLIC &quot;-//W3C//DTD XHTML 1.0 Transitional//EN&quot; &quot;http://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd&quot;&gt;\r\n&lt;html xmlns=&quot;http://www.w3.org/1999/xhtml&quot;&gt;\r\n    &lt;head&gt;\r\n        &lt;meta http-equiv=&quot;Content-Type&quot; content=&quot;text/html; charset={$charset}&quot; /&gt;\r\n        &lt;meta name=&quot;viewport&quot; content=&quot;width=device-width, initial-scale=1, maximum-scale=1, user-scalable=no&quot;&gt;\r\n        &lt;style type=&quot;text/css&quot;&gt;\r\n            [EmailCSS]\r\n        &lt;/style&gt;\r\n    &lt;/head&gt;\r\n    &lt;body leftmargin=&quot;0&quot; marginwidth=&quot;0&quot; topmargin=&quot;0&quot; marginheight=&quot;0&quot; offset=&quot;0&quot;&gt;\r\n        &lt;center&gt;\r\n            &lt;table align=&quot;center&quot; border=&quot;0&quot; cellpadding=&quot;0&quot; cellspacing=&quot;0&quot; height=&quot;100%&quot; width=&quot;100%&quot; id=&quot;bodyTable&quot;&gt;\r\n                &lt;tr&gt;\r\n                    &lt;td align=&quot;center&quot; valign=&quot;top&quot; id=&quot;bodyCell&quot;&gt;\r\n                        &lt;table border=&quot;0&quot; cellpadding=&quot;0&quot; cellspacing=&quot;0&quot; id=&quot;templateContainer&quot;&gt;\r\n                            &lt;tr&gt;\r\n                                &lt;td align=&quot;center&quot; valign=&quot;top&quot;&gt;\r\n                                    &lt;table border=&quot;0&quot; cellpadding=&quot;0&quot; cellspacing=&quot;0&quot; width=&quot;100%&quot; id=&quot;templateHeader&quot;&gt;\r\n                                        &lt;tr&gt;\r\n                                            &lt;td valign=&quot;top&quot; class=&quot;headerContent&quot;&gt;\r\n                                                &lt;a href=&quot;{$company_domain}&quot;&gt;\r\n                                                    {if $company_logo_url}\r\n                                                        &lt;img src=&quot;{$company_logo_url}&quot; style=&quot;max-width:600px;padding:20px 20px 0 20px&quot; id=&quot;headerImage&quot; alt=&quot;{$company_name}&quot; /&gt;\r\n                                                    {else}\r\n                                                        {$company_name}\r\n                                                    {/if}\r\n                                                &lt;/a&gt;\r\n                                            &lt;/td&gt;\r\n                                        &lt;/tr&gt;\r\n                                    &lt;/table&gt;\r\n                                &lt;/td&gt;\r\n                            &lt;/tr&gt;\r\n                            &lt;tr&gt;\r\n                                &lt;td align=&quot;center&quot; valign=&quot;top&quot;&gt;\r\n                                    &lt;table border=&quot;0&quot; cellpadding=&quot;0&quot; cellspacing=&quot;0&quot; width=&quot;100%&quot; id=&quot;templateBody&quot;&gt;\r\n                                        &lt;tr&gt;\r\n                                            &lt;td valign=&quot;top&quot; class=&quot;bodyContent&quot;&gt;','0000-00-00 00:00:00','2018-04-18 10:21:38'),
(173,'EmailGlobalFooter','&lt;/td&gt;\r\n                                        &lt;/tr&gt;\r\n                                    &lt;/table&gt;\r\n                                &lt;/td&gt;\r\n                            &lt;/tr&gt;\r\n                            &lt;tr&gt;\r\n                                &lt;td align=&quot;center&quot; valign=&quot;top&quot;&gt;\r\n                                    &lt;table border=&quot;0&quot; cellpadding=&quot;0&quot; cellspacing=&quot;0&quot; width=&quot;100%&quot; id=&quot;templateFooter&quot;&gt;\r\n                                        &lt;tr&gt;\r\n                                            &lt;td valign=&quot;top&quot; class=&quot;footerContent&quot;&gt;\r\n                                                 &lt;a href=&quot;{$company_domain}&quot;&gt;visit our website&lt;/a&gt;\r\n                                                &lt;span class=&quot;hide-mobile&quot;&gt; | &lt;/span&gt;\r\n                                                &lt;a href=&quot;{$whmcs_url}&quot;&gt;log in to your account&lt;/a&gt;\r\n                                                &lt;span class=&quot;hide-mobile&quot;&gt; | &lt;/span&gt;\r\n                                                &lt;a href=&quot;{$whmcs_url}submitticket.php&quot;&gt;get support&lt;/a&gt; &lt;br /&gt;\r\n                                                Copyright &copy; {$company_name}, All rights reserved.\r\n                                            &lt;/td&gt;\r\n                                        &lt;/tr&gt;\r\n                                    &lt;/table&gt;\r\n                                &lt;/td&gt;\r\n                            &lt;/tr&gt;\r\n                        &lt;/table&gt;\r\n                    &lt;/td&gt;\r\n                &lt;/tr&gt;\r\n            &lt;/table&gt;\r\n        &lt;/center&gt;\r\n    &lt;/body&gt;\r\n&lt;/html&gt;','0000-00-00 00:00:00','2018-04-18 10:21:38'),
(174,'DomainSyncEnabled','on','0000-00-00 00:00:00','0000-00-00 00:00:00'),
(175,'DomainSyncNextDueDate','','0000-00-00 00:00:00','0000-00-00 00:00:00'),
(176,'DomainSyncNextDueDateDays','0','0000-00-00 00:00:00','0000-00-00 00:00:00'),
(177,'TicketMask','%A%A%A-%n%n%n%n%n%n','0000-00-00 00:00:00','0000-00-00 00:00:00'),
(178,'AutoClientStatusChange','2','0000-00-00 00:00:00','0000-00-00 00:00:00'),
(179,'AllowClientsEmailOptOut','1','0000-00-00 00:00:00','0000-00-00 00:00:00'),
(180,'BannedSubdomainPrefixes','mail,mx,gapps,gmail,webmail,cpanel,whm,ftp,clients,billing,members,login,accounts,access','0000-00-00 00:00:00','0000-00-00 00:00:00'),
(181,'FreeDomainAutoRenewRequiresProduct','on','0000-00-00 00:00:00','0000-00-00 00:00:00'),
(182,'DomainToDoListEntries','on','0000-00-00 00:00:00','0000-00-00 00:00:00'),
(183,'Version','8.8.0-release.1','0000-00-00 00:00:00','2021-01-07 10:30:00'),
(184,'OrderDaysGrace','0','0000-00-00 00:00:00','0000-00-00 00:00:00'),
(185,'OrderFormSidebarToggle','1','0000-00-00 00:00:00','0000-00-00 00:00:00'),
(187,'UpdaterLatestVersion','7.5.1-release.1','2018-04-18 10:21:38','2018-04-18 10:21:38'),
(188,'UpdaterLatestBetaVersion','7.5.1-release.1','2018-04-18 10:21:38','2018-04-18 10:21:38'),
(189,'UpdaterLatestStableVersion','7.5.1-release.1','2018-04-18 10:21:38','2018-04-18 10:21:38'),
(190,'UpdaterLatestSupportAndUpdatesVersion','7.5.1-release.1','2018-04-18 10:21:39','2018-04-18 10:21:39'),
(191,'DailyCronExecutionHour','09','2018-04-18 10:21:39','2018-04-18 10:21:39'),
(192,'PremiumDomains','0','2018-04-18 15:21:39','2018-04-18 15:21:39'),
(193,'UriRewriteAutoManage','0','2018-04-18 10:21:40','2018-04-18 10:21:40'),
(194,'InstanceID','','2018-04-18 10:21:41','2018-04-18 10:21:41'),
(195,'token_namespaces','a:3:{s:13:\"WHMCS.default\";b:1;s:19:\"WHMCS.admin.default\";b:1;s:19:\"WHMCS.domainchecker\";b:0;}','2018-04-18 10:21:41','2018-04-18 10:21:41'),
(196,'RouteUriPathMode','basic','2018-04-18 10:21:42','2018-04-18 10:21:42'),
(197,'ReversalChangeInvoiceStatus','1','2018-04-18 10:21:42','2018-04-18 10:21:42'),
(198,'ReversalChangeDueDates','1','2018-04-18 10:21:42','2018-04-18 10:21:42'),
(199,'ActiveBackupSystems','','2018-04-18 10:21:42','2018-04-18 10:21:42'),
(200,'PhoneNumberDropdown','1','0000-00-00 00:00:00','0000-00-00 00:00:00'),
(201,'EmailMarketingOptInMessage','We would like to send you occasional news, information and special offers by email. Choose below whether you want to join our mailing list. You can unsubscribe at any time.','2018-04-18 15:21:43','2018-04-18 15:21:43'),
(202,'DomainExpirationFeeHandling','existing','2018-04-18 15:21:43','2018-04-18 15:21:43'),
(203,'TaxPerLineItem','1','2018-04-18 15:21:43','2018-04-18 15:21:43'),
(204,'AdminUserNamesWithSpaces','0','2018-04-18 10:21:43','2018-04-18 10:21:43'),
(205,'EnableSafeInclude','1','2018-04-18 15:21:43','2018-04-18 15:21:43'),
(206,'ModuleHooks','','2018-04-18 10:21:43','2018-04-18 10:21:43'),
(207,'AddonModulesHooks','','2018-04-18 10:21:43','2018-04-18 10:21:43'),
(208,'WHMCSUpdatePinVersion','stable','2018-04-18 10:21:43','2018-04-18 10:21:43'),
(209,'MemberPubKey','+br5lw02EqZUeHdqfcG5jJcEpvJ2RgsXVrKoJT1mnlhrewSRI3arCqJRn82Kd3QYWvLncC4KMYxsgMgDATjMxzXf7ckxfV8ZcRIACRv9Yw9ikOCha7m5FVFXI/wh3fPfLtHpDQAqcBgPcz6uHi2wuZNuStIcTIrjs6qq8HhnzhnIGdMeMLcCKRUsKtqu0vZbm1VIA+4pbjFF36BSEFRIMD3YAq+hX04ndcX6seX0jgLf2azZLJy4Js3nVTwYqUHN4CZSWtRvwtchG14xGyT4yImxNSqe+XuGn/NmARrPa/BgzQXA5ghdqTYxhcCym0rxy0W3HVOrbTnVFlRb0krJN7R9pPC09uuQwKhFe0BMci8PxnAqGaRCwEkt0gqlVNzytVs6VA273danddbRxOg/7XQ39Mv6RLa8zxegn9RkJGLYg3xt5ALK5dSb7x7pnDsC+B6zy8ifA9lGfZU8D5OJEUe0PlC70xYBoVtEgf3XL/ZFEvOprVOxVGI4A0MctGsmO7YbWETlX9CjZvDGjh4ZLZWf4UUCz8xpgLIyvGiIfG8RCglvCYRB/P2eayhd/tfhppakPRbcTn5YxAJ6SjIuVWlaHWmpaEtShsimfkvWIQgx27zjMXPr85dLNhpG/zYWGOuxE6bx/VrGEUxlxCBbltnPj80DEPLi5VZL4yqQq2FjJVS89TCMI7H8J5yq29bchDoTrkz3rgwfnr+pgt+xahklPiOUC2yhMP1oJaD3F3pDb/OAIABfTTTTBMsAKY7fXt5UtMCV06Lbjp1B+57p7kudrTvyl64a/4qOL2wGcZpdgwSzuSsgvl8RkTW+cWmMv57oEgyWm2mIlelhrzo6JxCdwlnmPwvdTWEeH2RMZRG9pwJBFDwwLw6PqtT1e4AIifmmd9T/nqKlqH96/jprnl5bsgCfJmYPMlm3F4HF/S3PSeP0MaFAvi81lbfusMvZGOx68ag9p1htAXt4ozcgZ3zMRJwRGs49upn2i22pXMLIteK5ZYfaI3blyCplpPC9lfuapAl9PIIaa5Pv7jjg9FcYlMsENkRSAFPYZlHysSc5RM0hXDM=','2018-04-23 17:19:29','2018-04-23 17:19:29'),
(210,'domainLookupProvider','WhmcsDomains','2018-06-19 16:29:29','2018-06-19 16:29:29'),
(211,'ReCAPTCHAForms','{\"checkoutCompletion\":false}','2018-07-26 12:10:09','2018-07-26 12:10:09'),
(212,'TaxEUTaxValidation','0','2018-08-09 09:00:00','2018-08-09 09:00:00'),
(213,'TaxVatCustomFieldId','0','2018-08-09 09:00:00','2018-08-09 09:00:00'),
(214,'TaxEUHomeCountry','','2018-08-09 09:00:00','2018-08-09 09:00:00'),
(215,'TaxEUTaxExempt','0','2018-08-09 09:00:00','2018-08-09 09:00:00'),
(216,'TaxEUHomeCountryNoExempt','0','2018-08-09 09:00:00','2018-08-09 09:00:00'),
(217,'TaxCustomInvoiceNumbering','0','2018-08-09 09:00:00','2018-08-09 09:00:00'),
(218,'TaxNextCustomInvoiceNumber','1','2018-08-09 09:00:00','2018-08-09 09:00:00'),
(219,'TaxSetInvoiceDateOnPayment','0','2018-08-09 09:00:00','2018-08-09 09:00:00'),
(220,'TaxAutoResetNumbering','never','2018-08-09 09:00:00','2018-08-09 09:00:00'),
(221,'TaxAutoResetPaidNumbering','never','2018-08-09 09:00:00','2018-08-09 09:00:00'),
(222,'TaxCustomInvoiceNumberFormat','{NUMBER}','2018-08-09 09:00:00','2018-08-09 09:00:00'),
(223,'PruneTicketAttachmentsMonths','0','2019-04-01 09:00:00','2019-04-01 09:00:00'),
(224,'2fasettings','a:3:{s:7:"modules";a:1:{s:4:"totp";a:2:{s:13:"clientenabled";i:1;s:12:"adminenabled";i:1;}}s:11:"forceclient";i:0;s:10:"forceadmin";i:0;}','2019-07-10 11:46:00','2019-07-10 11:46:00'),
(225,'TicketAddCarbonCopyRecipients',1,'2018-08-02 11:00:00','2018-08-02 11:00:00'),
(228,'AcceptedCardTypes','Visa,MasterCard,Discover,American Express,JCB,Diners Club','2019-08-08 17:00:00','2019-08-08 17:00:00'),
(229,'TaxNextCustomInvoiceNumberResetTimestamp','','2019-10-03 12:00:00','2019-10-03 12:00:00'),
(230,'SequentialInvoiceNumberValueResetTimestamp','','2019-10-03 12:00:00','2019-10-03 12:00:00'),
(231,'MetricUsageCollection','1','2019-11-13 12:00:00', '2019-11-13 12:00:00'),
(232,'MetricUsageInvoicing','on','2019-11-13 12:00:00', '2019-11-13 12:00:00'),
(233,'DisableClientEmailPreferences','','2020-03-18 09:00:00', '2020-03-18 09:00:00'),
(235,'AllowIDNDomains','on','2020-03-18 12:00:00','2020-03-18 12:00:00'),
(236,'TaxBillableItems','on','2020-09-09 12:00:00','2020-09-09 12:00:00'),
(237,'TaxCustomInvoices','on','2020-09-09 12:00:00','2020-09-09 12:00:00'),
(238,'ClientDateFormat','','2021-02-02 12:00:00','2021-02-02 12:00:00'),
(239,'HooksDebugMode','','2021-02-02 12:00:00','2021-02-02 12:00:00'),
(240,'FreeDomainReminders','1','2020-12-21 15:00:00','2020-12-21 15:00:00'),
(241,'SupportReopenTicketOnFailedImport','on','2021-09-24 00:00:00','2021-09-24 00:00:00'),
(242,'ProductRecommendationEnable','0','2022-01-05 00:00:00','2022-01-05 00:00:00'),
(243,'ProductRecommendationLocationAfterAdd','0','2022-01-05 00:00:00','2022-01-05 00:00:00'),
(244,'ProductRecommendationLocationViewCart','0','2022-01-05 00:00:00','2022-01-05 00:00:00'),
(245,'ProductRecommendationLocationCheckout','0','2022-01-05 00:00:00','2022-01-05 00:00:00'),
(246,'ProductRecommendationLocationOrderComplete','0','2022-01-05 00:00:00','2022-01-05 00:00:00'),
(247,'ProductRecommendationCount','10','2022-01-05 00:00:00','2022-01-05 00:00:00'),
(248,'ProductRecommendationExisting','0','2022-01-05 00:00:00','2022-01-05 00:00:00'),
(249,'ProductRecommendationStyle','0','2022-01-05 00:00:00','2022-01-05 00:00:00'),
(250,'OnDemandRenewalsEnabled','0','2022-01-05 00:00:00','2022-01-05 00:00:00'),
(251,'OnDemandRenewalPeriodMonthly','31','2022-01-05 00:00:00','2022-01-05 00:00:00'),
(252,'OnDemandRenewalPeriodQuarterly','92','2022-01-05 00:00:00','2022-01-05 00:00:00'),
(253,'OnDemandRenewalPeriodSemiAnnually','184','2022-01-05 00:00:00','2022-01-05 00:00:00'),
(254,'OnDemandRenewalPeriodAnnually','366','2022-01-05 00:00:00','2022-01-05 00:00:00'),
(255,'OnDemandRenewalPeriodBiennially','731','2022-01-05 00:00:00','2022-01-05 00:00:00'),
(256,'OnDemandRenewalPeriodTriennially','1096','2022-01-05 00:00:00','2022-01-05 00:00:00');
/*!40000 ALTER TABLE `tblconfiguration` ENABLE KEYS */;
/*!40103 SET TIME_ZONE=@OLD_TIME_ZONE */;

/*!40101 SET SQL_MODE=@OLD_SQL_MODE */;
/*!40014 SET FOREIGN_KEY_CHECKS=@OLD_FOREIGN_KEY_CHECKS */;
/*!40111 SET SQL_NOTES=@OLD_SQL_NOTES */;

install/tblaffiliates_referrers.data.sql000064400000001143147361027270014543 0ustar00/*!40103 SET @OLD_TIME_ZONE=@@TIME_ZONE */;
/*!40103 SET TIME_ZONE='+00:00' */;
/*!40014 SET @OLD_FOREIGN_KEY_CHECKS=@@FOREIGN_KEY_CHECKS, FOREIGN_KEY_CHECKS=0 */;
/*!40101 SET @OLD_SQL_MODE=@@SQL_MODE, SQL_MODE='NO_AUTO_VALUE_ON_ZERO' */;
/*!40111 SET @OLD_SQL_NOTES=@@SQL_NOTES, SQL_NOTES=0 */;

/*!40000 ALTER TABLE `tblaffiliates_referrers` DISABLE KEYS */;
/*!40000 ALTER TABLE `tblaffiliates_referrers` ENABLE KEYS */;
/*!40103 SET TIME_ZONE=@OLD_TIME_ZONE */;

/*!40101 SET SQL_MODE=@OLD_SQL_MODE */;
/*!40014 SET FOREIGN_KEY_CHECKS=@OLD_FOREIGN_KEY_CHECKS */;
/*!40111 SET SQL_NOTES=@OLD_SQL_NOTES */;

install/tbluser_invites.data.sql000064400000001123147361027270013072 0ustar00/*!40103 SET @OLD_TIME_ZONE=@@TIME_ZONE */;
/*!40103 SET TIME_ZONE='+00:00' */;
/*!40014 SET @OLD_FOREIGN_KEY_CHECKS=@@FOREIGN_KEY_CHECKS, FOREIGN_KEY_CHECKS=0 */;
/*!40101 SET @OLD_SQL_MODE=@@SQL_MODE, SQL_MODE='NO_AUTO_VALUE_ON_ZERO' */;
/*!40111 SET @OLD_SQL_NOTES=@@SQL_NOTES, SQL_NOTES=0 */;

/*!40000 ALTER TABLE `tbluser_invites` DISABLE KEYS */;
/*!40000 ALTER TABLE `tbluser_invites` ENABLE KEYS */;
/*!40103 SET TIME_ZONE=@OLD_TIME_ZONE */;

/*!40101 SET SQL_MODE=@OLD_SQL_MODE */;
/*!40014 SET FOREIGN_KEY_CHECKS=@OLD_FOREIGN_KEY_CHECKS */;
/*!40111 SET SQL_NOTES=@OLD_SQL_NOTES */;

install/tblbannedemails.data.sql000064400000001123147361027270012775 0ustar00/*!40103 SET @OLD_TIME_ZONE=@@TIME_ZONE */;
/*!40103 SET TIME_ZONE='+00:00' */;
/*!40014 SET @OLD_FOREIGN_KEY_CHECKS=@@FOREIGN_KEY_CHECKS, FOREIGN_KEY_CHECKS=0 */;
/*!40101 SET @OLD_SQL_MODE=@@SQL_MODE, SQL_MODE='NO_AUTO_VALUE_ON_ZERO' */;
/*!40111 SET @OLD_SQL_NOTES=@@SQL_NOTES, SQL_NOTES=0 */;

/*!40000 ALTER TABLE `tblbannedemails` DISABLE KEYS */;
/*!40000 ALTER TABLE `tblbannedemails` ENABLE KEYS */;
/*!40103 SET TIME_ZONE=@OLD_TIME_ZONE */;

/*!40101 SET SQL_MODE=@OLD_SQL_MODE */;
/*!40014 SET FOREIGN_KEY_CHECKS=@OLD_FOREIGN_KEY_CHECKS */;
/*!40111 SET SQL_NOTES=@OLD_SQL_NOTES */;

install/tbllog_register.data.sql000064400000001123147361027270013040 0ustar00/*!40103 SET @OLD_TIME_ZONE=@@TIME_ZONE */;
/*!40103 SET TIME_ZONE='+00:00' */;
/*!40014 SET @OLD_FOREIGN_KEY_CHECKS=@@FOREIGN_KEY_CHECKS, FOREIGN_KEY_CHECKS=0 */;
/*!40101 SET @OLD_SQL_MODE=@@SQL_MODE, SQL_MODE='NO_AUTO_VALUE_ON_ZERO' */;
/*!40111 SET @OLD_SQL_NOTES=@@SQL_NOTES, SQL_NOTES=0 */;

/*!40000 ALTER TABLE `tbllog_register` DISABLE KEYS */;
/*!40000 ALTER TABLE `tbllog_register` ENABLE KEYS */;
/*!40103 SET TIME_ZONE=@OLD_TIME_ZONE */;

/*!40101 SET SQL_MODE=@OLD_SQL_MODE */;
/*!40014 SET FOREIGN_KEY_CHECKS=@OLD_FOREIGN_KEY_CHECKS */;
/*!40111 SET SQL_NOTES=@OLD_SQL_NOTES */;

install/tblticketspamfilters.schema.sql000064400000002144147361027270014443 0ustar00/*!40103 SET @OLD_TIME_ZONE=@@TIME_ZONE */;
/*!40103 SET TIME_ZONE='+00:00' */;
/*!40014 SET @OLD_UNIQUE_CHECKS=@@UNIQUE_CHECKS, UNIQUE_CHECKS=0 */;
/*!40014 SET @OLD_FOREIGN_KEY_CHECKS=@@FOREIGN_KEY_CHECKS, FOREIGN_KEY_CHECKS=0 */;
/*!40101 SET @OLD_SQL_MODE=@@SQL_MODE, SQL_MODE='NO_AUTO_VALUE_ON_ZERO' */;
/*!40111 SET @OLD_SQL_NOTES=@@SQL_NOTES, SQL_NOTES=0 */;
DROP TABLE IF EXISTS `tblticketspamfilters`;
/*!40101 SET @saved_cs_client     = @@character_set_client */;
/*!40101 SET character_set_client = utf8 */;
CREATE TABLE `tblticketspamfilters` (
  `id` int(10) NOT NULL AUTO_INCREMENT,
  `type` enum('sender','subject','phrase') COLLATE utf8_unicode_ci NOT NULL,
  `content` text COLLATE utf8_unicode_ci NOT NULL,
  PRIMARY KEY (`id`),
  KEY `type` (`type`)
) ENGINE=InnoDB DEFAULT CHARSET=utf8 COLLATE=utf8_unicode_ci;
/*!40101 SET character_set_client = @saved_cs_client */;
/*!40103 SET TIME_ZONE=@OLD_TIME_ZONE */;

/*!40101 SET SQL_MODE=@OLD_SQL_MODE */;
/*!40014 SET FOREIGN_KEY_CHECKS=@OLD_FOREIGN_KEY_CHECKS */;
/*!40014 SET UNIQUE_CHECKS=@OLD_UNIQUE_CHECKS */;
/*!40111 SET SQL_NOTES=@OLD_SQL_NOTES */;

install/tblproduct_recommendations.schema.sql000064400000002162147361027270015635 0ustar00/*!40103 SET @OLD_TIME_ZONE=@@TIME_ZONE */;
/*!40103 SET TIME_ZONE='+00:00' */;
/*!40014 SET @OLD_UNIQUE_CHECKS=@@UNIQUE_CHECKS, UNIQUE_CHECKS=0 */;
/*!40014 SET @OLD_FOREIGN_KEY_CHECKS=@@FOREIGN_KEY_CHECKS, FOREIGN_KEY_CHECKS=0 */;
/*!40101 SET @OLD_SQL_MODE=@@SQL_MODE, SQL_MODE='NO_AUTO_VALUE_ON_ZERO' */;
/*!40111 SET @OLD_SQL_NOTES=@@SQL_NOTES, SQL_NOTES=0 */;
DROP TABLE IF EXISTS `tblproduct_recommendations`;
/*!40101 SET @saved_cs_client     = @@character_set_client */;
/*!40101 SET character_set_client = utf8 */;
CREATE TABLE IF NOT EXISTS `tblproduct_recommendations` (
    `id` int(10) NOT NULL,
    `product_id` int(10) NOT NULL,
    `sortorder` int(10) NOT NULL DEFAULT '0',
    PRIMARY KEY `id_product_id` (`id`, `product_id`),
    INDEX `product_id` (`product_id`)
) ENGINE=InnoDB DEFAULT CHARSET=utf8 COLLATE=utf8_unicode_ci;
/*!40101 SET character_set_client = @saved_cs_client */;
/*!40103 SET TIME_ZONE=@OLD_TIME_ZONE */;

/*!40101 SET SQL_MODE=@OLD_SQL_MODE */;
/*!40014 SET FOREIGN_KEY_CHECKS=@OLD_FOREIGN_KEY_CHECKS */;
/*!40014 SET UNIQUE_CHECKS=@OLD_UNIQUE_CHECKS */;
/*!40111 SET SQL_NOTES=@OLD_SQL_NOTES */;

install/tblcalendar.data.sql000064400000001113147361027270012123 0ustar00/*!40103 SET @OLD_TIME_ZONE=@@TIME_ZONE */;
/*!40103 SET TIME_ZONE='+00:00' */;
/*!40014 SET @OLD_FOREIGN_KEY_CHECKS=@@FOREIGN_KEY_CHECKS, FOREIGN_KEY_CHECKS=0 */;
/*!40101 SET @OLD_SQL_MODE=@@SQL_MODE, SQL_MODE='NO_AUTO_VALUE_ON_ZERO' */;
/*!40111 SET @OLD_SQL_NOTES=@@SQL_NOTES, SQL_NOTES=0 */;

/*!40000 ALTER TABLE `tblcalendar` DISABLE KEYS */;
/*!40000 ALTER TABLE `tblcalendar` ENABLE KEYS */;
/*!40103 SET TIME_ZONE=@OLD_TIME_ZONE */;

/*!40101 SET SQL_MODE=@OLD_SQL_MODE */;
/*!40014 SET FOREIGN_KEY_CHECKS=@OLD_FOREIGN_KEY_CHECKS */;
/*!40111 SET SQL_NOTES=@OLD_SQL_NOTES */;

install/tblupdatehistory.data.sql000064400000001125147361027270013261 0ustar00/*!40103 SET @OLD_TIME_ZONE=@@TIME_ZONE */;
/*!40103 SET TIME_ZONE='+00:00' */;
/*!40014 SET @OLD_FOREIGN_KEY_CHECKS=@@FOREIGN_KEY_CHECKS, FOREIGN_KEY_CHECKS=0 */;
/*!40101 SET @OLD_SQL_MODE=@@SQL_MODE, SQL_MODE='NO_AUTO_VALUE_ON_ZERO' */;
/*!40111 SET @OLD_SQL_NOTES=@@SQL_NOTES, SQL_NOTES=0 */;

/*!40000 ALTER TABLE `tblupdatehistory` DISABLE KEYS */;
/*!40000 ALTER TABLE `tblupdatehistory` ENABLE KEYS */;
/*!40103 SET TIME_ZONE=@OLD_TIME_ZONE */;

/*!40101 SET SQL_MODE=@OLD_SQL_MODE */;
/*!40014 SET FOREIGN_KEY_CHECKS=@OLD_FOREIGN_KEY_CHECKS */;
/*!40111 SET SQL_NOTES=@OLD_SQL_NOTES */;

install/tblproducts.schema.sql000064400000010620147361027270012547 0ustar00/*!40103 SET @OLD_TIME_ZONE=@@TIME_ZONE */;
/*!40103 SET TIME_ZONE='+00:00' */;
/*!40014 SET @OLD_UNIQUE_CHECKS=@@UNIQUE_CHECKS, UNIQUE_CHECKS=0 */;
/*!40014 SET @OLD_FOREIGN_KEY_CHECKS=@@FOREIGN_KEY_CHECKS, FOREIGN_KEY_CHECKS=0 */;
/*!40101 SET @OLD_SQL_MODE=@@SQL_MODE, SQL_MODE='NO_AUTO_VALUE_ON_ZERO' */;
/*!40111 SET @OLD_SQL_NOTES=@@SQL_NOTES, SQL_NOTES=0 */;
DROP TABLE IF EXISTS `tblproducts`;
/*!40101 SET @saved_cs_client     = @@character_set_client */;
/*!40101 SET character_set_client = utf8 */;
CREATE TABLE `tblproducts` (
  `id` int(10) NOT NULL AUTO_INCREMENT,
  `type` text COLLATE utf8_unicode_ci NOT NULL,
  `gid` int(10) NOT NULL,
  `name` text COLLATE utf8_unicode_ci NOT NULL,
  `slug` varchar(128) NOT NULL DEFAULT '',
  `description` text COLLATE utf8_unicode_ci NOT NULL,
  `hidden` tinyint(1) NOT NULL,
  `showdomainoptions` tinyint(1) NOT NULL,
  `welcomeemail` int(10) NOT NULL DEFAULT '0',
  `stockcontrol` tinyint(1) NOT NULL,
  `qty` int(10) NOT NULL DEFAULT '0',
  `proratabilling` tinyint(1) NOT NULL,
  `proratadate` int(2) NOT NULL,
  `proratachargenextmonth` int(2) NOT NULL,
  `paytype` text COLLATE utf8_unicode_ci NOT NULL,
  `allowqty` int(1) NOT NULL,
  `subdomain` text COLLATE utf8_unicode_ci NOT NULL,
  `autosetup` text COLLATE utf8_unicode_ci NOT NULL,
  `servertype` text COLLATE utf8_unicode_ci NOT NULL,
  `servergroup` int(10) NOT NULL,
  `configoption1` text COLLATE utf8_unicode_ci NOT NULL,
  `configoption2` text COLLATE utf8_unicode_ci NOT NULL,
  `configoption3` text COLLATE utf8_unicode_ci NOT NULL,
  `configoption4` text COLLATE utf8_unicode_ci NOT NULL,
  `configoption5` text COLLATE utf8_unicode_ci NOT NULL,
  `configoption6` text COLLATE utf8_unicode_ci NOT NULL,
  `configoption7` text COLLATE utf8_unicode_ci NOT NULL,
  `configoption8` text COLLATE utf8_unicode_ci NOT NULL,
  `configoption9` text COLLATE utf8_unicode_ci NOT NULL,
  `configoption10` text COLLATE utf8_unicode_ci NOT NULL,
  `configoption11` text COLLATE utf8_unicode_ci NOT NULL,
  `configoption12` text COLLATE utf8_unicode_ci NOT NULL,
  `configoption13` text COLLATE utf8_unicode_ci NOT NULL,
  `configoption14` text COLLATE utf8_unicode_ci NOT NULL,
  `configoption15` text COLLATE utf8_unicode_ci NOT NULL,
  `configoption16` text COLLATE utf8_unicode_ci NOT NULL,
  `configoption17` text COLLATE utf8_unicode_ci NOT NULL,
  `configoption18` text COLLATE utf8_unicode_ci NOT NULL,
  `configoption19` text COLLATE utf8_unicode_ci NOT NULL,
  `configoption20` text COLLATE utf8_unicode_ci NOT NULL,
  `configoption21` text COLLATE utf8_unicode_ci NOT NULL,
  `configoption22` text COLLATE utf8_unicode_ci NOT NULL,
  `configoption23` text COLLATE utf8_unicode_ci NOT NULL,
  `configoption24` text COLLATE utf8_unicode_ci NOT NULL,
  `freedomain` text COLLATE utf8_unicode_ci NOT NULL,
  `freedomainpaymentterms` text COLLATE utf8_unicode_ci NOT NULL,
  `freedomaintlds` text COLLATE utf8_unicode_ci NOT NULL,
  `recurringcycles` int(2) NOT NULL,
  `autoterminatedays` int(4) NOT NULL,
  `autoterminateemail` int(10) NOT NULL DEFAULT '0',
  `configoptionsupgrade` tinyint(1) NOT NULL,
  `billingcycleupgrade` text COLLATE utf8_unicode_ci NOT NULL,
  `upgradeemail` int(10) NOT NULL DEFAULT '0',
  `overagesenabled` varchar(10) COLLATE utf8_unicode_ci NOT NULL,
  `overagesdisklimit` int(10) NOT NULL,
  `overagesbwlimit` int(10) NOT NULL,
  `overagesdiskprice` decimal(6,4) NOT NULL,
  `overagesbwprice` decimal(6,4) NOT NULL,
  `tax` tinyint(1) NOT NULL,
  `affiliateonetime` tinyint(1) NOT NULL,
  `affiliatepaytype` text COLLATE utf8_unicode_ci NOT NULL,
  `affiliatepayamount` decimal(16,2) NOT NULL,
  `order` int(10) NOT NULL DEFAULT '0',
  `retired` tinyint(1) NOT NULL,
  `is_featured` tinyint(1) NOT NULL,
  `color` text COLLATE utf8_unicode_ci NOT NULL,
  `tagline` text COLLATE utf8_unicode_ci NOT NULL,
  `short_description` text COLLATE utf8_unicode_ci NOT NULL,
  `created_at` timestamp NOT NULL DEFAULT '0000-00-00 00:00:00',
  `updated_at` timestamp NOT NULL DEFAULT '0000-00-00 00:00:00',
  PRIMARY KEY (`id`),
  KEY `gid` (`gid`),
  KEY `name` (`name`(64)),
  KEY `type` (`type`(4))
) ENGINE=InnoDB DEFAULT CHARSET=utf8 COLLATE=utf8_unicode_ci;
/*!40101 SET character_set_client = @saved_cs_client */;
/*!40103 SET TIME_ZONE=@OLD_TIME_ZONE */;

/*!40101 SET SQL_MODE=@OLD_SQL_MODE */;
/*!40014 SET FOREIGN_KEY_CHECKS=@OLD_FOREIGN_KEY_CHECKS */;
/*!40014 SET UNIQUE_CHECKS=@OLD_UNIQUE_CHECKS */;
/*!40111 SET SQL_NOTES=@OLD_SQL_NOTES */;

install/tbldomainsadditionalfields.data.sql000064400000001151147361027270015226 0ustar00/*!40103 SET @OLD_TIME_ZONE=@@TIME_ZONE */;
/*!40103 SET TIME_ZONE='+00:00' */;
/*!40014 SET @OLD_FOREIGN_KEY_CHECKS=@@FOREIGN_KEY_CHECKS, FOREIGN_KEY_CHECKS=0 */;
/*!40101 SET @OLD_SQL_MODE=@@SQL_MODE, SQL_MODE='NO_AUTO_VALUE_ON_ZERO' */;
/*!40111 SET @OLD_SQL_NOTES=@@SQL_NOTES, SQL_NOTES=0 */;

/*!40000 ALTER TABLE `tbldomainsadditionalfields` DISABLE KEYS */;
/*!40000 ALTER TABLE `tbldomainsadditionalfields` ENABLE KEYS */;
/*!40103 SET TIME_ZONE=@OLD_TIME_ZONE */;

/*!40101 SET SQL_MODE=@OLD_SQL_MODE */;
/*!40014 SET FOREIGN_KEY_CHECKS=@OLD_FOREIGN_KEY_CHECKS */;
/*!40111 SET SQL_NOTES=@OLD_SQL_NOTES */;

install/tbltask_status.schema.sql000064400000002442147361027270013254 0ustar00/*!40103 SET @OLD_TIME_ZONE=@@TIME_ZONE */;
/*!40103 SET TIME_ZONE='+00:00' */;
/*!40014 SET @OLD_UNIQUE_CHECKS=@@UNIQUE_CHECKS, UNIQUE_CHECKS=0 */;
/*!40014 SET @OLD_FOREIGN_KEY_CHECKS=@@FOREIGN_KEY_CHECKS, FOREIGN_KEY_CHECKS=0 */;
/*!40101 SET @OLD_SQL_MODE=@@SQL_MODE, SQL_MODE='NO_AUTO_VALUE_ON_ZERO' */;
/*!40111 SET @OLD_SQL_NOTES=@@SQL_NOTES, SQL_NOTES=0 */;
DROP TABLE IF EXISTS `tbltask_status`;
/*!40101 SET @saved_cs_client     = @@character_set_client */;
/*!40101 SET character_set_client = utf8 */;
CREATE TABLE `tbltask_status` (
  `id` int(10) unsigned NOT NULL AUTO_INCREMENT,
  `task_id` int(10) unsigned NOT NULL,
  `in_progress` tinyint(4) NOT NULL DEFAULT '0',
  `last_run` timestamp NOT NULL DEFAULT '0000-00-00 00:00:00',
  `next_due` timestamp NOT NULL DEFAULT '0000-00-00 00:00:00',
  `created_at` timestamp NOT NULL DEFAULT '0000-00-00 00:00:00',
  `updated_at` timestamp NOT NULL DEFAULT '0000-00-00 00:00:00',
  PRIMARY KEY (`id`)
) ENGINE=InnoDB DEFAULT CHARSET=utf8 COLLATE=utf8_unicode_ci;
/*!40101 SET character_set_client = @saved_cs_client */;
/*!40103 SET TIME_ZONE=@OLD_TIME_ZONE */;

/*!40101 SET SQL_MODE=@OLD_SQL_MODE */;
/*!40014 SET FOREIGN_KEY_CHECKS=@OLD_FOREIGN_KEY_CHECKS */;
/*!40014 SET UNIQUE_CHECKS=@OLD_UNIQUE_CHECKS */;
/*!40111 SET SQL_NOTES=@OLD_SQL_NOTES */;

install/tblapplinks.data.sql000064400000001113147361027270012173 0ustar00/*!40103 SET @OLD_TIME_ZONE=@@TIME_ZONE */;
/*!40103 SET TIME_ZONE='+00:00' */;
/*!40014 SET @OLD_FOREIGN_KEY_CHECKS=@@FOREIGN_KEY_CHECKS, FOREIGN_KEY_CHECKS=0 */;
/*!40101 SET @OLD_SQL_MODE=@@SQL_MODE, SQL_MODE='NO_AUTO_VALUE_ON_ZERO' */;
/*!40111 SET @OLD_SQL_NOTES=@@SQL_NOTES, SQL_NOTES=0 */;

/*!40000 ALTER TABLE `tblapplinks` DISABLE KEYS */;
/*!40000 ALTER TABLE `tblapplinks` ENABLE KEYS */;
/*!40103 SET TIME_ZONE=@OLD_TIME_ZONE */;

/*!40101 SET SQL_MODE=@OLD_SQL_MODE */;
/*!40014 SET FOREIGN_KEY_CHECKS=@OLD_FOREIGN_KEY_CHECKS */;
/*!40111 SET SQL_NOTES=@OLD_SQL_NOTES */;

install/tblinvoices.data.sql000064400000001113147361027270012171 0ustar00/*!40103 SET @OLD_TIME_ZONE=@@TIME_ZONE */;
/*!40103 SET TIME_ZONE='+00:00' */;
/*!40014 SET @OLD_FOREIGN_KEY_CHECKS=@@FOREIGN_KEY_CHECKS, FOREIGN_KEY_CHECKS=0 */;
/*!40101 SET @OLD_SQL_MODE=@@SQL_MODE, SQL_MODE='NO_AUTO_VALUE_ON_ZERO' */;
/*!40111 SET @OLD_SQL_NOTES=@@SQL_NOTES, SQL_NOTES=0 */;

/*!40000 ALTER TABLE `tblinvoices` DISABLE KEYS */;
/*!40000 ALTER TABLE `tblinvoices` ENABLE KEYS */;
/*!40103 SET TIME_ZONE=@OLD_TIME_ZONE */;

/*!40101 SET SQL_MODE=@OLD_SQL_MODE */;
/*!40014 SET FOREIGN_KEY_CHECKS=@OLD_FOREIGN_KEY_CHECKS */;
/*!40111 SET SQL_NOTES=@OLD_SQL_NOTES */;

install/tbladdonmodules.schema.sql000064400000002131147361027270013360 0ustar00/*!40103 SET @OLD_TIME_ZONE=@@TIME_ZONE */;
/*!40103 SET TIME_ZONE='+00:00' */;
/*!40014 SET @OLD_UNIQUE_CHECKS=@@UNIQUE_CHECKS, UNIQUE_CHECKS=0 */;
/*!40014 SET @OLD_FOREIGN_KEY_CHECKS=@@FOREIGN_KEY_CHECKS, FOREIGN_KEY_CHECKS=0 */;
/*!40101 SET @OLD_SQL_MODE=@@SQL_MODE, SQL_MODE='NO_AUTO_VALUE_ON_ZERO' */;
/*!40111 SET @OLD_SQL_NOTES=@@SQL_NOTES, SQL_NOTES=0 */;
DROP TABLE IF EXISTS `tbladdonmodules`;
/*!40101 SET @saved_cs_client     = @@character_set_client */;
/*!40101 SET character_set_client = utf8 */;
CREATE TABLE `tbladdonmodules` (
  `id` int(11) NOT NULL AUTO_INCREMENT,
  `module` text COLLATE utf8_unicode_ci NOT NULL,
  `setting` text COLLATE utf8_unicode_ci NOT NULL,
  `value` text COLLATE utf8_unicode_ci NOT NULL,
  PRIMARY KEY (`id`)
) ENGINE=InnoDB DEFAULT CHARSET=utf8 COLLATE=utf8_unicode_ci;
/*!40101 SET character_set_client = @saved_cs_client */;
/*!40103 SET TIME_ZONE=@OLD_TIME_ZONE */;

/*!40101 SET SQL_MODE=@OLD_SQL_MODE */;
/*!40014 SET FOREIGN_KEY_CHECKS=@OLD_FOREIGN_KEY_CHECKS */;
/*!40014 SET UNIQUE_CHECKS=@OLD_UNIQUE_CHECKS */;
/*!40111 SET SQL_NOTES=@OLD_SQL_NOTES */;

install/tblemail_images.schema.sql000064400000002340147361027270013320 0ustar00/*!40103 SET @OLD_TIME_ZONE=@@TIME_ZONE */;
/*!40103 SET TIME_ZONE='+00:00' */;
/*!40014 SET @OLD_UNIQUE_CHECKS=@@UNIQUE_CHECKS, UNIQUE_CHECKS=0 */;
/*!40014 SET @OLD_FOREIGN_KEY_CHECKS=@@FOREIGN_KEY_CHECKS, FOREIGN_KEY_CHECKS=0 */;
/*!40101 SET @OLD_SQL_MODE=@@SQL_MODE, SQL_MODE='NO_AUTO_VALUE_ON_ZERO' */;
/*!40111 SET @OLD_SQL_NOTES=@@SQL_NOTES, SQL_NOTES=0 */;
DROP TABLE IF EXISTS `tblemail_images`;
/*!40101 SET @saved_cs_client     = @@character_set_client */;
/*!40101 SET character_set_client = utf8 */;
CREATE TABLE `tblemail_images` (
  `id` int(10) unsigned NOT NULL AUTO_INCREMENT,
  `filename` varchar(128) COLLATE utf8_unicode_ci NOT NULL DEFAULT '',
  `original_name` varchar(255) COLLATE utf8_unicode_ci NOT NULL DEFAULT '',
  `created_at` timestamp NOT NULL DEFAULT '0000-00-00 00:00:00',
  `updated_at` timestamp NOT NULL DEFAULT '0000-00-00 00:00:00',
  PRIMARY KEY (`id`)
) ENGINE=InnoDB DEFAULT CHARSET=utf8 COLLATE=utf8_unicode_ci
/*!40101 SET character_set_client = @saved_cs_client */;
/*!40103 SET TIME_ZONE=@OLD_TIME_ZONE */;

/*!40101 SET SQL_MODE=@OLD_SQL_MODE */;
/*!40014 SET FOREIGN_KEY_CHECKS=@OLD_FOREIGN_KEY_CHECKS */;
/*!40014 SET UNIQUE_CHECKS=@OLD_UNIQUE_CHECKS */;
/*!40111 SET SQL_NOTES=@OLD_SQL_NOTES */;

install/tblcarts.schema.sql000064400000002365147361027270012027 0ustar00/*!40103 SET @OLD_TIME_ZONE=@@TIME_ZONE */;
/*!40103 SET TIME_ZONE='+00:00' */;
/*!40014 SET @OLD_UNIQUE_CHECKS=@@UNIQUE_CHECKS, UNIQUE_CHECKS=0 */;
/*!40014 SET @OLD_FOREIGN_KEY_CHECKS=@@FOREIGN_KEY_CHECKS, FOREIGN_KEY_CHECKS=0 */;
/*!40101 SET @OLD_SQL_MODE=@@SQL_MODE, SQL_MODE='NO_AUTO_VALUE_ON_ZERO' */;
/*!40111 SET @OLD_SQL_NOTES=@@SQL_NOTES, SQL_NOTES=0 */;
DROP TABLE IF EXISTS `tblcarts`;
/*!40101 SET @saved_cs_client     = @@character_set_client */;
/*!40101 SET character_set_client = utf8 */;
CREATE TABLE `tblcarts` (
  `id` int unsigned NOT NULL AUTO_INCREMENT,
  `user_id` int unsigned DEFAULT NULL,
  `tag` char(64) COLLATE utf8_unicode_ci NOT NULL,
  `data` text COLLATE utf8_unicode_ci NOT NULL,
  `created_at` timestamp NOT NULL DEFAULT '0000-00-00 00:00:00',
  `updated_at` timestamp NOT NULL DEFAULT '0000-00-00 00:00:00',
  PRIMARY KEY (`id`),
  UNIQUE KEY `tblcarts_tag_unique` (`tag`)
) ENGINE=InnoDB DEFAULT CHARSET=utf8mb3 COLLATE=utf8_unicode_ci;
/*!40101 SET character_set_client = @saved_cs_client */;
/*!40103 SET TIME_ZONE=@OLD_TIME_ZONE */;

/*!40101 SET SQL_MODE=@OLD_SQL_MODE */;
/*!40014 SET FOREIGN_KEY_CHECKS=@OLD_FOREIGN_KEY_CHECKS */;
/*!40014 SET UNIQUE_CHECKS=@OLD_UNIQUE_CHECKS */;
/*!40111 SET SQL_NOTES=@OLD_SQL_NOTES */;

install/tblticketnotes.schema.sql000064400000002557147361027270013252 0ustar00/*!40103 SET @OLD_TIME_ZONE=@@TIME_ZONE */;
/*!40103 SET TIME_ZONE='+00:00' */;
/*!40014 SET @OLD_UNIQUE_CHECKS=@@UNIQUE_CHECKS, UNIQUE_CHECKS=0 */;
/*!40014 SET @OLD_FOREIGN_KEY_CHECKS=@@FOREIGN_KEY_CHECKS, FOREIGN_KEY_CHECKS=0 */;
/*!40101 SET @OLD_SQL_MODE=@@SQL_MODE, SQL_MODE='NO_AUTO_VALUE_ON_ZERO' */;
/*!40111 SET @OLD_SQL_NOTES=@@SQL_NOTES, SQL_NOTES=0 */;
DROP TABLE IF EXISTS `tblticketnotes`;
/*!40101 SET @saved_cs_client     = @@character_set_client */;
/*!40101 SET character_set_client = utf8 */;
CREATE TABLE `tblticketnotes` (
  `id` int(10) NOT NULL AUTO_INCREMENT,
  `ticketid` int(10) NOT NULL,
  `admin` text COLLATE utf8_unicode_ci NOT NULL,
  `date` datetime NOT NULL DEFAULT '0000-00-00 00:00:00',
  `message` text COLLATE utf8_unicode_ci NOT NULL,
  `attachments` text COLLATE utf8_unicode_ci NOT NULL,
  `attachments_removed` tinyint(1) NOT NULL DEFAULT '0',
  `editor` enum('plain','markdown') COLLATE utf8_unicode_ci NOT NULL DEFAULT 'plain',
  PRIMARY KEY (`id`),
  KEY `ticketid_date` (`ticketid`,`date`)
) ENGINE=InnoDB DEFAULT CHARSET=utf8 COLLATE=utf8_unicode_ci;
/*!40101 SET character_set_client = @saved_cs_client */;
/*!40103 SET TIME_ZONE=@OLD_TIME_ZONE */;

/*!40101 SET SQL_MODE=@OLD_SQL_MODE */;
/*!40014 SET FOREIGN_KEY_CHECKS=@OLD_FOREIGN_KEY_CHECKS */;
/*!40014 SET UNIQUE_CHECKS=@OLD_UNIQUE_CHECKS */;
/*!40111 SET SQL_NOTES=@OLD_SQL_NOTES */;

install/tbldomain_lookup_configuration.schema.sql000064400000002543147361027270016500 0ustar00/*!40103 SET @OLD_TIME_ZONE=@@TIME_ZONE */;
/*!40103 SET TIME_ZONE='+00:00' */;
/*!40014 SET @OLD_UNIQUE_CHECKS=@@UNIQUE_CHECKS, UNIQUE_CHECKS=0 */;
/*!40014 SET @OLD_FOREIGN_KEY_CHECKS=@@FOREIGN_KEY_CHECKS, FOREIGN_KEY_CHECKS=0 */;
/*!40101 SET @OLD_SQL_MODE=@@SQL_MODE, SQL_MODE='NO_AUTO_VALUE_ON_ZERO' */;
/*!40111 SET @OLD_SQL_NOTES=@@SQL_NOTES, SQL_NOTES=0 */;
DROP TABLE IF EXISTS `tbldomain_lookup_configuration`;
/*!40101 SET @saved_cs_client     = @@character_set_client */;
/*!40101 SET character_set_client = utf8 */;
CREATE TABLE `tbldomain_lookup_configuration` (
  `id` int(10) unsigned NOT NULL AUTO_INCREMENT,
  `registrar` varchar(32) COLLATE utf8_unicode_ci NOT NULL DEFAULT '',
  `setting` varchar(128) COLLATE utf8_unicode_ci NOT NULL DEFAULT '',
  `value` text COLLATE utf8_unicode_ci NOT NULL,
  `created_at` timestamp NOT NULL DEFAULT '0000-00-00 00:00:00',
  `updated_at` timestamp NOT NULL DEFAULT '0000-00-00 00:00:00',
  PRIMARY KEY (`id`),
  KEY `registrar_setting_index` (`registrar`,`setting`)
) ENGINE=InnoDB DEFAULT CHARSET=utf8 COLLATE=utf8_unicode_ci;
/*!40101 SET character_set_client = @saved_cs_client */;
/*!40103 SET TIME_ZONE=@OLD_TIME_ZONE */;

/*!40101 SET SQL_MODE=@OLD_SQL_MODE */;
/*!40014 SET FOREIGN_KEY_CHECKS=@OLD_FOREIGN_KEY_CHECKS */;
/*!40014 SET UNIQUE_CHECKS=@OLD_UNIQUE_CHECKS */;
/*!40111 SET SQL_NOTES=@OLD_SQL_NOTES */;

install/tbloauthserver_user_authz.schema.sql000064400000002422147361027270015525 0ustar00/*!40103 SET @OLD_TIME_ZONE=@@TIME_ZONE */;
/*!40103 SET TIME_ZONE='+00:00' */;
/*!40014 SET @OLD_UNIQUE_CHECKS=@@UNIQUE_CHECKS, UNIQUE_CHECKS=0 */;
/*!40014 SET @OLD_FOREIGN_KEY_CHECKS=@@FOREIGN_KEY_CHECKS, FOREIGN_KEY_CHECKS=0 */;
/*!40101 SET @OLD_SQL_MODE=@@SQL_MODE, SQL_MODE='NO_AUTO_VALUE_ON_ZERO' */;
/*!40111 SET @OLD_SQL_NOTES=@@SQL_NOTES, SQL_NOTES=0 */;
DROP TABLE IF EXISTS `tbloauthserver_user_authz`;
/*!40101 SET @saved_cs_client     = @@character_set_client */;
/*!40101 SET character_set_client = utf8 */;
CREATE TABLE `tbloauthserver_user_authz` (
  `id` int(11) NOT NULL AUTO_INCREMENT,
  `user_id` varchar(255) COLLATE utf8_unicode_ci NOT NULL DEFAULT '',
  `client_id` int(10) unsigned NOT NULL DEFAULT '0',
  `expires` timestamp NOT NULL DEFAULT '0000-00-00 00:00:00',
  `created_at` timestamp NOT NULL DEFAULT '0000-00-00 00:00:00',
  `updated_at` timestamp NOT NULL DEFAULT '0000-00-00 00:00:00',
  PRIMARY KEY (`id`)
) ENGINE=InnoDB DEFAULT CHARSET=utf8 COLLATE=utf8_unicode_ci;
/*!40101 SET character_set_client = @saved_cs_client */;
/*!40103 SET TIME_ZONE=@OLD_TIME_ZONE */;

/*!40101 SET SQL_MODE=@OLD_SQL_MODE */;
/*!40014 SET FOREIGN_KEY_CHECKS=@OLD_FOREIGN_KEY_CHECKS */;
/*!40014 SET UNIQUE_CHECKS=@OLD_UNIQUE_CHECKS */;
/*!40111 SET SQL_NOTES=@OLD_SQL_NOTES */;

install/tblserversssoperms.data.sql000064400000001131147361027270013637 0ustar00/*!40103 SET @OLD_TIME_ZONE=@@TIME_ZONE */;
/*!40103 SET TIME_ZONE='+00:00' */;
/*!40014 SET @OLD_FOREIGN_KEY_CHECKS=@@FOREIGN_KEY_CHECKS, FOREIGN_KEY_CHECKS=0 */;
/*!40101 SET @OLD_SQL_MODE=@@SQL_MODE, SQL_MODE='NO_AUTO_VALUE_ON_ZERO' */;
/*!40111 SET @OLD_SQL_NOTES=@@SQL_NOTES, SQL_NOTES=0 */;

/*!40000 ALTER TABLE `tblserversssoperms` DISABLE KEYS */;
/*!40000 ALTER TABLE `tblserversssoperms` ENABLE KEYS */;
/*!40103 SET TIME_ZONE=@OLD_TIME_ZONE */;

/*!40101 SET SQL_MODE=@OLD_SQL_MODE */;
/*!40014 SET FOREIGN_KEY_CHECKS=@OLD_FOREIGN_KEY_CHECKS */;
/*!40111 SET SQL_NOTES=@OLD_SQL_NOTES */;

install/tbllog_register.schema.sql000064400000002773147361027270013403 0ustar00/*!40103 SET @OLD_TIME_ZONE=@@TIME_ZONE */;
/*!40103 SET TIME_ZONE='+00:00' */;
/*!40014 SET @OLD_UNIQUE_CHECKS=@@UNIQUE_CHECKS, UNIQUE_CHECKS=0 */;
/*!40014 SET @OLD_FOREIGN_KEY_CHECKS=@@FOREIGN_KEY_CHECKS, FOREIGN_KEY_CHECKS=0 */;
/*!40101 SET @OLD_SQL_MODE=@@SQL_MODE, SQL_MODE='NO_AUTO_VALUE_ON_ZERO' */;
/*!40111 SET @OLD_SQL_NOTES=@@SQL_NOTES, SQL_NOTES=0 */;
DROP TABLE IF EXISTS `tbllog_register`;
/*!40101 SET @saved_cs_client     = @@character_set_client */;
/*!40101 SET character_set_client = utf8 */;
CREATE TABLE `tbllog_register` (
  `id` int(10) unsigned NOT NULL AUTO_INCREMENT,
  `name` varchar(255) COLLATE utf8_unicode_ci NOT NULL DEFAULT '',
  `namespace_id` int(10) unsigned DEFAULT NULL,
  `namespace` varchar(255) COLLATE utf8_unicode_ci NOT NULL DEFAULT '',
  `namespace_value` mediumtext COLLATE utf8_unicode_ci NOT NULL,
  `created_at` timestamp NOT NULL DEFAULT '0000-00-00 00:00:00',
  `updated_at` timestamp NOT NULL DEFAULT '0000-00-00 00:00:00',
  PRIMARY KEY (`id`),
  KEY `tbllog_register_namespace_id_index` (`namespace_id`),
  KEY `tbllog_register_namespace_index` (`namespace`(32)),
  KEY `tbllog_register_created_at_index` (`created_at`)
) ENGINE=InnoDB DEFAULT CHARSET=utf8 COLLATE=utf8_unicode_ci;
/*!40101 SET character_set_client = @saved_cs_client */;
/*!40103 SET TIME_ZONE=@OLD_TIME_ZONE */;

/*!40101 SET SQL_MODE=@OLD_SQL_MODE */;
/*!40014 SET FOREIGN_KEY_CHECKS=@OLD_FOREIGN_KEY_CHECKS */;
/*!40014 SET UNIQUE_CHECKS=@OLD_UNIQUE_CHECKS */;
/*!40111 SET SQL_NOTES=@OLD_SQL_NOTES */;

install/tblinvoices.schema.sql000064400000004041147361027270012523 0ustar00/*!40103 SET @OLD_TIME_ZONE=@@TIME_ZONE */;
/*!40103 SET TIME_ZONE='+00:00' */;
/*!40014 SET @OLD_UNIQUE_CHECKS=@@UNIQUE_CHECKS, UNIQUE_CHECKS=0 */;
/*!40014 SET @OLD_FOREIGN_KEY_CHECKS=@@FOREIGN_KEY_CHECKS, FOREIGN_KEY_CHECKS=0 */;
/*!40101 SET @OLD_SQL_MODE=@@SQL_MODE, SQL_MODE='NO_AUTO_VALUE_ON_ZERO' */;
/*!40111 SET @OLD_SQL_NOTES=@@SQL_NOTES, SQL_NOTES=0 */;
DROP TABLE IF EXISTS `tblinvoices`;
/*!40101 SET @saved_cs_client     = @@character_set_client */;
/*!40101 SET character_set_client = utf8 */;
CREATE TABLE `tblinvoices` (
  `id` int(10) NOT NULL AUTO_INCREMENT,
  `userid` int(10) NOT NULL,
  `invoicenum` text COLLATE utf8_unicode_ci NOT NULL,
  `date` date DEFAULT NULL,
  `duedate` date DEFAULT NULL,
  `datepaid` datetime NOT NULL DEFAULT '0000-00-00 00:00:00',
  `last_capture_attempt` timestamp NOT NULL DEFAULT '0000-00-00 00:00:00',
  `date_refunded` timestamp NOT NULL DEFAULT '0000-00-00 00:00:00',
  `date_cancelled` timestamp NOT NULL DEFAULT '0000-00-00 00:00:00',
  `subtotal` decimal(16,2) NOT NULL,
  `credit` decimal(16,2) NOT NULL,
  `tax` decimal(16,2) NOT NULL,
  `tax2` decimal(16,2) NOT NULL,
  `total` decimal(16,2) NOT NULL DEFAULT '0.00',
  `taxrate` decimal(10,3) NOT NULL DEFAULT '0.000',
  `taxrate2` decimal(10,3) NOT NULL DEFAULT '0.000',
  `status` text COLLATE utf8_unicode_ci NOT NULL,
  `paymentmethod` text COLLATE utf8_unicode_ci NOT NULL,
  `paymethodid` int(10) unsigned DEFAULT NULL,
  `notes` text COLLATE utf8_unicode_ci NOT NULL,
  `created_at` timestamp NOT NULL DEFAULT '0000-00-00 00:00:00',
  `updated_at` timestamp NOT NULL DEFAULT '0000-00-00 00:00:00',
  PRIMARY KEY (`id`),
  KEY `userid` (`userid`),
  KEY `status` (`status`(3)),
  KEY `duedate` (`duedate`)
) ENGINE=InnoDB DEFAULT CHARSET=utf8 COLLATE=utf8_unicode_ci;
/*!40101 SET character_set_client = @saved_cs_client */;
/*!40103 SET TIME_ZONE=@OLD_TIME_ZONE */;

/*!40101 SET SQL_MODE=@OLD_SQL_MODE */;
/*!40014 SET FOREIGN_KEY_CHECKS=@OLD_FOREIGN_KEY_CHECKS */;
/*!40014 SET UNIQUE_CHECKS=@OLD_UNIQUE_CHECKS */;
/*!40111 SET SQL_NOTES=@OLD_SQL_NOTES */;

install/tblcreditcards.data.sql000064400000001310147361027270012640 0ustar00/*!40103 SET @OLD_TIME_ZONE=@@TIME_ZONE */;
/*!40103 SET TIME_ZONE='+00:00' */;
/*!40014 SET @OLD_UNIQUE_CHECKS=@@UNIQUE_CHECKS, UNIQUE_CHECKS=0 */;
/*!40014 SET @OLD_FOREIGN_KEY_CHECKS=@@FOREIGN_KEY_CHECKS, FOREIGN_KEY_CHECKS=0 */;
/*!40101 SET @OLD_SQL_MODE=@@SQL_MODE, SQL_MODE='NO_AUTO_VALUE_ON_ZERO' */;
/*!40111 SET @OLD_SQL_NOTES=@@SQL_NOTES, SQL_NOTES=0 */;

/*!40000 ALTER TABLE `tblcreditcards` DISABLE KEYS */;
/*!40000 ALTER TABLE `tblcreditcards` ENABLE KEYS */;
/*!40103 SET TIME_ZONE=@OLD_TIME_ZONE */;

/*!40101 SET SQL_MODE=@OLD_SQL_MODE */;
/*!40014 SET FOREIGN_KEY_CHECKS=@OLD_FOREIGN_KEY_CHECKS */;
/*!40014 SET UNIQUE_CHECKS=@OLD_UNIQUE_CHECKS */;
/*!40111 SET SQL_NOTES=@OLD_SQL_NOTES */;

install/tblproductgroups.data.sql000064400000001125147361027270013275 0ustar00/*!40103 SET @OLD_TIME_ZONE=@@TIME_ZONE */;
/*!40103 SET TIME_ZONE='+00:00' */;
/*!40014 SET @OLD_FOREIGN_KEY_CHECKS=@@FOREIGN_KEY_CHECKS, FOREIGN_KEY_CHECKS=0 */;
/*!40101 SET @OLD_SQL_MODE=@@SQL_MODE, SQL_MODE='NO_AUTO_VALUE_ON_ZERO' */;
/*!40111 SET @OLD_SQL_NOTES=@@SQL_NOTES, SQL_NOTES=0 */;

/*!40000 ALTER TABLE `tblproductgroups` DISABLE KEYS */;
/*!40000 ALTER TABLE `tblproductgroups` ENABLE KEYS */;
/*!40103 SET TIME_ZONE=@OLD_TIME_ZONE */;

/*!40101 SET SQL_MODE=@OLD_SQL_MODE */;
/*!40014 SET FOREIGN_KEY_CHECKS=@OLD_FOREIGN_KEY_CHECKS */;
/*!40111 SET SQL_NOTES=@OLD_SQL_NOTES */;

install/tblinvoiceitems.schema.sql000064400000002667147361027270013416 0ustar00/*!40103 SET @OLD_TIME_ZONE=@@TIME_ZONE */;
/*!40103 SET TIME_ZONE='+00:00' */;
/*!40014 SET @OLD_UNIQUE_CHECKS=@@UNIQUE_CHECKS, UNIQUE_CHECKS=0 */;
/*!40014 SET @OLD_FOREIGN_KEY_CHECKS=@@FOREIGN_KEY_CHECKS, FOREIGN_KEY_CHECKS=0 */;
/*!40101 SET @OLD_SQL_MODE=@@SQL_MODE, SQL_MODE='NO_AUTO_VALUE_ON_ZERO' */;
/*!40111 SET @OLD_SQL_NOTES=@@SQL_NOTES, SQL_NOTES=0 */;
DROP TABLE IF EXISTS `tblinvoiceitems`;
/*!40101 SET @saved_cs_client     = @@character_set_client */;
/*!40101 SET character_set_client = utf8 */;
CREATE TABLE `tblinvoiceitems` (
  `id` int(10) NOT NULL AUTO_INCREMENT,
  `invoiceid` int(10) NOT NULL DEFAULT '0',
  `userid` int(10) NOT NULL,
  `type` varchar(30) COLLATE utf8_unicode_ci NOT NULL,
  `relid` int(10) NOT NULL,
  `description` text COLLATE utf8_unicode_ci NOT NULL,
  `amount` decimal(16,2) NOT NULL DEFAULT '0.00',
  `taxed` int(1) NOT NULL,
  `duedate` date DEFAULT NULL,
  `paymentmethod` text COLLATE utf8_unicode_ci NOT NULL,
  `notes` text COLLATE utf8_unicode_ci NOT NULL,
  PRIMARY KEY (`id`),
  KEY `invoiceid` (`invoiceid`),
  KEY `userid` (`userid`,`type`,`relid`)
) ENGINE=InnoDB DEFAULT CHARSET=utf8 COLLATE=utf8_unicode_ci;
/*!40101 SET character_set_client = @saved_cs_client */;
/*!40103 SET TIME_ZONE=@OLD_TIME_ZONE */;

/*!40101 SET SQL_MODE=@OLD_SQL_MODE */;
/*!40014 SET FOREIGN_KEY_CHECKS=@OLD_FOREIGN_KEY_CHECKS */;
/*!40014 SET UNIQUE_CHECKS=@OLD_UNIQUE_CHECKS */;
/*!40111 SET SQL_NOTES=@OLD_SQL_NOTES */;

install/tbljobs_queue.schema.sql000064400000002513147361027270013047 0ustar00/*!40103 SET @OLD_TIME_ZONE=@@TIME_ZONE */;
/*!40103 SET TIME_ZONE='+00:00' */;
/*!40014 SET @OLD_UNIQUE_CHECKS=@@UNIQUE_CHECKS, UNIQUE_CHECKS=0 */;
/*!40014 SET @OLD_FOREIGN_KEY_CHECKS=@@FOREIGN_KEY_CHECKS, FOREIGN_KEY_CHECKS=0 */;
/*!40101 SET @OLD_SQL_MODE=@@SQL_MODE, SQL_MODE='NO_AUTO_VALUE_ON_ZERO' */;
/*!40111 SET @OLD_SQL_NOTES=@@SQL_NOTES, SQL_NOTES=0 */;
DROP TABLE IF EXISTS `tbljobs_queue`;
/*!40101 SET @saved_cs_client     = @@character_set_client */;
/*!40101 SET character_set_client = utf8 */;
CREATE TABLE `tbljobs_queue` (
  `id` int(10) NOT NULL AUTO_INCREMENT,
  `name` varchar(255) NOT NULL DEFAULT '',
  `class_name` varchar(255) NOT NULL DEFAULT '',
  `method_name` varchar(255) NOT NULL DEFAULT '',
  `input_parameters` text NOT NULL,
  `available_at` datetime NOT NULL,
  `started_at` datetime DEFAULT NULL,
  `digest_hash` varchar(255) NOT NULL DEFAULT '',
  `async` tinyint(1) UNSIGNED NOT NULL DEFAULT 0,
  `created_at` datetime NOT NULL,
  `updated_at` datetime NOT NULL,
  PRIMARY KEY (`id`)
) ENGINE=InnoDB DEFAULT CHARSET=utf8;
/*!40101 SET character_set_client = @saved_cs_client */;
/*!40103 SET TIME_ZONE=@OLD_TIME_ZONE */;

/*!40101 SET SQL_MODE=@OLD_SQL_MODE */;
/*!40014 SET FOREIGN_KEY_CHECKS=@OLD_FOREIGN_KEY_CHECKS */;
/*!40014 SET UNIQUE_CHECKS=@OLD_UNIQUE_CHECKS */;
/*!40111 SET SQL_NOTES=@OLD_SQL_NOTES */;

install/tbllinks.schema.sql000064400000002157147361027270012032 0ustar00/*!40103 SET @OLD_TIME_ZONE=@@TIME_ZONE */;
/*!40103 SET TIME_ZONE='+00:00' */;
/*!40014 SET @OLD_UNIQUE_CHECKS=@@UNIQUE_CHECKS, UNIQUE_CHECKS=0 */;
/*!40014 SET @OLD_FOREIGN_KEY_CHECKS=@@FOREIGN_KEY_CHECKS, FOREIGN_KEY_CHECKS=0 */;
/*!40101 SET @OLD_SQL_MODE=@@SQL_MODE, SQL_MODE='NO_AUTO_VALUE_ON_ZERO' */;
/*!40111 SET @OLD_SQL_NOTES=@@SQL_NOTES, SQL_NOTES=0 */;
DROP TABLE IF EXISTS `tbllinks`;
/*!40101 SET @saved_cs_client     = @@character_set_client */;
/*!40101 SET character_set_client = utf8 */;
CREATE TABLE `tbllinks` (
  `id` int(10) NOT NULL AUTO_INCREMENT,
  `name` text COLLATE utf8_unicode_ci NOT NULL,
  `link` text COLLATE utf8_unicode_ci NOT NULL,
  `clicks` int(10) NOT NULL,
  `conversions` int(10) NOT NULL,
  PRIMARY KEY (`id`),
  KEY `name` (`name`(64))
) ENGINE=InnoDB DEFAULT CHARSET=utf8 COLLATE=utf8_unicode_ci;
/*!40101 SET character_set_client = @saved_cs_client */;
/*!40103 SET TIME_ZONE=@OLD_TIME_ZONE */;

/*!40101 SET SQL_MODE=@OLD_SQL_MODE */;
/*!40014 SET FOREIGN_KEY_CHECKS=@OLD_FOREIGN_KEY_CHECKS */;
/*!40014 SET UNIQUE_CHECKS=@OLD_UNIQUE_CHECKS */;
/*!40111 SET SQL_NOTES=@OLD_SQL_NOTES */;

install/tbloauthserver_auth_codes.schema.sql000064400000003130147361027270015447 0ustar00/*!40103 SET @OLD_TIME_ZONE=@@TIME_ZONE */;
/*!40103 SET TIME_ZONE='+00:00' */;
/*!40014 SET @OLD_UNIQUE_CHECKS=@@UNIQUE_CHECKS, UNIQUE_CHECKS=0 */;
/*!40014 SET @OLD_FOREIGN_KEY_CHECKS=@@FOREIGN_KEY_CHECKS, FOREIGN_KEY_CHECKS=0 */;
/*!40101 SET @OLD_SQL_MODE=@@SQL_MODE, SQL_MODE='NO_AUTO_VALUE_ON_ZERO' */;
/*!40111 SET @OLD_SQL_NOTES=@@SQL_NOTES, SQL_NOTES=0 */;
DROP TABLE IF EXISTS `tbloauthserver_auth_codes`;
/*!40101 SET @saved_cs_client     = @@character_set_client */;
/*!40101 SET character_set_client = utf8 */;
CREATE TABLE `tbloauthserver_auth_codes` (
  `id` int(11) NOT NULL AUTO_INCREMENT,
  `authorization_code` varchar(80) COLLATE utf8_unicode_ci NOT NULL,
  `client_id` varchar(80) COLLATE utf8_unicode_ci NOT NULL DEFAULT '',
  `user_id` varchar(255) COLLATE utf8_unicode_ci NOT NULL DEFAULT '',
  `redirect_uri` varchar(2000) COLLATE utf8_unicode_ci NOT NULL DEFAULT '',
  `id_token` varchar(2000) COLLATE utf8_unicode_ci NOT NULL DEFAULT '',
  `expires` timestamp NOT NULL DEFAULT '0000-00-00 00:00:00',
  `created_at` timestamp NOT NULL DEFAULT '0000-00-00 00:00:00',
  `updated_at` timestamp NOT NULL DEFAULT '0000-00-00 00:00:00',
  PRIMARY KEY (`id`),
  UNIQUE KEY `tbloauthserver_auth_codes_authorization_code_unique` (`authorization_code`)
) ENGINE=InnoDB DEFAULT CHARSET=utf8 COLLATE=utf8_unicode_ci;
/*!40101 SET character_set_client = @saved_cs_client */;
/*!40103 SET TIME_ZONE=@OLD_TIME_ZONE */;

/*!40101 SET SQL_MODE=@OLD_SQL_MODE */;
/*!40014 SET FOREIGN_KEY_CHECKS=@OLD_FOREIGN_KEY_CHECKS */;
/*!40014 SET UNIQUE_CHECKS=@OLD_UNIQUE_CHECKS */;
/*!40111 SET SQL_NOTES=@OLD_SQL_NOTES */;

install/tblticketfeedback.data.sql000064400000001127147361027270013307 0ustar00/*!40103 SET @OLD_TIME_ZONE=@@TIME_ZONE */;
/*!40103 SET TIME_ZONE='+00:00' */;
/*!40014 SET @OLD_FOREIGN_KEY_CHECKS=@@FOREIGN_KEY_CHECKS, FOREIGN_KEY_CHECKS=0 */;
/*!40101 SET @OLD_SQL_MODE=@@SQL_MODE, SQL_MODE='NO_AUTO_VALUE_ON_ZERO' */;
/*!40111 SET @OLD_SQL_NOTES=@@SQL_NOTES, SQL_NOTES=0 */;

/*!40000 ALTER TABLE `tblticketfeedback` DISABLE KEYS */;
/*!40000 ALTER TABLE `tblticketfeedback` ENABLE KEYS */;
/*!40103 SET TIME_ZONE=@OLD_TIME_ZONE */;

/*!40101 SET SQL_MODE=@OLD_SQL_MODE */;
/*!40014 SET FOREIGN_KEY_CHECKS=@OLD_FOREIGN_KEY_CHECKS */;
/*!40111 SET SQL_NOTES=@OLD_SQL_NOTES */;

install/tbldomains_extra.schema.sql000064400000002574147361027270013552 0ustar00/*!40103 SET @OLD_TIME_ZONE=@@TIME_ZONE */;
/*!40103 SET TIME_ZONE='+00:00' */;
/*!40014 SET @OLD_UNIQUE_CHECKS=@@UNIQUE_CHECKS, UNIQUE_CHECKS=0 */;
/*!40014 SET @OLD_FOREIGN_KEY_CHECKS=@@FOREIGN_KEY_CHECKS, FOREIGN_KEY_CHECKS=0 */;
/*!40101 SET @OLD_SQL_MODE=@@SQL_MODE, SQL_MODE='NO_AUTO_VALUE_ON_ZERO' */;
/*!40111 SET @OLD_SQL_NOTES=@@SQL_NOTES, SQL_NOTES=0 */;
DROP TABLE IF EXISTS `tbldomains_extra`;
/*!40101 SET @saved_cs_client     = @@character_set_client */;
/*!40101 SET character_set_client = utf8 */;
CREATE TABLE `tbldomains_extra` (
  `id` int(10) unsigned NOT NULL AUTO_INCREMENT,
  `domain_id` int(11) NOT NULL DEFAULT '0',
  `name` varchar(32) COLLATE utf8_unicode_ci NOT NULL DEFAULT '',
  `value` varchar(255) COLLATE utf8_unicode_ci NOT NULL DEFAULT '',
  `created_at` timestamp NOT NULL DEFAULT '0000-00-00 00:00:00',
  `updated_at` timestamp NOT NULL DEFAULT '0000-00-00 00:00:00',
  PRIMARY KEY (`id`),
  UNIQUE KEY `tbldomains_extra_domain_id_type_unique` (`domain_id`,`name`),
  KEY `tbldomains_extra_type_index` (`name`)
) ENGINE=InnoDB DEFAULT CHARSET=utf8 COLLATE=utf8_unicode_ci;
/*!40101 SET character_set_client = @saved_cs_client */;
/*!40103 SET TIME_ZONE=@OLD_TIME_ZONE */;

/*!40101 SET SQL_MODE=@OLD_SQL_MODE */;
/*!40014 SET FOREIGN_KEY_CHECKS=@OLD_FOREIGN_KEY_CHECKS */;
/*!40014 SET UNIQUE_CHECKS=@OLD_UNIQUE_CHECKS */;
/*!40111 SET SQL_NOTES=@OLD_SQL_NOTES */;

install/tblproductconfiggroups.schema.sql000064400000002070147361027270015012 0ustar00/*!40103 SET @OLD_TIME_ZONE=@@TIME_ZONE */;
/*!40103 SET TIME_ZONE='+00:00' */;
/*!40014 SET @OLD_UNIQUE_CHECKS=@@UNIQUE_CHECKS, UNIQUE_CHECKS=0 */;
/*!40014 SET @OLD_FOREIGN_KEY_CHECKS=@@FOREIGN_KEY_CHECKS, FOREIGN_KEY_CHECKS=0 */;
/*!40101 SET @OLD_SQL_MODE=@@SQL_MODE, SQL_MODE='NO_AUTO_VALUE_ON_ZERO' */;
/*!40111 SET @OLD_SQL_NOTES=@@SQL_NOTES, SQL_NOTES=0 */;
DROP TABLE IF EXISTS `tblproductconfiggroups`;
/*!40101 SET @saved_cs_client     = @@character_set_client */;
/*!40101 SET character_set_client = utf8 */;
CREATE TABLE `tblproductconfiggroups` (
  `id` int(10) NOT NULL AUTO_INCREMENT,
  `name` text COLLATE utf8_unicode_ci NOT NULL,
  `description` text COLLATE utf8_unicode_ci NOT NULL,
  PRIMARY KEY (`id`)
) ENGINE=InnoDB DEFAULT CHARSET=utf8 COLLATE=utf8_unicode_ci;
/*!40101 SET character_set_client = @saved_cs_client */;
/*!40103 SET TIME_ZONE=@OLD_TIME_ZONE */;

/*!40101 SET SQL_MODE=@OLD_SQL_MODE */;
/*!40014 SET FOREIGN_KEY_CHECKS=@OLD_FOREIGN_KEY_CHECKS */;
/*!40014 SET UNIQUE_CHECKS=@OLD_UNIQUE_CHECKS */;
/*!40111 SET SQL_NOTES=@OLD_SQL_NOTES */;

install/tbloauthserver_authcode_scopes.schema.sql000064400000002262147361027270016506 0ustar00/*!40103 SET @OLD_TIME_ZONE=@@TIME_ZONE */;
/*!40103 SET TIME_ZONE='+00:00' */;
/*!40014 SET @OLD_UNIQUE_CHECKS=@@UNIQUE_CHECKS, UNIQUE_CHECKS=0 */;
/*!40014 SET @OLD_FOREIGN_KEY_CHECKS=@@FOREIGN_KEY_CHECKS, FOREIGN_KEY_CHECKS=0 */;
/*!40101 SET @OLD_SQL_MODE=@@SQL_MODE, SQL_MODE='NO_AUTO_VALUE_ON_ZERO' */;
/*!40111 SET @OLD_SQL_NOTES=@@SQL_NOTES, SQL_NOTES=0 */;
DROP TABLE IF EXISTS `tbloauthserver_authcode_scopes`;
/*!40101 SET @saved_cs_client     = @@character_set_client */;
/*!40101 SET character_set_client = utf8 */;
CREATE TABLE `tbloauthserver_authcode_scopes` (
  `id` int(10) NOT NULL AUTO_INCREMENT,
  `authorization_code_id` int(10) unsigned NOT NULL DEFAULT '0',
  `scope_id` int(10) unsigned NOT NULL DEFAULT '0',
  PRIMARY KEY (`id`),
  KEY `tbloauthserver_authcode_scopes_scope_id_index` (`authorization_code_id`,`scope_id`)
) ENGINE=InnoDB DEFAULT CHARSET=utf8 COLLATE=utf8_unicode_ci;
/*!40101 SET character_set_client = @saved_cs_client */;
/*!40103 SET TIME_ZONE=@OLD_TIME_ZONE */;

/*!40101 SET SQL_MODE=@OLD_SQL_MODE */;
/*!40014 SET FOREIGN_KEY_CHECKS=@OLD_FOREIGN_KEY_CHECKS */;
/*!40014 SET UNIQUE_CHECKS=@OLD_UNIQUE_CHECKS */;
/*!40111 SET SQL_NOTES=@OLD_SQL_NOTES */;

install/tblemails.data.sql000064400000001107147361027270011627 0ustar00/*!40103 SET @OLD_TIME_ZONE=@@TIME_ZONE */;
/*!40103 SET TIME_ZONE='+00:00' */;
/*!40014 SET @OLD_FOREIGN_KEY_CHECKS=@@FOREIGN_KEY_CHECKS, FOREIGN_KEY_CHECKS=0 */;
/*!40101 SET @OLD_SQL_MODE=@@SQL_MODE, SQL_MODE='NO_AUTO_VALUE_ON_ZERO' */;
/*!40111 SET @OLD_SQL_NOTES=@@SQL_NOTES, SQL_NOTES=0 */;

/*!40000 ALTER TABLE `tblemails` DISABLE KEYS */;
/*!40000 ALTER TABLE `tblemails` ENABLE KEYS */;
/*!40103 SET TIME_ZONE=@OLD_TIME_ZONE */;

/*!40101 SET SQL_MODE=@OLD_SQL_MODE */;
/*!40014 SET FOREIGN_KEY_CHECKS=@OLD_FOREIGN_KEY_CHECKS */;
/*!40111 SET SQL_NOTES=@OLD_SQL_NOTES */;

install/tblusers_validation.data.sql000064400000001131147361027270013725 0ustar00/*!40103 SET @OLD_TIME_ZONE=@@TIME_ZONE */;
/*!40103 SET TIME_ZONE='+00:00' */;
/*!40014 SET @OLD_FOREIGN_KEY_CHECKS=@@FOREIGN_KEY_CHECKS, FOREIGN_KEY_CHECKS=0 */;
/*!40101 SET @OLD_SQL_MODE=@@SQL_MODE, SQL_MODE='NO_AUTO_VALUE_ON_ZERO' */;
/*!40111 SET @OLD_SQL_NOTES=@@SQL_NOTES, SQL_NOTES=0 */;

/*!40000 ALTER TABLE `tbluser_validation` DISABLE KEYS */;
/*!40000 ALTER TABLE `tbluser_validation` ENABLE KEYS */;
/*!40103 SET TIME_ZONE=@OLD_TIME_ZONE */;

/*!40101 SET SQL_MODE=@OLD_SQL_MODE */;
/*!40014 SET FOREIGN_KEY_CHECKS=@OLD_FOREIGN_KEY_CHECKS */;
/*!40111 SET SQL_NOTES=@OLD_SQL_NOTES */;

install/tblauthn_account_links.schema.sql000064400000002647147361027270014751 0ustar00/*!40103 SET @OLD_TIME_ZONE=@@TIME_ZONE */;
/*!40103 SET TIME_ZONE='+00:00' */;
/*!40014 SET @OLD_UNIQUE_CHECKS=@@UNIQUE_CHECKS, UNIQUE_CHECKS=0 */;
/*!40014 SET @OLD_FOREIGN_KEY_CHECKS=@@FOREIGN_KEY_CHECKS, FOREIGN_KEY_CHECKS=0 */;
/*!40101 SET @OLD_SQL_MODE=@@SQL_MODE, SQL_MODE='NO_AUTO_VALUE_ON_ZERO' */;
/*!40111 SET @OLD_SQL_NOTES=@@SQL_NOTES, SQL_NOTES=0 */;
DROP TABLE IF EXISTS `tblauthn_account_links`;
/*!40101 SET @saved_cs_client     = @@character_set_client */;
/*!40101 SET character_set_client = utf8 */;
CREATE TABLE `tblauthn_account_links` (
  `id` int(10) unsigned NOT NULL AUTO_INCREMENT,
  `provider` char(32) COLLATE utf8_unicode_ci NOT NULL,
  `remote_user_id` char(255) COLLATE utf8_unicode_ci DEFAULT NULL,
  `user_id` int(11) DEFAULT NULL,
  `client_id` int(11) DEFAULT NULL,
  `contact_id` int(11) DEFAULT NULL,
  `metadata` text COLLATE utf8_unicode_ci,
  `created_at` timestamp NULL DEFAULT NULL,
  `updated_at` timestamp NULL DEFAULT NULL,
  PRIMARY KEY (`id`),
  UNIQUE KEY `tblauthn_account_links_provider_remote_user_id_unique` (`provider`,`remote_user_id`)
) ENGINE=InnoDB DEFAULT CHARSET=utf8 COLLATE=utf8_unicode_ci;
/*!40101 SET character_set_client = @saved_cs_client */;
/*!40103 SET TIME_ZONE=@OLD_TIME_ZONE */;

/*!40101 SET SQL_MODE=@OLD_SQL_MODE */;
/*!40014 SET FOREIGN_KEY_CHECKS=@OLD_FOREIGN_KEY_CHECKS */;
/*!40014 SET UNIQUE_CHECKS=@OLD_UNIQUE_CHECKS */;
/*!40111 SET SQL_NOTES=@OLD_SQL_NOTES */;

install/tblnotificationproviders.data.sql000064400000001145147361027270015003 0ustar00/*!40103 SET @OLD_TIME_ZONE=@@TIME_ZONE */;
/*!40103 SET TIME_ZONE='+00:00' */;
/*!40014 SET @OLD_FOREIGN_KEY_CHECKS=@@FOREIGN_KEY_CHECKS, FOREIGN_KEY_CHECKS=0 */;
/*!40101 SET @OLD_SQL_MODE=@@SQL_MODE, SQL_MODE='NO_AUTO_VALUE_ON_ZERO' */;
/*!40111 SET @OLD_SQL_NOTES=@@SQL_NOTES, SQL_NOTES=0 */;

/*!40000 ALTER TABLE `tblnotificationproviders` DISABLE KEYS */;
/*!40000 ALTER TABLE `tblnotificationproviders` ENABLE KEYS */;
/*!40103 SET TIME_ZONE=@OLD_TIME_ZONE */;

/*!40101 SET SQL_MODE=@OLD_SQL_MODE */;
/*!40014 SET FOREIGN_KEY_CHECKS=@OLD_FOREIGN_KEY_CHECKS */;
/*!40111 SET SQL_NOTES=@OLD_SQL_NOTES */;

install/tblpricing.data.sql000064400000001111147361027270012003 0ustar00/*!40103 SET @OLD_TIME_ZONE=@@TIME_ZONE */;
/*!40103 SET TIME_ZONE='+00:00' */;
/*!40014 SET @OLD_FOREIGN_KEY_CHECKS=@@FOREIGN_KEY_CHECKS, FOREIGN_KEY_CHECKS=0 */;
/*!40101 SET @OLD_SQL_MODE=@@SQL_MODE, SQL_MODE='NO_AUTO_VALUE_ON_ZERO' */;
/*!40111 SET @OLD_SQL_NOTES=@@SQL_NOTES, SQL_NOTES=0 */;

/*!40000 ALTER TABLE `tblpricing` DISABLE KEYS */;
/*!40000 ALTER TABLE `tblpricing` ENABLE KEYS */;
/*!40103 SET TIME_ZONE=@OLD_TIME_ZONE */;

/*!40101 SET SQL_MODE=@OLD_SQL_MODE */;
/*!40014 SET FOREIGN_KEY_CHECKS=@OLD_FOREIGN_KEY_CHECKS */;
/*!40111 SET SQL_NOTES=@OLD_SQL_NOTES */;

install/tblpromotions.schema.sql000064400000003464147361027270013125 0ustar00/*!40103 SET @OLD_TIME_ZONE=@@TIME_ZONE */;
/*!40103 SET TIME_ZONE='+00:00' */;
/*!40014 SET @OLD_UNIQUE_CHECKS=@@UNIQUE_CHECKS, UNIQUE_CHECKS=0 */;
/*!40014 SET @OLD_FOREIGN_KEY_CHECKS=@@FOREIGN_KEY_CHECKS, FOREIGN_KEY_CHECKS=0 */;
/*!40101 SET @OLD_SQL_MODE=@@SQL_MODE, SQL_MODE='NO_AUTO_VALUE_ON_ZERO' */;
/*!40111 SET @OLD_SQL_NOTES=@@SQL_NOTES, SQL_NOTES=0 */;
DROP TABLE IF EXISTS `tblpromotions`;
/*!40101 SET @saved_cs_client     = @@character_set_client */;
/*!40101 SET character_set_client = utf8 */;
CREATE TABLE `tblpromotions` (
  `id` int(10) NOT NULL AUTO_INCREMENT,
  `code` text COLLATE utf8_unicode_ci NOT NULL,
  `type` text COLLATE utf8_unicode_ci NOT NULL,
  `recurring` int(1) DEFAULT NULL,
  `value` decimal(16,2) NOT NULL DEFAULT '0.00',
  `cycles` text COLLATE utf8_unicode_ci NOT NULL,
  `appliesto` text COLLATE utf8_unicode_ci NOT NULL,
  `requires` text COLLATE utf8_unicode_ci NOT NULL,
  `requiresexisting` int(1) NOT NULL,
  `startdate` date NOT NULL,
  `expirationdate` date DEFAULT NULL,
  `maxuses` int(10) NOT NULL DEFAULT '0',
  `uses` int(10) NOT NULL DEFAULT '0',
  `lifetimepromo` int(1) NOT NULL,
  `applyonce` int(1) NOT NULL,
  `newsignups` int(1) NOT NULL,
  `existingclient` int(11) NOT NULL,
  `onceperclient` int(11) NOT NULL,
  `recurfor` int(3) NOT NULL,
  `upgrades` int(1) NOT NULL,
  `upgradeconfig` text COLLATE utf8_unicode_ci NOT NULL,
  `notes` text COLLATE utf8_unicode_ci NOT NULL,
  PRIMARY KEY (`id`),
  KEY `code` (`code`(32))
) ENGINE=InnoDB DEFAULT CHARSET=utf8 COLLATE=utf8_unicode_ci;
/*!40101 SET character_set_client = @saved_cs_client */;
/*!40103 SET TIME_ZONE=@OLD_TIME_ZONE */;

/*!40101 SET SQL_MODE=@OLD_SQL_MODE */;
/*!40014 SET FOREIGN_KEY_CHECKS=@OLD_FOREIGN_KEY_CHECKS */;
/*!40014 SET UNIQUE_CHECKS=@OLD_UNIQUE_CHECKS */;
/*!40111 SET SQL_NOTES=@OLD_SQL_NOTES */;

install/tbltodolist.data.sql000064400000001113147361027270012213 0ustar00/*!40103 SET @OLD_TIME_ZONE=@@TIME_ZONE */;
/*!40103 SET TIME_ZONE='+00:00' */;
/*!40014 SET @OLD_FOREIGN_KEY_CHECKS=@@FOREIGN_KEY_CHECKS, FOREIGN_KEY_CHECKS=0 */;
/*!40101 SET @OLD_SQL_MODE=@@SQL_MODE, SQL_MODE='NO_AUTO_VALUE_ON_ZERO' */;
/*!40111 SET @OLD_SQL_NOTES=@@SQL_NOTES, SQL_NOTES=0 */;

/*!40000 ALTER TABLE `tbltodolist` DISABLE KEYS */;
/*!40000 ALTER TABLE `tbltodolist` ENABLE KEYS */;
/*!40103 SET TIME_ZONE=@OLD_TIME_ZONE */;

/*!40101 SET SQL_MODE=@OLD_SQL_MODE */;
/*!40014 SET FOREIGN_KEY_CHECKS=@OLD_FOREIGN_KEY_CHECKS */;
/*!40111 SET SQL_NOTES=@OLD_SQL_NOTES */;

install/tblusers_clients.schema.sql000064400000002661147361027270013574 0ustar00/*!40103 SET @OLD_TIME_ZONE=@@TIME_ZONE */;
/*!40103 SET TIME_ZONE='+00:00' */;
/*!40014 SET @OLD_UNIQUE_CHECKS=@@UNIQUE_CHECKS, UNIQUE_CHECKS=0 */;
/*!40014 SET @OLD_FOREIGN_KEY_CHECKS=@@FOREIGN_KEY_CHECKS, FOREIGN_KEY_CHECKS=0 */;
/*!40101 SET @OLD_SQL_MODE=@@SQL_MODE, SQL_MODE='NO_AUTO_VALUE_ON_ZERO' */;
/*!40111 SET @OLD_SQL_NOTES=@@SQL_NOTES, SQL_NOTES=0 */;
DROP TABLE IF EXISTS `tblusers_clients`;
/*!40101 SET @saved_cs_client     = @@character_set_client */;
/*!40101 SET character_set_client = utf8 */;
CREATE TABLE `tblusers_clients` (
  `id` int(10) unsigned NOT NULL AUTO_INCREMENT,
  `auth_user_id` int(10) unsigned NOT NULL DEFAULT '0',
  `client_id` int(10) unsigned NOT NULL DEFAULT '0',
  `invite_id` int(10) unsigned NOT NULL DEFAULT '0',
  `owner` tinyint(3) unsigned NOT NULL DEFAULT '0',
  `permissions` text,
  `last_login` timestamp NULL DEFAULT NULL,
  `created_at` timestamp NULL DEFAULT NULL,
  `updated_at` timestamp NULL DEFAULT NULL,
  PRIMARY KEY (`id`),
  UNIQUE KEY `user_id_client_id` (`auth_user_id`,`client_id`),
  KEY `client_id_owner_idx` (`client_id`,`owner`)
) ENGINE=InnoDB DEFAULT CHARSET=utf8 COLLATE=utf8_unicode_ci;

/*!40101 SET character_set_client = @saved_cs_client */;
/*!40103 SET TIME_ZONE=@OLD_TIME_ZONE */;

/*!40101 SET SQL_MODE=@OLD_SQL_MODE */;
/*!40014 SET FOREIGN_KEY_CHECKS=@OLD_FOREIGN_KEY_CHECKS */;
/*!40014 SET UNIQUE_CHECKS=@OLD_UNIQUE_CHECKS */;
/*!40111 SET SQL_NOTES=@OLD_SQL_NOTES */;

install/tblcustomfieldsvalues.schema.sql000064400000002411147361027270014624 0ustar00/*!40103 SET @OLD_TIME_ZONE=@@TIME_ZONE */;
/*!40103 SET TIME_ZONE='+00:00' */;
/*!40014 SET @OLD_UNIQUE_CHECKS=@@UNIQUE_CHECKS, UNIQUE_CHECKS=0 */;
/*!40014 SET @OLD_FOREIGN_KEY_CHECKS=@@FOREIGN_KEY_CHECKS, FOREIGN_KEY_CHECKS=0 */;
/*!40101 SET @OLD_SQL_MODE=@@SQL_MODE, SQL_MODE='NO_AUTO_VALUE_ON_ZERO' */;
/*!40111 SET @OLD_SQL_NOTES=@@SQL_NOTES, SQL_NOTES=0 */;
DROP TABLE IF EXISTS `tblcustomfieldsvalues`;
/*!40101 SET @saved_cs_client     = @@character_set_client */;
/*!40101 SET character_set_client = utf8 */;
CREATE TABLE `tblcustomfieldsvalues` (
  `id` int(10) unsigned NOT NULL AUTO_INCREMENT,
  `fieldid` int(10) NOT NULL,
  `relid` int(10) NOT NULL,
  `value` text COLLATE utf8_unicode_ci NOT NULL,
  `created_at` timestamp NOT NULL DEFAULT '0000-00-00 00:00:00',
  `updated_at` timestamp NOT NULL DEFAULT '0000-00-00 00:00:00',
  PRIMARY KEY (`id`),
  KEY `fieldid_relid` (`fieldid`,`relid`),
  KEY `relid` (`relid`)
) ENGINE=InnoDB DEFAULT CHARSET=utf8 COLLATE=utf8_unicode_ci;
/*!40101 SET character_set_client = @saved_cs_client */;
/*!40103 SET TIME_ZONE=@OLD_TIME_ZONE */;

/*!40101 SET SQL_MODE=@OLD_SQL_MODE */;
/*!40014 SET FOREIGN_KEY_CHECKS=@OLD_FOREIGN_KEY_CHECKS */;
/*!40014 SET UNIQUE_CHECKS=@OLD_UNIQUE_CHECKS */;
/*!40111 SET SQL_NOTES=@OLD_SQL_NOTES */;

install/tblerrorlog.data.sql000064400000001113147361027270012205 0ustar00/*!40103 SET @OLD_TIME_ZONE=@@TIME_ZONE */;
/*!40103 SET TIME_ZONE='+00:00' */;
/*!40014 SET @OLD_FOREIGN_KEY_CHECKS=@@FOREIGN_KEY_CHECKS, FOREIGN_KEY_CHECKS=0 */;
/*!40101 SET @OLD_SQL_MODE=@@SQL_MODE, SQL_MODE='NO_AUTO_VALUE_ON_ZERO' */;
/*!40111 SET @OLD_SQL_NOTES=@@SQL_NOTES, SQL_NOTES=0 */;

/*!40000 ALTER TABLE `tblerrorlog` DISABLE KEYS */;
/*!40000 ALTER TABLE `tblerrorlog` ENABLE KEYS */;
/*!40103 SET TIME_ZONE=@OLD_TIME_ZONE */;

/*!40101 SET SQL_MODE=@OLD_SQL_MODE */;
/*!40014 SET FOREIGN_KEY_CHECKS=@OLD_FOREIGN_KEY_CHECKS */;
/*!40111 SET SQL_NOTES=@OLD_SQL_NOTES */;

install/tblnetworkissues.schema.sql000064400000003256147361027270013640 0ustar00/*!40103 SET @OLD_TIME_ZONE=@@TIME_ZONE */;
/*!40103 SET TIME_ZONE='+00:00' */;
/*!40014 SET @OLD_UNIQUE_CHECKS=@@UNIQUE_CHECKS, UNIQUE_CHECKS=0 */;
/*!40014 SET @OLD_FOREIGN_KEY_CHECKS=@@FOREIGN_KEY_CHECKS, FOREIGN_KEY_CHECKS=0 */;
/*!40101 SET @OLD_SQL_MODE=@@SQL_MODE, SQL_MODE='NO_AUTO_VALUE_ON_ZERO' */;
/*!40111 SET @OLD_SQL_NOTES=@@SQL_NOTES, SQL_NOTES=0 */;
DROP TABLE IF EXISTS `tblnetworkissues`;
/*!40101 SET @saved_cs_client     = @@character_set_client */;
/*!40101 SET character_set_client = utf8 */;
CREATE TABLE `tblnetworkissues` (
  `id` int(10) unsigned NOT NULL AUTO_INCREMENT,
  `title` varchar(150) COLLATE utf8_unicode_ci NOT NULL,
  `description` text COLLATE utf8_unicode_ci NOT NULL,
  `type` enum('Server','System','Other') COLLATE utf8_unicode_ci NOT NULL,
  `affecting` varchar(100) COLLATE utf8_unicode_ci DEFAULT NULL,
  `server` int(10) unsigned DEFAULT NULL,
  `priority` enum('Critical','Low','Medium','High') COLLATE utf8_unicode_ci NOT NULL,
  `startdate` datetime NOT NULL,
  `enddate` datetime DEFAULT NULL,
  `status` enum('Reported','Investigating','In Progress','Outage','Scheduled','Resolved') COLLATE utf8_unicode_ci NOT NULL,
  `lastupdate` datetime NOT NULL,
  `created_at` timestamp NOT NULL DEFAULT '0000-00-00 00:00:00',
  `updated_at` timestamp NOT NULL DEFAULT '0000-00-00 00:00:00',
  PRIMARY KEY (`id`)
) ENGINE=InnoDB DEFAULT CHARSET=utf8 COLLATE=utf8_unicode_ci;
/*!40101 SET character_set_client = @saved_cs_client */;
/*!40103 SET TIME_ZONE=@OLD_TIME_ZONE */;

/*!40101 SET SQL_MODE=@OLD_SQL_MODE */;
/*!40014 SET FOREIGN_KEY_CHECKS=@OLD_FOREIGN_KEY_CHECKS */;
/*!40014 SET UNIQUE_CHECKS=@OLD_UNIQUE_CHECKS */;
/*!40111 SET SQL_NOTES=@OLD_SQL_NOTES */;

install/tbllinks.data.sql000064400000001105147361027270011473 0ustar00/*!40103 SET @OLD_TIME_ZONE=@@TIME_ZONE */;
/*!40103 SET TIME_ZONE='+00:00' */;
/*!40014 SET @OLD_FOREIGN_KEY_CHECKS=@@FOREIGN_KEY_CHECKS, FOREIGN_KEY_CHECKS=0 */;
/*!40101 SET @OLD_SQL_MODE=@@SQL_MODE, SQL_MODE='NO_AUTO_VALUE_ON_ZERO' */;
/*!40111 SET @OLD_SQL_NOTES=@@SQL_NOTES, SQL_NOTES=0 */;

/*!40000 ALTER TABLE `tbllinks` DISABLE KEYS */;
/*!40000 ALTER TABLE `tbllinks` ENABLE KEYS */;
/*!40103 SET TIME_ZONE=@OLD_TIME_ZONE */;

/*!40101 SET SQL_MODE=@OLD_SQL_MODE */;
/*!40014 SET FOREIGN_KEY_CHECKS=@OLD_FOREIGN_KEY_CHECKS */;
/*!40111 SET SQL_NOTES=@OLD_SQL_NOTES */;

install/tbloauthserver_user_authz_scopes.schema.sql000064400000002250147361027270017100 0ustar00/*!40103 SET @OLD_TIME_ZONE=@@TIME_ZONE */;
/*!40103 SET TIME_ZONE='+00:00' */;
/*!40014 SET @OLD_UNIQUE_CHECKS=@@UNIQUE_CHECKS, UNIQUE_CHECKS=0 */;
/*!40014 SET @OLD_FOREIGN_KEY_CHECKS=@@FOREIGN_KEY_CHECKS, FOREIGN_KEY_CHECKS=0 */;
/*!40101 SET @OLD_SQL_MODE=@@SQL_MODE, SQL_MODE='NO_AUTO_VALUE_ON_ZERO' */;
/*!40111 SET @OLD_SQL_NOTES=@@SQL_NOTES, SQL_NOTES=0 */;
DROP TABLE IF EXISTS `tbloauthserver_user_authz_scopes`;
/*!40101 SET @saved_cs_client     = @@character_set_client */;
/*!40101 SET character_set_client = utf8 */;
CREATE TABLE `tbloauthserver_user_authz_scopes` (
  `id` int(10) NOT NULL AUTO_INCREMENT,
  `user_authz_id` int(10) unsigned NOT NULL DEFAULT '0',
  `scope_id` int(10) unsigned NOT NULL DEFAULT '0',
  PRIMARY KEY (`id`),
  KEY `tbloauthserver_user_authz_scopes_scope_id_index` (`user_authz_id`,`scope_id`)
) ENGINE=InnoDB DEFAULT CHARSET=utf8 COLLATE=utf8_unicode_ci;
/*!40101 SET character_set_client = @saved_cs_client */;
/*!40103 SET TIME_ZONE=@OLD_TIME_ZONE */;

/*!40101 SET SQL_MODE=@OLD_SQL_MODE */;
/*!40014 SET FOREIGN_KEY_CHECKS=@OLD_FOREIGN_KEY_CHECKS */;
/*!40014 SET UNIQUE_CHECKS=@OLD_UNIQUE_CHECKS */;
/*!40111 SET SQL_NOTES=@OLD_SQL_NOTES */;

install/tbladminroles.schema.sql000064400000002274147361027270013047 0ustar00/*!40103 SET @OLD_TIME_ZONE=@@TIME_ZONE */;
/*!40103 SET TIME_ZONE='+00:00' */;
/*!40014 SET @OLD_UNIQUE_CHECKS=@@UNIQUE_CHECKS, UNIQUE_CHECKS=0 */;
/*!40014 SET @OLD_FOREIGN_KEY_CHECKS=@@FOREIGN_KEY_CHECKS, FOREIGN_KEY_CHECKS=0 */;
/*!40101 SET @OLD_SQL_MODE=@@SQL_MODE, SQL_MODE='NO_AUTO_VALUE_ON_ZERO' */;
/*!40111 SET @OLD_SQL_NOTES=@@SQL_NOTES, SQL_NOTES=0 */;
DROP TABLE IF EXISTS `tbladminroles`;
/*!40101 SET @saved_cs_client     = @@character_set_client */;
/*!40101 SET character_set_client = utf8 */;
CREATE TABLE `tbladminroles` (
  `id` int(1) NOT NULL AUTO_INCREMENT,
  `name` text COLLATE utf8_unicode_ci NOT NULL,
  `widgets` text COLLATE utf8_unicode_ci NOT NULL,
  `reports` text COLLATE utf8_unicode_ci NOT NULL,
  `systememails` int(1) NOT NULL,
  `accountemails` int(1) NOT NULL,
  `supportemails` int(1) NOT NULL,
  PRIMARY KEY (`id`)
) ENGINE=InnoDB DEFAULT CHARSET=utf8 COLLATE=utf8_unicode_ci;
/*!40101 SET character_set_client = @saved_cs_client */;
/*!40103 SET TIME_ZONE=@OLD_TIME_ZONE */;

/*!40101 SET SQL_MODE=@OLD_SQL_MODE */;
/*!40014 SET FOREIGN_KEY_CHECKS=@OLD_FOREIGN_KEY_CHECKS */;
/*!40014 SET UNIQUE_CHECKS=@OLD_UNIQUE_CHECKS */;
/*!40111 SET SQL_NOTES=@OLD_SQL_NOTES */;

install/tblknowledgebasetags.data.sql000064400000001135147361027270014047 0ustar00/*!40103 SET @OLD_TIME_ZONE=@@TIME_ZONE */;
/*!40103 SET TIME_ZONE='+00:00' */;
/*!40014 SET @OLD_FOREIGN_KEY_CHECKS=@@FOREIGN_KEY_CHECKS, FOREIGN_KEY_CHECKS=0 */;
/*!40101 SET @OLD_SQL_MODE=@@SQL_MODE, SQL_MODE='NO_AUTO_VALUE_ON_ZERO' */;
/*!40111 SET @OLD_SQL_NOTES=@@SQL_NOTES, SQL_NOTES=0 */;

/*!40000 ALTER TABLE `tblknowledgebasetags` DISABLE KEYS */;
/*!40000 ALTER TABLE `tblknowledgebasetags` ENABLE KEYS */;
/*!40103 SET TIME_ZONE=@OLD_TIME_ZONE */;

/*!40101 SET SQL_MODE=@OLD_SQL_MODE */;
/*!40014 SET FOREIGN_KEY_CHECKS=@OLD_FOREIGN_KEY_CHECKS */;
/*!40111 SET SQL_NOTES=@OLD_SQL_NOTES */;

install/tblpaymentgateways_product_mapping.data.sql000064400000001171147361027270017053 0ustar00/*!40103 SET @OLD_TIME_ZONE=@@TIME_ZONE */;
/*!40103 SET TIME_ZONE='+00:00' */;
/*!40014 SET @OLD_FOREIGN_KEY_CHECKS=@@FOREIGN_KEY_CHECKS, FOREIGN_KEY_CHECKS=0 */;
/*!40101 SET @OLD_SQL_MODE=@@SQL_MODE, SQL_MODE='NO_AUTO_VALUE_ON_ZERO' */;
/*!40111 SET @OLD_SQL_NOTES=@@SQL_NOTES, SQL_NOTES=0 */;

/*!40000 ALTER TABLE `tblpaymentgateways_product_mapping` DISABLE KEYS */;
/*!40000 ALTER TABLE `tblpaymentgateways_product_mapping` ENABLE KEYS */;
/*!40103 SET TIME_ZONE=@OLD_TIME_ZONE */;

/*!40101 SET SQL_MODE=@OLD_SQL_MODE */;
/*!40014 SET FOREIGN_KEY_CHECKS=@OLD_FOREIGN_KEY_CHECKS */;
/*!40111 SET SQL_NOTES=@OLD_SQL_NOTES */;

install/tblemailmarketer_related_pivot.schema.sql000064400000002411147361027270016446 0ustar00/*!40103 SET @OLD_TIME_ZONE=@@TIME_ZONE */;
/*!40103 SET TIME_ZONE='+00:00' */;
/*!40014 SET @OLD_UNIQUE_CHECKS=@@UNIQUE_CHECKS, UNIQUE_CHECKS=0 */;
/*!40014 SET @OLD_FOREIGN_KEY_CHECKS=@@FOREIGN_KEY_CHECKS, FOREIGN_KEY_CHECKS=0 */;
/*!40101 SET @OLD_SQL_MODE=@@SQL_MODE, SQL_MODE='NO_AUTO_VALUE_ON_ZERO' */;
/*!40111 SET @OLD_SQL_NOTES=@@SQL_NOTES, SQL_NOTES=0 */;
DROP TABLE IF EXISTS `tblemailmarketer_related_pivot`;
/*!40101 SET @saved_cs_client     = @@character_set_client */;
/*!40101 SET character_set_client = utf8 */;
CREATE TABLE `tblemailmarketer_related_pivot` (
  `id` int(10) unsigned NOT NULL AUTO_INCREMENT,
  `task_id` int(10) unsigned NOT NULL DEFAULT '0',
  `product_id` int(10) unsigned NOT NULL DEFAULT '0',
  `addon_id` int(10) unsigned NOT NULL DEFAULT '0',
  `created_at` timestamp NOT NULL DEFAULT '0000-00-00 00:00:00',
  `updated_at` timestamp NOT NULL DEFAULT '0000-00-00 00:00:00',
  PRIMARY KEY (`id`)
) ENGINE=InnoDB DEFAULT CHARSET=utf8 COLLATE=utf8_unicode_ci;
/*!40101 SET character_set_client = @saved_cs_client */;
/*!40103 SET TIME_ZONE=@OLD_TIME_ZONE */;

/*!40101 SET SQL_MODE=@OLD_SQL_MODE */;
/*!40014 SET FOREIGN_KEY_CHECKS=@OLD_FOREIGN_KEY_CHECKS */;
/*!40014 SET UNIQUE_CHECKS=@OLD_UNIQUE_CHECKS */;
/*!40111 SET SQL_NOTES=@OLD_SQL_NOTES */;

install/tblusers_validation.schema.sql000064400000002416147361027270014263 0ustar00/*!40103 SET @OLD_TIME_ZONE=@@TIME_ZONE */;
/*!40103 SET TIME_ZONE='+00:00' */;
/*!40014 SET @OLD_UNIQUE_CHECKS=@@UNIQUE_CHECKS, UNIQUE_CHECKS=0 */;
/*!40014 SET @OLD_FOREIGN_KEY_CHECKS=@@FOREIGN_KEY_CHECKS, FOREIGN_KEY_CHECKS=0 */;
/*!40101 SET @OLD_SQL_MODE=@@SQL_MODE, SQL_MODE='NO_AUTO_VALUE_ON_ZERO' */;
/*!40111 SET @OLD_SQL_NOTES=@@SQL_NOTES, SQL_NOTES=0 */;
DROP TABLE IF EXISTS `tbluser_validation`;
/*!40101 SET @saved_cs_client     = @@character_set_client */;
/*!40101 SET character_set_client = utf8 */;
CREATE TABLE `tbluser_validation` (
  `id` int(10) unsigned NOT NULL AUTO_INCREMENT,
  `requestor_id` int(10) unsigned NULL DEFAULT NULL,
  `token` varchar(100) NULL DEFAULT NULL,
  `status` varchar(255) NULL DEFAULT NULL,
  `submitted_at` timestamp NULL DEFAULT NULL,
  `reviewed_at` timestamp NULL DEFAULT NULL,
  `created_at` timestamp NULL DEFAULT NULL,
  `updated_at` timestamp NULL DEFAULT NULL,
  PRIMARY KEY (`id`)
) ENGINE=InnoDB DEFAULT CHARSET=utf8 COLLATE=utf8_unicode_ci;
/*!40101 SET character_set_client = @saved_cs_client */;
/*!40103 SET TIME_ZONE=@OLD_TIME_ZONE */;

/*!40101 SET SQL_MODE=@OLD_SQL_MODE */;
/*!40014 SET FOREIGN_KEY_CHECKS=@OLD_FOREIGN_KEY_CHECKS */;
/*!40014 SET UNIQUE_CHECKS=@OLD_UNIQUE_CHECKS */;
/*!40111 SET SQL_NOTES=@OLD_SQL_NOTES */;
install/tblusage_items.data.sql000064400000001121147361027270012656 0ustar00/*!40103 SET @OLD_TIME_ZONE=@@TIME_ZONE */;
/*!40103 SET TIME_ZONE='+00:00' */;
/*!40014 SET @OLD_FOREIGN_KEY_CHECKS=@@FOREIGN_KEY_CHECKS, FOREIGN_KEY_CHECKS=0 */;
/*!40101 SET @OLD_SQL_MODE=@@SQL_MODE, SQL_MODE='NO_AUTO_VALUE_ON_ZERO' */;
/*!40111 SET @OLD_SQL_NOTES=@@SQL_NOTES, SQL_NOTES=0 */;

/*!40000 ALTER TABLE `tblusage_items` DISABLE KEYS */;
/*!40000 ALTER TABLE `tblusage_items` ENABLE KEYS */;
/*!40103 SET TIME_ZONE=@OLD_TIME_ZONE */;

/*!40101 SET SQL_MODE=@OLD_SQL_MODE */;
/*!40014 SET FOREIGN_KEY_CHECKS=@OLD_FOREIGN_KEY_CHECKS */;
/*!40111 SET SQL_NOTES=@OLD_SQL_NOTES */;

install/tblnetworkissues.data.sql000064400000001125147361027270013302 0ustar00/*!40103 SET @OLD_TIME_ZONE=@@TIME_ZONE */;
/*!40103 SET TIME_ZONE='+00:00' */;
/*!40014 SET @OLD_FOREIGN_KEY_CHECKS=@@FOREIGN_KEY_CHECKS, FOREIGN_KEY_CHECKS=0 */;
/*!40101 SET @OLD_SQL_MODE=@@SQL_MODE, SQL_MODE='NO_AUTO_VALUE_ON_ZERO' */;
/*!40111 SET @OLD_SQL_NOTES=@@SQL_NOTES, SQL_NOTES=0 */;

/*!40000 ALTER TABLE `tblnetworkissues` DISABLE KEYS */;
/*!40000 ALTER TABLE `tblnetworkissues` ENABLE KEYS */;
/*!40103 SET TIME_ZONE=@OLD_TIME_ZONE */;

/*!40101 SET SQL_MODE=@OLD_SQL_MODE */;
/*!40014 SET FOREIGN_KEY_CHECKS=@OLD_FOREIGN_KEY_CHECKS */;
/*!40111 SET SQL_NOTES=@OLD_SQL_NOTES */;

install/tblticketlog.schema.sql000064400000002072147361027270012673 0ustar00/*!40103 SET @OLD_TIME_ZONE=@@TIME_ZONE */;
/*!40103 SET TIME_ZONE='+00:00' */;
/*!40014 SET @OLD_UNIQUE_CHECKS=@@UNIQUE_CHECKS, UNIQUE_CHECKS=0 */;
/*!40014 SET @OLD_FOREIGN_KEY_CHECKS=@@FOREIGN_KEY_CHECKS, FOREIGN_KEY_CHECKS=0 */;
/*!40101 SET @OLD_SQL_MODE=@@SQL_MODE, SQL_MODE='NO_AUTO_VALUE_ON_ZERO' */;
/*!40111 SET @OLD_SQL_NOTES=@@SQL_NOTES, SQL_NOTES=0 */;
DROP TABLE IF EXISTS `tblticketlog`;
/*!40101 SET @saved_cs_client     = @@character_set_client */;
/*!40101 SET character_set_client = utf8 */;
CREATE TABLE `tblticketlog` (
  `id` int(10) NOT NULL AUTO_INCREMENT,
  `date` datetime NOT NULL,
  `tid` int(10) NOT NULL,
  `action` text COLLATE utf8_unicode_ci NOT NULL,
  PRIMARY KEY (`id`),
  KEY `tid` (`tid`)
) ENGINE=InnoDB DEFAULT CHARSET=utf8 COLLATE=utf8_unicode_ci;
/*!40101 SET character_set_client = @saved_cs_client */;
/*!40103 SET TIME_ZONE=@OLD_TIME_ZONE */;

/*!40101 SET SQL_MODE=@OLD_SQL_MODE */;
/*!40014 SET FOREIGN_KEY_CHECKS=@OLD_FOREIGN_KEY_CHECKS */;
/*!40014 SET UNIQUE_CHECKS=@OLD_UNIQUE_CHECKS */;
/*!40111 SET SQL_NOTES=@OLD_SQL_NOTES */;

install/tbldomains.schema.sql000064400000004573147361027270012350 0ustar00/*!40103 SET @OLD_TIME_ZONE=@@TIME_ZONE */;
/*!40103 SET TIME_ZONE='+00:00' */;
/*!40014 SET @OLD_UNIQUE_CHECKS=@@UNIQUE_CHECKS, UNIQUE_CHECKS=0 */;
/*!40014 SET @OLD_FOREIGN_KEY_CHECKS=@@FOREIGN_KEY_CHECKS, FOREIGN_KEY_CHECKS=0 */;
/*!40101 SET @OLD_SQL_MODE=@@SQL_MODE, SQL_MODE='NO_AUTO_VALUE_ON_ZERO' */;
/*!40111 SET @OLD_SQL_NOTES=@@SQL_NOTES, SQL_NOTES=0 */;
DROP TABLE IF EXISTS `tbldomains`;
/*!40101 SET @saved_cs_client     = @@character_set_client */;
/*!40101 SET character_set_client = utf8 */;
CREATE TABLE `tbldomains` (
  `id` int(10) NOT NULL AUTO_INCREMENT,
  `userid` int(10) NOT NULL,
  `orderid` int(1) NOT NULL,
  `type` enum('Register','Transfer') COLLATE utf8_unicode_ci NOT NULL,
  `registrationdate` date NOT NULL,
  `domain` text COLLATE utf8_unicode_ci NOT NULL,
  `firstpaymentamount` decimal(16,2) NOT NULL DEFAULT '0.00',
  `recurringamount` decimal(16,2) NOT NULL,
  `registrar` text COLLATE utf8_unicode_ci NOT NULL,
  `registrationperiod` int(1) NOT NULL DEFAULT '1',
  `expirydate` date DEFAULT NULL,
  `subscriptionid` text COLLATE utf8_unicode_ci NOT NULL,
  `promoid` int(10) NOT NULL,
  `status` enum('Pending','Pending Registration','Pending Transfer','Active','Grace','Redemption','Expired','Cancelled','Fraud','Transferred Away') COLLATE utf8_unicode_ci NOT NULL DEFAULT 'Pending',
  `nextduedate` date NOT NULL DEFAULT '0000-00-00',
  `nextinvoicedate` date NOT NULL,
  `additionalnotes` text COLLATE utf8_unicode_ci NOT NULL,
  `paymentmethod` text COLLATE utf8_unicode_ci NOT NULL,
  `dnsmanagement` tinyint(1) NOT NULL,
  `emailforwarding` tinyint(1) NOT NULL,
  `idprotection` tinyint(1) NOT NULL,
  `is_premium` tinyint(1) DEFAULT NULL,
  `donotrenew` tinyint(1) NOT NULL,
  `reminders` text COLLATE utf8_unicode_ci NOT NULL,
  `synced` tinyint(1) NOT NULL,
  `created_at` timestamp NOT NULL DEFAULT '0000-00-00 00:00:00',
  `updated_at` timestamp NOT NULL DEFAULT '0000-00-00 00:00:00',
  PRIMARY KEY (`id`),
  KEY `userid` (`userid`),
  KEY `orderid` (`orderid`),
  KEY `domain` (`domain`(64)),
  KEY `status` (`status`)
) ENGINE=InnoDB DEFAULT CHARSET=utf8 COLLATE=utf8_unicode_ci;
/*!40101 SET character_set_client = @saved_cs_client */;
/*!40103 SET TIME_ZONE=@OLD_TIME_ZONE */;

/*!40101 SET SQL_MODE=@OLD_SQL_MODE */;
/*!40014 SET FOREIGN_KEY_CHECKS=@OLD_FOREIGN_KEY_CHECKS */;
/*!40014 SET UNIQUE_CHECKS=@OLD_UNIQUE_CHECKS */;
/*!40111 SET SQL_NOTES=@OLD_SQL_NOTES */;

install/tblproducts.data.sql000064400000001113147361027270012215 0ustar00/*!40103 SET @OLD_TIME_ZONE=@@TIME_ZONE */;
/*!40103 SET TIME_ZONE='+00:00' */;
/*!40014 SET @OLD_FOREIGN_KEY_CHECKS=@@FOREIGN_KEY_CHECKS, FOREIGN_KEY_CHECKS=0 */;
/*!40101 SET @OLD_SQL_MODE=@@SQL_MODE, SQL_MODE='NO_AUTO_VALUE_ON_ZERO' */;
/*!40111 SET @OLD_SQL_NOTES=@@SQL_NOTES, SQL_NOTES=0 */;

/*!40000 ALTER TABLE `tblproducts` DISABLE KEYS */;
/*!40000 ALTER TABLE `tblproducts` ENABLE KEYS */;
/*!40103 SET TIME_ZONE=@OLD_TIME_ZONE */;

/*!40101 SET SQL_MODE=@OLD_SQL_MODE */;
/*!40014 SET FOREIGN_KEY_CHECKS=@OLD_FOREIGN_KEY_CHECKS */;
/*!40111 SET SQL_NOTES=@OLD_SQL_NOTES */;

install/tblinvoicedata.data.sql000064400000001120147361027270012636 0ustar00/*!40103 SET @OLD_TIME_ZONE=@@TIME_ZONE */;
/*!40103 SET TIME_ZONE='+00:00' */;
/*!40014 SET @OLD_FOREIGN_KEY_CHECKS=@@FOREIGN_KEY_CHECKS, FOREIGN_KEY_CHECKS=0 */;
/*!40101 SET @OLD_SQL_MODE=@@SQL_MODE, SQL_MODE='NO_AUTO_VALUE_ON_ZERO' */;
/*!40111 SET @OLD_SQL_NOTES=@@SQL_NOTES, SQL_NOTES=0 */;

/*!40000 ALTER TABLE `tblinvoicedata` DISABLE KEYS */;
/*!40000 ALTER TABLE `tblinvoicedata` ENABLE KEYS */;
/*!40103 SET TIME_ZONE=@OLD_TIME_ZONE */;

/*!40101 SET SQL_MODE=@OLD_SQL_MODE */;
/*!40014 SET FOREIGN_KEY_CHECKS=@OLD_FOREIGN_KEY_CHECKS */;
/*!40111 SET SQL_NOTES=@OLD_SQL_NOTES */;
install/tblsslorders.schema.sql000064400000003107147361027270012726 0ustar00/*!40103 SET @OLD_TIME_ZONE=@@TIME_ZONE */;
/*!40103 SET TIME_ZONE='+00:00' */;
/*!40014 SET @OLD_UNIQUE_CHECKS=@@UNIQUE_CHECKS, UNIQUE_CHECKS=0 */;
/*!40014 SET @OLD_FOREIGN_KEY_CHECKS=@@FOREIGN_KEY_CHECKS, FOREIGN_KEY_CHECKS=0 */;
/*!40101 SET @OLD_SQL_MODE=@@SQL_MODE, SQL_MODE='NO_AUTO_VALUE_ON_ZERO' */;
/*!40111 SET @OLD_SQL_NOTES=@@SQL_NOTES, SQL_NOTES=0 */;
DROP TABLE IF EXISTS `tblsslorders`;
/*!40101 SET @saved_cs_client     = @@character_set_client */;
/*!40101 SET character_set_client = utf8 */;
CREATE TABLE `tblsslorders` (
  `id` int(10) NOT NULL AUTO_INCREMENT,
  `userid` int(10) NOT NULL,
  `serviceid` int(10) NOT NULL,
  `addon_id` int(10) NOT NULL DEFAULT '0',
  `remoteid` text COLLATE utf8_unicode_ci NOT NULL,
  `module` text COLLATE utf8_unicode_ci NOT NULL,
  `certtype` text COLLATE utf8_unicode_ci NOT NULL,
  `configdata` text COLLATE utf8_unicode_ci NOT NULL,
  `authdata` text CHARACTER SET utf8 COLLATE utf8_unicode_ci DEFAULT NULL,
  `completiondate` datetime NOT NULL DEFAULT '0000-00-00 00:00:00',
  `status` text COLLATE utf8_unicode_ci NOT NULL,
  `certificate_expiry_date` timestamp NULL DEFAULT NULL,
  `created_at` timestamp NULL DEFAULT NULL,
  `updated_at` timestamp NULL DEFAULT NULL,
  PRIMARY KEY (`id`)
) ENGINE=InnoDB DEFAULT CHARSET=utf8 COLLATE=utf8_unicode_ci;
/*!40101 SET character_set_client = @saved_cs_client */;
/*!40103 SET TIME_ZONE=@OLD_TIME_ZONE */;

/*!40101 SET SQL_MODE=@OLD_SQL_MODE */;
/*!40014 SET FOREIGN_KEY_CHECKS=@OLD_FOREIGN_KEY_CHECKS */;
/*!40014 SET UNIQUE_CHECKS=@OLD_UNIQUE_CHECKS */;
/*!40111 SET SQL_NOTES=@OLD_SQL_NOTES */;

install/tblcredit.schema.sql000064400000002244147361027270012161 0ustar00/*!40103 SET @OLD_TIME_ZONE=@@TIME_ZONE */;
/*!40103 SET TIME_ZONE='+00:00' */;
/*!40014 SET @OLD_UNIQUE_CHECKS=@@UNIQUE_CHECKS, UNIQUE_CHECKS=0 */;
/*!40014 SET @OLD_FOREIGN_KEY_CHECKS=@@FOREIGN_KEY_CHECKS, FOREIGN_KEY_CHECKS=0 */;
/*!40101 SET @OLD_SQL_MODE=@@SQL_MODE, SQL_MODE='NO_AUTO_VALUE_ON_ZERO' */;
/*!40111 SET @OLD_SQL_NOTES=@@SQL_NOTES, SQL_NOTES=0 */;
DROP TABLE IF EXISTS `tblcredit`;
/*!40101 SET @saved_cs_client     = @@character_set_client */;
/*!40101 SET character_set_client = utf8 */;
CREATE TABLE `tblcredit` (
  `id` int(10) NOT NULL AUTO_INCREMENT,
  `clientid` int(10) NOT NULL,
  `admin_id` int(10) unsigned NOT NULL DEFAULT '0',
  `date` date NOT NULL,
  `description` text COLLATE utf8_unicode_ci NOT NULL,
  `amount` decimal(16,2) NOT NULL,
  `relid` int(10) NOT NULL DEFAULT '0',
  PRIMARY KEY (`id`)
) ENGINE=InnoDB DEFAULT CHARSET=utf8 COLLATE=utf8_unicode_ci;
/*!40101 SET character_set_client = @saved_cs_client */;
/*!40103 SET TIME_ZONE=@OLD_TIME_ZONE */;

/*!40101 SET SQL_MODE=@OLD_SQL_MODE */;
/*!40014 SET FOREIGN_KEY_CHECKS=@OLD_FOREIGN_KEY_CHECKS */;
/*!40014 SET UNIQUE_CHECKS=@OLD_UNIQUE_CHECKS */;
/*!40111 SET SQL_NOTES=@OLD_SQL_NOTES */;

install/tblticketnotes.data.sql000064400000001121147361027270012705 0ustar00/*!40103 SET @OLD_TIME_ZONE=@@TIME_ZONE */;
/*!40103 SET TIME_ZONE='+00:00' */;
/*!40014 SET @OLD_FOREIGN_KEY_CHECKS=@@FOREIGN_KEY_CHECKS, FOREIGN_KEY_CHECKS=0 */;
/*!40101 SET @OLD_SQL_MODE=@@SQL_MODE, SQL_MODE='NO_AUTO_VALUE_ON_ZERO' */;
/*!40111 SET @OLD_SQL_NOTES=@@SQL_NOTES, SQL_NOTES=0 */;

/*!40000 ALTER TABLE `tblticketnotes` DISABLE KEYS */;
/*!40000 ALTER TABLE `tblticketnotes` ENABLE KEYS */;
/*!40103 SET TIME_ZONE=@OLD_TIME_ZONE */;

/*!40101 SET SQL_MODE=@OLD_SQL_MODE */;
/*!40014 SET FOREIGN_KEY_CHECKS=@OLD_FOREIGN_KEY_CHECKS */;
/*!40111 SET SQL_NOTES=@OLD_SQL_NOTES */;

install/tblactivitylog.schema.sql000064400000002760147361027270013250 0ustar00/*!40103 SET @OLD_TIME_ZONE=@@TIME_ZONE */;
/*!40103 SET TIME_ZONE='+00:00' */;
/*!40014 SET @OLD_UNIQUE_CHECKS=@@UNIQUE_CHECKS, UNIQUE_CHECKS=0 */;
/*!40014 SET @OLD_FOREIGN_KEY_CHECKS=@@FOREIGN_KEY_CHECKS, FOREIGN_KEY_CHECKS=0 */;
/*!40101 SET @OLD_SQL_MODE=@@SQL_MODE, SQL_MODE='NO_AUTO_VALUE_ON_ZERO' */;
/*!40111 SET @OLD_SQL_NOTES=@@SQL_NOTES, SQL_NOTES=0 */;
DROP TABLE IF EXISTS `tblactivitylog`;
/*!40101 SET @saved_cs_client     = @@character_set_client */;
/*!40101 SET character_set_client = utf8 */;
CREATE TABLE `tblactivitylog` (
  `id` int(10) NOT NULL AUTO_INCREMENT,
  `date` datetime NOT NULL DEFAULT '0000-00-00 00:00:00',
  `description` text CHARACTER SET utf8 COLLATE utf8_unicode_ci NOT NULL,
  `user` text CHARACTER SET utf8 COLLATE utf8_unicode_ci NOT NULL,
  `userid` int(10) unsigned NOT NULL default '0',
  `user_id` int(10) unsigned NOT NULL default '0',
  `admin_id` int(10) unsigned NOT NULL default '0',
  `ipaddr` text CHARACTER SET utf8 COLLATE utf8_unicode_ci NOT NULL,
  PRIMARY KEY (`id`),
  KEY `date` (`date`),
  KEY `user` (`user`(255)),
  KEY `userid` (`userid`),
  KEY `user_id` (`user_id`),
  KEY `admin_id` (`admin_id`)
) ENGINE=InnoDB DEFAULT CHARSET=utf8 COLLATE=utf8_unicode_ci;
/*!40101 SET character_set_client = @saved_cs_client */;
/*!40103 SET TIME_ZONE=@OLD_TIME_ZONE */;

/*!40101 SET SQL_MODE=@OLD_SQL_MODE */;
/*!40014 SET FOREIGN_KEY_CHECKS=@OLD_FOREIGN_KEY_CHECKS */;
/*!40014 SET UNIQUE_CHECKS=@OLD_UNIQUE_CHECKS */;
/*!40111 SET SQL_NOTES=@OLD_SQL_NOTES */;

install/tblconfiguration.schema.sql000064400000002361147361027270013556 0ustar00/*!40103 SET @OLD_TIME_ZONE=@@TIME_ZONE */;
/*!40103 SET TIME_ZONE='+00:00' */;
/*!40014 SET @OLD_UNIQUE_CHECKS=@@UNIQUE_CHECKS, UNIQUE_CHECKS=0 */;
/*!40014 SET @OLD_FOREIGN_KEY_CHECKS=@@FOREIGN_KEY_CHECKS, FOREIGN_KEY_CHECKS=0 */;
/*!40101 SET @OLD_SQL_MODE=@@SQL_MODE, SQL_MODE='NO_AUTO_VALUE_ON_ZERO' */;
/*!40111 SET @OLD_SQL_NOTES=@@SQL_NOTES, SQL_NOTES=0 */;
DROP TABLE IF EXISTS `tblconfiguration`;
/*!40101 SET @saved_cs_client     = @@character_set_client */;
/*!40101 SET character_set_client = utf8 */;
CREATE TABLE `tblconfiguration` (
  `id` int(10) NOT NULL AUTO_INCREMENT,
  `setting` varchar(64) NOT NULL,
  `value` text COLLATE utf8_unicode_ci NOT NULL,
  `created_at` timestamp NOT NULL DEFAULT '0000-00-00 00:00:00',
  `updated_at` timestamp NOT NULL DEFAULT '0000-00-00 00:00:00',
  PRIMARY KEY (`id`),
  KEY `setting` (`setting`(64)),
  CONSTRAINT whmcs_setting_unique UNIQUE (`setting`)
) ENGINE=InnoDB DEFAULT CHARSET=utf8 COLLATE=utf8_unicode_ci;
/*!40101 SET character_set_client = @saved_cs_client */;
/*!40103 SET TIME_ZONE=@OLD_TIME_ZONE */;

/*!40101 SET SQL_MODE=@OLD_SQL_MODE */;
/*!40014 SET FOREIGN_KEY_CHECKS=@OLD_FOREIGN_KEY_CHECKS */;
/*!40014 SET UNIQUE_CHECKS=@OLD_UNIQUE_CHECKS */;
/*!40111 SET SQL_NOTES=@OLD_SQL_NOTES */;

install/tbltickettags.data.sql000064400000001117147361027270012520 0ustar00/*!40103 SET @OLD_TIME_ZONE=@@TIME_ZONE */;
/*!40103 SET TIME_ZONE='+00:00' */;
/*!40014 SET @OLD_FOREIGN_KEY_CHECKS=@@FOREIGN_KEY_CHECKS, FOREIGN_KEY_CHECKS=0 */;
/*!40101 SET @OLD_SQL_MODE=@@SQL_MODE, SQL_MODE='NO_AUTO_VALUE_ON_ZERO' */;
/*!40111 SET @OLD_SQL_NOTES=@@SQL_NOTES, SQL_NOTES=0 */;

/*!40000 ALTER TABLE `tbltickettags` DISABLE KEYS */;
/*!40000 ALTER TABLE `tbltickettags` ENABLE KEYS */;
/*!40103 SET TIME_ZONE=@OLD_TIME_ZONE */;

/*!40101 SET SQL_MODE=@OLD_SQL_MODE */;
/*!40014 SET FOREIGN_KEY_CHECKS=@OLD_FOREIGN_KEY_CHECKS */;
/*!40111 SET SQL_NOTES=@OLD_SQL_NOTES */;

install/tblbundles.schema.sql000064400000002614147361027270012344 0ustar00/*!40103 SET @OLD_TIME_ZONE=@@TIME_ZONE */;
/*!40103 SET TIME_ZONE='+00:00' */;
/*!40014 SET @OLD_UNIQUE_CHECKS=@@UNIQUE_CHECKS, UNIQUE_CHECKS=0 */;
/*!40014 SET @OLD_FOREIGN_KEY_CHECKS=@@FOREIGN_KEY_CHECKS, FOREIGN_KEY_CHECKS=0 */;
/*!40101 SET @OLD_SQL_MODE=@@SQL_MODE, SQL_MODE='NO_AUTO_VALUE_ON_ZERO' */;
/*!40111 SET @OLD_SQL_NOTES=@@SQL_NOTES, SQL_NOTES=0 */;
DROP TABLE IF EXISTS `tblbundles`;
/*!40101 SET @saved_cs_client     = @@character_set_client */;
/*!40101 SET character_set_client = utf8 */;
CREATE TABLE `tblbundles` (
  `id` int(10) NOT NULL AUTO_INCREMENT,
  `name` text COLLATE utf8_unicode_ci NOT NULL,
  `validfrom` date NOT NULL,
  `validuntil` date NOT NULL,
  `uses` int(4) NOT NULL,
  `maxuses` int(4) NOT NULL,
  `itemdata` text COLLATE utf8_unicode_ci NOT NULL,
  `allowpromo` int(1) NOT NULL,
  `showgroup` int(1) NOT NULL,
  `gid` int(10) NOT NULL,
  `description` text COLLATE utf8_unicode_ci NOT NULL,
  `displayprice` decimal(16,2) NOT NULL,
  `sortorder` int(3) NOT NULL,
  `is_featured` tinyint(1) NOT NULL,
  PRIMARY KEY (`id`)
) ENGINE=InnoDB DEFAULT CHARSET=utf8 COLLATE=utf8_unicode_ci;
/*!40101 SET character_set_client = @saved_cs_client */;
/*!40103 SET TIME_ZONE=@OLD_TIME_ZONE */;

/*!40101 SET SQL_MODE=@OLD_SQL_MODE */;
/*!40014 SET FOREIGN_KEY_CHECKS=@OLD_FOREIGN_KEY_CHECKS */;
/*!40014 SET UNIQUE_CHECKS=@OLD_UNIQUE_CHECKS */;
/*!40111 SET SQL_NOTES=@OLD_SQL_NOTES */;

install/tbloauthserver_client_scopes.data.sql000064400000001155147361027270015641 0ustar00/*!40103 SET @OLD_TIME_ZONE=@@TIME_ZONE */;
/*!40103 SET TIME_ZONE='+00:00' */;
/*!40014 SET @OLD_FOREIGN_KEY_CHECKS=@@FOREIGN_KEY_CHECKS, FOREIGN_KEY_CHECKS=0 */;
/*!40101 SET @OLD_SQL_MODE=@@SQL_MODE, SQL_MODE='NO_AUTO_VALUE_ON_ZERO' */;
/*!40111 SET @OLD_SQL_NOTES=@@SQL_NOTES, SQL_NOTES=0 */;

/*!40000 ALTER TABLE `tbloauthserver_client_scopes` DISABLE KEYS */;
/*!40000 ALTER TABLE `tbloauthserver_client_scopes` ENABLE KEYS */;
/*!40103 SET TIME_ZONE=@OLD_TIME_ZONE */;

/*!40101 SET SQL_MODE=@OLD_SQL_MODE */;
/*!40014 SET FOREIGN_KEY_CHECKS=@OLD_FOREIGN_KEY_CHECKS */;
/*!40111 SET SQL_NOTES=@OLD_SQL_NOTES */;

install/tblcontacts.schema.sql000064400000004445147361027270012532 0ustar00/*!40103 SET @OLD_TIME_ZONE=@@TIME_ZONE */;
/*!40103 SET TIME_ZONE='+00:00' */;
/*!40014 SET @OLD_UNIQUE_CHECKS=@@UNIQUE_CHECKS, UNIQUE_CHECKS=0 */;
/*!40014 SET @OLD_FOREIGN_KEY_CHECKS=@@FOREIGN_KEY_CHECKS, FOREIGN_KEY_CHECKS=0 */;
/*!40101 SET @OLD_SQL_MODE=@@SQL_MODE, SQL_MODE='NO_AUTO_VALUE_ON_ZERO' */;
/*!40111 SET @OLD_SQL_NOTES=@@SQL_NOTES, SQL_NOTES=0 */;
DROP TABLE IF EXISTS `tblcontacts`;
/*!40101 SET @saved_cs_client     = @@character_set_client */;
/*!40101 SET character_set_client = utf8 */;
CREATE TABLE `tblcontacts` (
  `id` int(10) NOT NULL AUTO_INCREMENT,
  `userid` int(10) NOT NULL,
  `firstname` text COLLATE utf8_unicode_ci NOT NULL,
  `lastname` text COLLATE utf8_unicode_ci NOT NULL,
  `companyname` text COLLATE utf8_unicode_ci NOT NULL,
  `email` text COLLATE utf8_unicode_ci NOT NULL,
  `address1` text COLLATE utf8_unicode_ci NOT NULL,
  `address2` text COLLATE utf8_unicode_ci NOT NULL,
  `city` text COLLATE utf8_unicode_ci NOT NULL,
  `state` text COLLATE utf8_unicode_ci NOT NULL,
  `postcode` text COLLATE utf8_unicode_ci NOT NULL,
  `country` text COLLATE utf8_unicode_ci NOT NULL,
  `phonenumber` text COLLATE utf8_unicode_ci NOT NULL,
  `tax_id` VARCHAR(128) COLLATE utf8_unicode_ci NOT NULL DEFAULT '',
  `subaccount` int(1) NOT NULL DEFAULT '0',
  `password` text COLLATE utf8_unicode_ci NOT NULL,
  `permissions` text COLLATE utf8_unicode_ci NOT NULL,
  `domainemails` int(1) NOT NULL,
  `generalemails` int(1) NOT NULL,
  `invoiceemails` int(1) NOT NULL,
  `productemails` int(1) NOT NULL,
  `supportemails` int(1) NOT NULL,
  `affiliateemails` int(1) NOT NULL,
  `pwresetkey` text COLLATE utf8_unicode_ci NOT NULL,
  `created_at` timestamp NOT NULL DEFAULT '0000-00-00 00:00:00',
  `updated_at` timestamp NOT NULL DEFAULT '0000-00-00 00:00:00',
  `pwresetexpiry` timestamp NOT NULL DEFAULT '0000-00-00 00:00:00',
  PRIMARY KEY (`id`),
  KEY `userid_firstname_lastname` (`userid`,`firstname`(32),`lastname`(32)),
  KEY `email` (`email`(64))
) ENGINE=InnoDB DEFAULT CHARSET=utf8 COLLATE=utf8_unicode_ci;
/*!40101 SET character_set_client = @saved_cs_client */;
/*!40103 SET TIME_ZONE=@OLD_TIME_ZONE */;

/*!40101 SET SQL_MODE=@OLD_SQL_MODE */;
/*!40014 SET FOREIGN_KEY_CHECKS=@OLD_FOREIGN_KEY_CHECKS */;
/*!40014 SET UNIQUE_CHECKS=@OLD_UNIQUE_CHECKS */;
/*!40111 SET SQL_NOTES=@OLD_SQL_NOTES */;

install/tbloauthserver_clients.data.sql000064400000001141147361027270014443 0ustar00/*!40103 SET @OLD_TIME_ZONE=@@TIME_ZONE */;
/*!40103 SET TIME_ZONE='+00:00' */;
/*!40014 SET @OLD_FOREIGN_KEY_CHECKS=@@FOREIGN_KEY_CHECKS, FOREIGN_KEY_CHECKS=0 */;
/*!40101 SET @OLD_SQL_MODE=@@SQL_MODE, SQL_MODE='NO_AUTO_VALUE_ON_ZERO' */;
/*!40111 SET @OLD_SQL_NOTES=@@SQL_NOTES, SQL_NOTES=0 */;

/*!40000 ALTER TABLE `tbloauthserver_clients` DISABLE KEYS */;
/*!40000 ALTER TABLE `tbloauthserver_clients` ENABLE KEYS */;
/*!40103 SET TIME_ZONE=@OLD_TIME_ZONE */;

/*!40101 SET SQL_MODE=@OLD_SQL_MODE */;
/*!40014 SET FOREIGN_KEY_CHECKS=@OLD_FOREIGN_KEY_CHECKS */;
/*!40111 SET SQL_NOTES=@OLD_SQL_NOTES */;

install/tblcurrencies.schema.sql000064400000002277147361027270013057 0ustar00/*!40103 SET @OLD_TIME_ZONE=@@TIME_ZONE */;
/*!40103 SET TIME_ZONE='+00:00' */;
/*!40014 SET @OLD_UNIQUE_CHECKS=@@UNIQUE_CHECKS, UNIQUE_CHECKS=0 */;
/*!40014 SET @OLD_FOREIGN_KEY_CHECKS=@@FOREIGN_KEY_CHECKS, FOREIGN_KEY_CHECKS=0 */;
/*!40101 SET @OLD_SQL_MODE=@@SQL_MODE, SQL_MODE='NO_AUTO_VALUE_ON_ZERO' */;
/*!40111 SET @OLD_SQL_NOTES=@@SQL_NOTES, SQL_NOTES=0 */;
DROP TABLE IF EXISTS `tblcurrencies`;
/*!40101 SET @saved_cs_client     = @@character_set_client */;
/*!40101 SET character_set_client = utf8 */;
CREATE TABLE `tblcurrencies` (
  `id` int(10) NOT NULL AUTO_INCREMENT,
  `code` text COLLATE utf8_unicode_ci NOT NULL,
  `prefix` text COLLATE utf8_unicode_ci NOT NULL,
  `suffix` text COLLATE utf8_unicode_ci NOT NULL,
  `format` int(1) NOT NULL,
  `rate` decimal(10,5) NOT NULL DEFAULT '1.00000',
  `default` int(1) NOT NULL,
  PRIMARY KEY (`id`)
) ENGINE=InnoDB DEFAULT CHARSET=utf8 COLLATE=utf8_unicode_ci;
/*!40101 SET character_set_client = @saved_cs_client */;
/*!40103 SET TIME_ZONE=@OLD_TIME_ZONE */;

/*!40101 SET SQL_MODE=@OLD_SQL_MODE */;
/*!40014 SET FOREIGN_KEY_CHECKS=@OLD_FOREIGN_KEY_CHECKS */;
/*!40014 SET UNIQUE_CHECKS=@OLD_UNIQUE_CHECKS */;
/*!40111 SET SQL_NOTES=@OLD_SQL_NOTES */;

install/tblpaymethods.data.sql000064400000001306147361027270012533 0ustar00/*!40103 SET @OLD_TIME_ZONE=@@TIME_ZONE */;
/*!40103 SET TIME_ZONE='+00:00' */;
/*!40014 SET @OLD_UNIQUE_CHECKS=@@UNIQUE_CHECKS, UNIQUE_CHECKS=0 */;
/*!40014 SET @OLD_FOREIGN_KEY_CHECKS=@@FOREIGN_KEY_CHECKS, FOREIGN_KEY_CHECKS=0 */;
/*!40101 SET @OLD_SQL_MODE=@@SQL_MODE, SQL_MODE='NO_AUTO_VALUE_ON_ZERO' */;
/*!40111 SET @OLD_SQL_NOTES=@@SQL_NOTES, SQL_NOTES=0 */;

/*!40000 ALTER TABLE `tblpaymethods` DISABLE KEYS */;
/*!40000 ALTER TABLE `tblpaymethods` ENABLE KEYS */;
/*!40103 SET TIME_ZONE=@OLD_TIME_ZONE */;

/*!40101 SET SQL_MODE=@OLD_SQL_MODE */;
/*!40014 SET FOREIGN_KEY_CHECKS=@OLD_FOREIGN_KEY_CHECKS */;
/*!40014 SET UNIQUE_CHECKS=@OLD_UNIQUE_CHECKS */;
/*!40111 SET SQL_NOTES=@OLD_SQL_NOTES */;

install/tblknowledgebase_images.schema.sql000064400000002360147361027270015045 0ustar00/*!40103 SET @OLD_TIME_ZONE=@@TIME_ZONE */;
/*!40103 SET TIME_ZONE='+00:00' */;
/*!40014 SET @OLD_UNIQUE_CHECKS=@@UNIQUE_CHECKS, UNIQUE_CHECKS=0 */;
/*!40014 SET @OLD_FOREIGN_KEY_CHECKS=@@FOREIGN_KEY_CHECKS, FOREIGN_KEY_CHECKS=0 */;
/*!40101 SET @OLD_SQL_MODE=@@SQL_MODE, SQL_MODE='NO_AUTO_VALUE_ON_ZERO' */;
/*!40111 SET @OLD_SQL_NOTES=@@SQL_NOTES, SQL_NOTES=0 */;
DROP TABLE IF EXISTS `tblknowledgebase_images`;
/*!40101 SET @saved_cs_client     = @@character_set_client */;
/*!40101 SET character_set_client = utf8 */;
CREATE TABLE `tblknowledgebase_images` (
  `id` int(10) unsigned NOT NULL AUTO_INCREMENT,
  `filename` varchar(128) COLLATE utf8_unicode_ci NOT NULL DEFAULT '',
  `original_name` varchar(255) COLLATE utf8_unicode_ci NOT NULL DEFAULT '',
  `created_at` timestamp NOT NULL DEFAULT '0000-00-00 00:00:00',
  `updated_at` timestamp NOT NULL DEFAULT '0000-00-00 00:00:00',
  PRIMARY KEY (`id`)
) ENGINE=InnoDB DEFAULT CHARSET=utf8 COLLATE=utf8_unicode_ci
/*!40101 SET character_set_client = @saved_cs_client */;
/*!40103 SET TIME_ZONE=@OLD_TIME_ZONE */;

/*!40101 SET SQL_MODE=@OLD_SQL_MODE */;
/*!40014 SET FOREIGN_KEY_CHECKS=@OLD_FOREIGN_KEY_CHECKS */;
/*!40014 SET UNIQUE_CHECKS=@OLD_UNIQUE_CHECKS */;
/*!40111 SET SQL_NOTES=@OLD_SQL_NOTES */;

install/tblclients.data.sql000064400000001111147361027270012011 0ustar00/*!40103 SET @OLD_TIME_ZONE=@@TIME_ZONE */;
/*!40103 SET TIME_ZONE='+00:00' */;
/*!40014 SET @OLD_FOREIGN_KEY_CHECKS=@@FOREIGN_KEY_CHECKS, FOREIGN_KEY_CHECKS=0 */;
/*!40101 SET @OLD_SQL_MODE=@@SQL_MODE, SQL_MODE='NO_AUTO_VALUE_ON_ZERO' */;
/*!40111 SET @OLD_SQL_NOTES=@@SQL_NOTES, SQL_NOTES=0 */;

/*!40000 ALTER TABLE `tblclients` DISABLE KEYS */;
/*!40000 ALTER TABLE `tblclients` ENABLE KEYS */;
/*!40103 SET TIME_ZONE=@OLD_TIME_ZONE */;

/*!40101 SET SQL_MODE=@OLD_SQL_MODE */;
/*!40014 SET FOREIGN_KEY_CHECKS=@OLD_FOREIGN_KEY_CHECKS */;
/*!40111 SET SQL_NOTES=@OLD_SQL_NOTES */;

install/tblticketfeedback.schema.sql000064400000002242147361027270013635 0ustar00/*!40103 SET @OLD_TIME_ZONE=@@TIME_ZONE */;
/*!40103 SET TIME_ZONE='+00:00' */;
/*!40014 SET @OLD_UNIQUE_CHECKS=@@UNIQUE_CHECKS, UNIQUE_CHECKS=0 */;
/*!40014 SET @OLD_FOREIGN_KEY_CHECKS=@@FOREIGN_KEY_CHECKS, FOREIGN_KEY_CHECKS=0 */;
/*!40101 SET @OLD_SQL_MODE=@@SQL_MODE, SQL_MODE='NO_AUTO_VALUE_ON_ZERO' */;
/*!40111 SET @OLD_SQL_NOTES=@@SQL_NOTES, SQL_NOTES=0 */;
DROP TABLE IF EXISTS `tblticketfeedback`;
/*!40101 SET @saved_cs_client     = @@character_set_client */;
/*!40101 SET character_set_client = utf8 */;
CREATE TABLE `tblticketfeedback` (
  `id` int(10) NOT NULL AUTO_INCREMENT,
  `ticketid` int(10) NOT NULL,
  `adminid` int(10) NOT NULL,
  `rating` int(2) NOT NULL,
  `comments` text COLLATE utf8_unicode_ci NOT NULL,
  `datetime` datetime NOT NULL,
  `ip` text COLLATE utf8_unicode_ci NOT NULL,
  PRIMARY KEY (`id`)
) ENGINE=InnoDB DEFAULT CHARSET=utf8 COLLATE=utf8_unicode_ci;
/*!40101 SET character_set_client = @saved_cs_client */;
/*!40103 SET TIME_ZONE=@OLD_TIME_ZONE */;

/*!40101 SET SQL_MODE=@OLD_SQL_MODE */;
/*!40014 SET FOREIGN_KEY_CHECKS=@OLD_FOREIGN_KEY_CHECKS */;
/*!40014 SET UNIQUE_CHECKS=@OLD_UNIQUE_CHECKS */;
/*!40111 SET SQL_NOTES=@OLD_SQL_NOTES */;

install/tblhostingaddons.schema.sql000064400000004375147361027270013562 0ustar00/*!40103 SET @OLD_TIME_ZONE=@@TIME_ZONE */;
/*!40103 SET TIME_ZONE='+00:00' */;
/*!40014 SET @OLD_UNIQUE_CHECKS=@@UNIQUE_CHECKS, UNIQUE_CHECKS=0 */;
/*!40014 SET @OLD_FOREIGN_KEY_CHECKS=@@FOREIGN_KEY_CHECKS, FOREIGN_KEY_CHECKS=0 */;
/*!40101 SET @OLD_SQL_MODE=@@SQL_MODE, SQL_MODE='NO_AUTO_VALUE_ON_ZERO' */;
/*!40111 SET @OLD_SQL_NOTES=@@SQL_NOTES, SQL_NOTES=0 */;
DROP TABLE IF EXISTS `tblhostingaddons`;
/*!40101 SET @saved_cs_client     = @@character_set_client */;
/*!40101 SET character_set_client = utf8 */;
CREATE TABLE `tblhostingaddons` (
  `id` int(10) NOT NULL AUTO_INCREMENT,
  `orderid` int(10) NOT NULL,
  `hostingid` int(10) NOT NULL,
  `addonid` int(10) NOT NULL,
  `userid` int(10) NOT NULL DEFAULT '0',
  `server` int(10) NOT NULL DEFAULT '0',
  `name` text COLLATE utf8_unicode_ci NOT NULL,
  `qty` int unsigned NOT NULL DEFAULT '1',
  `firstpaymentamount` decimal(16,2) NOT NULL DEFAULT '0.00',
  `setupfee` decimal(16,2) NOT NULL DEFAULT '0.00',
  `recurring` decimal(16,2) NOT NULL DEFAULT '0.00',
  `billingcycle` text COLLATE utf8_unicode_ci NOT NULL,
  `tax` text COLLATE utf8_unicode_ci NOT NULL,
  `status` enum('Pending','Active','Suspended','Terminated','Cancelled','Fraud','Completed') COLLATE utf8_unicode_ci NOT NULL DEFAULT 'Pending',
  `regdate` date NOT NULL DEFAULT '0000-00-00',
  `nextduedate` date DEFAULT NULL,
  `nextinvoicedate` date NOT NULL,
  `termination_date` date NOT NULL DEFAULT '0000-00-00',
  `proratadate` date NOT NULL DEFAULT '0000-00-00',
  `paymentmethod` text COLLATE utf8_unicode_ci NOT NULL,
  `notes` text COLLATE utf8_unicode_ci NOT NULL,
  `subscriptionid` varchar(128) COLLATE utf8_unicode_ci NOT NULL default '',
  `created_at` timestamp NOT NULL DEFAULT '0000-00-00 00:00:00',
  `updated_at` timestamp NOT NULL DEFAULT '0000-00-00 00:00:00',
  PRIMARY KEY (`id`),
  KEY `orderid` (`orderid`),
  KEY `serviceid` (`hostingid`),
  KEY `name` (`name`(32)),
  KEY `status` (`status`)
) ENGINE=InnoDB DEFAULT CHARSET=utf8 COLLATE=utf8_unicode_ci;
/*!40101 SET character_set_client = @saved_cs_client */;
/*!40103 SET TIME_ZONE=@OLD_TIME_ZONE */;

/*!40101 SET SQL_MODE=@OLD_SQL_MODE */;
/*!40014 SET FOREIGN_KEY_CHECKS=@OLD_FOREIGN_KEY_CHECKS */;
/*!40014 SET UNIQUE_CHECKS=@OLD_UNIQUE_CHECKS */;
/*!40111 SET SQL_NOTES=@OLD_SQL_NOTES */;

install/tblemails.schema.sql000064400000003343147361027270012162 0ustar00/*!40103 SET @OLD_TIME_ZONE=@@TIME_ZONE */;
/*!40103 SET TIME_ZONE='+00:00' */;
/*!40014 SET @OLD_UNIQUE_CHECKS=@@UNIQUE_CHECKS, UNIQUE_CHECKS=0 */;
/*!40014 SET @OLD_FOREIGN_KEY_CHECKS=@@FOREIGN_KEY_CHECKS, FOREIGN_KEY_CHECKS=0 */;
/*!40101 SET @OLD_SQL_MODE=@@SQL_MODE, SQL_MODE='NO_AUTO_VALUE_ON_ZERO' */;
/*!40111 SET @OLD_SQL_NOTES=@@SQL_NOTES, SQL_NOTES=0 */;
DROP TABLE IF EXISTS `tblemails`;
/*!40101 SET @saved_cs_client     = @@character_set_client */;
/*!40101 SET character_set_client = utf8 */;
CREATE TABLE `tblemails` (
  `id` int(10) NOT NULL AUTO_INCREMENT,
  `userid` int(10) NOT NULL,
  `subject` text COLLATE utf8_unicode_ci NOT NULL,
  `message` text COLLATE utf8_unicode_ci NOT NULL,
  `date` datetime DEFAULT NULL,
  `to` text COLLATE utf8_unicode_ci,
  `cc` text COLLATE utf8_unicode_ci,
  `bcc` text COLLATE utf8_unicode_ci,
  `attachments` text COLLATE utf8_unicode_ci,
  `pending` tinyint(1) NOT NULL DEFAULT '0',
  `message_data` mediumtext COLLATE utf8_unicode_ci,
  `failed` tinyint(1) NOT NULL DEFAULT '0',
  `failure_reason` varchar(250) COLLATE utf8_unicode_ci NOT NULL DEFAULT '',
  `retry_count` tinyint(1) NOT NULL DEFAULT '0',
  `created_at` timestamp NULL DEFAULT NULL,
  `updated_at` timestamp NULL DEFAULT NULL,
  `campaign_id` int NOT NULL DEFAULT '0',
  PRIMARY KEY (`id`),
  KEY `userid` (`userid`),
  KEY `pending` (`pending`),
  KEY `campaign_id` (`campaign_id`)
) ENGINE=InnoDB DEFAULT CHARSET=utf8 COLLATE=utf8_unicode_ci;
/*!40101 SET character_set_client = @saved_cs_client */;
/*!40103 SET TIME_ZONE=@OLD_TIME_ZONE */;

/*!40101 SET SQL_MODE=@OLD_SQL_MODE */;
/*!40014 SET FOREIGN_KEY_CHECKS=@OLD_FOREIGN_KEY_CHECKS */;
/*!40014 SET UNIQUE_CHECKS=@OLD_UNIQUE_CHECKS */;
/*!40111 SET SQL_NOTES=@OLD_SQL_NOTES */;

install/tblioncube_file_log.data.sql000064400000001133147361027270013640 0ustar00/*!40103 SET @OLD_TIME_ZONE=@@TIME_ZONE */;
/*!40103 SET TIME_ZONE='+00:00' */;
/*!40014 SET @OLD_FOREIGN_KEY_CHECKS=@@FOREIGN_KEY_CHECKS, FOREIGN_KEY_CHECKS=0 */;
/*!40101 SET @OLD_SQL_MODE=@@SQL_MODE, SQL_MODE='NO_AUTO_VALUE_ON_ZERO' */;
/*!40111 SET @OLD_SQL_NOTES=@@SQL_NOTES, SQL_NOTES=0 */;

/*!40000 ALTER TABLE `tblioncube_file_log` DISABLE KEYS */;
/*!40000 ALTER TABLE `tblioncube_file_log` ENABLE KEYS */;
/*!40103 SET TIME_ZONE=@OLD_TIME_ZONE */;

/*!40101 SET SQL_MODE=@OLD_SQL_MODE */;
/*!40014 SET FOREIGN_KEY_CHECKS=@OLD_FOREIGN_KEY_CHECKS */;
/*!40111 SET SQL_NOTES=@OLD_SQL_NOTES */;

install/tbloauthserver_auth_codes.data.sql000064400000001147147361027270015126 0ustar00/*!40103 SET @OLD_TIME_ZONE=@@TIME_ZONE */;
/*!40103 SET TIME_ZONE='+00:00' */;
/*!40014 SET @OLD_FOREIGN_KEY_CHECKS=@@FOREIGN_KEY_CHECKS, FOREIGN_KEY_CHECKS=0 */;
/*!40101 SET @OLD_SQL_MODE=@@SQL_MODE, SQL_MODE='NO_AUTO_VALUE_ON_ZERO' */;
/*!40111 SET @OLD_SQL_NOTES=@@SQL_NOTES, SQL_NOTES=0 */;

/*!40000 ALTER TABLE `tbloauthserver_auth_codes` DISABLE KEYS */;
/*!40000 ALTER TABLE `tbloauthserver_auth_codes` ENABLE KEYS */;
/*!40103 SET TIME_ZONE=@OLD_TIME_ZONE */;

/*!40101 SET SQL_MODE=@OLD_SQL_MODE */;
/*!40014 SET FOREIGN_KEY_CHECKS=@OLD_FOREIGN_KEY_CHECKS */;
/*!40111 SET SQL_NOTES=@OLD_SQL_NOTES */;

install/tblquotes.schema.sql000064400000004321147361027270012225 0ustar00/*!40103 SET @OLD_TIME_ZONE=@@TIME_ZONE */;
/*!40103 SET TIME_ZONE='+00:00' */;
/*!40014 SET @OLD_UNIQUE_CHECKS=@@UNIQUE_CHECKS, UNIQUE_CHECKS=0 */;
/*!40014 SET @OLD_FOREIGN_KEY_CHECKS=@@FOREIGN_KEY_CHECKS, FOREIGN_KEY_CHECKS=0 */;
/*!40101 SET @OLD_SQL_MODE=@@SQL_MODE, SQL_MODE='NO_AUTO_VALUE_ON_ZERO' */;
/*!40111 SET @OLD_SQL_NOTES=@@SQL_NOTES, SQL_NOTES=0 */;
DROP TABLE IF EXISTS `tblquotes`;
/*!40101 SET @saved_cs_client     = @@character_set_client */;
/*!40101 SET character_set_client = utf8 */;
CREATE TABLE `tblquotes` (
  `id` int(10) NOT NULL AUTO_INCREMENT,
  `subject` text COLLATE utf8_unicode_ci NOT NULL,
  `stage` enum('Draft','Delivered','On Hold','Accepted','Lost','Dead') COLLATE utf8_unicode_ci NOT NULL,
  `validuntil` date NOT NULL,
  `userid` int(10) NOT NULL,
  `firstname` text COLLATE utf8_unicode_ci NOT NULL,
  `lastname` text COLLATE utf8_unicode_ci NOT NULL,
  `companyname` text COLLATE utf8_unicode_ci NOT NULL,
  `email` text COLLATE utf8_unicode_ci NOT NULL,
  `address1` text COLLATE utf8_unicode_ci NOT NULL,
  `address2` text COLLATE utf8_unicode_ci NOT NULL,
  `city` text COLLATE utf8_unicode_ci NOT NULL,
  `state` text COLLATE utf8_unicode_ci NOT NULL,
  `postcode` text COLLATE utf8_unicode_ci NOT NULL,
  `country` text COLLATE utf8_unicode_ci NOT NULL,
  `phonenumber` text COLLATE utf8_unicode_ci NOT NULL,
  `tax_id` VARCHAR(128) COLLATE utf8_unicode_ci NOT NULL DEFAULT '',
  `currency` int(10) NOT NULL,
  `subtotal` decimal(16,2) NOT NULL,
  `tax1` decimal(16,2) NOT NULL,
  `tax2` decimal(16,2) NOT NULL,
  `total` decimal(16,2) NOT NULL,
  `proposal` text COLLATE utf8_unicode_ci NOT NULL,
  `customernotes` text COLLATE utf8_unicode_ci NOT NULL,
  `adminnotes` text COLLATE utf8_unicode_ci NOT NULL,
  `datecreated` date NOT NULL,
  `lastmodified` date NOT NULL,
  `datesent` date NOT NULL,
  `dateaccepted` date NOT NULL,
  PRIMARY KEY (`id`)
) ENGINE=InnoDB DEFAULT CHARSET=utf8 COLLATE=utf8_unicode_ci;
/*!40101 SET character_set_client = @saved_cs_client */;
/*!40103 SET TIME_ZONE=@OLD_TIME_ZONE */;

/*!40101 SET SQL_MODE=@OLD_SQL_MODE */;
/*!40014 SET FOREIGN_KEY_CHECKS=@OLD_FOREIGN_KEY_CHECKS */;
/*!40014 SET UNIQUE_CHECKS=@OLD_UNIQUE_CHECKS */;
/*!40111 SET SQL_NOTES=@OLD_SQL_NOTES */;

install/tbloauthserver_user_authz.data.sql000064400000001147147361027270015201 0ustar00/*!40103 SET @OLD_TIME_ZONE=@@TIME_ZONE */;
/*!40103 SET TIME_ZONE='+00:00' */;
/*!40014 SET @OLD_FOREIGN_KEY_CHECKS=@@FOREIGN_KEY_CHECKS, FOREIGN_KEY_CHECKS=0 */;
/*!40101 SET @OLD_SQL_MODE=@@SQL_MODE, SQL_MODE='NO_AUTO_VALUE_ON_ZERO' */;
/*!40111 SET @OLD_SQL_NOTES=@@SQL_NOTES, SQL_NOTES=0 */;

/*!40000 ALTER TABLE `tbloauthserver_user_authz` DISABLE KEYS */;
/*!40000 ALTER TABLE `tbloauthserver_user_authz` ENABLE KEYS */;
/*!40103 SET TIME_ZONE=@OLD_TIME_ZONE */;

/*!40101 SET SQL_MODE=@OLD_SQL_MODE */;
/*!40014 SET FOREIGN_KEY_CHECKS=@OLD_FOREIGN_KEY_CHECKS */;
/*!40111 SET SQL_NOTES=@OLD_SQL_NOTES */;

install/tblticket_watchers.data.sql000064400000001131147361027270013535 0ustar00/*!40103 SET @OLD_TIME_ZONE=@@TIME_ZONE */;
/*!40103 SET TIME_ZONE='+00:00' */;
/*!40014 SET @OLD_FOREIGN_KEY_CHECKS=@@FOREIGN_KEY_CHECKS, FOREIGN_KEY_CHECKS=0 */;
/*!40101 SET @OLD_SQL_MODE=@@SQL_MODE, SQL_MODE='NO_AUTO_VALUE_ON_ZERO' */;
/*!40111 SET @OLD_SQL_NOTES=@@SQL_NOTES, SQL_NOTES=0 */;

/*!40000 ALTER TABLE `tblticket_watchers` DISABLE KEYS */;
/*!40000 ALTER TABLE `tblticket_watchers` ENABLE KEYS */;
/*!40103 SET TIME_ZONE=@OLD_TIME_ZONE */;

/*!40101 SET SQL_MODE=@OLD_SQL_MODE */;
/*!40014 SET FOREIGN_KEY_CHECKS=@OLD_FOREIGN_KEY_CHECKS */;
/*!40111 SET SQL_NOTES=@OLD_SQL_NOTES */;

install/tblquoteitems.schema.sql000064400000002462147361027270013110 0ustar00/*!40103 SET @OLD_TIME_ZONE=@@TIME_ZONE */;
/*!40103 SET TIME_ZONE='+00:00' */;
/*!40014 SET @OLD_UNIQUE_CHECKS=@@UNIQUE_CHECKS, UNIQUE_CHECKS=0 */;
/*!40014 SET @OLD_FOREIGN_KEY_CHECKS=@@FOREIGN_KEY_CHECKS, FOREIGN_KEY_CHECKS=0 */;
/*!40101 SET @OLD_SQL_MODE=@@SQL_MODE, SQL_MODE='NO_AUTO_VALUE_ON_ZERO' */;
/*!40111 SET @OLD_SQL_NOTES=@@SQL_NOTES, SQL_NOTES=0 */;
DROP TABLE IF EXISTS `tblquoteitems`;
/*!40101 SET @saved_cs_client     = @@character_set_client */;
/*!40101 SET character_set_client = utf8 */;
CREATE TABLE `tblquoteitems` (
  `id` int(10) NOT NULL AUTO_INCREMENT,
  `quoteid` int(10) NOT NULL,
  `description` text COLLATE utf8_unicode_ci NOT NULL,
  `quantity` text COLLATE utf8_unicode_ci NOT NULL,
  `unitprice` decimal(16,2) NOT NULL,
  `discount` decimal(16,2) NOT NULL,
  `taxable` int(1) NOT NULL,
  `created_at` timestamp NOT NULL DEFAULT '0000-00-00 00:00:00',
  `updated_at` timestamp NOT NULL DEFAULT '0000-00-00 00:00:00',
  PRIMARY KEY (`id`)
) ENGINE=InnoDB DEFAULT CHARSET=utf8 COLLATE=utf8_unicode_ci;
/*!40101 SET character_set_client = @saved_cs_client */;
/*!40103 SET TIME_ZONE=@OLD_TIME_ZONE */;

/*!40101 SET SQL_MODE=@OLD_SQL_MODE */;
/*!40014 SET FOREIGN_KEY_CHECKS=@OLD_FOREIGN_KEY_CHECKS */;
/*!40014 SET UNIQUE_CHECKS=@OLD_UNIQUE_CHECKS */;
/*!40111 SET SQL_NOTES=@OLD_SQL_NOTES */;

install/tbldomainsadditionalfields.schema.sql000064400000002372147361027270015563 0ustar00/*!40103 SET @OLD_TIME_ZONE=@@TIME_ZONE */;
/*!40103 SET TIME_ZONE='+00:00' */;
/*!40014 SET @OLD_UNIQUE_CHECKS=@@UNIQUE_CHECKS, UNIQUE_CHECKS=0 */;
/*!40014 SET @OLD_FOREIGN_KEY_CHECKS=@@FOREIGN_KEY_CHECKS, FOREIGN_KEY_CHECKS=0 */;
/*!40101 SET @OLD_SQL_MODE=@@SQL_MODE, SQL_MODE='NO_AUTO_VALUE_ON_ZERO' */;
/*!40111 SET @OLD_SQL_NOTES=@@SQL_NOTES, SQL_NOTES=0 */;
DROP TABLE IF EXISTS `tbldomainsadditionalfields`;
/*!40101 SET @saved_cs_client     = @@character_set_client */;
/*!40101 SET character_set_client = utf8 */;
CREATE TABLE `tbldomainsadditionalfields` (
  `id` int(10) NOT NULL AUTO_INCREMENT,
  `domainid` int(10) NOT NULL,
  `name` text COLLATE utf8_unicode_ci NOT NULL,
  `value` text COLLATE utf8_unicode_ci NOT NULL,
  `created_at` timestamp NOT NULL DEFAULT '0000-00-00 00:00:00',
  `updated_at` timestamp NOT NULL DEFAULT '0000-00-00 00:00:00',
  PRIMARY KEY (`id`),
  KEY `domainid` (`domainid`)
) ENGINE=InnoDB DEFAULT CHARSET=utf8 COLLATE=utf8_unicode_ci;
/*!40101 SET character_set_client = @saved_cs_client */;
/*!40103 SET TIME_ZONE=@OLD_TIME_ZONE */;

/*!40101 SET SQL_MODE=@OLD_SQL_MODE */;
/*!40014 SET FOREIGN_KEY_CHECKS=@OLD_FOREIGN_KEY_CHECKS */;
/*!40014 SET UNIQUE_CHECKS=@OLD_UNIQUE_CHECKS */;
/*!40111 SET SQL_NOTES=@OLD_SQL_NOTES */;

install/tblstorageconfigurations.schema.sql000064400000002662147361027270015332 0ustar00/*!40103 SET @OLD_TIME_ZONE=@@TIME_ZONE */;
/*!40103 SET TIME_ZONE='+00:00' */;
/*!40014 SET @OLD_UNIQUE_CHECKS=@@UNIQUE_CHECKS, UNIQUE_CHECKS=0 */;
/*!40014 SET @OLD_FOREIGN_KEY_CHECKS=@@FOREIGN_KEY_CHECKS, FOREIGN_KEY_CHECKS=0 */;
/*!40101 SET @OLD_SQL_MODE=@@SQL_MODE, SQL_MODE='NO_AUTO_VALUE_ON_ZERO' */;
/*!40111 SET @OLD_SQL_NOTES=@@SQL_NOTES, SQL_NOTES=0 */;
DROP TABLE IF EXISTS `tblstorageconfigurations`;
/*!40101 SET @saved_cs_client     = @@character_set_client */;
/*!40101 SET character_set_client = utf8 */;
CREATE TABLE `tblstorageconfigurations` (
  `id` int(10) unsigned NOT NULL AUTO_INCREMENT,
  `name` varchar(255) COLLATE utf8_unicode_ci NOT NULL,
  `handler` varchar(255) COLLATE utf8_unicode_ci NOT NULL,
  `settings` text COLLATE utf8_unicode_ci NOT NULL,
  `last_error` TEXT COLLATE utf8_unicode_ci,
  `is_local` tinyint(1) unsigned NOT NULL,
  `sort_order` int(1) unsigned NOT NULL DEFAULT '0',
  `created_at` timestamp NOT NULL DEFAULT '0000-00-00 00:00:00',
  `updated_at` timestamp NOT NULL DEFAULT '0000-00-00 00:00:00',
  PRIMARY KEY (`id`),
  UNIQUE KEY `name` (`name`)
) ENGINE=InnoDB DEFAULT CHARSET=utf8 COLLATE=utf8_unicode_ci;
/*!40101 SET character_set_client = @saved_cs_client */;
/*!40103 SET TIME_ZONE=@OLD_TIME_ZONE */;

/*!40101 SET SQL_MODE=@OLD_SQL_MODE */;
/*!40014 SET FOREIGN_KEY_CHECKS=@OLD_FOREIGN_KEY_CHECKS */;
/*!40014 SET UNIQUE_CHECKS=@OLD_UNIQUE_CHECKS */;
/*!40111 SET SQL_NOTES=@OLD_SQL_NOTES */;

install/tblproducteventactions.data.sql000064400000001142147361027270014457 0ustar00/*!40103 SET @OLD_TIME_ZONE=@@TIME_ZONE */;
/*!40103 SET TIME_ZONE='+00:00' */;
/*!40014 SET @OLD_FOREIGN_KEY_CHECKS=@@FOREIGN_KEY_CHECKS, FOREIGN_KEY_CHECKS=0 */;
/*!40101 SET @OLD_SQL_MODE=@@SQL_MODE, SQL_MODE='NO_AUTO_VALUE_ON_ZERO' */;
/*!40111 SET @OLD_SQL_NOTES=@@SQL_NOTES, SQL_NOTES=0 */;

/*!40000 ALTER TABLE `tblproducteventactions` DISABLE KEYS */;
/*!40000 ALTER TABLE `tblproducteventactions` ENABLE KEYS */;

/*!40103 SET TIME_ZONE=@OLD_TIME_ZONE */;

/*!40101 SET SQL_MODE=@OLD_SQL_MODE */;
/*!40014 SET FOREIGN_KEY_CHECKS=@OLD_FOREIGN_KEY_CHECKS */;
/*!40111 SET SQL_NOTES=@OLD_SQL_NOTES */;

install/tblticketreplies.data.sql000064400000001125147361027270013224 0ustar00/*!40103 SET @OLD_TIME_ZONE=@@TIME_ZONE */;
/*!40103 SET TIME_ZONE='+00:00' */;
/*!40014 SET @OLD_FOREIGN_KEY_CHECKS=@@FOREIGN_KEY_CHECKS, FOREIGN_KEY_CHECKS=0 */;
/*!40101 SET @OLD_SQL_MODE=@@SQL_MODE, SQL_MODE='NO_AUTO_VALUE_ON_ZERO' */;
/*!40111 SET @OLD_SQL_NOTES=@@SQL_NOTES, SQL_NOTES=0 */;

/*!40000 ALTER TABLE `tblticketreplies` DISABLE KEYS */;
/*!40000 ALTER TABLE `tblticketreplies` ENABLE KEYS */;
/*!40103 SET TIME_ZONE=@OLD_TIME_ZONE */;

/*!40101 SET SQL_MODE=@OLD_SQL_MODE */;
/*!40014 SET FOREIGN_KEY_CHECKS=@OLD_FOREIGN_KEY_CHECKS */;
/*!40111 SET SQL_NOTES=@OLD_SQL_NOTES */;

install/tblproductconfiggroups.data.sql000064400000001141147361027270014461 0ustar00/*!40103 SET @OLD_TIME_ZONE=@@TIME_ZONE */;
/*!40103 SET TIME_ZONE='+00:00' */;
/*!40014 SET @OLD_FOREIGN_KEY_CHECKS=@@FOREIGN_KEY_CHECKS, FOREIGN_KEY_CHECKS=0 */;
/*!40101 SET @OLD_SQL_MODE=@@SQL_MODE, SQL_MODE='NO_AUTO_VALUE_ON_ZERO' */;
/*!40111 SET @OLD_SQL_NOTES=@@SQL_NOTES, SQL_NOTES=0 */;

/*!40000 ALTER TABLE `tblproductconfiggroups` DISABLE KEYS */;
/*!40000 ALTER TABLE `tblproductconfiggroups` ENABLE KEYS */;
/*!40103 SET TIME_ZONE=@OLD_TIME_ZONE */;

/*!40101 SET SQL_MODE=@OLD_SQL_MODE */;
/*!40014 SET FOREIGN_KEY_CHECKS=@OLD_FOREIGN_KEY_CHECKS */;
/*!40111 SET SQL_NOTES=@OLD_SQL_NOTES */;

install/tblaffiliates_referrers.schema.sql000064400000002402147361027270015071 0ustar00/*!40103 SET @OLD_TIME_ZONE=@@TIME_ZONE */;
/*!40103 SET TIME_ZONE='+00:00' */;
/*!40014 SET @OLD_UNIQUE_CHECKS=@@UNIQUE_CHECKS, UNIQUE_CHECKS=0 */;
/*!40014 SET @OLD_FOREIGN_KEY_CHECKS=@@FOREIGN_KEY_CHECKS, FOREIGN_KEY_CHECKS=0 */;
/*!40101 SET @OLD_SQL_MODE=@@SQL_MODE, SQL_MODE='NO_AUTO_VALUE_ON_ZERO' */;
/*!40111 SET @OLD_SQL_NOTES=@@SQL_NOTES, SQL_NOTES=0 */;
DROP TABLE IF EXISTS `tblaffiliates_referrers`;
/*!40101 SET @saved_cs_client     = @@character_set_client */;
/*!40101 SET character_set_client = utf8 */;
CREATE TABLE `tblaffiliates_referrers` (
  `id` int(10) unsigned NOT NULL AUTO_INCREMENT,
  `affiliate_id` int(10) unsigned NOT NULL DEFAULT '0',
  `referrer` varchar(500) COLLATE utf8_unicode_ci NOT NULL DEFAULT '',
  `created_at` datetime NOT NULL DEFAULT '0000-00-00 00:00:00',
  `updated_at` datetime NOT NULL DEFAULT '0000-00-00 00:00:00',
  PRIMARY KEY (`id`),
  KEY `affiliate_id` (`affiliate_id`)
) ENGINE=InnoDB DEFAULT CHARSET=utf8 COLLATE=utf8_unicode_ci;
/*!40101 SET character_set_client = @saved_cs_client */;
/*!40103 SET TIME_ZONE=@OLD_TIME_ZONE */;

/*!40101 SET SQL_MODE=@OLD_SQL_MODE */;
/*!40014 SET FOREIGN_KEY_CHECKS=@OLD_FOREIGN_KEY_CHECKS */;
/*!40014 SET UNIQUE_CHECKS=@OLD_UNIQUE_CHECKS */;
/*!40111 SET SQL_NOTES=@OLD_SQL_NOTES */;

install/tblusers.schema.sql000064400000003735147361027270012056 0ustar00/*!40103 SET @OLD_TIME_ZONE=@@TIME_ZONE */;
/*!40103 SET TIME_ZONE='+00:00' */;
/*!40014 SET @OLD_UNIQUE_CHECKS=@@UNIQUE_CHECKS, UNIQUE_CHECKS=0 */;
/*!40014 SET @OLD_FOREIGN_KEY_CHECKS=@@FOREIGN_KEY_CHECKS, FOREIGN_KEY_CHECKS=0 */;
/*!40101 SET @OLD_SQL_MODE=@@SQL_MODE, SQL_MODE='NO_AUTO_VALUE_ON_ZERO' */;
/*!40111 SET @OLD_SQL_NOTES=@@SQL_NOTES, SQL_NOTES=0 */;
DROP TABLE IF EXISTS `tblusers`;
/*!40101 SET @saved_cs_client     = @@character_set_client */;
/*!40101 SET character_set_client = utf8 */;
CREATE TABLE `tblusers` (
  `id` int(10) unsigned NOT NULL AUTO_INCREMENT,
  `first_name` varchar(255) NOT NULL DEFAULT '',
  `last_name` varchar(255) NOT NULL DEFAULT '',
  `email` varchar(255) NOT NULL DEFAULT '',
  `password` varchar(255) NOT NULL DEFAULT '',
  `language` varchar(32) NOT NULL DEFAULT '',
  `second_factor` varchar(255) NOT NULL DEFAULT '',
  `second_factor_config` text,
  `remember_token` varchar(100) NOT NULL DEFAULT '',
  `reset_token` varchar(255) NOT NULL DEFAULT '',
  `security_question_id` int(10) unsigned NOT NULL DEFAULT '0',
  `security_question_answer` varchar(255) NOT NULL DEFAULT '',
  `last_ip` varchar(64) NOT NULL DEFAULT '',
  `last_hostname` varchar(255) NOT NULL DEFAULT '',
  `last_login` timestamp NULL DEFAULT NULL,
  `email_verification_token` varchar(100) NOT NULL DEFAULT '',
  `email_verification_token_expiry` timestamp NULL DEFAULT NULL,
  `email_verified_at` timestamp NULL DEFAULT NULL,
  `reset_token_expiry` timestamp NULL DEFAULT NULL,
  `created_at` timestamp NULL DEFAULT NULL,
  `updated_at` timestamp NULL DEFAULT NULL,
  PRIMARY KEY (`id`),
  UNIQUE KEY `tblusers_email_unique` (`email`)
) ENGINE=InnoDB DEFAULT CHARSET=utf8 COLLATE=utf8_unicode_ci;
/*!40101 SET character_set_client = @saved_cs_client */;
/*!40103 SET TIME_ZONE=@OLD_TIME_ZONE */;

/*!40101 SET SQL_MODE=@OLD_SQL_MODE */;
/*!40014 SET FOREIGN_KEY_CHECKS=@OLD_FOREIGN_KEY_CHECKS */;
/*!40014 SET UNIQUE_CHECKS=@OLD_UNIQUE_CHECKS */;
/*!40111 SET SQL_NOTES=@OLD_SQL_NOTES */;

install/tblquoteitems.data.sql000064400000001117147361027270012555 0ustar00/*!40103 SET @OLD_TIME_ZONE=@@TIME_ZONE */;
/*!40103 SET TIME_ZONE='+00:00' */;
/*!40014 SET @OLD_FOREIGN_KEY_CHECKS=@@FOREIGN_KEY_CHECKS, FOREIGN_KEY_CHECKS=0 */;
/*!40101 SET @OLD_SQL_MODE=@@SQL_MODE, SQL_MODE='NO_AUTO_VALUE_ON_ZERO' */;
/*!40111 SET @OLD_SQL_NOTES=@@SQL_NOTES, SQL_NOTES=0 */;

/*!40000 ALTER TABLE `tblquoteitems` DISABLE KEYS */;
/*!40000 ALTER TABLE `tblquoteitems` ENABLE KEYS */;
/*!40103 SET TIME_ZONE=@OLD_TIME_ZONE */;

/*!40101 SET SQL_MODE=@OLD_SQL_MODE */;
/*!40014 SET FOREIGN_KEY_CHECKS=@OLD_FOREIGN_KEY_CHECKS */;
/*!40111 SET SQL_NOTES=@OLD_SQL_NOTES */;

install/tblproductconfigoptionssub.data.sql000064400000001151147361027270015350 0ustar00/*!40103 SET @OLD_TIME_ZONE=@@TIME_ZONE */;
/*!40103 SET TIME_ZONE='+00:00' */;
/*!40014 SET @OLD_FOREIGN_KEY_CHECKS=@@FOREIGN_KEY_CHECKS, FOREIGN_KEY_CHECKS=0 */;
/*!40101 SET @OLD_SQL_MODE=@@SQL_MODE, SQL_MODE='NO_AUTO_VALUE_ON_ZERO' */;
/*!40111 SET @OLD_SQL_NOTES=@@SQL_NOTES, SQL_NOTES=0 */;

/*!40000 ALTER TABLE `tblproductconfigoptionssub` DISABLE KEYS */;
/*!40000 ALTER TABLE `tblproductconfigoptionssub` ENABLE KEYS */;
/*!40103 SET TIME_ZONE=@OLD_TIME_ZONE */;

/*!40101 SET SQL_MODE=@OLD_SQL_MODE */;
/*!40014 SET FOREIGN_KEY_CHECKS=@OLD_FOREIGN_KEY_CHECKS */;
/*!40111 SET SQL_NOTES=@OLD_SQL_NOTES */;

install/tblproductconfigoptionssub.schema.sql000064400000002225147361027270015702 0ustar00/*!40103 SET @OLD_TIME_ZONE=@@TIME_ZONE */;
/*!40103 SET TIME_ZONE='+00:00' */;
/*!40014 SET @OLD_UNIQUE_CHECKS=@@UNIQUE_CHECKS, UNIQUE_CHECKS=0 */;
/*!40014 SET @OLD_FOREIGN_KEY_CHECKS=@@FOREIGN_KEY_CHECKS, FOREIGN_KEY_CHECKS=0 */;
/*!40101 SET @OLD_SQL_MODE=@@SQL_MODE, SQL_MODE='NO_AUTO_VALUE_ON_ZERO' */;
/*!40111 SET @OLD_SQL_NOTES=@@SQL_NOTES, SQL_NOTES=0 */;
DROP TABLE IF EXISTS `tblproductconfigoptionssub`;
/*!40101 SET @saved_cs_client     = @@character_set_client */;
/*!40101 SET character_set_client = utf8 */;
CREATE TABLE `tblproductconfigoptionssub` (
  `id` int(10) NOT NULL AUTO_INCREMENT,
  `configid` int(10) NOT NULL,
  `optionname` text COLLATE utf8_unicode_ci NOT NULL,
  `sortorder` int(10) NOT NULL DEFAULT '0',
  `hidden` int(1) NOT NULL,
  PRIMARY KEY (`id`),
  KEY `configid` (`configid`)
) ENGINE=InnoDB DEFAULT CHARSET=utf8 COLLATE=utf8_unicode_ci;
/*!40101 SET character_set_client = @saved_cs_client */;
/*!40103 SET TIME_ZONE=@OLD_TIME_ZONE */;

/*!40101 SET SQL_MODE=@OLD_SQL_MODE */;
/*!40014 SET FOREIGN_KEY_CHECKS=@OLD_FOREIGN_KEY_CHECKS */;
/*!40014 SET UNIQUE_CHECKS=@OLD_UNIQUE_CHECKS */;
/*!40111 SET SQL_NOTES=@OLD_SQL_NOTES */;

install/tblorders.schema.sql000064400000004111147361027270012200 0ustar00/*!40103 SET @OLD_TIME_ZONE=@@TIME_ZONE */;
/*!40103 SET TIME_ZONE='+00:00' */;
/*!40014 SET @OLD_UNIQUE_CHECKS=@@UNIQUE_CHECKS, UNIQUE_CHECKS=0 */;
/*!40014 SET @OLD_FOREIGN_KEY_CHECKS=@@FOREIGN_KEY_CHECKS, FOREIGN_KEY_CHECKS=0 */;
/*!40101 SET @OLD_SQL_MODE=@@SQL_MODE, SQL_MODE='NO_AUTO_VALUE_ON_ZERO' */;
/*!40111 SET @OLD_SQL_NOTES=@@SQL_NOTES, SQL_NOTES=0 */;
DROP TABLE IF EXISTS `tblorders`;
/*!40101 SET @saved_cs_client     = @@character_set_client */;
/*!40101 SET character_set_client = utf8 */;
CREATE TABLE `tblorders` (
  `id` int(10) NOT NULL AUTO_INCREMENT,
  `ordernum` bigint(10) NOT NULL,
  `userid` int(10) NOT NULL,
  `contactid` int(10) NOT NULL,
  `requestor_id` int(10) UNSIGNED NOT NULL DEFAULT '0',
  `admin_requestor_id` int(10) UNSIGNED NOT NULL DEFAULT '0',
  `date` datetime NOT NULL,
  `nameservers` text COLLATE utf8_unicode_ci NOT NULL,
  `transfersecret` text COLLATE utf8_unicode_ci NOT NULL,
  `renewals` text COLLATE utf8_unicode_ci NOT NULL,
  `promocode` text COLLATE utf8_unicode_ci NOT NULL,
  `promotype` text COLLATE utf8_unicode_ci NOT NULL,
  `promovalue` text COLLATE utf8_unicode_ci NOT NULL,
  `orderdata` text COLLATE utf8_unicode_ci NOT NULL,
  `amount` decimal(16,2) NOT NULL,
  `paymentmethod` text COLLATE utf8_unicode_ci NOT NULL,
  `invoiceid` int(10) NOT NULL DEFAULT '0',
  `status` text COLLATE utf8_unicode_ci NOT NULL,
  `ipaddress` text COLLATE utf8_unicode_ci NOT NULL,
  `fraudmodule` text COLLATE utf8_unicode_ci NOT NULL,
  `fraudoutput` text COLLATE utf8_unicode_ci NOT NULL,
  `notes` text COLLATE utf8_unicode_ci NOT NULL,
  PRIMARY KEY (`id`),
  KEY `ordernum` (`ordernum`),
  KEY `userid` (`userid`),
  KEY `contactid` (`contactid`),
  KEY `date` (`date`),
  KEY `requestor_id` (`requestor_id`)
) ENGINE=InnoDB DEFAULT CHARSET=utf8 COLLATE=utf8_unicode_ci;
/*!40101 SET character_set_client = @saved_cs_client */;
/*!40103 SET TIME_ZONE=@OLD_TIME_ZONE */;

/*!40101 SET SQL_MODE=@OLD_SQL_MODE */;
/*!40014 SET FOREIGN_KEY_CHECKS=@OLD_FOREIGN_KEY_CHECKS */;
/*!40014 SET UNIQUE_CHECKS=@OLD_UNIQUE_CHECKS */;
/*!40111 SET SQL_NOTES=@OLD_SQL_NOTES */;

install/tblbannedemails.schema.sql000064400000002074147361027270013332 0ustar00/*!40103 SET @OLD_TIME_ZONE=@@TIME_ZONE */;
/*!40103 SET TIME_ZONE='+00:00' */;
/*!40014 SET @OLD_UNIQUE_CHECKS=@@UNIQUE_CHECKS, UNIQUE_CHECKS=0 */;
/*!40014 SET @OLD_FOREIGN_KEY_CHECKS=@@FOREIGN_KEY_CHECKS, FOREIGN_KEY_CHECKS=0 */;
/*!40101 SET @OLD_SQL_MODE=@@SQL_MODE, SQL_MODE='NO_AUTO_VALUE_ON_ZERO' */;
/*!40111 SET @OLD_SQL_NOTES=@@SQL_NOTES, SQL_NOTES=0 */;
DROP TABLE IF EXISTS `tblbannedemails`;
/*!40101 SET @saved_cs_client     = @@character_set_client */;
/*!40101 SET character_set_client = utf8 */;
CREATE TABLE `tblbannedemails` (
  `id` int(10) NOT NULL AUTO_INCREMENT,
  `domain` text COLLATE utf8_unicode_ci NOT NULL,
  `count` int(10) NOT NULL DEFAULT '0',
  PRIMARY KEY (`id`),
  KEY `domain` (`domain`(64))
) ENGINE=InnoDB DEFAULT CHARSET=utf8 COLLATE=utf8_unicode_ci;
/*!40101 SET character_set_client = @saved_cs_client */;
/*!40103 SET TIME_ZONE=@OLD_TIME_ZONE */;

/*!40101 SET SQL_MODE=@OLD_SQL_MODE */;
/*!40014 SET FOREIGN_KEY_CHECKS=@OLD_FOREIGN_KEY_CHECKS */;
/*!40014 SET UNIQUE_CHECKS=@OLD_UNIQUE_CHECKS */;
/*!40111 SET SQL_NOTES=@OLD_SQL_NOTES */;

install/tblaffiliates.data.sql000064400000001117147361027270012465 0ustar00/*!40103 SET @OLD_TIME_ZONE=@@TIME_ZONE */;
/*!40103 SET TIME_ZONE='+00:00' */;
/*!40014 SET @OLD_FOREIGN_KEY_CHECKS=@@FOREIGN_KEY_CHECKS, FOREIGN_KEY_CHECKS=0 */;
/*!40101 SET @OLD_SQL_MODE=@@SQL_MODE, SQL_MODE='NO_AUTO_VALUE_ON_ZERO' */;
/*!40111 SET @OLD_SQL_NOTES=@@SQL_NOTES, SQL_NOTES=0 */;

/*!40000 ALTER TABLE `tblaffiliates` DISABLE KEYS */;
/*!40000 ALTER TABLE `tblaffiliates` ENABLE KEYS */;
/*!40103 SET TIME_ZONE=@OLD_TIME_ZONE */;

/*!40101 SET SQL_MODE=@OLD_SQL_MODE */;
/*!40014 SET FOREIGN_KEY_CHECKS=@OLD_FOREIGN_KEY_CHECKS */;
/*!40111 SET SQL_NOTES=@OLD_SQL_NOTES */;

install/tblserver_tenants.schema.sql000064400000002305147361027270013747 0ustar00/*!40103 SET @OLD_TIME_ZONE=@@TIME_ZONE */;
/*!40103 SET TIME_ZONE='+00:00' */;
/*!40014 SET @OLD_UNIQUE_CHECKS=@@UNIQUE_CHECKS, UNIQUE_CHECKS=0 */;
/*!40014 SET @OLD_FOREIGN_KEY_CHECKS=@@FOREIGN_KEY_CHECKS, FOREIGN_KEY_CHECKS=0 */;
/*!40101 SET @OLD_SQL_MODE=@@SQL_MODE, SQL_MODE='NO_AUTO_VALUE_ON_ZERO' */;
/*!40111 SET @OLD_SQL_NOTES=@@SQL_NOTES, SQL_NOTES=0 */;
DROP TABLE IF EXISTS `tblserver_tenants`;
/*!40101 SET @saved_cs_client     = @@character_set_client */;
/*!40101 SET character_set_client = utf8 */;
CREATE TABLE `tblserver_tenants` (
  `id` int(10) unsigned NOT NULL AUTO_INCREMENT,
  `server_id` int(11) NOT NULL DEFAULT '0',
  `tenant` varchar(255) COLLATE utf8_unicode_ci NOT NULL DEFAULT '',
  `created_at` timestamp NULL DEFAULT NULL,
  `updated_at` timestamp NULL DEFAULT NULL,
  PRIMARY KEY (`id`),
  KEY `server_tenant` (`tenant`,`server_id`)
) ENGINE=InnoDB DEFAULT CHARSET=utf8 COLLATE=utf8_unicode_ci;
/*!40101 SET character_set_client = @saved_cs_client */;
/*!40103 SET TIME_ZONE=@OLD_TIME_ZONE */;

/*!40101 SET SQL_MODE=@OLD_SQL_MODE */;
/*!40014 SET FOREIGN_KEY_CHECKS=@OLD_FOREIGN_KEY_CHECKS */;
/*!40014 SET UNIQUE_CHECKS=@OLD_UNIQUE_CHECKS */;
/*!40111 SET SQL_NOTES=@OLD_SQL_NOTES */;install/tblproducts_slugs.schema.sql000064400000002653147361027270013773 0ustar00/*!40103 SET @OLD_TIME_ZONE=@@TIME_ZONE */;
/*!40103 SET TIME_ZONE='+00:00' */;
/*!40014 SET @OLD_UNIQUE_CHECKS=@@UNIQUE_CHECKS, UNIQUE_CHECKS=0 */;
/*!40014 SET @OLD_FOREIGN_KEY_CHECKS=@@FOREIGN_KEY_CHECKS, FOREIGN_KEY_CHECKS=0 */;
/*!40101 SET @OLD_SQL_MODE=@@SQL_MODE, SQL_MODE='NO_AUTO_VALUE_ON_ZERO' */;
/*!40111 SET @OLD_SQL_NOTES=@@SQL_NOTES, SQL_NOTES=0 */;
DROP TABLE IF EXISTS `tblproducts_slugs`;
/*!40101 SET @saved_cs_client     = @@character_set_client */;
/*!40101 SET character_set_client = utf8 */;
CREATE TABLE `tblproducts_slugs` (
  `id` int(10) unsigned NOT NULL AUTO_INCREMENT,
  `product_id` int(10) unsigned NOT NULL,
  `group_id` int(10) unsigned NOT NULL,
  `group_slug` varchar(255) NOT NULL DEFAULT '',
  `slug` varchar(255) NOT NULL DEFAULT '',
  `active` tinyint(1) unsigned NOT NULL DEFAULT 0,
  `clicks` int(10) unsigned NOT NULL DEFAULT 0,
  `created_at` timestamp NULL DEFAULT NULL,
  `updated_at` timestamp NULL DEFAULT NULL,
  PRIMARY KEY (`id`),
  KEY `tblproducts_slugs_product_id_index` (`product_id`),
  KEY `tblproducts_slugs_group_id_index` (`group_id`)
) ENGINE=InnoDB DEFAULT CHARSET=utf8 COLLATE=utf8_unicode_ci;
/*!40101 SET character_set_client = @saved_cs_client */;
/*!40103 SET TIME_ZONE=@OLD_TIME_ZONE */;

/*!40101 SET SQL_MODE=@OLD_SQL_MODE */;
/*!40014 SET FOREIGN_KEY_CHECKS=@OLD_FOREIGN_KEY_CHECKS */;
/*!40014 SET UNIQUE_CHECKS=@OLD_UNIQUE_CHECKS */;
/*!40111 SET SQL_NOTES=@OLD_SQL_NOTES */;

install/tblticketreplies.schema.sql000064400000003067147361027270013562 0ustar00/*!40103 SET @OLD_TIME_ZONE=@@TIME_ZONE */;
/*!40103 SET TIME_ZONE='+00:00' */;
/*!40014 SET @OLD_UNIQUE_CHECKS=@@UNIQUE_CHECKS, UNIQUE_CHECKS=0 */;
/*!40014 SET @OLD_FOREIGN_KEY_CHECKS=@@FOREIGN_KEY_CHECKS, FOREIGN_KEY_CHECKS=0 */;
/*!40101 SET @OLD_SQL_MODE=@@SQL_MODE, SQL_MODE='NO_AUTO_VALUE_ON_ZERO' */;
/*!40111 SET @OLD_SQL_NOTES=@@SQL_NOTES, SQL_NOTES=0 */;
DROP TABLE IF EXISTS `tblticketreplies`;
/*!40101 SET @saved_cs_client     = @@character_set_client */;
/*!40101 SET character_set_client = utf8 */;
CREATE TABLE `tblticketreplies` (
  `id` int(10) NOT NULL AUTO_INCREMENT,
  `tid` int(10) NOT NULL,
  `userid` int(10) NOT NULL,
  `contactid` int(10) NOT NULL,
  `requestor_id` INT(10) UNSIGNED NOT NULL DEFAULT '0',
  `name` text COLLATE utf8_unicode_ci NOT NULL,
  `email` text COLLATE utf8_unicode_ci NOT NULL,
  `date` datetime NOT NULL,
  `message` text COLLATE utf8_unicode_ci NOT NULL,
  `admin` text COLLATE utf8_unicode_ci NOT NULL,
  `attachment` text COLLATE utf8_unicode_ci NOT NULL,
  `attachments_removed` tinyint(1) NOT NULL DEFAULT '0',
  `rating` int(5) NOT NULL,
  `editor` enum('plain','markdown') COLLATE utf8_unicode_ci NOT NULL DEFAULT 'plain',
  PRIMARY KEY (`id`),
  KEY `tid_date` (`tid`,`date`)
) ENGINE=InnoDB DEFAULT CHARSET=utf8 COLLATE=utf8_unicode_ci;
/*!40101 SET character_set_client = @saved_cs_client */;
/*!40103 SET TIME_ZONE=@OLD_TIME_ZONE */;

/*!40101 SET SQL_MODE=@OLD_SQL_MODE */;
/*!40014 SET FOREIGN_KEY_CHECKS=@OLD_FOREIGN_KEY_CHECKS */;
/*!40014 SET UNIQUE_CHECKS=@OLD_UNIQUE_CHECKS */;
/*!40111 SET SQL_NOTES=@OLD_SQL_NOTES */;

install/tblmodule_configuration.schema.sql000064400000003061147361027270015121 0ustar00/*!40103 SET @OLD_TIME_ZONE=@@TIME_ZONE */;
/*!40103 SET TIME_ZONE='+00:00' */;
/*!40014 SET @OLD_UNIQUE_CHECKS=@@UNIQUE_CHECKS, UNIQUE_CHECKS=0 */;
/*!40014 SET @OLD_FOREIGN_KEY_CHECKS=@@FOREIGN_KEY_CHECKS, FOREIGN_KEY_CHECKS=0 */;
/*!40101 SET @OLD_SQL_MODE=@@SQL_MODE, SQL_MODE='NO_AUTO_VALUE_ON_ZERO' */;
/*!40111 SET @OLD_SQL_NOTES=@@SQL_NOTES, SQL_NOTES=0 */;
DROP TABLE IF EXISTS `tblmodule_configuration`;
/*!40101 SET @saved_cs_client     = @@character_set_client */;
/*!40101 SET character_set_client = utf8 */;
CREATE TABLE `tblmodule_configuration` (
  `id` int(10) unsigned NOT NULL AUTO_INCREMENT,
  `entity_type` varchar(8) COLLATE utf8_unicode_ci NOT NULL DEFAULT '',
  `entity_id` int(10) unsigned NOT NULL DEFAULT '0',
  `setting_name` varchar(16) COLLATE utf8_unicode_ci NOT NULL DEFAULT '',
  `friendly_name` varchar(64) COLLATE utf8_unicode_ci NOT NULL DEFAULT '',
  `value` text COLLATE utf8_unicode_ci NOT NULL,
  `created_at` timestamp NOT NULL DEFAULT '0000-00-00 00:00:00',
  `updated_at` timestamp NOT NULL DEFAULT '0000-00-00 00:00:00',
  PRIMARY KEY (`id`),
  UNIQUE KEY `unique_constraint` (`entity_type`,`entity_id`,`setting_name`),
  KEY `tblmodule_configuration_entity_type_index` (`entity_type`)
) ENGINE=InnoDB DEFAULT CHARSET=utf8 COLLATE=utf8_unicode_ci;
/*!40101 SET character_set_client = @saved_cs_client */;
/*!40103 SET TIME_ZONE=@OLD_TIME_ZONE */;

/*!40101 SET SQL_MODE=@OLD_SQL_MODE */;
/*!40014 SET FOREIGN_KEY_CHECKS=@OLD_FOREIGN_KEY_CHECKS */;
/*!40014 SET UNIQUE_CHECKS=@OLD_UNIQUE_CHECKS */;
/*!40111 SET SQL_NOTES=@OLD_SQL_NOTES */;

install/tblservergroupsrel.schema.sql000064400000002006147361027270014154 0ustar00/*!40103 SET @OLD_TIME_ZONE=@@TIME_ZONE */;
/*!40103 SET TIME_ZONE='+00:00' */;
/*!40014 SET @OLD_UNIQUE_CHECKS=@@UNIQUE_CHECKS, UNIQUE_CHECKS=0 */;
/*!40014 SET @OLD_FOREIGN_KEY_CHECKS=@@FOREIGN_KEY_CHECKS, FOREIGN_KEY_CHECKS=0 */;
/*!40101 SET @OLD_SQL_MODE=@@SQL_MODE, SQL_MODE='NO_AUTO_VALUE_ON_ZERO' */;
/*!40111 SET @OLD_SQL_NOTES=@@SQL_NOTES, SQL_NOTES=0 */;
DROP TABLE IF EXISTS `tblservergroupsrel`;
/*!40101 SET @saved_cs_client     = @@character_set_client */;
/*!40101 SET character_set_client = utf8 */;
CREATE TABLE `tblservergroupsrel` (
  `id` int(10) NOT NULL AUTO_INCREMENT,
  `groupid` int(10) NOT NULL,
  `serverid` int(10) NOT NULL,
  PRIMARY KEY (`id`)
) ENGINE=InnoDB DEFAULT CHARSET=utf8 COLLATE=utf8_unicode_ci;
/*!40101 SET character_set_client = @saved_cs_client */;
/*!40103 SET TIME_ZONE=@OLD_TIME_ZONE */;

/*!40101 SET SQL_MODE=@OLD_SQL_MODE */;
/*!40014 SET FOREIGN_KEY_CHECKS=@OLD_FOREIGN_KEY_CHECKS */;
/*!40014 SET UNIQUE_CHECKS=@OLD_UNIQUE_CHECKS */;
/*!40111 SET SQL_NOTES=@OLD_SQL_NOTES */;

install/tblproduct_downloads.schema.sql000064400000002431147361027270014437 0ustar00/*!40103 SET @OLD_TIME_ZONE=@@TIME_ZONE */;
/*!40103 SET TIME_ZONE='+00:00' */;
/*!40014 SET @OLD_UNIQUE_CHECKS=@@UNIQUE_CHECKS, UNIQUE_CHECKS=0 */;
/*!40014 SET @OLD_FOREIGN_KEY_CHECKS=@@FOREIGN_KEY_CHECKS, FOREIGN_KEY_CHECKS=0 */;
/*!40101 SET @OLD_SQL_MODE=@@SQL_MODE, SQL_MODE='NO_AUTO_VALUE_ON_ZERO' */;
/*!40111 SET @OLD_SQL_NOTES=@@SQL_NOTES, SQL_NOTES=0 */;
DROP TABLE IF EXISTS `tblproduct_downloads`;
/*!40101 SET @saved_cs_client     = @@character_set_client */;
/*!40101 SET character_set_client = utf8 */;
CREATE TABLE `tblproduct_downloads` (
  `id` int(10) unsigned NOT NULL AUTO_INCREMENT,
  `product_id` int(10) NOT NULL,
  `download_id` int(10) NOT NULL,
  `created_at` timestamp NOT NULL DEFAULT '0000-00-00 00:00:00',
  `updated_at` timestamp NOT NULL DEFAULT '0000-00-00 00:00:00',
  PRIMARY KEY (`id`),
  KEY `tblproduct_downloads_product_id_index` (`product_id`),
  KEY `tblproduct_downloads_download_id_index` (`download_id`)
) ENGINE=InnoDB DEFAULT CHARSET=utf8 COLLATE=utf8_unicode_ci;
/*!40101 SET character_set_client = @saved_cs_client */;
/*!40103 SET TIME_ZONE=@OLD_TIME_ZONE */;

/*!40101 SET SQL_MODE=@OLD_SQL_MODE */;
/*!40014 SET FOREIGN_KEY_CHECKS=@OLD_FOREIGN_KEY_CHECKS */;
/*!40014 SET UNIQUE_CHECKS=@OLD_UNIQUE_CHECKS */;
/*!40111 SET SQL_NOTES=@OLD_SQL_NOTES */;

install/tblfraud.schema.sql000064400000002147147361027270012012 0ustar00/*!40103 SET @OLD_TIME_ZONE=@@TIME_ZONE */;
/*!40103 SET TIME_ZONE='+00:00' */;
/*!40014 SET @OLD_UNIQUE_CHECKS=@@UNIQUE_CHECKS, UNIQUE_CHECKS=0 */;
/*!40014 SET @OLD_FOREIGN_KEY_CHECKS=@@FOREIGN_KEY_CHECKS, FOREIGN_KEY_CHECKS=0 */;
/*!40101 SET @OLD_SQL_MODE=@@SQL_MODE, SQL_MODE='NO_AUTO_VALUE_ON_ZERO' */;
/*!40111 SET @OLD_SQL_NOTES=@@SQL_NOTES, SQL_NOTES=0 */;
DROP TABLE IF EXISTS `tblfraud`;
/*!40101 SET @saved_cs_client     = @@character_set_client */;
/*!40101 SET character_set_client = utf8 */;
CREATE TABLE `tblfraud` (
  `id` int(10) NOT NULL AUTO_INCREMENT,
  `fraud` text COLLATE utf8_unicode_ci NOT NULL,
  `setting` text COLLATE utf8_unicode_ci NOT NULL,
  `value` text COLLATE utf8_unicode_ci NOT NULL,
  PRIMARY KEY (`id`),
  KEY `fraud` (`fraud`(32))
) ENGINE=InnoDB DEFAULT CHARSET=utf8 COLLATE=utf8_unicode_ci;
/*!40101 SET character_set_client = @saved_cs_client */;
/*!40103 SET TIME_ZONE=@OLD_TIME_ZONE */;

/*!40101 SET SQL_MODE=@OLD_SQL_MODE */;
/*!40014 SET FOREIGN_KEY_CHECKS=@OLD_FOREIGN_KEY_CHECKS */;
/*!40014 SET UNIQUE_CHECKS=@OLD_UNIQUE_CHECKS */;
/*!40111 SET SQL_NOTES=@OLD_SQL_NOTES */;

install/tblcustomfieldsvalues.data.sql000064400000001137147361027270014301 0ustar00/*!40103 SET @OLD_TIME_ZONE=@@TIME_ZONE */;
/*!40103 SET TIME_ZONE='+00:00' */;
/*!40014 SET @OLD_FOREIGN_KEY_CHECKS=@@FOREIGN_KEY_CHECKS, FOREIGN_KEY_CHECKS=0 */;
/*!40101 SET @OLD_SQL_MODE=@@SQL_MODE, SQL_MODE='NO_AUTO_VALUE_ON_ZERO' */;
/*!40111 SET @OLD_SQL_NOTES=@@SQL_NOTES, SQL_NOTES=0 */;

/*!40000 ALTER TABLE `tblcustomfieldsvalues` DISABLE KEYS */;
/*!40000 ALTER TABLE `tblcustomfieldsvalues` ENABLE KEYS */;
/*!40103 SET TIME_ZONE=@OLD_TIME_ZONE */;

/*!40101 SET SQL_MODE=@OLD_SQL_MODE */;
/*!40014 SET FOREIGN_KEY_CHECKS=@OLD_FOREIGN_KEY_CHECKS */;
/*!40111 SET SQL_NOTES=@OLD_SQL_NOTES */;

install/tblproduct_upgrade_products.data.sql000064400000001153147361027270015470 0ustar00/*!40103 SET @OLD_TIME_ZONE=@@TIME_ZONE */;
/*!40103 SET TIME_ZONE='+00:00' */;
/*!40014 SET @OLD_FOREIGN_KEY_CHECKS=@@FOREIGN_KEY_CHECKS, FOREIGN_KEY_CHECKS=0 */;
/*!40101 SET @OLD_SQL_MODE=@@SQL_MODE, SQL_MODE='NO_AUTO_VALUE_ON_ZERO' */;
/*!40111 SET @OLD_SQL_NOTES=@@SQL_NOTES, SQL_NOTES=0 */;

/*!40000 ALTER TABLE `tblproduct_upgrade_products` DISABLE KEYS */;
/*!40000 ALTER TABLE `tblproduct_upgrade_products` ENABLE KEYS */;
/*!40103 SET TIME_ZONE=@OLD_TIME_ZONE */;

/*!40101 SET SQL_MODE=@OLD_SQL_MODE */;
/*!40014 SET FOREIGN_KEY_CHECKS=@OLD_FOREIGN_KEY_CHECKS */;
/*!40111 SET SQL_NOTES=@OLD_SQL_NOTES */;

install/tbldownloads.data.sql000064400000001115147361027270012346 0ustar00/*!40103 SET @OLD_TIME_ZONE=@@TIME_ZONE */;
/*!40103 SET TIME_ZONE='+00:00' */;
/*!40014 SET @OLD_FOREIGN_KEY_CHECKS=@@FOREIGN_KEY_CHECKS, FOREIGN_KEY_CHECKS=0 */;
/*!40101 SET @OLD_SQL_MODE=@@SQL_MODE, SQL_MODE='NO_AUTO_VALUE_ON_ZERO' */;
/*!40111 SET @OLD_SQL_NOTES=@@SQL_NOTES, SQL_NOTES=0 */;

/*!40000 ALTER TABLE `tbldownloads` DISABLE KEYS */;
/*!40000 ALTER TABLE `tbldownloads` ENABLE KEYS */;
/*!40103 SET TIME_ZONE=@OLD_TIME_ZONE */;

/*!40101 SET SQL_MODE=@OLD_SQL_MODE */;
/*!40014 SET FOREIGN_KEY_CHECKS=@OLD_FOREIGN_KEY_CHECKS */;
/*!40111 SET SQL_NOTES=@OLD_SQL_NOTES */;

upgrade421.sql000064400000000533147361027270007155 0ustar00INSERT INTO `tbladminperms` (`roleid` ,`permid` )VALUES ('1', '95'),('1', '96');

ALTER TABLE `tblcontacts` ADD `pwresetkey` TEXT NOT NULL , ADD `pwresetexpiry` INT( 10 ) NOT NULL ;

INSERT INTO `tblconfiguration` (`setting`, `value`) VALUES ('NoAutoApplyCredit', '');

UPDATE tblemailtemplates SET type='general' WHERE name='Order Confirmation';
upgrade600alpha1.sql000064400000026211147361027270010244 0ustar00-- Create the updater history table.
CREATE TABLE `tblupdatehistory` (
  `id` int(10) unsigned NOT NULL AUTO_INCREMENT,
  `admin_id` int(11) NOT NULL,
  `original_version` varchar(255) COLLATE utf8_unicode_ci NOT NULL,
  `new_version` varchar(255) COLLATE utf8_unicode_ci NOT NULL,
  `success` tinyint(1) NOT NULL,
  `message` text COLLATE utf8_unicode_ci,
  `created_at` timestamp NOT NULL DEFAULT '0000-00-00 00:00:00',
  `updated_at` timestamp NOT NULL DEFAULT '0000-00-00 00:00:00',
  PRIMARY KEY (`id`)
) ENGINE=InnoDB DEFAULT CHARSET=utf8 COLLATE=utf8_unicode_ci;

-- Add timestamps to mail templates.
-- Set utf8_unicode_ci collation to existing mail templates.
ALTER TABLE `tblemailtemplates`
  ADD `created_at` timestamp NOT NULL DEFAULT '0000-00-00 00:00:00' AFTER `plaintext`,
  ADD `updated_at` timestamp NOT NULL DEFAULT '0000-00-00 00:00:00' AFTER `created_at`;

-- Add timestamps to configuration entries.
-- Set utf8_unicode_ci collation to existing settings.
ALTER TABLE `tblconfiguration`
  CHANGE COLUMN `value` `value` TEXT COLLATE utf8_unicode_ci NOT NULL,
  ADD `created_at` timestamp NOT NULL DEFAULT '0000-00-00 00:00:00' AFTER `value`,
  ADD `updated_at` timestamp NOT NULL DEFAULT '0000-00-00 00:00:00' AFTER `created_at`;

ALTER TABLE `tblconfiguration` DEFAULT CHARSET=utf8 COLLATE=utf8_unicode_ci;

-- Add timestamps to clients.
-- Set utf8_unicode_ci collation to existing clients.
ALTER TABLE `tblclients`
  ADD `created_at` timestamp NOT NULL DEFAULT '0000-00-00 00:00:00' AFTER `overrideautoclose`,
  ADD `updated_at` timestamp NOT NULL DEFAULT '0000-00-00 00:00:00' AFTER `created_at`;

-- Add timestamps to network issues.
ALTER TABLE `tblnetworkissues` ADD COLUMN `created_at` timestamp NOT NULL DEFAULT '0000-00-00 00:00:00';
ALTER TABLE `tblnetworkissues` ADD COLUMN `updated_at` timestamp NOT NULL DEFAULT '0000-00-00 00:00:00';

-- Add port field to servers table.
ALTER TABLE  `tblservers` ADD  `port` INT( 8 ) NULL DEFAULT NULL AFTER  `secure` ;

-- Set default price of a domain registration to -1 where price is currently 0 --
UPDATE tblpricing SET `msetupfee` = '-1.00' WHERE `msetupfee` = '0.00' AND `type` = 'domainregister';
UPDATE tblpricing SET `qsetupfee` = '-1.00' WHERE `qsetupfee` = '0.00' AND `type` = 'domainregister';
UPDATE tblpricing SET `ssetupfee` = '-1.00' WHERE `ssetupfee` = '0.00' AND `type` = 'domainregister';
UPDATE tblpricing SET `asetupfee` = '-1.00' WHERE `asetupfee` = '0.00' AND `type` = 'domainregister';
UPDATE tblpricing SET `bsetupfee` = '-1.00' WHERE `bsetupfee` = '0.00' AND `type` = 'domainregister';
UPDATE tblpricing SET `monthly` = '-1.00' WHERE `monthly` = '0.00' AND `type` = 'domainregister';
UPDATE tblpricing SET `quarterly` = '-1.00' WHERE `quarterly` = '0.00' AND `type` = 'domainregister';
UPDATE tblpricing SET `semiannually` = '-1.00' WHERE `semiannually` = '0.00' AND `type` = 'domainregister';
UPDATE tblpricing SET `annually` = '-1.00' WHERE `annually` = '0.00' AND `type` = 'domainregister';
UPDATE tblpricing SET `biennially` = '-1.00' WHERE `biennially` = '0.00' AND `type` = 'domainregister';

-- Increase affiliate maximum limit.
ALTER TABLE `tblaffiliates` MODIFY `id` int(10) NOT NULL AUTO_INCREMENT;

-- Add sever sso restriction field and permissions tables.
CREATE TABLE IF NOT EXISTS `tblserversssoperms` (
  `id` int(10) NOT NULL AUTO_INCREMENT,
  `server_id` int(10) NOT NULL,
  `role_id` int(10) NOT NULL,
  PRIMARY KEY (`id`)
) ENGINE=InnoDB DEFAULT CHARSET=utf8 COLLATE=utf8_unicode_ci;

-- Create knowledgebase tags data table.
CREATE TABLE IF NOT EXISTS `tblknowledgebasetags` (
  `id` int(10) NOT NULL AUTO_INCREMENT,
  `articleid` int(10) NOT NULL,
  `tag` varchar(64) NOT NULL,
  PRIMARY KEY (`id`)
) ENGINE=InnoDB DEFAULT CHARSET=utf8 COLLATE=utf8_unicode_ci;

-- Add timestamps to products.
ALTER TABLE `tblproducts` ADD COLUMN `created_at` timestamp NOT NULL DEFAULT '0000-00-00 00:00:00';
ALTER TABLE `tblproducts` ADD COLUMN `updated_at` timestamp NOT NULL DEFAULT '0000-00-00 00:00:00';

-- Allow larger product welcome email templates ids and display orders.
ALTER TABLE `tblproducts` CHANGE COLUMN `welcomeemail` `welcomeemail` INT(10) NOT NULL DEFAULT '0';
ALTER TABLE `tblproducts` CHANGE COLUMN `order` `order` INT(10) NOT NULL DEFAULT '0';

-- Allow larger quantities of products in stock.
ALTER TABLE `tblproducts` CHANGE COLUMN `qty` `qty` INT(10) NOT NULL DEFAULT '0';

-- Use integers to store product mail template ids.
ALTER TABLE `tblproducts` CHANGE COLUMN `autoterminateemail` `autoterminateemail` INT(10) NOT NULL DEFAULT '0';
ALTER TABLE `tblproducts` CHANGE COLUMN `upgradeemail` `upgradeemail` INT(10) NOT NULL DEFAULT '0';

-- Add timestamps to product groups.
ALTER TABLE `tblproductgroups` ADD COLUMN `created_at` timestamp NOT NULL DEFAULT '0000-00-00 00:00:00';
ALTER TABLE `tblproductgroups` ADD COLUMN `updated_at` timestamp NOT NULL DEFAULT '0000-00-00 00:00:00';

-- Add timestamps to downloads.
ALTER TABLE `tbldownloads` ADD COLUMN `created_at` timestamp NOT NULL DEFAULT '0000-00-00 00:00:00';
ALTER TABLE `tbldownloads` ADD COLUMN `updated_at` timestamp NOT NULL DEFAULT '0000-00-00 00:00:00';

-- Add timestamps to download categoriess.
ALTER TABLE `tbldownloadcats` ADD COLUMN `created_at` timestamp NOT NULL DEFAULT '0000-00-00 00:00:00';
ALTER TABLE `tbldownloadcats` ADD COLUMN `updated_at` timestamp NOT NULL DEFAULT '0000-00-00 00:00:00';

-- Link products to downloads via table.
CREATE TABLE `tblproduct_downloads` (
  `id` int(10) unsigned NOT NULL AUTO_INCREMENT,
  `product_id` int(10) NOT NULL,
  `download_id` int(10) NOT NULL,
  `created_at` timestamp NOT NULL DEFAULT '0000-00-00 00:00:00',
  `updated_at` timestamp NOT NULL DEFAULT '0000-00-00 00:00:00',
  PRIMARY KEY (`id`),
  KEY `tblproduct_downloads_product_id_index` (`product_id`),
  KEY `tblproduct_downloads_download_id_index` (`download_id`)
) ENGINE=InnoDB DEFAULT CHARSET=utf8 COLLATE=utf8_unicode_ci;

-- Link products to their upgrade products via table.
CREATE TABLE `tblproduct_upgrade_products` (
  `id` int(10) unsigned NOT NULL AUTO_INCREMENT,
  `product_id` int(10) NOT NULL,
  `upgrade_product_id` int(10) NOT NULL,
  `created_at` timestamp NOT NULL DEFAULT '0000-00-00 00:00:00',
  `updated_at` timestamp NOT NULL DEFAULT '0000-00-00 00:00:00',
  PRIMARY KEY (`id`),
  KEY `tblproduct_upgrade_products_product_id_index` (`product_id`),
  KEY `tblproduct_upgrade_products_upgrade_product_id_index` (`upgrade_product_id`)
) ENGINE=InnoDB DEFAULT CHARSET=utf8 COLLATE=utf8_unicode_ci;

-- Index various columns
ALTER TABLE `tblinvoiceitems` CHANGE `type` `type` VARCHAR(30) NOT NULL;
ALTER TABLE `tblinvoiceitems` ADD INDEX (`userid`, `type`, `relid`);
ALTER TABLE `tblactivitylog` ADD INDEX (`userid`);
ALTER TABLE `tbltickets` ADD INDEX (`did`);
ALTER TABLE `tbltickets` CHANGE `status` `status` VARCHAR(64) NOT NULL;
ALTER TABLE `tblticketstatuses` CHANGE `title` `title` VARCHAR(64) NOT NULL;

-- Add timestamps to domains
ALTER TABLE `tbldomains` ADD COLUMN `created_at` timestamp NOT NULL DEFAULT '0000-00-00 00:00:00';
ALTER TABLE `tbldomains` ADD COLUMN `updated_at` timestamp NOT NULL DEFAULT '0000-00-00 00:00:00';
ALTER TABLE `tbldomainsadditionalfields` ADD COLUMN `created_at` timestamp NOT NULL DEFAULT '0000-00-00 00:00:00';
ALTER TABLE `tbldomainsadditionalfields` ADD COLUMN `updated_at` timestamp NOT NULL DEFAULT '0000-00-00 00:00:00';

-- Add timestamps to services
ALTER TABLE `tblhosting` ADD COLUMN `created_at` timestamp NOT NULL DEFAULT '0000-00-00 00:00:00';
ALTER TABLE `tblhosting` ADD COLUMN `updated_at` timestamp NOT NULL DEFAULT '0000-00-00 00:00:00';

-- Add timestamps to announcements
ALTER TABLE `tblannouncements` ADD COLUMN `created_at` timestamp NOT NULL DEFAULT '0000-00-00 00:00:00';
ALTER TABLE `tblannouncements` ADD COLUMN `updated_at` timestamp NOT NULL DEFAULT '0000-00-00 00:00:00';

-- Adjust tid length in tbltickets
ALTER TABLE `tbltickets` MODIFY `tid` VARCHAR(128);

-- Add new quotes permission to the subaccounts permission where the existing invoices permission is present.
UPDATE `tblcontacts` SET `permissions` = CONCAT(`permissions`, ',quotes') WHERE `subaccount` = 1 AND `permissions` LIKE '%invoices%';

-- Add the TLD table.
CREATE TABLE `tbltlds` (
  `id` int(10) unsigned NOT NULL AUTO_INCREMENT,
  `tld` varchar(255) COLLATE utf8_unicode_ci NOT NULL,
  `created_at` timestamp NOT NULL DEFAULT '0000-00-00 00:00:00',
  `updated_at` timestamp NOT NULL DEFAULT '0000-00-00 00:00:00',
  PRIMARY KEY (`id`)
) ENGINE=InnoDB DEFAULT CHARSET=utf8 COLLATE=utf8_unicode_ci;

-- Add the TLD category table.
CREATE TABLE `tbltld_categories` (
  `id` int(10) unsigned NOT NULL AUTO_INCREMENT,
  `category` varchar(255) COLLATE utf8_unicode_ci NOT NULL,
  `is_primary` tinyint(1) NOT NULL DEFAULT 0,
  `display_order` int(11) DEFAULT NULL,
  `created_at` timestamp NOT NULL DEFAULT '0000-00-00 00:00:00',
  `updated_at` timestamp NOT NULL DEFAULT '0000-00-00 00:00:00',
  PRIMARY KEY (`id`)
) ENGINE=InnoDB DEFAULT CHARSET=utf8 COLLATE=utf8_unicode_ci;

-- Add the linker between TLD and category.
CREATE TABLE `tbltld_category_pivot` (
  `id` int(10) unsigned NOT NULL AUTO_INCREMENT,
  `tld_id` int(11) NOT NULL,
  `category_id` int(11) NOT NULL,
  `created_at` timestamp NOT NULL DEFAULT '0000-00-00 00:00:00',
  `updated_at` timestamp NOT NULL DEFAULT '0000-00-00 00:00:00',
  PRIMARY KEY (`id`),
  KEY `tbltld_category_pivot_tld_id_index` (`tld_id`),
  KEY `tbltld_category_pivot_category_id_index` (`category_id`)
) ENGINE=InnoDB DEFAULT CHARSET=utf8 COLLATE=utf8_unicode_ci;

-- Add new permission for WHMCS Connect:
INSERT INTO `tbladminperms` (`roleid`, `permid`) VALUES ('1', '131');

-- Add timestamps to service addons
ALTER TABLE `tblhostingaddons` ADD COLUMN `created_at` timestamp NOT NULL DEFAULT '0000-00-00 00:00:00';
ALTER TABLE `tblhostingaddons` ADD COLUMN `updated_at` timestamp NOT NULL DEFAULT '0000-00-00 00:00:00';

-- Add timestamps to client contacts
ALTER TABLE `tblcontacts` ADD COLUMN `created_at` timestamp NOT NULL DEFAULT '0000-00-00 00:00:00';
ALTER TABLE `tblcontacts` ADD COLUMN `updated_at` timestamp NOT NULL DEFAULT '0000-00-00 00:00:00';

-- Add timestamps to cancellation requests
ALTER TABLE `tblcancelrequests` ADD COLUMN `created_at` timestamp NOT NULL DEFAULT '0000-00-00 00:00:00';
ALTER TABLE `tblcancelrequests` ADD COLUMN `updated_at` timestamp NOT NULL DEFAULT '0000-00-00 00:00:00';

-- Add timestamps to quote items
ALTER TABLE `tblquoteitems` ADD COLUMN `created_at` timestamp NOT NULL DEFAULT '0000-00-00 00:00:00';
ALTER TABLE `tblquoteitems` ADD COLUMN `updated_at` timestamp NOT NULL DEFAULT '0000-00-00 00:00:00';

-- Add timestamps to affiliates
ALTER TABLE `tblaffiliates` ADD COLUMN `created_at` timestamp NOT NULL DEFAULT '0000-00-00 00:00:00';
ALTER TABLE `tblaffiliates` ADD COLUMN `updated_at` timestamp NOT NULL DEFAULT '0000-00-00 00:00:00';

-- Add timestamps to security questions
ALTER TABLE `tbladminsecurityquestions` ADD COLUMN `created_at` timestamp NOT NULL DEFAULT '0000-00-00 00:00:00';
ALTER TABLE `tbladminsecurityquestions` ADD COLUMN `updated_at` timestamp NOT NULL DEFAULT '0000-00-00 00:00:00';

-- Add unique identifier column for clients and admins
ALTER TABLE `tblclients` ADD COLUMN `uuid` VARCHAR(255) NOT NULL DEFAULT '' AFTER `id`;
ALTER TABLE `tbladmins` ADD COLUMN `uuid` VARCHAR(255) NOT NULL DEFAULT '' AFTER `id`;
upgrade780rc1.sql000064400000001434147361027270007574 0ustar00-- Add the cc column to tblticketmaillog
set @query = if ((select count(*) from information_schema.columns where table_schema=database() and table_name='tblticketmaillog' and column_name='cc') = 0, 'alter table `tblticketmaillog` add `cc` TEXT COLLATE utf8_unicode_ci NOT NULL AFTER `to`', 'DO 0');
prepare statement from @query;
execute statement;
deallocate prepare statement;

-- Add new TicketAddCarbonCopyRecipients setting to tblconfiguration
set @query = if ((select count(*) from `tblconfiguration` where `setting` = 'TicketAddCarbonCopyRecipients') = 0, "INSERT INTO `tblconfiguration` (`setting`, `value`, `created_at`, `updated_at`) VALUES ('TicketAddCarbonCopyRecipients', '1', now(), now());",'DO 0;');
prepare statement from @query;
execute statement;
deallocate prepare statement;
upgrade750rc1.sql000064400000001450147361027270007567 0ustar00-- Add the marketing_emails_opt_in column to tblclient
set @query = if ((select count(*) from information_schema.columns where table_schema=database() and table_name='tblclients' and column_name='marketing_emails_opt_in') = 0, 'alter table `tblclients` add `marketing_emails_opt_in` TINYINT(1) unsigned NOT NULL DEFAULT \'0\' AFTER `emailoptout`', 'DO 0');
prepare statement from @query;
execute statement;
deallocate prepare statement;
-- Add new TaxPerLineItem setting to tblconfiguration
set @query = if ((select count(*) from `tblconfiguration` where `setting` = 'TaxPerLineItem') = 0, "INSERT INTO `tblconfiguration` (`setting`, `value`, `created_at`, `updated_at`) VALUES ('TaxPerLineItem', '1', now(), now());",'DO 0;');
prepare statement from @query;
execute statement;
deallocate prepare statement;
upgrade539release1.sql000064400000000265147361027270010613 0ustar00ALTER TABLE tbladmins MODIFY COLUMN `password` VARCHAR(255) NOT NULL DEFAULT '';
ALTER TABLE tbladmins ADD COLUMN `passwordhash` VARCHAR(255) NOT NULL DEFAULT '' AFTER `password`;

upgrade601release1.sql000064400000000465147361027270010603 0ustar00-- Create the client snapshot data store table.
CREATE TABLE IF NOT EXISTS `mod_invoicedata` (
    `invoiceid` INT( 10)NOT NULL ,
    `clientsdetails` TEXT NOT NULL COLLATE utf8_unicode_ci,
    `customfields` TEXT NOT NULL COLLATE utf8_unicode_ci
) ENGINE=InnoDB DEFAULT CHARSET=utf8 COLLATE=utf8_unicode_ci;
upgrade770alpha1.sql000064400000011452147361027270010255 0ustar00CREATE TABLE IF NOT EXISTS `tblsessions` (
 `id` bigint(20) unsigned NOT NULL AUTO_INCREMENT,
 `session_id` varchar(255) COLLATE utf8_unicode_ci NOT NULL,
 `payload` mediumtext COLLATE utf8_unicode_ci NOT NULL,
 `last_activity` int(11) unsigned NOT NULL,
 UNIQUE KEY `sessions_id_unique` (`session_id`),
 PRIMARY KEY (`id`)
) ENGINE=InnoDB DEFAULT CHARSET=utf8 COLLATE=utf8_unicode_ci;

-- Add the widget_order column to tbladmins
set @query = if ((select count(*) from information_schema.columns where table_schema=database() and table_name='tbladmins' and column_name='widget_order') = 0, 'alter table `tbladmins` add `widget_order` TEXT NOT NULL AFTER `hidden_widgets`', 'DO 0');
prepare statement from @query;
execute statement;
deallocate prepare statement;

-- Add the tax_id column to tblclients
set @query = if ((select count(*) from information_schema.columns where table_schema=database() and table_name='tblclients' and column_name='tax_id') = 0, 'alter table `tblclients` add `tax_id` VARCHAR(128) NOT NULL DEFAULT \'\' AFTER `phonenumber`', 'DO 0');
prepare statement from @query;
execute statement;
deallocate prepare statement;

-- Add the tax_id column to tblcontacts
set @query = if ((select count(*) from information_schema.columns where table_schema=database() and table_name='tblcontacts' and column_name='tax_id') = 0, 'alter table `tblcontacts` add `tax_id` VARCHAR(128) NOT NULL DEFAULT \'\' AFTER `phonenumber`', 'DO 0');
prepare statement from @query;
execute statement;
deallocate prepare statement;

-- Add the tax_id column to tblquotes
set @query = if ((select count(*) from information_schema.columns where table_schema=database() and table_name='tblquotes' and column_name='tax_id') = 0, 'alter table `tblquotes` add `tax_id` VARCHAR(128) NOT NULL DEFAULT \'\' AFTER `phonenumber`', 'DO 0');
prepare statement from @query;
execute statement;
deallocate prepare statement;

CREATE TABLE IF NOT EXISTS `tblstorageconfigurations` (
 `id` int(10) unsigned NOT NULL AUTO_INCREMENT,
 `name` varchar(255) COLLATE utf8_unicode_ci NOT NULL,
 `handler` varchar(255) COLLATE utf8_unicode_ci NOT NULL,
 `settings` text COLLATE utf8_unicode_ci NOT NULL,
 `is_local` tinyint(1) unsigned NOT NULL,
 `sort_order` int(1) unsigned NOT NULL DEFAULT '0',
 `created_at` timestamp NOT NULL DEFAULT '0000-00-00 00:00:00',
 `updated_at` timestamp NOT NULL DEFAULT '0000-00-00 00:00:00',
 UNIQUE (`name`),
 PRIMARY KEY (`id`)
) ENGINE=InnoDB DEFAULT CHARSET=utf8 COLLATE=utf8_unicode_ci;

CREATE TABLE IF NOT EXISTS `tblfileassetsettings` (
 `id` int(10) unsigned NOT NULL AUTO_INCREMENT,
 `asset_type` varchar(64) COLLATE utf8_unicode_ci NOT NULL,
 `storageconfiguration_id` int(10) unsigned NOT NULL,
 `migratetoconfiguration_id` int(10) unsigned DEFAULT NULL,
 `created_at` timestamp NOT NULL DEFAULT '0000-00-00 00:00:00',
 `updated_at` timestamp NOT NULL DEFAULT '0000-00-00 00:00:00',
 UNIQUE (`asset_type`),
 PRIMARY KEY (`id`)
) ENGINE=InnoDB DEFAULT CHARSET=utf8 COLLATE=utf8_unicode_ci;

CREATE TABLE IF NOT EXISTS `tblfileassetmigrationprogress` (
 `id` int(10) unsigned NOT NULL AUTO_INCREMENT,
 `asset_type` varchar(64) COLLATE utf8_unicode_ci NOT NULL,
 `migrated_objects` mediumtext COLLATE utf8_unicode_ci NOT NULL,
 `num_objects_migrated` int(10) unsigned DEFAULT '0',
 `num_objects_total` int(10) unsigned DEFAULT '0',
 `active` tinyint(1) unsigned DEFAULT '1',
 `num_failures` int(10) unsigned DEFAULT '0',
 `last_failure_reason` text COLLATE utf8_unicode_ci NOT NULL,
 `created_at` timestamp NOT NULL DEFAULT '0000-00-00 00:00:00',
 `updated_at` timestamp NOT NULL DEFAULT '0000-00-00 00:00:00',
 UNIQUE (`asset_type`),
 PRIMARY KEY (`id`)
) ENGINE=InnoDB DEFAULT CHARSET=utf8 COLLATE=utf8_unicode_ci;

-- Add 'Pending Registration' status to tbldomains
ALTER TABLE `tbldomains` CHANGE `status` `status` ENUM('Pending','Pending Registration','Pending Transfer','Active','Grace','Redemption','Expired','Cancelled','Fraud','Transferred Away') NOT NULL DEFAULT 'Pending';

-- Add the attachment column to tblticketmaillog
set @query = if ((select count(*) from information_schema.columns where table_schema=database() and table_name='tblticketmaillog' and column_name='attachment') = 0, 'alter table `tblticketmaillog` add `attachment` TEXT NOT NULL', 'DO 0');
prepare statement from @query;
execute statement;
deallocate prepare statement;

-- Add the transaction_history_id column to tblgatewaylog
set @query = if ((select count(*) from information_schema.columns where table_schema=database() and table_name='tblgatewaylog' and column_name='transaction_history_id') = 0, 'alter table `tblgatewaylog` add `transaction_history_id` INT(10) unsigned NOT NULL DEFAULT \'0\' AFTER `data`', 'DO 0');
prepare statement from @query;
execute statement;
deallocate prepare statement;

-- permission for Apps and Integrations
INSERT INTO `tbladminperms` (`roleid`, `permid`) VALUES (1, 148);
upgrade800rc3.sql000064400000000313147361027270007562 0ustar00-- Alter slug field to products and groups
ALTER TABLE `tblproducts` MODIFY `slug` VARCHAR(128) NOT NULL DEFAULT '';
ALTER TABLE `tblproductgroups` MODIFY COLUMN `slug` VARCHAR(128) NOT NULL DEFAULT '';