Beispiel #1
0
    ?>
		</div>
	</div>

<h6 class="text-center">SHOW VIDEO <br><button type="button" class="btn btn-default btn-no-border">
	<span class="glyphicon glyphicon-chevron-down" aria-hidden="true"></span>
</button></h6>
<hr>
<div class="row">
	<h6 class="col-md-4"><center><span class="glyphicon glyphicon-th" aria-hidden="true"> VIEW ALL BLOG</center></h6>
	<h6 class="col-md-4"><center><strong><u>BLOG</u></strong></center></h6>
	<h6 class="col-md-4"><center>ARCHIVES <span class="caret"></span></center></h6>
</div>
<?php 
    $tableconb = new PoTable('post');
    $conbs = $tableconb->findAllLimit(id_post, DESC, '6');
    $no = 1;
    foreach ($conbs as $conb) {
        if ($no == 1) {
            ?>
<div class="row"><?php 
        }
        ?>
	<div class="col-md-4">
		<img width="100%" src="<?php 
        echo $website_url;
        ?>
/po-content/po-thumbs/<?php 
        echo $conb->picture;
        ?>
" class="img-responsive" alt="<?php 
Beispiel #2
0
                        </div>
                    </div>
                    <?php 
    include_once "po-content/{$folder}/sidebar.php";
    ?>
                </div>

                <div class="row page_margin_top_section">
                    <div class="column column_1_1">
                        <h4 class="box_header">Galeri</h4>
                        <div class="horizontal_carousel_container page_margin_top">
                            <ul class="blog horizontal_carousel page_margin_top autoplay-0 visible-4 scroll-1 navigation-1 easing-easeInOutQuint duration-750">
                            <?php 
    $nogal = 1;
    $tablegallery = new PoTable('gallery');
    $gallerys = $tablegallery->findAllLimit(id_gallery, DESC, '8');
    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') {
            ?>
                                <li class="post">
                                    <a class="post_image prettyPhoto" href="<?php 
            echo $website_url;
            ?>
/po-content/po-upload/<?php 
            echo $gallery->picture;
            ?>
" title="<?php 
Beispiel #3
0
                <form class="form-inline" method="post" action="<?php 
    echo $website_url;
    ?>
/subscribe.php">
                  <input type="email" name="email_address" class="form-control" id="input-email" placeholder="Type your e-mail adress">
                  <button type="submit" name="submit" class="btn"> <span class="ion-paper-airplane text-danger"></span> </button>
                </form>
              </div>
            </div>
          </div>
          <div class="col-sm-5 popular-tags  wow fadeInDown animated" data-wow-delay="1s" data-wow-offset="40">
            <div class="f-title">popular tags</div>
            <ul class="tags list-unstyled pull-left">
            <?php 
    $tabletag = new PoTable('tag');
    $tags = $tabletag->findAllLimit(id_tag, DESC, '10');
    foreach ($tags as $tag) {
        ?>
              <li><a href="<?php 
        echo $website_url;
        ?>
/search-result/<?php 
        echo $tag->tag_title;
        ?>
" title=""><?php 
        echo $tag->tag_title;
        ?>
</a></li>
              <?php 
    }
    ?>
Beispiel #4
0
                    </ul>
                </div>
            </div>
            <div class="page_layout ">
                <div class="divider_block clearfix">
                    <hr class="divider first"><hr class="divider subheader_arrow"><hr class="divider last">
                </div>
                <div class="row">
                    <div class="column column_2_3">
                        <ul class="blog medium">
                        <?php 
    $p = new Paging();
    $batas = 6;
    $posisi = $p->cariPosisi($batas);
    $tablegal = new PoTable('gallery');
    $gallerys = $tablegal->findAllLimit(id_gallery, "DESC", "{$posisi},{$batas}");
    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') {
            ?>
                            <li class="post">
                                <a class="post_image prettyPhoto" href="<?php 
            echo $website_url;
            ?>
/po-content/po-upload/<?php 
            echo $gallery->picture;
            ?>
" title="<?php 
                        </div>
                    </div>
                </div>
            </div>
			<!-- **Full-width-section - Starts** -->
			<div class="full-width-section">
				<div class="dt-sc-margin70"></div>
				<section id="primary" class="content-full-width">
					<div class="container">
					<?php 
    $p = new Paging();
    $nov = 1;
    $batas = 12;
    $posisi = $p->cariPosisi($batas);
    $tableevt = new PoTable('event');
    $dataevents = $tableevt->findAllLimit(startevt, "DESC", "{$posisi},{$batas}");
    foreach ($dataevents as $dataevent) {
        $idevt = $dataevent->id_event;
        $startevt = $dataevent->startevt;
        $startevt = explode(' ', $startevt);
        $startsth = substr($startevt[0], 0, 4);
        $startshr = substr($startevt[0], 8, 2);
        $startbshr = substr(getBulan(substr($startevt[0], 5, 2)), 0, 3);
        $endevt = $dataevent->endevt;
        $endevt = explode(' ', $endevt);
        ?>
						<?php 
        if ($nov % 3 == 1) {
            ?>
						<div class="column dt-sc-one-third first">
						<?php 
                    </div>
                </div>
            </div>
            <div class="dt-sc-margin100"></div>    
			<!-- Container starts-->
			<div class="container">
                <!-- Primary Starts -->
				<section id="primary" class="content-full-width">
                    <!-- **portfolio-container - Starts** -->
                    <div class="portfolio-container">
						<?php 
    $p = new Paging();
    $batas = 8;
    $posisi = $p->cariPosisi($batas);
    $tablealb = new PoTable('valbum');
    $dataalbs = $tablealb->findAllLimit(id_album, "DESC", "{$posisi},{$batas}");
    foreach ($dataalbs as $dataalb) {
        $tablevid = new PoTable('video');
        $datavids = $tablevid->findByDESC(id_album, $dataalb->id_album, id_video);
        $datavid = $datavids->current();
        ?>
						<div class="portfolio dt-sc-one-third column with-space">
                            <!-- **portfolio-thumb - Starts** -->
                            <div class="portfolio-thumb">
                                <img src="<?php 
        echo $website_url;
        ?>
/po-content/po-upload/medium/medium_<?php 
        echo $datavid->picture;
        ?>
" alt="<?php 
Beispiel #7
0
    echo $folder;
    ?>
/js/jquery.chocolat.js"></script>

			<!--light-box-files -->
			<script type="text/javascript">
			$(function() {
				$('.gallery a').Chocolat();
			});
			</script>
			<h3>Gallery</h3>
			<section>
				<ul id="da-thumbs" class="da-thumbs">
					<?php 
    $tablegal = new PoTable('gallery');
    $gallerys = $tablegal->findAllLimit(id_gallery, "DESC", "9");
    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') {
            ?>
					<li>
						<a href="<?php 
            echo $website_url;
            ?>
/po-content/po-upload/medium/medium_<?php 
            echo $gallery->picture;
            ?>
" class="b-link-stripe b-animate-go thickbox">
Beispiel #8
0
            ?>
"><?php 
            echo $rec->title;
            ?>
</a></li>
				<?php 
        }
        ?>
			</ul>
		</section>
		<section class="recent">
			<h4>RECENT COMMENTS</h4>
			<ul>
				<?php 
        $tabledcom = new PoTable('comment');
        $composts = $tabledcom->findAllLimit(id_comment, "ASC", 3);
        foreach ($composts as $compost) {
            $comcontent = nl2br($compost->comment);
            ?>
				<li>
					<h5><strong><?php 
            echo $compost->name;
            ?>
</strong></h5>
					<p><?php 
            echo $comcontent;
            ?>
</p><hr>
				</li>
				<?php 
        }