Location: PHPKode > projects > PodAdmin - Web-based podcast management > podadmin-0.5.1/dsp_upload2.php
<script language="JavaScript" src="resources/CalendarPopup.js"></script>
<script language="JavaScript">
cal = new CalendarPopup("calendar_div");
document.write(getCalendarStyles());
</script>

<!-- hidden div for calendar -->
<DIV ID="calendar_div" STYLE="position:absolute;visibility:hidden;background-color:white;layer-background-color:white;"></DIV>

<form name="detailform" action="index.php?action=upload2" method="POST">
<table>
<tr>
<td align="right" width="120">MP3 File:</td>
<td>
<input type="hidden" name="userfile" value="<?php print $_POST['userfile'] ?>">
<?php print $_POST['userfile'] ?>
</td>
</tr>

<tr>
<td align="right" width="120">Size:</td>
<td>
<input type="hidden" name="size" value="<?php print $_POST['size'] ?>">
<?php print $_POST['size'] ?> Bytes
</td>
</tr>

<tr>
<td align="right" width="120">Duration:</td>
<td>
<input class="textinput" size="8" type="text" name="duration" value="<?php echo $_POST['duration'] ?>" maxlength="10">
</td>
</tr>

<tr>
<td align="right">Title:</td>
<td><input class="textinput" size="60" type="text" name="title" value="<?php echo $_POST['title'] ?>" maxlength="50"></td>
</tr>

<tr>
<td align="right" valign="top">Description:</td>
<td>
<textarea class="textinput" name="description" style="width: 500px; height: 100px;"><?php echo $_POST['description'] ?></textarea>
</td>
</tr>

<tr>
<td align="right">Publish Date:</td>
<td>
<input class="textinput" size="8" type="text" name="pubdate" value="<?php echo $_POST['pubdate'] ?>" maxlength="10"
readonly
onClick="cal.select(document.detailform.pubdate,'cal_anchor','MM/dd/yy');">
<a href="#"
   name="cal_anchor" id="cal_anchor"></a>
</td>
</tr>

<?php
if (strtolower($vsf->config->itunes->enable) == 'yes') {
?>
	<tr>
	<td colspan="2" style="font-weight:bold; font-size: 1.1em;">iTunes Stuff</td>
	</tr>
	
	<tr>
	<td align="right">Subtitle:</td>
	<td><input class="textinput" size="60" type="text" name="subtitle" value="<?php echo $_POST['subtitle'] ?>" maxlength="255"></td>
	</tr>
	
	<tr>
	<td align="right">Author:</td>
	<td><input class="textinput" size="60" type="text" name="author" value="<?php echo $_POST['author'] ?>" maxlength="255"></td>
	</tr>
	
	<tr>
	<td align="right">Keywords:</td>
	<td><input class="textinput" size="60" type="text" name="keywords" value="<?php echo $_POST['keywords'] ?>" maxlength="255"></td>
	</tr>

<?php } // close if itunes ?>

<tr><td colspan="2" align="center"><input class="textinput" style="width: 75px;" type="submit" value="Save"></td></tr>
</table>

</form>
Return current item: PodAdmin - Web-based podcast management