New Paste

 

Recent Pastes

Administrate




PageLines PasteBin.

PasteID: 111
Pasted by Anonymous, 2012-10-27 09:42:43 GMT
Expires Never
Paste size 3.31 Kb
Toggle Expand   Wrap   Raw
Copy Contents   Copy URL
 
  1. <?php
  2. /*
  3. 	Section: Property Tour
  4. 	Author: TourKick
  5. 	Author URI: http://tourkick.com
  6. 	Version: 1.0.0
  7. 	Description: Property Tour Display
  8. 	Class Name: PropertyTourBrandedandUnbranded
  9. 	Workswith: templates, main, sidebar1, sidebar2, sidebar_wrap, header, footer, morefoot
  10. 	Cloning: false
  11. */
  12.  
  13. class PropertyTourBrandedandUnbranded extends PageLinesSection {
  14.  
  15.  
  16. 	function section_styles(){
  17. 	}
  18.  
  19. 	function section_optionator( $settings ){
  20. 	}
  21.  
  22.  
  23. 	function section_template(){
  24.  
  25.  
  26. $brandedtabsraw = '[pl_raw][pl_tabs]
  27.  
  28. [pl_tabtitlesection type="tabs"]
  29. [pl_tabtitle active="yes" number="1"]Video[/pl_tabtitle]
  30. [pl_tabtitle number="2"]Photos[/pl_tabtitle]
  31. [pl_tabtitle number="3"]Details[/pl_tabtitle]
  32. [pl_tabtitle number="4"]Contact[/pl_tabtitle]
  33. [pl_tabtitle number="5"]Embed & Share[/pl_tabtitle]
  34. [/pl_tabtitlesection]
  35.  
  36. [pl_tabcontentsection]
  37. [pl_tabcontent active="yes" number="1"]
  38. <iframe frameborder="0" scrolling="no" width="640" height="360" src="http://api.smugmug.com/services/embed/1344454513_PQSXrW6?width=640&height=360&nologo"></iframe>
  39. [/pl_tabcontent]
  40. [pl_tabcontent number="2"]
  41. [gallery]
  42. [/pl_tabcontent]
  43. [pl_tabcontent number="3"]more
  44. [/pl_tabcontent]
  45. [pl_tabcontent number="4"]
  46. stuffxxx
  47. [/pl_tabcontent]
  48. [pl_tabcontent number="5"]
  49. textxxx
  50. [/pl_tabcontent]
  51. [/pl_tabcontentsection]
  52.  
  53. [/pl_tabs][/pl_raw]';
  54.  
  55.  
  56.  
  57. $brandedtabs = '[pl_tabs]
  58.  
  59. [pl_tabtitlesection type="tabs"]
  60. [pl_tabtitle active="yes" number="1"]Video[/pl_tabtitle]
  61. [pl_tabtitle number="2"]Photos[/pl_tabtitle]
  62. [pl_tabtitle number="3"]Details[/pl_tabtitle]
  63. [pl_tabtitle number="4"]Contact[/pl_tabtitle]
  64. [pl_tabtitle number="5"]Embed & Share[/pl_tabtitle]
  65. [/pl_tabtitlesection]
  66.  
  67. [pl_tabcontentsection]
  68. [pl_tabcontent active="yes" number="1"]
  69. <iframe frameborder="0" scrolling="no" width="640" height="360" src="http://api.smugmug.com/services/embed/1344454513_PQSXrW6?width=640&height=360&nologo"></iframe>
  70. [/pl_tabcontent]
  71. [pl_tabcontent number="2"]
  72. [gallery]
  73. [/pl_tabcontent]
  74. [pl_tabcontent number="3"]more
  75. [/pl_tabcontent]
  76. [pl_tabcontent number="4"]
  77. stuffxxx
  78. [/pl_tabcontent]
  79. [pl_tabcontent number="5"]
  80. textxxx
  81. [/pl_tabcontent]
  82. [/pl_tabcontentsection]
  83.  
  84. [/pl_tabs]';
  85.  
  86.  
  87.  
  88. $tabscpraw = '[cp_raw][pl_tabs]
  89.  
  90. [pl_tabtitlesection type="tabs"]
  91. [pl_tabtitle active="yes" number="1"]Video[/pl_tabtitle]
  92. [pl_tabtitle number="2"]Photos[/pl_tabtitle]
  93. [pl_tabtitle number="3"]Details[/pl_tabtitle]
  94. [pl_tabtitle number="4"]Contact[/pl_tabtitle]
  95. [pl_tabtitle number="5"]Embed & Share[/pl_tabtitle]
  96. [/pl_tabtitlesection]
  97.  
  98. [pl_tabcontentsection]
  99. [pl_tabcontent active="yes" number="1"]
  100. <iframe frameborder="0" scrolling="no" width="640" height="360" src="http://api.smugmug.com/services/embed/1344454513_PQSXrW6?width=640&height=360&nologo"></iframe>
  101. [/pl_tabcontent]
  102. [pl_tabcontent number="2"]
  103. [gallery]
  104. [/pl_tabcontent]
  105. [pl_tabcontent number="3"]more
  106. [/pl_tabcontent]
  107. [pl_tabcontent number="4"]
  108. stuffxxx
  109. [/pl_tabcontent]
  110. [pl_tabcontent number="5"]
  111. textxxx
  112. [/pl_tabcontent]
  113. [/pl_tabcontentsection]
  114.  
  115. [/pl_tabs][/cp_raw]';
  116.  
  117.  
  118.  
  119.  
  120.  
  121. //$x = apply_filters('the_content',$brandedtabs);
  122. echo do_shortcode($brandedtabs);
  123. //echo do_shortcode($brandedtabsraw);
  124. //echo do_shortcode($tabscpraw);
  125. //echo $x;
  126.  
  127. 	}
  128.  
  129. }
 
 
 

 
 
 
 
 
Written by Xan Manning, 2010.
YOU NEED FLASH!