Location: PHPKode > projects > OpenCMS > OpenCMS - Version Alpha/admin_media_upload.php
<?php

session_start();

?>

<html><link rel='shortcut icon' href='favicon.ico'>
<head>
<title>
OpenCMS
</title>
</head>

<body bgcolor='#333333' topmargin='0' leftmargin='0'>

<div align='center'><img src='site_images/admin_header_opencms.jpg'></div>
<table width='960' cellspacing='0' cellpadding='20' border='0' align='center'>
<tr>
	<td bgcolor='#ffffff'>


	<?php
		include 'site_login.php';
	?>

	<br>

	<font face='arial' size='4' color='#000000'>
		<b>
			ADMIN - MEDIA - Upload:
		</b>
	</font>


	<br>
	<br>

	<font face='arial' size='2' color='#000000'>

	<?php

		if ($_SESSION['session_id_login_verify'] == 'YES') {




			// This resets the verification session variable that will begin to process the saved media file
			$_SESSION['session_uploadsuccess'] = "ERROR";
			$_SESSION['session_fileid'] = '';
			$_SESSION['session_fileext'] = '';
			$_SESSION['session_filename'] = '';
			$_SESSION['session_filedescription'] ='';
			$_SESSION['session_filecategory'] = '';
			$_SESSION['session_filesite'] = '';
			$_SESSION['session_fileverify'] = '';
			
			echo "
			<b>NOTE:</b> Currently the system only supports the uploading of .JPG files. Do not use filenames with spaces in them.
			<br><br>
			";

			echo "
			<iframe name='frame' src='admin_media_upload_description.php' width='800' height='400' frameborder='0'></iframe>
			";




		}
		else {

			echo "Error: You do not have access to see this page. Go <a href='index.php'>Back</a>.";

		}

	?>

	</font>

	</td>
</tr>
</table>

<table width='960' cellspacing='0' cellpadding='20' border='0' align='center'>
<tr>
	<td bgcolor='#000000'>

		<font face='arial' size='1' color='#ffffff'>
			OpenCMS - Version Alpha - http://sourceforge.net/projects/open-cms/
		</font>

	</td>
</tr>
</table>

</body>
</html>



Return current item: OpenCMS