Beispiel #1
0
</li>
                                        </ul>
                                    </div>
                                </li>
                            <?php 
        }
        ?>
                            </ul>
                        </div>

                        <h4 class="box_header page_margin_top_section">Post Kategori</h4>
                        <ul class="taxonomies columns clearfix page_margin_top">
                        <?php 
        $tablesidecat = new PoTable('category');
        $tablejmlpost = new PoTable('post');
        $sidecats = $tablesidecat->findAllRand();
        foreach ($sidecats as $sidecat) {
            $tablejmlposts = $tablejmlpost->numRowByAnd(id_category, $sidecat->id_category, active, 'Y');
            ?>
                            <li><a href="<?php 
            echo $website_url;
            ?>
/category/<?php 
            echo $sidecat->seotitle;
            ?>
" title="<?php 
            echo $sidecat->title;
            ?>
"><?php 
            echo $sidecat->title;
            ?>
Beispiel #2
0
    <!-- bage header end --> 
    
  </div>
  
  <!-- data start -->
  <section>
    <div class="container ">
      <div class="row "> 
        <!-- left sec start -->
        <div class="col-md-11 col-sm-11">
          <div class="row"> 
            <!-- gallery start -->
            <div class="gallery">
            <?php 
    $tablegal = new PoTable('gallery');
    $gallerys = $tablegal->findAllRand();
    foreach ($gallerys as $gallery) {
        $idalb = $gallery->id_album;
        $tablecalb = new PoTable('album');
        $currentCalb = $tablecalb->findBy(id_album, $idalb);
        $currentCalb = $currentCalb->current();
        if ($currentCalb->active == 'Y') {
            ?>
              <div class="col-sm-8 wow fadeInDown animated "> <a class="gallery-item" href="<?php 
            echo $website_url;
            ?>
/po-content/po-upload/<?php 
            echo $gallery->picture;
            ?>
" title="<?php 
            echo $gallery->title;