<?php
//instaling databese
class wpda_vertical_menu_databese{
	public static $table_names;
	public static $popup_settings;
	function __construct(){
		global $wpdb;
		self::$table_names=array(
			'theme'=>$wpdb->prefix.'wpda_vertical_menu_theme'
		);
	}

             /*#################### Theme table function ########################*/
	
	public function install_theme_tabel(){
		global $wpdb;
		//install countdown theme databese
		$table_name =  self::$table_names['theme'];	
		$charset_collate = $wpdb->get_charset_collate();
		$sql = "CREATE TABLE IF NOT EXISTS $table_name (
		`id` int(10) NOT NULL AUTO_INCREMENT,
		  `name` varchar(512) NOT NULL,
		  `option_value` longtext NOT NULL,
		  `default` tinyint(4) NOT NULL,
			UNIQUE KEY id (id)		
		) $charset_collate;";
		require_once( ABSPATH . 'wp-admin/includes/upgrade.php' );
		dbDelta( $sql );	
		//$this->insert_to_theme_default_values();
	}
	
             /*#################### Theme default values function ########################*/	
	
	private function insert_to_theme_default_values(){
		global $wpdb;
		$isset_theme=$wpdb->get_var("SELECT `id` FROM ".self::$table_names['theme'] ." WHERE id=200");
		$isset_default_theme=$wpdb->get_var("SELECT `id` FROM ".self::$table_names['theme'] ." WHERE `default`=1");
		$default=1;
		if($isset_default_theme){$default=0;}
		if(!$isset_theme){
			$install_theme='{"name":"Aqua blue standard","countdown_type":"standart","countdown_global_width":"100","countdown_global_width_metrick":"%","countdown_date_display":{"day":"day","hour":"hour","minut":"minut","second":"second"},"countdown_text_type":"po_mo","text_for_weeks":"Weeks","text_for_day":"Days","text_for_hour":"Hours","text_for_minute":"Minutes","text_for_second":"Seconds","countdown_standart_elements_width":"100","countdown_standart_elements_distance":"7","countdown_standart_time_bg_color":"#dff5f9","countdown_standart_time_text_bg_color":"#FFFFFF","countdown_standart_time_font_size":"24","countdown_standart_time_text_font_size":"11","countdown_standart_time_color":"#1e73be","countdown_standart_time_text_color":"#212121","countdown_standart_time_font_famely":"Trebuchet MS,Lucida Grande,Lucida Sans Unicode,Lucida Sans,Arial,sans-serif","countdown_standart_time_text_font_famely":"Segoe UI","countdown_standart_time_padding":{"top":"0","right":"5","bottom":"0","left":"0"},"countdown_standart_time_text_padding":{"top":"0","right":"5","bottom":"0","left":"0"},"countdown_standart_time_margin":{"top":"2","right":"2","bottom":"2","left":"2"},"countdown_standart_time_text_margin":{"top":"2","right":"10","bottom":"0","left":"10"},"countdown_standart_time_border_width":"1","countdown_standart_time_text_border_width":"1","countdown_standart_time_border_radius":"2","countdown_standart_time_text_border_radius":"6","countdown_standart_time_border_color":"#1e73be","countdown_standart_time_text_border_color":"#000000","countdown_standart_gorup_animation":"one","countdown_standart_animation_type":"random","countdown_vertical_time_font_size":"35","countdown_vertical_elements_distance":"12","countdown_vertical_time_font_famely":"Rockwell, Arial Black, Arial Bold, Arial, sans-serif","countdown_vertical_time_color":"#000000","countdown_vertical_background_color":"#79eef2","countdown_vertical_time_border_width":"1","countdown_vertical_time_border_color":"#1eacbc","countdown_vertical_time_text_bg_color":"#FFFFFF","countdown_vertical_time_text_font_size":"13","countdown_vertical_time_text_color":"#000000","countdown_vertical_time_text_font_famely":"Palatino Linotype,Palatino,Georgia,Times New Roman,Times,serif","countdown_vertical_time_text_padding":{"top":"0","right":"0","bottom":"2","left":"0"},"countdown_vertical_time_text_margin":{"top":"0","right":"3","bottom":"5","left":"3"},"countdown_vertical_time_text_border_width":"0","countdown_vertical_time_text_border_radius":"6","countdown_vertical_time_text_border_color":"#0c0c0c","countdown_vertical_gorup_animation":"one","countdown_vertical_animation_type":"random","countdown_circle_elements_width_height":"115","countdown_circle_elements_distance":"5","countdown_circle_background_color":"#b3e2e2","countdown_circle_background_color_opacity":"100","countdown_circle_border_color_outside":"#ededed","countdown_circle_border_color_inside":"#0bd9e8","countdown_circle_width_parcents":"9","countdown_circle_type_of_rounding":"round","countdown_circle_border_direction":"right","countdown_circle_time_font_size":"40","countdown_circle_time_text_font_size":"17","countdown_circle_time_color":"#000000","countdown_circle_time_text_color":"#39417d","countdown_circle_time_font_famely":"American Typewriter,Georgia,serif","countdown_circle_time_text_font_famely":"Constantia,Georgia,Times New Roman,Times,serif","countdown_circle_time_margin":{"top":"10","bottom":"0"},"countdown_circle_time_text_padding":{"top":"0","right":"0","bottom":"0","left":"0"},"countdown_circle_time_text_margin":{"top":"0","bottom":"24"},"countdown_circle_gorup_animation":"one","countdown_circle_animation_type":"random"}';
			$wpdb->insert( self::$table_names['theme'], 
				array( 
					'id' => 200,
					'name' => "Aqua blue standard",
					'option_value' => $install_theme,
					'default' => $default,				
				), 
				array( 
					'%d',
					'%s', 
					'%s',
					'%d',
				) 
			);
			$install_theme='{"name":"Aqua blue vertical","countdown_type":"vertical","countdown_global_width":"100","countdown_global_width_metrick":"%","countdown_date_display":{"day":"day","hour":"hour","minut":"minut","second":"second"},"countdown_text_type":"po_mo","text_for_weeks":"Weeks","text_for_day":"Days","text_for_hour":"Hours","text_for_minute":"Minutes","text_for_second":"Seconds","countdown_standart_elements_width":"100","countdown_standart_elements_distance":"7","countdown_standart_time_bg_color":"#dff5f9","countdown_standart_time_text_bg_color":"#FFFFFF","countdown_standart_time_font_size":"24","countdown_standart_time_text_font_size":"11","countdown_standart_time_color":"#1e73be","countdown_standart_time_text_color":"#212121","countdown_standart_time_font_famely":"Trebuchet MS,Lucida Grande,Lucida Sans Unicode,Lucida Sans,Arial,sans-serif","countdown_standart_time_text_font_famely":"Segoe UI","countdown_standart_time_padding":{"top":"0","right":"5","bottom":"0","left":"0"},"countdown_standart_time_text_padding":{"top":"0","right":"5","bottom":"0","left":"0"},"countdown_standart_time_margin":{"top":"2","right":"2","bottom":"2","left":"2"},"countdown_standart_time_text_margin":{"top":"2","right":"10","bottom":"0","left":"10"},"countdown_standart_time_border_width":"1","countdown_standart_time_text_border_width":"1","countdown_standart_time_border_radius":"2","countdown_standart_time_text_border_radius":"6","countdown_standart_time_border_color":"#1e73be","countdown_standart_time_text_border_color":"#000000","countdown_standart_display_inline":"0","countdown_standart_gorup_animation":"one","countdown_standart_animation_type":"random","countdown_vertical_time_font_size":"35","countdown_vertical_elements_distance":"12","countdown_vertical_time_font_famely":"Rockwell, Arial Black, Arial Bold, Arial, sans-serif","countdown_vertical_time_color":"#000000","countdown_vertical_background_color":"#79eef2","countdown_vertical_time_border_width":"1","countdown_vertical_time_border_color":"#1eacbc","countdown_vertical_time_text_bg_color":"#FFFFFF","countdown_vertical_time_text_font_size":"13","countdown_vertical_time_text_color":"#000000","countdown_vertical_time_text_font_famely":"Palatino Linotype,Palatino,Georgia,Times New Roman,Times,serif","countdown_vertical_time_text_padding":{"top":"0","right":"0","bottom":"2","left":"0"},"countdown_vertical_time_text_margin":{"top":"0","right":"3","bottom":"5","left":"3"},"countdown_vertical_time_text_border_width":"0","countdown_vertical_time_text_border_radius":"6","countdown_vertical_time_text_border_color":"#0c0c0c","countdown_vertical_display_inline":"0","countdown_vertical_gorup_animation":"one","countdown_vertical_animation_type":"random","countdown_circle_elements_width_height":"115","countdown_circle_elements_distance":"5","countdown_circle_background_color":"#b3e2e2","countdown_circle_background_color_opacity":"100","countdown_circle_border_color_outside":"#ededed","countdown_circle_border_color_inside":"#0bd9e8","countdown_circle_width_parcents":"9","countdown_circle_type_of_rounding":"round","countdown_circle_border_direction":"right","countdown_circle_time_font_size":"40","countdown_circle_time_text_font_size":"17","countdown_circle_time_color":"#000000","countdown_circle_time_text_color":"#39417d","countdown_circle_time_font_famely":"American Typewriter,Georgia,serif","countdown_circle_time_text_font_famely":"Constantia,Georgia,Times New Roman,Times,serif","countdown_circle_time_margin":{"top":"10","bottom":"0"},"countdown_circle_time_text_padding":{"top":"0","right":"0","bottom":"0","left":"0"},"countdown_circle_time_text_margin":{"top":"0","bottom":"24"},"countdown_circle_display_inline":"0","countdown_circle_gorup_animation":"one","countdown_circle_animation_type":"random"}';
			$wpdb->insert( self::$table_names['theme'], 
				array( 
					'id' => 201,
					'name' => "Aqua blue vertical",
					'option_value' => $install_theme,
					'default' => 0,				
				), 
				array( 
					'%d',
					'%s', 
					'%s',
					'%d',
				) 
			);
			$install_theme='{"name":"Aqua blue circle","countdown_type":"circle","countdown_global_width":"100","countdown_global_width_metrick":"%","countdown_date_display":{"day":"day","hour":"hour","minut":"minut","second":"second"},"countdown_text_type":"po_mo","text_for_weeks":"Weeks","text_for_day":"Days","text_for_hour":"Hours","text_for_minute":"Minutes","text_for_second":"Seconds","countdown_standart_elements_width":"100","countdown_standart_elements_distance":"7","countdown_standart_time_bg_color":"#dff5f9","countdown_standart_time_text_bg_color":"#FFFFFF","countdown_standart_time_font_size":"24","countdown_standart_time_text_font_size":"11","countdown_standart_time_color":"#1e73be","countdown_standart_time_text_color":"#212121","countdown_standart_time_font_famely":"Trebuchet MS,Lucida Grande,Lucida Sans Unicode,Lucida Sans,Arial,sans-serif","countdown_standart_time_text_font_famely":"Segoe UI","countdown_standart_time_padding":{"top":"0","right":"5","bottom":"0","left":"0"},"countdown_standart_time_text_padding":{"top":"0","right":"5","bottom":"0","left":"0"},"countdown_standart_time_margin":{"top":"2","right":"2","bottom":"2","left":"2"},"countdown_standart_time_text_margin":{"top":"2","right":"10","bottom":"0","left":"10"},"countdown_standart_time_border_width":"1","countdown_standart_time_text_border_width":"1","countdown_standart_time_border_radius":"2","countdown_standart_time_text_border_radius":"6","countdown_standart_time_border_color":"#1e73be","countdown_standart_time_text_border_color":"#000000","countdown_standart_display_inline":"0","countdown_standart_gorup_animation":"one","countdown_standart_animation_type":"random","countdown_vertical_time_font_size":"35","countdown_vertical_elements_distance":"12","countdown_vertical_time_font_famely":"Rockwell, Arial Black, Arial Bold, Arial, sans-serif","countdown_vertical_time_color":"#000000","countdown_vertical_background_color":"#79eef2","countdown_vertical_time_border_width":"1","countdown_vertical_time_border_color":"#1eacbc","countdown_vertical_time_text_bg_color":"#FFFFFF","countdown_vertical_time_text_font_size":"13","countdown_vertical_time_text_color":"#000000","countdown_vertical_time_text_font_famely":"Palatino Linotype,Palatino,Georgia,Times New Roman,Times,serif","countdown_vertical_time_text_padding":{"top":"0","right":"0","bottom":"2","left":"0"},"countdown_vertical_time_text_margin":{"top":"0","right":"3","bottom":"5","left":"3"},"countdown_vertical_time_text_border_width":"0","countdown_vertical_time_text_border_radius":"6","countdown_vertical_time_text_border_color":"#0c0c0c","countdown_vertical_display_inline":"0","countdown_vertical_gorup_animation":"one","countdown_vertical_animation_type":"random","countdown_circle_elements_width_height":"115","countdown_circle_elements_distance":"5","countdown_circle_background_color":"#b3e2e2","countdown_circle_background_color_opacity":"100","countdown_circle_border_color_outside":"#ededed","countdown_circle_border_color_inside":"#0bd9e8","countdown_circle_width_parcents":"9","countdown_circle_type_of_rounding":"round","countdown_circle_border_direction":"right","countdown_circle_time_font_size":"40","countdown_circle_time_text_font_size":"17","countdown_circle_time_color":"#000000","countdown_circle_time_text_color":"#39417d","countdown_circle_time_font_famely":"American Typewriter,Georgia,serif","countdown_circle_time_text_font_famely":"Constantia,Georgia,Times New Roman,Times,serif","countdown_circle_time_margin":{"top":"10","bottom":"0"},"countdown_circle_time_text_padding":{"top":"0","right":"0","bottom":"0","left":"0"},"countdown_circle_time_text_margin":{"top":"0","bottom":"24"},"countdown_circle_display_inline":"0","countdown_circle_gorup_animation":"one","countdown_circle_animation_type":"random"}';
			$wpdb->insert( self::$table_names['theme'], 
				array( 
					'id' => 202,
					'name' => "Aqua blue circle",
					'option_value' => $install_theme,
					'default' => 0,				
				), 
				array( 
					'%d',
					'%s', 
					'%s',
					'%d',
				) 
			);
			$install_theme='{"name":"Blue standard","countdown_type":"standart","countdown_global_width":"100","countdown_global_width_metrick":"%","countdown_date_display":{"day":"day","hour":"hour","minut":"minut","second":"second"},"countdown_text_type":"po_mo","text_for_weeks":"Weeks","text_for_day":"Days","text_for_hour":"Hours","text_for_minute":"Minutes","text_for_second":"Seconds","countdown_standart_elements_width":"100","countdown_standart_elements_distance":"7","countdown_standart_time_bg_color":"#ffffff","countdown_standart_time_text_bg_color":"#ffffff","countdown_standart_time_font_size":"24","countdown_standart_time_text_font_size":"13","countdown_standart_time_color":"#1e73be","countdown_standart_time_text_color":"#1e73be","countdown_standart_time_font_famely":"Rockwell, Arial Black, Arial Bold, Arial, sans-serif","countdown_standart_time_text_font_famely":"Consolas,Andale Mono,Monaco,Courier,Courier New,Verdana,sans-serif","countdown_standart_time_padding":{"top":"0","right":"2","bottom":"0","left":"0"},"countdown_standart_time_text_padding":{"top":"0","right":"5","bottom":"0","left":"0"},"countdown_standart_time_margin":{"top":"2","right":"2","bottom":"2","left":"2"},"countdown_standart_time_text_margin":{"top":"2","right":"10","bottom":"0","left":"10"},"countdown_standart_time_border_width":"2","countdown_standart_time_text_border_width":"0","countdown_standart_time_border_radius":"15","countdown_standart_time_text_border_radius":"6","countdown_standart_time_border_color":"#000000","countdown_standart_time_text_border_color":"#000000","countdown_standart_display_inline":"0","countdown_standart_gorup_animation":"one","countdown_standart_animation_type":"random","countdown_vertical_time_font_size":"40","countdown_vertical_elements_distance":"8","countdown_vertical_time_font_famely":"Andale Mono,Consolas,Monaco,Courier,Courier New,Verdana,sans-serif","countdown_vertical_time_color":"#1e73be","countdown_vertical_background_color":"#ffffff","countdown_vertical_time_border_width":"2","countdown_vertical_time_border_color":"#000000","countdown_vertical_time_text_bg_color":"#FFFFFF","countdown_vertical_time_text_font_size":"16","countdown_vertical_time_text_color":"#1e73be","countdown_vertical_time_text_font_famely":"Palatino Linotype,Palatino,Georgia,Times New Roman,Times,serif","countdown_vertical_time_text_padding":{"top":"0","right":"0","bottom":"2","left":"0"},"countdown_vertical_time_text_margin":{"top":"0","right":"1","bottom":"5","left":"3"},"countdown_vertical_time_text_border_width":"0","countdown_vertical_time_text_border_radius":"6","countdown_vertical_time_text_border_color":"#0c0c0c","countdown_vertical_display_inline":"0","countdown_vertical_gorup_animation":"one","countdown_vertical_animation_type":"random","countdown_circle_elements_width_height":"115","countdown_circle_elements_distance":"5","countdown_circle_background_color":"#ffffff","countdown_circle_background_color_opacity":"100","countdown_circle_border_color_outside":"#ffffff","countdown_circle_border_color_inside":"#000000","countdown_circle_width_parcents":"6","countdown_circle_type_of_rounding":"round","countdown_circle_border_direction":"right","countdown_circle_time_font_size":"38","countdown_circle_time_text_font_size":"16","countdown_circle_time_color":"#1e73be","countdown_circle_time_text_color":"#1e73be","countdown_circle_time_font_famely":"Georgia,Times New Roman,Times,serif","countdown_circle_time_text_font_famely":"Segoe UI","countdown_circle_time_margin":{"top":"14","bottom":"0"},"countdown_circle_time_text_padding":{"top":"0","right":"0","bottom":"0","left":"0"},"countdown_circle_time_text_margin":{"top":"0","bottom":"24"},"countdown_circle_display_inline":"0","countdown_circle_gorup_animation":"one","countdown_circle_animation_type":"random"}';
			$wpdb->insert( self::$table_names['theme'], 
				array( 
					'id' => 203,
					'name' => "Blue standard",
					'option_value' => $install_theme,
					'default' => 0,				
				), 
				array( 
					'%d',
					'%s', 
					'%s',
					'%d',
				) 
			);
			$install_theme='{"name":"Blue vertical","countdown_type":"vertical","countdown_global_width":"100","countdown_global_width_metrick":"%","countdown_date_display":{"day":"day","hour":"hour","minut":"minut","second":"second"},"countdown_text_type":"po_mo","text_for_weeks":"Weeks","text_for_day":"Days","text_for_hour":"Hours","text_for_minute":"Minutes","text_for_second":"Seconds","countdown_standart_elements_width":"100","countdown_standart_elements_distance":"7","countdown_standart_time_bg_color":"#ffffff","countdown_standart_time_text_bg_color":"#ffffff","countdown_standart_time_font_size":"24","countdown_standart_time_text_font_size":"13","countdown_standart_time_color":"#1e73be","countdown_standart_time_text_color":"#1e73be","countdown_standart_time_font_famely":"Rockwell, Arial Black, Arial Bold, Arial, sans-serif","countdown_standart_time_text_font_famely":"Consolas,Andale Mono,Monaco,Courier,Courier New,Verdana,sans-serif","countdown_standart_time_padding":{"top":"0","right":"2","bottom":"0","left":"0"},"countdown_standart_time_text_padding":{"top":"0","right":"5","bottom":"0","left":"0"},"countdown_standart_time_margin":{"top":"2","right":"2","bottom":"2","left":"2"},"countdown_standart_time_text_margin":{"top":"2","right":"10","bottom":"0","left":"10"},"countdown_standart_time_border_width":"2","countdown_standart_time_text_border_width":"0","countdown_standart_time_border_radius":"15","countdown_standart_time_text_border_radius":"6","countdown_standart_time_border_color":"#000000","countdown_standart_time_text_border_color":"#000000","countdown_standart_display_inline":"0","countdown_standart_gorup_animation":"one","countdown_standart_animation_type":"random","countdown_vertical_time_font_size":"40","countdown_vertical_elements_distance":"8","countdown_vertical_time_font_famely":"Andale Mono,Consolas,Monaco,Courier,Courier New,Verdana,sans-serif","countdown_vertical_time_color":"#1e73be","countdown_vertical_background_color":"#ffffff","countdown_vertical_time_border_width":"2","countdown_vertical_time_border_color":"#000000","countdown_vertical_time_text_bg_color":"#FFFFFF","countdown_vertical_time_text_font_size":"16","countdown_vertical_time_text_color":"#1e73be","countdown_vertical_time_text_font_famely":"Palatino Linotype,Palatino,Georgia,Times New Roman,Times,serif","countdown_vertical_time_text_padding":{"top":"0","right":"0","bottom":"2","left":"0"},"countdown_vertical_time_text_margin":{"top":"0","right":"1","bottom":"5","left":"3"},"countdown_vertical_time_text_border_width":"0","countdown_vertical_time_text_border_radius":"6","countdown_vertical_time_text_border_color":"#0c0c0c","countdown_vertical_display_inline":"0","countdown_vertical_gorup_animation":"one","countdown_vertical_animation_type":"random","countdown_circle_elements_width_height":"115","countdown_circle_elements_distance":"5","countdown_circle_background_color":"#ffffff","countdown_circle_background_color_opacity":"100","countdown_circle_border_color_outside":"#ffffff","countdown_circle_border_color_inside":"#000000","countdown_circle_width_parcents":"6","countdown_circle_type_of_rounding":"round","countdown_circle_border_direction":"right","countdown_circle_time_font_size":"38","countdown_circle_time_text_font_size":"16","countdown_circle_time_color":"#1e73be","countdown_circle_time_text_color":"#1e73be","countdown_circle_time_font_famely":"Georgia,Times New Roman,Times,serif","countdown_circle_time_text_font_famely":"Segoe UI","countdown_circle_time_margin":{"top":"14","bottom":"0"},"countdown_circle_time_text_padding":{"top":"0","right":"0","bottom":"0","left":"0"},"countdown_circle_time_text_margin":{"top":"0","bottom":"24"},"countdown_circle_display_inline":"0","countdown_circle_gorup_animation":"one","countdown_circle_animation_type":"random"}';
			$wpdb->insert( self::$table_names['theme'], 
				array( 
					'id' => 204,
					'name' => "Blue vertical",
					'option_value' => $install_theme,
					'default' => 0,				
				), 
				array( 
					'%d',
					'%s', 
					'%s',
					'%d',
				) 
			);
			$install_theme='{"name":"Blue circle","countdown_type":"circle","countdown_global_width":"100","countdown_global_width_metrick":"%","countdown_date_display":{"day":"day","hour":"hour","minut":"minut","second":"second"},"countdown_text_type":"po_mo","text_for_weeks":"Weeks","text_for_day":"Days","text_for_hour":"Hours","text_for_minute":"Minutes","text_for_second":"Seconds","countdown_standart_elements_width":"100","countdown_standart_elements_distance":"7","countdown_standart_time_bg_color":"#ffffff","countdown_standart_time_text_bg_color":"#ffffff","countdown_standart_time_font_size":"24","countdown_standart_time_text_font_size":"13","countdown_standart_time_color":"#1e73be","countdown_standart_time_text_color":"#1e73be","countdown_standart_time_font_famely":"Rockwell, Arial Black, Arial Bold, Arial, sans-serif","countdown_standart_time_text_font_famely":"Consolas,Andale Mono,Monaco,Courier,Courier New,Verdana,sans-serif","countdown_standart_time_padding":{"top":"0","right":"2","bottom":"0","left":"0"},"countdown_standart_time_text_padding":{"top":"0","right":"5","bottom":"0","left":"0"},"countdown_standart_time_margin":{"top":"2","right":"2","bottom":"2","left":"2"},"countdown_standart_time_text_margin":{"top":"2","right":"10","bottom":"0","left":"10"},"countdown_standart_time_border_width":"2","countdown_standart_time_text_border_width":"0","countdown_standart_time_border_radius":"15","countdown_standart_time_text_border_radius":"6","countdown_standart_time_border_color":"#000000","countdown_standart_time_text_border_color":"#000000","countdown_standart_display_inline":"0","countdown_standart_gorup_animation":"one","countdown_standart_animation_type":"random","countdown_vertical_time_font_size":"40","countdown_vertical_elements_distance":"8","countdown_vertical_time_font_famely":"Andale Mono,Consolas,Monaco,Courier,Courier New,Verdana,sans-serif","countdown_vertical_time_color":"#1e73be","countdown_vertical_background_color":"#ffffff","countdown_vertical_time_border_width":"2","countdown_vertical_time_border_color":"#000000","countdown_vertical_time_text_bg_color":"#FFFFFF","countdown_vertical_time_text_font_size":"16","countdown_vertical_time_text_color":"#1e73be","countdown_vertical_time_text_font_famely":"Palatino Linotype,Palatino,Georgia,Times New Roman,Times,serif","countdown_vertical_time_text_padding":{"top":"0","right":"0","bottom":"2","left":"0"},"countdown_vertical_time_text_margin":{"top":"0","right":"1","bottom":"5","left":"3"},"countdown_vertical_time_text_border_width":"0","countdown_vertical_time_text_border_radius":"6","countdown_vertical_time_text_border_color":"#0c0c0c","countdown_vertical_display_inline":"0","countdown_vertical_gorup_animation":"one","countdown_vertical_animation_type":"random","countdown_circle_elements_width_height":"115","countdown_circle_elements_distance":"5","countdown_circle_background_color":"#ffffff","countdown_circle_background_color_opacity":"100","countdown_circle_border_color_outside":"#ffffff","countdown_circle_border_color_inside":"#000000","countdown_circle_width_parcents":"6","countdown_circle_type_of_rounding":"round","countdown_circle_border_direction":"right","countdown_circle_time_font_size":"38","countdown_circle_time_text_font_size":"16","countdown_circle_time_color":"#1e73be","countdown_circle_time_text_color":"#1e73be","countdown_circle_time_font_famely":"Georgia,Times New Roman,Times,serif","countdown_circle_time_text_font_famely":"Segoe UI","countdown_circle_time_margin":{"top":"14","bottom":"0"},"countdown_circle_time_text_padding":{"top":"0","right":"0","bottom":"0","left":"0"},"countdown_circle_time_text_margin":{"top":"0","bottom":"24"},"countdown_circle_display_inline":"0","countdown_circle_gorup_animation":"one","countdown_circle_animation_type":"random"}';
			$wpdb->insert( self::$table_names['theme'], 
				array( 
					'id' => 205,
					'name' => "Blue circle",
					'option_value' => $install_theme,
					'default' => 0,				
				), 
				array( 
					'%d',
					'%s', 
					'%s',
					'%d',
				) 
			);
			$install_theme='{"name":"Red standard","countdown_type":"standart","countdown_global_width":"100","countdown_global_width_metrick":"%","countdown_date_display":{"day":"day","hour":"hour","minut":"minut","second":"second"},"countdown_text_type":"po_mo","text_for_weeks":"Weeks","text_for_day":"Days","text_for_hour":"Hours","text_for_minute":"Minutes","text_for_second":"Seconds","countdown_standart_elements_width":"100","countdown_standart_elements_distance":"7","countdown_standart_time_bg_color":"#ffffff","countdown_standart_time_text_bg_color":"#000000","countdown_standart_time_font_size":"30","countdown_standart_time_text_font_size":"15","countdown_standart_time_color":"#a91015","countdown_standart_time_text_color":"#a91015","countdown_standart_time_font_famely":"Andale Mono,Consolas,Monaco,Courier,Courier New,Verdana,sans-serif","countdown_standart_time_text_font_famely":"Rockwell, Arial Black, Arial Bold, Arial, sans-serif","countdown_standart_time_padding":{"top":"0","right":"2","bottom":"0","left":"0"},"countdown_standart_time_text_padding":{"top":"0","right":"0","bottom":"2","left":"0"},"countdown_standart_time_margin":{"top":"2","right":"2","bottom":"2","left":"2"},"countdown_standart_time_text_margin":{"top":"2","right":"10","bottom":"0","left":"10"},"countdown_standart_time_border_width":"1","countdown_standart_time_text_border_width":"1","countdown_standart_time_border_radius":"3","countdown_standart_time_text_border_radius":"50","countdown_standart_time_border_color":"#000000","countdown_standart_time_text_border_color":"#000000","countdown_standart_display_inline":"0","countdown_standart_gorup_animation":"one","countdown_standart_animation_type":"random","countdown_vertical_time_font_size":"40","countdown_vertical_elements_distance":"8","countdown_vertical_time_font_famely":"Andale Mono,Consolas,Monaco,Courier,Courier New,Verdana,sans-serif","countdown_vertical_time_color":"#1e73be","countdown_vertical_background_color":"#ffffff","countdown_vertical_time_border_width":"2","countdown_vertical_time_border_color":"#000000","countdown_vertical_time_text_bg_color":"#FFFFFF","countdown_vertical_time_text_font_size":"16","countdown_vertical_time_text_color":"#1e73be","countdown_vertical_time_text_font_famely":"Palatino Linotype,Palatino,Georgia,Times New Roman,Times,serif","countdown_vertical_time_text_padding":{"top":"0","right":"0","bottom":"2","left":"0"},"countdown_vertical_time_text_margin":{"top":"0","right":"1","bottom":"5","left":"3"},"countdown_vertical_time_text_border_width":"0","countdown_vertical_time_text_border_radius":"6","countdown_vertical_time_text_border_color":"#0c0c0c","countdown_vertical_display_inline":"0","countdown_vertical_gorup_animation":"one","countdown_vertical_animation_type":"random","countdown_circle_elements_width_height":"115","countdown_circle_elements_distance":"5","countdown_circle_background_color":"#ffffff","countdown_circle_background_color_opacity":"100","countdown_circle_border_color_outside":"#ffffff","countdown_circle_border_color_inside":"#000000","countdown_circle_width_parcents":"6","countdown_circle_type_of_rounding":"round","countdown_circle_border_direction":"right","countdown_circle_time_font_size":"38","countdown_circle_time_text_font_size":"16","countdown_circle_time_color":"#1e73be","countdown_circle_time_text_color":"#1e73be","countdown_circle_time_font_famely":"Georgia,Times New Roman,Times,serif","countdown_circle_time_text_font_famely":"Segoe UI","countdown_circle_time_margin":{"top":"14","bottom":"0"},"countdown_circle_time_text_padding":{"top":"0","right":"0","bottom":"0","left":"0"},"countdown_circle_time_text_margin":{"top":"0","bottom":"24"},"countdown_circle_display_inline":"0","countdown_circle_gorup_animation":"one","countdown_circle_animation_type":"random"}';
			$wpdb->insert( self::$table_names['theme'], 
				array( 
					'id' => 206,
					'name' => "Red standard",
					'option_value' => $install_theme,
					'default' => 0,				
				), 
				array( 
					'%d',
					'%s', 
					'%s',
					'%d',
				) 
			);
			$install_theme='{"name":"Red vertical","countdown_type":"vertical","countdown_global_width":"100","countdown_global_width_metrick":"%","countdown_date_display":{"day":"day","hour":"hour","minut":"minut","second":"second"},"countdown_text_type":"po_mo","text_for_weeks":"Weeks","text_for_day":"Days","text_for_hour":"Hours","text_for_minute":"Minutes","text_for_second":"Seconds","countdown_standart_elements_width":"100","countdown_standart_elements_distance":"7","countdown_standart_time_bg_color":"#ffffff","countdown_standart_time_text_bg_color":"#000000","countdown_standart_time_font_size":"30","countdown_standart_time_text_font_size":"15","countdown_standart_time_color":"#a91015","countdown_standart_time_text_color":"#a91015","countdown_standart_time_font_famely":"Andale Mono,Consolas,Monaco,Courier,Courier New,Verdana,sans-serif","countdown_standart_time_text_font_famely":"Rockwell, Arial Black, Arial Bold, Arial, sans-serif","countdown_standart_time_padding":{"top":"0","right":"2","bottom":"0","left":"0"},"countdown_standart_time_text_padding":{"top":"0","right":"0","bottom":"2","left":"0"},"countdown_standart_time_margin":{"top":"2","right":"2","bottom":"2","left":"2"},"countdown_standart_time_text_margin":{"top":"2","right":"10","bottom":"0","left":"10"},"countdown_standart_time_border_width":"1","countdown_standart_time_text_border_width":"1","countdown_standart_time_border_radius":"3","countdown_standart_time_text_border_radius":"50","countdown_standart_time_border_color":"#000000","countdown_standart_time_text_border_color":"#000000","countdown_standart_display_inline":"0","countdown_standart_gorup_animation":"one","countdown_standart_animation_type":"random","countdown_vertical_time_font_size":"45","countdown_vertical_elements_distance":"8","countdown_vertical_time_font_famely":"Andale Mono,Consolas,Monaco,Courier,Courier New,Verdana,sans-serif","countdown_vertical_time_color":"#ba2318","countdown_vertical_background_color":"#3e3d3d","countdown_vertical_time_border_width":"1","countdown_vertical_time_border_color":"#dd3333","countdown_vertical_time_text_bg_color":"#FFFFFF","countdown_vertical_time_text_font_size":"12","countdown_vertical_time_text_color":"#000000","countdown_vertical_time_text_font_famely":"Arial Black,Arial Bold,Arial,sans-serif","countdown_vertical_time_text_padding":{"top":"1","right":"0","bottom":"2","left":"0"},"countdown_vertical_time_text_margin":{"top":"3","right":"1","bottom":"5","left":"3"},"countdown_vertical_time_text_border_width":"1","countdown_vertical_time_text_border_radius":"2","countdown_vertical_time_text_border_color":"#dd3333","countdown_vertical_display_inline":"0","countdown_vertical_gorup_animation":"one","countdown_vertical_animation_type":"random","countdown_circle_elements_width_height":"115","countdown_circle_elements_distance":"5","countdown_circle_background_color":"#ffffff","countdown_circle_background_color_opacity":"100","countdown_circle_border_color_outside":"#ffffff","countdown_circle_border_color_inside":"#000000","countdown_circle_width_parcents":"6","countdown_circle_type_of_rounding":"round","countdown_circle_border_direction":"right","countdown_circle_time_font_size":"38","countdown_circle_time_text_font_size":"16","countdown_circle_time_color":"#1e73be","countdown_circle_time_text_color":"#1e73be","countdown_circle_time_font_famely":"Georgia,Times New Roman,Times,serif","countdown_circle_time_text_font_famely":"Segoe UI","countdown_circle_time_margin":{"top":"14","bottom":"0"},"countdown_circle_time_text_padding":{"top":"0","right":"0","bottom":"0","left":"0"},"countdown_circle_time_text_margin":{"top":"0","bottom":"24"},"countdown_circle_display_inline":"0","countdown_circle_gorup_animation":"one","countdown_circle_animation_type":"random"}';
			$wpdb->insert( self::$table_names['theme'], 
				array( 
					'id' => 207,
					'name' => "Red vertical",
					'option_value' => $install_theme,
					'default' => 0,				
				), 
				array( 
					'%d',
					'%s', 
					'%s',
					'%d',
				) 
			);
			$install_theme='{"name":"Red circle","countdown_type":"circle","countdown_global_width":"100","countdown_global_width_metrick":"%","countdown_date_display":{"week":"week","day":"day","hour":"hour","minut":"minut","second":"second"},"countdown_text_type":"po_mo","text_for_weeks":"Weeks","text_for_day":"Days","text_for_hour":"Hours","text_for_minute":"Minutes","text_for_second":"Seconds","countdown_standart_elements_width":"100","countdown_standart_elements_distance":"7","countdown_standart_time_bg_color":"#ffffff","countdown_standart_time_text_bg_color":"#000000","countdown_standart_time_font_size":"30","countdown_standart_time_text_font_size":"15","countdown_standart_time_color":"#a91015","countdown_standart_time_text_color":"#a91015","countdown_standart_time_font_famely":"Andale Mono,Consolas,Monaco,Courier,Courier New,Verdana,sans-serif","countdown_standart_time_text_font_famely":"Rockwell, Arial Black, Arial Bold, Arial, sans-serif","countdown_standart_time_padding":{"top":"0","right":"2","bottom":"0","left":"0"},"countdown_standart_time_text_padding":{"top":"0","right":"0","bottom":"2","left":"0"},"countdown_standart_time_margin":{"top":"2","right":"2","bottom":"2","left":"2"},"countdown_standart_time_text_margin":{"top":"2","right":"10","bottom":"0","left":"10"},"countdown_standart_time_border_width":"1","countdown_standart_time_text_border_width":"1","countdown_standart_time_border_radius":"3","countdown_standart_time_text_border_radius":"50","countdown_standart_time_border_color":"#000000","countdown_standart_time_text_border_color":"#000000","countdown_standart_display_inline":"0","countdown_standart_gorup_animation":"one","countdown_standart_animation_type":"random","countdown_vertical_time_font_size":"45","countdown_vertical_elements_distance":"8","countdown_vertical_time_font_famely":"Andale Mono,Consolas,Monaco,Courier,Courier New,Verdana,sans-serif","countdown_vertical_time_color":"#ba2318","countdown_vertical_background_color":"#3e3d3d","countdown_vertical_time_border_width":"1","countdown_vertical_time_border_color":"#dd3333","countdown_vertical_time_text_bg_color":"#FFFFFF","countdown_vertical_time_text_font_size":"12","countdown_vertical_time_text_color":"#000000","countdown_vertical_time_text_font_famely":"Arial Black,Arial Bold,Arial,sans-serif","countdown_vertical_time_text_padding":{"top":"1","right":"0","bottom":"2","left":"0"},"countdown_vertical_time_text_margin":{"top":"3","right":"1","bottom":"5","left":"3"},"countdown_vertical_time_text_border_width":"1","countdown_vertical_time_text_border_radius":"2","countdown_vertical_time_text_border_color":"#dd3333","countdown_vertical_display_inline":"0","countdown_vertical_gorup_animation":"one","countdown_vertical_animation_type":"random","countdown_circle_elements_width_height":"115","countdown_circle_elements_distance":"5","countdown_circle_background_color":"#000000","countdown_circle_background_color_opacity":"100","countdown_circle_border_color_outside":"#a0a0a0","countdown_circle_border_color_inside":"#dd1616","countdown_circle_width_parcents":"6","countdown_circle_type_of_rounding":"round","countdown_circle_border_direction":"right","countdown_circle_time_font_size":"38","countdown_circle_time_text_font_size":"16","countdown_circle_time_color":"#dd3333","countdown_circle_time_text_color":"#e2e2e2","countdown_circle_time_font_famely":"Georgia,Times New Roman,Times,serif","countdown_circle_time_text_font_famely":"Segoe UI","countdown_circle_time_margin":{"top":"14","bottom":"0"},"countdown_circle_time_text_padding":{"top":"0","right":"0","bottom":"0","left":"0"},"countdown_circle_time_text_margin":{"top":"0","bottom":"24"},"countdown_circle_display_inline":"1","countdown_circle_gorup_animation":"one","countdown_circle_animation_type":"random"}';
			$wpdb->insert( self::$table_names['theme'], 
				array( 
					'id' => 208,
					'name' => "Red circle",
					'option_value' => $install_theme,
					'default' => 0,				
				), 
				array( 
					'%d',
					'%s', 
					'%s',
					'%d',
				) 
			);
		}
	}
} 
?>