Code views v0.4
Admin Homephp called by Navigatorphp called by Report Cardphp called by update tablesphp called by calc meqall php source filesphp functionsphp files containing a phrase

Start Scan of files: text search for phrase: 'region3_dialect'
./SQL_loader.php : $region3_dialect='mysqli';
./SQL_loader.php : $dialect=$region3_dialect;
./ccamp_calc_meqs.php : $region3_dialect='mysqli';
./ccamp_calc_meqs.php : $region3_conn=sql_connect($region3_dialect,$region3_server,$region3_port,$region3_uid,$region3_pwd,$region3_database);
./ccamp_calc_meqs.php : $region3_db=sql_select_db($region3_dialect,$region3_server,$region3_port,$region3_uid,$region3_pwd,$region3_conn,$region3_database);
./ccamp_calc_meqs.php : $result=Run_Sql($region3_dialect,$sql); log_time($sql);
./ccamp_calc_meqs.php : $result=Run_Sql($region3_dialect,$sql); log_time($sql);
./ccamp_calc_meqs.php : $result=Run_Sql($region3_dialect,$sql); log_time($sql);
./ccamp_calc_meqs.php : $result=Run_Sql($region3_dialect,$sql); log_time($sql);
./ccamp_calc_meqs.php : tag_analytes($region3_dialect,$log,$verbose_output,$wqa_table);
./ccamp_calc_meqs.php : $result=Run_Sql($region3_dialect,$sql); if($log_verbose) log_time($sql);
./ccamp_calc_meqs.php : $sql="UPDATE ceden.".$wqa_table." SET Active=1 "; $result=Run_Sql($region3_dialect,$sql); if($log_verbose) log_time($sql);
./ccamp_calc_meqs.php : $sql="DROP TABLE IF EXISTS ".$dst_table.' '; $result=Run_Sql($region3_dialect,$sql); if($log_verbose) log_time($sql);
./ccamp_calc_meqs.php : $result=Run_Sql($region3_dialect,$sql); if($log_verbose) log_time($sql);
./ccamp_calc_meqs.php : $result=Run_Sql($region3_dialect,$sql); log_time($sql);
./ccamp_calc_meqs.php : $result=Run_Sql($region3_dialect,$sql); log_time($sql);
./ccamp_calc_meqs.php : $result=Run_Sql($region3_dialect,$sql); log_time($sql);
./ccamp_calc_meqs.php : $result=Run_Sql($region3_dialect,$sql); log_time($sql);
./ccamp_calc_meqs.php : $result=Run_Sql($region3_dialect,$sql); log_time($sql);
./ccamp_calc_meqs.php : $result=Run_Sql($region3_dialect,$sql); log_time($sql);
./ccamp_calc_meqs.php : $result=Run_Sql($region3_dialect,$sql); log_time($sql);
./ccamp_calc_meqs.php : $result=Run_Sql($region3_dialect,$sql); log_time($sql);
./ccamp_calc_meqs.php : fixhus($region3_dialect,$log,$org_id);
./ccamp_calc_meqs.php : patch_1($region3_dialect,$log,$org_id,$web_data_table,$wqa_table);
./ccamp_calc_meqs.php : set_temp_mdls($region3_dialect,$log,$log_verbose,$org_id,$web_data_table);
./ccamp_calc_meqs.php : $result=Run_Sql($region3_dialect,$sql); if($log_verbose) log_time($sql);
./ccamp_calc_meqs.php : $result=Run_Sql($region3_dialect,$sql); if($log_verbose) log_time($sql);
./ccamp_calc_meqs.php : $result=Run_Sql($region3_dialect,$sql); if($log_verbose) log_time($sql);
./ccamp_calc_meqs.php : $result=Run_Sql($region3_dialect,$sql); if($log_verbose) log_time($sql);
./ccamp_calc_meqs.php : $result=Run_Sql($region3_dialect,$sql); if($log_verbose) log_time($sql);
./ccamp_calc_meqs.php : $result=Run_Sql($region3_dialect,$sql); if($log_verbose) log_time($sql);
./ccamp_calc_meqs.php : reset_id_keys($region3_dialect,$log,$elep_table);
./ccamp_calc_meqs.php : set_health_dir($region3_dialect,$log,$log_verbose,$web_data_table,$wqa_table,$elep_table); #selects health direction to use
./ccamp_calc_meqs.php : set_thresholds($region3_dialect,$log,$log_verbose,$elep_table,$scan_type); #selects thresholds to use
./ccamp_calc_meqs.php : patch_2($region3_dialect,$log,$log_verbose,$org_id,$wqa_table,$web_data_table,$index,$site_table); # applies band aids
./ccamp_calc_meqs.php : sub_set_data($region3_dialect,$log,$log_verbose,$org_id,$wqa_table,$web_data_table); # sets before and after change periods
./ccamp_calc_meqs.php : set_wqa_goals($region3_dialect,$log,$log_verbose,$org_id,$wqa_table); # puts the goal values into the wqa table
./ccamp_calc_meqs.php : scan_goals($region3_dialect,$log,$log_verbose,$org_id,$web_data_table,$site_table);# EDITS ONLY WEB DATA TABLE scans the sample level data and adds exceedances and excursion to the sample level data table
./ccamp_calc_meqs.php : clear_wqa_status($region3_dialect,$log,$log_verbose,$org_id,$wqa_table);
./ccamp_calc_meqs.php : create_index_tables($region3_dialect,$log,$log_verbose,$wqa_table);
./ccamp_calc_meqs.php : calc_meqs($region3_dialect,$log,$wqa_table,$web_data_table,$time_period); # calculates meqs and places them in the index tables
./ccamp_calc_meqs.php : calc_linear($region3_dialect,$log,$wqa_table,$web_data_table,$time_period);
./ccamp_calc_meqs.php : calc_index_from_analytes($region3_dialect,$log,$log_verbose,$wqa_table,$time_id);# this aggregates the components of each index into a final index value
./ccamp_calc_meqs.php : clear_site_wqi_table($region3_dialect,$log,$log_verbose,$org_id,$wqa_table,$index_wqi_table,$time_id);
./ccamp_calc_meqs.php : aggregate_wqis($region3_dialect,$log,$log_verbose,$org_id,$index_wqi_table,$time_id);# this aggregates indices into overall site scores
./ccamp_calc_meqs.php : save_index_table($region3_dialect,$log,$log_verbose,$org_id,$time_id);
./ccamp_calc_meqs.php : set_wqa_grades($region3_dialect,$log,$log_verbose,$org_id,$wqa_table,$time_period); # sets site analyte grades in wqa
./ccamp_calc_meqs.php : calc_meqs($region3_dialect,$log,$wqa_table,$web_data_table,$time_period); # calculates meqs and places them in the index tables
./ccamp_calc_meqs.php : calc_linear($region3_dialect,$log,$wqa_table,$web_data_table,$time_period);
./ccamp_calc_meqs.php : calc_index_from_analytes($region3_dialect,$log,$log_verbose,$wqa_table,$time_id);# this aggregates the components of each index into a final index value
./ccamp_calc_meqs.php : clear_site_wqi_table($region3_dialect,$log,$log_verbose,$org_id,$wqa_table,$index_wqi_table,$time_id);
./ccamp_calc_meqs.php : aggregate_wqis($region3_dialect,$log,$log_verbose,$org_id,$index_wqi_table,$time_id);# this aggregates indices into overall site scores
./ccamp_calc_meqs.php : save_index_table($region3_dialect,$log,$log_verbose,$org_id,$time_id);
./ccamp_calc_meqs.php : set_wqa_grades($region3_dialect,$log,$log_verbose,$org_id,$wqa_table,$time_period); # sets site analyte grades in wqa
./ccamp_calc_meqs.php : calc_meqs($region3_dialect,$log,$wqa_table,$web_data_table,$time_period); # calculates meqs and places them in the index tables
./ccamp_calc_meqs.php : calc_linear($region3_dialect,$log,$wqa_table,$web_data_table,$time_period);
./ccamp_calc_meqs.php : calc_index_from_analytes($region3_dialect,$log,$log_verbose,$wqa_table,$time_id);# this aggregates the components of each index into a final index value
./ccamp_calc_meqs.php : clear_site_wqi_table($region3_dialect,$log,$log_verbose,$org_id,$wqa_table,$index_wqi_table,$time_id);
./ccamp_calc_meqs.php : aggregate_wqis($region3_dialect,$log,$log_verbose,$org_id,$index_wqi_table,$time_id);# this aggregates indices into overall site scores
./ccamp_calc_meqs.php : save_index_table($region3_dialect,$log,$log_verbose,$org_id,$time_id);
./ccamp_calc_meqs.php : set_wqa_grades($region3_dialect,$log,$log_verbose,$org_id,$wqa_table,$time_period); # sets site analyte grades in wqa
./ccamp_calc_meqs.php : move_wqis_2_wqa($region3_dialect,$log,$wqa_table,$web_data_table);
./ccamp_calc_meqs.php : set_index_names_in_wqa($region3_dialect,$log,$log_verbose,$org_id,$wqa_table);
./ccamp_calc_meqs.php : $time_period='lt_status'; set_wqi_grades($region3_dialect,$log,$log_verbose,$org_id,$wqa_table,$time_period,"lt_mean"); #sets grades in wqa
./ccamp_calc_meqs.php : $time_period='p1_status'; set_wqi_grades($region3_dialect,$log,$log_verbose,$org_id,$wqa_table,$time_period,"p1_mean"); #sets grades in wqa
./ccamp_calc_meqs.php : $time_period='p2_status'; set_wqi_grades($region3_dialect,$log,$log_verbose,$org_id,$wqa_table,$time_period,"p2_mean"); #sets grades in wqa
./ccamp_calc_meqs.php : set_no_change_status($region3_dialect,$log,$log_verbose,$org_id,$wqa_table);
./ccamp_calc_meqs.php : set_gis_info($region3_dialect,$log,$log_verbose,$site_table,$wqa_table);
./ccamp_calc_meqs.php : set_gis_info($region3_dialect,$log,$log_verbose,$site_table,$index_wqi_table);
./ccamp_calc_meqs.php : set_wb_id($region3_dialect,$log,$log_verbose,$org_id,$wqa_table,$site_table);
./ccamp_calc_meqs.php : set_wb_id($region3_dialect,$log,$log_verbose,$org_id,$index_wqi_table,$site_table);
./ccamp_calc_meqs.php : set_sites_in_use($region3_dialect,$log,$log_verbose,$wqa_table,$site_table);
./ccamp_calc_meqs.php : $bene_use='AQUALIFE'; set_gray_quartile_grades($region3_dialect,$log,$log_verbose,$wqa_table,$bene_use);
./ccamp_calc_meqs.php : $bene_use='HH'; set_gray_quartile_grades($region3_dialect,$log,$log_verbose,$wqa_table,$bene_use);
./ccamp_calc_meqs.php : set_wqa_icons($region3_dialect,$log,$log_verbose,$org_id,$wqa_table); # this updates the WQA table icons
./ccamp_calc_meqs.php : ccampid_2_analytename($region3_dialect,$log,$verbose_output,$org_id,$web_data_table);
./ccamp_calc_meqs.php : ccampid_2_analytename($region3_dialect,$log,$verbose_output,$org_id,$wqa_table);
./ccamp_calc_meqs.php : set_site_names($region3_dialect,$log,$verbose_output,$wqa_table);
./ccamp_calc_meqs.php : set_extents($region3_dialect,$log,$verbose_output,$org_id,$wqa_table);
./ccamp_calc_meqs.php : fixhus($region3_dialect,$log,$org_id);
./ccamp_calc_meqs.php : save_wqi_sites($region3_dialect,$log,$log_verbose,$org_id,$index_wqi_table);
./ccamp_calc_meqs.php : move_wqis_2_data($region3_dialect,$log,$wqa_table,$web_data_table);
./ccamp_calc_meqs.php : set_index_counts($region3_dialect,$log,$org_id);
./ccamp_calc_meqs.php : reset_temp_mdls($region3_dialect,$log,$log_verbose,$org_id,$web_data_table);
./ccamp_calc_meqs.php : $result=Run_Sql($region3_dialect,$sql); if($log_verbose) log_time($sql);
./ccamp_calc_meqs.php : $result=Run_Sql($region3_dialect,$sql); if($log_verbose) log_time($sql);
./ccamp_calc_meqs.php : count_non_detects($region3_dialect,$log,$verbose_output,$org_id,$web_data_table,$wqa_table);
./ccamp_calc_meqs.php : sql_close($region3_dialect,$log,$region3_conn);
./ccamp_calc_meqs.php : function scan_goals($region3_dialect,$log,$log_verbose,$org_id,$web_data_table,$site_table)
./ccamp_calc_meqs.php : $result=Run_Sql($region3_dialect,$sql); log_time($sql);
./ccamp_calc_meqs.php : $result=Run_Sql($region3_dialect,$sql); log_time($sql);
./ccamp_calc_meqs.php : $result=Run_Sql($region3_dialect,$sql); log_time($sql);
./ccamp_calc_meqs.php : $result=Run_Sql($region3_dialect,$sql); log_time($sql);
./ccamp_calc_meqs.php : $result=Run_Sql($region3_dialect,$sql); log_time($sql);
./ccamp_calc_meqs.php : $result=Run_Sql($region3_dialect,$sql); log_time($sql);
./ccamp_calc_meqs.php : $result=Run_Sql($region3_dialect,$sql); log_time($sql);
./ccamp_calc_meqs.php : $result=Run_Sql($region3_dialect,$sql); log_time($sql);
./ccamp_calc_meqs.php : set_goals($region3_dialect,$log,$log_verbose,$org_id,$web_data_table,$site_table,$wb_type,$criteria,$bene_use);
./ccamp_calc_meqs.php : set_goals($region3_dialect,$log,$log_verbose,$org_id,$web_data_table,$site_table,$wb_type,$criteria,$bene_use);
./ccamp_calc_meqs.php : set_goals($region3_dialect,$log,$log_verbose,$org_id,$web_data_table,$site_table,$wb_type,$criteria,$bene_use);
./ccamp_calc_meqs.php : set_goals($region3_dialect,$log,$log_verbose,$org_id,$web_data_table,$site_table,$wb_type,$criteria,$bene_use);
./ccamp_calc_meqs.php : set_goals($region3_dialect,$log,$log_verbose,$org_id,$web_data_table,$site_table,$wb_type,$criteria,$bene_use);
./ccamp_calc_meqs.php : set_goals($region3_dialect,$log,$log_verbose,$org_id,$web_data_table,$site_table,$wb_type,$criteria,$bene_use);
./ccamp_calc_meqs.php : set_goals($region3_dialect,$log,$log_verbose,$org_id,$web_data_table,$site_table,$wb_type,$criteria,$bene_use);
./ccamp_calc_meqs.php : set_goals($region3_dialect,$log,$log_verbose,$org_id,$web_data_table,$site_table,$wb_type,$criteria,$bene_use);
./ccamp_calc_meqs.php : set_goals($region3_dialect,$log,$log_verbose,$org_id,$web_data_table,$site_table,$wb_type,$criteria,$bene_use);
./ccamp_calc_meqs.php : set_goals($region3_dialect,$log,$log_verbose,$org_id,$web_data_table,$site_table,$wb_type,$criteria,$bene_use);
./ccamp_calc_meqs.php : set_goals($region3_dialect,$log,$log_verbose,$org_id,$web_data_table,$site_table,$wb_type,$criteria,$bene_use);
./ccamp_calc_meqs.php : set_goals($region3_dialect,$log,$log_verbose,$org_id,$web_data_table,$site_table,$wb_type,$criteria,$bene_use);
./ccamp_calc_meqs.php : $result=Run_Sql($region3_dialect,$sql); log_time($sql);
./ccamp_calc_meqs.php : $result=Run_Sql($region3_dialect,$sql); log_time($sql);
./ccamp_calc_meqs.php : $result=Run_Sql($region3_dialect,$sql); log_time($sql);
./ccamp_calc_meqs.php : $result=Run_Sql($region3_dialect,$sql); log_time($sql);
./ccamp_calc_meqs.php : $result=Run_Sql($region3_dialect,$sql); log_time($sql);
./ccamp_calc_meqs.php : $result=Run_Sql($region3_dialect,$sql); log_time($sql);
./ccamp_calc_meqs.php : $result=Run_Sql($region3_dialect,$sql); log_time($sql);
./ccamp_calc_meqs.php : $result=Run_Sql($region3_dialect,$sql); log_time($sql);
./ccamp_calc_meqs.php : $result=Run_Sql($region3_dialect,$sql); log_time($sql);
./ccamp_calc_meqs.php : $result=Run_Sql($region3_dialect,$sql); log_time($sql);
./ccamp_calc_meqs.php : $result=Run_Sql($region3_dialect,$sql); log_time($sql);
./ccamp_calc_meqs.php : $result=Run_Sql($region3_dialect,$sql); log_time($sql);
./ccamp_calc_meqs.php : $result=Run_Sql($region3_dialect,$sql); log_time($sql);
./ccamp_calc_meqs.php : function set_goals($region3_dialect,$log,$log_verbose,$org_id,$web_data_table,$site_table,$wb_type,$criteria,$bene_use){
./ccamp_calc_meqs.php : $result=Run_Sql($region3_dialect,$sql); if($log_verbose) log_time($sql);
./ccamp_calc_meqs.php : $ccampid='CU'; set_metal_goals($region3_dialect,$log,$log_verbose,$org_id,$web_data_table,$site_table,$wb_type,$criteria,$bene_use,$ccampid);
./ccamp_calc_meqs.php : $ccampid='CD'; set_metal_goals($region3_dialect,$log,$log_verbose,$org_id,$web_data_table,$site_table,$wb_type,$criteria,$bene_use,$ccampid);
./ccamp_calc_meqs.php : $ccampid='PB'; set_metal_goals($region3_dialect,$log,$log_verbose,$org_id,$web_data_table,$site_table,$wb_type,$criteria,$bene_use,$ccampid);
./ccamp_calc_meqs.php : $ccampid='NI'; set_metal_goals($region3_dialect,$log,$log_verbose,$org_id,$web_data_table,$site_table,$wb_type,$criteria,$bene_use,$ccampid);
./ccamp_calc_meqs.php : $ccampid='ZN'; set_metal_goals($region3_dialect,$log,$log_verbose,$org_id,$web_data_table,$site_table,$wb_type,$criteria,$bene_use,$ccampid);
./ccamp_calc_meqs.php : function set_metal_goals($region3_dialect,$log,$log_verbose,$org_id,$web_data_table,$site_table,$wb_type,$criteria,$bene_use,$ccampid){
./ccamp_calc_meqs.php : $result=Run_Sql($region3_dialect,$sql); if($log_verbose) log_time($sql);
./ccamp_calc_meqs.php : function clear_index($region3_dialect,$log,$log_verbose,$index,$time_id){
./ccamp_calc_meqs.php : $result=Run_Sql($region3_dialect,$sql); if($log_verbose) log_time($sql);
./ccamp_calc_meqs.php : $result=Run_Sql($region3_dialect,$sql); if($log_verbose) log_time($sql);
./ccamp_calc_meqs.php : function calc_meqs($region3_dialect,$log,$wqa_table,$web_data_table,$time_period){
./ccamp_calc_meqs.php : $result=Run_Sql($region3_dialect,$sql); #log_time($sql);
./ccamp_calc_meqs.php : while ($data_row=sql_fetch_assoc($region3_dialect,$result))
./ccamp_calc_meqs.php : if($ccampid=='NH3U_N') put_value($region3_dialect,$log,$wqa_table,$index_table,$ccampid,$dex,$site_tag,$time_period);
./ccamp_calc_meqs.php : if($ccampid=='NO3_N') put_value($region3_dialect,$log,$wqa_table,$index_table,$ccampid,$dex,$site_tag,$time_period);
./ccamp_calc_meqs.php : if($ccampid=='NO2_N') put_value($region3_dialect,$log,$wqa_table,$index_table,$ccampid,$dex,$site_tag,$time_period);
./ccamp_calc_meqs.php : if($ccampid=='N_N') put_value($region3_dialect,$log,$wqa_table,$index_table,$ccampid,$dex,$site_tag,$time_period);
./ccamp_calc_meqs.php : If($ccampid=='ALG_H2O_MMI') put_value($region3_dialect,$log,$wqa_table,$index_table,$ccampid,$dex,$site_tag,$time_period);
./ccamp_calc_meqs.php : if($ccampid=='ALG_50_DO_SCR') put_value($region3_dialect,$log,$wqa_table,$index_table,$ccampid,$dex,$site_tag,$time_period);
./ccamp_calc_meqs.php : if($ccampid=='ALG_CU_SCR') put_value($region3_dialect,$log,$wqa_table,$index_table,$ccampid,$dex,$site_tag,$time_period);
./ccamp_calc_meqs.php : if($ccampid=='ALG_DOC_SCR') put_value($region3_dialect,$log,$wqa_table,$index_table,$ccampid,$dex,$site_tag,$time_period);
./ccamp_calc_meqs.php : if($ccampid=='ALG_HALO_SCR') put_value($region3_dialect,$log,$wqa_table,$index_table,$ccampid,$dex,$site_tag,$time_period);
./ccamp_calc_meqs.php : if($ccampid=='ALG_N_SCR') put_value($region3_dialect,$log,$wqa_table,$index_table,$ccampid,$dex,$site_tag,$time_period);
./ccamp_calc_meqs.php : if($ccampid=='ALG_SED_SCR') put_value($region3_dialect,$log,$wqa_table,$index_table,$ccampid,$dex,$site_tag,$time_period);
./ccamp_calc_meqs.php : if($ccampid=='ALG_TN_SCR') put_value($region3_dialect,$log,$wqa_table,$index_table,$ccampid,$dex,$site_tag,$time_period);
./ccamp_calc_meqs.php : if($ccampid=='ALG_TP_SCR') put_value($region3_dialect,$log,$wqa_table,$index_table,$ccampid,$dex,$site_tag,$time_period);
./ccamp_calc_meqs.php : if($ccampid=='METRIC1_TRC') put_value($region3_dialect,$log,$wqa_table,$index_table,$ccampid,$dex,$site_tag,$time_period);
./ccamp_calc_meqs.php : if($ccampid=='METRIC2_VCS') put_value($region3_dialect,$log,$wqa_table,$index_table,$ccampid,$dex,$site_tag,$time_period);
./ccamp_calc_meqs.php : if($ccampid=='METRIC3_VCQ') put_value($region3_dialect,$log,$wqa_table,$index_table,$ccampid,$dex,$site_tag,$time_period);
./ccamp_calc_meqs.php : if($ccampid=='METRIC4_AGNR') put_value($region3_dialect,$log,$wqa_table,$index_table,$ccampid,$dex,$site_tag,$time_period);
./ccamp_calc_meqs.php : if($ccampid=='METRIC5_RVW') put_value($region3_dialect,$log,$wqa_table,$index_table,$ccampid,$dex,$site_tag,$time_period);
./ccamp_calc_meqs.php : if($ccampid=='METRIC6_RSCVC') put_value($region3_dialect,$log,$wqa_table,$index_table,$ccampid,$dex,$site_tag,$time_period);
./ccamp_calc_meqs.php : if($ccampid=='METRIC7_MHPR') put_value($region3_dialect,$log,$wqa_table,$index_table,$ccampid,$dex,$site_tag,$time_period);
./ccamp_calc_meqs.php : if($ccampid=='METRIC81_HYMOD') put_value($region3_dialect,$log,$wqa_table,$index_table,$ccampid,$dex,$site_tag,$time_period);
./ccamp_calc_meqs.php : if($ccampid=='METRIC8_FINAL') put_value($region3_dialect,$log,$wqa_table,$index_table,$ccampid,$dex,$site_tag,$time_period);
./ccamp_calc_meqs.php : if($ccampid=='METRIC_82_HYMOD') put_value($region3_dialect,$log,$wqa_table,$index_table,$ccampid,$dex,$site_tag,$time_period);
./ccamp_calc_meqs.php : if($ccampid=='NH3_N') put_value($region3_dialect,$log,$wqa_table,$index_table,$ccampid,$dex,$site_tag,$time_period);
./ccamp_calc_meqs.php : if($ccampid=='NO3NO2_N') put_value($region3_dialect,$log,$wqa_table,$index_table,$ccampid,$dex,$site_tag,$time_period);
./ccamp_calc_meqs.php : if($ccampid=='OP_P') put_value($region3_dialect,$log,$wqa_table,$index_table,$ccampid,$dex,$site_tag,$time_period);
./ccamp_calc_meqs.php : if($ccampid=='TSS') put_value($region3_dialect,$log,$wqa_table,$index_table,$ccampid,$dex,$site_tag,$time_period);
./ccamp_calc_meqs.php : if($ccampid=='H2O_TEMP') put_value($region3_dialect,$log,$wqa_table,$index_table,$ccampid,$dex,$site_tag,$time_period);
./ccamp_calc_meqs.php : if($ccampid=='TURB_N') put_value($region3_dialect,$log,$wqa_table,$index_table,$ccampid,$dex,$site_tag,$time_period);
./ccamp_calc_meqs.php : if($ccampid=='DO_PPM_DEP') put_value($region3_dialect,$log,$wqa_table,$index_table,$ccampid,$dex,$site_tag,$time_period);
./ccamp_calc_meqs.php : If($ccampid=='PH_DEP') put_value($region3_dialect,$log,$wqa_table,$index_table,$ccampid,$dex,$site_tag,$time_period);
./ccamp_calc_meqs.php : if($ccampid=='CHLORA') put_value($region3_dialect,$log,$wqa_table,$index_table,$ccampid,$dex,$site_tag,$time_period);
./ccamp_calc_meqs.php : if($ccampid=='ALGA_MATS') put_value($region3_dialect,$log,$wqa_table,$index_table,$ccampid,$dex,$site_tag,$time_period);
./ccamp_calc_meqs.php : if($ccampid=='NNE_REV_QUAL2K_2') put_value($region3_dialect,$log,$wqa_table,$index_table,$ccampid,$dex,$site_tag,$time_period);
./ccamp_calc_meqs.php : if($ccampid=='NNE_DO_DEF') put_value($region3_dialect,$log,$wqa_table,$index_table,$ccampid,$dex,$site_tag,$time_period);
./ccamp_calc_meqs.php : if($ccampid=='DO_PPM_DEP') put_value($region3_dialect,$log,$wqa_table,$index_table,$ccampid,$dex,$site_tag,$time_period);
./ccamp_calc_meqs.php : if($ccampid=='TOX_ALGA_G') put_value($region3_dialect,$log,$wqa_table,$index_table,$ccampid,$dex,$site_tag,$time_period);
./ccamp_calc_meqs.php : if($ccampid=='TOX_FISH_G') put_value($region3_dialect,$log,$wqa_table,$index_table,$ccampid,$dex,$site_tag,$time_period);
./ccamp_calc_meqs.php : if($ccampid=='TOX_FISH_S') put_value($region3_dialect,$log,$wqa_table,$index_table,$ccampid,$dex,$site_tag,$time_period);
./ccamp_calc_meqs.php : if($ccampid=='TOX_INV_R_H2O') put_value($region3_dialect,$log,$wqa_table,$index_table,$ccampid,$dex,$site_tag,$time_period);
./ccamp_calc_meqs.php : if($ccampid=='TOX_INV_S_H2O') put_value($region3_dialect,$log,$wqa_table,$index_table,$ccampid,$dex,$site_tag,$time_period);
./ccamp_calc_meqs.php : if($ccampid=='TOX_FISH_G') put_value($region3_dialect,$log,$wqa_table,$index_table,$ccampid,$dex,$site_tag,$time_period);
./ccamp_calc_meqs.php : if($ccampid=='TOX_FISH_S') put_value($region3_dialect,$log,$wqa_table,$index_table,$ccampid,$dex,$site_tag,$time_period);
./ccamp_calc_meqs.php : if($ccampid=='TOX_INV_S_SED') put_value($region3_dialect,$log,$wqa_table,$index_table,$ccampid,$dex,$site_tag,$time_period);
./ccamp_calc_meqs.php : if($ccampid=='TOX_INV_G_SED') put_value($region3_dialect,$log,$wqa_table,$index_table,$ccampid,$dex,$site_tag,$time_period);
./ccamp_calc_meqs.php : if($ccampid=='TOX_INV_R_SED') put_value($region3_dialect,$log,$wqa_table,$index_table,$ccampid,$dex,$site_tag,$time_period);
./ccamp_calc_meqs.php : if($ccampid=='PCT_SAFN') put_value($region3_dialect,$log,$wqa_table,$index_table,$ccampid,$dex,$site_tag,$time_period);
./ccamp_calc_meqs.php : if($ccampid=='XCEMBED') put_value($region3_dialect,$log,$wqa_table,$index_table,$ccampid,$dex,$site_tag,$time_period);
./ccamp_calc_meqs.php : if($ccampid=='XFC_NAT_SWAMP') put_value($region3_dialect,$log,$wqa_table,$index_table,$ccampid,$dex,$site_tag,$time_period);
./ccamp_calc_meqs.php : if($ccampid=='XCMGW') put_value($region3_dialect,$log,$wqa_table,$index_table,$ccampid,$dex,$site_tag,$time_period);
./ccamp_calc_meqs.php : if($ccampid=='INDEX_PHAB') put_value($region3_dialect,$log,$wqa_table,$index_table,$ccampid,$dex,$site_tag,$time_period);
./ccamp_calc_meqs.php : if($ccampid=='INDEX_RIPARIAN') put_value($region3_dialect,$log,$wqa_table,$index_table,$ccampid,$dex,$site_tag,$time_period);
./ccamp_calc_meqs.php : if($ccampid=='INDEX_CRAM') put_value($region3_dialect,$log,$wqa_table,$index_table,$ccampid,$dex,$site_tag,$time_period);
./ccamp_calc_meqs.php : if($ccampid=='HG') put_value($region3_dialect,$log,$wqa_table,$index_table,$ccampid,$dex,$site_tag,$time_period);
./ccamp_calc_meqs.php : if($ccampid=='CU') put_value($region3_dialect,$log,$wqa_table,$index_table,$ccampid,$dex,$site_tag,$time_period);
./ccamp_calc_meqs.php : if($ccampid=='ZN') put_value($region3_dialect,$log,$wqa_table,$index_table,$ccampid,$dex,$site_tag,$time_period);
./ccamp_calc_meqs.php : if($ccampid=='AG') put_value($region3_dialect,$log,$wqa_table,$index_table,$ccampid,$dex,$site_tag,$time_period);
./ccamp_calc_meqs.php : if($ccampid=='AS1') put_value($region3_dialect,$log,$wqa_table,$index_table,$ccampid,$dex,$site_tag,$time_period);
./ccamp_calc_meqs.php : if($ccampid=='CD') put_value($region3_dialect,$log,$wqa_table,$index_table,$ccampid,$dex,$site_tag,$time_period);
./ccamp_calc_meqs.php : if($ccampid=='PB') put_value($region3_dialect,$log,$wqa_table,$index_table,$ccampid,$dex,$site_tag,$time_period);
./ccamp_calc_meqs.php : if($ccampid=='AL') put_value($region3_dialect,$log,$wqa_table,$index_table,$ccampid,$dex,$site_tag,$time_period);
./ccamp_calc_meqs.php : if($ccampid=='SE') put_value($region3_dialect,$log,$wqa_table,$index_table,$ccampid,$dex,$site_tag,$time_period);
./ccamp_calc_meqs.php : if($ccampid=='HG') put_value($region3_dialect,$log,$wqa_table,$index_table,$ccampid,$dex,$site_tag,$time_period);
./ccamp_calc_meqs.php : if($ccampid=='CU') put_value($region3_dialect,$log,$wqa_table,$index_table,$ccampid,$dex,$site_tag,$time_period);
./ccamp_calc_meqs.php : if($ccampid=='ZN') put_value($region3_dialect,$log,$wqa_table,$index_table,$ccampid,$dex,$site_tag,$time_period);
./ccamp_calc_meqs.php : if($ccampid=='AG') put_value($region3_dialect,$log,$wqa_table,$index_table,$ccampid,$dex,$site_tag,$time_period);
./ccamp_calc_meqs.php : if($ccampid=='AS1') put_value($region3_dialect,$log,$wqa_table,$index_table,$ccampid,$dex,$site_tag,$time_period);
./ccamp_calc_meqs.php : if($ccampid=='CD') put_value($region3_dialect,$log,$wqa_table,$index_table,$ccampid,$dex,$site_tag,$time_period);
./ccamp_calc_meqs.php : if($ccampid=='PB') put_value($region3_dialect,$log,$wqa_table,$index_table,$ccampid,$dex,$site_tag,$time_period);
./ccamp_calc_meqs.php : if($ccampid=='AL') put_value($region3_dialect,$log,$wqa_table,$index_table,$ccampid,$dex,$site_tag,$time_period);
./ccamp_calc_meqs.php : if($ccampid=='SE') put_value($region3_dialect,$log,$wqa_table,$index_table,$ccampid,$dex,$site_tag,$time_period);
./ccamp_calc_meqs.php : if($ccampid=='ANTH') put_value($region3_dialect,$log,$wqa_table,$index_table,$ccampid,$dex,$site_tag,$time_period);
./ccamp_calc_meqs.php : if($ccampid=='ANTHAH') put_value($region3_dialect,$log,$wqa_table,$index_table,$ccampid,$dex,$site_tag,$time_period);
./ccamp_calc_meqs.php : if($ccampid=='BIPHEN') put_value($region3_dialect,$log,$wqa_table,$index_table,$ccampid,$dex,$site_tag,$time_period);
./ccamp_calc_meqs.php : if($ccampid=='CHRYSN') put_value($region3_dialect,$log,$wqa_table,$index_table,$ccampid,$dex,$site_tag,$time_period);
./ccamp_calc_meqs.php : if($ccampid=='CHRYSNC1') put_value($region3_dialect,$log,$wqa_table,$index_table,$ccampid,$dex,$site_tag,$time_period);
./ccamp_calc_meqs.php : if($ccampid=='CHRYSNC2') put_value($region3_dialect,$log,$wqa_table,$index_table,$ccampid,$dex,$site_tag,$time_period);
./ccamp_calc_meqs.php : if($ccampid=='CHRYSNC3') put_value($region3_dialect,$log,$wqa_table,$index_table,$ccampid,$dex,$site_tag,$time_period);
./ccamp_calc_meqs.php : if($ccampid=='DBTHIO') put_value($region3_dialect,$log,$wqa_table,$index_table,$ccampid,$dex,$site_tag,$time_period);
./ccamp_calc_meqs.php : if($ccampid=='FLRA') put_value($region3_dialect,$log,$wqa_table,$index_table,$ccampid,$dex,$site_tag,$time_period);
./ccamp_calc_meqs.php : if($ccampid=='FLRABB') put_value($region3_dialect,$log,$wqa_table,$index_table,$ccampid,$dex,$site_tag,$time_period);
./ccamp_calc_meqs.php : if($ccampid=='FLUORE') put_value($region3_dialect,$log,$wqa_table,$index_table,$ccampid,$dex,$site_tag,$time_period);
./ccamp_calc_meqs.php : if($ccampid=='FLUOREC1') put_value($region3_dialect,$log,$wqa_table,$index_table,$ccampid,$dex,$site_tag,$time_period);
./ccamp_calc_meqs.php : if($ccampid=='FLUOREC2') put_value($region3_dialect,$log,$wqa_table,$index_table,$ccampid,$dex,$site_tag,$time_period);
./ccamp_calc_meqs.php : if($ccampid=='FLUOREC3') put_value($region3_dialect,$log,$wqa_table,$index_table,$ccampid,$dex,$site_tag,$time_period);
./ccamp_calc_meqs.php : if($ccampid=='NAP') put_value($region3_dialect,$log,$wqa_table,$index_table,$ccampid,$dex,$site_tag,$time_period);
./ccamp_calc_meqs.php : if($ccampid=='NAP1') put_value($region3_dialect,$log,$wqa_table,$index_table,$ccampid,$dex,$site_tag,$time_period);
./ccamp_calc_meqs.php : if($ccampid=='NAPHEN') put_value($region3_dialect,$log,$wqa_table,$index_table,$ccampid,$dex,$site_tag,$time_period);
./ccamp_calc_meqs.php : if($ccampid=='PERY') put_value($region3_dialect,$log,$wqa_table,$index_table,$ccampid,$dex,$site_tag,$time_period);
./ccamp_calc_meqs.php : if($ccampid=='PERYGH') put_value($region3_dialect,$log,$wqa_table,$index_table,$ccampid,$dex,$site_tag,$time_period);
./ccamp_calc_meqs.php : if($ccampid=='PHENA') put_value($region3_dialect,$log,$wqa_table,$index_table,$ccampid,$dex,$site_tag,$time_period);
./ccamp_calc_meqs.php : if($ccampid=='PHENA1') put_value($region3_dialect,$log,$wqa_table,$index_table,$ccampid,$dex,$site_tag,$time_period);
./ccamp_calc_meqs.php : if($ccampid=='PYRE') put_value($region3_dialect,$log,$wqa_table,$index_table,$ccampid,$dex,$site_tag,$time_period);
./ccamp_calc_meqs.php : if($ccampid=='PYREBA') put_value($region3_dialect,$log,$wqa_table,$index_table,$ccampid,$dex,$site_tag,$time_period);
./ccamp_calc_meqs.php : if($ccampid=='PYREBE') put_value($region3_dialect,$log,$wqa_table,$index_table,$ccampid,$dex,$site_tag,$time_period);
./ccamp_calc_meqs.php : if($ccampid=='PYREIN') put_value($region3_dialect,$log,$wqa_table,$index_table,$ccampid,$dex,$site_tag,$time_period);
./ccamp_calc_meqs.php : if($ccampid=='TPAH') put_value($region3_dialect,$log,$wqa_table,$index_table,$ccampid,$dex,$site_tag,$time_period);
./ccamp_calc_meqs.php : if($ccampid=='ANTH') put_value($region3_dialect,$log,$wqa_table,$index_table,$ccampid,$dex,$site_tag,$time_period);
./ccamp_calc_meqs.php : if($ccampid=='ANTHAH') put_value($region3_dialect,$log,$wqa_table,$index_table,$ccampid,$dex,$site_tag,$time_period);
./ccamp_calc_meqs.php : if($ccampid=='BIPHEN') put_value($region3_dialect,$log,$wqa_table,$index_table,$ccampid,$dex,$site_tag,$time_period);
./ccamp_calc_meqs.php : if($ccampid=='CHRYSN') put_value($region3_dialect,$log,$wqa_table,$index_table,$ccampid,$dex,$site_tag,$time_period);
./ccamp_calc_meqs.php : if($ccampid=='CHRYSNC1') put_value($region3_dialect,$log,$wqa_table,$index_table,$ccampid,$dex,$site_tag,$time_period);
./ccamp_calc_meqs.php : if($ccampid=='CHRYSNC2') put_value($region3_dialect,$log,$wqa_table,$index_table,$ccampid,$dex,$site_tag,$time_period);
./ccamp_calc_meqs.php : if($ccampid=='CHRYSNC3') put_value($region3_dialect,$log,$wqa_table,$index_table,$ccampid,$dex,$site_tag,$time_period);
./ccamp_calc_meqs.php : if($ccampid=='DBTHIO') put_value($region3_dialect,$log,$wqa_table,$index_table,$ccampid,$dex,$site_tag,$time_period);
./ccamp_calc_meqs.php : if($ccampid=='FLRA') put_value($region3_dialect,$log,$wqa_table,$index_table,$ccampid,$dex,$site_tag,$time_period);
./ccamp_calc_meqs.php : if($ccampid=='FLRABB') put_value($region3_dialect,$log,$wqa_table,$index_table,$ccampid,$dex,$site_tag,$time_period);
./ccamp_calc_meqs.php : if($ccampid=='FLUORE') put_value($region3_dialect,$log,$wqa_table,$index_table,$ccampid,$dex,$site_tag,$time_period);
./ccamp_calc_meqs.php : if($ccampid=='FLUOREC1') put_value($region3_dialect,$log,$wqa_table,$index_table,$ccampid,$dex,$site_tag,$time_period);
./ccamp_calc_meqs.php : if($ccampid=='FLUOREC2') put_value($region3_dialect,$log,$wqa_table,$index_table,$ccampid,$dex,$site_tag,$time_period);
./ccamp_calc_meqs.php : if($ccampid=='FLUOREC3') put_value($region3_dialect,$log,$wqa_table,$index_table,$ccampid,$dex,$site_tag,$time_period);
./ccamp_calc_meqs.php : if($ccampid=='NAP') put_value($region3_dialect,$log,$wqa_table,$index_table,$ccampid,$dex,$site_tag,$time_period);
./ccamp_calc_meqs.php : if($ccampid=='NAP1') put_value($region3_dialect,$log,$wqa_table,$index_table,$ccampid,$dex,$site_tag,$time_period);
./ccamp_calc_meqs.php : if($ccampid=='NAPHEN') put_value($region3_dialect,$log,$wqa_table,$index_table,$ccampid,$dex,$site_tag,$time_period);
./ccamp_calc_meqs.php : if($ccampid=='PERY') put_value($region3_dialect,$log,$wqa_table,$index_table,$ccampid,$dex,$site_tag,$time_period);
./ccamp_calc_meqs.php : if($ccampid=='PERYGH') put_value($region3_dialect,$log,$wqa_table,$index_table,$ccampid,$dex,$site_tag,$time_period);
./ccamp_calc_meqs.php : if($ccampid=='PHENA') put_value($region3_dialect,$log,$wqa_table,$index_table,$ccampid,$dex,$site_tag,$time_period);
./ccamp_calc_meqs.php : if($ccampid=='PHENA1') put_value($region3_dialect,$log,$wqa_table,$index_table,$ccampid,$dex,$site_tag,$time_period);
./ccamp_calc_meqs.php : if($ccampid=='PYRE') put_value($region3_dialect,$log,$wqa_table,$index_table,$ccampid,$dex,$site_tag,$time_period);
./ccamp_calc_meqs.php : if($ccampid=='PYREBA') put_value($region3_dialect,$log,$wqa_table,$index_table,$ccampid,$dex,$site_tag,$time_period);
./ccamp_calc_meqs.php : if($ccampid=='PYREBE') put_value($region3_dialect,$log,$wqa_table,$index_table,$ccampid,$dex,$site_tag,$time_period);
./ccamp_calc_meqs.php : if($ccampid=='PYREIN') put_value($region3_dialect,$log,$wqa_table,$index_table,$ccampid,$dex,$site_tag,$time_period);
./ccamp_calc_meqs.php : if($ccampid=='TPAH') put_value($region3_dialect,$log,$wqa_table,$index_table,$ccampid,$dex,$site_tag,$time_period);
./ccamp_calc_meqs.php : $resultx=Run_Sql($region3_dialect,$sql); #log_time($sql);
./ccamp_calc_meqs.php : while ($datax=sql_fetch_assoc($region3_dialect,$resultx)){
./ccamp_calc_meqs.php : if($ccampid==$ccampidx) put_value($region3_dialect,$log,$wqa_table,$index_table,$ccampid,$dex,$site_tag,$time_period);
./ccamp_calc_meqs.php : $resultx=Run_Sql($region3_dialect,$sql); #log_time($sql);
./ccamp_calc_meqs.php : while ($datax=sql_fetch_assoc($region3_dialect,$resultx)){
./ccamp_calc_meqs.php : if($ccampid==$ccampidx) put_value($region3_dialect,$log,$wqa_table,$index_table,$ccampid,$dex,$site_tag,$time_period);
./ccamp_calc_meqs.php : if($ccampid=='NO3NO2_N') put_value($region3_dialect,$log,$wqa_table,$index_table,$ccampid,$dex,$site_tag,$time_period);
./ccamp_calc_meqs.php : if($ccampid=='NO3_N') put_value($region3_dialect,$log,$wqa_table,$index_table,$ccampid,$dex,$site_tag,$time_period);
./ccamp_calc_meqs.php : if($ccampid=='NO2_N') put_value($region3_dialect,$log,$wqa_table,$index_table,$ccampid,$dex,$site_tag,$time_period);
./ccamp_calc_meqs.php : if($ccampid=='NH3_N') put_value($region3_dialect,$log,$wqa_table,$index_table,$ccampid,$dex,$site_tag,$time_period);
./ccamp_calc_meqs.php : if($ccampid=='TDS') put_value($region3_dialect,$log,$wqa_table,$index_table,$ccampid,$dex,$site_tag,$time_period);
./ccamp_calc_meqs.php : if($ccampid=='BORON_DIS') put_value($region3_dialect,$log,$wqa_table,$index_table,$ccampid,$dex,$site_tag,$time_period);
./ccamp_calc_meqs.php : if($ccampid=='CHLORIDE') put_value($region3_dialect,$log,$wqa_table,$index_table,$ccampid,$dex,$site_tag,$time_period);
./ccamp_calc_meqs.php : if($ccampid=='SODIUM') put_value($region3_dialect,$log,$wqa_table,$index_table,$ccampid,$dex,$site_tag,$time_period);
./ccamp_calc_meqs.php : if($ccampid=='ECOLI') put_value($region3_dialect,$log,$wqa_table,$index_table,$ccampid,$dex,$site_tag,$time_period);
./ccamp_calc_meqs.php : if($ccampid=='FCOLI') put_value($region3_dialect,$log,$wqa_table,$index_table,$ccampid,$dex,$site_tag,$time_period);
./ccamp_calc_meqs.php : if($ccampid=='ENTERO') put_value($region3_dialect,$log,$wqa_table,$index_table,$ccampid,$dex,$site_tag,$time_period);
./ccamp_calc_meqs.php : if($ccampid=='HG') put_value($region3_dialect,$log,$wqa_table,$index_table,$ccampid,$dex,$site_tag,$time_period);
./ccamp_calc_meqs.php : if($ccampid=='CU') put_value($region3_dialect,$log,$wqa_table,$index_table,$ccampid,$dex,$site_tag,$time_period);
./ccamp_calc_meqs.php : if($ccampid=='ZN') put_value($region3_dialect,$log,$wqa_table,$index_table,$ccampid,$dex,$site_tag,$time_period);
./ccamp_calc_meqs.php : if($ccampid=='AG') put_value($region3_dialect,$log,$wqa_table,$index_table,$ccampid,$dex,$site_tag,$time_period);
./ccamp_calc_meqs.php : if($ccampid=='AS1') put_value($region3_dialect,$log,$wqa_table,$index_table,$ccampid,$dex,$site_tag,$time_period);
./ccamp_calc_meqs.php : if($ccampid=='CD') put_value($region3_dialect,$log,$wqa_table,$index_table,$ccampid,$dex,$site_tag,$time_period);
./ccamp_calc_meqs.php : if($ccampid=='CR') put_value($region3_dialect,$log,$wqa_table,$index_table,$ccampid,$dex,$site_tag,$time_period);
./ccamp_calc_meqs.php : if($ccampid=='NI') put_value($region3_dialect,$log,$wqa_table,$index_table,$ccampid,$dex,$site_tag,$time_period);
./ccamp_calc_meqs.php : if($ccampid=='PB') put_value($region3_dialect,$log,$wqa_table,$index_table,$ccampid,$dex,$site_tag,$time_period);
./ccamp_calc_meqs.php : if($ccampid=='AL') put_value($region3_dialect,$log,$wqa_table,$index_table,$ccampid,$dex,$site_tag,$time_period);
./ccamp_calc_meqs.php : if($ccampid=='SE') put_value($region3_dialect,$log,$wqa_table,$index_table,$ccampid,$dex,$site_tag,$time_period);
./ccamp_calc_meqs.php : if($ccampid=='ANTH') put_value($region3_dialect,$log,$wqa_table,$index_table,$ccampid,$dex,$site_tag,$time_period);
./ccamp_calc_meqs.php : if($ccampid=='ANTHAH') put_value($region3_dialect,$log,$wqa_table,$index_table,$ccampid,$dex,$site_tag,$time_period);
./ccamp_calc_meqs.php : if($ccampid=='BIPHEN') put_value($region3_dialect,$log,$wqa_table,$index_table,$ccampid,$dex,$site_tag,$time_period);
./ccamp_calc_meqs.php : if($ccampid=='CHRYSN') put_value($region3_dialect,$log,$wqa_table,$index_table,$ccampid,$dex,$site_tag,$time_period);
./ccamp_calc_meqs.php : if($ccampid=='CHRYSNC1') put_value($region3_dialect,$log,$wqa_table,$index_table,$ccampid,$dex,$site_tag,$time_period);
./ccamp_calc_meqs.php : if($ccampid=='CHRYSNC2') put_value($region3_dialect,$log,$wqa_table,$index_table,$ccampid,$dex,$site_tag,$time_period);
./ccamp_calc_meqs.php : if($ccampid=='CHRYSNC3') put_value($region3_dialect,$log,$wqa_table,$index_table,$ccampid,$dex,$site_tag,$time_period);
./ccamp_calc_meqs.php : if($ccampid=='DBTHIO') put_value($region3_dialect,$log,$wqa_table,$index_table,$ccampid,$dex,$site_tag,$time_period);
./ccamp_calc_meqs.php : if($ccampid=='FLRA') put_value($region3_dialect,$log,$wqa_table,$index_table,$ccampid,$dex,$site_tag,$time_period);
./ccamp_calc_meqs.php : if($ccampid=='FLRABB') put_value($region3_dialect,$log,$wqa_table,$index_table,$ccampid,$dex,$site_tag,$time_period);
./ccamp_calc_meqs.php : if($ccampid=='FLUORE') put_value($region3_dialect,$log,$wqa_table,$index_table,$ccampid,$dex,$site_tag,$time_period);
./ccamp_calc_meqs.php : if($ccampid=='FLUOREC1') put_value($region3_dialect,$log,$wqa_table,$index_table,$ccampid,$dex,$site_tag,$time_period);
./ccamp_calc_meqs.php : if($ccampid=='FLUOREC2') put_value($region3_dialect,$log,$wqa_table,$index_table,$ccampid,$dex,$site_tag,$time_period);
./ccamp_calc_meqs.php : if($ccampid=='FLUOREC3') put_value($region3_dialect,$log,$wqa_table,$index_table,$ccampid,$dex,$site_tag,$time_period);
./ccamp_calc_meqs.php : if($ccampid=='NAP') put_value($region3_dialect,$log,$wqa_table,$index_table,$ccampid,$dex,$site_tag,$time_period);
./ccamp_calc_meqs.php : if($ccampid=='NAP1') put_value($region3_dialect,$log,$wqa_table,$index_table,$ccampid,$dex,$site_tag,$time_period);
./ccamp_calc_meqs.php : if($ccampid=='NAPHEN') put_value($region3_dialect,$log,$wqa_table,$index_table,$ccampid,$dex,$site_tag,$time_period);
./ccamp_calc_meqs.php : if($ccampid=='PERY') put_value($region3_dialect,$log,$wqa_table,$index_table,$ccampid,$dex,$site_tag,$time_period);
./ccamp_calc_meqs.php : if($ccampid=='PERYGH') put_value($region3_dialect,$log,$wqa_table,$index_table,$ccampid,$dex,$site_tag,$time_period);
./ccamp_calc_meqs.php : if($ccampid=='PHENA') put_value($region3_dialect,$log,$wqa_table,$index_table,$ccampid,$dex,$site_tag,$time_period);
./ccamp_calc_meqs.php : if($ccampid=='PHENA1') put_value($region3_dialect,$log,$wqa_table,$index_table,$ccampid,$dex,$site_tag,$time_period);
./ccamp_calc_meqs.php : if($ccampid=='PYRE') put_value($region3_dialect,$log,$wqa_table,$index_table,$ccampid,$dex,$site_tag,$time_period);
./ccamp_calc_meqs.php : if($ccampid=='PYREBA') put_value($region3_dialect,$log,$wqa_table,$index_table,$ccampid,$dex,$site_tag,$time_period);
./ccamp_calc_meqs.php : if($ccampid=='PYREBE') put_value($region3_dialect,$log,$wqa_table,$index_table,$ccampid,$dex,$site_tag,$time_period);
./ccamp_calc_meqs.php : if($ccampid=='PYREIN') put_value($region3_dialect,$log,$wqa_table,$index_table,$ccampid,$dex,$site_tag,$time_period);
./ccamp_calc_meqs.php : if($ccampid=='TPAH') put_value($region3_dialect,$log,$wqa_table,$index_table,$ccampid,$dex,$site_tag,$time_period);
./ccamp_calc_meqs.php : $resultx=Run_Sql($region3_dialect,$sql); #log_time($sql);
./ccamp_calc_meqs.php : while ($datax=sql_fetch_assoc($region3_dialect,$resultx)){
./ccamp_calc_meqs.php : if($ccampid==$ccampidx) put_value($region3_dialect,$log,$wqa_table,$index_table,$ccampid,$dex,$site_tag,$time_period);
./ccamp_calc_meqs.php : function calc_linear($region3_dialect,$log,$wqa_table,$web_data_table,$time_period){
./ccamp_calc_meqs.php : $result=Run_Sql($region3_dialect,$sql); #log_time($sql);
./ccamp_calc_meqs.php : while ($data_row=sql_fetch_assoc($region3_dialect,$result))
./ccamp_calc_meqs.php : put_value($region3_dialect,$log,$wqa_table,$index_table,$ccampid,$dex,$site_tag,$time_period);
./ccamp_calc_meqs.php : put_value($region3_dialect,$log,$wqa_table,$index_table,$ccampid,$dex,$site_tag,$time_period);
./ccamp_calc_meqs.php : put_value($region3_dialect,$log,$wqa_table,$index_table,$ccampid,$dex,$site_tag,$time_period);
./ccamp_calc_meqs.php : put_value($region3_dialect,$log,$wqa_table,$index_table,$ccampid,$dex,$site_tag,$time_period);
./ccamp_calc_meqs.php : put_value($region3_dialect,$log,$wqa_table,$index_table,$ccampid,$dex,$site_tag,$time_period);
./ccamp_calc_meqs.php : put_value($region3_dialect,$log,$wqa_table,$index_table,$ccampid,$dex,$site_tag,$time_period);
./ccamp_calc_meqs.php : put_value($region3_dialect,$log,$wqa_table,$index_table,$ccampid,$dex,$site_tag,$time_period);
./ccamp_calc_meqs.php : put_value($region3_dialect,$log,$wqa_table,$index_table,$ccampid,$dex,$site_tag,$time_period);
./ccamp_calc_meqs.php : put_value($region3_dialect,$log,$wqa_table,$index_table,$ccampid,$dex,$site_tag,$time_period);
./ccamp_calc_meqs.php : put_value($region3_dialect,$log,$wqa_table,$index_table,$ccampid,$dex,$site_tag,$time_period);
./ccamp_calc_meqs.php : put_value($region3_dialect,$log,$wqa_table,$index_table,$ccampid,$dex,$site_tag,$time_period);
./ccamp_calc_meqs.php : put_value($region3_dialect,$log,$wqa_table,$index_table,$ccampid,$dex,$site_tag,$time_period);
./ccamp_calc_meqs.php : put_value($region3_dialect,$log,$wqa_table,$index_table,$ccampid,$dex,$site_tag,$time_period);
./ccamp_calc_meqs.php : put_value($region3_dialect,$log,$wqa_table,$index_table,$ccampid,$dex,$site_tag,$time_period);
./ccamp_calc_meqs.php : put_value($region3_dialect,$log,$wqa_table,$index_table,$ccampid,$dex,$site_tag,$time_period);
./ccamp_calc_meqs.php : put_value($region3_dialect,$log,$wqa_table,$index_table,$ccampid,$dex,$site_tag,$time_period);
./ccamp_calc_meqs.php : put_value($region3_dialect,$log,$wqa_table,$index_table,$ccampid,$dex,$site_tag,$time_period);
./ccamp_calc_meqs.php : put_value($region3_dialect,$log,$wqa_table,$index_table,$ccampid,$dex,$site_tag,$time_period);
./ccamp_calc_meqs.php : put_value($region3_dialect,$log,$wqa_table,$index_table,$ccampid,$dex,$site_tag,$time_period);
./ccamp_calc_meqs.php : put_value($region3_dialect,$log,$wqa_table,$index_table,$ccampid,$dex,$site_tag,$time_period);
./ccamp_calc_meqs.php : put_value($region3_dialect,$log,$wqa_table,$index_table,$ccampid,$dex,$site_tag,$time_period);
./ccamp_calc_meqs.php : put_value($region3_dialect,$log,$wqa_table,$index_table,$ccampid,$dex,$site_tag,$time_period);
./ccamp_calc_meqs.php : put_value($region3_dialect,$log,$wqa_table,$index_table,$ccampid,$dex,$site_tag,$time_period);
./ccamp_calc_meqs.php : put_value($region3_dialect,$log,$wqa_table,$index_table,$ccampid,$dex,$site_tag,$time_period);
./ccamp_calc_meqs.php : put_value($region3_dialect,$log,$wqa_table,$index_table,$ccampid,$dex,$site_tag,$time_period);
./ccamp_calc_meqs.php : put_value($region3_dialect,$log,$wqa_table,$index_table,$ccampid,$dex,$site_tag,$time_period);
./ccamp_calc_meqs.php : function put_value($region3_dialect,$log,$wqa_table,$index,$ccampid,$score,$site_tag,$time_period){
./ccamp_calc_meqs.php : $result=Run_Sql($region3_dialect,$sql); # log_time($sql);
./ccamp_calc_meqs.php : $result=Run_Sql($region3_dialect,$sql); #log_time($sql);
./ccamp_calc_meqs.php : $result=Run_Sql($region3_dialect,$sql); if($log_verbose) log_time($sql);
./ccamp_calc_meqs.php : function clear_site_wqi_table($region3_dialect,$log,$log_verbose,$org_id,$wqa_table,$index_wqi_table,$time_id){
./ccamp_calc_meqs.php : $result=Run_Sql($region3_dialect,$sql); if($log_verbose) log_time($sql);
./ccamp_calc_meqs.php : $result=Run_Sql($region3_dialect,$sql); if($log_verbose) log_time($sql);
./ccamp_calc_meqs.php : $sql="DROP TABLE IF EXISTS ".$index_wqi_table.$time_id.' '; $result=Run_Sql($region3_dialect,$sql); if($log_verbose) log_time($sql);
./ccamp_calc_meqs.php : $result=Run_Sql($region3_dialect,$sql); if($log_verbose) log_time($sql);
./ccamp_calc_meqs.php : $sql="DROP TABLE IF EXISTS ".$index_wqi_table.$time_id.' '; $result=Run_Sql($region3_dialect,$sql); if($log_verbose) log_time($sql);
./ccamp_calc_meqs.php : $result=Run_Sql($region3_dialect,$sql); if($log_verbose) log_time($sql);
./ccamp_calc_meqs.php : $result=Run_Sql($region3_dialect,$sql); if($log_verbose) log_time($sql);
./ccamp_calc_meqs.php : $result=Run_Sql($region3_dialect,$sql); if($log_verbose) log_time($sql);
./ccamp_calc_meqs.php : while ($data_row=sql_fetch_assoc($region3_dialect,$result)){
./ccamp_calc_meqs.php : $result1=Run_Sql($region3_dialect,$sql); if($log_verbose) log_time($sql);
./ccamp_calc_meqs.php : function null_fill($region3_dialect,$log,$wqa_table,$index){
./ccamp_calc_meqs.php : $result=Run_Sql($region3_dialect,$sql); #log_time($sql);
./ccamp_calc_meqs.php : function create_index_tables($region3_dialect,$log,$log_verbose,$wqa_table){
./ccamp_calc_meqs.php : $result=Run_Sql($region3_dialect,$sql); if($log_verbose) log_time($sql);
./ccamp_calc_meqs.php : $result=Run_Sql($region3_dialect,$sql); if($log_verbose) log_time($sql);
./ccamp_calc_meqs.php : null_fill($region3_dialect,$log,$wqa_table,'Index_Aquatic_Life');
./ccamp_calc_meqs.php : null_fill($region3_dialect,$log,$wqa_table,'Index_Human_Health');
./ccamp_calc_meqs.php : null_fill($region3_dialect,$log,$wqa_table,'Index_Wildlife');
./ccamp_calc_meqs.php : null_fill($region3_dialect,$log,$wqa_table,'Index_goby');
./ccamp_calc_meqs.php : null_fill($region3_dialect,$log,$wqa_table,'Index_steelhead');
./ccamp_calc_meqs.php : null_fill($region3_dialect,$log,$wqa_table,'Index_otter');
./ccamp_calc_meqs.php : null_fill($region3_dialect,$log,$wqa_table,'Index_WQ_Aquatic_Life');
./ccamp_calc_meqs.php : null_fill($region3_dialect,$log,$wqa_table,'Index_Biostim_Risk');
./ccamp_calc_meqs.php : null_fill($region3_dialect,$log,$wqa_table,'Index_BMI');
./ccamp_calc_meqs.php : null_fill($region3_dialect,$log,$wqa_table,'Index_Toxicity_Sed');
./ccamp_calc_meqs.php : null_fill($region3_dialect,$log,$wqa_table,'Index_Met_Aquatic_Life_Sed');
./ccamp_calc_meqs.php : null_fill($region3_dialect,$log,$wqa_table,'Index_Org_Aquatic_Life_Sed');
./ccamp_calc_meqs.php : null_fill($region3_dialect,$log,$wqa_table,'Index_Pah_Aquatic_Life_Sed');
./ccamp_calc_meqs.php : null_fill($region3_dialect,$log,$wqa_table,'Index_Toxicity_H2o');
./ccamp_calc_meqs.php : null_fill($region3_dialect,$log,$wqa_table,'Index_Met_Aquatic_Life_H2o');
./ccamp_calc_meqs.php : null_fill($region3_dialect,$log,$wqa_table,'Index_Org_Aquatic_Life_H2o');
./ccamp_calc_meqs.php : null_fill($region3_dialect,$log,$wqa_table,'Index_Pah_Aquatic_Life_H2o');
./ccamp_calc_meqs.php : null_fill($region3_dialect,$log,$wqa_table,'Index_WQ_Human_Health');
./ccamp_calc_meqs.php : null_fill($region3_dialect,$log,$wqa_table,'Index_Salts_Human_Health');
./ccamp_calc_meqs.php : null_fill($region3_dialect,$log,$wqa_table,'Index_Met_Human_Health');
./ccamp_calc_meqs.php : null_fill($region3_dialect,$log,$wqa_table,'Index_Org_Human_Health');
./ccamp_calc_meqs.php : null_fill($region3_dialect,$log,$wqa_table,'Index_Pah_Human_Health');
./ccamp_calc_meqs.php : null_fill($region3_dialect,$log,$wqa_table,'Index_Pathogens');
./ccamp_calc_meqs.php : null_fill($region3_dialect,$log,$wqa_table,'Index_Habitat');
./ccamp_calc_meqs.php : null_fill($region3_dialect,$log,$wqa_table,'Index_land_cover');
./ccamp_calc_meqs.php : null_fill($region3_dialect,$log,$wqa_table,'Index_pesticide_use');
./ccamp_calc_meqs.php : null_fill($region3_dialect,$log,$wqa_table,'Index_Riparian');
./ccamp_calc_meqs.php : null_fill($region3_dialect,$log,$wqa_table,'Index_phab');
./ccamp_calc_meqs.php : null_fill($region3_dialect,$log,$wqa_table,'Index_WQ_Groundwater');
./ccamp_calc_meqs.php : null_fill($region3_dialect,$log,$wqa_table,'Index_algae');
./ccamp_calc_meqs.php : null_fill($region3_dialect,$log,$wqa_table,'Index_benthos');
./ccamp_calc_meqs.php : null_fill($region3_dialect,$log,$wqa_table,'Index_cram');
./ccamp_calc_meqs.php : null_fill($region3_dialect,$log,$wqa_table,'Index_management');
./ccamp_calc_meqs.php : null_fill($region3_dialect,$log,$wqa_table,'Index_rps');
./ccamp_calc_meqs.php : null_fill($region3_dialect,$log,$wqa_table,'Index_303d');
./ccamp_calc_meqs.php : null_fill($region3_dialect,$log,$wqa_table,'Index_land_cover');
./ccamp_calc_meqs.php : null_fill($region3_dialect,$log,$wqa_table,'Index_pesticide_use');
./ccamp_calc_meqs.php : null_fill($region3_dialect,$log,$wqa_table,'Index_generic');
./ccamp_calc_meqs.php : $result=Run_Sql($region3_dialect,$sql); if($log_verbose) log_time($sql);
./ccamp_calc_meqs.php : $result=Run_Sql($region3_dialect,$sql); if($log_verbose) log_time($sql);
./ccamp_calc_meqs.php : add_component($region3_dialect,$log,$index_list,$index_table,$index_table);
./ccamp_calc_meqs.php : add_component($region3_dialect,$log,$index_list,$index_table,'NH3U_N');
./ccamp_calc_meqs.php : add_component($region3_dialect,$log,$index_list,$index_table,'NO3_N');
./ccamp_calc_meqs.php : add_component($region3_dialect,$log,$index_list,$index_table,'NO2_N');
./ccamp_calc_meqs.php : add_component($region3_dialect,$log,$index_list,$index_table,'N_N');
./ccamp_calc_meqs.php : add_component($region3_dialect,$log,$index_list,$index_table,'TKN_N');
./ccamp_calc_meqs.php : add_component($region3_dialect,$log,$index_list,$index_table,'P_P');
./ccamp_calc_meqs.php : add_component($region3_dialect,$log,$index_list,$index_table,'H2O_TEMP');
./ccamp_calc_meqs.php : add_component($region3_dialect,$log,$index_list,$index_table,'B_EPTINDEX');
./ccamp_calc_meqs.php : add_component($region3_dialect,$log,$index_list,$index_table,'B_ETTAXA_SP');
./ccamp_calc_meqs.php : add_component($region3_dialect,$log,$index_list,$index_table,'B_NEEPPTI_NI');
./ccamp_calc_meqs.php : add_component($region3_dialect,$log,$index_list,$index_table,'B_NIINNTI_NI');
./ccamp_calc_meqs.php : add_component($region3_dialect,$log,$index_list,$index_table,'B_NSSEVEEI_NI');
./ccamp_calc_meqs.php : add_component($region3_dialect,$log,$index_list,$index_table,'B_PDDONTT_SP');
./ccamp_calc_meqs.php : add_component($region3_dialect,$log,$index_list,$index_table,'B_PPPRORT_PT');
./ccamp_calc_meqs.php : add_component($region3_dialect,$log,$index_list,$index_table,'B_PPPRRS_SP');
./ccamp_calc_meqs.php : add_component($region3_dialect,$log,$index_list,$index_table,'B_SEEPPTI_SP');
./ccamp_calc_meqs.php : add_component($region3_dialect,$log,$index_list,$index_table,'ALG_H2O_MMI');
./ccamp_calc_meqs.php : add_component($region3_dialect,$log,$index_list,$index_table,'IDX_SCORE');
./ccamp_calc_meqs.php : add_component($region3_dialect,$log,$index_list,$index_table,'comp_count');
./ccamp_calc_meqs.php : add_component($region3_dialect,$log,$index_list,$index_table,'prod');
./ccamp_calc_meqs.php : $result=Run_Sql($region3_dialect,$sql); if($log_verbose) log_time($sql);
./ccamp_calc_meqs.php : $result=Run_Sql($region3_dialect,$sql); if($log_verbose) log_time($sql);
./ccamp_calc_meqs.php : add_component($region3_dialect,$log,$index_list,$index_table,$index_table);
./ccamp_calc_meqs.php : add_component($region3_dialect,$log,$index_list,$index_table,'NH3_N');
./ccamp_calc_meqs.php : add_component($region3_dialect,$log,$index_list,$index_table,'NO3NO2_N');
./ccamp_calc_meqs.php : add_component($region3_dialect,$log,$index_list,$index_table,'OP_P');
./ccamp_calc_meqs.php : add_component($region3_dialect,$log,$index_list,$index_table,'TURB_N');
./ccamp_calc_meqs.php : add_component($region3_dialect,$log,$index_list,$index_table,'TSS');
./ccamp_calc_meqs.php : add_component($region3_dialect,$log,$index_list,$index_table,'H2O_TEMP');
./ccamp_calc_meqs.php : add_component($region3_dialect,$log,$index_list,$index_table,'DO_PPM_DEP');
./ccamp_calc_meqs.php : add_component($region3_dialect,$log,$index_list,$index_table,'PH_DEP');
./ccamp_calc_meqs.php : add_component($region3_dialect,$log,$index_list,$index_table,'comp_count');
./ccamp_calc_meqs.php : add_component($region3_dialect,$log,$index_list,$index_table,'prod');
./ccamp_calc_meqs.php : $result=Run_Sql($region3_dialect,$sql); if($log_verbose) log_time($sql);
./ccamp_calc_meqs.php : $result=Run_Sql($region3_dialect,$sql); if($log_verbose) log_time($sql);
./ccamp_calc_meqs.php : add_component($region3_dialect,$log,$index_list,$index_table,$index_table);
./ccamp_calc_meqs.php : add_component($region3_dialect,$log,$index_list,$index_table,'AG');
./ccamp_calc_meqs.php : add_component($region3_dialect,$log,$index_list,$index_table,'AS1');
./ccamp_calc_meqs.php : add_component($region3_dialect,$log,$index_list,$index_table,'CD');
./ccamp_calc_meqs.php : add_component($region3_dialect,$log,$index_list,$index_table,'CU');
./ccamp_calc_meqs.php : add_component($region3_dialect,$log,$index_list,$index_table,'HG');
./ccamp_calc_meqs.php : add_component($region3_dialect,$log,$index_list,$index_table,'PB');
./ccamp_calc_meqs.php : add_component($region3_dialect,$log,$index_list,$index_table,'ZN');
./ccamp_calc_meqs.php : add_component($region3_dialect,$log,$index_list,$index_table,'AL');
./ccamp_calc_meqs.php : add_component($region3_dialect,$log,$index_list,$index_table,'SE');
./ccamp_calc_meqs.php : add_component($region3_dialect,$log,$index_list,$index_table,'comp_count');
./ccamp_calc_meqs.php : add_component($region3_dialect,$log,$index_list,$index_table,'prod');
./ccamp_calc_meqs.php : $result=Run_Sql($region3_dialect,$sql); if($log_verbose) log_time($sql);
./ccamp_calc_meqs.php : $result=Run_Sql($region3_dialect,$sql); if($log_verbose) log_time($sql);
./ccamp_calc_meqs.php : add_component($region3_dialect,$log,$index_list,$index_table,$index_table);
./ccamp_calc_meqs.php : add_component($region3_dialect,$log,$index_list,$index_table,'AG');
./ccamp_calc_meqs.php : add_component($region3_dialect,$log,$index_list,$index_table,'AS1');
./ccamp_calc_meqs.php : add_component($region3_dialect,$log,$index_list,$index_table,'CD');
./ccamp_calc_meqs.php : add_component($region3_dialect,$log,$index_list,$index_table,'CU');
./ccamp_calc_meqs.php : add_component($region3_dialect,$log,$index_list,$index_table,'HG');
./ccamp_calc_meqs.php : add_component($region3_dialect,$log,$index_list,$index_table,'PB');
./ccamp_calc_meqs.php : add_component($region3_dialect,$log,$index_list,$index_table,'ZN');
./ccamp_calc_meqs.php : add_component($region3_dialect,$log,$index_list,$index_table,'AL');
./ccamp_calc_meqs.php : add_component($region3_dialect,$log,$index_list,$index_table,'SE');
./ccamp_calc_meqs.php : add_component($region3_dialect,$log,$index_list,$index_table,'comp_count');
./ccamp_calc_meqs.php : add_component($region3_dialect,$log,$index_list,$index_table,'prod');
./ccamp_calc_meqs.php : $result=Run_Sql($region3_dialect,$sql); if($log_verbose) log_time($sql);
./ccamp_calc_meqs.php : $result=Run_Sql($region3_dialect,$sql); if($log_verbose) log_time($sql);
./ccamp_calc_meqs.php : add_component($region3_dialect,$log,$index_list,$index_table,$index_table);
./ccamp_calc_meqs.php : add_component($region3_dialect,$log,$index_list,$index_table,'AG');
./ccamp_calc_meqs.php : add_component($region3_dialect,$log,$index_list,$index_table,'AS1');
./ccamp_calc_meqs.php : add_component($region3_dialect,$log,$index_list,$index_table,'CD');
./ccamp_calc_meqs.php : add_component($region3_dialect,$log,$index_list,$index_table,'CU');
./ccamp_calc_meqs.php : add_component($region3_dialect,$log,$index_list,$index_table,'HG');
./ccamp_calc_meqs.php : add_component($region3_dialect,$log,$index_list,$index_table,'CR');
./ccamp_calc_meqs.php : add_component($region3_dialect,$log,$index_list,$index_table,'NI');
./ccamp_calc_meqs.php : add_component($region3_dialect,$log,$index_list,$index_table,'PB');
./ccamp_calc_meqs.php : add_component($region3_dialect,$log,$index_list,$index_table,'ZN');
./ccamp_calc_meqs.php : add_component($region3_dialect,$log,$index_list,$index_table,'AL');
./ccamp_calc_meqs.php : add_component($region3_dialect,$log,$index_list,$index_table,'SE');
./ccamp_calc_meqs.php : add_component($region3_dialect,$log,$index_list,$index_table,'comp_count');
./ccamp_calc_meqs.php : add_component($region3_dialect,$log,$index_list,$index_table,'prod');
./ccamp_calc_meqs.php : $result=Run_Sql($region3_dialect,$sql); if($log_verbose) log_time($sql);
./ccamp_calc_meqs.php : $result=Run_Sql($region3_dialect,$sql); if($log_verbose) log_time($sql);
./ccamp_calc_meqs.php : add_component($region3_dialect,$log,$index_list,$index_table,$index_table);
./ccamp_calc_meqs.php : add_component($region3_dialect,$log,$index_list,$index_table,'CHLORA');
./ccamp_calc_meqs.php : add_component($region3_dialect,$log,$index_list,$index_table,'ALGA_MATS');
./ccamp_calc_meqs.php : add_component($region3_dialect,$log,$index_list,$index_table,'NNE_DO_DEF');
./ccamp_calc_meqs.php : add_component($region3_dialect,$log,$index_list,$index_table,'NNE_REV_QUAL2K_2');
./ccamp_calc_meqs.php : add_component($region3_dialect,$log,$index_list,$index_table,'DO_PPM_DEP');
./ccamp_calc_meqs.php : add_component($region3_dialect,$log,$index_list,$index_table,'comp_count');
./ccamp_calc_meqs.php : add_component($region3_dialect,$log,$index_list,$index_table,'prod');
./ccamp_calc_meqs.php : $result=Run_Sql($region3_dialect,$sql); if($log_verbose) log_time($sql);
./ccamp_calc_meqs.php : $result=Run_Sql($region3_dialect,$sql); if($log_verbose) log_time($sql);
./ccamp_calc_meqs.php : add_component($region3_dialect,$log,$index_list,$index_table,$index_table);
./ccamp_calc_meqs.php : add_component($region3_dialect,$log,$index_list,$index_table,'TOX_ALGA_G');
./ccamp_calc_meqs.php : add_component($region3_dialect,$log,$index_list,$index_table,'TOX_INV_S_H2O');
./ccamp_calc_meqs.php : add_component($region3_dialect,$log,$index_list,$index_table,'TOX_INV_R_H2O');
./ccamp_calc_meqs.php : add_component($region3_dialect,$log,$index_list,$index_table,'TOX_FISH_S');
./ccamp_calc_meqs.php : add_component($region3_dialect,$log,$index_list,$index_table,'TOX_FISH_G');
./ccamp_calc_meqs.php : add_component($region3_dialect,$log,$index_list,$index_table,'comp_count');
./ccamp_calc_meqs.php : add_component($region3_dialect,$log,$index_list,$index_table,'prod');
./ccamp_calc_meqs.php : $result=Run_Sql($region3_dialect,$sql); if($log_verbose) log_time($sql);
./ccamp_calc_meqs.php : $result=Run_Sql($region3_dialect,$sql); if($log_verbose) log_time($sql);
./ccamp_calc_meqs.php : add_component($region3_dialect,$log,$index_list,$index_table,$index_table);
./ccamp_calc_meqs.php : add_component($region3_dialect,$log,$index_list,$index_table,'TOX_INV_S_SED');
./ccamp_calc_meqs.php : add_component($region3_dialect,$log,$index_list,$index_table,'TOX_INV_R_SED');
./ccamp_calc_meqs.php : add_component($region3_dialect,$log,$index_list,$index_table,'TOX_INV_G_SED');
./ccamp_calc_meqs.php : add_component($region3_dialect,$log,$index_list,$index_table,'TOX_FISH_S');
./ccamp_calc_meqs.php : add_component($region3_dialect,$log,$index_list,$index_table,'TOX_FISH_G');
./ccamp_calc_meqs.php : add_component($region3_dialect,$log,$index_list,$index_table,'comp_count');
./ccamp_calc_meqs.php : add_component($region3_dialect,$log,$index_list,$index_table,'prod');
./ccamp_calc_meqs.php : $result=Run_Sql($region3_dialect,$sql); if($log_verbose) log_time($sql);
./ccamp_calc_meqs.php : $result=Run_Sql($region3_dialect,$sql); if($log_verbose) log_time($sql);
./ccamp_calc_meqs.php : add_component($region3_dialect,$log,$index_list,$index_table,$index_table);
./ccamp_calc_meqs.php : add_component($region3_dialect,$log,$index_list,$index_table,'B_CSCI');
./ccamp_calc_meqs.php : add_component($region3_dialect,$log,$index_list,$index_table,'B_SOCALIBI');
./ccamp_calc_meqs.php : add_component($region3_dialect,$log,$index_list,$index_table,'B_NOCALIBI');
./ccamp_calc_meqs.php : add_component($region3_dialect,$log,$index_list,$index_table,'comp_count');
./ccamp_calc_meqs.php : add_component($region3_dialect,$log,$index_list,$index_table,'prod');
./ccamp_calc_meqs.php : $result=Run_Sql($region3_dialect,$sql); if($log_verbose) log_time($sql);
./ccamp_calc_meqs.php : $result=Run_Sql($region3_dialect,$sql); if($log_verbose) log_time($sql);
./ccamp_calc_meqs.php : add_component($region3_dialect,$log,$index_list,$index_table,$index_table);
./ccamp_calc_meqs.php : add_component($region3_dialect,$log,$index_list,$index_table,'PCT_SAFN');
./ccamp_calc_meqs.php : add_component($region3_dialect,$log,$index_list,$index_table,'XCEMBED');
./ccamp_calc_meqs.php : add_component($region3_dialect,$log,$index_list,$index_table,'XFC_NAT_SWAMP');
./ccamp_calc_meqs.php : add_component($region3_dialect,$log,$index_list,$index_table,'XCMGW');
./ccamp_calc_meqs.php : add_component($region3_dialect,$log,$index_list,$index_table,'comp_count');
./ccamp_calc_meqs.php : add_component($region3_dialect,$log,$index_list,$index_table,'prod');
./ccamp_calc_meqs.php : $result=Run_Sql($region3_dialect,$sql); if($log_verbose) log_time($sql);
./ccamp_calc_meqs.php : $result=Run_Sql($region3_dialect,$sql); if($log_verbose) log_time($sql);
./ccamp_calc_meqs.php : add_component($region3_dialect,$log,$index_list,$index_table,$index_table);
./ccamp_calc_meqs.php : add_component($region3_dialect,$log,$index_list,$index_table,'ALG_50_DO_SCR');
./ccamp_calc_meqs.php : add_component($region3_dialect,$log,$index_list,$index_table,'ALG_CU_SCR');
./ccamp_calc_meqs.php : add_component($region3_dialect,$log,$index_list,$index_table,'ALG_DOC_SCR');
./ccamp_calc_meqs.php : add_component($region3_dialect,$log,$index_list,$index_table,'ALG_HALO_SCR');
./ccamp_calc_meqs.php : add_component($region3_dialect,$log,$index_list,$index_table,'ALG_N_SCR');
./ccamp_calc_meqs.php : add_component($region3_dialect,$log,$index_list,$index_table,'ALG_SED_SCR');
./ccamp_calc_meqs.php : add_component($region3_dialect,$log,$index_list,$index_table,'ALG_TN_SCR');
./ccamp_calc_meqs.php : add_component($region3_dialect,$log,$index_list,$index_table,'ALG_TP_SCR');
./ccamp_calc_meqs.php : add_component($region3_dialect,$log,$index_list,$index_table,'ALG_H2O_MMI');
./ccamp_calc_meqs.php : add_component($region3_dialect,$log,$index_list,$index_table,'comp_count');
./ccamp_calc_meqs.php : add_component($region3_dialect,$log,$index_list,$index_table,'prod');
./ccamp_calc_meqs.php : $result=Run_Sql($region3_dialect,$sql); if($log_verbose) log_time($sql);
./ccamp_calc_meqs.php : $result=Run_Sql($region3_dialect,$sql); if($log_verbose) log_time($sql);
./ccamp_calc_meqs.php : add_component($region3_dialect,$log,$index_list,$index_table,$index_table);
./ccamp_calc_meqs.php : add_component($region3_dialect,$log,$index_list,$index_table,'IDX_SCORE');
./ccamp_calc_meqs.php : add_component($region3_dialect,$log,$index_list,$index_table,'METRIC1_TRC');
./ccamp_calc_meqs.php : add_component($region3_dialect,$log,$index_list,$index_table,'METRIC2_VCS');
./ccamp_calc_meqs.php : add_component($region3_dialect,$log,$index_list,$index_table,'METRIC3_VCQ');
./ccamp_calc_meqs.php : add_component($region3_dialect,$log,$index_list,$index_table,'METRIC4_AGNR');
./ccamp_calc_meqs.php : add_component($region3_dialect,$log,$index_list,$index_table,'METRIC5_RVW');
./ccamp_calc_meqs.php : add_component($region3_dialect,$log,$index_list,$index_table,'METRIC6_RSCVC');
./ccamp_calc_meqs.php : add_component($region3_dialect,$log,$index_list,$index_table,'METRIC7_MHPR');
./ccamp_calc_meqs.php : add_component($region3_dialect,$log,$index_list,$index_table,'METRIC81_HYMOD');
./ccamp_calc_meqs.php : add_component($region3_dialect,$log,$index_list,$index_table,'METRIC8_FINAL');
./ccamp_calc_meqs.php : add_component($region3_dialect,$log,$index_list,$index_table,'METRIC_82_HYMOD');
./ccamp_calc_meqs.php : add_component($region3_dialect,$log,$index_list,$index_table,'comp_count');
./ccamp_calc_meqs.php : add_component($region3_dialect,$log,$index_list,$index_table,'prod');
./ccamp_calc_meqs.php : $result=Run_Sql($region3_dialect,$sql); if($log_verbose) log_time($sql);
./ccamp_calc_meqs.php : $result=Run_Sql($region3_dialect,$sql); if($log_verbose) log_time($sql);
./ccamp_calc_meqs.php : add_component($region3_dialect,$log,$index_list,$index_table,$index_table);
./ccamp_calc_meqs.php : add_component($region3_dialect,$log,$index_list,$index_table,'INDEX_BMI');
./ccamp_calc_meqs.php : add_component($region3_dialect,$log,$index_list,$index_table,'INDEX_ALGAE');
./ccamp_calc_meqs.php : add_component($region3_dialect,$log,$index_list,$index_table,'comp_count');
./ccamp_calc_meqs.php : add_component($region3_dialect,$log,$index_list,$index_table,'prod');
./ccamp_calc_meqs.php : $result=Run_Sql($region3_dialect,$sql); if($log_verbose) log_time($sql);
./ccamp_calc_meqs.php : $result=Run_Sql($region3_dialect,$sql); if($log_verbose) log_time($sql);
./ccamp_calc_meqs.php : add_component($region3_dialect,$log,$index_list,$index_table,$index_table);
./ccamp_calc_meqs.php : add_component($region3_dialect,$log,$index_list,$index_table,'Index_rps');
./ccamp_calc_meqs.php : add_component($region3_dialect,$log,$index_list,$index_table,'Index_303d');
./ccamp_calc_meqs.php : add_component($region3_dialect,$log,$index_list,$index_table,'comp_count');
./ccamp_calc_meqs.php : add_component($region3_dialect,$log,$index_list,$index_table,'prod');
./ccamp_calc_meqs.php : $result=Run_Sql($region3_dialect,$sql); if($log_verbose) log_time($sql);
./ccamp_calc_meqs.php : $result=Run_Sql($region3_dialect,$sql); if($log_verbose) log_time($sql);
./ccamp_calc_meqs.php : add_component($region3_dialect,$log,$index_list,$index_table,$index_table);
./ccamp_calc_meqs.php : add_component($region3_dialect,$log,$index_list,$index_table,'rps_Metric_1');
./ccamp_calc_meqs.php : add_component($region3_dialect,$log,$index_list,$index_table,'rps_Metric_2');
./ccamp_calc_meqs.php : add_component($region3_dialect,$log,$index_list,$index_table,'rps_Metric_3');
./ccamp_calc_meqs.php : add_component($region3_dialect,$log,$index_list,$index_table,'comp_count');
./ccamp_calc_meqs.php : add_component($region3_dialect,$log,$index_list,$index_table,'prod');
./ccamp_calc_meqs.php : $result=Run_Sql($region3_dialect,$sql); if($log_verbose) log_time($sql);
./ccamp_calc_meqs.php : $result=Run_Sql($region3_dialect,$sql); if($log_verbose) log_time($sql);
./ccamp_calc_meqs.php : add_component($region3_dialect,$log,$index_list,$index_table,$index_table);
./ccamp_calc_meqs.php : add_component($region3_dialect,$log,$index_list,$index_table,'303d_Metric_1');
./ccamp_calc_meqs.php : add_component($region3_dialect,$log,$index_list,$index_table,'303d_Metric_2');
./ccamp_calc_meqs.php : add_component($region3_dialect,$log,$index_list,$index_table,'303d_Metric_3');
./ccamp_calc_meqs.php : add_component($region3_dialect,$log,$index_list,$index_table,'comp_count');
./ccamp_calc_meqs.php : add_component($region3_dialect,$log,$index_list,$index_table,'prod');
./ccamp_calc_meqs.php : $result=Run_Sql($region3_dialect,$sql); if($log_verbose) log_time($sql);
./ccamp_calc_meqs.php : $result=Run_Sql($region3_dialect,$sql); if($log_verbose) log_time($sql);
./ccamp_calc_meqs.php : add_component($region3_dialect,$log,$index_list,$index_table,$index_table);
./ccamp_calc_meqs.php : add_component($region3_dialect,$log,$index_list,$index_table,'CRAM_BIOTIC');
./ccamp_calc_meqs.php : add_component($region3_dialect,$log,$index_list,$index_table,'CRAM_BLC');
./ccamp_calc_meqs.php : add_component($region3_dialect,$log,$index_list,$index_table,'CRAM_HYDRO');
./ccamp_calc_meqs.php : add_component($region3_dialect,$log,$index_list,$index_table,'CRAM_PHYS');
./ccamp_calc_meqs.php : add_component($region3_dialect,$log,$index_list,$index_table,'comp_count');
./ccamp_calc_meqs.php : add_component($region3_dialect,$log,$index_list,$index_table,'prod');
./ccamp_calc_meqs.php : $result=Run_Sql($region3_dialect,$sql); if($log_verbose) log_time($sql);
./ccamp_calc_meqs.php : $result=Run_Sql($region3_dialect,$sql); if($log_verbose) log_time($sql);
./ccamp_calc_meqs.php : add_component($region3_dialect,$log,$index_list,$index_table,$index_table);
./ccamp_calc_meqs.php : add_component($region3_dialect,$log,$index_list,$index_table,'INDEX_PHAB');
./ccamp_calc_meqs.php : add_component($region3_dialect,$log,$index_list,$index_table,'INDEX_RIPARIAN');
./ccamp_calc_meqs.php : add_component($region3_dialect,$log,$index_list,$index_table,'INDEX_CRAM');
./ccamp_calc_meqs.php : add_component($region3_dialect,$log,$index_list,$index_table,'comp_count');
./ccamp_calc_meqs.php : add_component($region3_dialect,$log,$index_list,$index_table,'prod');
./ccamp_calc_meqs.php : $result=Run_Sql($region3_dialect,$sql); if($log_verbose) log_time($sql);
./ccamp_calc_meqs.php : $result=Run_Sql($region3_dialect,$sql); if($log_verbose) log_time($sql);
./ccamp_calc_meqs.php : add_component($region3_dialect,$log,$index_list,$index_table,$index_table);
./ccamp_calc_meqs.php : add_component($region3_dialect,$log,$index_list,$index_table,'al_Metric_1');
./ccamp_calc_meqs.php : add_component($region3_dialect,$log,$index_list,$index_table,'al_Metric_2');
./ccamp_calc_meqs.php : add_component($region3_dialect,$log,$index_list,$index_table,'al_Metric_3');
./ccamp_calc_meqs.php : add_component($region3_dialect,$log,$index_list,$index_table,'comp_count');
./ccamp_calc_meqs.php : add_component($region3_dialect,$log,$index_list,$index_table,'prod');
./ccamp_calc_meqs.php : $result=Run_Sql($region3_dialect,$sql); if($log_verbose) log_time($sql);
./ccamp_calc_meqs.php : $result=Run_Sql($region3_dialect,$sql); if($log_verbose) log_time($sql);
./ccamp_calc_meqs.php : add_component($region3_dialect,$log,$index_list,$index_table,$index_table);
./ccamp_calc_meqs.php : add_component($region3_dialect,$log,$index_list,$index_table,'hh_Metric_1');
./ccamp_calc_meqs.php : add_component($region3_dialect,$log,$index_list,$index_table,'hh_Metric_2');
./ccamp_calc_meqs.php : add_component($region3_dialect,$log,$index_list,$index_table,'hh_Metric_3');
./ccamp_calc_meqs.php : add_component($region3_dialect,$log,$index_list,$index_table,'comp_count');
./ccamp_calc_meqs.php : add_component($region3_dialect,$log,$index_list,$index_table,'prod');
./ccamp_calc_meqs.php : $result=Run_Sql($region3_dialect,$sql); if($log_verbose) log_time($sql);
./ccamp_calc_meqs.php : $result=Run_Sql($region3_dialect,$sql); if($log_verbose) log_time($sql);
./ccamp_calc_meqs.php : add_component($region3_dialect,$log,$index_list,$index_table,$index_table);
./ccamp_calc_meqs.php : add_component($region3_dialect,$log,$index_list,$index_table,'wl_Metric_1');
./ccamp_calc_meqs.php : add_component($region3_dialect,$log,$index_list,$index_table,'wl_Metric_2');
./ccamp_calc_meqs.php : add_component($region3_dialect,$log,$index_list,$index_table,'wl_Metric_3');
./ccamp_calc_meqs.php : add_component($region3_dialect,$log,$index_list,$index_table,'comp_count');
./ccamp_calc_meqs.php : add_component($region3_dialect,$log,$index_list,$index_table,'prod');
./ccamp_calc_meqs.php : $result=Run_Sql($region3_dialect,$sql); if($log_verbose) log_time($sql);
./ccamp_calc_meqs.php : $result=Run_Sql($region3_dialect,$sql); if($log_verbose) log_time($sql);
./ccamp_calc_meqs.php : add_component($region3_dialect,$log,$index_list,$index_table,$index_table);
./ccamp_calc_meqs.php : add_component($region3_dialect,$log,$index_list,$index_table,'lu_Metric_1');
./ccamp_calc_meqs.php : add_component($region3_dialect,$log,$index_list,$index_table,'lu_Metric_2');
./ccamp_calc_meqs.php : add_component($region3_dialect,$log,$index_list,$index_table,'lu_Metric_3');
./ccamp_calc_meqs.php : add_component($region3_dialect,$log,$index_list,$index_table,'comp_count');
./ccamp_calc_meqs.php : add_component($region3_dialect,$log,$index_list,$index_table,'prod');
./ccamp_calc_meqs.php : $result=Run_Sql($region3_dialect,$sql); if($log_verbose) log_time($sql);
./ccamp_calc_meqs.php : $result=Run_Sql($region3_dialect,$sql); if($log_verbose) log_time($sql);
./ccamp_calc_meqs.php : add_component($region3_dialect,$log,$index_list,$index_table,$index_table);
./ccamp_calc_meqs.php : add_component($region3_dialect,$log,$index_list,$index_table,'pur_Metric_1');
./ccamp_calc_meqs.php : add_component($region3_dialect,$log,$index_list,$index_table,'pur_Metric_2');
./ccamp_calc_meqs.php : add_component($region3_dialect,$log,$index_list,$index_table,'pur_Metric_3');
./ccamp_calc_meqs.php : add_component($region3_dialect,$log,$index_list,$index_table,'comp_count');
./ccamp_calc_meqs.php : add_component($region3_dialect,$log,$index_list,$index_table,'prod');
./ccamp_calc_meqs.php : $result=Run_Sql($region3_dialect,$sql); if($log_verbose) log_time($sql);
./ccamp_calc_meqs.php : $result=Run_Sql($region3_dialect,$sql); if($log_verbose) log_time($sql);
./ccamp_calc_meqs.php : add_component($region3_dialect,$log,$index_list,$index_table,$index_table);
./ccamp_calc_meqs.php : add_component($region3_dialect,$log,$index_list,$index_table,'NO3NO2_N');
./ccamp_calc_meqs.php : add_component($region3_dialect,$log,$index_list,$index_table,'NO3_N');
./ccamp_calc_meqs.php : add_component($region3_dialect,$log,$index_list,$index_table,'NO2_N');
./ccamp_calc_meqs.php : add_component($region3_dialect,$log,$index_list,$index_table,'NH3_N');
./ccamp_calc_meqs.php : add_component($region3_dialect,$log,$index_list,$index_table,'comp_count');
./ccamp_calc_meqs.php : add_component($region3_dialect,$log,$index_list,$index_table,'prod');
./ccamp_calc_meqs.php : $result=Run_Sql($region3_dialect,$sql); if($log_verbose) log_time($sql);
./ccamp_calc_meqs.php : $result=Run_Sql($region3_dialect,$sql); if($log_verbose) log_time($sql);
./ccamp_calc_meqs.php : add_component($region3_dialect,$log,$index_list,$index_table,$index_table);
./ccamp_calc_meqs.php : add_component($region3_dialect,$log,$index_list,$index_table,'TDS');
./ccamp_calc_meqs.php : add_component($region3_dialect,$log,$index_list,$index_table,'BORON_DIS');
./ccamp_calc_meqs.php : add_component($region3_dialect,$log,$index_list,$index_table,'CHLORIDE');
./ccamp_calc_meqs.php : add_component($region3_dialect,$log,$index_list,$index_table,'SODIUM');
./ccamp_calc_meqs.php : add_component($region3_dialect,$log,$index_list,$index_table,'comp_count');
./ccamp_calc_meqs.php : add_component($region3_dialect,$log,$index_list,$index_table,'prod');
./ccamp_calc_meqs.php : $result=Run_Sql($region3_dialect,$sql); if($log_verbose) log_time($sql);
./ccamp_calc_meqs.php : $result=Run_Sql($region3_dialect,$sql); if($log_verbose) log_time($sql);
./ccamp_calc_meqs.php : add_component($region3_dialect,$log,$index_list,$index_table,$index_table);
./ccamp_calc_meqs.php : add_component($region3_dialect,$log,$index_list,$index_table,'ECOLI');
./ccamp_calc_meqs.php : add_component($region3_dialect,$log,$index_list,$index_table,'FCOLI');
./ccamp_calc_meqs.php : add_component($region3_dialect,$log,$index_list,$index_table,'ENTERO');
./ccamp_calc_meqs.php : add_component($region3_dialect,$log,$index_list,$index_table,'comp_count');
./ccamp_calc_meqs.php : add_component($region3_dialect,$log,$index_list,$index_table,'prod');
./ccamp_calc_meqs.php : $result=Run_Sql($region3_dialect,$sql); if($log_verbose) log_time($sql);
./ccamp_calc_meqs.php : $result=Run_Sql($region3_dialect,$sql); if($log_verbose) log_time($sql);
./ccamp_calc_meqs.php : add_component($region3_dialect,$log,$index_list,$index_table,$index_table);
./ccamp_calc_meqs.php : add_component($region3_dialect,$log,$index_list,$index_table,'ANTH');
./ccamp_calc_meqs.php : add_component($region3_dialect,$log,$index_list,$index_table,'ANTHAH');
./ccamp_calc_meqs.php : add_component($region3_dialect,$log,$index_list,$index_table,'BIPHEN');
./ccamp_calc_meqs.php : add_component($region3_dialect,$log,$index_list,$index_table,'CHRYSN');
./ccamp_calc_meqs.php : add_component($region3_dialect,$log,$index_list,$index_table,'CHRYSNC1');
./ccamp_calc_meqs.php : add_component($region3_dialect,$log,$index_list,$index_table,'CHRYSNC2');
./ccamp_calc_meqs.php : add_component($region3_dialect,$log,$index_list,$index_table,'CHRYSNC3');
./ccamp_calc_meqs.php : add_component($region3_dialect,$log,$index_list,$index_table,'DBTHIO');
./ccamp_calc_meqs.php : add_component($region3_dialect,$log,$index_list,$index_table,'FLRA');
./ccamp_calc_meqs.php : add_component($region3_dialect,$log,$index_list,$index_table,'FLRABB');
./ccamp_calc_meqs.php : add_component($region3_dialect,$log,$index_list,$index_table,'FLUORE');
./ccamp_calc_meqs.php : add_component($region3_dialect,$log,$index_list,$index_table,'FLUOREC1');
./ccamp_calc_meqs.php : add_component($region3_dialect,$log,$index_list,$index_table,'FLUOREC2');
./ccamp_calc_meqs.php : add_component($region3_dialect,$log,$index_list,$index_table,'FLUOREC3');
./ccamp_calc_meqs.php : add_component($region3_dialect,$log,$index_list,$index_table,'NAP');
./ccamp_calc_meqs.php : add_component($region3_dialect,$log,$index_list,$index_table,'NAP1');
./ccamp_calc_meqs.php : add_component($region3_dialect,$log,$index_list,$index_table,'NAPHEN');
./ccamp_calc_meqs.php : add_component($region3_dialect,$log,$index_list,$index_table,'PERY');
./ccamp_calc_meqs.php : add_component($region3_dialect,$log,$index_list,$index_table,'PERYGH');
./ccamp_calc_meqs.php : add_component($region3_dialect,$log,$index_list,$index_table,'PHENA');
./ccamp_calc_meqs.php : add_component($region3_dialect,$log,$index_list,$index_table,'PHENA1');
./ccamp_calc_meqs.php : add_component($region3_dialect,$log,$index_list,$index_table,'PYRE');
./ccamp_calc_meqs.php : add_component($region3_dialect,$log,$index_list,$index_table,'PYREBA');
./ccamp_calc_meqs.php : add_component($region3_dialect,$log,$index_list,$index_table,'PYREBE');
./ccamp_calc_meqs.php : add_component($region3_dialect,$log,$index_list,$index_table,'PYREIN');
./ccamp_calc_meqs.php : add_component($region3_dialect,$log,$index_list,$index_table,'TPAH');
./ccamp_calc_meqs.php : add_component($region3_dialect,$log,$index_list,$index_table,'comp_count');
./ccamp_calc_meqs.php : add_component($region3_dialect,$log,$index_list,$index_table,'prod');
./ccamp_calc_meqs.php : $result=Run_Sql($region3_dialect,$sql); if($log_verbose) log_time($sql);
./ccamp_calc_meqs.php : $result=Run_Sql($region3_dialect,$sql); if($log_verbose) log_time($sql);
./ccamp_calc_meqs.php : add_component($region3_dialect,$log,$index_list,$index_table,$index_table);
./ccamp_calc_meqs.php : add_component($region3_dialect,$log,$index_list,$index_table,'ANTH');
./ccamp_calc_meqs.php : add_component($region3_dialect,$log,$index_list,$index_table,'ANTHAH');
./ccamp_calc_meqs.php : add_component($region3_dialect,$log,$index_list,$index_table,'BIPHEN');
./ccamp_calc_meqs.php : add_component($region3_dialect,$log,$index_list,$index_table,'CHRYSN');
./ccamp_calc_meqs.php : add_component($region3_dialect,$log,$index_list,$index_table,'CHRYSNC1');
./ccamp_calc_meqs.php : add_component($region3_dialect,$log,$index_list,$index_table,'CHRYSNC2');
./ccamp_calc_meqs.php : add_component($region3_dialect,$log,$index_list,$index_table,'CHRYSNC3');
./ccamp_calc_meqs.php : add_component($region3_dialect,$log,$index_list,$index_table,'DBTHIO');
./ccamp_calc_meqs.php : add_component($region3_dialect,$log,$index_list,$index_table,'FLRA');
./ccamp_calc_meqs.php : add_component($region3_dialect,$log,$index_list,$index_table,'FLRABB');
./ccamp_calc_meqs.php : add_component($region3_dialect,$log,$index_list,$index_table,'FLUORE');
./ccamp_calc_meqs.php : add_component($region3_dialect,$log,$index_list,$index_table,'FLUOREC1');
./ccamp_calc_meqs.php : add_component($region3_dialect,$log,$index_list,$index_table,'FLUOREC2');
./ccamp_calc_meqs.php : add_component($region3_dialect,$log,$index_list,$index_table,'FLUOREC3');
./ccamp_calc_meqs.php : add_component($region3_dialect,$log,$index_list,$index_table,'NAP');
./ccamp_calc_meqs.php : add_component($region3_dialect,$log,$index_list,$index_table,'NAP1');
./ccamp_calc_meqs.php : add_component($region3_dialect,$log,$index_list,$index_table,'NAPHEN');
./ccamp_calc_meqs.php : add_component($region3_dialect,$log,$index_list,$index_table,'PERY');
./ccamp_calc_meqs.php : add_component($region3_dialect,$log,$index_list,$index_table,'PERYGH');
./ccamp_calc_meqs.php : add_component($region3_dialect,$log,$index_list,$index_table,'PHENA');
./ccamp_calc_meqs.php : add_component($region3_dialect,$log,$index_list,$index_table,'PHENA1');
./ccamp_calc_meqs.php : add_component($region3_dialect,$log,$index_list,$index_table,'PYRE');
./ccamp_calc_meqs.php : add_component($region3_dialect,$log,$index_list,$index_table,'PYREBA');
./ccamp_calc_meqs.php : add_component($region3_dialect,$log,$index_list,$index_table,'PYREBE');
./ccamp_calc_meqs.php : add_component($region3_dialect,$log,$index_list,$index_table,'PYREIN');
./ccamp_calc_meqs.php : add_component($region3_dialect,$log,$index_list,$index_table,'TPAH');
./ccamp_calc_meqs.php : add_component($region3_dialect,$log,$index_list,$index_table,'comp_count');
./ccamp_calc_meqs.php : add_component($region3_dialect,$log,$index_list,$index_table,'prod');
./ccamp_calc_meqs.php : $result=Run_Sql($region3_dialect,$sql); if($log_verbose) log_time($sql);
./ccamp_calc_meqs.php : $result=Run_Sql($region3_dialect,$sql); if($log_verbose) log_time($sql);
./ccamp_calc_meqs.php : add_component($region3_dialect,$log,$index_list,$index_table,$index_table);
./ccamp_calc_meqs.php : add_component($region3_dialect,$log,$index_list,$index_table,'ANTH');
./ccamp_calc_meqs.php : add_component($region3_dialect,$log,$index_list,$index_table,'ANTHAH');
./ccamp_calc_meqs.php : add_component($region3_dialect,$log,$index_list,$index_table,'BIPHEN');
./ccamp_calc_meqs.php : add_component($region3_dialect,$log,$index_list,$index_table,'CHRYSN');
./ccamp_calc_meqs.php : add_component($region3_dialect,$log,$index_list,$index_table,'CHRYSNC1');
./ccamp_calc_meqs.php : add_component($region3_dialect,$log,$index_list,$index_table,'CHRYSNC2');
./ccamp_calc_meqs.php : add_component($region3_dialect,$log,$index_list,$index_table,'CHRYSNC3');
./ccamp_calc_meqs.php : add_component($region3_dialect,$log,$index_list,$index_table,'DBTHIO');
./ccamp_calc_meqs.php : add_component($region3_dialect,$log,$index_list,$index_table,'FLRA');
./ccamp_calc_meqs.php : add_component($region3_dialect,$log,$index_list,$index_table,'FLRABB');
./ccamp_calc_meqs.php : add_component($region3_dialect,$log,$index_list,$index_table,'FLUORE');
./ccamp_calc_meqs.php : add_component($region3_dialect,$log,$index_list,$index_table,'FLUOREC1');
./ccamp_calc_meqs.php : add_component($region3_dialect,$log,$index_list,$index_table,'FLUOREC2');
./ccamp_calc_meqs.php : add_component($region3_dialect,$log,$index_list,$index_table,'FLUOREC3');
./ccamp_calc_meqs.php : add_component($region3_dialect,$log,$index_list,$index_table,'NAP');
./ccamp_calc_meqs.php : add_component($region3_dialect,$log,$index_list,$index_table,'NAP1');
./ccamp_calc_meqs.php : add_component($region3_dialect,$log,$index_list,$index_table,'NAPHEN');
./ccamp_calc_meqs.php : add_component($region3_dialect,$log,$index_list,$index_table,'PERY');
./ccamp_calc_meqs.php : add_component($region3_dialect,$log,$index_list,$index_table,'PERYGH');
./ccamp_calc_meqs.php : add_component($region3_dialect,$log,$index_list,$index_table,'PHENA');
./ccamp_calc_meqs.php : add_component($region3_dialect,$log,$index_list,$index_table,'PHENA1');
./ccamp_calc_meqs.php : add_component($region3_dialect,$log,$index_list,$index_table,'PYRE');
./ccamp_calc_meqs.php : add_component($region3_dialect,$log,$index_list,$index_table,'PYREBA');
./ccamp_calc_meqs.php : add_component($region3_dialect,$log,$index_list,$index_table,'PYREBE');
./ccamp_calc_meqs.php : add_component($region3_dialect,$log,$index_list,$index_table,'PYREIN');
./ccamp_calc_meqs.php : add_component($region3_dialect,$log,$index_list,$index_table,'TPAH');
./ccamp_calc_meqs.php : add_component($region3_dialect,$log,$index_list,$index_table,'comp_count');
./ccamp_calc_meqs.php : add_component($region3_dialect,$log,$index_list,$index_table,'prod');
./ccamp_calc_meqs.php : $result=Run_Sql($region3_dialect,$sql); if($log_verbose) log_time($sql);
./ccamp_calc_meqs.php : $result=Run_Sql($region3_dialect,$sql); if($log_verbose) log_time($sql);
./ccamp_calc_meqs.php : add_component($region3_dialect,$log,$index_list,$index_table,$index_table);
./ccamp_calc_meqs.php : $resultx=Run_Sql($region3_dialect,$sql); #log_time($sql);
./ccamp_calc_meqs.php : while ($datax=sql_fetch_assoc($region3_dialect,$resultx)){
./ccamp_calc_meqs.php : add_component($region3_dialect,$log,$index_list,$index_table,$ccampidx);
./ccamp_calc_meqs.php : add_component($region3_dialect,$log,$index_list,$index_table,'comp_count');
./ccamp_calc_meqs.php : add_component($region3_dialect,$log,$index_list,$index_table,'prod');
./ccamp_calc_meqs.php : $result=Run_Sql($region3_dialect,$sql); if($log_verbose) log_time($sql);
./ccamp_calc_meqs.php : $result=Run_Sql($region3_dialect,$sql); if($log_verbose) log_time($sql);
./ccamp_calc_meqs.php : add_component($region3_dialect,$log,$index_list,$index_table,$index_table);
./ccamp_calc_meqs.php : $resultx=Run_Sql($region3_dialect,$sql); #log_time($sql);
./ccamp_calc_meqs.php : while ($datax=sql_fetch_assoc($region3_dialect,$resultx)){
./ccamp_calc_meqs.php : add_component($region3_dialect,$log,$index_list,$index_table,$ccampidx);
./ccamp_calc_meqs.php : add_component($region3_dialect,$log,$index_list,$index_table,'comp_count');
./ccamp_calc_meqs.php : add_component($region3_dialect,$log,$index_list,$index_table,'prod');
./ccamp_calc_meqs.php : $result=Run_Sql($region3_dialect,$sql); if($log_verbose) log_time($sql);
./ccamp_calc_meqs.php : $result=Run_Sql($region3_dialect,$sql); if($log_verbose) log_time($sql);
./ccamp_calc_meqs.php : add_component($region3_dialect,$log,$index_list,$index_table,$index_table);
./ccamp_calc_meqs.php : $resultx=Run_Sql($region3_dialect,$sql); #log_time($sql);
./ccamp_calc_meqs.php : while ($datax=sql_fetch_assoc($region3_dialect,$resultx)){
./ccamp_calc_meqs.php : add_component($region3_dialect,$log,$index_list,$index_table,$ccampidx);
./ccamp_calc_meqs.php : add_component($region3_dialect,$log,$index_list,$index_table,'comp_count');
./ccamp_calc_meqs.php : add_component($region3_dialect,$log,$index_list,$index_table,'prod');
./ccamp_calc_meqs.php : $result=Run_Sql($region3_dialect,$sql); if($log_verbose) log_time($sql);
./ccamp_calc_meqs.php : $result=Run_Sql($region3_dialect,$sql); if($log_verbose) log_time($sql);
./ccamp_calc_meqs.php : add_component($region3_dialect,$log,$index_list,$index_table,$index_table);
./ccamp_calc_meqs.php : add_component($region3_dialect,$log,$index_list,$index_table,'NO3NO2_N');
./ccamp_calc_meqs.php : add_component($region3_dialect,$log,$index_list,$index_table,'NO3_N');
./ccamp_calc_meqs.php : add_component($region3_dialect,$log,$index_list,$index_table,'NO2_N');
./ccamp_calc_meqs.php : add_component($region3_dialect,$log,$index_list,$index_table,'NH3_N');
./ccamp_calc_meqs.php : add_component($region3_dialect,$log,$index_list,$index_table,'comp_count');
./ccamp_calc_meqs.php : add_component($region3_dialect,$log,$index_list,$index_table,'prod');
./ccamp_calc_meqs.php : $result=Run_Sql($region3_dialect,$sql); if($log_verbose) log_time($sql);
./ccamp_calc_meqs.php : $result=Run_Sql($region3_dialect,$sql); if($log_verbose) log_time($sql);
./ccamp_calc_meqs.php : add_component($region3_dialect,$log,$index_list,$index_table,$index_table);
./ccamp_calc_meqs.php : add_component($region3_dialect,$log,$index_list,$index_table,'NO3_N');
./ccamp_calc_meqs.php : add_component($region3_dialect,$log,$index_list,$index_table,'N_N');
./ccamp_calc_meqs.php : add_component($region3_dialect,$log,$index_list,$index_table,'P_P');
./ccamp_calc_meqs.php : add_component($region3_dialect,$log,$index_list,$index_table,'Index_Toxicity_Sed');
./ccamp_calc_meqs.php : add_component($region3_dialect,$log,$index_list,$index_table,'Index_Met_Aquatic_Life_Sed');
./ccamp_calc_meqs.php : add_component($region3_dialect,$log,$index_list,$index_table,'Index_Org_Aquatic_Life_Sed');
./ccamp_calc_meqs.php : add_component($region3_dialect,$log,$index_list,$index_table,'Index_Pah_Aquatic_Life_Sed');
./ccamp_calc_meqs.php : add_component($region3_dialect,$log,$index_list,$index_table,'comp_count');
./ccamp_calc_meqs.php : add_component($region3_dialect,$log,$index_list,$index_table,'prod');
./ccamp_calc_meqs.php : $result=Run_Sql($region3_dialect,$sql); if($log_verbose) log_time($sql);
./ccamp_calc_meqs.php : $result=Run_Sql($region3_dialect,$sql); if($log_verbose) log_time($sql);
./ccamp_calc_meqs.php : add_component($region3_dialect,$log,$index_list,$index_table,$index_table);
./ccamp_calc_meqs.php : add_component($region3_dialect,$log,$index_list,$index_table,'NH3_N');
./ccamp_calc_meqs.php : add_component($region3_dialect,$log,$index_list,$index_table,'NO3NO2_N');
./ccamp_calc_meqs.php : add_component($region3_dialect,$log,$index_list,$index_table,'ECOLI');
./ccamp_calc_meqs.php : add_component($region3_dialect,$log,$index_list,$index_table,'FCOLI');
./ccamp_calc_meqs.php : add_component($region3_dialect,$log,$index_list,$index_table,'Index_Org_Aquatic_Life_H2o');
./ccamp_calc_meqs.php : add_component($region3_dialect,$log,$index_list,$index_table,'Index_Pah_Aquatic_Life_H2o');
./ccamp_calc_meqs.php : add_component($region3_dialect,$log,$index_list,$index_table,'comp_count');
./ccamp_calc_meqs.php : add_component($region3_dialect,$log,$index_list,$index_table,'prod');
./ccamp_calc_meqs.php : $result=Run_Sql($region3_dialect,$sql); if($log_verbose) log_time($sql);
./ccamp_calc_meqs.php : $result=Run_Sql($region3_dialect,$sql); if($log_verbose) log_time($sql);
./ccamp_calc_meqs.php : add_component($region3_dialect,$log,$index_list,$index_table,$index_table);
./ccamp_calc_meqs.php : add_component($region3_dialect,$log,$index_list,$index_table,'Index_WQ_Aquatic_Life');
./ccamp_calc_meqs.php : add_component($region3_dialect,$log,$index_list,$index_table,'Index_Biostim_Risk');
./ccamp_calc_meqs.php : add_component($region3_dialect,$log,$index_list,$index_table,'Index_BMI');
./ccamp_calc_meqs.php : add_component($region3_dialect,$log,$index_list,$index_table,'Index_Toxicity_H2o');
./ccamp_calc_meqs.php : add_component($region3_dialect,$log,$index_list,$index_table,'Index_Toxicity_Sed');
./ccamp_calc_meqs.php : add_component($region3_dialect,$log,$index_list,$index_table,'Index_Met_Aquatic_Life_H2o');
./ccamp_calc_meqs.php : add_component($region3_dialect,$log,$index_list,$index_table,'Index_Org_Aquatic_Life_H2o');
./ccamp_calc_meqs.php : add_component($region3_dialect,$log,$index_list,$index_table,'Index_Pah_Aquatic_Life_H2o');
./ccamp_calc_meqs.php : add_component($region3_dialect,$log,$index_list,$index_table,'Index_Met_Aquatic_Life_Sed');
./ccamp_calc_meqs.php : add_component($region3_dialect,$log,$index_list,$index_table,'Index_Org_Aquatic_Life_Sed');
./ccamp_calc_meqs.php : add_component($region3_dialect,$log,$index_list,$index_table,'Index_Pah_Aquatic_Life_Sed');
./ccamp_calc_meqs.php : add_component($region3_dialect,$log,$index_list,$index_table,'comp_count');
./ccamp_calc_meqs.php : add_component($region3_dialect,$log,$index_list,$index_table,'prod');
./ccamp_calc_meqs.php : $result=Run_Sql($region3_dialect,$sql); if($log_verbose) log_time($sql);
./ccamp_calc_meqs.php : function add_component($region3_dialect,$log,$index_list,$index_table,$component)
./ccamp_calc_meqs.php : $result=Run_Sql($region3_dialect,$sql); #log_time($sql);
./ccamp_calc_meqs.php : $result=Run_Sql($region3_dialect,$sql); #log_time($sql);
./ccamp_calc_meqs.php : $result=Run_Sql($region3_dialect,$sql); if($log_verbose) log_time($sql);
./ccamp_calc_meqs.php : function add_component_2_site_wqi($region3_dialect,$log,$index_table,$component)
./ccamp_calc_meqs.php : $result=Run_Sql($region3_dialect,$sql); if($log_verbose) log_time($sql);
./ccamp_calc_meqs.php : $result=Run_Sql($region3_dialect,$sql); if($log_verbose) log_time($sql);
./ccamp_calc_meqs.php : function xwalkunits($region3_dialect){
./ccamp_calc_meqs.php : $result=Run_Sql($region3_dialect,$sql);
./ccamp_calc_meqs.php : while ($data=sql_fetch_assoc($region3_dialect,$result))
./ccamp_calc_meqs.php : $result1=Run_Sql($region3_dialect,$sql);
./ccamp_calc_meqs.php : $data1=sql_fetch_assoc($region3_dialect,$result1);
./ccamp_calc_meqs.php : $result2=Run_Sql($region3_dialect,$sql);
./ccamp_calc_meqs.php : function add_dex_2_dex($region3_dialect,$log,$log_verbose,$org_id,$index_table,$src_index){
./ccamp_calc_meqs.php : $result=Run_Sql($region3_dialect,$sql); if($log_verbose) log_time($sql);
./ccamp_calc_meqs.php : $result=Run_Sql($region3_dialect,$sql); if($log_verbose) log_time($sql);
./ccamp_calc_meqs.php : $result=Run_Sql($region3_dialect,$sql); if($log_verbose) log_time($sql);
./ccamp_calc_meqs.php : $result=Run_Sql($region3_dialect,$sql); if($log_verbose) log_time($sql);
./ccamp_calc_meqs.php : function put_rule_value($region3_dialect,$log,$index,$ccampid,$score,$site_tag){
./ccamp_calc_meqs.php : $result=Run_Sql($region3_dialect,$sql);
./ccamp_calc_meqs.php : $result=Run_Sql($region3_dialect,$sql);
./ccamp_calc_meqs.php : $result=Run_Sql($region3_dialect,$sql);
./ccamp_calc_meqs.php : function aggregate_indices($region3_dialect,$log,$log_verbose,$wqa_table){
./ccamp_calc_meqs.php : $index='Index_WQ_Aquatic_Life'; aggregate_index($region3_dialect,$log,$log_verbose,$wqa_table,$index);
./ccamp_calc_meqs.php : $index='Index_WQ_Human_Health'; aggregate_index($region3_dialect,$log,$log_verbose,$wqa_table,$index);
./ccamp_calc_meqs.php : $index='Index_Biostim_Risk'; aggregate_index($region3_dialect,$log,$log_verbose,$wqa_table,$index);
./ccamp_calc_meqs.php : $index='Index_BMI'; aggregate_index($region3_dialect,$log,$log_verbose,$wqa_table,$index);
./ccamp_calc_meqs.php : $index='Index_Habitat'; aggregate_index($region3_dialect,$log,$log_verbose,$wqa_table,$index);
./ccamp_calc_meqs.php : $index='Index_phab'; aggregate_index($region3_dialect,$log,$log_verbose,$wqa_table,$index);
./ccamp_calc_meqs.php : $index='Index_algae'; aggregate_index($region3_dialect,$log,$log_verbose,$wqa_table,$index);
./ccamp_calc_meqs.php : $index='Index_Riparian'; aggregate_index($region3_dialect,$log,$log_verbose,$wqa_table,$index);
./ccamp_calc_meqs.php : $index='Index_Salts_Human_Health'; aggregate_index($region3_dialect,$log,$log_verbose,$wqa_table,$index);
./ccamp_calc_meqs.php : $index='Index_Pathogens'; aggregate_index($region3_dialect,$log,$log_verbose,$wqa_table,$index);
./ccamp_calc_meqs.php : $index='Index_Toxicity_H2o'; aggregate_index($region3_dialect,$log,$log_verbose,$wqa_table,$index);
./ccamp_calc_meqs.php : $index='Index_Met_Aquatic_Life_H2o'; aggregate_index($region3_dialect,$log,$log_verbose,$wqa_table,$index);
./ccamp_calc_meqs.php : $index='Index_Org_Aquatic_Life_H2o'; aggregate_index($region3_dialect,$log,$log_verbose,$wqa_table,$index);
./ccamp_calc_meqs.php : $index='Index_Pah_Aquatic_Life_H2o'; aggregate_index($region3_dialect,$log,$log_verbose,$wqa_table,$index);
./ccamp_calc_meqs.php : $index='Index_Toxicity_Sed'; aggregate_index($region3_dialect,$log,$log_verbose,$wqa_table,$index);
./ccamp_calc_meqs.php : $index='Index_Met_Aquatic_Life_Sed'; aggregate_index($region3_dialect,$log,$log_verbose,$wqa_table,$index);
./ccamp_calc_meqs.php : $index='Index_Org_Aquatic_Life_Sed'; aggregate_index($region3_dialect,$log,$log_verbose,$wqa_table,$index);
./ccamp_calc_meqs.php : $index='Index_Pah_Aquatic_Life_Sed'; aggregate_index($region3_dialect,$log,$log_verbose,$wqa_table,$index);
./ccamp_calc_meqs.php : $index='Index_Met_Human_Health'; aggregate_index($region3_dialect,$log,$log_verbose,$wqa_table,$index);
./ccamp_calc_meqs.php : $index='Index_Org_Human_Health'; aggregate_index($region3_dialect,$log,$log_verbose,$wqa_table,$index);
./ccamp_calc_meqs.php : $index='Index_Pah_Human_Health'; aggregate_index($region3_dialect,$log,$log_verbose,$wqa_table,$index);
./ccamp_calc_meqs.php : function aggregate_index($region3_dialect,$log,$log_verbose,$wqa_table,$index){
./ccamp_calc_meqs.php : $result=Run_Sql($region3_dialect,$sql); if($log_verbose) log_time($sql);
./ccamp_calc_meqs.php : while ($data=sql_fetch_assoc($region3_dialect,$result)){
./ccamp_calc_meqs.php : $res1=Run_Sql($region3_dialect,$sql);
./ccamp_calc_meqs.php : function aggregate_wqis($region3_dialect,$log,$log_verbose,$org_id,$index_wqi_table,$time_id){
./ccamp_calc_meqs.php : $result=Run_Sql($region3_dialect,$sql); if($log_verbose) log_time($sql);
./ccamp_calc_meqs.php : $result=Run_Sql($region3_dialect,$sql); if($log_verbose) log_time($sql);
./ccamp_calc_meqs.php : $result=Run_Sql($region3_dialect,$sql); if($log_verbose) log_time($sql);
./ccamp_calc_meqs.php : $index_table="Index_WQ_Aquatic_Life"; aggregate_wqi($region3_dialect,$log,$log_verbose,$org_id,$index,$index_table,$index_wqi_table,$time_id);
./ccamp_calc_meqs.php : $index_table="Index_Biostim_Risk"; aggregate_wqi($region3_dialect,$log,$log_verbose,$org_id,$index,$index_table,$index_wqi_table,$time_id);
./ccamp_calc_meqs.php : $index_table="Index_BMI"; aggregate_wqi($region3_dialect,$log,$log_verbose,$org_id,$index,$index_table,$index_wqi_table,$time_id);
./ccamp_calc_meqs.php : $index_table="Index_algae"; aggregate_wqi($region3_dialect,$log,$log_verbose,$org_id,$index,$index_table,$index_wqi_table,$time_id);
./ccamp_calc_meqs.php : $index_table="Index_Toxicity_H2o"; aggregate_wqi($region3_dialect,$log,$log_verbose,$org_id,$index,$index_table,$index_wqi_table,$time_id);
./ccamp_calc_meqs.php : $index_table="Index_Toxicity_Sed"; aggregate_wqi($region3_dialect,$log,$log_verbose,$org_id,$index,$index_table,$index_wqi_table,$time_id);
./ccamp_calc_meqs.php : $index_table="Index_Met_Aquatic_Life_H2o"; aggregate_wqi($region3_dialect,$log,$log_verbose,$org_id,$index,$index_table,$index_wqi_table,$time_id);
./ccamp_calc_meqs.php : $index_table="Index_Met_Aquatic_Life_Sed"; aggregate_wqi($region3_dialect,$log,$log_verbose,$org_id,$index,$index_table,$index_wqi_table,$time_id);
./ccamp_calc_meqs.php : $index_table="Index_Org_Aquatic_Life_H2o"; aggregate_wqi($region3_dialect,$log,$log_verbose,$org_id,$index,$index_table,$index_wqi_table,$time_id);
./ccamp_calc_meqs.php : $index_table="Index_Org_Aquatic_Life_Sed"; aggregate_wqi($region3_dialect,$log,$log_verbose,$org_id,$index,$index_table,$index_wqi_table,$time_id);
./ccamp_calc_meqs.php : $index_table="Index_Riparian"; aggregate_wqi($region3_dialect,$log,$log_verbose,$org_id,$index,$index_table,$index_wqi_table,$time_id);
./ccamp_calc_meqs.php : $index_table="Index_Habitat"; aggregate_wqi($region3_dialect,$log,$log_verbose,$org_id,$index,$index_table,$index_wqi_table,$time_id);
./ccamp_calc_meqs.php : $index_table="Index_phab"; aggregate_wqi($region3_dialect,$log,$log_verbose,$org_id,$index,$index_table,$index_wqi_table,$time_id);
./ccamp_calc_meqs.php : $index_table="Index_Pah_Aquatic_Life_H2o"; aggregate_wqi($region3_dialect,$log,$log_verbose,$org_id,$index,$index_table,$index_wqi_table,$time_id);
./ccamp_calc_meqs.php : $index_table="Index_Pah_Aquatic_Life_Sed"; aggregate_wqi($region3_dialect,$log,$log_verbose,$org_id,$index,$index_table,$index_wqi_table,$time_id);
./ccamp_calc_meqs.php : $index_table="Index_WQ_Human_Health"; aggregate_wqi($region3_dialect,$log,$log_verbose,$org_id,$index,$index_table,$index_wqi_table,$time_id);
./ccamp_calc_meqs.php : $index_table="Index_Pathogens"; aggregate_wqi($region3_dialect,$log,$log_verbose,$org_id,$index,$index_table,$index_wqi_table,$time_id);
./ccamp_calc_meqs.php : $index_table="Index_Salts_Human_Health"; aggregate_wqi($region3_dialect,$log,$log_verbose,$org_id,$index,$index_table,$index_wqi_table,$time_id);
./ccamp_calc_meqs.php : $index_table="Index_Met_Human_Health"; aggregate_wqi($region3_dialect,$log,$log_verbose,$org_id,$index,$index_table,$index_wqi_table,$time_id);
./ccamp_calc_meqs.php : $index_table="Index_Org_Human_Health"; aggregate_wqi($region3_dialect,$log,$log_verbose,$org_id,$index,$index_table,$index_wqi_table,$time_id);
./ccamp_calc_meqs.php : $index_table="Index_Pah_Human_Health"; aggregate_wqi($region3_dialect,$log,$log_verbose,$org_id,$index,$index_table,$index_wqi_table,$time_id);
./ccamp_calc_meqs.php : $result=Run_Sql($region3_dialect,$sql); if($log_verbose) log_time($sql);
./ccamp_calc_meqs.php : $result=Run_Sql($region3_dialect,$sql); if($log_verbose) log_time($sql);
./ccamp_calc_meqs.php : $result=Run_Sql($region3_dialect,$sql); if($log_verbose) log_time($sql);
./ccamp_calc_meqs.php : result=Run_Sql($region3_dialect,$sql); if($log_verbose) log_time($sql);
./ccamp_calc_meqs.php : function aggregate_wqi($region3_dialect,$log,$log_verbose,$org_id,$index,$index_table,$index_wqi_table,$time_id){
./ccamp_calc_meqs.php : $result=Run_Sql($region3_dialect,$sql); if($log_verbose) log_time($sql);
./ccamp_calc_meqs.php : $result=Run_Sql($region3_dialect,$sql); if($log_verbose) log_time($sql);
./ccamp_calc_meqs.php : $result=Run_Sql($region3_dialect,$sql); if($log_verbose) log_time($sql);
./ccamp_calc_meqs.php : function collect_wqi($region3_dialect,$log,$log_verbose,$org_id,$index_table){
./ccamp_calc_meqs.php : $result=Run_Sql($region3_dialect,$sql); if($log_verbose) log_time($sql);
./ccamp_calc_meqs.php : $result=Run_Sql($region3_dialect,$sql); if($log_verbose) log_time($sql);
./ccamp_calc_meqs.php : $result=Run_Sql($region3_dialect,$sql); if($log_verbose) log_time($sql);
./ccamp_calc_meqs.php : $result=Run_Sql($region3_dialect,$sql); if($log_verbose) log_time($sql);
./ccamp_calc_meqs.php : $result=Run_Sql($region3_dialect,$sql); if($log_verbose) log_time($sql);
./ccamp_calc_meqs.php : $result=Run_Sql($region3_dialect,$sql); if($log_verbose) log_time($sql);
./ccamp_calc_meqs.php : $result=Run_Sql($region3_dialect,$sql); if($log_verbose) log_time($sql);
./ccamp_calc_meqs.php : $result=Run_Sql($region3_dialect,$sql); if($log_verbose) log_time($sql);
./ccamp_calc_meqs.php : $result=Run_Sql($region3_dialect,$sql); if($log_verbose) log_time($sql);
./ccamp_calc_meqs.php : $result=Run_Sql($region3_dialect,$sql); if($log_verbose) log_time($sql);
./ccamp_calc_meqs.php : $result=Run_Sql($region3_dialect,$sql); if($log_verbose) log_time($sql);
./ccamp_calc_meqs.php : $result=Run_Sql($region3_dialect,$sql); if($log_verbose) log_time($sql);
./ccamp_calc_meqs.php : $result=Run_Sql($region3_dialect,$sql); if($log_verbose) log_time($sql);
./ccamp_calc_meqs.php : $result=Run_Sql($region3_dialect,$sql); if($log_verbose) log_time($sql);
./ccamp_calc_meqs.php : $result=Run_Sql($region3_dialect,$sql); if($log_verbose) log_time($sql);
./ccamp_calc_meqs.php : $result=Run_Sql($region3_dialect,$sql); if($log_verbose) log_time($sql);
./ccamp_calc_meqs.php : $result=Run_Sql($region3_dialect,$sql); if($log_verbose) log_time($sql);
./ccamp_calc_meqs.php : $result=Run_Sql($region3_dialect,$sql); if($log_verbose) log_time($sql);
./ccamp_calc_meqs.php : $result=Run_Sql($region3_dialect,$sql); if($log_verbose) log_time($sql);
./ccamp_calc_meqs.php : $result=Run_Sql($region3_dialect,$sql); if($log_verbose) log_time($sql);
./ccamp_calc_meqs.php : $result=Run_Sql($region3_dialect,$sql); if($log_verbose) log_time($sql);
./ccamp_calc_meqs.php : $result=Run_Sql($region3_dialect,$sql); if($log_verbose) log_time($sql);
./ccamp_calc_meqs.php : $result=Run_Sql($region3_dialect,$sql); if($log_verbose) log_time($sql);
./ccamp_calc_meqs.php : $result=Run_Sql($region3_dialect,$sql); if($log_verbose) log_time($sql);
./ccamp_calc_meqs.php : $result=Run_Sql($region3_dialect,$sql); if($log_verbose) log_time($sql);
./ccamp_calc_meqs.php : $result=Run_Sql($region3_dialect,$sql); if($log_verbose) log_time($sql);
./ccamp_calc_meqs.php : $result=Run_Sql($region3_dialect,$sql); if($log_verbose) log_time($sql);
./ccamp_calc_meqs.php : $result=Run_Sql($region3_dialect,$sql); if($log_verbose) log_time($sql);
./ccamp_calc_meqs.php : $result=Run_Sql($region3_dialect,$sql); if($log_verbose) log_time($sql);
./ccamp_calc_meqs.php : $result=Run_Sql($region3_dialect,$sql); if($log_verbose) log_time($sql);
./ccamp_calc_meqs.php : function set_index_aggregate($region3_dialect,$log,$log_verbose,$wqa_table,$index,$ccampid,$time_id){
./ccamp_calc_meqs.php : $result=Run_Sql($region3_dialect,$sql);
./ccamp_calc_meqs.php : $result=Run_Sql($region3_dialect,$sql);
./ccamp_calc_meqs.php : $result=Run_Sql($region3_dialect,$sql); # log_time($sql);
./ccamp_calc_meqs.php : function calc_index_from_analytes($region3_dialect,$log,$log_verbose,$wqa_table,$time_id){
./ccamp_calc_meqs.php : clear_index($region3_dialect,$log,$log_verbose,'Index_WQ_Aquatic_Life',$time_id);
./ccamp_calc_meqs.php : clear_index($region3_dialect,$log,$log_verbose,'Index_Met_Aquatic_Life_H2o',$time_id);
./ccamp_calc_meqs.php : clear_index($region3_dialect,$log,$log_verbose,'Index_Met_Aquatic_Life_Sed',$time_id);
./ccamp_calc_meqs.php : clear_index($region3_dialect,$log,$log_verbose,'Index_Met_Human_Health',$time_id);
./ccamp_calc_meqs.php : clear_index($region3_dialect,$log,$log_verbose,'Index_Biostim_Risk',$time_id);
./ccamp_calc_meqs.php : clear_index($region3_dialect,$log,$log_verbose,'Index_Toxicity_H2o',$time_id);
./ccamp_calc_meqs.php : clear_index($region3_dialect,$log,$log_verbose,'Index_Toxicity_Sed',$time_id);
./ccamp_calc_meqs.php : clear_index($region3_dialect,$log,$log_verbose,'Index_BMI',$time_id);
./ccamp_calc_meqs.php : clear_index($region3_dialect,$log,$log_verbose,'Index_algae',$time_id);
./ccamp_calc_meqs.php : clear_index($region3_dialect,$log,$log_verbose,'Index_Riparian',$time_id);
./ccamp_calc_meqs.php : clear_index($region3_dialect,$log,$log_verbose,'Index_Pah_Aquatic_Life_H2o',$time_id);
./ccamp_calc_meqs.php : clear_index($region3_dialect,$log,$log_verbose,'Index_Pah_Aquatic_Life_Sed',$time_id);
./ccamp_calc_meqs.php : clear_index($region3_dialect,$log,$log_verbose,'Index_Pah_Human_Health',$time_id);
./ccamp_calc_meqs.php : clear_index($region3_dialect,$log,$log_verbose,'Index_Org_Aquatic_Life_H2o',$time_id);
./ccamp_calc_meqs.php : clear_index($region3_dialect,$log,$log_verbose,'Index_Org_Aquatic_Life_Sed',$time_id);
./ccamp_calc_meqs.php : clear_index($region3_dialect,$log,$log_verbose,'Index_WQ_Human_Health',$time_id);
./ccamp_calc_meqs.php : clear_index($region3_dialect,$log,$log_verbose,'Index_Salts_Human_Health',$time_id);
./ccamp_calc_meqs.php : clear_index($region3_dialect,$log,$log_verbose,'Index_Pathogens',$time_id);
./ccamp_calc_meqs.php : clear_index($region3_dialect,$log,$log_verbose,'Index_Org_Human_Health',$time_id);
./ccamp_calc_meqs.php : clear_index($region3_dialect,$log,$log_verbose,'Index_Habitat',$time_id);
./ccamp_calc_meqs.php : clear_index($region3_dialect,$log,$log_verbose,'Index_phab',$time_id);
./ccamp_calc_meqs.php : clear_index($region3_dialect,$log,$log_verbose,'Index_WQ_Groundwater',$time_id);
./ccamp_calc_meqs.php : $ccampid="NH3_N"; set_index_aggregate($region3_dialect,$log,$log_verbose,$wqa_table,$index,$ccampid,$time_id);
./ccamp_calc_meqs.php : $ccampid="NO3NO2_N"; set_index_aggregate($region3_dialect,$log,$log_verbose,$wqa_table,$index,$ccampid,$time_id);
./ccamp_calc_meqs.php : $ccampid="OP_P"; set_index_aggregate($region3_dialect,$log,$log_verbose,$wqa_table,$index,$ccampid,$time_id);
./ccamp_calc_meqs.php : $ccampid="TSS"; set_index_aggregate($region3_dialect,$log,$log_verbose,$wqa_table,$index,$ccampid,$time_id);
./ccamp_calc_meqs.php : $ccampid="TURB_N"; set_index_aggregate($region3_dialect,$log,$log_verbose,$wqa_table,$index,$ccampid,$time_id);
./ccamp_calc_meqs.php : $ccampid="H2O_TEMP"; set_index_aggregate($region3_dialect,$log,$log_verbose,$wqa_table,$index,$ccampid,$time_id);
./ccamp_calc_meqs.php : $ccampid="DO_PPM_DEP"; set_index_aggregate($region3_dialect,$log,$log_verbose,$wqa_table,$index,$ccampid,$time_id);
./ccamp_calc_meqs.php : $ccampid="PH_DEP"; set_index_aggregate($region3_dialect,$log,$log_verbose,$wqa_table,$index,$ccampid,$time_id);
./ccamp_calc_meqs.php : $result=Run_Sql($region3_dialect,$sql);
./ccamp_calc_meqs.php : $ccampid="CHLORA"; set_index_aggregate($region3_dialect,$log,$log_verbose,$wqa_table,$index,$ccampid,$time_id);
./ccamp_calc_meqs.php : $ccampid="ALGA_MATS"; set_index_aggregate($region3_dialect,$log,$log_verbose,$wqa_table,$index,$ccampid,$time_id);
./ccamp_calc_meqs.php : $ccampid="NNE_REV_QUAL2K_2"; set_index_aggregate($region3_dialect,$log,$log_verbose,$wqa_table,$index,$ccampid,$time_id);
./ccamp_calc_meqs.php : $ccampid="NNE_DO_DEF"; set_index_aggregate($region3_dialect,$log,$log_verbose,$wqa_table,$index,$ccampid,$time_id);
./ccamp_calc_meqs.php : $ccampid="DO_PPM_DEP"; set_index_aggregate($region3_dialect,$log,$log_verbose,$wqa_table,$index,$ccampid,$time_id);
./ccamp_calc_meqs.php : $result=Run_Sql($region3_dialect,$sql);
./ccamp_calc_meqs.php : $ccampid="HG"; set_index_aggregate($region3_dialect,$log,$log_verbose,$wqa_table,$index,$ccampid,$time_id);
./ccamp_calc_meqs.php : $ccampid="CU"; set_index_aggregate($region3_dialect,$log,$log_verbose,$wqa_table,$index,$ccampid,$time_id);
./ccamp_calc_meqs.php : $ccampid="ZN"; set_index_aggregate($region3_dialect,$log,$log_verbose,$wqa_table,$index,$ccampid,$time_id);
./ccamp_calc_meqs.php : $ccampid="AG"; set_index_aggregate($region3_dialect,$log,$log_verbose,$wqa_table,$index,$ccampid,$time_id);
./ccamp_calc_meqs.php : $ccampid="AS1"; set_index_aggregate($region3_dialect,$log,$log_verbose,$wqa_table,$index,$ccampid,$time_id);
./ccamp_calc_meqs.php : $ccampid="HG"; set_index_aggregate($region3_dialect,$log,$log_verbose,$wqa_table,$index,$ccampid,$time_id);
./ccamp_calc_meqs.php : $ccampid="CD"; set_index_aggregate($region3_dialect,$log,$log_verbose,$wqa_table,$index,$ccampid,$time_id);
./ccamp_calc_meqs.php : $ccampid="PB"; set_index_aggregate($region3_dialect,$log,$log_verbose,$wqa_table,$index,$ccampid,$time_id);
./ccamp_calc_meqs.php : $ccampid="SE"; set_index_aggregate($region3_dialect,$log,$log_verbose,$wqa_table,$index,$ccampid,$time_id);
./ccamp_calc_meqs.php : $result=Run_Sql($region3_dialect,$sql);
./ccamp_calc_meqs.php : $ccampid="HG"; set_index_aggregate($region3_dialect,$log,$log_verbose,$wqa_table,$index,$ccampid,$time_id);
./ccamp_calc_meqs.php : $ccampid="CU"; set_index_aggregate($region3_dialect,$log,$log_verbose,$wqa_table,$index,$ccampid,$time_id);
./ccamp_calc_meqs.php : $ccampid="ZN"; set_index_aggregate($region3_dialect,$log,$log_verbose,$wqa_table,$index,$ccampid,$time_id);
./ccamp_calc_meqs.php : $ccampid="AG"; set_index_aggregate($region3_dialect,$log,$log_verbose,$wqa_table,$index,$ccampid,$time_id);
./ccamp_calc_meqs.php : $ccampid="AS1"; set_index_aggregate($region3_dialect,$log,$log_verbose,$wqa_table,$index,$ccampid,$time_id);
./ccamp_calc_meqs.php : $ccampid="HG"; set_index_aggregate($region3_dialect,$log,$log_verbose,$wqa_table,$index,$ccampid,$time_id);
./ccamp_calc_meqs.php : $ccampid="CD"; set_index_aggregate($region3_dialect,$log,$log_verbose,$wqa_table,$index,$ccampid,$time_id);
./ccamp_calc_meqs.php : $ccampid="PB"; set_index_aggregate($region3_dialect,$log,$log_verbose,$wqa_table,$index,$ccampid,$time_id);
./ccamp_calc_meqs.php : $ccampid="SE"; set_index_aggregate($region3_dialect,$log,$log_verbose,$wqa_table,$index,$ccampid,$time_id);
./ccamp_calc_meqs.php : $result=Run_Sql($region3_dialect,$sql);
./ccamp_calc_meqs.php : $ccampid="IF(B_CSCI0,B_CSCI,IF(B_SOCALIBI0,B_SOCALIBI,B_NOCALIBI))"; set_index_aggregate($region3_dialect,$log,$log_verbose,$wqa_table,$index,$ccampid,$time_id);
./ccamp_calc_meqs.php : $result=Run_Sql($region3_dialect,$sql);
./ccamp_calc_meqs.php : $ccampid="PCT_SAFN"; set_index_aggregate($region3_dialect,$log,$log_verbose,$wqa_table,$index,$ccampid,$time_id);
./ccamp_calc_meqs.php : $ccampid="XCEMBED"; set_index_aggregate($region3_dialect,$log,$log_verbose,$wqa_table,$index,$ccampid,$time_id);
./ccamp_calc_meqs.php : $ccampid="XFC_NAT_SWAMP"; set_index_aggregate($region3_dialect,$log,$log_verbose,$wqa_table,$index,$ccampid,$time_id);
./ccamp_calc_meqs.php : $ccampid="XCMGW"; set_index_aggregate($region3_dialect,$log,$log_verbose,$wqa_table,$index,$ccampid,$time_id);
./ccamp_calc_meqs.php : $result=Run_Sql($region3_dialect,$sql);
./ccamp_calc_meqs.php : $ccampid="METRIC1_TRC"; set_index_aggregate($region3_dialect,$log,$log_verbose,$wqa_table,$index,$ccampid,$time_id);
./ccamp_calc_meqs.php : $ccampid="METRIC2_VCS"; set_index_aggregate($region3_dialect,$log,$log_verbose,$wqa_table,$index,$ccampid,$time_id);
./ccamp_calc_meqs.php : $ccampid="METRIC3_VCQ"; set_index_aggregate($region3_dialect,$log,$log_verbose,$wqa_table,$index,$ccampid,$time_id);
./ccamp_calc_meqs.php : $ccampid="METRIC4_AGNR"; set_index_aggregate($region3_dialect,$log,$log_verbose,$wqa_table,$index,$ccampid,$time_id);
./ccamp_calc_meqs.php : $ccampid="METRIC5_RVW"; set_index_aggregate($region3_dialect,$log,$log_verbose,$wqa_table,$index,$ccampid,$time_id);
./ccamp_calc_meqs.php : $ccampid="METRIC6_RSCVC"; set_index_aggregate($region3_dialect,$log,$log_verbose,$wqa_table,$index,$ccampid,$time_id);
./ccamp_calc_meqs.php : $ccampid="METRIC7_MHPR"; set_index_aggregate($region3_dialect,$log,$log_verbose,$wqa_table,$index,$ccampid,$time_id);
./ccamp_calc_meqs.php : $ccampid="METRIC81_HYMOD"; set_index_aggregate($region3_dialect,$log,$log_verbose,$wqa_table,$index,$ccampid,$time_id);
./ccamp_calc_meqs.php : $ccampid="METRIC8_FINAL"; set_index_aggregate($region3_dialect,$log,$log_verbose,$wqa_table,$index,$ccampid,$time_id);
./ccamp_calc_meqs.php : $ccampid="METRIC_82_HYMOD"; set_index_aggregate($region3_dialect,$log,$log_verbose,$wqa_table,$index,$ccampid,$time_id);
./ccamp_calc_meqs.php : $result=Run_Sql($region3_dialect,$sql);
./ccamp_calc_meqs.php : $ccampid="ALG_50_DO_SCR"; set_index_aggregate($region3_dialect,$log,$log_verbose,$wqa_table,$index,$ccampid,$time_id);
./ccamp_calc_meqs.php : $ccampid="ALG_CU_SCR"; set_index_aggregate($region3_dialect,$log,$log_verbose,$wqa_table,$index,$ccampid,$time_id);
./ccamp_calc_meqs.php : $ccampid="ALG_DOC_SCR"; set_index_aggregate($region3_dialect,$log,$log_verbose,$wqa_table,$index,$ccampid,$time_id);
./ccamp_calc_meqs.php : $ccampid="ALG_HALO_SCR"; set_index_aggregate($region3_dialect,$log,$log_verbose,$wqa_table,$index,$ccampid,$time_id);
./ccamp_calc_meqs.php : $ccampid="ALG_N_SCR"; set_index_aggregate($region3_dialect,$log,$log_verbose,$wqa_table,$index,$ccampid,$time_id);
./ccamp_calc_meqs.php : $ccampid="ALG_SED_SCR"; set_index_aggregate($region3_dialect,$log,$log_verbose,$wqa_table,$index,$ccampid,$time_id);
./ccamp_calc_meqs.php : $ccampid="ALG_TN_SCR"; set_index_aggregate($region3_dialect,$log,$log_verbose,$wqa_table,$index,$ccampid,$time_id);
./ccamp_calc_meqs.php : $ccampid="ALG_TP_SCR"; set_index_aggregate($region3_dialect,$log,$log_verbose,$wqa_table,$index,$ccampid,$time_id);
./ccamp_calc_meqs.php : $result=Run_Sql($region3_dialect,$sql);
./ccamp_calc_meqs.php : $ccampid="INDEX_PHAB"; set_index_aggregate($region3_dialect,$log,$log_verbose,$wqa_table,$index,$ccampid,$time_id);
./ccamp_calc_meqs.php : $ccampid="INDEX_RIPARIAN"; set_index_aggregate($region3_dialect,$log,$log_verbose,$wqa_table,$index,$ccampid,$time_id);
./ccamp_calc_meqs.php : $ccampid="INDEX_CRAM"; set_index_aggregate($region3_dialect,$log,$log_verbose,$wqa_table,$index,$ccampid,$time_id);
./ccamp_calc_meqs.php : $result=Run_Sql($region3_dialect,$sql);
./ccamp_calc_meqs.php : $result=Run_Sql($region3_dialect,$sql);
./ccamp_calc_meqs.php : while ($data_row=sql_fetch_assoc($region3_dialect,$result))
./ccamp_calc_meqs.php : $result1=Run_Sql($region3_dialect,$sql);
./ccamp_calc_meqs.php : $result=Run_Sql($region3_dialect,$sql);
./ccamp_calc_meqs.php : while ($data_row=sql_fetch_assoc($region3_dialect,$result))
./ccamp_calc_meqs.php : $result1=Run_Sql($region3_dialect,$sql);
./ccamp_calc_meqs.php : $result=Run_Sql($region3_dialect,$sql);
./ccamp_calc_meqs.php : while ($data_row=sql_fetch_assoc($region3_dialect,$result))
./ccamp_calc_meqs.php : $result1=Run_Sql($region3_dialect,$sql);
./ccamp_calc_meqs.php : $result=Run_Sql($region3_dialect,$sql);
./ccamp_calc_meqs.php : while ($data_row=sql_fetch_assoc($region3_dialect,$result))
./ccamp_calc_meqs.php : $result1=Run_Sql($region3_dialect,$sql);
./ccamp_calc_meqs.php : $result=Run_Sql($region3_dialect,$sql); if($log_verbose) log_time($sql);
./ccamp_calc_meqs.php : while ($data_row=sql_fetch_assoc($region3_dialect,$result))
./ccamp_calc_meqs.php : $result1=Run_Sql($region3_dialect,$sql); if($log_verbose) log_time($sql);
./ccamp_calc_meqs.php : $result=Run_Sql($region3_dialect,$sql); if($log_verbose) log_time($sql);
./ccamp_calc_meqs.php : while ($data_row=sql_fetch_assoc($region3_dialect,$result))
./ccamp_calc_meqs.php : $result1=Run_Sql($region3_dialect,$sql); if($log_verbose) log_time($sql);
./ccamp_calc_meqs.php : $ccampid="TDS"; set_index_aggregate($region3_dialect,$log,$log_verbose,$wqa_table,$index,$ccampid,$time_id);
./ccamp_calc_meqs.php : $ccampid="BORON_DIS"; set_index_aggregate($region3_dialect,$log,$log_verbose,$wqa_table,$index,$ccampid,$time_id);
./ccamp_calc_meqs.php : $ccampid="SODIUM"; set_index_aggregate($region3_dialect,$log,$log_verbose,$wqa_table,$index,$ccampid,$time_id);
./ccamp_calc_meqs.php : $ccampid="CHLORIDE"; set_index_aggregate($region3_dialect,$log,$log_verbose,$wqa_table,$index,$ccampid,$time_id);
./ccamp_calc_meqs.php : $result=Run_Sql($region3_dialect,$sql);
./ccamp_calc_meqs.php : $result=Run_Sql($region3_dialect,$sql);
./ccamp_calc_meqs.php : while ($data_row=sql_fetch_assoc($region3_dialect,$result))
./ccamp_calc_meqs.php : $result1=Run_Sql($region3_dialect,$sql);
./ccamp_calc_meqs.php : $ccampid="ECOLI"; set_index_aggregate($region3_dialect,$log,$log_verbose,$wqa_table,$index,$ccampid,$time_id);
./ccamp_calc_meqs.php : $ccampid="FCOLI"; set_index_aggregate($region3_dialect,$log,$log_verbose,$wqa_table,$index,$ccampid,$time_id);
./ccamp_calc_meqs.php : $ccampid="ENTERO"; set_index_aggregate($region3_dialect,$log,$log_verbose,$wqa_table,$index,$ccampid,$time_id);
./ccamp_calc_meqs.php : $result=Run_Sql($region3_dialect,$sql);
./ccamp_calc_meqs.php : $result=Run_Sql($region3_dialect,$sql);
./ccamp_calc_meqs.php : while ($data_row=sql_fetch_assoc($region3_dialect,$result))
./ccamp_calc_meqs.php : $result1=Run_Sql($region3_dialect,$sql);
./ccamp_calc_meqs.php : $result=Run_Sql($region3_dialect,$sql);
./ccamp_calc_meqs.php : while ($data_row=sql_fetch_assoc($region3_dialect,$result))
./ccamp_calc_meqs.php : $result1=Run_Sql($region3_dialect,$sql);
./ccamp_calc_meqs.php : $result=Run_Sql($region3_dialect,$sql); if($log_verbose) log_time($sql);
./ccamp_calc_meqs.php : while ($data_row=sql_fetch_assoc($region3_dialect,$result))
./ccamp_calc_meqs.php : $result1=Run_Sql($region3_dialect,$sql); if($log_verbose) log_time($sql);
./ccamp_calc_meqs.php : $result=Run_Sql($region3_dialect,$sql);
./ccamp_calc_meqs.php : $result=Run_Sql($region3_dialect,$sql);
./ccamp_calc_meqs.php : $result=Run_Sql($region3_dialect,$sql);
./ccamp_calc_meqs.php : $result=Run_Sql($region3_dialect,$sql);
./ccamp_calc_meqs.php : function clear_wqa_status($region3_dialect,$log,$log_verbose,$org_id,$wqa_table){
./ccamp_calc_meqs.php : $sql="DELETE FROM ".$wqa_table." WHERE chr_group='wqi' "; $result=Run_Sql($region3_dialect,$sql); if($log_verbose) log_time($sql);
./ccamp_calc_meqs.php : $sql=" UPDATE ".$wqa_table." SET lt_score_al=NULL "; $result=Run_Sql($region3_dialect,$sql); if($log_verbose) log_time($sql);
./ccamp_calc_meqs.php : $sql=" UPDATE ".$wqa_table." SET p1_score_al=NULL "; $result=Run_Sql($region3_dialect,$sql); if($log_verbose) log_time($sql);
./ccamp_calc_meqs.php : $sql=" UPDATE ".$wqa_table." SET p2_score_al=NULL "; $result=Run_Sql($region3_dialect,$sql); if($log_verbose) log_time($sql);
./ccamp_calc_meqs.php : $sql=" UPDATE ".$wqa_table." SET lt_score_hh=NULL "; $result=Run_Sql($region3_dialect,$sql); if($log_verbose) log_time($sql);
./ccamp_calc_meqs.php : $sql=" UPDATE ".$wqa_table." SET p1_score_hh=NULL "; $result=Run_Sql($region3_dialect,$sql); if($log_verbose) log_time($sql);
./ccamp_calc_meqs.php : $sql=" UPDATE ".$wqa_table." SET p2_score_hh=NULL "; $result=Run_Sql($region3_dialect,$sql); if($log_verbose) log_time($sql);
./ccamp_calc_meqs.php : $sql=" UPDATE ".$wqa_table." SET lt_score_wm=NULL "; $result=Run_Sql($region3_dialect,$sql); if($log_verbose) log_time($sql);
./ccamp_calc_meqs.php : $sql=" UPDATE ".$wqa_table." SET p1_score_wm=NULL "; $result=Run_Sql($region3_dialect,$sql); if($log_verbose) log_time($sql);
./ccamp_calc_meqs.php : $sql=" UPDATE ".$wqa_table." SET p2_score_wm=NULL "; $result=Run_Sql($region3_dialect,$sql); if($log_verbose) log_time($sql);
./ccamp_calc_meqs.php : $sql=" UPDATE ".$wqa_table." SET lt_status_al=NULL "; $result=Run_Sql($region3_dialect,$sql); if($log_verbose) log_time($sql);
./ccamp_calc_meqs.php : $sql=" UPDATE ".$wqa_table." SET p1_status_al=NULL "; $result=Run_Sql($region3_dialect,$sql); if($log_verbose) log_time($sql);
./ccamp_calc_meqs.php : $sql=" UPDATE ".$wqa_table." SET p2_status_al=NULL "; $result=Run_Sql($region3_dialect,$sql); if($log_verbose) log_time($sql);
./ccamp_calc_meqs.php : $sql=" UPDATE ".$wqa_table." SET lt_status_hh=NULL "; $result=Run_Sql($region3_dialect,$sql); if($log_verbose) log_time($sql);
./ccamp_calc_meqs.php : $sql=" UPDATE ".$wqa_table." SET p1_status_hh=NULL "; $result=Run_Sql($region3_dialect,$sql); if($log_verbose) log_time($sql);
./ccamp_calc_meqs.php : $sql=" UPDATE ".$wqa_table." SET p2_status_hh=NULL "; $result=Run_Sql($region3_dialect,$sql); if($log_verbose) log_time($sql);
./ccamp_calc_meqs.php : $sql=" UPDATE ".$wqa_table." SET lt_status_wm=NULL "; $result=Run_Sql($region3_dialect,$sql); if($log_verbose) log_time($sql);
./ccamp_calc_meqs.php : $sql=" UPDATE ".$wqa_table." SET p1_status_wm=NULL "; $result=Run_Sql($region3_dialect,$sql); if($log_verbose) log_time($sql);
./ccamp_calc_meqs.php : $sql=" UPDATE ".$wqa_table." SET p2_status_wm=NULL "; $result=Run_Sql($region3_dialect,$sql); if($log_verbose) log_time($sql);
./ccamp_calc_meqs.php : $sql=" UPDATE ".$wqa_table." SET AQUALIFE_icon=NULL "; $result=Run_Sql($region3_dialect,$sql); if($log_verbose) log_time($sql);
./ccamp_calc_meqs.php : $sql=" UPDATE ".$wqa_table." SET HH_icon=NULL "; $result=Run_Sql($region3_dialect,$sql); if($log_verbose) log_time($sql);
./ccamp_calc_meqs.php : $sql=" UPDATE ".$wqa_table." SET WM_icon=NULL "; $result=Run_Sql($region3_dialect,$sql); if($log_verbose) log_time($sql);
./ccamp_calc_meqs.php : function set_wqa_grades($region3_dialect,$log,$log_verbose,$org_id,$wqa_table,$period){
./ccamp_calc_meqs.php : $index='Index_Met_Human_Health'; set_status($region3_dialect,$log,$log_verbose,$org_id,$wqa_table,$index,$period,'threshold_hh','samplewater');
./ccamp_calc_meqs.php : $index='Index_Org_Human_Health'; set_status($region3_dialect,$log,$log_verbose,$org_id,$wqa_table,$index,$period,'threshold_hh','samplewater');
./ccamp_calc_meqs.php : $index='Index_Pah_Human_Health'; set_status($region3_dialect,$log,$log_verbose,$org_id,$wqa_table,$index,$period,'threshold_hh','samplewater');
./ccamp_calc_meqs.php : $index='Index_Salts_Human_Health'; set_status($region3_dialect,$log,$log_verbose,$org_id,$wqa_table,$index,$period,'threshold_hh','samplewater');
./ccamp_calc_meqs.php : $index='Index_Pathogens'; set_status($region3_dialect,$log,$log_verbose,$org_id,$wqa_table,$index,$period,'threshold_hh','samplewater');
./ccamp_calc_meqs.php : $index='Index_WQ_Human_Health'; set_status($region3_dialect,$log,$log_verbose,$org_id,$wqa_table,$index,$period,'threshold_hh','samplewater');
./ccamp_calc_meqs.php : $index='Index_WQ_Aquatic_Life'; set_status($region3_dialect,$log,$log_verbose,$org_id,$wqa_table,$index,$period,'threshold_al','samplewater');
./ccamp_calc_meqs.php : $index='Index_Biostim_Risk'; set_status($region3_dialect,$log,$log_verbose,$org_id,$wqa_table,$index,$period,'threshold_al','samplewater');
./ccamp_calc_meqs.php : $index='Index_BMI'; set_status($region3_dialect,$log,$log_verbose,$org_id,$wqa_table,$index,$period,'threshold_al','benthos');
./ccamp_calc_meqs.php : $index='Index_algae'; set_status($region3_dialect,$log,$log_verbose,$org_id,$wqa_table,$index,$period,'threshold_al','benthos');
./ccamp_calc_meqs.php : $index='Index_benthos'; set_status($region3_dialect,$log,$log_verbose,$org_id,$wqa_table,$index,$period,'threshold_al','benthos');
./ccamp_calc_meqs.php : $index='Index_Toxicity_H2o'; set_status($region3_dialect,$log,$log_verbose,$org_id,$wqa_table,$index,$period,'threshold_al','samplewater');
./ccamp_calc_meqs.php : $index='Index_Toxicity_Sed'; set_status($region3_dialect,$log,$log_verbose,$org_id,$wqa_table,$index,$period,'threshold_al','sediment');
./ccamp_calc_meqs.php : $index='Index_phab'; set_status($region3_dialect,$log,$log_verbose,$org_id,$wqa_table,$index,$period,'threshold_al','habitat');
./ccamp_calc_meqs.php : $index='Index_Riparian'; set_status($region3_dialect,$log,$log_verbose,$org_id,$wqa_table,$index,$period,'threshold_al','habitat');
./ccamp_calc_meqs.php : $index='Index_cram'; set_status($region3_dialect,$log,$log_verbose,$org_id,$wqa_table,$index,$period,'threshold_al','habitat');
./ccamp_calc_meqs.php : $index='Index_Habitat'; set_status($region3_dialect,$log,$log_verbose,$org_id,$wqa_table,$index,$period,'threshold_al','habitat');
./ccamp_calc_meqs.php : $index='Index_Met_Aquatic_Life_H2o'; set_status($region3_dialect,$log,$log_verbose,$org_id,$wqa_table,$index,$period,'threshold_al','samplewater');
./ccamp_calc_meqs.php : $index='Index_Org_Aquatic_Life_H2o'; set_status($region3_dialect,$log,$log_verbose,$org_id,$wqa_table,$index,$period,'threshold_al','samplewater');
./ccamp_calc_meqs.php : $index='Index_Pah_Aquatic_Life_H2o'; set_status($region3_dialect,$log,$log_verbose,$org_id,$wqa_table,$index,$period,'threshold_al','samplewater');
./ccamp_calc_meqs.php : $index='Index_Met_Aquatic_Life_Sed'; set_status($region3_dialect,$log,$log_verbose,$org_id,$wqa_table,$index,$period,'threshold_al','sediment');
./ccamp_calc_meqs.php : $index='Index_Org_Aquatic_Life_Sed'; set_status($region3_dialect,$log,$log_verbose,$org_id,$wqa_table,$index,$period,'threshold_al','sediment');
./ccamp_calc_meqs.php : $index='Index_Pah_Aquatic_Life_Sed'; set_status($region3_dialect,$log,$log_verbose,$org_id,$wqa_table,$index,$period,'threshold_al','sediment');
./ccamp_calc_meqs.php : $index='Index_generic'; set_status($region3_dialect,$log,$log_verbose,$org_id,$wqa_table,$index,$period,'threshold_al','samplewater');
./ccamp_calc_meqs.php : $index='Index_goby'; set_status($region3_dialect,$log,$log_verbose,$org_id,$wqa_table,$index,$period,'threshold_al','samplewater');
./ccamp_calc_meqs.php : $index='Index_steelhead'; set_status($region3_dialect,$log,$log_verbose,$org_id,$wqa_table,$index,$period,'threshold_al','samplewater');
./ccamp_calc_meqs.php : $index='Index_otter'; set_status($region3_dialect,$log,$log_verbose,$org_id,$wqa_table,$index,$period,'threshold_al','samplewater');
./ccamp_calc_meqs.php : function set_status($region3_dialect,$log,$log_verbose,$org_id,$wqa_table,$index,$period,$threshold,$matrix){
./ccamp_calc_meqs.php : $sql=" UPDATE ".$wqa_table." SET ".$period."_al='A' WHERE matrixname='".$matrix."' AND ".$index."=90 "; $result=Run_Sql($region3_dialect,$sql); if($log_verbose) log_time($sql);
./ccamp_calc_meqs.php : $sql=" UPDATE ".$wqa_table." SET ".$period."_al='B' WHERE matrixname='".$matrix."' AND ((".$index."90) AND (".$index."=80))"; $result=Run_Sql($region3_dialect,$sql); if($log_verbose) log_time($sql);
./ccamp_calc_meqs.php : $sql=" UPDATE ".$wqa_table." SET ".$period."_al='C' WHERE matrixname='".$matrix."' AND ((".$index."80) AND (".$index."=65))"; $result=Run_Sql($region3_dialect,$sql); if($log_verbose) log_time($sql);
./ccamp_calc_meqs.php : $sql=" UPDATE ".$wqa_table." SET ".$period."_al='D' WHERE matrixname='".$matrix."' AND ((".$index."65) AND (".$index."=45))"; $result=Run_Sql($region3_dialect,$sql); if($log_verbose) log_time($sql);
./ccamp_calc_meqs.php : $sql=" UPDATE ".$wqa_table." SET ".$period."_al='F' WHERE matrixname='".$matrix."' AND ((".$index."45) AND (".$index."0))"; $result=Run_Sql($region3_dialect,$sql); if($log_verbose) log_time($sql);
./ccamp_calc_meqs.php : $sql=" UPDATE ".$wqa_table." SET ".$period."_hh='A' WHERE matrixname='".$matrix."' AND ".$index."=90 AND ".$threshold." IS NOT NULL "; $result=Run_Sql($region3_dialect,$sql); if($log_verbose) log_time($sql);
./ccamp_calc_meqs.php : $sql=" UPDATE ".$wqa_table." SET ".$period."_hh='B' WHERE matrixname='".$matrix."' AND ((".$index."90) AND (".$index."=80)) AND ".$threshold." IS NOT NULL "; $result=Run_Sql($region3_dialect,$sql); if($log_verbose) log_time($sql);
./ccamp_calc_meqs.php : $sql=" UPDATE ".$wqa_table." SET ".$period."_hh='C' WHERE matrixname='".$matrix."' AND ((".$index."80) AND (".$index."=65)) AND ".$threshold." IS NOT NULL "; $result=Run_Sql($region3_dialect,$sql); if($log_verbose) log_time($sql);
./ccamp_calc_meqs.php : $sql=" UPDATE ".$wqa_table." SET ".$period."_hh='D' WHERE matrixname='".$matrix."' AND ((".$index."65) AND (".$index."=45)) AND ".$threshold." IS NOT NULL "; $result=Run_Sql($region3_dialect,$sql); if($log_verbose) log_time($sql);
./ccamp_calc_meqs.php : $sql=" UPDATE ".$wqa_table." SET ".$period."_hh='F' WHERE matrixname='".$matrix."' AND ((".$index."45) AND (".$index."0)) AND ".$threshold." IS NOT NULL "; $result=Run_Sql($region3_dialect,$sql); if($log_verbose) log_time($sql);
./ccamp_calc_meqs.php : function set_wqi_grades($region3_dialect,$log,$log_verbose,$org_id,$wqa_table,$period,$period_mean){
./ccamp_calc_meqs.php : $sql=" UPDATE ".$wqa_table." SET ".$period."_al='A' WHERE chr_group='wqi' AND lt_score_al0 AND ".$period_mean."=90 "; $result=Run_Sql($region3_dialect,$sql); if($log_verbose) log_time($sql);
./ccamp_calc_meqs.php : $sql=" UPDATE ".$wqa_table." SET ".$period."_al='AA' WHERE chr_group='wqi' AND lt_score_al0 AND ".$period_mean."95 "; $result=Run_Sql($region3_dialect,$sql); if($log_verbose) log_time($sql);
./ccamp_calc_meqs.php : $sql=" UPDATE ".$wqa_table." SET ".$period."_al='B' WHERE chr_group='wqi' AND lt_score_al0 AND ((".$period_mean."90) AND (".$period_mean."=80))"; $result=Run_Sql($region3_dialect,$sql); if($log_verbose) log_time($sql);
./ccamp_calc_meqs.php : $sql=" UPDATE ".$wqa_table." SET ".$period."_al='C' WHERE chr_group='wqi' AND lt_score_al0 AND ((".$period_mean."80) AND (".$period_mean."=65))"; $result=Run_Sql($region3_dialect,$sql); if($log_verbose) log_time($sql);
./ccamp_calc_meqs.php : $sql=" UPDATE ".$wqa_table." SET ".$period."_al='D' WHERE chr_group='wqi' AND lt_score_al0 AND ((".$period_mean."65) AND (".$period_mean."=45))"; $result=Run_Sql($region3_dialect,$sql); if($log_verbose) log_time($sql);
./ccamp_calc_meqs.php : $sql=" UPDATE ".$wqa_table." SET ".$period."_al='F' WHERE chr_group='wqi' AND lt_score_al0 AND ((".$period_mean."45) AND (".$period_mean."0))"; $result=Run_Sql($region3_dialect,$sql); if($log_verbose) log_time($sql);
./ccamp_calc_meqs.php : $sql=" UPDATE ".$wqa_table." SET ".$period."_hh='A' WHERE chr_group='wqi' AND lt_score_hh0 AND ".$period_mean."=90 "; $result=Run_Sql($region3_dialect,$sql); if($log_verbose) log_time($sql);
./ccamp_calc_meqs.php : $sql=" UPDATE ".$wqa_table." SET ".$period."_hh='AA' WHERE chr_group='wqi' AND lt_score_hh0 AND ".$period_mean."95 "; $result=Run_Sql($region3_dialect,$sql); if($log_verbose) log_time($sql);
./ccamp_calc_meqs.php : $sql=" UPDATE ".$wqa_table." SET ".$period."_hh='B' WHERE chr_group='wqi' AND lt_score_hh0 AND ((".$period_mean."90) AND (".$period_mean."=80)) "; $result=Run_Sql($region3_dialect,$sql); if($log_verbose) log_time($sql);
./ccamp_calc_meqs.php : $sql=" UPDATE ".$wqa_table." SET ".$period."_hh='C' WHERE chr_group='wqi' AND lt_score_hh0 AND ((".$period_mean."80) AND (".$period_mean."=65)) "; $result=Run_Sql($region3_dialect,$sql); if($log_verbose) log_time($sql);
./ccamp_calc_meqs.php : $sql=" UPDATE ".$wqa_table." SET ".$period."_hh='D' WHERE chr_group='wqi' AND lt_score_hh0 AND ((".$period_mean."65) AND (".$period_mean."=45)) "; $result=Run_Sql($region3_dialect,$sql); if($log_verbose) log_time($sql);
./ccamp_calc_meqs.php : $sql=" UPDATE ".$wqa_table." SET ".$period."_hh='F' WHERE chr_group='wqi' AND lt_score_hh0 AND ((".$period_mean."45) AND (".$period_mean."0)) "; $result=Run_Sql($region3_dialect,$sql); if($log_verbose) log_time($sql);
./ccamp_calc_meqs.php : function set_wqi_statusOLDSAFE($region3_dialect,$log,$log_verbose,$org_id,$wqa_table,$period,$period_mean){
./ccamp_calc_meqs.php : $sql=" UPDATE ".$wqa_table." SET ".$period."_al='A' WHERE chr_group='wqi' AND ".$period_mean."=90 "; $result=Run_Sql($region3_dialect,$sql); if($log_verbose) log_time($sql);
./ccamp_calc_meqs.php : $sql=" UPDATE ".$wqa_table." SET ".$period."_al='AA' WHERE chr_group='wqi' AND ".$period_mean."95 "; $result=Run_Sql($region3_dialect,$sql); if($log_verbose) log_time($sql);
./ccamp_calc_meqs.php : $sql=" UPDATE ".$wqa_table." SET ".$period."_al='B' WHERE chr_group='wqi' AND ((".$period_mean."90) AND (".$period_mean."=80))"; $result=Run_Sql($region3_dialect,$sql); if($log_verbose) log_time($sql);
./ccamp_calc_meqs.php : $sql=" UPDATE ".$wqa_table." SET ".$period."_al='C' WHERE chr_group='wqi' AND ((".$period_mean."80) AND (".$period_mean."=65))"; $result=Run_Sql($region3_dialect,$sql); if($log_verbose) log_time($sql);
./ccamp_calc_meqs.php : $sql=" UPDATE ".$wqa_table." SET ".$period."_al='D' WHERE chr_group='wqi' AND ((".$period_mean."65) AND (".$period_mean."=45))"; $result=Run_Sql($region3_dialect,$sql); if($log_verbose) log_time($sql);
./ccamp_calc_meqs.php : $sql=" UPDATE ".$wqa_table." SET ".$period."_al='F' WHERE chr_group='wqi' AND ((".$period_mean."45) AND (".$period_mean."0))"; $result=Run_Sql($region3_dialect,$sql); if($log_verbose) log_time($sql);
./ccamp_calc_meqs.php : $sql=" UPDATE ".$wqa_table." SET ".$period."_hh='A' WHERE chr_group='wqi' AND ".$period_mean."=90 "; $result=Run_Sql($region3_dialect,$sql); if($log_verbose) log_time($sql);
./ccamp_calc_meqs.php : $sql=" UPDATE ".$wqa_table." SET ".$period."_hh='AA' WHERE chr_group='wqi' AND ".$period_mean."95 "; $result=Run_Sql($region3_dialect,$sql); if($log_verbose) log_time($sql);
./ccamp_calc_meqs.php : $sql=" UPDATE ".$wqa_table." SET ".$period."_hh='B' WHERE chr_group='wqi' AND ((".$period_mean."90) AND (".$period_mean."=80)) "; $result=Run_Sql($region3_dialect,$sql); if($log_verbose) log_time($sql);
./ccamp_calc_meqs.php : $sql=" UPDATE ".$wqa_table." SET ".$period."_hh='C' WHERE chr_group='wqi' AND ((".$period_mean."80) AND (".$period_mean."=65)) "; $result=Run_Sql($region3_dialect,$sql); if($log_verbose) log_time($sql);
./ccamp_calc_meqs.php : $sql=" UPDATE ".$wqa_table." SET ".$period."_hh='D' WHERE chr_group='wqi' AND ((".$period_mean."65) AND (".$period_mean."=45)) "; $result=Run_Sql($region3_dialect,$sql); if($log_verbose) log_time($sql);
./ccamp_calc_meqs.php : $sql=" UPDATE ".$wqa_table." SET ".$period."_hh='F' WHERE chr_group='wqi' AND ((".$period_mean."45) AND (".$period_mean."0)) "; $result=Run_Sql($region3_dialect,$sql); if($log_verbose) log_time($sql);
./ccamp_calc_meqs.php : function set_no_change_status($region3_dialect,$log,$log_verbose,$org_id,$wqa_table){
./ccamp_calc_meqs.php : $sql=" UPDATE ".$wqa_table." SET p1_score_al=lt_score_al WHERE lt_score_al IS NOT NULL AND p1_score_al IS NULL "; $result=Run_Sql($region3_dialect,$sql); if($log_verbose) log_time($sql);
./ccamp_calc_meqs.php : $sql=" UPDATE ".$wqa_table." SET p2_score_al=lt_score_al WHERE lt_score_al IS NOT NULL AND p2_score_al IS NULL "; $result=Run_Sql($region3_dialect,$sql); if($log_verbose) log_time($sql);
./ccamp_calc_meqs.php : $sql=" UPDATE ".$wqa_table." SET p1_score_hh=lt_score_hh WHERE lt_score_hh IS NOT NULL AND p1_score_hh IS NULL "; $result=Run_Sql($region3_dialect,$sql); if($log_verbose) log_time($sql);
./ccamp_calc_meqs.php : $sql=" UPDATE ".$wqa_table." SET p2_score_hh=lt_score_hh WHERE lt_score_hh IS NOT NULL AND p2_score_hh IS NULL "; $result=Run_Sql($region3_dialect,$sql); if($log_verbose) log_time($sql);
./ccamp_calc_meqs.php : $sql=" UPDATE ".$wqa_table." SET p1_status_al=lt_status_al WHERE lt_status_al IS NOT NULL AND p1_status_al IS NULL "; $result=Run_Sql($region3_dialect,$sql); if($log_verbose) log_time($sql);
./ccamp_calc_meqs.php : $sql=" UPDATE ".$wqa_table." SET p2_status_al=lt_status_al WHERE lt_status_al IS NOT NULL AND p2_status_al IS NULL "; $result=Run_Sql($region3_dialect,$sql); if($log_verbose) log_time($sql);
./ccamp_calc_meqs.php : $sql=" UPDATE ".$wqa_table." SET p1_status_hh=lt_status_hh WHERE lt_status_hh IS NOT NULL AND p1_status_hh IS NULL "; $result=Run_Sql($region3_dialect,$sql); if($log_verbose) log_time($sql);
./ccamp_calc_meqs.php : $sql=" UPDATE ".$wqa_table." SET p2_status_hh=lt_status_hh WHERE lt_status_hh IS NOT NULL AND p2_status_hh IS NULL "; $result=Run_Sql($region3_dialect,$sql); if($log_verbose) log_time($sql);
./ccamp_calc_meqs.php : function clone_grays($region3_dialect,$log,$log_verbose,$org_id,$wqa_table){
./ccamp_calc_meqs.php : $sql=" UPDATE ".$wqa_table." SET lt_status_al=lt_status WHERE lt_status 0 AND lt_status_al IS NULL "; $result=Run_Sql($region3_dialect,$sql); if($log_verbose) log_time($sql);
./ccamp_calc_meqs.php : $sql=" UPDATE ".$wqa_table." SET p1_status_al=p1_status WHERE p1_status 0 AND p1_status_al IS NULL "; $result=Run_Sql($region3_dialect,$sql); if($log_verbose) log_time($sql);
./ccamp_calc_meqs.php : $sql=" UPDATE ".$wqa_table." SET p2_status_al=p2_status WHERE p2_status 0 AND p2_status_al IS NULL "; $result=Run_Sql($region3_dialect,$sql); if($log_verbose) log_time($sql);
./ccamp_calc_meqs.php : $sql=" UPDATE ".$wqa_table." SET lt_status_hh=lt_status WHERE lt_status 0 AND lt_status_hh IS NULL "; $result=Run_Sql($region3_dialect,$sql); if($log_verbose) log_time($sql);
./ccamp_calc_meqs.php : $sql=" UPDATE ".$wqa_table." SET p1_status_hh=p1_status WHERE p1_status 0 AND p1_status_hh IS NULL "; $result=Run_Sql($region3_dialect,$sql); if($log_verbose) log_time($sql);
./ccamp_calc_meqs.php : $sql=" UPDATE ".$wqa_table." SET p2_status_hh=p2_status WHERE p2_status 0 AND p2_status_hh IS NULL "; $result=Run_Sql($region3_dialect,$sql); if($log_verbose) log_time($sql);
./ccamp_calc_meqs.php : function set_wqa_icons($region3_dialect,$log,$log_verbose,$org_id,$wqa_table){
./ccamp_calc_meqs.php : set_wqa_icons1($region3_dialect,$log,$log_verbose,$org_id,$wqa_table,$icon_to_set,$lt_status,$p1_status,$p2_status);
./ccamp_calc_meqs.php : set_wqa_icons1($region3_dialect,$log,$log_verbose,$org_id,$wqa_table,$icon_to_set,$lt_status,$p1_status,$p2_status);
./ccamp_calc_meqs.php : function set_wqa_icons1($region3_dialect,$log,$log_verbose,$org_id,$wqa_table,$lt_icon,$lt_status,$p1_status,$p2_status){
./ccamp_calc_meqs.php : $sql="UPDATE ".$wqa_table." SET ".$lt_icon."='circle_wht_wht' "; $result=Run_Sql($region3_dialect,$sql); if($log_verbose) log_time($sql);
./ccamp_calc_meqs.php : $sql="UPDATE ".$wqa_table." SET ".$lt_icon."='circle_blu_blu' WHERE ".$p1_status."='AA' AND ".$p2_status."='AA' "; $result=Run_Sql($region3_dialect,$sql); if($log_verbose) log_time($sql);
./ccamp_calc_meqs.php : $sql="UPDATE ".$wqa_table." SET ".$lt_icon."='down_arrow_blu_blu' WHERE ".$p1_status."='AA' AND ".$p2_status."='AA' AND change_dir='Increasing'"; $result=Run_Sql($region3_dialect,$sql); if($log_verbose) log_time($sql);
./ccamp_calc_meqs.php : $sql="UPDATE ".$wqa_table." SET ".$lt_icon."='up_arrow_blu_blu' WHERE ".$p1_status."='AA' AND ".$p2_status."='AA' AND change_dir='Decreasing'"; $result=Run_Sql($region3_dialect,$sql); if($log_verbose) log_time($sql);
./ccamp_calc_meqs.php : $sql="UPDATE ".$wqa_table." SET ".$lt_icon."='circle_dkgrn_dkgrn' WHERE ".$p1_status."='AA' AND ".$p2_status."='AA' "; $result=Run_Sql($region3_dialect,$sql); if($log_verbose) log_time($sql);
./ccamp_calc_meqs.php : $sql="UPDATE ".$wqa_table." SET ".$lt_icon."='down_arrow_dkgrn_dkgrn' WHERE ".$p1_status."='AA' AND ".$p2_status."='AA' AND change_dir='Increasing'"; $result=Run_Sql($region3_dialect,$sql); if($log_verbose) log_time($sql);
./ccamp_calc_meqs.php : $sql="UPDATE ".$wqa_table." SET ".$lt_icon."='up_arrow_dkgrn_dkgrn' WHERE ".$p1_status."='AA' AND ".$p2_status."='AA' AND change_dir='Decreasing'"; $result=Run_Sql($region3_dialect,$sql); if($log_verbose) log_time($sql);
./ccamp_calc_meqs.php : $sql="UPDATE ".$wqa_table." SET ".$lt_icon."='circle_dkgrn_dkgrn' WHERE ".$p1_status."='A' AND ".$p2_status."='A' "; $result=Run_Sql($region3_dialect,$sql); if($log_verbose) log_time($sql);
./ccamp_calc_meqs.php : $sql="UPDATE ".$wqa_table." SET ".$lt_icon."='circle_grn_grn' WHERE ".$p1_status."='B' AND ".$p2_status."='B' "; $result=Run_Sql($region3_dialect,$sql); if($log_verbose) log_time($sql);
./ccamp_calc_meqs.php : $sql="UPDATE ".$wqa_table." SET ".$lt_icon."='circle_yel_yel' WHERE ".$p1_status."='C' AND ".$p2_status."='C' "; $result=Run_Sql($region3_dialect,$sql); if($log_verbose) log_time($sql);
./ccamp_calc_meqs.php : $sql="UPDATE ".$wqa_table." SET ".$lt_icon."='circle_red_red' WHERE ".$p1_status."='D' AND ".$p2_status."='D' "; $result=Run_Sql($region3_dialect,$sql); if($log_verbose) log_time($sql);
./ccamp_calc_meqs.php : $sql="UPDATE ".$wqa_table." SET ".$lt_icon."='circle_dkred_dkred' WHERE ".$p1_status."='F' AND ".$p2_status."='F' "; $result=Run_Sql($region3_dialect,$sql); if($log_verbose) log_time($sql);
./ccamp_calc_meqs.php : $sql="UPDATE ".$wqa_table." SET ".$lt_icon."='down_arrow_dkgrn_dkgrn' WHERE dir='+' AND ".$p1_status."='A' AND ".$p2_status."='A' AND change_dir='Increasing'"; $result=Run_Sql($region3_dialect,$sql); if($log_verbose) log_time($sql);
./ccamp_calc_meqs.php : $sql="UPDATE ".$wqa_table." SET ".$lt_icon."='down_arrow_dkgrn_grn' WHERE dir='+' AND ".$p1_status."='A' AND ".$p2_status."='B' AND change_dir='Increasing'"; $result=Run_Sql($region3_dialect,$sql); if($log_verbose) log_time($sql);
./ccamp_calc_meqs.php : $sql="UPDATE ".$wqa_table." SET ".$lt_icon."='down_arrow_dkgrn_yel' WHERE dir='+' AND ".$p1_status."='A' AND ".$p2_status."='C' AND change_dir='Increasing'"; $result=Run_Sql($region3_dialect,$sql); if($log_verbose) log_time($sql);
./ccamp_calc_meqs.php : $sql="UPDATE ".$wqa_table." SET ".$lt_icon."='down_arrow_dkgrn_red' WHERE dir='+' AND ".$p1_status."='A' AND ".$p2_status."='D' AND change_dir='Increasing'"; $result=Run_Sql($region3_dialect,$sql); if($log_verbose) log_time($sql);
./ccamp_calc_meqs.php : $sql="UPDATE ".$wqa_table." SET ".$lt_icon."='down_arrow_dkgrn_dkred' WHERE dir='+' AND ".$p1_status."='A' AND ".$p2_status."='F' AND change_dir='Increasing'"; $result=Run_Sql($region3_dialect,$sql); if($log_verbose) log_time($sql);
./ccamp_calc_meqs.php : $sql="UPDATE ".$wqa_table." SET ".$lt_icon."='down_arrow_grn_grn' WHERE dir='+' AND ".$p1_status."='B' AND ".$p2_status."='B' AND change_dir='Increasing'"; $result=Run_Sql($region3_dialect,$sql); if($log_verbose) log_time($sql);
./ccamp_calc_meqs.php : $sql="UPDATE ".$wqa_table." SET ".$lt_icon."='down_arrow_grn_yel' WHERE dir='+' AND ".$p1_status."='B' AND ".$p2_status."='C' AND change_dir='Increasing'"; $result=Run_Sql($region3_dialect,$sql); if($log_verbose) log_time($sql);
./ccamp_calc_meqs.php : $sql="UPDATE ".$wqa_table." SET ".$lt_icon."='down_arrow_grn_red' WHERE dir='+' AND ".$p1_status."='B' AND ".$p2_status."='D' AND change_dir='Increasing'"; $result=Run_Sql($region3_dialect,$sql); if($log_verbose) log_time($sql);
./ccamp_calc_meqs.php : $sql="UPDATE ".$wqa_table." SET ".$lt_icon."='down_arrow_grn_dkred' WHERE dir='+' AND ".$p1_status."='B' AND ".$p2_status."='F' AND change_dir='Increasing'"; $result=Run_Sql($region3_dialect,$sql); if($log_verbose) log_time($sql);
./ccamp_calc_meqs.php : $sql="UPDATE ".$wqa_table." SET ".$lt_icon."='down_arrow_yel_yel' WHERE dir='+' AND ".$p1_status."='C' AND ".$p2_status."='C' AND change_dir='Increasing'"; $result=Run_Sql($region3_dialect,$sql); if($log_verbose) log_time($sql);
./ccamp_calc_meqs.php : $sql="UPDATE ".$wqa_table." SET ".$lt_icon."='down_arrow_yel_red' WHERE dir='+' AND ".$p1_status."='C' AND ".$p2_status."='D' AND change_dir='Increasing'"; $result=Run_Sql($region3_dialect,$sql); if($log_verbose) log_time($sql);
./ccamp_calc_meqs.php : $sql="UPDATE ".$wqa_table." SET ".$lt_icon."='down_arrow_yel_dkred' WHERE dir='+' AND ".$p1_status."='C' AND ".$p2_status."='F' AND change_dir='Increasing'"; $result=Run_Sql($region3_dialect,$sql); if($log_verbose) log_time($sql);
./ccamp_calc_meqs.php : $sql="UPDATE ".$wqa_table." SET ".$lt_icon."='down_arrow_red_red' WHERE dir='+' AND ".$p1_status."='D' AND ".$p2_status."='D' AND change_dir='Increasing'"; $result=Run_Sql($region3_dialect,$sql); if($log_verbose) log_time($sql);
./ccamp_calc_meqs.php : $sql="UPDATE ".$wqa_table." SET ".$lt_icon."='down_arrow_red_dkred' WHERE dir='+' AND ".$p1_status."='D' AND ".$p2_status."='F' AND change_dir='Increasing'"; $result=Run_Sql($region3_dialect,$sql); if($log_verbose) log_time($sql);
./ccamp_calc_meqs.php : $sql="UPDATE ".$wqa_table." SET ".$lt_icon."='down_arrow_dkred_dkred' WHERE dir='+' AND ".$p1_status."='F' AND ".$p2_status."='F' AND change_dir='Increasing'"; $result=Run_Sql($region3_dialect,$sql); if($log_verbose) log_time($sql);
./ccamp_calc_meqs.php : $sql="UPDATE ".$wqa_table." SET ".$lt_icon."='up_arrow_dkgrn_dkgrn' WHERE dir='+' AND ".$p1_status."='A' AND ".$p2_status."='A' AND change_dir='Decreasing'"; $result=Run_Sql($region3_dialect,$sql); if($log_verbose) log_time($sql);
./ccamp_calc_meqs.php : $sql="UPDATE ".$wqa_table." SET ".$lt_icon."='up_arrow_grn_dkgrn' WHERE dir='+' AND ".$p1_status."='B' AND ".$p2_status."='A' AND change_dir='Decreasing'"; $result=Run_Sql($region3_dialect,$sql); if($log_verbose) log_time($sql);
./ccamp_calc_meqs.php : $sql="UPDATE ".$wqa_table." SET ".$lt_icon."='up_arrow_grn_grn' WHERE dir='+' AND ".$p1_status."='B' AND ".$p2_status."='B' AND change_dir='Decreasing'"; $result=Run_Sql($region3_dialect,$sql); if($log_verbose) log_time($sql);
./ccamp_calc_meqs.php : $sql="UPDATE ".$wqa_table." SET ".$lt_icon."='up_arrow_yel_dkgrn' WHERE dir='+' AND ".$p1_status."='C' AND ".$p2_status."='A' AND change_dir='Decreasing'"; $result=Run_Sql($region3_dialect,$sql); if($log_verbose) log_time($sql);
./ccamp_calc_meqs.php : $sql="UPDATE ".$wqa_table." SET ".$lt_icon."='up_arrow_yel_grn' WHERE dir='+' AND ".$p1_status."='C' AND ".$p2_status."='B' AND change_dir='Decreasing'"; $result=Run_Sql($region3_dialect,$sql); if($log_verbose) log_time($sql);
./ccamp_calc_meqs.php : $sql="UPDATE ".$wqa_table." SET ".$lt_icon."='up_arrow_yel_yel' WHERE dir='+' AND ".$p1_status."='C' AND ".$p2_status."='C' AND change_dir='Decreasing'"; $result=Run_Sql($region3_dialect,$sql); if($log_verbose) log_time($sql);
./ccamp_calc_meqs.php : $sql="UPDATE ".$wqa_table." SET ".$lt_icon."='up_arrow_red_dkgrn' WHERE dir='+' AND ".$p1_status."='D' AND ".$p2_status."='A' AND change_dir='Decreasing'"; $result=Run_Sql($region3_dialect,$sql); if($log_verbose) log_time($sql);
./ccamp_calc_meqs.php : $sql="UPDATE ".$wqa_table." SET ".$lt_icon."='up_arrow_red_grn' WHERE dir='+' AND ".$p1_status."='D' AND ".$p2_status."='B' AND change_dir='Decreasing'"; $result=Run_Sql($region3_dialect,$sql); if($log_verbose) log_time($sql);
./ccamp_calc_meqs.php : $sql="UPDATE ".$wqa_table." SET ".$lt_icon."='up_arrow_red_yel' WHERE dir='+' AND ".$p1_status."='D' AND ".$p2_status."='C' AND change_dir='Decreasing'"; $result=Run_Sql($region3_dialect,$sql); if($log_verbose) log_time($sql);
./ccamp_calc_meqs.php : $sql="UPDATE ".$wqa_table." SET ".$lt_icon."='up_arrow_red_red' WHERE dir='+' AND ".$p1_status."='D' AND ".$p2_status."='D' AND change_dir='Decreasing'"; $result=Run_Sql($region3_dialect,$sql); if($log_verbose) log_time($sql);
./ccamp_calc_meqs.php : $sql="UPDATE ".$wqa_table." SET ".$lt_icon."='up_arrow_dkred_dkgrn' WHERE dir='+' AND ".$p1_status."='F' AND ".$p2_status."='A' AND change_dir='Decreasing'"; $result=Run_Sql($region3_dialect,$sql); if($log_verbose) log_time($sql);
./ccamp_calc_meqs.php : $sql="UPDATE ".$wqa_table." SET ".$lt_icon."='up_arrow_dkred_grn' WHERE dir='+' AND ".$p1_status."='F' AND ".$p2_status."='B' AND change_dir='Decreasing'"; $result=Run_Sql($region3_dialect,$sql); if($log_verbose) log_time($sql);
./ccamp_calc_meqs.php : $sql="UPDATE ".$wqa_table." SET ".$lt_icon."='up_arrow_dkred_yel' WHERE dir='+' AND ".$p1_status."='F' AND ".$p2_status."='C' AND change_dir='Decreasing'"; $result=Run_Sql($region3_dialect,$sql); if($log_verbose) log_time($sql);
./ccamp_calc_meqs.php : $sql="UPDATE ".$wqa_table." SET ".$lt_icon."='up_arrow_dkred_red' WHERE dir='+' AND ".$p1_status."='F' AND ".$p2_status."='D' AND change_dir='Decreasing'"; $result=Run_Sql($region3_dialect,$sql); if($log_verbose) log_time($sql);
./ccamp_calc_meqs.php : $sql="UPDATE ".$wqa_table." SET ".$lt_icon."='up_arrow_dkred_dkred' WHERE dir='+' AND ".$p1_status."='F' AND ".$p2_status."='F' AND change_dir='Decreasing'"; $result=Run_Sql($region3_dialect,$sql); if($log_verbose) log_time($sql);
./ccamp_calc_meqs.php : $sql="UPDATE ".$wqa_table." SET ".$lt_icon."='down_arrow_dkgrn_dkgrn' WHERE dir='-' AND ".$p1_status."='A' AND ".$p2_status."='A' AND change_dir='Decreasing'"; $result=Run_Sql($region3_dialect,$sql); if($log_verbose) log_time($sql);
./ccamp_calc_meqs.php : $sql="UPDATE ".$wqa_table." SET ".$lt_icon."='down_arrow_dkgrn_grn' WHERE dir='-' AND ".$p1_status."='A' AND ".$p2_status."='B' AND change_dir='Decreasing'"; $result=Run_Sql($region3_dialect,$sql); if($log_verbose) log_time($sql);
./ccamp_calc_meqs.php : $sql="UPDATE ".$wqa_table." SET ".$lt_icon."='down_arrow_dkgrn_yel' WHERE dir='-' AND ".$p1_status."='A' AND ".$p2_status."='C' AND change_dir='Decreasing'"; $result=Run_Sql($region3_dialect,$sql); if($log_verbose) log_time($sql);
./ccamp_calc_meqs.php : $sql="UPDATE ".$wqa_table." SET ".$lt_icon."='down_arrow_dkgrn_red' WHERE dir='-' AND ".$p1_status."='A' AND ".$p2_status."='D' AND change_dir='Decreasing'"; $result=Run_Sql($region3_dialect,$sql); if($log_verbose) log_time($sql);
./ccamp_calc_meqs.php : $sql="UPDATE ".$wqa_table." SET ".$lt_icon."='down_arrow_dkgrn_dkred' WHERE dir='-' AND ".$p1_status."='A' AND ".$p2_status."='F' AND change_dir='Decreasing'"; $result=Run_Sql($region3_dialect,$sql); if($log_verbose) log_time($sql);
./ccamp_calc_meqs.php : $sql="UPDATE ".$wqa_table." SET ".$lt_icon."='down_arrow_grn_grn' WHERE dir='-' AND ".$p1_status."='B' AND ".$p2_status."='B' AND change_dir='Decreasing'"; $result=Run_Sql($region3_dialect,$sql); if($log_verbose) log_time($sql);
./ccamp_calc_meqs.php : $sql="UPDATE ".$wqa_table." SET ".$lt_icon."='down_arrow_grn_yel' WHERE dir='-' AND ".$p1_status."='B' AND ".$p2_status."='C' AND change_dir='Decreasing'"; $result=Run_Sql($region3_dialect,$sql); if($log_verbose) log_time($sql);
./ccamp_calc_meqs.php : $sql="UPDATE ".$wqa_table." SET ".$lt_icon."='down_arrow_grn_red' WHERE dir='-' AND ".$p1_status."='B' AND ".$p2_status."='D' AND change_dir='Decreasing'"; $result=Run_Sql($region3_dialect,$sql); if($log_verbose) log_time($sql);
./ccamp_calc_meqs.php : $sql="UPDATE ".$wqa_table." SET ".$lt_icon."='down_arrow_grn_dkred' WHERE dir='-' AND ".$p1_status."='B' AND ".$p2_status."='F' AND change_dir='Decreasing'"; $result=Run_Sql($region3_dialect,$sql); if($log_verbose) log_time($sql);
./ccamp_calc_meqs.php : $sql="UPDATE ".$wqa_table." SET ".$lt_icon."='down_arrow_yel_yel' WHERE dir='-' AND ".$p1_status."='C' AND ".$p2_status."='C' AND change_dir='Decreasing'"; $result=Run_Sql($region3_dialect,$sql); if($log_verbose) log_time($sql);
./ccamp_calc_meqs.php : $sql="UPDATE ".$wqa_table." SET ".$lt_icon."='down_arrow_yel_red' WHERE dir='-' AND ".$p1_status."='C' AND ".$p2_status."='D' AND change_dir='Decreasing'"; $result=Run_Sql($region3_dialect,$sql); if($log_verbose) log_time($sql);
./ccamp_calc_meqs.php : $sql="UPDATE ".$wqa_table." SET ".$lt_icon."='down_arrow_yel_dkred' WHERE dir='-' AND ".$p1_status."='C' AND ".$p2_status."='F' AND change_dir='Decreasing'"; $result=Run_Sql($region3_dialect,$sql); if($log_verbose) log_time($sql);
./ccamp_calc_meqs.php : $sql="UPDATE ".$wqa_table." SET ".$lt_icon."='down_arrow_red_red' WHERE dir='-' AND ".$p1_status."='D' AND ".$p2_status."='D' AND change_dir='Decreasing'"; $result=Run_Sql($region3_dialect,$sql); if($log_verbose) log_time($sql);
./ccamp_calc_meqs.php : $sql="UPDATE ".$wqa_table." SET ".$lt_icon."='down_arrow_red_dkred' WHERE dir='-' AND ".$p1_status."='D' AND ".$p2_status."='F' AND change_dir='Decreasing'"; $result=Run_Sql($region3_dialect,$sql); if($log_verbose) log_time($sql);
./ccamp_calc_meqs.php : $sql="UPDATE ".$wqa_table." SET ".$lt_icon."='down_arrow_dkred_dkred' WHERE dir='-' AND ".$p1_status."='F' AND ".$p2_status."='F' AND change_dir='Decreasing'"; $result=Run_Sql($region3_dialect,$sql); if($log_verbose) log_time($sql);
./ccamp_calc_meqs.php : $sql="UPDATE ".$wqa_table." SET ".$lt_icon."='up_arrow_dkgrn_dkgrn' WHERE dir='-' AND ".$p1_status."='A' AND ".$p2_status."='A' AND change_dir='Increasing'"; $result=Run_Sql($region3_dialect,$sql); if($log_verbose) log_time($sql);
./ccamp_calc_meqs.php : $sql="UPDATE ".$wqa_table." SET ".$lt_icon."='up_arrow_grn_dkgrn' WHERE dir='-' AND ".$p1_status."='B' AND ".$p2_status."='A' AND change_dir='Increasing'"; $result=Run_Sql($region3_dialect,$sql); if($log_verbose) log_time($sql);
./ccamp_calc_meqs.php : $sql="UPDATE ".$wqa_table." SET ".$lt_icon."='up_arrow_grn_grn' WHERE dir='-' AND ".$p1_status."='B' AND ".$p2_status."='B' AND change_dir='Increasing'"; $result=Run_Sql($region3_dialect,$sql); if($log_verbose) log_time($sql);
./ccamp_calc_meqs.php : $sql="UPDATE ".$wqa_table." SET ".$lt_icon."='up_arrow_yel_dkgrn' WHERE dir='-' AND ".$p1_status."='C' AND ".$p2_status."='A' AND change_dir='Increasing'"; $result=Run_Sql($region3_dialect,$sql); if($log_verbose) log_time($sql);
./ccamp_calc_meqs.php : $sql="UPDATE ".$wqa_table." SET ".$lt_icon."='up_arrow_yel_grn' WHERE dir='-' AND ".$p1_status."='C' AND ".$p2_status."='B' AND change_dir='Increasing'"; $result=Run_Sql($region3_dialect,$sql); if($log_verbose) log_time($sql);
./ccamp_calc_meqs.php : $sql="UPDATE ".$wqa_table." SET ".$lt_icon."='up_arrow_yel_yel' WHERE dir='-' AND ".$p1_status."='C' AND ".$p2_status."='C' AND change_dir='Increasing'"; $result=Run_Sql($region3_dialect,$sql); if($log_verbose) log_time($sql);
./ccamp_calc_meqs.php : $sql="UPDATE ".$wqa_table." SET ".$lt_icon."='up_arrow_red_dkgrn' WHERE dir='-' AND ".$p1_status."='D' AND ".$p2_status."='A' AND change_dir='Increasing'"; $result=Run_Sql($region3_dialect,$sql); if($log_verbose) log_time($sql);
./ccamp_calc_meqs.php : $sql="UPDATE ".$wqa_table." SET ".$lt_icon."='up_arrow_red_grn' WHERE dir='-' AND ".$p1_status."='D' AND ".$p2_status."='B' AND change_dir='Increasing'"; $result=Run_Sql($region3_dialect,$sql); if($log_verbose) log_time($sql);
./ccamp_calc_meqs.php : $sql="UPDATE ".$wqa_table." SET ".$lt_icon."='up_arrow_red_yel' WHERE dir='-' AND ".$p1_status."='D' AND ".$p2_status."='C' AND change_dir='Increasing'"; $result=Run_Sql($region3_dialect,$sql); if($log_verbose) log_time($sql);
./ccamp_calc_meqs.php : $sql="UPDATE ".$wqa_table." SET ".$lt_icon."='up_arrow_red_red' WHERE dir='-' AND ".$p1_status."='D' AND ".$p2_status."='D' AND change_dir='Increasing'"; $result=Run_Sql($region3_dialect,$sql); if($log_verbose) log_time($sql);
./ccamp_calc_meqs.php : $sql="UPDATE ".$wqa_table." SET ".$lt_icon."='up_arrow_dkred_dkgrn' WHERE dir='-' AND ".$p1_status."='F' AND ".$p2_status."='A' AND change_dir='Increasing'"; $result=Run_Sql($region3_dialect,$sql); if($log_verbose) log_time($sql);
./ccamp_calc_meqs.php : $sql="UPDATE ".$wqa_table." SET ".$lt_icon."='up_arrow_dkred_grn' WHERE dir='-' AND ".$p1_status."='F' AND ".$p2_status."='B' AND change_dir='Increasing'"; $result=Run_Sql($region3_dialect,$sql); if($log_verbose) log_time($sql);
./ccamp_calc_meqs.php : $sql="UPDATE ".$wqa_table." SET ".$lt_icon."='up_arrow_dkred_yel' WHERE dir='-' AND ".$p1_status."='F' AND ".$p2_status."='C' AND change_dir='Increasing'"; $result=Run_Sql($region3_dialect,$sql); if($log_verbose) log_time($sql);
./ccamp_calc_meqs.php : $sql="UPDATE ".$wqa_table." SET ".$lt_icon."='up_arrow_dkred_red' WHERE dir='-' AND ".$p1_status."='F' AND ".$p2_status."='D' AND change_dir='Increasing'"; $result=Run_Sql($region3_dialect,$sql); if($log_verbose) log_time($sql);
./ccamp_calc_meqs.php : $sql="UPDATE ".$wqa_table." SET ".$lt_icon."='up_arrow_dkred_dkred' WHERE dir='-' AND ".$p1_status."='F' AND ".$p2_status."='F' AND change_dir='Increasing'"; $result=Run_Sql($region3_dialect,$sql); if($log_verbose) log_time($sql);
./ccamp_calc_meqs.php : $sql="UPDATE ".$wqa_table." SET ".$lt_icon."='circle_gray_4' WHERE ".$p1_status."='4' AND ".$p2_status."='4' "; $result=Run_Sql($region3_dialect,$sql); if($log_verbose) log_time($sql);
./ccamp_calc_meqs.php : $sql="UPDATE ".$wqa_table." SET ".$lt_icon."='circle_gray_3' WHERE ".$p1_status."='3' AND ".$p2_status."='3' "; $result=Run_Sql($region3_dialect,$sql); if($log_verbose) log_time($sql);
./ccamp_calc_meqs.php : $sql="UPDATE ".$wqa_table." SET ".$lt_icon."='circle_gray_2' WHERE ".$p1_status."='2' AND ".$p2_status."='2' "; $result=Run_Sql($region3_dialect,$sql); if($log_verbose) log_time($sql);
./ccamp_calc_meqs.php : $sql="UPDATE ".$wqa_table." SET ".$lt_icon."='circle_gray_1' WHERE ".$p1_status."='1' AND ".$p2_status."='1' "; $result=Run_Sql($region3_dialect,$sql); if($log_verbose) log_time($sql);
./ccamp_calc_meqs.php : $sql="UPDATE ".$wqa_table." SET ".$lt_icon."='up_dg' WHERE ".$p1_status."='4' AND change_dir='Increasing' "; $result=Run_Sql($region3_dialect,$sql); if($log_verbose) log_time($sql);
./ccamp_calc_meqs.php : $sql="UPDATE ".$wqa_table." SET ".$lt_icon."='up_dg' WHERE ".$p1_status."='3' AND change_dir='Increasing' "; $result=Run_Sql($region3_dialect,$sql); if($log_verbose) log_time($sql);
./ccamp_calc_meqs.php : $sql="UPDATE ".$wqa_table." SET ".$lt_icon."='up_dg' WHERE ".$p1_status."='2' AND change_dir='Increasing' "; $result=Run_Sql($region3_dialect,$sql); if($log_verbose) log_time($sql);
./ccamp_calc_meqs.php : $sql="UPDATE ".$wqa_table." SET ".$lt_icon."='up_dg' WHERE ".$p1_status."='1' AND change_dir='Increasing' "; $result=Run_Sql($region3_dialect,$sql); if($log_verbose) log_time($sql);
./ccamp_calc_meqs.php : $sql="UPDATE ".$wqa_table." SET ".$lt_icon."='down_dg' WHERE ".$p1_status."='4' AND change_dir='Decreasing' "; $result=Run_Sql($region3_dialect,$sql); if($log_verbose) log_time($sql);
./ccamp_calc_meqs.php : $sql="UPDATE ".$wqa_table." SET ".$lt_icon."='down_dg' WHERE ".$p1_status."='3' AND change_dir='Decreasing' "; $result=Run_Sql($region3_dialect,$sql); if($log_verbose) log_time($sql);
./ccamp_calc_meqs.php : $sql="UPDATE ".$wqa_table." SET ".$lt_icon."='down_dg' WHERE ".$p1_status."='2' AND change_dir='Decreasing' "; $result=Run_Sql($region3_dialect,$sql); if($log_verbose) log_time($sql);
./ccamp_calc_meqs.php : $sql="UPDATE ".$wqa_table." SET ".$lt_icon."='down_dg' WHERE ".$p1_status."='1' AND change_dir='Decreasing' "; $result=Run_Sql($region3_dialect,$sql); if($log_verbose) log_time($sql);
./ccamp_calc_meqs.php : function set_hu_huc12($region3_dialect,$log,$log_verbose,$org_id,$index_table,$site_table){
./ccamp_calc_meqs.php : $result=Run_Sql($region3_dialect,$sql);
./ccamp_calc_meqs.php : function set_cc_lsi($region3_dialect,$log,$log_verbose,$org_id,$index_table,$site_table){
./ccamp_calc_meqs.php : function set_wb_id($region3_dialect,$log,$log_verbose,$org_id,$table,$site_table){
./ccamp_calc_meqs.php : $result=Run_Sql($region3_dialect,$sql);
./ccamp_calc_meqs.php : function reset_id_keys($region3_dialect,$log,$table_to_reset){
./ccamp_calc_meqs.php : $dataresult=sql_query($region3_dialect,$sql);
./ccamp_calc_meqs.php : $dataresult=sql_query($region3_dialect,$sql);
./ccamp_calc_meqs.php : $dataresult=sql_query($region3_dialect,$sql);
./ccamp_calc_meqs.php : function move_wqis_2_wqa($region3_dialect,$log,$wqa_table,$web_data_table){
./ccamp_calc_meqs.php : $result=Run_Sql($region3_dialect,$sql); if($log_verbose) log_time($sql);
./ccamp_calc_meqs.php : $index='Index_Aquatic_Life'; move_wqi_2_wqa($region3_dialect,$log,$wqa_table,$web_data_table,$index,"_al");
./ccamp_calc_meqs.php : $index='Index_Human_Health'; move_wqi_2_wqa($region3_dialect,$log,$wqa_table,$web_data_table,$index,"_hh");
./ccamp_calc_meqs.php : $index='Index_Biostim_Risk'; move_wqi_2_wqa($region3_dialect,$log,$wqa_table,$web_data_table,$index,"_al");
./ccamp_calc_meqs.php : $index='Index_BMI'; move_wqi_2_wqa($region3_dialect,$log,$wqa_table,$web_data_table,$index,"_al");
./ccamp_calc_meqs.php : $index='Index_algae'; move_wqi_2_wqa($region3_dialect,$log,$wqa_table,$web_data_table,$index,"_al");
./ccamp_calc_meqs.php : $index='Index_phab'; move_wqi_2_wqa($region3_dialect,$log,$wqa_table,$web_data_table,$index,"_al");
./ccamp_calc_meqs.php : $index='Index_Riparian'; move_wqi_2_wqa($region3_dialect,$log,$wqa_table,$web_data_table,$index,"_al");
./ccamp_calc_meqs.php : $index='Index_Habitat'; move_wqi_2_wqa($region3_dialect,$log,$wqa_table,$web_data_table,$index,"_al");
./ccamp_calc_meqs.php : $index='Index_Met_Aquatic_Life_H2o'; move_wqi_2_wqa($region3_dialect,$log,$wqa_table,$web_data_table,$index,"_al");
./ccamp_calc_meqs.php : $index='Index_Met_Aquatic_Life_Sed'; move_wqi_2_wqa($region3_dialect,$log,$wqa_table,$web_data_table,$index,"_al");
./ccamp_calc_meqs.php : $index='Index_Met_Human_Health'; move_wqi_2_wqa($region3_dialect,$log,$wqa_table,$web_data_table,$index,"_hh");
./ccamp_calc_meqs.php : $index='Index_Org_Aquatic_Life_H2o'; move_wqi_2_wqa($region3_dialect,$log,$wqa_table,$web_data_table,$index,"_al");
./ccamp_calc_meqs.php : $index='Index_Org_Aquatic_Life_Sed'; move_wqi_2_wqa($region3_dialect,$log,$wqa_table,$web_data_table,$index,"_al");
./ccamp_calc_meqs.php : $index='Index_Org_Human_Health'; move_wqi_2_wqa($region3_dialect,$log,$wqa_table,$web_data_table,$index,"_hh");
./ccamp_calc_meqs.php : $index='Index_Pah_Aquatic_Life_H2o'; move_wqi_2_wqa($region3_dialect,$log,$wqa_table,$web_data_table,$index,"_al");
./ccamp_calc_meqs.php : $index='Index_Pah_Aquatic_Life_Sed'; move_wqi_2_wqa($region3_dialect,$log,$wqa_table,$web_data_table,$index,"_al");
./ccamp_calc_meqs.php : $index='Index_Pah_Human_Health'; move_wqi_2_wqa($region3_dialect,$log,$wqa_table,$web_data_table,$index,"_hh");
./ccamp_calc_meqs.php : $index='Index_Pathogens'; move_wqi_2_wqa($region3_dialect,$log,$wqa_table,$web_data_table,$index,"_hh");
./ccamp_calc_meqs.php : $index='Index_Toxicity_H2o'; move_wqi_2_wqa($region3_dialect,$log,$wqa_table,$web_data_table,$index,"_al");
./ccamp_calc_meqs.php : $index='Index_Toxicity_Sed'; move_wqi_2_wqa($region3_dialect,$log,$wqa_table,$web_data_table,$index,"_al");
./ccamp_calc_meqs.php : $index='Index_WQ_Aquatic_Life'; move_wqi_2_wqa($region3_dialect,$log,$wqa_table,$web_data_table,$index,"_al");
./ccamp_calc_meqs.php : $index='Index_WQ_Groundwater'; move_wqi_2_wqa($region3_dialect,$log,$wqa_table,$web_data_table,$index,"_hh");
./ccamp_calc_meqs.php : $index='Index_WQ_Human_Health'; move_wqi_2_wqa($region3_dialect,$log,$wqa_table,$web_data_table,$index,"_hh");
./ccamp_calc_meqs.php : $index='Index_Salts_Human_Health'; move_wqi_2_wqa($region3_dialect,$log,$wqa_table,$web_data_table,$index,"_hh");
./ccamp_calc_meqs.php : reset_id_keys($region3_dialect,$log,$wqa_table);
./ccamp_calc_meqs.php : $result=Run_Sql($region3_dialect,$sql);if ($log_verbose) {$txt='sql '.$sql; log_time($txt);}
./ccamp_calc_meqs.php : $result=Run_Sql($region3_dialect,$sql);if ($log_verbose) {$txt='sql '.$sql; log_time($txt);}
./ccamp_calc_meqs.php : $result=Run_Sql($region3_dialect,$sql);if ($log_verbose) {$txt='sql '.$sql; log_time($txt);}
./ccamp_calc_meqs.php : $result=Run_Sql($region3_dialect,$sql);if ($log_verbose) {$txt='sql '.$sql; log_time($txt);}
./ccamp_calc_meqs.php : $result=Run_Sql($region3_dialect,$sql);if ($log_verbose) {$txt='sql '.$sql; log_time($txt);}
./ccamp_calc_meqs.php : $result=Run_Sql($region3_dialect,$sql);if ($log_verbose) {$txt='sql '.$sql; log_time($txt);}
./ccamp_calc_meqs.php : $result=Run_Sql($region3_dialect,$sql);if ($log_verbose) {$txt='sql '.$sql; log_time($txt);}
./ccamp_calc_meqs.php : function move_wqi_2_wqa($region3_dialect,$log,$wqa_table,$web_data_table,$index,$suffix){
./ccamp_calc_meqs.php : $result=Run_Sql($region3_dialect,$sql); if($log_verbose) log_time($sql);
./ccamp_calc_meqs.php : $result=Run_Sql($region3_dialect,$sql); if($log_verbose) log_time($sql);
./ccamp_calc_meqs.php : $result=Run_Sql($region3_dialect,$sql); if($log_verbose) log_time($sql);
./ccamp_calc_meqs.php : $result=Run_Sql($region3_dialect,$sql); if($log_verbose) log_time($sql);
./ccamp_calc_meqs.php : $result=Run_Sql($region3_dialect,$sql); if($log_verbose) log_time($sql);
./ccamp_calc_meqs.php : $result=Run_Sql($region3_dialect,$sql); if($log_verbose) log_time($sql);
./ccamp_calc_meqs.php : $result=Run_Sql($region3_dialect,$sql); if($log_verbose) log_time($sql);
./ccamp_calc_meqs.php : function patch_2($region3_dialect,$log,$log_verbose,$org_id,$wqa_table,$web_data_table,$index,$site_table){
./ccamp_calc_meqs.php : $result=Run_Sql($region3_dialect,$sql);if ($log_verbose) {$txt='sql '.$sql; log_time($txt);}
./ccamp_calc_meqs.php : $result=Run_Sql($region3_dialect,$sql);if ($log_verbose) {$txt='sql '.$sql; log_time($txt);}
./ccamp_calc_meqs.php : $result=Run_Sql($region3_dialect,$sql);if ($log_verbose) {$txt='sql '.$sql; log_time($txt);}
./ccamp_calc_meqs.php : $result=Run_Sql($region3_dialect,$sql);if ($log_verbose) {$txt='sql '.$sql; log_time($txt);}
./ccamp_calc_meqs.php : $result=Run_Sql($region3_dialect,$sql);if ($log_verbose) {$txt='sql '.$sql; log_time($txt);}
./ccamp_calc_meqs.php : $result=Run_Sql($region3_dialect,$sql);if ($log_verbose) {$txt='sql '.$sql; log_time($txt);}
./ccamp_calc_meqs.php : $result=Run_Sql($region3_dialect,$sql);if ($log_verbose) {$txt='sql '.$sql; log_time($txt);}
./ccamp_calc_meqs.php : function set_wqa_goals($region3_dialect,$log,$log_verbose,$org_id,$wqa_table){
./ccamp_calc_meqs.php : $result=Run_Sql($region3_dialect,$sql); if($log_verbose) log_time($sql);
./ccamp_calc_meqs.php : $result=Run_Sql($region3_dialect,$sql); if($log_verbose) log_time($sql);
./ccamp_calc_meqs.php : $result=Run_Sql($region3_dialect,$sql); if($log_verbose) log_time($sql);
./ccamp_calc_meqs.php : $result=Run_Sql($region3_dialect,$sql); if($log_verbose) log_time($sql);
./ccamp_calc_meqs.php : $result=Run_Sql($region3_dialect,$sql); if($log_verbose) log_time($sql);
./ccamp_calc_meqs.php : $result=Run_Sql($region3_dialect,$sql); if($log_verbose) log_time($sql);
./ccamp_calc_meqs.php : $result=Run_Sql($region3_dialect,$sql); if($log_verbose) log_time($sql);
./ccamp_calc_meqs.php : $result=Run_Sql($region3_dialect,$sql); if($log_verbose) log_time($sql);
./ccamp_calc_meqs.php : $result=Run_Sql($region3_dialect,$sql); if($log_verbose) log_time($sql);
./ccamp_calc_meqs.php : $result=Run_Sql($region3_dialect,$sql); if($log_verbose) log_time($sql);
./ccamp_calc_meqs.php : $result=Run_Sql($region3_dialect,$sql); if($log_verbose) log_time($sql);
./ccamp_calc_meqs.php : $result=Run_Sql($region3_dialect,$sql); if($log_verbose) log_time($sql);
./ccamp_calc_meqs.php : $result=Run_Sql($region3_dialect,$sql); if($log_verbose) log_time($sql);
./ccamp_calc_meqs.php : $result=Run_Sql($region3_dialect,$sql); if($log_verbose) log_time($sql);
./ccamp_calc_meqs.php : $result=Run_Sql($region3_dialect,$sql); if($log_verbose) log_time($sql);
./ccamp_calc_meqs.php : $result=Run_Sql($region3_dialect,$sql); if($log_verbose) log_time($sql);
./ccamp_calc_meqs.php : $result=Run_Sql($region3_dialect,$sql); if($log_verbose) log_time($sql);
./ccamp_calc_meqs.php : while ($data_row=sql_fetch_assoc($region3_dialect,$result)){
./ccamp_calc_meqs.php : $result1=Run_Sql($region3_dialect,$sql); if($log_verbose) log_time($sql);
./ccamp_calc_meqs.php : if(sql_num_rows($region3_dialect,$result1)0){
./ccamp_calc_meqs.php : $data_row1=sql_fetch_assoc($region3_dialect,$result1);
./ccamp_calc_meqs.php : $result2=Run_Sql($region3_dialect,$sql); if($log_verbose) log_time($sql);
./ccamp_calc_meqs.php : $result1=Run_Sql($region3_dialect,$sql); if($log_verbose) log_time($sql);
./ccamp_calc_meqs.php : if(sql_num_rows($region3_dialect,$result1)0){
./ccamp_calc_meqs.php : $data_row1=sql_fetch_assoc($region3_dialect,$result1);
./ccamp_calc_meqs.php : $result2=Run_Sql($region3_dialect,$sql); if($log_verbose) log_time($sql);
./ccamp_calc_meqs.php : $result1=Run_Sql($region3_dialect,$sql); if($log_verbose) log_time($sql);
./ccamp_calc_meqs.php : if(sql_num_rows($region3_dialect,$result1)0){
./ccamp_calc_meqs.php : $data_row1=sql_fetch_assoc($region3_dialect,$result1);
./ccamp_calc_meqs.php : $result2=Run_Sql($region3_dialect,$sql); if($log_verbose) log_time($sql);
./ccamp_calc_meqs.php : $result1=Run_Sql($region3_dialect,$sql); if($log_verbose) log_time($sql);
./ccamp_calc_meqs.php : if(sql_num_rows($region3_dialect,$result1)0){
./ccamp_calc_meqs.php : $data_row1=sql_fetch_assoc($region3_dialect,$result1);
./ccamp_calc_meqs.php : $result2=Run_Sql($region3_dialect,$sql); if($log_verbose) log_time($sql);
./ccamp_calc_meqs.php : $result1=Run_Sql($region3_dialect,$sql); if($log_verbose) log_time($sql);
./ccamp_calc_meqs.php : if(sql_num_rows($region3_dialect,$result1)0){
./ccamp_calc_meqs.php : $data_row1=sql_fetch_assoc($region3_dialect,$result1);
./ccamp_calc_meqs.php : $result2=Run_Sql($region3_dialect,$sql); if($log_verbose) log_time($sql);
./ccamp_calc_meqs.php : function clear_wq_indices($region3_dialect,$log,$log_verbose,$org_id,$wqa_table){
./ccamp_calc_meqs.php : null_fill($region3_dialect,$log,$wqa_table,'Index_Aquatic_Life');
./ccamp_calc_meqs.php : null_fill($region3_dialect,$log,$wqa_table,'Index_Human_Health');
./ccamp_calc_meqs.php : null_fill($region3_dialect,$log,$wqa_table,'Index_Wildlife');
./ccamp_calc_meqs.php : null_fill($region3_dialect,$log,$wqa_table,'Index_goby');
./ccamp_calc_meqs.php : null_fill($region3_dialect,$log,$wqa_table,'Index_steelhead');
./ccamp_calc_meqs.php : null_fill($region3_dialect,$log,$wqa_table,'Index_otter');
./ccamp_calc_meqs.php : null_fill($region3_dialect,$log,$wqa_table,'Index_WQ_Aquatic_Life');
./ccamp_calc_meqs.php : null_fill($region3_dialect,$log,$wqa_table,'Index_Biostim_Risk');
./ccamp_calc_meqs.php : null_fill($region3_dialect,$log,$wqa_table,'Index_BMI');
./ccamp_calc_meqs.php : null_fill($region3_dialect,$log,$wqa_table,'Index_algae');
./ccamp_calc_meqs.php : null_fill($region3_dialect,$log,$wqa_table,'Index_Toxicity_Sed');
./ccamp_calc_meqs.php : null_fill($region3_dialect,$log,$wqa_table,'Index_Met_Aquatic_Life_Sed');
./ccamp_calc_meqs.php : null_fill($region3_dialect,$log,$wqa_table,'Index_Org_Aquatic_Life_Sed');
./ccamp_calc_meqs.php : null_fill($region3_dialect,$log,$wqa_table,'Index_Pah_Aquatic_Life_Sed');
./ccamp_calc_meqs.php : null_fill($region3_dialect,$log,$wqa_table,'Index_Toxicity_H2o');
./ccamp_calc_meqs.php : null_fill($region3_dialect,$log,$wqa_table,'Index_Met_Aquatic_Life_H2o');
./ccamp_calc_meqs.php : null_fill($region3_dialect,$log,$wqa_table,'Index_Org_Aquatic_Life_H2o');
./ccamp_calc_meqs.php : null_fill($region3_dialect,$log,$wqa_table,'Index_Pah_Aquatic_Life_H2o');
./ccamp_calc_meqs.php : null_fill($region3_dialect,$log,$wqa_table,'Index_WQ_Human_Health');
./ccamp_calc_meqs.php : null_fill($region3_dialect,$log,$wqa_table,'Index_Salts_Human_Health');
./ccamp_calc_meqs.php : null_fill($region3_dialect,$log,$wqa_table,'Index_Met_Human_Health');
./ccamp_calc_meqs.php : null_fill($region3_dialect,$log,$wqa_table,'Index_Org_Human_Health');
./ccamp_calc_meqs.php : null_fill($region3_dialect,$log,$wqa_table,'Index_Pah_Human_Health');
./ccamp_calc_meqs.php : null_fill($region3_dialect,$log,$wqa_table,'Index_Pathogens');
./ccamp_calc_meqs.php : null_fill($region3_dialect,$log,$wqa_table,'Index_Habitat');
./ccamp_calc_meqs.php : null_fill($region3_dialect,$log,$wqa_table,'Index_land_cover');
./ccamp_calc_meqs.php : null_fill($region3_dialect,$log,$wqa_table,'Index_pesticide_use');
./ccamp_calc_meqs.php : null_fill($region3_dialect,$log,$wqa_table,'Index_Riparian');
./ccamp_calc_meqs.php : null_fill($region3_dialect,$log,$wqa_table,'Index_phab');
./ccamp_calc_meqs.php : null_fill($region3_dialect,$log,$wqa_table,'Index_WQ_Groundwater');
./ccamp_calc_meqs.php : function sub_set_data($region3_dialect,$log,$log_verbose,$org_id,$wqa_table,$web_data_table){
./ccamp_calc_meqs.php : $result=Run_Sql($region3_dialect,$sql); if($log_verbose) log_time($sql);
./ccamp_calc_meqs.php : $result=Run_Sql($region3_dialect,$sql); if($log_verbose) log_time($sql);
./ccamp_calc_meqs.php : while ($wqa=sql_fetch_assoc($region3_dialect,$result)){
./ccamp_calc_meqs.php : $result1=Run_Sql($region3_dialect,$sql); if($log_verbose) log_time($sql);
./ccamp_calc_meqs.php : $result1=Run_Sql($region3_dialect,$sql); if($log_verbose) log_time($sql);
./ccamp_calc_meqs.php : function set_gis_info($region3_dialect,$log,$log_verbose,$site_table,$table_to_update)
./ccamp_calc_meqs.php : $result=sql_query($region3_dialect,$sql);
./ccamp_calc_meqs.php : while ($data_row=sql_fetch_assoc($region3_dialect,$result))
./ccamp_calc_meqs.php : $result1=sql_query($region3_dialect,$sql1);
./ccamp_calc_meqs.php : $site_row=sql_fetch_assoc($region3_dialect,$result1);
./ccamp_calc_meqs.php : $result2=Run_Sql($region3_dialect,$sql);
./ccamp_calc_meqs.php : function set_thresholds($region3_dialect,$log,$log_verbose,$table_to_update,$scan_type)
./ccamp_calc_meqs.php : Run_Sql($region3_dialect,$sql); if($log_verbose) echo $sql.'br';
./ccamp_calc_meqs.php : Run_Sql($region3_dialect,$sql); if($log_verbose) echo $sql.'br';
./ccamp_calc_meqs.php : $result=Run_Sql($region3_dialect,$sql); if($log_verbose) echo $sql.'brbr';
./ccamp_calc_meqs.php : while ($data_row=sql_fetch_assoc($region3_dialect,$result))
./ccamp_calc_meqs.php : $result1=Run_Sql($region3_dialect,$sql); if($log_verbose) echo $sql.'br';
./ccamp_calc_meqs.php : $data=sql_fetch_assoc($region3_dialect,$result1);
./ccamp_calc_meqs.php : $result1=Run_Sql($region3_dialect,$sql); if($log_verbose) echo $sql.'br';
./ccamp_calc_meqs.php : $data=sql_fetch_assoc($region3_dialect,$result1);
./ccamp_calc_meqs.php : $result1=Run_Sql($region3_dialect,$sql); if($log_verbose) echo $sql.'br';
./ccamp_calc_meqs.php : $data=sql_fetch_assoc($region3_dialect,$result1);
./ccamp_calc_meqs.php : $result1=Run_Sql($region3_dialect,$sql); if($log_verbose) echo $sql.'br';
./ccamp_calc_meqs.php : $data=sql_fetch_assoc($region3_dialect,$result1);
./ccamp_calc_meqs.php : $result1=Run_Sql($region3_dialect,$sql); if($log_verbose) echo $sql.'br';
./ccamp_calc_meqs.php : $data=sql_fetch_assoc($region3_dialect,$result1);
./ccamp_calc_meqs.php : $result1=Run_Sql($region3_dialect,$sql); if($log_verbose) echo $sql.'br';
./ccamp_calc_meqs.php : $data=sql_fetch_assoc($region3_dialect,$result1);
./ccamp_calc_meqs.php : $result1=Run_Sql($region3_dialect,$sql); if($log_verbose) echo $sql.'br';
./ccamp_calc_meqs.php : $data=sql_fetch_assoc($region3_dialect,$result1);
./ccamp_calc_meqs.php : $sql="UPDATE ".$table_to_update." SET auto=1 WHERE id_key=".$id_key." "; Run_Sql($region3_dialect,$sql); if($log_verbose) echo $sql.'br';
./ccamp_calc_meqs.php : Run_Sql($region3_dialect,$sql); # if($log_verbose) echo $sql.'br';
./ccamp_calc_meqs.php : function make_wqi_site($region3_dialect,$log,$log_verbose,$wqa_table){
./ccamp_calc_meqs.php : $result=Run_Sql($region3_dialect,$sql); if($log_verbose) echo $sql.'br';
./ccamp_calc_meqs.php : $result=Run_Sql($region3_dialect,$sql); if($log_verbose) echo $sql.'br';
./ccamp_calc_meqs.php : $result1=Run_Sql($region3_dialect,$sql); if($log_verbose) echo $sql.'br';
./ccamp_calc_meqs.php : $result1=Run_Sql($region3_dialect,$sql); if($log_verbose) echo $sql.'br';
./ccamp_calc_meqs.php : $result1=Run_Sql($region3_dialect,$sql); if($log_verbose) echo $sql.'br';
./ccamp_calc_meqs.php : $result=Run_Sql($region3_dialect,$sql); if($log_verbose) echo $sql.'br';
./ccamp_calc_meqs.php : $result=Run_Sql($region3_dialect,$sql); if($log_verbose) echo $sql.'br';
./ccamp_calc_meqs.php : $result1=Run_Sql($region3_dialect,$sql); if($log_verbose) echo $sql.'br';
./ccamp_calc_meqs.php : $result1=Run_Sql($region3_dialect,$sql); if($log_verbose) echo $sql.'br';
./ccamp_calc_meqs.php : function set_sites_in_use($region3_dialect,$log,$log_verbose,$wqa_table,$site_table){
./ccamp_calc_meqs.php : $sql="UPDATE ".$site_table." SET Dis='R' "; $result=Run_Sql($region3_dialect,$sql); if($log_verbose) echo $sql.'br';
./ccamp_calc_meqs.php : $sql="SELECT DISTINCT site_tag FROM ".$wqa_table.' '; $result=Run_Sql($region3_dialect,$sql); if($log_verbose) echo $sql.'br';
./ccamp_calc_meqs.php : while ($data=sql_fetch_assoc($region3_dialect,$result)){
./ccamp_calc_meqs.php : $result1=Run_Sql($region3_dialect,$sql); if($log_verbose) echo $sql.'br';
./ccamp_calc_meqs.php : $result=Run_Sql($region3_dialect,$sql);if ($log_verbose) {$txt='sql '.$sql; log_time($txt);}
./ccamp_calc_meqs.php : $result=Run_Sql($region3_dialect,$sql);if ($log_verbose) {$txt='sql '.$sql; log_time($txt);}
./ccamp_calc_meqs.php : $result=Run_Sql($region3_dialect,$sql);if ($log_verbose) {$txt='sql '.$sql; log_time($txt);}
./ccamp_calc_meqs.php : $result=Run_Sql($region3_dialect,$sql);if ($log_verbose) {$txt='sql '.$sql; log_time($txt);}
./ccamp_calc_meqs.php : $result=Run_Sql($region3_dialect,$sql);if ($log_verbose) {$txt='sql '.$sql; log_time($txt);}
./ccamp_calc_meqs.php : $result=Run_Sql($region3_dialect,$sql);if ($log_verbose) {$txt='sql '.$sql; log_time($txt);}
./ccamp_calc_meqs.php : $result=Run_Sql($region3_dialect,$sql);if ($log_verbose) {$txt='sql '.$sql; log_time($txt);}
./ccamp_calc_meqs.php : $result=Run_Sql($region3_dialect,$sql);if ($log_verbose) {$txt='sql '.$sql; log_time($txt);}
./ccamp_calc_meqs.php : $result=Run_Sql($region3_dialect,$sql);if ($log_verbose) {$txt='sql '.$sql; log_time($txt);}
./ccamp_calc_meqs.php : $result=Run_Sql($region3_dialect,$sql);if ($log_verbose) {$txt='sql '.$sql; log_time($txt);}
./ccamp_calc_meqs.php : $result=Run_Sql($region3_dialect,$sql);if ($log_verbose) {$txt='sql '.$sql; log_time($txt);}
./ccamp_calc_meqs.php : $result=Run_Sql($region3_dialect,$sql);if ($log_verbose) {$txt='sql '.$sql; log_time($txt);}
./ccamp_calc_meqs.php : $result=Run_Sql($region3_dialect,$sql);if ($log_verbose) {$txt='sql '.$sql; log_time($txt);}
./ccamp_calc_meqs.php : $result=Run_Sql($region3_dialect,$sql);if ($log_verbose) {$txt='sql '.$sql; log_time($txt);}
./ccamp_calc_meqs.php : $result=Run_Sql($region3_dialect,$sql);if ($log_verbose) {$txt='sql '.$sql; log_time($txt);}
./ccamp_calc_meqs.php : $result=Run_Sql($region3_dialect,$sql);if ($log_verbose) {$txt='sql '.$sql; log_time($txt);}
./ccamp_calc_meqs.php : $result=Run_Sql($region3_dialect,$sql);if ($log_verbose) {$txt='sql '.$sql; log_time($txt);}
./ccamp_calc_meqs.php : $result=Run_Sql($region3_dialect,$sql);if ($log_verbose) {$txt='sql '.$sql; log_time($txt);}
./ccamp_calc_meqs.php : function set_gray_quartile_grades($region3_dialect,$log,$log_verbose,$wqa_table,$bene_use){
./ccamp_calc_meqs.php : $result=Run_Sql($region3_dialect,$sql); if($log_verbose) echo $sql.'brbr';
./ccamp_calc_meqs.php : $result=Run_Sql($region3_dialect,$sql); if($log_verbose) echo $sql.'brbr';
./ccamp_calc_meqs.php : $result=Run_Sql($region3_dialect,$sql); if($log_verbose) echo $sql.'brbr';
./ccamp_calc_meqs.php : while ($data=sql_fetch_assoc($region3_dialect,$result))
./ccamp_calc_meqs.php : $result1=Run_Sql($region3_dialect,$sql); if($log_verbose) echo $sql.'brbr';
./ccamp_calc_meqs.php : $result1=Run_Sql($region3_dialect,$sql); if($log_verbose) echo $sql.'brbr';
./ccamp_calc_meqs.php : $result1=Run_Sql($region3_dialect,$sql); if($log_verbose) echo $sql.'brbr';
./ccamp_calc_meqs.php : $result1=Run_Sql($region3_dialect,$sql); if($log_verbose) echo $sql.'brbr';
./ccamp_calc_meqs.php : $result1=Run_Sql($region3_dialect,$sql); if($log_verbose) echo $sql.'brbr';
./ccamp_calc_meqs.php : $result1=Run_Sql($region3_dialect,$sql); if($log_verbose) echo $sql.'brbr';
./ccamp_calc_meqs.php : $result1=Run_Sql($region3_dialect,$sql); if($log_verbose) echo $sql.'brbr';
./ccamp_calc_meqs.php : $result1=Run_Sql($region3_dialect,$sql); if($log_verbose) echo $sql.'brbr';
./ccamp_calc_meqs.php : $result1=Run_Sql($region3_dialect,$sql); if($log_verbose) echo $sql.'brbr';
./ccamp_calc_meqs.php : $result1=Run_Sql($region3_dialect,$sql); if($log_verbose) echo $sql.'brbr';
./ccamp_calc_meqs.php : $result1=Run_Sql($region3_dialect,$sql); if($log_verbose) echo $sql.'brbr';
./ccamp_calc_meqs.php : $result1=Run_Sql($region3_dialect,$sql); if($log_verbose) echo $sql.'brbr';
./ccamp_calc_meqs.php : function set_health_dir($region3_dialect,$log,$log_verbose,$web_data_table,$wqa_table,$elep_table){
./ccamp_calc_meqs.php : $result=Run_Sql($region3_dialect,$sql); if($log_verbose) echo $sql;
./ccamp_calc_meqs.php : $result=Run_Sql($region3_dialect,$sql); if($log_verbose) echo $sql;
./ccamp_calc_meqs.php : while ($data=sql_fetch_assoc($region3_dialect,$result))
./ccamp_calc_meqs.php : $result1=Run_Sql($region3_dialect,$sql); if($log_verbose) echo $sql;
./ccamp_calc_meqs.php : $result=Run_Sql($region3_dialect,$sql); if($log_verbose) echo $sql;
./ccamp_calc_meqs.php : $result=Run_Sql($region3_dialect,$sql); if($log_verbose) echo $sql;
./ccamp_calc_meqs.php : while ($data=sql_fetch_assoc($region3_dialect,$result))
./ccamp_calc_meqs.php : $result1=Run_Sql($region3_dialect,$sql); if($log_verbose) echo $sql;
./ccamp_calc_meqs.php : $dir='dir'; set_Qualifier($region3_dialect,$log,$org_id,$wqa_table,$dir);
./ccamp_calc_meqs.php : $dir='Dis'; set_Qualifier($region3_dialect,$log,$org_id,$web_data_table,$dir);
./ccamp_calc_meqs.php : $result=Run_Sql($region3_dialect,$sql); if($log_verbose) log_time($sql);
./ccamp_calc_meqs.php : $result=Run_Sql($region3_dialect,$sql); if($log_verbose) log_time($sql);
./ccamp_calc_meqs.php : $result=Run_Sql($region3_dialect,$sql); if($log_verbose) log_time($sql);
./ccamp_calc_meqs.php : $result=Run_Sql($region3_dialect,$sql); if($log_verbose) log_time($sql);
./ccamp_calc_meqs.php : $result=Run_Sql($region3_dialect,$sql); if($log_verbose) log_time($sql);
./ccamp_calc_meqs.php : $result=Run_Sql($region3_dialect,$sql); if($log_verbose) log_time($sql);
./ccamp_calc_meqs.php : $result=Run_Sql($region3_dialect,$sql); if($log_verbose) log_time($sql);
./ccamp_calc_meqs.php : $result=Run_Sql($region3_dialect,$sql); if($log_verbose) log_time($sql);
./ccamp_calc_meqs.php : $result=Run_Sql($region3_dialect,$sql); if($log_verbose) log_time($sql);
./ccamp_calc_meqs.php : $result=Run_Sql($region3_dialect,$sql); if($log_verbose) log_time($sql);
./ccamp_calc_meqs.php : $result=Run_Sql($region3_dialect,$sql); if($log_verbose) log_time($sql);
./ccamp_calc_meqs.php : function set_web_range_analyte($region3_dialect,$log,$log_verbose,$web_data_table,$wqa_table,$ccampid){
./ccamp_calc_meqs.php : $result=Run_Sql($region3_dialect,$sql); if($log_verbose) log_time($sql);
./ccamp_calc_meqs.php : $data_LT=sql_fetch_assoc($region3_dialect,$result);
./ccamp_calc_meqs.php : $result=Run_Sql($region3_dialect,$sql); if($log_verbose) log_time($sql);
./ccamp_calc_meqs.php : $data_GT=sql_fetch_assoc($region3_dialect,$result);
./ccamp_calc_meqs.php : $result=Run_Sql($region3_dialect,$sql); if($log_verbose) log_time($sql);
./ccamp_calc_meqs.php : $result=Run_Sql($region3_dialect,$sql); if($log_verbose) log_time($sql);
./ccamp_calc_meqs.php : $result=Run_Sql($region3_dialect,$sql); log_time($sql);
./ccamp_calc_meqs.php : $result=Run_Sql($region3_dialect,$sql); log_time($sql);
./ccamp_calc_meqs.php : $result=Run_Sql($region3_dialect,$sql); if($log_verbose) log_time($sql);
./ccamp_calc_meqs.php : $result=Run_Sql($region3_dialect,$sql); if($log_verbose) log_time($sql);
./ccamp_calc_meqs.php : $result=Run_Sql($region3_dialect,$sql); if($log_verbose) log_time($sql);
./ccamp_calc_meqs.php : function set_do($region3_dialect,$log,$log_verbose,$wqa_table)
./ccamp_calc_meqs.php : $result=Run_Sql($region3_dialect,$sql); if($log_verbose) echo $sql.'br';
./ccamp_calc_meqs.php : while ($data=sql_fetch_assoc($region3_dialect,$result))
./ccamp_calc_meqs.php : $result1=Run_Sql($region3_dialect,$sql); if($log_verbose) echo $sql.'br';
./ccamp_calc_meqs.php : $result=Run_Sql($region3_dialect,$sql); if($log_verbose) echo $sql.'br';
./ccamp_calc_meqs.php : while ($data=sql_fetch_assoc($region3_dialect,$result))
./ccamp_calc_meqs.php : $result2=Run_Sql($region3_dialect,$sql); if($log_verbose) echo $sql.'br';
./ccamp_calc_meqs.php : function set_ph($region3_dialect,$log,$log_verbose,$wqa_table)
./ccamp_calc_meqs.php : $result=Run_Sql($region3_dialect,$sql); if($log_verbose) echo $sql.'br';
./ccamp_calc_meqs.php : while ($data=sql_fetch_assoc($region3_dialect,$result))
./ccamp_calc_meqs.php : $result1=Run_Sql($region3_dialect,$sql); if($log_verbose) echo $sql.'br';
./ccamp_calc_meqs.php : $result=Run_Sql($region3_dialect,$sql); if($log_verbose) echo $sql.'br';
./ccamp_calc_meqs.php : while ($data=sql_fetch_assoc($region3_dialect,$result))
./ccamp_calc_meqs.php : $result2=Run_Sql($region3_dialect,$sql); if($log_verbose) echo $sql.'br';
./ccamp_calc_meqs.php : $result=Run_Sql($region3_dialect,$sql);
./ccamp_calc_meqs.php : sql_close($region3_dialect,$log,$region3_conn);
./ccamp_calc_meqs.php : $result=Run_Sql($region3_dialect,$sql);
./ccamp_calc_meqs.php : sql_close($region3_dialect,$log,$region3_conn);
./ccamp_calc_meqs.php : function add_refs_2_wqa($region3_dialect,$log,$log_verbose,$wqa_table){
./ccamp_calc_meqs.php : $result=Run_Sql($region3_dialect,$sql); if($log_verbose) log_time($sql);
./ccamp_calc_meqs.php : $result=Run_Sql($region3_dialect,$sql); if($log_verbose) log_time($sql);
./ccamp_calc_meqs.php : function backup($region3_dialect,$log,$log_verbose,$wqa_table){
./ccamp_calc_meqs.php : $result=Run_Sql($region3_dialect,$sql); if($log_verbose) log_time($sql);
./ccamp_calc_meqs.php : function merge_cadmus($region3_dialect,$log,$log_verbose,$org_id,$index_wqi_table,$cadmus_norm_ind_table,$cadmus_cafull_mmis_table){
./ccamp_calc_meqs.php : $result=Run_Sql($region3_dialect,$sql); if($log_verbose) echo $sql.'br';
./ccamp_calc_meqs.php : while ($data=sql_fetch_assoc($region3_dialect,$result))
./ccamp_calc_meqs.php : $result1=Run_Sql($region3_dialect,$sql); if($log_verbose) echo $sql.'br';
./ccamp_calc_meqs.php : $result1=Run_Sql($region3_dialect,$sql); if($log_verbose) echo $sql.'br';
./ccamp_calc_meqs.php : function save_index_table($region3_dialect,$log,$log_verbose,$org_id,$time_period){
./ccamp_calc_meqs.php : $result=Run_Sql($region3_dialect,$sql); if($log_verbose) log_time($sql);
./ccamp_calc_meqs.php : while ($data=sql_fetch_assoc($region3_dialect,$result)){
./ccamp_calc_meqs.php : $result1=Run_Sql($region3_dialect,$sql); if($log_verbose) log_time($sql);
./ccamp_calc_meqs.php : $result1=Run_Sql($region3_dialect,$sql); if($log_verbose) log_time($sql);
./ccamp_calc_meqs.php : function set_index_names_in_wqa($region3_dialect,$log,$log_verbose,$org_id,$wqa_table){
./ccamp_calc_meqs.php : $result=Run_Sql($region3_dialect,$sql); if ($verbose_output) log_time($sql);
./ccamp_calc_meqs.php : while ($data=sql_fetch_assoc($region3_dialect,$result))
./ccamp_calc_meqs.php : $result1=Run_Sql($region3_dialect,$sql); if ($verbose_output) log_time($sql);
./ccamp_calc_meqs.php : $data1=sql_fetch_assoc($region3_dialect,$result1);
./ccamp_calc_meqs.php : $result2=Run_Sql($region3_dialect,$sql); if ($verbose_output) log_time($sql);
./ccamp_calc_meqs.php : function merge_cadmus_2_sites($region3_dialect,$log,$log_verbose,$org_id){
./ccamp_calc_meqs.php : $result=Run_Sql($region3_dialect,$sql);
./ccamp_calc_meqs.php : $result=Run_Sql($region3_dialect,$sql);
./ccamp_calc_meqs.php : $result=Run_Sql($region3_dialect,$sql);
./ccamp_calc_meqs.php : while ($data=sql_fetch_assoc($region3_dialect,$result))
./ccamp_calc_meqs.php : $result1=Run_Sql($region3_dialect,$sql);
./ccamp_calc_meqs.php : while ($data1=sql_fetch_assoc($region3_dialect,$result1))
./ccamp_calc_meqs.php : $result2=Run_Sql($region3_dialect,$sql);
./ccamp_calc_meqs.php : $result2=Run_Sql($region3_dialect,$sql);
./ccamp_calc_meqs.php : while ($data2=sql_fetch_assoc($region3_dialect,$result2))
./ccamp_calc_meqs.php : $result3=Run_Sql($region3_dialect,$sql);
./ccamp_calc_meqs.php : $result2=Run_Sql($region3_dialect,$sql);
./ccamp_calc_meqs.php : while ($data2=sql_fetch_assoc($region3_dialect,$result2))
./ccamp_calc_meqs.php : $result3=Run_Sql($region3_dialect,$sql);
./ccamp_calc_meqs.php : $result2=Run_Sql($region3_dialect,$sql);
./ccamp_calc_meqs.php : $data2=sql_fetch_assoc($region3_dialect,$result2);
./ccamp_calc_meqs.php : $result3=Run_Sql($region3_dialect,$sql);
./ccamp_calc_meqs.php : $sql="UPDATE ceden.cadmus_cadata_full SET PCT_IRRIG_x=NULL WHERE PCT_IRRIG_x='NA' OR PCT_IRRIG_x IS NULL "; $result=Run_Sql($region3_dialect,$sql);
./ccamp_calc_meqs.php : $sql="UPDATE ceden.cadmus_cadata_full SET PCT_IRRIG_y=NULL WHERE PCT_IRRIG_y='NA' OR PCT_IRRIG_y IS NULL "; $result=Run_Sql($region3_dialect,$sql);
./ccamp_calc_meqs.php : $sql="UPDATE ceden.cadmus_cadata_full SET CRAM_Overall_Score_x=NULL WHERE CRAM_Overall_Score_x='NA' OR CRAM_Overall_Score_x IS NULL "; $result=Run_Sql($region3_dialect,$sql);
./ccamp_calc_meqs.php : $sql="UPDATE ceden.cadmus_cadata_full SET CSCI_x=NULL WHERE CSCI_x='NA' OR CSCI_x IS NULL "; $result=Run_Sql($region3_dialect,$sql);
./ccamp_calc_meqs.php : $sql="UPDATE ceden.cadmus_cadata_full SET PHAB_MMI_Score=NULL WHERE PHAB_MMI_Score='NA' OR PHAB_MMI_Score IS NULL "; $result=Run_Sql($region3_dialect,$sql);
./ccamp_calc_meqs.php : $sql="UPDATE ceden.cadmus_cadata_full SET L_POPDENS=NULL WHERE L_POPDENS='NA' OR L_POPDENS IS NULL "; $result=Run_Sql($region3_dialect,$sql);
./ccamp_calc_meqs.php : $sql="UPDATE ceden.cadmus_cadata_full SET N_POPDENSC=NULL WHERE N_POPDENSC='NA' OR N_POPDENSC IS NULL "; $result=Run_Sql($region3_dialect,$sql);
./ccamp_calc_meqs.php : $sql="UPDATE ceden.cadmus_cadata_full SET Pct2006AgrLC_x=NULL WHERE Pct2006AgrLC_x='NA' OR Pct2006AgrLC_x IS NULL "; $result=Run_Sql($region3_dialect,$sql);
./ccamp_calc_meqs.php : $sql="UPDATE ceden.cadmus_cadata_full SET Pct2006AgrLC_y=NULL WHERE Pct2006AgrLC_y='NA' OR Pct2006AgrLC_y IS NULL "; $result=Run_Sql($region3_dialect,$sql);
./ccamp_calc_meqs.php : $sql="UPDATE ceden.cadmus_cadata_full SET Pct2006UrbLC_y=NULL WHERE Pct2006UrbLC_y='NA' OR Pct2006UrbLC_y IS NULL "; $result=Run_Sql($region3_dialect,$sql);
./ccamp_calc_meqs.php : $sql="UPDATE ceden.cadmus_cadata_full SET N_SUMMER=NULL WHERE N_SUMMER='NA' OR N_SUMMER IS NULL "; $result=Run_Sql($region3_dialect,$sql);
./ccamp_calc_meqs.php : $result=Run_Sql($region3_dialect,$sql);
./ccamp_calc_meqs.php : $data=sql_fetch_assoc($region3_dialect,$result);
./ccamp_calc_meqs.php : $result=Run_Sql($region3_dialect,$sql);
./ccamp_calc_meqs.php : while ($data=sql_fetch_assoc($region3_dialect,$result))
./ccamp_calc_meqs.php : $result1=Run_Sql($region3_dialect,$sql);
./ccamp_calc_meqs.php : $data1=sql_fetch_assoc($region3_dialect,$result1);
./ccamp_calc_meqs.php : $result2=Run_Sql($region3_dialect,$sql);
./ccamp_calc_meqs.php : $sql="UPDATE ceden.cadmus_cafull_mmis SET Landscape=NULL WHERE Landscape='NA' OR Landscape IS NULL "; $result=Run_Sql($region3_dialect,$sql);
./ccamp_calc_meqs.php : $sql="UPDATE ceden.cadmus_cafull_mmis SET ClimateChange=NULL WHERE ClimateChange='NA' OR ClimateChange IS NULL "; $result=Run_Sql($region3_dialect,$sql);
./ccamp_calc_meqs.php : $sql="UPDATE ceden.cadmus_cafull_mmis SET LandUse=NULL WHERE LandUse='NA' OR LandUse IS NULL "; $result=Run_Sql($region3_dialect,$sql);
./ccamp_calc_meqs.php : $sql="UPDATE ceden.cadmus_cafull_mmis SET WaterUse=NULL WHERE WaterUse='NA' OR WaterUse IS NULL "; $result=Run_Sql($region3_dialect,$sql);
./ccamp_calc_meqs.php : $sql="UPDATE ceden.cadmus_cafull_mmis SET PhysBio=NULL WHERE PhysBio='NA' OR PhysBio IS NULL "; $result=Run_Sql($region3_dialect,$sql);
./ccamp_calc_meqs.php : $sql="UPDATE ceden.cadmus_cafull_mmis SET Hydrologic=NULL WHERE Hydrologic='NA' OR Hydrologic IS NULL "; $result=Run_Sql($region3_dialect,$sql);
./ccamp_calc_meqs.php : $sql="UPDATE ceden.cadmus_cafull_mmis SET InstreamBio=NULL WHERE InstreamBio='NA' OR InstreamBio IS NULL "; $result=Run_Sql($region3_dialect,$sql);
./ccamp_calc_meqs.php : $sql="UPDATE ceden.cadmus_cafull_mmis SET WaterQuality=NULL WHERE WaterQuality='NA' OR WaterQuality IS NULL "; $result=Run_Sql($region3_dialect,$sql);
./ccamp_calc_meqs.php : $sql="UPDATE ceden.cadmus_cafull_mmis SET WatershedHealth=NULL WHERE WatershedHealth='NA' OR WatershedHealth IS NULL "; $result=Run_Sql($region3_dialect,$sql);
./ccamp_calc_meqs.php : $sql="UPDATE ceden.cadmus_cafull_mmis SET StreamHealth=NULL WHERE StreamHealth='NA' OR StreamHealth IS NULL "; $result=Run_Sql($region3_dialect,$sql);
./ccamp_calc_meqs.php : $sql="UPDATE ceden.cadmus_cafull_mmis SET WatershedVulnerability=NULL WHERE WatershedVulnerability='NA' OR WatershedVulnerability IS NULL "; $result=Run_Sql($region3_dialect,$sql);
./ccamp_calc_meqs.php : $result=Run_Sql($region3_dialect,$sql);
./ccamp_calc_meqs.php : while ($data=sql_fetch_assoc($region3_dialect,$result))
./ccamp_calc_meqs.php : $result1=Run_Sql($region3_dialect,$sql);
./ccamp_calc_meqs.php : $data1=sql_fetch_assoc($region3_dialect,$result1);
./ccamp_calc_meqs.php : $result2=Run_Sql($region3_dialect,$sql);
./ccamp_calc_meqs.php : $result=Run_Sql($region3_dialect,$sql);
./ccamp_calc_meqs.php : while ($data=sql_fetch_assoc($region3_dialect,$result))
./ccamp_calc_meqs.php : $result1=Run_Sql($region3_dialect,$sql);
./ccamp_calc_meqs.php : $data1=sql_fetch_assoc($region3_dialect,$result1);
./ccamp_calc_meqs.php : $result2=Run_Sql($region3_dialect,$sql); if ($verbose_output) log_time($sql);
./ccamp_calc_meqs.php : $result=Run_Sql($region3_dialect,$sql); if ($verbose_output) log_time($sql);
./ccamp_calc_meqs.php : $result=Run_Sql($region3_dialect,$sql); if ($verbose_output) log_time($sql);
./ccamp_calc_meqs.php : $data=sql_fetch_assoc($region3_dialect,$result);
./ccamp_calc_meqs.php : $result=Run_Sql($region3_dialect,$sql); if ($verbose_output) log_time($sql);
./ccamp_calc_meqs.php : $result=Run_Sql($region3_dialect,$sql); if ($verbose_output) log_time($sql);
./ccamp_calc_meqs.php : $result=Run_Sql($region3_dialect,$sql); if ($verbose_output) log_time($sql);
./ccamp_calc_meqs.php : $data=sql_fetch_assoc($region3_dialect,$result);
./ccamp_calc_meqs.php : $result=Run_Sql($region3_dialect,$sql); if ($verbose_output) log_time($sql);
./ccamp_calc_meqs.php : $result=Run_Sql($region3_dialect,$sql); if ($verbose_output) log_time($sql);
./ccamp_calc_meqs.php : function merge_cadmus_2_v1_catchments($region3_dialect,$log,$log_verbose,$org_id){
./ccamp_calc_meqs.php : $result=Run_Sql($region3_dialect,$sql);
./ccamp_calc_meqs.php : while ($data=sql_fetch_assoc($region3_dialect,$result))
./ccamp_calc_meqs.php : $result1=Run_Sql($region3_dialect,$sql);
./ccamp_calc_meqs.php : $data1=sql_fetch_assoc($region3_dialect,$result1);
./ccamp_calc_meqs.php : $result2=Run_Sql($region3_dialect,$sql);
./ccamp_calc_meqs.php : function merge_cadmus_preds_2_v1_catchments($region3_dialect,$log,$log_verbose,$org_id){
./ccamp_calc_meqs.php : $result=Run_Sql($region3_dialect,$sql);
./ccamp_calc_meqs.php : while ($data=sql_fetch_assoc($region3_dialect,$result))
./ccamp_calc_meqs.php : $result1=Run_Sql($region3_dialect,$sql);
./ccamp_calc_meqs.php : function merge_flowlineVAA_2_v1_catchments($region3_dialect,$log,$log_verbose,$org_id){
./ccamp_calc_meqs.php : $result=Run_Sql($region3_dialect,$sql);
./ccamp_calc_meqs.php : while ($data=sql_fetch_assoc($region3_dialect,$result))
./ccamp_calc_meqs.php : $result1=Run_Sql($region3_dialect,$sql);
./ccamp_calc_meqs.php : function merge_cadmus_cadata_2_v1_catchments($region3_dialect,$log,$log_verbose,$org_id){
./ccamp_calc_meqs.php : $result=Run_Sql($region3_dialect,$sql);
./ccamp_calc_meqs.php : while ($data=sql_fetch_assoc($region3_dialect,$result))
./ccamp_calc_meqs.php : $result2=Run_Sql($region3_dialect,$sql); if ($verbose_output) log_time($sql);
./ccamp_calc_meqs.php : function merge_site_attribs_2_v1_catchments($region3_dialect,$log,$log_verbose,$org_id){
./ccamp_calc_meqs.php : $result=Run_Sql($region3_dialect,$sql);
./ccamp_calc_meqs.php : while ($data=sql_fetch_assoc($region3_dialect,$result))
./ccamp_calc_meqs.php : $result3=Run_Sql($region3_dialect,$sql);
./ccamp_calc_meqs.php : function calc_strmhealth2_v1_catchments($region3_dialect,$log,$log_verbose,$org_id){
./ccamp_calc_meqs.php : $result=Run_Sql($region3_dialect,$sql);
./ccamp_calc_meqs.php : $result=Run_Sql($region3_dialect,$sql);
./ccamp_calc_meqs.php : $data=sql_fetch_assoc($region3_dialect,$result);
./ccamp_calc_meqs.php : $result=Run_Sql($region3_dialect,$sql);
./ccamp_calc_meqs.php : $result=Run_Sql($region3_dialect,$sql);
./ccamp_calc_meqs.php : $result=Run_Sql($region3_dialect,$sql);
./ccamp_calc_meqs.php : $result=Run_Sql($region3_dialect,$sql);
./ccamp_calc_meqs.php : function calc_strmhealth2_v1_sites($region3_dialect,$log,$log_verbose,$org_id){
./ccamp_calc_meqs.php : $sql="UPDATE rb3_sites_attrib SET lu_sum=Agricultural + Urban "; $result=Run_Sql($region3_dialect,$sql);
./ccamp_calc_meqs.php : $sql="UPDATE rb3_sites_attrib SET StreamHealth2=((100 * (CSCI_x_preds + CRAM_preds)/2) * 0.4775) + 43.834 "; $result=Run_Sql($region3_dialect,$sql);
./ccamp_calc_meqs.php : $sql="SELECT MIN(StreamHealth2) AS str2min,MAX(StreamHealth2) AS str2max FROM rb3_sites_attrib "; $result=Run_Sql($region3_dialect,$sql);
./ccamp_calc_meqs.php : $data=sql_fetch_assoc($region3_dialect,$result);
./ccamp_calc_meqs.php : $sql="UPDATE rb3_sites_attrib SET Sourcefilename=(StreamHealth2-".$str2min.") / (".$range.") "; $result=Run_Sql($region3_dialect,$sql);
./ccamp_calc_meqs.php : $sql="UPDATE rb3_sites_attrib SET StreamHealth2=100 * Sourcefilename "; $result=Run_Sql($region3_dialect,$sql);
./ccamp_calc_meqs.php : function save_wqi_sites($region3_dialect,$log,$log_verbose,$org_id,$index_wqi_table){
./ccamp_calc_meqs.php : $sql="DROP TABLE IF EXISTS ".$dst_table.' '; $result=Run_Sql($region3_dialect,$sql); if($log_verbose) log_time($sql);
./ccamp_calc_meqs.php : $sql="CREATE TABLE ".$dst_table." SELECT * FROM ".$index_wqi_table; $result=Run_Sql($region3_dialect,$sql); if($log_verbose) log_time($sql);
./ccamp_calc_meqs.php : $sql=" SELECT DISTINCT comid1 FROM rb3_sites WHERE comid10 "; $result=Run_Sql($region3_dialect,$sql);
./ccamp_calc_meqs.php : while ($data=sql_fetch_assoc($region3_dialect,$result)){
./ccamp_calc_meqs.php : $result1=Run_Sql($region3_dialect,$sql);
./ccamp_calc_meqs.php : $data1=sql_fetch_assoc($region3_dialect,$result1);
./ccamp_calc_meqs.php : $sql="UPDATE rb3_sites SET LDI=".$LDI." WHERE comid1=".$comid1." "; Run_Sql($region3_dialect,$sql);
./ccamp_calc_meqs.php : $sql="UPDATE ".$dst_table." SET LDI=".$LDI." WHERE comid1=".$comid1." "; Run_Sql($region3_dialect,$sql);
./ccamp_calc_meqs.php : $sql=" UPDATE ".$dst_table." SET wqi_date=NOW() "; Run_Sql($region3_dialect,$sql); if($verbose_output) log_sqllog_time($txt);
./ccamp_calc_meqs.php : $sql="DROP TABLE IF EXISTS ".$dst_table.' '; $result=Run_Sql($region3_dialect,$sql); if($log_verbose) log_time($sql);
./ccamp_calc_meqs.php : FROM catchSPv1 "; $result=Run_Sql($region3_dialect,$sql); if($log_verbose) log_time($sql);
./ccamp_calc_meqs.php : $sql=" UPDATE ".$dst_table." SET wqa_date=NOW() "; Run_Sql($region3_dialect,$sql); if($verbose_output) log_sqllog_time($txt);
./ccamp_calc_meqs.php : function set_site_names($region3_dialect,$log,$verbose_output,$data_table){
./ccamp_calc_meqs.php : $result=Run_Sql($region3_dialect,$sql); if ($verbose_output) log_time($sql);
./ccamp_calc_meqs.php : while ($data=sql_fetch_assoc($region3_dialect,$result))
./ccamp_calc_meqs.php : $result1=Run_Sql($region3_dialect,$sql); if ($verbose_output) log_time($sql);
./ccamp_calc_meqs.php : $data1=sql_fetch_assoc($region3_dialect,$result1);
./ccamp_calc_meqs.php : $result2=Run_Sql($region3_dialect,$sql); if ($verbose_output) log_time($sql);
./ccamp_calc_meqs.php : function add_habitat($region3_dialect,$log,$verbose_output){
./ccamp_calc_meqs.php : $sql="DELETE FROM rb3_web_data WHERE matrixname='habitat' "; Run_Sql($region3_dialect,$sql); if ($verbose_output) log_time($sql);
./ccamp_calc_meqs.php : $sql="INSERT INTO rb3_web_data SELECT * FROM habitat_web_data "; Run_Sql($region3_dialect,$sql); if ($verbose_output) log_time($sql);
./ccamp_calc_meqs.php : $sql="DELETE FROM rb3_wqa WHERE matrixname='habitat' "; Run_Sql($region3_dialect,$sql); if ($verbose_output) log_time($sql);
./ccamp_calc_meqs.php : $sql="INSERT INTO rb3_wqa SELECT * FROM habitat_wqa "; Run_Sql($region3_dialect,$sql); if ($verbose_output) log_time($sql);
./ccamp_calc_meqs.php : Run_Sql($region3_dialect,$sql); if ($verbose_output) log_time($sql);
./ccamp_calc_meqs.php : function set_extents($region3_dialect,$log,$verbose_output,$org_id,$wqa_table){
./ccamp_calc_meqs.php : Run_Sql($region3_dialect,$sql); if ($verbose_output) log_time($sql);
./ccamp_calc_meqs.php : Run_Sql($region3_dialect,$sql); if ($verbose_output) log_time($sql);
./ccamp_calc_meqs.php : $result=Run_Sql($region3_dialect,$sql);
./ccamp_calc_meqs.php : while ($data=sql_fetch_assoc($region3_dialect,$result)){
./ccamp_calc_meqs.php : Run_Sql($region3_dialect,$sql);
./ccamp_calc_meqs.php : $result=Run_Sql($region3_dialect,$sql); if ($verbose_output) log_time($txt);
./ccamp_calc_meqs.php : while ($data=sql_fetch_assoc($region3_dialect,$result)){
./ccamp_calc_meqs.php : $result1=Run_Sql($region3_dialect,$sql);
./ccamp_calc_meqs.php : $result=Run_Sql($region3_dialect,$sql); if ($verbose_output) log_time($txt);
./ccamp_calc_meqs.php : while ($data=sql_fetch_assoc($region3_dialect,$result)){
./ccamp_calc_meqs.php : $result1=Run_Sql($region3_dialect,$sql);
./ccamp_calc_meqs.php : $result=Run_Sql($region3_dialect,$sql); if ($verbose_output) log_time($txt);
./ccamp_calc_meqs.php : while ($data=sql_fetch_assoc($region3_dialect,$result)){
./ccamp_calc_meqs.php : $result1=Run_Sql($region3_dialect,$sql);
./ccamp_calc_meqs.php : $result=Run_Sql($region3_dialect,$sql); if ($verbose_output) log_time($txt);
./ccamp_calc_meqs.php : while ($data=sql_fetch_assoc($region3_dialect,$result)){
./ccamp_calc_meqs.php : $result1=Run_Sql($region3_dialect,$sql);
./ccamp_calc_meqs.php : function ccampid_2_analytename($region3_dialect,$log,$verbose_output,$org_id,$data_table){
./ccamp_calc_meqs.php : $result=Run_Sql($region3_dialect,$sql); if ($verbose_output) log_time($sql);
./ccamp_calc_meqs.php : while ($data=sql_fetch_assoc($region3_dialect,$result))
./ccamp_calc_meqs.php : $result1=Run_Sql($region3_dialect,$sql); if ($verbose_output) log_time($sql);
./ccamp_calc_meqs.php : $data1=sql_fetch_assoc($region3_dialect,$result1);
./ccamp_calc_meqs.php : $result2=Run_Sql($region3_dialect,$sql); if ($verbose_output) log_time($sql);
./ccamp_calc_meqs.php : function fixhus($region3_dialect,$log,$org_id){
./ccamp_calc_meqs.php : $sql=" UPDATE ".$table_name. " SET hu=LEFT(site_tag,3) "; $result=Run_Sql($region3_dialect,$sql);
./ccamp_calc_meqs.php : $sql=" UPDATE ".$table_name. " SET huname='Santa Cruz (304)' WHERE hu=304 "; $result=Run_Sql($region3_dialect,$sql);
./ccamp_calc_meqs.php : $sql=" UPDATE ".$table_name. " SET huname='Pajaro River (305)' WHERE hu=305 "; $result=Run_Sql($region3_dialect,$sql);
./ccamp_calc_meqs.php : $sql=" UPDATE ".$table_name. " SET huname='Elkhorn Slough (306)' WHERE hu=306 "; $result=Run_Sql($region3_dialect,$sql);
./ccamp_calc_meqs.php : $sql=" UPDATE ".$table_name. " SET huname='Carmel River(307)' WHERE hu=307 "; $result=Run_Sql($region3_dialect,$sql);
./ccamp_calc_meqs.php : $sql=" UPDATE ".$table_name. " SET huname='Big Sur (308)' WHERE hu=308 "; $result=Run_Sql($region3_dialect,$sql);
./ccamp_calc_meqs.php : $sql=" UPDATE ".$table_name. " SET huname='Salinas (309)' WHERE hu=309 "; $result=Run_Sql($region3_dialect,$sql);
./ccamp_calc_meqs.php : $sql=" UPDATE ".$table_name. " SET huname='San Luis Opispo (310)' WHERE hu=310 "; $result=Run_Sql($region3_dialect,$sql);
./ccamp_calc_meqs.php : $sql=" UPDATE ".$table_name. " SET huname='Carrizo Plain (311)' WHERE hu=311 "; $result=Run_Sql($region3_dialect,$sql);
./ccamp_calc_meqs.php : $sql=" UPDATE ".$table_name. " SET huname='Santa Maria (312)' WHERE hu=312 "; $result=Run_Sql($region3_dialect,$sql);
./ccamp_calc_meqs.php : $sql=" UPDATE ".$table_name. " SET huname='San Antonio (313)' WHERE hu=313 "; $result=Run_Sql($region3_dialect,$sql);
./ccamp_calc_meqs.php : $sql=" UPDATE ".$table_name. " SET huname='Santa Ynez (314)' WHERE hu=314 "; $result=Run_Sql($region3_dialect,$sql);
./ccamp_calc_meqs.php : $sql=" UPDATE ".$table_name. " SET huname='Santa Barbara (315)' WHERE hu=315 "; $result=Run_Sql($region3_dialect,$sql);
./ccamp_calc_meqs.php : $sql=" UPDATE ".$table_name. " SET huname='Channel Islands (316)' WHERE hu=316 "; $result=Run_Sql($region3_dialect,$sql);
./ccamp_calc_meqs.php : $sql=" UPDATE ".$table_name. " SET huname='Estrella River (317)' WHERE hu=317 "; $result=Run_Sql($region3_dialect,$sql);
./ccamp_calc_meqs.php : $sql=" UPDATE ".$table_name. " SET hu=LEFT(SiteTag,3) "; $result=Run_Sql($region3_dialect,$sql);
./ccamp_calc_meqs.php : function move_wqis_2_data($region3_dialect,$log,$wqa_table,$web_data_table){
./ccamp_calc_meqs.php : $result=Run_Sql($region3_dialect,$sql); if($log_verbose) log_time($sql);
./ccamp_calc_meqs.php : $result=Run_Sql($region3_dialect,$sql); if($log_verbose) log_time($sql);
./ccamp_calc_meqs.php : reset_id_keys($region3_dialect,$log,$web_data_table);
./ccamp_calc_meqs.php : function set_index_counts($region3_dialect,$log,$org_id){
./ccamp_calc_meqs.php : $result=Run_Sql($region3_dialect,$sql); if($log_verbose) log_time($sql);
./ccamp_calc_meqs.php : while ($data=sql_fetch_assoc($region3_dialect,$result))
./ccamp_calc_meqs.php : $result1=Run_Sql($region3_dialect,$sql); if($log_verbose) log_time($sql);
./ccamp_calc_meqs.php : while ($data1=sql_fetch_assoc($region3_dialect,$result1))
./ccamp_calc_meqs.php : $result2=Run_Sql($region3_dialect,$sql); if($log_verbose) log_time($sql);
./ccamp_calc_meqs.php : Run_Sql($region3_dialect,$sql);
./ccamp_calc_meqs.php : Run_Sql($region3_dialect,$sql);
./ccamp_calc_meqs.php : $sql="UPDATE index_wqi_site SET NS_Site_Health=N_Site_Health*S_Site_Health"; Run_Sql($region3_dialect,$sql);
./ccamp_calc_meqs.php : $sql="UPDATE index_wqi_site SET NS_Aquatic_Life=N_Aquatic_Life*S_Aquatic_Life"; Run_Sql($region3_dialect,$sql);
./ccamp_calc_meqs.php : $sql="UPDATE index_wqi_site SET NS_Human_Health=N_Human_Health*S_Human_Health"; Run_Sql($region3_dialect,$sql);
./ccamp_calc_meqs.php : $sql="UPDATE index_wqi_site SET NS_Wildlife=N_Wildlife*S_Wildlife"; Run_Sql($region3_dialect,$sql);
./ccamp_calc_meqs.php : $sql="UPDATE index_wqi_site SET NS_Biostim_Risk=N_Biostim_Risk*S_Biostim_Risk"; Run_Sql($region3_dialect,$sql);
./ccamp_calc_meqs.php : $sql="UPDATE index_wqi_site SET NS_BMI=N_BMI*S_BMI"; Run_Sql($region3_dialect,$sql);
./ccamp_calc_meqs.php : $sql="UPDATE index_wqi_site SET NS_phab=N_phab*S_phab"; Run_Sql($region3_dialect,$sql);
./ccamp_calc_meqs.php : $sql="UPDATE index_wqi_site SET NS_Goby=N_Goby*S_Goby"; Run_Sql($region3_dialect,$sql);
./ccamp_calc_meqs.php : $sql="UPDATE index_wqi_site SET NS_Habitat=N_Habitat*S_Habitat"; Run_Sql($region3_dialect,$sql);
./ccamp_calc_meqs.php : $sql="UPDATE index_wqi_site SET NS_land_cover=N_land_cover*S_land_cover"; Run_Sql($region3_dialect,$sql);
./ccamp_calc_meqs.php : $sql="UPDATE index_wqi_site SET NS_Met_Aquatic_Life_H2o=N_Met_Aquatic_Life_H2o*S_Met_Aquatic_Life_H2o"; Run_Sql($region3_dialect,$sql);
./ccamp_calc_meqs.php : $sql="UPDATE index_wqi_site SET NS_Met_Aquatic_Life_Sed=N_Met_Aquatic_Life_Sed*S_Met_Aquatic_Life_Sed"; Run_Sql($region3_dialect,$sql);
./ccamp_calc_meqs.php : $sql="UPDATE index_wqi_site SET NS_Met_Human_Health=N_Met_Human_Health*S_Met_Human_Health"; Run_Sql($region3_dialect,$sql);
./ccamp_calc_meqs.php : $sql="UPDATE index_wqi_site SET NS_Org_Aquatic_Life_H2o=N_Org_Aquatic_Life_H2o*S_Org_Aquatic_Life_H2o"; Run_Sql($region3_dialect,$sql);
./ccamp_calc_meqs.php : $sql="UPDATE index_wqi_site SET NS_Org_Aquatic_Life_Sed=N_Org_Aquatic_Life_Sed*S_Org_Aquatic_Life_Sed"; Run_Sql($region3_dialect,$sql);
./ccamp_calc_meqs.php : $sql="UPDATE index_wqi_site SET NS_Org_Human_Health=N_Org_Human_Health*S_Org_Human_Health"; Run_Sql($region3_dialect,$sql);
./ccamp_calc_meqs.php : $sql="UPDATE index_wqi_site SET NS_Otter=N_Otter*S_Otter"; Run_Sql($region3_dialect,$sql);
./ccamp_calc_meqs.php : $sql="UPDATE index_wqi_site SET NS_Pah_Aquatic_Life_H2o=N_Pah_Aquatic_Life_H2o*S_Pah_Aquatic_Life_H2o"; Run_Sql($region3_dialect,$sql);
./ccamp_calc_meqs.php : $sql="UPDATE index_wqi_site SET NS_Pah_Aquatic_Life_Sed=N_Pah_Aquatic_Life_Sed*S_Pah_Aquatic_Life_Sed"; Run_Sql($region3_dialect,$sql);
./ccamp_calc_meqs.php : $sql="UPDATE index_wqi_site SET NS_Pah_Human_Health=N_Pah_Human_Health*S_Pah_Human_Health"; Run_Sql($region3_dialect,$sql);
./ccamp_calc_meqs.php : $sql="UPDATE index_wqi_site SET NS_pesticide_use=N_pesticide_use*S_pesticide_use"; Run_Sql($region3_dialect,$sql);
./ccamp_calc_meqs.php : $sql="UPDATE index_wqi_site SET NS_Riparian=N_Riparian*S_Riparian"; Run_Sql($region3_dialect,$sql);
./ccamp_calc_meqs.php : $sql="UPDATE index_wqi_site SET NS_Steelhead=N_Steelhead*S_Steelhead"; Run_Sql($region3_dialect,$sql);
./ccamp_calc_meqs.php : $sql="UPDATE index_wqi_site SET NS_Toxicity_H2o=N_Toxicity_H2o*S_Toxicity_H2o"; Run_Sql($region3_dialect,$sql);
./ccamp_calc_meqs.php : $sql="UPDATE index_wqi_site SET NS_Toxicity_Sed=N_Toxicity_Sed*S_Toxicity_Sed"; Run_Sql($region3_dialect,$sql);
./ccamp_calc_meqs.php : $sql="UPDATE index_wqi_site SET NS_WQ_Aquatic_Life=N_WQ_Aquatic_Life*S_WQ_Aquatic_Life"; Run_Sql($region3_dialect,$sql);
./ccamp_calc_meqs.php : $sql="UPDATE index_wqi_site SET NS_WQ_Groundwater=N_WQ_Groundwater*S_WQ_Groundwater"; Run_Sql($region3_dialect,$sql);
./ccamp_calc_meqs.php : $sql="UPDATE index_wqi_site SET NS_WQ_Human_Health=N_WQ_Human_Health*S_WQ_Human_Health"; Run_Sql($region3_dialect,$sql);
./ccamp_calc_meqs.php : $sql="UPDATE index_wqi_site SET NS_Salts_Human_Health=N_Salts_Human_Health*S_Salts_Human_Health"; Run_Sql($region3_dialect,$sql);
./ccamp_calc_meqs.php : $sql="UPDATE index_wqi_site SET NS_Pathogens=N_Pathogens*S_Pathogens"; Run_Sql($region3_dialect,$sql);
./ccamp_calc_meqs.php : $sql=" UPDATE ".$wqa_table." SET Webusage=0 WHERE NS_Site_Health20 and ccampid='INDEX_SITE_HEALTH' AND site_tag='".$site_tag."' "; echo $sql.'br'; # Run_Sql($region3_dialect,$sql);
./ccamp_calc_meqs.php : $sql=" UPDATE ".$wqa_table." SET Webusage=0 WHERE NS_Aquatic_Life20 and ccampid='INDEX_AQUATIC_LIFE' AND site_tag='".$site_tag."' "; echo $sql.'br'; # Run_Sql($region3_dialect,$sql);
./ccamp_calc_meqs.php : $sql=" UPDATE ".$wqa_table." SET Webusage=0 WHERE NS_Human_Health20 and ccampid='INDEX_HUMAN_HEALTH' AND site_tag='".$site_tag."' "; echo $sql.'br'; # Run_Sql($region3_dialect,$sql);
./ccamp_calc_meqs.php : $sql=" UPDATE ".$wqa_table." SET Webusage=0 WHERE NS_Wildlife20 and ccampid='INDEX_WILDLIFE' AND site_tag='".$site_tag."' "; echo $sql.'br'; # Run_Sql($region3_dialect,$sql);
./ccamp_calc_meqs.php : $sql=" UPDATE ".$wqa_table." SET Webusage=0 WHERE NS_Biostim_Risk20 and ccampid='INDEX_BIOSTIM_RISK' AND site_tag='".$site_tag."' "; echo $sql.'br'; # Run_Sql($region3_dialect,$sql);
./ccamp_calc_meqs.php : $sql=" UPDATE ".$wqa_table." SET Webusage=0 WHERE NS_BMI20 and ccampid='INDEX_BMI' AND site_tag='".$site_tag."' "; echo $sql.'br'; # Run_Sql($region3_dialect,$sql);
./ccamp_calc_meqs.php : $sql=" UPDATE ".$wqa_table." SET Webusage=0 WHERE NS_phab20 and ccampid='INDEX_PHAB' AND site_tag='".$site_tag."' "; echo $sql.'br'; # Run_Sql($region3_dialect,$sql);
./ccamp_calc_meqs.php : $sql=" UPDATE ".$wqa_table." SET Webusage=0 WHERE NS_Goby20 and ccampid='INDEX_GOBY' AND site_tag='".$site_tag."' "; echo $sql.'br'; # Run_Sql($region3_dialect,$sql);
./ccamp_calc_meqs.php : $sql=" UPDATE ".$wqa_table." SET Webusage=0 WHERE NS_Habitat20 and ccampid='INDEX_HABITAT' AND site_tag='".$site_tag."' "; echo $sql.'br'; # Run_Sql($region3_dialect,$sql);
./ccamp_calc_meqs.php : $sql=" UPDATE ".$wqa_table." SET Webusage=0 WHERE NS_land_cover20 and ccampid='INDEX_LAND_COVER' AND site_tag='".$site_tag."' "; echo $sql.'br'; # Run_Sql($region3_dialect,$sql);
./ccamp_calc_meqs.php : $sql=" UPDATE ".$wqa_table." SET Webusage=0 WHERE NS_Met_Aquatic_Life_H2o20 and ccampid='INDEX_MET_AQUATIC_LIFE_H2O' AND site_tag='".$site_tag."' "; echo $sql.'br'; # Run_Sql($region3_dialect,$sql);
./ccamp_calc_meqs.php : $sql=" UPDATE ".$wqa_table." SET Webusage=0 WHERE NS_Met_Aquatic_Life_Sed20 and ccampid='INDEX_MET_AQUATIC_LIFE_SED' AND site_tag='".$site_tag."' "; echo $sql.'br'; # Run_Sql($region3_dialect,$sql);
./ccamp_calc_meqs.php : $sql=" UPDATE ".$wqa_table." SET Webusage=0 WHERE NS_Met_Human_Health20 and ccampid='INDEX_MET_HUMAN_HEALTH' AND site_tag='".$site_tag."' "; echo $sql.'br'; # Run_Sql($region3_dialect,$sql);
./ccamp_calc_meqs.php : $sql=" UPDATE ".$wqa_table." SET Webusage=0 WHERE NS_Org_Aquatic_Life_H2o20 and ccampid='INDEX_ORG_AQUATIC_LIFE_H2O' AND site_tag='".$site_tag."' "; echo $sql.'br'; # Run_Sql($region3_dialect,$sql);
./ccamp_calc_meqs.php : $sql=" UPDATE ".$wqa_table." SET Webusage=0 WHERE NS_Org_Aquatic_Life_Sed20 and ccampid='INDEX_ORG_AQUATIC_LIFE_SED' AND site_tag='".$site_tag."' "; echo $sql.'br'; # Run_Sql($region3_dialect,$sql);
./ccamp_calc_meqs.php : $sql=" UPDATE ".$wqa_table." SET Webusage=0 WHERE NS_Org_Human_Health20 and ccampid='INDEX_ORG_HUMAN_HEALTH' AND site_tag='".$site_tag."' "; echo $sql.'br'; # Run_Sql($region3_dialect,$sql);
./ccamp_calc_meqs.php : $sql=" UPDATE ".$wqa_table." SET Webusage=0 WHERE Ns_Otter20 and ccampid='INDEX_OTTER' AND site_tag='".$site_tag."' "; echo $sql.'br'; # Run_Sql($region3_dialect,$sql);
./ccamp_calc_meqs.php : $sql=" UPDATE ".$wqa_table." SET Webusage=0 WHERE NS_Pah_Aquatic_Life_H2o20 and ccampid='INDEX_PAH_AQUATIC_LIFE_H2O' AND site_tag='".$site_tag."' "; echo $sql.'br'; # Run_Sql($region3_dialect,$sql);
./ccamp_calc_meqs.php : $sql=" UPDATE ".$wqa_table." SET Webusage=0 WHERE NS_Pah_Aquatic_Life_Sed20 and ccampid='INDEX_PAH_AQUATIC_LIFE_SED' AND site_tag='".$site_tag."' "; echo $sql.'br'; # Run_Sql($region3_dialect,$sql);
./ccamp_calc_meqs.php : $sql=" UPDATE ".$wqa_table." SET Webusage=0 WHERE NS_Pah_Human_Health20 and ccampid='INDEX_PAH_HUMAN_HEALTH' AND site_tag='".$site_tag."' "; echo $sql.'br'; # Run_Sql($region3_dialect,$sql);
./ccamp_calc_meqs.php : $sql=" UPDATE ".$wqa_table." SET Webusage=0 WHERE NS_pesticide_use20 and ccampid='INDEX_PESTICIDE_USE' AND site_tag='".$site_tag."' "; echo $sql.'br'; # Run_Sql($region3_dialect,$sql);
./ccamp_calc_meqs.php : $sql=" UPDATE ".$wqa_table." SET Webusage=0 WHERE NS_Riparian20 and ccampid='INDEX_RIPARIAN' AND site_tag='".$site_tag."' "; echo $sql.'br'; # Run_Sql($region3_dialect,$sql);
./ccamp_calc_meqs.php : $sql=" UPDATE ".$wqa_table." SET Webusage=0 WHERE NS_Steelhead20 and ccampid='INDEX_STEELHEAD' AND site_tag='".$site_tag."' "; echo $sql.'br'; # Run_Sql($region3_dialect,$sql);
./ccamp_calc_meqs.php : $sql=" UPDATE ".$wqa_table." SET Webusage=0 WHERE NS_Toxicity_H2o20 and ccampid='INDEX_TOXICITY_H2O' AND site_tag='".$site_tag."' "; echo $sql.'br'; # Run_Sql($region3_dialect,$sql);
./ccamp_calc_meqs.php : $sql=" UPDATE ".$wqa_table." SET Webusage=0 WHERE NS_Toxicity_Sed20 and ccampid='INDEX_TOXICITY_SED' AND site_tag='".$site_tag."' "; echo $sql.'br'; # Run_Sql($region3_dialect,$sql);
./ccamp_calc_meqs.php : $sql=" UPDATE ".$wqa_table." SET Webusage=0 WHERE NS_WQ_Aquatic_Life20 and ccampid='INDEX_WQ_AQUATIC_LIFE' AND site_tag='".$site_tag."' "; echo $sql.'br'; # Run_Sql($region3_dialect,$sql);
./ccamp_calc_meqs.php : $sql=" UPDATE ".$wqa_table." SET Webusage=0 WHERE NS_WQ_Groundwater20 and ccampid='INDEX_WQ_GROUNDWATER' AND site_tag='".$site_tag."' "; echo $sql.'br'; # Run_Sql($region3_dialect,$sql);
./ccamp_calc_meqs.php : $sql=" UPDATE ".$wqa_table." SET Webusage=0 WHERE NS_WQ_Human_Health20 and ccampid='INDEX_WQ_HUMAN_HEALTH' AND site_tag='".$site_tag."' "; echo $sql.'br'; # Run_Sql($region3_dialect,$sql);
./ccamp_calc_meqs.php : $sql=" UPDATE ".$wqa_table." SET Webusage=0 WHERE NS_Salts_Human_Health20 and ccampid='INDEX_SALTS_HUMAN_HEALTH' AND site_tag='".$site_tag."' "; echo $sql.'br'; # Run_Sql($region3_dialect,$sql);
./ccamp_calc_meqs.php : $sql=" UPDATE ".$wqa_table." SET Webusage=0 WHERE NS_Pathogens20 and ccampid='INDEX_PATHOGENS' AND site_tag='".$site_tag."' "; echo $sql.'br'; # Run_Sql($region3_dialect,$sql);
./ccamp_calc_meqs.php : $sql=" UPDATE index_wqi_site SET wqa_date=NOW(),created_dt=NOW(),modified_dt=NOW() "; Run_Sql($region3_dialect,$sql); if($verbose_output) log_sql($log,$txt);
./ccamp_calc_meqs.php : function set_Qualifier($region3_dialect,$log,$org_id,$data_table,$dir){
./ccamp_calc_meqs.php : $sql="UPDATE ".$data_table." SET ".$dir."='-' WHERE ccampid='ALG_50_DO' "; Run_Sql($region3_dialect,$sql); if($log_verbose) log_time($sql);
./ccamp_calc_meqs.php : $sql="UPDATE ".$data_table." SET ".$dir."='-' WHERE ccampid='ALG_50_DO_SCR' "; Run_Sql($region3_dialect,$sql); if($log_verbose) log_time($sql);
./ccamp_calc_meqs.php : $sql="UPDATE ".$data_table." SET ".$dir."='+' WHERE ccampid='ALG_CU' "; Run_Sql($region3_dialect,$sql); if($log_verbose) log_time($sql);
./ccamp_calc_meqs.php : $sql="UPDATE ".$data_table." SET ".$dir."='-' WHERE ccampid='ALG_CU_SCR' "; Run_Sql($region3_dialect,$sql); if($log_verbose) log_time($sql);
./ccamp_calc_meqs.php : $sql="UPDATE ".$data_table." SET ".$dir."='+' WHERE ccampid='ALG_DOC' "; Run_Sql($region3_dialect,$sql); if($log_verbose) log_time($sql);
./ccamp_calc_meqs.php : $sql="UPDATE ".$data_table." SET ".$dir."='-' WHERE ccampid='ALG_DOC_SCR' "; Run_Sql($region3_dialect,$sql); if($log_verbose) log_time($sql);
./ccamp_calc_meqs.php : $sql="UPDATE ".$data_table." SET ".$dir."='-' WHERE ccampid='ALG_H2O_MMI' "; Run_Sql($region3_dialect,$sql); if($log_verbose) log_time($sql);
./ccamp_calc_meqs.php : $sql="UPDATE ".$data_table." SET ".$dir."='+' WHERE ccampid='ALG_HALO' "; Run_Sql($region3_dialect,$sql); if($log_verbose) log_time($sql);
./ccamp_calc_meqs.php : $sql="UPDATE ".$data_table." SET ".$dir."='-' WHERE ccampid='ALG_HALO_SCR' "; Run_Sql($region3_dialect,$sql); if($log_verbose) log_time($sql);
./ccamp_calc_meqs.php : $sql="UPDATE ".$data_table." SET ".$dir."='+' WHERE ccampid='ALG_N' "; Run_Sql($region3_dialect,$sql); if($log_verbose) log_time($sql);
./ccamp_calc_meqs.php : $sql="UPDATE ".$data_table." SET ".$dir."='-' WHERE ccampid='ALG_N_SCR' "; Run_Sql($region3_dialect,$sql); if($log_verbose) log_time($sql);
./ccamp_calc_meqs.php : $sql="UPDATE ".$data_table." SET ".$dir."='+' WHERE ccampid='ALG_SED' "; Run_Sql($region3_dialect,$sql); if($log_verbose) log_time($sql);
./ccamp_calc_meqs.php : $sql="UPDATE ".$data_table." SET ".$dir."='-' WHERE ccampid='ALG_SED_SCR' "; Run_Sql($region3_dialect,$sql); if($log_verbose) log_time($sql);
./ccamp_calc_meqs.php : $sql="UPDATE ".$data_table." SET ".$dir."='-' WHERE ccampid='ALG_TN' "; Run_Sql($region3_dialect,$sql); if($log_verbose) log_time($sql);
./ccamp_calc_meqs.php : $sql="UPDATE ".$data_table." SET ".$dir."='-' WHERE ccampid='ALG_TN_SCR' "; Run_Sql($region3_dialect,$sql); if($log_verbose) log_time($sql);
./ccamp_calc_meqs.php : $sql="UPDATE ".$data_table." SET ".$dir."='-' WHERE ccampid='ALG_TP' "; Run_Sql($region3_dialect,$sql); if($log_verbose) log_time($sql);
./ccamp_calc_meqs.php : $sql="UPDATE ".$data_table." SET ".$dir."='-' WHERE ccampid='ALG_TP_SCR' "; Run_Sql($region3_dialect,$sql); if($log_verbose) log_time($sql);
./ccamp_calc_meqs.php : $sql="UPDATE ".$data_table." SET ".$dir."='-' WHERE ccampid='B_CSCI' "; Run_Sql($region3_dialect,$sql); if($log_verbose) log_time($sql);
./ccamp_calc_meqs.php : $sql="UPDATE ".$data_table." SET ".$dir."='-' WHERE ccampid='B_EPTINDEX' "; Run_Sql($region3_dialect,$sql); if($log_verbose) log_time($sql);
./ccamp_calc_meqs.php : $sql="UPDATE ".$data_table." SET ".$dir."='-' WHERE ccampid='B_ETTAXA_SP' "; Run_Sql($region3_dialect,$sql); if($log_verbose) log_time($sql);
./ccamp_calc_meqs.php : $sql="UPDATE ".$data_table." SET ".$dir."='-' WHERE ccampid='B_NEEPPTI_NI' "; Run_Sql($region3_dialect,$sql); if($log_verbose) log_time($sql);
./ccamp_calc_meqs.php : $sql="UPDATE ".$data_table." SET ".$dir."='-' WHERE ccampid='B_NIINNTET_NT' "; Run_Sql($region3_dialect,$sql); if($log_verbose) log_time($sql);
./ccamp_calc_meqs.php : $sql="UPDATE ".$data_table." SET ".$dir."='-' WHERE ccampid='B_NIINNTI_NI' "; Run_Sql($region3_dialect,$sql); if($log_verbose) log_time($sql);
./ccamp_calc_meqs.php : $sql="UPDATE ".$data_table." SET ".$dir."='-' WHERE ccampid='B_NIINNTT_NT' "; Run_Sql($region3_dialect,$sql); if($log_verbose) log_time($sql);
./ccamp_calc_meqs.php : $sql="UPDATE ".$data_table." SET ".$dir."='-' WHERE ccampid='B_NOCALIBI' "; Run_Sql($region3_dialect,$sql); if($log_verbose) log_time($sql);
./ccamp_calc_meqs.php : $sql="UPDATE ".$data_table." SET ".$dir."='-' WHERE ccampid='B_NSSEVEEI_NI' "; Run_Sql($region3_dialect,$sql); if($log_verbose) log_time($sql);
./ccamp_calc_meqs.php : $sql="UPDATE ".$data_table." SET ".$dir."='+' WHERE ccampid='B_PDDONTT_SP' "; Run_Sql($region3_dialect,$sql); if($log_verbose) log_time($sql);
./ccamp_calc_meqs.php : $sql="UPDATE ".$data_table." SET ".$dir."='-' WHERE ccampid='B_PPPRORT_PT' "; Run_Sql($region3_dialect,$sql); if($log_verbose) log_time($sql);
./ccamp_calc_meqs.php : $sql="UPDATE ".$data_table." SET ".$dir."='-' WHERE ccampid='B_PPPRRS_SP' "; Run_Sql($region3_dialect,$sql); if($log_verbose) log_time($sql);
./ccamp_calc_meqs.php : $sql="UPDATE ".$data_table." SET ".$dir."='+' WHERE ccampid='B_PTTONTT_PT' "; Run_Sql($region3_dialect,$sql); if($log_verbose) log_time($sql);
./ccamp_calc_meqs.php : $sql="UPDATE ".$data_table." SET ".$dir."='-' WHERE ccampid='B_SEEPPTI_SP' "; Run_Sql($region3_dialect,$sql); if($log_verbose) log_time($sql);
./ccamp_calc_meqs.php : $sql="UPDATE ".$data_table." SET ".$dir."='-' WHERE ccampid='B_SOCALIBI' "; Run_Sql($region3_dialect,$sql); if($log_verbose) log_time($sql);
./ccamp_calc_meqs.php : $sql="UPDATE ".$data_table." SET ".$dir."='-' WHERE ccampid='B_TRRISS_SP' "; Run_Sql($region3_dialect,$sql); if($log_verbose) log_time($sql);
./ccamp_calc_meqs.php : $sql="UPDATE ".$data_table." SET ".$dir."='+' WHERE ccampid='AIR_TEMP' "; Run_Sql($region3_dialect,$sql); if($log_verbose) log_time($sql);
./ccamp_calc_meqs.php : $sql="UPDATE ".$data_table." SET ".$dir."='+' WHERE ccampid='ALGA_CVR' "; Run_Sql($region3_dialect,$sql); if($log_verbose) log_time($sql);
./ccamp_calc_meqs.php : $sql="UPDATE ".$data_table." SET ".$dir."='+' WHERE ccampid='ALGA_FILA' "; Run_Sql($region3_dialect,$sql); if($log_verbose) log_time($sql);
./ccamp_calc_meqs.php : $sql="UPDATE ".$data_table." SET ".$dir."='+' WHERE ccampid='ALGA_MATS' "; Run_Sql($region3_dialect,$sql); if($log_verbose) log_time($sql);
./ccamp_calc_meqs.php : $sql="UPDATE ".$data_table." SET ".$dir."='+' WHERE ccampid='ALGA_PERI' "; Run_Sql($region3_dialect,$sql); if($log_verbose) log_time($sql);
./ccamp_calc_meqs.php : $sql="UPDATE ".$data_table." SET ".$dir."='+' WHERE ccampid='BORON_DIS' "; Run_Sql($region3_dialect,$sql); if($log_verbose) log_time($sql);
./ccamp_calc_meqs.php : $sql="UPDATE ".$data_table." SET ".$dir."='+' WHERE ccampid='CA' "; Run_Sql($region3_dialect,$sql); if($log_verbose) log_time($sql);
./ccamp_calc_meqs.php : $sql="UPDATE ".$data_table." SET ".$dir."='+' WHERE ccampid='CHLORA' "; Run_Sql($region3_dialect,$sql); if($log_verbose) log_time($sql);
./ccamp_calc_meqs.php : $sql="UPDATE ".$data_table." SET ".$dir."='+' WHERE ccampid='CHLORIDE' "; Run_Sql($region3_dialect,$sql); if($log_verbose) log_time($sql);
./ccamp_calc_meqs.php : $sql="UPDATE ".$data_table." SET ".$dir."='+' WHERE ccampid='CLAY39' "; Run_Sql($region3_dialect,$sql); if($log_verbose) log_time($sql);
./ccamp_calc_meqs.php : $sql="UPDATE ".$data_table." SET ".$dir."='+' WHERE ccampid='COND_US' "; Run_Sql($region3_dialect,$sql); if($log_verbose) log_time($sql);
./ccamp_calc_meqs.php : $sql="UPDATE ".$data_table." SET ".$dir."='-' WHERE ccampid='CSHADE' "; Run_Sql($region3_dialect,$sql); if($log_verbose) log_time($sql);
./ccamp_calc_meqs.php : $sql="UPDATE ".$data_table." SET ".$dir."='-' WHERE ccampid='DO_PPM' "; Run_Sql($region3_dialect,$sql); if($log_verbose) log_time($sql);
./ccamp_calc_meqs.php : $sql="UPDATE ".$data_table." SET ".$dir."='+' WHERE ccampid='DO_PPM_DEP' "; Run_Sql($region3_dialect,$sql); if($log_verbose) log_time($sql);
./ccamp_calc_meqs.php : $sql="UPDATE ".$data_table." SET ".$dir."='-' WHERE ccampid='DO_SAT' "; Run_Sql($region3_dialect,$sql); if($log_verbose) log_time($sql);
./ccamp_calc_meqs.php : $sql="UPDATE ".$data_table." SET ".$dir."='+' WHERE ccampid='ECOLI' "; Run_Sql($region3_dialect,$sql); if($log_verbose) log_time($sql);
./ccamp_calc_meqs.php : $sql="UPDATE ".$data_table." SET ".$dir."='+' WHERE ccampid='ENTERO' "; Run_Sql($region3_dialect,$sql); if($log_verbose) log_time($sql);
./ccamp_calc_meqs.php : $sql="UPDATE ".$data_table." SET ".$dir."='+' WHERE ccampid='FCOLI' "; Run_Sql($region3_dialect,$sql); if($log_verbose) log_time($sql);
./ccamp_calc_meqs.php : $sql="UPDATE ".$data_table." SET ".$dir."='-' WHERE ccampid='FLOW' "; Run_Sql($region3_dialect,$sql); if($log_verbose) log_time($sql);
./ccamp_calc_meqs.php : $sql="UPDATE ".$data_table." SET ".$dir."='+' WHERE ccampid='GRAN24' "; Run_Sql($region3_dialect,$sql); if($log_verbose) log_time($sql);
./ccamp_calc_meqs.php : $sql="UPDATE ".$data_table." SET ".$dir."='+' WHERE ccampid='H2O_TEMP' "; Run_Sql($region3_dialect,$sql); if($log_verbose) log_time($sql);
./ccamp_calc_meqs.php : $sql="UPDATE ".$data_table." SET ".$dir."='+' WHERE ccampid='HARD' "; Run_Sql($region3_dialect,$sql); if($log_verbose) log_time($sql);
./ccamp_calc_meqs.php : $sql="UPDATE ".$data_table." SET ".$dir."='+' WHERE ccampid='N_N' "; Run_Sql($region3_dialect,$sql); if($log_verbose) log_time($sql);
./ccamp_calc_meqs.php : $sql="UPDATE ".$data_table." SET ".$dir."='+' WHERE ccampid='NH3_N' "; Run_Sql($region3_dialect,$sql); if($log_verbose) log_time($sql);
./ccamp_calc_meqs.php : $sql="UPDATE ".$data_table." SET ".$dir."='+' WHERE ccampid='NH3U_N' "; Run_Sql($region3_dialect,$sql); if($log_verbose) log_time($sql);
./ccamp_calc_meqs.php : $sql="UPDATE ".$data_table." SET ".$dir."='+' WHERE ccampid='NO2_N' "; Run_Sql($region3_dialect,$sql); if($log_verbose) log_time($sql);
./ccamp_calc_meqs.php : $sql="UPDATE ".$data_table." SET ".$dir."='+' WHERE ccampid='NO3_N' "; Run_Sql($region3_dialect,$sql); if($log_verbose) log_time($sql);
./ccamp_calc_meqs.php : $sql="UPDATE ".$data_table." SET ".$dir."='+' WHERE ccampid='NO3NO2_N' "; Run_Sql($region3_dialect,$sql); if($log_verbose) log_time($sql);
./ccamp_calc_meqs.php : $sql="UPDATE ".$data_table." SET ".$dir."='+' WHERE ccampid='OP_P' "; Run_Sql($region3_dialect,$sql); if($log_verbose) log_time($sql);
./ccamp_calc_meqs.php : $sql="UPDATE ".$data_table." SET ".$dir."='+' WHERE ccampid='P_P' "; Run_Sql($region3_dialect,$sql); if($log_verbose) log_time($sql);
./ccamp_calc_meqs.php : $sql="UPDATE ".$data_table." SET ".$dir."='+' WHERE ccampid='P_P' "; Run_Sql($region3_dialect,$sql); if($log_verbose) log_time($sql);
./ccamp_calc_meqs.php : $sql="UPDATE ".$data_table." SET ".$dir."='+' WHERE ccampid='PH' "; Run_Sql($region3_dialect,$sql); if($log_verbose) log_time($sql);
./ccamp_calc_meqs.php : $sql="UPDATE ".$data_table." SET ".$dir."='+' WHERE ccampid='PH_DEP' "; Run_Sql($region3_dialect,$sql); if($log_verbose) log_time($sql);
./ccamp_calc_meqs.php : $sql="UPDATE ".$data_table." SET ".$dir."='+' WHERE ccampid='PLNT_CVR' "; Run_Sql($region3_dialect,$sql); if($log_verbose) log_time($sql);
./ccamp_calc_meqs.php : $sql="UPDATE ".$data_table." SET ".$dir."='+' WHERE ccampid='SALINITY' "; Run_Sql($region3_dialect,$sql); if($log_verbose) log_time($sql);
./ccamp_calc_meqs.php : $sql="UPDATE ".$data_table." SET ".$dir."='+' WHERE ccampid='SILICA' "; Run_Sql($region3_dialect,$sql); if($log_verbose) log_time($sql);
./ccamp_calc_meqs.php : $sql="UPDATE ".$data_table." SET ".$dir."='+' WHERE ccampid='SODIUM' "; Run_Sql($region3_dialect,$sql); if($log_verbose) log_time($sql);
./ccamp_calc_meqs.php : $sql="UPDATE ".$data_table." SET ".$dir."='+' WHERE ccampid='SSC' "; Run_Sql($region3_dialect,$sql); if($log_verbose) log_time($sql);
./ccamp_calc_meqs.php : $sql="UPDATE ".$data_table." SET ".$dir."='+' WHERE ccampid='STAGE' "; Run_Sql($region3_dialect,$sql); if($log_verbose) log_time($sql);
./ccamp_calc_meqs.php : $sql="UPDATE ".$data_table." SET ".$dir."='+' WHERE ccampid='SULFATE' "; Run_Sql($region3_dialect,$sql); if($log_verbose) log_time($sql);
./ccamp_calc_meqs.php : $sql="UPDATE ".$data_table." SET ".$dir."='+' WHERE ccampid='TCOLI' "; Run_Sql($region3_dialect,$sql); if($log_verbose) log_time($sql);
./ccamp_calc_meqs.php : $sql="UPDATE ".$data_table." SET ".$dir."='+' WHERE ccampid='TDS' "; Run_Sql($region3_dialect,$sql); if($log_verbose) log_time($sql);
./ccamp_calc_meqs.php : $sql="UPDATE ".$data_table." SET ".$dir."='+' WHERE ccampid='TKN_N' "; Run_Sql($region3_dialect,$sql); if($log_verbose) log_time($sql);
./ccamp_calc_meqs.php : $sql="UPDATE ".$data_table." SET ".$dir."='+' WHERE ccampid='TSS' "; Run_Sql($region3_dialect,$sql); if($log_verbose) log_time($sql);
./ccamp_calc_meqs.php : $sql="UPDATE ".$data_table." SET ".$dir."='+' WHERE ccampid='TURB_N' "; Run_Sql($region3_dialect,$sql); if($log_verbose) log_time($sql);
./ccamp_calc_meqs.php : $sql="UPDATE ".$data_table." SET ".$dir."='+' WHERE ccampid='TVS' "; Run_Sql($region3_dialect,$sql); if($log_verbose) log_time($sql);
./ccamp_calc_meqs.php : $sql="UPDATE ".$data_table." SET ".$dir."='+' WHERE ccampid='UREA' "; Run_Sql($region3_dialect,$sql); if($log_verbose) log_time($sql);
./ccamp_calc_meqs.php : $sql="UPDATE ".$data_table." SET ".$dir."='+' WHERE ccampid='AFDM_ALGAE' "; Run_Sql($region3_dialect,$sql); if($log_verbose) log_time($sql);
./ccamp_calc_meqs.php : $sql="UPDATE ".$data_table." SET ".$dir."='-' WHERE ccampid='CANOPY' "; Run_Sql($region3_dialect,$sql); if($log_verbose) log_time($sql);
./ccamp_calc_meqs.php : $sql="UPDATE ".$data_table." SET ".$dir."='+' WHERE ccampid='CLAY39195' "; Run_Sql($region3_dialect,$sql); if($log_verbose) log_time($sql);
./ccamp_calc_meqs.php : $sql="UPDATE ".$data_table." SET ".$dir."='+' WHERE ccampid='CLAY98' "; Run_Sql($region3_dialect,$sql); if($log_verbose) log_time($sql);
./ccamp_calc_meqs.php : $sql="UPDATE ".$data_table." SET ".$dir."='+' WHERE ccampid='CLAY98195' "; Run_Sql($region3_dialect,$sql); if($log_verbose) log_time($sql);
./ccamp_calc_meqs.php : $sql="UPDATE ".$data_table." SET ".$dir."='+' WHERE ccampid='EMBED' "; Run_Sql($region3_dialect,$sql); if($log_verbose) log_time($sql);
./ccamp_calc_meqs.php : $sql="UPDATE ".$data_table." SET ".$dir."='+' WHERE ccampid='FINE75' "; Run_Sql($region3_dialect,$sql); if($log_verbose) log_time($sql);
./ccamp_calc_meqs.php : $sql="UPDATE ".$data_table." SET ".$dir."='-' WHERE ccampid='PEBBLE1632' "; Run_Sql($region3_dialect,$sql); if($log_verbose) log_time($sql);
./ccamp_calc_meqs.php : $sql="UPDATE ".$data_table." SET ".$dir."='-' WHERE ccampid='PEBBLE3264' "; Run_Sql($region3_dialect,$sql); if($log_verbose) log_time($sql);
./ccamp_calc_meqs.php : $sql="UPDATE ".$data_table." SET ".$dir."='-' WHERE ccampid='PEBBLE48' "; Run_Sql($region3_dialect,$sql); if($log_verbose) log_time($sql);
./ccamp_calc_meqs.php : $sql="UPDATE ".$data_table." SET ".$dir."='-' WHERE ccampid='PEBBLE816' "; Run_Sql($region3_dialect,$sql); if($log_verbose) log_time($sql);
./ccamp_calc_meqs.php : $sql="UPDATE ".$data_table." SET ".$dir."='+' WHERE ccampid='PLUSAND' "; Run_Sql($region3_dialect,$sql); if($log_verbose) log_time($sql);
./ccamp_calc_meqs.php : $sql="UPDATE ".$data_table." SET ".$dir."='+' WHERE ccampid='PSAND' "; Run_Sql($region3_dialect,$sql); if($log_verbose) log_time($sql);
./ccamp_calc_meqs.php : $sql="UPDATE ".$data_table." SET ".$dir."='+' WHERE ccampid='PSILT' "; Run_Sql($region3_dialect,$sql); if($log_verbose) log_time($sql);
./ccamp_calc_meqs.php : $sql="UPDATE ".$data_table." SET ".$dir."='+' WHERE ccampid='PSILTCLAY' "; Run_Sql($region3_dialect,$sql); if($log_verbose) log_time($sql);
./ccamp_calc_meqs.php : $sql="UPDATE ".$data_table." SET ".$dir."='+' WHERE ccampid='SAND6252' "; Run_Sql($region3_dialect,$sql); if($log_verbose) log_time($sql);
./ccamp_calc_meqs.php : $sql="UPDATE ".$data_table." SET ".$dir."='+' WHERE ccampid='SILT3962' "; Run_Sql($region3_dialect,$sql); if($log_verbose) log_time($sql);
./ccamp_calc_meqs.php : $sql="UPDATE ".$data_table." SET ".$dir."='+' WHERE ccampid='AG' "; Run_Sql($region3_dialect,$sql); if($log_verbose) log_time($sql);
./ccamp_calc_meqs.php : $sql="UPDATE ".$data_table." SET ".$dir."='+' WHERE ccampid='AG' "; Run_Sql($region3_dialect,$sql); if($log_verbose) log_time($sql);
./ccamp_calc_meqs.php : $sql="UPDATE ".$data_table." SET ".$dir."='+' WHERE ccampid='AL' "; Run_Sql($region3_dialect,$sql); if($log_verbose) log_time($sql);
./ccamp_calc_meqs.php : $sql="UPDATE ".$data_table." SET ".$dir."='+' WHERE ccampid='AL' "; Run_Sql($region3_dialect,$sql); if($log_verbose) log_time($sql);
./ccamp_calc_meqs.php : $sql="UPDATE ".$data_table." SET ".$dir."='+' WHERE ccampid='AS1' "; Run_Sql($region3_dialect,$sql); if($log_verbose) log_time($sql);
./ccamp_calc_meqs.php : $sql="UPDATE ".$data_table." SET ".$dir."='+' WHERE ccampid='AS1' "; Run_Sql($region3_dialect,$sql); if($log_verbose) log_time($sql);
./ccamp_calc_meqs.php : $sql="UPDATE ".$data_table." SET ".$dir."='+' WHERE ccampid='CD' "; Run_Sql($region3_dialect,$sql); if($log_verbose) log_time($sql);
./ccamp_calc_meqs.php : $sql="UPDATE ".$data_table." SET ".$dir."='+' WHERE ccampid='CD' "; Run_Sql($region3_dialect,$sql); if($log_verbose) log_time($sql);
./ccamp_calc_meqs.php : $sql="UPDATE ".$data_table." SET ".$dir."='+' WHERE ccampid='CD_DIS' "; Run_Sql($region3_dialect,$sql); if($log_verbose) log_time($sql);
./ccamp_calc_meqs.php : $sql="UPDATE ".$data_table." SET ".$dir."='+' WHERE ccampid='CR' "; Run_Sql($region3_dialect,$sql); if($log_verbose) log_time($sql);
./ccamp_calc_meqs.php : $sql="UPDATE ".$data_table." SET ".$dir."='+' WHERE ccampid='CR' "; Run_Sql($region3_dialect,$sql); if($log_verbose) log_time($sql);
./ccamp_calc_meqs.php : $sql="UPDATE ".$data_table." SET ".$dir."='+' WHERE ccampid='CU' "; Run_Sql($region3_dialect,$sql); if($log_verbose) log_time($sql);
./ccamp_calc_meqs.php : $sql="UPDATE ".$data_table." SET ".$dir."='+' WHERE ccampid='CU' "; Run_Sql($region3_dialect,$sql); if($log_verbose) log_time($sql);
./ccamp_calc_meqs.php : $sql="UPDATE ".$data_table." SET ".$dir."='+' WHERE ccampid='CU_DIS' "; Run_Sql($region3_dialect,$sql); if($log_verbose) log_time($sql);
./ccamp_calc_meqs.php : $sql="UPDATE ".$data_table." SET ".$dir."='+' WHERE ccampid='HG' "; Run_Sql($region3_dialect,$sql); if($log_verbose) log_time($sql);
./ccamp_calc_meqs.php : $sql="UPDATE ".$data_table." SET ".$dir."='+' WHERE ccampid='HG' "; Run_Sql($region3_dialect,$sql); if($log_verbose) log_time($sql);
./ccamp_calc_meqs.php : $sql="UPDATE ".$data_table." SET ".$dir."='+' WHERE ccampid='HG_DIS' "; Run_Sql($region3_dialect,$sql); if($log_verbose) log_time($sql);
./ccamp_calc_meqs.php : $sql="UPDATE ".$data_table." SET ".$dir."='+' WHERE ccampid='HG_METH' "; Run_Sql($region3_dialect,$sql); if($log_verbose) log_time($sql);
./ccamp_calc_meqs.php : $sql="UPDATE ".$data_table." SET ".$dir."='+' WHERE ccampid='MG' "; Run_Sql($region3_dialect,$sql); if($log_verbose) log_time($sql);
./ccamp_calc_meqs.php : $sql="UPDATE ".$data_table." SET ".$dir."='+' WHERE ccampid='MN' "; Run_Sql($region3_dialect,$sql); if($log_verbose) log_time($sql);
./ccamp_calc_meqs.php : $sql="UPDATE ".$data_table." SET ".$dir."='+' WHERE ccampid='MN' "; Run_Sql($region3_dialect,$sql); if($log_verbose) log_time($sql);
./ccamp_calc_meqs.php : $sql="UPDATE ".$data_table." SET ".$dir."='+' WHERE ccampid='MO' "; Run_Sql($region3_dialect,$sql); if($log_verbose) log_time($sql);
./ccamp_calc_meqs.php : $sql="UPDATE ".$data_table." SET ".$dir."='+' WHERE ccampid='NI' "; Run_Sql($region3_dialect,$sql); if($log_verbose) log_time($sql);
./ccamp_calc_meqs.php : $sql="UPDATE ".$data_table." SET ".$dir."='+' WHERE ccampid='NI' "; Run_Sql($region3_dialect,$sql); if($log_verbose) log_time($sql);
./ccamp_calc_meqs.php : $sql="UPDATE ".$data_table." SET ".$dir."='+' WHERE ccampid='NI_DIS' "; Run_Sql($region3_dialect,$sql); if($log_verbose) log_time($sql);
./ccamp_calc_meqs.php : $sql="UPDATE ".$data_table." SET ".$dir."='+' WHERE ccampid='PB' "; Run_Sql($region3_dialect,$sql); if($log_verbose) log_time($sql);
./ccamp_calc_meqs.php : $sql="UPDATE ".$data_table." SET ".$dir."='+' WHERE ccampid='PB' "; Run_Sql($region3_dialect,$sql); if($log_verbose) log_time($sql);
./ccamp_calc_meqs.php : $sql="UPDATE ".$data_table." SET ".$dir."='+' WHERE ccampid='PB_DIS' "; Run_Sql($region3_dialect,$sql); if($log_verbose) log_time($sql);
./ccamp_calc_meqs.php : $sql="UPDATE ".$data_table." SET ".$dir."='+' WHERE ccampid='SE' "; Run_Sql($region3_dialect,$sql); if($log_verbose) log_time($sql);
./ccamp_calc_meqs.php : $sql="UPDATE ".$data_table." SET ".$dir."='+' WHERE ccampid='SE' "; Run_Sql($region3_dialect,$sql); if($log_verbose) log_time($sql);
./ccamp_calc_meqs.php : $sql="UPDATE ".$data_table." SET ".$dir."='+' WHERE ccampid='ZN' "; Run_Sql($region3_dialect,$sql); if($log_verbose) log_time($sql);
./ccamp_calc_meqs.php : $sql="UPDATE ".$data_table." SET ".$dir."='+' WHERE ccampid='ZN' "; Run_Sql($region3_dialect,$sql); if($log_verbose) log_time($sql);
./ccamp_calc_meqs.php : $sql="UPDATE ".$data_table." SET ".$dir."='+' WHERE ccampid='ZN_DIS' "; Run_Sql($region3_dialect,$sql); if($log_verbose) log_time($sql);
./ccamp_calc_meqs.php : $sql="UPDATE ".$data_table." SET ".$dir."='+' WHERE ccampid='NNE_DO_DEF' "; Run_Sql($region3_dialect,$sql); if($log_verbose) log_time($sql);
./ccamp_calc_meqs.php : $sql="UPDATE ".$data_table." SET ".$dir."='+' WHERE ccampid='NNE_DODDS_MAX02' "; Run_Sql($region3_dialect,$sql); if($log_verbose) log_time($sql);
./ccamp_calc_meqs.php : $sql="UPDATE ".$data_table." SET ".$dir."='+' WHERE ccampid='NNE_DODDS_MAX02_2' "; Run_Sql($region3_dialect,$sql); if($log_verbose) log_time($sql);
./ccamp_calc_meqs.php : $sql="UPDATE ".$data_table." SET ".$dir."='+' WHERE ccampid='NNE_DODDS_MAX97' "; Run_Sql($region3_dialect,$sql); if($log_verbose) log_time($sql);
./ccamp_calc_meqs.php : $sql="UPDATE ".$data_table." SET ".$dir."='+' WHERE ccampid='NNE_DODDS_MAX97_02' "; Run_Sql($region3_dialect,$sql); if($log_verbose) log_time($sql);
./ccamp_calc_meqs.php : $sql="UPDATE ".$data_table." SET ".$dir."='+' WHERE ccampid='NNE_DODDS_MEAN02' "; Run_Sql($region3_dialect,$sql); if($log_verbose) log_time($sql);
./ccamp_calc_meqs.php : $sql="UPDATE ".$data_table." SET ".$dir."='+' WHERE ccampid='NNE_DODDS_MEAN02_2' "; Run_Sql($region3_dialect,$sql); if($log_verbose) log_time($sql);
./ccamp_calc_meqs.php : $sql="UPDATE ".$data_table." SET ".$dir."='+' WHERE ccampid='NNE_DODDS_MEAN97' "; Run_Sql($region3_dialect,$sql); if($log_verbose) log_time($sql);
./ccamp_calc_meqs.php : $sql="UPDATE ".$data_table." SET ".$dir."='+' WHERE ccampid='NNE_DODDS_MEAN97_2' "; Run_Sql($region3_dialect,$sql); if($log_verbose) log_time($sql);
./ccamp_calc_meqs.php : $sql="UPDATE ".$data_table." SET ".$dir."='+' WHERE ccampid='NNE_REV_QUAL2K' "; Run_Sql($region3_dialect,$sql); if($log_verbose) log_time($sql);
./ccamp_calc_meqs.php : $sql="UPDATE ".$data_table." SET ".$dir."='+' WHERE ccampid='NNE_REV_QUAL2K_2' "; Run_Sql($region3_dialect,$sql); if($log_verbose) log_time($sql);
./ccamp_calc_meqs.php : $sql="UPDATE ".$data_table." SET ".$dir."='+' WHERE ccampid='NNE_REV_QUAL2K_ADJ' "; Run_Sql($region3_dialect,$sql); if($log_verbose) log_time($sql);
./ccamp_calc_meqs.php : $sql="UPDATE ".$data_table." SET ".$dir."='+' WHERE ccampid='NNE_REV_QUAL2K_ADJ_2' "; Run_Sql($region3_dialect,$sql); if($log_verbose) log_time($sql);
./ccamp_calc_meqs.php : $sql="UPDATE ".$data_table." SET ".$dir."='+' WHERE ccampid='NNE_STD_QUAL2K' "; Run_Sql($region3_dialect,$sql); if($log_verbose) log_time($sql);
./ccamp_calc_meqs.php : $sql="UPDATE ".$data_table." SET ".$dir."='+' WHERE ccampid='NNE_STD_QUAL2K_2' "; Run_Sql($region3_dialect,$sql); if($log_verbose) log_time($sql);
./ccamp_calc_meqs.php : $sql="UPDATE ".$data_table." SET ".$dir."='+' WHERE ccampid='245TRCP' "; Run_Sql($region3_dialect,$sql); if($log_verbose) log_time($sql);
./ccamp_calc_meqs.php : $sql="UPDATE ".$data_table." SET ".$dir."='+' WHERE ccampid='246TRCP' "; Run_Sql($region3_dialect,$sql); if($log_verbose) log_time($sql);
./ccamp_calc_meqs.php : $sql="UPDATE ".$data_table." SET ".$dir."='+' WHERE ccampid='24DCP' "; Run_Sql($region3_dialect,$sql); if($log_verbose) log_time($sql);
./ccamp_calc_meqs.php : $sql="UPDATE ".$data_table." SET ".$dir."='+' WHERE ccampid='24DMP' "; Run_Sql($region3_dialect,$sql); if($log_verbose) log_time($sql);
./ccamp_calc_meqs.php : $sql="UPDATE ".$data_table." SET ".$dir."='+' WHERE ccampid='24DNP' "; Run_Sql($region3_dialect,$sql); if($log_verbose) log_time($sql);
./ccamp_calc_meqs.php : $sql="UPDATE ".$data_table." SET ".$dir."='+' WHERE ccampid='2CP' "; Run_Sql($region3_dialect,$sql); if($log_verbose) log_time($sql);
./ccamp_calc_meqs.php : $sql="UPDATE ".$data_table." SET ".$dir."='+' WHERE ccampid='2MP' "; Run_Sql($region3_dialect,$sql); if($log_verbose) log_time($sql);
./ccamp_calc_meqs.php : $sql="UPDATE ".$data_table." SET ".$dir."='+' WHERE ccampid='46DN2MP' "; Run_Sql($region3_dialect,$sql); if($log_verbose) log_time($sql);
./ccamp_calc_meqs.php : $sql="UPDATE ".$data_table." SET ".$dir."='+' WHERE ccampid='4C3MP' "; Run_Sql($region3_dialect,$sql); if($log_verbose) log_time($sql);
./ccamp_calc_meqs.php : $sql="UPDATE ".$data_table." SET ".$dir."='+' WHERE ccampid='4NP' "; Run_Sql($region3_dialect,$sql); if($log_verbose) log_time($sql);
./ccamp_calc_meqs.php : $sql="UPDATE ".$data_table." SET ".$dir."='+' WHERE ccampid='ALDICARB' "; Run_Sql($region3_dialect,$sql); if($log_verbose) log_time($sql);
./ccamp_calc_meqs.php : $sql="UPDATE ".$data_table." SET ".$dir."='+' WHERE ccampid='ALDRN' "; Run_Sql($region3_dialect,$sql); if($log_verbose) log_time($sql);
./ccamp_calc_meqs.php : $sql="UPDATE ".$data_table." SET ".$dir."='+' WHERE ccampid='ALLETHR' "; Run_Sql($region3_dialect,$sql); if($log_verbose) log_time($sql);
./ccamp_calc_meqs.php : $sql="UPDATE ".$data_table." SET ".$dir."='+' WHERE ccampid='ASPON' "; Run_Sql($region3_dialect,$sql); if($log_verbose) log_time($sql);
./ccamp_calc_meqs.php : $sql="UPDATE ".$data_table." SET ".$dir."='+' WHERE ccampid='ATRAZINE' "; Run_Sql($region3_dialect,$sql); if($log_verbose) log_time($sql);
./ccamp_calc_meqs.php : $sql="UPDATE ".$data_table." SET ".$dir."='+' WHERE ccampid='AVS' "; Run_Sql($region3_dialect,$sql); if($log_verbose) log_time($sql);
./ccamp_calc_meqs.php : $sql="UPDATE ".$data_table." SET ".$dir."='+' WHERE ccampid='AZINE' "; Run_Sql($region3_dialect,$sql); if($log_verbose) log_time($sql);
./ccamp_calc_meqs.php : $sql="UPDATE ".$data_table." SET ".$dir."='+' WHERE ccampid='AZINM' "; Run_Sql($region3_dialect,$sql); if($log_verbose) log_time($sql);
./ccamp_calc_meqs.php : $sql="UPDATE ".$data_table." SET ".$dir."='+' WHERE ccampid='BIFENTHRIN' "; Run_Sql($region3_dialect,$sql); if($log_verbose) log_time($sql);
./ccamp_calc_meqs.php : $sql="UPDATE ".$data_table." SET ".$dir."='+' WHERE ccampid='BIFENTHRIN' "; Run_Sql($region3_dialect,$sql); if($log_verbose) log_time($sql);
./ccamp_calc_meqs.php : $sql="UPDATE ".$data_table." SET ".$dir."='+' WHERE ccampid='CARBARYL' "; Run_Sql($region3_dialect,$sql); if($log_verbose) log_time($sql);
./ccamp_calc_meqs.php : $sql="UPDATE ".$data_table." SET ".$dir."='+' WHERE ccampid='CARBO' "; Run_Sql($region3_dialect,$sql); if($log_verbose) log_time($sql);
./ccamp_calc_meqs.php : $sql="UPDATE ".$data_table." SET ".$dir."='+' WHERE ccampid='CARBOP' "; Run_Sql($region3_dialect,$sql); if($log_verbose) log_time($sql);
./ccamp_calc_meqs.php : $sql="UPDATE ".$data_table." SET ".$dir."='+' WHERE ccampid='CCDAN' "; Run_Sql($region3_dialect,$sql); if($log_verbose) log_time($sql);
./ccamp_calc_meqs.php : $sql="UPDATE ".$data_table." SET ".$dir."='+' WHERE ccampid='CHLDENE' "; Run_Sql($region3_dialect,$sql); if($log_verbose) log_time($sql);
./ccamp_calc_meqs.php : $sql="UPDATE ".$data_table." SET ".$dir."='+' WHERE ccampid='CHLORFEN' "; Run_Sql($region3_dialect,$sql); if($log_verbose) log_time($sql);
./ccamp_calc_meqs.php : $sql="UPDATE ".$data_table." SET ".$dir."='+' WHERE ccampid='CIODRIN' "; Run_Sql($region3_dialect,$sql); if($log_verbose) log_time($sql);
./ccamp_calc_meqs.php : $sql="UPDATE ".$data_table." SET ".$dir."='+' WHERE ccampid='CLPYR' "; Run_Sql($region3_dialect,$sql); if($log_verbose) log_time($sql);
./ccamp_calc_meqs.php : $sql="UPDATE ".$data_table." SET ".$dir."='+' WHERE ccampid='CLPYR' "; Run_Sql($region3_dialect,$sql); if($log_verbose) log_time($sql);
./ccamp_calc_meqs.php : $sql="UPDATE ".$data_table." SET ".$dir."='+' WHERE ccampid='CLPYR' "; Run_Sql($region3_dialect,$sql); if($log_verbose) log_time($sql);
./ccamp_calc_meqs.php : $sql="UPDATE ".$data_table." SET ".$dir."='+' WHERE ccampid='CLPYRM' "; Run_Sql($region3_dialect,$sql); if($log_verbose) log_time($sql);
./ccamp_calc_meqs.php : $sql="UPDATE ".$data_table." SET ".$dir."='+' WHERE ccampid='CLPYRM' "; Run_Sql($region3_dialect,$sql); if($log_verbose) log_time($sql);
./ccamp_calc_meqs.php : $sql="UPDATE ".$data_table." SET ".$dir."='+' WHERE ccampid='CNONA' "; Run_Sql($region3_dialect,$sql); if($log_verbose) log_time($sql);
./ccamp_calc_meqs.php : $sql="UPDATE ".$data_table." SET ".$dir."='+' WHERE ccampid='CONGENS' "; Run_Sql($region3_dialect,$sql); if($log_verbose) log_time($sql);
./ccamp_calc_meqs.php : $sql="UPDATE ".$data_table." SET ".$dir."='+' WHERE ccampid='COUMAPH' "; Run_Sql($region3_dialect,$sql); if($log_verbose) log_time($sql);
./ccamp_calc_meqs.php : $sql="UPDATE ".$data_table." SET ".$dir."='+' WHERE ccampid='CYANAZ' "; Run_Sql($region3_dialect,$sql); if($log_verbose) log_time($sql);
./ccamp_calc_meqs.php : $sql="UPDATE ".$data_table." SET ".$dir."='+' WHERE ccampid='CYFLUTHRIN' "; Run_Sql($region3_dialect,$sql); if($log_verbose) log_time($sql);
./ccamp_calc_meqs.php : $sql="UPDATE ".$data_table." SET ".$dir."='+' WHERE ccampid='CYFLUTHRIN' "; Run_Sql($region3_dialect,$sql); if($log_verbose) log_time($sql);
./ccamp_calc_meqs.php : $sql="UPDATE ".$data_table." SET ".$dir."='+' WHERE ccampid='CYFLUTHRINB' "; Run_Sql($region3_dialect,$sql); if($log_verbose) log_time($sql);
./ccamp_calc_meqs.php : $sql="UPDATE ".$data_table." SET ".$dir."='+' WHERE ccampid='CYHALOTHRINL' "; Run_Sql($region3_dialect,$sql); if($log_verbose) log_time($sql);
./ccamp_calc_meqs.php : $sql="UPDATE ".$data_table." SET ".$dir."='+' WHERE ccampid='CYHALOTHRINL' "; Run_Sql($region3_dialect,$sql); if($log_verbose) log_time($sql);
./ccamp_calc_meqs.php : $sql="UPDATE ".$data_table." SET ".$dir."='+' WHERE ccampid='CYPERMETHRIN' "; Run_Sql($region3_dialect,$sql); if($log_verbose) log_time($sql);
./ccamp_calc_meqs.php : $sql="UPDATE ".$data_table." SET ".$dir."='+' WHERE ccampid='CYPERMETHRIN' "; Run_Sql($region3_dialect,$sql); if($log_verbose) log_time($sql);
./ccamp_calc_meqs.php : $sql="UPDATE ".$data_table." SET ".$dir."='+' WHERE ccampid='DACTH' "; Run_Sql($region3_dialect,$sql); if($log_verbose) log_time($sql);
./ccamp_calc_meqs.php : $sql="UPDATE ".$data_table." SET ".$dir."='+' WHERE ccampid='DANITOL' "; Run_Sql($region3_dialect,$sql); if($log_verbose) log_time($sql);
./ccamp_calc_meqs.php : $sql="UPDATE ".$data_table." SET ".$dir."='+' WHERE ccampid='DCBP' "; Run_Sql($region3_dialect,$sql); if($log_verbose) log_time($sql);
./ccamp_calc_meqs.php : $sql="UPDATE ".$data_table." SET ".$dir."='+' WHERE ccampid='DDD' "; Run_Sql($region3_dialect,$sql); if($log_verbose) log_time($sql);
./ccamp_calc_meqs.php : $sql="UPDATE ".$data_table." SET ".$dir."='+' WHERE ccampid='DDDOP' "; Run_Sql($region3_dialect,$sql); if($log_verbose) log_time($sql);
./ccamp_calc_meqs.php : $sql="UPDATE ".$data_table." SET ".$dir."='+' WHERE ccampid='DDDPP' "; Run_Sql($region3_dialect,$sql); if($log_verbose) log_time($sql);
./ccamp_calc_meqs.php : $sql="UPDATE ".$data_table." SET ".$dir."='+' WHERE ccampid='DDE' "; Run_Sql($region3_dialect,$sql); if($log_verbose) log_time($sql);
./ccamp_calc_meqs.php : $sql="UPDATE ".$data_table." SET ".$dir."='+' WHERE ccampid='DDEOP' "; Run_Sql($region3_dialect,$sql); if($log_verbose) log_time($sql);
./ccamp_calc_meqs.php : $sql="UPDATE ".$data_table." SET ".$dir."='+' WHERE ccampid='DDEPP' "; Run_Sql($region3_dialect,$sql); if($log_verbose) log_time($sql);
./ccamp_calc_meqs.php : $sql="UPDATE ".$data_table." SET ".$dir."='+' WHERE ccampid='DDT_TOT' "; Run_Sql($region3_dialect,$sql); if($log_verbose) log_time($sql);
./ccamp_calc_meqs.php : $sql="UPDATE ".$data_table." SET ".$dir."='+' WHERE ccampid='DDTOP' "; Run_Sql($region3_dialect,$sql); if($log_verbose) log_time($sql);
./ccamp_calc_meqs.php : $sql="UPDATE ".$data_table." SET ".$dir."='+' WHERE ccampid='DDTPP' "; Run_Sql($region3_dialect,$sql); if($log_verbose) log_time($sql);
./ccamp_calc_meqs.php : $sql="UPDATE ".$data_table." SET ".$dir."='+' WHERE ccampid='DELTAMETHRIN' "; Run_Sql($region3_dialect,$sql); if($log_verbose) log_time($sql);
./ccamp_calc_meqs.php : $sql="UPDATE ".$data_table." SET ".$dir."='+' WHERE ccampid='DELTTRAL' "; Run_Sql($region3_dialect,$sql); if($log_verbose) log_time($sql);
./ccamp_calc_meqs.php : $sql="UPDATE ".$data_table." SET ".$dir."='+' WHERE ccampid='DELTTRAL' "; Run_Sql($region3_dialect,$sql); if($log_verbose) log_time($sql);
./ccamp_calc_meqs.php : $sql="UPDATE ".$data_table." SET ".$dir."='+' WHERE ccampid='DEMES' "; Run_Sql($region3_dialect,$sql); if($log_verbose) log_time($sql);
./ccamp_calc_meqs.php : $sql="UPDATE ".$data_table." SET ".$dir."='+' WHERE ccampid='DEMES' "; Run_Sql($region3_dialect,$sql); if($log_verbose) log_time($sql);
./ccamp_calc_meqs.php : $sql="UPDATE ".$data_table." SET ".$dir."='+' WHERE ccampid='DEMET' "; Run_Sql($region3_dialect,$sql); if($log_verbose) log_time($sql);
./ccamp_calc_meqs.php : $sql="UPDATE ".$data_table." SET ".$dir."='+' WHERE ccampid='DIAZN' "; Run_Sql($region3_dialect,$sql); if($log_verbose) log_time($sql);
./ccamp_calc_meqs.php : $sql="UPDATE ".$data_table." SET ".$dir."='+' WHERE ccampid='DIAZN' "; Run_Sql($region3_dialect,$sql); if($log_verbose) log_time($sql);
./ccamp_calc_meqs.php : $sql="UPDATE ".$data_table." SET ".$dir."='+' WHERE ccampid='DIAZN' "; Run_Sql($region3_dialect,$sql); if($log_verbose) log_time($sql);
./ccamp_calc_meqs.php : $sql="UPDATE ".$data_table." SET ".$dir."='+' WHERE ccampid='DIBUTYLTIN' "; Run_Sql($region3_dialect,$sql); if($log_verbose) log_time($sql);
./ccamp_calc_meqs.php : $sql="UPDATE ".$data_table." SET ".$dir."='+' WHERE ccampid='DICHLORV' "; Run_Sql($region3_dialect,$sql); if($log_verbose) log_time($sql);
./ccamp_calc_meqs.php : $sql="UPDATE ".$data_table." SET ".$dir."='+' WHERE ccampid='DICHLORV' "; Run_Sql($region3_dialect,$sql); if($log_verbose) log_time($sql);
./ccamp_calc_meqs.php : $sql="UPDATE ".$data_table." SET ".$dir."='+' WHERE ccampid='DICLHLOFEN' "; Run_Sql($region3_dialect,$sql); if($log_verbose) log_time($sql);
./ccamp_calc_meqs.php : $sql="UPDATE ".$data_table." SET ".$dir."='+' WHERE ccampid='DICLHLOFEN' "; Run_Sql($region3_dialect,$sql); if($log_verbose) log_time($sql);
./ccamp_calc_meqs.php : $sql="UPDATE ".$data_table." SET ".$dir."='+' WHERE ccampid='DICOF' "; Run_Sql($region3_dialect,$sql); if($log_verbose) log_time($sql);
./ccamp_calc_meqs.php : $sql="UPDATE ".$data_table." SET ".$dir."='+' WHERE ccampid='DICROTO' "; Run_Sql($region3_dialect,$sql); if($log_verbose) log_time($sql);
./ccamp_calc_meqs.php : $sql="UPDATE ".$data_table." SET ".$dir."='+' WHERE ccampid='DIELD' "; Run_Sql($region3_dialect,$sql); if($log_verbose) log_time($sql);
./ccamp_calc_meqs.php : $sql="UPDATE ".$data_table." SET ".$dir."='+' WHERE ccampid='DIMETHO' "; Run_Sql($region3_dialect,$sql); if($log_verbose) log_time($sql);
./ccamp_calc_meqs.php : $sql="UPDATE ".$data_table." SET ".$dir."='+' WHERE ccampid='DIOXATH' "; Run_Sql($region3_dialect,$sql); if($log_verbose) log_time($sql);
./ccamp_calc_meqs.php : $sql="UPDATE ".$data_table." SET ".$dir."='+' WHERE ccampid='DIOXATH' "; Run_Sql($region3_dialect,$sql); if($log_verbose) log_time($sql);
./ccamp_calc_meqs.php : $sql="UPDATE ".$data_table." SET ".$dir."='+' WHERE ccampid='DISULFO' "; Run_Sql($region3_dialect,$sql); if($log_verbose) log_time($sql);
./ccamp_calc_meqs.php : $sql="UPDATE ".$data_table." SET ".$dir."='+' WHERE ccampid='DISULFO' "; Run_Sql($region3_dialect,$sql); if($log_verbose) log_time($sql);
./ccamp_calc_meqs.php : $sql="UPDATE ".$data_table." SET ".$dir."='+' WHERE ccampid='DIURON' "; Run_Sql($region3_dialect,$sql); if($log_verbose) log_time($sql);
./ccamp_calc_meqs.php : $sql="UPDATE ".$data_table." SET ".$dir."='+' WHERE ccampid='ENDO1' "; Run_Sql($region3_dialect,$sql); if($log_verbose) log_time($sql);
./ccamp_calc_meqs.php : $sql="UPDATE ".$data_table." SET ".$dir."='+' WHERE ccampid='ENDO2' "; Run_Sql($region3_dialect,$sql); if($log_verbose) log_time($sql);
./ccamp_calc_meqs.php : $sql="UPDATE ".$data_table." SET ".$dir."='+' WHERE ccampid='ENDOS' "; Run_Sql($region3_dialect,$sql); if($log_verbose) log_time($sql);
./ccamp_calc_meqs.php : $sql="UPDATE ".$data_table." SET ".$dir."='+' WHERE ccampid='ENDRN' "; Run_Sql($region3_dialect,$sql); if($log_verbose) log_time($sql);
./ccamp_calc_meqs.php : $sql="UPDATE ".$data_table." SET ".$dir."='+' WHERE ccampid='ENDRNA' "; Run_Sql($region3_dialect,$sql); if($log_verbose) log_time($sql);
./ccamp_calc_meqs.php : $sql="UPDATE ".$data_table." SET ".$dir."='+' WHERE ccampid='ENDRNK' "; Run_Sql($region3_dialect,$sql); if($log_verbose) log_time($sql);
./ccamp_calc_meqs.php : $sql="UPDATE ".$data_table." SET ".$dir."='+' WHERE ccampid='EPARA' "; Run_Sql($region3_dialect,$sql); if($log_verbose) log_time($sql);
./ccamp_calc_meqs.php : $sql="UPDATE ".$data_table." SET ".$dir."='+' WHERE ccampid='EPARA' "; Run_Sql($region3_dialect,$sql); if($log_verbose) log_time($sql);
./ccamp_calc_meqs.php : $sql="UPDATE ".$data_table." SET ".$dir."='+' WHERE ccampid='ESFENVALERATE' "; Run_Sql($region3_dialect,$sql); if($log_verbose) log_time($sql);
./ccamp_calc_meqs.php : $sql="UPDATE ".$data_table." SET ".$dir."='+' WHERE ccampid='ESFENVALFENVAL' "; Run_Sql($region3_dialect,$sql); if($log_verbose) log_time($sql);
./ccamp_calc_meqs.php : $sql="UPDATE ".$data_table." SET ".$dir."='+' WHERE ccampid='ESFENVALFENVAL' "; Run_Sql($region3_dialect,$sql); if($log_verbose) log_time($sql);
./ccamp_calc_meqs.php : $sql="UPDATE ".$data_table." SET ".$dir."='+' WHERE ccampid='ETHION' "; Run_Sql($region3_dialect,$sql); if($log_verbose) log_time($sql);
./ccamp_calc_meqs.php : $sql="UPDATE ".$data_table." SET ".$dir."='+' WHERE ccampid='ETHION' "; Run_Sql($region3_dialect,$sql); if($log_verbose) log_time($sql);
./ccamp_calc_meqs.php : $sql="UPDATE ".$data_table." SET ".$dir."='+' WHERE ccampid='ETHOPROP' "; Run_Sql($region3_dialect,$sql); if($log_verbose) log_time($sql);
./ccamp_calc_meqs.php : $sql="UPDATE ".$data_table." SET ".$dir."='+' WHERE ccampid='ETHOPROP' "; Run_Sql($region3_dialect,$sql); if($log_verbose) log_time($sql);
./ccamp_calc_meqs.php : $sql="UPDATE ".$data_table." SET ".$dir."='+' WHERE ccampid='FAMPHUR' "; Run_Sql($region3_dialect,$sql); if($log_verbose) log_time($sql);
./ccamp_calc_meqs.php : $sql="UPDATE ".$data_table." SET ".$dir."='+' WHERE ccampid='FENCHLOR' "; Run_Sql($region3_dialect,$sql); if($log_verbose) log_time($sql);
./ccamp_calc_meqs.php : $sql="UPDATE ".$data_table." SET ".$dir."='+' WHERE ccampid='FENCHLOR' "; Run_Sql($region3_dialect,$sql); if($log_verbose) log_time($sql);
./ccamp_calc_meqs.php : $sql="UPDATE ".$data_table." SET ".$dir."='+' WHERE ccampid='FENITRO' "; Run_Sql($region3_dialect,$sql); if($log_verbose) log_time($sql);
./ccamp_calc_meqs.php : $sql="UPDATE ".$data_table." SET ".$dir."='+' WHERE ccampid='FENITRO' "; Run_Sql($region3_dialect,$sql); if($log_verbose) log_time($sql);
./ccamp_calc_meqs.php : $sql="UPDATE ".$data_table." SET ".$dir."='+' WHERE ccampid='FENPROPA' "; Run_Sql($region3_dialect,$sql); if($log_verbose) log_time($sql);
./ccamp_calc_meqs.php : $sql="UPDATE ".$data_table." SET ".$dir."='+' WHERE ccampid='FENPROPA' "; Run_Sql($region3_dialect,$sql); if($log_verbose) log_time($sql);
./ccamp_calc_meqs.php : $sql="UPDATE ".$data_table." SET ".$dir."='+' WHERE ccampid='FENSULFO' "; Run_Sql($region3_dialect,$sql); if($log_verbose) log_time($sql);
./ccamp_calc_meqs.php : $sql="UPDATE ".$data_table." SET ".$dir."='+' WHERE ccampid='FENSULFO' "; Run_Sql($region3_dialect,$sql); if($log_verbose) log_time($sql);
./ccamp_calc_meqs.php : $sql="UPDATE ".$data_table." SET ".$dir."='+' WHERE ccampid='FENTHION' "; Run_Sql($region3_dialect,$sql); if($log_verbose) log_time($sql);
./ccamp_calc_meqs.php : $sql="UPDATE ".$data_table." SET ".$dir."='+' WHERE ccampid='FENTHION' "; Run_Sql($region3_dialect,$sql); if($log_verbose) log_time($sql);
./ccamp_calc_meqs.php : $sql="UPDATE ".$data_table." SET ".$dir."='+' WHERE ccampid='FIPRONIL' "; Run_Sql($region3_dialect,$sql); if($log_verbose) log_time($sql);
./ccamp_calc_meqs.php : $sql="UPDATE ".$data_table." SET ".$dir."='+' WHERE ccampid='FIPRONILDESULFINYL' "; Run_Sql($region3_dialect,$sql); if($log_verbose) log_time($sql);
./ccamp_calc_meqs.php : $sql="UPDATE ".$data_table." SET ".$dir."='+' WHERE ccampid='FIPRONILSULFIDE' "; Run_Sql($region3_dialect,$sql); if($log_verbose) log_time($sql);
./ccamp_calc_meqs.php : $sql="UPDATE ".$data_table." SET ".$dir."='+' WHERE ccampid='FIPRONILSULFONE' "; Run_Sql($region3_dialect,$sql); if($log_verbose) log_time($sql);
./ccamp_calc_meqs.php : $sql="UPDATE ".$data_table." SET ".$dir."='+' WHERE ccampid='FLUVALINATE' "; Run_Sql($region3_dialect,$sql); if($log_verbose) log_time($sql);
./ccamp_calc_meqs.php : $sql="UPDATE ".$data_table." SET ".$dir."='+' WHERE ccampid='FONOFOS' "; Run_Sql($region3_dialect,$sql); if($log_verbose) log_time($sql);
./ccamp_calc_meqs.php : $sql="UPDATE ".$data_table." SET ".$dir."='+' WHERE ccampid='FONOFOS' "; Run_Sql($region3_dialect,$sql); if($log_verbose) log_time($sql);
./ccamp_calc_meqs.php : $sql="UPDATE ".$data_table." SET ".$dir."='+' WHERE ccampid='GLYPHO' "; Run_Sql($region3_dialect,$sql); if($log_verbose) log_time($sql);
./ccamp_calc_meqs.php : $sql="UPDATE ".$data_table." SET ".$dir."='+' WHERE ccampid='HCB' "; Run_Sql($region3_dialect,$sql); if($log_verbose) log_time($sql);
./ccamp_calc_meqs.php : $sql="UPDATE ".$data_table." SET ".$dir."='+' WHERE ccampid='HCHA' "; Run_Sql($region3_dialect,$sql); if($log_verbose) log_time($sql);
./ccamp_calc_meqs.php : $sql="UPDATE ".$data_table." SET ".$dir."='+' WHERE ccampid='HCHB' "; Run_Sql($region3_dialect,$sql); if($log_verbose) log_time($sql);
./ccamp_calc_meqs.php : $sql="UPDATE ".$data_table." SET ".$dir."='+' WHERE ccampid='HCHD' "; Run_Sql($region3_dialect,$sql); if($log_verbose) log_time($sql);
./ccamp_calc_meqs.php : $sql="UPDATE ".$data_table." SET ".$dir."='+' WHERE ccampid='HCHG' "; Run_Sql($region3_dialect,$sql); if($log_verbose) log_time($sql);
./ccamp_calc_meqs.php : $sql="UPDATE ".$data_table." SET ".$dir."='+' WHERE ccampid='HEP' "; Run_Sql($region3_dialect,$sql); if($log_verbose) log_time($sql);
./ccamp_calc_meqs.php : $sql="UPDATE ".$data_table." SET ".$dir."='+' WHERE ccampid='HEPOX' "; Run_Sql($region3_dialect,$sql); if($log_verbose) log_time($sql);
./ccamp_calc_meqs.php : $sql="UPDATE ".$data_table." SET ".$dir."='+' WHERE ccampid='LEPTOPHOS' "; Run_Sql($region3_dialect,$sql); if($log_verbose) log_time($sql);
./ccamp_calc_meqs.php : $sql="UPDATE ".$data_table." SET ".$dir."='+' WHERE ccampid='LINURON' "; Run_Sql($region3_dialect,$sql); if($log_verbose) log_time($sql);
./ccamp_calc_meqs.php : $sql="UPDATE ".$data_table." SET ".$dir."='+' WHERE ccampid='MALATH' "; Run_Sql($region3_dialect,$sql); if($log_verbose) log_time($sql);
./ccamp_calc_meqs.php : $sql="UPDATE ".$data_table." SET ".$dir."='+' WHERE ccampid='MALATH' "; Run_Sql($region3_dialect,$sql); if($log_verbose) log_time($sql);
./ccamp_calc_meqs.php : $sql="UPDATE ".$data_table." SET ".$dir."='+' WHERE ccampid='MERPHOS' "; Run_Sql($region3_dialect,$sql); if($log_verbose) log_time($sql);
./ccamp_calc_meqs.php : $sql="UPDATE ".$data_table." SET ".$dir."='+' WHERE ccampid='MERPHOS' "; Run_Sql($region3_dialect,$sql); if($log_verbose) log_time($sql);
./ccamp_calc_meqs.php : $sql="UPDATE ".$data_table." SET ".$dir."='+' WHERE ccampid='METHAMID' "; Run_Sql($region3_dialect,$sql); if($log_verbose) log_time($sql);
./ccamp_calc_meqs.php : $sql="UPDATE ".$data_table." SET ".$dir."='+' WHERE ccampid='METHAMIDPHOS' "; Run_Sql($region3_dialect,$sql); if($log_verbose) log_time($sql);
./ccamp_calc_meqs.php : $sql="UPDATE ".$data_table." SET ".$dir."='+' WHERE ccampid='METHIDA' "; Run_Sql($region3_dialect,$sql); if($log_verbose) log_time($sql);
./ccamp_calc_meqs.php : $sql="UPDATE ".$data_table." SET ".$dir."='+' WHERE ccampid='METHIOCARB' "; Run_Sql($region3_dialect,$sql); if($log_verbose) log_time($sql);
./ccamp_calc_meqs.php : $sql="UPDATE ".$data_table." SET ".$dir."='+' WHERE ccampid='METHOMYL' "; Run_Sql($region3_dialect,$sql); if($log_verbose) log_time($sql);
./ccamp_calc_meqs.php : $sql="UPDATE ".$data_table." SET ".$dir."='+' WHERE ccampid='MEVINPHO' "; Run_Sql($region3_dialect,$sql); if($log_verbose) log_time($sql);
./ccamp_calc_meqs.php : $sql="UPDATE ".$data_table." SET ".$dir."='+' WHERE ccampid='MEVINPHO' "; Run_Sql($region3_dialect,$sql); if($log_verbose) log_time($sql);
./ccamp_calc_meqs.php : $sql="UPDATE ".$data_table." SET ".$dir."='+' WHERE ccampid='MIREX' "; Run_Sql($region3_dialect,$sql); if($log_verbose) log_time($sql);
./ccamp_calc_meqs.php : $sql="UPDATE ".$data_table." SET ".$dir."='+' WHERE ccampid='MPARA' "; Run_Sql($region3_dialect,$sql); if($log_verbose) log_time($sql);
./ccamp_calc_meqs.php : $sql="UPDATE ".$data_table." SET ".$dir."='+' WHERE ccampid='MPARA' "; Run_Sql($region3_dialect,$sql); if($log_verbose) log_time($sql);
./ccamp_calc_meqs.php : $sql="UPDATE ".$data_table." SET ".$dir."='+' WHERE ccampid='MTHOX' "; Run_Sql($region3_dialect,$sql); if($log_verbose) log_time($sql);
./ccamp_calc_meqs.php : $sql="UPDATE ".$data_table." SET ".$dir."='+' WHERE ccampid='NALED' "; Run_Sql($region3_dialect,$sql); if($log_verbose) log_time($sql);
./ccamp_calc_meqs.php : $sql="UPDATE ".$data_table." SET ".$dir."='+' WHERE ccampid='NAP235' "; Run_Sql($region3_dialect,$sql); if($log_verbose) log_time($sql);
./ccamp_calc_meqs.php : $sql="UPDATE ".$data_table." SET ".$dir."='+' WHERE ccampid='OCDAN' "; Run_Sql($region3_dialect,$sql); if($log_verbose) log_time($sql);
./ccamp_calc_meqs.php : $sql="UPDATE ".$data_table." SET ".$dir."='+' WHERE ccampid='OXADI' "; Run_Sql($region3_dialect,$sql); if($log_verbose) log_time($sql);
./ccamp_calc_meqs.php : $sql="UPDATE ".$data_table." SET ".$dir."='+' WHERE ccampid='OXAMYL' "; Run_Sql($region3_dialect,$sql); if($log_verbose) log_time($sql);
./ccamp_calc_meqs.php : $sql="UPDATE ".$data_table." SET ".$dir."='+' WHERE ccampid='PARAQUAT' "; Run_Sql($region3_dialect,$sql); if($log_verbose) log_time($sql);
./ccamp_calc_meqs.php : $sql="UPDATE ".$data_table." SET ".$dir."='+' WHERE ccampid='PCP' "; Run_Sql($region3_dialect,$sql); if($log_verbose) log_time($sql);
./ccamp_calc_meqs.php : $sql="UPDATE ".$data_table." SET ".$dir."='+' WHERE ccampid='PERMETHRIN' "; Run_Sql($region3_dialect,$sql); if($log_verbose) log_time($sql);
./ccamp_calc_meqs.php : $sql="UPDATE ".$data_table." SET ".$dir."='+' WHERE ccampid='PERMETHRIN' "; Run_Sql($region3_dialect,$sql); if($log_verbose) log_time($sql);
./ccamp_calc_meqs.php : $sql="UPDATE ".$data_table." SET ".$dir."='+' WHERE ccampid='PERMETHRINCIS' "; Run_Sql($region3_dialect,$sql); if($log_verbose) log_time($sql);
./ccamp_calc_meqs.php : $sql="UPDATE ".$data_table." SET ".$dir."='+' WHERE ccampid='PERMETHRINCIS' "; Run_Sql($region3_dialect,$sql); if($log_verbose) log_time($sql);
./ccamp_calc_meqs.php : $sql="UPDATE ".$data_table." SET ".$dir."='+' WHERE ccampid='PERMETHRINTRANS' "; Run_Sql($region3_dialect,$sql); if($log_verbose) log_time($sql);
./ccamp_calc_meqs.php : $sql="UPDATE ".$data_table." SET ".$dir."='+' WHERE ccampid='PERMETHRINTRANS' "; Run_Sql($region3_dialect,$sql); if($log_verbose) log_time($sql);
./ccamp_calc_meqs.php : $sql="UPDATE ".$data_table." SET ".$dir."='+' WHERE ccampid='PERTHAN' "; Run_Sql($region3_dialect,$sql); if($log_verbose) log_time($sql);
./ccamp_calc_meqs.php : $sql="UPDATE ".$data_table." SET ".$dir."='+' WHERE ccampid='PHENOL' "; Run_Sql($region3_dialect,$sql); if($log_verbose) log_time($sql);
./ccamp_calc_meqs.php : $sql="UPDATE ".$data_table." SET ".$dir."='+' WHERE ccampid='PHENOLICS' "; Run_Sql($region3_dialect,$sql); if($log_verbose) log_time($sql);
./ccamp_calc_meqs.php : $sql="UPDATE ".$data_table." SET ".$dir."='+' WHERE ccampid='PHENOTHRIN' "; Run_Sql($region3_dialect,$sql); if($log_verbose) log_time($sql);
./ccamp_calc_meqs.php : $sql="UPDATE ".$data_table." SET ".$dir."='+' WHERE ccampid='PHOPHAMID' "; Run_Sql($region3_dialect,$sql); if($log_verbose) log_time($sql);
./ccamp_calc_meqs.php : $sql="UPDATE ".$data_table." SET ".$dir."='+' WHERE ccampid='PHOPHAMID' "; Run_Sql($region3_dialect,$sql); if($log_verbose) log_time($sql);
./ccamp_calc_meqs.php : $sql="UPDATE ".$data_table." SET ".$dir."='+' WHERE ccampid='PHORATE' "; Run_Sql($region3_dialect,$sql); if($log_verbose) log_time($sql);
./ccamp_calc_meqs.php : $sql="UPDATE ".$data_table." SET ".$dir."='+' WHERE ccampid='PHORATE' "; Run_Sql($region3_dialect,$sql); if($log_verbose) log_time($sql);
./ccamp_calc_meqs.php : $sql="UPDATE ".$data_table." SET ".$dir."='+' WHERE ccampid='PHOSMET' "; Run_Sql($region3_dialect,$sql); if($log_verbose) log_time($sql);
./ccamp_calc_meqs.php : $sql="UPDATE ".$data_table." SET ".$dir."='+' WHERE ccampid='PIPBUT' "; Run_Sql($region3_dialect,$sql); if($log_verbose) log_time($sql);
./ccamp_calc_meqs.php : $sql="UPDATE ".$data_table." SET ".$dir."='+' WHERE ccampid='PRALLETHRIN' "; Run_Sql($region3_dialect,$sql); if($log_verbose) log_time($sql);
./ccamp_calc_meqs.php : $sql="UPDATE ".$data_table." SET ".$dir."='+' WHERE ccampid='PROTHIO' "; Run_Sql($region3_dialect,$sql); if($log_verbose) log_time($sql);
./ccamp_calc_meqs.php : $sql="UPDATE ".$data_table." SET ".$dir."='+' WHERE ccampid='PROTHIO' "; Run_Sql($region3_dialect,$sql); if($log_verbose) log_time($sql);
./ccamp_calc_meqs.php : $sql="UPDATE ".$data_table." SET ".$dir."='+' WHERE ccampid='RESMETHRIN' "; Run_Sql($region3_dialect,$sql); if($log_verbose) log_time($sql);
./ccamp_calc_meqs.php : $sql="UPDATE ".$data_table." SET ".$dir."='+' WHERE ccampid='SIMAZINE' "; Run_Sql($region3_dialect,$sql); if($log_verbose) log_time($sql);
./ccamp_calc_meqs.php : $sql="UPDATE ".$data_table." SET ".$dir."='+' WHERE ccampid='STIRPHOS' "; Run_Sql($region3_dialect,$sql); if($log_verbose) log_time($sql);
./ccamp_calc_meqs.php : $sql="UPDATE ".$data_table." SET ".$dir."='+' WHERE ccampid='STIRPHOS' "; Run_Sql($region3_dialect,$sql); if($log_verbose) log_time($sql);
./ccamp_calc_meqs.php : $sql="UPDATE ".$data_table." SET ".$dir."='+' WHERE ccampid='SULFO' "; Run_Sql($region3_dialect,$sql); if($log_verbose) log_time($sql);
./ccamp_calc_meqs.php : $sql="UPDATE ".$data_table." SET ".$dir."='+' WHERE ccampid='SULFO' "; Run_Sql($region3_dialect,$sql); if($log_verbose) log_time($sql);
./ccamp_calc_meqs.php : $sql="UPDATE ".$data_table." SET ".$dir."='+' WHERE ccampid='SULPROFOS' "; Run_Sql($region3_dialect,$sql); if($log_verbose) log_time($sql);
./ccamp_calc_meqs.php : $sql="UPDATE ".$data_table." SET ".$dir."='+' WHERE ccampid='SULPROFOS' "; Run_Sql($region3_dialect,$sql); if($log_verbose) log_time($sql);
./ccamp_calc_meqs.php : $sql="UPDATE ".$data_table." SET ".$dir."='+' WHERE ccampid='TBT' "; Run_Sql($region3_dialect,$sql); if($log_verbose) log_time($sql);
./ccamp_calc_meqs.php : $sql="UPDATE ".$data_table." SET ".$dir."='+' WHERE ccampid='TCDAN' "; Run_Sql($region3_dialect,$sql); if($log_verbose) log_time($sql);
./ccamp_calc_meqs.php : $sql="UPDATE ".$data_table." SET ".$dir."='+' WHERE ccampid='TEDION' "; Run_Sql($region3_dialect,$sql); if($log_verbose) log_time($sql);
./ccamp_calc_meqs.php : $sql="UPDATE ".$data_table." SET ".$dir."='+' WHERE ccampid='TERBUFOS' "; Run_Sql($region3_dialect,$sql); if($log_verbose) log_time($sql);
./ccamp_calc_meqs.php : $sql="UPDATE ".$data_table." SET ".$dir."='+' WHERE ccampid='TETRAMETHRIN' "; Run_Sql($region3_dialect,$sql); if($log_verbose) log_time($sql);
./ccamp_calc_meqs.php : $sql="UPDATE ".$data_table." SET ".$dir."='+' WHERE ccampid='THIONAZ' "; Run_Sql($region3_dialect,$sql); if($log_verbose) log_time($sql);
./ccamp_calc_meqs.php : $sql="UPDATE ".$data_table." SET ".$dir."='+' WHERE ccampid='THIONAZ' "; Run_Sql($region3_dialect,$sql); if($log_verbose) log_time($sql);
./ccamp_calc_meqs.php : $sql="UPDATE ".$data_table." SET ".$dir."='+' WHERE ccampid='TNONA' "; Run_Sql($region3_dialect,$sql); if($log_verbose) log_time($sql);
./ccamp_calc_meqs.php : $sql="UPDATE ".$data_table." SET ".$dir."='+' WHERE ccampid='TOC' "; Run_Sql($region3_dialect,$sql); if($log_verbose) log_time($sql);
./ccamp_calc_meqs.php : $sql="UPDATE ".$data_table." SET ".$dir."='+' WHERE ccampid='TOC' "; Run_Sql($region3_dialect,$sql); if($log_verbose) log_time($sql);
./ccamp_calc_meqs.php : $sql="UPDATE ".$data_table." SET ".$dir."='+' WHERE ccampid='TOTCL' "; Run_Sql($region3_dialect,$sql); if($log_verbose) log_time($sql);
./ccamp_calc_meqs.php : $sql="UPDATE ".$data_table." SET ".$dir."='+' WHERE ccampid='TOXAP' "; Run_Sql($region3_dialect,$sql); if($log_verbose) log_time($sql);
./ccamp_calc_meqs.php : $sql="UPDATE ".$data_table." SET ".$dir."='+' WHERE ccampid='TRCHLOFON' "; Run_Sql($region3_dialect,$sql); if($log_verbose) log_time($sql);
./ccamp_calc_meqs.php : $sql="UPDATE ".$data_table." SET ".$dir."='+' WHERE ccampid='TRICLATE' "; Run_Sql($region3_dialect,$sql); if($log_verbose) log_time($sql);
./ccamp_calc_meqs.php : $sql="UPDATE ".$data_table." SET ".$dir."='+' WHERE ccampid='TRICLATE' "; Run_Sql($region3_dialect,$sql); if($log_verbose) log_time($sql);
./ccamp_calc_meqs.php : $sql="UPDATE ".$data_table." SET ".$dir."='+' WHERE ccampid='TRIFLURALIN' "; Run_Sql($region3_dialect,$sql); if($log_verbose) log_time($sql);
./ccamp_calc_meqs.php : $sql="UPDATE ".$data_table." SET ".$dir."='+' WHERE ccampid='ANTH' "; Run_Sql($region3_dialect,$sql); if($log_verbose) log_time($sql);
./ccamp_calc_meqs.php : $sql="UPDATE ".$data_table." SET ".$dir."='+' WHERE ccampid='ANTHA' "; Run_Sql($region3_dialect,$sql); if($log_verbose) log_time($sql);
./ccamp_calc_meqs.php : $sql="UPDATE ".$data_table." SET ".$dir."='+' WHERE ccampid='ANTHAH' "; Run_Sql($region3_dialect,$sql); if($log_verbose) log_time($sql);
./ccamp_calc_meqs.php : $sql="UPDATE ".$data_table." SET ".$dir."='+' WHERE ccampid='BIPHEN' "; Run_Sql($region3_dialect,$sql); if($log_verbose) log_time($sql);
./ccamp_calc_meqs.php : $sql="UPDATE ".$data_table." SET ".$dir."='+' WHERE ccampid='CHRYSN' "; Run_Sql($region3_dialect,$sql); if($log_verbose) log_time($sql);
./ccamp_calc_meqs.php : $sql="UPDATE ".$data_table." SET ".$dir."='+' WHERE ccampid='DBTHIO' "; Run_Sql($region3_dialect,$sql); if($log_verbose) log_time($sql);
./ccamp_calc_meqs.php : $sql="UPDATE ".$data_table." SET ".$dir."='+' WHERE ccampid='FLRA' "; Run_Sql($region3_dialect,$sql); if($log_verbose) log_time($sql);
./ccamp_calc_meqs.php : $sql="UPDATE ".$data_table." SET ".$dir."='+' WHERE ccampid='FLRABB' "; Run_Sql($region3_dialect,$sql); if($log_verbose) log_time($sql);
./ccamp_calc_meqs.php : $sql="UPDATE ".$data_table." SET ".$dir."='+' WHERE ccampid='FLRABK' "; Run_Sql($region3_dialect,$sql); if($log_verbose) log_time($sql);
./ccamp_calc_meqs.php : $sql="UPDATE ".$data_table." SET ".$dir."='+' WHERE ccampid='NAP' "; Run_Sql($region3_dialect,$sql); if($log_verbose) log_time($sql);
./ccamp_calc_meqs.php : $sql="UPDATE ".$data_table." SET ".$dir."='+' WHERE ccampid='NAP1' "; Run_Sql($region3_dialect,$sql); if($log_verbose) log_time($sql);
./ccamp_calc_meqs.php : $sql="UPDATE ".$data_table." SET ".$dir."='+' WHERE ccampid='NAP2' "; Run_Sql($region3_dialect,$sql); if($log_verbose) log_time($sql);
./ccamp_calc_meqs.php : $sql="UPDATE ".$data_table." SET ".$dir."='+' WHERE ccampid='NAPHEN' "; Run_Sql($region3_dialect,$sql); if($log_verbose) log_time($sql);
./ccamp_calc_meqs.php : $sql="UPDATE ".$data_table." SET ".$dir."='+' WHERE ccampid='PERY' "; Run_Sql($region3_dialect,$sql); if($log_verbose) log_time($sql);
./ccamp_calc_meqs.php : $sql="UPDATE ".$data_table." SET ".$dir."='+' WHERE ccampid='PERYGH' "; Run_Sql($region3_dialect,$sql); if($log_verbose) log_time($sql);
./ccamp_calc_meqs.php : $sql="UPDATE ".$data_table." SET ".$dir."='+' WHERE ccampid='PHENA' "; Run_Sql($region3_dialect,$sql); if($log_verbose) log_time($sql);
./ccamp_calc_meqs.php : $sql="UPDATE ".$data_table." SET ".$dir."='+' WHERE ccampid='PHENA1' "; Run_Sql($region3_dialect,$sql); if($log_verbose) log_time($sql);
./ccamp_calc_meqs.php : $sql="UPDATE ".$data_table." SET ".$dir."='+' WHERE ccampid='PYRE' "; Run_Sql($region3_dialect,$sql); if($log_verbose) log_time($sql);
./ccamp_calc_meqs.php : $sql="UPDATE ".$data_table." SET ".$dir."='+' WHERE ccampid='PYREBA' "; Run_Sql($region3_dialect,$sql); if($log_verbose) log_time($sql);
./ccamp_calc_meqs.php : $sql="UPDATE ".$data_table." SET ".$dir."='+' WHERE ccampid='PYREBE' "; Run_Sql($region3_dialect,$sql); if($log_verbose) log_time($sql);
./ccamp_calc_meqs.php : $sql="UPDATE ".$data_table." SET ".$dir."='+' WHERE ccampid='PYREIN' "; Run_Sql($region3_dialect,$sql); if($log_verbose) log_time($sql);
./ccamp_calc_meqs.php : $sql="UPDATE ".$data_table." SET ".$dir."='+' WHERE ccampid='TPAH' "; Run_Sql($region3_dialect,$sql); if($log_verbose) log_time($sql);
./ccamp_calc_meqs.php : $sql="UPDATE ".$data_table." SET ".$dir."='+' WHERE ccampid='PCB008' "; Run_Sql($region3_dialect,$sql); if($log_verbose) log_time($sql);
./ccamp_calc_meqs.php : $sql="UPDATE ".$data_table." SET ".$dir."='+' WHERE ccampid='PCB018' "; Run_Sql($region3_dialect,$sql); if($log_verbose) log_time($sql);
./ccamp_calc_meqs.php : $sql="UPDATE ".$data_table." SET ".$dir."='+' WHERE ccampid='PCB028' "; Run_Sql($region3_dialect,$sql); if($log_verbose) log_time($sql);
./ccamp_calc_meqs.php : $sql="UPDATE ".$data_table." SET ".$dir."='+' WHERE ccampid='PCB044' "; Run_Sql($region3_dialect,$sql); if($log_verbose) log_time($sql);
./ccamp_calc_meqs.php : $sql="UPDATE ".$data_table." SET ".$dir."='+' WHERE ccampid='PCB052' "; Run_Sql($region3_dialect,$sql); if($log_verbose) log_time($sql);
./ccamp_calc_meqs.php : $sql="UPDATE ".$data_table." SET ".$dir."='+' WHERE ccampid='PCB066' "; Run_Sql($region3_dialect,$sql); if($log_verbose) log_time($sql);
./ccamp_calc_meqs.php : $sql="UPDATE ".$data_table." SET ".$dir."='+' WHERE ccampid='PCB101' "; Run_Sql($region3_dialect,$sql); if($log_verbose) log_time($sql);
./ccamp_calc_meqs.php : $sql="UPDATE ".$data_table." SET ".$dir."='+' WHERE ccampid='PCB105' "; Run_Sql($region3_dialect,$sql); if($log_verbose) log_time($sql);
./ccamp_calc_meqs.php : $sql="UPDATE ".$data_table." SET ".$dir."='+' WHERE ccampid='PCB118' "; Run_Sql($region3_dialect,$sql); if($log_verbose) log_time($sql);
./ccamp_calc_meqs.php : $sql="UPDATE ".$data_table." SET ".$dir."='+' WHERE ccampid='PCB1254' "; Run_Sql($region3_dialect,$sql); if($log_verbose) log_time($sql);
./ccamp_calc_meqs.php : $sql="UPDATE ".$data_table." SET ".$dir."='+' WHERE ccampid='PCB128' "; Run_Sql($region3_dialect,$sql); if($log_verbose) log_time($sql);
./ccamp_calc_meqs.php : $sql="UPDATE ".$data_table." SET ".$dir."='+' WHERE ccampid='PCB138' "; Run_Sql($region3_dialect,$sql); if($log_verbose) log_time($sql);
./ccamp_calc_meqs.php : $sql="UPDATE ".$data_table." SET ".$dir."='+' WHERE ccampid='PCB153' "; Run_Sql($region3_dialect,$sql); if($log_verbose) log_time($sql);
./ccamp_calc_meqs.php : $sql="UPDATE ".$data_table." SET ".$dir."='+' WHERE ccampid='PCB170' "; Run_Sql($region3_dialect,$sql); if($log_verbose) log_time($sql);
./ccamp_calc_meqs.php : $sql="UPDATE ".$data_table." SET ".$dir."='+' WHERE ccampid='PCB180' "; Run_Sql($region3_dialect,$sql); if($log_verbose) log_time($sql);
./ccamp_calc_meqs.php : $sql="UPDATE ".$data_table." SET ".$dir."='+' WHERE ccampid='PCB187' "; Run_Sql($region3_dialect,$sql); if($log_verbose) log_time($sql);
./ccamp_calc_meqs.php : $sql="UPDATE ".$data_table." SET ".$dir."='+' WHERE ccampid='PCB195' "; Run_Sql($region3_dialect,$sql); if($log_verbose) log_time($sql);
./ccamp_calc_meqs.php : $sql="UPDATE ".$data_table." SET ".$dir."='+' WHERE ccampid='PCB206' "; Run_Sql($region3_dialect,$sql); if($log_verbose) log_time($sql);
./ccamp_calc_meqs.php : $sql="UPDATE ".$data_table." SET ".$dir."='+' WHERE ccampid='PCB209' "; Run_Sql($region3_dialect,$sql); if($log_verbose) log_time($sql);
./ccamp_calc_meqs.php : $sql="UPDATE ".$data_table." SET ".$dir."='+' WHERE ccampid='TPCB' "; Run_Sql($region3_dialect,$sql); if($log_verbose) log_time($sql);
./ccamp_calc_meqs.php : $sql="UPDATE ".$data_table." SET ".$dir."='+' WHERE ccampid='PCT_SAFN' "; Run_Sql($region3_dialect,$sql); if($log_verbose) log_time($sql);
./ccamp_calc_meqs.php : $sql="UPDATE ".$data_table." SET ".$dir."='+' WHERE ccampid='W1_HALL_SWAMP' "; Run_Sql($region3_dialect,$sql); if($log_verbose) log_time($sql);
./ccamp_calc_meqs.php : $sql="UPDATE ".$data_table." SET ".$dir."='+' WHERE ccampid='XCEMBED' "; Run_Sql($region3_dialect,$sql); if($log_verbose) log_time($sql);
./ccamp_calc_meqs.php : $sql="UPDATE ".$data_table." SET ".$dir."='-' WHERE ccampid='XCMGW' "; Run_Sql($region3_dialect,$sql); if($log_verbose) log_time($sql);
./ccamp_calc_meqs.php : $sql="UPDATE ".$data_table." SET ".$dir."='+' WHERE ccampid='XEMBED' "; Run_Sql($region3_dialect,$sql); if($log_verbose) log_time($sql);
./ccamp_calc_meqs.php : $sql="UPDATE ".$data_table." SET ".$dir."='-' WHERE ccampid='XFC_NAT_SWAMP' "; Run_Sql($region3_dialect,$sql); if($log_verbose) log_time($sql);
./ccamp_calc_meqs.php : $sql="UPDATE ".$data_table." SET ".$dir."='-' WHERE ccampid='IDX_SCORE' "; Run_Sql($region3_dialect,$sql); if($log_verbose) log_time($sql);
./ccamp_calc_meqs.php : $sql="UPDATE ".$data_table." SET ".$dir."='-' WHERE ccampid='METRIC_82_HYMOD' "; Run_Sql($region3_dialect,$sql); if($log_verbose) log_time($sql);
./ccamp_calc_meqs.php : $sql="UPDATE ".$data_table." SET ".$dir."='-' WHERE ccampid='METRIC1_TRC' "; Run_Sql($region3_dialect,$sql); if($log_verbose) log_time($sql);
./ccamp_calc_meqs.php : $sql="UPDATE ".$data_table." SET ".$dir."='-' WHERE ccampid='METRIC2_VCS' "; Run_Sql($region3_dialect,$sql); if($log_verbose) log_time($sql);
./ccamp_calc_meqs.php : $sql="UPDATE ".$data_table." SET ".$dir."='-' WHERE ccampid='METRIC3_VCQ' "; Run_Sql($region3_dialect,$sql); if($log_verbose) log_time($sql);
./ccamp_calc_meqs.php : $sql="UPDATE ".$data_table." SET ".$dir."='-' WHERE ccampid='METRIC4_AGNR' "; Run_Sql($region3_dialect,$sql); if($log_verbose) log_time($sql);
./ccamp_calc_meqs.php : $sql="UPDATE ".$data_table." SET ".$dir."='-' WHERE ccampid='METRIC5_RVW' "; Run_Sql($region3_dialect,$sql); if($log_verbose) log_time($sql);
./ccamp_calc_meqs.php : $sql="UPDATE ".$data_table." SET ".$dir."='-' WHERE ccampid='METRIC6_RSCVC' "; Run_Sql($region3_dialect,$sql); if($log_verbose) log_time($sql);
./ccamp_calc_meqs.php : $sql="UPDATE ".$data_table." SET ".$dir."='-' WHERE ccampid='METRIC7_MHPR' "; Run_Sql($region3_dialect,$sql); if($log_verbose) log_time($sql);
./ccamp_calc_meqs.php : $sql="UPDATE ".$data_table." SET ".$dir."='-' WHERE ccampid='METRIC8_FINAL' "; Run_Sql($region3_dialect,$sql); if($log_verbose) log_time($sql);
./ccamp_calc_meqs.php : $sql="UPDATE ".$data_table." SET ".$dir."='-' WHERE ccampid='METRIC81_HYMOD' "; Run_Sql($region3_dialect,$sql); if($log_verbose) log_time($sql);
./ccamp_calc_meqs.php : $sql="UPDATE ".$data_table." SET ".$dir."='-' WHERE ccampid='TOX_ALGA_G' "; Run_Sql($region3_dialect,$sql); if($log_verbose) log_time($sql);
./ccamp_calc_meqs.php : $sql="UPDATE ".$data_table." SET ".$dir."='-' WHERE ccampid='TOX_FISH_G' "; Run_Sql($region3_dialect,$sql); if($log_verbose) log_time($sql);
./ccamp_calc_meqs.php : $sql="UPDATE ".$data_table." SET ".$dir."='-' WHERE ccampid='TOX_FISH_S' "; Run_Sql($region3_dialect,$sql); if($log_verbose) log_time($sql);
./ccamp_calc_meqs.php : $sql="UPDATE ".$data_table." SET ".$dir."='-' WHERE ccampid='TOX_INV_G_SED' "; Run_Sql($region3_dialect,$sql); if($log_verbose) log_time($sql);
./ccamp_calc_meqs.php : $sql="UPDATE ".$data_table." SET ".$dir."='-' WHERE ccampid='TOX_INV_R_H2O' "; Run_Sql($region3_dialect,$sql); if($log_verbose) log_time($sql);
./ccamp_calc_meqs.php : $sql="UPDATE ".$data_table." SET ".$dir."='-' WHERE ccampid='TOX_INV_S_H2O' "; Run_Sql($region3_dialect,$sql); if($log_verbose) log_time($sql);
./ccamp_calc_meqs.php : $sql="UPDATE ".$data_table." SET ".$dir."='-' WHERE ccampid='TOX_INV_S_SED' "; Run_Sql($region3_dialect,$sql); if($log_verbose) log_time($sql);
./ccamp_calc_meqs.php : $sql="UPDATE ".$data_table." SET ".$dir."='+' WHERE ccampid='DOMOIC' "; Run_Sql($region3_dialect,$sql); if($log_verbose) log_time($sql);
./ccamp_calc_meqs.php : $sql="UPDATE ".$data_table." SET ".$dir."='+' WHERE ccampid='MICROCYSTIN' "; Run_Sql($region3_dialect,$sql); if($log_verbose) log_time($sql);
./ccamp_calc_meqs.php : $sql="UPDATE ".$data_table." SET ".$dir."='+' WHERE ccampid='MICROCYSTINLA' "; Run_Sql($region3_dialect,$sql); if($log_verbose) log_time($sql);
./ccamp_calc_meqs.php : $sql="UPDATE ".$data_table." SET ".$dir."='+' WHERE ccampid='MICROCYSTINLR' "; Run_Sql($region3_dialect,$sql); if($log_verbose) log_time($sql);
./ccamp_calc_meqs.php : $sql="UPDATE ".$data_table." SET ".$dir."='+' WHERE ccampid='MICROCYSTINRR' "; Run_Sql($region3_dialect,$sql); if($log_verbose) log_time($sql);
./ccamp_calc_meqs.php : $sql="UPDATE ".$data_table." SET ".$dir."='+' WHERE ccampid='MICROCYSTINYR' "; Run_Sql($region3_dialect,$sql); if($log_verbose) log_time($sql);
./ccamp_calc_meqs.php : $sql="UPDATE ".$data_table." SET ".$dir."='+' WHERE ccampid='NODULARIN' "; Run_Sql($region3_dialect,$sql); if($log_verbose) log_time($sql);
./ccamp_calc_meqs.php : $sql="UPDATE ".$data_table." SET ".$dir."='-' WHERE ccampid='INDEX_AQUATIC_LIFE' "; Run_Sql($region3_dialect,$sql); if($log_verbose) log_time($sql);
./ccamp_calc_meqs.php : $sql="UPDATE ".$data_table." SET ".$dir."='-' WHERE ccampid='INDEX_BIOSTIM_RISK' "; Run_Sql($region3_dialect,$sql); if($log_verbose) log_time($sql);
./ccamp_calc_meqs.php : $sql="UPDATE ".$data_table." SET ".$dir."='-' WHERE ccampid='INDEX_BMI' "; Run_Sql($region3_dialect,$sql); if($log_verbose) log_time($sql);
./ccamp_calc_meqs.php : $sql="UPDATE ".$data_table." SET ".$dir."='-' WHERE ccampid='INDEX_ALGAE' "; Run_Sql($region3_dialect,$sql); if($log_verbose) log_time($sql);
./ccamp_calc_meqs.php : $sql="UPDATE ".$data_table." SET ".$dir."='-' WHERE ccampid='INDEX_HABITAT' "; Run_Sql($region3_dialect,$sql); if($log_verbose) log_time($sql);
./ccamp_calc_meqs.php : $sql="UPDATE ".$data_table." SET ".$dir."='-' WHERE ccampid='INDEX_HUMAN_HEALTH' "; Run_Sql($region3_dialect,$sql); if($log_verbose) log_time($sql);
./ccamp_calc_meqs.php : $sql="UPDATE ".$data_table." SET ".$dir."='-' WHERE ccampid='INDEX_MET_AQUATIC_LIFE_H2O' "; Run_Sql($region3_dialect,$sql); if($log_verbose) log_time($sql);
./ccamp_calc_meqs.php : $sql="UPDATE ".$data_table." SET ".$dir."='-' WHERE ccampid='INDEX_MET_AQUATIC_LIFE_SED' "; Run_Sql($region3_dialect,$sql); if($log_verbose) log_time($sql);
./ccamp_calc_meqs.php : $sql="UPDATE ".$data_table." SET ".$dir."='-' WHERE ccampid='INDEX_MET_HUMAN_HEALTH' "; Run_Sql($region3_dialect,$sql); if($log_verbose) log_time($sql);
./ccamp_calc_meqs.php : $sql="UPDATE ".$data_table." SET ".$dir."='-' WHERE ccampid='INDEX_ORG_AQUATIC_LIFE_H2O' "; Run_Sql($region3_dialect,$sql); if($log_verbose) log_time($sql);
./ccamp_calc_meqs.php : $sql="UPDATE ".$data_table." SET ".$dir."='-' WHERE ccampid='INDEX_ORG_AQUATIC_LIFE_SED' "; Run_Sql($region3_dialect,$sql); if($log_verbose) log_time($sql);
./ccamp_calc_meqs.php : $sql="UPDATE ".$data_table." SET ".$dir."='-' WHERE ccampid='INDEX_ORG_HUMAN_HEALTH' "; Run_Sql($region3_dialect,$sql); if($log_verbose) log_time($sql);
./ccamp_calc_meqs.php : $sql="UPDATE ".$data_table." SET ".$dir."='-' WHERE ccampid='INDEX_PAH_AQUATIC_LIFE_SED' "; Run_Sql($region3_dialect,$sql); if($log_verbose) log_time($sql);
./ccamp_calc_meqs.php : $sql="UPDATE ".$data_table." SET ".$dir."='-' WHERE ccampid='INDEX_PATHOGENS' "; Run_Sql($region3_dialect,$sql); if($log_verbose) log_time($sql);
./ccamp_calc_meqs.php : $sql="UPDATE ".$data_table." SET ".$dir."='-' WHERE ccampid='INDEX_PHAB' "; Run_Sql($region3_dialect,$sql); if($log_verbose) log_time($sql);
./ccamp_calc_meqs.php : $sql="UPDATE ".$data_table." SET ".$dir."='-' WHERE ccampid='INDEX_SALTS_HUMAN_HEALTH' "; Run_Sql($region3_dialect,$sql); if($log_verbose) log_time($sql);
./ccamp_calc_meqs.php : $sql="UPDATE ".$data_table." SET ".$dir."='-' WHERE ccampid='INDEX_TOXICITY_H2O' "; Run_Sql($region3_dialect,$sql); if($log_verbose) log_time($sql);
./ccamp_calc_meqs.php : $sql="UPDATE ".$data_table." SET ".$dir."='-' WHERE ccampid='INDEX_TOXICITY_SED' "; Run_Sql($region3_dialect,$sql); if($log_verbose) log_time($sql);
./ccamp_calc_meqs.php : $sql="UPDATE ".$data_table." SET ".$dir."='-' WHERE ccampid='INDEX_WQ_AQUATIC_LIFE' "; Run_Sql($region3_dialect,$sql); if($log_verbose) log_time($sql);
./ccamp_calc_meqs.php : $sql="UPDATE ".$data_table." SET ".$dir."='-' WHERE ccampid='INDEX_WQ_HUMAN_HEALTH' "; Run_Sql($region3_dialect,$sql); if($log_verbose) log_time($sql);
./ccamp_calc_meqs.php : function misc_fix($region3_dialect,$log,$org_id){
./ccamp_calc_meqs.php : $sql="UPDATE ceden.".$web_data_table." SET result=0,result_val=0 WHERE chr_group='Tox' AND ResultQualCode='ND' "; $result=Run_Sql($region3_dialect,$sql); if($log_verbose) log_time($sql);
./ccamp_calc_meqs.php : $sql="UPDATE ceden.".$web_data_table." SET ResultQualCode='SL' WHERE chr_group='Tox' AND ResultQualCode='ND' "; $result=Run_Sql($region3_dialect,$sql); if($log_verbose) log_time($sql);
./ccamp_calc_meqs.php : $sql=" UPDATE ceden.".$wqa_table." SET chr_group='Hab' WHERE chr_group='Phab' "; $result=Run_Sql($region3_dialect,$sql); log_time($sql);
./ccamp_calc_meqs.php : $sql=" UPDATE ceden.".$wqa_table." SET chr_group='Hab' WHERE chr_group='phab' "; $result=Run_Sql($region3_dialect,$sql); log_time($sql);
./ccamp_calc_meqs.php : $sql="UPDATE ceden.".$wqa_table." SET lt_median=lt_mean WHERE chr_group='Cram' AND lt_median IS NULL "; $result=Run_Sql($region3_dialect,$sql); if($log_verbose) log_time($sql);
./ccamp_calc_meqs.php : $sql="UPDATE ceden.".$wqa_table." SET lt_median=lt_mean WHERE chr_group='Hab' AND lt_median IS NULL "; $result=Run_Sql($region3_dialect,$sql); if($log_verbose) log_time($sql);
./ccamp_calc_meqs.php : $sql="UPDATE ceden.".$wqa_table." SET lt_median=lt_mean WHERE chr_group='Phab' AND lt_median IS NULL "; $result=Run_Sql($region3_dialect,$sql); if($log_verbose) log_time($sql);
./ccamp_calc_meqs.php : $sql="UPDATE ceden.".$wqa_table." SET lt_median=lt_mean WHERE chr_group='Rip' AND lt_median IS NULL "; $result=Run_Sql($region3_dialect,$sql); if($log_verbose) log_time($sql);
./ccamp_calc_meqs.php : ccampid_2_analytename($region3_dialect,$log,$verbose_output,$org_id,$data_table);
./ccamp_calc_meqs.php : ccampid_2_analytename($region3_dialect,$log,$verbose_output,$org_id,$data_table);
./ccamp_calc_meqs.php : $sql="UPDATE ceden.Analytes SET Analyte='Toxicity, Invertebrate Reproduction in water' WHERE ccampid='TOX_INV_R_H2O' "; $result=Run_Sql($region3_dialect,$sql); if($log_verbose) log_time($sql);
./ccamp_calc_meqs.php : $sql="UPDATE ".$wqa_table." SET Analyte_Name='Toxicity, Invertebrate Reproduction in water' WHERE ccampid='TOX_INV_R_H2O' "; $result=Run_Sql($region3_dialect,$sql); if($log_verbose) log_time($sql);
./ccamp_calc_meqs.php : $sql="UPDATE ".$web_data_table." SET AnalyteName='Toxicity, Invertebrate Reproduction in water' WHERE ccampid='TOX_INV_R_H2O' "; $result=Run_Sql($region3_dialect,$sql); if($log_verbose) log_time($sql);
./ccamp_calc_meqs.php : $sql="UPDATE ".$data_table." SET Result_val=Result_val*1000 WHERE ccampid='HG' AND resultunit='mg/l' "; $result=Run_Sql($region3_dialect,$sql); if($log_verbose) log_time($sql);
./ccamp_calc_meqs.php : $sql="UPDATE ".$data_table." SET Result=Result_val WHERE ccampid='HG' AND resultunit='mg/l' "; $result=Run_Sql($region3_dialect,$sql); if($log_verbose) log_time($sql);
./ccamp_calc_meqs.php : $sql="UPDATE ".$data_table." SET resultunit='ug/l' WHERE ccampid='HG' AND resultunit='mg/l' "; $result=Run_Sql($region3_dialect,$sql); if($log_verbose) log_time($sql);
./ccamp_calc_meqs.php : $sql="UPDATE ".$data_table." SET Result_val=Result_val*1000 WHERE ccampid='HG_METH' AND resultunit='mg/l' "; $result=Run_Sql($region3_dialect,$sql); if($log_verbose) log_time($sql);
./ccamp_calc_meqs.php : $sql="UPDATE ".$data_table." SET Result=Result_val WHERE ccampid='HG_METH' AND resultunit='mg/l' "; $result=Run_Sql($region3_dialect,$sql); if($log_verbose) log_time($sql);
./ccamp_calc_meqs.php : $sql="UPDATE ".$data_table." SET resultunit='ug/l' WHERE ccampid='HG_METH' AND resultunit='mg/l' "; $result=Run_Sql($region3_dialect,$sql); if($log_verbose) log_time($sql);
./ccamp_calc_meqs.php : $sql="UPDATE ".$data_table." SET Result_val=Result_val*1000 WHERE ccampid='HG_DIS' AND resultunit='mg/l' "; $result=Run_Sql($region3_dialect,$sql); if($log_verbose) log_time($sql);
./ccamp_calc_meqs.php : $sql="UPDATE ".$data_table." SET Result=Result_val WHERE ccampid='HG_DIS' AND resultunit='mg/l' "; $result=Run_Sql($region3_dialect,$sql); if($log_verbose) log_time($sql);
./ccamp_calc_meqs.php : $sql="UPDATE ".$data_table." SET resultunit='ug/l' WHERE ccampid='HG_DIS' AND resultunit='mg/l' "; $result=Run_Sql($region3_dialect,$sql); if($log_verbose) log_time($sql);
./ccamp_calc_meqs.php : function patch_1($region3_dialect,$log,$org_id,$web_data_table,$wqa_table){
./ccamp_calc_meqs.php : $sql=" UPDATE ceden.".$wqa_table." SET chr_group='wqi',matrixname='habitat' WHERE ccampid='INDEX_PHAB' "; $result=Run_Sql($region3_dialect,$sql); log_time($sql);
./ccamp_calc_meqs.php : $sql="UPDATE ceden.".$web_data_table." SET resultunit='score' WHERE ccampid='XCMGW' "; $result=Run_Sql($region3_dialect,$sql); if($log_verbose) log_time($sql);
./ccamp_calc_meqs.php : $sql="UPDATE ceden.".$wqa_table." SET resultunit='score' WHERE ccampid='XCMGW' "; $result=Run_Sql($region3_dialect,$sql); if($log_verbose) log_time($sql);
./ccamp_calc_meqs.php : $sql="UPDATE ceden.".$web_data_table." SET ResultQualCode='=' WHERE ccampid='FLOW' AND ResultQualCode='ND' "; $result=Run_Sql($region3_dialect,$sql); if($log_verbose) log_time($sql);
./ccamp_calc_meqs.php : $sql="UPDATE ceden.".$wqa_table." SET Webusage=1 WHERE ccampid='PH_DEP' "; $result=Run_Sql($region3_dialect,$sql); if($log_verbose) log_time($sql);
./ccamp_calc_meqs.php : $sql="UPDATE ceden.".$wqa_table." SET Webusage=1 WHERE ccampid='DO_PPM_DEP' "; $result=Run_Sql($region3_dialect,$sql); if($log_verbose) log_time($sql);
./ccamp_calc_meqs.php : $sql="UPDATE ceden.".$wqa_table." SET Webusage=0 WHERE ccampid='AIR_TEMP' "; $result=Run_Sql($region3_dialect,$sql); if($log_verbose) log_time($sql);
./ccamp_calc_meqs.php : $sql="UPDATE ceden.".$wqa_table." SET Webusage=0 WHERE ccampid='ALGA_PERI' "; $result=Run_Sql($region3_dialect,$sql); if($log_verbose) log_time($sql);
./ccamp_calc_meqs.php : $sql="UPDATE ceden.".$wqa_table." SET Webusage=0 WHERE ccampid='P_P' "; $result=Run_Sql($region3_dialect,$sql); if($log_verbose) log_time($sql);
./ccamp_calc_meqs.php : $sql="UPDATE ceden.".$wqa_table." SET Webusage=0 WHERE ccampid='PH_GT' "; $result=Run_Sql($region3_dialect,$sql); if($log_verbose) log_time($sql);
./ccamp_calc_meqs.php : $sql="UPDATE ceden.".$wqa_table." SET Webusage=0 WHERE ccampid='PH_LT' "; $result=Run_Sql($region3_dialect,$sql); if($log_verbose) log_time($sql);
./ccamp_calc_meqs.php : $sql="UPDATE ceden.".$wqa_table." SET Webusage=0 WHERE ccampid='DO_PPM_GT' "; $result=Run_Sql($region3_dialect,$sql); if($log_verbose) log_time($sql);
./ccamp_calc_meqs.php : $sql="UPDATE ceden.".$wqa_table." SET Webusage=0 WHERE ccampid='DO_PPM_LT' "; $result=Run_Sql($region3_dialect,$sql); if($log_verbose) log_time($sql);
./ccamp_calc_meqs.php : $sql="UPDATE ceden.".$wqa_table." SET Webusage=0 WHERE ccampid='DO_SAT_GT' "; $result=Run_Sql($region3_dialect,$sql); if($log_verbose) log_time($sql);
./ccamp_calc_meqs.php : $sql="UPDATE ceden.".$wqa_table." SET Webusage=0 WHERE ccampid='DO_SAT_LT' "; $result=Run_Sql($region3_dialect,$sql); if($log_verbose) log_time($sql);
./ccamp_calc_meqs.php : $sql="UPDATE ceden.".$wqa_table." SET Webusage=0 WHERE ccampid='H2O_TEMP_GT' "; $result=Run_Sql($region3_dialect,$sql); if($log_verbose) log_time($sql);
./ccamp_calc_meqs.php : $sql="UPDATE ceden.".$wqa_table." SET Webusage=0 WHERE ccampid='HG' AND matrixname='samplewater' "; $result=Run_Sql($region3_dialect,$sql); if($log_verbose) log_time($sql);
./ccamp_calc_meqs.php : $sql="UPDATE ceden.".$wqa_table." SET Webusage=0 WHERE ccampid='HG_METH' AND matrixname='samplewater' "; $result=Run_Sql($region3_dialect,$sql); if($log_verbose) log_time($sql);
./ccamp_calc_meqs.php : $sql="UPDATE ceden.".$wqa_table." SET Webusage=0 WHERE ccampid='HG_DIS' AND matrixname='samplewater' "; $result=Run_Sql($region3_dialect,$sql); if($log_verbose) log_time($sql);
./ccamp_calc_meqs.php : $sql="UPDATE ceden.".$wqa_table." SET Webusage=0 WHERE ccampid='XEMBED' "; $result=Run_Sql($region3_dialect,$sql); if($log_verbose) log_time($sql);
./ccamp_calc_meqs.php : $sql="UPDATE ceden.".$wqa_table." SET Webusage=0 WHERE ccampid='W1_HALL_SWAMP' "; $result=Run_Sql($region3_dialect,$sql); if($log_verbose) log_time($sql);
./ccamp_calc_meqs.php : $sql="UPDATE ceden.".$wqa_table." SET Webusage=1 WHERE ccampid='ALG_50_DO_SCR' "; $result=Run_Sql($region3_dialect,$sql); if($log_verbose) log_time($sql);
./ccamp_calc_meqs.php : $sql="UPDATE ceden.".$wqa_table." SET Webusage=1 WHERE ccampid='ALG_CU_SCR' "; $result=Run_Sql($region3_dialect,$sql); if($log_verbose) log_time($sql);
./ccamp_calc_meqs.php : $sql="UPDATE ceden.".$wqa_table." SET Webusage=1 WHERE ccampid='ALG_DOC_SCR' "; $result=Run_Sql($region3_dialect,$sql); if($log_verbose) log_time($sql);
./ccamp_calc_meqs.php : $sql="UPDATE ceden.".$wqa_table." SET Webusage=1 WHERE ccampid='ALG_HALO_SCR' "; $result=Run_Sql($region3_dialect,$sql); if($log_verbose) log_time($sql);
./ccamp_calc_meqs.php : $sql="UPDATE ceden.".$wqa_table." SET Webusage=1 WHERE ccampid='ALG_N_SCR' "; $result=Run_Sql($region3_dialect,$sql); if($log_verbose) log_time($sql);
./ccamp_calc_meqs.php : $sql="UPDATE ceden.".$wqa_table." SET Webusage=1 WHERE ccampid='ALG_SED_SCR' "; $result=Run_Sql($region3_dialect,$sql); if($log_verbose) log_time($sql);
./ccamp_calc_meqs.php : $sql="UPDATE ceden.".$wqa_table." SET Webusage=1 WHERE ccampid='ALG_TN_SCR' "; $result=Run_Sql($region3_dialect,$sql); if($log_verbose) log_time($sql);
./ccamp_calc_meqs.php : $sql="UPDATE ceden.".$wqa_table." SET Webusage=1 WHERE ccampid='ALG_TP_SCR' "; $result=Run_Sql($region3_dialect,$sql); if($log_verbose) log_time($sql);
./ccamp_calc_meqs.php : $sql="UPDATE ceden.".$wqa_table." SET Webusage=1 WHERE ccampid='ALG_50_DO' "; $result=Run_Sql($region3_dialect,$sql); if($log_verbose) log_time($sql);
./ccamp_calc_meqs.php : $sql="UPDATE ceden.".$wqa_table." SET Webusage=1 WHERE ccampid='ALG_CU' "; $result=Run_Sql($region3_dialect,$sql); if($log_verbose) log_time($sql);
./ccamp_calc_meqs.php : $sql="UPDATE ceden.".$wqa_table." SET Webusage=1 WHERE ccampid='ALG_DOC' "; $result=Run_Sql($region3_dialect,$sql); if($log_verbose) log_time($sql);
./ccamp_calc_meqs.php : $sql="UPDATE ceden.".$wqa_table." SET Webusage=1 WHERE ccampid='ALG_HALO' "; $result=Run_Sql($region3_dialect,$sql); if($log_verbose) log_time($sql);
./ccamp_calc_meqs.php : $sql="UPDATE ceden.".$wqa_table." SET Webusage=1 WHERE ccampid='ALG_N' "; $result=Run_Sql($region3_dialect,$sql); if($log_verbose) log_time($sql);
./ccamp_calc_meqs.php : $sql="UPDATE ceden.".$wqa_table." SET Webusage=1 WHERE ccampid='ALG_SED' "; $result=Run_Sql($region3_dialect,$sql); if($log_verbose) log_time($sql);
./ccamp_calc_meqs.php : $sql="UPDATE ceden.".$wqa_table." SET Webusage=1 WHERE ccampid='ALG_TN' "; $result=Run_Sql($region3_dialect,$sql); if($log_verbose) log_time($sql);
./ccamp_calc_meqs.php : $sql="UPDATE ceden.".$wqa_table." SET Webusage=1 WHERE ccampid='ALG_TP' "; $result=Run_Sql($region3_dialect,$sql); if($log_verbose) log_time($sql);
./ccamp_calc_meqs.php : $sql="UPDATE ceden.".$wqa_table." SET Webusage=0 WHERE ccampid='B_NOCALIBI' "; $result=Run_Sql($region3_dialect,$sql); if($log_verbose) log_time($sql);
./ccamp_calc_meqs.php : $sql="UPDATE ".$wqa_table." SET chr_subgroup='dex_001' WHERE ccampid='Index_Aquatic_Life' "; Run_Sql($region3_dialect,$sql); if($log_verbose) log_time($sql);
./ccamp_calc_meqs.php : $sql="UPDATE ".$wqa_table." SET chr_subgroup='dex_002' WHERE ccampid='Index_WQ_Aquatic_Life' "; Run_Sql($region3_dialect,$sql); if($log_verbose) log_time($sql);
./ccamp_calc_meqs.php : $sql="UPDATE ".$wqa_table." SET chr_subgroup='dex_003' WHERE ccampid='Index_Toxicity_H2o' "; Run_Sql($region3_dialect,$sql); if($log_verbose) log_time($sql);
./ccamp_calc_meqs.php : $sql="UPDATE ".$wqa_table." SET chr_subgroup='dex_004' WHERE ccampid='Index_Toxicity_Sed' "; Run_Sql($region3_dialect,$sql); if($log_verbose) log_time($sql);
./ccamp_calc_meqs.php : $sql="UPDATE ".$wqa_table." SET chr_subgroup='dex_005' WHERE ccampid='Index_BMI' "; Run_Sql($region3_dialect,$sql); if($log_verbose) log_time($sql);
./ccamp_calc_meqs.php : $sql="UPDATE ".$wqa_table." SET chr_subgroup='dex_006' WHERE ccampid='Index_Biostim_Risk' "; Run_Sql($region3_dialect,$sql); if($log_verbose) log_time($sql);
./ccamp_calc_meqs.php : $sql="UPDATE ".$wqa_table." SET chr_subgroup='dex_007' WHERE ccampid='Index_Org_Aquatic_Life_Sed' "; Run_Sql($region3_dialect,$sql); if($log_verbose) log_time($sql);
./ccamp_calc_meqs.php : $sql="UPDATE ".$wqa_table." SET chr_subgroup='dex_008' WHERE ccampid='Index_Org_Aquatic_Life_H2o' "; Run_Sql($region3_dialect,$sql); if($log_verbose) log_time($sql);
./ccamp_calc_meqs.php : $sql="UPDATE ".$wqa_table." SET chr_subgroup='dex_009' WHERE ccampid='Index_Met_Aquatic_Life_H2o' "; Run_Sql($region3_dialect,$sql); if($log_verbose) log_time($sql);
./ccamp_calc_meqs.php : $sql="UPDATE ".$wqa_table." SET chr_subgroup='dex_010' WHERE ccampid='Index_Met_Aquatic_Life_Sed' "; Run_Sql($region3_dialect,$sql); if($log_verbose) log_time($sql);
./ccamp_calc_meqs.php : $sql="UPDATE ".$wqa_table." SET chr_subgroup='dex_011' WHERE ccampid='Index_Habitat' "; Run_Sql($region3_dialect,$sql); if($log_verbose) log_time($sql);
./ccamp_calc_meqs.php : $sql="UPDATE ".$wqa_table." SET chr_subgroup='dex_012' WHERE ccampid='Index_Pah_Aquatic_Life_H2o' "; Run_Sql($region3_dialect,$sql); if($log_verbose) log_time($sql);
./ccamp_calc_meqs.php : $sql="UPDATE ".$wqa_table." SET chr_subgroup='dex_013' WHERE ccampid='Index_Pah_Aquatic_Life_Sed' "; Run_Sql($region3_dialect,$sql); if($log_verbose) log_time($sql);
./ccamp_calc_meqs.php : $sql="UPDATE ".$wqa_table." SET chr_subgroup='dex_014' WHERE ccampid='Index_phab' "; Run_Sql($region3_dialect,$sql); if($log_verbose) log_time($sql);
./ccamp_calc_meqs.php : $sql="UPDATE ".$wqa_table." SET chr_subgroup='dex_014' WHERE ccampid='Index_algae' "; Run_Sql($region3_dialect,$sql); if($log_verbose) log_time($sql);
./ccamp_calc_meqs.php : $sql="UPDATE ".$wqa_table." SET chr_subgroup='dex_100' WHERE ccampid='Index_Human_Health' "; Run_Sql($region3_dialect,$sql); if($log_verbose) log_time($sql);
./ccamp_calc_meqs.php : $sql="UPDATE ".$wqa_table." SET chr_subgroup='dex_200' WHERE ccampid='Index_WQ_Human_Health' "; Run_Sql($region3_dialect,$sql); if($log_verbose) log_time($sql);
./ccamp_calc_meqs.php : $sql="UPDATE ".$wqa_table." SET chr_subgroup='dex_300' WHERE ccampid='Index_Pathogens' "; Run_Sql($region3_dialect,$sql); if($log_verbose) log_time($sql);
./ccamp_calc_meqs.php : $sql="UPDATE ".$wqa_table." SET chr_subgroup='dex_400' WHERE ccampid='Index_WQ_Groundwater' "; Run_Sql($region3_dialect,$sql); if($log_verbose) log_time($sql);
./ccamp_calc_meqs.php : $sql="UPDATE ".$wqa_table." SET chr_subgroup='dex_500' WHERE ccampid='Index_Org_Human_Health' "; Run_Sql($region3_dialect,$sql); if($log_verbose) log_time($sql);
./ccamp_calc_meqs.php : $sql="UPDATE ".$wqa_table." SET chr_subgroup='dex_600' WHERE ccampid='Index_Met_Human_Health' "; Run_Sql($region3_dialect,$sql); if($log_verbose) log_time($sql);
./ccamp_calc_meqs.php : $sql="UPDATE ".$wqa_table." SET chr_subgroup='dex_700' WHERE ccampid='Index_Salts_Human_Health' "; Run_Sql($region3_dialect,$sql); if($log_verbose) log_time($sql);
./ccamp_calc_meqs.php : $sql="UPDATE ".$wqa_table." SET chr_subgroup='dex_800' WHERE ccampid='Index_Pah_Human_Health' "; Run_Sql($region3_dialect,$sql); if($log_verbose) log_time($sql);
./ccamp_calc_meqs.php : $sql="UPDATE ".$wqa_table." SET chr_subgroup='rip_001' WHERE ccampid='IDX_SCORE' "; Run_Sql($region3_dialect,$sql); if($log_verbose) log_time($sql);
./ccamp_calc_meqs.php : $sql="UPDATE ".$wqa_table." SET chr_subgroup='rip_002' WHERE ccampid='METRIC_82_HYMOD' "; Run_Sql($region3_dialect,$sql); if($log_verbose) log_time($sql);
./ccamp_calc_meqs.php : $sql="UPDATE ".$wqa_table." SET chr_subgroup='rip_003' WHERE ccampid='METRIC1_TRC' "; Run_Sql($region3_dialect,$sql); if($log_verbose) log_time($sql);
./ccamp_calc_meqs.php : $sql="UPDATE ".$wqa_table." SET chr_subgroup='rip_004' WHERE ccampid='METRIC2_VCS' "; Run_Sql($region3_dialect,$sql); if($log_verbose) log_time($sql);
./ccamp_calc_meqs.php : $sql="UPDATE ".$wqa_table." SET chr_subgroup='rip_005' WHERE ccampid='METRIC3_VCQ' "; Run_Sql($region3_dialect,$sql); if($log_verbose) log_time($sql);
./ccamp_calc_meqs.php : $sql="UPDATE ".$wqa_table." SET chr_subgroup='rip_006' WHERE ccampid='METRIC4_AGNR' "; Run_Sql($region3_dialect,$sql); if($log_verbose) log_time($sql);
./ccamp_calc_meqs.php : $sql="UPDATE ".$wqa_table." SET chr_subgroup='rip_007' WHERE ccampid='METRIC5_RVW' "; Run_Sql($region3_dialect,$sql); if($log_verbose) log_time($sql);
./ccamp_calc_meqs.php : $sql="UPDATE ".$wqa_table." SET chr_subgroup='rip_008' WHERE ccampid='METRIC6_RSCVC' "; Run_Sql($region3_dialect,$sql); if($log_verbose) log_time($sql);
./ccamp_calc_meqs.php : $sql="UPDATE ".$wqa_table." SET chr_subgroup='rip_009' WHERE ccampid='METRIC7_MHPR' "; Run_Sql($region3_dialect,$sql); if($log_verbose) log_time($sql);
./ccamp_calc_meqs.php : $sql="UPDATE ".$wqa_table." SET chr_subgroup='rip_010' WHERE ccampid='METRIC8_FINAL' "; Run_Sql($region3_dialect,$sql); if($log_verbose) log_time($sql);
./ccamp_calc_meqs.php : $sql="UPDATE ".$wqa_table." SET chr_subgroup='rip_011' WHERE ccampid='METRIC81_HYMOD' "; Run_Sql($region3_dialect,$sql); if($log_verbose) log_time($sql);
./ccamp_calc_meqs.php : $sql="UPDATE ".$wqa_table." SET chr_subgroup='alg_001' WHERE ccampid='ALG_H2O_MMI' "; Run_Sql($region3_dialect,$sql); if($log_verbose) log_time($sql);
./ccamp_calc_meqs.php : $sql="UPDATE ".$wqa_table." SET chr_subgroup='alg_002' WHERE ccampid='ALG_50_DO_SCR' "; Run_Sql($region3_dialect,$sql); if($log_verbose) log_time($sql);
./ccamp_calc_meqs.php : $sql="UPDATE ".$wqa_table." SET chr_subgroup='alg_003' WHERE ccampid='ALG_CU_SCR' "; Run_Sql($region3_dialect,$sql); if($log_verbose) log_time($sql);
./ccamp_calc_meqs.php : $sql="UPDATE ".$wqa_table." SET chr_subgroup='alg_004' WHERE ccampid='ALG_DOC_SCR' "; Run_Sql($region3_dialect,$sql); if($log_verbose) log_time($sql);
./ccamp_calc_meqs.php : $sql="UPDATE ".$wqa_table." SET chr_subgroup='alg_005' WHERE ccampid='ALG_HALO_SCR' "; Run_Sql($region3_dialect,$sql); if($log_verbose) log_time($sql);
./ccamp_calc_meqs.php : $sql="UPDATE ".$wqa_table." SET chr_subgroup='alg_006' WHERE ccampid='ALG_N_SCR' "; Run_Sql($region3_dialect,$sql); if($log_verbose) log_time($sql);
./ccamp_calc_meqs.php : $sql="UPDATE ".$wqa_table." SET chr_subgroup='alg_007' WHERE ccampid='ALG_SED_SCR' "; Run_Sql($region3_dialect,$sql); if($log_verbose) log_time($sql);
./ccamp_calc_meqs.php : $sql="UPDATE ".$wqa_table." SET chr_subgroup='alg_008' WHERE ccampid='ALG_TN_SCR' "; Run_Sql($region3_dialect,$sql); if($log_verbose) log_time($sql);
./ccamp_calc_meqs.php : $sql="UPDATE ".$wqa_table." SET chr_subgroup='alg_009' WHERE ccampid='ALG_TP_SCR' "; Run_Sql($region3_dialect,$sql); if($log_verbose) log_time($sql);
./ccamp_calc_meqs.php : $sql="UPDATE ".$wqa_table." SET chr_subgroup='alg_010' WHERE ccampid='ALG_50_DO' "; Run_Sql($region3_dialect,$sql); if($log_verbose) log_time($sql);
./ccamp_calc_meqs.php : $sql="UPDATE ".$wqa_table." SET chr_subgroup='alg_011' WHERE ccampid='ALG_CU' "; Run_Sql($region3_dialect,$sql); if($log_verbose) log_time($sql);
./ccamp_calc_meqs.php : $sql="UPDATE ".$wqa_table." SET chr_subgroup='alg_012' WHERE ccampid='ALG_DOC' "; Run_Sql($region3_dialect,$sql); if($log_verbose) log_time($sql);
./ccamp_calc_meqs.php : $sql="UPDATE ".$wqa_table." SET chr_subgroup='alg_013' WHERE ccampid='ALG_HALO' "; Run_Sql($region3_dialect,$sql); if($log_verbose) log_time($sql);
./ccamp_calc_meqs.php : $sql="UPDATE ".$wqa_table." SET chr_subgroup='alg_014' WHERE ccampid='ALG_N' "; Run_Sql($region3_dialect,$sql); if($log_verbose) log_time($sql);
./ccamp_calc_meqs.php : $sql="UPDATE ".$wqa_table." SET chr_subgroup='alg_015' WHERE ccampid='ALG_SED' "; Run_Sql($region3_dialect,$sql); if($log_verbose) log_time($sql);
./ccamp_calc_meqs.php : $sql="UPDATE ".$wqa_table." SET chr_subgroup='alg_016' WHERE ccampid='ALG_TN' "; Run_Sql($region3_dialect,$sql); if($log_verbose) log_time($sql);
./ccamp_calc_meqs.php : $sql="UPDATE ".$wqa_table." SET chr_subgroup='alg_017' WHERE ccampid='ALG_TP' "; Run_Sql($region3_dialect,$sql); if($log_verbose) log_time($sql);
./ccamp_calc_meqs.php : $sql="UPDATE ".$wqa_table." SET chr_subgroup='nne_001' WHERE ccampid='NNE_REV_QUAL2K_2' "; Run_Sql($region3_dialect,$sql); if($log_verbose) log_time($sql);
./ccamp_calc_meqs.php : $sql="UPDATE ".$wqa_table." SET chr_subgroup='nne_002' WHERE ccampid='NNE_DO_DEF' "; Run_Sql($region3_dialect,$sql); if($log_verbose) log_time($sql);
./ccamp_calc_meqs.php : $sql="UPDATE ".$wqa_table." SET chr_subgroup='nne_003' WHERE ccampid='NNE_REV_QUAL2K' "; Run_Sql($region3_dialect,$sql); if($log_verbose) log_time($sql);
./ccamp_calc_meqs.php : $sql="UPDATE ".$wqa_table." SET chr_subgroup='nne_004' WHERE ccampid='NNE_STD_QUAL2K' "; Run_Sql($region3_dialect,$sql); if($log_verbose) log_time($sql);
./ccamp_calc_meqs.php : $sql="UPDATE ".$wqa_table." SET chr_subgroup='nne_005' WHERE ccampid='NNE_STD_QUAL2K_2' "; Run_Sql($region3_dialect,$sql); if($log_verbose) log_time($sql);
./ccamp_calc_meqs.php : $sql="UPDATE ".$wqa_table." SET chr_subgroup='nne_006' WHERE ccampid='NNE_REV_QUAL2K_ADJ' "; Run_Sql($region3_dialect,$sql); if($log_verbose) log_time($sql);
./ccamp_calc_meqs.php : $sql="UPDATE ".$wqa_table." SET chr_subgroup='nne_007' WHERE ccampid='NNE_REV_QUAL2K_ADJ_2' "; Run_Sql($region3_dialect,$sql); if($log_verbose) log_time($sql);
./ccamp_calc_meqs.php : $sql="UPDATE ".$wqa_table." SET chr_subgroup='nne_008' WHERE ccampid='NNE_DODDS_MAX97' "; Run_Sql($region3_dialect,$sql); if($log_verbose) log_time($sql);
./ccamp_calc_meqs.php : $sql="UPDATE ".$wqa_table." SET chr_subgroup='nne_009' WHERE ccampid='NNE_DODDS_MAX97_02' "; Run_Sql($region3_dialect,$sql); if($log_verbose) log_time($sql);
./ccamp_calc_meqs.php : $sql="UPDATE ".$wqa_table." SET chr_subgroup='nne_010' WHERE ccampid='NNE_DODDS_MAX02' "; Run_Sql($region3_dialect,$sql); if($log_verbose) log_time($sql);
./ccamp_calc_meqs.php : $sql="UPDATE ".$wqa_table." SET chr_subgroup='nne_011' WHERE ccampid='NNE_DODDS_MAX02_2' "; Run_Sql($region3_dialect,$sql); if($log_verbose) log_time($sql);
./ccamp_calc_meqs.php : $sql="UPDATE ".$wqa_table." SET chr_subgroup='nne_012' WHERE ccampid='NNE_DODDS_MEAN97' "; Run_Sql($region3_dialect,$sql); if($log_verbose) log_time($sql);
./ccamp_calc_meqs.php : $sql="UPDATE ".$wqa_table." SET chr_subgroup='nne_013' WHERE ccampid='NNE_DODDS_MEAN97_2' "; Run_Sql($region3_dialect,$sql); if($log_verbose) log_time($sql);
./ccamp_calc_meqs.php : $sql="UPDATE ".$wqa_table." SET chr_subgroup='nne_014' WHERE ccampid='NNE_DODDS_MEAN02' "; Run_Sql($region3_dialect,$sql); if($log_verbose) log_time($sql);
./ccamp_calc_meqs.php : $sql="UPDATE ".$wqa_table." SET chr_subgroup='nne_015' WHERE ccampid='NNE_DODDS_MEAN02_2' "; Run_Sql($region3_dialect,$sql); if($log_verbose) log_time($sql);
./ccamp_calc_meqs.php : $sql="UPDATE ".$wqa_table." SET chr_subgroup='phab_001' WHERE ccampid='INDEX_PHAB' "; Run_Sql($region3_dialect,$sql); if($log_verbose) log_time($sql);
./ccamp_calc_meqs.php : $sql="UPDATE ".$wqa_table." SET chr_subgroup='phab_002' WHERE ccampid='PCT_SAFN' "; Run_Sql($region3_dialect,$sql); if($log_verbose) log_time($sql);
./ccamp_calc_meqs.php : $sql="UPDATE ".$wqa_table." SET chr_subgroup='phab_003' WHERE ccampid='W1_HALL_SWAMP' "; Run_Sql($region3_dialect,$sql); if($log_verbose) log_time($sql);
./ccamp_calc_meqs.php : $sql="UPDATE ".$wqa_table." SET chr_subgroup='phab_004' WHERE ccampid='XCEMBED' "; Run_Sql($region3_dialect,$sql); if($log_verbose) log_time($sql);
./ccamp_calc_meqs.php : $sql="UPDATE ".$wqa_table." SET chr_subgroup='phab_005' WHERE ccampid='XCMGW' "; Run_Sql($region3_dialect,$sql); if($log_verbose) log_time($sql);
./ccamp_calc_meqs.php : $sql="UPDATE ".$wqa_table." SET chr_subgroup='phab_006' WHERE ccampid='XFC_NAT_SWAMP' "; Run_Sql($region3_dialect,$sql); if($log_verbose) log_time($sql);
./ccamp_calc_meqs.php : $sql="UPDATE ".$wqa_table." SET analyte_name='Aquatic Life - Physical Habitat Index' WHERE ccampid='INDEX_PHAB' "; Run_Sql($region3_dialect,$sql); if($log_verbose) log_time($sql);
./ccamp_calc_meqs.php : $sql="UPDATE ".$wqa_table." SET site_type='River' WHERE chr_group='Alga' "; Run_Sql($region3_dialect,$sql); if($log_verbose) log_time($sql);
./ccamp_calc_meqs.php : $sql="UPDATE ".$wqa_table." SET site_type='River' WHERE chr_group='Bmi' "; Run_Sql($region3_dialect,$sql); if($log_verbose) log_time($sql);
./ccamp_calc_meqs.php : $sql="UPDATE ".$wqa_table." SET site_type='River' WHERE chr_group='Phab' "; Run_Sql($region3_dialect,$sql); if($log_verbose) log_time($sql);
./ccamp_calc_meqs.php : function set_temp_mdls($region3_dialect,$log,$log_verbose,$org_id,$data_table){
./ccamp_calc_meqs.php : set_min_mdl($region3_dialect,$log,$log_verbose,$org_id,$data_table,'W1_HALL_SWAMP');
./ccamp_calc_meqs.php : set_min_mdl($region3_dialect,$log,$log_verbose,$org_id,$data_table,'XEMBED');
./ccamp_calc_meqs.php : set_min_mdl($region3_dialect,$log,$log_verbose,$org_id,$data_table,'XCEMBED');
./ccamp_calc_meqs.php : set_min_mdl($region3_dialect,$log,$log_verbose,$org_id,$data_table,'XFC_NAT_SWAMP');
./ccamp_calc_meqs.php : set_min_mdl($region3_dialect,$log,$log_verbose,$org_id,$data_table,'METRIC4_AGNR');
./ccamp_calc_meqs.php : set_min_mdl($region3_dialect,$log,$log_verbose,$org_id,$data_table,'METRIC_82_HYMOD');
./ccamp_calc_meqs.php : set_min_mdl($region3_dialect,$log,$log_verbose,$org_id,$data_table,'METRIC8_FINAL');
./ccamp_calc_meqs.php : set_min_mdl($region3_dialect,$log,$log_verbose,$org_id,$data_table,'METRIC81_HYMOD');
./ccamp_calc_meqs.php : set_min_mdl($region3_dialect,$log,$log_verbose,$org_id,$data_table,'METRIC7_MHPR');
./ccamp_calc_meqs.php : set_min_mdl($region3_dialect,$log,$log_verbose,$org_id,$data_table,'METRIC6_RSCVC');
./ccamp_calc_meqs.php : set_min_mdl($region3_dialect,$log,$log_verbose,$org_id,$data_table,'METRIC5_RVW');
./ccamp_calc_meqs.php : set_min_mdl($region3_dialect,$log,$log_verbose,$org_id,$data_table,'METRIC1_TRC');
./ccamp_calc_meqs.php : set_min_mdl($region3_dialect,$log,$log_verbose,$org_id,$data_table,'METRIC3_VCQ');
./ccamp_calc_meqs.php : set_min_mdl($region3_dialect,$log,$log_verbose,$org_id,$data_table,'METRIC2_VCS');
./ccamp_calc_meqs.php : set_min_mdl($region3_dialect,$log,$log_verbose,$org_id,$data_table,'ALG_H2O_MMI');
./ccamp_calc_meqs.php : set_min_mdl($region3_dialect,$log,$log_verbose,$org_id,$data_table,'ALG_HALO');
./ccamp_calc_meqs.php : set_min_mdl($region3_dialect,$log,$log_verbose,$org_id,$data_table,'ALG_HALO_SCR');
./ccamp_calc_meqs.php : set_min_mdl($region3_dialect,$log,$log_verbose,$org_id,$data_table,'ALG_CU');
./ccamp_calc_meqs.php : set_min_mdl($region3_dialect,$log,$log_verbose,$org_id,$data_table,'ALG_CU_SCR');
./ccamp_calc_meqs.php : set_min_mdl($region3_dialect,$log,$log_verbose,$org_id,$data_table,'ALG_DOC');
./ccamp_calc_meqs.php : set_min_mdl($region3_dialect,$log,$log_verbose,$org_id,$data_table,'ALG_DOC_SCR');
./ccamp_calc_meqs.php : set_min_mdl($region3_dialect,$log,$log_verbose,$org_id,$data_table,'ALG_TN');
./ccamp_calc_meqs.php : set_min_mdl($region3_dialect,$log,$log_verbose,$org_id,$data_table,'ALG_TN_SCR');
./ccamp_calc_meqs.php : set_min_mdl($region3_dialect,$log,$log_verbose,$org_id,$data_table,'ALG_TP');
./ccamp_calc_meqs.php : set_min_mdl($region3_dialect,$log,$log_verbose,$org_id,$data_table,'ALG_TP_SCR');
./ccamp_calc_meqs.php : set_min_mdl($region3_dialect,$log,$log_verbose,$org_id,$data_table,'ALG_N');
./ccamp_calc_meqs.php : set_min_mdl($region3_dialect,$log,$log_verbose,$org_id,$data_table,'ALG_N_SCR');
./ccamp_calc_meqs.php : set_min_mdl($region3_dialect,$log,$log_verbose,$org_id,$data_table,'ALG_50_DO');
./ccamp_calc_meqs.php : set_min_mdl($region3_dialect,$log,$log_verbose,$org_id,$data_table,'ALG_50_DO_SCR');
./ccamp_calc_meqs.php : set_min_mdl($region3_dialect,$log,$log_verbose,$org_id,$data_table,'ALG_SED');
./ccamp_calc_meqs.php : set_min_mdl($region3_dialect,$log,$log_verbose,$org_id,$data_table,'ALG_SED_SCR');
./ccamp_calc_meqs.php : set_min_mdl($region3_dialect,$log,$log_verbose,$org_id,$data_table,'AIR_TEMP');
./ccamp_calc_meqs.php : set_min_mdl($region3_dialect,$log,$log_verbose,$org_id,$data_table,'ALGA_CVR');
./ccamp_calc_meqs.php : set_min_mdl($region3_dialect,$log,$log_verbose,$org_id,$data_table,'ALGA_PERI');
./ccamp_calc_meqs.php : set_min_mdl($region3_dialect,$log,$log_verbose,$org_id,$data_table,'ALGA_FILA');
./ccamp_calc_meqs.php : set_min_mdl($region3_dialect,$log,$log_verbose,$org_id,$data_table,'ALGA_MATS');
./ccamp_calc_meqs.php : set_min_mdl($region3_dialect,$log,$log_verbose,$org_id,$data_table,'ATRAZINE');
./ccamp_calc_meqs.php : set_min_mdl($region3_dialect,$log,$log_verbose,$org_id,$data_table,'AFDM_ALGAE');
./ccamp_calc_meqs.php : set_min_mdl($region3_dialect,$log,$log_verbose,$org_id,$data_table,'NNE_REV_QUAL2K_2');
./ccamp_calc_meqs.php : set_min_mdl($region3_dialect,$log,$log_verbose,$org_id,$data_table,'BORON_DIS');
./ccamp_calc_meqs.php : set_min_mdl($region3_dialect,$log,$log_verbose,$org_id,$data_table,'SODIUM');
./ccamp_calc_meqs.php : set_min_mdl($region3_dialect,$log,$log_verbose,$org_id,$data_table,'CHLORIDE');
./ccamp_calc_meqs.php : set_min_mdl($region3_dialect,$log,$log_verbose,$org_id,$data_table,'SULFATE');
./ccamp_calc_meqs.php : set_min_mdl($region3_dialect,$log,$log_verbose,$org_id,$data_table,'B_CSCI');
./ccamp_calc_meqs.php : set_min_mdl($region3_dialect,$log,$log_verbose,$org_id,$data_table,'CHLORA');
./ccamp_calc_meqs.php : set_min_mdl($region3_dialect,$log,$log_verbose,$org_id,$data_table,'CLAY98');
./ccamp_calc_meqs.php : set_min_mdl($region3_dialect,$log,$log_verbose,$org_id,$data_table,'CLAY39195');
./ccamp_calc_meqs.php : set_min_mdl($region3_dialect,$log,$log_verbose,$org_id,$data_table,'CLAY98195');
./ccamp_calc_meqs.php : set_min_mdl($region3_dialect,$log,$log_verbose,$org_id,$data_table,'CRAM_BLC');
./ccamp_calc_meqs.php : set_min_mdl($region3_dialect,$log,$log_verbose,$org_id,$data_table,'CRAM_HYDRO');
./ccamp_calc_meqs.php : set_min_mdl($region3_dialect,$log,$log_verbose,$org_id,$data_table,'CRAM_PHYS');
./ccamp_calc_meqs.php : set_min_mdl($region3_dialect,$log,$log_verbose,$org_id,$data_table,'B_EPTINDEX');
./ccamp_calc_meqs.php : set_min_mdl($region3_dialect,$log,$log_verbose,$org_id,$data_table,'B_NEEPPTI_NI');
./ccamp_calc_meqs.php : set_min_mdl($region3_dialect,$log,$log_verbose,$org_id,$data_table,'B_ETTAXA_SP');
./ccamp_calc_meqs.php : set_min_mdl($region3_dialect,$log,$log_verbose,$org_id,$data_table,'FLOW');
./ccamp_calc_meqs.php : set_min_mdl($region3_dialect,$log,$log_verbose,$org_id,$data_table,'GRAN24');
./ccamp_calc_meqs.php : set_min_mdl($region3_dialect,$log,$log_verbose,$org_id,$data_table,'B_NIINNTET_NT');
./ccamp_calc_meqs.php : set_min_mdl($region3_dialect,$log,$log_verbose,$org_id,$data_table,'B_NIINNTI_NI');
./ccamp_calc_meqs.php : set_min_mdl($region3_dialect,$log,$log_verbose,$org_id,$data_table,'B_NIINNTT_NT');
./ccamp_calc_meqs.php : set_min_mdl($region3_dialect,$log,$log_verbose,$org_id,$data_table,'NNE_REV_QUAL2K');
./ccamp_calc_meqs.php : set_min_mdl($region3_dialect,$log,$log_verbose,$org_id,$data_table,'NNE_STD_QUAL2K');
./ccamp_calc_meqs.php : set_min_mdl($region3_dialect,$log,$log_verbose,$org_id,$data_table,'NNE_STD_QUAL2K_2');
./ccamp_calc_meqs.php : set_min_mdl($region3_dialect,$log,$log_verbose,$org_id,$data_table,'NNE_REV_QUAL2K_ADJ');
./ccamp_calc_meqs.php : set_min_mdl($region3_dialect,$log,$log_verbose,$org_id,$data_table,'NNE_REV_QUAL2K_ADJ_2');
./ccamp_calc_meqs.php : set_min_mdl($region3_dialect,$log,$log_verbose,$org_id,$data_table,'NNE_DODDS_MAX97');
./ccamp_calc_meqs.php : set_min_mdl($region3_dialect,$log,$log_verbose,$org_id,$data_table,'NNE_DODDS_MAX97_02');
./ccamp_calc_meqs.php : set_min_mdl($region3_dialect,$log,$log_verbose,$org_id,$data_table,'NNE_DODDS_MAX02');
./ccamp_calc_meqs.php : set_min_mdl($region3_dialect,$log,$log_verbose,$org_id,$data_table,'NNE_DODDS_MAX02_2');
./ccamp_calc_meqs.php : set_min_mdl($region3_dialect,$log,$log_verbose,$org_id,$data_table,'NNE_DODDS_MEAN97');
./ccamp_calc_meqs.php : set_min_mdl($region3_dialect,$log,$log_verbose,$org_id,$data_table,'NNE_DODDS_MEAN97_2');
./ccamp_calc_meqs.php : set_min_mdl($region3_dialect,$log,$log_verbose,$org_id,$data_table,'NNE_DODDS_MEAN02');
./ccamp_calc_meqs.php : set_min_mdl($region3_dialect,$log,$log_verbose,$org_id,$data_table,'NNE_DODDS_MEAN02_2');
./ccamp_calc_meqs.php : set_min_mdl($region3_dialect,$log,$log_verbose,$org_id,$data_table,'B_NOCALIBI');
./ccamp_calc_meqs.php : set_min_mdl($region3_dialect,$log,$log_verbose,$org_id,$data_table,'NNE_DO_DEF');
./ccamp_calc_meqs.php : set_min_mdl($region3_dialect,$log,$log_verbose,$org_id,$data_table,'DO_PPM');
./ccamp_calc_meqs.php : set_min_mdl($region3_dialect,$log,$log_verbose,$org_id,$data_table,'DO_SAT');
./ccamp_calc_meqs.php : set_min_mdl($region3_dialect,$log,$log_verbose,$org_id,$data_table,'PEBBLE48');
./ccamp_calc_meqs.php : set_min_mdl($region3_dialect,$log,$log_verbose,$org_id,$data_table,'PEBBLE816');
./ccamp_calc_meqs.php : set_min_mdl($region3_dialect,$log,$log_verbose,$org_id,$data_table,'B_PDDONTT_SP');
./ccamp_calc_meqs.php : set_min_mdl($region3_dialect,$log,$log_verbose,$org_id,$data_table,'B_PPPRORT_PT');
./ccamp_calc_meqs.php : set_min_mdl($region3_dialect,$log,$log_verbose,$org_id,$data_table,'B_PPPRRS_SP');
./ccamp_calc_meqs.php : set_min_mdl($region3_dialect,$log,$log_verbose,$org_id,$data_table,'B_PTTONTT_PT');
./ccamp_calc_meqs.php : set_min_mdl($region3_dialect,$log,$log_verbose,$org_id,$data_table,'PH');
./ccamp_calc_meqs.php : set_min_mdl($region3_dialect,$log,$log_verbose,$org_id,$data_table,'CSHADE');
./ccamp_calc_meqs.php : set_min_mdl($region3_dialect,$log,$log_verbose,$org_id,$data_table,'IDX_SCORE');
./ccamp_calc_meqs.php : set_min_mdl($region3_dialect,$log,$log_verbose,$org_id,$data_table,'SALINITY');
./ccamp_calc_meqs.php : set_min_mdl($region3_dialect,$log,$log_verbose,$org_id,$data_table,'PSAND');
./ccamp_calc_meqs.php : set_min_mdl($region3_dialect,$log,$log_verbose,$org_id,$data_table,'B_SEEPPTI_SP');
./ccamp_calc_meqs.php : set_min_mdl($region3_dialect,$log,$log_verbose,$org_id,$data_table,'B_NSSEVEEI_NI');
./ccamp_calc_meqs.php : set_min_mdl($region3_dialect,$log,$log_verbose,$org_id,$data_table,'PSILTCLAY');
./ccamp_calc_meqs.php : set_min_mdl($region3_dialect,$log,$log_verbose,$org_id,$data_table,'B_SOCALIBI');
./ccamp_calc_meqs.php : set_min_mdl($region3_dialect,$log,$log_verbose,$org_id,$data_table,'COND_US');
./ccamp_calc_meqs.php : set_min_mdl($region3_dialect,$log,$log_verbose,$org_id,$data_table,'STAGE');
./ccamp_calc_meqs.php : set_min_mdl($region3_dialect,$log,$log_verbose,$org_id,$data_table,'B_TRRISS_SP');
./ccamp_calc_meqs.php : set_min_mdl($region3_dialect,$log,$log_verbose,$org_id,$data_table,'TDS');
./ccamp_calc_meqs.php : set_min_mdl($region3_dialect,$log,$log_verbose,$org_id,$data_table,'TURB_N');
./ccamp_calc_meqs.php : set_min_mdl($region3_dialect,$log,$log_verbose,$org_id,$data_table,'UREA');
./ccamp_calc_meqs.php : set_min_mdl($region3_dialect,$log,$log_verbose,$org_id,$data_table,'PLNT_CVR');
./ccamp_calc_meqs.php : set_min_mdl($region3_dialect,$log,$log_verbose,$org_id,$data_table,'H2O_TEMP');
./ccamp_calc_meqs.php : function set_min_mdl($region3_dialect,$log,$log_verbose,$org_id,$data_table,$ccampid){
./ccamp_calc_meqs.php : $sql="UPDATE ".$data_table." SET Result_val=0.001,MDL=0.001,RL=0.001 WHERE ccampid='".$ccampid."' AND Result_val=0 "; Run_Sql($region3_dialect,$sql); if($log_verbose) log_time($sql);
./ccamp_calc_meqs.php : $sql="UPDATE ".$data_table." SET MDL=Result_val/10,RL=Result_val/10 WHERE ccampid='".$ccampid."' AND MDL=0 "; Run_Sql($region3_dialect,$sql); if($log_verbose) log_time($sql);
./ccamp_calc_meqs.php : function reset_temp_mdls($region3_dialect,$log,$log_verbose,$org_id,$data_table){
./ccamp_calc_meqs.php : reset_min_mdl($region3_dialect,$log,$log_verbose,$org_id,$data_table,'W1_HALL_SWAMP');
./ccamp_calc_meqs.php : reset_min_mdl($region3_dialect,$log,$log_verbose,$org_id,$data_table,'XEMBED');
./ccamp_calc_meqs.php : reset_min_mdl($region3_dialect,$log,$log_verbose,$org_id,$data_table,'XCEMBED');
./ccamp_calc_meqs.php : reset_min_mdl($region3_dialect,$log,$log_verbose,$org_id,$data_table,'XFC_NAT_SWAMP');
./ccamp_calc_meqs.php : reset_min_mdl($region3_dialect,$log,$log_verbose,$org_id,$data_table,'METRIC4_AGNR');
./ccamp_calc_meqs.php : reset_min_mdl($region3_dialect,$log,$log_verbose,$org_id,$data_table,'METRIC_82_HYMOD');
./ccamp_calc_meqs.php : reset_min_mdl($region3_dialect,$log,$log_verbose,$org_id,$data_table,'METRIC8_FINAL');
./ccamp_calc_meqs.php : reset_min_mdl($region3_dialect,$log,$log_verbose,$org_id,$data_table,'METRIC81_HYMOD');
./ccamp_calc_meqs.php : reset_min_mdl($region3_dialect,$log,$log_verbose,$org_id,$data_table,'METRIC7_MHPR');
./ccamp_calc_meqs.php : reset_min_mdl($region3_dialect,$log,$log_verbose,$org_id,$data_table,'METRIC6_RSCVC');
./ccamp_calc_meqs.php : reset_min_mdl($region3_dialect,$log,$log_verbose,$org_id,$data_table,'METRIC5_RVW');
./ccamp_calc_meqs.php : reset_min_mdl($region3_dialect,$log,$log_verbose,$org_id,$data_table,'METRIC1_TRC');
./ccamp_calc_meqs.php : reset_min_mdl($region3_dialect,$log,$log_verbose,$org_id,$data_table,'METRIC3_VCQ');
./ccamp_calc_meqs.php : reset_min_mdl($region3_dialect,$log,$log_verbose,$org_id,$data_table,'METRIC2_VCS');
./ccamp_calc_meqs.php : reset_min_mdl($region3_dialect,$log,$log_verbose,$org_id,$data_table,'ALG_H2O_MMI');
./ccamp_calc_meqs.php : reset_min_mdl($region3_dialect,$log,$log_verbose,$org_id,$data_table,'ALG_HALO');
./ccamp_calc_meqs.php : reset_min_mdl($region3_dialect,$log,$log_verbose,$org_id,$data_table,'ALG_HALO_SCR');
./ccamp_calc_meqs.php : reset_min_mdl($region3_dialect,$log,$log_verbose,$org_id,$data_table,'ALG_CU');
./ccamp_calc_meqs.php : reset_min_mdl($region3_dialect,$log,$log_verbose,$org_id,$data_table,'ALG_CU_SCR');
./ccamp_calc_meqs.php : reset_min_mdl($region3_dialect,$log,$log_verbose,$org_id,$data_table,'ALG_DOC');
./ccamp_calc_meqs.php : reset_min_mdl($region3_dialect,$log,$log_verbose,$org_id,$data_table,'ALG_DOC_SCR');
./ccamp_calc_meqs.php : reset_min_mdl($region3_dialect,$log,$log_verbose,$org_id,$data_table,'ALG_TN');
./ccamp_calc_meqs.php : reset_min_mdl($region3_dialect,$log,$log_verbose,$org_id,$data_table,'ALG_TN_SCR');
./ccamp_calc_meqs.php : reset_min_mdl($region3_dialect,$log,$log_verbose,$org_id,$data_table,'ALG_TP');
./ccamp_calc_meqs.php : reset_min_mdl($region3_dialect,$log,$log_verbose,$org_id,$data_table,'ALG_TP_SCR');
./ccamp_calc_meqs.php : reset_min_mdl($region3_dialect,$log,$log_verbose,$org_id,$data_table,'ALG_N');
./ccamp_calc_meqs.php : reset_min_mdl($region3_dialect,$log,$log_verbose,$org_id,$data_table,'ALG_N_SCR');
./ccamp_calc_meqs.php : reset_min_mdl($region3_dialect,$log,$log_verbose,$org_id,$data_table,'ALG_50_DO');
./ccamp_calc_meqs.php : reset_min_mdl($region3_dialect,$log,$log_verbose,$org_id,$data_table,'ALG_50_DO_SCR');
./ccamp_calc_meqs.php : reset_min_mdl($region3_dialect,$log,$log_verbose,$org_id,$data_table,'ALG_SED');
./ccamp_calc_meqs.php : reset_min_mdl($region3_dialect,$log,$log_verbose,$org_id,$data_table,'ALG_SED_SCR');
./ccamp_calc_meqs.php : reset_min_mdl($region3_dialect,$log,$log_verbose,$org_id,$data_table,'AIR_TEMP');
./ccamp_calc_meqs.php : reset_min_mdl($region3_dialect,$log,$log_verbose,$org_id,$data_table,'ALGA_CVR');
./ccamp_calc_meqs.php : reset_min_mdl($region3_dialect,$log,$log_verbose,$org_id,$data_table,'ALGA_PERI');
./ccamp_calc_meqs.php : reset_min_mdl($region3_dialect,$log,$log_verbose,$org_id,$data_table,'ALGA_FILA');
./ccamp_calc_meqs.php : reset_min_mdl($region3_dialect,$log,$log_verbose,$org_id,$data_table,'ALGA_MATS');
./ccamp_calc_meqs.php : reset_min_mdl($region3_dialect,$log,$log_verbose,$org_id,$data_table,'ATRAZINE');
./ccamp_calc_meqs.php : reset_min_mdl($region3_dialect,$log,$log_verbose,$org_id,$data_table,'AFDM_ALGAE');
./ccamp_calc_meqs.php : reset_min_mdl($region3_dialect,$log,$log_verbose,$org_id,$data_table,'NNE_REV_QUAL2K_2');
./ccamp_calc_meqs.php : reset_min_mdl($region3_dialect,$log,$log_verbose,$org_id,$data_table,'BORON_DIS');
./ccamp_calc_meqs.php : reset_min_mdl($region3_dialect,$log,$log_verbose,$org_id,$data_table,'SODIUM');
./ccamp_calc_meqs.php : reset_min_mdl($region3_dialect,$log,$log_verbose,$org_id,$data_table,'CHLORIDE');
./ccamp_calc_meqs.php : reset_min_mdl($region3_dialect,$log,$log_verbose,$org_id,$data_table,'SULFATE');
./ccamp_calc_meqs.php : reset_min_mdl($region3_dialect,$log,$log_verbose,$org_id,$data_table,'B_CSCI');
./ccamp_calc_meqs.php : reset_min_mdl($region3_dialect,$log,$log_verbose,$org_id,$data_table,'CHLORA');
./ccamp_calc_meqs.php : reset_min_mdl($region3_dialect,$log,$log_verbose,$org_id,$data_table,'CLAY98');
./ccamp_calc_meqs.php : reset_min_mdl($region3_dialect,$log,$log_verbose,$org_id,$data_table,'CLAY39195');
./ccamp_calc_meqs.php : reset_min_mdl($region3_dialect,$log,$log_verbose,$org_id,$data_table,'CLAY98195');
./ccamp_calc_meqs.php : reset_min_mdl($region3_dialect,$log,$log_verbose,$org_id,$data_table,'CRAM_BLC');
./ccamp_calc_meqs.php : reset_min_mdl($region3_dialect,$log,$log_verbose,$org_id,$data_table,'CRAM_HYDRO');
./ccamp_calc_meqs.php : reset_min_mdl($region3_dialect,$log,$log_verbose,$org_id,$data_table,'CRAM_PHYS');
./ccamp_calc_meqs.php : reset_min_mdl($region3_dialect,$log,$log_verbose,$org_id,$data_table,'B_EPTINDEX');
./ccamp_calc_meqs.php : reset_min_mdl($region3_dialect,$log,$log_verbose,$org_id,$data_table,'B_NEEPPTI_NI');
./ccamp_calc_meqs.php : reset_min_mdl($region3_dialect,$log,$log_verbose,$org_id,$data_table,'B_ETTAXA_SP');
./ccamp_calc_meqs.php : reset_min_mdl($region3_dialect,$log,$log_verbose,$org_id,$data_table,'FLOW');
./ccamp_calc_meqs.php : reset_min_mdl($region3_dialect,$log,$log_verbose,$org_id,$data_table,'GRAN24');
./ccamp_calc_meqs.php : reset_min_mdl($region3_dialect,$log,$log_verbose,$org_id,$data_table,'B_NIINNTET_NT');
./ccamp_calc_meqs.php : reset_min_mdl($region3_dialect,$log,$log_verbose,$org_id,$data_table,'B_NIINNTI_NI');
./ccamp_calc_meqs.php : reset_min_mdl($region3_dialect,$log,$log_verbose,$org_id,$data_table,'B_NIINNTT_NT');
./ccamp_calc_meqs.php : reset_min_mdl($region3_dialect,$log,$log_verbose,$org_id,$data_table,'NNE_REV_QUAL2K');
./ccamp_calc_meqs.php : reset_min_mdl($region3_dialect,$log,$log_verbose,$org_id,$data_table,'NNE_STD_QUAL2K');
./ccamp_calc_meqs.php : reset_min_mdl($region3_dialect,$log,$log_verbose,$org_id,$data_table,'NNE_STD_QUAL2K_2');
./ccamp_calc_meqs.php : reset_min_mdl($region3_dialect,$log,$log_verbose,$org_id,$data_table,'NNE_REV_QUAL2K_ADJ');
./ccamp_calc_meqs.php : reset_min_mdl($region3_dialect,$log,$log_verbose,$org_id,$data_table,'NNE_REV_QUAL2K_ADJ_2');
./ccamp_calc_meqs.php : reset_min_mdl($region3_dialect,$log,$log_verbose,$org_id,$data_table,'NNE_DODDS_MAX97');
./ccamp_calc_meqs.php : reset_min_mdl($region3_dialect,$log,$log_verbose,$org_id,$data_table,'NNE_DODDS_MAX97_02');
./ccamp_calc_meqs.php : reset_min_mdl($region3_dialect,$log,$log_verbose,$org_id,$data_table,'NNE_DODDS_MAX02');
./ccamp_calc_meqs.php : reset_min_mdl($region3_dialect,$log,$log_verbose,$org_id,$data_table,'NNE_DODDS_MAX02_2');
./ccamp_calc_meqs.php : reset_min_mdl($region3_dialect,$log,$log_verbose,$org_id,$data_table,'NNE_DODDS_MEAN97');
./ccamp_calc_meqs.php : reset_min_mdl($region3_dialect,$log,$log_verbose,$org_id,$data_table,'NNE_DODDS_MEAN97_2');
./ccamp_calc_meqs.php : reset_min_mdl($region3_dialect,$log,$log_verbose,$org_id,$data_table,'NNE_DODDS_MEAN02');
./ccamp_calc_meqs.php : reset_min_mdl($region3_dialect,$log,$log_verbose,$org_id,$data_table,'NNE_DODDS_MEAN02_2');
./ccamp_calc_meqs.php : reset_min_mdl($region3_dialect,$log,$log_verbose,$org_id,$data_table,'B_NOCALIBI');
./ccamp_calc_meqs.php : reset_min_mdl($region3_dialect,$log,$log_verbose,$org_id,$data_table,'NNE_DO_DEF');
./ccamp_calc_meqs.php : reset_min_mdl($region3_dialect,$log,$log_verbose,$org_id,$data_table,'DO_PPM');
./ccamp_calc_meqs.php : reset_min_mdl($region3_dialect,$log,$log_verbose,$org_id,$data_table,'DO_SAT');
./ccamp_calc_meqs.php : reset_min_mdl($region3_dialect,$log,$log_verbose,$org_id,$data_table,'PEBBLE48');
./ccamp_calc_meqs.php : reset_min_mdl($region3_dialect,$log,$log_verbose,$org_id,$data_table,'PEBBLE816');
./ccamp_calc_meqs.php : reset_min_mdl($region3_dialect,$log,$log_verbose,$org_id,$data_table,'B_PDDONTT_SP');
./ccamp_calc_meqs.php : reset_min_mdl($region3_dialect,$log,$log_verbose,$org_id,$data_table,'B_PPPRORT_PT');
./ccamp_calc_meqs.php : reset_min_mdl($region3_dialect,$log,$log_verbose,$org_id,$data_table,'B_PPPRRS_SP');
./ccamp_calc_meqs.php : reset_min_mdl($region3_dialect,$log,$log_verbose,$org_id,$data_table,'B_PTTONTT_PT');
./ccamp_calc_meqs.php : reset_min_mdl($region3_dialect,$log,$log_verbose,$org_id,$data_table,'PH');
./ccamp_calc_meqs.php : reset_min_mdl($region3_dialect,$log,$log_verbose,$org_id,$data_table,'CSHADE');
./ccamp_calc_meqs.php : reset_min_mdl($region3_dialect,$log,$log_verbose,$org_id,$data_table,'IDX_SCORE');
./ccamp_calc_meqs.php : reset_min_mdl($region3_dialect,$log,$log_verbose,$org_id,$data_table,'SALINITY');
./ccamp_calc_meqs.php : reset_min_mdl($region3_dialect,$log,$log_verbose,$org_id,$data_table,'PSAND');
./ccamp_calc_meqs.php : reset_min_mdl($region3_dialect,$log,$log_verbose,$org_id,$data_table,'B_SEEPPTI_SP');
./ccamp_calc_meqs.php : reset_min_mdl($region3_dialect,$log,$log_verbose,$org_id,$data_table,'B_NSSEVEEI_NI');
./ccamp_calc_meqs.php : reset_min_mdl($region3_dialect,$log,$log_verbose,$org_id,$data_table,'PSILTCLAY');
./ccamp_calc_meqs.php : reset_min_mdl($region3_dialect,$log,$log_verbose,$org_id,$data_table,'B_SOCALIBI');
./ccamp_calc_meqs.php : reset_min_mdl($region3_dialect,$log,$log_verbose,$org_id,$data_table,'COND_US');
./ccamp_calc_meqs.php : reset_min_mdl($region3_dialect,$log,$log_verbose,$org_id,$data_table,'STAGE');
./ccamp_calc_meqs.php : reset_min_mdl($region3_dialect,$log,$log_verbose,$org_id,$data_table,'B_TRRISS_SP');
./ccamp_calc_meqs.php : reset_min_mdl($region3_dialect,$log,$log_verbose,$org_id,$data_table,'TDS');
./ccamp_calc_meqs.php : reset_min_mdl($region3_dialect,$log,$log_verbose,$org_id,$data_table,'TURB_N');
./ccamp_calc_meqs.php : reset_min_mdl($region3_dialect,$log,$log_verbose,$org_id,$data_table,'UREA');
./ccamp_calc_meqs.php : reset_min_mdl($region3_dialect,$log,$log_verbose,$org_id,$data_table,'PLNT_CVR');
./ccamp_calc_meqs.php : reset_min_mdl($region3_dialect,$log,$log_verbose,$org_id,$data_table,'H2O_TEMP');
./ccamp_calc_meqs.php : function reset_min_mdl($region3_dialect,$log,$log_verbose,$org_id,$data_table,$ccampid){
./ccamp_calc_meqs.php : $sql="UPDATE ".$data_table." SET Result_val=0.0,MDL=0.001,RL=0.001 WHERE ccampid='".$ccampid."' AND Result_val=0.001 AND MDL=0.001 AND RL=0.001"; Run_Sql($region3_dialect,$sql); if($log_verbose) log_time($sql);
./ccamp_calc_meqs.php : function count_non_detects($region3_dialect,$log,$verbose_output,$org_id,$web_data_table,$wqa_table){
./ccamp_calc_meqs.php : $sql=" DROP TABLE IF EXISTS t1 "; Run_Sql($region3_dialect,$sql); if ($verbose_output) log_time($log,$sql);
./ccamp_calc_meqs.php : Run_Sql($region3_dialect,$sql);
./ccamp_calc_meqs.php : Run_Sql($region3_dialect,$sql); if ($verbose_output) log_time($log,$sql);
./ccamp_calc_meqs.php : function tag_analytes($region3_dialect,$log,$verbose_output,$wqa_table){
./ccamp_calc_meqs.php : $result=Run_Sql($region3_dialect,$sql); #log_time($sql);
./ccamp_calc_meqs.php : while ($data=sql_fetch_assoc($region3_dialect,$result)){
./ccamp_calc_meqs.php : Run_Sql($region3_dialect,$sql); #log_time($sql);
./ccamp_process_orgs.php : $region3_conn=sql_connect($region3_dialect,$region3_server,$region3_port,$region3_uid,$region3_pwd,$region3_database);
./ccamp_process_orgs.php : $region3_db=sql_select_db($region3_dialect,$region3_server,$region3_port,$region3_uid,$region3_pwd,$region3_conn,$region3_database);
./ccamp_process_orgs.php : if($cmd=='process') view_org_cmd_list($region3_dialect,$log_verbose);
./ccamp_process_orgs.php : if($cmd=='listjobs') view_job_list($region3_dialect,$log_verbose);
./ccamp_process_orgs.php : sql_close($region3_dialect,$region3_conn);
./ccamp_process_orgs.php : function view_org_cmd_list($region3_dialect,$log_verbose){
./ccamp_process_orgs.php : $result=Run_Sql($region3_dialect,$sql); if($log_verbose) echo $sql.'br';
./ccamp_process_orgs.php : while ($data=sql_fetch_assoc($region3_dialect,$result)){
./ccamp_process_orgs.php : function view_job_list($region3_dialect,$log_verbose){
./ccamp_process_orgs.php : $result=Run_Sql($region3_dialect,$sql);
./ccamp_process_orgs.php : while ($data=sql_fetch_assoc($region3_dialect,$result)){
./ccamp_update_indices.php : $region3_conn=sql_connect($region3_dialect,$region3_server,$region3_port,$region3_uid,$region3_pwd,$region3_database);
./ccamp_update_indices.php : $region3_db=sql_select_db($region3_dialect,$region3_server,$region3_port,$region3_uid,$region3_pwd,$region3_conn,$region3_database);
./ccamp_update_indices.php : if(0==1) table_backup_restore($region3_dialect,$log,$verbose_output,'backup','rb3_master_data');
./ccamp_update_indices.php : if(0==1) table_backup_restore($region3_dialect,$log,$verbose_output,'restore','rb3_master_data2016_apr_14_14_22_07');
./ccamp_update_indices.php : $index="Index_Aquatic_Life"; merge_index($region3_dialect,$log,$verbose_output,$org_id,$wqa_table,$index);
./ccamp_update_indices.php : $index="Index_Human_Health"; merge_index($region3_dialect,$log,$verbose_output,$org_id,$wqa_table,$index);
./ccamp_update_indices.php : $index="Index_Wildlife"; merge_index($region3_dialect,$log,$verbose_output,$org_id,$wqa_table,$index);
./ccamp_update_indices.php : $index="Index_WQ_Aquatic_Life"; merge_index($region3_dialect,$log,$verbose_output,$org_id,$wqa_table,$index);
./ccamp_update_indices.php : $index="Index_WQ_Human_Health"; merge_index($region3_dialect,$log,$verbose_output,$org_id,$wqa_table,$index);
./ccamp_update_indices.php : $index="Index_Salts_Human_Health"; merge_index($region3_dialect,$log,$verbose_output,$org_id,$wqa_table,$index);
./ccamp_update_indices.php : $index="Index_Pathogens"; merge_index($region3_dialect,$log,$verbose_output,$org_id,$wqa_table,$index);
./ccamp_update_indices.php : $index="Index_Biostim_Risk"; merge_index($region3_dialect,$log,$verbose_output,$org_id,$wqa_table,$index);
./ccamp_update_indices.php : $index="Index_Toxicity_H2o"; merge_index($region3_dialect,$log,$verbose_output,$org_id,$wqa_table,$index);
./ccamp_update_indices.php : $index="Index_Toxicity_Sed"; merge_index($region3_dialect,$log,$verbose_output,$org_id,$wqa_table,$index);
./ccamp_update_indices.php : $index="Index_Met_Human_Health"; merge_index($region3_dialect,$log,$verbose_output,$org_id,$wqa_table,$index);
./ccamp_update_indices.php : $index="Index_Org_Human_Health"; merge_index($region3_dialect,$log,$verbose_output,$org_id,$wqa_table,$index);
./ccamp_update_indices.php : $index="Index_Pah_Human_Health"; merge_index($region3_dialect,$log,$verbose_output,$org_id,$wqa_table,$index);
./ccamp_update_indices.php : $index="Index_Met_Aquatic_Life_Sed"; merge_index($region3_dialect,$log,$verbose_output,$org_id,$wqa_table,$index);
./ccamp_update_indices.php : $index="Index_Met_Aquatic_Life_H2o"; merge_index($region3_dialect,$log,$verbose_output,$org_id,$wqa_table,$index);
./ccamp_update_indices.php : $index="Index_Org_Aquatic_Life_H2o"; merge_index($region3_dialect,$log,$verbose_output,$org_id,$wqa_table,$index);
./ccamp_update_indices.php : $index="Index_Org_Aquatic_Life_Sed"; merge_index($region3_dialect,$log,$verbose_output,$org_id,$wqa_table,$index);
./ccamp_update_indices.php : $index="Index_Pah_Aquatic_Life_H2o"; merge_index($region3_dialect,$log,$verbose_output,$org_id,$wqa_table,$index);
./ccamp_update_indices.php : $index="Index_Pah_Aquatic_Life_Sed"; merge_index($region3_dialect,$log,$verbose_output,$org_id,$wqa_table,$index);
./ccamp_update_indices.php : $index="Index_BMI"; merge_index($region3_dialect,$log,$verbose_output,$org_id,$wqa_table,$index);
./ccamp_update_indices.php : $index="Index_Habitat"; merge_index($region3_dialect,$log,$verbose_output,$org_id,$wqa_table,$index);
./ccamp_update_indices.php : $index="Index_Riparian"; merge_index($region3_dialect,$log,$verbose_output,$org_id,$wqa_table,$index);
./ccamp_update_indices.php : $index="Index_WQ_Groundwater"; merge_index($region3_dialect,$log,$verbose_output,$org_id,$wqa_table,$index);
./ccamp_update_indices.php : $index="Index_CWA_303"; merge_index($region3_dialect,$log,$verbose_output,$org_id,$wqa_table,$index);
./ccamp_update_indices.php : $index="Index_otter"; merge_index($region3_dialect,$log,$verbose_output,$org_id,$wqa_table,$index);
./ccamp_update_indices.php : $index="Index_goby"; merge_index($region3_dialect,$log,$verbose_output,$org_id,$wqa_table,$index);
./ccamp_update_indices.php : $index="Index_steelhead"; merge_index($region3_dialect,$log,$verbose_output,$org_id,$wqa_table,$index);
./ccamp_update_indices.php : $index="Index_land_cover"; merge_index($region3_dialect,$log,$verbose_output,$org_id,$wqa_table,$index);
./ccamp_update_indices.php : $index="Index_pesticide_use"; merge_index($region3_dialect,$log,$verbose_output,$org_id,$wqa_table,$index);
./ccamp_update_indices.php : $index="index_generic"; merge_index($region3_dialect,$log,$verbose_output,$org_id,$wqa_table,$index);
./ccamp_update_indices.php : sql_close($region3_dialect,$region3_conn);
./ccamp_update_indices.php : function merge_ca_catch_huc12($region3_dialect,$log,$verbose_output,$org_id,$src_table,$dst_table){
./ccamp_update_indices.php : $result=Run_Sql($region3_dialect,$sql); if ($verbose_output) log_time($log,$sql);
./ccamp_update_indices.php : $row_count=sql_num_rows($region3_dialect,$result);
./ccamp_update_indices.php : while ($data=sql_fetch_assoc($region3_dialect,$result))
./ccamp_update_indices.php : $result1=Run_Sql($region3_dialect,$sql); if ($verbose_output) log_time($log,$sql);
./ccamp_update_indices.php : function merge_index($region3_dialect,$log,$verbose_output,$org_id,$wqa_table,$index){
./ccamp_update_indices.php : $result=Run_Sql($region3_dialect,$sql); if ($verbose_output) log_time($log,$sql);
./ccamp_update_indices.php : $row_count=sql_num_rows($region3_dialect,$result);
./ccamp_update_indices.php : while ($data=sql_fetch_assoc($region3_dialect,$result))
./ccamp_update_indices.php : $result1=Run_Sql($region3_dialect,$sql); if ($verbose_output) log_time($log,$sql);
./ccamp_update_indices.php : function merge_cadmus_ws_health($region3_dialect,$log,$verbose_output,$org_id){
./ccamp_update_indices.php : $result=Run_Sql($region3_dialect,$sql); if ($verbose_output) log_time($log,$sql);
./ccamp_update_indices.php : $row_count=sql_num_rows($region3_dialect,$result);
./ccamp_update_indices.php : while ($data=sql_fetch_assoc($region3_dialect,$result))
./ccamp_update_indices.php : $result1=Run_Sql($region3_dialect,$sql); if ($verbose_output) log_time($log,$sql);
./ccamp_update_indices.php : $result1=Run_Sql($region3_dialect,$sql); if ($verbose_output) log_time($log,$sql);
./ccamp_update_indices.php : $result1=Run_Sql($region3_dialect,$sql); if ($verbose_output) log_time($log,$sql);
./ccamp_update_indices.php : function merge_huc_12_rpi($region3_dialect,$log,$verbose_output,$org_id){
./ccamp_update_indices.php : $result=Run_Sql($region3_dialect,$sql); if ($verbose_output) log_time($log,$sql);
./ccamp_update_indices.php : $row_count=sql_num_rows($region3_dialect,$result);
./ccamp_update_indices.php : while ($data=sql_fetch_assoc($region3_dialect,$result))
./ccamp_update_indices.php : $result1=Run_Sql($region3_dialect,$sql); if ($verbose_output) log_time($log,$sql);
./ccamp_update_indices.php : $result1=Run_Sql($region3_dialect,$sql); if ($verbose_output) log_time($log,$sql);
./ccamp_update_indices.php : $result1=Run_Sql($region3_dialect,$sql); if ($verbose_output) log_time($log,$sql);
./ccamp_update_indices.php : $result1=Run_Sql($region3_dialect,$sql); if ($verbose_output) log_time($log,$sql);
./ccamp_update_tables.php : $region3_conn=sql_connect($region3_dialect,$region3_server,$region3_port,$region3_uid,$region3_pwd,$region3_database);
./ccamp_update_tables.php : $region3_db=sql_select_db($region3_dialect,$region3_server,$region3_port,$region3_uid,$region3_pwd,$region3_conn,$region3_database);
./ccamp_update_tables.php : dwe_2_ccamp($region3_dialect,$log,$verbose_output); # using dwe_dn_3 as primary source
./ccamp_update_tables.php : create_dwe_master($region3_dialect,$log,$verbose_output);
./ccamp_update_tables.php : create_stat_data_table($region3_dialect,$log,$verbose_output,$org_id,$master_data_table,$stat_data_table,$site_table);
./ccamp_update_tables.php : create_web_data($region3_dialect,$log,$verbose_output,$stat_data_table,$web_data_table,$site_table);
./ccamp_update_tables.php : add_loads_to_web_data_table($region3_dialect,$log,$verbose_output,$org_id,$analyte_table,$master_data_table,$stat_data_table,$web_data_table);
./ccamp_update_tables.php : set_min_loads($region3_dialect,$log,$verbose_output,$web_data_table);
./ccamp_update_tables.php : set_hardness($region3_dialect,$log,$verbose_output,$analyte_table,$web_data_table);
./ccamp_update_tables.php : create_wqa_data($region3_dialect,$log,$verbose_output,$org_id,$web_data_table,$wqa_table,$analyte_table,$site_table);
./ccamp_update_tables.php : fixhus($region3_dialect,$log,$org_id);
./ccamp_update_tables.php : set_extents($region3_dialect,$log,$verbose_output,$org_id,$wqa_table);
./ccamp_update_tables.php : fixhus($region3_dialect,$log,$org_id);
./ccamp_update_tables.php : set_extents($region3_dialect,$log,$verbose_output,$org_id,$wqa_table);
./ccamp_update_tables.php : set_site_names($region3_dialect,$log,$verbose_output,$wqa_table);
./ccamp_update_tables.php : calc_usage($region3_dialect,$log,$verbose_output,$org_id,$site_table,$analyte_table,$stat_data_table);
./ccamp_update_tables.php : set_mpsl_table($region3_dialect,$log,$verbose_output,$master_data_table);
./ccamp_update_tables.php : $sql=" UPDATE ".$master_data_table." SET created_dt=NOW(),modified_dt=NOW() "; Run_Sql($region3_dialect,$sql); if($verbose_output) log_sql($log,$txt);
./ccamp_update_tables.php : updatetables($region3_dialect,$log,$verbose_output,$org_id);
./ccamp_update_tables.php : sql_close($region3_dialect,$region3_conn);
./ccamp_update_tables.php : function updatetables($region3_dialect,$log,$verbose_output,$org_id)
./ccamp_update_tables.php : create_master_data_table($region3_dialect,$log,$verbose_output,$org_id,$raw_data_table,$master_data_table,$site_table);
./ccamp_update_tables.php : create_stat_data_table($region3_dialect,$log,$verbose_output,$org_id,$master_data_table,$stat_data_table,$site_table);
./ccamp_update_tables.php : create_web_data($region3_dialect,$log,$verbose_output,$stat_data_table,$web_data_table,$site_table);
./ccamp_update_tables.php : function create_master_data_table($region3_dialect,$log,$verbose_output,$org_id,$raw_data_table,$master_data_table,$site_table){
./ccamp_update_tables.php : reset_site_nums($region3_dialect,$site_table);
./ccamp_update_tables.php : $sql="DROP TABLE IF EXISTS ceden.". $data_table; $result=Run_Sql($region3_dialect,$sql); if ($verbose_output) log_time($log,$sql);
./ccamp_update_tables.php : $sql="CREATE TABLE ceden.".$data_table." LIKE ceden.raw_data "; $result=Run_Sql($region3_dialect,$sql); if ($verbose_output) log_time($log,$sql);
./ccamp_update_tables.php : $sql=" INSERT INTO ceden.".$data_table." SELECT * FROM ceden.".$raw_data_table; $result=Run_Sql($region3_dialect,$sql); if ($verbose_output) log_time($log,$sql);
./ccamp_update_tables.php : Run_Sql($region3_dialect,$sql); if ($verbose_output) log_time($log,$sql);
./ccamp_update_tables.php : Run_Sql($region3_dialect,$sql); if ($verbose_output) log_time($log,$sql);
./ccamp_update_tables.php : set_chr_group($region3_dialect,$verbose_output,$src_table);
./ccamp_update_tables.php : reset_id_keys($region3_dialect,$log,$verbose_output,$data_table);
./ccamp_update_tables.php : set_gis_info($region3_dialect,$log,$verbose_output,$site_table,$data_table);
./ccamp_update_tables.php : set_fractions($region3_dialect,$log,$verbose_output,$org_id,$data_table);
./ccamp_update_tables.php : crosswalk($region3_dialect,$log,$verbose_output,$org_id,$site_table,$data_table);
./ccamp_update_tables.php : patch_0($region3_dialect,$log,$verbose_output,$org_id,$data_table);
./ccamp_update_tables.php : $sql=" UPDATE ".$data_table." SET MDL=CONCAT(MDL,'0') WHERE RIGHT(MDL,1)='.' "; $result=Run_Sql($region3_dialect,$sql); if($verbose_output) log_sql($log,$txt);
./ccamp_update_tables.php : $sql=" UPDATE ".$data_table." SET Result=CONCAT(Result,'0') WHERE RIGHT(Result,1)='.' "; $result=Run_Sql($region3_dialect,$sql); if($verbose_output) log_sql($log,$txt);
./ccamp_update_tables.php : $sql=" UPDATE ".$data_table." SET MDL=CONCAT(MDL,'0') WHERE RIGHT(MDL,1)='.' "; $result=Run_Sql($region3_dialect,$sql); if($verbose_output) log_sql($log,$txt);
./ccamp_update_tables.php : $sql=" UPDATE ".$data_table." SET Result=CONCAT(Result,'0') WHERE RIGHT(Result,1)='.' "; $result=Run_Sql($region3_dialect,$sql); if($verbose_output) log_sql($log,$txt);
./ccamp_update_tables.php : $sql="UPDATE ".$data_table." SET result_val=MDL WHERE result_val=0 AND UPPER(ResultQualCode)='ND' AND MDL0 "; Run_Sql($region3_dialect,$sql); if ($verbose_output) log_time($log,$sql);
./ccamp_update_tables.php : $sql="UPDATE ".$data_table." SET result_val=MDL WHERE result_val=-88 AND UPPER(ResultQualCode)='ND' AND MDL0 "; Run_Sql($region3_dialect,$sql); if ($verbose_output) log_time($log,$sql);
./ccamp_update_tables.php : $sql="UPDATE ".$data_table." SET result_val=MDL WHERE result_val IS NULL AND UPPER(ResultQualCode)='ND' AND MDL0 "; Run_Sql($region3_dialect,$sql); if ($verbose_output) log_time($log,$sql);
./ccamp_update_tables.php : $sql="UPDATE ".$data_table." SET Result=Result_val WHERE Result 0 "; Run_Sql($region3_dialect,$sql); if ($verbose_output) log_time($log,$sql);
./ccamp_update_tables.php : set_fractions($region3_dialect,$log,$verbose_output,$org_id,$data_table); #yes twice
./ccamp_update_tables.php : analytename_2_ccampid($region3_dialect,$log,$verbose_output,$org_id,$data_table);
./ccamp_update_tables.php : ccampid_2_empty_analytename($region3_dialect,$log,$verbose_output,$org_id,$data_table);
./ccamp_update_tables.php : set_units($region3_dialect,$log,$verbose_output,$data_table);
./ccamp_update_tables.php : reset_id_keys($region3_dialect,$log,$verbose_output,$data_table);
./ccamp_update_tables.php : combine_tox($region3_dialect,$log,$verbose_output,$org_id,$data_table);
./ccamp_update_tables.php : impute_mdls($region3_dialect,$log,$verbose_output,$data_table);
./ccamp_update_tables.php : flatten_datetimes($region3_dialect,$log,$verbose_output,$data_table);
./ccamp_update_tables.php : set_resqualcode($region3_dialect,$log,$verbose_output,$data_table); ## DEC 19 2015
./ccamp_update_tables.php : dec_01_repairs($region3_dialect,$log,$verbose_output,$org_id,$data_table);
./ccamp_update_tables.php : set_resqualcode($region3_dialect,$log,$verbose_output,$data_table);
./ccamp_update_tables.php : fix_flow($region3_dialect,$log,$verbose_output,$master_data_table);
./ccamp_update_tables.php : $sql=" UPDATE ".$data_table." SET ResultQualCode='=' WHERE ResultQualCode='EQ' "; $result=Run_Sql($region3_dialect,$sql); if($verbose_output) log_time($log,$sql);
./ccamp_update_tables.php : $sql=" DELETE FROM ". $data_table. " WHERE ccampid='H2O_TEMP' AND YEAR(SampleDate)=2011 AND RIGHT(CollectionDeviceName,4)='HOBO' "; $result=Run_Sql($region3_dialect,$sql); if ($verbose_output) log_time($log,$sql);
./ccamp_update_tables.php : $sql=" UPDATE ".$data_table." SET chr_group='Org' WHERE ccampid='CHRYSENED12_S' "; $result=Run_Sql($region3_dialect,$sql); if($verbose_output) log_sql($log,$txt);
./ccamp_update_tables.php : $sql=" UPDATE ".$data_table." SET LabReplicate=1 WHERE SampleTypeCode='bmimetric' AND LabReplicate IS NULL "; $result=Run_Sql($region3_dialect,$sql); if($verbose_output) log_sql($log,$txt);
./ccamp_update_tables.php : $sql=" UPDATE ".$data_table." SET SampleTypeCode='labdup' WHERE RIGHT(LabSampleID,6)='LabDup' "; Run_Sql($region3_dialect,$sql); if($verbose_output) log_sql($log,$txt);
./ccamp_update_tables.php : $sql=" UPDATE ".$data_table." SET SampleTypeCode='labdup' WHERE RIGHT(LabSampleID,3)='_LD' "; Run_Sql($region3_dialect,$sql); if($verbose_output) log_sql($log,$txt);
./ccamp_update_tables.php : $sql=" UPDATE ".$data_table." SET SampleTypeCode='labdup' WHERE SampleTypeCode='dup' AND SampleReplicate=1 AND LabReplicate=2 "; Run_Sql($region3_dialect,$sql); if($verbose_output) log_sql($log,$txt);
./ccamp_update_tables.php : $sql=" UPDATE ".$data_table." SET SampleTypeCode='labdup',LabReplicate=2 WHERE SampleTypeCode='dup' AND SampleReplicate=1 AND LabReplicate=1 "; Run_Sql($region3_dialect,$sql); if($verbose_output) log_sql($log,$txt);
./ccamp_update_tables.php : $sql=" UPDATE ".$data_table." SET SampleTypeCode='labdup' WHERE SampleTypeCode='dup' AND SampleReplicate=2 AND LabReplicate=2 AND ccampid='NH3_N' "; Run_Sql($region3_dialect,$sql); if($verbose_output) log_sql($log,$txt);
./ccamp_update_tables.php : $sql=" UPDATE ".$data_table." SET SampleTypeCode='labdup' WHERE SampleTypeCode='dup' AND SampleReplicate=2 AND LabReplicate=2 AND ccampid='NO3NO2_N' "; Run_Sql($region3_dialect,$sql); if($verbose_output) log_sql($log,$txt);
./ccamp_update_tables.php : $sql=" UPDATE ".$data_table." SET SampleTypeCode='labdup' WHERE SampleTypeCode='dup' AND SampleReplicate=2 AND LabReplicate=2 AND ccampid='OP_P' "; Run_Sql($region3_dialect,$sql); if($verbose_output) log_sql($log,$txt);
./ccamp_update_tables.php : $sql=" UPDATE ".$data_table." SET SampleTypeCode='fieldbldup' WHERE SampleTypeCode='dup' AND SampleReplicate=2 AND LabReplicate=1 "; Run_Sql($region3_dialect,$sql); if($verbose_output) log_sql($log,$txt);
./ccamp_update_tables.php : $sql=" UPDATE ".$data_table." SET SampleTypeCode='fieldbldup' WHERE SampleTypeCode='dup' AND SampleReplicate=3 AND LabReplicate=1 "; Run_Sql($region3_dialect,$sql); if($verbose_output) log_sql($log,$txt);
./ccamp_update_tables.php : $sql=" UPDATE ".$data_table." SET SampleReplicate=2 WHERE SampleTypeCode='fieldbldup' "; $result=Run_Sql($region3_dialect,$sql); if($verbose_output) log_sql($log,$txt);
./ccamp_update_tables.php : $sql=" UPDATE ".$data_table." SET SampleReplicate=2 WHERE SampleTypeCode='fielddup' "; $result=Run_Sql($region3_dialect,$sql); if($verbose_output) log_sql($log,$txt);
./ccamp_update_tables.php : $sql=" UPDATE ".$data_table." SET SampleReplicate=2 WHERE SampleTypeCode='fieldmeasdup' "; $result=Run_Sql($region3_dialect,$sql); if($verbose_output) log_sql($log,$txt);
./ccamp_update_tables.php : $sql=" UPDATE ".$data_table." SET CollectionMethodCode='Field_Method' WHERE SampleTypeCode='fieldbldup' "; $result=Run_Sql($region3_dialect,$sql); if($verbose_output) log_sql($log,$txt);
./ccamp_update_tables.php : $sql=" UPDATE ".$data_table." SET CollectionMethodCode='Field_Method' WHERE SampleTypeCode='fielddup' "; $result=Run_Sql($region3_dialect,$sql); if($verbose_output) log_sql($log,$txt);
./ccamp_update_tables.php : $sql=" UPDATE ".$data_table." SET CollectionMethodCode='Field_Method' WHERE SampleTypeCode='fieldmeasdup' "; $result=Run_Sql($region3_dialect,$sql); if($verbose_output) log_sql($log,$txt);
./ccamp_update_tables.php : $sql=" UPDATE ".$data_table." SET CollectionMethodCode='Field_Method' WHERE SampleTypeCode='fieldmeasure' "; $result=Run_Sql($region3_dialect,$sql); if($verbose_output) log_sql($log,$txt);
./ccamp_update_tables.php : $sql=" UPDATE ".$data_table." SET CollectionMethodCode='Field_Method' WHERE CollectionMethodCode='Field' "; $result=Run_Sql($region3_dialect,$sql); if($verbose_output) log_sql($log,$txt);
./ccamp_update_tables.php : $sql=" UPDATE ".$data_table." SET CollectionMethodCode='Water_Grab' WHERE CollectionMethodCode='Water Grab'"; $result=Run_Sql($region3_dialect,$sql); if($verbose_output) log_sql($log,$txt);
./ccamp_update_tables.php : $sql=" UPDATE ".$data_table." SET CollectionMethodCode='Not Applicable' WHERE SampleTypeCode='exblank' "; $result=Run_Sql($region3_dialect,$sql); if($verbose_output) log_sql($log,$txt);
./ccamp_update_tables.php : $sql=" UPDATE ".$data_table." SET CollectionMethodCode='Not Applicable' WHERE SampleTypeCode='fieldblank' "; $result=Run_Sql($region3_dialect,$sql); if($verbose_output) log_sql($log,$txt);
./ccamp_update_tables.php : $sql=" UPDATE ".$data_table." SET CollectionMethodCode='Not Applicable' WHERE SampleTypeCode='cneg' "; $result=Run_Sql($region3_dialect,$sql); if($verbose_output) log_sql($log,$txt);
./ccamp_update_tables.php : $sql=" UPDATE ".$data_table." SET CollectionMethodCode='Not Applicable' WHERE SampleTypeCode='qaneg' "; $result=Run_Sql($region3_dialect,$sql); if($verbose_output) log_sql($log,$txt);
./ccamp_update_tables.php : $sql=" UPDATE ".$data_table." SET CollectionMethodCode='Not Applicable' WHERE SampleTypeCode='lcm' "; $result=Run_Sql($region3_dialect,$sql); if($verbose_output) log_sql($log,$txt);
./ccamp_update_tables.php : $sql=" UPDATE ".$data_table." SET CollectionMethodCode='Not Applicable' WHERE SampleTypeCode='ccv' "; $result=Run_Sql($region3_dialect,$sql); if($verbose_output) log_sql($log,$txt);
./ccamp_update_tables.php : $sql=" UPDATE ".$data_table." SET CollectionMethodCode='Not Applicable' WHERE SampleTypeCode='cnsl' "; $result=Run_Sql($region3_dialect,$sql); if($verbose_output) log_sql($log,$txt);
./ccamp_update_tables.php : $sql=" UPDATE ".$data_table." SET CollectionMethodCode='Not Applicable' WHERE SampleTypeCode='iblank' "; $result=Run_Sql($region3_dialect,$sql); if($verbose_output) log_sql($log,$txt);
./ccamp_update_tables.php : $sql=" UPDATE ".$data_table." SET CollectionMethodCode='Not Applicable' WHERE SampleTypeCode='icv' "; $result=Run_Sql($region3_dialect,$sql); if($verbose_output) log_sql($log,$txt);
./ccamp_update_tables.php : $sql=" UPDATE ".$data_table." SET CollectionMethodCode='Not Applicable' WHERE SampleTypeCode='labblank' "; $result=Run_Sql($region3_dialect,$sql); if($verbose_output) log_sql($log,$txt);
./ccamp_update_tables.php : $sql=" UPDATE ".$data_table." SET CollectionMethodCode='Not Applicable' WHERE SampleTypeCode='labdup' "; $result=Run_Sql($region3_dialect,$sql); if($verbose_output) log_sql($log,$txt);
./ccamp_update_tables.php : $sql=" UPDATE ".$data_table." SET CollectionMethodCode='Not Applicable' WHERE SampleTypeCode='lcs' "; $result=Run_Sql($region3_dialect,$sql); if($verbose_output) log_sql($log,$txt);
./ccamp_update_tables.php : $sql=" UPDATE ".$data_table." SET CollectionMethodCode='Not Applicable' WHERE SampleTypeCode='ms' "; $result=Run_Sql($region3_dialect,$sql); if($verbose_output) log_sql($log,$txt);
./ccamp_update_tables.php : $sql=" UPDATE ".$data_table." SET CollectionMethodCode='Not Applicable' WHERE SampleTypeCode='msd' "; $result=Run_Sql($region3_dialect,$sql); if($verbose_output) log_sql($log,$txt);
./ccamp_update_tables.php : $sql=" UPDATE ".$data_table." SET CollectionMethodCode='Not Applicable' WHERE SampleTypeCode='msrpd' "; $result=Run_Sql($region3_dialect,$sql); if($verbose_output) log_sql($log,$txt);
./ccamp_update_tables.php : $sql=" UPDATE ".$data_table." SET CollectionMethodCode='Not Applicable' WHERE SampleTypeCode='calculated' "; $result=Run_Sql($region3_dialect,$sql); if($verbose_output) log_sql($log,$txt);
./ccamp_update_tables.php : $sql=" UPDATE ".$data_table." SET CollectionMethodCode='Not Applicable' WHERE SampleTypeCode='bmimetric' "; $result=Run_Sql($region3_dialect,$sql); if($verbose_output) log_sql($log,$txt);
./ccamp_update_tables.php : $sql=" UPDATE ".$data_table." SET FieldCollectionReplicate=SampleReplicate "; $result=Run_Sql($region3_dialect,$sql); if($verbose_output) log_sql($log,$txt);
./ccamp_update_tables.php : $sql=" UPDATE ".$data_table." SET prog_id='rwb3_ccamp' WHERE prog_id='ccamp' "; $result=Run_Sql($region3_dialect,$sql); if($verbose_output) log_sql($log,$txt);
./ccamp_update_tables.php : $sql=" UPDATE ".$data_table." SET proj_id='rwb3_salinas' WHERE proj_id='salinas' "; $result=Run_Sql($region3_dialect,$sql); if($verbose_output) log_sql($log,$txt);
./ccamp_update_tables.php : $sql=" UPDATE ".$data_table." SET proj_id='rwb3_santamaria' WHERE proj_id='santamaria' "; $result=Run_Sql($region3_dialect,$sql); if($verbose_output) log_time($log,$sql);
./ccamp_update_tables.php : $sql=" UPDATE ".$data_table." SET proj_id='rwb3_cmp' WHERE proj_id='rwb3_ccwqp' "; $result=Run_Sql($region3_dialect,$sql); if($verbose_output) log_time($log,$sql);
./ccamp_update_tables.php : $sql=" DELETE FROM ". $data_table. " WHERE MethodName='Calculated' "; $result=Run_Sql($region3_dialect,$sql); if ($verbose_output) log_time($log,$sql);
./ccamp_update_tables.php : $sql=" UPDATE ".$data_table." SET DilFactor=-88 WHERE DilFactor IS NULL "; Run_Sql($region3_dialect,$sql); if($verbose_output) log_time($log,$sql);
./ccamp_update_tables.php : $sql=" UPDATE ".$data_table." SET DilFactor=-88 WHERE DilFactor=0 "; Run_Sql($region3_dialect,$sql); if($verbose_output) log_time($log,$sql);
./ccamp_update_tables.php : $sql=" UPDATE ".$data_table." SET SampleTime=CONCAT('1901-01-01',' ','12:00') WHERE SampleTime IS NULL AND chr_group='Bmi' "; Run_sql($region3_dialect,$sql); if ($verbose_output) log_time($log,$sql);
./ccamp_update_tables.php : $sql=" UPDATE ".$data_table." SET SampleTime=CONCAT('1901-01-01',' ','12:00') WHERE SampleTime IS NULL AND chr_group='nne' "; Run_sql($region3_dialect,$sql); if ($verbose_output) log_time($log,$sql);
./ccamp_update_tables.php : fix_ampm_times($region3_dialect,$log,$verbose_output,$data_table);
./ccamp_update_tables.php : $sql=" UPDATE ".$data_table." SET methodname='CCAMP_Calc_NNE' WHERE methodname='nne_calculation' "; Run_Sql($region3_dialect,$sql); if($verbose_output) log_sql($log,$txt);
./ccamp_update_tables.php : $sql=" UPDATE ".$data_table." SET methodname='CCAMP_Calc_Sums' WHERE methodname='CCAMP_SOP_Calculation_Summed_Analytes' AND ccampid='CHLDENE'"; Run_Sql($region3_dialect,$sql); if($verbose_output) log_sql($log,$txt);
./ccamp_update_tables.php : $sql=" UPDATE ".$data_table." SET methodname='CCAMP_Calc_Sums' WHERE methodname='CCAMP_SOP_Calculation_Summed_Analytes' AND ccampid='DDD'"; Run_Sql($region3_dialect,$sql); if($verbose_output) log_sql($log,$txt);
./ccamp_update_tables.php : $sql=" UPDATE ".$data_table." SET methodname='CCAMP_Calc_Sums' WHERE methodname='CCAMP_SOP_Calculation_Summed_Analytes' AND ccampid='DDE'"; Run_Sql($region3_dialect,$sql); if($verbose_output) log_sql($log,$txt);
./ccamp_update_tables.php : $sql=" UPDATE ".$data_table." SET methodname='CCAMP_Calc_Sums' WHERE methodname='CCAMP_SOP_Calculation_Summed_Analytes' AND ccampid='DDT'"; Run_Sql($region3_dialect,$sql); if($verbose_output) log_sql($log,$txt);
./ccamp_update_tables.php : $sql=" UPDATE ".$data_table." SET methodname='CCAMP_Calc_Sums' WHERE methodname='CCAMP_SOP_Calculation_Summed_Analytes' AND ccampid='DDT_TOT'"; Run_Sql($region3_dialect,$sql); if($verbose_output) log_sql($log,$txt);
./ccamp_update_tables.php : $sql=" UPDATE ".$data_table." SET methodname='CCAMP_Calc_Sums' WHERE methodname='CCAMP_SOP_Calculation_Summed_Analytes' AND ccampid='PERMETHRIN'"; Run_Sql($region3_dialect,$sql); if($verbose_output) log_sql($log,$txt);
./ccamp_update_tables.php : $sql=" UPDATE ".$data_table." SET methodname='CCAMP_Calc_Sums' WHERE methodname='CCAMP_SOP_Calculation_Summed_Analytes' AND ccampid='TVS'"; Run_Sql($region3_dialect,$sql); if($verbose_output) log_sql($log,$txt);
./ccamp_update_tables.php : $sql=" UPDATE ".$data_table." SET methodname='CCAMP_Calc_Sums' WHERE methodname='CCAMP_SOP_Calculation_Summed_Analytes' AND ccampid='NO3NO2_N'"; Run_Sql($region3_dialect,$sql); if($verbose_output) log_sql($log,$txt);
./ccamp_update_tables.php : $sql=" UPDATE ".$data_table." SET methodname='CCAMP_Calc_Sums' WHERE methodname='CCAMP_SOP_Calculation_Summed_Analytes' AND ccampid='N_N'"; Run_Sql($region3_dialect,$sql); if($verbose_output) log_sql($log,$txt);
./ccamp_update_tables.php : $sql=" UPDATE ".$data_table." SET methodname='CCAMP_algal_obs' WHERE ccampid='ALGA_PERI' AND org_id='ccamp' "; Run_Sql($region3_dialect,$sql); if($verbose_output) log_sql($log,$txt);
./ccamp_update_tables.php : $sql=" UPDATE ".$data_table." SET methodname='CCAMP_algal_obs' WHERE ccampid='ALGA_MATS' AND org_id='ccamp' "; Run_Sql($region3_dialect,$sql); if($verbose_output) log_sql($log,$txt);
./ccamp_update_tables.php : $sql=" UPDATE ".$data_table." SET methodname='CCAMP_algal_obs' WHERE ccampid='ALGA_FILA' AND org_id='ccamp' "; Run_Sql($region3_dialect,$sql); if($verbose_output) log_sql($log,$txt);
./ccamp_update_tables.php : $sql=" UPDATE ".$data_table." SET methodname='CCAMP_algal_obs' WHERE methodname='CCAMP_SOP_Field_Methods_algal_obs' "; Run_Sql($region3_dialect,$sql); if($verbose_output) log_sql($log,$txt);
./ccamp_update_tables.php : $sql=" UPDATE ".$data_table." SET methodname='CCAMP_Calc_NH3U_N' WHERE ccampid='NH3U_N' "; Run_Sql($region3_dialect,$sql); if($verbose_output) log_sql($log,$txt);
./ccamp_update_tables.php : $sql=" UPDATE ".$data_table." SET methodname='CCAMP_Calc_NNE' WHERE methodname='CCAMP_SOP_Calculation_NNE'"; Run_Sql($region3_dialect,$sql); if($verbose_output) log_sql($log,$txt);
./ccamp_update_tables.php : $sql=" UPDATE ".$data_table." SET LabBatch='CCAMP_Calc_Sums' WHERE MethodName='CCAMP_Calc_Sums' "; Run_Sql($region3_dialect,$sql); if($verbose_output) log_time($log,$sql);
./ccamp_update_tables.php : $sql=" UPDATE ".$data_table." SET LabBatch='CCAMP_SOP_Calc_NH3U_N' WHERE MethodName='CCAMP_SOP_Calc_NH3U_N' "; Run_Sql($region3_dialect,$sql); if($verbose_output) log_time($log,$sql);
./ccamp_update_tables.php : $sql=" UPDATE ".$data_table." SET Lab='RWQCB3' WHERE MethodName='CCAMP_Calc_Sums' "; Run_Sql($region3_dialect,$sql); if($verbose_output) log_time($log,$sql);
./ccamp_update_tables.php : $sql=" UPDATE ".$data_table." SET Lab='RWQCB3' WHERE MethodName='CCAMP_SOP_Calc_NH3U_N' "; Run_Sql($region3_dialect,$sql); if($verbose_output) log_time($log,$sql);
./ccamp_update_tables.php : $sql=" UPDATE ".$data_table." SET AgencyCode='RWQCB3' WHERE MethodName='CCAMP_Calc_Sums' "; Run_Sql($region3_dialect,$sql); if($verbose_output) log_time($log,$sql);
./ccamp_update_tables.php : $sql=" UPDATE ".$data_table." SET AgencyCode='RWQCB3' WHERE MethodName='CCAMP_SOP_Calc_NH3U_N' "; Run_Sql($region3_dialect,$sql); if($verbose_output) log_time($log,$sql);
./ccamp_update_tables.php : $sql=" UPDATE ".$data_table." SET Result=ROUND(Result_val,6) WHERE MethodName='CCAMP_Calc_NH3U_N' "; Run_Sql($region3_dialect,$sql); if($verbose_output) log_time($log,$sql);
./ccamp_update_tables.php : $sql=" UPDATE ".$data_table." SET Result_val=ROUND(Result,6) WHERE MethodName='CCAMP_Calc_NH3U_N' "; Run_Sql($region3_dialect,$sql); if($verbose_output) log_time($log,$sql);
./ccamp_update_tables.php : $sql=" UPDATE ".$data_table." SET prog_id='rwb3_nne' WHERE prog_id='nne' "; Run_Sql($region3_dialect,$sql); if($verbose_output) log_sql($log,$txt);
./ccamp_update_tables.php : $sql=" UPDATE ".$data_table." SET methodname='CCAMP_Calc_Sums' WHERE methodname='CCAMP_SOP_Calculation_Summed_Analytes' AND ccampid='CHLDENE'"; Run_Sql($region3_dialect,$sql); if($verbose_output) log_sql($log,$txt);
./ccamp_update_tables.php : $sql=" UPDATE ".$data_table." SET prog_id='rwb3_ccamp' WHERE proj_id='rwb3_santamaria_2014' "; Run_Sql($region3_dialect,$sql); if($verbose_output) log_sql($log,$txt);
./ccamp_update_tables.php : $sql=" UPDATE ".$data_table." SET methodname='CCAMP_Calc_Sums' WHERE methodname='CCAMP_SOP_Calculation_Summed_Analytes' AND ccampid='CHLDENE'"; Run_Sql($region3_dialect,$sql); if($verbose_output) log_sql($log,$txt);
./ccamp_update_tables.php : $sql=" UPDATE ".$data_table." SET proj_id='rwb3_santamaria' WHERE proj_id='rwb3_santamaria_2014' "; Run_Sql($region3_dialect,$sql); if($verbose_output) log_sql($log,$txt);
./ccamp_update_tables.php : $sql=" UPDATE ".$data_table." SET methodname='CCAMP_Calc_Sums' WHERE methodname='CCAMP_SOP_Calculation_Summed_Analytes' AND ccampid='CHLDENE'"; Run_Sql($region3_dialect,$sql); if($verbose_output) log_sql($log,$txt);
./ccamp_update_tables.php : $sql=" UPDATE ".$data_table." SET prog_id='rwb3_ccamp' WHERE proj_id='rwb3_lakes' "; Run_Sql($region3_dialect,$sql); if($verbose_output) log_sql($log,$txt);
./ccamp_update_tables.php : $sql=" UPDATE ".$data_table." SET methodname='CCAMP_Calc_Sums' WHERE methodname='CCAMP_SOP_Calculation_Summed_Analytes' AND ccampid='CHLDENE'"; Run_Sql($region3_dialect,$sql); if($verbose_output) log_sql($log,$txt);
./ccamp_update_tables.php : $sql=" UPDATE ".$data_table." SET prog_id='swb_cmap' WHERE proj_id='swb_cmap' "; Run_Sql($region3_dialect,$sql); if($verbose_output) log_sql($log,$txt);
./ccamp_update_tables.php : $sql=" UPDATE ".$data_table." SET methodname='CCAMP_Calc_Sums' WHERE methodname='CCAMP_SOP_Calculation_Summed_Analytes' AND ccampid='CHLDENE'"; Run_Sql($region3_dialect,$sql); if($verbose_output) log_sql($log,$txt);
./ccamp_update_tables.php : $sql=" UPDATE ".$data_table." SET prog_id='swb_fishcst' WHERE proj_id='swb_fishcst' "; Run_Sql($region3_dialect,$sql); if($verbose_output) log_sql($log,$txt);
./ccamp_update_tables.php : $sql=" UPDATE ".$data_table." SET methodname='CCAMP_Calc_Sums' WHERE methodname='CCAMP_SOP_Calculation_Summed_Analytes' AND ccampid='CHLDENE'"; Run_Sql($region3_dialect,$sql); if($verbose_output) log_sql($log,$txt);
./ccamp_update_tables.php : $sql=" UPDATE ".$data_table." SET prog_id='swb_sedtmdl' WHERE proj_id='swb_sedtmdl' "; Run_Sql($region3_dialect,$sql); if($verbose_output) log_sql($log,$txt);
./ccamp_update_tables.php : $sql=" UPDATE ".$data_table." SET methodname='CCAMP_Calc_Sums' WHERE methodname='CCAMP_SOP_Calculation_Summed_Analytes' AND ccampid='CHLDENE'"; Run_Sql($region3_dialect,$sql); if($verbose_output) log_sql($log,$txt);
./ccamp_update_tables.php : $sql=" UPDATE ".$data_table." SET prog_id='swb_wildlk' WHERE proj_id='swb_wildlk' "; Run_Sql($region3_dialect,$sql); if($verbose_output) log_sql($log,$txt);
./ccamp_update_tables.php : $sql=" UPDATE ".$data_table." SET methodname='CCAMP_Calc_Sums' WHERE methodname='CCAMP_SOP_Calculation_Summed_Analytes' AND ccampid='CHLDENE'"; Run_Sql($region3_dialect,$sql); if($verbose_output) log_sql($log,$txt);
./ccamp_update_tables.php : $sql=" UPDATE ".$data_table." SET prog_id='rwb3_ssosfl' WHERE proj_id='rwb3_ssosfl_2011' "; Run_Sql($region3_dialect,$sql); if($verbose_output) log_sql($log,$txt);
./ccamp_update_tables.php : $sql=" UPDATE ".$data_table." SET methodname='CCAMP_Calc_Sums' WHERE methodname='CCAMP_SOP_Calculation_Summed_Analytes' AND ccampid='CHLDENE'"; Run_Sql($region3_dialect,$sql); if($verbose_output) log_sql($log,$txt);
./ccamp_update_tables.php : $sql=" UPDATE ".$data_table." SET proj_id='rwb3_bmi' WHERE proj_id='ccamp' AND SampleTypeCode='bmimetric' "; Run_Sql($region3_dialect,$sql); if($verbose_output) log_sql($log,$txt);
./ccamp_update_tables.php : $sql=" UPDATE ".$data_table." SET methodname='CCAMP_Calc_Sums' WHERE methodname='CCAMP_SOP_Calculation_Summed_Analytes' AND ccampid='CHLDENE'"; Run_Sql($region3_dialect,$sql); if($verbose_output) log_sql($log,$txt);
./ccamp_update_tables.php : $sql=" UPDATE ".$data_table." SET CollectionDepth=-88,UnitCollectionDepth='None' WHERE proj_id='nne' "; Run_Sql($region3_dialect,$sql); if($verbose_output) log_sql($log,$txt);
./ccamp_update_tables.php : $sql=" UPDATE ".$data_table." SET methodname='CCAMP_Calc_Sums' WHERE methodname='CCAMP_SOP_Calculation_Summed_Analytes' AND ccampid='CHLDENE'"; Run_Sql($region3_dialect,$sql); if($verbose_output) log_sql($log,$txt);
./ccamp_update_tables.php : $sql=" UPDATE ".$data_table." SET CollectionDepth=-88,UnitCollectionDepth='None' WHERE proj_id='nne' "; Run_Sql($region3_dialect,$sql); if($verbose_output) log_sql($log,$txt);
./ccamp_update_tables.php : $sql=" UPDATE ".$data_table." SET methodname='CCAMP_Calc_Sums' WHERE methodname='CCAMP_SOP_Calculation_Summed_Analytes' AND ccampid='CHLDENE'"; Run_Sql($region3_dialect,$sql); if($verbose_output) log_sql($log,$txt);
./ccamp_update_tables.php : $sql=" UPDATE ".$data_table." SET Result=-88,Result_val=-88,QAcomments='Calculation Failure' WHERE user_id='nne_robot' AND Result IS NULL "; Run_Sql($region3_dialect,$sql); if($verbose_output) log_sql($log,$txt);
./ccamp_update_tables.php : $sql=" UPDATE ".$data_table." SET methodname='CCAMP_Calc_Sums' WHERE methodname='CCAMP_SOP_Calculation_Summed_Analytes' AND ccampid='CHLDENE'"; Run_Sql($region3_dialect,$sql); if($verbose_output) log_sql($log,$txt);
./ccamp_update_tables.php : $sql=" UPDATE ".$data_table." SET Result=-88,Result_val=-88,QAcomments='Dry Site' WHERE QACode='FDS' AND Result IS NULL AND QAcomments IS NULL "; Run_Sql($region3_dialect,$sql); if($verbose_output) log_sql($log,$txt);
./ccamp_update_tables.php : $sql=" UPDATE ".$data_table." SET methodname='CCAMP_Calc_Sums' WHERE methodname='CCAMP_SOP_Calculation_Summed_Analytes' AND ccampid='CHLDENE'"; Run_Sql($region3_dialect,$sql); if($verbose_output) log_sql($log,$txt);
./ccamp_update_tables.php : $sql=" UPDATE ".$data_table." SET Result=-88,Result_val=-88,QAcomments='Site inaccessable' WHERE QACode='FIA' AND Result IS NULL AND QAcomments IS NULL "; Run_Sql($region3_dialect,$sql); if($verbose_output) log_sql($log,$txt);
./ccamp_update_tables.php : $sql=" UPDATE ".$data_table." SET methodname='CCAMP_Calc_Sums' WHERE methodname='CCAMP_SOP_Calculation_Summed_Analytes' AND ccampid='CHLDENE'"; Run_Sql($region3_dialect,$sql); if($verbose_output) log_sql($log,$txt);
./ccamp_update_tables.php : $sql=" UPDATE ".$data_table." SET Result=-88,Result_val=-88,QAcomments='Test result rejected' WHERE user_id='r3_tox_recalc' AND QACode='R' AND Result IS NULL AND QAcomments IS NULL "; Run_Sql($region3_dialect,$sql); if($verbose_output) log_sql($log,$txt);
./ccamp_update_tables.php : $sql=" UPDATE ".$data_table." SET methodname='CCAMP_Calc_Sums' WHERE methodname='CCAMP_SOP_Calculation_Summed_Analytes' AND ccampid='CHLDENE'"; Run_Sql($region3_dialect,$sql); if($verbose_output) log_sql($log,$txt);
./ccamp_update_tables.php : $sql=" UPDATE ".$data_table." SET Result=-88,Result_val=-88 WHERE user_id='r3_tox_recalc' AND QACode='R' AND Result IS NULL "; Run_Sql($region3_dialect,$sql); if($verbose_output) log_sql($log,$txt);
./ccamp_update_tables.php : $sql=" UPDATE ".$data_table." SET methodname='CCAMP_Calc_Sums' WHERE methodname='CCAMP_SOP_Calculation_Summed_Analytes' AND ccampid='CHLDENE'"; Run_Sql($region3_dialect,$sql); if($verbose_output) log_sql($log,$txt);
./ccamp_update_tables.php : fix_ccampid_times($region3_dialect,$log,$verbose_output,$data_table,'UREA');
./ccamp_update_tables.php : fix_ccampid_times($region3_dialect,$log,$verbose_output,$data_table,'TSS');
./ccamp_update_tables.php : fix_ccampid_times($region3_dialect,$log,$verbose_output,$data_table,'FLOW');
./ccamp_update_tables.php : fix_ccampid_times($region3_dialect,$log,$verbose_output,$data_table,'AIR_TEMP');
./ccamp_update_tables.php : fix_ccampid_times($region3_dialect,$log,$verbose_output,$data_table,'NH3_N');
./ccamp_update_tables.php : fix_ccampid_times($region3_dialect,$log,$verbose_output,$data_table,'NO3NO2_N');
./ccamp_update_tables.php : fix_ccampid_times($region3_dialect,$log,$verbose_output,$data_table,'OP_P');
./ccamp_update_tables.php : fix_ccampid_times($region3_dialect,$log,$verbose_output,$data_table,'COND_US');
./ccamp_update_tables.php : fix_ccampid_times($region3_dialect,$log,$verbose_output,$data_table,'DO_PPM');
./ccamp_update_tables.php : fix_ccampid_times($region3_dialect,$log,$verbose_output,$data_table,'H2O_TEMP');
./ccamp_update_tables.php : fix_ccampid_times($region3_dialect,$log,$verbose_output,$data_table,'PH');
./ccamp_update_tables.php : fix_ccampid_times($region3_dialect,$log,$verbose_output,$data_table,'SALINITY');
./ccamp_update_tables.php : fix_ccampid_times($region3_dialect,$log,$verbose_output,$data_table,'TURB_N');
./ccamp_update_tables.php : fix_ccampid_times($region3_dialect,$log,$verbose_output,$data_table,'CHLORA');
./ccamp_update_tables.php : fix_ccampid_times($region3_dialect,$log,$verbose_output,$data_table,'NH3U_N');
./ccamp_update_tables.php : fix_ccampid_times($region3_dialect,$log,$verbose_output,$data_table,'N_N');
./ccamp_update_tables.php : fix_ccampid_times($region3_dialect,$log,$verbose_output,$data_table,'ALGA_MATS');
./ccamp_update_tables.php : fix_ccampid_times($region3_dialect,$log,$verbose_output,$data_table,'ALGA_PERI');
./ccamp_update_tables.php : fix_ccampid_times($region3_dialect,$log,$verbose_output,$data_table,'BORON_DIS');
./ccamp_update_tables.php : fix_ccampid_times($region3_dialect,$log,$verbose_output,$data_table,'CA_DIS');
./ccamp_update_tables.php : fix_ccampid_times($region3_dialect,$log,$verbose_output,$data_table,'CHLORIDE');
./ccamp_update_tables.php : fix_ccampid_times($region3_dialect,$log,$verbose_output,$data_table,'DO_SAT');
./ccamp_update_tables.php : fix_ccampid_times($region3_dialect,$log,$verbose_output,$data_table,'FTDS');
./ccamp_update_tables.php : fix_ccampid_times($region3_dialect,$log,$verbose_output,$data_table,'FTSS');
./ccamp_update_tables.php : fix_ccampid_times($region3_dialect,$log,$verbose_output,$data_table,'HARD');
./ccamp_update_tables.php : fix_ccampid_times($region3_dialect,$log,$verbose_output,$data_table,'MG');
./ccamp_update_tables.php : fix_ccampid_times($region3_dialect,$log,$verbose_output,$data_table,'NO2_N');
./ccamp_update_tables.php : fix_ccampid_times($region3_dialect,$log,$verbose_output,$data_table,'NO3_N');
./ccamp_update_tables.php : fix_ccampid_times($region3_dialect,$log,$verbose_output,$data_table,'P_P');
./ccamp_update_tables.php : fix_ccampid_times($region3_dialect,$log,$verbose_output,$data_table,'SODIUM');
./ccamp_update_tables.php : fix_ccampid_times($region3_dialect,$log,$verbose_output,$data_table,'TDS');
./ccamp_update_tables.php : fix_ccampid_times($region3_dialect,$log,$verbose_output,$data_table,'TKN_N');
./ccamp_update_tables.php : fix_ccampid_times($region3_dialect,$log,$verbose_output,$data_table,'TVS');
./ccamp_update_tables.php : fix_ccampid_times($region3_dialect,$log,$verbose_output,$data_table,'VTDS');
./ccamp_update_tables.php : fix_ccampid_times($region3_dialect,$log,$verbose_output,$data_table,'VTSS');
./ccamp_update_tables.php : fix_ccampid_times($region3_dialect,$log,$verbose_output,$data_table,'CSHADE');
./ccamp_update_tables.php : fix_ccampid_times($region3_dialect,$log,$verbose_output,$data_table,'H2O_DEPTH');
./ccamp_update_tables.php : fix_ccampid_times($region3_dialect,$log,$verbose_output,$data_table,'XWIDTH');
./ccamp_update_tables.php : fix_ccampid_times($region3_dialect,$log,$verbose_output,$data_table,'FCOLI');
./ccamp_update_tables.php : fix_ccampid_times($region3_dialect,$log,$verbose_output,$data_table,'TCOLI');
./ccamp_update_tables.php : $sql=" UPDATE ".$data_table." SET key_1='habitatresults' WHERE ccampid='WATERCOLOR' "; $result=Run_Sql($region3_dialect,$sql); if ($verbose_output) log_time($log,$sql);
./ccamp_update_tables.php : $sql=" UPDATE ".$data_table." SET SampleTypeCode='integrated' WHERE ccampid='PCLAY' "; $result=Run_Sql($region3_dialect,$sql); if ($verbose_output) log_time($log,$sql);
./ccamp_update_tables.php : $sql=" UPDATE ".$data_table." SET SampleTypeCode='integrated' WHERE ccampid='PSILT' "; $result=Run_Sql($region3_dialect,$sql); if ($verbose_output) log_time($log,$sql);
./ccamp_update_tables.php : $sql=" UPDATE ".$data_table." SET SampleTypeCode='integrated' WHERE ccampid='PSOLIDS' "; $result=Run_Sql($region3_dialect,$sql); if ($verbose_output) log_time($log,$sql);
./ccamp_update_tables.php : $sql=" UPDATE ".$data_table." SET SampleTypeCode='integrated' WHERE ccampid='GRAVEL012' "; $result=Run_Sql($region3_dialect,$sql); if ($verbose_output) log_time($log,$sql);
./ccamp_update_tables.php : $sql=" UPDATE ".$data_table." SET SampleTypeCode='fieldobs' WHERE ccampid='ALGA_PERI' "; $result=Run_Sql($region3_dialect,$sql); if ($verbose_output) log_time($log,$sql);
./ccamp_update_tables.php : $sql=" UPDATE ".$data_table." SET SampleTypeCode='integrated' WHERE ccampid='PLUSAND' "; $result=Run_Sql($region3_dialect,$sql); if ($verbose_output) log_time($log,$sql);
./ccamp_update_tables.php : $sql=" UPDATE ".$data_table." SET MethodName='CCAMP_algal_obs' WHERE ccampid='PLNT_CVR' "; $result=Run_Sql($region3_dialect,$sql); if ($verbose_output) log_time($log,$sql);
./ccamp_update_tables.php : delete_some_hab_txt_results($region3_dialect,$log,$verbose_output,$data_table);
./ccamp_update_tables.php : $sql=" UPDATE ".$data_table." SET MethodName='EPA 120.1' WHERE MethodName='EPA-120.1' "; $result=Run_Sql($region3_dialect,$sql); if ($verbose_output) log_time($log,$sql);
./ccamp_update_tables.php : $sql=" UPDATE ".$data_table." SET SampleTypeCode='fieldbldup_split',SampleReplicate=1 WHERE SampleTypeCode='fieldsplit' AND SampleReplicate=3 "; Run_Sql($region3_dialect,$sql); if($verbose_output) log_sql($log,$txt);
./ccamp_update_tables.php : $sql=" UPDATE ".$data_table." SET LabReplicate=1 WHERE (SampletypeCode='fieldbldup' OR SampletypeCode='fieldbldup_split') AND (LabReplicate=0 OR LabReplicate=2) "; Run_Sql($region3_dialect,$sql); if($verbose_output) log_sql($log,$txt);
./ccamp_update_tables.php : $sql=" UPDATE ".$data_table." SET SampleReplicate=1 WHERE (SampletypeCode='fieldsplit' OR SampletypeCode='fieldbldup' OR SampletypeCode='fieldbldup_split') "; Run_Sql($region3_dialect,$sql); if($verbose_output) log_sql($log,$txt);
./ccamp_update_tables.php : $sql=" UPDATE ".$data_table." SET labreplicate=1 WHERE labreplicate=0 AND key_1='chemresults' "; Run_Sql($region3_dialect,$sql); if($verbose_output) log_sql($log,$txt);
./ccamp_update_tables.php : $sql=" UPDATE ".$data_table." SET QAcomments='Missing Collection time set to 12:01' WHERE HOUR(SampleTime)='12' AND MINUTE(SampleTime)='01' AND QAcomments='Missing Collection time was estimated from other analytes'"; Run_Sql($region3_dialect,$sql); if($verbose_output) log_sql($log,$txt);
./ccamp_update_tables.php : $sql=" UPDATE ".$data_table." SET MethodName='SM 2540 C' WHERE MethodName='2540C' "; $result=Run_Sql($region3_dialect,$sql); if ($verbose_output) log_time($log,$sql);
./ccamp_update_tables.php : $sql=" UPDATE ".$data_table." SET MethodName='USGS gage' WHERE MethodName='USGS' AND ccampid='FLOW' AND org_id='ccwqp'"; $result=Run_Sql($region3_dialect,$sql); if ($verbose_output) log_time($log,$sql);
./ccamp_update_tables.php : $sql=" UPDATE ".$data_table." SET MethodName='Velocity Area' WHERE MethodName='none' AND ccampid='FLOW' AND org_id='ccwqp' "; $result=Run_Sql($region3_dialect,$sql); if ($verbose_output) log_time($log,$sql);
./ccamp_update_tables.php : $sql=" UPDATE ".$data_table." SET MethodName='Velocity Area' WHERE MethodName='fieldmeasure' AND ccampid='FLOW' AND org_id='ccwqp' "; $result=Run_Sql($region3_dialect,$sql); if ($verbose_output) log_time($log,$sql);
./ccamp_update_tables.php : $sql=" UPDATE ".$data_table." SET MethodName='Velocity Area' WHERE MethodName='fieldmeasure' AND ccampid='FLOW' AND org_id='rwqcb3' "; $result=Run_Sql($region3_dialect,$sql); if ($verbose_output) log_time($log,$sql);
./ccamp_update_tables.php : $sql=" UPDATE ".$data_table." SET AnalyteName='Discharge' WHERE AnalyteName='Flow, field measurement' "; $result=Run_Sql($region3_dialect,$sql); if ($verbose_output) log_time($log,$sql);
./ccamp_update_tables.php : $sql=" UPDATE ".$data_table." SET Result=ROUND(Result_val,6) WHERE MethodName='CCAMP_Calc_NH3U_N' "; Run_Sql($region3_dialect,$sql); if($verbose_output) log_time($log,$sql);
./ccamp_update_tables.php : $sql=" UPDATE ".$data_table." SET Result_val=ROUND(Result,6) WHERE MethodName='CCAMP_Calc_NH3U_N' "; Run_Sql($region3_dialect,$sql); if($verbose_output) log_time($log,$sql);
./ccamp_update_tables.php : $sql=" UPDATE ".$data_table." SET MDL=ROUND(MDL,6) WHERE MethodName='CCAMP_Calc_NH3U_N' "; Run_Sql($region3_dialect,$sql); if($verbose_output) log_time($log,$sql);
./ccamp_update_tables.php : $sql=" UPDATE ".$data_table." SET RL=ROUND(RL,6) WHERE MethodName='CCAMP_Calc_NH3U_N' "; Run_Sql($region3_dialect,$sql); if($verbose_output) log_time($log,$sql);
./ccamp_update_tables.php : $sql=" UPDATE ".$data_table." SET AgencyCode=NULL WHERE AgencyCode='Field Measured' "; Run_Sql($region3_dialect,$sql); if($verbose_output) log_sql($log,$sql);
./ccamp_update_tables.php : $sql=" UPDATE ".$data_table." SET MethodName='EPA 6010B' WHERE MethodName='EPA-6010B' "; Run_Sql($region3_dialect,$sql); if($verbose_output) log_sql($log,$sql);
./ccamp_update_tables.php : $sql=" UPDATE ".$data_table." SET QACode='none' WHERE QACode IS NULL "; $result=Run_Sql($region3_dialect,$sql); if($verbose_output) log_time($log,$sql);
./ccamp_update_tables.php : $sql=" UPDATE ".$data_table." SET ResultQualCode='=' WHERE ResultQualCode='EQ' "; $result=Run_Sql($region3_dialect,$sql); if($verbose_output) log_time($log,$sql);
./ccamp_update_tables.php : $sql=" UPDATE ".$data_table." SET Result=10 WHERE Result100 AND ccampid='DO_PPM' AND SiteTag='312ORC' "; $result=Run_Sql($region3_dialect,$sql); if($verbose_output) log_sql($log,$txt);
./ccamp_update_tables.php : $sql=" UPDATE ".$data_table." SET Result_val=10 WHERE Result_val100 AND ccampid='DO_PPM' AND SiteTag='312ORC' "; $result=Run_Sql($region3_dialect,$sql); if($verbose_output) log_sql($log,$txt);
./ccamp_update_tables.php : $sql=" UPDATE ".$data_table." SET Result=8 WHERE Result10 AND ccampid='PH' AND SiteTag='310WRP' "; $result=Run_Sql($region3_dialect,$sql); if($verbose_output) log_sql($log,$txt);
./ccamp_update_tables.php : $sql=" UPDATE ".$data_table." SET Result_val=8 WHERE Result_val10 AND ccampid='PH' AND SiteTag='310WRP' "; $result=Run_Sql($region3_dialect,$sql); if($verbose_output) log_sql($log,$txt);
./ccamp_update_tables.php : $sql=" UPDATE ".$data_table." SET CollectionMethodCode='Water_Grab' WHERE matrixname='samplewater' and sampletypecode='grab' "; $result=Run_Sql($region3_dialect,$sql); if($verbose_output) log_sql($log,$txt);
./ccamp_update_tables.php : ccampid_2_empty_analytename($region3_dialect,$log,$verbose_output,$org_id,$data_table);
./ccamp_update_tables.php : $sql=" UPDATE ".$data_table." SET collectionmethodcode='Habitat_Generic' WHERE ccampid='ALGA_MATS' "; $result=Run_Sql($region3_dialect,$sql); if($verbose_output) log_sql($log,$txt);
./ccamp_update_tables.php : $sql=" UPDATE ".$data_table." SET collectionmethodcode='Habitat_Generic' WHERE ccampid='CSHADE' "; $result=Run_Sql($region3_dialect,$sql); if($verbose_output) log_sql($log,$txt);
./ccamp_update_tables.php : $sql=" UPDATE ".$data_table." SET collectionmethodcode='Habitat_Generic' WHERE ccampid='PLNT_CVR' "; $result=Run_Sql($region3_dialect,$sql); if($verbose_output) log_sql($log,$txt);
./ccamp_update_tables.php : $sql=" UPDATE ".$data_table." SET chr_group='Org' WHERE ccampid='BBFA' "; $result=Run_Sql($region3_dialect,$sql); if($verbose_output) log_sql($log,$txt);
./ccamp_update_tables.php : $sql=" UPDATE ".$data_table." SET chr_group='Sed' WHERE ccampid='SAND0510' "; $result=Run_Sql($region3_dialect,$sql); if($verbose_output) log_sql($log,$txt);
./ccamp_update_tables.php : $sql=" UPDATE ".$data_table." SET chr_group='Sed' WHERE ccampid='SAND12525' "; $result=Run_Sql($region3_dialect,$sql); if($verbose_output) log_sql($log,$txt);
./ccamp_update_tables.php : $sql=" UPDATE ".$data_table." SET chr_group='Sed' WHERE ccampid='SAND2505' "; $result=Run_Sql($region3_dialect,$sql); if($verbose_output) log_sql($log,$txt);
./ccamp_update_tables.php : $sql=" UPDATE ".$data_table." SET chr_group='Sed' WHERE ccampid='SAND1020' "; $result=Run_Sql($region3_dialect,$sql); if($verbose_output) log_sql($log,$txt);
./ccamp_update_tables.php : $sql=" UPDATE ".$data_table." SET chr_group='Sed' WHERE ccampid='SAND0625125' "; $result=Run_Sql($region3_dialect,$sql); if($verbose_output) log_sql($log,$txt);
./ccamp_update_tables.php : $sql=" UPDATE ".$data_table." SET chr_group='Sed' WHERE ccampid='SILT0310625' "; $result=Run_Sql($region3_dialect,$sql); if($verbose_output) log_sql($log,$txt);
./ccamp_update_tables.php : $sql=" UPDATE ".$data_table." SET chr_group='Sed' WHERE ccampid='SILT00780156' "; $result=Run_Sql($region3_dialect,$sql); if($verbose_output) log_sql($log,$txt);
./ccamp_update_tables.php : $sql=" UPDATE ".$data_table." SET chr_group='Sed' WHERE ccampid='SILT0156031' "; $result=Run_Sql($region3_dialect,$sql); if($verbose_output) log_sql($log,$txt);
./ccamp_update_tables.php : $sql=" UPDATE ".$data_table." SET chr_group='Sed' WHERE ccampid='SILT00390078' "; $result=Run_Sql($region3_dialect,$sql); if($verbose_output) log_sql($log,$txt);
./ccamp_update_tables.php : $sql=" UPDATE ".$data_table." SET chr_group='Cwq' WHERE ccampid='PTSS' "; $result=Run_Sql($region3_dialect,$sql); if($verbose_output) log_sql($log,$txt);
./ccamp_update_tables.php : $sql=" UPDATE ".$data_table." SET sampletypecode='algae_metric' WHERE matrixname='algae' "; $result=Run_Sql($region3_dialect,$sql); if($verbose_output) log_sql($log,$txt);
./ccamp_update_tables.php : $sql=" UPDATE ".$data_table." SET sampletypecode='bmi_metric' WHERE ccampid='B_CSCI' "; $result=Run_Sql($region3_dialect,$sql); if($verbose_output) log_sql($log,$txt);
./ccamp_update_tables.php : $sql=" UPDATE ".$data_table." SET methodname='Thermometer',sampletypecode='fieldmeasure' WHERE ccampid='AIR_TEMP' "; $result=Run_Sql($region3_dialect,$sql); if($verbose_output) log_sql($log,$txt);
./ccamp_update_tables.php : $sql=" UPDATE ".$data_table." SET matrixname='habitat', methodname='CCAMP_algal_obs', sampletypecode='fieldobs' WHERE ccampid='ALGA_CVR' "; $result=Run_Sql($region3_dialect,$sql); if($verbose_output) log_sql($log,$txt);
./ccamp_update_tables.php : $sql=" UPDATE ".$data_table." SET matrixname='habitat', methodname='CCAMP_algal_obs', sampletypecode='fieldobs' WHERE ccampid='ALGA_PERI' "; $result=Run_Sql($region3_dialect,$sql); if($verbose_output) log_sql($log,$txt);
./ccamp_update_tables.php : $sql=" UPDATE ".$data_table." SET matrixname='habitat', methodname='CCAMP_algal_obs', sampletypecode='fieldobs' WHERE ccampid='ALGA_FILA' "; $result=Run_Sql($region3_dialect,$sql); if($verbose_output) log_sql($log,$txt);
./ccamp_update_tables.php : $sql=" UPDATE ".$data_table." SET matrixname='habitat', methodname='CCAMP_algal_obs', sampletypecode='fieldobs' WHERE ccampid='ALGA_MATS' "; $result=Run_Sql($region3_dialect,$sql); if($verbose_output) log_sql($log,$txt);
./ccamp_update_tables.php : $sql=" UPDATE ".$data_table." SET matrixname='hardware' WHERE ccampid='VOLTS' "; $result=Run_Sql($region3_dialect,$sql); if($verbose_output) log_sql($log,$txt);
./ccamp_update_tables.php : $sql=" UPDATE ".$data_table." SET matrixname='hardware' WHERE ccampid='CBVOLTS' "; $result=Run_Sql($region3_dialect,$sql); if($verbose_output) log_sql($log,$txt);
./ccamp_update_tables.php : $sql=" UPDATE ".$data_table." SET matrixname='none' WHERE chr_group='Bmi' "; $result=Run_Sql($region3_dialect,$sql); if($verbose_output) log_sql($log,$txt);
./ccamp_update_tables.php : $sql=" UPDATE ".$data_table." SET sampletypecode='cram_metric' WHERE chr_group='Cram' "; $result=Run_Sql($region3_dialect,$sql); if($verbose_output) log_sql($log,$txt);
./ccamp_update_tables.php : $sql=" UPDATE ".$data_table." SET sampletypecode='ripram_metric' WHERE chr_group='Rip' "; $result=Run_Sql($region3_dialect,$sql); if($verbose_output) log_sql($log,$txt);
./ccamp_update_tables.php : $sql=" UPDATE ".$data_table." SET resultunit='score' WHERE ccampid='B_ETTAXA_SP_S' "; $result=Run_Sql($region3_dialect,$sql); if($verbose_output) log_sql($log,$txt);
./ccamp_update_tables.php : $sql=" UPDATE ".$data_table." SET resultunit='score' WHERE ccampid='B_NCOLEO_NT_S' "; $result=Run_Sql($region3_dialect,$sql); if($verbose_output) log_sql($log,$txt);
./ccamp_update_tables.php : $sql=" UPDATE ".$data_table." SET resultunit='score' WHERE ccampid='B_NPPRORT_NT_S' "; $result=Run_Sql($region3_dialect,$sql); if($verbose_output) log_sql($log,$txt);
./ccamp_update_tables.php : $sql=" UPDATE ".$data_table." SET sampletypecode='integrated' WHERE matrixname='sediment' AND sampletypecode='grab' "; $result=Run_Sql($region3_dialect,$sql); if($verbose_output) log_sql($log,$txt);
./ccamp_update_tables.php : $sql="UPDATE ".$data_table." SET MDL=0.1 WHERE MDL IS NULL AND ccampid='TDS' "; Run_Sql($region3_dialect,$sql); if($verbose_output) log_sql($log,$txt);
./ccamp_update_tables.php : $sql="UPDATE ".$data_table." SET MDL=0.1 WHERE MDL IS NULL AND ccampid='CANOPY' "; Run_Sql($region3_dialect,$sql); if($verbose_output) log_sql($log,$txt);
./ccamp_update_tables.php : $sql="UPDATE ".$data_table." SET MDL=0.1 WHERE MDL IS NULL AND ccampid='SALINITY' "; Run_Sql($region3_dialect,$sql); if($verbose_output) log_sql($log,$txt);
./ccamp_update_tables.php : $sql="UPDATE ".$data_table." SET MDL=0.1 WHERE MDL IS NULL AND ccampid='CHLORA' "; Run_Sql($region3_dialect,$sql); if($verbose_output) log_sql($log,$txt);
./ccamp_update_tables.php : $sql="UPDATE ".$data_table." SET MDL=0.1 WHERE MDL IS NULL AND ccampid='TURB_N' "; Run_Sql($region3_dialect,$sql); if($verbose_output) log_sql($log,$txt);
./ccamp_update_tables.php : $sql="UPDATE ".$data_table." SET MDL=0.1 WHERE MDL IS NULL AND ccampid='PLNT_CVR' "; Run_Sql($region3_dialect,$sql); if($verbose_output) log_sql($log,$txt);
./ccamp_update_tables.php : $sql="UPDATE ".$data_table." SET MDL=0.1 WHERE MDL IS NULL AND ccampid='EMBED' "; Run_Sql($region3_dialect,$sql); if($verbose_output) log_sql($log,$txt);
./ccamp_update_tables.php : $sql="UPDATE ".$data_table." SET MDL=0.1 WHERE MDL IS NULL AND LEFT(ccampid,4)='TOX_' "; Run_Sql($region3_dialect,$sql); if($verbose_output) log_sql($log,$txt);
./ccamp_update_tables.php : $sql="UPDATE ".$data_table." SET RL=0.1 WHERE RL IS NULL AND MDL=0.1 "; Run_Sql($region3_dialect,$sql); if($verbose_output) log_sql($log,$txt);
./ccamp_update_tables.php : $sql="UPDATE ".$data_table." SET MDL=RL WHERE MDL=-88 AND MDL IS NULL "; Run_Sql($region3_dialect,$sql); if($verbose_output) log_sql($log,$txt);
./ccamp_update_tables.php : ccampid_2_empty_analytename($region3_dialect,$log,$verbose_output,$org_id,$data_table);
./ccamp_update_tables.php : set_units($region3_dialect,$log,$verbose_output,$data_table);
./ccamp_update_tables.php : $sql=" UPDATE ".$data_table." SET SampleReplicate=1 WHERE SampleReplicate IS NULL "; $result=Run_Sql($region3_dialect,$sql); if($verbose_output) log_sql($log,$txt);
./ccamp_update_tables.php : $sql=" UPDATE ".$data_table." SET LabReplicate=1 WHERE LabReplicate IS NULL "; $result=Run_Sql($region3_dialect,$sql); if($verbose_output) log_sql($log,$txt);
./ccamp_update_tables.php : $sql=" UPDATE ".$data_table." SET SampleTypeCode='NR' WHERE SampleTypeCode IS NULL "; $result=Run_Sql($region3_dialect,$sql); if($verbose_output) log_sql($log,$txt);
./ccamp_update_tables.php : $sql=" UPDATE ".$data_table." SET MatrixName='habitat' WHERE chr_group='Hab' "; $result=Run_Sql($region3_dialect,$sql); if($verbose_output) log_sql($log,$txt);
./ccamp_update_tables.php : $sql=" UPDATE ".$data_table." SET ResultQualCode='NSG' WHERE chr_group='Tox' AND result_val=80 AND MatrixName='samplewater' AND ResultQualCode 'A' "; $result=Run_Sql($region3_dialect,$sql); if($verbose_output) log_sql($log,$txt);
./ccamp_update_tables.php : $sql=" UPDATE ".$data_table." SET ResultQualCode='NSG' WHERE chr_group='Tox' AND result_val=80 AND MatrixName='sediment' AND ResultQualCode 'A' "; $result=Run_Sql($region3_dialect,$sql); if($verbose_output) log_sql($log,$txt);
./ccamp_update_tables.php : $sql=" UPDATE ".$data_table." SET ResultQualCode='SL' WHERE chr_group='Tox' AND result_val80 AND MatrixName='samplewater' AND ResultQualCode 'A' "; $result=Run_Sql($region3_dialect,$sql); if($verbose_output) log_sql($log,$txt);
./ccamp_update_tables.php : $sql=" UPDATE ".$data_table." SET ResultQualCode='SL' WHERE chr_group='Tox' AND result_val80 AND MatrixName='sediment' AND ResultQualCode 'A' "; $result=Run_Sql($region3_dialect,$sql); if($verbose_output) log_sql($log,$txt);
./ccamp_update_tables.php : $sql=" UPDATE ".$data_table." SET result_val=0, ResultQualCode='SL' WHERE chr_group='Tox' AND result_val=0.1 AND MatrixName='samplewater' AND ResultQualCode='ND' "; $result=Run_Sql($region3_dialect,$sql); if($verbose_output) log_sql($log,$txt);
./ccamp_update_tables.php : $sql=" UPDATE ".$data_table." SET result_val=0, ResultQualCode='SL' WHERE chr_group='Tox' AND result_val=0.1 AND MatrixName='sediment' AND ResultQualCode='ND' "; $result=Run_Sql($region3_dialect,$sql); if($verbose_output) log_sql($log,$txt);
./ccamp_update_tables.php : $sql=" UPDATE ".$data_table." SET matrixname='none' WHERE chr_group='Bmi' "; $result=Run_Sql($region3_dialect,$sql); if($verbose_output) log_sql($log,$txt);
./ccamp_update_tables.php : ccampid_2_analytename($region3_dialect,$log,$verbose_output,$org_id,$data_table);
./ccamp_update_tables.php : $sql=" UPDATE ".$data_table." SET proj_id='rwb3_cstllgn' WHERE chr_group='Bmi' AND proj_id='abl_rb3_cstllgn' "; $result=Run_Sql($region3_dialect,$sql); if($verbose_output) log_sql($log,$txt);
./ccamp_update_tables.php : $sql=" UPDATE ".$data_table." SET QACode='R' WHERE chr_group='Bmi' AND proj_id='rwb3_cstllgn' AND YEAR(SampleDate)='1999' "; $result=Run_Sql($region3_dialect,$sql); if($verbose_output) log_sql($log,$txt);
./ccamp_update_tables.php : $sql=" UPDATE ".$data_table." SET QACode='R' WHERE chr_group='Bmi' AND CollectionDeviceName='Hester -Dendy Sampler' "; $result=Run_Sql($region3_dialect,$sql); if($verbose_output) log_sql($log,$txt);
./ccamp_update_tables.php : $sql=" UPDATE ".$data_table." SET QACode='none' WHERE chr_group='Bmi' AND QACode='1' "; $result=Run_Sql($region3_dialect,$sql); if($verbose_output) log_sql($log,$txt);
./ccamp_update_tables.php : $sql=" UPDATE ".$data_table." SET QACode='none' WHERE chr_group='Bmi' AND QACode='2' "; $result=Run_Sql($region3_dialect,$sql); if($verbose_output) log_sql($log,$txt);
./ccamp_update_tables.php : $sql=" UPDATE ".$data_table." SET QACode='none' WHERE chr_group='Bmi' AND QACode='0' "; $result=Run_Sql($region3_dialect,$sql); if($verbose_output) log_sql($log,$txt);
./ccamp_update_tables.php : $sql=" UPDATE ".$data_table." SET MDL=CONCAT(MDL,'0') WHERE RIGHT(MDL,1)='.' "; $result=Run_Sql($region3_dialect,$sql); if($verbose_output) log_sql($log,$txt);
./ccamp_update_tables.php : $sql=" UPDATE ".$data_table." SET Result=CONCAT(Result,'0') WHERE RIGHT(Result,1)='.' "; $result=Run_Sql($region3_dialect,$sql); if($verbose_output) log_sql($log,$txt);
./ccamp_update_tables.php : set_resqualcode($region3_dialect,$log,$verbose_output,$data_table);
./ccamp_update_tables.php : calc_nh3u($region3_dialect,$log,$verbose_output,$data_table);
./ccamp_update_tables.php : calc_sum($region3_dialect,$log,$verbose_output,$data_table,'PCT_FN','PCT_SA','PCT_SAFN','none');
./ccamp_update_tables.php : calc_sum($region3_dialect,$log,$verbose_output,$data_table,'XCM','XGW','XCMGW','none');
./ccamp_update_tables.php : calc_sum($region3_dialect,$log,$verbose_output,$data_table,'VTSS','VTDS','TVS','total');
./ccamp_update_tables.php : calc_sum($region3_dialect,$log,$verbose_output,$data_table,'NO3_N','NO2_N','NO3NO2_N','total');
./ccamp_update_tables.php : calc_sum($region3_dialect,$log,$verbose_output,$data_table,'NO3NO2_N','TKN_N','N_N','total');
./ccamp_update_tables.php : calc_sum($region3_dialect,$log,$verbose_output,$data_table,'DDDOP','DDDPP','DDD','total');
./ccamp_update_tables.php : calc_sum($region3_dialect,$log,$verbose_output,$data_table,'DDEOP','DDEPP','DDE','total');
./ccamp_update_tables.php : calc_sum($region3_dialect,$log,$verbose_output,$data_table,'DDTOP','DDTPP','DDT','total');
./ccamp_update_tables.php : calc_sum($region3_dialect,$log,$verbose_output,$data_table,'DDD','DDE','Dtemp','total');
./ccamp_update_tables.php : calc_sum($region3_dialect,$log,$verbose_output,$data_table,'DDT','Dtemp','DDT_TOT','total');
./ccamp_update_tables.php : $sql=" DELETE FROM ".$data_table." WHERE ccampid='Dtemp' "; $result=Run_Sql($region3_dialect,$sql); if ($verbose_output) log_time($log,$sql);
./ccamp_update_tables.php : calc_sum($region3_dialect,$log,$verbose_output,$data_table,'CCDAN','TCDAN','C1temp','total');
./ccamp_update_tables.php : calc_sum($region3_dialect,$log,$verbose_output,$data_table,'CNONA','TNONA','C2temp','total');
./ccamp_update_tables.php : calc_sum($region3_dialect,$log,$verbose_output,$data_table,'C1temp','C2temp','TOTCL','total');
./ccamp_update_tables.php : $sql=" DELETE FROM ".$data_table." WHERE ccampid='C1temp' "; $result=Run_Sql($region3_dialect,$sql); if ($verbose_output) log_time($log,$sql);
./ccamp_update_tables.php : $sql=" DELETE FROM ".$data_table." WHERE ccampid='C2temp' "; $result=Run_Sql($region3_dialect,$sql); if ($verbose_output) log_time($log,$sql);
./ccamp_update_tables.php : calc_sum($region3_dialect,$log,$verbose_output,$data_table,'PERMETHRINCIS','PERMETHRINTRANS','PERMETHRIN','total');
./ccamp_update_tables.php : calc_sum($region3_dialect,$log,$verbose_output,$data_table,'HDENC','THDEN','CHLDENE','total');
./ccamp_update_tables.php : calc_sum($region3_dialect,$log,$verbose_output,$data_table,'PCB1248','PCB1254','P1temp','total');
./ccamp_update_tables.php : calc_sum($region3_dialect,$log,$verbose_output,$data_table,'p1TEMP','PCB1260','TPCB','total');
./ccamp_update_tables.php : $sql=" DELETE FROM ".$data_table." WHERE ccampid='P1temp' "; $result=Run_Sql($region3_dialect,$sql); if ($verbose_output) log_time($log,$sql);
./ccamp_update_tables.php : calc_sum($region3_dialect,$log,$verbose_output,$data_table,'PBDE','PBDE017','T1temp','total');
./ccamp_update_tables.php : calc_sum($region3_dialect,$log,$verbose_output,$data_table,'T1temp','PBDE01725','T2temp','total');
./ccamp_update_tables.php : calc_sum($region3_dialect,$log,$verbose_output,$data_table,'T2temp','PBDE028','T3temp','total');
./ccamp_update_tables.php : calc_sum($region3_dialect,$log,$verbose_output,$data_table,'T3temp','PBDE02833','T4temp','total');
./ccamp_update_tables.php : calc_sum($region3_dialect,$log,$verbose_output,$data_table,'T4temp','PBDE030','T5temp','total');
./ccamp_update_tables.php : calc_sum($region3_dialect,$log,$verbose_output,$data_table,'T5temp','PBDE047','T6temp','total');
./ccamp_update_tables.php : calc_sum($region3_dialect,$log,$verbose_output,$data_table,'T6temp','PBDE049','T7temp','total');
./ccamp_update_tables.php : calc_sum($region3_dialect,$log,$verbose_output,$data_table,'T7temp','PBDE066','T8temp','total');
./ccamp_update_tables.php : calc_sum($region3_dialect,$log,$verbose_output,$data_table,'T8temp','PBDE085','T9temp','total');
./ccamp_update_tables.php : calc_sum($region3_dialect,$log,$verbose_output,$data_table,'T9temp','PBDE099','T10temp','total');
./ccamp_update_tables.php : calc_sum($region3_dialect,$log,$verbose_output,$data_table,'T10temp','PBDE100','T11temp','total');
./ccamp_update_tables.php : calc_sum($region3_dialect,$log,$verbose_output,$data_table,'T11temp','PBDE138','T12temp','total');
./ccamp_update_tables.php : calc_sum($region3_dialect,$log,$verbose_output,$data_table,'T12temp','PBDE153','T13temp','total');
./ccamp_update_tables.php : calc_sum($region3_dialect,$log,$verbose_output,$data_table,'T13temp','PBDE154','T14temp','total');
./ccamp_update_tables.php : calc_sum($region3_dialect,$log,$verbose_output,$data_table,'T14temp','PBDE179','T15temp','total');
./ccamp_update_tables.php : calc_sum($region3_dialect,$log,$verbose_output,$data_table,'T15temp','PBDE183','T16temp','total');
./ccamp_update_tables.php : calc_sum($region3_dialect,$log,$verbose_output,$data_table,'T16temp','PBDE184','T17temp','total');
./ccamp_update_tables.php : calc_sum($region3_dialect,$log,$verbose_output,$data_table,'T17temp','PBDE188','T18temp','total');
./ccamp_update_tables.php : calc_sum($region3_dialect,$log,$verbose_output,$data_table,'T18temp','PBDE190','T19temp','total');
./ccamp_update_tables.php : calc_sum($region3_dialect,$log,$verbose_output,$data_table,'T19temp','PBDE200203','T20temp','total');
./ccamp_update_tables.php : calc_sum($region3_dialect,$log,$verbose_output,$data_table,'T20temp','PBDE201','T21temp','total');
./ccamp_update_tables.php : calc_sum($region3_dialect,$log,$verbose_output,$data_table,'T21temp','PBDE202','T22temp','total');
./ccamp_update_tables.php : calc_sum($region3_dialect,$log,$verbose_output,$data_table,'T22temp','PBDE206','T23temp','total');
./ccamp_update_tables.php : calc_sum($region3_dialect,$log,$verbose_output,$data_table,'T23temp','PBDE207','T24temp','total');
./ccamp_update_tables.php : calc_sum($region3_dialect,$log,$verbose_output,$data_table,'T24temp','PBDE208','T25temp','total');
./ccamp_update_tables.php : calc_sum($region3_dialect,$log,$verbose_output,$data_table,'T25temp','PBDE209','TPBDE','total');
./ccamp_update_tables.php : $sql=" DELETE FROM ".$data_table." WHERE ccampid='T1temp' "; $result=Run_Sql($region3_dialect,$sql); if ($verbose_output) log_time($log,$sql);
./ccamp_update_tables.php : $sql=" DELETE FROM ".$data_table." WHERE ccampid='T2temp' "; $result=Run_Sql($region3_dialect,$sql); if ($verbose_output) log_time($log,$sql);
./ccamp_update_tables.php : $sql=" DELETE FROM ".$data_table." WHERE ccampid='T3temp' "; $result=Run_Sql($region3_dialect,$sql); if ($verbose_output) log_time($log,$sql);
./ccamp_update_tables.php : $sql=" DELETE FROM ".$data_table." WHERE ccampid='T4temp' "; $result=Run_Sql($region3_dialect,$sql); if ($verbose_output) log_time($log,$sql);
./ccamp_update_tables.php : $sql=" DELETE FROM ".$data_table." WHERE ccampid='T5temp' "; $result=Run_Sql($region3_dialect,$sql); if ($verbose_output) log_time($log,$sql);
./ccamp_update_tables.php : $sql=" DELETE FROM ".$data_table." WHERE ccampid='T6temp' "; $result=Run_Sql($region3_dialect,$sql); if ($verbose_output) log_time($log,$sql);
./ccamp_update_tables.php : $sql=" DELETE FROM ".$data_table." WHERE ccampid='T7temp' "; $result=Run_Sql($region3_dialect,$sql); if ($verbose_output) log_time($log,$sql);
./ccamp_update_tables.php : $sql=" DELETE FROM ".$data_table." WHERE ccampid='T8temp' "; $result=Run_Sql($region3_dialect,$sql); if ($verbose_output) log_time($log,$sql);
./ccamp_update_tables.php : $sql=" DELETE FROM ".$data_table." WHERE ccampid='T9temp' "; $result=Run_Sql($region3_dialect,$sql); if ($verbose_output) log_time($log,$sql);
./ccamp_update_tables.php : $sql=" DELETE FROM ".$data_table." WHERE ccampid='T10temp' "; $result=Run_Sql($region3_dialect,$sql); if ($verbose_output) log_time($log,$sql);
./ccamp_update_tables.php : $sql=" DELETE FROM ".$data_table." WHERE ccampid='T11temp' "; $result=Run_Sql($region3_dialect,$sql); if ($verbose_output) log_time($log,$sql);
./ccamp_update_tables.php : $sql=" DELETE FROM ".$data_table." WHERE ccampid='T12temp' "; $result=Run_Sql($region3_dialect,$sql); if ($verbose_output) log_time($log,$sql);
./ccamp_update_tables.php : $sql=" DELETE FROM ".$data_table." WHERE ccampid='T13temp' "; $result=Run_Sql($region3_dialect,$sql); if ($verbose_output) log_time($log,$sql);
./ccamp_update_tables.php : $sql=" DELETE FROM ".$data_table." WHERE ccampid='T14temp' "; $result=Run_Sql($region3_dialect,$sql); if ($verbose_output) log_time($log,$sql);
./ccamp_update_tables.php : $sql=" DELETE FROM ".$data_table." WHERE ccampid='T15temp' "; $result=Run_Sql($region3_dialect,$sql); if ($verbose_output) log_time($log,$sql);
./ccamp_update_tables.php : $sql=" DELETE FROM ".$data_table." WHERE ccampid='T16temp' "; $result=Run_Sql($region3_dialect,$sql); if ($verbose_output) log_time($log,$sql);
./ccamp_update_tables.php : $sql=" DELETE FROM ".$data_table." WHERE ccampid='T17temp' "; $result=Run_Sql($region3_dialect,$sql); if ($verbose_output) log_time($log,$sql);
./ccamp_update_tables.php : $sql=" DELETE FROM ".$data_table." WHERE ccampid='T18temp' "; $result=Run_Sql($region3_dialect,$sql); if ($verbose_output) log_time($log,$sql);
./ccamp_update_tables.php : $sql=" DELETE FROM ".$data_table." WHERE ccampid='T19temp' "; $result=Run_Sql($region3_dialect,$sql); if ($verbose_output) log_time($log,$sql);
./ccamp_update_tables.php : $sql=" DELETE FROM ".$data_table." WHERE ccampid='T20temp' "; $result=Run_Sql($region3_dialect,$sql); if ($verbose_output) log_time($log,$sql);
./ccamp_update_tables.php : $sql=" DELETE FROM ".$data_table." WHERE ccampid='T21temp' "; $result=Run_Sql($region3_dialect,$sql); if ($verbose_output) log_time($log,$sql);
./ccamp_update_tables.php : $sql=" DELETE FROM ".$data_table." WHERE ccampid='T22temp' "; $result=Run_Sql($region3_dialect,$sql); if ($verbose_output) log_time($log,$sql);
./ccamp_update_tables.php : $sql=" DELETE FROM ".$data_table." WHERE ccampid='T23temp' "; $result=Run_Sql($region3_dialect,$sql); if ($verbose_output) log_time($log,$sql);
./ccamp_update_tables.php : $sql=" DELETE FROM ".$data_table." WHERE ccampid='T24temp' "; $result=Run_Sql($region3_dialect,$sql); if ($verbose_output) log_time($log,$sql);
./ccamp_update_tables.php : $sql=" DELETE FROM ".$data_table." WHERE ccampid='T25temp' "; $result=Run_Sql($region3_dialect,$sql); if ($verbose_output) log_time($log,$sql);
./ccamp_update_tables.php : calc_sum($region3_dialect,$log,$verbose_output,$data_table,'NAPHEN','NAPHYL','T1temp','total');
./ccamp_update_tables.php : calc_sum($region3_dialect,$log,$verbose_output,$data_table,'T1temp','ANTH','T2temp','total');
./ccamp_update_tables.php : calc_sum($region3_dialect,$log,$verbose_output,$data_table,'T2temp','ANTHA','T3temp','total');
./ccamp_update_tables.php : calc_sum($region3_dialect,$log,$verbose_output,$data_table,'T3temp','PYREBA','T4temp','total');
./ccamp_update_tables.php : calc_sum($region3_dialect,$log,$verbose_output,$data_table,'T4temp','FLRABB','T5temp','total');
./ccamp_update_tables.php : calc_sum($region3_dialect,$log,$verbose_output,$data_table,'T5temp','FLRABK','T6temp','total');
./ccamp_update_tables.php : calc_sum($region3_dialect,$log,$verbose_output,$data_table,'T6temp','CHRYSN','T7temp','total');
./ccamp_update_tables.php : calc_sum($region3_dialect,$log,$verbose_output,$data_table,'T7temp','FLRA','T8temp','total');
./ccamp_update_tables.php : calc_sum($region3_dialect,$log,$verbose_output,$data_table,'T8temp','FLUORE','T9temp','total');
./ccamp_update_tables.php : calc_sum($region3_dialect,$log,$verbose_output,$data_table,'T9temp','NAP','T10temp','total');
./ccamp_update_tables.php : calc_sum($region3_dialect,$log,$verbose_output,$data_table,'T10temp','PHENA','T11temp','total');
./ccamp_update_tables.php : calc_sum($region3_dialect,$log,$verbose_output,$data_table,'T11temp','PYRE','TPAH','total');
./ccamp_update_tables.php : $sql=" DELETE FROM ".$data_table." WHERE ccampid='T1temp' "; $result=Run_Sql($region3_dialect,$sql); if ($verbose_output) log_time($log,$sql);
./ccamp_update_tables.php : $sql=" DELETE FROM ".$data_table." WHERE ccampid='T2temp' "; $result=Run_Sql($region3_dialect,$sql); if ($verbose_output) log_time($log,$sql);
./ccamp_update_tables.php : $sql=" DELETE FROM ".$data_table." WHERE ccampid='T3temp' "; $result=Run_Sql($region3_dialect,$sql); if ($verbose_output) log_time($log,$sql);
./ccamp_update_tables.php : $sql=" DELETE FROM ".$data_table." WHERE ccampid='T4temp' "; $result=Run_Sql($region3_dialect,$sql); if ($verbose_output) log_time($log,$sql);
./ccamp_update_tables.php : $sql=" DELETE FROM ".$data_table." WHERE ccampid='T5temp' "; $result=Run_Sql($region3_dialect,$sql); if ($verbose_output) log_time($log,$sql);
./ccamp_update_tables.php : $sql=" DELETE FROM ".$data_table." WHERE ccampid='T6temp' "; $result=Run_Sql($region3_dialect,$sql); if ($verbose_output) log_time($log,$sql);
./ccamp_update_tables.php : $sql=" DELETE FROM ".$data_table." WHERE ccampid='T7temp' "; $result=Run_Sql($region3_dialect,$sql); if ($verbose_output) log_time($log,$sql);
./ccamp_update_tables.php : $sql=" DELETE FROM ".$data_table." WHERE ccampid='T8temp' "; $result=Run_Sql($region3_dialect,$sql); if ($verbose_output) log_time($log,$sql);
./ccamp_update_tables.php : $sql=" DELETE FROM ".$data_table." WHERE ccampid='T9temp' "; $result=Run_Sql($region3_dialect,$sql); if ($verbose_output) log_time($log,$sql);
./ccamp_update_tables.php : $sql=" DELETE FROM ".$data_table." WHERE ccampid='T10temp' "; $result=Run_Sql($region3_dialect,$sql); if ($verbose_output) log_time($log,$sql);
./ccamp_update_tables.php : $sql=" DELETE FROM ".$data_table." WHERE ccampid='T11temp' "; $result=Run_Sql($region3_dialect,$sql); if ($verbose_output) log_time($log,$sql);
./ccamp_update_tables.php : calc_sum($region3_dialect,$log,$verbose_output,$data_table,'PCB003','PCB008','T1temp','total');
./ccamp_update_tables.php : calc_sum($region3_dialect,$log,$verbose_output,$data_table,'T1temp','PCB018','T2temp','total');
./ccamp_update_tables.php : calc_sum($region3_dialect,$log,$verbose_output,$data_table,'T2temp','PCB027','T3temp','total');
./ccamp_update_tables.php : calc_sum($region3_dialect,$log,$verbose_output,$data_table,'T3temp','PCB028','T4temp','total');
./ccamp_update_tables.php : calc_sum($region3_dialect,$log,$verbose_output,$data_table,'T4temp','PCB029','T5temp','total');
./ccamp_update_tables.php : calc_sum($region3_dialect,$log,$verbose_output,$data_table,'T5temp','PCB031','T6temp','total');
./ccamp_update_tables.php : calc_sum($region3_dialect,$log,$verbose_output,$data_table,'T6temp','PCB033','T7temp','total');
./ccamp_update_tables.php : calc_sum($region3_dialect,$log,$verbose_output,$data_table,'T7temp','PCB037','T8temp','total');
./ccamp_update_tables.php : calc_sum($region3_dialect,$log,$verbose_output,$data_table,'T8temp','PCB044','T9temp','total');
./ccamp_update_tables.php : calc_sum($region3_dialect,$log,$verbose_output,$data_table,'T9temp','PCB049','T10temp','total');
./ccamp_update_tables.php : calc_sum($region3_dialect,$log,$verbose_output,$data_table,'T10temp','PCB052','T11temp','total');
./ccamp_update_tables.php : calc_sum($region3_dialect,$log,$verbose_output,$data_table,'T11temp','PCB056','T12temp','total');
./ccamp_update_tables.php : calc_sum($region3_dialect,$log,$verbose_output,$data_table,'T12temp','PCB060','T13temp','total');
./ccamp_update_tables.php : calc_sum($region3_dialect,$log,$verbose_output,$data_table,'T13temp','PCB064','T14temp','total');
./ccamp_update_tables.php : calc_sum($region3_dialect,$log,$verbose_output,$data_table,'T14temp','PCB066','T15temp','total');
./ccamp_update_tables.php : calc_sum($region3_dialect,$log,$verbose_output,$data_table,'T15temp','PCB070','T16temp','total');
./ccamp_update_tables.php : calc_sum($region3_dialect,$log,$verbose_output,$data_table,'T16temp','PCB074','T17temp','total');
./ccamp_update_tables.php : calc_sum($region3_dialect,$log,$verbose_output,$data_table,'T17temp','PCB077','T18temp','total');
./ccamp_update_tables.php : calc_sum($region3_dialect,$log,$verbose_output,$data_table,'T18temp','PCB081','T19temp','total');
./ccamp_update_tables.php : calc_sum($region3_dialect,$log,$verbose_output,$data_table,'T19temp','PCB087','T20temp','total');
./ccamp_update_tables.php : calc_sum($region3_dialect,$log,$verbose_output,$data_table,'T20temp','PCB095','T21temp','total');
./ccamp_update_tables.php : calc_sum($region3_dialect,$log,$verbose_output,$data_table,'T21temp','PCB097','T22temp','total');
./ccamp_update_tables.php : calc_sum($region3_dialect,$log,$verbose_output,$data_table,'T22temp','PCB099','T23temp','total');
./ccamp_update_tables.php : calc_sum($region3_dialect,$log,$verbose_output,$data_table,'T23temp','PCB101','T24temp','total');
./ccamp_update_tables.php : calc_sum($region3_dialect,$log,$verbose_output,$data_table,'T24temp','PCB105','T25temp','total');
./ccamp_update_tables.php : calc_sum($region3_dialect,$log,$verbose_output,$data_table,'T25temp','PCB110','T26temp','total');
./ccamp_update_tables.php : calc_sum($region3_dialect,$log,$verbose_output,$data_table,'T26temp','PCB114','T27temp','total');
./ccamp_update_tables.php : calc_sum($region3_dialect,$log,$verbose_output,$data_table,'T27temp','PCB118','T28temp','total');
./ccamp_update_tables.php : calc_sum($region3_dialect,$log,$verbose_output,$data_table,'T28temp','PCB119','T29temp','total');
./ccamp_update_tables.php : calc_sum($region3_dialect,$log,$verbose_output,$data_table,'T29temp','PCB123','T30temp','total');
./ccamp_update_tables.php : calc_sum($region3_dialect,$log,$verbose_output,$data_table,'T30temp','PCB126','T31temp','total');
./ccamp_update_tables.php : calc_sum($region3_dialect,$log,$verbose_output,$data_table,'T31temp','PCB128','T32temp','total');
./ccamp_update_tables.php : calc_sum($region3_dialect,$log,$verbose_output,$data_table,'T32temp','PCB137','T33temp','total');
./ccamp_update_tables.php : calc_sum($region3_dialect,$log,$verbose_output,$data_table,'T33temp','PCB138','T34temp','total');
./ccamp_update_tables.php : calc_sum($region3_dialect,$log,$verbose_output,$data_table,'T34temp','PCB141','T35temp','total');
./ccamp_update_tables.php : calc_sum($region3_dialect,$log,$verbose_output,$data_table,'T35temp','PCB146','T36temp','total');
./ccamp_update_tables.php : calc_sum($region3_dialect,$log,$verbose_output,$data_table,'T36temp','PCB149','T37temp','total');
./ccamp_update_tables.php : calc_sum($region3_dialect,$log,$verbose_output,$data_table,'T37temp','PCB151','T38temp','total');
./ccamp_update_tables.php : calc_sum($region3_dialect,$log,$verbose_output,$data_table,'T38temp','PCB153','T39temp','total');
./ccamp_update_tables.php : calc_sum($region3_dialect,$log,$verbose_output,$data_table,'T39temp','PCB156','T40temp','total');
./ccamp_update_tables.php : calc_sum($region3_dialect,$log,$verbose_output,$data_table,'T40temp','PCB157','T41temp','total');
./ccamp_update_tables.php : calc_sum($region3_dialect,$log,$verbose_output,$data_table,'T41temp','PCB158','T42temp','total');
./ccamp_update_tables.php : calc_sum($region3_dialect,$log,$verbose_output,$data_table,'T42temp','PCB167','T43temp','total');
./ccamp_update_tables.php : calc_sum($region3_dialect,$log,$verbose_output,$data_table,'T43temp','PCB168','T44temp','total');
./ccamp_update_tables.php : calc_sum($region3_dialect,$log,$verbose_output,$data_table,'T44temp','PCB169','T45temp','total');
./ccamp_update_tables.php : calc_sum($region3_dialect,$log,$verbose_output,$data_table,'T45temp','PCB170','T46temp','total');
./ccamp_update_tables.php : calc_sum($region3_dialect,$log,$verbose_output,$data_table,'T46temp','PCB174','T47temp','total');
./ccamp_update_tables.php : calc_sum($region3_dialect,$log,$verbose_output,$data_table,'T47temp','PCB177','T48temp','total');
./ccamp_update_tables.php : calc_sum($region3_dialect,$log,$verbose_output,$data_table,'T48temp','PCB180','T49temp','total');
./ccamp_update_tables.php : calc_sum($region3_dialect,$log,$verbose_output,$data_table,'T49temp','PCB183','T50temp','total');
./ccamp_update_tables.php : calc_sum($region3_dialect,$log,$verbose_output,$data_table,'T50temp','PCB187','T51temp','total');
./ccamp_update_tables.php : calc_sum($region3_dialect,$log,$verbose_output,$data_table,'T51temp','PCB189','T52temp','total');
./ccamp_update_tables.php : calc_sum($region3_dialect,$log,$verbose_output,$data_table,'T52temp','PCB194','T53temp','total');
./ccamp_update_tables.php : calc_sum($region3_dialect,$log,$verbose_output,$data_table,'T53temp','PCB195','T54temp','total');
./ccamp_update_tables.php : calc_sum($region3_dialect,$log,$verbose_output,$data_table,'T54temp','PCB198','T55temp','total');
./ccamp_update_tables.php : calc_sum($region3_dialect,$log,$verbose_output,$data_table,'T55temp','PCB199','T56temp','total');
./ccamp_update_tables.php : calc_sum($region3_dialect,$log,$verbose_output,$data_table,'T56temp','PCB200','T57temp','total');
./ccamp_update_tables.php : calc_sum($region3_dialect,$log,$verbose_output,$data_table,'T57temp','PCB201','T58temp','total');
./ccamp_update_tables.php : calc_sum($region3_dialect,$log,$verbose_output,$data_table,'T58temp','PCB203','T59temp','total');
./ccamp_update_tables.php : calc_sum($region3_dialect,$log,$verbose_output,$data_table,'T59temp','PCB206','T60temp','total');
./ccamp_update_tables.php : calc_sum($region3_dialect,$log,$verbose_output,$data_table,'T60temp','PCB209','CONGENS','total');
./ccamp_update_tables.php : $sql=" DELETE FROM ".$data_table." WHERE ccampid='T1temp' "; $result=Run_Sql($region3_dialect,$sql); if ($verbose_output) log_time($log,$sql);
./ccamp_update_tables.php : $sql=" DELETE FROM ".$data_table." WHERE ccampid='T2temp' "; $result=Run_Sql($region3_dialect,$sql); if ($verbose_output) log_time($log,$sql);
./ccamp_update_tables.php : $sql=" DELETE FROM ".$data_table." WHERE ccampid='T3temp' "; $result=Run_Sql($region3_dialect,$sql); if ($verbose_output) log_time($log,$sql);
./ccamp_update_tables.php : $sql=" DELETE FROM ".$data_table." WHERE ccampid='T4temp' "; $result=Run_Sql($region3_dialect,$sql); if ($verbose_output) log_time($log,$sql);
./ccamp_update_tables.php : $sql=" DELETE FROM ".$data_table." WHERE ccampid='T5temp' "; $result=Run_Sql($region3_dialect,$sql); if ($verbose_output) log_time($log,$sql);
./ccamp_update_tables.php : $sql=" DELETE FROM ".$data_table." WHERE ccampid='T6temp' "; $result=Run_Sql($region3_dialect,$sql); if ($verbose_output) log_time($log,$sql);
./ccamp_update_tables.php : $sql=" DELETE FROM ".$data_table." WHERE ccampid='T7temp' "; $result=Run_Sql($region3_dialect,$sql); if ($verbose_output) log_time($log,$sql);
./ccamp_update_tables.php : $sql=" DELETE FROM ".$data_table." WHERE ccampid='T8temp' "; $result=Run_Sql($region3_dialect,$sql); if ($verbose_output) log_time($log,$sql);
./ccamp_update_tables.php : $sql=" DELETE FROM ".$data_table." WHERE ccampid='T9temp' "; $result=Run_Sql($region3_dialect,$sql); if ($verbose_output) log_time($log,$sql);
./ccamp_update_tables.php : $sql=" DELETE FROM ".$data_table." WHERE ccampid='T10temp' "; $result=Run_Sql($region3_dialect,$sql); if ($verbose_output) log_time($log,$sql);
./ccamp_update_tables.php : $sql=" DELETE FROM ".$data_table." WHERE ccampid='T11temp' "; $result=Run_Sql($region3_dialect,$sql); if ($verbose_output) log_time($log,$sql);
./ccamp_update_tables.php : $sql=" DELETE FROM ".$data_table." WHERE ccampid='T12temp' "; $result=Run_Sql($region3_dialect,$sql); if ($verbose_output) log_time($log,$sql);
./ccamp_update_tables.php : $sql=" DELETE FROM ".$data_table." WHERE ccampid='T13temp' "; $result=Run_Sql($region3_dialect,$sql); if ($verbose_output) log_time($log,$sql);
./ccamp_update_tables.php : $sql=" DELETE FROM ".$data_table." WHERE ccampid='T14temp' "; $result=Run_Sql($region3_dialect,$sql); if ($verbose_output) log_time($log,$sql);
./ccamp_update_tables.php : $sql=" DELETE FROM ".$data_table." WHERE ccampid='T15temp' "; $result=Run_Sql($region3_dialect,$sql); if ($verbose_output) log_time($log,$sql);
./ccamp_update_tables.php : $sql=" DELETE FROM ".$data_table." WHERE ccampid='T16temp' "; $result=Run_Sql($region3_dialect,$sql); if ($verbose_output) log_time($log,$sql);
./ccamp_update_tables.php : $sql=" DELETE FROM ".$data_table." WHERE ccampid='T17temp' "; $result=Run_Sql($region3_dialect,$sql); if ($verbose_output) log_time($log,$sql);
./ccamp_update_tables.php : $sql=" DELETE FROM ".$data_table." WHERE ccampid='T18temp' "; $result=Run_Sql($region3_dialect,$sql); if ($verbose_output) log_time($log,$sql);
./ccamp_update_tables.php : $sql=" DELETE FROM ".$data_table." WHERE ccampid='T19temp' "; $result=Run_Sql($region3_dialect,$sql); if ($verbose_output) log_time($log,$sql);
./ccamp_update_tables.php : $sql=" DELETE FROM ".$data_table." WHERE ccampid='T20temp' "; $result=Run_Sql($region3_dialect,$sql); if ($verbose_output) log_time($log,$sql);
./ccamp_update_tables.php : $sql=" DELETE FROM ".$data_table." WHERE ccampid='T21temp' "; $result=Run_Sql($region3_dialect,$sql); if ($verbose_output) log_time($log,$sql);
./ccamp_update_tables.php : $sql=" DELETE FROM ".$data_table." WHERE ccampid='T22temp' "; $result=Run_Sql($region3_dialect,$sql); if ($verbose_output) log_time($log,$sql);
./ccamp_update_tables.php : $sql=" DELETE FROM ".$data_table." WHERE ccampid='T23temp' "; $result=Run_Sql($region3_dialect,$sql); if ($verbose_output) log_time($log,$sql);
./ccamp_update_tables.php : $sql=" DELETE FROM ".$data_table." WHERE ccampid='T24temp' "; $result=Run_Sql($region3_dialect,$sql); if ($verbose_output) log_time($log,$sql);
./ccamp_update_tables.php : $sql=" DELETE FROM ".$data_table." WHERE ccampid='T25temp' "; $result=Run_Sql($region3_dialect,$sql); if ($verbose_output) log_time($log,$sql);
./ccamp_update_tables.php : $sql=" DELETE FROM ".$data_table." WHERE ccampid='T26temp' "; $result=Run_Sql($region3_dialect,$sql); if ($verbose_output) log_time($log,$sql);
./ccamp_update_tables.php : $sql=" DELETE FROM ".$data_table." WHERE ccampid='T27temp' "; $result=Run_Sql($region3_dialect,$sql); if ($verbose_output) log_time($log,$sql);
./ccamp_update_tables.php : $sql=" DELETE FROM ".$data_table." WHERE ccampid='T28temp' "; $result=Run_Sql($region3_dialect,$sql); if ($verbose_output) log_time($log,$sql);
./ccamp_update_tables.php : $sql=" DELETE FROM ".$data_table." WHERE ccampid='T29temp' "; $result=Run_Sql($region3_dialect,$sql); if ($verbose_output) log_time($log,$sql);
./ccamp_update_tables.php : $sql=" DELETE FROM ".$data_table." WHERE ccampid='T30temp' "; $result=Run_Sql($region3_dialect,$sql); if ($verbose_output) log_time($log,$sql);
./ccamp_update_tables.php : $sql=" DELETE FROM ".$data_table." WHERE ccampid='T31temp' "; $result=Run_Sql($region3_dialect,$sql); if ($verbose_output) log_time($log,$sql);
./ccamp_update_tables.php : $sql=" DELETE FROM ".$data_table." WHERE ccampid='T32temp' "; $result=Run_Sql($region3_dialect,$sql); if ($verbose_output) log_time($log,$sql);
./ccamp_update_tables.php : $sql=" DELETE FROM ".$data_table." WHERE ccampid='T33temp' "; $result=Run_Sql($region3_dialect,$sql); if ($verbose_output) log_time($log,$sql);
./ccamp_update_tables.php : $sql=" DELETE FROM ".$data_table." WHERE ccampid='T34temp' "; $result=Run_Sql($region3_dialect,$sql); if ($verbose_output) log_time($log,$sql);
./ccamp_update_tables.php : $sql=" DELETE FROM ".$data_table." WHERE ccampid='T35temp' "; $result=Run_Sql($region3_dialect,$sql); if ($verbose_output) log_time($log,$sql);
./ccamp_update_tables.php : $sql=" DELETE FROM ".$data_table." WHERE ccampid='T36temp' "; $result=Run_Sql($region3_dialect,$sql); if ($verbose_output) log_time($log,$sql);
./ccamp_update_tables.php : $sql=" DELETE FROM ".$data_table." WHERE ccampid='T37temp' "; $result=Run_Sql($region3_dialect,$sql); if ($verbose_output) log_time($log,$sql);
./ccamp_update_tables.php : $sql=" DELETE FROM ".$data_table." WHERE ccampid='T38temp' "; $result=Run_Sql($region3_dialect,$sql); if ($verbose_output) log_time($log,$sql);
./ccamp_update_tables.php : $sql=" DELETE FROM ".$data_table." WHERE ccampid='T39temp' "; $result=Run_Sql($region3_dialect,$sql); if ($verbose_output) log_time($log,$sql);
./ccamp_update_tables.php : $sql=" DELETE FROM ".$data_table." WHERE ccampid='T40temp' "; $result=Run_Sql($region3_dialect,$sql); if ($verbose_output) log_time($log,$sql);
./ccamp_update_tables.php : $sql=" DELETE FROM ".$data_table." WHERE ccampid='T41temp' "; $result=Run_Sql($region3_dialect,$sql); if ($verbose_output) log_time($log,$sql);
./ccamp_update_tables.php : $sql=" DELETE FROM ".$data_table." WHERE ccampid='T42temp' "; $result=Run_Sql($region3_dialect,$sql); if ($verbose_output) log_time($log,$sql);
./ccamp_update_tables.php : $sql=" DELETE FROM ".$data_table." WHERE ccampid='T43temp' "; $result=Run_Sql($region3_dialect,$sql); if ($verbose_output) log_time($log,$sql);
./ccamp_update_tables.php : $sql=" DELETE FROM ".$data_table." WHERE ccampid='T44temp' "; $result=Run_Sql($region3_dialect,$sql); if ($verbose_output) log_time($log,$sql);
./ccamp_update_tables.php : $sql=" DELETE FROM ".$data_table." WHERE ccampid='T45temp' "; $result=Run_Sql($region3_dialect,$sql); if ($verbose_output) log_time($log,$sql);
./ccamp_update_tables.php : $sql=" DELETE FROM ".$data_table." WHERE ccampid='T46temp' "; $result=Run_Sql($region3_dialect,$sql); if ($verbose_output) log_time($log,$sql);
./ccamp_update_tables.php : $sql=" DELETE FROM ".$data_table." WHERE ccampid='T47temp' "; $result=Run_Sql($region3_dialect,$sql); if ($verbose_output) log_time($log,$sql);
./ccamp_update_tables.php : $sql=" DELETE FROM ".$data_table." WHERE ccampid='T48temp' "; $result=Run_Sql($region3_dialect,$sql); if ($verbose_output) log_time($log,$sql);
./ccamp_update_tables.php : $sql=" DELETE FROM ".$data_table." WHERE ccampid='T49temp' "; $result=Run_Sql($region3_dialect,$sql); if ($verbose_output) log_time($log,$sql);
./ccamp_update_tables.php : $sql=" DELETE FROM ".$data_table." WHERE ccampid='T50temp' "; $result=Run_Sql($region3_dialect,$sql); if ($verbose_output) log_time($log,$sql);
./ccamp_update_tables.php : $sql=" DELETE FROM ".$data_table." WHERE ccampid='T51temp' "; $result=Run_Sql($region3_dialect,$sql); if ($verbose_output) log_time($log,$sql);
./ccamp_update_tables.php : $sql=" DELETE FROM ".$data_table." WHERE ccampid='T52temp' "; $result=Run_Sql($region3_dialect,$sql); if ($verbose_output) log_time($log,$sql);
./ccamp_update_tables.php : $sql=" DELETE FROM ".$data_table." WHERE ccampid='T53temp' "; $result=Run_Sql($region3_dialect,$sql); if ($verbose_output) log_time($log,$sql);
./ccamp_update_tables.php : $sql=" DELETE FROM ".$data_table." WHERE ccampid='T54temp' "; $result=Run_Sql($region3_dialect,$sql); if ($verbose_output) log_time($log,$sql);
./ccamp_update_tables.php : $sql=" DELETE FROM ".$data_table." WHERE ccampid='T55temp' "; $result=Run_Sql($region3_dialect,$sql); if ($verbose_output) log_time($log,$sql);
./ccamp_update_tables.php : $sql=" DELETE FROM ".$data_table." WHERE ccampid='T56temp' "; $result=Run_Sql($region3_dialect,$sql); if ($verbose_output) log_time($log,$sql);
./ccamp_update_tables.php : $sql=" DELETE FROM ".$data_table." WHERE ccampid='T57temp' "; $result=Run_Sql($region3_dialect,$sql); if ($verbose_output) log_time($log,$sql);
./ccamp_update_tables.php : $sql=" DELETE FROM ".$data_table." WHERE ccampid='T58temp' "; $result=Run_Sql($region3_dialect,$sql); if ($verbose_output) log_time($log,$sql);
./ccamp_update_tables.php : $sql=" DELETE FROM ".$data_table." WHERE ccampid='T59temp' "; $result=Run_Sql($region3_dialect,$sql); if ($verbose_output) log_time($log,$sql);
./ccamp_update_tables.php : $sql=" DELETE FROM ".$data_table." WHERE ccampid='T60temp' "; $result=Run_Sql($region3_dialect,$sql); if ($verbose_output) log_time($log,$sql);
./ccamp_update_tables.php : create_departure_analytes($region3_dialect,$log,$verbose_output,$stat_data_table);
./ccamp_update_tables.php : set_resqualcode($region3_dialect,$log,$verbose_output,$data_table);
./ccamp_update_tables.php : final_patch($region3_dialect,$log,$verbose_output,$org_id,$master_data_table,$stat_data_table,$site_table);
./ccamp_update_tables.php : $sql=" UPDATE ".$data_table." SET LabBatch='CCAMP_Calc_Sums' WHERE MethodName='CCAMP_Calc_Sums' "; Run_Sql($region3_dialect,$sql); if($verbose_output) log_time($log,$sql);
./ccamp_update_tables.php : $sql=" UPDATE ".$data_table." SET LabBatch='CCAMP_SOP_Calc_NH3U_N' WHERE MethodName='CCAMP_SOP_Calc_NH3U_N' "; Run_Sql($region3_dialect,$sql); if($verbose_output) log_time($log,$sql);
./ccamp_update_tables.php : $sql=" UPDATE ".$data_table." SET Lab='RWQCB3' WHERE MethodName='CCAMP_Calc_Sums' "; Run_Sql($region3_dialect,$sql); if($verbose_output) log_time($log,$sql);
./ccamp_update_tables.php : $sql=" UPDATE ".$data_table." SET Lab='RWQCB3' WHERE MethodName='CCAMP_SOP_Calc_NH3U_N' "; Run_Sql($region3_dialect,$sql); if($verbose_output) log_time($log,$sql);
./ccamp_update_tables.php : $sql=" UPDATE ".$data_table." SET AgencyCode='RWQCB3' WHERE MethodName='CCAMP_Calc_Sums' "; Run_Sql($region3_dialect,$sql); if($verbose_output) log_time($log,$sql);
./ccamp_update_tables.php : $sql=" UPDATE ".$data_table." SET AgencyCode='RWQCB3' WHERE MethodName='CCAMP_SOP_Calc_NH3U_N' "; Run_Sql($region3_dialect,$sql); if($verbose_output) log_time($log,$sql);
./ccamp_update_tables.php : $sql=" UPDATE ".$data_table." SET Result=ROUND(Result_val,6) WHERE MethodName='CCAMP_SOP_Calc_NH3U_N' "; Run_Sql($region3_dialect,$sql); if($verbose_output) log_time($log,$sql);
./ccamp_update_tables.php : $sql=" UPDATE ".$data_table." SET Result_val=ROUND(Result,6) WHERE MethodName='CCAMP_SOP_Calc_NH3U_N' "; Run_Sql($region3_dialect,$sql); if($verbose_output) log_time($log,$sql);
./ccamp_update_tables.php : $sql=" UPDATE ".$data_table." SET matrixname='none' WHERE chr_group='Bmi' "; $result=Run_Sql($region3_dialect,$sql); if($verbose_output) log_sql($log,$txt);
./ccamp_update_tables.php : ccampid_2_analytename($region3_dialect,$log,$verbose_output,$org_id,$data_table);
./ccamp_update_tables.php : reset_id_keys($region3_dialect,$log,$verbose_output,$data_table);
./ccamp_update_tables.php : remove_duplicates($region3_dialect,$log,$verbose_output,$data_table);
./ccamp_update_tables.php : reset_id_keys($region3_dialect,$log,$verbose_output,$data_table);
./ccamp_update_tables.php : function create_stat_data_table($region3_dialect,$log,$verbose_output,$org_id,$master_data_table,$stat_data_table,$site_table){
./ccamp_update_tables.php : reset_site_nums($region3_dialect,$site_table);
./ccamp_update_tables.php : $result=Run_Sql($region3_dialect,$sql); if ($verbose_output) log_time($log,$sql);
./ccamp_update_tables.php : $result=Run_Sql($region3_dialect,$sql); if ($verbose_output) log_time($log,$sql);
./ccamp_update_tables.php : $result=Run_Sql($region3_dialect,$sql); if ($verbose_output) log_time($log,$sql);
./ccamp_update_tables.php : function patch_stat_data_table($region3_dialect,$log,$verbose_output,$org_id,$data_table){
./ccamp_update_tables.php : $result=Run_Sql($region3_dialect,$sql); if ($verbose_output) log_time($log,$sql);
./ccamp_update_tables.php : Run_Sql($region3_dialect,$sql); if ($verbose_output) log_time($log,$sql);
./ccamp_update_tables.php : Run_Sql($region3_dialect,$sql); if ($verbose_output) log_time($log,$sql);
./ccamp_update_tables.php : $result=Run_Sql($region3_dialect,$sql); if ($verbose_output) log_time($log,$sql);
./ccamp_update_tables.php : $result=Run_Sql($region3_dialect,$sql); if ($verbose_output) log_time($log,$sql);
./ccamp_update_tables.php : $result=Run_Sql($region3_dialect,$sql); if ($verbose_output) log_time($log,$sql);
./ccamp_update_tables.php : $result=Run_Sql($region3_dialect,$sql); if ($verbose_output) log_time($log,$sql);
./ccamp_update_tables.php : $result=Run_Sql($region3_dialect,$sql); if ($verbose_output) log_time($log,$sql);
./ccamp_update_tables.php : $result=Run_Sql($region3_dialect,$sql); if ($verbose_output) log_time($log,$sql);
./ccamp_update_tables.php : $result=Run_Sql($region3_dialect,$sql); if ($verbose_output) log_time($log,$sql);
./ccamp_update_tables.php : $result=Run_Sql($region3_dialect,$sql); if($verbose_output) log_time($log,$sql);
./ccamp_update_tables.php : $result=Run_Sql($region3_dialect,$sql); if ($verbose_output) log_time($log,$sql);
./ccamp_update_tables.php : $result=Run_Sql($region3_dialect,$sql); if ($verbose_output) log_time($log,$sql);
./ccamp_update_tables.php : $result=Run_Sql($region3_dialect,$sql); if ($verbose_output) log_time($log,$sql);
./ccamp_update_tables.php : $result=Run_Sql($region3_dialect,$sql); if ($verbose_output) log_time($log,$sql);
./ccamp_update_tables.php : $result=Run_Sql($region3_dialect,$sql); if ($verbose_output) log_time($log,$sql);
./ccamp_update_tables.php : $result=Run_Sql($region3_dialect,$sql); if ($verbose_output) log_time($log,$sql);
./ccamp_update_tables.php : $result=Run_Sql($region3_dialect,$sql); if ($verbose_output) log_time($log,$sql);
./ccamp_update_tables.php : $result=Run_Sql($region3_dialect,$sql); if ($verbose_output) log_time($log,$sql);
./ccamp_update_tables.php : $result=Run_Sql($region3_dialect,$sql); if ($verbose_output) log_time($log,$sql);
./ccamp_update_tables.php : $result=Run_Sql($region3_dialect,$sql); if($verbose_output) log_time($log,$sql);
./ccamp_update_tables.php : $result=Run_Sql($region3_dialect,$sql); if($verbose_output) log_time($log,$sql);
./ccamp_update_tables.php : $result=Run_Sql($region3_dialect,$sql); if($verbose_output) log_time($log,$sql);
./ccamp_update_tables.php : $result=Run_Sql($region3_dialect,$sql); if($verbose_output) log_time($log,$sql);
./ccamp_update_tables.php : $result=Run_Sql($region3_dialect,$sql); if ($verbose_output) log_time($log,$sql);
./ccamp_update_tables.php : $result=Run_Sql($region3_dialect,$sql); if ($verbose_output) log_time($log,$sql);
./ccamp_update_tables.php : $result=Run_Sql($region3_dialect,$sql); if ($verbose_output) log_time($log,$sql);
./ccamp_update_tables.php : $result=Run_Sql($region3_dialect,$sql); if($verbose_output) log_time($log,$sql);
./ccamp_update_tables.php : $result=Run_Sql($region3_dialect,$sql); if($verbose_output) log_time($log,$sql);
./ccamp_update_tables.php : $result=Run_Sql($region3_dialect,$sql); if($verbose_output) log_time($log,$sql);
./ccamp_update_tables.php : $result=Run_Sql($region3_dialect,$sql); if ($verbose_output) log_time($log,$sql);
./ccamp_update_tables.php : $result=Run_Sql($region3_dialect,$sql); if($verbose_output) log_time($log,$sql);
./ccamp_update_tables.php : $result=Run_Sql($region3_dialect,$sql); if ($verbose_output) log_time($log,$sql);
./ccamp_update_tables.php : $result=Run_Sql($region3_dialect,$sql); if ($verbose_output) log_time($log,$sql);
./ccamp_update_tables.php : $result=Run_Sql($region3_dialect,$sql); if ($verbose_output) log_time($log,$sql);
./ccamp_update_tables.php : $result=Run_Sql($region3_dialect,$sql); if ($verbose_output) log_time($log,$sql);
./ccamp_update_tables.php : $result=Run_Sql($region3_dialect,$sql); if ($verbose_output) log_time($log,$sql);
./ccamp_update_tables.php : Run_Sql($region3_dialect,$sql); if ($verbose_output) log_time($log,$sql);
./ccamp_update_tables.php : $result=Run_Sql($region3_dialect,$sql); if($verbose_output) log_time($log,$sql);
./ccamp_update_tables.php : Run_Sql($region3_dialect,$sql); if ($verbose_output) log_time($log,$sql);
./ccamp_update_tables.php : $result=Run_Sql($region3_dialect,$sql); if($verbose_output) log_time($log,$sql);
./ccamp_update_tables.php : $result=Run_Sql($region3_dialect,$sql); if($verbose_output) log_sql($log,$txt);
./ccamp_update_tables.php : $result=Run_Sql($region3_dialect,$sql); if($verbose_output) log_sql($log,$txt);
./ccamp_update_tables.php : $result=Run_Sql($region3_dialect,$sql); if($verbose_output) log_time($log,$sql);
./ccamp_update_tables.php : $result=Run_Sql($region3_dialect,$sql); if ($verbose_output) log_time($log,$sql);
./ccamp_update_tables.php : $result=Run_Sql($region3_dialect,$sql); if ($verbose_output) log_time($log,$sql);
./ccamp_update_tables.php : Run_Sql($region3_dialect,$sql); if ($verbose_output) log_time($log,$sql);
./ccamp_update_tables.php : Run_Sql($region3_dialect,$sql); if ($verbose_output) log_time($log,$sql);
./ccamp_update_tables.php : Run_Sql($region3_dialect,$sql); if ($verbose_output) log_time($log,$sql);
./ccamp_update_tables.php : Run_Sql($region3_dialect,$sql); if ($verbose_output) log_time($log,$sql);
./ccamp_update_tables.php : Run_Sql($region3_dialect,$sql); if ($verbose_output) log_time($log,$sql);
./ccamp_update_tables.php : Run_Sql($region3_dialect,$sql); if ($verbose_output) log_time($log,$sql);
./ccamp_update_tables.php : Run_Sql($region3_dialect,$sql); if ($verbose_output) log_time($log,$sql);
./ccamp_update_tables.php : Run_Sql($region3_dialect,$sql); if ($verbose_output) log_time($log,$sql);
./ccamp_update_tables.php : Run_Sql($region3_dialect,$sql); if ($verbose_output) log_time($log,$sql);
./ccamp_update_tables.php : Run_Sql($region3_dialect,$sql); if ($verbose_output) log_time($log,$sql);
./ccamp_update_tables.php : Run_Sql($region3_dialect,$sql); if ($verbose_output) log_time($log,$sql);
./ccamp_update_tables.php : $result=Run_Sql($region3_dialect,$sql); if ($verbose_output) log_time($log,$sql);
./ccamp_update_tables.php : Run_Sql($region3_dialect,$sql); if ($verbose_output) log_time($log,$sql);
./ccamp_update_tables.php : Run_Sql($region3_dialect,$sql); if ($verbose_output) log_time($log,$sql);
./ccamp_update_tables.php : $result=Run_Sql($region3_dialect,$sql); if ($verbose_output) log_time($log,$sql);
./ccamp_update_tables.php : $result=Run_Sql($region3_dialect,$sql); if ($verbose_output) log_time($log,$sql);
./ccamp_update_tables.php : $result=Run_Sql($region3_dialect,$sql); if ($verbose_output) log_time($log,$sql);
./ccamp_update_tables.php : $result=Run_Sql($region3_dialect,$sql); if ($verbose_output) log_time($log,$sql);
./ccamp_update_tables.php : $result=Run_Sql($region3_dialect,$sql); if ($verbose_output) log_time($log,$sql);
./ccamp_update_tables.php : $result=Run_Sql($region3_dialect,$sql); if($verbose_output) log_time($log,$sql);
./ccamp_update_tables.php : $result=Run_Sql($region3_dialect,$sql); if ($verbose_output) log_time($log,$sql);
./ccamp_update_tables.php : $result=Run_Sql($region3_dialect,$sql); if ($verbose_output) log_time($log,$sql);
./ccamp_update_tables.php : $result=Run_Sql($region3_dialect,$sql); if ($verbose_output) log_time($log,$sql);
./ccamp_update_tables.php : $result=Run_Sql($region3_dialect,$sql); if ($verbose_output) log_time($log,$sql);
./ccamp_update_tables.php : $result=Run_Sql($region3_dialect,$sql); if ($verbose_output) log_time($log,$sql);
./ccamp_update_tables.php : $result=Run_Sql($region3_dialect,$sql); if ($verbose_output) log_time($log,$sql);
./ccamp_update_tables.php : $result=Run_Sql($region3_dialect,$sql); if ($verbose_output) log_time($log,$sql);
./ccamp_update_tables.php : $result=Run_Sql($region3_dialect,$sql); if ($verbose_output) log_time($log,$sql);
./ccamp_update_tables.php : $result=Run_Sql($region3_dialect,$sql); if ($verbose_output) log_time($log,$sql);
./ccamp_update_tables.php : $result=Run_Sql($region3_dialect,$sql); if ($verbose_output) log_time($log,$sql);
./ccamp_update_tables.php : $result=Run_Sql($region3_dialect,$sql); if ($verbose_output) log_time($log,$sql);
./ccamp_update_tables.php : $result=Run_Sql($region3_dialect,$sql); if ($verbose_output) log_time($log,$sql);
./ccamp_update_tables.php : $result=Run_Sql($region3_dialect,$sql); if ($verbose_output) log_time($log,$sql);
./ccamp_update_tables.php : $result=Run_Sql($region3_dialect,$sql); if ($verbose_output) log_time($log,$sql);
./ccamp_update_tables.php : $result=Run_Sql($region3_dialect,$sql); if ($verbose_output) log_time($log,$sql);
./ccamp_update_tables.php : $result=Run_Sql($region3_dialect,$sql); if ($verbose_output) log_time($log,$sql);
./ccamp_update_tables.php : $result=Run_Sql($region3_dialect,$sql); if ($verbose_output) log_time($log,$sql);
./ccamp_update_tables.php : $result=Run_Sql($region3_dialect,$sql); if ($verbose_output) log_time($log,$sql);
./ccamp_update_tables.php : $result=Run_Sql($region3_dialect,$sql); if ($verbose_output) log_time($log,$sql);
./ccamp_update_tables.php : $result=Run_Sql($region3_dialect,$sql); if ($verbose_output) log_time($log,$sql);
./ccamp_update_tables.php : $result=Run_Sql($region3_dialect,$sql); if ($verbose_output) log_time($log,$sql);
./ccamp_update_tables.php : $result=Run_Sql($region3_dialect,$sql); if ($verbose_output) log_time($log,$sql);
./ccamp_update_tables.php : Run_Sql($region3_dialect,$sql); if ($verbose_output) log_time($log,$sql);
./ccamp_update_tables.php : $result=Run_Sql($region3_dialect,$sql); if ($verbose_output) log_time($log,$sql);
./ccamp_update_tables.php : $result=Run_Sql($region3_dialect,$sql); if ($verbose_output) log_time($log,$sql);
./ccamp_update_tables.php : $result=Run_Sql($region3_dialect,$sql); if ($verbose_output) log_time($log,$sql);
./ccamp_update_tables.php : $result=Run_Sql($region3_dialect,$sql); if ($verbose_output) log_time($log,$sql);
./ccamp_update_tables.php : $result=Run_Sql($region3_dialect,$sql); if ($verbose_output) log_time($log,$sql);
./ccamp_update_tables.php : $result=Run_Sql($region3_dialect,$sql); if ($verbose_output) log_time($log,$sql);
./ccamp_update_tables.php : $result=Run_Sql($region3_dialect,$sql); if ($verbose_output) log_time($log,$sql);
./ccamp_update_tables.php : $result=Run_Sql($region3_dialect,$sql); if ($verbose_output) log_time($log,$sql);
./ccamp_update_tables.php : $result=Run_Sql($region3_dialect,$sql); if ($verbose_output) log_time($log,$sql);
./ccamp_update_tables.php : $result=Run_Sql($region3_dialect,$sql); if ($verbose_output) log_time($log,$sql);
./ccamp_update_tables.php : $result=Run_Sql($region3_dialect,$sql); if ($verbose_output) log_time($log,$sql);
./ccamp_update_tables.php : $result=Run_Sql($region3_dialect,$sql); if ($verbose_output) log_time($log,$sql);
./ccamp_update_tables.php : $result=Run_Sql($region3_dialect,$sql); if ($verbose_output) log_time($log,$sql);
./ccamp_update_tables.php : $result=Run_Sql($region3_dialect,$sql); if ($verbose_output) log_time($log,$sql);
./ccamp_update_tables.php : $result=Run_Sql($region3_dialect,$sql); if ($verbose_output) log_time($log,$sql);
./ccamp_update_tables.php : function create_web_data($region3_dialect,$log,$verbose_output,$stat_data_table,$web_data_table,$site_table){
./ccamp_update_tables.php : $sql=" DROP TABLE IF EXISTS ceden.".$web_data_table; Run_Sql($region3_dialect,$sql); if ($verbose_output) log_time($log,$sql);
./ccamp_update_tables.php : $sql=" CREATE TABLE ceden.".$web_data_table." LIKE ceden.web_data"; Run_Sql($region3_dialect,$sql); if ($verbose_output) log_time($log,$sql);
./ccamp_update_tables.php : $result=Run_Sql($region3_dialect,$sql);
./ccamp_update_tables.php : while ($data=sql_fetch_assoc($region3_dialect,$result))
./ccamp_update_tables.php : $result2=Run_Sql($region3_dialect,$sql); if ($verbose_output) log_time($log,$sql);
./ccamp_update_tables.php : $result=Run_Sql($region3_dialect,$sql); if($verbose_output) log_time($log,$sql);
./ccamp_update_tables.php : while ($data_row=sql_fetch_assoc($region3_dialect,$result)){
./ccamp_update_tables.php : $result1=Run_Sql($region3_dialect,$sql); if($verbose_output) log_time($log,$sql);
./ccamp_update_tables.php : $sql=" UPDATE ".$web_data_table." SET chr_group='Fal' WHERE RIGHT(ccampid,2)='_L' OR RIGHT(ccampid,3)='_ML' OR RIGHT(ccampid,3)='_YL' "; Run_Sql($region3_dialect,$sql); if($verbose_output) log_sql($log,$txt);
./ccamp_update_tables.php : $sql=" DELETE FROM ".$web_data_table." WHERE ccampid='CHLORA_ML' AND ResultUnit='mv'"; Run_Sql($region3_dialect,$sql); if($verbose_output) log_sql($log,$txt);
./ccamp_update_tables.php : $result=Run_Sql($region3_dialect,$sql); if($verbose_output) log_sql($log,$txt);
./ccamp_update_tables.php : $result=Run_Sql($region3_dialect,$sql); if($verbose_output) log_sql($log,$txt);
./ccamp_update_tables.php : $result=Run_Sql($region3_dialect,$sql); if($verbose_output) log_time($log,$sql);
./ccamp_update_tables.php : function create_web_data_Quick($region3_dialect,$log,$verbose_output,$stat_data_table,$web_data_table,$site_table){
./ccamp_update_tables.php : $sql=" DROP TABLE IF EXISTS ceden.".$web_data_table; Run_Sql($region3_dialect,$sql); if ($verbose_output) log_time($log,$sql);
./ccamp_update_tables.php : $sql=" CREATE TABLE ceden.".$web_data_table." LIKE ceden.web_data"; Run_Sql($region3_dialect,$sql); if ($verbose_output) log_time($log,$sql);
./ccamp_update_tables.php : $result=Run_Sql($region3_dialect,$sql);
./ccamp_update_tables.php : while ($data=sql_fetch_assoc($region3_dialect,$result))
./ccamp_update_tables.php : $result2=Run_Sql($region3_dialect,$sql); if ($verbose_output) log_time($log,$sql);
./ccamp_update_tables.php : $result=Run_Sql($region3_dialect,$sql); if($verbose_output) log_time($log,$sql);
./ccamp_update_tables.php : while ($data_row=sql_fetch_assoc($region3_dialect,$result)){
./ccamp_update_tables.php : $result1=Run_Sql($region3_dialect,$sql); if($verbose_output) log_time($log,$sql);
./ccamp_update_tables.php : $sql=" DELETE FROM ".$web_data_table." WHERE ccampid='CHLORA_ML' AND ResultUnit='mv'"; Run_Sql($region3_dialect,$sql); if($verbose_output) log_sql($log,$txt);
./ccamp_update_tables.php : function create_wqa_data_Quick($region3_dialect,$log,$verbose_output,$org_id,$web_data_table,$wqa_table,$analyte_table,$site_table){
./ccamp_update_tables.php : Run_Sql($region3_dialect,$sql); if ($verbose_output) log_time($log,$sql);
./ccamp_update_tables.php : Run_Sql($region3_dialect,$sql); if ($verbose_output) log_time($log,$sql);
./ccamp_update_tables.php : Run_Sql($region3_dialect,$sql); if ($verbose_output) log_time($log,$sql);
./ccamp_update_tables.php : Run_Sql($region3_dialect,$sql);
./ccamp_update_tables.php : Run_Sql($region3_dialect,$sql); if ($verbose_output) log_time($log,$sql);
./ccamp_update_tables.php : $result=Run_sql($region3_dialect,$sql); if ($verbose_output) log_time($log,$sql);
./ccamp_update_tables.php : while ($data_row=sql_fetch_assoc($region3_dialect,$result))
./ccamp_update_tables.php : $result1=Run_sql($region3_dialect,$sql);
./ccamp_update_tables.php : $site_row=sql_fetch_assoc($region3_dialect,$result1);
./ccamp_update_tables.php : $result2=Run_Sql($region3_dialect,$sql); if ($verbose_output) log_time($log,$sql);
./ccamp_update_tables.php : $result=Run_Sql($region3_dialect,$sql); if ($verbose_output) log_time($log,$sql);
./ccamp_update_tables.php : while ($data_row=sql_fetch_assoc($region3_dialect,$result))
./ccamp_update_tables.php : $result1=Run_Sql($region3_dialect,$sql);
./ccamp_update_tables.php : $site_row=sql_fetch_assoc($region3_dialect,$result1);
./ccamp_update_tables.php : Run_Sql($region3_dialect,$sql); if ($verbose_output) log_time($log,$sql);
./ccamp_update_tables.php : $result2=Run_Sql($region3_dialect,$sql); if ($verbose_output) log_time($log,$sql);
./ccamp_update_tables.php : $result=Run_Sql($region3_dialect,$sql); if($verbose_output) log_sql($log,$txt);
./ccamp_update_tables.php : $result=Run_Sql($region3_dialect,$sql); if($verbose_output) log_sql($log,$txt);
./ccamp_update_tables.php : $result=Run_Sql($region3_dialect,$sql); if($verbose_output) log_sql($log,$txt);
./ccamp_update_tables.php : $result=Run_Sql($region3_dialect,$sql); if($verbose_output) log_sql($log,$txt);
./ccamp_update_tables.php : $result=Run_Sql($region3_dialect,$sql); if($verbose_output) log_sql($log,$txt);
./ccamp_update_tables.php : $result=Run_Sql($region3_dialect,$sql); if($verbose_output) log_sql($log,$txt);
./ccamp_update_tables.php : $sql=" UPDATE ".$wqa_table." SET chr_subgroup='Bmi_99' WHERE chr_group='Bmi' "; $result=Run_Sql($region3_dialect,$sql); if($verbose_output) log_sql($log,$txt);
./ccamp_update_tables.php : $sql=" UPDATE ".$wqa_table." SET chr_subgroup='Bmi_01' WHERE ccampid='B_CSCI' "; $result=Run_Sql($region3_dialect,$sql); if($verbose_output) log_sql($log,$txt);
./ccamp_update_tables.php : $sql=" UPDATE ".$wqa_table." SET chr_subgroup='Bmi_02' WHERE ccampid='B_SOCALIBI' "; $result=Run_Sql($region3_dialect,$sql); if($verbose_output) log_sql($log,$txt);
./ccamp_update_tables.php : $sql=" UPDATE ".$wqa_table." SET chr_subgroup='Bmi_03' WHERE ccampid='B_NOCALIBI' "; $result=Run_Sql($region3_dialect,$sql); if($verbose_output) log_sql($log,$txt);
./ccamp_update_tables.php : $sql=" UPDATE ".$wqa_table." SET chr_subgroup='Bmi_04' WHERE ccampid='B_ETTAXA_SP' "; $result=Run_Sql($region3_dialect,$sql); if($verbose_output) log_sql($log,$txt);
./ccamp_update_tables.php : reset_id_keys($region3_dialect,$log,$verbose_output,$wqa_table);
./ccamp_update_tables.php : function create_wqa_data($region3_dialect,$log,$verbose_output,$org_id,$web_data_table,$wqa_table,$analyte_table,$site_table){
./ccamp_update_tables.php : Run_Sql($region3_dialect,$sql); if ($verbose_output) log_time($log,$sql);
./ccamp_update_tables.php : Run_Sql($region3_dialect,$sql); if ($verbose_output) log_time($log,$sql);
./ccamp_update_tables.php : Run_Sql($region3_dialect,$sql); if ($verbose_output) log_time($log,$sql);
./ccamp_update_tables.php : Run_Sql($region3_dialect,$sql);
./ccamp_update_tables.php : Run_Sql($region3_dialect,$sql); if ($verbose_output) log_time($log,$sql);
./ccamp_update_tables.php : $result=Run_sql($region3_dialect,$sql); if ($verbose_output) log_time($log,$sql);
./ccamp_update_tables.php : while ($data_row=sql_fetch_assoc($region3_dialect,$result))
./ccamp_update_tables.php : $result1=Run_sql($region3_dialect,$sql);
./ccamp_update_tables.php : $site_row=sql_fetch_assoc($region3_dialect,$result1);
./ccamp_update_tables.php : $result2=Run_Sql($region3_dialect,$sql); if ($verbose_output) log_time($log,$sql);
./ccamp_update_tables.php : $result=Run_Sql($region3_dialect,$sql); if ($verbose_output) log_time($log,$sql);
./ccamp_update_tables.php : while ($data_row=sql_fetch_assoc($region3_dialect,$result))
./ccamp_update_tables.php : $result1=Run_Sql($region3_dialect,$sql);
./ccamp_update_tables.php : $site_row=sql_fetch_assoc($region3_dialect,$result1);
./ccamp_update_tables.php : Run_Sql($region3_dialect,$sql); if ($verbose_output) log_time($log,$sql);
./ccamp_update_tables.php : $result2=Run_Sql($region3_dialect,$sql); if ($verbose_output) log_time($log,$sql);
./ccamp_update_tables.php : $result=Run_Sql($region3_dialect,$sql); if($verbose_output) log_sql($log,$txt);
./ccamp_update_tables.php : $result=Run_Sql($region3_dialect,$sql); if($verbose_output) log_sql($log,$txt);
./ccamp_update_tables.php : $result=Run_Sql($region3_dialect,$sql); if($verbose_output) log_sql($log,$txt);
./ccamp_update_tables.php : $result=Run_Sql($region3_dialect,$sql); if($verbose_output) log_sql($log,$txt);
./ccamp_update_tables.php : $result=Run_Sql($region3_dialect,$sql); if($verbose_output) log_sql($log,$txt);
./ccamp_update_tables.php : $result=Run_Sql($region3_dialect,$sql); if($verbose_output) log_sql($log,$txt);
./ccamp_update_tables.php : $sql=" UPDATE ".$wqa_table." SET chr_subgroup='Bmi_99' WHERE chr_group='Bmi' "; $result=Run_Sql($region3_dialect,$sql); if($verbose_output) log_sql($log,$txt);
./ccamp_update_tables.php : $sql=" UPDATE ".$wqa_table." SET chr_subgroup='Bmi_01' WHERE ccampid='B_CSCI' "; $result=Run_Sql($region3_dialect,$sql); if($verbose_output) log_sql($log,$txt);
./ccamp_update_tables.php : $sql=" UPDATE ".$wqa_table." SET chr_subgroup='Bmi_02' WHERE ccampid='B_SOCALIBI' "; $result=Run_Sql($region3_dialect,$sql); if($verbose_output) log_sql($log,$txt);
./ccamp_update_tables.php : $sql=" UPDATE ".$wqa_table." SET chr_subgroup='Bmi_03' WHERE ccampid='B_NOCALIBI' "; $result=Run_Sql($region3_dialect,$sql); if($verbose_output) log_sql($log,$txt);
./ccamp_update_tables.php : $sql=" UPDATE ".$wqa_table." SET chr_subgroup='Bmi_04' WHERE ccampid='B_ETTAXA_SP' "; $result=Run_Sql($region3_dialect,$sql); if($verbose_output) log_sql($log,$txt);
./ccamp_update_tables.php : $result=Run_Sql($region3_dialect,$sql); #echo $sql."br";
./ccamp_update_tables.php : $result=Run_Sql($region3_dialect,$sql); #echo $sql."br";
./ccamp_update_tables.php : $result=Run_Sql($region3_dialect,$sql); #echo $sql."br";
./ccamp_update_tables.php : $result=Run_Sql($region3_dialect,$sql);
./ccamp_update_tables.php : $result=Run_Sql($region3_dialect,$sql); if ($verbose_output) log_time($log,$sql);
./ccamp_update_tables.php : $result=Run_Sql($region3_dialect,$sql); log_time($log,$sql);
./ccamp_update_tables.php : $result=Run_Sql($region3_dialect,$sql); if($log_verbose)log_time($log,$sql);
./ccamp_update_tables.php : reset_id_keys($region3_dialect,$log,$verbose_output,$wqa_table);
./ccamp_update_tables.php : function calc_no3no2($region3_dialect,$log,$verbose_output,$analyte_table,$data_table){
./ccamp_update_tables.php : reset_id_keys($region3_dialect,$log,$verbose_output,$data_table);
./ccamp_update_tables.php : $dataresult=Run_Sql($region3_dialect,$sql); if($verbose_output) log_sql($log,$txt);
./ccamp_update_tables.php : $dataresult=Run_Sql($region3_dialect,$sql); if($verbose_output) log_sql($log,$txt);
./ccamp_update_tables.php : $dataresult=Run_Sql($region3_dialect,$sql); if($verbose_output) log_sql($log,$txt);
./ccamp_update_tables.php : $dataresult=Run_Sql($region3_dialect,$sql); if($verbose_output) log_sql($log,$txt);
./ccamp_update_tables.php : $dataresult=Run_Sql($region3_dialect,$sql); if($verbose_output) log_sql($log,$txt);
./ccamp_update_tables.php : $dataresult=Run_Sql($region3_dialect,$sql); if($verbose_output) log_sql($log,$txt);
./ccamp_update_tables.php : $dataresult=Run_Sql($region3_dialect,$sql); if($verbose_output) log_sql($log,$txt);
./ccamp_update_tables.php : $dataresult=Run_Sql($region3_dialect,$sql); if($verbose_output) log_sql($log,$txt);
./ccamp_update_tables.php : $dataresult=Run_Sql($region3_dialect,$sql); if($verbose_output) log_sql($log,$txt);
./ccamp_update_tables.php : $dataresult=Run_Sql($region3_dialect,$sql); if($verbose_output) log_sql($log,$txt);
./ccamp_update_tables.php : $dataresult=Run_Sql($region3_dialect,$sql); if($verbose_output) log_sql($log,$txt);
./ccamp_update_tables.php : $dataresult=Run_Sql($region3_dialect,$sql); if($verbose_output) log_sql($log,$txt);
./ccamp_update_tables.php : $dataresult=Run_Sql($region3_dialect,$sql); if($verbose_output) log_sql($log,$txt);
./ccamp_update_tables.php : reset_id_keys($region3_dialect,$log,$verbose_output,$data_table);
./ccamp_update_tables.php : $dataresult=Run_Sql($region3_dialect,$sql); if($verbose_output) log_sql($log,$txt);
./ccamp_update_tables.php : $dataresult=Run_Sql($region3_dialect,$sql); if($verbose_output) log_sql($log,$txt);
./ccamp_update_tables.php : $dataresult=Run_Sql($region3_dialect,$sql); if($verbose_output) log_sql($log,$txt);
./ccamp_update_tables.php : sql_free_result($region3_dialect,$dataresult);
./ccamp_update_tables.php : function calc_tss($region3_dialect,$log,$verbose_output,$data_table){
./ccamp_update_tables.php : $result=Run_Sql($region3_dialect,$sql); if($verbose_output) log_sql($log,$txt);
./ccamp_update_tables.php : $result=Run_Sql($region3_dialect,$sql); if($verbose_output) log_sql($log,$txt);
./ccamp_update_tables.php : $dataresult=Run_Sql($region3_dialect,$sql); if($verbose_output) log_sql($log,$txt);
./ccamp_update_tables.php : $dataresult=Run_Sql($region3_dialect,$sql); if($verbose_output) log_sql($log,$txt);
./ccamp_update_tables.php : $dataresult=Run_Sql($region3_dialect,$sql); if($verbose_output) log_sql($log,$txt);
./ccamp_update_tables.php : $dataresult=Run_Sql($region3_dialect,$sql); if($verbose_output) log_sql($log,$txt);
./ccamp_update_tables.php : $dataresult=Run_Sql($region3_dialect,$sql); if($verbose_output) log_sql($log,$txt);
./ccamp_update_tables.php : $dataresult=Run_Sql($region3_dialect,$sql); if($verbose_output) log_sql($log,$txt);
./ccamp_update_tables.php : $dataresult=Run_Sql($region3_dialect,$sql); if($verbose_output) log_sql($log,$txt);
./ccamp_update_tables.php : $dataresult=Run_Sql($region3_dialect,$sql); if($verbose_output) log_sql($log,$txt);
./ccamp_update_tables.php : $dataresult=Run_Sql($region3_dialect,$sql); if($verbose_output) log_sql($log,$txt);
./ccamp_update_tables.php : $dataresult=Run_Sql($region3_dialect,$sql); if($verbose_output) log_sql($log,$txt);
./ccamp_update_tables.php : $result=Run_Sql($region3_dialect,$sql); if($verbose_output) log_sql($log,$txt);
./ccamp_update_tables.php : while ($data=sql_fetch_assoc($region3_dialect,$result)){
./ccamp_update_tables.php : $result1=Run_Sql($region3_dialect,$sql); if($verbose_output) log_sql($log,$txt);
./ccamp_update_tables.php : $result=Run_Sql($region3_dialect,$sql); if($verbose_output) log_sql($log,$txt);
./ccamp_update_tables.php : function calc_tds($region3_dialect,$log,$verbose_output,$analyte_table,$data_table){
./ccamp_update_tables.php : $dataresult=Run_Sql($region3_dialect,$sql); if($verbose_output) log_sql($log,$txt);
./ccamp_update_tables.php : $dataresult=Run_Sql($region3_dialect,$sql); if($verbose_output) log_sql($log,$txt);
./ccamp_update_tables.php : $dataresult=Run_Sql($region3_dialect,$sql); if($verbose_output) log_sql($log,$txt);
./ccamp_update_tables.php : $dataresult=Run_Sql($region3_dialect,$sql); if($verbose_output) log_sql($log,$txt);
./ccamp_update_tables.php : $dataresult=Run_Sql($region3_dialect,$sql); if($verbose_output) log_sql($log,$txt);
./ccamp_update_tables.php : $dataresult=Run_Sql($region3_dialect,$sql); if($verbose_output) log_sql($log,$txt);
./ccamp_update_tables.php : $result=Run_Sql($region3_dialect,$sql); if($verbose_output) log_sql($log,$txt);
./ccamp_update_tables.php : while ($data=sql_fetch_assoc($region3_dialect,$result)){
./ccamp_update_tables.php : $dataresult=Run_Sql($region3_dialect,$sql); if($verbose_output) log_sql($log,$txt);
./ccamp_update_tables.php : $result=Run_Sql($region3_dialect,$sql); if($verbose_output) log_sql($log,$txt);
./ccamp_update_tables.php : $dataresult=Run_Sql($region3_dialect,$sql); if($verbose_output) log_sql($log,$txt);
./ccamp_update_tables.php : $result=Run_Sql($region3_dialect,$sql); if($verbose_output) log_sql($log,$txt);
./ccamp_update_tables.php : $dataresult=Run_Sql($region3_dialect,$sql); if($verbose_output) log_sql($log,$txt);
./ccamp_update_tables.php : $dataresult=Run_Sql($region3_dialect,$sql); if($verbose_output) log_sql($log,$txt);
./ccamp_update_tables.php : reset_id_keys($region3_dialect,$log,$verbose_output,$data_table);
./ccamp_update_tables.php : $dataresult=Run_Sql($region3_dialect,$sql); if($verbose_output) log_sql($log,$txt);
./ccamp_update_tables.php : $dataresult=Run_Sql($region3_dialect,$sql); if($verbose_output) log_sql($log,$txt);
./ccamp_update_tables.php : function reset_id_keys($region3_dialect,$log,$verbose_output,$table_to_reset){
./ccamp_update_tables.php : $dataresult=Run_Sql($region3_dialect,$sql);
./ccamp_update_tables.php : $dataresult=Run_Sql($region3_dialect,$sql);
./ccamp_update_tables.php : $dataresult=Run_Sql($region3_dialect,$sql);
./ccamp_update_tables.php : function reset_site_nums($region3_dialect,$table_to_reset){
./ccamp_update_tables.php : $dataresult=Run_Sql($region3_dialect,$sql);
./ccamp_update_tables.php : $dataresult=Run_Sql($region3_dialect,$sql);
./ccamp_update_tables.php : $dataresult=Run_Sql($region3_dialect,$sql);
./ccamp_update_tables.php : function create_departure_analytes($region3_dialect,$log,$verbose_output,$stat_data_table){
./ccamp_update_tables.php : create_departure_analyte($region3_dialect,$log,$verbose_output,$stat_data_table,$ccampid,$lo_limit,$hi_limit);
./ccamp_update_tables.php : create_departure_analyte($region3_dialect,$log,$verbose_output,$stat_data_table,$ccampid,$lo_limit,$hi_limit);
./ccamp_update_tables.php : function create_lt_analyte($region3_dialect,$log,$verbose_output,$stat_data_table,$ccampid,$lo_limit,$hi_limit){
./ccamp_update_tables.php : $dataresult=Run_Sql($region3_dialect,$sql); if ($verbose_output) log_time($log,$sql);
./ccamp_update_tables.php : $result=Run_Sql($region3_dialect,$sql); if ($verbose_output) log_time($log,$sql);
./ccamp_update_tables.php : $dataresult=Run_Sql($region3_dialect,$sql); if ($verbose_output) log_time($log,$sql);
./ccamp_update_tables.php : $dataresult=Run_Sql($region3_dialect,$sql); if ($verbose_output) log_time($log,$sql);
./ccamp_update_tables.php : $sql="SELECT * FROM r3_temp"; $result=Run_Sql($region3_dialect,$sql);
./ccamp_update_tables.php : while ($data=sql_fetch_assoc($region3_dialect,$result)){
./ccamp_update_tables.php : $result1=Run_Sql($region3_dialect,$sql); if ($verbose_output) log_time($log,$sql);
./ccamp_update_tables.php : $dataresult=Run_Sql($region3_dialect,$sql); if ($verbose_output) log_time($log,$sql);
./ccamp_update_tables.php : $dataresult=Run_Sql($region3_dialect,$sql); if ($verbose_output) log_time($log,$sql);
./ccamp_update_tables.php : $dataresult=Run_Sql($region3_dialect,$sql); if ($verbose_output) log_time($log,$sql);
./ccamp_update_tables.php : $dataresult=Run_Sql($region3_dialect,$sql); if ($verbose_output) log_time($log,$sql);
./ccamp_update_tables.php : $dataresult=Run_Sql($region3_dialect,$sql); if ($verbose_output) log_time($log,$sql);
./ccamp_update_tables.php : $result=Run_Sql($region3_dialect,$sql); if ($verbose_output) log_time($log,$sql);
./ccamp_update_tables.php : $result=Run_Sql($region3_dialect,$sql); if ($verbose_output) log_time($log,$sql);
./ccamp_update_tables.php : $result=Run_Sql($region3_dialect,$sql); if ($verbose_output) log_time($log,$sql);
./ccamp_update_tables.php : $dataresult=Run_Sql($region3_dialect,$sql); if ($verbose_output) log_time($log,$sql);
./ccamp_update_tables.php : function create_gt_analyte($region3_dialect,$log,$verbose_output,$stat_data_table,$ccampid,$lo_limit,$hi_limit){
./ccamp_update_tables.php : $dataresult=Run_Sql($region3_dialect,$sql); if ($verbose_output) log_time($log,$sql);
./ccamp_update_tables.php : $result=Run_Sql($region3_dialect,$sql); if ($verbose_output) {$txt=$sql; log_time($log,$txt);}
./ccamp_update_tables.php : $dataresult=Run_Sql($region3_dialect,$sql); if ($verbose_output) log_time($log,$sql);
./ccamp_update_tables.php : $dataresult=Run_Sql($region3_dialect,$sql); if ($verbose_output) log_time($log,$sql);
./ccamp_update_tables.php : $result=Run_Sql($region3_dialect,$sql);
./ccamp_update_tables.php : while ($data=sql_fetch_assoc($region3_dialect,$result)){
./ccamp_update_tables.php : $result1=Run_Sql($region3_dialect,$sql); if ($verbose_output) {$txt=$sql; log_time($log,$txt);}
./ccamp_update_tables.php : $dataresult=Run_Sql($region3_dialect,$sql); if ($verbose_output) log_time($log,$sql);
./ccamp_update_tables.php : $dataresult=Run_Sql($region3_dialect,$sql); if ($verbose_output) log_time($log,$sql);
./ccamp_update_tables.php : $dataresult=Run_Sql($region3_dialect,$sql); if ($verbose_output) log_time($log,$sql);
./ccamp_update_tables.php : $dataresult=Run_Sql($region3_dialect,$sql); if ($verbose_output) log_time($log,$sql);
./ccamp_update_tables.php : $dataresult=Run_Sql($region3_dialect,$sql); if ($verbose_output) log_time($log,$sql);
./ccamp_update_tables.php : $sql=$sql ." WHERE ccampid='".$ccampid."_GT' "; $result=Run_Sql($region3_dialect,$sql); if ($verbose_output) log_time($log,$sql);
./ccamp_update_tables.php : $result=Run_Sql($region3_dialect,$sql); if ($verbose_output) log_time($log,$sql);
./ccamp_update_tables.php : $result=Run_Sql($region3_dialect,$sql); if ($verbose_output) log_time($log,$sql);
./ccamp_update_tables.php : $dataresult=Run_Sql($region3_dialect,$sql); if ($verbose_output) log_time($log,$sql);
./ccamp_update_tables.php : function create_departure_analyte($region3_dialect,$log,$verbose_output,$stat_data_table,$ccampid,$lo_limit,$hi_limit){
./ccamp_update_tables.php : $dataresult=Run_Sql($region3_dialect,$sql); if ($verbose_output) log_time($log,$sql);
./ccamp_update_tables.php : $dataresult=Run_Sql($region3_dialect,$sql); if ($verbose_output) log_time($log,$sql);
./ccamp_update_tables.php : $dataresult=Run_Sql($region3_dialect,$sql); if ($verbose_output) log_time($log,$sql);
./ccamp_update_tables.php : $dataresult=Run_Sql($region3_dialect,$sql); if ($verbose_output) log_time($log,$sql);
./ccamp_update_tables.php : $dataresult=Run_Sql($region3_dialect,$sql); if ($verbose_output) log_time($log,$sql);
./ccamp_update_tables.php : $dataresult=Run_Sql($region3_dialect,$sql); if ($verbose_output) log_time($log,$sql);
./ccamp_update_tables.php : $dataresult=Run_Sql($region3_dialect,$sql); if ($verbose_output) log_time($log,$sql);
./ccamp_update_tables.php : $dataresult=Run_Sql($region3_dialect,$sql); if ($verbose_output) log_time($log,$sql);
./ccamp_update_tables.php : $dataresult=Run_Sql($region3_dialect,$sql); if ($verbose_output) log_time($log,$sql);
./ccamp_update_tables.php : $result=Run_Sql($region3_dialect,$sql); if ($verbose_output) log_time($log,$sql);
./ccamp_update_tables.php : $result=Run_Sql($region3_dialect,$sql); if ($verbose_output) log_time($log,$sql);
./ccamp_update_tables.php : $result=Run_Sql($region3_dialect,$sql); if ($verbose_output) log_time($log,$sql);
./ccamp_update_tables.php : $result=Run_Sql($region3_dialect,$sql); if ($verbose_output) log_time($log,$sql);
./ccamp_update_tables.php : $result=Run_Sql($region3_dialect,$sql); if ($verbose_output) log_time($log,$sql);
./ccamp_update_tables.php : function calc_nh3u($region3_dialect,$log,$verbose_output,$data_table){
./ccamp_update_tables.php : $sql=" UPDATE ".$data_table." SET MDL=0.01,RL=0.02 WHERE ccampid='NH3_N' AND sitetag='305FRA' AND MDL=-88 "; Run_Sql($region3_dialect,$sql); if ($verbose_output) log_time($log,$sql);
./ccamp_update_tables.php : $sql=" UPDATE ".$data_table." SET MDL=0.01,RL=0.02 WHERE ccampid='NH3_N' AND sitetag='305LCS' AND MDL=-88 "; Run_Sql($region3_dialect,$sql); if ($verbose_output) log_time($log,$sql);
./ccamp_update_tables.php : $sql=" UPDATE ".$data_table." SET MDL=0.01,RL=0.02 WHERE ccampid='NH3_N' AND sitetag='305TSR' AND MDL=-88 "; Run_Sql($region3_dialect,$sql); if ($verbose_output) log_time($log,$sql);
./ccamp_update_tables.php : reset_id_keys($region3_dialect,$log,$verbose_output,$data_table);
./ccamp_update_tables.php : $dataresult=Run_Sql($region3_dialect,$sql); if ($verbose_output) log_time($log,$sql);
./ccamp_update_tables.php : $dataresult=Run_Sql($region3_dialect,$sql); if ($verbose_output) log_time($log,$sql);
./ccamp_update_tables.php : $dataresult=Run_Sql($region3_dialect,$sql); if ($verbose_output) log_time($log,$sql);
./ccamp_update_tables.php : $dataresult=Run_Sql($region3_dialect,$sql); if ($verbose_output) log_time($log,$sql);
./ccamp_update_tables.php : $dataresult=Run_Sql($region3_dialect,$sql); if ($verbose_output) log_time($log,$sql);
./ccamp_update_tables.php : $dataresult=Run_Sql($region3_dialect,$sql); if ($verbose_output) log_time($log,$sql);
./ccamp_update_tables.php : $dataresult=Run_Sql($region3_dialect,$sql); if ($verbose_output) log_time($log,$sql);
./ccamp_update_tables.php : $dataresult=Run_Sql($region3_dialect,$sql); if ($verbose_output) log_time($log,$sql);
./ccamp_update_tables.php : $dataresult=Run_Sql($region3_dialect,$sql); if ($verbose_output) log_time($log,$sql);
./ccamp_update_tables.php : $dataresult=Run_Sql($region3_dialect,$sql); if ($verbose_output) log_time($log,$sql);
./ccamp_update_tables.php : $sql="CREATE TABLE ceden.raw_data_new SELECT * FROM ".$data_table." WHERE ccampid='NH3_N' "; $dataresult=sql_query($region3_dialect,$sql); if ($verbose_output) log_time($log,$sql);
./ccamp_update_tables.php : $result=Run_Sql($region3_dialect,$sql); if ($verbose_output) log_time($log,$sql);
./ccamp_update_tables.php : while ($data=sql_fetch_assoc($region3_dialect,$result)){
./ccamp_update_tables.php : $result1=Run_Sql($region3_dialect,$sql); if ($verbose_output) log_time($log,$sql);
./ccamp_update_tables.php : $sql="DELETE FROM ".$data_table." WHERE ccampid='NH3U_N' "; Run_Sql($region3_dialect,$sql); if ($verbose_output) log_time($log,$sql);
./ccamp_update_tables.php : $dataresult=sql_query($region3_dialect,$sql); if ($verbose_output) log_time($log,$sql);
./ccamp_update_tables.php : sql_free_result($region3_dialect,$dataresult);
./ccamp_update_tables.php : $dataresult=sql_query($region3_dialect,$sql); if ($verbose_output) log_time($log,$sql);
./ccamp_update_tables.php : sql_free_result($region3_dialect,$dataresult);
./ccamp_update_tables.php : $dataresult=sql_query($region3_dialect,$sql); if ($verbose_output) log_time($log,$sql);
./ccamp_update_tables.php : sql_free_result($region3_dialect,$dataresult);
./ccamp_update_tables.php : $dataresult=sql_query($region3_dialect,$sql); if ($verbose_output) log_time($log,$sql);
./ccamp_update_tables.php : sql_free_result($region3_dialect,$dataresult);
./ccamp_update_tables.php : $dataresult=sql_query($region3_dialect,$sql); if ($verbose_output) log_time($log,$sql);
./ccamp_update_tables.php : sql_free_result($region3_dialect,$dataresult);
./ccamp_update_tables.php : $dataresult=sql_query($region3_dialect,$sql); if ($verbose_output) log_time($log,$sql);
./ccamp_update_tables.php : sql_free_result($region3_dialect,$dataresult);
./ccamp_update_tables.php : function fixhus($region3_dialect,$log,$org_id){
./ccamp_update_tables.php : $sql=" UPDATE ".$table_name." SET HU=LEFT(SiteTag,3) WHERE LEFT(SiteTag,1)='3' "; $result=Run_Sql($region3_dialect,$sql);
./ccamp_update_tables.php : $sql=" UPDATE ".$table_name." SET HU=LEFT(Site_Tag,3) WHERE LEFT(Site_Tag,1)='3' "; $result=Run_Sql($region3_dialect,$sql);
./ccamp_update_tables.php : $sql=" UPDATE ".$table_name. " SET hu=LEFT(site_tag,3) "; $result=Run_Sql($region3_dialect,$sql);
./ccamp_update_tables.php : $sql=" UPDATE ".$table_name. " SET huname='Santa Cruz (304)' WHERE hu=304 "; $result=Run_Sql($region3_dialect,$sql);
./ccamp_update_tables.php : $sql=" UPDATE ".$table_name. " SET huname='Pajaro River (305)' WHERE hu=305 "; $result=Run_Sql($region3_dialect,$sql);
./ccamp_update_tables.php : $sql=" UPDATE ".$table_name. " SET huname='Elkhorn Slough (306)' WHERE hu=306 "; $result=Run_Sql($region3_dialect,$sql);
./ccamp_update_tables.php : $sql=" UPDATE ".$table_name. " SET huname='Carmel River(307)' WHERE hu=307 "; $result=Run_Sql($region3_dialect,$sql);
./ccamp_update_tables.php : $sql=" UPDATE ".$table_name. " SET huname='Big Sur (308)' WHERE hu=308 "; $result=Run_Sql($region3_dialect,$sql);
./ccamp_update_tables.php : $sql=" UPDATE ".$table_name. " SET huname='Salinas (309)' WHERE hu=309 "; $result=Run_Sql($region3_dialect,$sql);
./ccamp_update_tables.php : $sql=" UPDATE ".$table_name. " SET huname='San Luis Opispo (310)' WHERE hu=310 "; $result=Run_Sql($region3_dialect,$sql);
./ccamp_update_tables.php : $sql=" UPDATE ".$table_name. " SET huname='Carrizo Plain (311)' WHERE hu=311 "; $result=Run_Sql($region3_dialect,$sql);
./ccamp_update_tables.php : $sql=" UPDATE ".$table_name. " SET huname='Santa Maria (312)' WHERE hu=312 "; $result=Run_Sql($region3_dialect,$sql);
./ccamp_update_tables.php : $sql=" UPDATE ".$table_name. " SET huname='San Antonio (313)' WHERE hu=313 "; $result=Run_Sql($region3_dialect,$sql);
./ccamp_update_tables.php : $sql=" UPDATE ".$table_name. " SET huname='Santa Ynez (314)' WHERE hu=314 "; $result=Run_Sql($region3_dialect,$sql);
./ccamp_update_tables.php : $sql=" UPDATE ".$table_name. " SET huname='Santa Barbara (315)' WHERE hu=315 "; $result=Run_Sql($region3_dialect,$sql);
./ccamp_update_tables.php : $sql=" UPDATE ".$table_name. " SET huname='Channel Islands (316)' WHERE hu=316 "; $result=Run_Sql($region3_dialect,$sql);
./ccamp_update_tables.php : $sql=" UPDATE ".$table_name. " SET huname='Estrella River (317)' WHERE hu=317 "; $result=Run_Sql($region3_dialect,$sql);
./ccamp_update_tables.php : function loadswampChem($region3_dialect){
./ccamp_update_tables.php : $result=Run_Sql($region3_dialect,$sql);
./ccamp_update_tables.php : $result=Run_Sql($region3_dialect,$sql);
./ccamp_update_tables.php : $result=Run_Sql($region3_dialect,$sql);
./ccamp_update_tables.php : $result=Run_Sql($region3_dialect,$sql);
./ccamp_update_tables.php : $result=Run_Sql($region3_dialect,$sql);
./ccamp_update_tables.php : $result=Run_Sql($region3_dialect,$sql);
./ccamp_update_tables.php : $result=Run_Sql($region3_dialect,$sql);
./ccamp_update_tables.php : $result=Run_Sql($region3_dialect,$sql);
./ccamp_update_tables.php : function loadswampTox($region3_dialect){
./ccamp_update_tables.php : $result=Run_Sql($region3_dialect,$sql);
./ccamp_update_tables.php : $result=Run_Sql($region3_dialect,$sql);
./ccamp_update_tables.php : $result=Run_Sql($region3_dialect,$sql);
./ccamp_update_tables.php : $result=Run_Sql($region3_dialect,$sql);
./ccamp_update_tables.php : function loadswampTis($region3_dialect){
./ccamp_update_tables.php : $result=Run_Sql($region3_dialect,$sql);
./ccamp_update_tables.php : $result=Run_Sql($region3_dialect,$sql);
./ccamp_update_tables.php : $result=Run_Sql($region3_dialect,$sql);
./ccamp_update_tables.php : $result=Run_Sql($region3_dialect,$sql);
./ccamp_update_tables.php : $result=Run_Sql($region3_dialect,$sql);
./ccamp_update_tables.php : $result=Run_Sql($region3_dialect,$sql);
./ccamp_update_tables.php : $result=Run_Sql($region3_dialect,$sql);
./ccamp_update_tables.php : $result=Run_Sql($region3_dialect,$sql);
./ccamp_update_tables.php : function moveNLCD($region3_dialect,$log,$verbose_output){
./ccamp_update_tables.php : $result=Run_Sql($region3_dialect,$sql);
./ccamp_update_tables.php : $result=Run_Sql($region3_dialect,$sql);
./ccamp_update_tables.php : $result=Run_Sql($region3_dialect,$sql);
./ccamp_update_tables.php : while ($data=sql_fetch_assoc($region3_dialect,$result))
./ccamp_update_tables.php : $field_count=sql_num_fields($region3_dialect,$result);
./ccamp_update_tables.php : $field_name=sql_field_name($region3_dialect,$result,$f);
./ccamp_update_tables.php : $result1=Run_Sql($region3_dialect,$sql);
./ccamp_update_tables.php : $result=Run_Sql($region3_dialect,$sql);
./ccamp_update_tables.php : while ($data=sql_fetch_assoc($region3_dialect,$result))
./ccamp_update_tables.php : $field_count=sql_num_fields($region3_dialect,$result);
./ccamp_update_tables.php : $field_name=sql_field_name($region3_dialect,$result,$f);
./ccamp_update_tables.php : $result1=Run_Sql($region3_dialect,$sql);
./ccamp_update_tables.php : $result=Run_Sql($region3_dialect,$sql);
./ccamp_update_tables.php : while ($data=sql_fetch_assoc($region3_dialect,$result))
./ccamp_update_tables.php : $result1=Run_Sql($region3_dialect,$sql);
./ccamp_update_tables.php : $data1=sql_fetch_assoc($region3_dialect,$result1);
./ccamp_update_tables.php : $result2=Run_Sql($region3_dialect,$sql);
./ccamp_update_tables.php : $result1=Run_Sql($region3_dialect,$sql);
./ccamp_update_tables.php : $data1=sql_fetch_assoc($region3_dialect,$result1);
./ccamp_update_tables.php : $result2=Run_Sql($region3_dialect,$sql);
./ccamp_update_tables.php : $result=Run_Sql($region3_dialect,$sql);
./ccamp_update_tables.php : while ($data=sql_fetch_assoc($region3_dialect,$result))
./ccamp_update_tables.php : $result1=Run_Sql($region3_dialect,$sql);
./ccamp_update_tables.php : $data1=sql_fetch_assoc($region3_dialect,$result1);
./ccamp_update_tables.php : $result2=Run_Sql($region3_dialect,$sql);
./ccamp_update_tables.php : $result2=Run_Sql($region3_dialect,$sql);
./ccamp_update_tables.php : function audit_loads($region3_dialect,$analyte_table,$web_data_table,$load_data_table){
./ccamp_update_tables.php : $result=Run_Sql($region3_dialect,$sql);
./ccamp_update_tables.php : $result=Run_Sql($region3_dialect,$sql);
./ccamp_update_tables.php : $result=Run_Sql($region3_dialect,$sql);
./ccamp_update_tables.php : $result=Run_Sql($region3_dialect,$sql);
./ccamp_update_tables.php : sql_free_result($region3_dialect,$result);
./ccamp_update_tables.php : $result=Run_Sql($region3_dialect,$sql);
./ccamp_update_tables.php : while ($data=sql_fetch_assoc($region3_dialect,$result))
./ccamp_update_tables.php : $result2=Run_Sql($region3_dialect,$sql);
./ccamp_update_tables.php : sql_free_result($region3_dialect,$result2);
./ccamp_update_tables.php : $result=Run_Sql($region3_dialect,$sql);
./ccamp_update_tables.php : $result=Run_Sql($region3_dialect,$sql);
./ccamp_update_tables.php : $result=Run_Sql($region3_dialect,$sql);
./ccamp_update_tables.php : $result3=Run_Sql($region3_dialect,$sql);
./ccamp_update_tables.php : sql_free_result($region3_dialect,$result3);
./ccamp_update_tables.php : $result3=Run_Sql($region3_dialect,$sql);
./ccamp_update_tables.php : sql_free_result($region3_dialect,$result3);
./ccamp_update_tables.php : $result3=Run_Sql($region3_dialect,$sql);
./ccamp_update_tables.php : sql_free_result($region3_dialect,$result3);
./ccamp_update_tables.php : $result3=Run_Sql($region3_dialect,$sql);
./ccamp_update_tables.php : sql_free_result($region3_dialect,$result3);
./ccamp_update_tables.php : function setupMultivariate($region3_dialect,$log,$verbose_output,$org_id,$table_id)
./ccamp_update_tables.php : $result=Run_Sql($region3_dialect,$sql);
./ccamp_update_tables.php : $result=Run_Sql($region3_dialect,$sql);
./ccamp_update_tables.php : while ($data=sql_fetch_assoc($region3_dialect,$result))
./ccamp_update_tables.php : function patch($region3_dialect,$log,$verbose_output,$org_id,$site_table,$raw_data_table,$master_data_table,$stat_data_table,$web_data_table,$wqa_table,$load_data_table,$load_wqa_table)
./ccamp_update_tables.php : $result=Run_Sql($region3_dialect,$sql);
./ccamp_update_tables.php : sql_free_result($region3_dialect,$result);
./ccamp_update_tables.php : $result=Run_Sql($region3_dialect,$sql);
./ccamp_update_tables.php : Run_Sql($region3_dialect,$sql);
./ccamp_update_tables.php : setupMultivariate($region3_dialect,$log,$verbose_output,$org_id,$wqa_table);
./ccamp_update_tables.php : setupMultivariate($region3_dialect,$log,$verbose_output,$org_id,$wqa_table);
./ccamp_update_tables.php : sql_close($region3_dialect,$region3_conn);
./ccamp_update_tables.php : function crosswalk($region3_dialect,$log,$verbose_output,$org_id,$site_table,$data_table)
./ccamp_update_tables.php : $result=Run_Sql($region3_dialect,$sql);
./ccamp_update_tables.php : while ($data=sql_fetch_assoc($region3_dialect,$result))
./ccamp_update_tables.php : $result1=Run_Sql($region3_dialect,$sql); if ($verbose_output) log_time($log,$sql);
./ccamp_update_tables.php : $data1=sql_fetch_assoc($region3_dialect,$result1);
./ccamp_update_tables.php : $result2=Run_Sql($region3_dialect,$sql); if ($verbose_output) log_time($log,$sql);
./ccamp_update_tables.php : $result=Run_Sql($region3_dialect,$sql);
./ccamp_update_tables.php : while ($data=sql_fetch_assoc($region3_dialect,$result))
./ccamp_update_tables.php : $result1=Run_Sql($region3_dialect,$sql); if ($verbose_output) log_time($log,$sql);
./ccamp_update_tables.php : $data1=sql_fetch_assoc($region3_dialect,$result1);
./ccamp_update_tables.php : $result2=Run_Sql($region3_dialect,$sql); if ($verbose_output) log_time($log,$sql);
./ccamp_update_tables.php : $result=Run_Sql($region3_dialect,$sql);
./ccamp_update_tables.php : while ($data=sql_fetch_assoc($region3_dialect,$result))
./ccamp_update_tables.php : $result1=Run_Sql($region3_dialect,$sql); if ($verbose_output) log_time($log,$sql);
./ccamp_update_tables.php : $data1=sql_fetch_assoc($region3_dialect,$result1);
./ccamp_update_tables.php : $result2=Run_Sql($region3_dialect,$sql);
./ccamp_update_tables.php : $result=Run_Sql($region3_dialect,$sql);
./ccamp_update_tables.php : while ($data=sql_fetch_assoc($region3_dialect,$result))
./ccamp_update_tables.php : $result1=Run_Sql($region3_dialect,$sql); if ($verbose_output) log_time($log,$sql);
./ccamp_update_tables.php : $data1=sql_fetch_assoc($region3_dialect,$result1);
./ccamp_update_tables.php : $result2=Run_Sql($region3_dialect,$sql); if ($verbose_output) log_time($log,$sql);
./ccamp_update_tables.php : function combine_tox($region3_dialect,$log,$verbose_output,$org_id,$data_table)
./ccamp_update_tables.php : $sql=" UPDATE ceden.".$data_table." SET ccampid=UPPER(ccampid) "; Run_sql($region3_dialect,$sql);
./ccamp_update_tables.php : $sql=" UPDATE ceden.".$data_table." SET chr_group='Tox' WHERE ccampid='TOXHAG' "; Run_sql($region3_dialect,$sql);
./ccamp_update_tables.php : $sql=" UPDATE ceden.".$data_table." SET chr_group='Tox' WHERE ccampid='TOXHAS' "; Run_sql($region3_dialect,$sql);
./ccamp_update_tables.php : $sql=" UPDATE ceden.".$data_table." SET chr_group='Tox' WHERE ccampid='TOXCERIS' "; Run_sql($region3_dialect,$sql);
./ccamp_update_tables.php : $sql=" UPDATE ceden.".$data_table." SET chr_group='Tox' WHERE ccampid='TOXCERIR' "; Run_sql($region3_dialect,$sql);
./ccamp_update_tables.php : $sql=" UPDATE ceden.".$data_table." SET chr_group='Tox' WHERE ccampid='TOXPPG' "; Run_sql($region3_dialect,$sql);
./ccamp_update_tables.php : $sql=" UPDATE ceden.".$data_table." SET chr_group='Tox' WHERE ccampid='TOXPPS' "; Run_sql($region3_dialect,$sql);
./ccamp_update_tables.php : $sql=" UPDATE ceden.".$data_table." SET chr_group='Tox' WHERE ccampid='TOXSELS' "; Run_sql($region3_dialect,$sql);
./ccamp_update_tables.php : $sql=" UPDATE ceden.".$data_table." SET chr_group='Tox' WHERE ccampid='TOXSELG' "; Run_sql($region3_dialect,$sql);
./ccamp_update_tables.php : $sql=" UPDATE ceden.".$data_table." SET chr_group='Tox' WHERE ccampid='TOXTHALAG' "; Run_sql($region3_dialect,$sql);
./ccamp_update_tables.php : $sql=" UPDATE ceden.".$data_table." SET chr_group='Tox' WHERE ccampid='TOXAAG' "; Run_sql($region3_dialect,$sql);
./ccamp_update_tables.php : $sql=" UPDATE ceden.".$data_table." SET chr_group='Tox' WHERE ccampid='TOXAAS' "; Run_sql($region3_dialect,$sql);
./ccamp_update_tables.php : $sql=" UPDATE ceden.".$data_table." SET chr_group='Tox' WHERE ccampid='TOXCVG' "; Run_sql($region3_dialect,$sql);
./ccamp_update_tables.php : $sql=" UPDATE ceden.".$data_table." SET chr_group='Tox' WHERE ccampid='TOXCVS' "; Run_sql($region3_dialect,$sql);
./ccamp_update_tables.php : $sql=" UPDATE ceden.".$data_table." SET chr_group='Tox' WHERE ccampid='TOXAMPG' "; Run_sql($region3_dialect,$sql);
./ccamp_update_tables.php : $sql=" UPDATE ceden.".$data_table." SET chr_group='Tox' WHERE ccampid='TOXAMG' "; Run_sql($region3_dialect,$sql);
./ccamp_update_tables.php : $sql=" UPDATE ceden.".$data_table." SET chr_group='Tox' WHERE ccampid='TOXCERIG' "; Run_sql($region3_dialect,$sql);
./ccamp_update_tables.php : $sql=" UPDATE ceden.".$data_table." SET chr_group='Tox' WHERE ccampid='TOXAMS' "; Run_sql($region3_dialect,$sql);
./ccamp_update_tables.php : $sql=" UPDATE ceden.".$data_table." SET chr_group='Tox' WHERE ccampid='TOXAMPS' "; Run_sql($region3_dialect,$sql);
./ccamp_update_tables.php : $sql=" UPDATE ceden.".$data_table." SET chr_group='Tox' WHERE ccampid='TOXEOS' "; Run_sql($region3_dialect,$sql);
./ccamp_update_tables.php : $result=Run_Sql($region3_dialect,$sql); if ($verbose_output) log_time($log,$sql);
./ccamp_update_tables.php : $sql=" UPDATE ceden.".$temp_data_table." SET ccampid='TOXHA10S_SED' WHERE ccampid='TOXHAG_H2O' AND matrixname='sediment'"; Run_sql($region3_dialect,$sql);
./ccamp_update_tables.php : $sql=" UPDATE ceden.".$temp_data_table." SET ccampid='TOXHA10S_SED' WHERE ccampid='TOXHA10S_H2O' AND matrixname='sediment'"; Run_sql($region3_dialect,$sql);
./ccamp_update_tables.php : $sql=" UPDATE ceden.".$temp_data_table." SET ccampid='TOXHA10S_H2O' WHERE ccampid='TOXHA10S_SED' AND matrixname='samplewater'"; Run_sql($region3_dialect,$sql);
./ccamp_update_tables.php : $sql=" UPDATE ceden.".$temp_data_table." SET ccampid='TOX_INV_R_SED' WHERE ccampid='TOX_INV_R' AND matrixname='sediment' "; $result=Run_Sql($region3_dialect,$sql); if ($verbose_output) log_time($log,$sql);
./ccamp_update_tables.php : $sql=" UPDATE ceden.".$temp_data_table." SET ccampid='TOX_INV_R_H2O' WHERE ccampid='TOX_INV_R' AND matrixname='samplewater' "; $result=Run_Sql($region3_dialect,$sql); if ($verbose_output) log_time($log,$sql);
./ccamp_update_tables.php : $sql=" UPDATE ceden.".$temp_data_table." SET ccampid='TOX_INV_S_SED' WHERE ccampid='TOX_INV_S' AND matrixname='sediment' "; $result=Run_Sql($region3_dialect,$sql); if ($verbose_output) log_time($log,$sql);
./ccamp_update_tables.php : $sql=" UPDATE ceden.".$temp_data_table." SET ccampid='TOX_INV_S_H2O' WHERE ccampid='TOX_INV_S' AND matrixname='samplewater' "; $result=Run_Sql($region3_dialect,$sql); if ($verbose_output) log_time($log,$sql);
./ccamp_update_tables.php : $sql=" UPDATE ceden.".$temp_data_table." SET ccampid='TOX_INV_G_SED' WHERE ccampid='TOX_INV_G' AND matrixname='sediment' "; $result=Run_Sql($region3_dialect,$sql); if ($verbose_output) log_time($log,$sql);
./ccamp_update_tables.php : $sql=" UPDATE ceden.".$temp_data_table." SET ccampid='TOX_INV_G_H2O' WHERE ccampid='TOX_INV_G' AND matrixname='samplewater' "; $result=Run_Sql($region3_dialect,$sql); if ($verbose_output) log_time($log,$sql);
./ccamp_update_tables.php : $sql=" UPDATE ceden.".$temp_data_table." SET ccampid='TOX_ALGA_G' WHERE ccampid='TOX_ALGA_G'"; Run_sql($region3_dialect,$sql);
./ccamp_update_tables.php : $sql=" UPDATE ceden.".$temp_data_table." SET ccampid='TOX_ALGA_G' WHERE ccampid='TOXSELG'"; Run_sql($region3_dialect,$sql);
./ccamp_update_tables.php : $sql=" UPDATE ceden.".$temp_data_table." SET ccampid='TOX_ALGA_G' WHERE ccampid='TOXSELS'"; Run_sql($region3_dialect,$sql);
./ccamp_update_tables.php : $sql=" UPDATE ceden.".$temp_data_table." SET ccampid='TOX_ALGA_G' WHERE ccampid='TOXTHALG'"; Run_sql($region3_dialect,$sql);
./ccamp_update_tables.php : $sql=" UPDATE ceden.".$temp_data_table." SET ccampid='TOX_ALGA_G' WHERE ccampid='Tox_algae'"; Run_sql($region3_dialect,$sql);
./ccamp_update_tables.php : $sql=" UPDATE ceden.".$temp_data_table." SET ccampid='TOX_ALGA_G' WHERE ccampid='MACROC'"; Run_sql($region3_dialect,$sql);
./ccamp_update_tables.php : $sql=" UPDATE ceden.".$temp_data_table." SET ccampid='TOX_ALGA_G' WHERE ccampid='BAHIAG'"; Run_sql($region3_dialect,$sql);
./ccamp_update_tables.php : $sql=" UPDATE ceden.".$temp_data_table." SET ccampid='TOX_ALGA_G' WHERE ccampid='THALG4'"; Run_sql($region3_dialect,$sql);
./ccamp_update_tables.php : $sql=" UPDATE ceden.".$temp_data_table." SET ccampid='TOX_FISH_G' WHERE ccampid='TOX_FISH_G'"; Run_sql($region3_dialect,$sql);
./ccamp_update_tables.php : $sql=" UPDATE ceden.".$temp_data_table." SET ccampid='TOX_FISH_G' WHERE ccampid='TOXCYPG'"; Run_sql($region3_dialect,$sql);
./ccamp_update_tables.php : $sql=" UPDATE ceden.".$temp_data_table." SET ccampid='TOX_FISH_G' WHERE ccampid='TOXPPG'"; Run_sql($region3_dialect,$sql);
./ccamp_update_tables.php : $sql=" UPDATE ceden.".$temp_data_table." SET ccampid='TOX_FISH_G' WHERE ccampid='TOXPPGO'"; Run_sql($region3_dialect,$sql);
./ccamp_update_tables.php : $sql=" UPDATE ceden.".$temp_data_table." SET ccampid='TOX_FISH_G' WHERE ccampid='SILVERG'"; Run_sql($region3_dialect,$sql);
./ccamp_update_tables.php : $sql=" UPDATE ceden.".$temp_data_table." SET ccampid='TOX_FISH_G' WHERE ccampid='SMELTG'"; Run_sql($region3_dialect,$sql);
./ccamp_update_tables.php : $sql=" UPDATE ceden.".$temp_data_table." SET ccampid='TOX_FISH_G' WHERE ccampid='TOXAA7W'"; Run_sql($region3_dialect,$sql);
./ccamp_update_tables.php : $sql=" UPDATE ceden.".$temp_data_table." SET ccampid='TOX_FISH_G' WHERE ccampid='TOXAAFG7'"; Run_sql($region3_dialect,$sql);
./ccamp_update_tables.php : $sql=" UPDATE ceden.".$temp_data_table." SET ccampid='TOX_FISH_G' WHERE ccampid='CYVARG7'"; Run_sql($region3_dialect,$sql);
./ccamp_update_tables.php : $sql=" UPDATE ceden.".$temp_data_table." SET ccampid='TOX_FISH_G' WHERE ccampid='TOXPPW'"; Run_sql($region3_dialect,$sql);
./ccamp_update_tables.php : $sql=" UPDATE ceden.".$temp_data_table." SET ccampid='TOX_FISH_G' WHERE ccampid='TOXAA7G_H2O'"; Run_sql($region3_dialect,$sql);
./ccamp_update_tables.php : $sql=" UPDATE ceden.".$temp_data_table." SET ccampid='TOX_FISH_G' WHERE ccampid='TOXCVG'"; Run_sql($region3_dialect,$sql);
./ccamp_update_tables.php : $sql=" UPDATE ceden.".$temp_data_table." SET ccampid='TOX_FISH_G' WHERE ccampid='TOXPP7G'"; Run_sql($region3_dialect,$sql);
./ccamp_update_tables.php : $sql=" UPDATE ceden.".$temp_data_table." SET ccampid='TOX_FISH_S' WHERE ccampid='TOX_FISH_S'"; Run_sql($region3_dialect,$sql);
./ccamp_update_tables.php : $sql=" UPDATE ceden.".$temp_data_table." SET ccampid='TOX_FISH_S' WHERE ccampid='TOXPPS'"; Run_sql($region3_dialect,$sql);
./ccamp_update_tables.php : $sql=" UPDATE ceden.".$temp_data_table." SET ccampid='TOX_FISH_S' WHERE ccampid='TOXAAS'"; Run_sql($region3_dialect,$sql);
./ccamp_update_tables.php : $sql=" UPDATE ceden.".$temp_data_table." SET ccampid='TOX_FISH_S' WHERE ccampid='CYVARS7'"; Run_sql($region3_dialect,$sql);
./ccamp_update_tables.php : $sql=" UPDATE ceden.".$temp_data_table." SET ccampid='TOX_FISH_S' WHERE ccampid='TOXPP7S'"; Run_sql($region3_dialect,$sql);
./ccamp_update_tables.php : $sql=" UPDATE ceden.".$temp_data_table." SET ccampid='TOX_FISH_S' WHERE ccampid='FATHEAD'"; Run_sql($region3_dialect,$sql);
./ccamp_update_tables.php : $sql=" UPDATE ceden.".$temp_data_table." SET ccampid='TOX_FISH_S' WHERE ccampid='TROUT'"; Run_sql($region3_dialect,$sql);
./ccamp_update_tables.php : $sql=" UPDATE ceden.".$temp_data_table." SET ccampid='TOX_FISH_S' WHERE ccampid='SILVERS'"; Run_sql($region3_dialect,$sql);
./ccamp_update_tables.php : $sql=" UPDATE ceden.".$temp_data_table." SET ccampid='TOX_FISH_S' WHERE ccampid='SMELTS'"; Run_sql($region3_dialect,$sql);
./ccamp_update_tables.php : $sql=" UPDATE ceden.".$temp_data_table." SET ccampid='TOX_FISH_S' WHERE ccampid='TOXAA7S'"; Run_sql($region3_dialect,$sql);
./ccamp_update_tables.php : $sql=" UPDATE ceden.".$temp_data_table." SET ccampid='TOX_FISH_S' WHERE ccampid='TOXAA7S_H2O'"; Run_sql($region3_dialect,$sql);
./ccamp_update_tables.php : $sql=" UPDATE ceden.".$temp_data_table." SET ccampid='TOX_INV_G_H2O' WHERE ccampid='TOX_INV_G_H2O' "; Run_sql($region3_dialect,$sql);
./ccamp_update_tables.php : $sql=" UPDATE ceden.".$temp_data_table." SET ccampid='TOX_INV_R_H2O' WHERE ccampid='TOX_INV_R_H2O' "; Run_sql($region3_dialect,$sql);
./ccamp_update_tables.php : $sql=" UPDATE ceden.".$temp_data_table." SET ccampid='TOX_INV_G_H2O' WHERE ccampid='TOXAAG7'"; Run_sql($region3_dialect,$sql);
./ccamp_update_tables.php : $sql=" UPDATE ceden.".$temp_data_table." SET ccampid='TOX_INV_G_H2O' WHERE ccampid='TOXAMPG'"; Run_sql($region3_dialect,$sql);
./ccamp_update_tables.php : $sql=" UPDATE ceden.".$temp_data_table." SET ccampid='TOX_INV_G_H2O' WHERE ccampid='TOXCERIG'"; Run_sql($region3_dialect,$sql);
./ccamp_update_tables.php : $sql=" UPDATE ceden.".$temp_data_table." SET ccampid='TOX_INV_G_H2O' WHERE ccampid='MYTILUSD'"; Run_sql($region3_dialect,$sql);
./ccamp_update_tables.php : $sql=" UPDATE ceden.".$temp_data_table." SET ccampid='TOX_INV_G_H2O' WHERE ccampid='GIGASDEV'"; Run_sql($region3_dialect,$sql);
./ccamp_update_tables.php : $sql=" UPDATE ceden.".$temp_data_table." SET ccampid='TOX_INV_G_H2O' WHERE ccampid='PURPDEV'"; Run_sql($region3_dialect,$sql);
./ccamp_update_tables.php : $sql=" UPDATE ceden.".$temp_data_table." SET ccampid='TOX_INV_G_H2O' WHERE ccampid='REDAB'"; Run_sql($region3_dialect,$sql);
./ccamp_update_tables.php : $sql=" UPDATE ceden.".$temp_data_table." SET ccampid='TOX_INV_G_H2O' WHERE ccampid='SANDDEV'"; Run_sql($region3_dialect,$sql);
./ccamp_update_tables.php : $sql=" UPDATE ceden.".$temp_data_table." SET ccampid='TOX_INV_G_H2O' WHERE ccampid='COSTATAG'"; Run_sql($region3_dialect,$sql);
./ccamp_update_tables.php : $sql=" UPDATE ceden.".$temp_data_table." SET ccampid='TOX_INV_G_H2O' WHERE ccampid='CERIS1'"; Run_sql($region3_dialect,$sql);
./ccamp_update_tables.php : $sql=" UPDATE ceden.".$temp_data_table." SET ccampid='TOX_INV_G_H2O' WHERE ccampid='MYSID96G'"; Run_sql($region3_dialect,$sql);
./ccamp_update_tables.php : $sql=" UPDATE ceden.".$temp_data_table." SET ccampid='TOX_INV_G_H2O' WHERE ccampid='POLY20G'"; Run_sql($region3_dialect,$sql);
./ccamp_update_tables.php : $sql=" UPDATE ceden.".$temp_data_table." SET ccampid='TOX_INV_R_H2O' WHERE ccampid='TOXCERIR'"; Run_sql($region3_dialect,$sql);
./ccamp_update_tables.php : $sql=" UPDATE ceden.".$temp_data_table." SET ccampid='TOX_INV_R_H2O' WHERE ccampid='PURPFER'"; Run_sql($region3_dialect,$sql);
./ccamp_update_tables.php : $sql=" UPDATE ceden.".$temp_data_table." SET ccampid='TOX_INV_R_H2O' WHERE ccampid='SANDFERT'"; Run_sql($region3_dialect,$sql);
./ccamp_update_tables.php : $sql=" UPDATE ceden.".$temp_data_table." SET ccampid='TOX_INV_R_H2O' WHERE ccampid='BAHIAF'"; Run_sql($region3_dialect,$sql);
./ccamp_update_tables.php : $sql=" UPDATE ceden.".$temp_data_table." SET ccampid='TOX_INV_R_H2O' WHERE ccampid='CERIR1'"; Run_sql($region3_dialect,$sql);
./ccamp_update_tables.php : $sql=" UPDATE ceden.".$temp_data_table." SET ccampid='TOX_INV_R_H2O' WHERE ccampid='CERIR2'"; Run_sql($region3_dialect,$sql);
./ccamp_update_tables.php : $sql=" UPDATE ceden.".$temp_data_table." SET ccampid='TOX_INV_R_H2O' WHERE ccampid='CERIR3'"; Run_sql($region3_dialect,$sql);
./ccamp_update_tables.php : $sql=" UPDATE ceden.".$temp_data_table." SET ccampid='TOX_INV_R_H2O' WHERE ccampid='CERIR4'"; Run_sql($region3_dialect,$sql);
./ccamp_update_tables.php : $sql=" UPDATE ceden.".$temp_data_table." SET ccampid='TOX_INV_R_H2O' WHERE ccampid='CERIR5'"; Run_sql($region3_dialect,$sql);
./ccamp_update_tables.php : $sql=" UPDATE ceden.".$temp_data_table." SET ccampid='TOX_INV_R_H2O' WHERE ccampid='CERIR6'"; Run_sql($region3_dialect,$sql);
./ccamp_update_tables.php : $sql=" UPDATE ceden.".$temp_data_table." SET ccampid='TOX_INV_R_H2O' WHERE ccampid='CERIR8'"; Run_sql($region3_dialect,$sql);
./ccamp_update_tables.php : $sql=" UPDATE ceden.".$temp_data_table." SET ccampid='TOX_INV_R_H2O' WHERE ccampid='MYSID96F'"; Run_sql($region3_dialect,$sql);
./ccamp_update_tables.php : $sql=" UPDATE ceden.".$temp_data_table." SET ccampid='TOX_INV_S_H2O' WHERE ccampid='TOXCERIS'"; Run_sql($region3_dialect,$sql);
./ccamp_update_tables.php : $sql=" UPDATE ceden.".$temp_data_table." SET ccampid='TOX_INV_S_H2O' WHERE ccampid='TOX_INV_S_H2O'"; Run_sql($region3_dialect,$sql);
./ccamp_update_tables.php : $sql=" UPDATE ceden.".$temp_data_table." SET ccampid='TOX_INV_S_H2O' WHERE ccampid='TOXEOS'"; Run_sql($region3_dialect,$sql);
./ccamp_update_tables.php : $sql=" UPDATE ceden.".$temp_data_table." SET ccampid='TOX_INV_S_H2O' WHERE ccampid='TOXAMG'"; Run_sql($region3_dialect,$sql);
./ccamp_update_tables.php : $sql=" UPDATE ceden.".$temp_data_table." SET ccampid='TOX_INV_S_H2O' WHERE ccampid='TOXAMS'"; Run_sql($region3_dialect,$sql);
./ccamp_update_tables.php : $sql=" UPDATE ceden.".$temp_data_table." SET ccampid='TOX_INV_S_H2O' WHERE ccampid='TOXAMG_H2O'"; Run_sql($region3_dialect,$sql);
./ccamp_update_tables.php : $sql=" UPDATE ceden.".$temp_data_table." SET ccampid='TOX_INV_S_H2O' WHERE ccampid='TOXAMS_H2O'"; Run_sql($region3_dialect,$sql);
./ccamp_update_tables.php : $sql=" UPDATE ceden.".$temp_data_table." SET ccampid='TOX_INV_S_H2O' WHERE ccampid='AMPELS7'"; Run_sql($region3_dialect,$sql);
./ccamp_update_tables.php : $sql=" UPDATE ceden.".$temp_data_table." SET ccampid='TOX_INV_S_H2O' WHERE ccampid='CERIS7'"; Run_sql($region3_dialect,$sql);
./ccamp_update_tables.php : $sql=" UPDATE ceden.".$temp_data_table." SET ccampid='TOX_INV_S_H2O' WHERE ccampid='MYTILUSS'"; Run_sql($region3_dialect,$sql);
./ccamp_update_tables.php : $sql=" UPDATE ceden.".$temp_data_table." SET ccampid='TOX_INV_S_H2O' WHERE ccampid='GIGASSUR'"; Run_sql($region3_dialect,$sql);
./ccamp_update_tables.php : $sql=" UPDATE ceden.".$temp_data_table." SET ccampid='TOX_INV_S_H2O' WHERE ccampid='COSTATAS'"; Run_sql($region3_dialect,$sql);
./ccamp_update_tables.php : $sql=" UPDATE ceden.".$temp_data_table." SET ccampid='TOX_INV_S_H2O' WHERE ccampid='BAHIAS'"; Run_sql($region3_dialect,$sql);
./ccamp_update_tables.php : $sql=" UPDATE ceden.".$temp_data_table." SET ccampid='TOX_INV_S_H2O' WHERE ccampid='AMP10'"; Run_sql($region3_dialect,$sql);
./ccamp_update_tables.php : $sql=" UPDATE ceden.".$temp_data_table." SET ccampid='TOX_INV_S_H2O' WHERE ccampid='EO10'"; Run_sql($region3_dialect,$sql);
./ccamp_update_tables.php : $sql=" UPDATE ceden.".$temp_data_table." SET ccampid='TOX_INV_S_H2O' WHERE ccampid='RHEP10'"; Run_sql($region3_dialect,$sql);
./ccamp_update_tables.php : $sql=" UPDATE ceden.".$temp_data_table." SET ccampid='TOX_INV_S_H2O' WHERE ccampid='CERI96S'"; Run_sql($region3_dialect,$sql);
./ccamp_update_tables.php : $sql=" UPDATE ceden.".$temp_data_table." SET ccampid='TOX_INV_S_H2O' WHERE ccampid='CERI96SS'"; Run_sql($region3_dialect,$sql);
./ccamp_update_tables.php : $sql=" UPDATE ceden.".$temp_data_table." SET ccampid='TOX_INV_S_H2O' WHERE ccampid='CERIS2'"; Run_sql($region3_dialect,$sql);
./ccamp_update_tables.php : $sql=" UPDATE ceden.".$temp_data_table." SET ccampid='TOX_INV_S_H2O' WHERE ccampid='CERIS3'"; Run_sql($region3_dialect,$sql);
./ccamp_update_tables.php : $sql=" UPDATE ceden.".$temp_data_table." SET ccampid='TOX_INV_S_H2O' WHERE ccampid='CERIS4'"; Run_sql($region3_dialect,$sql);
./ccamp_update_tables.php : $sql=" UPDATE ceden.".$temp_data_table." SET ccampid='TOX_INV_S_H2O' WHERE ccampid='CERIS5'"; Run_sql($region3_dialect,$sql);
./ccamp_update_tables.php : $sql=" UPDATE ceden.".$temp_data_table." SET ccampid='TOX_INV_S_H2O' WHERE ccampid='CERIS6'"; Run_sql($region3_dialect,$sql);
./ccamp_update_tables.php : $sql=" UPDATE ceden.".$temp_data_table." SET ccampid='TOX_INV_S_H2O' WHERE ccampid='CERIS8'"; Run_sql($region3_dialect,$sql);
./ccamp_update_tables.php : $sql=" UPDATE ceden.".$temp_data_table." SET ccampid='TOX_INV_S_H2O' WHERE ccampid='MYSID96S'"; Run_sql($region3_dialect,$sql);
./ccamp_update_tables.php : $sql=" UPDATE ceden.".$temp_data_table." SET ccampid='TOX_INV_S_H2O' WHERE ccampid='POLY20S'"; Run_sql($region3_dialect,$sql);
./ccamp_update_tables.php : $sql=" UPDATE ceden.".$temp_data_table." SET ccampid='TOX_INV_G_SED' WHERE ccampid='TOXHA10G_SED' AND matrixname='sediment' "; Run_sql($region3_dialect,$sql);
./ccamp_update_tables.php : $sql=" UPDATE ceden.".$temp_data_table." SET ccampid='TOX_INV_S_SED' WHERE ccampid='TOXHA10S_SED' AND matrixname='sediment' "; Run_sql($region3_dialect,$sql);
./ccamp_update_tables.php : $sql=" UPDATE ceden.".$temp_data_table." SET ccampid='TOX_INV_S_SED' WHERE ccampid='TOXEOS' AND matrixname='sediment' "; Run_sql($region3_dialect,$sql);
./ccamp_update_tables.php : $sql=" UPDATE ceden.".$temp_data_table." SET ccampid='TOX_INV_S_SED' WHERE ccampid='TOX_INV_S_H2O' AND matrixname='sediment' "; Run_sql($region3_dialect,$sql);
./ccamp_update_tables.php : $sql=" UPDATE ceden.".$temp_data_table." SET ccampid='TOX_INV_S_SED' WHERE ccampid='TOXHAG_H2O' AND matrixname='sediment' "; Run_sql($region3_dialect,$sql);
./ccamp_update_tables.php : $sql=" UPDATE ceden.".$temp_data_table." SET ccampid='TOX_INV_G_H2O' WHERE ccampid='TOXHA10G_SED' AND matrixname='samplewater' "; Run_sql($region3_dialect,$sql);
./ccamp_update_tables.php : $sql=" UPDATE ceden.".$temp_data_table." SET ccampid='TOX_INV_S_H2O' WHERE ccampid='TOXHA10S_SED' AND matrixname='samplewater' "; Run_sql($region3_dialect,$sql);
./ccamp_update_tables.php : $result=Run_Sql($region3_dialect,$sql);
./ccamp_update_tables.php : while ($data=sql_fetch_assoc($region3_dialect,$result))
./ccamp_update_tables.php : $result1=Run_Sql($region3_dialect,$sql);
./ccamp_update_tables.php : $data1=sql_fetch_assoc($region3_dialect,$result1);
./ccamp_update_tables.php : $result2=Run_Sql($region3_dialect,$sql);
./ccamp_update_tables.php : sql_free_result($region3_dialect,$result);
./ccamp_update_tables.php : Run_sql($region3_dialect,$sql); if ($verbose_output) log_time($log,$sql);
./ccamp_update_tables.php : Run_sql($region3_dialect,$sql); if ($verbose_output) log_time($log,$sql);
./ccamp_update_tables.php : Run_sql($region3_dialect,$sql); if ($verbose_output) log_time($log,$sql);
./ccamp_update_tables.php : Run_sql($region3_dialect,$sql); if ($verbose_output) log_time($log,$sql);
./ccamp_update_tables.php : Run_sql($region3_dialect,$sql); if ($verbose_output) log_time($log,$sql);
./ccamp_update_tables.php : Run_sql($region3_dialect,$sql); if ($verbose_output) log_time($log,$sql);
./ccamp_update_tables.php : Run_sql($region3_dialect,$sql); if ($verbose_output) log_time($log,$sql);
./ccamp_update_tables.php : $result=Run_Sql($region3_dialect,$sql); if ($verbose_output) log_time($log,$sql);
./ccamp_update_tables.php : sql_free_result($region3_dialect,$result);
./ccamp_update_tables.php : $result=Run_Sql($region3_dialect,$sql); if ($verbose_output) log_time($log,$sql);
./ccamp_update_tables.php : function set_wqa_waterbodies($region3_dialect,$log,$verbose_output,$org_id,$wqa_data_table){
./ccamp_update_tables.php : $result=Run_Sql($region3_dialect,$sql);
./ccamp_update_tables.php : while ($data=sql_fetch_assoc($region3_dialect,$result))
./ccamp_update_tables.php : $result1=Run_Sql($region3_dialect,$sql);
./ccamp_update_tables.php : $data1=sql_fetch_assoc($region3_dialect,$result1);
./ccamp_update_tables.php : Run_Sql($region3_dialect,$sql);
./ccamp_update_tables.php : Run_Sql($region3_dialect,$sql);
./ccamp_update_tables.php : Run_Sql($region3_dialect,$sql);
./ccamp_update_tables.php : Run_Sql($region3_dialect,$sql);
./ccamp_update_tables.php : Run_Sql($region3_dialect,$sql);
./ccamp_update_tables.php : function flatten_datetimes($region3_dialect,$log,$verbose_output,$data_table)
./ccamp_update_tables.php : Run_sql($region3_dialect,$sql); if ($verbose_output) log_time($log,$sql);
./ccamp_update_tables.php : Run_sql($region3_dialect,$sql); if ($verbose_output) log_time($log,$sql);
./ccamp_update_tables.php : function create_daily_min_analyte($region3_dialect,$log,$verbose_output,$web_data_table,$ccampid){
./ccamp_update_tables.php : reset_id_keys($region3_dialect,$log,$verbose_output,$web_data_table);
./ccamp_update_tables.php : $dataresult=Run_Sql($region3_dialect,$sql);
./ccamp_update_tables.php : $dataresult=Run_Sql($region3_dialect,$sql);
./ccamp_update_tables.php : Run_Sql($region3_dialect,$sql);
./ccamp_update_tables.php : $result=Run_Sql($region3_dialect,$sql);
./ccamp_update_tables.php : while ($data=sql_fetch_assoc($region3_dialect,$result))
./ccamp_update_tables.php : Run_Sql($region3_dialect,$sql);
./ccamp_update_tables.php : $dataresult=Run_Sql($region3_dialect,$sql);
./ccamp_update_tables.php : $dataresult=Run_Sql($region3_dialect,$sql);
./ccamp_update_tables.php : $result=Run_Sql($region3_dialect,$sql);
./ccamp_update_tables.php : $result=Run_Sql($region3_dialect,$sql);
./ccamp_update_tables.php : sql_free_result($region3_dialect,$result);
./ccamp_update_tables.php : $dataresult=Run_Sql($region3_dialect,$sql);
./ccamp_update_tables.php : reset_id_keys($region3_dialect,$log,$verbose_output,$web_data_table);
./ccamp_update_tables.php : function calc_sum_arochlors($region3_dialect,$log,$verbose_output,$data_table){
./ccamp_update_tables.php : $dataresult=Run_Sql($region3_dialect,$sql);
./ccamp_update_tables.php : $dataresult=Run_Sql($region3_dialect,$sql);
./ccamp_update_tables.php : $dataresult=Run_Sql($region3_dialect,$sql);
./ccamp_update_tables.php : $dataresult=Run_Sql($region3_dialect,$sql);
./ccamp_update_tables.php : $dataresult=Run_Sql($region3_dialect,$sql);
./ccamp_update_tables.php : $dataresult=Run_Sql($region3_dialect,$sql);
./ccamp_update_tables.php : $dataresult=Run_Sql($region3_dialect,$sql);
./ccamp_update_tables.php : $dataresult=Run_Sql($region3_dialect,$sql);
./ccamp_update_tables.php : $dataresult=Run_Sql($region3_dialect,$sql);
./ccamp_update_tables.php : $dataresult=Run_Sql($region3_dialect,$sql);
./ccamp_update_tables.php : function calc_sum_congeners($region3_dialect,$log,$verbose_output,$data_table){
./ccamp_update_tables.php : $dataresult=Run_Sql($region3_dialect,$sql);
./ccamp_update_tables.php : $dataresult=Run_Sql($region3_dialect,$sql);
./ccamp_update_tables.php : $dataresult=Run_Sql($region3_dialect,$sql);
./ccamp_update_tables.php : $dataresult=Run_Sql($region3_dialect,$sql);
./ccamp_update_tables.php : $dataresult=Run_Sql($region3_dialect,$sql);
./ccamp_update_tables.php : $dataresult=Run_Sql($region3_dialect,$sql);
./ccamp_update_tables.php : $dataresult=Run_Sql($region3_dialect,$sql);
./ccamp_update_tables.php : $dataresult=Run_Sql($region3_dialect,$sql);
./ccamp_update_tables.php : $dataresult=Run_Sql($region3_dialect,$sql);
./ccamp_update_tables.php : $dataresult=Run_Sql($region3_dialect,$sql);
./ccamp_update_tables.php : function calc_sum_pahs($region3_dialect,$log,$verbose_output,$data_table){
./ccamp_update_tables.php : $dataresult=Run_Sql($region3_dialect,$sql);
./ccamp_update_tables.php : $dataresult=Run_Sql($region3_dialect,$sql);
./ccamp_update_tables.php : $dataresult=Run_Sql($region3_dialect,$sql);
./ccamp_update_tables.php : $dataresult=Run_Sql($region3_dialect,$sql);
./ccamp_update_tables.php : $dataresult=Run_Sql($region3_dialect,$sql);
./ccamp_update_tables.php : $dataresult=Run_Sql($region3_dialect,$sql);
./ccamp_update_tables.php : $dataresult=Run_Sql($region3_dialect,$sql);
./ccamp_update_tables.php : $dataresult=Run_Sql($region3_dialect,$sql);
./ccamp_update_tables.php : $dataresult=Run_Sql($region3_dialect,$sql);
./ccamp_update_tables.php : $dataresult=Run_Sql($region3_dialect,$sql);
./ccamp_update_tables.php : function calc_sum_pbde($region3_dialect,$log,$verbose_output,$data_table){
./ccamp_update_tables.php : $dataresult=Run_Sql($region3_dialect,$sql);
./ccamp_update_tables.php : $dataresult=Run_Sql($region3_dialect,$sql);
./ccamp_update_tables.php : $dataresult=Run_Sql($region3_dialect,$sql);
./ccamp_update_tables.php : $dataresult=Run_Sql($region3_dialect,$sql);
./ccamp_update_tables.php : $dataresult=Run_Sql($region3_dialect,$sql);
./ccamp_update_tables.php : $dataresult=Run_Sql($region3_dialect,$sql);
./ccamp_update_tables.php : $dataresult=Run_Sql($region3_dialect,$sql);
./ccamp_update_tables.php : $dataresult=Run_Sql($region3_dialect,$sql);
./ccamp_update_tables.php : $dataresult=Run_Sql($region3_dialect,$sql);
./ccamp_update_tables.php : $dataresult=Run_Sql($region3_dialect,$sql);
./ccamp_update_tables.php : function calc_sum_DDTs($region3_dialect,$log,$verbose_output,$data_table){
./ccamp_update_tables.php : $dataresult=Run_Sql($region3_dialect,$sql); if($verbose_output) log_sql($log,$txt);
./ccamp_update_tables.php : $dataresult=Run_Sql($region3_dialect,$sql); if($verbose_output) log_sql($log,$txt);
./ccamp_update_tables.php : $dataresult=Run_Sql($region3_dialect,$sql); if($verbose_output) log_sql($log,$txt);
./ccamp_update_tables.php : $dataresult=Run_Sql($region3_dialect,$sql); if($verbose_output) log_sql($log,$txt);
./ccamp_update_tables.php : $dataresult=Run_Sql($region3_dialect,$sql); if($verbose_output) log_sql($log,$txt);
./ccamp_update_tables.php : $dataresult=Run_Sql($region3_dialect,$sql); if($verbose_output) log_sql($log,$txt);
./ccamp_update_tables.php : $dataresult=Run_Sql($region3_dialect,$sql); if($verbose_output) log_sql($log,$txt);
./ccamp_update_tables.php : $dataresult=Run_Sql($region3_dialect,$sql); if($verbose_output) log_sql($log,$txt);
./ccamp_update_tables.php : $dataresult=Run_Sql($region3_dialect,$sql); if($verbose_output) log_sql($log,$txt);
./ccamp_update_tables.php : $dataresult=Run_Sql($region3_dialect,$sql); if($verbose_output) log_sql($log,$txt);
./ccamp_update_tables.php : $dataresult=Run_Sql($region3_dialect,$sql); if($verbose_output) log_sql($log,$txt);
./ccamp_update_tables.php : $dataresult=Run_Sql($region3_dialect,$sql); if($verbose_output) log_sql($log,$txt);
./ccamp_update_tables.php : $dataresult=Run_Sql($region3_dialect,$sql); if($verbose_output) log_sql($log,$txt);
./ccamp_update_tables.php : $dataresult=Run_Sql($region3_dialect,$sql); if($verbose_output) log_sql($log,$txt);
./ccamp_update_tables.php : function calc_sum_DDDs($region3_dialect,$log,$verbose_output,$data_table){
./ccamp_update_tables.php : $dataresult=Run_Sql($region3_dialect,$sql); if($verbose_output) log_sql($log,$txt);
./ccamp_update_tables.php : $dataresult=Run_Sql($region3_dialect,$sql); if($verbose_output) log_sql($log,$txt);
./ccamp_update_tables.php : $dataresult=Run_Sql($region3_dialect,$sql); if($verbose_output) log_sql($log,$txt);
./ccamp_update_tables.php : $dataresult=Run_Sql($region3_dialect,$sql); if($verbose_output) log_sql($log,$txt);
./ccamp_update_tables.php : $dataresult=Run_Sql($region3_dialect,$sql); if($verbose_output) log_sql($log,$txt);
./ccamp_update_tables.php : $dataresult=Run_Sql($region3_dialect,$sql); if($verbose_output) log_sql($log,$txt);
./ccamp_update_tables.php : $dataresult=Run_Sql($region3_dialect,$sql); if($verbose_output) log_sql($log,$txt);
./ccamp_update_tables.php : $dataresult=Run_Sql($region3_dialect,$sql); if($verbose_output) log_sql($log,$txt);
./ccamp_update_tables.php : $dataresult=Run_Sql($region3_dialect,$sql); if($verbose_output) log_sql($log,$txt);
./ccamp_update_tables.php : $dataresult=Run_Sql($region3_dialect,$sql); if($verbose_output) log_sql($log,$txt);
./ccamp_update_tables.php : $dataresult=Run_Sql($region3_dialect,$sql); if($verbose_output) log_sql($log,$txt);
./ccamp_update_tables.php : $dataresult=Run_Sql($region3_dialect,$sql); if($verbose_output) log_sql($log,$txt);
./ccamp_update_tables.php : $dataresult=Run_Sql($region3_dialect,$sql); if($verbose_output) log_sql($log,$txt);
./ccamp_update_tables.php : $dataresult=Run_Sql($region3_dialect,$sql); if($verbose_output) log_sql($log,$txt);
./ccamp_update_tables.php : function calc_sum_DDEs($region3_dialect,$log,$verbose_output,$data_table){
./ccamp_update_tables.php : $dataresult=Run_Sql($region3_dialect,$sql); if($verbose_output) log_sql($log,$txt);
./ccamp_update_tables.php : $dataresult=Run_Sql($region3_dialect,$sql); if($verbose_output) log_sql($log,$txt);
./ccamp_update_tables.php : $dataresult=Run_Sql($region3_dialect,$sql); if($verbose_output) log_sql($log,$txt);
./ccamp_update_tables.php : $dataresult=Run_Sql($region3_dialect,$sql); if($verbose_output) log_sql($log,$txt);
./ccamp_update_tables.php : $dataresult=Run_Sql($region3_dialect,$sql); if($verbose_output) log_sql($log,$txt);
./ccamp_update_tables.php : $dataresult=Run_Sql($region3_dialect,$sql); if($verbose_output) log_sql($log,$txt);
./ccamp_update_tables.php : $dataresult=Run_Sql($region3_dialect,$sql); if($verbose_output) log_sql($log,$txt);
./ccamp_update_tables.php : $dataresult=Run_Sql($region3_dialect,$sql); if($verbose_output) log_sql($log,$txt);
./ccamp_update_tables.php : $dataresult=Run_Sql($region3_dialect,$sql); if($verbose_output) log_sql($log,$txt);
./ccamp_update_tables.php : $dataresult=Run_Sql($region3_dialect,$sql); if($verbose_output) log_sql($log,$txt);
./ccamp_update_tables.php : $dataresult=Run_Sql($region3_dialect,$sql); if($verbose_output) log_sql($log,$txt);
./ccamp_update_tables.php : $dataresult=Run_Sql($region3_dialect,$sql); if($verbose_output) log_sql($log,$txt);
./ccamp_update_tables.php : $dataresult=Run_Sql($region3_dialect,$sql); if($verbose_output) log_sql($log,$txt);
./ccamp_update_tables.php : $dataresult=Run_Sql($region3_dialect,$sql); if($verbose_output) log_sql($log,$txt);
./ccamp_update_tables.php : function calc_sum_DDT_TOT($region3_dialect,$log,$verbose_output,$data_table){
./ccamp_update_tables.php : $dataresult=Run_Sql($region3_dialect,$sql);if($verbose_output) log_sql($log,$txt);
./ccamp_update_tables.php : $dataresult=Run_Sql($region3_dialect,$sql);if($verbose_output) log_sql($log,$txt);
./ccamp_update_tables.php : $dataresult=Run_Sql($region3_dialect,$sql);
./ccamp_update_tables.php : $dataresult=Run_Sql($region3_dialect,$sql);
./ccamp_update_tables.php : $dataresult=Run_Sql($region3_dialect,$sql);
./ccamp_update_tables.php : $dataresult=Run_Sql($region3_dialect,$sql);
./ccamp_update_tables.php : $dataresult=Run_Sql($region3_dialect,$sql);
./ccamp_update_tables.php : $dataresult=Run_Sql($region3_dialect,$sql);
./ccamp_update_tables.php : $dataresult=Run_Sql($region3_dialect,$sql);
./ccamp_update_tables.php : $dataresult=Run_Sql($region3_dialect,$sql);
./ccamp_update_tables.php : function calc_sum_totcl($region3_dialect,$log,$verbose_output,$data_table){
./ccamp_update_tables.php : $dataresult=Run_Sql($region3_dialect,$sql);
./ccamp_update_tables.php : $dataresult=Run_Sql($region3_dialect,$sql);
./ccamp_update_tables.php : $dataresult=Run_Sql($region3_dialect,$sql);
./ccamp_update_tables.php : $dataresult=Run_Sql($region3_dialect,$sql);
./ccamp_update_tables.php : $dataresult=Run_Sql($region3_dialect,$sql);
./ccamp_update_tables.php : $dataresult=Run_Sql($region3_dialect,$sql);
./ccamp_update_tables.php : $dataresult=Run_Sql($region3_dialect,$sql);
./ccamp_update_tables.php : $dataresult=Run_Sql($region3_dialect,$sql);
./ccamp_update_tables.php : $dataresult=Run_Sql($region3_dialect,$sql);
./ccamp_update_tables.php : $dataresult=Run_Sql($region3_dialect,$sql);
./ccamp_update_tables.php : function create_dwe_master($region3_dialect,$log,$verbose_output){
./ccamp_update_tables.php : Run_Sql($region3_dialect,$sql); if ($verbose_output) log_time($log,$sql);
./ccamp_update_tables.php : $result=Run_Sql($region3_dialect,$sql); if ($verbose_output) log_time($log,$sql);
./ccamp_update_tables.php : $sql="INSERT INTO ".$data_table." SELECT * FROM ceden.dwe_raw_data "; #$result=Run_Sql($region3_dialect,$sql); if ($verbose_output) log_time($log,$sql);
./ccamp_update_tables.php : $sql="INSERT INTO ".$data_table." SELECT * FROM ceden.nne_master_data "; $result=Run_Sql($region3_dialect,$sql); if ($verbose_output) log_time($log,$sql);
./ccamp_update_tables.php : $sql="INSERT INTO ".$data_table." SELECT * FROM ceden.cabl_master_data WHERE LEFT(SiteTag,1)='3' "; $result=Run_Sql($region3_dialect,$sql); if ($verbose_output) log_time($log,$sql);
./ccamp_update_tables.php : $sql="INSERT INTO ".$data_table." SELECT * FROM ceden.bmi_master_data "; $result=Run_Sql($region3_dialect,$sql); if ($verbose_output) log_time($log,$sql);
./ccamp_update_tables.php : $sql="INSERT INTO ".$data_table." SELECT * FROM ceden.alga_master_data "; $result=Run_Sql($region3_dialect,$sql); if ($verbose_output) log_time($log,$sql);
./ccamp_update_tables.php : $sql="INSERT INTO ".$data_table." SELECT * FROM ceden.phab_master_data "; #$result=Run_Sql($region3_dialect,$sql); if ($verbose_output) log_time($log,$sql);
./ccamp_update_tables.php : $sql="INSERT INTO ".$data_table." SELECT * FROM ceden.habitat_master_data "; $result=Run_Sql($region3_dialect,$sql); if ($verbose_output) log_time($log,$sql);
./ccamp_update_tables.php : $sql="INSERT INTO ".$data_table." SELECT * FROM ceden.dpr_surf_master_data "; $result=Run_Sql($region3_dialect,$sql); if ($verbose_output) log_time($log,$sql);
./ccamp_update_tables.php : $sql="INSERT INTO ".$data_table." SELECT * FROM ceden.dpr_sed_master_data "; $result=Run_Sql($region3_dialect,$sql); if ($verbose_output) log_time($log,$sql);
./ccamp_update_tables.php : $sql=" UPDATE ".$data_table." SET Result=-88 WHERE ccampid='PH' AND Result=0 "; $result=Run_Sql($region3_dialect,$sql); if($verbose_output) log_sql($log,$txt);
./ccamp_update_tables.php : $sql=" UPDATE ".$data_table." SET Result_val=-88 WHERE ccampid='PH' AND Result_val=0 "; $result=Run_Sql($region3_dialect,$sql); if($verbose_output) log_sql($log,$txt);
./ccamp_update_tables.php : $sql=" UPDATE ".$data_table." SET Result=-88 WHERE ccampid='H2O_TEMP' AND Result1 "; $result=Run_Sql($region3_dialect,$sql); if($verbose_output) log_sql($log,$txt);
./ccamp_update_tables.php : $sql=" UPDATE ".$data_table." SET Result_val=-88 WHERE ccampid='H2O_TEMP' AND Result_val1"; $result=Run_Sql($region3_dialect,$sql); if($verbose_output) log_sql($log,$txt);
./ccamp_update_tables.php : analytename_2_empty_ccampid($region3_dialect,$log,$verbose_output,$org_id,$data_table);
./ccamp_update_tables.php : ccampid_2_empty_analytename($region3_dialect,$log,$verbose_output,$org_id,$data_table);
./ccamp_update_tables.php : reset_id_keys($region3_dialect,$log,$verbose_output,$data_table);
./ccamp_update_tables.php : function bmi2stat($region3_dialect,$log,$verbose_output){
./ccamp_update_tables.php : Run_Sql($region3_dialect,$sql);
./ccamp_update_tables.php : sql_free_result($region3_dialect,$result);
./ccamp_update_tables.php : Run_Sql($region3_dialect,$sql);
./ccamp_update_tables.php : sql_free_result($region3_dialect,$result);
./ccamp_update_tables.php : function set_gis_info($region3_dialect,$log,$verbose_output,$site_table,$data_table)
./ccamp_update_tables.php : $sql="SELECT DISTINCT SiteTag FROM ceden.".$data_table." "; $result=Run_Sql($region3_dialect,$sql); if ($verbose_output) log_time($log,$sql);
./ccamp_update_tables.php : while ($data=sql_fetch_assoc($region3_dialect,$result))
./ccamp_update_tables.php : $result1=Run_Sql($region3_dialect,$sql); if ($verbose_output) log_time($log,$sql);
./ccamp_update_tables.php : $data1=sql_fetch_assoc($region3_dialect,$result1);
./ccamp_update_tables.php : $result2=Run_Sql($region3_dialect,$sql); if ($verbose_output) log_time($log,$sql);
./ccamp_update_tables.php : $sql="SELECT DISTINCT Waterbody FROM ceden.".$data_table." "; $result=Run_Sql($region3_dialect,$sql);
./ccamp_update_tables.php : while ($data=sql_fetch_assoc($region3_dialect,$result))
./ccamp_update_tables.php : $result1=Run_Sql($region3_dialect,$sql); if ($verbose_output) log_time($log,$sql);
./ccamp_update_tables.php : $data1=sql_fetch_assoc($region3_dialect,$result1);
./ccamp_update_tables.php : $result2=Run_Sql($region3_dialect,$sql); if ($verbose_output) log_time($log,$sql);
./ccamp_update_tables.php : $sql="SELECT DISTINCT sitetag AS site_tag FROM ceden.".$data_table; $result=Run_Sql($region3_dialect,$sql);
./ccamp_update_tables.php : while ($data_row=sql_fetch_assoc($region3_dialect,$result))
./ccamp_update_tables.php : $result1=Run_Sql($region3_dialect,$sql);
./ccamp_update_tables.php : $site_row=sql_fetch_assoc($region3_dialect,$result1);
./ccamp_update_tables.php : if ($waterbody) {$sql=" UPDATE ceden.".$data_table." SET Waterbody='".$site_row['WaterbodyWeb']."' WHERE sitetag='".$site_row['SiteTag']."' AND Waterbody IS NULL "; Run_Sql($region3_dialect,$sql);}
./ccamp_update_tables.php : if ($latitude) {$sql=" UPDATE ceden.".$data_table." SET Latitude=".$site_row['Latitude']."+0 WHERE sitetag='".$site_row['SiteTag']."' AND Latitude IS NULL "; Run_Sql($region3_dialect,$sql);}
./ccamp_update_tables.php : if ($longitude) {$sql=" UPDATE ceden.".$data_table." SET Longitude=".$site_row['Longitude']."+0 WHERE sitetag='".$site_row['SiteTag']."' AND Longitude IS NULL "; Run_Sql($region3_dialect,$sql);}
./ccamp_update_tables.php : if ($hu) {$sql=" UPDATE ceden.".$data_table." SET hu='".$site_row['hu']."' WHERE sitetag='".$site_row['SiteTag']."' AND hu IS NULL "; Run_Sql($region3_dialect,$sql);}
./ccamp_update_tables.php : if ($comid1) {$sql=" UPDATE ceden.".$data_table." SET comid=".$site_row['comid1']."+0 WHERE sitetag='".$site_row['SiteTag']."' AND comid IS NULL "; Run_Sql($region3_dialect,$sql);}
./ccamp_update_tables.php : if ($latitude) {$sql=" UPDATE ceden.".$data_table." SET Latitude=".$site_row['Latitude']."+0 WHERE sitetag='".$site_row['SiteTag']."' AND Latitude=0 "; Run_Sql($region3_dialect,$sql);}
./ccamp_update_tables.php : if (!$longitude) {$sql=" UPDATE ceden.".$data_table." SET Longitude=".$site_row['Longitude']."+0 WHERE sitetag='".$site_row['SiteTag']."' AND Longitude=0 "; Run_Sql($region3_dialect,$sql);}
./ccamp_update_tables.php : if ($hu) {$sql=" UPDATE ceden.".$data_table." SET hu='".$site_row['hu']."' WHERE sitetag='".$site_row['SiteTag']."' AND hu=0 "; Run_Sql($region3_dialect,$sql);}
./ccamp_update_tables.php : if ($comid1) {$sql=" UPDATE ceden.".$data_table." SET comid=".$site_row['comid1']."+0 WHERE sitetag='".$site_row['SiteTag']."' AND comid=0"; Run_Sql($region3_dialect,$sql);}
./ccamp_update_tables.php : function patch_bugs($region3_dialect,$log,$verbose_output,$org_id,$data_table){
./ccamp_update_tables.php : $result=Run_Sql($region3_dialect,$sql);
./ccamp_update_tables.php : $result=Run_Sql($region3_dialect,$sql);
./ccamp_update_tables.php : $result=Run_Sql($region3_dialect,$sql);
./ccamp_update_tables.php : $result=Run_Sql($region3_dialect,$sql);
./ccamp_update_tables.php : $result=Run_Sql($region3_dialect,$sql);
./ccamp_update_tables.php : $result=Run_Sql($region3_dialect,$sql);
./ccamp_update_tables.php : $result=Run_Sql($region3_dialect,$sql);
./ccamp_update_tables.php : $result=Run_Sql($region3_dialect,$sql);
./ccamp_update_tables.php : $result=Run_Sql($region3_dialect,$sql);
./ccamp_update_tables.php : $result=Run_Sql($region3_dialect,$sql);
./ccamp_update_tables.php : $result=Run_Sql($region3_dialect,$sql);
./ccamp_update_tables.php : $result=Run_Sql($region3_dialect,$sql);
./ccamp_update_tables.php : $result=Run_Sql($region3_dialect,$sql);
./ccamp_update_tables.php : $result=Run_Sql($region3_dialect,$sql); if ($verbose_output) log_time($log,$sql);
./ccamp_update_tables.php : $result=Run_Sql($region3_dialect,$sql); if ($verbose_output) log_time($log,$sql);
./ccamp_update_tables.php : function calc_load_30($region3_dialect,$log,$verbose_output,$sitetag,$ccampid,$int_day,$id_key){
./ccamp_update_tables.php : $res=Run_Sql($region3_dialect,$sql); #log_sql($log,$txt);
./ccamp_update_tables.php : $data=sql_fetch_assoc($region3_dialect,$res);
./ccamp_update_tables.php : $res1=Run_Sql($region3_dialect,$sql); #log_sql($log,$txt);
./ccamp_update_tables.php : function calc_monthly($region3_dialect,$log,$verbose_output){
./ccamp_update_tables.php : $result=Run_Sql($region3_dialect,$sql);
./ccamp_update_tables.php : while ($data=sql_fetch_assoc($region3_dialect,$result))
./ccamp_update_tables.php : calc_load_30($region3_dialect,$log,$verbose_output,$sitetag,$ccampid,$int_day,$id_key);
./ccamp_update_tables.php : function remove_duplicates($region3_dialect,$log,$verbose_output,$data_table){
./ccamp_update_tables.php : $sql=" DROP TABLE IF EXISTS ceden.temp_table"; Run_Sql($region3_dialect,$sql); if ($verbose_output) log_time($log,$sql);
./ccamp_update_tables.php : $sql=" DROP TABLE IF EXISTS ceden.temp_table1"; Run_Sql($region3_dialect,$sql); if ($verbose_output) log_time($log,$sql);
./ccamp_update_tables.php : Run_Sql($region3_dialect,$sql); if ($verbose_output) log_time($log,$sql);
./ccamp_update_tables.php : $result=Run_Sql($region3_dialect,$sql); if ($verbose_output) log_time($log,$sql);
./ccamp_update_tables.php : $data=sql_fetch_assoc($region3_dialect,$result);
./ccamp_update_tables.php : $result=Run_Sql($region3_dialect,$sql); if ($verbose_output) log_time($log,$sql);
./ccamp_update_tables.php : $data=sql_fetch_assoc($region3_dialect,$result);
./ccamp_update_tables.php : Run_Sql($region3_dialect,$sql); if ($verbose_output) log_time($log,$sql);
./ccamp_update_tables.php : Run_Sql($region3_dialect,$sql); if ($verbose_output) log_time($log,$sql);
./ccamp_update_tables.php : $result=Run_Sql($region3_dialect,$sql); if ($verbose_output) log_time($log,$sql);
./ccamp_update_tables.php : $data=sql_fetch_assoc($region3_dialect,$result);
./ccamp_update_tables.php : function remove_duplicates_SAFE($region3_dialect,$log,$verbose_output,$data_table){
./ccamp_update_tables.php : $sql=" DROP TABLE IF EXISTS ceden.temp_table"; Run_Sql($region3_dialect,$sql); if ($verbose_output) log_time($log,$sql);
./ccamp_update_tables.php : Run_Sql($region3_dialect,$sql); if ($verbose_output) log_time($log,$sql);
./ccamp_update_tables.php : $result=Run_Sql($region3_dialect,$sql); if ($verbose_output) log_time($log,$sql);
./ccamp_update_tables.php : $data=sql_fetch_assoc($region3_dialect,$result);
./ccamp_update_tables.php : $result=Run_Sql($region3_dialect,$sql); if ($verbose_output) log_time($log,$sql);
./ccamp_update_tables.php : $data=sql_fetch_assoc($region3_dialect,$result);
./ccamp_update_tables.php : Run_Sql($region3_dialect,$sql); if ($verbose_output) log_time($log,$sql);
./ccamp_update_tables.php : Run_Sql($region3_dialect,$sql); if ($verbose_output) log_time($log,$sql);
./ccamp_update_tables.php : $result=Run_Sql($region3_dialect,$sql); if ($verbose_output) log_time($log,$sql);
./ccamp_update_tables.php : $data=sql_fetch_assoc($region3_dialect,$result);
./ccamp_update_tables.php : function set_fractions($region3_dialect,$log,$verbose_output,$org_id,$data_table){
./ccamp_update_tables.php : $sql=" UPDATE ".$data_table." SET fractionname='total' WHERE analytename='Ammonia as N' "; $result=Run_Sql($region3_dialect,$sql); if($verbose_output) log_time($log,$sql);
./ccamp_update_tables.php : $sql=" UPDATE ".$data_table." SET fractionname='total' WHERE analytename='Phosphorus as P' "; $result=Run_Sql($region3_dialect,$sql); if($verbose_output) log_time($log,$sql);
./ccamp_update_tables.php : $sql=" UPDATE ".$data_table." SET fractionname='none' WHERE ccampid='NO3_N'; "; $result=Run_Sql($region3_dialect,$sql); if ($verbose_output) log_time($log,$sql);
./ccamp_update_tables.php : $sql=" UPDATE ".$data_table." SET fractionname='none' WHERE ccampid='N_N'; "; $result=Run_Sql($region3_dialect,$sql); if ($verbose_output) log_time($log,$sql);
./ccamp_update_tables.php : $sql=" UPDATE ".$data_table." SET fractionname='none' WHERE ccampid='P_P'; "; $result=Run_Sql($region3_dialect,$sql); if ($verbose_output) log_time($log,$sql);
./ccamp_update_tables.php : $sql=" UPDATE ".$data_table." SET fractionname='none' WHERE ccampid='TKN_N'; "; $result=Run_Sql($region3_dialect,$sql); if ($verbose_output) log_time($log,$sql);
./ccamp_update_tables.php : $sql=" UPDATE ".$data_table." SET fractionname='none' WHERE ccampid='NO2_N'; "; $result=Run_Sql($region3_dialect,$sql); if ($verbose_output) log_time($log,$sql);
./ccamp_update_tables.php : $sql=" UPDATE ".$data_table." SET fractionname='none' WHERE ccampid='NH3_N'; "; $result=Run_Sql($region3_dialect,$sql); if ($verbose_output) log_time($log,$sql);
./ccamp_update_tables.php : $sql=" UPDATE ".$data_table." SET fractionname='none' WHERE ccampid='NO3NO2_N'; "; $result=Run_Sql($region3_dialect,$sql); if ($verbose_output) log_time($log,$sql);
./ccamp_update_tables.php : $sql=" UPDATE ".$data_table." SET fractionname='none' WHERE ccampid='TSS'; "; $result=Run_Sql($region3_dialect,$sql); if ($verbose_output) log_time($log,$sql);
./ccamp_update_tables.php : $sql=" UPDATE ".$data_table." SET fractionname='none' WHERE ccampid='SILTCLAY'; "; $result=Run_Sql($region3_dialect,$sql); if ($verbose_output) log_time($log,$sql);
./ccamp_update_tables.php : $sql=" UPDATE ".$data_table." SET fractionname='none' WHERE ccampid='CLAY39'; "; $result=Run_Sql($region3_dialect,$sql); if ($verbose_output) log_time($log,$sql);
./ccamp_update_tables.php : $sql=" UPDATE ".$data_table." SET fractionname='none' WHERE ccampid='SILT3962'; "; $result=Run_Sql($region3_dialect,$sql); if ($verbose_output) log_time($log,$sql);
./ccamp_update_tables.php : $sql=" UPDATE ".$data_table." SET fractionname='none' WHERE ccampid='SAND6252'; "; $result=Run_Sql($region3_dialect,$sql); if ($verbose_output) log_time($log,$sql);
./ccamp_update_tables.php : $sql=" UPDATE ".$data_table." SET fractionname='none' WHERE ccampid='GRAN24'; "; $result=Run_Sql($region3_dialect,$sql); if ($verbose_output) log_time($log,$sql);
./ccamp_update_tables.php : $sql=" UPDATE ".$data_table." SET fractionname='none' WHERE ccampid='CLAY39195'; "; $result=Run_Sql($region3_dialect,$sql); if ($verbose_output) log_time($log,$sql);
./ccamp_update_tables.php : $sql=" UPDATE ".$data_table." SET fractionname='none' WHERE ccampid='CLAY98'; "; $result=Run_Sql($region3_dialect,$sql); if ($verbose_output) log_time($log,$sql);
./ccamp_update_tables.php : $sql=" UPDATE ".$data_table." SET fractionname='none' WHERE ccampid='PEBBLE1632'; "; $result=Run_Sql($region3_dialect,$sql); if ($verbose_output) log_time($log,$sql);
./ccamp_update_tables.php : $sql=" UPDATE ".$data_table." SET fractionname='none' WHERE ccampid='CLAY98195'; "; $result=Run_Sql($region3_dialect,$sql); if ($verbose_output) log_time($log,$sql);
./ccamp_update_tables.php : $sql=" UPDATE ".$data_table." SET fractionname='none' WHERE ccampid='PEBBLE816'; "; $result=Run_Sql($region3_dialect,$sql); if ($verbose_output) log_time($log,$sql);
./ccamp_update_tables.php : $sql=" UPDATE ".$data_table." SET fractionname='none' WHERE ccampid='PEBBLE48'; "; $result=Run_Sql($region3_dialect,$sql); if ($verbose_output) log_time($log,$sql);
./ccamp_update_tables.php : $sql=" UPDATE ".$data_table." SET fractionname='none' WHERE ccampid='PEBBLE3264'; "; $result=Run_Sql($region3_dialect,$sql); if ($verbose_output) log_time($log,$sql);
./ccamp_update_tables.php : $sql=" UPDATE ".$data_table." SET fractionname='none' WHERE ccampid='GRAVEL012'; "; $result=Run_Sql($region3_dialect,$sql); if ($verbose_output) log_time($log,$sql);
./ccamp_update_tables.php : $sql=" UPDATE ".$data_table." SET fractionname='none' WHERE ccampid='AIR_TEMP'; "; $result=Run_Sql($region3_dialect,$sql); if ($verbose_output) log_time($log,$sql);
./ccamp_update_tables.php : $sql=" UPDATE ".$data_table." SET fractionname='none' WHERE ccampid='ALKALINITY'; "; $result=Run_Sql($region3_dialect,$sql); if ($verbose_output) log_time($log,$sql);
./ccamp_update_tables.php : $sql=" UPDATE ".$data_table." SET fractionname='none' WHERE ccampid='ALGA_PERI'; "; $result=Run_Sql($region3_dialect,$sql); if ($verbose_output) log_time($log,$sql);
./ccamp_update_tables.php : $sql=" UPDATE ".$data_table." SET fractionname='none' WHERE ccampid='ALGA_MATS'; "; $result=Run_Sql($region3_dialect,$sql); if ($verbose_output) log_time($log,$sql);
./ccamp_update_tables.php : $sql=" UPDATE ".$data_table." SET fractionname='none' WHERE ccampid='FLOW'; "; $result=Run_Sql($region3_dialect,$sql); if ($verbose_output) log_time($log,$sql);
./ccamp_update_tables.php : $sql=" UPDATE ".$data_table." SET fractionname='none' WHERE ccampid='HARD'; "; $result=Run_Sql($region3_dialect,$sql); if ($verbose_output) log_time($log,$sql);
./ccamp_update_tables.php : $sql=" UPDATE ".$data_table." SET fractionname='none' WHERE ccampid='NH3U_N'; "; $result=Run_Sql($region3_dialect,$sql); if ($verbose_output) log_time($log,$sql);
./ccamp_update_tables.php : $sql=" UPDATE ".$data_table." SET fractionname='none' WHERE ccampid='OP_P'; "; $result=Run_Sql($region3_dialect,$sql); if ($verbose_output) log_time($log,$sql);
./ccamp_update_tables.php : $sql=" UPDATE ".$data_table." SET fractionname='none' WHERE ccampid='UREA' "; $result=Run_Sql($region3_dialect,$sql); if ($verbose_output) log_time($log,$sql);
./ccamp_update_tables.php : $sql=" UPDATE ".$data_table." SET fractionname='none' WHERE ccampid='TURB_N' "; $result=Run_Sql($region3_dialect,$sql); if ($verbose_output) log_time($log,$sql);
./ccamp_update_tables.php : $sql=" UPDATE ".$data_table." SET fractionname='none' WHERE ccampid='BVOLTS' "; $result=Run_Sql($region3_dialect,$sql); if ($verbose_output) log_time($log,$sql);
./ccamp_update_tables.php : $sql=" UPDATE ".$data_table." SET fractionname='none' WHERE ccampid='FCOLI' "; $result=Run_Sql($region3_dialect,$sql); if ($verbose_output) log_time($log,$sql);
./ccamp_update_tables.php : $sql=" UPDATE ".$data_table." SET fractionname='none' WHERE ccampid='TCOLI' "; $result=Run_Sql($region3_dialect,$sql); if ($verbose_output) log_time($log,$sql);
./ccamp_update_tables.php : $sql=" UPDATE ".$data_table." SET fractionname='none' WHERE ccampid='ECOLI' "; $result=Run_Sql($region3_dialect,$sql); if ($verbose_output) log_time($log,$sql);
./ccamp_update_tables.php : $sql=" UPDATE ".$data_table." SET fractionname='none' WHERE ccampid='SALINITY' "; $result=Run_Sql($region3_dialect,$sql); if ($verbose_output) log_time($log,$sql);
./ccamp_update_tables.php : $sql=" UPDATE ".$data_table." SET fractionname='none' WHERE ccampid='CHLORIDE' "; $result=Run_Sql($region3_dialect,$sql); if ($verbose_output) log_time($log,$sql);
./ccamp_update_tables.php : $sql=" UPDATE ".$data_table." SET fractionname='none' WHERE ccampid='COND_US' "; $result=Run_Sql($region3_dialect,$sql); if ($verbose_output) log_time($log,$sql);
./ccamp_update_tables.php : $sql=" UPDATE ".$data_table." SET fractionname='none' WHERE chr_group='Bmi' "; $result=Run_Sql($region3_dialect,$sql); if($verbose_output) log_time($log,$sql);
./ccamp_update_tables.php : $sql=" UPDATE ".$data_table." SET fractionname='none' WHERE chr_group='Tox' "; $result=Run_Sql($region3_dialect,$sql); if($verbose_output) log_time($log,$sql);
./ccamp_update_tables.php : $sql=" UPDATE ".$data_table." SET fractionname='none' WHERE analytename='Silt' "; $result=Run_Sql($region3_dialect,$sql); if($verbose_output) log_time($log,$sql);
./ccamp_update_tables.php : $sql=" UPDATE ".$data_table." SET fractionname='none' WHERE analytename='Clay' "; $result=Run_Sql($region3_dialect,$sql); if($verbose_output) log_time($log,$sql);
./ccamp_update_tables.php : $sql=" UPDATE ".$data_table." SET fractionname='none' WHERE analytename='Sand' "; $result=Run_Sql($region3_dialect,$sql); if($verbose_output) log_time($log,$sql);
./ccamp_update_tables.php : $sql=" UPDATE ".$data_table." SET fractionname='none' WHERE fractionname='particulate' "; $result=Run_Sql($region3_dialect,$sql); if($verbose_output) log_time($log,$sql);
./ccamp_update_tables.php : $sql=" UPDATE ".$data_table." SET fractionname='dissolved' WHERE ccampid='CA' "; $result=Run_Sql($region3_dialect,$sql); if ($verbose_output) log_time($log,$sql);
./ccamp_update_tables.php : $sql=" UPDATE ".$data_table." SET fractionname='dissolved' WHERE ccampid='MG' "; $result=Run_Sql($region3_dialect,$sql); if ($verbose_output) log_time($log,$sql);
./ccamp_update_tables.php : $sql=" UPDATE ".$data_table." SET fractionname='dissolved' WHERE ccampid='SILICA' "; $result=Run_Sql($region3_dialect,$sql); if ($verbose_output) log_time($log,$sql);
./ccamp_update_tables.php : $sql=" UPDATE ".$data_table." SET fractionname='dissolved' WHERE ccampid='SODIUM' "; $result=Run_Sql($region3_dialect,$sql); if ($verbose_output) log_time($log,$sql);
./ccamp_update_tables.php : $sql=" UPDATE ".$data_table." SET fractionname='total' WHERE ccampid='PHOS_P' "; $result=Run_Sql($region3_dialect,$sql); if ($verbose_output) log_time($log,$sql);
./ccamp_update_tables.php : $sql=" UPDATE ".$data_table." SET fractionname='total' WHERE chr_group='Org' AND MatrixName='sediment' "; $result=Run_Sql($region3_dialect,$sql); if($verbose_output) log_time($log,$sql);
./ccamp_update_tables.php : $sql=" UPDATE ".$data_table." SET fractionname='total' WHERE chr_group='Org' AND MatrixName='samplewater' AND fractionname='nr' "; $result=Run_Sql($region3_dialect,$sql); if($verbose_output) log_time($log,$sql);
./ccamp_update_tables.php : $sql=" UPDATE ".$data_table." SET fractionname='none' WHERE fractionname='unionized' "; Run_Sql($region3_dialect,$sql); if ($verbose_output) log_time($log,$sql);
./ccamp_update_tables.php : $sql=" UPDATE ".$data_table." SET fractionname='none' WHERE fractionname='particulate' "; Run_Sql($region3_dialect,$sql); if ($verbose_output) log_time($log,$sql);
./ccamp_update_tables.php : $sql=" UPDATE ".$data_table." SET fractionname='none' WHERE chr_group='Tox' AND fractionname='nr' "; $result=Run_Sql($region3_dialect,$sql); if($verbose_output) log_time($log,$sql);
./ccamp_update_tables.php : $sql=" UPDATE ".$data_table." SET analytename='Dissolved Solids,volatile',ccampid='VTDS' WHERE analytename='Dissolved Solids,Total' AND fractionname='volatile' "; $result=Run_Sql($region3_dialect,$sql); if($verbose_output) log_time($log,$sql);
./ccamp_update_tables.php : $sql=" UPDATE ".$data_table." SET analytename='Dissolved Solids,fixed',ccampid='FTDS' WHERE analytename='Dissolved Solids,Total' AND fractionname='fixed' "; $result=Run_Sql($region3_dialect,$sql); if($verbose_output) log_time($log,$sql);
./ccamp_update_tables.php : $sql=" UPDATE ".$data_table." SET MatrixName='sediment' WHERE resultunit='mg/kg dw' "; $result=Run_Sql($region3_dialect,$sql); if ($verbose_output) log_time($log,$sql);
./ccamp_update_tables.php : $sql=" UPDATE ".$data_table." SET MatrixName='none' WHERE ccampid='BVOLTS' "; $result=Run_Sql($region3_dialect,$sql); if ($verbose_output) log_time($log,$sql);
./ccamp_update_tables.php : $sql=" UPDATE ".$data_table." SET MatrixName='none' WHERE ccampid='CBVOLTS' "; $result=Run_Sql($region3_dialect,$sql); if ($verbose_output) log_time($log,$sql);
./ccamp_update_tables.php : $sql=" UPDATE ".$data_table." SET MatrixName='none' WHERE ccampid='VOLTS' "; $result=Run_Sql($region3_dialect,$sql); if ($verbose_output) log_time($log,$sql);
./ccamp_update_tables.php : function move_mo_loads($region3_dialect,$log,$verbose_output,$analyte_table,$data_table){
./ccamp_update_tables.php : $result=Run_Sql($region3_dialect,$sql); if ($verbose_output) log_time($log,$sql);
./ccamp_update_tables.php : $result=Run_Sql($region3_dialect,$sql); if ($verbose_output) log_time($log,$sql);
./ccamp_update_tables.php : $result=Run_Sql($region3_dialect,$sql); if ($verbose_output) log_time($log,$sql);
./ccamp_update_tables.php : $result=Run_Sql($region3_dialect,$sql); if ($verbose_output) log_time($log,$sql);
./ccamp_update_tables.php : $result=Run_Sql($region3_dialect,$sql); if($verbose_output) log_sql($log,$txt);
./ccamp_update_tables.php : $result=Run_Sql($region3_dialect,$sql); if($verbose_output) log_sql($log,$txt);
./ccamp_update_tables.php : $result=Run_Sql($region3_dialect,$sql); if ($verbose_output) log_time($log,$sql);
./ccamp_update_tables.php : while ($data=sql_fetch_assoc($region3_dialect,$result)){
./ccamp_update_tables.php : $result1=Run_Sql($region3_dialect,$sql); if($verbose_output) log_sql($log,$txt);
./ccamp_update_tables.php : $data1=sql_fetch_assoc($region3_dialect,$result1);
./ccamp_update_tables.php : $result2=Run_Sql($region3_dialect,$sql); if($verbose_output) log_sql($log,$txt);
./ccamp_update_tables.php : $result=Run_Sql($region3_dialect,$sql); if($verbose_output) log_sql($log,$txt);
./ccamp_update_tables.php : $result=Run_Sql($region3_dialect,$sql); if($verbose_output) log_sql($log,$txt);
./ccamp_update_tables.php : $result=Run_Sql($region3_dialect,$sql); if($verbose_output) log_sql($log,$txt);
./ccamp_update_tables.php : $result=Run_Sql($region3_dialect,$sql); if($verbose_output) echo ''.$sql.'';
./ccamp_update_tables.php : $result=Run_Sql($region3_dialect,$sql); if($verbose_output) log_sql($log,$txt);
./ccamp_update_tables.php : $result=Run_Sql($region3_dialect,$sql); if($verbose_output) log_sql($log,$txt);
./ccamp_update_tables.php : $result=Run_Sql($region3_dialect,$sql); if($verbose_output) log_sql($log,$txt);
./ccamp_update_tables.php : $result=Run_Sql($region3_dialect,$sql); if($verbose_output) echo ''.$sql.'';
./ccamp_update_tables.php : $result=Run_Sql($region3_dialect,$sql); if($verbose_output) echo ''.$sql.'';
./ccamp_update_tables.php : $result=Run_Sql($region3_dialect,$sql); if($verbose_output) log_sql($log,$txt);
./ccamp_update_tables.php : $result=Run_Sql($region3_dialect,$sql); if($verbose_output) log_sql($log,$txt);
./ccamp_update_tables.php : while ($data=sql_fetch_assoc($region3_dialect,$result)){
./ccamp_update_tables.php : $result1=Run_Sql($region3_dialect,$sql); if($verbose_output) log_sql($log,$txt);
./ccamp_update_tables.php : $result=Run_Sql($region3_dialect,$sql); if ($verbose_output) log_time($log,$sql);
./ccamp_update_tables.php : $result=Run_Sql($region3_dialect,$sql); if($verbose_output) log_sql($log,$txt);
./ccamp_update_tables.php : $result=Run_Sql($region3_dialect,$sql); if($verbose_output) log_sql($log,$txt);
./ccamp_update_tables.php : $result=Run_Sql($region3_dialect,$sql); if($verbose_output) log_sql($log,$txt);
./ccamp_update_tables.php : $result=Run_Sql($region3_dialect,$sql); if($verbose_output) echo ''.$sql.'';
./ccamp_update_tables.php : $result=Run_Sql($region3_dialect,$sql); if($verbose_output) log_sql($log,$txt);
./ccamp_update_tables.php : $result=Run_Sql($region3_dialect,$sql); if($verbose_output) log_sql($log,$txt);
./ccamp_update_tables.php : reset_id_keys($region3_dialect,$log,$verbose_output,$data_table);
./ccamp_update_tables.php : function analytename_2_ccampid($region3_dialect,$log,$verbose_output,$org_id,$data_table){
./ccamp_update_tables.php : $result=Run_Sql($region3_dialect,$sql); if ($verbose_output) log_time($log,$sql);
./ccamp_update_tables.php : while ($data=sql_fetch_assoc($region3_dialect,$result))
./ccamp_update_tables.php : Run_Sql($region3_dialect,$sql); if ($verbose_output) log_time($log,$sql);
./ccamp_update_tables.php : $result1=Run_Sql($region3_dialect,$sql); if ($verbose_output) log_time($log,$sql);
./ccamp_update_tables.php : $data1=sql_fetch_assoc($region3_dialect,$result1);
./ccamp_update_tables.php : $row_count=sql_num_rows($region3_dialect,$result1);
./ccamp_update_tables.php : Run_Sql($region3_dialect,$sql); if ($verbose_output) log_time($log,$sql);
./ccamp_update_tables.php : $result1=Run_Sql($region3_dialect,$sql); if ($verbose_output) log_time($log,$sql);
./ccamp_update_tables.php : $data1=sql_fetch_assoc($region3_dialect,$result1);
./ccamp_update_tables.php : Run_Sql($region3_dialect,$sql); if ($verbose_output) log_time($log,$sql);
./ccamp_update_tables.php : $result1=Run_Sql($region3_dialect,$sql); if ($verbose_output) log_time($log,$sql);
./ccamp_update_tables.php : $data1=sql_fetch_assoc($region3_dialect,$result1);
./ccamp_update_tables.php : Run_Sql($region3_dialect,$sql); if ($verbose_output) log_time($log,$sql);
./ccamp_update_tables.php : $sql=" UPDATE ceden.".$data_table." SET ccampid='TOXPP7S' WHERE ccampid='TOXPPS' " ; Run_Sql($region3_dialect,$sql); if ($verbose_output) log_time($log,$sql);
./ccamp_update_tables.php : $sql=" UPDATE ceden.".$data_table." SET ccampid='TOXPP7G' WHERE ccampid='TOXPPG' " ; Run_Sql($region3_dialect,$sql); if ($verbose_output) log_time($log,$sql);
./ccamp_update_tables.php : $sql=" UPDATE ceden.".$data_table." SET ccampid='TOXAA7G_H2O' WHERE ccampid='TOXAAG' " ; Run_Sql($region3_dialect,$sql); if ($verbose_output) log_time($log,$sql);
./ccamp_update_tables.php : $sql=" UPDATE ceden.".$data_table." SET ccampid='TOXAA7S_H2O' WHERE ccampid='TOXAAS' " ; Run_Sql($region3_dialect,$sql); if ($verbose_output) log_time($log,$sql);
./ccamp_update_tables.php : $sql=" UPDATE ceden.".$data_table." SET ccampid='TOXAMG_H2O' WHERE ccampid='TOXAMG' " ; Run_Sql($region3_dialect,$sql); if ($verbose_output) log_time($log,$sql);
./ccamp_update_tables.php : $sql=" UPDATE ceden.".$data_table." SET ccampid='TOXAMS_H2O' WHERE ccampid='TOXAMS' " ; Run_Sql($region3_dialect,$sql); if ($verbose_output) log_time($log,$sql);
./ccamp_update_tables.php : $sql=" UPDATE ceden.".$data_table." SET ccampid='TOXAMPG_SED' WHERE ccampid='TOXAMPG' " ; Run_Sql($region3_dialect,$sql); if ($verbose_output) log_time($log,$sql);
./ccamp_update_tables.php : $sql=" UPDATE ceden.".$data_table." SET ccampid='TOXAMPS_SED' WHERE ccampid='TOXAMPS' " ; Run_Sql($region3_dialect,$sql); if ($verbose_output) log_time($log,$sql);
./ccamp_update_tables.php : function analytename_2_empty_ccampid($region3_dialect,$log,$verbose_output,$org_id,$data_table){
./ccamp_update_tables.php : $result=Run_Sql($region3_dialect,$sql); if ($verbose_output) log_time($log,$sql);
./ccamp_update_tables.php : while ($data=sql_fetch_assoc($region3_dialect,$result))
./ccamp_update_tables.php : Run_Sql($region3_dialect,$sql); if ($verbose_output) log_time($log,$sql);
./ccamp_update_tables.php : $result1=Run_Sql($region3_dialect,$sql); if ($verbose_output) log_time($log,$sql);
./ccamp_update_tables.php : $data1=sql_fetch_assoc($region3_dialect,$result1);
./ccamp_update_tables.php : Run_Sql($region3_dialect,$sql); if ($verbose_output) log_time($log,$sql);
./ccamp_update_tables.php : $result1=Run_Sql($region3_dialect,$sql); if ($verbose_output) log_time($log,$sql);
./ccamp_update_tables.php : $data1=sql_fetch_assoc($region3_dialect,$result1);
./ccamp_update_tables.php : Run_Sql($region3_dialect,$sql); if ($verbose_output) log_time($log,$sql);
./ccamp_update_tables.php : $result1=Run_Sql($region3_dialect,$sql); if ($verbose_output) log_time($log,$sql);
./ccamp_update_tables.php : $data1=sql_fetch_assoc($region3_dialect,$result1);
./ccamp_update_tables.php : Run_Sql($region3_dialect,$sql); if ($verbose_output) log_time($log,$sql);
./ccamp_update_tables.php : $sql=" UPDATE ceden.".$data_table." SET ccampid='TOXPP7S' WHERE ccampid='TOXPPS' " ; Run_Sql($region3_dialect,$sql); if ($verbose_output) log_time($log,$sql);
./ccamp_update_tables.php : $sql=" UPDATE ceden.".$data_table." SET ccampid='TOXPP7G' WHERE ccampid='TOXPPG' " ; Run_Sql($region3_dialect,$sql); if ($verbose_output) log_time($log,$sql);
./ccamp_update_tables.php : $sql=" UPDATE ceden.".$data_table." SET ccampid='TOXAA7G_H2O' WHERE ccampid='TOXAAG' " ; Run_Sql($region3_dialect,$sql); if ($verbose_output) log_time($log,$sql);
./ccamp_update_tables.php : $sql=" UPDATE ceden.".$data_table." SET ccampid='TOXAA7S_H2O' WHERE ccampid='TOXAAS' " ; Run_Sql($region3_dialect,$sql); if ($verbose_output) log_time($log,$sql);
./ccamp_update_tables.php : $sql=" UPDATE ceden.".$data_table." SET ccampid='TOXAMG_H2O' WHERE ccampid='TOXAMG' " ; Run_Sql($region3_dialect,$sql); if ($verbose_output) log_time($log,$sql);
./ccamp_update_tables.php : $sql=" UPDATE ceden.".$data_table." SET ccampid='TOXAMS_H2O' WHERE ccampid='TOXAMS' " ; Run_Sql($region3_dialect,$sql); if ($verbose_output) log_time($log,$sql);
./ccamp_update_tables.php : $sql=" UPDATE ceden.".$data_table." SET ccampid='TOXAMPG_SED' WHERE ccampid='TOXAMPG' " ; Run_Sql($region3_dialect,$sql); if ($verbose_output) log_time($log,$sql);
./ccamp_update_tables.php : $sql=" UPDATE ceden.".$data_table." SET ccampid='TOXAMPS_SED' WHERE ccampid='TOXAMPS' " ; Run_Sql($region3_dialect,$sql); if ($verbose_output) log_time($log,$sql);
./ccamp_update_tables.php : function ccampid_2_analytename($region3_dialect,$log,$verbose_output,$org_id,$data_table){
./ccamp_update_tables.php : $result=Run_Sql($region3_dialect,$sql); if ($verbose_output) log_time($log,$sql);
./ccamp_update_tables.php : while ($data=sql_fetch_assoc($region3_dialect,$result))
./ccamp_update_tables.php : $result1=Run_Sql($region3_dialect,$sql); if ($verbose_output) log_time($log,$sql);
./ccamp_update_tables.php : $data1=sql_fetch_assoc($region3_dialect,$result1);
./ccamp_update_tables.php : $result2=Run_Sql($region3_dialect,$sql); if ($verbose_output) log_time($log,$sql);
./ccamp_update_tables.php : function ccampid_2_empty_analytename($region3_dialect,$log,$verbose_output,$org_id,$data_table){
./ccamp_update_tables.php : $result=Run_Sql($region3_dialect,$sql); if ($verbose_output) log_time($log,$sql);
./ccamp_update_tables.php : while ($data=sql_fetch_assoc($region3_dialect,$result))
./ccamp_update_tables.php : $result1=Run_Sql($region3_dialect,$sql); if ($verbose_output) log_time($log,$sql);
./ccamp_update_tables.php : $data1=sql_fetch_assoc($region3_dialect,$result1);
./ccamp_update_tables.php : $result2=Run_Sql($region3_dialect,$sql); if ($verbose_output) log_time($log,$sql);
./ccamp_update_tables.php : $result=Run_Sql($region3_dialect,$sql); if ($verbose_output) log_time($log,$sql);
./ccamp_update_tables.php : while ($data=sql_fetch_assoc($region3_dialect,$result))
./ccamp_update_tables.php : $result1=Run_Sql($region3_dialect,$sql); if ($verbose_output) log_time($log,$sql);
./ccamp_update_tables.php : $data1=sql_fetch_assoc($region3_dialect,$result1);
./ccamp_update_tables.php : $result2=Run_Sql($region3_dialect,$sql); if ($verbose_output) log_time($log,$sql);
./ccamp_update_tables.php : $sql=" UPDATE ".$data_table." SET chr_group='Cwq' WHERE ccampid='CHLORA' AND matrixname='blankwater' "; $result=Run_Sql($region3_dialect,$sql); if($verbose_output) log_sql($log,$txt);
./ccamp_update_tables.php : $sql=" UPDATE ".$data_table." SET chr_group='Cwq' WHERE ccampid='TDS' AND matrixname='blankwater' "; $result=Run_Sql($region3_dialect,$sql); if($verbose_output) log_sql($log,$txt);
./ccamp_update_tables.php : $sql=" UPDATE ".$data_table." SET chr_group='Cwq' WHERE ccampid='OP_P' AND matrixname='blankwater' "; $result=Run_Sql($region3_dialect,$sql); if($verbose_output) log_sql($log,$txt);
./ccamp_update_tables.php : $sql=" UPDATE ".$data_table." SET chr_group='Cwq' WHERE ccampid='SILT31' "; $result=Run_Sql($region3_dialect,$sql); if($verbose_output) log_sql($log,$txt);
./ccamp_update_tables.php : $sql=" UPDATE ".$data_table." SET chr_group='Cwq' WHERE ccampid='SILT078' "; $result=Run_Sql($region3_dialect,$sql); if($verbose_output) log_sql($log,$txt);
./ccamp_update_tables.php : $sql=" UPDATE ".$data_table." SET chr_group='Cwq' WHERE ccampid='SILT01' "; $result=Run_Sql($region3_dialect,$sql); if($verbose_output) log_sql($log,$txt);
./ccamp_update_tables.php : $sql=" UPDATE ".$data_table." SET chr_group='Cwq' WHERE ccampid='SILT003' "; $result=Run_Sql($region3_dialect,$sql); if($verbose_output) log_sql($log,$txt);
./ccamp_update_tables.php : $sql=" UPDATE ".$data_table." SET chr_group='Org' WHERE ccampid='TETCHLMXYL_S' "; $result=Run_Sql($region3_dialect,$sql); if($verbose_output) log_sql($log,$txt);
./ccamp_update_tables.php : function run_elep_band_aids($region3_dialect,$log,$verbose_output,$org_id,$stat_data_table,$web_data_table,$wqa_table,$analyte_table,$site_table){
./ccamp_update_tables.php : $result=Run_Sql($region3_dialect,$sql); #echo $sql."br";
./ccamp_update_tables.php : $result=Run_Sql($region3_dialect,$sql); #echo $sql."br";
./ccamp_update_tables.php : $result=Run_Sql($region3_dialect,$sql); #echo $sql."br";
./ccamp_update_tables.php : function set_hardness($region3_dialect,$log,$verbose_output,$analyte_table,$data_table){
./ccamp_update_tables.php : $result1=Run_Sql($region3_dialect,$sql); if($verbose_output) log_sql($log,$txt);
./ccamp_update_tables.php : $result=Run_Sql($region3_dialect,$sql); if($verbose_output) log_sql($log,$txt);
./ccamp_update_tables.php : while ($data=sql_fetch_assoc($region3_dialect,$result)){
./ccamp_update_tables.php : $result1=Run_Sql($region3_dialect,$sql); if($verbose_output) log_sql($log,$txt);
./ccamp_update_tables.php : reset_id_keys($region3_dialect,$log,$verbose_output,$data_table); if($verbose_output) echo ''.$sql.'';
./ccamp_update_tables.php : function calc_tvs($region3_dialect,$log,$verbose_output,$analyte_table,$data_table){
./ccamp_update_tables.php : reset_id_keys($region3_dialect,$log,$verbose_output,$data_table);
./ccamp_update_tables.php : $dataresult=Run_Sql($region3_dialect,$sql);
./ccamp_update_tables.php : $dataresult=Run_Sql($region3_dialect,$sql);
./ccamp_update_tables.php : $dataresult=Run_Sql($region3_dialect,$sql);
./ccamp_update_tables.php : $dataresult=Run_Sql($region3_dialect,$sql);
./ccamp_update_tables.php : $dataresult=Run_Sql($region3_dialect,$sql);
./ccamp_update_tables.php : $dataresult=Run_Sql($region3_dialect,$sql);
./ccamp_update_tables.php : $dataresult=Run_Sql($region3_dialect,$sql);
./ccamp_update_tables.php : $dataresult=Run_Sql($region3_dialect,$sql);
./ccamp_update_tables.php : $dataresult=Run_Sql($region3_dialect,$sql);
./ccamp_update_tables.php : $dataresult=Run_Sql($region3_dialect,$sql);
./ccamp_update_tables.php : $dataresult=Run_Sql($region3_dialect,$sql);
./ccamp_update_tables.php : $dataresult=Run_Sql($region3_dialect,$sql);
./ccamp_update_tables.php : $dataresult=Run_Sql($region3_dialect,$sql);
./ccamp_update_tables.php : $dataresult=Run_Sql($region3_dialect,$sql);
./ccamp_update_tables.php : $dataresult=Run_Sql($region3_dialect,$sql);
./ccamp_update_tables.php : reset_id_keys($region3_dialect,$log,$verbose_output,$data_table);
./ccamp_update_tables.php : $dataresult=Run_Sql($region3_dialect,$sql);
./ccamp_update_tables.php : $dataresult=Run_Sql($region3_dialect,$sql);
./ccamp_update_tables.php : $dataresult=Run_Sql($region3_dialect,$sql);
./ccamp_update_tables.php : $dataresult=Run_Sql($region3_dialect,$sql);
./ccamp_update_tables.php : sql_free_result($region3_dialect,$dataresult);
./ccamp_update_tables.php : function calc_chldene($region3_dialect,$log,$verbose_output,$analyte_table,$data_table){
./ccamp_update_tables.php : reset_id_keys($region3_dialect,$log,$verbose_output,$data_table);
./ccamp_update_tables.php : $dataresult=Run_Sql($region3_dialect,$sql); if($verbose_output) log_sql($log,$txt);
./ccamp_update_tables.php : $dataresult=Run_Sql($region3_dialect,$sql);
./ccamp_update_tables.php : $dataresult=Run_Sql($region3_dialect,$sql);
./ccamp_update_tables.php : $dataresult=Run_Sql($region3_dialect,$sql);
./ccamp_update_tables.php : $dataresult=Run_Sql($region3_dialect,$sql);
./ccamp_update_tables.php : $dataresult=Run_Sql($region3_dialect,$sql);
./ccamp_update_tables.php : $dataresult=Run_Sql($region3_dialect,$sql);
./ccamp_update_tables.php : $dataresult=Run_Sql($region3_dialect,$sql);
./ccamp_update_tables.php : $dataresult=Run_Sql($region3_dialect,$sql);
./ccamp_update_tables.php : $dataresult=Run_Sql($region3_dialect,$sql);
./ccamp_update_tables.php : $dataresult=Run_Sql($region3_dialect,$sql);
./ccamp_update_tables.php : $dataresult=Run_Sql($region3_dialect,$sql);
./ccamp_update_tables.php : $dataresult=Run_Sql($region3_dialect,$sql);
./ccamp_update_tables.php : $dataresult=Run_Sql($region3_dialect,$sql);
./ccamp_update_tables.php : $dataresult=Run_Sql($region3_dialect,$sql);
./ccamp_update_tables.php : reset_id_keys($region3_dialect,$log,$verbose_output,$data_table);
./ccamp_update_tables.php : $dataresult=Run_Sql($region3_dialect,$sql);
./ccamp_update_tables.php : $dataresult=Run_Sql($region3_dialect,$sql);
./ccamp_update_tables.php : sql_free_result($region3_dialect,$dataresult);
./ccamp_update_tables.php : function calc_tot_permethrin($region3_dialect,$log,$verbose_output,$analyte_table,$data_table){
./ccamp_update_tables.php : reset_id_keys($region3_dialect,$log,$verbose_output,$data_table);
./ccamp_update_tables.php : $dataresult=Run_Sql($region3_dialect,$sql); if($verbose_output) log_sql($log,$txt);
./ccamp_update_tables.php : $dataresult=Run_Sql($region3_dialect,$sql);
./ccamp_update_tables.php : $dataresult=Run_Sql($region3_dialect,$sql);
./ccamp_update_tables.php : $dataresult=Run_Sql($region3_dialect,$sql);
./ccamp_update_tables.php : $dataresult=Run_Sql($region3_dialect,$sql);
./ccamp_update_tables.php : $dataresult=Run_Sql($region3_dialect,$sql);
./ccamp_update_tables.php : $dataresult=Run_Sql($region3_dialect,$sql);
./ccamp_update_tables.php : $dataresult=Run_Sql($region3_dialect,$sql);
./ccamp_update_tables.php : $dataresult=Run_Sql($region3_dialect,$sql);
./ccamp_update_tables.php : $dataresult=Run_Sql($region3_dialect,$sql);
./ccamp_update_tables.php : $dataresult=Run_Sql($region3_dialect,$sql);
./ccamp_update_tables.php : $dataresult=Run_Sql($region3_dialect,$sql);
./ccamp_update_tables.php : $dataresult=Run_Sql($region3_dialect,$sql);
./ccamp_update_tables.php : $dataresult=Run_Sql($region3_dialect,$sql);
./ccamp_update_tables.php : $dataresult=Run_Sql($region3_dialect,$sql);
./ccamp_update_tables.php : reset_id_keys($region3_dialect,$log,$verbose_output,$data_table);
./ccamp_update_tables.php : $dataresult=Run_Sql($region3_dialect,$sql);
./ccamp_update_tables.php : $dataresult=Run_Sql($region3_dialect,$sql);
./ccamp_update_tables.php : sql_free_result($region3_dialect,$dataresult);
./ccamp_update_tables.php : function table_backup_restore($region3_dialect,$log,$verbose_output,$mode,$table){
./ccamp_update_tables.php : $result=Run_Sql($region3_dialect,$sql);
./ccamp_update_tables.php : sql_close($region3_dialect,$region3_conn);
./ccamp_update_tables.php : $sql="DROP TABLE IF EXISTS ceden.".$dst_table." "; $result=Run_Sql($region3_dialect,$sql); if($verbose_output) log_sql($log,$txt);
./ccamp_update_tables.php : $sql="CREATE TABLE ".$dst_table." SELECT * FROM ".$src_table." ;"; $result=Run_Sql($region3_dialect,$sql); if ($verbose_output) log_time($log,$sql);
./ccamp_update_tables.php : sql_close($region3_dialect,$region3_conn);
./ccamp_update_tables.php : function set_units($region3_dialect,$log,$verbose_output,$data_table){
./ccamp_update_tables.php : $result=Run_Sql($region3_dialect,$sql); if ($verbose_output) log_time($log,$sql);
./ccamp_update_tables.php : $result=Run_Sql($region3_dialect,$sql); if ($verbose_output) log_time($log,$sql);
./ccamp_update_tables.php : $result=Run_Sql($region3_dialect,$sql); if ($verbose_output) log_time($log,$sql);
./ccamp_update_tables.php : $result=Run_Sql($region3_dialect,$sql); if ($verbose_output) log_time($log,$sql);
./ccamp_update_tables.php : $result=Run_Sql($region3_dialect,$sql); if ($verbose_output) log_time($log,$sql);
./ccamp_update_tables.php : $result=Run_Sql($region3_dialect,$sql); if ($verbose_output) log_time($log,$sql);
./ccamp_update_tables.php : $result=Run_Sql($region3_dialect,$sql); if ($verbose_output) log_time($log,$sql);
./ccamp_update_tables.php : $result=Run_Sql($region3_dialect,$sql); if ($verbose_output) log_time($log,$sql);
./ccamp_update_tables.php : $result=Run_Sql($region3_dialect,$sql); if ($verbose_output) log_time($log,$sql);
./ccamp_update_tables.php : $result=Run_Sql($region3_dialect,$sql); if ($verbose_output) log_time($log,$sql);
./ccamp_update_tables.php : $result=Run_Sql($region3_dialect,$sql); if ($verbose_output) log_time($log,$sql);
./ccamp_update_tables.php : $result=Run_Sql($region3_dialect,$sql); if ($verbose_output) log_time($log,$sql);
./ccamp_update_tables.php : $result=Run_Sql($region3_dialect,$sql); if ($verbose_output) log_time($log,$sql);
./ccamp_update_tables.php : $result=Run_Sql($region3_dialect,$sql); if ($verbose_output) log_time($log,$sql);
./ccamp_update_tables.php : $result=Run_Sql($region3_dialect,$sql); if ($verbose_output) log_time($log,$sql);
./ccamp_update_tables.php : $result=Run_Sql($region3_dialect,$sql); if ($verbose_output) log_time($log,$sql);
./ccamp_update_tables.php : $result=Run_Sql($region3_dialect,$sql); if ($verbose_output) log_time($log,$sql);
./ccamp_update_tables.php : $result=Run_Sql($region3_dialect,$sql); if ($verbose_output) log_time($log,$sql);
./ccamp_update_tables.php : $result=Run_Sql($region3_dialect,$sql); if ($verbose_output) log_time($log,$sql);
./ccamp_update_tables.php : $result=Run_Sql($region3_dialect,$sql); if ($verbose_output) log_time($log,$sql);
./ccamp_update_tables.php : $result=Run_Sql($region3_dialect,$sql); if ($verbose_output) log_time($log,$sql);
./ccamp_update_tables.php : $result=Run_Sql($region3_dialect,$sql); if ($verbose_output) log_time($log,$sql);
./ccamp_update_tables.php : $result=Run_Sql($region3_dialect,$sql); if ($verbose_output) log_time($log,$sql);
./ccamp_update_tables.php : $result=Run_Sql($region3_dialect,$sql); if ($verbose_output) log_time($log,$sql);
./ccamp_update_tables.php : $result=Run_Sql($region3_dialect,$sql); if ($verbose_output) log_time($log,$sql);
./ccamp_update_tables.php : $result=Run_Sql($region3_dialect,$sql); if ($verbose_output) log_time($log,$sql);
./ccamp_update_tables.php : $result=Run_Sql($region3_dialect,$sql); if ($verbose_output) log_time($log,$sql);
./ccamp_update_tables.php : $result=Run_Sql($region3_dialect,$sql); if ($verbose_output) log_time($log,$sql);
./ccamp_update_tables.php : $result=Run_Sql($region3_dialect,$sql); if ($verbose_output) log_time($log,$sql);
./ccamp_update_tables.php : $result=Run_Sql($region3_dialect,$sql); if ($verbose_output) log_time($log,$sql);
./ccamp_update_tables.php : $result=Run_Sql($region3_dialect,$sql); if ($verbose_output) log_time($log,$sql);
./ccamp_update_tables.php : $result=Run_Sql($region3_dialect,$sql); if ($verbose_output) log_time($log,$sql);
./ccamp_update_tables.php : $result=Run_Sql($region3_dialect,$sql); if ($verbose_output) log_time($log,$sql);
./ccamp_update_tables.php : $result=Run_Sql($region3_dialect,$sql); if ($verbose_output) log_time($log,$sql);
./ccamp_update_tables.php : $result=Run_Sql($region3_dialect,$sql); if ($verbose_output) log_time($log,$sql);
./ccamp_update_tables.php : $result=Run_Sql($region3_dialect,$sql); if ($verbose_output) log_time($log,$sql);
./ccamp_update_tables.php : $result=Run_Sql($region3_dialect,$sql); if ($verbose_output) log_time($log,$sql);
./ccamp_update_tables.php : $result=Run_Sql($region3_dialect,$sql); if ($verbose_output) log_time($log,$sql);
./ccamp_update_tables.php : $result=Run_Sql($region3_dialect,$sql); if ($verbose_output) log_time($log,$sql);
./ccamp_update_tables.php : $result=Run_Sql($region3_dialect,$sql); if ($verbose_output) log_time($log,$sql);
./ccamp_update_tables.php : $result=Run_Sql($region3_dialect,$sql); if ($verbose_output) log_time($log,$sql);
./ccamp_update_tables.php : $result=Run_Sql($region3_dialect,$sql); if ($verbose_output) log_time($log,$sql);
./ccamp_update_tables.php : $result=Run_Sql($region3_dialect,$sql); if ($verbose_output) log_time($log,$sql);
./ccamp_update_tables.php : $result=Run_Sql($region3_dialect,$sql); if ($verbose_output) log_time($log,$sql);
./ccamp_update_tables.php : $result=Run_Sql($region3_dialect,$sql); if ($verbose_output) log_time($log,$sql);
./ccamp_update_tables.php : Run_Sql($region3_dialect,$sql); if ($verbose_output) log_time($log,$sql);
./ccamp_update_tables.php : Run_Sql($region3_dialect,$sql); if ($verbose_output) log_time($log,$sql);
./ccamp_update_tables.php : Run_Sql($region3_dialect,$sql); if ($verbose_output) log_time($log,$sql);
./ccamp_update_tables.php : Run_Sql($region3_dialect,$sql); if ($verbose_output) log_time($log,$sql);
./ccamp_update_tables.php : Run_Sql($region3_dialect,$sql); if ($verbose_output) log_time($log,$sql);
./ccamp_update_tables.php : Run_Sql($region3_dialect,$sql); if ($verbose_output) log_time($log,$sql);
./ccamp_update_tables.php : $result=Run_Sql($region3_dialect,$sql); if ($verbose_output) log_time($log,$sql);
./ccamp_update_tables.php : $result=Run_Sql($region3_dialect,$sql); if ($verbose_output) log_time($log,$sql);
./ccamp_update_tables.php : $result=Run_Sql($region3_dialect,$sql); if ($verbose_output) log_time($log,$sql);
./ccamp_update_tables.php : $result=Run_Sql($region3_dialect,$sql); if ($verbose_output) log_time($log,$sql);
./ccamp_update_tables.php : $result=Run_Sql($region3_dialect,$sql); if ($verbose_output) log_time($log,$sql);
./ccamp_update_tables.php : $result=Run_Sql($region3_dialect,$sql); if ($verbose_output) log_time($log,$sql);
./ccamp_update_tables.php : $result=Run_Sql($region3_dialect,$sql); if ($verbose_output) log_time($log,$sql);
./ccamp_update_tables.php : $result=Run_Sql($region3_dialect,$sql); if ($verbose_output) log_time($log,$sql);
./ccamp_update_tables.php : $result=Run_Sql($region3_dialect,$sql); if ($verbose_output) log_time($log,$sql);
./ccamp_update_tables.php : $result=Run_Sql($region3_dialect,$sql); if ($verbose_output) log_time($log,$sql);
./ccamp_update_tables.php : $result=Run_Sql($region3_dialect,$sql); if ($verbose_output) log_time($log,$sql);
./ccamp_update_tables.php : $result=Run_Sql($region3_dialect,$sql); if ($verbose_output) log_time($log,$sql);
./ccamp_update_tables.php : $result=Run_Sql($region3_dialect,$sql); if ($verbose_output) log_time($log,$sql);
./ccamp_update_tables.php : $result=Run_Sql($region3_dialect,$sql); if ($verbose_output) log_time($log,$sql);
./ccamp_update_tables.php : $result=Run_Sql($region3_dialect,$sql); if ($verbose_output) log_time($log,$sql);
./ccamp_update_tables.php : $result=Run_Sql($region3_dialect,$sql); if ($verbose_output) log_time($log,$sql);
./ccamp_update_tables.php : $result=Run_Sql($region3_dialect,$sql); if ($verbose_output) log_time($log,$sql);
./ccamp_update_tables.php : $result=Run_Sql($region3_dialect,$sql); if ($verbose_output) log_time($log,$sql);
./ccamp_update_tables.php : $result=Run_Sql($region3_dialect,$sql); if ($verbose_output) log_time($log,$sql);
./ccamp_update_tables.php : $result=Run_Sql($region3_dialect,$sql); if ($verbose_output) log_time($log,$sql);
./ccamp_update_tables.php : $result=Run_Sql($region3_dialect,$sql); if ($verbose_output) log_time($log,$sql);
./ccamp_update_tables.php : $result=Run_Sql($region3_dialect,$sql); if ($verbose_output) log_time($log,$sql);
./ccamp_update_tables.php : $result=Run_Sql($region3_dialect,$sql); if ($verbose_output) log_time($log,$sql);
./ccamp_update_tables.php : $result=Run_Sql($region3_dialect,$sql); if ($verbose_output) log_time($log,$sql);
./ccamp_update_tables.php : $result=Run_Sql($region3_dialect,$sql); if ($verbose_output) log_time($log,$sql);
./ccamp_update_tables.php : $result=Run_Sql($region3_dialect,$sql); if ($verbose_output) log_time($log,$sql);
./ccamp_update_tables.php : $result=Run_Sql($region3_dialect,$sql); if ($verbose_output) log_time($log,$sql);
./ccamp_update_tables.php : $result=Run_Sql($region3_dialect,$sql); if ($verbose_output) log_time($log,$sql);
./ccamp_update_tables.php : $result=Run_Sql($region3_dialect,$sql); if ($verbose_output) log_time($log,$sql);
./ccamp_update_tables.php : $result=Run_Sql($region3_dialect,$sql); if ($verbose_output) log_time($log,$sql);
./ccamp_update_tables.php : $result=Run_Sql($region3_dialect,$sql); if ($verbose_output) log_time($log,$sql);
./ccamp_update_tables.php : function resolve_units($region3_dialect,$log,$verbose_output,$stat_data_table,$web_data_table,$wqa_table,$analyte_table,$goal_table){
./ccamp_update_tables.php : $result=Run_Sql($region3_dialect,$sql); if ($verbose_output) {$txt=$sql; log_time($log,$txt);}
./ccamp_update_tables.php : $result=Run_Sql($region3_dialect,$sql); if ($verbose_output) {$txt=$sql; log_time($log,$txt);}
./ccamp_update_tables.php : while ($data=sql_fetch_assoc($region3_dialect,$result)){
./ccamp_update_tables.php : $result1=Run_Sql($region3_dialect,$sql); if ($verbose_output) {$txt=$sql; log_time($log,$txt);}
./ccamp_update_tables.php : $result=Run_Sql($region3_dialect,$sql); if ($verbose_output) {$txt=$sql; log_time($log,$txt);}
./ccamp_update_tables.php : while ($data=sql_fetch_assoc($region3_dialect,$result)){
./ccamp_update_tables.php : $result1=Run_Sql($region3_dialect,$sql); if ($verbose_output) {$txt=$sql; log_time($log,$txt);}
./ccamp_update_tables.php : $result=Run_Sql($region3_dialect,$sql); if ($verbose_output) {$txt=$sql; log_time($log,$txt);}
./ccamp_update_tables.php : while ($data=sql_fetch_assoc($region3_dialect,$result)){
./ccamp_update_tables.php : $result1=Run_Sql($region3_dialect,$sql); if ($verbose_output) {$txt=$sql; log_time($log,$txt);}
./ccamp_update_tables.php : $result=Run_Sql($region3_dialect,$sql); if ($verbose_output) {$txt=$sql; log_time($log,$txt);}
./ccamp_update_tables.php : while ($data=sql_fetch_assoc($region3_dialect,$result)){
./ccamp_update_tables.php : $result1=Run_Sql($region3_dialect,$sql); if ($verbose_output) {$txt=$sql; log_time($log,$txt);}
./ccamp_update_tables.php : function convert_IBIs_2_meqs($region3_dialect,$log,$verbose_output,$web_data_table){
./ccamp_update_tables.php : $result=Run_Sql($region3_dialect,$sql); if ($verbose_output) {$txt=$sql; log_time($log,$txt);}
./ccamp_update_tables.php : while ($data=sql_fetch_assoc($region3_dialect,$result)){
./ccamp_update_tables.php : function set_extents($region3_dialect,$log,$verbose_output,$org_id,$wqa_table){
./ccamp_update_tables.php : Run_Sql($region3_dialect,$sql); if ($verbose_output) log_time($log,$sql);
./ccamp_update_tables.php : Run_Sql($region3_dialect,$sql); if ($verbose_output) log_time($log,$sql);
./ccamp_update_tables.php : $result=Run_Sql($region3_dialect,$sql);
./ccamp_update_tables.php : while ($data=sql_fetch_assoc($region3_dialect,$result)){
./ccamp_update_tables.php : Run_Sql($region3_dialect,$sql);
./ccamp_update_tables.php : $result=Run_Sql($region3_dialect,$sql); if ($verbose_output) log_time($log,$txt);
./ccamp_update_tables.php : while ($data=sql_fetch_assoc($region3_dialect,$result)){
./ccamp_update_tables.php : $result1=Run_Sql($region3_dialect,$sql);
./ccamp_update_tables.php : $result=Run_Sql($region3_dialect,$sql); if ($verbose_output) log_time($log,$txt);
./ccamp_update_tables.php : while ($data=sql_fetch_assoc($region3_dialect,$result)){
./ccamp_update_tables.php : $result1=Run_Sql($region3_dialect,$sql);
./ccamp_update_tables.php : $result=Run_Sql($region3_dialect,$sql); if ($verbose_output) log_time($log,$txt);
./ccamp_update_tables.php : while ($data=sql_fetch_assoc($region3_dialect,$result)){
./ccamp_update_tables.php : $result1=Run_Sql($region3_dialect,$sql);
./ccamp_update_tables.php : $result=Run_Sql($region3_dialect,$sql); if ($verbose_output) log_time($log,$txt);
./ccamp_update_tables.php : while ($data=sql_fetch_assoc($region3_dialect,$result)){
./ccamp_update_tables.php : $result1=Run_Sql($region3_dialect,$sql);
./ccamp_update_tables.php : function count_non_detects($region3_dialect,$log,$verbose_output,$org_id,$web_data_table,$wqa_table,$analyte_table,$site_table){
./ccamp_update_tables.php : Run_Sql($region3_dialect,$sql);
./ccamp_update_tables.php : Run_Sql($region3_dialect,$sql);
./ccamp_update_tables.php : Run_Sql($region3_dialect,$sql); if ($verbose_output) log_time($log,$sql);
./ccamp_update_tables.php : function calc_N_N($region3_dialect,$log,$verbose_output,$analyte_table,$data_table){
./ccamp_update_tables.php : reset_id_keys($region3_dialect,$log,$verbose_output,$data_table);
./ccamp_update_tables.php : $dataresult=Run_Sql($region3_dialect,$sql); if($verbose_output) log_sql($log,$txt);
./ccamp_update_tables.php : $dataresult=Run_Sql($region3_dialect,$sql); if($verbose_output) log_sql($log,$txt);
./ccamp_update_tables.php : $dataresult=Run_Sql($region3_dialect,$sql); if($verbose_output) log_sql($log,$txt);
./ccamp_update_tables.php : $dataresult=Run_Sql($region3_dialect,$sql); if($verbose_output) log_sql($log,$txt);
./ccamp_update_tables.php : $dataresult=Run_Sql($region3_dialect,$sql); if($verbose_output) log_sql($log,$txt);
./ccamp_update_tables.php : $dataresult=Run_Sql($region3_dialect,$sql); if($verbose_output) log_sql($log,$txt);
./ccamp_update_tables.php : $dataresult=Run_Sql($region3_dialect,$sql); if($verbose_output) log_sql($log,$txt);
./ccamp_update_tables.php : $dataresult=Run_Sql($region3_dialect,$sql); if($verbose_output) log_sql($log,$txt);
./ccamp_update_tables.php : $dataresult=Run_Sql($region3_dialect,$sql); if($verbose_output) log_sql($log,$txt);
./ccamp_update_tables.php : $dataresult=Run_Sql($region3_dialect,$sql); if($verbose_output) log_sql($log,$txt);
./ccamp_update_tables.php : $dataresult=Run_Sql($region3_dialect,$sql); if($verbose_output) log_sql($log,$txt);
./ccamp_update_tables.php : $dataresult=Run_Sql($region3_dialect,$sql); if($verbose_output) log_sql($log,$txt);
./ccamp_update_tables.php : $dataresult=Run_Sql($region3_dialect,$sql); if($verbose_output) log_sql($log,$txt);
./ccamp_update_tables.php : $dataresult=Run_Sql($region3_dialect,$sql); if($verbose_output) log_sql($log,$txt);
./ccamp_update_tables.php : reset_id_keys($region3_dialect,$log,$verbose_output,$data_table);
./ccamp_update_tables.php : $dataresult=Run_Sql($region3_dialect,$sql); if($verbose_output) log_sql($log,$txt);
./ccamp_update_tables.php : $dataresult=Run_Sql($region3_dialect,$sql); if($verbose_output) log_sql($log,$txt);
./ccamp_update_tables.php : sql_free_result($region3_dialect,$dataresult);
./ccamp_update_tables.php : function calc_i_load($region3_dialect,$log,$verbose_output,$analyte_table,$data_table){
./ccamp_update_tables.php : $result1=Run_Sql($region3_dialect,$sql); if($verbose_output) log_sql($log,$txt);
./ccamp_update_tables.php : $result1=Run_Sql($region3_dialect,$sql); if($verbose_output) log_sql($log,$txt);
./ccamp_update_tables.php : $result=Run_Sql($region3_dialect,$sql); if($verbose_output) log_sql($log,$txt);
./ccamp_update_tables.php : while ($data=sql_fetch_assoc($region3_dialect,$result)){
./ccamp_update_tables.php : $result1=Run_Sql($region3_dialect,$sql); if($verbose_output) log_sql($log,$txt);
./ccamp_update_tables.php : $result1=Run_Sql($region3_dialect,$sql); if($verbose_output) log_sql($log,$txt);
./ccamp_update_tables.php : sql_free_result($region3_dialect,$result);
./ccamp_update_tables.php : sql_free_result($region3_dialect,$result1);
./ccamp_update_tables.php : $result=Run_Sql($region3_dialect,$sql); if($verbose_output) log_sql($log,$txt);
./ccamp_update_tables.php : $result=Run_Sql($region3_dialect,$sql); if($verbose_output) log_sql($log,$txt);
./ccamp_update_tables.php : $result=Run_Sql($region3_dialect,$sql); if($verbose_output) log_sql($log,$txt);
./ccamp_update_tables.php : $result=Run_Sql($region3_dialect,$sql);
./ccamp_update_tables.php : reset_id_keys($region3_dialect,$log,$verbose_output,$data_table); if($verbose_output) echo ''.$sql.'';
./ccamp_update_tables.php : function calc_sum($region3_dialect,$log,$verbose_output,$data_table,$i1,$i2,$s,$fractionname){
./ccamp_update_tables.php : $result=Run_Sql($region3_dialect,$sql); if($verbose_output) log_sql($log,$sql);
./ccamp_update_tables.php : $result=Run_Sql($region3_dialect,$sql); if($verbose_output) log_sql($log,$sql);
./ccamp_update_tables.php : $result=Run_Sql($region3_dialect,$sql); if($verbose_output) log_sql($log,$sql);
./ccamp_update_tables.php : $result=Run_Sql($region3_dialect,$sql); if($verbose_output) log_sql($log,$sql);
./ccamp_update_tables.php : $result=Run_Sql($region3_dialect,$sql); if($verbose_output) log_sql($log,$sql);
./ccamp_update_tables.php : $result=Run_Sql($region3_dialect,$sql); if($verbose_output) log_sql($log,$sql);
./ccamp_update_tables.php : $result=Run_Sql($region3_dialect,$sql); if($verbose_output) log_sql($log,$sql);
./ccamp_update_tables.php : $result=Run_Sql($region3_dialect,$sql); if($verbose_output) log_sql($log,$sql);
./ccamp_update_tables.php : $result=Run_Sql($region3_dialect,$sql); if($verbose_output) log_sql($log,$sql);
./ccamp_update_tables.php : $result=Run_Sql($region3_dialect,$sql); if($verbose_output) log_sql($log,$sql);
./ccamp_update_tables.php : $result=Run_Sql($region3_dialect,$sql); if($verbose_output) log_sql($log,$sql);
./ccamp_update_tables.php : $result=Run_Sql($region3_dialect,$sql); if($verbose_output) log_sql($log,$sql);
./ccamp_update_tables.php : $result=Run_Sql($region3_dialect,$sql); if($verbose_output) log_sql($log,$sql);
./ccamp_update_tables.php : while ($data=sql_fetch_assoc($region3_dialect,$result)){
./ccamp_update_tables.php : $result1=Run_Sql($region3_dialect,$sql); if($verbose_output) log_sql($log,$sql);
./ccamp_update_tables.php : $result2=Run_Sql($region3_dialect,$sql); if($verbose_output) log_sql($log,$txt);
./ccamp_update_tables.php : $result=Run_Sql($region3_dialect,$sql); if($verbose_output) log_sql($log,$txt);
./ccamp_update_tables.php : $result=Run_Sql($region3_dialect,$sql); if($verbose_output) log_sql($log,$txt);
./ccamp_update_tables.php : $result=Run_Sql($region3_dialect,$sql); if($verbose_output) log_sql($log,$txt);
./ccamp_update_tables.php : $result=Run_Sql($region3_dialect,$sql); if($verbose_output) log_sql($log,$txt);
./ccamp_update_tables.php : $result=Run_Sql($region3_dialect,$sql); if($verbose_output) log_sql($log,$txt);
./ccamp_update_tables.php : $result=Run_Sql($region3_dialect,$sql); if($verbose_output) log_sql($log,$txt);
./ccamp_update_tables.php : $sql=" DELETE FROM ".$data_table." WHERE ccampid='".$s."' AND LEFT(LabResultComments,9)='CCAMP_Sum' "; Run_Sql($region3_dialect,$sql); if ($verbose_output) log_time($log,$sql);
./ccamp_update_tables.php : $result=Run_Sql($region3_dialect,$sql); if($verbose_output) log_sql($log,$sql);
./ccamp_update_tables.php : $result=Run_Sql($region3_dialect,$sql); if($verbose_output) log_sql($log,$sql);
./ccamp_update_tables.php : reset_id_keys($region3_dialect,$log,$verbose_output,$data_table);
./ccamp_update_tables.php : function insert_loads1($region3_dialect,$log,$verbose_output,$load_data_table,$temp_data_table){
./ccamp_update_tables.php : $result1=Run_Sql($region3_dialect,$sql); if ($verbose_output) log_time($log,$sql);
./ccamp_update_tables.php : $result2=Run_Sql($region3_dialect,$sql); if ($verbose_output) log_time($log,$sql);
./ccamp_update_tables.php : function create_web_data_from_loads($region3_dialect,$log,$verbose_output,$load_data_table,$web_data_table){
./ccamp_update_tables.php : $sql=" UPDATE ceden.ccamp_flows"; $sql=$sql." SET s_CHLORA=NULL WHERE CHLORA .000001 "; Run_Sql($region3_dialect,$sql); if ($verbose_output) log_time($log,$sql);
./ccamp_update_tables.php : $sql=" UPDATE ceden.ccamp_flows"; $sql=$sql." SET s_ECOLI=NULL WHERE ECOLI .000001 "; Run_Sql($region3_dialect,$sql); if ($verbose_output) log_time($log,$sql);
./ccamp_update_tables.php : $sql=" UPDATE ceden.ccamp_flows"; $sql=$sql." SET s_FCOLI=NULL WHERE FCOLI .000001 "; Run_Sql($region3_dialect,$sql); if ($verbose_output) log_time($log,$sql);
./ccamp_update_tables.php : $sql=" UPDATE ceden.ccamp_flows"; $sql=$sql." SET s_NH3_N=NULL WHERE NH3_N .000001 "; Run_Sql($region3_dialect,$sql); if ($verbose_output) log_time($log,$sql);
./ccamp_update_tables.php : $sql=" UPDATE ceden.ccamp_flows"; $sql=$sql." SET s_NO3NO2_N=NULL WHERE NO3NO2_N .000001 "; Run_Sql($region3_dialect,$sql); if ($verbose_output) log_time($log,$sql);
./ccamp_update_tables.php : $sql=" UPDATE ceden.ccamp_flows"; $sql=$sql." SET s_OP_P=NULL WHERE OP_P .000001 "; Run_Sql($region3_dialect,$sql); if ($verbose_output) log_time($log,$sql);
./ccamp_update_tables.php : $sql=" UPDATE ceden.ccamp_flows"; $sql=$sql." SET s_TSS=NULL WHERE TSS .000001 "; Run_Sql($region3_dialect,$sql); if ($verbose_output) log_time($log,$sql);
./ccamp_update_tables.php : $sql=" UPDATE ceden.ccamp_flows"; $sql=$sql." SET s_TURB_N=NULL WHERE TURB_N .000001 "; Run_Sql($region3_dialect,$sql); if ($verbose_output) log_time($log,$sql);
./ccamp_update_tables.php : $sql=" UPDATE ceden.ccamp_flows"; $sql=$sql." SET s_UREA=NULL WHERE UREA .000001 "; Run_Sql($region3_dialect,$sql); if ($verbose_output) log_time($log,$sql);
./ccamp_update_tables.php : $sql=" UPDATE ceden.ccamp_flows"; $sql=$sql." SET s_SILICA=NULL WHERE SILICA .000001 "; Run_Sql($region3_dialect,$sql); if ($verbose_output) log_time($log,$sql);
./ccamp_update_tables.php : Run_Sql($region3_dialect,$sql); if ($verbose_output) log_time($log,$sql);
./ccamp_update_tables.php : Run_Sql($region3_dialect,$sql); if ($verbose_output) log_time($log,$sql);
./ccamp_update_tables.php : $result=Run_Sql($region3_dialect,$sql); if ($verbose_output) log_time($log,$sql);
./ccamp_update_tables.php : $data=sql_fetch_assoc($region3_dialect,$result);
./ccamp_update_tables.php : Run_Sql($region3_dialect,$sql); # if ($verbose_output) log_time($log,$sql);
./ccamp_update_tables.php : $result=Run_Sql($region3_dialect,$sql); if ($verbose_output) log_time($log,$sql);
./ccamp_update_tables.php : while ($data=sql_fetch_assoc($region3_dialect,$result)){
./ccamp_update_tables.php : $result1=Run_Sql($region3_dialect,$sql); # if ($verbose_output) log_time($log,$sql);
./ccamp_update_tables.php : $data1=sql_fetch_assoc($region3_dialect,$result1);
./ccamp_update_tables.php : Run_Sql($region3_dialect,$sql); # if ($verbose_output) log_time($log,$sql);
./ccamp_update_tables.php : Run_Sql($region3_dialect,$sql); # if ($verbose_output) log_time($log,$sql);
./ccamp_update_tables.php : Run_Sql($region3_dialect,$sql); # if ($verbose_output) log_time($log,$sql);
./ccamp_update_tables.php : Run_Sql($region3_dialect,$sql); # if ($verbose_output) log_time($log,$sql);
./ccamp_update_tables.php : Run_Sql($region3_dialect,$sql); # if ($verbose_output) log_time($log,$sql);
./ccamp_update_tables.php : Run_Sql($region3_dialect,$sql); # if ($verbose_output) log_time($log,$sql);
./ccamp_update_tables.php : Run_Sql($region3_dialect,$sql); # if ($verbose_output) log_time($log,$sql);
./ccamp_update_tables.php : Run_Sql($region3_dialect,$sql); # if ($verbose_output) log_time($log,$sql);
./ccamp_update_tables.php : Run_Sql($region3_dialect,$sql); # if ($verbose_output) log_time($log,$sql);
./ccamp_update_tables.php : Run_Sql($region3_dialect,$sql); # if ($verbose_output) log_time($log,$sql);
./ccamp_update_tables.php : Run_Sql($region3_dialect,$sql); # if ($verbose_output) log_time($log,$sql);
./ccamp_update_tables.php : $result2=Run_Sql($region3_dialect,$sql); if ($verbose_output) log_time($log,$sql);
./ccamp_update_tables.php : $result=Run_Sql($region3_dialect,$sql); if ($verbose_output) log_time($log,$sql);
./ccamp_update_tables.php : $result=Run_Sql($region3_dialect,$sql); if ($verbose_output) log_time($log,$sql);
./ccamp_update_tables.php : $result=Run_Sql($region3_dialect,$sql); if ($verbose_output) log_time($log,$sql);
./ccamp_update_tables.php : Run_Sql($region3_dialect,$sql); if ($verbose_output) log_time($log,$sql);
./ccamp_update_tables.php : function patch_raw_data_table($region3_dialect,$log,$verbose_output,$org_id,$raw_data_table){
./ccamp_update_tables.php : Run_Sql($region3_dialect,$sql); if ($verbose_output) log_time($log,$sql);
./ccamp_update_tables.php : Run_Sql($region3_dialect,$sql); if ($verbose_output) log_time($log,$sql);
./ccamp_update_tables.php : Run_Sql($region3_dialect,$sql); if ($verbose_output) log_time($log,$sql);
./ccamp_update_tables.php : Run_Sql($region3_dialect,$sql); if ($verbose_output) log_time($log,$sql);
./ccamp_update_tables.php : Run_Sql($region3_dialect,$sql); if ($verbose_output) log_time($log,$sql);
./ccamp_update_tables.php : Run_Sql($region3_dialect,$sql); if ($verbose_output) log_time($log,$sql);
./ccamp_update_tables.php : $result=Run_Sql($region3_dialect,$sql); if ($verbose_output) log_time($log,$sql);
./ccamp_update_tables.php : $result=Run_Sql($region3_dialect,$sql); if ($verbose_output) log_time($log,$sql);
./ccamp_update_tables.php : $result=Run_Sql($region3_dialect,$sql); if ($verbose_output) log_time($log,$sql);
./ccamp_update_tables.php : $result=Run_Sql($region3_dialect,$sql); if ($verbose_output) log_time($log,$sql);
./ccamp_update_tables.php : $result=Run_Sql($region3_dialect,$sql); if ($verbose_output) log_time($log,$sql);
./ccamp_update_tables.php : $result=Run_Sql($region3_dialect,$sql); if ($verbose_output) log_time($log,$sql);
./ccamp_update_tables.php : Run_Sql($region3_dialect,$sql); if ($verbose_output) log_time($log,$sql);
./ccamp_update_tables.php : Run_Sql($region3_dialect,$sql); if ($verbose_output) log_time($log,$sql);
./ccamp_update_tables.php : Run_Sql($region3_dialect,$sql); if ($verbose_output) log_time($log,$sql);
./ccamp_update_tables.php : Run_Sql($region3_dialect,$sql); if ($verbose_output) log_time($log,$sql);
./ccamp_update_tables.php : Run_Sql($region3_dialect,$sql); if ($verbose_output) log_time($log,$sql);
./ccamp_update_tables.php : Run_Sql($region3_dialect,$sql); if ($verbose_output) log_time($log,$sql);
./ccamp_update_tables.php : Run_Sql($region3_dialect,$sql); if ($verbose_output) log_time($log,$sql);
./ccamp_update_tables.php : Run_Sql($region3_dialect,$sql); if ($verbose_output) log_time($log,$sql);
./ccamp_update_tables.php : Run_Sql($region3_dialect,$sql); if ($verbose_output) log_time($log,$sql);
./ccamp_update_tables.php : Run_Sql($region3_dialect,$sql); if ($verbose_output) log_time($log,$sql);
./ccamp_update_tables.php : Run_Sql($region3_dialect,$sql); if ($verbose_output) log_time($log,$sql);
./ccamp_update_tables.php : Run_Sql($region3_dialect,$sql); if ($verbose_output) log_time($log,$sql);
./ccamp_update_tables.php : function create_load_wqa_data($region3_dialect,$log,$verbose_output,$org_id,$web_data_table,$wqa_table,$analyte_table,$site_table){
./ccamp_update_tables.php : Run_Sql($region3_dialect,$sql); if ($verbose_output) log_time($log,$sql);
./ccamp_update_tables.php : Run_Sql($region3_dialect,$sql); if ($verbose_output) log_time($log,$sql);
./ccamp_update_tables.php : Run_Sql($region3_dialect,$sql); if ($verbose_output) log_time($log,$sql);
./ccamp_update_tables.php : Run_Sql($region3_dialect,$sql); if ($verbose_output) log_time($log,$sql);
./ccamp_update_tables.php : Run_Sql($region3_dialect,$sql); if ($verbose_output) log_time($log,$sql);
./ccamp_update_tables.php : function view_counts($region3_dialect,$log,$verbose_output,$site_table,$analyte_table,$goal_table,$raw_data_table,$master_data_table,$stat_data_table,$web_data_table,$wqa_table){
./ccamp_update_tables.php : $result=Run_Sql($region3_dialect,$sql); if ($verbose_output) log_time($log,$sql);
./ccamp_update_tables.php : $data=sql_fetch_assoc($region3_dialect,$result);
./ccamp_update_tables.php : $result=Run_Sql($region3_dialect,$sql); if ($verbose_output) log_time($log,$sql);
./ccamp_update_tables.php : $data=sql_fetch_assoc($region3_dialect,$result);
./ccamp_update_tables.php : $result=Run_Sql($region3_dialect,$sql); if ($verbose_output) log_time($log,$sql);
./ccamp_update_tables.php : $data=sql_fetch_assoc($region3_dialect,$result);
./ccamp_update_tables.php : $result=Run_Sql($region3_dialect,$sql); if ($verbose_output) log_time($log,$sql);
./ccamp_update_tables.php : $data=sql_fetch_assoc($region3_dialect,$result);
./ccamp_update_tables.php : $result=Run_Sql($region3_dialect,$sql); if ($verbose_output) log_time($log,$sql);
./ccamp_update_tables.php : $data=sql_fetch_assoc($region3_dialect,$result);
./ccamp_update_tables.php : $result=Run_Sql($region3_dialect,$sql); if ($verbose_output) log_time($log,$sql);
./ccamp_update_tables.php : $data=sql_fetch_assoc($region3_dialect,$result);
./ccamp_update_tables.php : $result=Run_Sql($region3_dialect,$sql); if ($verbose_output) log_time($log,$sql);
./ccamp_update_tables.php : $data=sql_fetch_assoc($region3_dialect,$result);
./ccamp_update_tables.php : function set_analytes($region3_dialect,$log,$verbose_output,$data_table){
./ccamp_update_tables.php : $result=Run_Sql($region3_dialect,$sql); if ($verbose_output) log_time($log,$sql);
./ccamp_update_tables.php : while ($data=sql_fetch_assoc($region3_dialect,$result))
./ccamp_update_tables.php : $result1=Run_Sql($region3_dialect,$sql); if ($verbose_output) log_time($log,$sql);
./ccamp_update_tables.php : $data1=sql_fetch_assoc($region3_dialect,$result1);
./ccamp_update_tables.php : $result2=Run_Sql($region3_dialect,$sql); if ($verbose_output) log_time($log,$sql);
./ccamp_update_tables.php : $result2=Run_Sql($region3_dialect,$sql); if ($verbose_output) log_time($log,$sql);
./ccamp_update_tables.php : function add_sums_to_master_data_table($region3_dialect,$log,$verbose_output,$org_id,$stat_data_table,$master_data_table){
./ccamp_update_tables.php : $sql=" INSERT INTO ceden.".$master_data_table." SELECT * FROM ceden.".$stat_data_table." WHERE ccampid='NH3U_N' "; Run_Sql($region3_dialect,$sql); if ($verbose_output) log_time($log,$sql);
./ccamp_update_tables.php : $sql=" INSERT INTO ceden.".$master_data_table." SELECT * FROM ceden.".$stat_data_table." WHERE ccampid='TVS' "; Run_Sql($region3_dialect,$sql); if ($verbose_output) log_time($log,$sql);
./ccamp_update_tables.php : $sql=" INSERT INTO ceden.".$master_data_table." SELECT * FROM ceden.".$stat_data_table." WHERE ccampid='NO3NO2_N' "; Run_Sql($region3_dialect,$sql); if ($verbose_output) log_time($log,$sql);
./ccamp_update_tables.php : $sql=" INSERT INTO ceden.".$master_data_table." SELECT * FROM ceden.".$stat_data_table." WHERE ccampid='DDD' "; Run_Sql($region3_dialect,$sql); if ($verbose_output) log_time($log,$sql);
./ccamp_update_tables.php : $sql=" INSERT INTO ceden.".$master_data_table." SELECT * FROM ceden.".$stat_data_table." WHERE ccampid='DDE' "; Run_Sql($region3_dialect,$sql); if ($verbose_output) log_time($log,$sql);
./ccamp_update_tables.php : $sql=" INSERT INTO ceden.".$master_data_table." SELECT * FROM ceden.".$stat_data_table." WHERE ccampid='DDT' "; Run_Sql($region3_dialect,$sql); if ($verbose_output) log_time($log,$sql);
./ccamp_update_tables.php : $sql=" INSERT INTO ceden.".$master_data_table." SELECT * FROM ceden.".$stat_data_table." WHERE ccampid='DDT_TOT' "; Run_Sql($region3_dialect,$sql); if ($verbose_output) log_time($log,$sql);
./ccamp_update_tables.php : $sql=" INSERT INTO ceden.".$master_data_table." SELECT * FROM ceden.".$stat_data_table." WHERE ccampid='N_N' "; Run_Sql($region3_dialect,$sql); if ($verbose_output) log_time($log,$sql);
./ccamp_update_tables.php : reset_id_keys($region3_dialect,$log,$verbose_output,$master_data_table);
./ccamp_update_tables.php : remove_duplicates($region3_dialect,$log,$verbose_output,$master_data_table);
./ccamp_update_tables.php : reset_id_keys($region3_dialect,$log,$verbose_output,$master_data_table);
./ccamp_update_tables.php : function repair_ccwqp($region3_dialect,$log,$verbose_output,$raw_data_table){
./ccamp_update_tables.php : $dataresult=Run_Sql($region3_dialect,$sql); if ($verbose_output) {$txt=$sql; log_time($log,$txt);}
./ccamp_update_tables.php : Run_Sql($region3_dialect,$sql); if ($verbose_output) {$txt=$sql; log_time($log,$txt);}
./ccamp_update_tables.php : sql_free_result($region3_dialect,$result);
./ccamp_update_tables.php : function dwe_2_ccamp($region3_dialect,$log,$verbose_output){
./ccamp_update_tables.php : $sql='DROP TABLE IF EXISTS '.$dst; Run_Sql($region3_dialect,$sql);
./ccamp_update_tables.php : $sql="CREATE TABLE ceden.".$dst." LIKE ceden.r3_data "; Run_Sql($region3_dialect,$sql); if ($verbose_output) log_time($log,$sql);
./ccamp_update_tables.php : Run_Sql($region3_dialect,$sql); if ($verbose_output) log_time($log,$sql);
./ccamp_update_tables.php : function ceden_2_ccamp($region3_dialect,$log,$verbose_output){
./ccamp_update_tables.php : $sql='DROP TABLE IF EXISTS '.$dst; Run_Sql($region3_dialect,$sql);
./ccamp_update_tables.php : $sql="CREATE TABLE ceden.".$dst." LIKE ceden.ccamp_raw_data "; Run_Sql($region3_dialect,$sql); if ($verbose_output) log_time($log,$sql);
./ccamp_update_tables.php : $result=Run_Sql($region3_dialect,$sql); if($verbose_output) log_sql($log,$txt);
./ccamp_update_tables.php : while ($data=sql_fetch_assoc($region3_dialect,$result)){
./ccamp_update_tables.php : $result1=Run_Sql($region3_dialect,$sql); if($verbose_output) log_sql($log,$sql);
./ccamp_update_tables.php : $data1=sql_fetch_assoc($region3_dialect,$result1);
./ccamp_update_tables.php : Run_Sql($region3_dialect,$sql); if($verbose_output) log_sql($log,$sql);
./ccamp_update_tables.php : $result=Run_Sql($region3_dialect,$sql); if($verbose_output) log_sql($log,$txt);
./ccamp_update_tables.php : while ($data=sql_fetch_assoc($region3_dialect,$result)){
./ccamp_update_tables.php : $result1=Run_Sql($region3_dialect,$sql); if($verbose_output) log_sql($log,$sql);
./ccamp_update_tables.php : $data1=sql_fetch_assoc($region3_dialect,$result1);
./ccamp_update_tables.php : Run_Sql($region3_dialect,$sql); if($verbose_output) log_sql($log,$sql);
./ccamp_update_tables.php : Run_Sql($region3_dialect,$sql); if ($verbose_output) log_time($log,$sql);
./ccamp_update_tables.php : $result=Run_Sql($region3_dialect,$sql); if($verbose_output) log_sql($log,$txt);
./ccamp_update_tables.php : while ($data=sql_fetch_assoc($region3_dialect,$result)){
./ccamp_update_tables.php : $result1=Run_Sql($region3_dialect,$sql); if($verbose_output) log_sql($log,$sql);
./ccamp_update_tables.php : $data1=sql_fetch_assoc($region3_dialect,$result1);
./ccamp_update_tables.php : Run_Sql($region3_dialect,$sql); if($verbose_output) log_sql($log,$sql);
./ccamp_update_tables.php : $result=Run_Sql($region3_dialect,$sql); if($verbose_output) log_sql($log,$txt);
./ccamp_update_tables.php : while ($data=sql_fetch_assoc($region3_dialect,$result)){
./ccamp_update_tables.php : $result1=Run_Sql($region3_dialect,$sql); if($verbose_output) log_sql($log,$sql);
./ccamp_update_tables.php : $data1=sql_fetch_assoc($region3_dialect,$result1);
./ccamp_update_tables.php : Run_Sql($region3_dialect,$sql); if($verbose_output) log_sql($log,$sql);
./ccamp_update_tables.php : $sql=" UPDATE ceden_hab SET Active=0 "; Run_Sql($region3_dialect,$sql); if ($verbose_output) log_time($log,$sql);
./ccamp_update_tables.php : $sql=" UPDATE ceden_hab SET Active=1 WHERE Analyte='Embeddedness' "; Run_Sql($region3_dialect,$sql); if ($verbose_output) log_time($log,$sql);
./ccamp_update_tables.php : $sql=" UPDATE ceden_hab SET Active=0 WHERE Analyte='Substrate Size Class' "; Run_Sql($region3_dialect,$sql); if ($verbose_output) log_time($log,$sql);
./ccamp_update_tables.php : $sql=" UPDATE ceden_hab SET Active=0 WHERE Analyte='Riffle/Run Embeddedness' "; Run_Sql($region3_dialect,$sql); if ($verbose_output) log_time($log,$sql);
./ccamp_update_tables.php : $sql=" UPDATE ceden_hab SET Active=0 WHERE Analyte='DominantSubstrate' "; Run_Sql($region3_dialect,$sql); if ($verbose_output) log_time($log,$sql);
./ccamp_update_tables.php : $sql=" UPDATE ceden_hab SET Active=0 WHERE Analyte='Bank Stability' "; Run_Sql($region3_dialect,$sql); if ($verbose_output) log_time($log,$sql);
./ccamp_update_tables.php : $sql=" UPDATE ceden_hab SET Active=1 WHERE Analyte='Canopy Cover' "; Run_Sql($region3_dialect,$sql); if ($verbose_output) log_time($log,$sql);
./ccamp_update_tables.php : $sql=" UPDATE ceden_hab SET Active=0 WHERE Analyte='Riparian GroundCover Barren' "; Run_Sql($region3_dialect,$sql); if ($verbose_output) log_time($log,$sql);
./ccamp_update_tables.php : $sql=" UPDATE ceden_hab SET Active=0 WHERE Analyte='Riparian GroundCover NonWoody Plants' "; Run_Sql($region3_dialect,$sql); if ($verbose_output) log_time($log,$sql);
./ccamp_update_tables.php : $sql=" UPDATE ceden_hab SET Active=0 WHERE Analyte='Riparian GroundCover Woody Shrubs' "; Run_Sql($region3_dialect,$sql); if ($verbose_output) log_time($log,$sql);
./ccamp_update_tables.php : $sql=" UPDATE ceden_hab SET Active=0 WHERE Analyte='Riparian Canopy Big Trees' "; Run_Sql($region3_dialect,$sql); if ($verbose_output) log_time($log,$sql);
./ccamp_update_tables.php : $sql=" UPDATE ceden_hab SET Active=0 WHERE Analyte='Riparian Understory NonWoody Plants' "; Run_Sql($region3_dialect,$sql); if ($verbose_output) log_time($log,$sql);
./ccamp_update_tables.php : $sql=" UPDATE ceden_hab SET Active=0 WHERE Analyte='Riparian Canopy Small Trees' "; Run_Sql($region3_dialect,$sql); if ($verbose_output) log_time($log,$sql);
./ccamp_update_tables.php : $sql=" UPDATE ceden_hab SET Active=0 WHERE Analyte='Riparian Understory Woody Shrubs' "; Run_Sql($region3_dialect,$sql); if ($verbose_output) log_time($log,$sql);
./ccamp_update_tables.php : $sql=" UPDATE ceden_hab SET Active=1 WHERE Analyte='Vegetation Cover Bank' "; Run_Sql($region3_dialect,$sql); if ($verbose_output) log_time($log,$sql);
./ccamp_update_tables.php : $sql=" UPDATE ceden_hab SET Active=0 WHERE Analyte='Fish Cover Undercut Banks' "; Run_Sql($region3_dialect,$sql); if ($verbose_output) log_time($log,$sql);
./ccamp_update_tables.php : $sql=" UPDATE ceden_hab SET Active=0 WHERE Analyte='Fish Cover Macrophytes' "; Run_Sql($region3_dialect,$sql); if ($verbose_output) log_time($log,$sql);
./ccamp_update_tables.php : $sql=" UPDATE ceden_hab SET Active=0 WHERE Analyte='Fish Cover Overhang.Veg' "; Run_Sql($region3_dialect,$sql); if ($verbose_output) log_time($log,$sql);
./ccamp_update_tables.php : $sql=" UPDATE ceden_hab SET Active=0 WHERE Analyte='Fish Cover Woody Debris 0.3 m' "; Run_Sql($region3_dialect,$sql); if ($verbose_output) log_time($log,$sql);
./ccamp_update_tables.php : $sql=" UPDATE ceden_hab SET Active=0 WHERE Analyte='Fish Cover Live Trees/Roots' "; Run_Sql($region3_dialect,$sql); if ($verbose_output) log_time($log,$sql);
./ccamp_update_tables.php : $sql=" UPDATE ceden_hab SET Active=0 WHERE Analyte='Fish Cover Woody Debris 0.3 m' "; Run_Sql($region3_dialect,$sql); if ($verbose_output) log_time($log,$sql);
./ccamp_update_tables.php : $sql=" UPDATE ceden_hab SET Active=0 WHERE Analyte='Fish Cover Boulders' "; Run_Sql($region3_dialect,$sql); if ($verbose_output) log_time($log,$sql);
./ccamp_update_tables.php : $sql=" UPDATE ceden_hab SET Active=0 WHERE Analyte='Fish Cover Filamentous Algae' "; Run_Sql($region3_dialect,$sql); if ($verbose_output) log_time($log,$sql);
./ccamp_update_tables.php : $sql=" UPDATE ceden_hab SET Active=0 WHERE Analyte='Riffle/Run Velocity/Depth Regime' "; Run_Sql($region3_dialect,$sql); if ($verbose_output) log_time($log,$sql);
./ccamp_update_tables.php : $sql=" UPDATE ceden_hab SET Active=0 WHERE Analyte='CPOM' "; Run_Sql($region3_dialect,$sql); if ($verbose_output) log_time($log,$sql);
./ccamp_update_tables.php : $sql=" UPDATE ceden_hab SET Active=0 WHERE Analyte='Wetted Width' "; Run_Sql($region3_dialect,$sql); if ($verbose_output) log_time($log,$sql);
./ccamp_update_tables.php : $sql=" UPDATE ceden_hab SET Active=0 WHERE Analyte='Bankfull Width' "; Run_Sql($region3_dialect,$sql); if ($verbose_output) log_time($log,$sql);
./ccamp_update_tables.php : $sql=" UPDATE ceden_hab SET Active=0 WHERE Analyte='Bankfull Height' "; Run_Sql($region3_dialect,$sql); if ($verbose_output) log_time($log,$sql);
./ccamp_update_tables.php : $sql=" UPDATE ceden_hab SET Active=0 WHERE Analyte='Slope, Main' "; Run_Sql($region3_dialect,$sql); if ($verbose_output) log_time($log,$sql);
./ccamp_update_tables.php : $sql=" UPDATE ceden_hab SET Active=0 WHERE Analyte='Macroalgae Cover, Unattached' "; Run_Sql($region3_dialect,$sql); if ($verbose_output) log_time($log,$sql);
./ccamp_update_tables.php : $sql=" UPDATE ceden_hab SET Active=0 WHERE Analyte='Macroalgae Cover, Attached' "; Run_Sql($region3_dialect,$sql); if ($verbose_output) log_time($log,$sql);
./ccamp_update_tables.php : $sql=" UPDATE ceden_hab SET Active=1 WHERE Analyte='Algae-floating Mats' "; Run_Sql($region3_dialect,$sql); if ($verbose_output) log_time($log,$sql);
./ccamp_update_tables.php : $sql=" UPDATE ceden_hab SET Active=1 WHERE Analyte='Riparian Corridor Shading' "; Run_Sql($region3_dialect,$sql); if ($verbose_output) log_time($log,$sql);
./ccamp_update_tables.php : $sql=" UPDATE ceden_hab SET Active=1 WHERE Analyte='Algae-attached' "; Run_Sql($region3_dialect,$sql); if ($verbose_output) log_time($log,$sql);
./ccamp_update_tables.php : $sql=" UPDATE ceden_hab SET Active=1 WHERE Analyte='Vegetation Cover Instream' "; Run_Sql($region3_dialect,$sql); if ($verbose_output) log_time($log,$sql);
./ccamp_update_tables.php : $sql=" UPDATE ceden_hab SET Active=1 WHERE Analyte='Algae Cover Filamentous' "; Run_Sql($region3_dialect,$sql); if ($verbose_output) log_time($log,$sql);
./ccamp_update_tables.php : $sql=" UPDATE ceden_hab SET Active=1 WHERE Analyte='Algal Cover Periphyton' "; Run_Sql($region3_dialect,$sql); if ($verbose_output) log_time($log,$sql);
./ccamp_update_tables.php : Run_Sql($region3_dialect,$sql); if ($verbose_output) log_time($log,$sql);
./ccamp_update_tables.php : meirve_2_ceden($region3_dialect,$log,$verbose_output);
./ccamp_update_tables.php : $result=Run_Sql($region3_dialect,$sql); if($verbose_output) log_sql($log,$txt);
./ccamp_update_tables.php : while ($data=sql_fetch_assoc($region3_dialect,$result)){
./ccamp_update_tables.php : $result1=Run_Sql($region3_dialect,$sql); if($verbose_output) log_sql($log,$sql);
./ccamp_update_tables.php : $data1=sql_fetch_assoc($region3_dialect,$result1);
./ccamp_update_tables.php : Run_Sql($region3_dialect,$sql); if($verbose_output) log_sql($log,$sql);
./ccamp_update_tables.php : $result=Run_Sql($region3_dialect,$sql); if($verbose_output) log_sql($log,$txt);
./ccamp_update_tables.php : while ($data=sql_fetch_assoc($region3_dialect,$result)){
./ccamp_update_tables.php : $result1=Run_Sql($region3_dialect,$sql); if($verbose_output) log_sql($log,$sql);
./ccamp_update_tables.php : $data1=sql_fetch_assoc($region3_dialect,$result1);
./ccamp_update_tables.php : Run_Sql($region3_dialect,$sql); if($verbose_output) log_sql($log,$sql);
./ccamp_update_tables.php : $sql=" UPDATE ceden_tox SET Active=0 "; Run_Sql($region3_dialect,$sql); if ($verbose_output) log_time($log,$sql);
./ccamp_update_tables.php : $sql=" UPDATE ceden_tox SET Active=1 WHERE SigEffectCode IS NOT NULL "; Run_Sql($region3_dialect,$sql); if ($verbose_output) log_time($log,$sql);
./ccamp_update_tables.php : Run_Sql($region3_dialect,$sql); if ($verbose_output) log_time($log,$sql);
./ccamp_update_tables.php : analytename_2_ccampid($region3_dialect,$log,$verbose_output,$org_id,$data_table);
./ccamp_update_tables.php : $sql="UPDATE ".$data_table." SET MDL=0.1 WHERE MDL IS NULL AND ccampid='TDS' "; Run_Sql($region3_dialect,$sql); if($verbose_output) log_sql($log,$txt);
./ccamp_update_tables.php : $sql="UPDATE ".$data_table." SET MDL=0.1 WHERE MDL IS NULL AND ccampid='CANOPY' "; Run_Sql($region3_dialect,$sql); if($verbose_output) log_sql($log,$txt);
./ccamp_update_tables.php : $sql="UPDATE ".$data_table." SET MDL=0.1 WHERE MDL IS NULL AND ccampid='SALINITY' "; Run_Sql($region3_dialect,$sql); if($verbose_output) log_sql($log,$txt);
./ccamp_update_tables.php : $sql="UPDATE ".$data_table." SET MDL=0.1 WHERE MDL IS NULL AND ccampid='CHLORA' "; Run_Sql($region3_dialect,$sql); if($verbose_output) log_sql($log,$txt);
./ccamp_update_tables.php : $sql="UPDATE ".$data_table." SET MDL=0.1 WHERE MDL IS NULL AND ccampid='TURB_N' "; Run_Sql($region3_dialect,$sql); if($verbose_output) log_sql($log,$txt);
./ccamp_update_tables.php : $sql="UPDATE ".$data_table." SET MDL=0.1 WHERE MDL IS NULL AND ccampid='PLNT_CVR' "; Run_Sql($region3_dialect,$sql); if($verbose_output) log_sql($log,$txt);
./ccamp_update_tables.php : $sql="UPDATE ".$data_table." SET MDL=0.1 WHERE MDL IS NULL AND ccampid='EMBED' "; Run_Sql($region3_dialect,$sql); if($verbose_output) log_sql($log,$txt);
./ccamp_update_tables.php : $sql="UPDATE ".$data_table." SET MDL=0.1 WHERE MDL IS NULL AND LEFT(ccampid,4)='TOX_' "; Run_Sql($region3_dialect,$sql); if($verbose_output) log_sql($log,$txt);
./ccamp_update_tables.php : $sql="UPDATE ".$data_table." SET MDL=0.1 WHERE MDL IS NULL AND ccampid='DO_PPM' "; Run_Sql($region3_dialect,$sql); if($verbose_output) log_sql($log,$txt);
./ccamp_update_tables.php : $sql="UPDATE ".$data_table." SET MDL=0.1 WHERE MDL IS NULL AND ccampid='COND_US' "; Run_Sql($region3_dialect,$sql); if($verbose_output) log_sql($log,$txt);
./ccamp_update_tables.php : $sql="UPDATE ".$data_table." SET MDL=0.1 WHERE MDL IS NULL AND ccampid='DO_SAT' "; Run_Sql($region3_dialect,$sql); if($verbose_output) log_sql($log,$txt);
./ccamp_update_tables.php : $sql="UPDATE ".$data_table." SET MDL=0.1 WHERE MDL IS NULL AND ccampid='ALKALINITY' "; Run_Sql($region3_dialect,$sql); if($verbose_output) log_sql($log,$txt);
./ccamp_update_tables.php : $sql="UPDATE ".$data_table." SET MDL=0.1 WHERE MDL IS NULL AND ccampid='ALGA_FILA' "; Run_Sql($region3_dialect,$sql); if($verbose_output) log_sql($log,$txt);
./ccamp_update_tables.php : $sql="UPDATE ".$data_table." SET MDL=0.1 WHERE MDL IS NULL AND ccampid='ALGA_MATS' "; Run_Sql($region3_dialect,$sql); if($verbose_output) log_sql($log,$txt);
./ccamp_update_tables.php : $sql="UPDATE ".$data_table." SET MDL=0.1 WHERE MDL IS NULL AND ccampid='ALGA_PERI' "; Run_Sql($region3_dialect,$sql); if($verbose_output) log_sql($log,$txt);
./ccamp_update_tables.php : $sql="UPDATE ".$data_table." SET MDL=0.000001 WHERE MDL IS NULL AND ccampid='NH3U_N' "; Run_Sql($region3_dialect,$sql); if($verbose_output) log_sql($log,$txt);
./ccamp_update_tables.php : $sql="UPDATE ".$data_table." SET MDL=0.01 WHERE MDL IS NULL AND ccampid='FLOW' "; Run_Sql($region3_dialect,$sql); if($verbose_output) log_sql($log,$txt);
./ccamp_update_tables.php : $sql="UPDATE ".$data_table." SET MDL=1 WHERE MDL IS NULL AND ccampid='NO3_N' AND CollectionDeviceName='HACH DR/890' "; Run_Sql($region3_dialect,$sql); if($verbose_output) log_sql($log,$txt);
./ccamp_update_tables.php : $sql="UPDATE ".$data_table." SET MDL=1 WHERE MDL IS NULL AND ccampid='NO3_N' AND CollectionDeviceName='HACH DR/900' "; Run_Sql($region3_dialect,$sql); if($verbose_output) log_sql($log,$txt);
./ccamp_update_tables.php : $sql="UPDATE ".$data_table." SET MDL=0.1 WHERE MDL IS NULL AND ccampid='NO3_N' "; Run_Sql($region3_dialect,$sql); if($verbose_output) log_sql($log,$txt);
./ccamp_update_tables.php : $sql="UPDATE ".$data_table." SET MDL=1 WHERE MDL IS NULL AND ccampid='N_N' AND CollectionDeviceName='HACH DR/890' "; Run_Sql($region3_dialect,$sql); if($verbose_output) log_sql($log,$txt);
./ccamp_update_tables.php : $sql="UPDATE ".$data_table." SET MDL=1 WHERE MDL IS NULL AND ccampid='N_N' AND CollectionDeviceName='HACH DR/900' "; Run_Sql($region3_dialect,$sql); if($verbose_output) log_sql($log,$txt);
./ccamp_update_tables.php : $sql="UPDATE ".$data_table." SET MDL=0.1 WHERE MDL IS NULL AND ccampid='N_N' "; Run_Sql($region3_dialect,$sql); if($verbose_output) log_sql($log,$txt);
./ccamp_update_tables.php : $sql="UPDATE ".$data_table." SET MDL=0.11 WHERE MDL IS NULL AND ccampid='OP_P' AND CollectionDeviceName='HACH DR/890' "; Run_Sql($region3_dialect,$sql); if($verbose_output) log_sql($log,$txt);
./ccamp_update_tables.php : $sql="UPDATE ".$data_table." SET MDL=0.11 WHERE MDL IS NULL AND ccampid='OP_P' AND CollectionDeviceName='HACH DR/900' "; Run_Sql($region3_dialect,$sql); if($verbose_output) log_sql($log,$txt);
./ccamp_update_tables.php : $sql="UPDATE ".$data_table." SET MDL=0.01 WHERE MDL IS NULL AND ccampid='OP_P' "; Run_Sql($region3_dialect,$sql); if($verbose_output) log_sql($log,$txt);
./ccamp_update_tables.php : $sql="UPDATE ".$data_table." SET MDL=0.1 WHERE MDL=-88 AND ccampid='TDS' "; Run_Sql($region3_dialect,$sql); if($verbose_output) log_sql($log,$txt);
./ccamp_update_tables.php : $sql="UPDATE ".$data_table." SET MDL=0.1 WHERE MDL=-88 AND ccampid='CANOPY' "; Run_Sql($region3_dialect,$sql); if($verbose_output) log_sql($log,$txt);
./ccamp_update_tables.php : $sql="UPDATE ".$data_table." SET MDL=0.1 WHERE MDL=-88 AND ccampid='SALINITY' "; Run_Sql($region3_dialect,$sql); if($verbose_output) log_sql($log,$txt);
./ccamp_update_tables.php : $sql="UPDATE ".$data_table." SET MDL=0.1 WHERE MDL=-88 AND ccampid='CHLORA' "; Run_Sql($region3_dialect,$sql); if($verbose_output) log_sql($log,$txt);
./ccamp_update_tables.php : $sql="UPDATE ".$data_table." SET MDL=0.1 WHERE MDL=-88 AND ccampid='TURB_N' "; Run_Sql($region3_dialect,$sql); if($verbose_output) log_sql($log,$txt);
./ccamp_update_tables.php : $sql="UPDATE ".$data_table." SET MDL=0.1 WHERE MDL=-88 AND ccampid='PLNT_CVR' "; Run_Sql($region3_dialect,$sql); if($verbose_output) log_sql($log,$txt);
./ccamp_update_tables.php : $sql="UPDATE ".$data_table." SET MDL=0.1 WHERE MDL=-88 AND ccampid='EMBED' "; Run_Sql($region3_dialect,$sql); if($verbose_output) log_sql($log,$txt);
./ccamp_update_tables.php : $sql="UPDATE ".$data_table." SET MDL=0.1 WHERE MDL=-88 AND LEFT(ccampid,4)='TOX_' "; Run_Sql($region3_dialect,$sql); if($verbose_output) log_sql($log,$txt);
./ccamp_update_tables.php : $sql="UPDATE ".$data_table." SET MDL=0.1 WHERE MDL=-88 AND ccampid='DO_PPM' "; Run_Sql($region3_dialect,$sql); if($verbose_output) log_sql($log,$txt);
./ccamp_update_tables.php : $sql="UPDATE ".$data_table." SET MDL=0.1 WHERE MDL=-88 AND ccampid='COND_US' "; Run_Sql($region3_dialect,$sql); if($verbose_output) log_sql($log,$txt);
./ccamp_update_tables.php : $sql="UPDATE ".$data_table." SET MDL=0.1 WHERE MDL=-88 AND ccampid='DO_SAT' "; Run_Sql($region3_dialect,$sql); if($verbose_output) log_sql($log,$txt);
./ccamp_update_tables.php : $sql="UPDATE ".$data_table." SET MDL=0.1 WHERE MDL=-88 AND ccampid='NO3_N' "; Run_Sql($region3_dialect,$sql); if($verbose_output) log_sql($log,$txt);
./ccamp_update_tables.php : $sql="UPDATE ".$data_table." SET MDL=0.1 WHERE MDL=-88 AND ccampid='ALKALINITY' "; Run_Sql($region3_dialect,$sql); if($verbose_output) log_sql($log,$txt);
./ccamp_update_tables.php : $sql="UPDATE ".$data_table." SET MDL=0.1 WHERE MDL=-88 AND ccampid='N_N' "; Run_Sql($region3_dialect,$sql); if($verbose_output) log_sql($log,$txt);
./ccamp_update_tables.php : $sql="UPDATE ".$data_table." SET MDL=0.1 WHERE MDL=-88 AND ccampid='ALGA_FILA' "; Run_Sql($region3_dialect,$sql); if($verbose_output) log_sql($log,$txt);
./ccamp_update_tables.php : $sql="UPDATE ".$data_table." SET MDL=0.1 WHERE MDL=-88 AND ccampid='ALGA_MATS' "; Run_Sql($region3_dialect,$sql); if($verbose_output) log_sql($log,$txt);
./ccamp_update_tables.php : $sql="UPDATE ".$data_table." SET MDL=0.1 WHERE MDL=-88 AND ccampid='ALGA_PERI' "; Run_Sql($region3_dialect,$sql); if($verbose_output) log_sql($log,$txt);
./ccamp_update_tables.php : $sql="UPDATE ".$data_table." SET MDL=0.000001 WHERE MDL=-88 AND ccampid='NH3U_N' "; Run_Sql($region3_dialect,$sql); if($verbose_output) log_sql($log,$txt);
./ccamp_update_tables.php : $sql="UPDATE ".$data_table." SET MDL=0.01 WHERE MDL=-88 AND ccampid='FLOW' "; Run_Sql($region3_dialect,$sql); if($verbose_output) log_sql($log,$txt);
./ccamp_update_tables.php : $sql="UPDATE ".$data_table." SET MDL=1 WHERE MDL=-88 AND ccampid='NO3_N' AND CollectionDeviceName='HACH DR/890' "; Run_Sql($region3_dialect,$sql); if($verbose_output) log_sql($log,$txt);
./ccamp_update_tables.php : $sql="UPDATE ".$data_table." SET MDL=1 WHERE MDL=-88 AND ccampid='NO3_N' AND CollectionDeviceName='HACH DR/900' "; Run_Sql($region3_dialect,$sql); if($verbose_output) log_sql($log,$txt);
./ccamp_update_tables.php : $sql="UPDATE ".$data_table." SET MDL=0.1 WHERE MDL=-88 AND ccampid='NO3_N' "; Run_Sql($region3_dialect,$sql); if($verbose_output) log_sql($log,$txt);
./ccamp_update_tables.php : $sql="UPDATE ".$data_table." SET MDL=1 WHERE MDL=-88 AND ccampid='N_N' AND CollectionDeviceName='HACH DR/890' "; Run_Sql($region3_dialect,$sql); if($verbose_output) log_sql($log,$txt);
./ccamp_update_tables.php : $sql="UPDATE ".$data_table." SET MDL=1 WHERE MDL=-88 AND ccampid='N_N' AND CollectionDeviceName='HACH DR/900' "; Run_Sql($region3_dialect,$sql); if($verbose_output) log_sql($log,$txt);
./ccamp_update_tables.php : $sql="UPDATE ".$data_table." SET MDL=0.1 WHERE MDL=-88 AND ccampid='N_N' "; Run_Sql($region3_dialect,$sql); if($verbose_output) log_sql($log,$txt);
./ccamp_update_tables.php : $sql="UPDATE ".$data_table." SET MDL=0.11 WHERE MDL=-88 AND ccampid='OP_P' AND CollectionDeviceName='HACH DR/890' "; Run_Sql($region3_dialect,$sql); if($verbose_output) log_sql($log,$txt);
./ccamp_update_tables.php : $sql="UPDATE ".$data_table." SET MDL=0.11 WHERE MDL=-88 AND ccampid='OP_P' AND CollectionDeviceName='HACH DR/900' "; Run_Sql($region3_dialect,$sql); if($verbose_output) log_sql($log,$txt);
./ccamp_update_tables.php : $sql="UPDATE ".$data_table." SET MDL=0.01 WHERE MDL=-88 AND ccampid='OP_P' "; Run_Sql($region3_dialect,$sql); if($verbose_output) log_sql($log,$txt);
./ccamp_update_tables.php : $sql="UPDATE ".$data_table." SET MDL=1,RL=1 WHERE ccampid='TCOLI' "; Run_Sql($region3_dialect,$sql); if($verbose_output) log_sql($log,$txt);
./ccamp_update_tables.php : $sql="UPDATE ".$data_table." SET MDL=1,RL=1 WHERE ccampid='FCOLI' "; Run_Sql($region3_dialect,$sql); if($verbose_output) log_sql($log,$txt);
./ccamp_update_tables.php : $sql="UPDATE ".$data_table." SET MDL=1,RL=1 WHERE ccampid='ECOLI' "; Run_Sql($region3_dialect,$sql); if($verbose_output) log_sql($log,$txt);
./ccamp_update_tables.php : $sql="UPDATE ".$data_table." SET MDL=1,RL=1 WHERE ccampid='ENTERO' "; Run_Sql($region3_dialect,$sql); if($verbose_output) log_sql($log,$txt);
./ccamp_update_tables.php : $sql="UPDATE ".$data_table." SET MDL=RL WHERE MDL=-88 AND RL0 "; Run_Sql($region3_dialect,$sql); if($verbose_output) log_sql($log,$txt);
./ccamp_update_tables.php : $sql="UPDATE ".$data_table." SET RL=MDL WHERE RL=-88 AND MDL0 "; Run_Sql($region3_dialect,$sql); if($verbose_output) log_sql($log,$txt);
./ccamp_update_tables.php : $sql="UPDATE ".$data_table." SET MDL=RL WHERE MDL IS NULL AND RL0 "; Run_Sql($region3_dialect,$sql); if($verbose_output) log_sql($log,$txt);
./ccamp_update_tables.php : $sql="UPDATE ".$data_table." SET RL=MDL WHERE RL IS NULL AND MDL0 "; Run_Sql($region3_dialect,$sql); if($verbose_output) log_sql($log,$txt);
./ccamp_update_tables.php : $sql="UPDATE ".$data_table." SET Result=MDL WHERE Result IS NULL AND MDL0 AND ResultQualCode='ND' "; Run_Sql($region3_dialect,$sql); if($verbose_output) log_sql($log,$txt);
./ccamp_update_tables.php : $sql="UPDATE ".$data_table." SET Result_val=Result WHERE Result_val IS NULL AND Result0 "; Run_Sql($region3_dialect,$sql); if($verbose_output) log_sql($log,$txt);
./ccamp_xwalks.php : $region3_conn=sql_connect($region3_dialect,$region3_server,$region3_port,$region3_uid,$region3_pwd,$region3_database);
./ccamp_xwalks.php : $region3_db=sql_select_db($region3_dialect,$region3_server,$region3_port,$region3_uid,$region3_pwd,$region3_conn,$region3_database);
./ccamp_xwalks.php : if ($cmd=='ceden_2_wqx_data_analytes') check_ceden_xwalks_data_a1($region3_dialect,$ceden_dialect,$jcl_std_log,$verbose_output);
./ccamp_xwalks.php : if ($cmd=='ceden_2_wqx_data') check_ceden_xwalks_data($region3_dialect,$ceden_dialect,$jcl_std_log,$verbose_output);
./ccamp_xwalks.php : if ($cmd=='wqx_2_ceden') check_wqx_xwalks($region3_dialect,$jcl_std_log,$verbose_output);
./ccamp_xwalks.php : if ($cmd=='ceden_2_wqx') check_ceden_xwalks($region3_dialect,$ceden_dialect,$jcl_std_log,$verbose_output);
./ccamp_xwalks.php : if ($cmd=='view_xwalks_swrcb') view_xwalks_swrcb($region3_dialect,$jcl_std_log,$verbose_output);
./ccamp_xwalks.php : if ($cmd=='view_wqx_lookups') view_wqx_lookups($region3_dialect,$jcl_std_log,$verbose_output);
./ccamp_xwalks.php : if ($cmd=='view_wqx_templates') view_wqx_templates($region3_dialect,$jcl_std_log,$verbose_output);
./ccamp_xwalks.php : if ($cmd=='view_wqx_data_elements') view_wqx_data_elements($region3_dialect,$jcl_std_log,$verbose_output);
./ccamp_xwalks.php : if ($cmd=='update_wqx_xwalks') update_wqx_xwalks($region3_dialect,$jcl_std_log,$verbose_output);
./ccamp_xwalks.php : if ($cmd=='view_xwalks') view_xwalks($region3_dialect,$jcl_std_log,$verbose_output);
./ccamp_xwalks.php : if ($cmd=='view_xwalk') check_ceden_xwalks_data_1($region3_dialect,$ceden_dialect,$jcl_std_log,$verbose_output,$xwalk);
./ccamp_xwalks.php : if ($cmd=='check_refs') check_refs($region3_dialect,$ceden_dialect,$jcl_std_log,$verbose_output);
./ccamp_xwalks.php : sql_close($region3_dialect,$region3_conn);
./ccamp_xwalks.php : function check_ceden_xwalks($region3_dialect,$ceden_dialect,$jcl_std_log,$log_verbose){
./ccamp_xwalks.php : $dialect=$region3_dialect;
./ccamp_xwalks.php : function check_wqx_xwalks($region3_dialect,$jcl_std_log,$log_verbose){
./ccamp_xwalks.php : $result=Run_Sql($region3_dialect,$sql); if($log_verbose) echo $sql.'br';
./ccamp_xwalks.php : while ($data=sql_fetch_assoc($region3_dialect,$result)){
./ccamp_xwalks.php : $result1=Run_Sql($region3_dialect,$sql); if($log_verbose) echo $sql.'br';
./ccamp_xwalks.php : while ($data1=sql_fetch_assoc($region3_dialect,$result1)){
./ccamp_xwalks.php : $result2=Run_Sql($region3_dialect,$sql); if($log_verbose) echo $sql.'br';
./ccamp_xwalks.php : while ($data2=sql_fetch_assoc($region3_dialect,$result2)){
./ccamp_xwalks.php : if (sql_num_rows($region3_dialect,$result2)1) echo "CCAMP xwalk entry missing for WQX ".$data1[$lookupfield].'br';
./ccamp_xwalks.php : function view_xwalks($region3_dialect,$jcl_std_log,$log_verbose){
./ccamp_xwalks.php : $result=Run_Sql($region3_dialect,$sql); if($log_verbose) echo $sql.'br';
./ccamp_xwalks.php : while ($data=sql_fetch_assoc($region3_dialect,$result)){
./ccamp_xwalks.php : function view_xwalks_SWRCB($region3_dialect,$jcl_std_log,$log_verbose){
./ccamp_xwalks.php : $result=Run_Sql($region3_dialect,$sql); if($log_verbose) echo $sql.'br';
./ccamp_xwalks.php : while ($data=sql_fetch_assoc($region3_dialect,$result)){
./ccamp_xwalks.php : function view_wqx_lookups($region3_dialect,$jcl_std_log,$log_verbose){
./ccamp_xwalks.php : $result=Run_Sql($region3_dialect,$sql); if($log_verbose) echo $sql.'br';
./ccamp_xwalks.php : while ($data=sql_fetch_assoc($region3_dialect,$result)){
./ccamp_xwalks.php : function view_wqx_templates($region3_dialect,$jcl_std_log,$log_verbose){
./ccamp_xwalks.php : $result=Run_Sql($region3_dialect,$sql); if($log_verbose) echo $sql.'br';
./ccamp_xwalks.php : while ($data=sql_fetch_assoc($region3_dialect,$result)){
./ccamp_xwalks.php : function view_wqx_data_elements($region3_dialect,$jcl_std_log,$log_verbose){
./ccamp_xwalks.php : $result=Run_Sql($region3_dialect,$sql); if($log_verbose) echo $sql.'br';
./ccamp_xwalks.php : while ($data=sql_fetch_assoc($region3_dialect,$result)){
./ccamp_xwalks.php : function reset_id_keys($region3_dialect,$table_to_reset){
./ccamp_xwalks.php : $dataresult=sql_query($region3_dialect,$sql);
./ccamp_xwalks.php : $dataresult=sql_query($region3_dialect,$sql);
./ccamp_xwalks.php : $dataresult=sql_query($region3_dialect,$sql);
./ccamp_xwalks.php : function update_wqx_xwalks($region3_dialect,$jcl_std_log,$log_verbose){
./ccamp_xwalks.php : $dialect=$region3_dialect;
./ccamp_xwalks.php : $result=Run_Sql($region3_dialect,$sql); if($log_verbose) echo $sql.'br';
./ccamp_xwalks.php : while ($data=sql_fetch_assoc($region3_dialect,$result)){
./ccamp_xwalks.php : function check_ceden_xwalks_data($region3_dialect,$mpsl_dialect,$jcl_std_log,$log_verbose){
./ccamp_xwalks.php : $dialect=$region3_dialect;
./ccamp_xwalks.php : function check_ceden_xwalks_data_1($region3_dialect,$mpsl_dialect,$jcl_std_log,$log_verbose,$xwalk){
./ccamp_xwalks.php : $dialect=$region3_dialect;
./ccamp_xwalks.php : function check_ceden_xwalks_data_a1($region3_dialect,$ceden_dialect,$jcl_std_log,$log_verbose){
./ccamp_xwalks.php : $dialect=$region3_dialect;
./ccamp_xwalks.php : function check_ceden_columns($region3_dialect,$ceden_dialect,$jcl_std_log,$log_verbose){
./ccamp_xwalks.php : $result=Run_Sql($region3_dialect,$sql); if($log_verbose) echo $sql.'br';
./ccamp_xwalks.php : while ($data=sql_fetch_assoc($region3_dialect,$result)){
./ccamp_xwalks.php : $result2=Run_Sql($region3_dialect,$sql); if($log_verbose) echo $sql.'br';
./ccamp_xwalks.php : while ($data1=sql_fetch_assoc($region3_dialect,$result2)){
./ccamp_xwalks.php : function check_refs($region3_dialect,$ceden_dialect,$jcl_std_log,$verbose_output){
./ccamp_xwalks.php : $result=Run_Sql($region3_dialect,$sql); if($log_verbose) echo $sql.'br';
./ccamp_xwalks.php : while ($data=sql_fetch_assoc($region3_dialect,$result)){
./ccamp_xwalks.php : $result1=Run_Sql($region3_dialect,$sql); if($log_verbose) echo $sql.'br';
./ccamp_xwalks.php : $data1=sql_fetch_assoc($region3_dialect,$result1);
./ccamp_xwalks.php : $result=Run_Sql($region3_dialect,$sql); if($log_verbose) echo $sql.'br';
./ccamp_xwalks.php : while ($data=sql_fetch_assoc($region3_dialect,$result)){
./ccamp_xwalks.php : $result1=Run_Sql($region3_dialect,$sql); if($log_verbose) echo $sql.'br';
./ccamp_xwalks.php : $data1=sql_fetch_assoc($region3_dialect,$result1);
./ccamp_xwalks.php : $result=Run_Sql($region3_dialect,$sql); if($log_verbose) echo $sql.'br';
./ccamp_xwalks.php : while ($data=sql_fetch_assoc($region3_dialect,$result)){
./ccamp_xwalks.php : $result1=Run_Sql($region3_dialect,$sql); if($log_verbose) echo $sql.'br';
./ccamp_xwalks.php : $data1=sql_fetch_assoc($region3_dialect,$result1);
./ccamp_xwalks.php : $result=Run_Sql($region3_dialect,$sql); if($log_verbose) echo $sql.'br';
./ccamp_xwalks.php : while ($data=sql_fetch_assoc($region3_dialect,$result)){
./ccamp_xwalks.php : $result1=Run_Sql($region3_dialect,$sql); if($log_verbose) echo $sql.'br';
./ccamp_xwalks.php : $data1=sql_fetch_assoc($region3_dialect,$result1);
./ccamp_xwalks.php : $result=Run_Sql($region3_dialect,$sql); if($log_verbose) echo $sql.'br';
./ccamp_xwalks.php : while ($data=sql_fetch_assoc($region3_dialect,$result)){
./ccamp_xwalks.php : $result1=Run_Sql($region3_dialect,$sql); if($log_verbose) echo $sql.'br';
./ccamp_xwalks.php : $data1=sql_fetch_assoc($region3_dialect,$result1);
./ccamp_xwalks.php : $result=Run_Sql($region3_dialect,$sql); if($log_verbose) echo $sql.'br';
./ccamp_xwalks.php : while ($data=sql_fetch_assoc($region3_dialect,$result)){
./ccamp_xwalks.php : $result1=Run_Sql($region3_dialect,$sql); if($log_verbose) echo $sql.'br';
./ccamp_xwalks.php : $data1=sql_fetch_assoc($region3_dialect,$result1);
End Directory Scan

Start Scan of files: text search for phrase: 'region3_dialect'
End Directory Scan

Start Scan of files: text search for phrase: 'region3_dialect'
../../ca/ccamp_change.php : $region3_conn=sql_connect($region3_dialect,$region3_server,$region3_port,$region3_uid,$region3_pwd,$region3_database);
../../ca/ccamp_change.php : $region3_db=sql_select_db($region3_dialect,$region3_server,$region3_port,$region3_uid,$region3_pwd,$region3_conn,$region3_database);
../../ca/ccamp_change.php : if($page=='list') show_change($region3_dialect,$sites_table,$wqa_table,$site_tag,$page,$matrix,$bu_icon,$cht_src_dir);
../../ca/ccamp_change.php : if($page=='nada') show_nada($region3_dialect,$wqa_table,$site_tag,$ccampid,$matrix,$page,$cht_src_dir);
../../ca/ccamp_change.php : function show_nada($region3_dialect,$wqa_table,$site_tag,$ccampid,$matrix,$page,$cht_src_dir){
../../ca/ccamp_change.php : $result=Run_Sql($region3_dialect,$sql);
../../ca/ccamp_change.php : $data=sql_fetch_assoc($region3_dialect,$result);
../../ca/ccamp_change.php : function show_nadaOLD($region3_dialect,$wqa_table,$site_tag,$ccampid,$matrix,$page,$cht_src_dir){
../../ca/ccamp_change.php : $result=Run_Sql($region3_dialect,$sql);
../../ca/ccamp_change.php : $data=sql_fetch_assoc($region3_dialect,$result);
../../ca/ccamp_change.php : function show_change($region3_dialect,$sites_table,$wqa_table,$site_tag,$page,$matrix,$bu_icon,$cht_src_dir)
../../ca/ccamp_change.php : $result=Run_Sql($region3_dialect,$sql);
../../ca/ccamp_change.php : while ($datarow=sql_fetch_assoc($region3_dialect,$result))
../../ca/ccamp_change.php : function summarize_change($region3_dialect,$sites_table,$wqa_table,$site_tag,$page)
../../ca/ccamp_change.php : $result=Run_Sql($region3_dialect,$sql);
../../ca/ccamp_change.php : while ($datarow=sql_fetch_assoc($region3_dialect,$result))
../../ca/ccamp_change_charts.php : $region3_conn=sql_connect($region3_dialect,$region3_server,$region3_port,$region3_uid,$region3_pwd,$region3_database);
../../ca/ccamp_change_charts.php : $region3_db=sql_select_db($region3_dialect,$region3_server,$region3_port,$region3_uid,$region3_pwd,$region3_conn,$region3_database);
../../ca/ccamp_change_charts.php : show_site_grades($region3_dialect,$ca_sites_table,$wqa_table,$site_tag,$page,$body_url);
../../ca/ccamp_change_charts.php : if($page=='change') show_about($region3_dialect,$ca_sites_table,$wqa_table,$site_tag,$page);
../../ca/ccamp_change_charts.php : if($page=='main') show_about($region3_dialect,$ca_sites_table,$wqa_table,$site_tag,$page);
../../ca/ccamp_change_charts.php : if($page=='conc') show_conc($region3_dialect,$ca_sites_table,$wqa_table,$site_tag,$page);
../../ca/ccamp_change_charts.php : if($page=='ecdf') show_ecdf($region3_dialect,$ca_sites_table,$wqa_table,$site_tag,$page);
../../ca/ccamp_change_charts.php : function show_site_grades($region3_dialect,$ca_sites_table,$wqa_table,$site_tag,$page,$body_url){
../../ca/ccamp_change_charts.php : $result=Run_Sql($region3_dialect,$sql);
../../ca/ccamp_change_charts.php : while ($datarow=sql_fetch_assoc($region3_dialect,$result))
../../ca/ccamp_change_charts.php : function show_ecdf($region3_dialect,$ca_sites_table,$wqa_table,$site_tag,$page){
../../ca/ccamp_change_charts.php : sql_free_result($region3_dialect,$result);
../../ca/ccamp_change_charts.php : function show_about($region3_dialect,$ca_sites_table,$wqa_table,$site_tag,$page){
../../ca/ccamp_change_charts.php : function show_conc($region3_dialect,$ca_sites_table,$wqa_table,$site_tag,$page)
../../ca/ccamp_change_charts.php : $result=Run_Sql($region3_dialect,$sql);
../../ca/ccamp_change_charts.php : while ($datarow=sql_fetch_assoc($region3_dialect,$result))
../../ca/ccamp_grade_charts.php : $region3_conn=sql_connect($region3_dialect,$region3_server,$region3_port,$region3_uid,$region3_pwd,$region3_database);
../../ca/ccamp_grade_charts.php : $region3_db=sql_select_db($region3_dialect,$region3_server,$region3_port,$region3_uid,$region3_pwd,$region3_conn,$region3_database);
../../ca/ccamp_grade_charts.php : show_site_page($region3_dialect,$log_verbose,$hu,$wb,$site,$dex);
../../ca/ccamp_grade_charts.php : show_site_index($region3_dialect,$log_verbose,$hu,$wb,$site,$dex);
../../ca/ccamp_grade_charts.php : regionwide_site_health($region3_dialect,$log_verbose,$table,$index,$w,$h,$u);
../../ca/ccamp_grade_charts.php : regionwide_site_health($region3_dialect,$log_verbose,$table,$index,$w,$h,$u);
../../ca/ccamp_grade_charts.php : regionwide_site_health($region3_dialect,$log_verbose,$table,$index,$w,$h,$u);
../../ca/ccamp_grade_charts.php : regionwide_site_health($region3_dialect,$log_verbose,$table,$index,$w,$h,$u);
../../ca/ccamp_grade_charts.php : regionwide_site_health($region3_dialect,$log_verbose,$table,$index,$w,$h,$u);
../../ca/ccamp_grade_charts.php : regionwide_site_health($region3_dialect,$log_verbose,$table,$index,$w,$h,$u);
../../ca/ccamp_grade_charts.php : show_waterbody_grades($region3_dialect,$log_verbose,$hu,$dex);
../../ca/ccamp_grade_charts.php : show_site_grades($region3_dialect,$log_verbose,$hu,$wb,$dex);
../../ca/ccamp_grade_charts.php : hu_health($region3_dialect,$log_verbose,$table,$index,$w,$h,$u,$hu);
../../ca/ccamp_grade_charts.php : hu_health($region3_dialect,$log_verbose,$table,$index,$w,$h,$u,$hu);
../../ca/ccamp_grade_charts.php : hu_health($region3_dialect,$log_verbose,$table,$index,$w,$h,$u,$hu);
../../ca/ccamp_grade_charts.php : hu_health($region3_dialect,$log_verbose,$table,$index,$w,$h,$u,$hu);
../../ca/ccamp_grade_charts.php : hu_health($region3_dialect,$log_verbose,$table,$index,$w,$h,$u,$hu);
../../ca/ccamp_grade_charts.php : hu_health($region3_dialect,$log_verbose,$table,$index,$w,$h,$u,$hu);
../../ca/ccamp_grade_charts.php : hu_health($region3_dialect,$log_verbose,$table,$index,$w,$h,$u,$hu);
../../ca/ccamp_grade_charts.php : hu_health($region3_dialect,$log_verbose,$table,$index,$w,$h,$u,$hu);
../../ca/ccamp_grade_charts.php : hu_health($region3_dialect,$log_verbose,$table,$index,$w,$h,$u,$hu);
../../ca/ccamp_grade_charts.php : hu_health($region3_dialect,$log_verbose,$table,$index,$w,$h,$u,$hu);
../../ca/ccamp_grade_charts.php : hu_health($region3_dialect,$log_verbose,$table,$index,$w,$h,$u,$hu);
../../ca/ccamp_grade_charts.php : hu_health($region3_dialect,$log_verbose,$table,$index,$w,$h,$u,$hu);
../../ca/ccamp_grade_charts.php : hu_health($region3_dialect,$log_verbose,$table,$index,$w,$h,$u,$hu);
../../ca/ccamp_grade_charts.php : hu_health($region3_dialect,$log_verbose,$table,$index,$w,$h,$u,$hu);
../../ca/ccamp_grade_charts.php : sql_close($region3_dialect,$region3_conn);
../../ca/ccamp_grade_charts.php : function hu_health($region3_dialect,$log_verbose,$table,$index,$w,$h,$u,$hu){
../../ca/ccamp_grade_charts.php : $result=Run_Sql($region3_dialect,$sql); if($log_verbose) echo $sql.'br';
../../ca/ccamp_grade_charts.php : $result=Run_Sql($region3_dialect,$sql); if($log_verbose) echo $sql.'br';
../../ca/ccamp_grade_charts.php : $result=Run_Sql($region3_dialect,$sql); if($log_verbose) echo $sql.'br';
../../ca/ccamp_grade_charts.php : $result=Run_Sql($region3_dialect,$sql); if($log_verbose) echo $sql.'br';
../../ca/ccamp_grade_charts.php : $result=Run_Sql($region3_dialect,$sql); if($log_verbose) echo $sql.'br';
../../ca/ccamp_grade_charts.php : $result=Run_Sql($region3_dialect,$sql); if($log_verbose) echo $sql.'br';
../../ca/ccamp_grade_charts.php : $result=Run_Sql($region3_dialect,$sql); if($log_verbose) echo $sql.'br';
../../ca/ccamp_grade_charts.php : $result1=Run_Sql($region3_dialect,$sql); if($log_verbose) echo $sql.'br';
../../ca/ccamp_grade_charts.php : if($hu!=316) area_bar($region3_dialect,$log_verbose,$table,$index,$w,$h,$caption,$hu,$AA_pct,$A_pct,$B_pct,$C_pct,$D_pct,$F_pct,$site_not_monitored);
../../ca/ccamp_grade_charts.php : function regionwide_site_health($region3_dialect,$log_verbose,$table,$index,$w,$h,$u){
../../ca/ccamp_grade_charts.php : $result=Run_Sql($region3_dialect,$sql); if($log_verbose) echo $sql.'br';
../../ca/ccamp_grade_charts.php : $result=Run_Sql($region3_dialect,$sql); if($log_verbose) echo $sql.'br';
../../ca/ccamp_grade_charts.php : $result=Run_Sql($region3_dialect,$sql); if($log_verbose) echo $sql.'br';
../../ca/ccamp_grade_charts.php : $result=Run_Sql($region3_dialect,$sql); if($log_verbose) echo $sql.'br';
../../ca/ccamp_grade_charts.php : $result=Run_Sql($region3_dialect,$sql); if($log_verbose) echo $sql.'br';
../../ca/ccamp_grade_charts.php : $result=Run_Sql($region3_dialect,$sql); if($log_verbose) echo $sql.'br';
../../ca/ccamp_grade_charts.php : $result=Run_Sql($region3_dialect,$sql); if($log_verbose) echo $sql.'br';
../../ca/ccamp_grade_charts.php : area_bar($region3_dialect,$log_verbose,$table,$index,$w,$h,$caption,$hu,$sites_AA_pct,$sites_A_pct,$sites_B_pct,$sites_C_pct,$sites_D_pct,$sites_F_pct,$site_not_monitored);
../../ca/ccamp_grade_charts.php : $result1=Run_Sql($region3_dialect,$sql); if($log_verbose) echo $sql.'br';
../../ca/ccamp_grade_charts.php : function regionwide_site_index($region3_dialect,$log_verbose,$table,$index,$w,$h,$u){
../../ca/ccamp_grade_charts.php : $result=Run_Sql($region3_dialect,$sql); if($log_verbose) echo $sql.'br';
../../ca/ccamp_grade_charts.php : $result=Run_Sql($region3_dialect,$sql); if($log_verbose) echo $sql.'br';
../../ca/ccamp_grade_charts.php : $result=Run_Sql($region3_dialect,$sql); if($log_verbose) echo $sql.'br';
../../ca/ccamp_grade_charts.php : $result=Run_Sql($region3_dialect,$sql); if($log_verbose) echo $sql.'br';
../../ca/ccamp_grade_charts.php : $result=Run_Sql($region3_dialect,$sql); if($log_verbose) echo $sql.'br';
../../ca/ccamp_grade_charts.php : $result=Run_Sql($region3_dialect,$sql); if($log_verbose) echo $sql.'br';
../../ca/ccamp_grade_charts.php : area_bar($region3_dialect,$log_verbose,$table,$index,$w,$h,$caption,$hu,$sites_AA_pct,$sites_A_pct,$sites_B_pct,$sites_C_pct,$sites_D_pct,$sites_F_pct,$sites_gray_pct);
../../ca/ccamp_grade_charts.php : function area_bar($region3_dialect,$log_verbose,$table,$index,$w,$h,$caption,$hu,$sites_AA_pct,$sites_A_pct,$sites_B_pct,$sites_C_pct,$sites_D_pct,$sites_F_pct,$sites_gray_pct){
../../ca/ccamp_grade_charts.php : function show_waterbody_grades($region3_dialect,$log_verbose,$hu,$dex){
../../ca/ccamp_grade_charts.php : if($dex=='Index_Aquatic_Life') show_waterbody_grades_al($region3_dialect,$log_verbose,$hu);
../../ca/ccamp_grade_charts.php : if($dex=='Index_Human_Health') show_waterbody_grades_hh($region3_dialect,$log_verbose,$hu);
../../ca/ccamp_grade_charts.php : function show_waterbody_grades_al($region3_dialect,$log_verbose,$hu){
../../ca/ccamp_grade_charts.php : $result=Run_Sql($region3_dialect,$sql); if($log_verbose) echo $sql.'br';
../../ca/ccamp_grade_charts.php : while ($data=sql_fetch_assoc($region3_dialect,$result))
../../ca/ccamp_grade_charts.php : function show_waterbody_grades_hh($region3_dialect,$log_verbose,$hu){
../../ca/ccamp_grade_charts.php : $result=Run_Sql($region3_dialect,$sql); if($log_verbose) echo $sql.'br';
../../ca/ccamp_grade_charts.php : while ($data=sql_fetch_assoc($region3_dialect,$result))
../../ca/ccamp_grade_charts.php : function show_site_grades($region3_dialect,$log_verbose,$hu,$wb,$dex){
../../ca/ccamp_grade_charts.php : if($dex=='Index_Aquatic_Life') show_site_grades_al($region3_dialect,$log_verbose,$hu,$wb);
../../ca/ccamp_grade_charts.php : if($dex=='Index_Human_Health') show_site_grades_hh($region3_dialect,$log_verbose,$hu,$wb);
../../ca/ccamp_grade_charts.php : function show_cc_site_grades($region3_dialect,$log_verbose,$hu,$wb,$dex){
../../ca/ccamp_grade_charts.php : if($dex=='Index_steelhead') show_site_grades_steelhead($region3_dialect,$log_verbose,$hu,$wb);
../../ca/ccamp_grade_charts.php : if($dex=='Index_goby') show_site_grades_goby($region3_dialect,$log_verbose,$hu,$wb);
../../ca/ccamp_grade_charts.php : if($dex=='Index_otter') show_site_grades_otter($region3_dialect,$log_verbose,$hu,$wb);
../../ca/ccamp_grade_charts.php : function show_site_grades_al($region3_dialect,$log_verbose,$hu,$wb){
../../ca/ccamp_grade_charts.php : $result=Run_Sql($region3_dialect,$sql); if($log_verbose) echo $sql.'br';
../../ca/ccamp_grade_charts.php : $data=sql_fetch_assoc($region3_dialect,$result);
../../ca/ccamp_grade_charts.php : $result=Run_Sql($region3_dialect,$sql); if($log_verbose) echo $sql.'br';
../../ca/ccamp_grade_charts.php : while ($data=sql_fetch_assoc($region3_dialect,$result))
../../ca/ccamp_grade_charts.php : function show_site_grades_hh($region3_dialect,$log_verbose,$hu,$wb){
../../ca/ccamp_grade_charts.php : $result=Run_Sql($region3_dialect,$sql); if($log_verbose) echo $sql.'br';
../../ca/ccamp_grade_charts.php : $data=sql_fetch_assoc($region3_dialect,$result);
../../ca/ccamp_grade_charts.php : $result=Run_Sql($region3_dialect,$sql); if($log_verbose) echo $sql.'br';
../../ca/ccamp_grade_charts.php : while ($data=sql_fetch_assoc($region3_dialect,$result))
../../ca/ccamp_grade_charts.php : function show_site_page($region3_dialect,$log_verbose,$hu,$wb,$site,$site_index){
../../ca/ccamp_grade_charts.php : $result=Run_Sql($region3_dialect,$sql); if($log_verbose) echo $sql.'br';
../../ca/ccamp_grade_charts.php : $data=sql_fetch_assoc($region3_dialect,$result); $site_name=$data['site_name'];
../../ca/ccamp_grade_charts.php : $grade_al_text=show_site_al($region3_dialect,$log_verbose,$hu,$wb,$site,$site_name);
../../ca/ccamp_grade_charts.php : $grade_hh_text=show_site_hh($region3_dialect,$log_verbose,$hu,$wb,$site,$site_name);
../../ca/ccamp_grade_charts.php : create_site_nlr($region3_dialect,$log_verbose,$hu,$wb,$site);
../../ca/ccamp_grade_charts.php : function show_cc_site_page($region3_dialect,$log_verbose,$hu,$wb,$site,$site_index){
../../ca/ccamp_grade_charts.php : $result=Run_Sql($region3_dialect,$sql); if($log_verbose) echo $sql.'br';
../../ca/ccamp_grade_charts.php : $data=sql_fetch_assoc($region3_dialect,$result); $site_name=$data['site_name'];
../../ca/ccamp_grade_charts.php : $grade_al_text=show_site_steelhead($region3_dialect,$log_verbose,$hu,$wb,$site);
../../ca/ccamp_grade_charts.php : $grade_hh_text=show_site_goby($region3_dialect,$log_verbose,$hu,$wb,$site);
../../ca/ccamp_grade_charts.php : $grade_hh_text=show_site_otter($region3_dialect,$log_verbose,$hu,$wb,$site);
../../ca/ccamp_grade_charts.php : create_site_nlr($region3_dialect,$log_verbose,$hu,$wb,$site);
../../ca/ccamp_grade_charts.php : function show_site_index($region3_dialect,$log_verbose,$hu,$wb,$site,$site_index){
../../ca/ccamp_grade_charts.php : $result=Run_Sql($region3_dialect,$sql); if($log_verbose) echo $sql.'br';
../../ca/ccamp_grade_charts.php : $data=sql_fetch_assoc($region3_dialect,$result); $site_name=$data['site_name'];
../../ca/ccamp_grade_charts.php : if($site_index=="Index_WQ_Aquatic_Life") write_component_row($region3_dialect,$log_verbose,$wqa_table,$site_index,$site);
../../ca/ccamp_grade_charts.php : if($site_index=="Index_Biostim_Risk") write_component_row($region3_dialect,$log_verbose,$wqa_table,$site_index,$site);
../../ca/ccamp_grade_charts.php : if($site_index=="Index_BMI") write_component_row($region3_dialect,$log_verbose,$wqa_table,$site_index,$site);
../../ca/ccamp_grade_charts.php : if($site_index=="Index_Habitat") write_component_row($region3_dialect,$log_verbose,$wqa_table,$site_index,$site);
../../ca/ccamp_grade_charts.php : write_component_row($region3_dialect,$log_verbose,$wqa_table,$site_index,$site);
../../ca/ccamp_grade_charts.php : write_component_row($region3_dialect,$log_verbose,$wqa_table,$site_index,$site);
../../ca/ccamp_grade_charts.php : write_component_row($region3_dialect,$log_verbose,$wqa_table,$site_index,$site);
../../ca/ccamp_grade_charts.php : write_component_row($region3_dialect,$log_verbose,$wqa_table,$site_index,$site);
../../ca/ccamp_grade_charts.php : if($site_index=="Index_Toxicity_al") {$dex1="Index_Toxicity_H2o"; write_component_row($region3_dialect,$log_verbose,$wqa_table,$dex1,$site,$site_index); }
../../ca/ccamp_grade_charts.php : if($site_index=="Index_Toxicity_al") {$dex1="Index_Toxicity_Sed"; write_component_row($region3_dialect,$log_verbose,$wqa_table,$dex1,$site,$site_index); }
../../ca/ccamp_grade_charts.php : if($site_index=="Index_Pathogens") write_component_row($region3_dialect,$log_verbose,$wqa_table,$site_index,$site);
../../ca/ccamp_grade_charts.php : if($site_index=="Index_WQ_Human_Health") write_component_row($region3_dialect,$log_verbose,$wqa_table,$site_index,$site);
../../ca/ccamp_grade_charts.php : if($site_index=="Index_Salts_Human_Health") write_component_row($region3_dialect,$log_verbose,$wqa_table,$site_index,$site);
../../ca/ccamp_grade_charts.php : if($site_index=="Index_Met_Human_Health") write_component_row($region3_dialect,$log_verbose,$wqa_table,$site_index,$site);
../../ca/ccamp_grade_charts.php : if($site_index=="Index_Org_Human_Health") write_component_row($region3_dialect,$log_verbose,$wqa_table,$site_index,$site);
../../ca/ccamp_grade_charts.php : if($site_index=="Index_WQ_Groundwater") write_component_row($region3_dialect,$log_verbose,$wqa_table,$site_index,$site);
../../ca/ccamp_grade_charts.php : function write_component_row($region3_dialect,$log_verbose,$wqa_table,$index,$site){
../../ca/ccamp_grade_charts.php : $result=Run_Sql($region3_dialect,$sql); if($log_verbose) echo $sql.'br';
../../ca/ccamp_grade_charts.php : while ($data=sql_fetch_assoc($region3_dialect,$result)){
../../ca/ccamp_grade_charts.php : function test_nlr($region3_dialect,$log_verbose){
../../ca/ccamp_grade_charts.php : create_site_nlr($region3_dialect,$log_verbose,$hu,$wb,$site_tag);
../../ca/ccamp_grade_charts.php : function show_site_al($region3_dialect,$log_verbose,$hu,$wb,$site,$site_name){
../../ca/ccamp_grade_charts.php : $result=Run_Sql($region3_dialect,$sql); if($log_verbose) echo $sql.'br';
../../ca/ccamp_grade_charts.php : $row_count=sql_num_rows($region3_dialect,$result);
../../ca/ccamp_grade_charts.php : while ($data=sql_fetch_assoc($region3_dialect,$result))
../../ca/ccamp_grade_charts.php : function show_site_hh($region3_dialect,$log_verbose,$hu,$wb,$site,$site_name){
../../ca/ccamp_grade_charts.php : $result=Run_Sql($region3_dialect,$sql); if($log_verbose) echo $sql.'br';
../../ca/ccamp_grade_charts.php : while ($data=sql_fetch_assoc($region3_dialect,$result))
../../ca/ccamp_grade_charts.php : function create_site_nlr($region3_dialect,$log_verbose,$hu,$wb,$site){
../../ca/ccamp_grade_charts.php : $result=Run_Sql($region3_dialect,$sql); if($log_verbose) echo $sql.'br';
../../ca/ccamp_grade_charts.php : $data=sql_fetch_assoc($region3_dialect,$result); $site_name=$data['site_name'];
../../ca/ccamp_grade_charts.php : $result=Run_Sql($region3_dialect,$sql); if($log_verbose) echo $sql.'br';
../../ca/ccamp_grade_charts.php : $data=sql_fetch_assoc($region3_dialect,$result); $Index_Aquatic_Life=round($data['Index_Aquatic_Life'],0);
../../ca/ccamp_grade_charts.php : $result=Run_Sql($region3_dialect,$sql); if($log_verbose) echo $sql.'br';
../../ca/ccamp_grade_charts.php : $data=sql_fetch_assoc($region3_dialect,$result); $n_a_wq_aquatic_life=round($data['n_a_wq_aquatic_life'],0);
../../ca/ccamp_grade_charts.php : $result=Run_Sql($region3_dialect,$sql); if($log_verbose) echo $sql.'br';
../../ca/ccamp_grade_charts.php : $data=sql_fetch_assoc($region3_dialect,$result); $n_b_wq_aquatic_life=round($data['n_b_wq_aquatic_life'],0);
../../ca/ccamp_grade_charts.php : $result=Run_Sql($region3_dialect,$sql); if($log_verbose) echo $sql.'br';
../../ca/ccamp_grade_charts.php : $data=sql_fetch_assoc($region3_dialect,$result); $n_c_wq_aquatic_life=round($data['n_c_wq_aquatic_life'],0);
../../ca/ccamp_grade_charts.php : $result=Run_Sql($region3_dialect,$sql); if($log_verbose) echo $sql.'br';
../../ca/ccamp_grade_charts.php : $data=sql_fetch_assoc($region3_dialect,$result); $n_d_wq_aquatic_life=round($data['n_d_wq_aquatic_life'],0);
../../ca/ccamp_grade_charts.php : $result=Run_Sql($region3_dialect,$sql); if($log_verbose) echo $sql.'br';
../../ca/ccamp_grade_charts.php : $data=sql_fetch_assoc($region3_dialect,$result); $n_f_wq_aquatic_life=round($data['n_f_wq_aquatic_life'],0);
../../ca/ccamp_grade_charts.php : $result=Run_Sql($region3_dialect,$sql); if($log_verbose) echo $sql.'br';
../../ca/ccamp_grade_charts.php : $data=sql_fetch_assoc($region3_dialect,$result); $Index_Human_Health=round($data['Index_Human_Health'],0);
../../ca/ccamp_grade_charts.php : $result=Run_Sql($region3_dialect,$sql); if($log_verbose) echo $sql.'br';
../../ca/ccamp_grade_charts.php : $data=sql_fetch_assoc($region3_dialect,$result); $n_analytes_Index_Human_Health=round($data['n_Index_Human_Health'],0);
../../ca/ccamp_menu.php : $region3_conn=sql_connect($region3_dialect,$region3_server,$region3_port,$region3_uid,$region3_pwd,$region3_database);
../../ca/ccamp_menu.php : $region3_db=sql_select_db($region3_dialect,$region3_server,$region3_port,$region3_uid,$region3_pwd,$region3_conn,$region3_database);
../../ca/ccamp_menu.php : function hu_menu($region3_dialect,$wqa_table){
../../ca/ccamp_menu.php : $result=Run_Sql($region3_dialect,$sql);
../../ca/ccamp_menu.php : while ($datarow=sql_fetch_assoc($region3_dialect,$result))
../../ca/ccamp_menu.php : sql_free_result($region3_dialect,$result);
../../ca/ccamp_menu.php : sql_close($region3_dialect,$region3_conn);
../../ca/ccamp_menu.php : function wb_menu($region3_dialect,$wqa_table,$hu_filter,$wb_filter,$si_filter,$dt_filter,$an_filter){
../../ca/ccamp_menu.php : $result=Run_Sql($region3_dialect,$sql);
../../ca/ccamp_menu.php : while ($datarow=sql_fetch_assoc($region3_dialect,$result))
../../ca/ccamp_menu.php : sql_free_result($region3_dialect,$result);
../../ca/ccamp_menu.php : sql_close($region3_dialect,$region3_conn);
../../ca/ccamp_menu.php : function si_menu($region3_dialect,$wqa_table,$org_site_table,$hu_filter,$wb_filter,$si_filter,$dt_filter,$an_filter){
../../ca/ccamp_menu.php : $result=Run_Sql($region3_dialect,$sql);
../../ca/ccamp_menu.php : while ($datarow=sql_fetch_assoc($region3_dialect,$result))
../../ca/ccamp_menu.php : sql_free_result($region3_dialect,$result);
../../ca/ccamp_menu.php : sql_close($region3_dialect,$region3_conn);
../../ca/ccamp_menu.php : function dt_menu($region3_dialect,$wqa_table,$hu_filter,$wb_filter,$si_filter,$dt_filter,$an_filter){
../../ca/ccamp_menu.php : $result=Run_Sql($region3_dialect,$sql);
../../ca/ccamp_menu.php : while ($datarow=sql_fetch_assoc($region3_dialect,$result))
../../ca/ccamp_menu.php : sql_free_result($region3_dialect,$result);
../../ca/ccamp_menu.php : sql_close($region3_dialect,$region3_conn);
../../ca/ccamp_menu.php : function an_menu($region3_dialect,$wqa_table,$hu_filter,$wb_filter,$si_filter,$dt_filter,$an_filter){
../../ca/ccamp_menu.php : $result=Run_Sql($region3_dialect,$sql);
../../ca/ccamp_menu.php : while ($datarow=sql_fetch_assoc($region3_dialect,$result))
../../ca/ccamp_menu.php : sql_free_result($region3_dialect,$result);
../../ca/ccamp_menu.php : sql_close($region3_dialect,$region3_conn);
../../ca/ccamp_menu.php : function pr_menu($region3_dialect,$wqa_table){
../../ca/ccamp_menu.php : $result=Run_Sql($region3_dialect,$sql);
../../ca/ccamp_menu.php : while ($datarow=sql_fetch_assoc($region3_dialect,$result))
../../ca/ccamp_menu.php : sql_free_result($region3_dialect,$result);
../../ca/ccamp_menu.php : sql_close($region3_dialect,$region3_conn);
../../ca/ccamp_menu.php : if ($menu=='hu_menu') echo hu_menu($region3_dialect,$wqa_table);
../../ca/ccamp_menu.php : if ($menu=='wb_menu') echo wb_menu($region3_dialect,$wqa_table,$hu_filter,$wb_filter,$si_filter,$dt_filter,$an_filter);
../../ca/ccamp_menu.php : if ($menu=='si_menu') echo si_menu($region3_dialect,$wqa_table,$org_site_table,$hu_filter,$wb_filter,$si_filter,$dt_filter,$an_filter);
../../ca/ccamp_menu.php : if ($menu=='dt_menu') echo dt_menu($region3_dialect,$wqa_table,$hu_filter,$wb_filter,$si_filter,$dt_filter,$an_filter);
../../ca/ccamp_menu.php : if ($menu=='an_menu') echo an_menu($region3_dialect,$wqa_table,$hu_filter,$wb_filter,$si_filter,$dt_filter,$an_filter);
End Directory Scan