"._WYOURSET."
\n";
}else {
SelRegion("User", $userid);
}
}
if ( !$xoopsUser ) {
SelRegion("Anon");
}
}
// GET?f?[?^??????i?[
foreach($HTTP_GET_VARS as $k => $v){
$$k = $v;
}
// POST?f?[?^??????i?[
foreach($HTTP_POST_VARS as $k => $v){
$$k = $v;
}
$weatherop = (isset($weatherop))? $weatherop : "";
$wcity = (isset($wcity))? $wcity : "";
$Selection = (isset($Selection))? $Selection : "";
$newtpc = (isset($newtpc))? $newtpc : "";
$newtps = (isset($newtps))? $newtps : "";
$accid = (isset($accid))? $accid : "";
if ($xoopsUser) {
$username = $xoopsUser->uname();
list($userid) = mysql_fetch_row($xoopsDB->query("select uid from ".$xoopsDB->prefix("users")." where uname='$username'"));
}
$xoopsOption['show_rblock'] =0;
include(XOOPS_ROOT_PATH."/header.php");
//OpenTable();
echo "\n";
echo "\n";
switch($weatherop) {
case "AdminRegion":
SelRegion("Admin", 0);
break;
case "UserRegion":
SelRegion("User", $userid);
break;
case "AdminCountry":
SelCountry("Admin", $Selection, 0);
break;
case "UserCountry":
SelCountry("User", $Selection, $userid);
break;
case "AdminSubDiv":
SelSubDiv("Admin", $Selection, 0);
break;
case "UserSubDiv":
SelSubDiv("User", $Selection, $userid);
break;
case "AdminCity":
SelCity("Admin", $Selection, 0);
break;
case "UserCity":
SelCity("User", $Selection, $userid);
break;
case "AdminStation":
SelStation("Admin", $Selection, 0);
break;
case "UserStation":
SelStation("User", $Selection, $userid);
break;
case "AdminPreSave":
PreSave("Admin", $accid, $Selection, $stype, $userid);
break;
case "UserPreSave":
PreSave("User", $accid, $Selection, $stype, $userid);
break;
case "AdminSave":
SaveSet("Admin", $newtpc, $newtps, $accid, $wcid, $wstype, $wstation, 0);
break;
case "UserSave":
SaveSet("User", $newtpc, $newtps, $accid, $wcid, $wstype, $wstation, $userid);
break;
default:
checkadmin();
break;
}
echo "
";
//CloseTable();
include(XOOPS_ROOT_PATH."/footer.php");
?>