</li>
										<?php 
            }
        }
        ?>
								</ul> <!-- **recent-gallery - Ends** -->
								<div class="dt-sc-margin10"></div>
								<!-- **bx-pager - Starts** -->
								<div id="bx-pager">
								<?php 
        $p = new Paging();
        $nov = 1;
        $batas = 6;
        $posisi = $p->cariPosisi($batas);
        $tablevid = new PoTable('video');
        $videos = $tablevid->findAllLimitBy(id_video, id_album, $idalb, DESC, "{$posisi},{$batas}");
        foreach ($videos as $video) {
            $idalb = $video->id_album;
            $tablecalb = new PoTable('valbum');
            $currentCalb = $tablecalb->findBy(id_album, $idalb);
            $currentCalb = $currentCalb->current();
            if ($currentCalb->active == 'Y') {
                ?>
										<a href="javascript:void(0);" data-slide-index="<?php 
                echo $nov;
                ?>
"><img src="<?php 
                echo $website_url;
                ?>
/po-content/po-thumbs/<?php 
                echo $video->picture;
Beispiel #2
0
        }
        ?>
                        </ul>
                        <?php 
    }
    ?>

                        <?php 
    if ($mod == "home" or $mod == "detailpost") {
        ?>
                        <h4 class="box_header page_margin_top_section">Post Komentar</h4>
                        <div class="vertical_carousel_container clearfix">
                            <ul class="blog small vertical_carousel autoplay-1 scroll-1 navigation-1 easing-easeInOutQuint duration-750">
                            <?php 
        $tablecom = new PoTable('comment');
        $coms = $tablecom->findAllLimitBy(id_comment, active, 'Y', DESC, '5');
        foreach ($coms as $com) {
            $validcom = $com->id_post;
            $explname = explode(" ", $com->name);
            $tablecompo = new PoTable('post');
            $currentCompo = $tablecompo->findBy(id_post, $validcom);
            $currentCompo = $currentCompo->current();
            ?>
                                <li class="post">
                                    <a href="<?php 
            echo "{$website_url}/detailpost/{$currentCompo->seotitle}";
            ?>
#comment-list" title="<?php 
            echo $currentCompo->title;
            ?>
">
Beispiel #3
0
        ?>
" title=""><?php 
        echo $tag->tag_title;
        ?>
</a></li>
              <?php 
    }
    ?>
            </ul>
          </div>
          <div class="col-sm-5 recent-posts  wow fadeInDown animated" data-wow-delay="1s" data-wow-offset="40">
            <div class="f-title">recent posts</div>
            <ul class="list-unstyled">
            <?php 
    $tablepopfoot = new PoTable('post');
    $popfoots = $tablepopfoot->findAllLimitBy(hits, active, 'Y', DESC, '3');
    foreach ($popfoots as $popfoot) {
        ?>
              <li> <a href="<?php 
        echo "{$website_url}/detailpost/{$popfoot->seotitle}";
        ?>
">
                <div class="row">
                  <div class="col-sm-4"><img class="img-thumbnail pull-left" src="<?php 
        echo $website_url;
        ?>
/po-content/po-upload/<?php 
        echo $popfoot->picture;
        ?>
" width="70" height="70" alt="<?php 
        echo $popfoot->title;
Beispiel #4
0
				</div>
			</div>
			<div class="clearfix"> </div>
		</div>
	</div>
<!-- //events-bottom -->
<!-- testimonials -->
	<div class="testimonials">
		<div class="container">
			<h3>Testimonials</h3>
			<section class="slider">
				<div class="flexslider">
					<ul class="slides">
						<?php 
    $tablenewtestimoni = new PoTable('users');
    $items = $tablenewtestimoni->findAllLimitBy(id_user, status_testimonial, 'Y', DESC, '6');
    $i = 1;
    foreach ($items as $item) {
        if ($i == 1) {
            echo "<li><div class='testimonials-grid'>";
        }
        ?>
								<div class="col-md-6 testimonials-grid-left">
									<div class="testimonials-grid-left1">
										<img src="<?php 
        echo $website_url;
        ?>
/po-content/po-upload/user-<?php 
        echo $item->userpicture;
        ?>
" alt=" " class="img-responsive" />
                    </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 = 12;
        $posisi = $p->cariPosisi($batas);
        $tablegal = new PoTable('gallery');
        $gallerys = $tablegal->findAllLimitBy(id_gallery, id_album, $idalb, DESC, "{$posisi},{$batas}");
        foreach ($gallerys as $gallery) {
            ?>
						<div class="portfolio dt-sc-one-fourth column with-space">
                            <!-- **portfolio-thumb - Starts** -->
                            <div class="portfolio-thumb">
                                <img src="<?php 
            echo $website_url;
            ?>
/po-content/po-upload/medium/medium_<?php 
            echo $gallery->picture;
            ?>
" alt="<?php 
            echo $gallery->title;
            ?>
" />
            </div> <!-- **Full-width-section - Ends** -->

			<!-- **Full-width-section - Starts** -->   
			<div style="background-position: 50% 56px; padding: 50px 0px 10px;" class="parallax full-width-section product-presentation-bg">
            	<div class="container">
					<!-- **hr-title - Starts** -->
                	<div class="hr-title dt-sc-hr-invisible-small">
                        <h2>Event PHP Indonesia</h2>
                        <!-- **title-sep - Starts** -->
                        <div class="title-sep">
                        </div> <!-- **title-sep - Ends** -->
                    </div> <!-- **hr-title - Ends** -->
				    <div class="dt-sc-margin25"></div>
					<?php 
    $tableevent = new PoTable('event');
    $events = $tableevent->findAllLimitBy(start, active, "Y", "DESC", "3");
    $countevents = $tableevent->numRowBy(active, 'Y');
    if ($countevents > 0) {
        $nov = 1;
        foreach ($events as $event) {
            $startevt = $event->start;
            $startevt = explode(' ', $startevt);
            $startshr = substr($startevt[0], 8, 2);
            $startbshr = substr(getBulan(substr($startevt[0], 5, 2)), 0, 3);
            $endevt = $event->end;
            $endevt = explode(' ', $endevt);
            ?>
					<?php 
            if ($nov == '1') {
                ?>
                    <div class="column dt-sc-one-third first">
Beispiel #7
0
        ?>
</p>
					</div>
				</div>
			</div>
		</section>

		<section class="portfolio-container">
			<div class="container">
				<div class="row">
					<div class="col-md-12"><h3>Recent Blog</h3></div>
				</div>
				<div class="row">
					<?php 
        $tablerec = new PoTable('post');
        $recs = $tablerec->findAllLimitBy(id_post, active, 'Y', DESC, '3');
        foreach ($recs as $rec) {
            $validrec = $rec->id_category;
            $tablecatrec = new PoTable('category');
            $currentCatrec = $tablecatrec->findBy(id_category, $validrec);
            $currentCatrec = $currentCatrec->current();
            ?>
					<div class="col-sm-4">
						<div class="portfolio-item">
							<a href="<?php 
            echo "{$website_url}/detailpost/{$rec->seotitle}";
            ?>
" class="image">
								<img src="<?php 
            echo $website_url;
            ?>
Beispiel #8
0
            </ul>
          </div>
          <div class="col-sm-1 shuffle text-right"><a href="#"><span class="ion-shuffle"></span></a></div>
        </div>
      </div>
      <!-- hot news end --> 
      <!-- banner outer start -->
      <div  class="col-sm-16 banner-outer wow fadeInLeft animated" data-wow-delay="1s" data-wow-offset="50">
        <div class="row">
          <div class="col-sm-16 col-md-10 col-lg-8"> 
            
            <!-- carousel start -->
            <div id="sync1" class="owl-carousel">
            <?php 
    $tableslider = new PoTable('post');
    $sliders = $tableslider->findAllLimitBy(id_post, active, 'Y', DESC, '4');
    foreach ($sliders as $slider) {
        ?>
              <div class="box item"> <a href="<?php 
        echo "{$website_url}/detailpost/{$slider->seotitle}";
        ?>
">
                <div class="carousel-caption"><?php 
        echo $slider->title;
        ?>
</div>
                <img class="img-responsive" src="<?php 
        echo $website_url;
        ?>
/content/upload/<?php 
        echo $slider->picture;