<?php
/*
AjaxExplorer Copyright (C) 2007-2008 Syed Mohammad Sidque Tahir Al-Habshi
This program is free software: you can redistribute it and/or modify
it under the terms of the GNU General Public License as published by
the Free Software Foundation, either version 3 of the License, or
(at your option) any later version.
This program is distributed in the hope that it will be useful,
but WITHOUT ANY WARRANTY; without even the implied warranty of
MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. Head to
GNU site http://www.gnu.org/licenses/ for license copy.
*/
$text='';
$access='0000';
include 'core.php';
include 'download.php';
?>
<html>
<head>
<script type="text/javascript">
function noMenu()
{
top.menuHide();
return false;
}
function goLoad()
{
if(top.halt || top.stop) return 0;
document.form.dirc.value=top.dvrt+top.getDirc();
top.writeAt('detail', 'Uploading file...');
document.form.download.value='';
return 1;
}
<?php
include 'upload.php';
echo $text;
?>
document.oncontextmenu=noMenu;
</script>
</head>
<body style="margin: 0px; overflow: hidden; background: #D6DFF7">
<form name="form" method="post" enctype="multipart/form-data">
<div class="border">
<input name="dirc" type="hidden" /><input name="upload" size="15" type="file" style="font: 11px Verdana" onchange="if(goLoad()) submit()" /><input name="download" type="hidden" />
</div>
</form>
</body>
</html>