<?php

td_api_ad::helper_display_ads();

?>

<!-- Modal Video Popup -->
<?php echo td_panel_generator::box_start(__('Modal Video Popup', TD_THEME_NAME), false); ?>
<div class="td-box-row">
	<div class="td-box-description">
		<span class="td-box-title"><?php _e('Ad code:', TD_THEME_NAME); ?></span>
		<p><?php _e('Paste your ad code here.', TD_THEME_NAME); ?></p>
	</div>
	<div class="td-box-control-full">
		<?php
		echo td_panel_generator::textarea(array(
			'ds' => 'td_option',
			'option_id' => 'tds_modal_video_ad'
		));
		?>
	</div>
</div>

<!-- A title for the Ad-->
<div class="td-box-row">
	<div class="td-box-description">
		<span class="td-box-title"><?php _e('AD title:', TD_THEME_NAME); ?></span>

		<p><?php _e('A title for the Ad, like - <strong>Advertisement</strong>.', TD_THEME_NAME); ?></p>
	</div>
	<div class="td-box-control-full">
		<?php
		echo td_panel_generator::input( array(
			'ds'        => 'td_option',
			'option_id' => 'tds_modal_video_ad_title'
		) );
		?>
	</div>
</div>
<?php echo td_panel_generator::box_end();?>


<?php
//backround add
echo td_panel_generator::box_start(__('Background click Ad', TD_THEME_NAME), false);?>

<div class="td-box-row">
	<div class="td-box-description td-box-full">
		<span class="td-box-title"><?php _e('Notice:', TD_THEME_NAME); ?></span>
		<p><?php _e('Please go to <strong>BACKGROUND</strong> tab if you also need a background image', TD_THEME_NAME); ?></p>
	</div>
	<div class="td-box-row-margin-bottom"></div>
</div>

<!-- ad box code -->
<div class="td-box-row">
	<div class="td-box-description">
		<span class="td-box-title"><?php _e('URL', TD_THEME_NAME); ?></span>
		<p><?php _e('Paste your link here like : http://www.domain.com', TD_THEME_NAME); ?></p>
	</div>
	<div class="td-box-control-full td-panel-input-wide">
		<?php
		echo td_panel_generator::input(array(
			'ds' => 'td_option',
			'option_id' => 'tds_background_click_url',
		));
		?>
	</div>
</div>


<!-- ad taget -->
<div class="td-box-row">
	<div class="td-box-description">
		<span class="td-box-title"><?php _e('Open in new window', TD_THEME_NAME); ?></span>
		<p><?php _e('If enabled, this option will open the URL in a new window. Leave disabled for the URL to be loaded in current page', TD_THEME_NAME); ?></p>
	</div>
	<div class="td-box-control-full">
		<?php
		echo td_panel_generator::checkbox(array(
			'ds' => 'td_option',
			'option_id' => 'tds_background_click_target',
			'true_value' => '_blank',
			'false_value' => ''
		));
		?>
	</div>
</div>

<?php  echo td_panel_generator::box_end();?>



