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

session_start();

?>


<?php
		
	

	if ($_SESSION['session_id_login_verify'] == 'YES') {
		
		// This combines the Unix timestamp w/ a random number to ensure no duplicates will be made.
		$current_unixtime = gmmktime();		
		$file_random_id = rand(1000000000, 9999999999);
		$file_random_id = $current_unixtime . $file_random_id;
		
		$_SESSION['session_fileid'] = $file_random_id;
		
		
		echo "
		<html>
		<body text='#000000' topmargin='0' leftmargin='0'>
		<font face='arial' size='4'>
		
		<form method='post' action='admin_media_upload_select.php'>
		
		<!--
		Name: <i>Optional</i><br>
		<input type='text' size='25' maxlength='255' name='name' value=''> 
		<br><br>
		-->
		
		<b>.JPG - Upload:</b><br><br>
		<font face='arial' size='2'>
		
		<!--
		<br><br>
		Description: <i>Optional</i><br>
		<input type='text' size='50' maxlength='255' name='description' value=''> 
		<br><br>
		-->
		
		<!--
		
		Category: <i>Optional</i><br>
		<input type='text' size='25' maxlength='255' name='category' value=''> 
		
		
		Site?<br>
		<input type='text' size='25' maxlength='255' name='site' value=''>
		
		<br><br>
		
		-->
		
		
		<input type='submit' value='Next: Upload File'> 

		</form>
		</body>
		</html>
		
		";
		
	}

?>




Return current item: OpenCMS