#278 fix
This commit is contained in:
parent
7f48f75874
commit
13d93d6aa6
1 changed files with 2 additions and 2 deletions
|
@ -28,7 +28,7 @@
|
||||||
{
|
{
|
||||||
$reg = mysql_fetch_assoc(mysql_query("select * from `regions` where `id`='$regid'"));
|
$reg = mysql_fetch_assoc(mysql_query("select * from `regions` where `id`='$regid'"));
|
||||||
$display = "<ul class='top'>\n<li>\n".
|
$display = "<ul class='top'>\n<li>\n".
|
||||||
"<a href='account.php?id=53®id=$regid'>$reg[name]</a> - <a href='account.php?action=add&id=54®id=$regid'>Add</a>\n".
|
"<a href='account.php?id=53®id=$regid&ccid=$ccid'>$reg[name]</a> - <a href='account.php?action=add&id=54®id=$regid'>Add</a>\n".
|
||||||
$display;
|
$display;
|
||||||
$_REQUEST['ccid'] = $reg['ccid'];
|
$_REQUEST['ccid'] = $reg['ccid'];
|
||||||
}
|
}
|
||||||
|
@ -62,7 +62,7 @@
|
||||||
echo "<li>( <a href='account.php?action=edit&id=54®id=$row[id]'>edit</a> |";
|
echo "<li>( <a href='account.php?action=edit&id=54®id=$row[id]'>edit</a> |";
|
||||||
echo " <a href='account.php?action=delete&id=53®id=$row[id]'";
|
echo " <a href='account.php?action=delete&id=53®id=$row[id]'";
|
||||||
echo " onclick=\"return confirm('Are you sure you want to delete this region and all connected locations?');\">delete</a> )";
|
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®id=$row[id]'>$row[name]</a></li>\n";
|
echo " <a href='account.php?id=53®id=$row[id]&ccid=$ccid'>$row[name]</a></li>\n";
|
||||||
}
|
}
|
||||||
|
|
||||||
echo "</ul>\n</li>\n</ul>\n</li>\n</ul></div>\n<br>\n";
|
echo "</ul>\n</li>\n</ul>\n</li>\n</ul></div>\n<br>\n";
|
||||||
|
|
Loading…
Reference in a new issue