<?php
  	$homepage_import = !empty($_POST['homepage_import'])? $_POST['homepage_import']:'';
 	
	$import = array(
		'blog_image'			=> 'blog_image.xml',
		'blog'					=> 'blog.xml',
		'game'					=> 'game.xml',
		'game_image'			=> 'game_image.xml',
		'game_page'			=> 'game_page.xml',
		
		'cat_image'				=> 'product/cat_image.xml',
		'product_image'			=> 'product/product_image.xml',
		
		'cat'					=> 'product/cat.xml',
 		'product_1'				=> 'product/product_1.xml',
 		'product_2'				=> 'product/product_2.xml',
 		'product_page'				=> 'product/product_page.xml',
 

		'about_image'				=> 'about_image.xml',
		'contactform'				=> 'contactform.xml',
 		
		'slider_image_1'			=> 'slider/slider_image_1.xml',
		'slider_image_2'			=> 'slider/slider_image_2.xml',
		'slider_image_3'			=> 'slider/slider_image_3.xml',
		'slider_image_4'			=> 'slider/slider_image_4.xml',
		'slider_image_5'			=> 'slider/slider_image_5.xml',
		'slider_image_6'			=> 'slider/slider_image_6.xml',
		'slider_image_7'			=> 'slider/slider_image_7.xml',
		'slider_image_8'			=> 'slider/slider_image_8.xml',
		'slider_image_9'			=> 'slider/slider_image_9.xml',
		'slider_image_10'			=> 'slider/slider_image_10.xml',
		'slider_image_11'			=> 'slider/slider_image_11.xml',
		'slider_image_12'			=> 'slider/slider_image_12.xml',
 
		'slider_homepage_1'			=> 'slider/slider_homepage_1.xml',
		'slider_homepage_2'			=> 'slider/slider_homepage_2.xml',
		'slider_homepage_3'			=> 'slider/slider_homepage_3.xml',
		'slider_homepage_4'			=> 'slider/slider_homepage_4.xml',
		'slider_homepage_5'			=> 'slider/slider_homepage_5.xml',
		'slider_homepage_6'			=> 'slider/slider_homepage_6.xml',
		'slider_homepage_7'			=> 'slider/slider_homepage_7.xml',
		'slider_homepage_8'			=> 'slider/slider_homepage_8.xml',
		'slider_homepage_9'			=> 'slider/slider_homepage_9.xml',
		'slider_homepage_10'		=> 'slider/slider_homepage_10.xml',
		'slider_homepage_11'		=> 'slider/slider_homepage_11.xml',
		'slider_homepage_12'		=> 'slider/slider_homepage_12.xml',
   
 
		 
  		'header_homepage_1'			=> 'header/header_homepage_1.xml',	
 		'header_homepage_2'			=> 'header/header_homepage_2.xml',	
 		'header_homepage_3'			=> 'header/header_homepage_3.xml',	
 		'header_homepage_4'			=> 'header/header_homepage_4.xml',	
 		'header_homepage_5'			=> 'header/header_homepage_5.xml',	
 		'header_homepage_6'			=> 'header/header_homepage_6.xml',	
 		'header_homepage_7'			=> 'header/header_homepage_7.xml',	
 		'header_homepage_8'			=> 'header/header_homepage_8.xml',	
 		'header_homepage_9'			=> 'header/header_homepage_9.xml',	
 		'header_homepage_10'			=> 'header/header_homepage_10.xml',	
 		'header_homepage_11'			=> 'header/header_homepage_11.xml',	
 		'header_homepage_12'			=> 'header/header_homepage_12.xml',	
 
 
 		'page_image'				=> 'page/page_image.xml',
  		'page_homepage_1'			=> 'page/page_homepage_1.xml',	
  		'page_homepage_2'			=> 'page/page_homepage_2.xml',	
  		'page_homepage_3'			=> 'page/page_homepage_3.xml',	
  		'page_homepage_4'			=> 'page/page_homepage_4.xml',	
  		'page_homepage_5'			=> 'page/page_homepage_5.xml',	
  		'page_homepage_6'			=> 'page/page_homepage_6.xml',	
  		'page_homepage_7'			=> 'page/page_homepage_7.xml',	
  		'page_homepage_8'			=> 'page/page_homepage_8.xml',	
  		'page_homepage_9'			=> 'page/page_homepage_9.xml',	
  		'page_homepage_10'			=> 'page/page_homepage_10.xml',	
  		'page_homepage_11'			=> 'page/page_homepage_11.xml',	
  		'page_homepage_12'			=> 'page/page_homepage_12.xml',	
 
 	);
	 
	if(!empty($import[$homepage_import])){
  	  $file = bazinews_DI_IMPORTER_CONTENT_DIR . 'xml/'.$import[$homepage_import].'';
	}
	 
	
	
	
	 