Example #1
0
/po-content/po-upload/medium/medium_<?php 
                echo $tablerelated->picture;
                ?>
" alt="<?php 
                echo $tablerelated->title;
                ?>
">
                                    </a>
                                    <h5><a href="<?php 
                echo "{$website_url}/detailpost/{$tablerelated->seotitle}";
                ?>
" title="<?php 
                echo $tablerelated->title;
                ?>
"><?php 
                echo cuthighlight('title', $tablerelated->title, '35');
                ?>
</a></h5>
                                    <ul class="post_details simple"><li class="date"><?php 
                echo $tablerelated->time;
                ?>
, <?php 
                echo tgl_indo($tablerelated->date);
                ?>
</li></ul>
                                </li>
                                <?php 
            }
            ?>
                            </ul>
                        </div>
Example #2
0
/po-content/po-thumbs/<?php 
        echo $conb->picture;
        ?>
" class="img-responsive" alt="<?php 
        echo $conb->title;
        ?>
">
		<h5><strong><center><a href="<?php 
        echo "{$website_url}/detailpost/{$conb->seotitle}";
        ?>
"><?php 
        echo $conb->title;
        ?>
</a></center></strong></h5>
		<p class="clearfix"><?php 
        echo cuthighlight('post', $conb->content, '100');
        ?>
</p>
		<p class="text-danger pull-right"><a href="<?php 
        echo "{$website_url}/detailpost/{$conb->seotitle}";
        ?>
">Read More</a></p>
	</div>
<?php 
        if ($no == 3) {
            ?>
</div>
<?php 
        }
        $no++;
        if ($no == 4) {
Example #3
0
            ?>
/po-content/po-upload/medium/medium_<?php 
            echo $dcpost->picture;
            ?>
" class="img-rounded" />
							<span class="hover-zoom"></span>
						</a>
						<h4><a href="<?php 
            echo "{$website_url}/detailpost/{$dcpost->seotitle}";
            ?>
" class="name"><?php 
            echo cuthighlight('title', $dcpost->title, '30');
            ?>
...</a></h4>
						<div class="categories"><?php 
            echo cuthighlight('post', $dcpost->content, '100');
            ?>
...</div>
					</div>
				</div>
			<?php 
        }
        ?>
			</div>
			<div class="row">
				<div class="col-md-12">
					<div class="text-center">
						<ul class="pagination">
							<?php 
        $getpage = $val->validasi($_GET['page'], 'sql');
        $jmldata = $tabledcpost->numRowByAnd(id_category, "{$iddcat}", active, "Y");
Example #4
0
                ?>
/po-content/po-upload/medium/medium_<?php 
                echo $searchpost->picture;
                ?>
" class="img-rounded" />
								<span class="hover-zoom"></span>
							</a>
							<h4><a href="<?php 
                echo "{$website_url}/detailpost/{$searchpost->seotitle}";
                ?>
" class="name"><?php 
                echo cuthighlight('title', $searchpost->title, '35');
                ?>
...</a></h4>
							<div class="categories"><div class="categories"><?php 
                echo cuthighlight('post', $searchpost->content, '100');
                ?>
...</div></div>
						</div>
					</div>
				<?php 
            }
            ?>
				</div>
				<div class="row">
					<div class="col-md-12">
						<div class="text-center">
							<ul class="pagination">
								<?php 
            $getpage = $val->validasi($_GET['page'], 'sql');
            $jmldata = $tablesearch->numRowSearchPost($kata);
Example #5
0
if ($mod == "") {
    header('location:404.php');
} else {
    error_reporting(0);
    if (isset($_GET['id'])) {
        $idmetadesc = $val->validasi($_GET['id'], 'xss');
        $metadesc = new PoTable();
        $currentMetaDesc = $metadesc->findManualQuery($tabel = "post", $field = "", $condition = "WHERE seotitle='" . $idmetadesc . "'");
        $currentMetaDesc = $currentMetaDesc->current();
        if ($currentMetaDesc) {
            echo cuthighlight('post', $currentMetaDesc->content, '200');
        } else {
            $idmetadesc = ucfirst($mod);
            echo $idmetadesc . " - " . $meta_description;
        }
    } elseif (isset($_GET['idp'])) {
        $idmetadesc = $val->validasi($_GET['idp'], 'xss');
        $metadesc = new PoTable();
        $currentMetaDesc = $metadesc->findManualQuery($tabel = "pages", $field = "", $condition = "WHERE seotitle='" . $idmetadesc . "'");
        $currentMetaDesc = $currentMetaDesc->current();
        if ($currentMetaDesc) {
            echo cuthighlight('post', $currentMetaDesc->content, '200');
        } else {
            $idmetadesc = ucfirst($mod);
            echo $idmetadesc . " - " . $meta_description;
        }
    } else {
        $idmetadesc = ucfirst($mod);
        echo $idmetadesc . " - " . $meta_description;
    }
}
Example #6
0
"><?php 
        echo cuthighlight('title', $cond->title, '35');
        ?>
...</a></h2>
                                        <ul class="post_details">
                                            <li class="category"><a href="<?php 
        echo "{$website_url}/category/hubungan";
        ?>
" title="Hubungan">HUBUNGAN</a></li>
                                            <li class="date"><?php 
        echo tgl_indo($cond->date);
        ?>
</li>
                                        </ul>
                                        <p><?php 
        echo cuthighlight('post', $cond->content, '150');
        ?>
...</p>
                                        <a class="read_more" href="<?php 
        echo "{$website_url}/detailpost/{$cond->seotitle}";
        ?>
" title="Read more"><span class="arrow"></span><span>BACA SELENGKAPNYA</span></a>
                                    </div>
                                </li>
                            <?php 
    }
    ?>
                            </ul>
                        </div>
                    </div>
                    <?php 
Example #7
0
         $metasocial_url = $website_url;
         $metasocial_title = $website_name;
         $metasocial_desc = $meta_description;
         $metasocial_img = $website_url . '/favicon.png';
     }
 } elseif (isset($_GET['idp'])) {
     $idmetadesc = $val->validasi($_GET['idp'], 'xss');
     $metadesc = new PoTable();
     $currentMetaDesc = $metadesc->findManualQuery($tabel = "pages", $field = "", $condition = "WHERE seotitle='" . $idmetadesc . "'");
     $currentMetaDesc = $currentMetaDesc->current();
     if ($currentMetaDesc) {
         $metasocial_mod = ucfirst($mod);
         $metasocial_name = $website_name;
         $metasocial_url = $website_url . '/pages/' . $currentMetaDesc->seotitle;
         $metasocial_title = $currentMetaDesc->title;
         $metasocial_desc = cuthighlight('post', $currentMetaDesc->content, '200');
         $metasocial_img = $website_url . '/po-content/po-upload/' . $currentMetaDesc->picture;
     } else {
         $metasocial_mod = ucfirst($mod);
         $metasocial_name = $website_name;
         $metasocial_url = $website_url;
         $metasocial_title = $website_name;
         $metasocial_desc = $meta_description;
         $metasocial_img = $website_url . '/favicon.png';
     }
 } else {
     $metasocial_mod = ucfirst($mod);
     $metasocial_name = $website_name;
     $metasocial_url = $website_url;
     $metasocial_title = $website_name;
     $metasocial_desc = $meta_description;
Example #8
0
            echo $currentCompo->picture;
            ?>
" alt="<?php 
            echo $currentCompo->title;
            ?>
" style="width:100px;">
                                    </a>
                                    <div class="post_content">
                                        <h5><a href="<?php 
            echo "{$website_url}/detailpost/{$currentCompo->seotitle}";
            ?>
#comment-list" title="<?php 
            echo $currentCompo->title;
            ?>
"><?php 
            echo cuthighlight('post', $com->comment, '45');
            ?>
...</a></h5>
                                        <ul class="post_details simple">
                                            <li class="category"><a href="<?php 
            echo "{$website_url}/detailpost/{$currentCompo->seotitle}";
            ?>
" title="<?php 
            echo $com->name;
            ?>
"><?php 
            echo $explname[0];
            ?>
</a></li>
                                            <li class="date"><?php 
            echo tgl_indo($com->date);
Example #9
0
					<li style="top:-250px;" background="<?php 
        echo $website_url;
        ?>
/po-content/po-upload/<?php 
        echo $slider->picture;
        ?>
">
						<div class="banner">
								<div class="container">
									<div class="banner-info">
										<h3><?php 
        echo $slider->title;
        ?>
</h3>
										<p><?php 
        echo cuthighlight('title', $slider->title, '35');
        ?>
...</p>
										<a class="scroll" href="#about"><img src="<?php 
        echo $website_url;
        ?>
/po-content/<?php 
        echo $folder;
        ?>
/images/arrow.png" alt=""/></a>
									</div>
								</div>
						</div>
					</li>
					<?php 
    }
Example #10
0
" alt="<?php 
            echo $gallery->title;
            ?>
">
                                </a>
                                <h5><a class="post_image prettyPhoto" href="<?php 
            echo $website_url;
            ?>
/po-content/po-upload/<?php 
            echo $gallery->picture;
            ?>
" title="<?php 
            echo $gallery->title;
            ?>
"><?php 
            echo cuthighlight('title', $gallery->title, '15');
            ?>
...</a>
                            </li>
                        <?php 
        }
    }
    ?>
                        </ul>
                        <div class="row">
                            <p>&nbsp;</p>
                            <ul class="pagination clearfix page_margin_top_section">
                            <?php 
    $getpage = $val->validasi($_GET['page'], 'sql');
    $jmldata = $tablegal->numRow();
    $jmlhalaman = $p->jumlahHalaman($jmldata, $batas);
													Seharian
												<?php 
        } else {
            ?>
													<?php 
            echo $startevt[1];
            ?>
 - <?php 
            echo $endevt[1];
            ?>
												<?php 
        }
        ?>
											</p>
											<p><?php 
        echo cuthighlight('post', $dataevent->content, '150');
        ?>
...</p>
										</div>
									</div> <!-- **entry-detail - Ends** -->
								</div>
							</article> <!-- **Blog-post - Ends** -->
						</div>
						<?php 
        $nov++;
    }
    ?>
						<!-- **pagination - Starts** -->  
						<div class="pagination">
							<ul>
								<?php 
Example #12
0
    $con1js = $tablecon1j->findAllLimitByAnd(id_post, id_category, active, '4', 'Y', DESC, '10');
    foreach ($con1js as $con1j) {
        ?>
               <div class="item topic">          
               <a href="<?php 
        echo "{$website_url}/detailpost/{$con1j->seotitle}";
        ?>
"> <img class="img-thumbnail" src="<?php 
        echo $website_url;
        ?>
/content/upload/<?php 
        echo $con1j->picture;
        ?>
" width="300" height="132" alt=""/>
                  <h4><?php 
        echo cuthighlight('post', $con1j->title, '50');
        ?>
...</h4>
                  <div class="text-danger sub-info-bordered remove-borders">
                    <div class="time"><span class="ion-android-data icon"></span><?php 
        echo tgl_indo($con1j->date);
        ?>
</div>
                    <div class="comments"><span class="ion-chatbubbles icon"></span><?php 
        echo $con1j->hits;
        ?>
</div>
                    <div class="stars"><span class="ion-ios7-star"></span><span class="ion-ios7-star"></span><span class="ion-ios7-star"></span><span class="ion-ios7-star"></span><span class="ion-ios7-star-half"></span></div>
                  </div>
                  </a> </div>
            <?php 
Example #13
0
        echo tgl_indo($slider->date);
        ?>
</li>
                                    </ul>
                                    <h2><a href="<?php 
        echo "{$website_url}/detailpost/{$slider->seotitle}";
        ?>
" title="<?php 
        echo $slider->title;
        ?>
"><?php 
        echo cuthighlight('title', $slider->title, '35');
        ?>
...</a></h2>
                                    <p class="clearfix"><?php 
        echo cuthighlight('post', $slider->content, '100');
        ?>
...</p>
                                </div>
                            </li>
                        <?php 
    }
    ?>
                        </ul>
                        <!--<div class="slider_posts_list_container"></div>-->