<?php
$getGROUPS = mysql_query("SELECT * FROM ath_groups"); //GET GROUPS
if (!$getGROUPS){
echo("<p class=\"red\">adduserFORM.php COULD NOT GET GROUP INFO");
}
?>
<script language="JavaScript">
function check(){
if (addresrc.title.value == ""){
window.alert("Field 'Title' cannot be left blank.");
return false;
}
}
var url;
var height;
var width;
var specs;
function openwinHELP(url, width, height){
specs = 'status,resizable,width=' + width + ',height=' + height + ',top=75,left=150'
popupWin = window.open(url,'pop_tiny',specs);
}
</script>
<body>
<table width="600" border="0" cellspacing="0" cellpadding="1" bgcolor="#a9a9a9">
<tr>
<td>
<table width="609" border="0" cellspacing="1" cellpadding="2">
<tr>
<td valign="top" bgcolor="#f0e68c" width="125" class="form_right_small">Title:</td>
<td class="view" valign="top" bgcolor="white"><?php echo($ROWgetUSERSresrc["ath_resrc_title"]); ?></td>
<td align="center" valign="top" bgcolor="#90ee90" width="100" class="view_bold">ACTIONS</td>
</tr>
<tr>
<td valign="top" bgcolor="#f0e68c" width="125" class="form_right_small">Author:</td>
<td class="view" valign="top" bgcolor="white"><?php echo($ROWgetUSERSresrc["ath_resrc_authorLAST"] . ", " . $ROWgetUSERSresrc["ath_resrc_authorFIRST"]); ?></td>
<td class="view" rowspan="8" valign="top" bgcolor="#90ee90" width="100">
<form action="(EmptyReference!)" method="get" name="FormName">
<input type="submit" name="submitButtonName" value="Edit" border="0">
</form>
<form action="(EmptyReference!)" method="get" name="FormName">
<input type="submit" name="submitButtonName" value="Delete" border="0">
</form>
</td>
</tr>
<tr>
<td valign="top" bgcolor="#f0e68c" width="125" class="form_right_small">Format:</td>
<td class="view" valign="top" bgcolor="white"><?php convert_resrc_format($ROWgetUSERSresrc["ath_resrc_format"]); ?></td>
</tr>
<tr>
<td valign="top" bgcolor="#f0e68c" width="125" class="form_right_small">URL</td>
<td class="view" valign="top" bgcolor="white"><?php echo($ROWgetUSERSresrc["ath_resrc_url"]); ?></td>
</tr>
<tr>
<td valign="top" bgcolor="#f0e68c" width="125" class="form_right_small">Year Published:</td>
<td class="view" valign="top" bgcolor="white"><?php echo($ROWgetUSERSresrc["ath_resrc_year"]); ?></td>
</tr>
<tr>
<td valign="top" bgcolor="#f0e68c" width="125" class="form_right_small">Lenght:</td>
<td class="view" valign="top" bgcolor="white"><?php echo($ROWgetUSERSresrc["ath_resrc_lenght"]); ?></td>
</tr>
<tr>
<td valign="top" bgcolor="#f0e68c" width="125" class="form_right_small">Publisher</td>
<td class="view" valign="top" bgcolor="white"><?php echo($ROWgetUSERSresrc["ath_resrc_publisher"]); ?></td>
</tr>
<tr>
<td valign="top" bgcolor="#f0e68c" width="125" class="form_right_small">Owner:</td>
<td class="view" valign="top" bgcolor="white"><?php echo($ROWgetUSERSresrc["ath_resrc_ownerID"]); ?></td>
</tr>
<tr>
<td valign="top" bgcolor="#f0e68c" width="125" class="form_right_small">Notes:</td>
<td class="view" valign="top" bgcolor="white"><?php echo($ROWgetUSERSresrc["ath_resrc_notes"]); ?></td>
</tr>
</table>
</td>
</tr>
</table>
<hr width="600">
</body>