Guest User

Untitled

a guest
Sep 18th, 2014
227
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
text 6.27 KB | None | 0 0
  1. <?php echo td_panel_generator::box_start('Custom ad 10', false);?>
  2.  
  3.  
  4. <!-- ad box code -->
  5. <div class="td-box-row">
  6. <div class="td-box-description">
  7. <span class="td-box-title">YOUR CUSTOM AD 100000000000000000000000</span>
  8. <p>Paste your ad code here. Google adsense will be made responsive automatically. <br><br> To add non adsense responsive ads, <br> <a target="_blank" href="http://forum.tagdiv.com/ads/">click here</a> (last paragraph)</p>
  9. </div>
  10. <div class="td-box-control-full">
  11. <?php
  12. echo td_panel_generator::textarea(array(
  13. 'ds' => 'td_ads',
  14. 'item_id' => 'custom_ad_10',
  15. 'option_id' => 'ad_code',
  16. ));
  17. ?>
  18. </div>
  19. </div>
  20.  
  21.  
  22. <div class="td-box-row">
  23. <div class="td-box-description td-box-full">
  24. <span class="td-box-title">Advance usage:</span>
  25. <p>If you leave the AdSense size boxes empty, the theme will automatically resize the <strong>google ads</strong>. For more info follow this <a href="http://forum.tagdiv.com/ads/" target="_blank">link</a></p>
  26. </div>
  27. <div class="td-box-row-margin-bottom"></div>
  28. </div>
  29.  
  30.  
  31. <!-- disable ad on monitor -->
  32. <div class="td-box-row">
  33. <div class="td-box-description">
  34. <span class="td-box-title td-title-on-row">DISABLE ON DESKTOP</span>
  35. <p></p>
  36. </div>
  37. <div class="td-box-control-full">
  38. <span>
  39. <?php
  40. echo td_panel_generator::checkbox(array(
  41. 'ds' => 'td_ads',
  42. 'item_id' => 'custom_ad_10',
  43. 'option_id' => 'disable_m',
  44. 'true_value' => 'yes',
  45. 'false_value' => ''
  46. ));
  47. ?>
  48. </span>
  49. <span class="td-content-float-right td_float_clear_both td-content-padding-right-40">
  50. <span class="td-content-padding-right-40 td-adsense-size">AdSense size: </span>
  51. <span class="td-content-float-right">
  52. <?php
  53. echo td_panel_generator::dropdown(array(
  54. 'ds' => 'td_ads',
  55. 'item_id' => 'custom_ad_10',
  56. 'option_id' => 'm_size',
  57. 'values' => $td_google_ad_list_sizes
  58. ));
  59. ?>
  60. </span>
  61.  
  62. </div>
  63. </div>
  64.  
  65.  
  66. <!-- disable ad on table landscape -->
  67. <div class="td-box-row">
  68. <div class="td-box-description">
  69. <span class="td-box-title td-title-on-row">DISABLE ON TABLET LANDSCAPE</span>
  70. <p></p>
  71. </div>
  72. <div class="td-box-control-full">
  73. <span>
  74. <?php
  75. echo td_panel_generator::checkbox(array(
  76. 'ds' => 'td_ads',
  77. 'item_id' => 'custom_ad_10',
  78. 'option_id' => 'disable_tl',
  79. 'true_value' => 'yes',
  80. 'false_value' => ''
  81. ));
  82. ?>
  83. </span>
  84. <span class="td-content-float-right td_float_clear_both td-content-padding-right-40">
  85. <span class="td-content-padding-right-40 td-adsense-size">AdSense size: </span>
  86. <span class="td-content-float-right">
  87. <?php
  88. echo td_panel_generator::dropdown(array(
  89. 'ds' => 'td_ads',
  90. 'item_id' => 'custom_ad_10',
  91. 'option_id' => 'tl_size',
  92. 'values' => $td_google_ad_list_sizes
  93. ));
  94. ?>
  95. </span>
  96.  
  97.  
  98. </div>
  99. </div>
  100.  
  101.  
  102. <!-- disable ad on tablet portrait -->
  103. <div class="td-box-row">
  104. <div class="td-box-description">
  105. <span class="td-box-title td-title-on-row">DISABLE ON TABLET PORTRAIT</span>
  106. <p></p>
  107. </div>
  108. <div class="td-box-control-full">
  109. <span>
  110. <?php
  111. echo td_panel_generator::checkbox(array(
  112. 'ds' => 'td_ads',
  113. 'item_id' => 'custom_ad_10',
  114. 'option_id' => 'disable_tp',
  115. 'true_value' => 'yes',
  116. 'false_value' => ''
  117. ));
  118. ?>
  119. </span>
  120. <span class="td-content-float-right td_float_clear_both td-content-padding-right-40">
  121. <span class="td-content-padding-right-40 td-adsense-size">AdSense size: </span>
  122. <span class="td-content-float-right">
  123. <?php
  124. echo td_panel_generator::dropdown(array(
  125. 'ds' => 'td_ads',
  126. 'item_id' => 'custom_ad_10',
  127. 'option_id' => 'tp_size',
  128. 'values' => $td_google_ad_list_sizes
  129. ));
  130. ?>
  131. </span>
  132.  
  133. </div>
  134. </div>
  135.  
  136.  
  137. <!-- disable ad on phones -->
  138. <div class="td-box-row">
  139. <div class="td-box-description">
  140. <span class="td-box-title">DISABLE ON PHONE</span>
  141. <p></p>
  142. </div>
  143. <div class="td-box-control-full">
  144. <span>
  145. <?php
  146. echo td_panel_generator::checkbox(array(
  147. 'ds' => 'td_ads',
  148. 'item_id' => 'custom_ad_10',
  149. 'option_id' => 'disable_p',
  150. 'true_value' => 'yes',
  151. 'false_value' => ''
  152. ));
  153. ?>
  154. </span>
  155. <span class="td-content-float-right td_float_clear_both td-content-padding-right-40">
  156. <span class="td-content-padding-right-40 td-adsense-size">AdSense size: </span>
  157. <span class="td-content-float-right">
  158. <?php
  159. echo td_panel_generator::dropdown(array(
  160. 'ds' => 'td_ads',
  161. 'item_id' => 'custom_ad_10',
  162. 'option_id' => 'p_size',
  163. 'values' => $td_google_ad_list_sizes
  164. ));
  165. ?>
  166. </span>
  167.  
  168. </div>
  169. </div>
  170.  
  171. <?php echo td_panel_generator::box_end();?>
Advertisement
Add Comment
Please, Sign In to add comment