0 && $_REQUEST['action'] == "add") { ?>
:
">
0 && $_REQUEST['action'] == "edit") { $query = "select * from `regions` where `id`='$regid' order by `name`"; $row = mysql_fetch_assoc(mysql_query($query)); $name = $row['name']; ?>
:
">
0 && $_REQUEST['action'] == "add") { ?>
:
: ">
: ">
">
0 && $_REQUEST['action'] == "edit") { $query = "select * from `locations` where `id`='$locid'"; $row = mysql_fetch_assoc(mysql_query($query)); if($name == "") $name = $row['name']; if(!array_key_exists('longitude',$_REQUEST) || $_REQUEST['longitude'] == "") $_REQUEST['longitude'] = $row['long']; if(!array_key_exists('latitude',$_REQUEST) || $_REQUEST['latitude'] == "") $_REQUEST['latitude'] = $row['lat']; ?>
:
:
:
">
0 && $_REQUEST['action'] == "aliases") { $query = "select * from `localias` where `locid`='".intval($locid)."'"; $res = mysql_query($query); $rc = mysql_num_rows($res); ?>
-
:
0 && $_REQUEST['action'] == "move") { $query = "select * from `locations` where `id`='$locid'"; $row = mysql_fetch_assoc(mysql_query($query)); $newreg = $_REQUEST['newreg'] = $row['regid']; ?>
:
:
">