Example #1
0
 function __construct()
 {
     $this->boardController = \Board\Controller\BoardController::getSingleton();
     $this->createBoardPostType();
     add_action('add_meta_boxes_board_member', array(&$this, 'addMetaBoxesForBoard'));
     add_action('save_post', array(&$this->boardController, 'save'));
 }
Example #2
0
echo $pageEntity->getTitle();
?>
</h2>
            <p>DCBIA (District of Columbia Building Industry Association) builds leaders, community, partnership and the economy for our vibrant city through content-rich programs, networking and education.</p>
            <p>With a membership of nearly 500 companies and organizations and several thousand real estate professionals, DCBIA members represent all aspects of real estate development including developers, general contractors, architects and engineers, lenders, attorneys, brokers, title companies, utility companies, and community development organizations.</p>
            <p>DCBIA represents the interests and views of its members before the District of Columbia and the federal governments, community organizations and other business associations. As a service organization, it offers comprehensive educational programs, social events and community service activities. DCBIA’s extensive committee structure invites direct member participation in the shaping of association and business community positions on key issues impacting the economic health and governance of Washington, DC.</p>
            <br>
        </div>    
    </div>
    <div class="row about">
        <div class="col-md-12 about">
            <h3>2015 Officers</h3>
            <br>
        </div>
        <?php 
foreach (BoardController::getSingleton()->getAll() as $member) {
    ?>
        <div class="col-sm-3 staff-pic board-members">
            <?php 
    if ($member->getImage() == "") {
        ?>
                <img class="img-responsive" src="<?php 
        echo get_template_directory_uri();
        ?>
/img/avatar.jpg" alt="Board memeber" />
            <?php 
    } else {
        ?>
                <img class="img-responsive" src="<?php 
        echo $member->getImage();
        ?>