All pastes #111040 Raw Edit

Untitled

public text v1 · immutable
·published 2006-08-02 03:06 UTC
rendered paste body
<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Strict//EN"
        "http://www.w3.org/TR/xhtml1/DTD/xhtml1-strict.dtd">
		
<html xmlns="http://www.w3.org/1999/xhtml" xml:lang="en" lang="en">

<head>
	<title>Create Album</title>

	<meta http-equiv="content-type" content="text/html;charset=utf-8" />
	<meta http-equiv="Content-Style-Type" content="text/css" />
	<meta name="robots" content="noindex,nofollow" />
	
	<link rel="stylesheet" type="text/css" href="inc/css/default.css" />	
	<script type="text/javascript" src="inc/js/constants.js"></script>
	<script type="text/javascript" src="inc/js/classes/AJAXConnection.js"></script>
	<script type="text/javascript" src="inc/js/AJAX_Procedures.js"></script>
	<script type="text/javascript" src="inc/js/Form_Procedures.js"></script>
	
			<script type="text/javascript">
			var arr_hier = [];
			
			arr_hier[0] = ["Home", ""];
			arr_hier[1] = ["Inventory Management", "inventoryManagement.php"];
			arr_hier[2] = ["Albums", "viewAllAlbums.php"];
			arr_hier[3] = ["Create Album", ""];
						
			var iframe_tag = top.DocumentTab_AssociateHierarchy(self, arr_hier);
			
			if (IE)
				window.attachEvent("onload", function() { top.set_hierarchy(arr_hier, "no set", iframe_tag.name); });
			else
				addEventListener(window, "onload", function() { top.set_hierarchy(arr_hier, "no set", iframe_tag.name); });
		</script>
	</head>

<body>

		


<fieldset class="full">
	<legend>Create Album</legend>
	<div class="fieldset_body">
				<form action="createAlbum.php" method="POST" name="editAccount">
		<table cellspacing="2" cellpadding="0" border="0">
			<tr>
				<th align="left">Album Name:</th>
				<td width="5" />
				<td>
					<input type="text" name="title" size="50" maxlength="250" />
				</td>
			</tr>
			<tr>
				<td colspan="3" height="15" />
			</tr>
			<tr>
				<th align="left" valign="top">Album Format:</th>
				<td width="5" />
				<td>
					<select id="idParentFormat" name="idParentFormat" size="8" onchange="populate_album_format(this);">
						<option value="1">Vinyl</option>
<option value="2">Compact Discs</option>
					</select>
					&nbsp;&nbsp;
					<select id="idFormat" name="idFormat" size="8">
						<option value="">[ select a type first ]</option>
					</select>
					&nbsp;&nbsp;
					<input type="button" name="btnInsertFormat" value="New Album Format" class="continue" 
						onclick="
							if (this.form.idParentFormat.selectedIndex == -1)
							{
								alert('Select a type first');
								return false;
							} else
								create_album_format(this.form.idParentFormat.options[this.form.idParentFormat.selectedIndex].value);
						" />
				</td>
			</tr>
			<tr>
				<td colspan="3" height="15" />
			</tr>
			<tr>
				<th align="left">Retail Price:</th>
				<td width="5" />
				<td>
					<input type="text" name="retail" size="10" />
				</td>
			</tr>
			<tr>
				<th align="left">Wholesale Price:</th>
				<td width="5" />
				<td>
					<input type="text" name="wholesale" size="10" />
				</td>
			</tr>
			<tr>
				<th align="left">Sale Price:</th>
				<td width="5" />
				<td>
					<input type="text" name="sale" size="10" />
				</td>
			</tr>
			<tr>
				<td colspan="3" height="15" />
			</tr>
			<tr>
				<th align="left">Release Date:</th>
				<td width="5" />
				<td>
					<input type="text" name="release_date" size="15" />
				</td>
			</tr>
			<tr>
				<td colspan="3" height="15" />
			</tr>
			<tr>
				<th align="left">In-Stock Quantity:</th>
				<td width="5" />
				<td>
					<input type="text" name="quantity" size="5" />
				</td>
			</tr>
			<tr>
				<td colspan="3" height="15" />
			</tr>
			<tr>
				<td colspan="3">
					<b>Full Description:</b><br />
					<textarea name="description" cols="80" rows="15"></textarea>
				</td>
			</tr>
			<tr>
				<td colspan="3" height="15" />
			</tr>
			<tr>
				<td colspan="3">
					<b>Breif Description:</b><br />
					<textarea name="thumb_describe" cols="65" rows="10"></textarea>
				</td>
			</tr>
		</table>
		</form>
		<form name="upload_1" action="javascript:void(0);" method="POST" enctype="multipart/form-data" class="upload">
		<b>Album Image:</b><br />
		<input type="file" name="album_image" class="upload" />
		</form>
	</div>
</fieldset>

<div id="related_links">
	<a href="viewAllAlbums.php" class="related_link">View All Albums</a>
</div>

</body>
</html>