require('config/globalSettings.inc.php'); ?> $fileUniqueHash = $_GET['hash']; $query = "SELECT artistemail, admin FROM artist WHERE artistid='".$_SESSION['userSes']."' AND artistenabled='1'"; $result = $mysqli->query($query); if($result->num_rows > 0) { while($row = $result->fetch_assoc()) { $loggedInUserEmail = $row['artistemail']; $admin = $row['admin']; } } $query = "SELECT * FROM files WHERE fileuniqueid='$fileUniqueHash'"; $result = $mysqli->query($query); $fileValid = False; if($result->num_rows > 0) { $fileValid = True; while($row = $result->fetch_assoc()) { $fileId = $row['fileid']; $fileName = $row['filename']; $fileDescription = $row['filedescription']; $fileInstallInfo = $row['fileinstallinfo']; $fileImageHash = $row['fileimagehash']; $fileOwnerName = $row['fileownername']; $fpscX9 = $row['fpscx9']; $fpscX10 = $row['fpscx10']; $fpscReloaded = $row['fpscreloaded']; $fileUploadDate = $row['fileuploaddate']; $fileOwnerEmail = $row['fileowneremail']; $fileDownloadCount = $row['filedownloadcount']; } } else { $fileValid = False; } ?> require('includes/pageTop.inc.php');?>
You can edit this file below.
}else{?>This is not your file you cannot edit.
}?> require('includes/pageBottom.inc.php');?>