bug #142
This commit is contained in:
parent
5316ca4181
commit
ab358a33ba
1 changed files with 9 additions and 9 deletions
|
@ -50,7 +50,7 @@
|
||||||
$query = "select * from `countries` order by `name`";
|
$query = "select * from `countries` order by `name`";
|
||||||
$res = mysql_query($query);
|
$res = mysql_query($query);
|
||||||
while($row = mysql_fetch_assoc($res))
|
while($row = mysql_fetch_assoc($res))
|
||||||
echo "<li><a href='account.php?id=53&ccid=$row[id]'>$row[name]</a></li>\n";
|
echo "<li><a href='account.php?id=53&ccid=${row['id']}'>$row[name]</a></li>\n";
|
||||||
|
|
||||||
echo "</ul>\n</li>\n</ul></div>\n<br>\n";
|
echo "</ul>\n</li>\n</ul></div>\n<br>\n";
|
||||||
} elseif($regid <= 0) {
|
} elseif($regid <= 0) {
|
||||||
|
@ -59,10 +59,10 @@
|
||||||
$res = mysql_query($query);
|
$res = mysql_query($query);
|
||||||
while($row = mysql_fetch_assoc($res))
|
while($row = mysql_fetch_assoc($res))
|
||||||
{
|
{
|
||||||
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']}'>$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";
|
||||||
|
@ -77,11 +77,11 @@
|
||||||
$res = mysql_query($query);
|
$res = mysql_query($query);
|
||||||
while($row = mysql_fetch_assoc($res))
|
while($row = mysql_fetch_assoc($res))
|
||||||
{
|
{
|
||||||
echo "<li>( <a href='account.php?action=move&id=54&locid=$row[id]'>move</a> |";
|
echo "<li>( <a href='account.php?action=move&id=54&locid=${row['id']}'>move</a> |";
|
||||||
echo " <a href='account.php?action=aliases&id=54&locid=$row[id]'>aliases</a> |";
|
echo " <a href='account.php?action=aliases&id=54&locid=${row['id']}'>aliases</a> |";
|
||||||
echo " <a href='account.php?action=edit&id=54&locid=$row[id]'>edit</a> |";
|
echo " <a href='account.php?action=edit&id=54&locid=${row['id']}'>edit</a> |";
|
||||||
echo " <a href='account.php?action=delete&id=53&locid=$row[id]'";
|
echo " <a href='account.php?action=delete&id=53&locid=${row['id']}'";
|
||||||
echo " onclick=\"return confirm('Are you sure you want to delete this location?');\">delete</a> ) $row[name]</li>\n";
|
echo " onclick=\"return confirm('Are you sure you want to delete this location?');\">delete</a> ) ${row['name']} (${row['lat']},${row['long']})</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