Location: PHPKode > projects > Athena Research Assistant > athena-dev-0.1pre-alpha/objects/addRESRCstep1.php
<!DOCTYPE html PUBLIC "-//W3C//DTD HTML 4.01 Transitional//EN">

<html>

	<head>
		<meta http-equiv="content-type" content="text/html;charset=ISO-8859-1">
		<meta name="generator" content="Adobe GoLive 6">
		<title>Add resource</title>
	</head>

		<p class="step">Add a new resource: Step 1 of  2.</p>
		<table border="0" cellspacing="0" cellpadding="1" bgcolor="#333333">
			<tr>
				<td class="cell_heading">Select one of the following options:</td>
			</tr>
			<tr>
				<td>
					
						<table width="450" border="0" cellspacing="0" cellpadding="2" bgcolor="white">
							<tr height="10">
								<td class="form_right" bgcolor="#90ee90" width="150" height="10"></td>
								<td bgcolor="#90ee90" width="150" height="10"></td>
							</tr>
							<tr>
								<td colspan="2" align="center" bgcolor="#90ee90" width="446">
									<form action="main.php?act=addresrc" method="post" name="FormName">
									<input type="hidden" name="addRESOURCE" value="add" border="0"><input type="submit" name="addRESRC" value="Add a new resource." border="0">
								</form>
								</td>
							</tr>
							
							<!-- OPTION TO COPY STARTS HERE -->
							<?php 
							//MAKE SURE THE USER HAS PUBLIC POOL PRIVILEDGES
							if ($checkUSER["ath_groups_addtoPUBLIC"] == 1):
							?>
							<tr height="20">
								<td class="form_right" bgcolor="#90ee90" width="150" height="20">&nbsp;</td>
								<td bgcolor="#90ee90" width="150" height="20">&nbsp;</td>
							</tr>
							<tr>
								<td colspan="2" align="center" bgcolor="#90ee90" width="446">
									<form action="main.php?act=addresrc" method="post" name="FormName">
									<input type="hidden" name="addRESOURCE" value="copy" border="0"><input type="submit" name="copyRESRC" value="Copy a resource from the Public Pool." border="0">
								</form>
								</td>
							</tr>
							
							<?php endif; ?>
							<!-- OPTION TO COPY STARTS HERE -->

							<tr height="20">
								<td class="form_right" bgcolor="#90ee90" width="150" height="20">&nbsp;</td>
								<td bgcolor="#90ee90" width="150" height="20">&nbsp;</td>
							</tr>
						</table>
					
				</td>
			</tr>
		</table>
		<p></p>

</html>
Return current item: Athena Research Assistant