<?php
	// if(!current_user_can('manage_options'))
	// {
	// 	die('Access Denied');
	// }
	global $wpdb;

	$table_name1 = $wpdb->prefix . "totalsoft_galleryv_id";
	$table_name2 = $wpdb->prefix . "totalsoft_galleryv_manager";
	$table_name3 = $wpdb->prefix . "totalsoft_galleryv_videos";
	$table_name4 = $wpdb->prefix . "totalsoft_galleryv_dbt";
	$table_name4_1 = $wpdb->prefix . "totalsoft_galleryv_dbt_1";
	$table_name4_2 = $wpdb->prefix . "totalsoft_galleryv_dbt_2";
	$table_name4_3 = $wpdb->prefix . "totalsoft_galleryv_dbt_3";
	$table_name4_4 = $wpdb->prefix . "totalsoft_galleryv_dbt_4";
	
	require_once(ABSPATH . 'wp-admin/includes/upgrade.php');

	$sql1 = 'CREATE TABLE IF NOT EXISTS ' .$table_name1 . '( id INTEGER(10) UNSIGNED AUTO_INCREMENT, GalleryV_ID VARCHAR(255) NOT NULL, PRIMARY KEY (id))';
	$sql2 = 'CREATE TABLE IF NOT EXISTS ' .$table_name2 . '( id INTEGER(10) UNSIGNED AUTO_INCREMENT, TotalSoftGallery_Video_Gallery_Title VARCHAR(255) NOT NULL, TotalSoftGallery_Video_Option VARCHAR(255) NOT NULL, TotalSoftGallery_Video_ShowType VARCHAR(255) NOT NULL, TotalSoftGallery_Video_PerPage VARCHAR(255) NOT NULL, TotalSoftGallery_LoadMore VARCHAR(255) NOT NULL, PRIMARY KEY (id))';
	$sql3 = 'CREATE TABLE IF NOT EXISTS ' .$table_name3 . '( id INTEGER(10) UNSIGNED AUTO_INCREMENT, TotalSoftGallery_Video_VT VARCHAR(255) NOT NULL, TotalSoftGallery_Video_VDesc LONGTEXT NOT NULL, TotalSoftGallery_Video_VLink VARCHAR(255) NOT NULL, TotalSoftGallery_Video_VONT VARCHAR(255) NOT NULL, TotalSoftGallery_Video_VURL VARCHAR(255) NOT NULL, TotalSoftGallery_Video_IURL VARCHAR(255) NOT NULL, TotalSoftGallery_Video_Video VARCHAR(255) NOT NULL, GalleryV_ID VARCHAR(255) NOT NULL, PRIMARY KEY (id))';
	$sql4 = 'CREATE TABLE IF NOT EXISTS ' .$table_name4 . '( id INTEGER(10) UNSIGNED AUTO_INCREMENT, TotalSoftGalleryV_SetName VARCHAR(255) NOT NULL, TotalSoftGalleryV_SetType VARCHAR(255) NOT NULL, PRIMARY KEY (id))';
	$sql4_1 = 'CREATE TABLE IF NOT EXISTS ' .$table_name4_1 . '( id INTEGER(10) UNSIGNED AUTO_INCREMENT, TotalSoftGalleryV_SetID VARCHAR(255) NOT NULL, TotalSoftGalleryV_SetName VARCHAR(255) NOT NULL, TotalSoftGalleryV_SetType VARCHAR(255) NOT NULL, TotalSoft_GV_1_01 VARCHAR(255) NOT NULL, TotalSoft_GV_1_02 VARCHAR(255) NOT NULL, TotalSoft_GV_1_03 VARCHAR(255) NOT NULL, TotalSoft_GV_1_04 VARCHAR(255) NOT NULL, TotalSoft_GV_1_05 VARCHAR(255) NOT NULL, TotalSoft_GV_1_06 VARCHAR(255) NOT NULL, TotalSoft_GV_1_07 VARCHAR(255) NOT NULL, TotalSoft_GV_1_08 VARCHAR(255) NOT NULL, TotalSoft_GV_1_09 VARCHAR(255) NOT NULL, TotalSoft_GV_1_10 VARCHAR(255) NOT NULL, TotalSoft_GV_1_11 VARCHAR(255) NOT NULL, TotalSoft_GV_1_12 VARCHAR(255) NOT NULL, TotalSoft_GV_1_13 VARCHAR(255) NOT NULL, TotalSoft_GV_1_14 VARCHAR(255) NOT NULL, TotalSoft_GV_1_15 VARCHAR(255) NOT NULL, TotalSoft_GV_1_16 VARCHAR(255) NOT NULL, TotalSoft_GV_1_17 VARCHAR(255) NOT NULL, TotalSoft_GV_1_18 VARCHAR(255) NOT NULL, TotalSoft_GV_1_19 VARCHAR(255) NOT NULL, TotalSoft_GV_1_20 VARCHAR(255) NOT NULL, TotalSoft_GV_1_21 VARCHAR(255) NOT NULL, TotalSoft_GV_1_22 VARCHAR(255) NOT NULL, TotalSoft_GV_1_23 VARCHAR(255) NOT NULL, TotalSoft_GV_1_24 VARCHAR(255) NOT NULL, TotalSoft_GV_1_25 VARCHAR(255) NOT NULL, TotalSoft_GV_1_26 VARCHAR(255) NOT NULL, TotalSoft_GV_1_27 VARCHAR(255) NOT NULL, TotalSoft_GV_1_28 VARCHAR(255) NOT NULL, TotalSoft_GV_1_29 VARCHAR(255) NOT NULL, TotalSoft_GV_1_30 VARCHAR(255) NOT NULL, TotalSoft_GV_1_31 VARCHAR(255) NOT NULL, TotalSoft_GV_1_32 VARCHAR(255) NOT NULL, TotalSoft_GV_1_33 VARCHAR(255) NOT NULL, TotalSoft_GV_1_34 VARCHAR(255) NOT NULL, TotalSoft_GV_1_35 VARCHAR(255) NOT NULL, TotalSoft_GV_1_36 VARCHAR(255) NOT NULL, TotalSoft_GV_1_37 VARCHAR(255) NOT NULL, TotalSoft_GV_1_38 VARCHAR(255) NOT NULL, TotalSoft_GV_1_39 VARCHAR(255) NOT NULL, PRIMARY KEY (id))';
	$sql4_2 = 'CREATE TABLE IF NOT EXISTS ' .$table_name4_2 . '( id INTEGER(10) UNSIGNED AUTO_INCREMENT, TotalSoftGalleryV_SetID VARCHAR(255) NOT NULL, TotalSoftGalleryV_SetName VARCHAR(255) NOT NULL, TotalSoftGalleryV_SetType VARCHAR(255) NOT NULL, TotalSoft_GV_2_01 VARCHAR(255) NOT NULL, TotalSoft_GV_2_02 VARCHAR(255) NOT NULL, TotalSoft_GV_2_03 VARCHAR(255) NOT NULL, TotalSoft_GV_2_04 VARCHAR(255) NOT NULL, TotalSoft_GV_2_05 VARCHAR(255) NOT NULL, TotalSoft_GV_2_06 VARCHAR(255) NOT NULL, TotalSoft_GV_2_07 VARCHAR(255) NOT NULL, TotalSoft_GV_2_08 VARCHAR(255) NOT NULL, TotalSoft_GV_2_09 VARCHAR(255) NOT NULL, TotalSoft_GV_2_10 VARCHAR(255) NOT NULL, TotalSoft_GV_2_11 VARCHAR(255) NOT NULL, TotalSoft_GV_2_12 VARCHAR(255) NOT NULL, TotalSoft_GV_2_13 VARCHAR(255) NOT NULL, TotalSoft_GV_2_14 VARCHAR(255) NOT NULL, TotalSoft_GV_2_15 VARCHAR(255) NOT NULL, TotalSoft_GV_2_16 VARCHAR(255) NOT NULL, TotalSoft_GV_2_17 VARCHAR(255) NOT NULL, TotalSoft_GV_2_18 VARCHAR(255) NOT NULL, TotalSoft_GV_2_19 VARCHAR(255) NOT NULL, TotalSoft_GV_2_20 VARCHAR(255) NOT NULL, TotalSoft_GV_2_21 VARCHAR(255) NOT NULL, TotalSoft_GV_2_22 VARCHAR(255) NOT NULL, TotalSoft_GV_2_23 VARCHAR(255) NOT NULL, TotalSoft_GV_2_24 VARCHAR(255) NOT NULL, TotalSoft_GV_2_25 VARCHAR(255) NOT NULL, TotalSoft_GV_2_26 VARCHAR(255) NOT NULL, TotalSoft_GV_2_27 VARCHAR(255) NOT NULL, TotalSoft_GV_2_28 VARCHAR(255) NOT NULL, TotalSoft_GV_2_29 VARCHAR(255) NOT NULL, TotalSoft_GV_2_30 VARCHAR(255) NOT NULL, TotalSoft_GV_2_31 VARCHAR(255) NOT NULL, TotalSoft_GV_2_32 VARCHAR(255) NOT NULL, TotalSoft_GV_2_33 VARCHAR(255) NOT NULL, TotalSoft_GV_2_34 VARCHAR(255) NOT NULL, TotalSoft_GV_2_35 VARCHAR(255) NOT NULL, TotalSoft_GV_2_36 VARCHAR(255) NOT NULL, TotalSoft_GV_2_37 VARCHAR(255) NOT NULL, TotalSoft_GV_2_38 VARCHAR(255) NOT NULL, TotalSoft_GV_2_39 VARCHAR(255) NOT NULL, PRIMARY KEY (id))';
	$sql4_3 = 'CREATE TABLE IF NOT EXISTS ' .$table_name4_3 . '( id INTEGER(10) UNSIGNED AUTO_INCREMENT, TotalSoftGalleryV_SetID VARCHAR(255) NOT NULL, TotalSoftGalleryV_SetName VARCHAR(255) NOT NULL, TotalSoftGalleryV_SetType VARCHAR(255) NOT NULL, TotalSoft_GV_1_01 VARCHAR(255) NOT NULL, TotalSoft_GV_1_02 VARCHAR(255) NOT NULL, TotalSoft_GV_1_03 VARCHAR(255) NOT NULL, TotalSoft_GV_1_04 VARCHAR(255) NOT NULL, TotalSoft_GV_1_05 VARCHAR(255) NOT NULL, TotalSoft_GV_1_06 VARCHAR(255) NOT NULL, TotalSoft_GV_1_07 VARCHAR(255) NOT NULL, TotalSoft_GV_1_08 VARCHAR(255) NOT NULL, TotalSoft_GV_1_09 VARCHAR(255) NOT NULL, TotalSoft_GV_1_10 VARCHAR(255) NOT NULL, TotalSoft_GV_1_11 VARCHAR(255) NOT NULL, TotalSoft_GV_1_12 VARCHAR(255) NOT NULL, TotalSoft_GV_1_13 VARCHAR(255) NOT NULL, TotalSoft_GV_1_14 VARCHAR(255) NOT NULL, TotalSoft_GV_1_15 VARCHAR(255) NOT NULL, TotalSoft_GV_1_16 VARCHAR(255) NOT NULL, TotalSoft_GV_1_17 VARCHAR(255) NOT NULL, TotalSoft_GV_1_18 VARCHAR(255) NOT NULL, TotalSoft_GV_1_19 VARCHAR(255) NOT NULL, TotalSoft_GV_1_20 VARCHAR(255) NOT NULL, TotalSoft_GV_1_21 VARCHAR(255) NOT NULL, TotalSoft_GV_1_22 VARCHAR(255) NOT NULL, TotalSoft_GV_1_23 VARCHAR(255) NOT NULL, TotalSoft_GV_1_24 VARCHAR(255) NOT NULL, TotalSoft_GV_1_25 VARCHAR(255) NOT NULL, TotalSoft_GV_1_26 VARCHAR(255) NOT NULL, TotalSoft_GV_1_27 VARCHAR(255) NOT NULL, TotalSoft_GV_1_28 VARCHAR(255) NOT NULL, TotalSoft_GV_1_29 VARCHAR(255) NOT NULL, TotalSoft_GV_1_30 VARCHAR(255) NOT NULL, TotalSoft_GV_1_31 VARCHAR(255) NOT NULL, TotalSoft_GV_1_32 VARCHAR(255) NOT NULL, TotalSoft_GV_1_33 VARCHAR(255) NOT NULL, TotalSoft_GV_1_34 VARCHAR(255) NOT NULL, TotalSoft_GV_1_35 VARCHAR(255) NOT NULL, TotalSoft_GV_1_36 VARCHAR(255) NOT NULL, TotalSoft_GV_1_37 VARCHAR(255) NOT NULL, TotalSoft_GV_1_38 VARCHAR(255) NOT NULL, TotalSoft_GV_1_39 VARCHAR(255) NOT NULL, PRIMARY KEY (id))';
	$sql4_4 = 'CREATE TABLE IF NOT EXISTS ' .$table_name4_4 . '( id INTEGER(10) UNSIGNED AUTO_INCREMENT, TotalSoftGalleryV_SetID VARCHAR(255) NOT NULL, TotalSoftGalleryV_SetName VARCHAR(255) NOT NULL, TotalSoftGalleryV_SetType VARCHAR(255) NOT NULL, TotalSoft_GV_2_01 VARCHAR(255) NOT NULL, TotalSoft_GV_2_02 VARCHAR(255) NOT NULL, TotalSoft_GV_2_03 VARCHAR(255) NOT NULL, TotalSoft_GV_2_04 VARCHAR(255) NOT NULL, TotalSoft_GV_2_05 VARCHAR(255) NOT NULL, TotalSoft_GV_2_06 VARCHAR(255) NOT NULL, TotalSoft_GV_2_07 VARCHAR(255) NOT NULL, TotalSoft_GV_2_08 VARCHAR(255) NOT NULL, TotalSoft_GV_2_09 VARCHAR(255) NOT NULL, TotalSoft_GV_2_10 VARCHAR(255) NOT NULL, TotalSoft_GV_2_11 VARCHAR(255) NOT NULL, TotalSoft_GV_2_12 VARCHAR(255) NOT NULL, TotalSoft_GV_2_13 VARCHAR(255) NOT NULL, TotalSoft_GV_2_14 VARCHAR(255) NOT NULL, TotalSoft_GV_2_15 VARCHAR(255) NOT NULL, TotalSoft_GV_2_16 VARCHAR(255) NOT NULL, TotalSoft_GV_2_17 VARCHAR(255) NOT NULL, TotalSoft_GV_2_18 VARCHAR(255) NOT NULL, TotalSoft_GV_2_19 VARCHAR(255) NOT NULL, TotalSoft_GV_2_20 VARCHAR(255) NOT NULL, TotalSoft_GV_2_21 VARCHAR(255) NOT NULL, TotalSoft_GV_2_22 VARCHAR(255) NOT NULL, TotalSoft_GV_2_23 VARCHAR(255) NOT NULL, TotalSoft_GV_2_24 VARCHAR(255) NOT NULL, TotalSoft_GV_2_25 VARCHAR(255) NOT NULL, TotalSoft_GV_2_26 VARCHAR(255) NOT NULL, TotalSoft_GV_2_27 VARCHAR(255) NOT NULL, TotalSoft_GV_2_28 VARCHAR(255) NOT NULL, TotalSoft_GV_2_29 VARCHAR(255) NOT NULL, TotalSoft_GV_2_30 VARCHAR(255) NOT NULL, TotalSoft_GV_2_31 VARCHAR(255) NOT NULL, TotalSoft_GV_2_32 VARCHAR(255) NOT NULL, TotalSoft_GV_2_33 VARCHAR(255) NOT NULL, TotalSoft_GV_2_34 VARCHAR(255) NOT NULL, TotalSoft_GV_2_35 VARCHAR(255) NOT NULL, TotalSoft_GV_2_36 VARCHAR(255) NOT NULL, TotalSoft_GV_2_37 VARCHAR(255) NOT NULL, TotalSoft_GV_2_38 VARCHAR(255) NOT NULL, TotalSoft_GV_2_39 VARCHAR(255) NOT NULL, PRIMARY KEY (id))';

	dbDelta($sql1);
	dbDelta($sql2);
	dbDelta($sql3);
	dbDelta($sql4);
	dbDelta($sql4_1);
	dbDelta($sql4_2);
	dbDelta($sql4_3);
	dbDelta($sql4_4);

	$sqla1   = 'ALTER TABLE ' . $table_name1 . ' CONVERT TO CHARACTER SET utf8mb4 COLLATE utf8mb4_unicode_ci';
	$sqla2   = 'ALTER TABLE ' . $table_name2 . ' CONVERT TO CHARACTER SET utf8mb4 COLLATE utf8mb4_unicode_ci';
	$sqla3   = 'ALTER TABLE ' . $table_name3 . ' CONVERT TO CHARACTER SET utf8mb4 COLLATE utf8mb4_unicode_ci';
	$sqla4   = 'ALTER TABLE ' . $table_name4 . ' CONVERT TO CHARACTER SET utf8mb4 COLLATE utf8mb4_unicode_ci';
	$sqla4_1 = 'ALTER TABLE ' . $table_name4_1 . ' CONVERT TO CHARACTER SET utf8mb4 COLLATE utf8mb4_unicode_ci';
	$sqla4_2 = 'ALTER TABLE ' . $table_name4_2 . ' CONVERT TO CHARACTER SET utf8mb4 COLLATE utf8mb4_unicode_ci';
	$sqla4_3 = 'ALTER TABLE ' . $table_name4_3 . ' CONVERT TO CHARACTER SET utf8mb4 COLLATE utf8mb4_unicode_ci';
	$sqla4_4 = 'ALTER TABLE ' . $table_name4_4 . ' CONVERT TO CHARACTER SET utf8mb4 COLLATE utf8mb4_unicode_ci';

	$wpdb->query($sqla1);
	$wpdb->query($sqla2);
	$wpdb->query($sqla3);
	$wpdb->query($sqla4);
	$wpdb->query($sqla4_1);
	$wpdb->query($sqla4_2);
	$wpdb->query($sqla4_3);
	$wpdb->query($sqla4_4);

	$TotalSoftGVEff1Count = $wpdb->get_results($wpdb->prepare("SELECT * FROM $table_name4 WHERE TotalSoftGalleryV_SetType = %s", 'Grid Video Gallery'));
	if(count($TotalSoftGVEff1Count) == 0)
	{
		$wpdb->query($wpdb->prepare("INSERT INTO $table_name4 (id, TotalSoftGalleryV_SetName, TotalSoftGalleryV_SetType) VALUES (%d, %s, %s)", '', 'Grid Video Gallery 1', 'Grid Video Gallery'));

		$TotalSoftGalleryV_SetNameID = $wpdb->get_results($wpdb->prepare("SELECT * FROM $table_name4 WHERE id>%d order by id desc limit 1", 0));

		$wpdb->query($wpdb->prepare("INSERT INTO $table_name4_1 (id, TotalSoftGalleryV_SetID, TotalSoftGalleryV_SetName, TotalSoftGalleryV_SetType, TotalSoft_GV_1_01, TotalSoft_GV_1_02, TotalSoft_GV_1_03, TotalSoft_GV_1_04, TotalSoft_GV_1_05, TotalSoft_GV_1_06, TotalSoft_GV_1_07, TotalSoft_GV_1_08, TotalSoft_GV_1_09, TotalSoft_GV_1_10, TotalSoft_GV_1_11, TotalSoft_GV_1_12, TotalSoft_GV_1_13, TotalSoft_GV_1_14, TotalSoft_GV_1_15, TotalSoft_GV_1_16, TotalSoft_GV_1_17, TotalSoft_GV_1_18, TotalSoft_GV_1_19, TotalSoft_GV_1_20, TotalSoft_GV_1_21, TotalSoft_GV_1_22, TotalSoft_GV_1_23, TotalSoft_GV_1_24, TotalSoft_GV_1_25, TotalSoft_GV_1_26, TotalSoft_GV_1_27, TotalSoft_GV_1_28, TotalSoft_GV_1_29, TotalSoft_GV_1_30, TotalSoft_GV_1_31, TotalSoft_GV_1_32, TotalSoft_GV_1_33, TotalSoft_GV_1_34, TotalSoft_GV_1_35, TotalSoft_GV_1_36, TotalSoft_GV_1_37, TotalSoft_GV_1_38, TotalSoft_GV_1_39) VALUES (%d, %s, %s, %s, %s, %s, %s, %s, %s, %s, %s, %s, %s, %s, %s, %s, %s, %s, %s, %s, %s, %s, %s, %s, %s, %s, %s, %s, %s, %s, %s, %s, %s, %s, %s, %s, %s, %s, %s, %s, %s, %s, %s)", '', $TotalSoftGalleryV_SetNameID[0]->id, 'Grid Video Gallery 1', 'Grid Video Gallery', 'true', 'false', '294', '5', '0', 'sepia', '0.5', '#000000', 'rgba(0,148,145,0.75)', '0', '19', 'Gabriola', '#ffffff', 'center', '0', 'dotted', '#ffffff', '#ffffff', '0', 'solid', '#009491', '0', '30', '30', 'Gabriola', '#009491', 'center', '1', 'solid', '#cccccc', '3', 'totalsoft totalsoft-arrow-circle-left', 'totalsoft totalsoft-arrow-circle-right', '#009491', '28', '3', 'totalsoft totalsoft-times-circle', '#009491', '25'));
		$wpdb->query($wpdb->prepare("INSERT INTO $table_name4_2 (id, TotalSoftGalleryV_SetID, TotalSoftGalleryV_SetName, TotalSoftGalleryV_SetType, TotalSoft_GV_2_01, TotalSoft_GV_2_02, TotalSoft_GV_2_03, TotalSoft_GV_2_04, TotalSoft_GV_2_05, TotalSoft_GV_2_06, TotalSoft_GV_2_07, TotalSoft_GV_2_08, TotalSoft_GV_2_09, TotalSoft_GV_2_10, TotalSoft_GV_2_11, TotalSoft_GV_2_12, TotalSoft_GV_2_13, TotalSoft_GV_2_14, TotalSoft_GV_2_15, TotalSoft_GV_2_16, TotalSoft_GV_2_17, TotalSoft_GV_2_18, TotalSoft_GV_2_19, TotalSoft_GV_2_20, TotalSoft_GV_2_21, TotalSoft_GV_2_22, TotalSoft_GV_2_23, TotalSoft_GV_2_24, TotalSoft_GV_2_25, TotalSoft_GV_2_26, TotalSoft_GV_2_27, TotalSoft_GV_2_28, TotalSoft_GV_2_29, TotalSoft_GV_2_30, TotalSoft_GV_2_31, TotalSoft_GV_2_32, TotalSoft_GV_2_33, TotalSoft_GV_2_34, TotalSoft_GV_2_35, TotalSoft_GV_2_36, TotalSoft_GV_2_37, TotalSoft_GV_2_38, TotalSoft_GV_2_39) VALUES (%d, %s, %s, %s, %s, %s, %s, %s, %s, %s, %s, %s, %s, %s, %s, %s, %s, %s, %s, %s, %s, %s, %s, %s, %s, %s, %s, %s, %s, %s, %s, %s, %s, %s, %s, %s, %s, %s, %s, %s, %s, %s, %s)", '', $TotalSoftGalleryV_SetNameID[0]->id, 'Grid Video Gallery 1', 'Grid Video Gallery', '1', 'solid', '#009491', '0', 'View More', '#009491', '#ffffff', '18', 'Gabriola', '#ffffff', '#009491', 'Next', 'Prev', '#ffffff', '#009491', '23', 'Gabriola', '#009491', '#ffffff', '#009491', '#f9f9f9', 'true', 'true', 'solid', '#009491', '', '', 'rgba(0,0,0,0.2)', '', '', '', '', '', '', '', '', '', '', ''));

		$wpdb->query($wpdb->prepare("INSERT INTO $table_name4 (id, TotalSoftGalleryV_SetName, TotalSoftGalleryV_SetType) VALUES (%d, %s, %s)", '', 'Grid Video Gallery 2', 'Grid Video Gallery'));

		$TotalSoftGalleryV_SetNameID = $wpdb->get_results($wpdb->prepare("SELECT * FROM $table_name4 WHERE id>%d order by id desc limit 1", 0));

		$wpdb->query($wpdb->prepare("INSERT INTO $table_name4_1 (id, TotalSoftGalleryV_SetID, TotalSoftGalleryV_SetName, TotalSoftGalleryV_SetType, TotalSoft_GV_1_01, TotalSoft_GV_1_02, TotalSoft_GV_1_03, TotalSoft_GV_1_04, TotalSoft_GV_1_05, TotalSoft_GV_1_06, TotalSoft_GV_1_07, TotalSoft_GV_1_08, TotalSoft_GV_1_09, TotalSoft_GV_1_10, TotalSoft_GV_1_11, TotalSoft_GV_1_12, TotalSoft_GV_1_13, TotalSoft_GV_1_14, TotalSoft_GV_1_15, TotalSoft_GV_1_16, TotalSoft_GV_1_17, TotalSoft_GV_1_18, TotalSoft_GV_1_19, TotalSoft_GV_1_20, TotalSoft_GV_1_21, TotalSoft_GV_1_22, TotalSoft_GV_1_23, TotalSoft_GV_1_24, TotalSoft_GV_1_25, TotalSoft_GV_1_26, TotalSoft_GV_1_27, TotalSoft_GV_1_28, TotalSoft_GV_1_29, TotalSoft_GV_1_30, TotalSoft_GV_1_31, TotalSoft_GV_1_32, TotalSoft_GV_1_33, TotalSoft_GV_1_34, TotalSoft_GV_1_35, TotalSoft_GV_1_36, TotalSoft_GV_1_37, TotalSoft_GV_1_38, TotalSoft_GV_1_39) VALUES (%d, %s, %s, %s, %s, %s, %s, %s, %s, %s, %s, %s, %s, %s, %s, %s, %s, %s, %s, %s, %s, %s, %s, %s, %s, %s, %s, %s, %s, %s, %s, %s, %s, %s, %s, %s, %s, %s, %s, %s, %s, %s, %s)", '', $TotalSoftGalleryV_SetNameID[0]->id, 'Grid Video Gallery 2', 'Grid Video Gallery', 'true', 'true', '294', '5', '0', 'drop-shadow', '0.01', '#727272', '#ededed', '2', '19', 'Gabriola', '#009491', 'center', '1', 'solid', '#d8d8d8', '#ffffff', '0', 'solid', '#009491', '0', '30', '30', 'Gabriola', '#009491', 'center', '1', 'solid', '#cccccc', '3', 'totalsoft totalsoft-arrow-circle-left', 'totalsoft totalsoft-arrow-circle-right', '#009491', '28', '3', 'totalsoft totalsoft-times-circle', '#009491', '25'));
		$wpdb->query($wpdb->prepare("INSERT INTO $table_name4_2 (id, TotalSoftGalleryV_SetID, TotalSoftGalleryV_SetName, TotalSoftGalleryV_SetType, TotalSoft_GV_2_01, TotalSoft_GV_2_02, TotalSoft_GV_2_03, TotalSoft_GV_2_04, TotalSoft_GV_2_05, TotalSoft_GV_2_06, TotalSoft_GV_2_07, TotalSoft_GV_2_08, TotalSoft_GV_2_09, TotalSoft_GV_2_10, TotalSoft_GV_2_11, TotalSoft_GV_2_12, TotalSoft_GV_2_13, TotalSoft_GV_2_14, TotalSoft_GV_2_15, TotalSoft_GV_2_16, TotalSoft_GV_2_17, TotalSoft_GV_2_18, TotalSoft_GV_2_19, TotalSoft_GV_2_20, TotalSoft_GV_2_21, TotalSoft_GV_2_22, TotalSoft_GV_2_23, TotalSoft_GV_2_24, TotalSoft_GV_2_25, TotalSoft_GV_2_26, TotalSoft_GV_2_27, TotalSoft_GV_2_28, TotalSoft_GV_2_29, TotalSoft_GV_2_30, TotalSoft_GV_2_31, TotalSoft_GV_2_32, TotalSoft_GV_2_33, TotalSoft_GV_2_34, TotalSoft_GV_2_35, TotalSoft_GV_2_36, TotalSoft_GV_2_37, TotalSoft_GV_2_38, TotalSoft_GV_2_39) VALUES (%d, %s, %s, %s, %s, %s, %s, %s, %s, %s, %s, %s, %s, %s, %s, %s, %s, %s, %s, %s, %s, %s, %s, %s, %s, %s, %s, %s, %s, %s, %s, %s, %s, %s, %s, %s, %s, %s, %s, %s, %s, %s, %s)", '', $TotalSoftGalleryV_SetNameID[0]->id, 'Grid Video Gallery 2', 'Grid Video Gallery', '1', 'solid', '#009491', '0', 'View More', '#009491', '#ffffff', '18', 'Gabriola', '#ffffff', '#009491', 'Next', 'Prev', '#ffffff', '#009491', '23', 'Gabriola', '#009491', '#ffffff', '#009491', '#f9f9f9', 'true', 'true', 'solid', '#009491', '', '', 'rgba(0,0,0,0.2)', '', '', '', '', '', '', '', '', '', '', ''));
	}

	$TotalSoftGVEff2Count = $wpdb->get_results($wpdb->prepare("SELECT * FROM $table_name4 WHERE TotalSoftGalleryV_SetType = %s", 'LightBox Video Gallery'));
	if(count($TotalSoftGVEff2Count) == 0)
	{
		$wpdb->query($wpdb->prepare("INSERT INTO $table_name4 (id, TotalSoftGalleryV_SetName, TotalSoftGalleryV_SetType) VALUES (%d, %s, %s)", '', 'LightBox Video Gallery 1', 'LightBox Video Gallery'));

		$TotalSoftGalleryV_SetNameID = $wpdb->get_results($wpdb->prepare("SELECT * FROM $table_name4 WHERE id>%d order by id desc limit 1", 0));

		$wpdb->query($wpdb->prepare("INSERT INTO $table_name4_1 (id, TotalSoftGalleryV_SetID, TotalSoftGalleryV_SetName, TotalSoftGalleryV_SetType, TotalSoft_GV_1_01, TotalSoft_GV_1_02, TotalSoft_GV_1_03, TotalSoft_GV_1_04, TotalSoft_GV_1_05, TotalSoft_GV_1_06, TotalSoft_GV_1_07, TotalSoft_GV_1_08, TotalSoft_GV_1_09, TotalSoft_GV_1_10, TotalSoft_GV_1_11, TotalSoft_GV_1_12, TotalSoft_GV_1_13, TotalSoft_GV_1_14, TotalSoft_GV_1_15, TotalSoft_GV_1_16, TotalSoft_GV_1_17, TotalSoft_GV_1_18, TotalSoft_GV_1_19, TotalSoft_GV_1_20, TotalSoft_GV_1_21, TotalSoft_GV_1_22, TotalSoft_GV_1_23, TotalSoft_GV_1_24, TotalSoft_GV_1_25, TotalSoft_GV_1_26, TotalSoft_GV_1_27, TotalSoft_GV_1_28, TotalSoft_GV_1_29, TotalSoft_GV_1_30, TotalSoft_GV_1_31, TotalSoft_GV_1_32, TotalSoft_GV_1_33, TotalSoft_GV_1_34, TotalSoft_GV_1_35, TotalSoft_GV_1_36, TotalSoft_GV_1_37, TotalSoft_GV_1_38, TotalSoft_GV_1_39) VALUES (%d, %s, %s, %s, %s, %s, %s, %s, %s, %s, %s, %s, %s, %s, %s, %s, %s, %s, %s, %s, %s, %s, %s, %s, %s, %s, %s, %s, %s, %s, %s, %s, %s, %s, %s, %s, %s, %s, %s, %s, %s, %s, %s)", '', $TotalSoftGalleryV_SetNameID[0]->id, 'LightBox Video Gallery 1', 'LightBox Video Gallery', '340', '5', '10', '#000000', '2', 'solid', '#ffffff', '0', '#ffffff', '0', 'solid', '#fffff1', '20', 'true', 'center', '20', 'Arial', '#000000', '2', 'totalsoft totalsoft-play-circle-o', 'totalsoft totalsoft-pause-circle-o', '20', '#999999', '2', 'totalsoft totalsoft-times-circle-o', '20', '#999999', 'Close', 'Gabriola', '3', 'totalsoft totalsoft-arrow-circle-left', 'totalsoft totalsoft-arrow-circle-right', '22', '#000000', '16', '#000000', 'Next', 'Prev', '#999999'));
		$wpdb->query($wpdb->prepare("INSERT INTO $table_name4_2 (id, TotalSoftGalleryV_SetID, TotalSoftGalleryV_SetName, TotalSoftGalleryV_SetType, TotalSoft_GV_2_01, TotalSoft_GV_2_02, TotalSoft_GV_2_03, TotalSoft_GV_2_04, TotalSoft_GV_2_05, TotalSoft_GV_2_06, TotalSoft_GV_2_07, TotalSoft_GV_2_08, TotalSoft_GV_2_09, TotalSoft_GV_2_10, TotalSoft_GV_2_11, TotalSoft_GV_2_12, TotalSoft_GV_2_13, TotalSoft_GV_2_14, TotalSoft_GV_2_15, TotalSoft_GV_2_16, TotalSoft_GV_2_17, TotalSoft_GV_2_18, TotalSoft_GV_2_19, TotalSoft_GV_2_20, TotalSoft_GV_2_21, TotalSoft_GV_2_22, TotalSoft_GV_2_23, TotalSoft_GV_2_24, TotalSoft_GV_2_25, TotalSoft_GV_2_26, TotalSoft_GV_2_27, TotalSoft_GV_2_28, TotalSoft_GV_2_29, TotalSoft_GV_2_30, TotalSoft_GV_2_31, TotalSoft_GV_2_32, TotalSoft_GV_2_33, TotalSoft_GV_2_34, TotalSoft_GV_2_35, TotalSoft_GV_2_36, TotalSoft_GV_2_37, TotalSoft_GV_2_38, TotalSoft_GV_2_39) VALUES (%d, %s, %s, %s, %s, %s, %s, %s, %s, %s, %s, %s, %s, %s, %s, %s, %s, %s, %s, %s, %s, %s, %s, %s, %s, %s, %s, %s, %s, %s, %s, %s, %s, %s, %s, %s, %s, %s, %s, %s, %s, %s, %s)", '', $TotalSoftGalleryV_SetNameID[0]->id, 'LightBox Video Gallery 1', 'LightBox Video Gallery', '#ffffff', '17', 'Gabriola', '#ffffff', '#000000', '#ffffff', '#999999', 'solid', '#ffffff', 'lImgZoom7', '4', '#000000', 'hovLayTVG1', '4', '#ffffff', '23', '#000000', 'Gabriola', 'Gabriola', 'hovTit3', '5', '0', 'solid', '#dd3333', 'hovLine6', '6', '13', '#ffffff', '#ffffff', '1', 'solid', 'View More', 'hovLink7', '5', '', '', 'rgba(0,0,0,0.2)', '', ''));

		$wpdb->query($wpdb->prepare("INSERT INTO $table_name4 (id, TotalSoftGalleryV_SetName, TotalSoftGalleryV_SetType) VALUES (%d, %s, %s)", '', 'LightBox Video Gallery 2', 'LightBox Video Gallery'));

		$TotalSoftGalleryV_SetNameID = $wpdb->get_results($wpdb->prepare("SELECT * FROM $table_name4 WHERE id>%d order by id desc limit 1", 0));

		$wpdb->query($wpdb->prepare("INSERT INTO $table_name4_1 (id, TotalSoftGalleryV_SetID, TotalSoftGalleryV_SetName, TotalSoftGalleryV_SetType, TotalSoft_GV_1_01, TotalSoft_GV_1_02, TotalSoft_GV_1_03, TotalSoft_GV_1_04, TotalSoft_GV_1_05, TotalSoft_GV_1_06, TotalSoft_GV_1_07, TotalSoft_GV_1_08, TotalSoft_GV_1_09, TotalSoft_GV_1_10, TotalSoft_GV_1_11, TotalSoft_GV_1_12, TotalSoft_GV_1_13, TotalSoft_GV_1_14, TotalSoft_GV_1_15, TotalSoft_GV_1_16, TotalSoft_GV_1_17, TotalSoft_GV_1_18, TotalSoft_GV_1_19, TotalSoft_GV_1_20, TotalSoft_GV_1_21, TotalSoft_GV_1_22, TotalSoft_GV_1_23, TotalSoft_GV_1_24, TotalSoft_GV_1_25, TotalSoft_GV_1_26, TotalSoft_GV_1_27, TotalSoft_GV_1_28, TotalSoft_GV_1_29, TotalSoft_GV_1_30, TotalSoft_GV_1_31, TotalSoft_GV_1_32, TotalSoft_GV_1_33, TotalSoft_GV_1_34, TotalSoft_GV_1_35, TotalSoft_GV_1_36, TotalSoft_GV_1_37, TotalSoft_GV_1_38, TotalSoft_GV_1_39) VALUES (%d, %s, %s, %s, %s, %s, %s, %s, %s, %s, %s, %s, %s, %s, %s, %s, %s, %s, %s, %s, %s, %s, %s, %s, %s, %s, %s, %s, %s, %s, %s, %s, %s, %s, %s, %s, %s, %s, %s, %s, %s, %s, %s)", '', $TotalSoftGalleryV_SetNameID[0]->id, 'LightBox Video Gallery 2', 'LightBox Video Gallery', '350', '5', '0', '#8e8e8e', '7', 'solid', '#ffffff', '0', '#ffffff', '4', 'none', '#ffffff', '10', 'true', 'center', '20', 'Arial', '#000000', '1', 'totalsoft totalsoft-play-circle', 'totalsoft totalsoft-pause-circle', '20', '#000000', '1', 'totalsoft totalsoft-times', '25', '#000000', '', 'Gabriola', '11', 'totalsoft totalsoft-long-arrow-left', 'totalsoft totalsoft-long-arrow-right', '25', '#000000', '18', '#dbdbdb', 'Next', 'Prev', '#595959'));
		$wpdb->query($wpdb->prepare("INSERT INTO $table_name4_2 (id, TotalSoftGalleryV_SetID, TotalSoftGalleryV_SetName, TotalSoftGalleryV_SetType, TotalSoft_GV_2_01, TotalSoft_GV_2_02, TotalSoft_GV_2_03, TotalSoft_GV_2_04, TotalSoft_GV_2_05, TotalSoft_GV_2_06, TotalSoft_GV_2_07, TotalSoft_GV_2_08, TotalSoft_GV_2_09, TotalSoft_GV_2_10, TotalSoft_GV_2_11, TotalSoft_GV_2_12, TotalSoft_GV_2_13, TotalSoft_GV_2_14, TotalSoft_GV_2_15, TotalSoft_GV_2_16, TotalSoft_GV_2_17, TotalSoft_GV_2_18, TotalSoft_GV_2_19, TotalSoft_GV_2_20, TotalSoft_GV_2_21, TotalSoft_GV_2_22, TotalSoft_GV_2_23, TotalSoft_GV_2_24, TotalSoft_GV_2_25, TotalSoft_GV_2_26, TotalSoft_GV_2_27, TotalSoft_GV_2_28, TotalSoft_GV_2_29, TotalSoft_GV_2_30, TotalSoft_GV_2_31, TotalSoft_GV_2_32, TotalSoft_GV_2_33, TotalSoft_GV_2_34, TotalSoft_GV_2_35, TotalSoft_GV_2_36, TotalSoft_GV_2_37, TotalSoft_GV_2_38, TotalSoft_GV_2_39) VALUES (%d, %s, %s, %s, %s, %s, %s, %s, %s, %s, %s, %s, %s, %s, %s, %s, %s, %s, %s, %s, %s, %s, %s, %s, %s, %s, %s, %s, %s, %s, %s, %s, %s, %s, %s, %s, %s, %s, %s, %s, %s, %s, %s)", '', $TotalSoftGalleryV_SetNameID[0]->id, 'LightBox Video Gallery 2', 'LightBox Video Gallery', '#ffffff', '17', 'Gabriola', '#ffffff', '#000000', '#ffffff', '#000000', 'solid', '#ffffff', 'lImgZoom1', '5', '#000000', 'hovLayTVG1', '5', '#dd3333', '23', '#ffffff', 'Gabriola', 'Gabriola', 'hovTit1', '5', '1', 'solid', '#ffffff', 'hovLine5', '4', '13', '#ffffff', '#ffffff', '3', 'solid', 'View More', 'hovLink5', '4', '', '', 'rgba(0,0,0,0.2)', '', ''));
	}
	$TotalSoftGVEff3Count = $wpdb->get_results($wpdb->prepare("SELECT * FROM $table_name4 WHERE TotalSoftGalleryV_SetType = %s", 'Thumbnails Video'));
	if(count($TotalSoftGVEff3Count) == 0)
	{
		$wpdb->query($wpdb->prepare("INSERT INTO $table_name4 (id, TotalSoftGalleryV_SetName, TotalSoftGalleryV_SetType) VALUES (%d, %s, %s)", '', 'Thumbnails Video 1', 'Thumbnails Video'));

		$TotalSoftGalleryV_SetNameID = $wpdb->get_results($wpdb->prepare("SELECT * FROM $table_name4 WHERE id>%d order by id desc limit 1", 0));

		$wpdb->query($wpdb->prepare("INSERT INTO $table_name4_1 (id, TotalSoftGalleryV_SetID, TotalSoftGalleryV_SetName, TotalSoftGalleryV_SetType, TotalSoft_GV_1_01, TotalSoft_GV_1_02, TotalSoft_GV_1_03, TotalSoft_GV_1_04, TotalSoft_GV_1_05, TotalSoft_GV_1_06, TotalSoft_GV_1_07, TotalSoft_GV_1_08, TotalSoft_GV_1_09, TotalSoft_GV_1_10, TotalSoft_GV_1_11, TotalSoft_GV_1_12, TotalSoft_GV_1_13, TotalSoft_GV_1_14, TotalSoft_GV_1_15, TotalSoft_GV_1_16, TotalSoft_GV_1_17, TotalSoft_GV_1_18, TotalSoft_GV_1_19, TotalSoft_GV_1_20, TotalSoft_GV_1_21, TotalSoft_GV_1_22, TotalSoft_GV_1_23, TotalSoft_GV_1_24, TotalSoft_GV_1_25, TotalSoft_GV_1_26, TotalSoft_GV_1_27, TotalSoft_GV_1_28, TotalSoft_GV_1_29, TotalSoft_GV_1_30, TotalSoft_GV_1_31, TotalSoft_GV_1_32, TotalSoft_GV_1_33, TotalSoft_GV_1_34, TotalSoft_GV_1_35, TotalSoft_GV_1_36, TotalSoft_GV_1_37, TotalSoft_GV_1_38, TotalSoft_GV_1_39) VALUES (%d, %s, %s, %s, %s, %s, %s, %s, %s, %s, %s, %s, %s, %s, %s, %s, %s, %s, %s, %s, %s, %s, %s, %s, %s, %s, %s, %s, %s, %s, %s, %s, %s, %s, %s, %s, %s, %s, %s, %s, %s, %s, %s)", '', $TotalSoftGalleryV_SetNameID[0]->id, 'Thumbnails Video 1', 'Thumbnails Video', 'overlay', 'fold', '300', 'rgba(30,115,190,0.3)', '30', '12', '10', '0', '20', '#009491', '320', '180', '', '', '', '', '', '', '#009491', 'false', '#009491', '0', '#ffffff', 'false', '#009491', '25', 'Gabriola', '#dd3333', 'center', '#dd3333', '16', '#dd3333', '#ffffff', '100', '#dd3333', '#ffffff', '100', 'Next', 'Prev'));
		$wpdb->query($wpdb->prepare("INSERT INTO $table_name4_2 (id, TotalSoftGalleryV_SetID, TotalSoftGalleryV_SetName, TotalSoftGalleryV_SetType, TotalSoft_GV_2_01, TotalSoft_GV_2_02, TotalSoft_GV_2_03, TotalSoft_GV_2_04, TotalSoft_GV_2_05, TotalSoft_GV_2_06, TotalSoft_GV_2_07, TotalSoft_GV_2_08, TotalSoft_GV_2_09, TotalSoft_GV_2_10, TotalSoft_GV_2_11, TotalSoft_GV_2_12, TotalSoft_GV_2_13, TotalSoft_GV_2_14, TotalSoft_GV_2_15, TotalSoft_GV_2_16, TotalSoft_GV_2_17, TotalSoft_GV_2_18, TotalSoft_GV_2_19, TotalSoft_GV_2_20, TotalSoft_GV_2_21, TotalSoft_GV_2_22, TotalSoft_GV_2_23, TotalSoft_GV_2_24, TotalSoft_GV_2_25, TotalSoft_GV_2_26, TotalSoft_GV_2_27, TotalSoft_GV_2_28, TotalSoft_GV_2_29, TotalSoft_GV_2_30, TotalSoft_GV_2_31, TotalSoft_GV_2_32, TotalSoft_GV_2_33, TotalSoft_GV_2_34, TotalSoft_GV_2_35, TotalSoft_GV_2_36, TotalSoft_GV_2_37, TotalSoft_GV_2_38, TotalSoft_GV_2_39) VALUES (%d, %s, %s, %s, %s, %s, %s, %s, %s, %s, %s, %s, %s, %s, %s, %s, %s, %s, %s, %s, %s, %s, %s, %s, %s, %s, %s, %s, %s, %s, %s, %s, %s, %s, %s, %s, %s, %s, %s, %s, %s, %s, %s)", '', $TotalSoftGalleryV_SetNameID[0]->id, 'Thumbnails Video 1', 'Thumbnails Video', '#ffffff', '#dd3333', '21', 'Gabriola', '#dd3333', '#ffffff', '#dd3333', '#e0e0e0', 'none', '#dd3333', '5', '45', '#ffffff', 'totalsoft totalsoft-play-circle', '', '', 'rgba(0,0,0,0.2)', '', '', '', '', '', '', '', '', '', '', '', '', '', '', '', '', '', '', '', '', '', ''));

		$wpdb->query($wpdb->prepare("INSERT INTO $table_name4 (id, TotalSoftGalleryV_SetName, TotalSoftGalleryV_SetType) VALUES (%d, %s, %s)", '', 'Thumbnails Video 2', 'Thumbnails Video'));

		$TotalSoftGalleryV_SetNameID = $wpdb->get_results($wpdb->prepare("SELECT * FROM $table_name4 WHERE id>%d order by id desc limit 1", 0));

		$wpdb->query($wpdb->prepare("INSERT INTO $table_name4_1 (id, TotalSoftGalleryV_SetID, TotalSoftGalleryV_SetName, TotalSoftGalleryV_SetType, TotalSoft_GV_1_01, TotalSoft_GV_1_02, TotalSoft_GV_1_03, TotalSoft_GV_1_04, TotalSoft_GV_1_05, TotalSoft_GV_1_06, TotalSoft_GV_1_07, TotalSoft_GV_1_08, TotalSoft_GV_1_09, TotalSoft_GV_1_10, TotalSoft_GV_1_11, TotalSoft_GV_1_12, TotalSoft_GV_1_13, TotalSoft_GV_1_14, TotalSoft_GV_1_15, TotalSoft_GV_1_16, TotalSoft_GV_1_17, TotalSoft_GV_1_18, TotalSoft_GV_1_19, TotalSoft_GV_1_20, TotalSoft_GV_1_21, TotalSoft_GV_1_22, TotalSoft_GV_1_23, TotalSoft_GV_1_24, TotalSoft_GV_1_25, TotalSoft_GV_1_26, TotalSoft_GV_1_27, TotalSoft_GV_1_28, TotalSoft_GV_1_29, TotalSoft_GV_1_30, TotalSoft_GV_1_31, TotalSoft_GV_1_32, TotalSoft_GV_1_33, TotalSoft_GV_1_34, TotalSoft_GV_1_35, TotalSoft_GV_1_36, TotalSoft_GV_1_37, TotalSoft_GV_1_38, TotalSoft_GV_1_39) VALUES (%d, %s, %s, %s, %s, %s, %s, %s, %s, %s, %s, %s, %s, %s, %s, %s, %s, %s, %s, %s, %s, %s, %s, %s, %s, %s, %s, %s, %s, %s, %s, %s, %s, %s, %s, %s, %s, %s, %s, %s, %s, %s, %s)", '', $TotalSoftGalleryV_SetNameID[0]->id, 'Thumbnails Video 2', 'Thumbnails Video', 'normal', 'popout', '400', '#009491', '30', '8', '8', '1', '20', '#878787', '320', '180', '', '', '', '', '', '', 'rgba(0,0,0,0.24)', 'true', 'rgba(30,115,190,0.65)', '0', '#ffffff', 'false', 'rgba(30,115,190,0.65)', '25', 'Gabriola', '#ffffff', 'center', '#ffffff', '16', 'rgba(30,115,190,0.45)', '#ffffff', '4', '#ffffff', '#1e73be', '100', 'Next', 'Prev'));
		$wpdb->query($wpdb->prepare("INSERT INTO $table_name4_2 (id, TotalSoftGalleryV_SetID, TotalSoftGalleryV_SetName, TotalSoftGalleryV_SetType, TotalSoft_GV_2_01, TotalSoft_GV_2_02, TotalSoft_GV_2_03, TotalSoft_GV_2_04, TotalSoft_GV_2_05, TotalSoft_GV_2_06, TotalSoft_GV_2_07, TotalSoft_GV_2_08, TotalSoft_GV_2_09, TotalSoft_GV_2_10, TotalSoft_GV_2_11, TotalSoft_GV_2_12, TotalSoft_GV_2_13, TotalSoft_GV_2_14, TotalSoft_GV_2_15, TotalSoft_GV_2_16, TotalSoft_GV_2_17, TotalSoft_GV_2_18, TotalSoft_GV_2_19, TotalSoft_GV_2_20, TotalSoft_GV_2_21, TotalSoft_GV_2_22, TotalSoft_GV_2_23, TotalSoft_GV_2_24, TotalSoft_GV_2_25, TotalSoft_GV_2_26, TotalSoft_GV_2_27, TotalSoft_GV_2_28, TotalSoft_GV_2_29, TotalSoft_GV_2_30, TotalSoft_GV_2_31, TotalSoft_GV_2_32, TotalSoft_GV_2_33, TotalSoft_GV_2_34, TotalSoft_GV_2_35, TotalSoft_GV_2_36, TotalSoft_GV_2_37, TotalSoft_GV_2_38, TotalSoft_GV_2_39) VALUES (%d, %s, %s, %s, %s, %s, %s, %s, %s, %s, %s, %s, %s, %s, %s, %s, %s, %s, %s, %s, %s, %s, %s, %s, %s, %s, %s, %s, %s, %s, %s, %s, %s, %s, %s, %s, %s, %s, %s, %s, %s, %s, %s)", '', $TotalSoftGalleryV_SetNameID[0]->id, 'Thumbnails Video 2', 'Thumbnails Video', '#ffffff', '#939393', '21', 'Gabriola', '#939393', '#ffffff', '#939393', '#e0e0e0', 'none', '#939393', '5', '45', '#ffffff', 'totalsoft totalsoft-play-circle', '', '', 'rgba(0,0,0,0.2)', '', '', '', '', '', '', '', '', '', '', '', '', '', '', '', '', '', '', '', '', '', ''));
	}
	$TotalSoftGVEff4Count = $wpdb->get_results($wpdb->prepare("SELECT * FROM $table_name4 WHERE TotalSoftGalleryV_SetType = %s", 'Content Popup'));
	if(count($TotalSoftGVEff4Count) == 0)
	{
		$wpdb->query($wpdb->prepare("INSERT INTO $table_name4 (id, TotalSoftGalleryV_SetName, TotalSoftGalleryV_SetType) VALUES (%d, %s, %s)", '', 'Content Popup 1', 'Content Popup'));

		$TotalSoftGalleryV_SetNameID = $wpdb->get_results($wpdb->prepare("SELECT * FROM $table_name4 WHERE id>%d order by id desc limit 1", 0));

		$wpdb->query($wpdb->prepare("INSERT INTO $table_name4_1 (id, TotalSoftGalleryV_SetID, TotalSoftGalleryV_SetName, TotalSoftGalleryV_SetType, TotalSoft_GV_1_01, TotalSoft_GV_1_02, TotalSoft_GV_1_03, TotalSoft_GV_1_04, TotalSoft_GV_1_05, TotalSoft_GV_1_06, TotalSoft_GV_1_07, TotalSoft_GV_1_08, TotalSoft_GV_1_09, TotalSoft_GV_1_10, TotalSoft_GV_1_11, TotalSoft_GV_1_12, TotalSoft_GV_1_13, TotalSoft_GV_1_14, TotalSoft_GV_1_15, TotalSoft_GV_1_16, TotalSoft_GV_1_17, TotalSoft_GV_1_18, TotalSoft_GV_1_19, TotalSoft_GV_1_20, TotalSoft_GV_1_21, TotalSoft_GV_1_22, TotalSoft_GV_1_23, TotalSoft_GV_1_24, TotalSoft_GV_1_25, TotalSoft_GV_1_26, TotalSoft_GV_1_27, TotalSoft_GV_1_28, TotalSoft_GV_1_29, TotalSoft_GV_1_30, TotalSoft_GV_1_31, TotalSoft_GV_1_32, TotalSoft_GV_1_33, TotalSoft_GV_1_34, TotalSoft_GV_1_35, TotalSoft_GV_1_36, TotalSoft_GV_1_37, TotalSoft_GV_1_38, TotalSoft_GV_1_39) VALUES (%d, %s, %s, %s, %s, %s, %s, %s, %s, %s, %s, %s, %s, %s, %s, %s, %s, %s, %s, %s, %s, %s, %s, %s, %s, %s, %s, %s, %s, %s, %s, %s, %s, %s, %s, %s, %s, %s, %s, %s, %s, %s, %s)", '', $TotalSoftGalleryV_SetNameID[0]->id, 'Content Popup 1', 'Content Popup', '370', '190', '5', '#ffffff', '10', 'false', '15', '#009491', '9', '#1e73be', 'true', '#ffffff', '25', 'Abadi MT Condensed Light', '#1e73be', 'false', '1', '#ffffff', 'View More ....', '2', '#ffffff', '20', '#ffffff', '#000000', '25', 'Gabriola', '#000000', '#ffffff', 'Next', 'Prev', '#ffffff', '#999999', '17', 'Gabriola', '#ffffff', '#000000', '#000000', '#ffffff', 'solid'));
		$wpdb->query($wpdb->prepare("INSERT INTO $table_name4_2 (id, TotalSoftGalleryV_SetID, TotalSoftGalleryV_SetName, TotalSoftGalleryV_SetType, TotalSoft_GV_2_01, TotalSoft_GV_2_02, TotalSoft_GV_2_03, TotalSoft_GV_2_04, TotalSoft_GV_2_05, TotalSoft_GV_2_06, TotalSoft_GV_2_07, TotalSoft_GV_2_08, TotalSoft_GV_2_09, TotalSoft_GV_2_10, TotalSoft_GV_2_11, TotalSoft_GV_2_12, TotalSoft_GV_2_13, TotalSoft_GV_2_14, TotalSoft_GV_2_15, TotalSoft_GV_2_16, TotalSoft_GV_2_17, TotalSoft_GV_2_18, TotalSoft_GV_2_19, TotalSoft_GV_2_20, TotalSoft_GV_2_21, TotalSoft_GV_2_22, TotalSoft_GV_2_23, TotalSoft_GV_2_24, TotalSoft_GV_2_25, TotalSoft_GV_2_26, TotalSoft_GV_2_27, TotalSoft_GV_2_28, TotalSoft_GV_2_29, TotalSoft_GV_2_30, TotalSoft_GV_2_31, TotalSoft_GV_2_32, TotalSoft_GV_2_33, TotalSoft_GV_2_34, TotalSoft_GV_2_35, TotalSoft_GV_2_36, TotalSoft_GV_2_37, TotalSoft_GV_2_38, TotalSoft_GV_2_39) VALUES (%d, %s, %s, %s, %s, %s, %s, %s, %s, %s, %s, %s, %s, %s, %s, %s, %s, %s, %s, %s, %s, %s, %s, %s, %s, %s, %s, %s, %s, %s, %s, %s, %s, %s, %s, %s, %s, %s, %s, %s, %s, %s, %s)", '', $TotalSoftGalleryV_SetNameID[0]->id, 'Content Popup 1', 'Content Popup', '#ffffff', '#ffffff', '10', 'solid', '#ffffff', '25', 'Abadi MT Condensed Light', '#ffffff', '#1e73be', 'center', 'View More ....', '0', 'solid', '#ffffff', '4', '#1e73be', '#ffffff', '16', 'Abadi MT Condensed Light', '#ffffff', '#1e73be', '#1e73be', '25', '#ffffff', '1', 'totalsoft totalsoft-times', '25', '#ffffff', '11', 'totalsoft totalsoft-long-arrow-left', 'totalsoft totalsoft-long-arrow-right', 'false', '', '', '', 'rgba(0,0,0,0.2)', '', '', ''));

		$wpdb->query($wpdb->prepare("INSERT INTO $table_name4 (id, TotalSoftGalleryV_SetName, TotalSoftGalleryV_SetType) VALUES (%d, %s, %s)", '', 'Content Popup 2', 'Content Popup'));

		$TotalSoftGalleryV_SetNameID = $wpdb->get_results($wpdb->prepare("SELECT * FROM $table_name4 WHERE id>%d order by id desc limit 1", 0));

		$wpdb->query($wpdb->prepare("INSERT INTO $table_name4_1 (id, TotalSoftGalleryV_SetID, TotalSoftGalleryV_SetName, TotalSoftGalleryV_SetType, TotalSoft_GV_1_01, TotalSoft_GV_1_02, TotalSoft_GV_1_03, TotalSoft_GV_1_04, TotalSoft_GV_1_05, TotalSoft_GV_1_06, TotalSoft_GV_1_07, TotalSoft_GV_1_08, TotalSoft_GV_1_09, TotalSoft_GV_1_10, TotalSoft_GV_1_11, TotalSoft_GV_1_12, TotalSoft_GV_1_13, TotalSoft_GV_1_14, TotalSoft_GV_1_15, TotalSoft_GV_1_16, TotalSoft_GV_1_17, TotalSoft_GV_1_18, TotalSoft_GV_1_19, TotalSoft_GV_1_20, TotalSoft_GV_1_21, TotalSoft_GV_1_22, TotalSoft_GV_1_23, TotalSoft_GV_1_24, TotalSoft_GV_1_25, TotalSoft_GV_1_26, TotalSoft_GV_1_27, TotalSoft_GV_1_28, TotalSoft_GV_1_29, TotalSoft_GV_1_30, TotalSoft_GV_1_31, TotalSoft_GV_1_32, TotalSoft_GV_1_33, TotalSoft_GV_1_34, TotalSoft_GV_1_35, TotalSoft_GV_1_36, TotalSoft_GV_1_37, TotalSoft_GV_1_38, TotalSoft_GV_1_39) VALUES (%d, %s, %s, %s, %s, %s, %s, %s, %s, %s, %s, %s, %s, %s, %s, %s, %s, %s, %s, %s, %s, %s, %s, %s, %s, %s, %s, %s, %s, %s, %s, %s, %s, %s, %s, %s, %s, %s, %s, %s, %s, %s, %s)", '', $TotalSoftGalleryV_SetNameID[0]->id, 'Content Popup 2', 'Content Popup', '350', '190', '5', '#ffffff', '10', 'true', '1', '#878787', '8', '#000000', 'true', '#ffffff', '25', 'Gabriola', '#dd3333', 'false', '2', '#000000', 'View More ....', '2', '#ffffff', '20', '#ffffff', '#000000', '23', 'Gabriola', '#000000', '#ffffff', 'Next', 'Prev', '#ffffff', '#999999', '16', 'Gabriola', '#ffffff', '#999999', '#ededed', '#000000', 'solid'));
		$wpdb->query($wpdb->prepare("INSERT INTO $table_name4_2 (id, TotalSoftGalleryV_SetID, TotalSoftGalleryV_SetName, TotalSoftGalleryV_SetType, TotalSoft_GV_2_01, TotalSoft_GV_2_02, TotalSoft_GV_2_03, TotalSoft_GV_2_04, TotalSoft_GV_2_05, TotalSoft_GV_2_06, TotalSoft_GV_2_07, TotalSoft_GV_2_08, TotalSoft_GV_2_09, TotalSoft_GV_2_10, TotalSoft_GV_2_11, TotalSoft_GV_2_12, TotalSoft_GV_2_13, TotalSoft_GV_2_14, TotalSoft_GV_2_15, TotalSoft_GV_2_16, TotalSoft_GV_2_17, TotalSoft_GV_2_18, TotalSoft_GV_2_19, TotalSoft_GV_2_20, TotalSoft_GV_2_21, TotalSoft_GV_2_22, TotalSoft_GV_2_23, TotalSoft_GV_2_24, TotalSoft_GV_2_25, TotalSoft_GV_2_26, TotalSoft_GV_2_27, TotalSoft_GV_2_28, TotalSoft_GV_2_29, TotalSoft_GV_2_30, TotalSoft_GV_2_31, TotalSoft_GV_2_32, TotalSoft_GV_2_33, TotalSoft_GV_2_34, TotalSoft_GV_2_35, TotalSoft_GV_2_36, TotalSoft_GV_2_37, TotalSoft_GV_2_38, TotalSoft_GV_2_39) VALUES (%d, %s, %s, %s, %s, %s, %s, %s, %s, %s, %s, %s, %s, %s, %s, %s, %s, %s, %s, %s, %s, %s, %s, %s, %s, %s, %s, %s, %s, %s, %s, %s, %s, %s, %s, %s, %s, %s, %s, %s, %s, %s, %s)", '', $TotalSoftGalleryV_SetNameID[0]->id, 'Content Popup 2', 'Content Popup', '#ffffff', '#ffffff', '3', 'solid', '#ffffff', '28', 'Gabriola', '#ffffff', '#ff0000', 'center', 'View More ....', '0', 'solid', '#ffffff', '0', '#ff0000', '#ffffff', '18', 'Gabriola', '#dd3333', '#ffffff', '#ff0000', '25', '#ffffff', '1', 'totalsoft totalsoft-times', '25', '#ffffff', '8', 'totalsoft totalsoft-chevron-circle-left', 'totalsoft totalsoft-chevron-circle-right', 'false', '', '', '', 'rgba(0,0,0,0.2)', '', '', ''));
	}
	$TotalSoftGVEff5Count = $wpdb->get_results($wpdb->prepare("SELECT * FROM $table_name4 WHERE TotalSoftGalleryV_SetType = %s", 'Elastic Gallery'));
	if(count($TotalSoftGVEff5Count) == 0)
	{
		$wpdb->query($wpdb->prepare("INSERT INTO $table_name4 (id, TotalSoftGalleryV_SetName, TotalSoftGalleryV_SetType) VALUES (%d, %s, %s)", '', 'Elastic Gallery 1', 'Elastic Gallery'));

		$TotalSoftGalleryV_SetNameID = $wpdb->get_results($wpdb->prepare("SELECT * FROM $table_name4 WHERE id>%d order by id desc limit 1", 0));

		$wpdb->query($wpdb->prepare("INSERT INTO $table_name4_1 (id, TotalSoftGalleryV_SetID, TotalSoftGalleryV_SetName, TotalSoftGalleryV_SetType, TotalSoft_GV_1_01, TotalSoft_GV_1_02, TotalSoft_GV_1_03, TotalSoft_GV_1_04, TotalSoft_GV_1_05, TotalSoft_GV_1_06, TotalSoft_GV_1_07, TotalSoft_GV_1_08, TotalSoft_GV_1_09, TotalSoft_GV_1_10, TotalSoft_GV_1_11, TotalSoft_GV_1_12, TotalSoft_GV_1_13, TotalSoft_GV_1_14, TotalSoft_GV_1_15, TotalSoft_GV_1_16, TotalSoft_GV_1_17, TotalSoft_GV_1_18, TotalSoft_GV_1_19, TotalSoft_GV_1_20, TotalSoft_GV_1_21, TotalSoft_GV_1_22, TotalSoft_GV_1_23, TotalSoft_GV_1_24, TotalSoft_GV_1_25, TotalSoft_GV_1_26, TotalSoft_GV_1_27, TotalSoft_GV_1_28, TotalSoft_GV_1_29, TotalSoft_GV_1_30, TotalSoft_GV_1_31, TotalSoft_GV_1_32, TotalSoft_GV_1_33, TotalSoft_GV_1_34, TotalSoft_GV_1_35, TotalSoft_GV_1_36, TotalSoft_GV_1_37, TotalSoft_GV_1_38, TotalSoft_GV_1_39) VALUES (%d, %s, %s, %s, %s, %s, %s, %s, %s, %s, %s, %s, %s, %s, %s, %s, %s, %s, %s, %s, %s, %s, %s, %s, %s, %s, %s, %s, %s, %s, %s, %s, %s, %s, %s, %s, %s, %s, %s, %s, %s, %s, %s)", '', $TotalSoftGalleryV_SetNameID[0]->id, 'Elastic Gallery 1', 'Elastic Gallery', '300', '160', '3', 'solid', '#ffffff', '2', '#8c8c8c', 'zEff1', '4', '17', '#ffffff', 'Abadi MT Condensed Light', 'rgba(255,0,0,0.85)', 'zTitfHov1', '4', 'true', '14', '#ff0000', 'totalsoft totalsoft-file-video-o', '1', '#ffffff', 'solid', '#ffffff', '#ff0000', '#ffffff', '#ffffff', 'totalsoft totalsoft-link', '#000000', '6', '#ffffff', '30', 'totalsoft totalsoft-times-circle', '40', '#ffffff', '#000000', '11', 'false', 'true', '10'));
		$wpdb->query($wpdb->prepare("INSERT INTO $table_name4_2 (id, TotalSoftGalleryV_SetID, TotalSoftGalleryV_SetName, TotalSoftGalleryV_SetType, TotalSoft_GV_2_01, TotalSoft_GV_2_02, TotalSoft_GV_2_03, TotalSoft_GV_2_04, TotalSoft_GV_2_05, TotalSoft_GV_2_06, TotalSoft_GV_2_07, TotalSoft_GV_2_08, TotalSoft_GV_2_09, TotalSoft_GV_2_10, TotalSoft_GV_2_11, TotalSoft_GV_2_12, TotalSoft_GV_2_13, TotalSoft_GV_2_14, TotalSoft_GV_2_15, TotalSoft_GV_2_16, TotalSoft_GV_2_17, TotalSoft_GV_2_18, TotalSoft_GV_2_19, TotalSoft_GV_2_20, TotalSoft_GV_2_21, TotalSoft_GV_2_22, TotalSoft_GV_2_23, TotalSoft_GV_2_24, TotalSoft_GV_2_25, TotalSoft_GV_2_26, TotalSoft_GV_2_27, TotalSoft_GV_2_28, TotalSoft_GV_2_29, TotalSoft_GV_2_30, TotalSoft_GV_2_31, TotalSoft_GV_2_32, TotalSoft_GV_2_33, TotalSoft_GV_2_34, TotalSoft_GV_2_35, TotalSoft_GV_2_36, TotalSoft_GV_2_37, TotalSoft_GV_2_38, TotalSoft_GV_2_39) VALUES (%d, %s, %s, %s, %s, %s, %s, %s, %s, %s, %s, %s, %s, %s, %s, %s, %s, %s, %s, %s, %s, %s, %s, %s, %s, %s, %s, %s, %s, %s, %s, %s, %s, %s, %s, %s, %s, %s, %s, %s, %s, %s, %s)", '', $TotalSoftGalleryV_SetNameID[0]->id, 'Elastic Gallery 1', 'Elastic Gallery', 'solid', '#ffffff', '10', '#000000', 'Prev', 'Next', '#ffffff', '#000000', '14', 'Aldhabi', '#ffffff', '#000000', '#ffffff', '#000000', 'solid', '#ffffff', '', '', 'rgba(0,0,0,0.2)', '', '', '', '', '', '', '', '', '', '', '', '', '', '', '', '', '', '', '', ''));

		$wpdb->query($wpdb->prepare("INSERT INTO $table_name4 (id, TotalSoftGalleryV_SetName, TotalSoftGalleryV_SetType) VALUES (%d, %s, %s)", '', 'Elastic Gallery 2', 'Elastic Gallery'));

		$TotalSoftGalleryV_SetNameID = $wpdb->get_results($wpdb->prepare("SELECT * FROM $table_name4 WHERE id>%d order by id desc limit 1", 0));

		$wpdb->query($wpdb->prepare("INSERT INTO $table_name4_1 (id, TotalSoftGalleryV_SetID, TotalSoftGalleryV_SetName, TotalSoftGalleryV_SetType, TotalSoft_GV_1_01, TotalSoft_GV_1_02, TotalSoft_GV_1_03, TotalSoft_GV_1_04, TotalSoft_GV_1_05, TotalSoft_GV_1_06, TotalSoft_GV_1_07, TotalSoft_GV_1_08, TotalSoft_GV_1_09, TotalSoft_GV_1_10, TotalSoft_GV_1_11, TotalSoft_GV_1_12, TotalSoft_GV_1_13, TotalSoft_GV_1_14, TotalSoft_GV_1_15, TotalSoft_GV_1_16, TotalSoft_GV_1_17, TotalSoft_GV_1_18, TotalSoft_GV_1_19, TotalSoft_GV_1_20, TotalSoft_GV_1_21, TotalSoft_GV_1_22, TotalSoft_GV_1_23, TotalSoft_GV_1_24, TotalSoft_GV_1_25, TotalSoft_GV_1_26, TotalSoft_GV_1_27, TotalSoft_GV_1_28, TotalSoft_GV_1_29, TotalSoft_GV_1_30, TotalSoft_GV_1_31, TotalSoft_GV_1_32, TotalSoft_GV_1_33, TotalSoft_GV_1_34, TotalSoft_GV_1_35, TotalSoft_GV_1_36, TotalSoft_GV_1_37, TotalSoft_GV_1_38, TotalSoft_GV_1_39) VALUES (%d, %s, %s, %s, %s, %s, %s, %s, %s, %s, %s, %s, %s, %s, %s, %s, %s, %s, %s, %s, %s, %s, %s, %s, %s, %s, %s, %s, %s, %s, %s, %s, %s, %s, %s, %s, %s, %s, %s, %s, %s, %s, %s)", '', $TotalSoftGalleryV_SetNameID[0]->id, 'Elastic Gallery 2', 'Elastic Gallery', '280', '160', '3', 'solid', '#ffffff', '0', '#000000', 'zEff3', '3', '17', '#ffffff', 'Aldhabi', 'rgba(221,153,51,0.4)', 'zTitfHov2', '3', 'true', '14', '#dd9933', 'totalsoft totalsoft-file-video-o', '1', '#ffffff', 'solid', '#ffffff', '#dd9933', '#ffffff', '#ffffff', 'totalsoft totalsoft-link', '#000000', '6', '#ffffff', '30', 'totalsoft totalsoft-times-circle', '30', '#ffffff', '#6b6b6b', '1', 'false', 'true', '0'));
		$wpdb->query($wpdb->prepare("INSERT INTO $table_name4_2 (id, TotalSoftGalleryV_SetID, TotalSoftGalleryV_SetName, TotalSoftGalleryV_SetType, TotalSoft_GV_2_01, TotalSoft_GV_2_02, TotalSoft_GV_2_03, TotalSoft_GV_2_04, TotalSoft_GV_2_05, TotalSoft_GV_2_06, TotalSoft_GV_2_07, TotalSoft_GV_2_08, TotalSoft_GV_2_09, TotalSoft_GV_2_10, TotalSoft_GV_2_11, TotalSoft_GV_2_12, TotalSoft_GV_2_13, TotalSoft_GV_2_14, TotalSoft_GV_2_15, TotalSoft_GV_2_16, TotalSoft_GV_2_17, TotalSoft_GV_2_18, TotalSoft_GV_2_19, TotalSoft_GV_2_20, TotalSoft_GV_2_21, TotalSoft_GV_2_22, TotalSoft_GV_2_23, TotalSoft_GV_2_24, TotalSoft_GV_2_25, TotalSoft_GV_2_26, TotalSoft_GV_2_27, TotalSoft_GV_2_28, TotalSoft_GV_2_29, TotalSoft_GV_2_30, TotalSoft_GV_2_31, TotalSoft_GV_2_32, TotalSoft_GV_2_33, TotalSoft_GV_2_34, TotalSoft_GV_2_35, TotalSoft_GV_2_36, TotalSoft_GV_2_37, TotalSoft_GV_2_38, TotalSoft_GV_2_39) VALUES (%d, %s, %s, %s, %s, %s, %s, %s, %s, %s, %s, %s, %s, %s, %s, %s, %s, %s, %s, %s, %s, %s, %s, %s, %s, %s, %s, %s, %s, %s, %s, %s, %s, %s, %s, %s, %s, %s, %s, %s, %s, %s, %s)", '', $TotalSoftGalleryV_SetNameID[0]->id, 'Elastic Gallery 2', 'Elastic Gallery', 'solid', '#ffffff', '30', '#ffffff', 'Prev', 'Next', '#ffffff', '#777777', '14', 'Aldhabi', '#777777', '#ffffff', '#777777', '#ffffff', 'solid', '#777777', '', '', 'rgba(0,0,0,0.2)', '', '', '', '', '', '', '', '', '', '', '', '', '', '', '', '', '', '', '', ''));
	}
	$TotalSoftGVEff6Count = $wpdb->get_results($wpdb->prepare("SELECT * FROM $table_name4 WHERE TotalSoftGalleryV_SetType = %s", 'Fancy Gallery'));
	if(count($TotalSoftGVEff6Count) == 0)
	{
		$wpdb->query($wpdb->prepare("INSERT INTO $table_name4 (id, TotalSoftGalleryV_SetName, TotalSoftGalleryV_SetType) VALUES (%d, %s, %s)", '', 'Fancy Gallery 1', 'Fancy Gallery'));

		$TotalSoftGalleryV_SetNameID = $wpdb->get_results($wpdb->prepare("SELECT * FROM $table_name4 WHERE id>%d order by id desc limit 1", 0));

		$wpdb->query($wpdb->prepare("INSERT INTO $table_name4_1 (id, TotalSoftGalleryV_SetID, TotalSoftGalleryV_SetName, TotalSoftGalleryV_SetType, TotalSoft_GV_1_01, TotalSoft_GV_1_02, TotalSoft_GV_1_03, TotalSoft_GV_1_04, TotalSoft_GV_1_05, TotalSoft_GV_1_06, TotalSoft_GV_1_07, TotalSoft_GV_1_08, TotalSoft_GV_1_09, TotalSoft_GV_1_10, TotalSoft_GV_1_11, TotalSoft_GV_1_12, TotalSoft_GV_1_13, TotalSoft_GV_1_14, TotalSoft_GV_1_15, TotalSoft_GV_1_16, TotalSoft_GV_1_17, TotalSoft_GV_1_18, TotalSoft_GV_1_19, TotalSoft_GV_1_20, TotalSoft_GV_1_21, TotalSoft_GV_1_22, TotalSoft_GV_1_23, TotalSoft_GV_1_24, TotalSoft_GV_1_25, TotalSoft_GV_1_26, TotalSoft_GV_1_27, TotalSoft_GV_1_28, TotalSoft_GV_1_29, TotalSoft_GV_1_30, TotalSoft_GV_1_31, TotalSoft_GV_1_32, TotalSoft_GV_1_33, TotalSoft_GV_1_34, TotalSoft_GV_1_35, TotalSoft_GV_1_36, TotalSoft_GV_1_37, TotalSoft_GV_1_38, TotalSoft_GV_1_39) VALUES (%d, %s, %s, %s, %s, %s, %s, %s, %s, %s, %s, %s, %s, %s, %s, %s, %s, %s, %s, %s, %s, %s, %s, %s, %s, %s, %s, %s, %s, %s, %s, %s, %s, %s, %s, %s, %s, %s, %s, %s, %s, %s, %s)", '', $TotalSoftGalleryV_SetNameID[0]->id, 'Fancy Gallery 1', 'Fancy Gallery', '283', '165', '3', '#ffffff', '15', '#d3d3d3', '0', '10', '15', 'Arial', '#ededed', '1', 'solid', '#ffffff', '0', '#000000', '16', 'Aldhabi', '#ffffff', 'center', '5', 'rgba(0,0,0,0.07)', '0', 'rgba(0,0,0,0.07)', '#ffffff', 'rgba(0,0,0,0.07)', 'rgba(0,0,0,0.07)', 'Default', 'rgba(0,0,0,0.25)', '#000000', '#ffffff', '#000000', '550', '350', '#ffffff', '3', '95', '65', '22'));
		$wpdb->query($wpdb->prepare("INSERT INTO $table_name4_2 (id, TotalSoftGalleryV_SetID, TotalSoftGalleryV_SetName, TotalSoftGalleryV_SetType, TotalSoft_GV_2_01, TotalSoft_GV_2_02, TotalSoft_GV_2_03, TotalSoft_GV_2_04, TotalSoft_GV_2_05, TotalSoft_GV_2_06, TotalSoft_GV_2_07, TotalSoft_GV_2_08, TotalSoft_GV_2_09, TotalSoft_GV_2_10, TotalSoft_GV_2_11, TotalSoft_GV_2_12, TotalSoft_GV_2_13, TotalSoft_GV_2_14, TotalSoft_GV_2_15, TotalSoft_GV_2_16, TotalSoft_GV_2_17, TotalSoft_GV_2_18, TotalSoft_GV_2_19, TotalSoft_GV_2_20, TotalSoft_GV_2_21, TotalSoft_GV_2_22, TotalSoft_GV_2_23, TotalSoft_GV_2_24, TotalSoft_GV_2_25, TotalSoft_GV_2_26, TotalSoft_GV_2_27, TotalSoft_GV_2_28, TotalSoft_GV_2_29, TotalSoft_GV_2_30, TotalSoft_GV_2_31, TotalSoft_GV_2_32, TotalSoft_GV_2_33, TotalSoft_GV_2_34, TotalSoft_GV_2_35, TotalSoft_GV_2_36, TotalSoft_GV_2_37, TotalSoft_GV_2_38, TotalSoft_GV_2_39) VALUES (%d, %s, %s, %s, %s, %s, %s, %s, %s, %s, %s, %s, %s, %s, %s, %s, %s, %s, %s, %s, %s, %s, %s, %s, %s, %s, %s, %s, %s, %s, %s, %s, %s, %s, %s, %s, %s, %s, %s, %s, %s, %s, %s)", '', $TotalSoftGalleryV_SetNameID[0]->id, 'Fancy Gallery 1', 'Fancy Gallery', 'Gabriola', '#ffffff', '2', '50', '#ffffff', '2', '30', '#ffffff', 'false', 'true', 'true', 'false', 'Prev', 'Next', '#ffffff', '#a3a3a3', '14', 'Arial', '#a3a3a3', '#ffffff', '#a3a3a3', '#ffffff', 'solid', '#a3a3a3', 'View...', '', '', 'rgba(0,0,0,0.2)', '', '', '', '', '', '', '', '', '', '', ''));

		$wpdb->query($wpdb->prepare("INSERT INTO $table_name4 (id, TotalSoftGalleryV_SetName, TotalSoftGalleryV_SetType) VALUES (%d, %s, %s)", '', 'Fancy Gallery 2', 'Fancy Gallery'));

		$TotalSoftGalleryV_SetNameID = $wpdb->get_results($wpdb->prepare("SELECT * FROM $table_name4 WHERE id>%d order by id desc limit 1", 0));

		$wpdb->query($wpdb->prepare("INSERT INTO $table_name4_1 (id, TotalSoftGalleryV_SetID, TotalSoftGalleryV_SetName, TotalSoftGalleryV_SetType, TotalSoft_GV_1_01, TotalSoft_GV_1_02, TotalSoft_GV_1_03, TotalSoft_GV_1_04, TotalSoft_GV_1_05, TotalSoft_GV_1_06, TotalSoft_GV_1_07, TotalSoft_GV_1_08, TotalSoft_GV_1_09, TotalSoft_GV_1_10, TotalSoft_GV_1_11, TotalSoft_GV_1_12, TotalSoft_GV_1_13, TotalSoft_GV_1_14, TotalSoft_GV_1_15, TotalSoft_GV_1_16, TotalSoft_GV_1_17, TotalSoft_GV_1_18, TotalSoft_GV_1_19, TotalSoft_GV_1_20, TotalSoft_GV_1_21, TotalSoft_GV_1_22, TotalSoft_GV_1_23, TotalSoft_GV_1_24, TotalSoft_GV_1_25, TotalSoft_GV_1_26, TotalSoft_GV_1_27, TotalSoft_GV_1_28, TotalSoft_GV_1_29, TotalSoft_GV_1_30, TotalSoft_GV_1_31, TotalSoft_GV_1_32, TotalSoft_GV_1_33, TotalSoft_GV_1_34, TotalSoft_GV_1_35, TotalSoft_GV_1_36, TotalSoft_GV_1_37, TotalSoft_GV_1_38, TotalSoft_GV_1_39) VALUES (%d, %s, %s, %s, %s, %s, %s, %s, %s, %s, %s, %s, %s, %s, %s, %s, %s, %s, %s, %s, %s, %s, %s, %s, %s, %s, %s, %s, %s, %s, %s, %s, %s, %s, %s, %s, %s, %s, %s, %s, %s, %s, %s)", '', $TotalSoftGalleryV_SetNameID[0]->id, 'Fancy Gallery 2', 'Fancy Gallery', '237', '145', '5', '#ffffff', '6', '#000000', '0', '10', '23', 'Gabriola', '#ffffff', '0', 'none', '#000000', '4', '#ffffff', '12', 'Aldhabi', '#ffffff', 'center', '3', '#009491', '0', '#009491', '#ffffff', '#00797f', '#00797f', 'Default', 'rgba(0,148,145,0.3)', '#000000', '#ffffff', '#ffffff', '550', '350', '#ffffff', '3', '96', '72', '22'));
		$wpdb->query($wpdb->prepare("INSERT INTO $table_name4_2 (id, TotalSoftGalleryV_SetID, TotalSoftGalleryV_SetName, TotalSoftGalleryV_SetType, TotalSoft_GV_2_01, TotalSoft_GV_2_02, TotalSoft_GV_2_03, TotalSoft_GV_2_04, TotalSoft_GV_2_05, TotalSoft_GV_2_06, TotalSoft_GV_2_07, TotalSoft_GV_2_08, TotalSoft_GV_2_09, TotalSoft_GV_2_10, TotalSoft_GV_2_11, TotalSoft_GV_2_12, TotalSoft_GV_2_13, TotalSoft_GV_2_14, TotalSoft_GV_2_15, TotalSoft_GV_2_16, TotalSoft_GV_2_17, TotalSoft_GV_2_18, TotalSoft_GV_2_19, TotalSoft_GV_2_20, TotalSoft_GV_2_21, TotalSoft_GV_2_22, TotalSoft_GV_2_23, TotalSoft_GV_2_24, TotalSoft_GV_2_25, TotalSoft_GV_2_26, TotalSoft_GV_2_27, TotalSoft_GV_2_28, TotalSoft_GV_2_29, TotalSoft_GV_2_30, TotalSoft_GV_2_31, TotalSoft_GV_2_32, TotalSoft_GV_2_33, TotalSoft_GV_2_34, TotalSoft_GV_2_35, TotalSoft_GV_2_36, TotalSoft_GV_2_37, TotalSoft_GV_2_38, TotalSoft_GV_2_39) VALUES (%d, %s, %s, %s, %s, %s, %s, %s, %s, %s, %s, %s, %s, %s, %s, %s, %s, %s, %s, %s, %s, %s, %s, %s, %s, %s, %s, %s, %s, %s, %s, %s, %s, %s, %s, %s, %s, %s, %s, %s, %s, %s, %s)", '', $TotalSoftGalleryV_SetNameID[0]->id, 'Fancy Gallery 2', 'Fancy Gallery', 'Abadi MT Condensed Light', '#009491', '3', '30', '#009491', '2', '30', '#009491', 'true', 'false', 'true', 'true', 'Prev', 'Next', '#ffffff', '#000000', '14', 'Arial', '#aaaaaa', '#ffffff', '#000000', '#ffffff', 'solid', 'rgba(0,148,145,0.01)', 'M o r e ...', '', '', 'rgba(0,0,0,0.2)', '', '', '', '', '', '', '', '', '', '', ''));
	}
	$TotalSoftGVEff7Count = $wpdb->get_results($wpdb->prepare("SELECT * FROM $table_name4 WHERE TotalSoftGalleryV_SetType = %s", 'Parallax Engine'));
	if(count($TotalSoftGVEff7Count) == 0)
	{
		$wpdb->query($wpdb->prepare("INSERT INTO $table_name4 (id, TotalSoftGalleryV_SetName, TotalSoftGalleryV_SetType) VALUES (%d, %s, %s)", '', 'Parallax Engine 1', 'Parallax Engine'));

		$TotalSoftGalleryV_SetNameID = $wpdb->get_results($wpdb->prepare("SELECT * FROM $table_name4 WHERE id>%d order by id desc limit 1", 0));

		$wpdb->query($wpdb->prepare("INSERT INTO $table_name4_1 (id, TotalSoftGalleryV_SetID, TotalSoftGalleryV_SetName, TotalSoftGalleryV_SetType, TotalSoft_GV_1_01, TotalSoft_GV_1_02, TotalSoft_GV_1_03, TotalSoft_GV_1_04, TotalSoft_GV_1_05, TotalSoft_GV_1_06, TotalSoft_GV_1_07, TotalSoft_GV_1_08, TotalSoft_GV_1_09, TotalSoft_GV_1_10, TotalSoft_GV_1_11, TotalSoft_GV_1_12, TotalSoft_GV_1_13, TotalSoft_GV_1_14, TotalSoft_GV_1_15, TotalSoft_GV_1_16, TotalSoft_GV_1_17, TotalSoft_GV_1_18, TotalSoft_GV_1_19, TotalSoft_GV_1_20, TotalSoft_GV_1_21, TotalSoft_GV_1_22, TotalSoft_GV_1_23, TotalSoft_GV_1_24, TotalSoft_GV_1_25, TotalSoft_GV_1_26, TotalSoft_GV_1_27, TotalSoft_GV_1_28, TotalSoft_GV_1_29, TotalSoft_GV_1_30, TotalSoft_GV_1_31, TotalSoft_GV_1_32, TotalSoft_GV_1_33, TotalSoft_GV_1_34, TotalSoft_GV_1_35, TotalSoft_GV_1_36, TotalSoft_GV_1_37, TotalSoft_GV_1_38, TotalSoft_GV_1_39) VALUES (%d, %s, %s, %s, %s, %s, %s, %s, %s, %s, %s, %s, %s, %s, %s, %s, %s, %s, %s, %s, %s, %s, %s, %s, %s, %s, %s, %s, %s, %s, %s, %s, %s, %s, %s, %s, %s, %s, %s, %s, %s, %s, %s)", '', $TotalSoftGalleryV_SetNameID[0]->id, 'Parallax Engine 1', 'Parallax Engine', '158', '280', '5', '10', '#ffffff', '1', 'TotalSoft_H_Ef1', '10', '14', 'Abadi MT Condensed Light', '#ffffff', '1', '#ffffff', 'TotalSoft_Title_Ef4', 'true', 'totalsoft totalsoft-play-circle', '20', '#ffffff', 'TotalSoft_HovLine1', 'true', '2', '#ffffff', '10', '#ffffff', 'rgba(255,255,255,0.3)', 'TotalSoft_Hov_Overlay1', 'false', 'rgba(255,255,255,0.39)', '1', 'elastic', '#000000', '10', '#ffffff', '10', '#000000', '#000000', '16', 'Abadi MT Condensed Light', '#ffffff'));
		$wpdb->query($wpdb->prepare("INSERT INTO $table_name4_2 (id, TotalSoftGalleryV_SetID, TotalSoftGalleryV_SetName, TotalSoftGalleryV_SetType, TotalSoft_GV_2_01, TotalSoft_GV_2_02, TotalSoft_GV_2_03, TotalSoft_GV_2_04, TotalSoft_GV_2_05, TotalSoft_GV_2_06, TotalSoft_GV_2_07, TotalSoft_GV_2_08, TotalSoft_GV_2_09, TotalSoft_GV_2_10, TotalSoft_GV_2_11, TotalSoft_GV_2_12, TotalSoft_GV_2_13, TotalSoft_GV_2_14, TotalSoft_GV_2_15, TotalSoft_GV_2_16, TotalSoft_GV_2_17, TotalSoft_GV_2_18, TotalSoft_GV_2_19, TotalSoft_GV_2_20, TotalSoft_GV_2_21, TotalSoft_GV_2_22, TotalSoft_GV_2_23, TotalSoft_GV_2_24, TotalSoft_GV_2_25, TotalSoft_GV_2_26, TotalSoft_GV_2_27, TotalSoft_GV_2_28, TotalSoft_GV_2_29, TotalSoft_GV_2_30, TotalSoft_GV_2_31, TotalSoft_GV_2_32, TotalSoft_GV_2_33, TotalSoft_GV_2_34, TotalSoft_GV_2_35, TotalSoft_GV_2_36, TotalSoft_GV_2_37, TotalSoft_GV_2_38, TotalSoft_GV_2_39) VALUES (%d, %s, %s, %s, %s, %s, %s, %s, %s, %s, %s, %s, %s, %s, %s, %s, %s, %s, %s, %s, %s, %s, %s, %s, %s, %s, %s, %s, %s, %s, %s, %s, %s, %s, %s, %s, %s, %s, %s, %s, %s, %s, %s)", '', $TotalSoftGalleryV_SetNameID[0]->id, 'Parallax Engine 1', 'Parallax Engine', '22', '#ffffff', '1', 'totalsoft totalsoft-times', '1', 'Next', 'Prev', '#ffffff', '#000000', '14', 'Abadi MT Condensed Light', '#c1c1c1', '#000000', '#c1c1c1', '#000000', 'solid', '#ffffff', '', '', 'rgba(0,0,0,0.2)', '', '', '', '', '', '', '', '', '', '', '', '', '', '', '', '', '', '', ''));

		$wpdb->query($wpdb->prepare("INSERT INTO $table_name4 (id, TotalSoftGalleryV_SetName, TotalSoftGalleryV_SetType) VALUES (%d, %s, %s)", '', 'Parallax Engine 2', 'Parallax Engine'));

		$TotalSoftGalleryV_SetNameID = $wpdb->get_results($wpdb->prepare("SELECT * FROM $table_name4 WHERE id>%d order by id desc limit 1", 0));

		$wpdb->query($wpdb->prepare("INSERT INTO $table_name4_1 (id, TotalSoftGalleryV_SetID, TotalSoftGalleryV_SetName, TotalSoftGalleryV_SetType, TotalSoft_GV_1_01, TotalSoft_GV_1_02, TotalSoft_GV_1_03, TotalSoft_GV_1_04, TotalSoft_GV_1_05, TotalSoft_GV_1_06, TotalSoft_GV_1_07, TotalSoft_GV_1_08, TotalSoft_GV_1_09, TotalSoft_GV_1_10, TotalSoft_GV_1_11, TotalSoft_GV_1_12, TotalSoft_GV_1_13, TotalSoft_GV_1_14, TotalSoft_GV_1_15, TotalSoft_GV_1_16, TotalSoft_GV_1_17, TotalSoft_GV_1_18, TotalSoft_GV_1_19, TotalSoft_GV_1_20, TotalSoft_GV_1_21, TotalSoft_GV_1_22, TotalSoft_GV_1_23, TotalSoft_GV_1_24, TotalSoft_GV_1_25, TotalSoft_GV_1_26, TotalSoft_GV_1_27, TotalSoft_GV_1_28, TotalSoft_GV_1_29, TotalSoft_GV_1_30, TotalSoft_GV_1_31, TotalSoft_GV_1_32, TotalSoft_GV_1_33, TotalSoft_GV_1_34, TotalSoft_GV_1_35, TotalSoft_GV_1_36, TotalSoft_GV_1_37, TotalSoft_GV_1_38, TotalSoft_GV_1_39) VALUES (%d, %s, %s, %s, %s, %s, %s, %s, %s, %s, %s, %s, %s, %s, %s, %s, %s, %s, %s, %s, %s, %s, %s, %s, %s, %s, %s, %s, %s, %s, %s, %s, %s, %s, %s, %s, %s, %s, %s, %s, %s, %s, %s)", '', $TotalSoftGalleryV_SetNameID[0]->id, 'Parallax Engine 2', 'Parallax Engine', '158', '280', '0', '10', '#919191', '1', 'TotalSoft_H_Ef3', '10', '18', 'Abadi MT Condensed Light', '#009491', '2', '#000000', 'TotalSoft_Title_Ef1', 'false', 'totalsoft totalsoft-play-circle', '20', '#ffffff', 'TotalSoft_HovLine6', 'true', '2', '#009491', '10', '#ffffff', 'rgba(255,255,255,0.1)', 'TotalSoft_Hov_Overlay5', 'true', '#000000', '1', 'fade', '#000000', '5', '#000000', '10', '#ffffff', '#000000', '16', 'Abadi MT Condensed Light', '#009491'));
		$wpdb->query($wpdb->prepare("INSERT INTO $table_name4_2 (id, TotalSoftGalleryV_SetID, TotalSoftGalleryV_SetName, TotalSoftGalleryV_SetType, TotalSoft_GV_2_01, TotalSoft_GV_2_02, TotalSoft_GV_2_03, TotalSoft_GV_2_04, TotalSoft_GV_2_05, TotalSoft_GV_2_06, TotalSoft_GV_2_07, TotalSoft_GV_2_08, TotalSoft_GV_2_09, TotalSoft_GV_2_10, TotalSoft_GV_2_11, TotalSoft_GV_2_12, TotalSoft_GV_2_13, TotalSoft_GV_2_14, TotalSoft_GV_2_15, TotalSoft_GV_2_16, TotalSoft_GV_2_17, TotalSoft_GV_2_18, TotalSoft_GV_2_19, TotalSoft_GV_2_20, TotalSoft_GV_2_21, TotalSoft_GV_2_22, TotalSoft_GV_2_23, TotalSoft_GV_2_24, TotalSoft_GV_2_25, TotalSoft_GV_2_26, TotalSoft_GV_2_27, TotalSoft_GV_2_28, TotalSoft_GV_2_29, TotalSoft_GV_2_30, TotalSoft_GV_2_31, TotalSoft_GV_2_32, TotalSoft_GV_2_33, TotalSoft_GV_2_34, TotalSoft_GV_2_35, TotalSoft_GV_2_36, TotalSoft_GV_2_37, TotalSoft_GV_2_38, TotalSoft_GV_2_39) VALUES (%d, %s, %s, %s, %s, %s, %s, %s, %s, %s, %s, %s, %s, %s, %s, %s, %s, %s, %s, %s, %s, %s, %s, %s, %s, %s, %s, %s, %s, %s, %s, %s, %s, %s, %s, %s, %s, %s, %s, %s, %s, %s, %s)", '', $TotalSoftGalleryV_SetNameID[0]->id, 'Parallax Engine 2', 'Parallax Engine', '22', '#009491', '2', 'totalsoft totalsoft-times-circle', '1', 'Next', 'Prev', '#009491', '#ffffff', '14', 'Abadi MT Condensed Light', '#ffffff', '#009491', '#ffffff', '#009491', 'solid', '#009491', '', '', 'rgba(0,0,0,0.2)', '', '', '', '', '', '', '', '', '', '', '', '', '', '', '', '', '', '', ''));
	}
	$TotalSoftGVEff8Count = $wpdb->get_results($wpdb->prepare("SELECT * FROM $table_name4 WHERE TotalSoftGalleryV_SetType = %s", 'Classic Gallery'));
	if(count($TotalSoftGVEff8Count) == 0)
	{
		$wpdb->query($wpdb->prepare("INSERT INTO $table_name4 (id, TotalSoftGalleryV_SetName, TotalSoftGalleryV_SetType) VALUES (%d, %s, %s)", '', 'Classic Gallery 1', 'Classic Gallery'));

		$TotalSoftGalleryV_SetNameID = $wpdb->get_results($wpdb->prepare("SELECT * FROM $table_name4 WHERE id>%d order by id desc limit 1", 0));

		$wpdb->query($wpdb->prepare("INSERT INTO $table_name4_1 (id, TotalSoftGalleryV_SetID, TotalSoftGalleryV_SetName, TotalSoftGalleryV_SetType, TotalSoft_GV_1_01, TotalSoft_GV_1_02, TotalSoft_GV_1_03, TotalSoft_GV_1_04, TotalSoft_GV_1_05, TotalSoft_GV_1_06, TotalSoft_GV_1_07, TotalSoft_GV_1_08, TotalSoft_GV_1_09, TotalSoft_GV_1_10, TotalSoft_GV_1_11, TotalSoft_GV_1_12, TotalSoft_GV_1_13, TotalSoft_GV_1_14, TotalSoft_GV_1_15, TotalSoft_GV_1_16, TotalSoft_GV_1_17, TotalSoft_GV_1_18, TotalSoft_GV_1_19, TotalSoft_GV_1_20, TotalSoft_GV_1_21, TotalSoft_GV_1_22, TotalSoft_GV_1_23, TotalSoft_GV_1_24, TotalSoft_GV_1_25, TotalSoft_GV_1_26, TotalSoft_GV_1_27, TotalSoft_GV_1_28, TotalSoft_GV_1_29, TotalSoft_GV_1_30, TotalSoft_GV_1_31, TotalSoft_GV_1_32, TotalSoft_GV_1_33, TotalSoft_GV_1_34, TotalSoft_GV_1_35, TotalSoft_GV_1_36, TotalSoft_GV_1_37, TotalSoft_GV_1_38, TotalSoft_GV_1_39) VALUES (%d, %s, %s, %s, %s, %s, %s, %s, %s, %s, %s, %s, %s, %s, %s, %s, %s, %s, %s, %s, %s, %s, %s, %s, %s, %s, %s, %s, %s, %s, %s, %s, %s, %s, %s, %s, %s, %s, %s, %s, %s, %s, %s)", '', $TotalSoftGalleryV_SetNameID[0]->id, 'Classic Gallery 1', 'Classic Gallery', '2', 'effect01', 'rgba(0,0,0,0.5)', 'rgba(0,0,0,0.5)', 'none', 'rgba(0,0,0,0.7)', '0', '#000000', '16', 'Abadi MT Condensed Light', '#ffffff', 'youtube-play', '#ffffff', '25', '#ffffff', '#ededed', '4', '3', 'true', '17', 'Abadi MT Condensed Light', '#000000', 'center', 'true', '70', '2', 'solid', '#afafaf', 'times-circle', '#000000', '30', '3', '#ededed', '2', 'View More . . .', '#ededed', '#000000', '15', 'Abadi MT Condensed Light'));
		$wpdb->query($wpdb->prepare("INSERT INTO $table_name4_2 (id, TotalSoftGalleryV_SetID, TotalSoftGalleryV_SetName, TotalSoftGalleryV_SetType, TotalSoft_GV_2_01, TotalSoft_GV_2_02, TotalSoft_GV_2_03, TotalSoft_GV_2_04, TotalSoft_GV_2_05, TotalSoft_GV_2_06, TotalSoft_GV_2_07, TotalSoft_GV_2_08, TotalSoft_GV_2_09, TotalSoft_GV_2_10, TotalSoft_GV_2_11, TotalSoft_GV_2_12, TotalSoft_GV_2_13, TotalSoft_GV_2_14, TotalSoft_GV_2_15, TotalSoft_GV_2_16, TotalSoft_GV_2_17, TotalSoft_GV_2_18, TotalSoft_GV_2_19, TotalSoft_GV_2_20, TotalSoft_GV_2_21, TotalSoft_GV_2_22, TotalSoft_GV_2_23, TotalSoft_GV_2_24, TotalSoft_GV_2_25, TotalSoft_GV_2_26, TotalSoft_GV_2_27, TotalSoft_GV_2_28, TotalSoft_GV_2_29, TotalSoft_GV_2_30, TotalSoft_GV_2_31, TotalSoft_GV_2_32, TotalSoft_GV_2_33, TotalSoft_GV_2_34, TotalSoft_GV_2_35, TotalSoft_GV_2_36, TotalSoft_GV_2_37, TotalSoft_GV_2_38, TotalSoft_GV_2_39) VALUES (%d, %s, %s, %s, %s, %s, %s, %s, %s, %s, %s, %s, %s, %s, %s, %s, %s, %s, %s, %s, %s, %s, %s, %s, %s, %s, %s, %s, %s, %s, %s, %s, %s, %s, %s, %s, %s, %s, %s, %s, %s, %s, %s)", '', $TotalSoftGalleryV_SetNameID[0]->id, 'Classic Gallery 1', 'Classic Gallery', '#ededed', '#000000', 'link', '17', '#5b5b5b', 'After', 'rgba(0,0,0,0.5)', '#ffffff', '17', '#000000', '#ffffff', '#000000', '#ffffff', 'style05', '#000000', 'chevron', 'long-arrow-down', 'Before', '', '', 'rgba(0,0,0,0.2)', '', '', '', '', '', '', '', '', '', '', '', '', '', '', '', '', '', ''));

		$wpdb->query($wpdb->prepare("INSERT INTO $table_name4 (id, TotalSoftGalleryV_SetName, TotalSoftGalleryV_SetType) VALUES (%d, %s, %s)", '', 'Classic Gallery 2', 'Classic Gallery'));

		$TotalSoftGalleryV_SetNameID = $wpdb->get_results($wpdb->prepare("SELECT * FROM $table_name4 WHERE id>%d order by id desc limit 1", 0));

		$wpdb->query($wpdb->prepare("INSERT INTO $table_name4_1 (id, TotalSoftGalleryV_SetID, TotalSoftGalleryV_SetName, TotalSoftGalleryV_SetType, TotalSoft_GV_1_01, TotalSoft_GV_1_02, TotalSoft_GV_1_03, TotalSoft_GV_1_04, TotalSoft_GV_1_05, TotalSoft_GV_1_06, TotalSoft_GV_1_07, TotalSoft_GV_1_08, TotalSoft_GV_1_09, TotalSoft_GV_1_10, TotalSoft_GV_1_11, TotalSoft_GV_1_12, TotalSoft_GV_1_13, TotalSoft_GV_1_14, TotalSoft_GV_1_15, TotalSoft_GV_1_16, TotalSoft_GV_1_17, TotalSoft_GV_1_18, TotalSoft_GV_1_19, TotalSoft_GV_1_20, TotalSoft_GV_1_21, TotalSoft_GV_1_22, TotalSoft_GV_1_23, TotalSoft_GV_1_24, TotalSoft_GV_1_25, TotalSoft_GV_1_26, TotalSoft_GV_1_27, TotalSoft_GV_1_28, TotalSoft_GV_1_29, TotalSoft_GV_1_30, TotalSoft_GV_1_31, TotalSoft_GV_1_32, TotalSoft_GV_1_33, TotalSoft_GV_1_34, TotalSoft_GV_1_35, TotalSoft_GV_1_36, TotalSoft_GV_1_37, TotalSoft_GV_1_38, TotalSoft_GV_1_39) VALUES (%d, %s, %s, %s, %s, %s, %s, %s, %s, %s, %s, %s, %s, %s, %s, %s, %s, %s, %s, %s, %s, %s, %s, %s, %s, %s, %s, %s, %s, %s, %s, %s, %s, %s, %s, %s, %s, %s, %s, %s, %s, %s, %s)", '', $TotalSoftGalleryV_SetNameID[0]->id, 'Classic Gallery 2', 'Classic Gallery', '2', 'effect05', 'rgba(30,115,190,0.12)', '#ffffff', 'none', 'rgba(0,0,0,0.7)', '0', '#000000', '16', 'Abadi MT Condensed Light', '#ffffff', 'youtube-play', '#ffffff', '25', '#ffffff', '#ededed', '0', '0', 'true', '17', 'Abadi MT Condensed Light', '#000000', 'center', 'true', '100', '2', 'solid', '#ededed', 'times-circle', '#1e73be', '30', '0', '#ededed', '15', 'View More . . .', '#1e73be', '#ffffff', '15', 'Abadi MT Condensed Light'));
		$wpdb->query($wpdb->prepare("INSERT INTO $table_name4_2 (id, TotalSoftGalleryV_SetID, TotalSoftGalleryV_SetName, TotalSoftGalleryV_SetType, TotalSoft_GV_2_01, TotalSoft_GV_2_02, TotalSoft_GV_2_03, TotalSoft_GV_2_04, TotalSoft_GV_2_05, TotalSoft_GV_2_06, TotalSoft_GV_2_07, TotalSoft_GV_2_08, TotalSoft_GV_2_09, TotalSoft_GV_2_10, TotalSoft_GV_2_11, TotalSoft_GV_2_12, TotalSoft_GV_2_13, TotalSoft_GV_2_14, TotalSoft_GV_2_15, TotalSoft_GV_2_16, TotalSoft_GV_2_17, TotalSoft_GV_2_18, TotalSoft_GV_2_19, TotalSoft_GV_2_20, TotalSoft_GV_2_21, TotalSoft_GV_2_22, TotalSoft_GV_2_23, TotalSoft_GV_2_24, TotalSoft_GV_2_25, TotalSoft_GV_2_26, TotalSoft_GV_2_27, TotalSoft_GV_2_28, TotalSoft_GV_2_29, TotalSoft_GV_2_30, TotalSoft_GV_2_31, TotalSoft_GV_2_32, TotalSoft_GV_2_33, TotalSoft_GV_2_34, TotalSoft_GV_2_35, TotalSoft_GV_2_36, TotalSoft_GV_2_37, TotalSoft_GV_2_38, TotalSoft_GV_2_39) VALUES (%d, %s, %s, %s, %s, %s, %s, %s, %s, %s, %s, %s, %s, %s, %s, %s, %s, %s, %s, %s, %s, %s, %s, %s, %s, %s, %s, %s, %s, %s, %s, %s, %s, %s, %s, %s, %s, %s, %s, %s, %s, %s, %s)", '', $TotalSoftGalleryV_SetNameID[0]->id, 'Classic Gallery 2', 'Classic Gallery', '#0066bf', '#ffffff', 'none', '17', '#5b5b5b', 'After', 'rgba(255,255,255,0.3)', '#1e73be', '17', '#1e73be', '#ffffff', '#1e73be', '#ffffff', 'style01', 'rgba(255,255,255,0.03)', 'long-arrow', 'long-arrow-down', 'Before', '', '', 'rgba(0,0,0,0.2)', '', '', '', '', '', '', '', '', '', '', '', '', '', '', '', '', '', ''));
	}
	$TotalSoftGVEff9Count = $wpdb->get_results($wpdb->prepare("SELECT * FROM $table_name4 WHERE TotalSoftGalleryV_SetType = %s", 'Space Gallery'));
	if(count($TotalSoftGVEff9Count) == 0)
	{
		$wpdb->query($wpdb->prepare("INSERT INTO $table_name4 (id, TotalSoftGalleryV_SetName, TotalSoftGalleryV_SetType) VALUES (%d, %s, %s)", '', 'Space Gallery 1', 'Space Gallery'));

		$TotalSoftGalleryV_SetNameID = $wpdb->get_results($wpdb->prepare("SELECT * FROM $table_name4 WHERE id>%d order by id desc limit 1", 0));

		$wpdb->query($wpdb->prepare("INSERT INTO $table_name4_1 (id, TotalSoftGalleryV_SetID, TotalSoftGalleryV_SetName, TotalSoftGalleryV_SetType, TotalSoft_GV_1_01, TotalSoft_GV_1_02, TotalSoft_GV_1_03, TotalSoft_GV_1_04, TotalSoft_GV_1_05, TotalSoft_GV_1_06, TotalSoft_GV_1_07, TotalSoft_GV_1_08, TotalSoft_GV_1_09, TotalSoft_GV_1_10, TotalSoft_GV_1_11, TotalSoft_GV_1_12, TotalSoft_GV_1_13, TotalSoft_GV_1_14, TotalSoft_GV_1_15, TotalSoft_GV_1_16, TotalSoft_GV_1_17, TotalSoft_GV_1_18, TotalSoft_GV_1_19, TotalSoft_GV_1_20, TotalSoft_GV_1_21, TotalSoft_GV_1_22, TotalSoft_GV_1_23, TotalSoft_GV_1_24, TotalSoft_GV_1_25, TotalSoft_GV_1_26, TotalSoft_GV_1_27, TotalSoft_GV_1_28, TotalSoft_GV_1_29, TotalSoft_GV_1_30, TotalSoft_GV_1_31, TotalSoft_GV_1_32, TotalSoft_GV_1_33, TotalSoft_GV_1_34, TotalSoft_GV_1_35, TotalSoft_GV_1_36, TotalSoft_GV_1_37, TotalSoft_GV_1_38, TotalSoft_GV_1_39) VALUES (%d, %s, %s, %s, %s, %s, %s, %s, %s, %s, %s, %s, %s, %s, %s, %s, %s, %s, %s, %s, %s, %s, %s, %s, %s, %s, %s, %s, %s, %s, %s, %s, %s, %s, %s, %s, %s, %s, %s, %s, %s, %s, %s)", '', $TotalSoftGalleryV_SetNameID[0]->id, 'Space Gallery 1', 'Space Gallery', 'animno', '3', '10', '16', 'Abadi MT Condensed Light', 'center', '#000000', 'gradient2', 'rgba(255,255,255,0.1)', '#ffffff', '', '#dbdbdb', '', 'View More', '#f4f4f4', '#898989', 'Abadi MT Condensed Light', '16', 'effect03', '#ffffff', '#000000', 'camera-retro', '18', 'after', '0', '#000000', '#ffffff', '16', 'Abadi MT Condensed Light', '#000000', '80', '1', '#e0e0e0', '', '', '', '', '', ''));
		$wpdb->query($wpdb->prepare("INSERT INTO $table_name4_2 (id, TotalSoftGalleryV_SetID, TotalSoftGalleryV_SetName, TotalSoftGalleryV_SetType, TotalSoft_GV_2_01, TotalSoft_GV_2_02, TotalSoft_GV_2_03, TotalSoft_GV_2_04, TotalSoft_GV_2_05, TotalSoft_GV_2_06, TotalSoft_GV_2_07, TotalSoft_GV_2_08, TotalSoft_GV_2_09, TotalSoft_GV_2_10, TotalSoft_GV_2_11, TotalSoft_GV_2_12, TotalSoft_GV_2_13, TotalSoft_GV_2_14, TotalSoft_GV_2_15, TotalSoft_GV_2_16, TotalSoft_GV_2_17, TotalSoft_GV_2_18, TotalSoft_GV_2_19, TotalSoft_GV_2_20, TotalSoft_GV_2_21, TotalSoft_GV_2_22, TotalSoft_GV_2_23, TotalSoft_GV_2_24, TotalSoft_GV_2_25, TotalSoft_GV_2_26, TotalSoft_GV_2_27, TotalSoft_GV_2_28, TotalSoft_GV_2_29, TotalSoft_GV_2_30, TotalSoft_GV_2_31, TotalSoft_GV_2_32, TotalSoft_GV_2_33, TotalSoft_GV_2_34, TotalSoft_GV_2_35, TotalSoft_GV_2_36, TotalSoft_GV_2_37, TotalSoft_GV_2_38, TotalSoft_GV_2_39) VALUES (%d, %s, %s, %s, %s, %s, %s, %s, %s, %s, %s, %s, %s, %s, %s, %s, %s, %s, %s, %s, %s, %s, %s, %s, %s, %s, %s, %s, %s, %s, %s, %s, %s, %s, %s, %s, %s, %s, %s, %s, %s, %s, %s)", '', $TotalSoftGalleryV_SetNameID[0]->id, 'Space Gallery 1', 'Space Gallery', 'center', '1', '#939393', '20', 'View More . . .', '#ffffff', '#939393', 'afterdesc', 'full', 'Abadi MT Condensed Light', '15', '#ffffff', '#000000', 'external-link-square', '15', '#939393', '#000000', 'after', 'times-circle', '32', '#ffffff', 'style01', '16', '#ffffff', '#b5b5b5', '#b5b5b5', '#ffffff', '#b5b5b5', '#ffffff', '#b5b5b5', 'long-arrow', 'spinner', 'After', '', 'rgba(0,0,0,0.2)', '', '', '', ''));

		$wpdb->query($wpdb->prepare("INSERT INTO $table_name4 (id, TotalSoftGalleryV_SetName, TotalSoftGalleryV_SetType) VALUES (%d, %s, %s)", '', 'Space Gallery 2', 'Space Gallery'));

		$TotalSoftGalleryV_SetNameID = $wpdb->get_results($wpdb->prepare("SELECT * FROM $table_name4 WHERE id>%d order by id desc limit 1", 0));

		$wpdb->query($wpdb->prepare("INSERT INTO $table_name4_1 (id, TotalSoftGalleryV_SetID, TotalSoftGalleryV_SetName, TotalSoftGalleryV_SetType, TotalSoft_GV_1_01, TotalSoft_GV_1_02, TotalSoft_GV_1_03, TotalSoft_GV_1_04, TotalSoft_GV_1_05, TotalSoft_GV_1_06, TotalSoft_GV_1_07, TotalSoft_GV_1_08, TotalSoft_GV_1_09, TotalSoft_GV_1_10, TotalSoft_GV_1_11, TotalSoft_GV_1_12, TotalSoft_GV_1_13, TotalSoft_GV_1_14, TotalSoft_GV_1_15, TotalSoft_GV_1_16, TotalSoft_GV_1_17, TotalSoft_GV_1_18, TotalSoft_GV_1_19, TotalSoft_GV_1_20, TotalSoft_GV_1_21, TotalSoft_GV_1_22, TotalSoft_GV_1_23, TotalSoft_GV_1_24, TotalSoft_GV_1_25, TotalSoft_GV_1_26, TotalSoft_GV_1_27, TotalSoft_GV_1_28, TotalSoft_GV_1_29, TotalSoft_GV_1_30, TotalSoft_GV_1_31, TotalSoft_GV_1_32, TotalSoft_GV_1_33, TotalSoft_GV_1_34, TotalSoft_GV_1_35, TotalSoft_GV_1_36, TotalSoft_GV_1_37, TotalSoft_GV_1_38, TotalSoft_GV_1_39) VALUES (%d, %s, %s, %s, %s, %s, %s, %s, %s, %s, %s, %s, %s, %s, %s, %s, %s, %s, %s, %s, %s, %s, %s, %s, %s, %s, %s, %s, %s, %s, %s, %s, %s, %s, %s, %s, %s, %s, %s, %s, %s, %s, %s)", '', $TotalSoftGalleryV_SetNameID[0]->id, 'Space Gallery 2', 'Space Gallery', 'animno', '3', '10', '16', 'Abadi MT Condensed Light', 'center', '#ffffff', 'color', '#ff0000', '#ffffff', '', '#dddddd', '', 'View More', 'rgba(255,255,255,0)', '#8c8c8c', 'Abadi MT Condensed Light', '16', 'effect09', 'rgba(255,255,255,0.89)', '#8c8c8c', 'film', '18', 'after', '10', '#ffffff', '#e5e5e5', '16', 'Abadi MT Condensed Light', '#000000', '80', '1', '#e0e0e0', '', '', '', '', '', ''));
		$wpdb->query($wpdb->prepare("INSERT INTO $table_name4_2 (id, TotalSoftGalleryV_SetID, TotalSoftGalleryV_SetName, TotalSoftGalleryV_SetType, TotalSoft_GV_2_01, TotalSoft_GV_2_02, TotalSoft_GV_2_03, TotalSoft_GV_2_04, TotalSoft_GV_2_05, TotalSoft_GV_2_06, TotalSoft_GV_2_07, TotalSoft_GV_2_08, TotalSoft_GV_2_09, TotalSoft_GV_2_10, TotalSoft_GV_2_11, TotalSoft_GV_2_12, TotalSoft_GV_2_13, TotalSoft_GV_2_14, TotalSoft_GV_2_15, TotalSoft_GV_2_16, TotalSoft_GV_2_17, TotalSoft_GV_2_18, TotalSoft_GV_2_19, TotalSoft_GV_2_20, TotalSoft_GV_2_21, TotalSoft_GV_2_22, TotalSoft_GV_2_23, TotalSoft_GV_2_24, TotalSoft_GV_2_25, TotalSoft_GV_2_26, TotalSoft_GV_2_27, TotalSoft_GV_2_28, TotalSoft_GV_2_29, TotalSoft_GV_2_30, TotalSoft_GV_2_31, TotalSoft_GV_2_32, TotalSoft_GV_2_33, TotalSoft_GV_2_34, TotalSoft_GV_2_35, TotalSoft_GV_2_36, TotalSoft_GV_2_37, TotalSoft_GV_2_38, TotalSoft_GV_2_39) VALUES (%d, %s, %s, %s, %s, %s, %s, %s, %s, %s, %s, %s, %s, %s, %s, %s, %s, %s, %s, %s, %s, %s, %s, %s, %s, %s, %s, %s, %s, %s, %s, %s, %s, %s, %s, %s, %s, %s, %s, %s, %s, %s, %s)", '', $TotalSoftGalleryV_SetNameID[0]->id, 'Space Gallery 2', 'Space Gallery', 'center', '1', '#939393', '0', 'View More . . .', '#ffffff', '#939393', 'afterdesc', 'right', 'Abadi MT Condensed Light', '15', '#ffffff', '#000000', 'external-link-square', '15', '#939393', '#000000', 'after', 'times-circle', '32', '#000000', 'style02', '16', '#ffffff', '#b5b5b5', '#b5b5b5', '#ffffff', '#b5b5b5', '#ffffff', '#b5b5b5', 'long-arrow', 'spinner', 'After', '', 'rgba(0,0,0,0.2)', '', '', '', ''));
	}
?>