This commit is contained in:
root 2006-08-03 14:08:17 +00:00
parent 7f48f75874
commit 13d93d6aa6

View file

@ -28,7 +28,7 @@
{
$reg = mysql_fetch_assoc(mysql_query("select * from `regions` where `id`='$regid'"));
$display = "<ul class='top'>\n<li>\n".
"<a href='account.php?id=53&regid=$regid'>$reg[name]</a> - <a href='account.php?action=add&id=54&regid=$regid'>Add</a>\n".
"<a href='account.php?id=53&regid=$regid&ccid=$ccid'>$reg[name]</a> - <a href='account.php?action=add&id=54&regid=$regid'>Add</a>\n".
$display;
$_REQUEST['ccid'] = $reg['ccid'];
}
@ -62,7 +62,7 @@
echo "<li>( <a href='account.php?action=edit&id=54&regid=$row[id]'>edit</a> |";
echo " <a href='account.php?action=delete&id=53&regid=$row[id]'";
echo " onclick=\"return confirm('Are you sure you want to delete this region and all connected locations?');\">delete</a> )";
echo " <a href='account.php?id=53&regid=$row[id]'>$row[name]</a></li>\n";
echo " <a href='account.php?id=53&regid=$row[id]&ccid=$ccid'>$row[name]</a></li>\n";
}
echo "</ul>\n</li>\n</ul>\n</li>\n</ul></div>\n<br>\n";