Beispiel #1
0
 function get_block($block_name)
 {
     $page_path = $_POST['page_path'];
     PC::page_paths($page_path);
     $this->BuilderEngine->set_page_path($page_path);
     $this->versions->load_page_blocks();
     $block = new Block($block_name);
     $block->show();
 }
Beispiel #2
0
      
      <?php 
$footer->add_block($block1);
?>
      <?php 
$footer->add_block($block2);
?>
      <?php 
$footer->add_block($block3);
?>
      <?php 
$footer->add_block($block4);
?>
      <?php 
$footer->show();
?>

  </div>
</footer>		
</div>
</div>

<!-- JS -->
<script src="<?php 
echo get_theme_path();
?>
js/bootstrap.js"></script>
<script src="<?php 
echo get_theme_path();
?>
Beispiel #3
0
                              <div class="button"><a href="http://www.builderengine.com">Free Account</a></div>
                           </div>
                        ');
?>

					 <?php 
$holder->add_block($line1);
?>
                     <?php 
$holder->add_block($line2);
?>
                     <?php 
$holder->add_block($line3);
?>
                     <?php 
$holder->show();
?>

                  </div>
               </div>
            
         </div>
      </div>
   </div>
</div>   

<!-- Content ends --> 
	

<?php 
echo get_footer();
Beispiel #4
0
<?php

/***********************************************************
* BuilderEngine v3.1.0
* ---------------------------------
* BuilderEngine CMS Platform - Radian Enterprise Systems Limited
* Copyright Radian Enterprise Systems Limited 2012-2015. All Rights Reserved.
*
* http://www.builderengine.com
* Email: info@builderengine.com
* Time: 2015-08-31 | File version: 3.1.0
*
***********************************************************/
$block = new Block("module-builderengine-page-" . $page->id);
$block->set_default("Put your page content here.");
$block->show();
?>
    

Beispiel #5
0
                ');
?>
            <?php 
$line3->add_block($block2);
?>
			
<!-- 4th Line of Blocks --> 
			
            <?php 
$line4 = new Block("rpost-test");
?>
            <?php 
$line4->set_type('pro_rpost');
?>
            <?php 
$line4->set_size('span12');
$content_holder->add_block($line1);
$content_holder->add_block($line2);
$content_holder->add_block($line3);
$content_holder->add_block($line4);
$content_holder->show();
?>
            </div>           
         </div>
      </div>
</div> 

<!-- Content ends --> 

<?php 
echo get_footer();
Beispiel #6
0
$block2 = new Block('be-theme-pro-header-social');
?>
         <?php 
$block2->set_global(true);
?>
         <?php 
$block2->add_css_class('offset3');
?>
		 <?php 
$block2->set_type('social_links');
?>
         <?php 
$block2->set_size('span4');
?>
         <?php 
$block2->show();
?>


      </div>
   </div>
</header>

<!-- Navigation Starts -->

    <div class="navbar">
      <div class="navbar-inner">
        <div class="container">
          <a class="btn btn-navbar" data-toggle="collapse" data-target=".nav-collapse">
            Menu
          </a>
Beispiel #7
0
<?php

/**
 * @author Matthew McNaney <mcnaney at gmail dot com>
 * @version $Id$
 */
Block::show();
if (Current_User::allow('block')) {
    $key = Key::getCurrent();
    if (Key::checkKey($key) && javascriptEnabled()) {
        javascript('jquery');
        javascript('ckeditor');
        $js_address = PHPWS_SOURCE_HTTP . 'mod/block/javascript/addblock/script.js';
        Layout::addJSHeader('<script src="' . $js_address . '" type="text/javascript"></script>', 'addblock');
        $modal = new \Modal('block-form-modal', '<div id="block-form-dialog"></div>', 'Add block here');
        $modal->sizeLarge();
        $save_button = '<button class="btn btn-success" id="save-block">Save</button>';
        $modal->addButton($save_button);
        Layout::add((string) $modal);
        MiniAdmin::add('block', '<a style="cursor:pointer" data-auth-key="' . Current_User::getAuthKey() . '" data-key-id="' . $key->id . '" id="add-block"><i class="fa fa-plus"></i> Add block here</a>');
    }
}
Beispiel #8
0
?>
                        <?php 
$block2 = new Block('be-module-blog-entry-right-about');
?>
                        <?php 
$block2->set_size('span4');
?>
                        <?php 
$block2->set_default("\n                        <div class=\"widget\">\n                        <h4>About</h4>\n                        <p>Nulla facilisi. Sed justo dui, id erat. Morbi auctor adipiscing tempor. Phasellus condimentum rutrum aliquet. Quisque eu consectetur erat. Proin rutrum, erat eget posuere semper, <em>arcu mauris posuere tortor</em>,velit at <a href=\"#\">magna sollicitudin cursus</a> ac ultrices magna. Aliquam consequat, purus vitae auctor ullamcorper, sem velit convallis quam, a pharetra justo nunc et mauris. </p>\n                      </div>");
?>
                        <?php 
$right->add_block($block1);
?>
                        <?php 
$right->add_block($block2);
?>
                        <?php 
$right->show();
?>

                        </div>
                     </div>
                     
                     
                     
                  </div>
               </div>
            </div>

    </div>
  </div>
Beispiel #9
0
$line1->set_resizable(false);
?>
                    <?php 
$line1->set_content('
                     <!-- Portfolio hero -->
                     <div class="hero">
                        <!-- Title -->
                        <h3><span>Portfolio</span></h3>
                        <!-- para -->
                        <p>Praesent at tellus porttitor nisl porttitor sagittis. Mauris in massa ligula, a tempor nulla. Ut tempus interdum mauris vel vehicula. Nulla ullamcorper tortor commodo in sagittis est accumsan.</p>
                     </div>
                     <!-- Portfolio -->
                     ');
?>
                     <?php 
$line1->show();
?>
                     <p>
                        <!-- Add filter names inside "data-filter". For example ".web-design", ".seo", etc., Filter names are used to filter the below images. -->
                        <div class="button">
                           <ul id="filters">
                             <li><a href="#" data-filter="*" >All</a></li>
                             <li><a href="#" data-filter=".one" >One</a></li>
                             <li><a href="#" data-filter=".two" >Two</a></li>
                             <li><a href="#" data-filter=".three" >Three</a></li>
                             <li><a href="#" data-filter=".four" >Four</a></li>
                             <li><a href="#" data-filter=".five" >Five</a></li>
                           </ul>
                        </div>
                    </p>