<div class="block ui-tabs-panel deactive" id="option-ui-id-2" >	
	<?php $current_options = get_option('wallstreet_lite_options');
	if(isset($_POST['webriti_settings_save_2']))
	{	
		if($_POST['webriti_settings_save_2'] == 1) 
		{
			if ( empty($_POST) || !wp_verify_nonce($_POST['webriti_gernalsetting_nonce_customization'],'webriti_customization_nonce_gernalsetting') )
			{  print 'Sorry, your nonce did not verify.';	exit; }
			else  
			{	
				$current_options['slider_title_one']= sanitize_text_field($_POST['slider_title_one']);
				$current_options['slider_title_two']= sanitize_text_field($_POST['slider_title_two']);
				$current_options['slider_description']= sanitize_text_field($_POST['slider_description']);
				$current_options['slider_image']= sanitize_text_field($_POST['slider_image']);
				// slider section enabled yes ya on
				if(isset($_POST['home_banner_enabled']))
				{ echo $current_options['home_banner_enabled']= sanitize_text_field($_POST['home_banner_enabled']); } 
				else { echo $current_options['home_banner_enabled']="off"; } 
				
				update_option('wallstreet_lite_options', stripslashes_deep($current_options));
			}
		}	
		if($_POST['webriti_settings_save_2'] == 2) 
		{
			$slider_image = WEBRITI_TEMPLATE_DIR_URI . "/images/slider.jpg";
			$current_options['home_banner_enabled']="on";
			$current_options['slider_title_one']= __('Clean & Fresh Theme','wallstreet');
			$current_options['slider_title_two']= __('Welcome To Wallstreet','wallstreet');
			$current_options['slider_description']= __('The state-of-the-art HTML5 powered flexible layout with lightspeed fast CSS3 transition effects. Works perfect in any modern mobile...','wallstreet');
			$current_options['slider_image']= $slider_image;
			update_option('wallstreet_lite_options',$current_options);
		}
	}  ?>
	<form method="post" id="webriti_theme_options_2">
		<div id="heading">
			<table style="width:100%;"><tr>
				<td><h2><?php _e('Home Feature Image Setting','wallstreet');?></h2></td>
				<td><div class="webriti_settings_loding" id="webriti_loding_2_image"></div>
					<div class="webriti_settings_massage" id="webriti_settings_save_2_success" ><?php _e('Options data successfully Saved','wallstreet');?></div>
					<div class="webriti_settings_massage" id="webriti_settings_save_2_reset" ><?php _e('Options data successfully reset','wallstreet');?></div>
				</td>
				<td style="text-align:right;">
					<input class="reset-button btn" type="button" name="reset" value="<?php _e('Restore Defaults','wallstreet');?>" onclick="webriti_option_data_reset('2');">
					<input class="btn btn-primary" type="button" value="<?php _e('Save Options','wallstreet');?>" onclick="webriti_option_data_save('2')" >
				</td>
				</tr>
			</table>	
		</div>		
		<?php wp_nonce_field('webriti_customization_nonce_gernalsetting','webriti_gernalsetting_nonce_customization'); ?>
		<div class="section">
			<h3><?php _e('Enable Home Banner','wallstreet'); ?>  </h3>
			<input type="checkbox" <?php if($current_options['home_banner_enabled']=='on') echo "checked='checked'"; ?> id="home_banner_enabled" name="home_banner_enabled" >
			<span class="explain"><?php _e('Enable Home Banner on front page.','wallstreet'); ?></span>
		</div>
		<div class="section">
			<h3><?php _e('Slider Title One','wallstreet'); ?></h3>
			<input class="webriti_inpute"  type="text" name="slider_title_one" id="slider_title_one" value="<?php if($current_options['slider_title_one']!='') { echo esc_attr( $current_options['slider_title_one'] ); } ?>" >
			<span class="explain"><?php _e('Enter the slider title one.','wallstreet'); ?></span>
		</div>
		<div class="section">
			<h3><?php _e('Slider Title Two','wallstreet'); ?></h3>
			<input class="webriti_inpute"  type="text" name="slider_title_two" id="slider_title_two" value="<?php if($current_options['slider_title_two']!='') { echo esc_attr( $current_options['slider_title_two'] ); } ?>" >
			<span class="explain"><?php _e('Enter the slider title two.','wallstreet'); ?></span>
		</div>
		<div class="section">
			<h3><?php _e('Slider Description','wallstreet'); ?></h3>
			<input class="webriti_inpute"  type="text" name="slider_description" id="slider_description" value="<?php if($current_options['slider_description']!='') { echo esc_attr( $current_options['slider_description'] ); } ?>" >
			<span class="explain"><?php _e('Enter the slider description.','wallstreet'); ?></span>
		</div>
		<div class="section">
			<h3><?php _e('Home Feature Image','wallstreet'); ?>
				<span class="icons help"><span class="tooltip"><?php  _e('Add a image with size of 1600 X 750 px. ','wallstreet');?></span></span>
			</h3>
			<input class="webriti_inpute" type="text" value="<?php if($current_options['slider_image']!='') { echo esc_attr($current_options['slider_image']); } ?>" id="slider_image" name="slider_image" size="36" class="upload has-file"/>
			<input type="button" id="upload_button" value="Upload Slider Image" class="upload_image_button" />
		</div>

		<div id="button_section">
			<input type="hidden" value="1" id="webriti_settings_save_2" name="webriti_settings_save_2" />
			<input class="reset-button btn" type="button" name="reset" value="<?php _e('Restore Defaults','wallstreet');?>" onclick="webriti_option_data_reset('2');">
			<input class="btn btn-primary" type="button" value="<?php _e('Save Options','wallstreet');?>" onclick="webriti_option_data_save('2')" >
		</div>
	</form>
</div>
