Location: PHPKode > projects > phpMyPrepaid > phpmyprepaid/www/include/fckeditor/editor/filemanager/browser/default/displayimage.php
<?
print '<html>
	<head>
		<title>FCKeditor - Resources Browser</title>
		<link href="browser.css" type="text/css" rel="stylesheet">
		<script type="text/javascript" src="js/fckxml.js">';
print '</script></head>';
if (isset($_GET['fileUrl'])) $fu=$_GET['fileUrl'];
if (isset($_POST['fileUrl'])) {
	$fu=$_POST['fileUrl'];

	$ff=split('/',$fu);
	$image=$ff[sizeof($ff)-1];
	$pth= substr($fu,strpos($fu, 'images') +strlen('images//'),strlen($images));
	$pth='../../../../../../images/'.$pth;
	chdir($pth);
	print $image;
	print $pth;
	print unlink($image);
	print '	 <script type="text/javascript" >
			window: top.opener.top.location.reload(true);
			window.close();
	</script>';

}
printf('<form action="displayimage" method="post">');
print '<div  style="text-align: center;">';
print '<table width=100%><tr><br></tr><tr><td  align ="center">';
print '<input class="image"  type="image" value="submit" name="submit" src="'.$fu.'">';
print '<input type="hidden" name="fileUrl" value="'.$_GET['fileUrl'].'">';
print '</td></tr><tr><td  align ="center"><br>';
print '<input style="width: 100px; font-weight: bold; font-size: 14px;" name="submit" type="submit" class="Button" value="  Delete  " >';
print '</td>';
print '</tr><table></div>';
print '</html>';
?>
Return current item: phpMyPrepaid