<?php
class installerPtw {
	static public $update_to_version_method = '';
	static private $_firstTimeActivated = false;
	static public function init() {
		global $wpdb;
		// $wpdb->show_errors(true);
		$wpPrefix = $wpdb->prefix; /* add to 0.0.3 Versiom */
		require_once(ABSPATH . 'wp-admin/includes/upgrade.php');
		$current_version = get_option($wpPrefix. PTW_DB_PREF. 'db_version', 0);
		if(!$current_version)
			self::$_firstTimeActivated = true;
		/**
		 * modules 
		 */
		//dbPtw::query("DROP TABLE @__modules");
		if (!dbPtw::exist("@__modules")) {
			dbDelta(dbPtw::prepareQuery("CREATE TABLE IF NOT EXISTS `@__modules` (
			  `id` smallint(3) NOT NULL AUTO_INCREMENT,
			  `code` varchar(32) NOT NULL,
			  `active` tinyint(1) NOT NULL DEFAULT '0',
			  `type_id` tinyint(1) NOT NULL DEFAULT '0',
			  `label` varchar(64) DEFAULT NULL,
			  `ex_plug_dir` varchar(255) DEFAULT NULL,
			  PRIMARY KEY (`id`),
			  UNIQUE INDEX `code` (`code`)
			) DEFAULT CHARSET=utf8;"));
			dbPtw::query("INSERT INTO `@__modules` (id, code, active, type_id, label) VALUES
				(NULL, 'adminmenu',1,1,'Admin Menu'),
				(NULL, 'options',1,1,'Options'),
				(NULL, 'user',1,1,'Users'),
				(NULL, 'pages',1,1,'Pages'),
				(NULL, 'templates',1,1,'templates'),
				(NULL, 'promo',1,1,'promo'),
				(NULL, 'admin_nav',1,1,'admin_nav'),
				(NULL, 'mail',1,1,'mail'),
				
				(NULL, 'tables',1,1,'tables');");
		}
		/**
		 *  modules_type 
		 */
		if(!dbPtw::exist("@__modules_type")) {
			dbDelta(dbPtw::prepareQuery("CREATE TABLE IF NOT EXISTS `@__modules_type` (
			  `id` smallint(3) NOT NULL AUTO_INCREMENT,
			  `label` varchar(32) NOT NULL,
			  PRIMARY KEY (`id`)
			) AUTO_INCREMENT=4 DEFAULT CHARSET=utf8;"));
			dbPtw::query("INSERT INTO `@__modules_type` VALUES
				(1,'system'),
				(6,'addons');");
		}
		if (!dbPtw::exist("@__tables")) {
			dbDelta(dbPtw::prepareQuery("CREATE TABLE IF NOT EXISTS `@__tables` (
				`id` INT(11) NOT NULL AUTO_INCREMENT,
				`unique_id` varchar(8) NOT NULL,
				`label` varchar(128) NOT NULL,
				`original_id` INT(11) NOT NULL DEFAULT '0',
				`params` TEXT NOT NULL,
				`html` MEDIUMTEXT NOT NULL,
				`css` TEXT NOT NULL,
				`img` varchar(64) DEFAULT NULL,
				`sort_order` MEDIUMINT(5) NOT NULL DEFAULT '0',
				`is_base` TINYINT(1) NOT NULL DEFAULT '1',
				`is_pro`  TINYINT(1) NOT NULL DEFAULT '0',
				`date_created` TIMESTAMP NOT NULL DEFAULT CURRENT_TIMESTAMP,
				PRIMARY KEY (`id`)
			) DEFAULT CHARSET=utf8;"));
		}

		self::initBaseTables();
		/**
		* Plugin usage statistics
		*/
		if(!dbPtw::exist("@__usage_stat")) {
			dbDelta(dbPtw::prepareQuery("CREATE TABLE `@__usage_stat` (
			  `id` int(11) NOT NULL AUTO_INCREMENT,
			  `code` varchar(64) NOT NULL,
			  `visits` int(11) NOT NULL DEFAULT '0',
			  `spent_time` int(11) NOT NULL DEFAULT '0',
			  `modify_timestamp` TIMESTAMP DEFAULT CURRENT_TIMESTAMP,
			  UNIQUE INDEX `code` (`code`),
			  PRIMARY KEY (`id`)
			) DEFAULT CHARSET=utf8"));
			dbPtw::query("INSERT INTO `@__usage_stat` (code, visits) VALUES ('installed', 1)");
		}

		if(!dbPtw::exist("@__product_property_codes")) {
			dbDelta(dbPtw::prepareQuery("CREATE TABLE `@__product_property_codes` (
			  `id` INT NOT NULL AUTO_INCREMENT,
			  `code` VARCHAR(200) CHARACTER SET utf8 COLLATE utf8_bin NOT NULL,
			  `title` varchar(200) DEFAULT NULL,
			  PRIMARY KEY (`id`),
			  UNIQUE INDEX `code_UNIQUE` (`code` ASC)
			) DEFAULT CHARSET=utf8;"));
		} else {
			dbDelta(dbPtw::prepareQuery("
				ALTER TABLE `@__product_property_codes` 
				CHANGE COLUMN `code` `code` VARCHAR(200) CHARACTER SET 'utf8' COLLATE 'utf8_bin' NOT NULL ;
			"));
		}
		if(!dbPtw::exist("@__product_properties")) {
			dbDelta(dbPtw::prepareQuery("CREATE TABLE `@__product_properties` (
			  `table_id` int(11) NOT NULL,
			  `property_id` int(11) NOT NULL,
			  `order` int(11) NOT NULL DEFAULT '100',
			  KEY `idx_table_id` (`table_id`)
			) DEFAULT CHARSET=utf8;"));
		}
		if(!dbPtw::exist("@__products")) {
			dbDelta(dbPtw::prepareQuery("CREATE TABLE `@__products` (
			  `table_id` int(11) NOT NULL,
			  `product_id` int(11) NOT NULL,
			  `order` int(11) NOT NULL,
			  KEY `idx_table_id` (`table_id`)
			) DEFAULT CHARSET=utf8;"));
		}
		installerDbUpdaterPtw::runUpdate();
		if($current_version && !self::$_firstTimeActivated) {
			self::setUsed();
		}
		update_option($wpPrefix. PTW_DB_PREF. 'db_version', PTW_VERSION);
		add_option($wpPrefix. PTW_DB_PREF. 'db_installed', 1);
	}
	static public function setUsed() {
		update_option(PTW_DB_PREF. 'plug_was_used', 1);
	}
	static public function isUsed() {
		// No welcome page for now
		//return true;
		return (int) get_option(PTW_DB_PREF. 'plug_was_used');
	}
	static public function delete() {
		self::_checkSendStat('delete');
		global $wpdb;
		$wpPrefix = $wpdb->prefix;
		$wpdb->query("DROP TABLE IF EXISTS `".$wpPrefix.PTW_DB_PREF."modules`");
		$wpdb->query("DROP TABLE IF EXISTS `".$wpPrefix.PTW_DB_PREF."modules_type`");
		$wpdb->query("DROP TABLE IF EXISTS `".$wpPrefix.PTW_DB_PREF."usage_stat`");
		delete_option($wpPrefix. PTW_DB_PREF. 'db_version');
		delete_option($wpPrefix. PTW_DB_PREF. 'db_installed');
	}
	static public function deactivate() {
		self::_checkSendStat('deactivate');
	}
	static private function _checkSendStat($statCode) {
		if(class_exists('framePtw')
			&& framePtw::_()->getModule('promo')
			&& framePtw::_()->getModule('options')
		) {
			framePtw::_()->getModule('promo')->getModel()->saveUsageStat( $statCode );
			framePtw::_()->getModule('promo')->getModel()->checkAndSend( true );
		}
	}
	static public function update() {
		global $wpdb;
		$wpPrefix = $wpdb->prefix; /* add to 0.0.3 Versiom */
		$currentVersion = get_option($wpPrefix. PTW_DB_PREF. 'db_version', 0);
		if(!$currentVersion || version_compare(PTW_VERSION, $currentVersion, '>')) {
			self::init();
			update_option($wpPrefix. PTW_DB_PREF. 'db_version', PTW_VERSION);
		}
	}
	static public function initBaseTables() {
		// TODO: Remove this after some time will pass
		dbPtw::query('DELETE FROM @__tables WHERE original_id = 0 AND is_base = 1 and (unique_id = "" OR unique_id IS NULL)');
		$data = array(
			'ptwJyfVX' => self::getRainbowTemplateConfig(),
			'ptwNjRm5' => self::getFlatTableTemplateConfig(),
			'ptw8M1EB' => self::getGradientStandardTemplateConfig(),
// '630WlOre' => array('unique_id' => '630WlOre','label' => 'Okul','original_id' => '0','params' => ' ','html' => '<div class=\"ptwContainer\">\r\n<div class=\"ptwColsWrapper\">\r\n{% if (table.params.enb_desc_col.val == 1 or isEditMode) %}\r\n<div class=\"ptwEl ptwCol ptwCol-0 ptwTableDescCol ptwElWithArea\" data-el=\"table_col_desc\" data-color=\"#fff\">\r\n    <div class=\"ptwTableElementContent ptwElArea\">\r\n        <div class=\"ptwColHeader\" style=\"height: 69px;\">\r\n            <div class=\"ptwEl\" data-el=\"table_cell_txt\" data-type=\"txt\"><p></p></div>\r\n        </div>\r\n        <div class=\"ptwColDesc\" style=\"height: 141px; color: #626262;\">\r\n            <div class=\"ptwEl mce-content-body\" data-el=\"table_cell_txt\" data-type=\"txt\" id=\"ptwTxt_94548\" contenteditable=\"true\" spellcheck=\"false\">\r\n                <p><span style=\"font-size: 46px; line-height: 56.626px; text-transform: none;\">Features</span></p>\r\n                <p>COMPARE PACKAGE FEATURES</p>\r\n            </div>\r\n        </div>\r\n        <div class=\"ptwRows\" style=\"height: 224px;\">\r\n            <div class=\"ptwCell\">\r\n                <div class=\"ptwEl\" data-el=\"table_cell_txt\" data-type=\"txt\">\r\n                    <p><span style=\"font-size: 13px;\" data-mce-style=\"font-size: 13px;\">Storage Space</span></p>\r\n                </div>\r\n            </div>\r\n            <div class=\"ptwCell\">\r\n                <div class=\"ptwEl\" data-el=\"table_cell_txt\" data-type=\"txt\">\r\n                    <p><span style=\"font-size: 13px;\" data-mce-style=\"font-size: 13px;\">Email Accounts</span></p>\r\n                </div>\r\n            </div>\r\n            <div class=\"ptwCell\">\r\n                <div class=\"ptwEl\" data-el=\"table_cell_txt\" data-type=\"txt\">\r\n                    <p><span style=\"font-size: 13px;\" data-mce-style=\"font-size: 13px;\">Monthly Bandwidth</span></p>\r\n                </div>\r\n            </div>\r\n            <div class=\"ptwCell\">\r\n                <div class=\"ptwEl\" data-el=\"table_cell_txt\" data-type=\"txt\">\r\n                    <p><span style=\"font-size: 13px;\" data-mce-style=\"font-size: 13px;\">Control Panel</span></p>\r\n                </div>\r\n            </div>\r\n            <div class=\"ptwCell\">\r\n                <div class=\"ptwEl\" data-el=\"table_cell_txt\" data-type=\"txt\">\r\n                    <p><span style=\"font-size: 13px;\" data-mce-style=\"font-size: 13px;\">Databases</span></p>\r\n                </div>\r\n            </div>\r\n            <div class=\"ptwCell\">\r\n                <div class=\"ptwEl\" data-el=\"table_cell_txt\" data-type=\"txt\">\r\n                    <p><span style=\"font-size: 13px;\" data-mce-style=\"font-size: 13px;\">Analytics</span></p>\r\n                </div>\r\n            </div>\r\n            <div class=\"ptwCell\">\r\n                <div class=\"ptwEl\" data-el=\"table_cell_txt\" data-type=\"txt\">\r\n                    <p><span style=\"font-size: 13px;\" data-mce-style=\"font-size: 13px;\">Domains</span></p>\r\n                </div>\r\n            </div>\r\n            <div class=\"ptwCell\">\r\n                <div class=\"ptwEl\" data-el=\"table_cell_txt\" data-type=\"txt\">\r\n                    <p><span style=\"font-size: 13px;\" data-mce-style=\"font-size: 13px;\">Users</span></p>\r\n                </div>\r\n            </div>\r\n        </div>\r\n        <div class=\"ptwColFooter\" style=\"height: 51px; display: none;\"></div>\r\n    </div>\r\n</div>\r\n{% endif %}\r\n<div class=\"ptwEl ptwCol ptwCol-1 ptwElWithArea\" data-color=\"rgb(241, 147, 0)\" data-el=\"table_col\" data-enb-color=\"1\">\r\n    <div class=\"ptwTableElementContent ptwElArea\">\r\n        <div class=\"ptwColHeader\">\r\n            <div class=\"ptwEl\" data-el=\"table_cell_txt\" data-type=\"txt\">\r\n                <p><span style=\"font-size: 13px; \" data-mce-style=\"font-size: 13px; color: #ffffff;\">Developer</span></p>\r\n            </div>\r\n        </div>\r\n        <div class=\"ptwColDesc ptwToggle\">\r\n            <div class=\"ptwEl\" data-el=\"table_cell_txt\" data-type=\"txt\">\r\n                <p><span style=\"font-size: 24pt; \" data-mce-style=\"font-size: 24pt; color: #ffffff;\">$99</span></p>\r\n                <p><span data-mce-style=\"color: #ffffff;\">Payable Every Month</span></p>\r\n            </div>\r\n        </div>\r\n        <div class=\"ptwRows\">\r\n            <div class=\"ptwCell\">\r\n                <div class=\"ptwEl\" data-el=\"table_cell_txt\" data-type=\"txt\">\r\n                    <p><span style=\"font-size: 13px;\" data-mce-style=\"font-size: 13px;\">500 MB</span></p>\r\n                </div>\r\n            </div>\r\n            <div class=\"ptwCell\">\r\n                <div class=\"ptwEl\" data-el=\"table_cell_txt\" data-type=\"txt\">\r\n                    <p><span style=\"font-size: 13px;\" data-mce-style=\"font-size: 13px;\">100</span></p>\r\n                </div>\r\n            </div>\r\n            <div class=\"ptwCell\">\r\n                <div class=\"ptwEl\" data-el=\"table_cell_txt\" data-type=\"txt\">\r\n                    <p><span style=\"font-size: 13px;\" data-mce-style=\"font-size: 13px;\">5000 MB</span></p>\r\n                </div>\r\n            </div>\r\n            <div class=\"ptwCell\">\r\n                <div class=\"ptwIcon ptwEl ptwElInput\" data-el=\"table_cell_icon\" data-type=\"icon\" data-color=\"#d0d0d0\" data-icon=\"fa-check\">\r\n                    <i class=\"fa fa-check ptwInputShell\"></i>\r\n                </div>\r\n            </div>\r\n            <div class=\"ptwCell\">\r\n                <div class=\"ptwEl\" data-el=\"table_cell_txt\" data-type=\"txt\">\r\n                    <p><span style=\"font-size: 13px;\" data-mce-style=\"font-size: 13px;\">10</span></p>\r\n                </div>\r\n            </div>\r\n            <div class=\"ptwCell\">\r\n                <div class=\"ptwIcon ptwEl ptwElInput\" data-el=\"table_cell_icon\" data-type=\"icon\" data-color=\"#d0d0d0\" data-icon=\"fa-check\">\r\n                    <i class=\"fa fa-check ptwInputShell\"></i>\r\n                </div>\r\n            </div>\r\n            <div class=\"ptwCell\">\r\n                <div class=\"ptwEl\" data-el=\"table_cell_txt\" data-type=\"txt\">\r\n                    <p><span style=\"font-size: 13px;\" data-mce-style=\"font-size: 13px;\">10</span></p>\r\n                </div>\r\n            </div>\r\n            <div class=\"ptwCell\">\r\n                <div class=\"ptwEl\" data-el=\"table_cell_txt\" data-type=\"txt\">\r\n                    <p><span style=\"font-size: 13px;\" data-mce-style=\"font-size: 13px;\">100</span></p>\r\n                </div>\r\n            </div>\r\n        </div>\r\n        <div class=\"ptwColFooter\">\r\n            <div class=\"ptwActBtn ptwEl ptwElInput\" data-el=\"btn\" data-bgcolor-to=\"txt\" data-bgcolor=\"#fff\" data-bgcolor-elements=\".ptwEditArea\">\r\n                <a target=\"_blank\" href=\"http://woobewoo.com/\" class=\"ptwEditArea ptwInputShell\">Sign up!</a>\r\n            </div>\r\n        </div>\r\n    </div>\r\n</div>\r\n\r\n<div class=\"ptwEl ptwCol ptwCol-3 ptwElWithArea\" data-color=\"rgb(224, 100, 0)\" data-el=\"table_col\" data-enb-color=\"1\">\r\n    <div class=\"ptwTableElementContent ptwElArea\">\r\n        <div class=\"ptwColHeader\">\r\n            <div class=\"ptwEl\" data-el=\"table_cell_txt\" data-type=\"txt\">\r\n                <p><span style=\"font-size: 13px; \" data-mce-style=\"font-size: 13px; color: #ffffff;\">PREMIUM</span></p>\r\n            </div>\r\n        </div>\r\n        <div class=\"ptwColDesc ptwToggle\">\r\n            <div class=\"ptwEl\" data-el=\"table_cell_txt\" data-type=\"txt\">\r\n                <p><span style=\"font-size: 24pt; \" data-mce-style=\"font-size: 24pt; color: #ffffff;\">$399</span></p>\r\n                <p><span data-mce-style=\"color: #ffffff;\">Payable Every Year</span></p>\r\n            </div>\r\n        </div>\r\n        <div class=\"ptwRows\">\r\n            <div class=\"ptwCell\">\r\n                <div class=\"ptwEl\" data-el=\"table_cell_txt\" data-type=\"txt\">\r\n                    <p><span style=\"font-size: 13px;\" data-mce-style=\"font-size: 13px;\">10 TB</span></p>\r\n                </div>\r\n            </div>\r\n            <div class=\"ptwCell\">\r\n                <div class=\"ptwEl\" data-el=\"table_cell_txt\" data-type=\"txt\">\r\n                    <p><span style=\"font-size: 13px;\" data-mce-style=\"font-size: 13px;\">Unlimited</span></p>\r\n                </div>\r\n            </div>\r\n            <div class=\"ptwCell\">\r\n                <div class=\"ptwEl\" data-el=\"table_cell_txt\" data-type=\"txt\">\r\n                    <p><span style=\"font-size: 13px;\" data-mce-style=\"font-size: 13px;\">Unlimited</span></p>\r\n                </div>\r\n            </div>\r\n            <div class=\"ptwCell\">\r\n                <div class=\"ptwIcon ptwEl ptwElInput\" data-el=\"table_cell_icon\" data-type=\"icon\" data-color=\"#d0d0d0\" data-icon=\"fa-check\">\r\n                    <i class=\"fa fa-check ptwInputShell\"></i>\r\n                </div>\r\n            </div>\r\n            <div class=\"ptwCell\">\r\n                <div class=\"ptwEl\" data-el=\"table_cell_txt\" data-type=\"txt\">\r\n                    <p><span style=\"font-size: 13px;\" data-mce-style=\"font-size: 13px;\">100</span></p>\r\n                </div>\r\n            </div>\r\n            <div class=\"ptwCell\">\r\n                <div class=\"ptwIcon ptwEl ptwElInput\" data-el=\"table_cell_icon\" data-type=\"icon\" data-color=\"#d0d0d0\" data-icon=\"fa-check\">\r\n                    <i class=\"fa fa-check ptwInputShell\"></i>\r\n                </div>\r\n            </div>\r\n            <div class=\"ptwCell\">\r\n                <div class=\"ptwEl\" data-el=\"table_cell_txt\" data-type=\"txt\">\r\n                    <p><span style=\"font-size: 13px;\" data-mce-style=\"font-size: 13px;\">50</span></p>\r\n                </div>\r\n            </div>\r\n            <div class=\"ptwCell\">\r\n                <div class=\"ptwEl\" data-el=\"table_cell_txt\" data-type=\"txt\">\r\n                    <p><span style=\"font-size: 13px;\" data-mce-style=\"font-size: 13px;\">500</span></p>\r\n                </div>\r\n            </div>\r\n        </div>\r\n        <div class=\"ptwColFooter\">\r\n            <div class=\"ptwActBtn ptwEl ptwElInput\" data-el=\"btn\" data-bgcolor-to=\"txt\" data-bgcolor=\"#fff\" data-bgcolor-elements=\".ptwEditArea\">\r\n                <a target=\"_blank\" href=\"http://woobewoo.com/\" class=\"ptwEditArea ptwInputShell\">Sign up!</a>\r\n            </div>\r\n        </div>\r\n    </div>\r\n</div>\r\n\r\n<div class=\"ptwEl ptwCol ptwCol-3 ptwElWithArea\" data-color=\"rgb(195, 53, 15)\" data-el=\"table_col\" data-enb-color=\"1\">\r\n    <div class=\"ptwTableElementContent ptwElArea\">\r\n        <div class=\"ptwColHeader\">\r\n            <div class=\"ptwEl\" data-el=\"table_cell_txt\" data-type=\"txt\">\r\n                <p><span style=\"font-size: 13px; \" data-mce-style=\"font-size: 13px; color: #ffffff;\">ENTERPRISE</span></p>\r\n            </div>\r\n        </div>\r\n        <div class=\"ptwColDesc ptwToggle\">\r\n            <div class=\"ptwEl\" data-el=\"table_cell_txt\" data-type=\"txt\">\r\n                <p><span style=\"font-size: 24pt; \" data-mce-style=\"font-size: 24pt; color: #ffffff;\">$699</span></p>\r\n                <p><span data-mce-style=\"color: #ffffff;\">One Time Payment</span></p>\r\n            </div>\r\n        </div>\r\n        <div class=\"ptwRows\">\r\n            <div class=\"ptwCell\">\r\n                <div class=\"ptwEl\" data-el=\"table_cell_txt\" data-type=\"txt\">\r\n                    <p><span style=\"font-size: 13px;\" data-mce-style=\"font-size: 13px;\">50 TB</span></p>\r\n                </div>\r\n            </div>\r\n            <div class=\"ptwCell\">\r\n                <div class=\"ptwEl\" data-el=\"table_cell_txt\" data-type=\"txt\">\r\n                    <p><span style=\"font-size: 13px;\" data-mce-style=\"font-size: 13px;\">Unlimited</span></p>\r\n                </div>\r\n            </div>\r\n            <div class=\"ptwCell\">\r\n                <div class=\"ptwEl\" data-el=\"table_cell_txt\" data-type=\"txt\">\r\n                    <p><span style=\"font-size: 13px;\" data-mce-style=\"font-size: 13px;\">Unlimited</span></p>\r\n                </div>\r\n            </div>\r\n            <div class=\"ptwCell\">\r\n                <div class=\"ptwIcon ptwEl ptwElInput\" data-el=\"table_cell_icon\" data-type=\"icon\" data-color=\"#d0d0d0\" data-icon=\"fa-check\">\r\n                    <i class=\"fa fa-check ptwInputShell\"></i>\r\n                </div>\r\n            </div>\r\n            <div class=\"ptwCell\">\r\n                <div class=\"ptwEl\" data-el=\"table_cell_txt\" data-type=\"txt\">\r\n                    <p><span style=\"font-size: 13px;\" data-mce-style=\"font-size: 13px;\">Unlimited</span></p>\r\n                </div>\r\n            </div>\r\n            <div class=\"ptwCell\">\r\n                <div class=\"ptwIcon ptwEl ptwElInput\" data-el=\"table_cell_icon\" data-type=\"icon\" data-color=\"#d0d0d0\" data-icon=\"fa-check\">\r\n                    <i class=\"fa fa-check ptwInputShell\"></i>\r\n                </div>\r\n            </div>\r\n            <div class=\"ptwCell\">\r\n                <div class=\"ptwEl\" data-el=\"table_cell_txt\" data-type=\"txt\">\r\n                    <p><span style=\"font-size: 13px;\" data-mce-style=\"font-size: 13px;\">Unlimited</span></p>\r\n                </div>\r\n            </div>\r\n            <div class=\"ptwCell\">\r\n                <div class=\"ptwEl\" data-el=\"table_cell_txt\" data-type=\"txt\">\r\n                    <p><span style=\"font-size: 13px;\" data-mce-style=\"font-size: 13px;\">Unlimited</span></p>\r\n                </div>\r\n            </div>\r\n        </div>\r\n        <div class=\"ptwColFooter\">\r\n            <div class=\"ptwActBtn ptwEl ptwElInput\" data-el=\"btn\" data-bgcolor-to=\"txt\" data-bgcolor=\"#fff\" data-bgcolor-elements=\".ptwEditArea\">\r\n                <a target=\"_blank\" href=\"http://woobewoo.com/\" class=\"ptwEditArea ptwInputShell\">Sign up!</a>\r\n            </div>\r\n        </div>\r\n    </div>\r\n</div>\r\n\r\n\r\n</div>\r\n<div style=\"clear: both;\"></div>\r\n</div>\r\n\r\n\r\n\r\n','css' => '#{{table.view_id}} {\r\n  {% if table.params.calc_width.val == \'table\' %}\r\n	width: {{ table.params.table_width.val }}{{ table.params.table_width_measure.val }};\r\n  {% endif %}\r\n  text-transform: uppercase;\r\n}\r\n#{{table.view_id}} .ptwCol {\r\n  {% if table.params.calc_width.val == \'table\' %}\r\n  	{% if table.params.enb_desc_col.val and table.params.enb_desc_col.val != \"0\" %}\r\n  		width: {{ 100 / (table.params.cols_num.val + 1) }}%;\r\n  	{% else%}\r\n  		width: {{ 100 / table.params.cols_num.val }}%;\r\n  	{% endif %}\r\n  {% else%}\r\n	width: {{ table.params.col_width.val }}px;\r\n  {% endif %}\r\n  transition: box-shadow 0.25 ease 0;\r\n}\r\n#{{table.view_id}} p {\r\n	margin: 0;\r\n}\r\n#{{table.view_id}} .ptwCell{\r\n	padding: 12px;\r\n	text-transform: none;\r\n	\r\n    border: 1px solid {{ adjBs(table.params.bg_color.val, 17) }};\r\n    border-bottom: 1px solid {{ adjBs(table.params.bg_color.val, -34) }};\r\n    border-right: 1px solid {{ adjBs(table.params.bg_color.val, -34) }};\r\n    box-shadow: 0 1px 2px rgba(0,0,0,0.15);\r\n    text-shadow: 0 -1px rgba(0,0,0,0.6);\r\n}\r\n#{{table.view_id}} .ptwColHeader {\r\n	padding: 15px;\r\n}\r\n#{{table.view_id}} .ptwColDesc {\r\n	padding: 30px 15px;\r\n}\r\n#{{table.view_id}} .ptwCell:nth-child(odd) {\r\n	background-color: {{ adjBs(table.params.bg_color.val, 0) }};\r\n}\r\n#{{table.view_id}} .ptwCell:nth-child(even) {\r\n	background-color: {{ adjBs(table.params.bg_color.val, -12) }};\r\n}\r\n#{{table.view_id}} .ptwColFooter {\r\n	background-color: {{ adjBs(table.params.bg_color.val, -23) }};\r\n	padding: 20px;\r\n	border: 1px solid {{ adjBs(table.params.bg_color.val, -51) }};\r\n    box-shadow: inset 0 1px {{ adjBs(table.params.bg_color.val, 2) }},inset 0 0 0 1px rgba(255,255,255,0.1);\r\n	\r\n	/* gradient */\r\n	background-image: linear-gradient(top, {{ adjBs(table.params.bg_color.val, -23) }}, {{ adjBs(table.params.bg_color.val, -44) }}); /* W3C */\r\n	filter: progid:DXImageTransform.Microsoft.gradient(startColorstr=\'{{ adjBs(table.params.bg_color.val, -23) }}\', endColorstr=\'{{ adjBs(table.params.bg_color.val, -44) }}\'); /* IE5.5 - 7 */\r\n	-ms-filter: progid:DXImageTransform.Microsoft.gradient(startColorstr=\'{{ adjBs(table.params.bg_color.val, -23) }}\', endColorstr=\'{{ adjBs(table.params.bg_color.val, -44) }}\'); /* IE8 */\r\n	background: -ms-linear-gradient(top, {{ adjBs(table.params.bg_color.val, -23) }}, {{ adjBs(table.params.bg_color.val, -44) }}); /* IE9 */\r\n	background: -moz-linear-gradient(top, {{ adjBs(table.params.bg_color.val, -23) }}, {{ adjBs(table.params.bg_color.val, -44) }}); /* Firefox */ \r\n	background: -o-linear-gradient(top, {{ adjBs(table.params.bg_color.val, -23) }}, {{ adjBs(table.params.bg_color.val, -44) }}); /* Opera 11  */\r\n	background: -webkit-linear-gradient(top, {{ adjBs(table.params.bg_color.val, -23) }}, {{ adjBs(table.params.bg_color.val, -44) }}); /* Chrome 11  */\r\n	background: -webkit-gradient(linear, left top, left bottom, color-stop(0, {{ adjBs(table.params.bg_color.val, -23) }}), color-stop(1, {{ adjBs(table.params.bg_color.val, -44) }})); /* Chrome 10, Safari */\r\n}\r\n#{{table.view_id}} .ptwActBtn:hover {\r\n	 background-color: {{ adjBs(table.params.bg_color.val, 110) }}; /* background color for non-css3 browsers */\r\n}\r\n#{{table.view_id}} .ptwActBtn {\r\n	height: 50px;\r\n	padding: 0 2em;\r\n	cursor: pointer;\r\n	font-weight: 400;\r\n    font-size: 1.4em;\r\n    text-decoration: none;\r\n	display: inline-block;\r\n  	padding: 4px 20px;\r\n  	width: 100%;\r\n  	border-radius: 3px;\r\n}\r\n\r\n#{{table.view_id}} .ptwActBtn .ptwEditArea {\r\n  	text-decoration: none !important;\r\n  	border: none !important;\r\n	width: 100%;\r\n	text-transform: none;\r\n	line-height: 2em;\r\n	color: #fff;\r\n}\r\n#{{table.view_id}} .ptwTableDescCol {\r\n  {% if table.params.enb_desc_col.val == 0 %}\r\n  	display: none;\r\n  {% endif %}\r\n}\r\n#{{table.view_id}} .ptwCol .ptwTableElementContent,\r\n#{{table.view_id}} .ptwCol .ptwTableElementContent span {\r\n	transition: box-shadow 0.3s ease, margin 0.3s ease, font 0.3s ease;\r\n  	-webkit-transition: box-shadow 0.3s ease, margin 0.3s ease, font 0.3s ease;\r\n    -moz-transition: box-shadow 0.3s ease, margin 0.3s ease, font 0.3s ease;\r\n    -ms-transition: box-shadow 0.3s ease, margin 0.3s ease, font 0.3s ease;\r\n    -o-transition: box-shadow 0.3s ease, margin 0.3s ease, font 0.3s ease;\r\n}\r\n#{{table.view_id}} .ptwCol.hover .ptwTableElementContent {\r\n	z-index: 101;\r\n  	box-shadow: 5px 0 30px rgba(0, 0, 0, 0.5);\r\n  	-webkit-box-shadow: 5px 0 30px rgba(0, 0, 0, 0.5);\r\n	-moz-box-shadow: 5px 0 30px rgba(0, 0, 0, 0.5);\r\n	margin-top: -20px;\r\n}\r\n#{{table.view_id}} .ptwCol.hover .ptwColHeader {\r\n	border-top-left-radius: 5px;\r\n  	border-top-right-radius: 5px;\r\n}\r\n#{{table.view_id}} .ptwCol.hover .ptwColFooter {\r\n	border-bottom-left-radius: 5px;\r\n  	border-bottom-right-radius: 5px;\r\n}\r\n\r\n/*start for desc col color */\r\n#{{table.view_id}} .ptwCol.ptwTableDescCol  .ptwColHeader {\r\n	background-color: #fff;\r\n}\r\n#{{table.view_id}} .ptwCol.ptwTableDescCol .ptwColDesc{\r\n	background-color: #fff;\r\n}\r\n/*end for desc col color */\r\n\r\n/*start for col color 1*/\r\n#{{table.view_id}} .ptwCol-1 .ptwColHeader {\r\n	background-color: #ed8000;\r\n}\r\n#{{table.view_id}} .ptwCol-1 .ptwColDesc,\r\n#{{table.view_id}} .ptwCol-1 .ptwActBtn:hover {\r\n	background-color: #f19300;\r\n}\r\n#{{table.view_id}} .ptwCol-1 .ptwActBtn {\r\n	background-color: #ed8000;\r\n}\r\n/*end for col color 1*/\r\n\r\n/*start for col color 2*/\r\n#{{table.view_id}} .ptwCol-2 .ptwColHeader {\r\n	background-color: #D85200;\r\n}\r\n#{{table.view_id}} .ptwCol-2 .ptwColDesc,\r\n#{{table.view_id}} .ptwCol-2 .ptwActBtn:hover {\r\n	background-color: #E06400;\r\n}\r\n#{{table.view_id}} .ptwCol-2 .ptwActBtn {\r\n	background-color: #D85200;\r\n}\r\n/*end for col color 2*/\r\n\r\n/*start for col color 3*/\r\n#{{table.view_id}} .ptwCol-3 .ptwColHeader {\r\n	background-color: #B5280B;\r\n}\r\n#{{table.view_id}} .ptwCol-3 .ptwColDesc,\r\n#{{table.view_id}} .ptwCol-3 .ptwActBtn:hover {\r\n	background-color: #C3350F;\r\n}\r\n#{{table.view_id}} .ptwCol-3 .ptwActBtn {\r\n	background-color: #B5280B;\r\n}\r\n/*end for col color 3*/\r\n\r\n/*Colors set*/\r\n#{{table.view_id}} .ptwCol .ptwColHeader {\r\n  	color: {{table.params.text_color_header.val}};\r\n}\r\n#{{table.view_id}} .ptwCol .ptwColDesc {\r\n  	color: {{table.params.text_color_desc.val}};\r\n}\r\n#{{table.view_id}} .ptwCol .ptwRows {\r\n  	color: {{table.params.text_color.val}};\r\n}\r\n','img' => 'okul.jpg','sort_order' => '0','is_base' => '1','date_created' => '2015-11-02 17:05:29','is_pro' => '0'),
// 'nflGZoHy' => array('unique_id' => 'nflGZoHy','label' => 'Botein','original_id' => '0','params' => ' ','html' => '<div class=\"ptwContainer\">\r\n	<div class=\"ptwColsWrapper\">\r\n      {% if (table.params.enb_desc_col.val == 1 or isEditMode) %}\r\n		<div class=\"ptwEl ptwCol ptwCol-0 ptwElWithArea ptwTableDescCol\" data-el=\"table_col\" data-color=\"#fff\" data-enb-color=\"1\">\r\n			<div class=\"ptwTableElementContent ptwElArea\">\r\n				<div class=\"ptwColHeader\">\r\n					<div class=\"ptwEl\" data-el=\"table_cell_txt\" data-type=\"txt\"><p><span style=\"font-size: 24pt;\">PLAN</span></p></div>\r\n				</div>\r\n				<div class=\"ptwColDesc\">\r\n					<div class=\"ptwEl\"data-el=\"table_cell_txt\" data-type=\"txt\">\r\n						<p><span data-mce-style=\"font-size: 23pt; color: #333;\" style=\"font-size: 23pt; color: #333;\">Number</span></p><p><span data-mce-style=\"font-size: 12pt; color: #333;\" style=\"font-size: 12pt; color: #333;\">minutes<br data-mce-bogus=\"1\"></span></p>\r\n					</div>\r\n				</div>\r\n				<div class=\"ptwRows\">\r\n					<div class=\"ptwCell\">\r\n						<div class=\"ptwEl\" data-el=\"table_cell_txt\" data-type=\"txt\">\r\n							<p><span style=\" font-size: 18pt;\" data-mce-style=\"font-size: 18pt;\">Price</span></p>\r\n						</div>\r\n					</div>\r\n					<div class=\"ptwCell\">\r\n						<div class=\"ptwEl\" data-el=\"table_cell_txt\" data-type=\"txt\">\r\n							<p><span style=\" font-size: 12pt;\" data-mce-style=\"font-size: 12pt;\">Price for 1 minute</span></p>\r\n						</div>\r\n					</div>\r\n				</div>\r\n				<div class=\"ptwColFooter\">\r\n					<div class=\"ptwActBtn ptwEl ptwElInput\" data-el=\"btn\"  data-bgcolor=\"#52C93B\" data-bgcolor-to=\"bg\" style=\"background-color: #52C93B\">\r\n						<a target=\"_blank\" class=\"ptwEditArea ptwInputShell\" href=\"http://woobewoo.com/\">Action</a>\r\n					</div>\r\n				</div>\r\n			</div>\r\n		</div>\r\n      	{% endif %}\r\n		<div class=\"ptwEl ptwCol ptwCol-1 ptwElWithArea\" data-el=\"table_col\" data-color=\"#fff\" data-enb-color=\"1\">\r\n			<div class=\"ptwTableElementContent ptwElArea\">\r\n				<div class=\"ptwColHeader\">\r\n					<div class=\"ptwEl\" data-el=\"table_cell_txt\" data-type=\"txt\"><p><span style=\"font-size: 24pt;\">BASE</span></p></div>\r\n				</div>\r\n				<div class=\"ptwColDesc\">\r\n					<div class=\"ptwEl\"data-el=\"table_cell_txt\" data-type=\"txt\">\r\n						<p><span data-mce-style=\"font-size: 48pt; color: #333;\" style=\"font-size: 48pt; color: #333;\">65</span></p><p><span data-mce-style=\"font-size: 12pt; color: #333;\" style=\"font-size: 12pt; color: #333;\">minutes<br data-mce-bogus=\"1\"></span></p>\r\n					</div>\r\n				</div>\r\n				<div class=\"ptwRows ptwToggle\">\r\n					<div class=\"ptwCell\">\r\n						<div class=\"ptwEl\" data-el=\"table_cell_txt\" data-type=\"txt\">\r\n							<p><span style=\" font-size: 18pt;\" data-mce-style=\"font-size: 18pt;\">15 $/month</span></p>\r\n						</div>\r\n					</div>\r\n					<div class=\"ptwCell\">\r\n						<div class=\"ptwEl\" data-el=\"table_cell_txt\" data-type=\"txt\">\r\n							<p><span style=\" font-size: 12pt;\" data-mce-style=\"font-size: 12pt;\">Price for 1 minute 0.25$</span></p>\r\n						</div>\r\n					</div>\r\n				</div>\r\n				<div class=\"ptwColFooter\">\r\n					<div class=\"ptwActBtn ptwEl ptwElInput\" data-el=\"btn\"  data-bgcolor=\"#52C93B\" data-bgcolor-to=\"bg\" style=\"background-color: #52C93B\">\r\n						<a target=\"_blank\" href=\"http://woobewoo.com/\" class=\"ptwAddBgEl ptwEditArea ptwInputShell\">Start work</a>\r\n					</div>\r\n				</div>\r\n			</div>\r\n		</div>\r\n		<div class=\"ptwEl ptwCol ptwCol-2 ptwElWithArea\" data-el=\"table_col\" data-color=\"#00AED6\" data-enb-color=\"1\">\r\n			<div class=\"ptwTableElementContent ptwElArea\">\r\n				<div class=\"ptwColHeader\">\r\n					<div class=\"ptwEl\" data-el=\"table_cell_txt\" data-type=\"txt\"><p><span style=\"font-size: 24pt;\">ECONOMY</span></p></div>\r\n				</div>\r\n				<div class=\"ptwColDesc\">\r\n					<div class=\"ptwEl\" data-el=\"table_cell_txt\" data-type=\"txt\">\r\n						<p><span data-mce-style=\"font-size: 48pt;\" style=\"font-size: 48pt;\">140</span></p><p><span data-mce-style=\"font-size: 12pt;\" style=\"font-size: 12pt;\">minutes<br data-mce-bogus=\"1\"></span></p>\r\n					</div>\r\n				</div>\r\n				<div class=\"ptwRows ptwToggle\">\r\n					<div class=\"ptwCell\">\r\n						<div class=\"ptwEl\" data-el=\"table_cell_txt\" data-type=\"txt\">\r\n							<p><span style=\" font-size: 18pt;\" data-mce-style=\"font-size: 18pt;\">30 $/month</span></p>\r\n						</div>\r\n					</div>\r\n					<div class=\"ptwCell\">\r\n						<div class=\"ptwEl\" data-el=\"table_cell_txt\" data-type=\"txt\">\r\n							<p><span style=\" font-size: 12pt;\" data-mce-style=\"font-size: 12pt;\">Price for 1 minute 0.20$</span></p>\r\n						</div>\r\n					</div>\r\n				</div>\r\n				<div class=\"ptwColFooter\">\r\n					<div class=\"ptwActBtn ptwEl ptwElInput\" data-el=\"btn\" data-bgcolor=\"#52C93B\" data-bgcolor-to=\"bg\" style=\"background-color: #52C93B\">\r\n						<a target=\"_blank\" href=\"http://woobewoo.com/\" class=\"ptwEditArea ptwInputShell\">Start work</a>\r\n					</div>\r\n				</div>\r\n			</div>\r\n		</div>\r\n		<div class=\"ptwEl ptwCol ptwCol-3 ptwElWithArea\" data-el=\"table_col\" data-color=\"#008CB1\" data-enb-color=\"1\">\r\n			<div class=\"ptwTableElementContent ptwElArea\">\r\n				<div class=\"ptwColHeader\">\r\n					<div class=\"ptwEl\" data-el=\"table_cell_txt\" data-type=\"txt\"><p><span style=\"font-size: 24pt;\">STANDART</span></p></div>\r\n				</div>\r\n				<div class=\"ptwColDesc\">\r\n					<div class=\"ptwEl\" data-el=\"table_cell_txt\">\r\n						<p><span data-mce-style=\"font-size: 48pt;\" style=\"font-size: 48pt;\">240</span></p><p><span data-mce-style=\"font-size: 12pt;\" style=\"font-size: 12pt;\">minutes<br data-mce-bogus=\"1\"></span></p>\r\n					</div>\r\n				</div>\r\n				<div class=\"ptwRows ptwToggle\">\r\n					<div class=\"ptwCell\">\r\n						<div class=\"ptwEl\" data-el=\"table_cell_txt\" data-type=\"txt\">\r\n							<p><span style=\" font-size: 18pt;\" data-mce-style=\"font-size: 18pt;\">45 $/month</span></p>\r\n						</div>\r\n					</div>\r\n					<div class=\"ptwCell\">\r\n						<div class=\"ptwEl\" data-el=\"table_cell_txt\" data-type=\"txt\">\r\n							<p><span style=\" font-size: 12pt;\" data-mce-style=\"font-size: 12pt;\">Price for 1 minute 0.2$</span></p>\r\n						</div>\r\n					</div>\r\n				</div>\r\n				<div class=\"ptwColFooter\">\r\n					<div class=\"ptwActBtn ptwEl ptwElInput\" data-el=\"btn\"  data-bgcolor=\"#52C93B\" data-bgcolor-to=\"bg\" style=\"background-color: #52C93B\">\r\n						<a target=\"_blank\" href=\"http://woobewoo.com/\" class=\"ptwEditArea ptwInputShell\">Start work</a>\r\n					</div>\r\n				</div>\r\n			</div>\r\n		</div>\r\n		<div class=\"ptwEl ptwCol ptwCol-4 ptwElWithArea\" data-el=\"table_col\" data-color=\"#006380\" data-enb-color=\"1\">\r\n			<div class=\"ptwTableElementContent ptwElArea\">\r\n				<div class=\"ptwColHeader\">\r\n					<div class=\"ptwEl\" data-el=\"table_cell_txt\" data-type=\"txt\"><p><span style=\"font-size: 24pt;\">PREMIUM</span></p></div>\r\n				</div>\r\n				<div class=\"ptwColDesc\">\r\n					<div class=\"ptwEl\" data-el=\"table_cell_txt\">\r\n						<p><span data-mce-style=\"font-size: 48pt;\" style=\"font-size: 48pt;\">380</span></p><p><span data-mce-style=\"font\" style=\"font-size: 12pt;\">minutes<br data-mce-bogus=\"1\"></span></p>\r\n					</div>\r\n				</div>\r\n				<div class=\"ptwRows ptwToggle\">\r\n					<div class=\"ptwCell\">\r\n						<div class=\"ptwEl\" data-el=\"table_cell_txt\" data-type=\"txt\">\r\n							<p><span style=\" font-size: 18pt;\" data-mce-style=\"font-size: 18pt;\">75 $/month</span></p>\r\n						</div>\r\n					</div>\r\n					<div class=\"ptwCell\">\r\n						<div class=\"ptwEl\" data-el=\"table_cell_txt\" data-type=\"txt\">\r\n							<p><span style=\" font-size: 12pt;\" data-mce-style=\"font-size: 12pt;\">Price for 1 minute 0.2$</span></p>\r\n						</div>\r\n					</div>\r\n				</div>\r\n				<div class=\"ptwColFooter\">\r\n					<div class=\"ptwActBtn ptwEl ptwElInput\" data-el=\"btn\"  data-bgcolor=\"#52C93B\" data-bgcolor-to=\"bg\" style=\"background-color: #52C93B\">\r\n						<a target=\"_blank\" href=\"http://woobewoo.com/\" class=\"ptwEditArea ptwInputShell\">Start work</a>\r\n					</div>\r\n				</div>\r\n			</div>\r\n		</div>\r\n\r\n	</div>\r\n	<div style=\"clear: both;\"></div>\r\n</div>','css' => '#{{table.view_id}} {\r\n  {% if table.params.calc_width.val == \'table\' %}\r\n	width: {{ table.params.table_width.val }}{{ table.params.table_width_measure.val }};\r\n  {% endif %}\r\n}\r\n#{{table.view_id}} span, #{{table.view_id}} p {\r\n	word-break: break-word;\r\n}\r\n#{{table.view_id}} .ptwCol {\r\n  {% if table.params.calc_width.val == \'table\' %}\r\n  	{% if table.params.enb_desc_col.val and table.params.enb_desc_col.val != \"0\" %}\r\n  		width: {{ 100 / (table.params.cols_num.val + 1) }}%;\r\n  	{% else%}\r\n  		width: {{ 100 / table.params.cols_num.val }}%;\r\n  	{% endif %}\r\n  {% else%}\r\n	width: {{ table.params.col_width.val }}px;\r\n  {% endif %}\r\n  border: 1px solid {{ adjBs(table.params.bg_color.val, -40) }};\r\n}\r\n#{{table.view_id}} .ptwCol.ptwTableDescCol .ptwColFooter {\r\n	visibility: hidden;\r\n}\r\n#{{table.view_id}} .ptwTableElementContent {\r\n	padding-bottom: 15px;\r\n}\r\n{% if (table.params.cols_num.val > 1) %}\r\n#{{table.view_id}} .ptwCol:not(:last-child) {\r\n	border-right: none;\r\n}\r\n{% endif %}\r\n#{{table.view_id}} .ptwColDesc {\r\n	text-align: center;\r\n}\r\n#{{table.view_id}}.ptwBlockMobile .ptwCol {\r\n	border-right: 1px solid {{ adjBs(table.params.bg_color.val, -40) }};\r\n}\r\n#{{table.view_id}} .ptwCol .ptwTableElementContent .ptwRows {\r\n 	background-color: {{ table.params.bg_color.val }};\r\n}\r\n#{{table.view_id}} .ptwCol .ptwCell {\r\n	padding: 12px;\r\n  	border-bottom: 1px solid {{ adjBs(table.params.bg_color.val, -35) }};\r\n  	border-top: 1px solid {{ adjBs(table.params.bg_color.val, -20) }};\r\n}\r\n#{{table.view_id}} .ptwCol .ptwCell:last-of-type {\r\n	border-bottom: none;\r\n}\r\n}\r\n#{{table.view_id}} .ptwCol .ptwActBtn {\r\n	width: 100%;\r\n  	border-radius: 3px;\r\n  	cursor: pointer;\r\n}\r\n#{{table.view_id}} .ptwCol .ptwActBtn .ptwEditArea {\r\n	font-size: 1.4em;\r\n  	width: 100%;\r\n  	padding: 10px 0;\r\n  	text-decoration: none !important;\r\n  	border: none !important;\r\n}\r\n#{{table.view_id}} .ptwTableDescCol {\r\n  {% if table.params.enb_desc_col.val == 0 %}\r\n  	display: none;\r\n  {% endif %}\r\n}\r\n#{{table.view_id}} .ptwCol.ptwTableDescCol .ptwRows {\r\n  	border-top-width: 1px;\r\n  	border-bottom-width: 1px;\r\n}\r\n#{{table.view_id}} p {\r\n	margin: 0;\r\n}\r\n/*Animations*/\r\n#{{table.view_id}} .ptwCol .ptwTableElementContent,\r\n#{{table.view_id}} .ptwCol .ptwTableElementContent span {\r\n	transition: all 0.3s ease;\r\n  	-webkit-transition: all 0.3s ease;\r\n    -moz-transition: all 0.3s ease;\r\n    -ms-transition: all 0.3s ease;\r\n    -o-transition: all 0.3s ease;\r\n}\r\n#{{table.view_id}} .ptwCol.hover .ptwTableElementContent {\r\n	z-index: 101;\r\n  	box-shadow: 0 0 10px rgba(0, 0, 0, 0.5);\r\n  	-webkit-box-shadow: 0 0 10px rgba(0, 0, 0, 0.5);\r\n	-moz-box-shadow: 0 0 10px rgba(0, 0, 0, 0.5);\r\n	margin-top: -20px;\r\n}\r\n#{{table.view_id}} .ptwCol .ptwActBtn:hover {\r\n	background-color: {{ adjBs(table.params.bg_color.val, -35) }};\r\n}\r\n/*Colors set*/\r\n#{{table.view_id}} .ptwCol .ptwColHeader {\r\n  	color: {{table.params.text_color_header.val}};\r\n}\r\n#{{table.view_id}} .ptwCol .ptwColDesc {\r\n  	color: {{table.params.text_color_desc.val}};\r\n}\r\n#{{table.view_id}} .ptwCol .ptwRows {\r\n  	color: {{table.params.text_color.val}};\r\n}\r\n#{{table.view_id}} .ptwCol .ptwColDesc .ptwEl {\r\n  	border-radius: 50%;\r\n    border: 10px solid {{ table.params.bg_color.val }};\r\n    padding: 15px 15px;\r\n    box-sizing: content-box;\r\n  	z-index: 1;\r\n  	background-color: {{ table.params.bg_color.val }};\r\n  	width: {{table.params.col_width.val / 1.55}}px;\r\n    height: {{table.params.col_width.val / 1.55}}px;\r\n  	position: relative;\r\n}\r\n#{{table.view_id}} .ptwCol.hover .ptwColDesc .ptwEl {\r\n	width: {{table.params.col_width.val / 1.40}}px;\r\n    height: {{table.params.col_width.val / 1.40}}px;\r\n}\r\n#{{table.view_id}} .ptwCol .ptwColHeader {\r\n	padding: 35px 0 10px 0;\r\n  	background-color: {{ adjBs(table.params.bg_color.val, -10) }};\r\n}\r\n#{{table.view_id}} .ptwCol .ptwColDesc {\r\n	position: relative;\r\n  	padding: 5px 0 10px 0;\r\n}\r\n#{{table.view_id}} .ptwCol .ptwColDesc:after {\r\n	content: \'\';\r\n    background-color: {{ adjBs(table.params.bg_color.val, -10) }};\r\n    position: absolute;\r\n    top: 0;\r\n    left: 0;\r\n    width: 100%;\r\n    height: 50%;\r\n    z-index: 0;\r\n}\r\n#{{table.view_id}} .ptwCol .ptwColDesc .ptwEl p {\r\n    line-height: 1;\r\n    padding: 10px 0 0 0;\r\n    margin: 0 0;\r\n}\r\n#{{table.view_id}} .ptwCol .ptwColDesc .ptwEl p:first-child {\r\n	margin-top: 5px;\r\n}\r\n#{{table.view_id}} .ptwCol-0 .ptwColDesc .ptwEl p:first-child {\r\n	margin-top: 30px;\r\n}\r\n#{{table.view_id}} .ptwCol .ptwColFooter {\r\n	padding: 15px 0 0 0;\r\n  	margin-top: 40px;\r\n}\r\n#{{table.view_id}} .ptwCol .ptwColFooter .ptwActBtn {\r\n	width: auto;\r\n    padding: 7px 12px;\r\n  	border-radius: 2px;\r\n  	cursor: pointer;\r\n    transition: box-shadow .5s ease-out;\r\n}\r\n#{{table.view_id}} .ptwCol .ptwColFooter .ptwActBtn:hover {\r\n  	box-shadow: 2px 2px 1px rgba(0, 0, 0, 0.5);\r\n  	-webkit-box-shadow: 2px 2px 1px rgba(0, 0, 0, 0.5);\r\n  	-moz-box-shadow: 2px 2px 1px rgba(0, 0, 0, 0.5);\r\n}\r\n#{{table.view_id}} .ptwCol .ptwColFooter .ptwActBtn a {\r\n	padding: 0;\r\n  	color: {{ table.params.bg_color.val }};\r\n  	font-size: 17px;\r\n  	text-decoration: blink;\r\n  	\r\n}\r\n#{{table.view_id}} .ptwCol .ptwRows .ptwCell {\r\n    padding: 1px 0;\r\n  	border: none;\r\n}\r\n#{{table.view_id}} .ptwCol .ptwColDesc .ptwEl p:last-child {\r\n	position: absolute;\r\n    left: 0;\r\n    right: 0;\r\n    bottom: 0;\r\n    height: 40%;\r\n}\r\n/** Default colum style **/\r\n/*start for col color 2*/\r\n#{{table.view_id}} .ptwCol-2 .ptwColDesc .ptwEl {\r\n	background-color: #00AED6;\r\n}\r\n/*end for col color 2*/\r\n/*start for col color 3*/\r\n#{{table.view_id}} .ptwCol-3 .ptwColDesc .ptwEl {\r\n	background-color: #008CB1;\r\n}\r\n/*end for col color 3*/\r\n/*start for col color 4*/\r\n#{{table.view_id}} .ptwCol-4 .ptwColDesc .ptwEl {\r\n	background-color: #006380;\r\n}\r\n/*end for col color 4*/','img' => 'botein.jpg','sort_order' => '0','is_base' => '1','date_created' => '2015-11-03 08:45:18','is_pro' => '0'),
// 'vpQwsfZU' => array('unique_id' => 'vpQwsfZU','label' => 'Becrux','original_id' => '0','params' => ' ','html' => '<div class=\"ptwContainer\">\r\n	<div class=\"ptwColsWrapper\">\r\n		{% if (table.params.enb_desc_col.val == 1 or isEditMode) %}\r\n		<div class=\"ptwEl ptwCol ptwCol-0 ptwElWithArea ptwTableDescCol\" data-el=\"table_col_desc\">\r\n			<div class=\"ptwTableElementContent ptwElArea\">\r\n				<div class=\"ptwColHeader\">\r\n					<div class=\"ptwEl\" data-el=\"table_cell_txt\" data-type=\"txt\"><p><span style=\"font-size: 18pt; font-weight: bold;\" data-mce-style=\"font-size: 18pt; font-weight: bold;\">Plan</span></p></div>\r\n				</div>\r\n				<div class=\"ptwColDesc\">\r\n					<div class=\"ptwEl\" data-el=\"table_cell_txt\" data-type=\"txt\">\r\n						<p><span data-mce-style=\"font-size: 18pt;\" style=\"font-size: 18pt;\">(Price)</span></p>\r\n					</div>\r\n				</div>\r\n				<div class=\"ptwRows\">\r\n					<div class=\"ptwCell\">\r\n						\r\n					</div>\r\n					<div class=\"ptwCell\">\r\n						<div class=\"ptwEl\" data-el=\"table_cell_txt\" data-type=\"txt\">\r\n							<p><span style=\"font-size: 12pt;\" data-mce-style=\"font-size: 12pt;\">Email Previews</span></p>\r\n						</div>\r\n					</div>\r\n					<div class=\"ptwCell\">\r\n						<div class=\"ptwEl\" data-el=\"table_cell_txt\" data-type=\"txt\">\r\n							<p><span style=\"font-size: 12pt;\" data-mce-style=\"font-size: 12pt;\">Builder</span></p>\r\n						</div>\r\n					</div>\r\n					<div class=\"ptwCell\">\r\n						<div class=\"ptwEl\" data-el=\"table_cell_txt\" data-type=\"txt\">\r\n							<p><span style=\"font-size: 12pt;\" data-mce-style=\"font-size: 12pt;\">Page Testing</span></p>\r\n						</div>\r\n					</div>\r\n					<div class=\"ptwCell\">\r\n						<div class=\"ptwEl\" data-el=\"table_cell_txt\" data-type=\"txt\">\r\n							<p><span style=\"font-size: 12pt;\" data-mce-style=\"font-size: 12pt;\">Interactive Testing</span></p>\r\n						</div>\r\n					</div>\r\n					<div class=\"ptwCell\">\r\n						<div class=\"ptwEl\" data-el=\"table_cell_txt\" data-type=\"txt\">\r\n							<p><span style=\"font-size: 12pt;\" data-mce-style=\"font-size: 12pt;\">Spam Filter Tests</span></p>\r\n						</div>\r\n					</div>\r\n					<div class=\"ptwCell\">\r\n						<div class=\"ptwEl\" data-el=\"table_cell_txt\" data-type=\"txt\">\r\n							<p><span style=\"font-size: 12pt;\" data-mce-style=\"font-size: 12pt;\">500,000 Tracking Opens</span></p>\r\n						</div>\r\n					</div>\r\n					<div class=\"ptwCell\">\r\n						<div class=\"ptwEl\" data-el=\"table_cell_txt\" data-type=\"txt\">\r\n							<p><span style=\"font-size: 12pt;\" data-mce-style=\"\">2 Users Free</span></p>\r\n						</div>\r\n					</div>\r\n				</div>\r\n			</div>\r\n		</div>\r\n		{% endif %}\r\n		<div class=\"ptwEl ptwCol ptwCol-1 ptwElWithArea\" data-el=\"table_col\">\r\n			<div class=\"ptwTableElementContent ptwElArea\">\r\n				<div class=\"ptwColHeader\">\r\n					<div class=\"ptwEl\" data-el=\"table_cell_txt\" data-type=\"txt\"><p><span style=\"font-size: 18pt; font-weight: bold;\" data-mce-style=\"font-size: 18pt; font-weight: bold;\">Basic</span></p></div>\r\n				</div>\r\n				<div class=\"ptwColDesc ptwToggle\">\r\n					<div class=\"ptwEl\" data-el=\"table_cell_txt\" data-type=\"txt\">\r\n						<p><span data-mce-style=\"font-size: 18pt;\" style=\"font-size: 18pt;\">($79/mo)</span></p>\r\n					</div>\r\n				</div>\r\n				<div class=\"ptwRows\">\r\n					<div class=\"ptwCell\">\r\n						<div class=\"ptwActBtn ptwEl ptwElInput\" data-el=\"btn\" data-bgcolor-to=\"bg\" data-bgcolor=\"#27AE60\" style=\"background-color: #27AE60;\">\r\n							<a target=\"_blank\" href=\"http://woobewoo.com/\" class=\"ptwEditArea ptwInputShell\" style=\"color: #fff;\">Start Free Trial</a>\r\n						</div>\r\n					</div>\r\n					<div class=\"ptwCell\">\r\n						<div class=\"ptwEl\" data-el=\"table_cell_txt\" data-type=\"txt\">\r\n							<p><span style=\"font-size: 12pt;\" data-mce-style=\"font-size: 12pt;\">Email Previews</span></p>\r\n						</div>\r\n					</div>\r\n					<div class=\"ptwCell\">\r\n						<div class=\"ptwEl\" data-el=\"table_cell_txt\" data-type=\"txt\">\r\n							<p><span style=\"font-size: 12pt;\" data-mce-style=\"font-size: 12pt;\">Builder</span></p>\r\n						</div>\r\n					</div>\r\n					<div class=\"ptwCell\">\r\n						<div class=\"ptwEl\" data-el=\"table_cell_txt\" data-type=\"txt\">\r\n							<p><span style=\"font-size: 12pt;\" data-mce-style=\"font-size: 12pt;\">Page Testing</span></p>\r\n						</div>\r\n					</div>\r\n					<div class=\"ptwCell\">\r\n						<div class=\"ptwEl\" data-el=\"table_cell_txt\" data-type=\"txt\">\r\n							<p><span style=\"font-size: 12pt;\" data-mce-style=\"font-size: 12pt;\">Interactive Testing</span></p>\r\n						</div>\r\n					</div>\r\n					<div class=\"ptwCell\">\r\n						<div class=\"ptwEl\" data-el=\"table_cell_txt\" data-type=\"txt\">\r\n							<p><span style=\"font-size: 12pt;\" data-mce-style=\"font-size: 12pt;\">Spam Filter Tests</span></p>\r\n						</div>\r\n					</div>\r\n					<div class=\"ptwCell\">\r\n						<div class=\"ptwEl\" data-el=\"table_cell_txt\" data-type=\"txt\">\r\n							<p><span style=\"font-size: 12pt;\" data-mce-style=\"font-size: 12pt;\">500,000 Tracking Opens</span></p>\r\n						</div>\r\n					</div>\r\n					<div class=\"ptwCell\">\r\n						<div class=\"ptwEl\" data-el=\"table_cell_txt\" data-type=\"txt\">\r\n							<p><span style=\"font-size: 12pt;\" data-mce-style=\"\">2 Users Free</span></p>\r\n						</div>\r\n					</div>\r\n				</div>\r\n			</div>\r\n		</div>\r\n		<div class=\"ptwEl ptwCol ptwCol-2 ptwElWithArea\" data-el=\"table_col\">\r\n			<div class=\"ptwTableElementContent ptwElArea\">\r\n				<div class=\"ptwColHeader\">\r\n					<div class=\"ptwEl\" data-el=\"table_cell_txt\" data-type=\"txt\"><p><span style=\"font-size: 18pt; font-weight: bold; color: #515E78;\" data-mce-style=\"font-size: 18pt; font-weight: bold; color: #515E78;\">Plus</span></p></div>\r\n				</div>\r\n				<div class=\"ptwColDesc ptwToggle\">\r\n					<div class=\"ptwEl\" data-el=\"table_cell_txt\" data-type=\"txt\">\r\n						<p><span data-mce-style=\"font-size: 18pt;\" style=\"font-size: 18pt;\">($149/mo)</span></p>\r\n					</div>\r\n				</div>\r\n				<div class=\"ptwRows\">\r\n					<div class=\"ptwCell\">\r\n						<div class=\"ptwActBtn ptwEl ptwElInput\" data-el=\"btn\" data-bgcolor-to=\"bg\" data-bgcolor=\"#515E78\" style=\"background-color: #515E78;\">\r\n							<a target=\"_blank\" href=\"http://woobewoo.com/\" class=\"ptwEditArea ptwInputShell\" style=\"color: #fff;\">Start Free Trial</a>\r\n						</div>\r\n					</div>\r\n					<div class=\"ptwCell\">\r\n						<div class=\"ptwEl\" data-el=\"table_cell_txt\" data-type=\"txt\">\r\n							<p><span style=\"font-size: 12pt;\" data-mce-style=\"font-size: 12pt;\">Email Previews</span></p>\r\n						</div>\r\n					</div>\r\n					<div class=\"ptwCell\">\r\n						<div class=\"ptwEl\" data-el=\"table_cell_txt\" data-type=\"txt\">\r\n							<p><span style=\"font-size: 12pt;\" data-mce-style=\"font-size: 12pt;\">Builder</span></p>\r\n						</div>\r\n					</div>\r\n					<div class=\"ptwCell\">\r\n						<div class=\"ptwEl\" data-el=\"table_cell_txt\" data-type=\"txt\">\r\n							<p><span style=\"font-size: 12pt;\" data-mce-style=\"font-size: 12pt;\">Page Testing</span></p>\r\n						</div>\r\n					</div>\r\n					<div class=\"ptwCell\">\r\n						<div class=\"ptwEl\" data-el=\"table_cell_txt\" data-type=\"txt\">\r\n							<p><span style=\"font-size: 12pt;\" data-mce-style=\"font-size: 12pt;\">Interactive Testing</span></p>\r\n						</div>\r\n					</div>\r\n					<div class=\"ptwCell\">\r\n						<div class=\"ptwEl\" data-el=\"table_cell_txt\" data-type=\"txt\">\r\n							<p><span style=\"font-size: 12pt;\" data-mce-style=\"font-size: 12pt;\">Spam Filter Tests</span></p>\r\n						</div>\r\n					</div>\r\n					<div class=\"ptwCell\">\r\n						<div class=\"ptwEl\" data-el=\"table_cell_txt\" data-type=\"txt\">\r\n							<p><span style=\"font-size: 12pt;\" data-mce-style=\"font-size: 12pt;\">500,000 Tracking Opens</span></p>\r\n						</div>\r\n					</div>\r\n					<div class=\"ptwCell\">\r\n						<div class=\"ptwEl\" data-el=\"table_cell_txt\" data-type=\"txt\">\r\n							<p><span style=\"font-size: 12pt;\" data-mce-style=\"\">2 Users Free</span></p>\r\n						</div>\r\n					</div>\r\n				</div>\r\n			</div>\r\n		</div>\r\n		<div class=\"ptwEl ptwCol ptwCol-3 ptwElWithArea\" data-el=\"table_col\">\r\n			<div class=\"ptwTableElementContent ptwElArea\">\r\n				<div class=\"ptwColHeader\">\r\n					<div class=\"ptwEl\" data-el=\"table_cell_txt\" data-type=\"txt\"><p><span style=\"font-size: 18pt; font-weight: bold; color: #FB9B7A;\" data-mce-style=\"font-size: 18pt; font-weight: bold; color: #FB9B7A;\">Premium</span></p></div>\r\n				</div>\r\n				<div class=\"ptwColDesc ptwToggle\">\r\n					<div class=\"ptwEl\" data-el=\"table_cell_txt\" data-type=\"txt\">\r\n						<p><span data-mce-style=\"font-size: 18pt; color: #505055;\" style=\"font-size: 18pt;\">($399/mo)</span></p>\r\n					</div>\r\n				</div>\r\n				<div class=\"ptwRows\">\r\n					<div class=\"ptwCell\">\r\n						<div class=\"ptwActBtn ptwEl ptwElInput\" data-el=\"btn\" data-bgcolor-to=\"bg\" data-bgcolor=\"#FB9B72\" style=\"background-color: #FB9B72;\">\r\n							<a target=\"_blank\" href=\"http://woobewoo.com/\" class=\"ptwEditArea ptwInputShell\" style=\"color: #fff;\">Start Free Trial</a>\r\n						</div>\r\n					</div>\r\n					<div class=\"ptwCell\">\r\n						<div class=\"ptwEl\" data-el=\"table_cell_txt\" data-type=\"txt\">\r\n							<p><span style=\"font-size: 12pt;\" data-mce-style=\"font-size: 12pt;\">Email Previews</span></p>\r\n						</div>\r\n					</div>\r\n					<div class=\"ptwCell\">\r\n						<div class=\"ptwEl\" data-el=\"table_cell_txt\" data-type=\"txt\">\r\n							<p><span style=\"font-size: 12pt;\" data-mce-style=\"font-size: 12pt;\">Builder</span></p>\r\n						</div>\r\n					</div>\r\n					<div class=\"ptwCell\">\r\n						<div class=\"ptwEl\" data-el=\"table_cell_txt\" data-type=\"txt\">\r\n							<p><span style=\"font-size: 12pt;\" data-mce-style=\"font-size: 12pt;\">Page Testing</span></p>\r\n						</div>\r\n					</div>\r\n					<div class=\"ptwCell\">\r\n						<div class=\"ptwEl\" data-el=\"table_cell_txt\" data-type=\"txt\">\r\n							<p><span style=\"font-size: 12pt;\" data-mce-style=\"font-size: 12pt;\">Interactive Testing</span></p>\r\n						</div>\r\n					</div>\r\n					<div class=\"ptwCell\">\r\n						<div class=\"ptwEl\" data-el=\"table_cell_txt\" data-type=\"txt\">\r\n							<p><span style=\"font-size: 12pt;\" data-mce-style=\"font-size: 12pt;\">Spam Filter Tests</span></p>\r\n						</div>\r\n					</div>\r\n					<div class=\"ptwCell\">\r\n						<div class=\"ptwEl\" data-el=\"table_cell_txt\" data-type=\"txt\">\r\n							<p><span style=\"font-size: 12pt;\" data-mce-style=\"font-size: 12pt;\">2 Million Tracking Opens</span></p>\r\n						</div>\r\n					</div>\r\n					<div class=\"ptwCell\">\r\n						<div class=\"ptwEl\" data-el=\"table_cell_txt\" data-type=\"txt\">\r\n							<p><span style=\"font-size: 12pt;\" data-mce-style=\"\">10 Users Free</span></p>\r\n						</div>\r\n					</div>\r\n				</div>\r\n			</div>\r\n		</div>\r\n	</div>\r\n	<div style=\"clear: both;\"></div>\r\n</div>','css' => '#{{table.view_id}} {\r\n  {% if table.params.calc_width.val == \'table\' %}\r\n		width: {{ table.params.table_width.val }}{{ table.params.table_width_measure.val }};\r\n  {% endif %}\r\n}\r\n#{{table.view_id}} .ptwCol {\r\n  {% if table.params.calc_width.val == \'table\' %}\r\n  	{% if table.params.enb_desc_col.val and table.params.enb_desc_col.val != \"0\" %}\r\n  		width: {{ 100 / (table.params.cols_num.val + 1) }}%;\r\n  	{% else%}\r\n  		width: {{ 100 / table.params.cols_num.val }}%;\r\n  	{% endif %}\r\n  {% else%}\r\n	width: {{ table.params.col_width.val }}px;\r\n  {% endif %}\r\n  \r\n  padding: 0px 2.5px;\r\n}\r\n#{{table.view_id}} .ptwCol .ptwTableElementContent {\r\n  box-sizing: border-box;\r\n  	border: solid 1px {{ adjBs(table.params.bg_color.val, -10) }};\r\n    border-bottom: solid 2px {{ adjBs(table.params.bg_color.val, -15) }};\r\n    border-top-width: 2px;\r\n  	background-color: {{ table.params.bg_color.val }};\r\n\r\n}\r\n#{{table.view_id}} .ptwColHeader {\r\n	padding: 15px;\r\n  	font-size: 24px;\r\n  	font-weight: bold;\r\n  	padding-top: 21px;\r\n}\r\n#{{table.view_id}} .ptwCol .ptwColDesc {\r\n  	font-size: 24px;\r\n  	padding-top: 6px;\r\n}\r\n#{{table.view_id}} .ptwCol .ptwRows {\r\n    padding-top: 30px;\r\n  	padding-bottom: 16px;\r\n}\r\n#{{table.view_id}} .ptwCol .ptwCell {\r\n	padding: 7px 12px;\r\n}\r\n#{{table.view_id}} .ptwCol .ptwColFooter {\r\n	padding: 20px;\r\n  	border: 1px solid {{ adjBs(table.params.bg_color.val, -35) }};\r\n  	background-image: linear-gradient(to bottom, {{adjBs(table.params.bg_color.val, 20)}}, {{adjBs(table.params.bg_color.val, -20)}});\r\n}\r\n#{{table.view_id}} .ptwCol .ptwActBtn {\r\n  	border-radius: 3px;\r\n  	cursor: pointer;\r\n  	margin-bottom: 17px;\r\n}\r\n#{{table.view_id}} .ptwCol .ptwActBt:hover {\r\n	background-color: {{adjBs(table.params.bg_color.val, 20)}};\r\n}\r\n#{{table.view_id}} .ptwCol .ptwActBtn .ptwEditArea {\r\n  	width: 100%;\r\n  	padding: 6px 16px;\r\n  	text-decoration: none !important;\r\n  	border: none !important;\r\n}\r\n#{{table.view_id}} .ptwTableDescCol {\r\n  {% if table.params.enb_desc_col.val == 0 %}\r\n  	display: none;\r\n  {% endif %}\r\n}\r\n\r\n\r\n#{{table.view_id}} .ptwCol.ptwTableDescCol .ptwColFooter {\r\n	visibility: hidden;\r\n}\r\n#{{table.view_id}} p {\r\n	margin: 0;\r\n}\r\n/*Animations*/\r\n#{{table.view_id}} .ptwCol .ptwTableElementContent,\r\n#{{table.view_id}} .ptwCol .ptwTableElementContent span {\r\n	transition: all 0.3s ease;\r\n  	-webkit-transition: all 0.3s ease;\r\n    -moz-transition: all 0.3s ease;\r\n    -ms-transition: all 0.3s ease;\r\n    -o-transition: all 0.3s ease;\r\n}\r\n#{{table.view_id}} .ptwCol.hover .ptwTableElementContent {\r\n	z-index: 101;\r\n  	box-shadow: 0 0 10px rgba(0, 0, 0, 0.5);\r\n  	-webkit-box-shadow: 0 0 10px rgba(0, 0, 0, 0.5);\r\n	-moz-box-shadow: 0 0 10px rgba(0, 0, 0, 0.5);\r\n	margin-top: -20px;\r\n}\r\n#{{table.view_id}} .ptwCol .ptwActBtn a {\r\n	font-size: 14px;\r\n}\r\n/*Colors set*/\r\n#{{table.view_id}} .ptwCol .ptwColHeader {\r\n  	color: {{table.params.text_color_header.val}};\r\n}\r\n#{{table.view_id}} .ptwCol .ptwColDesc {\r\n  	color: {{table.params.text_color_desc.val}};\r\n}\r\n#{{table.view_id}} .ptwCol .ptwRows {\r\n  	color: {{table.params.text_color.val}};\r\n}','img' => 'becrux.jpg','sort_order' => '0','is_base' => '1','date_created' => '2015-11-03 15:09:42','is_pro' => '0'),
// '8Pw6vDxO' => array('unique_id' => '8Pw6vDxO','label' => 'Packages 1','original_id' => '0','params' => ' ','html' => '<div class=\"ptwContainer\">\r\n	<div class=\"ptwColsWrapper\">\r\n		<!-- Start Test Element -->\r\n       {% if (table.params.enb_desc_col.val == 1 or isEditMode) %}\r\n      	<div class=\"ptwEl ptwCol ptwCol-0 ptwElWithArea ptwTableDescCol\" data-el=\"table_col_desc\">\r\n			<div class=\"ptwTableElementContent ptwElArea\">\r\n				<div class=\"ptwColHeader\">\r\n					<div data-icon=\"fa-pencil\" data-type=\"icon\" data-el=\"table_cell_icon\" class=\"ptwIcon ptwEl ptwElInput\"><i class=\"fa fa-2x ptwInputShell fa-pencil\"></i></div>\r\n				</div>\r\n				<div class=\"ptwColDesc\">\r\n					<div class=\"ptwEl\" data-el=\"table_cell_txt\" data-type=\"txt\">\r\n						<p>\r\n							<span data-mce-style=\"\">\r\n								PLAN - PRICE\r\n							</span>\r\n						</p>\r\n					</div>\r\n				</div>\r\n				<div class=\"ptwRows\">\r\n					<div class=\"ptwCell\">\r\n						<div class=\"ptwEl\" data-el=\"table_cell_txt\" data-type=\"txt\">\r\n							<p>\r\n								<span data-mce-style=\"\">Description</span>\r\n							</p>\r\n						</div>\r\n					</div>\r\n				</div>\r\n				<div class=\"ptwColFooter\">\r\n					<div class=\"ptwActBtnWp\">\r\n						<div class=\"ptwActBtn ptwEl ptwElInput\" data-el=\"btn\" data-bgcolor=\"#333\" data-bgcolor-elements=\"a\" data-bgcolor-to=\"bg\">\r\n							<a target=\"_blank\" href=\"http://woobewoo.com/\" class=\"ptwEditArea ptwInputShell\" style=\"font-size: 12px; background-color: #333;\">READ MORE</a>\r\n						</div>\r\n					</div>\r\n\r\n					<div class=\"ptwActBtnWp\">\r\n						<div class=\"ptwActBtn ptwEl ptwElInput\" data-el=\"btn\" data-bgcolor=\"#333\" data-bgcolor-elements=\"a\" data-bgcolor-to=\"bg\">\r\n							<a target=\"_blank\" href=\"http://woobewoo.com/\" class=\"ptwEditArea ptwInputShell\" style=\"font-size: 14px; background-color: #333;\">BUY NOW</a>\r\n						</div>\r\n					</div>\r\n				</div>\r\n			</div>\r\n		</div>\r\n      	 {% endif %}\r\n      	<div class=\"ptwEl ptwCol ptwCol-1 ptwElWithArea\" data-el=\"table_col\">\r\n			<div class=\"ptwTableElementContent ptwElArea\">\r\n				<div class=\"ptwColHeader\">\r\n					<div data-icon=\"fa-pencil\" data-type=\"icon\" data-el=\"table_cell_icon\" class=\"ptwIcon ptwEl ptwElInput\"><i class=\"fa fa-2x ptwInputShell fa-pencil\"></i></div>\r\n				</div>\r\n				<div class=\"ptwColDesc ptwToggle\">\r\n					<div class=\"ptwEl\" data-el=\"table_cell_txt\" data-type=\"txt\">\r\n						<p>\r\n							<span data-mce-style=\"\">\r\n								START UP - $ 29\r\n							</span>\r\n						</p>\r\n					</div>\r\n				</div>\r\n				<div class=\"ptwRows\">\r\n					<div class=\"ptwCell\">\r\n						<div class=\"ptwEl\" data-el=\"table_cell_txt\" data-type=\"txt\">\r\n							<p>\r\n								<span data-mce-style=\"\">Semper audire mnesarchum</br> No alia prompta torquatos</br> Melius omnesque at sed</span>\r\n							</p>\r\n						</div>\r\n					</div>\r\n				</div>\r\n				<div class=\"ptwColFooter\">\r\n					<div class=\"ptwActBtnWp\">\r\n						<div class=\"ptwActBtn ptwEl ptwElInput\" data-el=\"btn\" data-bgcolor=\"#333\" data-bgcolor-elements=\"a\" data-bgcolor-to=\"bg\">\r\n							<a target=\"_blank\" href=\"http://woobewoo.com/\" class=\"ptwEditArea ptwInputShell\" style=\"font-size: 12px; background-color: #333;\">READ MORE</a>\r\n						</div>\r\n					</div>\r\n\r\n					<div class=\"ptwActBtnWp\">\r\n						<div class=\"ptwActBtn ptwEl ptwElInput\" data-el=\"btn\" data-bgcolor=\"#333\" data-bgcolor-elements=\"a\" data-bgcolor-to=\"bg\">\r\n							<a target=\"_blank\" href=\"http://woobewoo.com/\" class=\"ptwEditArea ptwInputShell\" style=\"font-size: 14px; background-color: #333;\">BUY NOW</a>\r\n						</div>\r\n					</div>\r\n				</div>\r\n			</div>\r\n		</div>\r\n		<div class=\"ptwEl ptwCol ptwCol-2 ptwElWithArea\" data-el=\"table_col\">\r\n			<div class=\"ptwTableElementContent ptwElArea\">\r\n				<div class=\"ptwColHeader\">\r\n					<div data-icon=\"fa-cog\" data-type=\"icon\" data-el=\"table_cell_icon\" class=\"ptwIcon ptwEl ptwElInput\"><i class=\"fa fa-2x ptwInputShell fa-cog\"></i></div>\r\n				</div>\r\n				<div class=\"ptwColDesc ptwToggle\">\r\n					<div class=\"ptwEl\" data-el=\"table_cell_txt\" data-type=\"txt\">\r\n						<p>\r\n							<span data-mce-style=\"\">\r\n								BUSINESS - $ 49\r\n							</span>\r\n						</p>\r\n					</div>\r\n				</div>\r\n				<div class=\"ptwRows\">\r\n					<div class=\"ptwCell\">\r\n						<div class=\"ptwEl\" data-el=\"table_cell_txt\" data-type=\"txt\">\r\n							<p>\r\n								<span data-mce-style=\"\">Utinam sapientem vim iusto<br/>Delenit medioc ritaten duo</br>Sed probo assun nonavi</span>\r\n							</p>\r\n						</div>\r\n					</div>\r\n				</div>\r\n				<div class=\"ptwColFooter\">\r\n					<div class=\"ptwActBtnWp\">\r\n						<div class=\"ptwActBtn ptwEl ptwElInput\" data-el=\"btn\" data-bgcolor=\"#333\" data-bgcolor-elements=\"a\" data-bgcolor-to=\"bg\">\r\n							<a target=\"_blank\" href=\"http://woobewoo.com/\" class=\"ptwEditArea ptwInputShell\" style=\"font-size: 12px; background-color: #333;\">READ MORE</a>\r\n						</div>\r\n					</div>\r\n\r\n					<div class=\"ptwActBtnWp\">\r\n						<div class=\"ptwActBtn ptwEl ptwElInput\" data-el=\"btn\" data-bgcolor=\"#333\" data-bgcolor-elements=\"a\" data-bgcolor-to=\"bg\">\r\n							<a target=\"_blank\" href=\"http://woobewoo.com/\" class=\"ptwEditArea ptwInputShell\" style=\"font-size: 14px; background-color: #333;\">BUY NOW</a>\r\n						</div>\r\n					</div>\r\n				</div>\r\n			</div>\r\n		</div>\r\n		<div class=\"ptwEl ptwCol ptwCol-3 ptwElWithArea\" data-el=\"table_col\">\r\n			<div class=\"ptwTableElementContent ptwElArea\">\r\n				<div class=\"ptwColHeader\">\r\n					<div data-icon=\"fa-inbox\" data-type=\"icon\" data-el=\"table_cell_icon\" class=\"ptwIcon ptwEl ptwElInput\"><i class=\"fa fa-2x ptwInputShell fa-inbox\"></i></div>\r\n				</div>\r\n				<div class=\"ptwColDesc ptwToggle\">\r\n					<div class=\"ptwEl\" data-el=\"table_cell_txt\" data-type=\"txt\">\r\n						<p>\r\n							<span data-mce-style=\"\">\r\n								ADVANCED - $ 99\r\n							</span>\r\n						</p>\r\n					</div>\r\n				</div>\r\n				<div class=\"ptwRows\">\r\n					<div class=\"ptwCell\">\r\n						<div class=\"ptwEl\" data-el=\"table_cell_txt\" data-type=\"txt\">\r\n							<p>\r\n								<span data-mce-style=\"\">Semper audire mnesarchum</br>No alia prompta torquatos</br>Melius omnesque at sed</span>\r\n							</p>\r\n						</div>\r\n					</div>\r\n				</div>\r\n				<div class=\"ptwColFooter\">\r\n					<div class=\"ptwActBtnWp\">\r\n						<div class=\"ptwActBtn ptwEl ptwElInput\" data-el=\"btn\" data-bgcolor=\"#333\" data-bgcolor-elements=\"a\" data-bgcolor-to=\"bg\">\r\n							<a target=\"_blank\" href=\"http://woobewoo.com/\" class=\"ptwEditArea ptwInputShell\" style=\"font-size: 12px; background-color: #333;\">READ MORE</a>\r\n						</div>\r\n					</div>\r\n\r\n					<div class=\"ptwActBtnWp\">\r\n						<div class=\"ptwActBtn ptwEl ptwElInput\" data-el=\"btn\" data-bgcolor=\"#333\" data-bgcolor-elements=\"a\" data-bgcolor-to=\"bg\">\r\n							<a target=\"_blank\" href=\"http://woobewoo.com/\" class=\"ptwEditArea ptwInputShell\" style=\"font-size: 14px; background-color: #333;\">BUY NOW</a>\r\n						</div>\r\n					</div>\r\n				</div>\r\n			</div>\r\n		</div>\r\n      \r\n		\r\n		<!-- End Test Element -->\r\n	</div>\r\n	<div style=\"clear: both;\"></div>\r\n</div>','css' => '#{{table.view_id}} {\r\n  {% if table.params.calc_width.val == \'table\' %}\r\n  width: {{ table.params.table_width.val }}{{ table.params.table_width_measure.val }};\r\n  {% endif %}\r\n}\r\n\r\n#{{table.view_id}} .ptwCol {\r\n  {% if table.params.calc_width.val == \'table\' %}\r\n    {% if table.params.enb_desc_col.val and table.params.enb_desc_col.val != \"0\" %}\r\n      width: {{ 100 / (table.params.cols_num.val + 1) }}%;\r\n    {% else%}\r\n      width: {{ 100 / table.params.cols_num.val }}%;\r\n    {% endif %}\r\n  {% else%}\r\n  width: {{ table.params.col_width.val }}px;\r\n  {% endif %}\r\n}\r\n\r\n#{{table.view_id}} .ptwTableDescCol {\r\n  {% if table.params.enb_desc_col.val == 0 %}\r\n    display: none;\r\n  {% endif %}\r\n}\r\n\r\n#{{table.view_id}} .ptwCol.ptwTableDescCol .ptwColFooter {\r\n	visibility: hidden;\r\n}\r\n\r\n#{{table.view_id}} p {\r\n  margin: 0;\r\n}\r\n\r\n/*Animations*/\r\n#{{table.view_id}} .ptwCol .ptwTableElementContent,\r\n#{{table.view_id}} .ptwCol .ptwTableElementContent span {\r\n  transition: all 0.3s ease;\r\n    -webkit-transition: all 0.3s ease;\r\n    -moz-transition: all 0.3s ease;\r\n    -ms-transition: all 0.3s ease;\r\n    -o-transition: all 0.3s ease;\r\n}\r\n\r\n#{{table.view_id}} .ptwCol.hover .ptwTableElementContent {\r\n  z-index: 101;\r\n  box-shadow: 0 0 10px rgba(0, 0, 0, 0.5);\r\n  -webkit-box-shadow: 0 0 10px rgba(0, 0, 0, 0.5);\r\n  -moz-box-shadow: 0 0 10px rgba(0, 0, 0, 0.5);\r\n}\r\n\r\n#{{table.view_id}} .ptwCol.hover .ptwTableElementContent {\r\n  z-index: 101;\r\n  box-shadow: 0 0 10px rgba(0, 0, 0, 0.5);\r\n}\r\n\r\n/** Template Style **/\r\n#{{table.view_id}} .ptwTableElementContent {\r\n    background: {{table.params.bg_color.val}};\r\n    border: solid 1px {{adjBs(table.params.bg_color.val, -15)}};\r\n    box-shadow: 0 0 20px -2px rgba(0,0,0,0);\r\n    position: relative;\r\n}\r\n\r\n#{{table.view_id}} .ptwColHeader,\r\n#{{table.view_id}} .ptwColDesc {\r\n    background: {{adjBs(table.params.bg_color.val, -5)}};\r\n    padding: 40px 5px 30px 5px;\r\n  	position: relative;\r\n}\r\n\r\n#{{table.view_id}} .ptwColDesc:before {\r\n	content: \'\';\r\n  	position: absolute;\r\n  	left: 25%;\r\n  	bottom: 0;\r\n  background-color: {{table.params.text_color_desc.val}};\r\n  	height: 1px;\r\n  	width: 50%;\r\n}\r\n\r\n#{{table.view_id}} .ptwColHeader .ptwIcon i {\r\n	font-size: 55px;\r\n  	color: {{table.params.text_color_header.val}};\r\n}\r\n\r\n#{{table.view_id}} .ptwColHeader span,\r\n#{{table.view_id}} .ptwColHeader p {\r\n    font-size: 28px;\r\n    color: {{table.params.text_color_header.val}};\r\n}\r\n\r\n#{{table.view_id}} .ptwColDesc {\r\n    padding: 0 5px 20px 5px;\r\n}\r\n\r\n#{{table.view_id}} .ptwRows {\r\n	padding-top: 20px;\r\n}\r\n\r\n#{{table.view_id}} .ptwColDesc span,\r\n#{{table.view_id}} .ptwColDesc p {\r\n    font-size: 24px;\r\n  	color: {{table.params.text_color_desc.val}};\r\n}\r\n\r\n#{{table.view_id}} .ptwCell {\r\n  color: {{table.params.text_color.val}};\r\n}\r\n\r\n#{{table.view_id}} .ptwCell span,\r\n#{{table.view_id}} .ptwCell p {\r\n  font-size: 14px;\r\n}\r\n\r\n#{{table.view_id}} .ptwColFooter {\r\n  padding: 20px 0 20px 0;\r\n}\r\n\r\n#{{table.view_id}} .ptwColFooter .ptwActBtn a {\r\n    background-color: {{adjBs(table.params.bg_color.val, -5)}};\r\n    text-decoration: blink;\r\n 	color: {{table.params.bg_color.val}};\r\n    font-size: 18px;\r\n    padding: 10px 20px;\r\n    border-radius: 4px;\r\n    position: relative;\r\n  	text-align: center;\r\n}\r\n\r\n#{{table.view_id}} .ptwColFooter .ptwActBtn {\r\n	margin: 10px 0;\r\n  	text-align: center;\r\n}\r\n\r\n#{{table.view_id}} .ptwColFooter .ptwActBtn a:before {\r\n    content: \'\';\r\n    position: absolute;\r\n    top: 0;\r\n    right: 0;\r\n    left: 0;\r\n    bottom: 0;\r\n    background-color: #fff;\r\n    opacity: 0;\r\n    transition: all .5s ease-out;\r\n}\r\n\r\n#{{table.view_id}} .ptwColFooter .ptwActBtn a:hover:before {\r\n    opacity: .3;\r\n}','img' => 'packages-1.jpg','sort_order' => '0','is_base' => '1','date_created' => '2015-11-12 16:24:57','is_pro' => '0'),
);
		foreach($data as $uid => $d) {
			self::installDataByUid('@__tables', $uid, $d);
		}
	}
	static public function installDataByUid($tbl, $uid, $data) {
		$id = (int) dbPtw::get("SELECT id FROM $tbl WHERE unique_id = '$uid' AND original_id = 0 AND is_base = 1", 'one');
		$action = $id ? 'UPDATE' : 'INSERT INTO';
		$values = array();
		foreach($data as $k => $v) {
			$values[] = "$k = \"$v\"";
		}
		$valuesStr = implode(',', $values);
		$query = "$action $tbl SET $valuesStr";
		if($action == 'UPDATE')
			$query .= " WHERE unique_id = '$uid' AND original_id = 0 AND is_base = 1";
		if(dbPtw::query($query)) {
			$dataId = $action == 'UPDATE' ? $id : dbPtw::insertID();
			// Make sure that data - is really unique
			$wrongId = (int) dbPtw::get("SELECT id FROM $tbl WHERE unique_id != '$uid' AND original_id = 0 AND is_base = 1 AND label = '". $data['label']. "'", 'one');
			if($wrongId) {
				dbPtw::query("DELETE FROM $tbl WHERE id = $wrongId");
				dbPtw::query("UPDATE $tbl SET original_id = $dataId WHERE original_id = $wrongId");
			}
			return $dataId;
		}
		return false;
	}

	static public function getGradientStandardTemplateConfig() {
		$html = '
		<div class="ptwContainer">
			<div class="ptwColsWrapper">
				{% if (table.params.enb_desc_col.val == 1 or isEditMode) %}
				<div class="ptwEl ptwCol ptwCol-0 ptwTableDescCol ptwElWithArea" data-el="table_col_desc" data-color="#424242">
					<div class="ptwTableElementContent ptwElArea">
						<div class="ptwColHeader" style="height: 69px;">
							<div class="ptwEl" data-el="table_cell_txt" data-type="txt"><p></p></div>
						</div>
						<div class="ptwColDesc" style="height: 141px;">
							<div class="ptwEl ptwIsTableCellTxtEdit" data-el="table_cell_txt" data-type="txt"><p>choose your plan</p></div>
						</div>
						<div class="ptwRows" style="height: 224px;"></div>
						<div class="ptwColFooter" style="height: 51px;">
							<div class="ptwEl" data-el="table_cell_txt" data-type="txt"><p></p></div>
						</div>
					</div>
				</div>
				{% endif %}
			</div>
			<div style="clear: both;"></div>
		</div>';
		$html = addslashes($html);
		return array(
			'unique_id' => 'ptw8M1EB',
			'label' => 'Gradient Standard',
			'original_id' => '0',
			'params' => ' ',
			'html' => $html,
			'css' => '#{{table.view_id}} {\r\n  {% if table.params.calc_width.val == \'table\' %}\r\n  width: {{ table.params.table_width.val }}{{ table.params.table_width_measure.val }};\r\n  {% endif %}\r\n}\r\n#{{table.view_id}} .ptwColDesc .ptwEl p {\r\n	font-size: 24pt;\r\n}\r\n#{{table.view_id}} .ptwCol {\r\n  {% if table.params.calc_width.val == \'table\' %}\r\n  	{% if table.params.enb_desc_col.val and table.params.enb_desc_col.val != \'0\' %}\r\n  		width: {{ 100 / (table.params.cols_num.val + 1) }}%;\r\n  	{% else%}\r\n  		width: {{ 100 / table.params.cols_num.val }}%;\r\n  	{% endif %}\r\n  {% else%}\r\n	width: {{ table.params.col_width.val }}px;\r\n  {% endif %}\r\n  transition: box-shadow 250ms ease 0s;\r\n}\r\n#{{table.view_id}} .ptwColHeader,\r\n#{{table.view_id}} .ptwColDesc {\r\n	padding: 10px;\r\n}\r\n#{{table.view_id}} p {\r\n	margin: 0;\r\n   	word-break: break-all;\r\n}\r\n#{{table.view_id}} .ptwCell,\r\n#{{table.view_id}} .ptwColFooter {\r\n	padding: 10px 0;\r\n}\r\n#{{table.view_id}} .ptwColHeader {\r\n	background-color: {{ adjBs(table.params.bg_color.val, -10) }}; /* background color for non-css3 browsers */\r\n	/* gradient */\r\n  background-image: linear-gradient(to top, {{ table.params.bg_color.val }}, {{ adjBs(table.params.bg_color.val, -23) }}); /* W3C */\r\n	filter: progid:DXImageTransform.Microsoft.gradient(startColorstr=\'{{ table.params.bg_color.val }}\', endColorstr=\'{{ adjBs(table.params.bg_color.val, -23) }}\'); /* IE5.5 - 7 */\r\n	-ms-filter: progid:DXImageTransform.Microsoft.gradient(startColorstr=\'{{ table.params.bg_color.val }}\', endColorstr=\'{{ adjBs(table.params.bg_color.val, -23) }}\'); /* IE8 */\r\n	background: -ms-linear-gradient(top, {{ table.params.bg_color.val }}, {{ adjBs(table.params.bg_color.val, -23) }}); /* IE9 */\r\n  background: -moz-linear-gradient(top, {{ table.params.bg_color.val }}, {{ adjBs(table.params.bg_color.val, -23) }}); /* Firefox */ \r\n	background: -o-linear-gradient(top, {{ table.params.bg_color.val }}, {{ adjBs(table.params.bg_color.val, -23) }}); /* Opera 11  */\r\n	background: -webkit-linear-gradient(top, {{ table.params.bg_color.val }}, {{ adjBs(table.params.bg_color.val, -23) }}); /* Chrome 11  */\r\n	background: -webkit-gradient(linear, left top, left bottom, color-stop(0, {{ table.params.bg_color.val }}), color-stop(1, {{ adjBs(table.params.bg_color.val, -23) }})); /* Chrome 10, Safari */\r\n  \r\n  	border-bottom: 1px solid {{ adjBs(table.params.bg_color.val, -40) }};\r\n}\r\n#{{table.view_id}} .ptwColDesc {\r\n	background-color: {{ adjBs(table.params.bg_color.val, -10) }}; /* background color for non-css3 browsers */\r\n	/* gradient */\r\n  background-image: linear-gradient(to top, {{ adjBs(table.params.bg_color.val, -15) }}, {{ adjBs(table.params.bg_color.val, -40) }}); /* W3C */\r\n	filter: progid:DXImageTransform.Microsoft.gradient(startColorstr=\'{{ adjBs(table.params.bg_color.val, -15) }}\', endColorstr=\'{{ adjBs(table.params.bg_color.val, -40) }}\'); /* IE5.5 - 7 */\r\n	-ms-filter: progid:DXImageTransform.Microsoft.gradient(startColorstr=\'{{ adjBs(table.params.bg_color.val, -15) }}\', endColorstr=\'{{ adjBs(table.params.bg_color.val, -40) }}\'); /* IE8 */\r\n	background: -ms-linear-gradient(top, {{ adjBs(table.params.bg_color.val, -15) }}, {{ adjBs(table.params.bg_color.val, -40) }}); /* IE9 */\r\n  background: -moz-linear-gradient(top, {{ adjBs(table.params.bg_color.val, -15) }}, {{ adjBs(table.params.bg_color.val, -40) }}); /* Firefox */ \r\n	background: -o-linear-gradient(top, {{ adjBs(table.params.bg_color.val, -15) }}, {{ adjBs(table.params.bg_color.val, -40) }}); /* Opera 11  */\r\n	background: -webkit-linear-gradient(top, {{ adjBs(table.params.bg_color.val, -15) }}, {{ adjBs(table.params.bg_color.val, -40) }}); /* Chrome 11  */\r\n	background: -webkit-gradient(linear, left top, left bottom, color-stop(0, {{ adjBs(table.params.bg_color.val, -15) }}), color-stop(1, {{ adjBs(table.params.bg_color.val, -40) }})); /* Chrome 10, Safari */\r\n  \r\n  	border-top: 1px solid {{ adjBs(table.params.bg_color.val, 5) }};\r\n}\r\n#{{table.view_id}} .ptwCell:nth-child(odd) {\r\n	background-color: {{ adjBs(table.params.bg_color.val, 165) }};\r\n}\r\n#{{table.view_id}} .ptwCell:nth-child(even) {\r\n	background-color: {{ adjBs(table.params.bg_color.val, 195) }};\r\n}\r\n#{{table.view_id}} .ptwCol:nth-child(odd) .ptwCell:nth-child(odd) {\r\n	background-color: {{ adjBs(table.params.bg_color.val, 145) }};\r\n}\r\n#{{table.view_id}} .ptwCol:nth-child(odd) .ptwCell:nth-child(even) {\r\n	background-color: {{ adjBs(table.params.bg_color.val, 165) }};\r\n}\r\n#{{table.view_id}} .ptwColFooter {\r\n	text-align: center;\r\n 	background-color: {{ adjBs(table.params.bg_color.val, 130) }}; /* background color for non-css3 browsers */\r\n	/* gradient */\r\n	background-image: linear-gradient(to top, {{ adjBs(table.params.bg_color.val, 160) }}, {{ adjBs(table.params.bg_color.val, 100) }}); /* W3C */\r\n	filter: progid:DXImageTransform.Microsoft.gradient(startColorstr=\'{{ adjBs(table.params.bg_color.val, 160) }}\', endColorstr=\'{{ adjBs(table.params.bg_color.val, 100) }}\'); /* IE5.5 - 7 */\r\n	-ms-filter: progid:DXImageTransform.Microsoft.gradient(startColorstr=\'{{ adjBs(table.params.bg_color.val, 160) }}\', endColorstr=\'{{ adjBs(table.params.bg_color.val, 100) }}\'); /* IE8 */\r\n	background: -ms-linear-gradient(top, {{ adjBs(table.params.bg_color.val, 160) }}, {{ adjBs(table.params.bg_color.val, 100) }}); /* IE9 */\r\n	background: -moz-linear-gradient(top, {{ adjBs(table.params.bg_color.val, 160) }}, {{ adjBs(table.params.bg_color.val, 100) }}); /* Firefox */ \r\n	background: -o-linear-gradient(top, {{ adjBs(table.params.bg_color.val, 160) }}, {{ adjBs(table.params.bg_color.val, 100) }}); /* Opera 11  */\r\n	background: -webkit-linear-gradient(top, {{ adjBs(table.params.bg_color.val, 160) }}, {{ adjBs(table.params.bg_color.val, 100) }}); /* Chrome 11  */\r\n	background: -webkit-gradient(linear, left top, left bottom, color-stop(0, {{ adjBs(table.params.bg_color.val, 160) }}), color-stop(1, {{ adjBs(table.params.bg_color.val, 100) }})); /* Chrome 10, Safari */\r\n  \r\n	border-top: 1px solid {{ adjBs(table.params.bg_color.val, 145) }};\r\n}\r\n#{{table.view_id}} .ptwActBtn:hover {\r\n	 background-color: {{ adjBs(table.params.bg_color.val, 110) }}; /* background color for non-css3 browsers */\r\n	/* gradient */\r\n	background-image: linear-gradient(to top, {{ adjBs(table.params.bg_color.val, 140) }}, {{ adjBs(table.params.bg_color.val, 80) }}); /* W3C */\r\n	filter: progid:DXImageTransform.Microsoft.gradient(startColorstr=\'{{ adjBs(table.params.bg_color.val, 140) }}\', endColorstr=\'{{ adjBs(table.params.bg_color.val, 80) }}\'); /* IE5.5 - 7 */\r\n	-ms-filter: progid:DXImageTransform.Microsoft.gradient(startColorstr=\'{{ adjBs(table.params.bg_color.val, 140) }}\', endColorstr=\'{{ adjBs(table.params.bg_color.val, 80) }}\'); /* IE8 */\r\n	background: -ms-linear-gradient(top, {{ adjBs(table.params.bg_color.val, 140) }}, {{ adjBs(table.params.bg_color.val, 80) }}); /* IE9 */\r\n	background: -moz-linear-gradient(top, {{ adjBs(table.params.bg_color.val, 140) }}, {{ adjBs(table.params.bg_color.val, 80) }}); /* Firefox */ \r\n	background: -o-linear-gradient(top, {{ adjBs(table.params.bg_color.val, 140) }}, {{ adjBs(table.params.bg_color.val, 80) }}); /* Opera 11  */\r\n	background: -webkit-linear-gradient(top, {{ adjBs(table.params.bg_color.val, 140) }}, {{ adjBs(table.params.bg_color.val, 80) }}); /* Chrome 11  */\r\n	background: -webkit-gradient(linear, left top, left bottom, color-stop(0, {{ adjBs(table.params.bg_color.val, 140) }}), color-stop(1, {{ adjBs(table.params.bg_color.val, 80) }})); /* Chrome 10, Safari */\r\n}\r\n#{{table.view_id}} .ptwActBtn {\r\n	display: inline-block;\r\n  	padding: 4px 20px;\r\n  	border: 1px solid {{ adjBs(table.params.bg_color.val, 85) }};\r\n  	width: 80%;\r\n  	border-radius: 3px;\r\n}\r\n\r\n#{{table.view_id}} .ptwActBtn .ptwEditArea {\r\n  	font-size: 10pt; \r\n  	font-weight: bold;\r\n  	text-decoration: none !important;\r\n  	border: none !important;\r\n	width: 100%;\r\n}\r\n#{{table.view_id}} .ptwCol:first-of-type .ptwColHeader {\r\n	border-top-left-radius: 5px;\r\n}\r\n#{{table.view_id}} .ptwCol:last-of-type .ptwColHeader {\r\n	border-top-right-radius: 5px;\r\n}\r\n#{{table.view_id}} .ptwCol:first-of-type .ptwColFooter {\r\n	border-bottom-left-radius: 5px;\r\n}\r\n#{{table.view_id}} .ptwCol:last-of-type .ptwColFooter {\r\n	border-bottom-right-radius: 5px;\r\n}\r\n#{{table.view_id}} .ptwColFooter ptwElInput {\r\n	color: #444444;\r\n  	text-decoration: none !important;\r\n}\r\n#{{table.view_id}} .ptwTableDescCol {\r\n  {% if table.params.enb_desc_col.val == 0 %}\r\n  	display: none;\r\n  {% endif %}\r\n}\r\n#{{table.view_id}} .ptwCol .ptwTableElementContent,\r\n#{{table.view_id}} .ptwCol .ptwTableElementContent span {\r\n	transition: box-shadow 0.3s ease, margin 0.3s ease, font 0.3s ease;\r\n  	-webkit-transition: box-shadow 0.3s ease, margin 0.3s ease, font 0.3s ease;\r\n    -moz-transition: box-shadow 0.3s ease, margin 0.3s ease, font 0.3s ease;\r\n    -ms-transition: box-shadow 0.3s ease, margin 0.3s ease, font 0.3s ease;\r\n    -o-transition: box-shadow 0.3s ease, margin 0.3s ease, font 0.3s ease;\r\n}\r\n#{{table.view_id}} .ptwCol.hover .ptwTableElementContent {\r\n	z-index: 101;\r\n  	box-shadow: 5px 0 30px rgba(0, 0, 0, 0.5);\r\n  	-webkit-box-shadow: 5px 0 30px rgba(0, 0, 0, 0.5);\r\n	-moz-box-shadow: 5px 0 30px rgba(0, 0, 0, 0.5);\r\n	margin-top: -20px;\r\n    border-radius: 5px;\r\n}\r\n#{{table.view_id}} .ptwCol.hover .ptwColHeader {\r\n	border-top-left-radius: 5px;\r\n  	border-top-right-radius: 5px;\r\n}\r\n#{{table.view_id}} .ptwCol.hover .ptwColFooter {\r\n	border-bottom-left-radius: 5px;\r\n  	border-bottom-right-radius: 5px;\r\n}\r\n/*Colors set*/\r\n#{{table.view_id}} .ptwCol .ptwColHeader {\r\n  	color: {{table.params.text_color_header.val}};\r\n}\r\n#{{table.view_id}} .ptwCol .ptwColDesc {\r\n  	color: {{table.params.text_color_desc.val}};\r\n}\r\n#{{table.view_id}} .ptwCol .ptwRows {\r\n  	color: {{table.params.text_color.val}};\r\n}\r\n#{{table.view_id}} .ptwPropAttrPrice .ptwEl {\r\n	font-size: 48px;\r\n}',
			'img' => 'gradient-standard.jpg',
			'sort_order' => '0',
			'is_base' => '1',
			'date_created' => date('Y-m-d H:i:s'),
			'is_pro' => '0',
		);
	}
	static public function getFlatTableTemplateConfig() {
		$html = '
			<div class="ptwContainer">
				<div class="ptwColsWrapper">
					{% if (table.params.enb_desc_col.val == 1 or isEditMode) %}
					<div class="ptwEl ptwCol ptwCol-0 ptwTableDescCol ptwElWithArea"  data-color="#49c6e1" data-el="table_col_desc">
						<div class="ptwTableElementContent ptwElArea">
							<div class="ptwColHeader">
								<div class="ptwEl ptwIsTableCellTxtEdit" data-el="table_cell_txt" data-type="txt" contenteditable="true" spellcheck="false">
									<p>CHOOSE</p>
								</div>
							</div>
							<div class="ptwRows"></div>
							<div class="ptwColDesc">
								<div class="ptwEl ptwIsTableCellTxtEdit" data-el="table_cell_txt" data-type="txt">
									<p style="font-size: 36pt;">Price</p>
								</div>
							</div>
							<div class="ptwColFooter">
								<div class="ptwEl" data-el="table_cell_txt" data-type="txt"><p></p></div>
							</div>
						</div>
					</div>
					{% endif %}
				</div>
				<div style="clear: both;"></div>
			</div>';
		$html = addslashes($html);
		return array(
			'unique_id' => 'ptwNjRm5',
			'label' => 'Flat Table',
			'original_id' => '0',
			'params' => ' ',
			'html' => $html,
			'css' => '#{{table.view_id}} {\r\n  {% if table.params.calc_width.val == \'table\' %}\r\n	width: {{ table.params.table_width.val }}{{ table.params.table_width_measure.val }};\r\n  {% endif %}\r\n  text-transform: uppercase;\r\n}\r\n#{{table.view_id}} .ptwColHeader.ptwCell .ptwEl p {\r\n  font-size: 24pt;\r\n}\r\n#{{table.view_id}} * {\r\n   line-height: 1.2em;\r\n}\r\n#{{table.view_id}} p,\r\n#{{table.view_id}} span \r\n{\r\n   {% if table.params.font_family.val %}\r\n   	font-family: {{ table.params.font_family.val }};\r\n   {% endif %}\r\n}\r\n#{{table.view_id}} .ptwCol {\r\n  {% if table.params.calc_width.val == \'table\' %}\r\n  	{% if table.params.enb_desc_col.val and table.params.enb_desc_col.val != \"0\" %}\r\n  		width: {{ 100 / (table.params.cols_num.val + 1) }}%;\r\n  	{% else%}\r\n  		width: {{ 100 / table.params.cols_num.val }}%;\r\n  	{% endif %}\r\n  {% else%}\r\n	width: {{ table.params.col_width.val }}px;\r\n  {% endif %}\r\n  padding: 0 5px;\r\n  \r\n}\r\n#{{table.view_id}} span, #{{table.view_id}} p {\r\n	word-break: break-word;\r\n}\r\n/*Bg Colors*/\r\n#{{table.view_id}} .ptwCol .ptwTableElementContent {\r\n	background-color: {{table.params.bg_color.val}};\r\n}\r\n#{{table.view_id}} .ptwCol .ptwTableElementContent .ptwColDesc,\r\n#{{table.view_id}} .ptwCol .ptwTableElementContent .ptwActBtn,\r\n#{{table.view_id}} .ptwCol .ptwTableElementContent .ptwRows .ptwCell:hover {\r\n	background-color: {{ adjBs(table.params.bg_color.val, 20) }};\r\n}\r\n#{{table.view_id}} .ptwCol .ptwTableElementContent .ptwActBtn:hover {\r\n	background-color: {{ adjBs(table.params.bg_color.val, -20) }};\r\n}\r\n/*Desc Col*/\r\n#{{table.view_id}} .ptwTableDescCol {\r\n  {% if table.params.enb_desc_col.val == 0 %}\r\n  	display: none;\r\n  {% endif %}\r\n}\r\n#{{table.view_id}} .ptwRows .ptwCell .ptwIcon {\r\n	margin-right: 10px;\r\n}\r\n#{{table.view_id}} .ptwColHeader,\r\n#{{table.view_id}} .ptwColDesc,\r\n#{{table.view_id}} .ptwCell {\r\n	padding: 10px;\r\n}\r\n#{{table.view_id}} .ptwColHeader {\r\n	padding-bottom: 20px;\r\n}\r\n#{{table.view_id}} .ptwColFooter {\r\n	padding: 20px 0 40px;\r\n  	text-align: center;\r\n}\r\n#{{table.view_id}} .ptwCol .ptwActBtn {\r\n  	cursor: pointer;\r\n}\r\n#{{table.view_id}} .ptwCol .ptwActBtn .ptwEditArea {\r\n	font-size: 22px;\r\n  	padding: 10px 15px;\r\n  	text-decoration: none !important;\r\n  	border: none !important;\r\n}\r\n#{{table.view_id}} p {\r\n	margin: 0;\r\n}\r\n/*Animations*/\r\n#{{table.view_id}} .ptwCol .ptwTableElementContent,\r\n#{{table.view_id}} .ptwCol .ptwTableElementContent .ptwCell,\r\n#{{table.view_id}} .ptwCol .ptwTableElementContent span {\r\n	transition: box-shadow 0.3s ease, margin 0.3s ease, font 0.3s ease, background 0.3s ease;\r\n  	-webkit-transition: box-shadow 0.3s ease, margin 0.3s ease, font 0.3s ease, background 0.3s ease;\r\n    -moz-transition: box-shadow 0.3s ease, margin 0.3s ease, font 0.3s ease, background 0.3s ease;\r\n    -ms-transition: box-shadow 0.3s ease, margin 0.3s ease, font 0.3s ease, background 0.3s ease;\r\n    -o-transition: box-shadow 0.3s ease, margin 0.3s ease, font 0.3s ease, background 0.3s ease;\r\n}\r\n#{{table.view_id}} .ptwCol.hover .ptwTableElementContent {\r\n	z-index: 101;\r\n  	box-shadow: 0 0 10px rgba(0, 0, 0, 0.5);\r\n  	-webkit-box-shadow: 0 0 10px rgba(0, 0, 0, 0.5);\r\n	-moz-box-shadow: 0 0 10px rgba(0, 0, 0, 0.5);\r\n	margin-top: -20px;\r\n}\r\n\r\n/*Colors set*/\r\n#{{table.view_id}} .ptwCol .ptwColHeader,\r\n#{{table.view_id}} .ptwCol .ptwColHeader *\r\n{\r\n  	color: {{table.params.text_color_header.val}};\r\n}\r\n#{{table.view_id}} .ptwCol .ptwColDesc,\r\n#{{table.view_id}} .ptwCol .ptwColDesc *\r\n{\r\n  	color: {{table.params.text_color_desc.val}};\r\n}\r\n#{{table.view_id}} .ptwCol .ptwRows,\r\n#{{table.view_id}} .ptwCol .ptwRows *\r\n{\r\n  	color: {{table.params.text_color.val}};\r\n}\r\n/*start for col color 1*/\r\n#{{table.view_id}} .ptwCol-1 .ptwTableElementContent {\r\n	background-color: rgb(231, 76, 60);\r\n}\r\n#{{table.view_id}} .ptwCol-1 .ptwTableElementContent .ptwColDesc,\r\n#{{table.view_id}} .ptwCol-1 .ptwTableElementContent .ptwActBtn,\r\n#{{table.view_id}} .ptwCol-1 .ptwTableElementContent .ptwRows .ptwCell:hover {\r\n	background-color: #fb6050;\r\n}\r\n#{{table.view_id}} .ptwCol-1 .ptwTableElementContent .ptwActBtn:hover {\r\n	background-color: #d33828;\r\n}\r\n/*end for col color 1*/\r\n/*start for col color 2*/\r\n#{{table.view_id}} .ptwCol-2 .ptwTableElementContent {\r\n	background-color: rgb(155, 89, 182);\r\n}\r\n#{{table.view_id}} .ptwCol-2 .ptwTableElementContent .ptwColDesc,\r\n#{{table.view_id}} .ptwCol-2 .ptwTableElementContent .ptwActBtn,\r\n#{{table.view_id}} .ptwCol-2 .ptwTableElementContent .ptwRows .ptwCell:hover {\r\n	background-color: #af6dca;\r\n}\r\n#{{table.view_id}} .ptwCol-2 .ptwTableElementContent .ptwActBtn:hover {\r\n	background-color: #8745a2;\r\n}\r\n/*end for col color 2*/\r\n/*start for col color 3*/\r\n#{{table.view_id}} .ptwCol-3 .ptwTableElementContent {\r\n	background-color: rgb(39, 174, 96);\r\n}\r\n#{{table.view_id}} .ptwCol-3 .ptwTableElementContent .ptwColDesc,\r\n#{{table.view_id}} .ptwCol-3 .ptwTableElementContent .ptwActBtn,\r\n#{{table.view_id}} .ptwCol-3 .ptwTableElementContent .ptwRows .ptwCell:hover {\r\n	background-color: #3bc274;\r\n}\r\n#{{table.view_id}} .ptwCol-3 .ptwTableElementContent .ptwActBtn:hover {\r\n	background-color: #139a4c;\r\n}\r\n/*end for col color 3*/ \r\n#{{table.view_id}} .ptwColFooter .ptwActBtn .ptwPropValAttrLink {\r\n  color: #fff;\r\n}\r\n#{{table.view_id}} .ptwPropAttrPrice .ptwEl {\r\n	font-size: 48px;\r\n}',
			'img' => 'flat-table.jpg',
			'sort_order' => '0',
			'is_base' => '1',
			'date_created' => date('Y-m-d H:i:s'),
			'is_pro' => '0',
		);
	}
	static public function getRainbowTemplateConfig() {
		$html ='
			<div class="ptwContainer">
				<div class="ptwColsWrapper">
					{% if (table.params.enb_desc_col.val == 1 or isEditMode) %}
					<div class="ptwEl ptwCol ptwCol-0 ptwTableDescCol ptwElWithArea" data-el="table_col_desc" data-color="#f5f5f5">
						<div class="ptwTableElementContent ptwElArea">
							<div class="ptwColHeader">
								<div class="ptwEl" data-el="table_cell_txt" data-type="txt"><p></p></div>
							</div>
							<div class="ptwColDesc">
								<div class="ptwEl" data-el="table_cell_txt" data-type="txt"><p></p></div>
							</div>
							<div class="ptwRows">
							</div>
							<div class="ptwColFooter"></div>
						</div>
					</div>
					{% endif %}
				</div>
				<div style="clear: both;"></div>
			</div>';
		$html = addslashes($html);
		return array(
			'unique_id' => 'ptwJyfVX',
			'label' => 'Rainbow',
			'original_id' => '0',
			'params' => ' ',
			'html' => $html,
			'css' => '#{{table.view_id}} {\r\n  {% if table.params.calc_width.val == \'table\' %}\r\n  width: {{ table.params.table_width.val }}{{ table.params.table_width_measure.val }};\r\n  {% endif %}\r\n}\r\n#{{table.view_id}} .ptwCol.hover .ptwColHeader.ptwCell {\r\n    border-top: none;\r\n}\r\n#{{table.view_id}} .ptwCol {\r\n  {% if table.params.calc_width.val == \'table\' %}\r\n  	{% if table.params.enb_desc_col.val and table.params.enb_desc_col.val !=\'0\' %}\r\n  		width: {{ 100 / (table.params.cols_num.val + 1) }}%;\r\n  	{% else%}\r\n  		width: {{ 100 / table.params.cols_num.val }}%;\r\n  	{% endif %}\r\n  {% else%}\r\n	width: {{ table.params.col_width.val }}px;\r\n  {% endif %}\r\n  \r\n  padding: 0 10px;\r\n}\r\n#{{table.view_id}} .ptwCol .ptwTableElementContent .ptwRows {\r\n 	background-color: {{ table.params.bg_color.val }};\r\n}\r\n#{{table.view_id}} .ptwCol .ptwColHeader {\r\n	padding: 15px;\r\n}\r\n#{{table.view_id}} .ptwCol .ptwColDesc {\r\n	padding: 30px 15px;\r\n}\r\n#{{table.view_id}} .ptwCol .ptwRows {\r\n  	border: 1px solid {{ adjBs(table.params.bg_color.val, -35) }};\r\n  	border-top-width: 0;\r\n  	border-bottom-width: 0;\r\n}\r\n#{{table.view_id}} .ptwCol .ptwCell {\r\n	padding: 12px;\r\n  	border-bottom: 1px solid {{ adjBs(table.params.bg_color.val, -35) }};\r\n  	border-top: 1px solid #fff;\r\n}\r\n#{{table.view_id}} .ptwCol .ptwCell:last-of-type {\r\n	border-bottom: none;\r\n}\r\n#{{table.view_id}} .ptwCol .ptwColFooter {\r\n	padding: 20px;\r\n  	border: 1px solid {{ adjBs(table.params.bg_color.val, -35) }};\r\n  	background-image: linear-gradient(to bottom, {{adjBs(table.params.bg_color.val, 20)}}, {{adjBs(table.params.bg_color.val, -20)}});\r\n}\r\n#{{table.view_id}} .ptwCol .ptwActBtn {\r\n	width: 100%;\r\n  	border-radius: 3px;\r\n  	cursor: pointer;\r\n}\r\n#{{table.view_id}} .ptwCol .ptwActBtn .ptwEditArea {\r\n	font-size: 1.4em;\r\n  	width: 100%;\r\n  	padding: 10px 0;\r\n  	text-decoration: none !important;\r\n  	border: none !important;\r\n}\r\n#{{table.view_id}} .ptwTableDescCol {\r\n  {% if table.params.enb_desc_col.val == 0 %}\r\n  	display: none;\r\n  {% endif %}\r\n}\r\n#{{table.view_id}} .ptwCol.ptwTableDescCol .ptwColHeader,\r\n#{{table.view_id}} .ptwCol.ptwTableDescCol .ptwColDesc,\r\n#{{table.view_id}} .ptwCol.ptwTableDescCol .ptwColFooter {\r\n	visibility: hidden;\r\n}\r\n#{{table.view_id}} p {\r\n	margin: 0;\r\n}\r\n/*Animations*/\r\n#{{table.view_id}} .ptwCol .ptwTableElementContent,\r\n#{{table.view_id}} .ptwCol .ptwTableElementContent span {\r\n	transition: box-shadow 0.3s ease, margin 0.3s ease, font 0.3s ease;\r\n  	-webkit-transition: box-shadow 0.3s ease, margin 0.3s ease, font 0.3s ease;\r\n    -moz-transition: box-shadow 0.3s ease, margin 0.3s ease, font 0.3s ease;\r\n    -ms-transition: box-shadow 0.3s ease, margin 0.3s ease, font 0.3s ease;\r\n    -o-transition: box-shadow 0.3s ease, margin 0.3s ease, font 0.3s ease;\r\n}\r\n#{{table.view_id}} .ptwCol.hover .ptwTableElementContent {\r\n	z-index: 101;\r\n  	box-shadow: 0 0 10px rgba(0, 0, 0, 0.5);\r\n  	-webkit-box-shadow: 0 0 10px rgba(0, 0, 0, 0.5);\r\n	-moz-box-shadow: 0 0 10px rgba(0, 0, 0, 0.5);\r\n	margin-top: -20px;\r\n}\r\n#{{table.view_id}} .ptwCol .ptwActBtn:hover {\r\n	background-color: {{ adjBs(table.params.bg_color.val, -35) }};\r\n}#{{table.view_id}} span, #{{table.view_id}} p {\r\n	word-break: break-word;\r\n}\r\n/*Colors set*/\r\n#{{table.view_id}} .ptwCol .ptwColHeader {\r\n  	color: {{table.params.text_color_header.val}};\r\n}\r\n#{{table.view_id}} .ptwCol .ptwColDesc {\r\n  	color: {{table.params.text_color_desc.val}};\r\n}\r\n#{{table.view_id}} .ptwCol .ptwRows {\r\n  	color: {{table.params.text_color.val}};\r\n}\r\n/*start for col color 1*/\r\n#{{table.view_id}} .ptwCol-1 .ptwColHeader {\r\n	background-color: rgb(51, 153, 255);\r\n}\r\n#{{table.view_id}} .ptwCol-1 .ptwColDesc,\r\n#{{table.view_id}} .ptwCol-1 .ptwActBtn:hover {\r\n	background-color: #1076dc;\r\n}\r\n#{{table.view_id}} .ptwCol-1 .ptwActBtn {\r\n	background-color: rgb(51, 153, 255);\r\n}\r\n/*end for col color 1*/\r\n/*start for col color 2*/\r\n#{{table.view_id}} .ptwCol-2 .ptwColHeader {\r\n	background-color: rgb(147, 194, 48);\r\n}\r\n#{{table.view_id}} .ptwCol-2 .ptwColDesc,\r\n#{{table.view_id}} .ptwCol-2 .ptwActBtn:hover {\r\n	background-color: #709f0d;\r\n}\r\n#{{table.view_id}} .ptwCol-2 .ptwActBtn {\r\n	background-color: rgb(147, 194, 48);\r\n}\r\n/*end for col color 2*//*start for col color 3*/\r\n#{{table.view_id}} .ptwCol-3 .ptwColHeader {\r\n	background-color: rgb(255, 174, 53);\r\n}\r\n#{{table.view_id}} .ptwCol-3 .ptwColDesc,\r\n#{{table.view_id}} .ptwCol-3 .ptwActBtn:hover {\r\n	background-color: #dc8b12;\r\n}\r\n#{{table.view_id}} .ptwCol-3 .ptwActBtn {\r\n	background-color: rgb(255, 174, 53);\r\n}\r\n/*end for col color 3*//*start for col color 4*/\r\n#{{table.view_id}} .ptwCol-4 .ptwColHeader {\r\n	background-color: rgb(240, 61, 0);\r\n}\r\n#{{table.view_id}} .ptwCol-4 .ptwColDesc,\r\n#{{table.view_id}} .ptwCol-4 .ptwActBtn:hover {\r\n	background-color: #cd1a00;\r\n}\r\n#{{table.view_id}} .ptwCol-4 .ptwActBtn {\r\n	background-color: rgb(240, 61, 0);\r\n}\r\n/*end for col color 4*/\r\n\r\n#{{table.view_id}} .ptwPropAttrPrice .ptwEl {\r\n	font-size: 48px;\r\n}',
			'img' => 'rainbow.jpg',
			'sort_order' => '0',
			'is_base' => '1',
			'date_created' => date('Y-m-d H:i:s'),
			'is_pro' => '0',
		);
	}
}
