Pastebin launched a little side project called VERYVIRAL.com, check it out ;-) Want more features on Pastebin? Sign Up, it's FREE!
Guest

EvoLve Pro - sidebar.php

By: a guest on Dec 28th, 2012  |  syntax: None  |  size: 7.60 KB  |  views: 30  |  expires: Never
download  |  raw  |  embed  |  report abuse  |  print
Text below is selected. Please press Ctrl+C to copy to your clipboard. (⌘+C on Mac)
  1. <?php
  2. /**
  3.  * Template: Sidebar.php
  4.  *
  5.  * @package EvoLve
  6.  * @subpackage Template
  7.  */
  8. ?>
  9.         <!--BEGIN #secondary .aside-->
  10.         <div id="secondary" class="aside">
  11.        
  12.        
  13.  
  14.      
  15.      
  16.   <!-- AD Space 3 -->
  17.  
  18.  
  19.     <?php $options = get_option('evolve');
  20.      if (!empty($options['evl_space_3'])) {
  21.    
  22.  $ad_space_3 = $options['evl_space_3'];
  23.   echo '<div class="ad-3">'.stripslashes($ad_space_3).'</div>';
  24.  
  25.  }
  26. ?>
  27.        
  28.        
  29.        
  30.                         <?php   /* Widgetized Area */
  31.                                 if ( t4p_active_sidebar( 'sidebar-1' ) ) {      t4p_sidebar('sidebar-1'); } else { ?>
  32.  
  33.  
  34. <!--BEGIN #widget-bootstrap-->            
  35.          
  36.                                   <?php evlwidget_before_widget(); ?><?php evlwidget_before_title(); ?><?php _e( 'Bootstrap Examples', 'evolve' ); ?><?php evlwidget_after_title(); ?>
  37.                                 <ul>
  38.  
  39.         <div class="tabbable"><!-- Only required for left/right tabs --><p></p>
  40. <ul class="nav nav-tabs">
  41. <li class="active"><a data-toggle="tab" href="#tab1">Hero Unit</a></li>
  42. <li><a data-toggle="tab" href="#tab2">Buttons</a></li>
  43. <li><a data-toggle="tab" href="#tab3">Alerts</a></li>
  44. <li><a data-toggle="tab" href="#tab4">Collapse</a></li>
  45. </ul>
  46. <div class="tab-content">
  47. <div class="tab-pane active" id="tab1">
  48. <div class="hero-unit">
  49. <h1>Hello, world!</h1>
  50. <p>This is a simple hero unit, a simple jumbotron-style component for calling extra attention to featured content or information.</p>
  51. <p><a class="btn btn-primary btn-large">Learn more</a></p>
  52. </div>
  53. </div>
  54. <div class="tab-pane" id="tab2">
  55. <br />
  56. <p><input type="button" value="Default" class="btn"> <input type="button" value="Primary" class="btn btn-primary"> <input type="button" value="Info" class="btn btn-info"> <input type="button" value="Success" class="btn btn-success"> <input type="button" value="Warning" class="btn btn-warning"> <input type="button" value="Danger" class="btn btn-danger"> <input type="button" value="Inverse" class="btn btn-inverse"></p>
  57.  
  58. <div data-toggle="buttons-checkbox" class="btn-group">
  59.                     <button class="btn btn-primary">Left</button>
  60.                     <button class="btn btn-primary">Middle</button>
  61.                     <button class="btn btn-primary">Right</button>
  62.                   </div>
  63. <br />
  64. <div data-toggle="buttons-radio" class="btn-group">
  65.                     <button class="btn btn-primary">Left</button>
  66.                     <button class="btn btn-primary">Middle</button>
  67.                     <button class="btn btn-primary active">Right</button>
  68.                   </div>
  69.  
  70. </div>
  71. <div class="tab-pane" id="tab3">
  72.  
  73. <div class="alert alert-block alert-error fade in">
  74.             <button data-dismiss="alert" class="close" type="button">&times;</button>
  75.             <h4 class="alert-heading">Oh snap! You got an error!</h4>
  76.             <p>Change this and that and try again. Duis mollis, est non commodo luctus, nisi erat porttitor ligula, eget lacinia odio sem nec elit. Cras mattis consectetur purus sit amet fermentum.</p>
  77.             <p>
  78.               <a href="#" class="btn btn-danger">Take this action</a> <a href="#" class="btn">Or do this</a>
  79.             </p>
  80.           </div>
  81.  
  82. <div class="alert"><button data-dismiss="alert" type="button" class="close">&times;</button><br>
  83. <strong>Warning!</strong> Best check yo self, you're not looking too good.</div>
  84. <div class="alert alert-success"><button data-dismiss="alert" type="button" class="close">&times;</button><br>
  85. <strong>Well done!</strong> You successfully read this important alert message.</div>
  86. <div class="alert alert-info"><button data-dismiss="alert" type="button" class="close">&times;</button><br>
  87. <strong>Heads up!</strong> This alert needs your attention, but it's not super important.</div>
  88. </div>
  89.  
  90. <div class="tab-pane" id="tab4">
  91. <div id="accordion2" class="accordion">
  92.             <div class="accordion-group">
  93.               <div class="accordion-heading">
  94.                 <a href="#collapseOne" data-parent="#accordion2" data-toggle="collapse" class="accordion-toggle">
  95.                   Collapsible Group Item #1
  96.                 </a>
  97.               </div>
  98.               <div class="accordion-body in collapse" id="collapseOne" style="height: auto;">
  99.                 <div class="accordion-inner">
  100.                   Anim pariatur cliche reprehenderit, enim eiusmod high life accusamus terry richardson ad squid. 3 wolf moon officia aute, non cupidatat skateboard dolor brunch. Food truck quinoa nesciunt laborum eiusmod. Brunch 3 wolf moon tempor, sunt aliqua put a bird on it squid single-origin coffee nulla assumenda shoreditch et. Nihil anim keffiyeh helvetica, craft beer labore wes anderson cred nesciunt sapiente ea proident. Ad vegan excepteur butcher vice lomo. Leggings occaecat craft beer farm-to-table, raw denim aesthetic synth nesciunt you probably haven't heard of them accusamus labore sustainable VHS.
  101.                 </div>
  102.               </div>
  103.             </div>
  104.             <div class="accordion-group">
  105.               <div class="accordion-heading">
  106.                 <a href="#collapseTwo" data-parent="#accordion2" data-toggle="collapse" class="accordion-toggle">
  107.                   Collapsible Group Item #2
  108.                 </a>
  109.               </div>
  110.               <div class="accordion-body collapse" id="collapseTwo" style="height: 0px;">
  111.                 <div class="accordion-inner">
  112.                   Anim pariatur cliche reprehenderit, enim eiusmod high life accusamus terry richardson ad squid. 3 wolf moon officia aute, non cupidatat skateboard dolor brunch. Food truck quinoa nesciunt laborum eiusmod. Brunch 3 wolf moon tempor, sunt aliqua put a bird on it squid single-origin coffee nulla assumenda shoreditch et. Nihil anim keffiyeh helvetica, craft beer labore wes anderson cred nesciunt sapiente ea proident. Ad vegan excepteur butcher vice lomo. Leggings occaecat craft beer farm-to-table, raw denim aesthetic synth nesciunt you probably haven't heard of them accusamus labore sustainable VHS.
  113.                 </div>
  114.               </div>
  115.             </div>
  116.             <div class="accordion-group">
  117.               <div class="accordion-heading">
  118.                 <a href="#collapseThree" data-parent="#accordion2" data-toggle="collapse" class="accordion-toggle">
  119.                   Collapsible Group Item #3
  120.                 </a>
  121.               </div>
  122.               <div class="accordion-body collapse" id="collapseThree" style="height: 0px;">
  123.                 <div class="accordion-inner">
  124.                   Anim pariatur cliche reprehenderit, enim eiusmod high life accusamus terry richardson ad squid. 3 wolf moon officia aute, non cupidatat skateboard dolor brunch. Food truck quinoa nesciunt laborum eiusmod. Brunch 3 wolf moon tempor, sunt aliqua put a bird on it squid single-origin coffee nulla assumenda shoreditch et. Nihil anim keffiyeh helvetica, craft beer labore wes anderson cred nesciunt sapiente ea proident. Ad vegan excepteur butcher vice lomo. Leggings occaecat craft beer farm-to-table, raw denim aesthetic synth nesciunt you probably haven't heard of them accusamus labore sustainable VHS.
  125.                 </div>
  126.               </div>
  127.  </div>
  128.               </div>
  129.  </div>
  130.  
  131.  
  132.  
  133.  
  134.    </div>
  135.  
  136. </div>
  137.  
  138.  
  139.  
  140.  
  141.  
  142.                                 </ul>
  143.  
  144.  
  145.            <?php evlwidget_after_widget(); ?>  
  146.                 <!--END #widget-bootstrap-->
  147.  
  148.                         <?php } /* (!function_exists('dynamic_sidebar') */ ?>
  149.                 <!--END #secondary .aside-->
  150.    
  151.    
  152.       <!-- AD Space 4 -->
  153.  
  154.  
  155.     <?php $options = get_option('evolve');
  156.      if (!empty($options['evl_space_4'])) {
  157.    
  158.  $ad_space_4 = $options['evl_space_4'];
  159.  echo '<div class="ad-4">'.stripslashes($ad_space_4).'</div>';
  160.  
  161.  }
  162. ?>
  163.    
  164.    
  165.                 </div>