Location: PHPKode > projects > Kwalbum > kwalbum/pages/UploadItemsPage.html.php
<?php
/**
 * html for UploadItems page
 * @package kwalbum
 * @version 2.1.2
 * @since 2.0 2008-08-19
 */
?>
<big><b>Adding Items by Uploading</p></b></big>
<p>
<form action='<?=$URLP->GetExtendedURL()?>&amp;p=UploadItems' method='post' enctype="multipart/form-data">
<input type='hidden' name='overLimit' value='no'/>
	<p>
		<table>
		<tr>
		<td colspan='2'><b>Information for all pictures</b></td>
		<td>Visibility: <select name='hidden'>
			<option value='0'>Public</option>
			<option value='1'<?=(1==$hidden?' selected':null)?>>Members Only</option>
			<option value='2'<?=(2==$hidden?' selected':null)?>>Privileged Only</option>
			<?=(USER_IS_ADMIN ? "<option value='3'".(3==$hidden?' selected':null).">Admin Only</option>" : null)?></select>
		</td>
		</tr>
		<tr>
		<td>
			Location: <input type="text" class="text" name="loc" id="loc" value="<?=$location?>" size="15" autocomplete="off" />
			<span id='locHint' class='autocomplete'"></span>
		</td>
		<td>
			Tags: <input type="text" class="text" name="tags" id="tags" value="<?=$tags?>" size="20" />
			<span id='tagsHint' class='autocomplete'"></span>
			<script type='text/javascript'>
				new Ajax.Autocompleter("loc", "locHint", "ajax/getLocations.php", {frequency: 0.1});
				new Ajax.Autocompleter("tags", "tagsHint", "ajax/getTags.php", {frequency: 0.1});
			</script>
		</td>
		<td>Date if not found on picture: <input type="text" class="text" name="date" id="date" value="<?=$date?>" size="8" /></td>
	</tr></table>
	</p>
	<p>
		<b>Files to upload</b> <small>(Files larger than <?=ini_get('upload_max_filesize')?> can not be uploaded and the total upload amount can not be above <?=ini_get('post_max_size')?>)</small><br/>
		<small>Allowed filetypes are jpg, gif, png, wmv,
		<a href="http://filext.com/file-extension/divx" target='_blank'>divx</a>, mpeg,
		<a href="http://filext.com/file-extension/mp4" target='_blank'>mp4</a>,txt, html,
		<a href="http://filext.com/file-extension/gpx" target='_blank'>gpx</a>, xml, zip, mp3,
		wav, <a href="http://filext.com/file-extension/odt" target='_blank'>odt</a>, ods,
		<a href="http://filext.com/file-extension/ogg">ogg</a>, doc, and <a href="http://filext.com/file-extension/flv">flv</a></small><br/>
		<span id='add_row_span'><a href='javascript:void(0);' onClick=add_rows();>Add more files...</a></span>
	</p>
	<input type="submit" name="act" value="Upload" />
</form>
<script type='text/javascript'>
add_rows();
</script>
</p>
Return current item: Kwalbum