91 lines
3.0 KiB
Plaintext
91 lines
3.0 KiB
Plaintext
<%@ LANGUAGE = JavaScript %>
|
|
<% /*
|
|
$Revision: 4 $
|
|
$Modtime: 29-06-10 10:35 $
|
|
*/ %>
|
|
|
|
<% Response.Expires = 0 %>
|
|
<!-- #include file="../../cust/install.inc" -->
|
|
<!-- #include file="../Shared/iface.inc" -->
|
|
<!-- #include file="../Shared/selector.inc" -->
|
|
<!-- #include file="../Shared/plaatsselector.inc" -->
|
|
<!-- #include file="alg.inc" -->
|
|
|
|
<%
|
|
FCLTHeader.Requires({ plugins:["jQuery", "kenmerk"],
|
|
js: ["expand_frame.js"]
|
|
});
|
|
|
|
var locatie_key = getQParamInt("locatie_key", -1); // Locatie
|
|
var gebouw_key = getQParamInt("gebouw_key", -1); // Gebouw
|
|
var verdieping_key = getQParamInt("verdieping_key", -1); // Verdieping
|
|
|
|
var autosearch = getQParam("autosearch", -1);
|
|
|
|
var authparams = alg.checkAutorisation();
|
|
%>
|
|
|
|
<html>
|
|
<head>
|
|
<% FCLTHeader.Generate(); %>
|
|
<script>
|
|
function doSubmit()
|
|
{
|
|
// Submitten met kenmerken
|
|
doSubmitWithKenmerken(0);
|
|
}
|
|
|
|
function myModal()
|
|
{
|
|
var lvl = "V";
|
|
var key = 0;
|
|
var bld_key = "";
|
|
var url = "load_kenmerk.asp?disc=" + "&urole=bo" + "&advanced=1" + "&onrgoed_key=" + bld_key + "&onrgoed_niveau=" + lvl;
|
|
var titel = "<%=lcl_properties%>";
|
|
showKenmerkModal(key, url, titel)
|
|
}
|
|
|
|
$(document).ready(function() {<% if (autosearch == 1) { %> document.forms.u2.submit();<%}%>});
|
|
</script>
|
|
</head>
|
|
|
|
<body id="searchbody">
|
|
<div id="search">
|
|
<% BLOCK_START("searchtable", lcl_filterblok);%>
|
|
<form name="u2" target="workFrame" action="alg_verdieping_search_list.asp" method="get">
|
|
<td valign=top>
|
|
<table>
|
|
<% // <!-- Locatie, gebouw en verdieping -->
|
|
FCLTplaatsselector(authparams.ALGreadlevel, {
|
|
locatiekey: locatie_key,
|
|
gebouwkey: gebouw_key,
|
|
verdiepingkey: verdieping_key,
|
|
startlevel: 2, // locatie
|
|
eindlevel: 4, // verdieping
|
|
whenEmpty: lcl_search_generic // want filter
|
|
});
|
|
%>
|
|
</table>
|
|
</td>
|
|
</tr>
|
|
</table>
|
|
</form>
|
|
<% BLOCK_END();
|
|
|
|
var buttons = [ {title: lcl_search, action:"doSubmit();", id:"bSearch" },
|
|
{title: lcl_obj_advanced, action:"myModal()", id:"bAdvanced" } ];
|
|
CreateButtons(buttons);
|
|
%>
|
|
</div> <!-- search -->
|
|
|
|
<div id="result">
|
|
<iframe width="100%" height="100%"
|
|
src="../Shared/empty.asp"
|
|
name="workFrame" id="workFrame"
|
|
onload='ExpandFrame("workFrame")'
|
|
frameborder="0" scrolling="no">
|
|
</iframe>
|
|
</div>
|
|
</body>
|
|
</html>
|