Advertisement
bastetmilo

Untitled

Nov 10th, 2015
144
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
text 5.30 KB | None | 0 0
  1. <!-- start footer feature block -->
  2. <?php
  3. $footfeat_blockheader = get_option("dev_studio_footfeat_header");
  4. $footfeat_blockone_header = get_option('dev_studio_footfeat_blockone_header');
  5. $footfeat_blocktwo_header = get_option('dev_studio_footfeat_blocktwo_header');
  6. $footfeat_blockthree_header = get_option('dev_studio_footfeat_blockthree_header');
  7.  
  8. $footfeat_blockone_description = get_option('dev_studio_footfeat_blockone_description');
  9. $footfeat_blocktwo_description = get_option('dev_studio_footfeat_blocktwo_description');
  10. $footfeat_blockthree_description = get_option('dev_studio_footfeat_blockthree_description');
  11.  
  12. $footfeat_blockone_image = get_option('dev_studio_footfeat_blockone_image');
  13. $footfeat_blocktwo_image = get_option('dev_studio_footfeat_blocktwo_image');
  14. $footfeat_blockthree_image = get_option('dev_studio_footfeat_blockthree_image');
  15.  
  16. $footfeat_blockone_image_title = get_option('dev_studio_footfeat_blockone_image_title');
  17. $footfeat_blocktwo_image_title = get_option('dev_studio_footfeat_blocktwo_image_title');
  18. $footfeat_blockthree_image_title = get_option('dev_studio_footfeat_blockthree_image_title');
  19.  
  20. $footfeat_blockone_link = get_option('dev_studio_footfeat_blockone_link');
  21. $footfeat_blocktwo_link = get_option('dev_studio_footfeat_blocktwo_link');
  22. $footfeat_blockthree_link = get_option('dev_studio_footfeat_blockthree_link');
  23.  
  24. $footfeat_blockone_link_title = get_option('dev_studio_footfeat_blockone_link_title');
  25. $footfeat_blocktwo_link_title = get_option('dev_studio_footfeat_blocktwo_link_title');
  26. $footfeat_blockthree_link_title = get_option('dev_studio_footfeat_blockthree_link_title');
  27. ?>
  28. <div id="feature-wrapper"><!-- start #feature-wrapper -->
  29. <div id="feature"><!-- start #feature -->
  30. <h3><?php echo stripslashes($footfeat_blockheader); ?></h3><!-- footer feature header -->
  31. <div id="content-blocks-blue"><!-- start #content-blocks-blue -->
  32. <div class="content-block"><!-- start feature first block -->
  33. <h4><?php echo stripslashes($feature_blockone_header); ?></h4>
  34. <p>
  35. <?php if ($feature_blockone_link_title != ""){ ?>
  36. <a href="<?php echo $feature_blockone_link; ?>" rel="bookmark" title="<?php echo $feature_blockone_link_title; ?>" >
  37. <?php } ?>
  38. <?php if ($feature_blockone_image != ""){
  39. $img = '<img src="'.$feature_blockone_image.'" alt="'.$feature_blockone_image_title.'" class="alignleft"/>';
  40. echo $feature_blockone_link_title == '' ? $img : '<a href="'.$feature_blockone_link.'" title="'.$feature_blockone_link_title.'">'.$img.'</a>';
  41. } ?>
  42. <?php if ($feature_blockone_link_title != ""){ ?>
  43. </a><br>
  44. <?php } ?>
  45. <?php echo stripslashes($feature_blockone_description); ?>
  46. </p>
  47. <?php if ($feature_blockone_link_title != ""){ ?>
  48. <a href="<?php echo $feature_blockone_link; ?>" rel="bookmark" title="<?php echo $feature_blockone_link_title; ?>" class="button"><?php echo $feature_blockone_link_title; ?></a>
  49. <?php } ?>
  50. </div>
  51. <div class="content-block"><!-- start feature footer second block -->
  52. <h4><?php echo stripslashes($footfeat_blocktwo_header); ?></h4>
  53. <p>
  54. <?php if ($feature_blocktwo_link_title != ""){ ?>
  55. <a href="<?php echo $feature_blocktwo_link; ?>" rel="bookmark" title="<?php echo $feature_blocktwo_link_title; ?>" >
  56. <?php } ?>
  57. <?php if ($feature_blocktwo_image != ""){
  58. $img = '<img src="'.$feature_blocktwo_image.'" alt="'.$feature_blocktwo_image_title.'" class="alignleft"/>';
  59. echo $feature_blocktwo_link_title == '' ? $img : '<a href="'.$feature_blocktwo_link.'" title="'.$feature_blocktwo_link_title.'">'.$img.'</a>';
  60. } ?>
  61. <?php if ($feature_blocktwo_link_title != ""){ ?>
  62. </a><br>
  63. <?php } ?>
  64. <?php echo stripslashes($feature_blocktwo_description); ?>
  65. </p>
  66. <?php if ($footfeat_blocktwo_link_title != ""){?>
  67. <a href="<?php echo $footfeat_blocktwo_link; ?>" rel="bookmark" title="<?php echo $footfeat_blocktwo_link_title; ?>" class="button"><?php echo $footfeat_blocktwo_link_title; ?></a>
  68. <?php
  69. }
  70. ?>
  71. </div>
  72. <div class="content-block-end"><!-- start feature footer third block -->
  73. <h4><?php echo stripslashes($footfeat_blockthree_header); ?></h4>
  74.  
  75. <p>
  76. <?php if ($feature_blockthree_link_title != ""){ ?>
  77. <a href="<?php echo $feature_blockthree_link; ?>" rel="bookmark" title="<?php echo $feature_blockthree_link_title; ?>" >
  78. <?php } ?>
  79. <?php if ($feature_blockthree_image != ""){
  80. $img = '<img src="'.$feature_blockthree_image.'" alt="'.$feature_blockthree_image_title.'" class="alignleft"/>';
  81. echo $feature_blockthree_link_title == '' ? $img : '<a href="'.$feature_blockthree_link.'" title="'.$feature_blockthree_link_title.'">'.$img.'</a>';
  82. } ?>
  83. <?php if ($feature_blockthree_link_title != ""){ ?>
  84. </a><br>
  85. <?php } ?>
  86. <?php echo stripslashes($feature_blockthree_description); ?>
  87. </p>
  88.  
  89. <?php if ($footfeat_blockthree_link_title != ""){?>
  90. <a href="<?php echo $footfeat_blockthree_link; ?>" rel="bookmark" title="<?php echo $footfeat_blockthree_link_title; ?>" class="button"><?php echo $footfeat_blockthree_link_title; ?></a>
  91. <?php
  92. }
  93. ?>
  94. </div>
  95. <div class="clear"></div>
  96. </div><!-- end #content-blocks-blue -->
  97. </div><!-- end #feature -->
  98. <div class="clear"></div>
  99. </div><!-- end #feature-wrapper -->
  100. <!-- end footer feature block -->
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement