"compex", "url" => $domain . "/theme/preview/compex/", "preview" => $domain . "/assets/screen/compex.jpg", "type" => "Corporate", "type_color" => "ec6334", "ddn" => $domain . "/theme/compex" . $ref, ), array("id" => "booland", "url" => $domain . "/theme/preview/booland/", "preview" => $domain . "/assets/screen/booland.jpg", "type" => "Landing page", "type_color" => "ec6334", "ddn" => $domain . "/theme/booland" . $ref, ), array("id" => "boolancer", "url" => $domain . "/theme/preview/boolancer/index.html", "preview" => $domain . "/assets/screen/boolancer.jpg", "type" => "Profile/Portfolio", "type_color" => "288aad", "ddn" => $domain . "/theme/boolancer" . $ref, ), array("id" => "boowebinar", "url" => $domain . "/theme/preview/boowebinar/index.html", "preview" => $domain . "/assets/screen/boowebinar.jpg", "type" => "Landing page", "type_color" => "ec6334", "ddn" => $domain . "/theme/boowebinar" . $ref, ), array("id" => "booconstruct", "url" => $domain . "/theme/preview/booconstruct/underconstruction.php", "preview" => $domain . "/assets/screen/booconstruct.jpg", "type" => "Under Construction", "type_color" => "ec6334", "ddn" => $domain . "/theme/booconstruct" . $ref, ), array("id" => "boocompania", "url" => $domain . "/theme/preview/boocompania/", "preview" => $domain . "/assets/screen/boocompania.jpg", "type" => "Corporate", "type_color" => "ec6334", "ddn" => $domain . "/theme/boocompania" . $ref, ), array("id" => "boocorpo", "url" => $domain . "/theme/preview/boocorpo/", "preview" => $domain . "/assets/screen/boocorpo.jpg", "type" => "Corporate", "type_color" => "ec6334", "ddn" => $domain . "/theme/boocorpo" . $ref, ), array("id" => "boofreelancer", "url" => $domain . "/theme/preview/boofreelancer/", "preview" => $domain . "/assets/screen/boofreelancer.jpg", "type" => "Profile/Portfolio", "type_color" => "288aad", "ddn" => $domain . "/theme/boofreelancer" . $ref, ), array("id" => "boolancee", "url" => $domain . "/theme/preview/boolancee/", "preview" => $domain . "/assets/screen/boolancee.jpg", "type" => "Profile/Portfolio", "type_color" => "288aad", "ddn" => $domain . "/theme/boolancee" . $ref, ), array("id" => "appwave", "url" => $domain . "/theme/preview/appwave/", "preview" => $domain . "/assets/screen/appwave.jpg", "type" => "Landing", "type_color" => "288aad", "ddn" => $domain . "/theme/appwave" . $ref, ), /*array("id" => "Boo-UnderConstruction-Alpha", "url" => "http://www.bootstrapocean.loc/theme/preview/boo-underconstruction-alpha/underconstruction.php", "preview" => "http://www.bootstrapocean.com/assets/screen/boo-underconstruction-alpha.png", "type" => "UnderC", "type_color" => "ec6334", "ddn" => "http://www.bootstrapocean.com/theme/boo-underconstruction-alpha?ref=preview" ), array("id" => "Boo-UnderConstruction-Beta", "url" => "http://www.bootstrapocean.com/theme/preview/boo-underconstruction-beta/underconstruction.php", "preview" => "http://www.bootstrapocean.com/assets/screen/boo-underconstruction-beta.png", "type" => "UnderC", "type_color" => "ec6334", "ddn" => "http://www.bootstrapocean.com/theme/boo-underconstruction-beta?ref=preview" ),*/ /*array("id" => "Shopen-WP", "url" => "http://designingmedia.com/wordpress/shopen/", "preview" => "http://designingmedia.com/html/fbar/screen/shopen-wordpress.png", "type" => "WordPress", "type_color" => "288aad", "ddn" => "http://themeforest.net/item/shopen-responsive-woocommerce-wordpress-theme/6125337?ref=designingmedia" ), array("id" => "Magfolio", "url" => "http://designingmedia.com/html/magfolio/", "preview" => "http://designingmedia.com/html/fbar/screen/magfolio.png", "type" => "HTML5", "type_color" => "ec6334", "ddn" => "http://themeforest.net/item/magfolio-responsive-magazine-blog-site-template/5869866?ref=designingmedia" ), array("id" => "Magfolio-WP", "url" => "http://designingmedia.com/wordpress/magfolio/", "preview" => "http://designingmedia.com/html/fbar/screen/magfolio-wordpress.png", "type" => "WordPress", "type_color" => "288aad", "ddn" => "http://themeforest.net/item/magfolio-wp-woocommerce-portfolio-blog-theme/5938719?ref=designingmedia" ), array("id" => "Bistro", "url" => "http://designingmedia.com/html/bistro/", "preview" => "http://designingmedia.com/html/fbar/screen/bistro.png", "type" => "HTML5", "type_color" => "ec6334", "ddn" => "http://themeforest.net/item/bistro-store-responsive-ecommerce-template/5020751?ref=designingmedia" ), array("id" => "Bistro-WP", "url" => "http://www.titleto.com/demo/bistro/wp/", "preview" => "http://designingmedia.com/html/fbar/screen/bistro-wordpress.png", "type" => "WordPress", "type_color" => "288aad", "ddn" => "http://themeforest.net/item/bistro-store-ecommerce-wordpress-theme-/5534797?ref=designingmedia" ), array("id" => "Aplus", "url" => "http://designingmedia.com/html/aplus/", "preview" => "http://designingmedia.com/html/fbar/screen/aplus.png", "type" => "HTML5", "type_color" => "ec6334", "ddn" => "http://themeforest.net/item/aplus-multi-purpose-html5-website-template/5157081?ref=designingmedia" ), array("id" => "Aplus-Joomla", "url" => "http://demo.shinetheme.com/aplus/", "preview" => "http://designingmedia.com/html/fbar/screen/aplus-joomla.png", "type" => "Joomla", "type_color" => "f2b600", "ddn" => "http://themeforest.net/item/aplus-responsive-multipurpose-joomla-template/6118332?ref=designingmedia" ), array("id" => "FSwit", "url" => "http://designingmedia.com/html/fswit/", "preview" => "http://designingmedia.com/html/fbar/screen/fswit.png", "type" => "jQuery", "type_color" => "0f1c2e", "ddn" => "http://codecanyon.net/item/fswit-jquery-style-switcher/5069105?ref=designingmedia" ),*/ ); if (!$redirect) : ## get current theme data foreach ($theme_array as $i => $theme) : if ($theme['id'] == $current_theme) : $current_theme_name = ucfirst($theme['id']); $current_theme_url = $theme['url']; $current_theme_purchase_url = $theme['ddn']; $current_theme_info = '/theme/' . $theme['id']; $theme_found = true; endif; endforeach; if ($theme_found == false) : $current_theme_name = $theme_array[0]['id']; $current_theme_url = $theme_array[0]['url']; $current_theme_purchase_url = $theme_array[0]['ddn']; endif; ?>