KGRKJGETMRETU895U-589TY5MIGM5JGB5SDFESFREWTGR54TY
Server : Apache/2.4.62
System : FreeBSD fbsdweb2.web.rcn.net 14.1-RELEASE FreeBSD 14.1-RELEASE releng/14.1-n267679-10e31f0946d8 GENERIC amd64
User : www ( 80)
PHP Version : 8.3.8
Disable Function : NONE
Directory :  /domains/klengineers/klwebsite-controller/includes/

Upload File :
current_dir [ Writeable ] document_root [ Writeable ]

 

Current File : /domains/klengineers/klwebsite-controller/includes/head-edit.php
<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Transitional//EN" "http://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd">
<html>
<head>
	<title>Admin</title>
	<meta http-equiv="content-type" content="text/html; charset=iso-8859-1" />
	<style media="all" type="text/css">@import "./css/all.css";</style>
    <link href="uploadify/uploadify.css" type="text/css" rel="stylesheet" />
    <script type="text/javascript" src="uploadify/jquery-1.4.2.min.js"></script>
    <script type="text/javascript" src="uploadify/swfobject.js"></script>
    <script type="text/javascript" src="uploadify/jquery.uploadify.v2.1.4.js"></script>
    <script type="text/javascript">
	function loadGallery(id)
	{
		if(id.length == 0) {
			$('#roller').fadeOut();
		} else {
					$('#listingContainer').html('<div id="roller" style="margin:0 auto;margin-left:295px; height:100px;width:100px;" align="center"></div>');
		$('#roller').addClass('load');
			$.post("loadImage.php", {id: ""+id+""}, function(data){
				if(data.length >0) {
					$('#roller').removeClass('load');
					$('#roller').fadeIn();
					$('#listingContainer').html(data);
				}
			});
		}
	}


	function delImage(image,id)
	{
		if(id.length == 0) {
			$('#roller').fadeOut();
		} else {
					$('#listingContainer').html('<div id="roller" style="margin:0 auto;margin-left:295px; height:100px;width:100px;" align="center"></div>');
		$('#roller').addClass('load');
			$.post("delImage.php", {id: ""+id+"",name:""+image+""}, function(data){
				if(data.length >0) {
					$('#roller').removeClass('load');
					$('#roller').fadeIn();
					$('#response').html(data);
					loadGallery(<?php echo $_REQUEST['id']?>);
				}
			});
		}
	}
	
    $(document).ready(function() {
      $('#file_upload').uploadify({
        'uploader'  : 'uploadify/uploadify.swf',
        'script'    : 'uploadify/uploadify.php',
        'cancelImg' : 'uploadify/cancel.png',
        'folder'    : 'gallery',
        'galleryID' : '<?php echo $_REQUEST['id']?>',
		'multi'     : true,
		'queueID'   : 'fileQueue',
        'auto'      : true,
		'onAllComplete'  : function() {
								loadGallery(<?php echo $_REQUEST['id']?>);
							}
      });
	  loadGallery(<?php echo $_REQUEST['id']?>);
    });
    </script>


</head>
<body>

<?php
		
		$msg=""; /************ to avoid notice msg in some servers:"undefined variable msg************************/
		
?>

Anon7 - 2021