	             <?
if(!empty($_GET['id'])){
    
    $id = $_GET['id'];
    $r = $db->findByPK('tbcountry','country_id',$id)->executeRow();
    
}
?>	            
                                <section class="panel">
									<header class="panel-heading">
										<h2 class="panel-title bread-c"><a href="?url=country">ประเทศ > </a>Create country :</h2>
									</header>
                                   
					<div class="panel-body">
						<form class="form-horizontal form-bordered" id="form_country" name="form_country" method="post" >
								<div class="row">
					
                                   <div class="col-md-6">
											<div class="form-group">
												<label class="col-md-3 control-label" for="inputDefault">Country NAME ENG</label>
												<div class="col-md-6">
													<input type=hidden name=id value='<? echo $id;?>'>
													<input type="text" class="form-control" id="inputDefault" id='name' name='name' value="<?echo $r['country_name_eng'];?>">
												</div>
											</div>
										<div class="form-group">
												<label class="col-md-3 control-label" for="inputDefault">Country NAME THAI</label>
												<div class="col-md-6">
													<input type="text" class="form-control" id="inputDefault" id='nameth' name='nameth'  value="<?echo $r['country_name'];?>">
												</div>
											</div>
									
                                 <div class="col-md-12 text-center" style="margin-top:20px;">
								<div class="form-actions">
									<button type="submit" id="PackageBT" class="btn btn-danger"><i class="fa fa-save"></i> บันทึก</button>
									<button type="reset" onclick="window.history.back();return false;" class="btn btn-cancel-color">ยกเลิก</button>
								</div>
								</div>
                            </form>
                                </div>
								</section>





