|
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/abtechsci/mmc15/ezupload/cp/ |
Upload File : |
<?php
require("public_header.php");
$upload_id=$_POST["up_id"];
if ( $upload_id=="" ) {$upload_id=$_GET["uid"]; }
$file_id=$_GET["flid"];
$submit=$_POST["submit"];
$title=$_POST["title"];
$content=$_POST["content"];
$uploads=new uploads();
if($submit != "" )
{
if( $submit == "Send Message" )
{
}
else
{
$uploads->delete_upload( $upload_id );
if (!headers_sent())
{
header("location: pfm.php");
exit;
}
else
{
echo "Error while redirecting, for now please click this <a " .
"href=\"pfm.php\">link</a> instead\n";
exit;
}
}
}
elseif($flid != "" )
{
$uploads->delete_file( $file_id );
}
?>
<HTML><HEAD><TITLE>Control Panel</TITLE>
<META http-equiv=Content-Type content="text/html; charset=iso-8859-1">
<LINK href="f_files/global.css" type=text/css rel=stylesheet>
</HEAD>
<BODY >
<div align="center">
<table border="1" cellpadding="0" cellspacing="0" width="100" bordercolor="#000000" id="table1">
<tr>
<td>
<TABLE height="435" cellSpacing=0 cellPadding=0 width="770" id="table2" bgcolor="#FFFFFF">
<TR>
<TD vAlign=top height=150 width="341">
<img border="0" src="f_files/header_home.jpg"></TD></TR>
<?php //require("login_status.php"); ?>
<TR>
<TD height=13 width="744" bgcolor="#C1D1FF">
</TD>
</TR>
<tr>
<TD height=259 bgcolor="#FFFFFF">
<div align="center">
<table border="0" cellpadding="0" cellspacing="0" width="748" id="table3" height="208">
<tr>
<td height="14" width="748"></td>
</tr>
<tr>
<td height="146">
<div align="center">
<table border="1" cellpadding="0" cellspacing="0" width="583" id="table4" height="97" bordercolor="#8FABFF">
<tr>
<td height="21" bgcolor="#C1D1FF" width="579" valign="middle" colspan="4">
<p align="center"><b>File Manager</b></td>
</tr>
<tr>
<td height="18" bgcolor="#EAEFFF" align="center">
<b>File Name</b></td>
<td height="18" bgcolor="#EAEFFF" align="center">
<b>Size</b></td>
<td height="18" bgcolor="#EAEFFF" align="center">
<b>File Type</b></td>
</tr>
<?php
$browser=new browser();
$temp=$browser->get_files($upload_id);
for( $a=0; $a < count($temp) ; $a++ )
{
$id=$temp[$a]->id;
$name=$temp[$a]->name;
$value=$temp[$a]->value;
$path=$temp[$a]->path;
$size=$temp[$a]->size;
$desc=$temp[$a]->desc;
$dt=$temp[$a]->dt;
?>
<tr onclick="window.location.href='<?php echo $path ."/". $value ; ?>'" onMouseOver="this.style.cursor='hand';" >
<td height="17" width="220" bgcolor="#EAEFFF"><B><A href="<?php echo $path ."/". $value ; ?>"><?php echo $value ; ?></A></B></td>
<td height="17" width="150" bgcolor="#EAEFFF"><?php echo $size . " KB"; ?></td>
<td height="17" width="150" bgcolor="#EAEFFF"><?php echo $desc ; ?></td>
</tr>
<?php
}
?>
</table>
</div>
<p></td>
</tr>
<tr>
<td height="86">
<div align="center">
<table border="1" cellpadding="0" cellspacing="0" width="395" id="table5" height="138" bordercolor="#8FABFF">
<FORM action="pfd.php" method=post>
<tr>
<td height="27" bgcolor="#C1D1FF" width="391" valign="middle" colspan="4">
<p align="center"><b>Upload Details</b></td>
</tr>
<tr>
<td height="26" width="160" bgcolor="#EAEFFF" align="right" colspan="2">Uploaded On :</td>
<td height="26" bgcolor="#EAEFFF" align="center" width="229" colspan="2"><?php echo $dt ; ?></td>
</tr>
<?php
$browser=new browser();
$temp=$browser->get_file_info($upload_id);
for( $a=0; $a < count($temp) ; $a++ )
{
$upload_id=$temp[$a]->upload_id;
$name=$temp[$a]->name;
$value=$temp[$a]->value;
?>
<tr>
<td height="26" width="160" bgcolor="#EAEFFF" align="right" colspan="2"><?php echo $name ; ?></td>
<td height="26" bgcolor="#EAEFFF" align="center" width="229" colspan="2"><?php echo $value ; ?></td>
</tr>
<?php
}
?>
<tr>
<td height="31" width="97" align="center" bordercolor="#FFFFFF">
<INPUT type=hidden value="<?php echo $upload_id ; ?>" name=up_id >
</td>
</tr>
</FORM>
</table>
<p></td>
</tr>
<tr>
<td>
<p align="center"><a href="pfm.php">Back </a></p>
</td>
</tr>
</table>
</div>
</TD>
<tr>
<TD height=13 bgcolor="#C1D1FF">
<p align="center">�
2007 Smart Report Maker. All rights reserved. </TD>
</tr>
</TABLE>
</td>
</tr>
</table>
</div>
<p align="center"> </p>
</BODY></HTML>