<?
include "dblink.php";
$sql = "SELECT JID, Jlong , Jshort, JURL FROM Journal_ID WHERE JID = ". $_GET['JID'];
$result = mysql_query($sql) or die("Invalid query: " . mysql_error());
$field = mysql_fetch_row($result);
?>
<p><? print "$InsertJournal"; ?>
<form action="index.php?action=admin/journal_replace&JID=<?print $_GET['JID']?>" method="POST">
<table>
<tr>
<?/*<td><? print $LabelJlong ?>:</td> */?>
<td>Journal Long Name:</td>
<td><input class="text" type="text" name="Jlong" size="40" value="<?print $field[1]?>"
></td>
<tr>
<td>Journal Short:</td>
<td><input class="text" type="text" name="Jshort" size="30" value="<?print $field[2]?>"></td>
<tr>
<td>Journal web:</td>
<td><input class="text" type="text" name="JURL" size="50" value="<?print $field[3]?>"></td>
</table>
<input class="button" type="submit" value="Update Journal">
<p>
<a href="index.php?action=admin/journal_delete&JID=<?echo $_GET['JID']?>">Delete Journal</a>