						<section class="panel" style="color:red;">
							<header class="panel-heading">
									<!-- <a href="#" class="fa fa-caret-down"></a>
									<a href="#" class="fa fa-times"></a -->
								<a href="?url=country_add" data-link="?url=country_add" class="btn btn-success with-shadow-success" style="position: absolute;right: 16px;top: 10px;">เพิ่ม ประเทศ ใหม่</a>
						
								<h1 class="panel-title">Country List</h1>
							</header>
							<div class="panel-body">
								<table class="table table-bordered table-striped mb-none" id="datatable-tabletools">
									<thead>
										<tr>
											<th>NO</th>
											<th>Country Name</th>
											<th>Actions</th>
										</tr>
									</thead>
									<tbody>
								<?php
						    $rs = $db->findAll('tbcountry')->execute(); 
                			$i=0;
                		    while($dbarr= mysql_fetch_array($rs)){ 
            				echo "<tr>";  $i++ ;
            				echo "    <td class='center'>$i</td>";
            				echo "    <td> $dbarr[country_name]</td>";
                            echo " <td class='center'>
                            <a class='btn btn-danger' href='?url=country_edit&id=$dbarr[country_id]'>
                            <i class='fa fa-edit fa-x'></i>  </a>";
                            echo "</td></tr>";	
            			
                        
          
        				}//mysql_close($link);
       
                		?> 
									</tbody>
								</table>
							</div>
						</section>