Exemplo n.º 1
0
"><?php 
echo $v;
?>
</a>,
                <? }?>
                </p>
                </div>
            </div>
            <hr />
     <? }?>
     <div class="blog_pagination">
    	<?
		$connector = new DbConnector($db_location, $db_user,$db_pass,$db_db);
     	$countquery="select id from blog_form";
		$sqlr=$connector->query($countquery);
		$pageCount = ceil($connector->getNumrows($sqlr)/ $blog_limit);
		?>
        <? if(($pageOn) != 0){?>
        <a href="<?php 
echo $base_url;
?>
blog/<?php 
echo $_REQUEST['id'] - 1;
?>
">&lt;- PREVIOUS</a>
        <? }?>
        
        <? if($_REQUEST['id'] <= 3){
			for($i=1;$i<=5;$i++){?>
            <? if($i == $_REQUEST['id']){?>
            	<?php