function add_property() { if (!pnSecConfirmAuthKey()) { include 'header.php'; echo _BADAUTHKEY; include 'footer.php'; exit; } global $label, $dtype, $prop_weight, $validation, $prop_len; addVar($label, $dtype, $prop_weight, $validation, $prop_len); pnRedirect("admin.php?module=NS-User&op=getDynamic"); }
$r = db_result(db_query($q)); print $r; exit; } global $user; $output = ''; $setup = getURLParam('setup'); if ($setup) { //get catEth... $q = "select distinct catEth from iamfroa5_cte.tblsitemaster"; $output .= makeDS("catEthList", $q, false); //get catSchType... $q = "select distinct catSchType from iamfroa5_cte.tblsitemaster"; $output .= makeDS("catSchTypeList", $q, false); $output .= addVar('keysEth', 172, false); $output .= addVar('keysType', 173, false); } //end setup... //do search routine... $searchStr = ''; $search = getURLParam('search'); $city = getURLParam('city'); $sname = getURLParam('sname'); $catEth = getURLParam('catEth'); $catSchType = getURLParam('catSchType'); $addr = getURLParam('addr'); $lat = ''; $lon = ''; $r = ''; $radius = '1'; if ($addr) {