Code |
Context <?php echo $content_for_layout; ?>
<div style="display:none;">
<?php echo $cakeDebug; ?>
$___viewFn = "/var/www/www.centralvalleymonitoring.org/app/views/layouts/map.ctp"
$___dataForView = array(
"content_for_layout" => "
<script id="siteEntries" type="text/x-jquery-tmpl">
<div class="siteSummary_nomarker siteSummary" id="cvmSite_${ SiteInfoRowID }" data-sitename="${ SiteName }" data-siteinforowid="${ SiteInfoRowID }" data-basin="${ Basin }" data-subbasin="${ SubBasin }" data-lat="${ Latitude }" data-lng="${ Longitude }" style="display: block;">
<p id="siteName">${ SiteName }</p>
<p id="siteCode">${ SiteCode } (ID: <span id="siteID">${ SiteInfoRowID }</span>)</p>
<p id="siteLatLong"><span id="siteLatitude">${ Latitude }</span><span id="siteLongitude">${ Longitude }</span></p>
<p id="basinEtc">
<span class="label">Basin </span>
<span id="siteBasin"> ${ Basin } </span>
<span class="label">Sub Basin </span>
<span id="siteSubBasin">${ SubBasin } </span>
<span class="label">Watershed </span>
<span id="siteWatershed">${ TributaryWatershed }</span>
</p>
<div class="buttonRow">
<span id="zoom_3" class="mapSiteZoom">Show on Map</span>
<span class="siteSummBtn"><a target="_blank" href="/program/view/${ ProgramID } ">View Program</a></span>
<span class="siteSummBtn"><a target="_blank" href="/program/view/${ ProgramID }/${ MonitoringPlanID }">View Monitoring Plan</a></span>
<span class="siteSummBtn" style="display:none"><a target="_blank" href="/siteInfos/checkActive/${ SiteInfoRowID }">Check Active Status</a></span>
<span id="programID" style="display: none;">${ ProgramID }</span><br>
</div>
<br>At same location:
<p class="paramBtn"><a onclick="$(this).text($(this).text() == 'Show monitored parameters' ? 'Hide monitored parameters' : 'Show monitored parameters'); return toggleSiteData(${ SiteInfoRowID })" href="#" id="cvmSite_showhide_${ SiteInfoRowID}">Show monitored parameters</a></p>
<div id="cvmSiteData_${ SiteInfoRowID }" style="display: none;">
</div>
</div>
</script>
<div class="ui-layout-west">
<div id="cvmMap" style="width: 100%; height:99%"></div>
</div>
<div class="ui-layout-north">
<div id="banner">
<a id="dirPageTitle" href="/"><H2 style="margin-top: 0px">Central Valley Monitoring Directory</H2></a>
<h1>Main Directory</h1>
</div>
<div id="mapInfoTabContent"></div>
<div style='display:none;' id="debugdiv" class="ui-widget-content"><table><tr><td>Total Sites: <span id='dbgTotalSites'></span></td><td>Mapped Sites: <span id='dbgMappedSites'></span></td><td>UnMapped Sites: <span id='dbgUnMappedSites'></span> </td></tr></table></div>
</div>
<div class="ui-layout-center">
<ul>
<!-- <li><a id="mapInfoTab_" href="#mapInfoTab" >Map </a></li> -->
<li><a id="programsTab" href="#programsTabContent" >Programs </a></li>
<li><a id="agenciesTab" href="#agenciesTabContent" >Organizations </a></li>
<li><a id="parametersTab" href="#parametersTabContent">Analytes</a></li>
<li><a id="siteTab" href="#siteTabContent" >Sites </a></li>
<li><a id="priorityPollutantsTab" href="#priorityPollutantsTabContent">Priority Pollutants</a></li>
<li><a id="helpTab" href="#helpTabContent" >Help </a></li>
<li style='display:none;'><a id="debugTab" href="#debugTabContent" >Debug </a></li>
</ul>
<div id="cvmtabcontent" class="ui-layout-content">
<div id="programsTabContent" class="tabcontent"></div>
<div id="agenciesTabContent" class="tabcontent"><div style="padding:10px;" id="maptabProgramListSites"></div></div>
<div id="parametersTabContent" class="tabcontent"></div>
<div id="siteTabContent" class="tabcontent">
<div id="sites" class="mapSites"></div> <!-- end of sites-->
</div>
<div id="priorityPollutantsTabContent" class="tabcontent"></div>
<div id="helpTabContent" class="tabcontent"></div>
<div id="debugTabContent" class="ui-tabs-hide">
<div id="mapInfoMessage" style="display:none;">blank</div>
<div id="cakeDebug" style="display:none;"></div>
<div id="cvmDebug" style="background-color: #EFEFD3;overflow: auto;"></div>
</div>
</div>
<div id="cvmTabFooter" class="ui-state-default" style="padding: 3px 5px 5px; text-align: left; margin-top: 1ex;" >
<button id="btnDownloadExcel" class="fg_button ui-state-default ui-corner-all" type="submit" onMouseOver="$(this).addClass('ui-state-hover')" onMouseOut="$(this).removeClass('ui-state-hover')">Download Excel</button>
</div>
</div>
<div id="cvmMessage">Loading Stations. Please wait.</div>
<div id="infobox"></div>
",
"scripts_for_layout" => "<link rel="stylesheet" type="text/css" href="/jquery-ui/css/blitzer/jquery-ui-1.10.4.custom.min.css" />
<link rel="stylesheet" type="text/css" href="/css/jquery.pnotify.default.css" />
<link rel="stylesheet" type="text/css" href="/css/map.css" />
<link rel="stylesheet" type="text/css" href="/css/main.css" />
<link rel="stylesheet" type="text/css" href="/css/jquery.qtip.min.css" />
<link rel="stylesheet" type="text/css" href="http://cdn.datatables.net/1.10.0-beta.2/css/jquery.dataTables.css" />
<link rel="stylesheet" type="text/css" href="http://cdn.datatables.net/fixedcolumns/3.0.0/css/dataTables.fixedColumns.css" />
<link rel="stylesheet" type="text/css" href="http://yui.yahooapis.com/pure/0.4.2/pure-min.css" />
<script type="text/javascript" src="/jquery-ui/js/jquery-1.10.2.js"></script>
<script type="text/javascript" src="/jquery-ui/js/jquery-ui-1.10.4.custom.min.js"></script>
<script type="text/javascript" src="/js/jquery/jquery.layout-latest.js"></script>
<script type="text/javascript" src="/js/jquery/jquery.tmpl.js"></script>
<script type="text/javascript" src="/js/jquery/jquery.qtip.min.js"></script>
<script type="text/javascript" src="/js/jquery/jquery.scrollTo-1.4.2-min.js"></script>
<script type="text/javascript" src="/js/jquery/jquery.localscroll-1.2.7-min.js"></script>
<script type="text/javascript" src="/js/jquery/jquery.tablesorter.min.js"></script>
<script type="text/javascript" src="/js/utility/jLinq-2.2.1.js"></script>
<script type="text/javascript" src="/js/utility/php.default.min.js"></script>
<script type="text/javascript" src="/js/jquery/jquery.pnotify.min.js"></script>
<script type="text/javascript" src="/js/utility/json2.js"></script>
<script type="text/javascript" src="/js/MicrosoftAjax.js"></script>
<script type="text/javascript" src="/js/MSAjaxDownload.js"></script>
<script type="text/javascript" src="http://maps.google.com/maps/api/js?v=3.8&sensor=false"></script>
<script type="text/javascript" src="http://cdn.datatables.net/1.10.0-beta.2/js/jquery.dataTables.js"></script>
<script type="text/javascript" src="http://cdn.datatables.net/fixedcolumns/3.0.0/js/dataTables.fixedColumns.min.js"></script>
<script type="text/javascript" src="/js/Map3.js"></script>",
"title_for_layout" => "Map",
"form" => FormHelper
FormHelper::$helpers = array
FormHelper::$fieldset = array
FormHelper::$__options = array
FormHelper::$fields = array
FormHelper::$requestType = NULL
FormHelper::$defaultModel = NULL
FormHelper::$_inputDefaults = array
FormHelper::$base = ""
FormHelper::$webroot = "/"
FormHelper::$theme = NULL
FormHelper::$here = "/map"
FormHelper::$params = array
FormHelper::$action = "index"
FormHelper::$plugin = NULL
FormHelper::$data = NULL
FormHelper::$namedArgs = NULL
FormHelper::$argSeparator = NULL
FormHelper::$validationErrors = NULL
FormHelper::$tags = array
FormHelper::$__tainted = NULL
FormHelper::$__cleaned = NULL
FormHelper::$Html = HtmlHelper object,
"html" => HtmlHelper
HtmlHelper::$tags = array
HtmlHelper::$_crumbs = array
HtmlHelper::$__includedScripts = array
HtmlHelper::$_scriptBlockOptions = array
HtmlHelper::$__docTypes = array
HtmlHelper::$helpers = NULL
HtmlHelper::$base = ""
HtmlHelper::$webroot = "/"
HtmlHelper::$theme = NULL
HtmlHelper::$here = "/map"
HtmlHelper::$params = array
HtmlHelper::$action = "index"
HtmlHelper::$plugin = NULL
HtmlHelper::$data = NULL
HtmlHelper::$namedArgs = NULL
HtmlHelper::$argSeparator = NULL
HtmlHelper::$validationErrors = NULL
HtmlHelper::$__tainted = NULL
HtmlHelper::$__cleaned = NULL,
"session" => SessionHelper
SessionHelper::$helpers = array
SessionHelper::$__active = true
SessionHelper::$valid = false
SessionHelper::$error = false
SessionHelper::$_userAgent = "c8f970688b5b01f2c35237c03ee53944"
SessionHelper::$path = "/"
SessionHelper::$lastError = NULL
SessionHelper::$security = "medium"
SessionHelper::$time = 1732172711
SessionHelper::$sessionTime = 1732184711
SessionHelper::$cookieLifeTime = false
SessionHelper::$watchKeys = array
SessionHelper::$id = NULL
SessionHelper::$host = NULL
SessionHelper::$timeout = NULL
SessionHelper::$base = ""
SessionHelper::$webroot = "/"
SessionHelper::$here = "/map"
SessionHelper::$params = array
SessionHelper::$action = "index"
SessionHelper::$data = NULL
SessionHelper::$theme = NULL
SessionHelper::$plugin = NULL
)
$loadHelpers = false
$cached = true
$loadedHelpers = array()
$content_for_layout = "
<script id="siteEntries" type="text/x-jquery-tmpl">
<div class="siteSummary_nomarker siteSummary" id="cvmSite_${ SiteInfoRowID }" data-sitename="${ SiteName }" data-siteinforowid="${ SiteInfoRowID }" data-basin="${ Basin }" data-subbasin="${ SubBasin }" data-lat="${ Latitude }" data-lng="${ Longitude }" style="display: block;">
<p id="siteName">${ SiteName }</p>
<p id="siteCode">${ SiteCode } (ID: <span id="siteID">${ SiteInfoRowID }</span>)</p>
<p id="siteLatLong"><span id="siteLatitude">${ Latitude }</span><span id="siteLongitude">${ Longitude }</span></p>
<p id="basinEtc">
<span class="label">Basin </span>
<span id="siteBasin"> ${ Basin } </span>
<span class="label">Sub Basin </span>
<span id="siteSubBasin">${ SubBasin } </span>
<span class="label">Watershed </span>
<span id="siteWatershed">${ TributaryWatershed }</span>
</p>
<div class="buttonRow">
<span id="zoom_3" class="mapSiteZoom">Show on Map</span>
<span class="siteSummBtn"><a target="_blank" href="/program/view/${ ProgramID } ">View Program</a></span>
<span class="siteSummBtn"><a target="_blank" href="/program/view/${ ProgramID }/${ MonitoringPlanID }">View Monitoring Plan</a></span>
<span class="siteSummBtn" style="display:none"><a target="_blank" href="/siteInfos/checkActive/${ SiteInfoRowID }">Check Active Status</a></span>
<span id="programID" style="display: none;">${ ProgramID }</span><br>
</div>
<br>At same location:
<p class="paramBtn"><a onclick="$(this).text($(this).text() == 'Show monitored parameters' ? 'Hide monitored parameters' : 'Show monitored parameters'); return toggleSiteData(${ SiteInfoRowID })" href="#" id="cvmSite_showhide_${ SiteInfoRowID}">Show monitored parameters</a></p>
<div id="cvmSiteData_${ SiteInfoRowID }" style="display: none;">
</div>
</div>
</script>
<div class="ui-layout-west">
<div id="cvmMap" style="width: 100%; height:99%"></div>
</div>
<div class="ui-layout-north">
<div id="banner">
<a id="dirPageTitle" href="/"><H2 style="margin-top: 0px">Central Valley Monitoring Directory</H2></a>
<h1>Main Directory</h1>
</div>
<div id="mapInfoTabContent"></div>
<div style='display:none;' id="debugdiv" class="ui-widget-content"><table><tr><td>Total Sites: <span id='dbgTotalSites'></span></td><td>Mapped Sites: <span id='dbgMappedSites'></span></td><td>UnMapped Sites: <span id='dbgUnMappedSites'></span> </td></tr></table></div>
</div>
<div class="ui-layout-center">
<ul>
<!-- <li><a id="mapInfoTab_" href="#mapInfoTab" >Map </a></li> -->
<li><a id="programsTab" href="#programsTabContent" >Programs </a></li>
<li><a id="agenciesTab" href="#agenciesTabContent" >Organizations </a></li>
<li><a id="parametersTab" href="#parametersTabContent">Analytes</a></li>
<li><a id="siteTab" href="#siteTabContent" >Sites </a></li>
<li><a id="priorityPollutantsTab" href="#priorityPollutantsTabContent">Priority Pollutants</a></li>
<li><a id="helpTab" href="#helpTabContent" >Help </a></li>
<li style='display:none;'><a id="debugTab" href="#debugTabContent" >Debug </a></li>
</ul>
<div id="cvmtabcontent" class="ui-layout-content">
<div id="programsTabContent" class="tabcontent"></div>
<div id="agenciesTabContent" class="tabcontent"><div style="padding:10px;" id="maptabProgramListSites"></div></div>
<div id="parametersTabContent" class="tabcontent"></div>
<div id="siteTabContent" class="tabcontent">
<div id="sites" class="mapSites"></div> <!-- end of sites-->
</div>
<div id="priorityPollutantsTabContent" class="tabcontent"></div>
<div id="helpTabContent" class="tabcontent"></div>
<div id="debugTabContent" class="ui-tabs-hide">
<div id="mapInfoMessage" style="display:none;">blank</div>
<div id="cakeDebug" style="display:none;"></div>
<div id="cvmDebug" style="background-color: #EFEFD3;overflow: auto;"></div>
</div>
</div>
<div id="cvmTabFooter" class="ui-state-default" style="padding: 3px 5px 5px; text-align: left; margin-top: 1ex;" >
<button id="btnDownloadExcel" class="fg_button ui-state-default ui-corner-all" type="submit" onMouseOver="$(this).addClass('ui-state-hover')" onMouseOut="$(this).removeClass('ui-state-hover')">Download Excel</button>
</div>
</div>
<div id="cvmMessage">Loading Stations. Please wait.</div>
<div id="infobox"></div>
"
$scripts_for_layout = "<link rel="stylesheet" type="text/css" href="/jquery-ui/css/blitzer/jquery-ui-1.10.4.custom.min.css" />
<link rel="stylesheet" type="text/css" href="/css/jquery.pnotify.default.css" />
<link rel="stylesheet" type="text/css" href="/css/map.css" />
<link rel="stylesheet" type="text/css" href="/css/main.css" />
<link rel="stylesheet" type="text/css" href="/css/jquery.qtip.min.css" />
<link rel="stylesheet" type="text/css" href="http://cdn.datatables.net/1.10.0-beta.2/css/jquery.dataTables.css" />
<link rel="stylesheet" type="text/css" href="http://cdn.datatables.net/fixedcolumns/3.0.0/css/dataTables.fixedColumns.css" />
<link rel="stylesheet" type="text/css" href="http://yui.yahooapis.com/pure/0.4.2/pure-min.css" />
<script type="text/javascript" src="/jquery-ui/js/jquery-1.10.2.js"></script>
<script type="text/javascript" src="/jquery-ui/js/jquery-ui-1.10.4.custom.min.js"></script>
<script type="text/javascript" src="/js/jquery/jquery.layout-latest.js"></script>
<script type="text/javascript" src="/js/jquery/jquery.tmpl.js"></script>
<script type="text/javascript" src="/js/jquery/jquery.qtip.min.js"></script>
<script type="text/javascript" src="/js/jquery/jquery.scrollTo-1.4.2-min.js"></script>
<script type="text/javascript" src="/js/jquery/jquery.localscroll-1.2.7-min.js"></script>
<script type="text/javascript" src="/js/jquery/jquery.tablesorter.min.js"></script>
<script type="text/javascript" src="/js/utility/jLinq-2.2.1.js"></script>
<script type="text/javascript" src="/js/utility/php.default.min.js"></script>
<script type="text/javascript" src="/js/jquery/jquery.pnotify.min.js"></script>
<script type="text/javascript" src="/js/utility/json2.js"></script>
<script type="text/javascript" src="/js/MicrosoftAjax.js"></script>
<script type="text/javascript" src="/js/MSAjaxDownload.js"></script>
<script type="text/javascript" src="http://maps.google.com/maps/api/js?v=3.8&sensor=false"></script>
<script type="text/javascript" src="http://cdn.datatables.net/1.10.0-beta.2/js/jquery.dataTables.js"></script>
<script type="text/javascript" src="http://cdn.datatables.net/fixedcolumns/3.0.0/js/dataTables.fixedColumns.min.js"></script>
<script type="text/javascript" src="/js/Map3.js"></script>"
$title_for_layout = "Map"
$form = FormHelper
FormHelper::$helpers = array
FormHelper::$fieldset = array
FormHelper::$__options = array
FormHelper::$fields = array
FormHelper::$requestType = NULL
FormHelper::$defaultModel = NULL
FormHelper::$_inputDefaults = array
FormHelper::$base = ""
FormHelper::$webroot = "/"
FormHelper::$theme = NULL
FormHelper::$here = "/map"
FormHelper::$params = array
FormHelper::$action = "index"
FormHelper::$plugin = NULL
FormHelper::$data = NULL
FormHelper::$namedArgs = NULL
FormHelper::$argSeparator = NULL
FormHelper::$validationErrors = NULL
FormHelper::$tags = array
FormHelper::$__tainted = NULL
FormHelper::$__cleaned = NULL
FormHelper::$Html = HtmlHelper object
$html = HtmlHelper
HtmlHelper::$tags = array
HtmlHelper::$_crumbs = array
HtmlHelper::$__includedScripts = array
HtmlHelper::$_scriptBlockOptions = array
HtmlHelper::$__docTypes = array
HtmlHelper::$helpers = NULL
HtmlHelper::$base = ""
HtmlHelper::$webroot = "/"
HtmlHelper::$theme = NULL
HtmlHelper::$here = "/map"
HtmlHelper::$params = array
HtmlHelper::$action = "index"
HtmlHelper::$plugin = NULL
HtmlHelper::$data = NULL
HtmlHelper::$namedArgs = NULL
HtmlHelper::$argSeparator = NULL
HtmlHelper::$validationErrors = NULL
HtmlHelper::$__tainted = NULL
HtmlHelper::$__cleaned = NULL
$session = SessionHelper
SessionHelper::$helpers = array
SessionHelper::$__active = true
SessionHelper::$valid = false
SessionHelper::$error = false
SessionHelper::$_userAgent = "c8f970688b5b01f2c35237c03ee53944"
SessionHelper::$path = "/"
SessionHelper::$lastError = NULL
SessionHelper::$security = "medium"
SessionHelper::$time = 1732172711
SessionHelper::$sessionTime = 1732184711
SessionHelper::$cookieLifeTime = false
SessionHelper::$watchKeys = array
SessionHelper::$id = NULL
SessionHelper::$host = NULL
SessionHelper::$timeout = NULL
SessionHelper::$base = ""
SessionHelper::$webroot = "/"
SessionHelper::$here = "/map"
SessionHelper::$params = array
SessionHelper::$action = "index"
SessionHelper::$data = NULL
SessionHelper::$theme = NULL
SessionHelper::$plugin = NULL
include - APP/views/layouts/map.ctp, line 40
View::_render() - CORE/cake/libs/view/view.php, line 731
View::renderLayout() - CORE/cake/libs/view/view.php, line 489
View::render() - CORE/cake/libs/view/view.php, line 435
Controller::render() - CORE/cake/libs/controller/controller.php, line 909
Dispatcher::_invoke() - CORE/cake/dispatcher.php, line 207
Dispatcher::dispatch() - CORE/cake/dispatcher.php, line 171
[main] - APP/webroot/index.php, line 83