예제 #1
0
          <table id="sitemap_manager">
          
            <thead>
              <tr class="headers">
                <td width="25"> ID </td>
                <td width="150">Location</td>
                <td width="130">Last Modification</td>
                <td width="150">Update Frequecy</td>
                <td width="100">Priority</td>
                <td width="100" align="center">Actions</td>
              </tr>
            </thead>
          
            <tbody id="alter_rows">
           <?php 
$count_record = Sitemap::countSitemap();
if (!isset($_REQUEST['page'])) {
    $page = 1;
} else {
    $page = $_GET[page];
}
$pagination = new Pagination();
//for display
$pg = $pagination->page_pagination(20, $count_record, $page, 20);
//$result_prod = mysql_query($query_Recordset2.$pg[1]);
$sitemap = Sitemap::findAll($pg[1]);
?>
		  	<? if($count_record == 0) { ?>
            	<tr>
                	<td colspan="6" style="font-family:Arial, Helvetica, sans-serif; font-size:12px; color:#F00; font-weight:bold">No Record Found</td>
                </tr>