2015-04-01 18:01:40 -04:00
|
|
|
<?php
|
2015-03-16 17:26:48 -04:00
|
|
|
G::LoadSystem('inputfilter');
|
|
|
|
|
$filter = new InputFilter();
|
|
|
|
|
$_POST['qs'] = $filter->xssFilterHard($_POST['qs']);
|
|
|
|
|
?>
|
2010-12-02 23:34:41 +00:00
|
|
|
<html>
|
2011-06-30 09:28:08 -04:00
|
|
|
<style type="text/css">
|
|
|
|
|
.Footer .content {
|
|
|
|
|
padding :0px !important;
|
|
|
|
|
}
|
|
|
|
|
*html body {
|
|
|
|
|
overflow-y: hidden;
|
|
|
|
|
}
|
|
|
|
|
</style>
|
2010-12-02 23:34:41 +00:00
|
|
|
<body onresize="autoResizeScreen()" onload="autoResizeScreen()">
|
2012-03-07 18:12:01 -04:00
|
|
|
<iframe name="casesFrame" id="casesFrame" src ="../cases/main_init<?php echo $_POST['qs'];?>" width="99%" height="768" frameborder="0">
|
2010-12-02 23:34:41 +00:00
|
|
|
<p>Your browser does not support iframes.</p>
|
|
|
|
|
</iframe>
|
|
|
|
|
</body>
|
|
|
|
|
<script>
|
|
|
|
|
if ( document.getElementById('pm_submenu') )
|
|
|
|
|
document.getElementById('pm_submenu').style.display = 'none';
|
2011-06-30 09:28:08 -04:00
|
|
|
document.documentElement.style.overflowY = 'hidden';
|
|
|
|
|
|
|
|
|
|
var oClientWinSize = getClientWindowSize();
|
2010-12-02 23:34:41 +00:00
|
|
|
|
2014-09-02 16:45:44 -04:00
|
|
|
|
2010-12-02 23:34:41 +00:00
|
|
|
function autoResizeScreen() {
|
|
|
|
|
oCasesFrame = document.getElementById('casesFrame');
|
2011-06-30 09:28:08 -04:00
|
|
|
height = getClientWindowSize().height-90;
|
2014-09-03 14:51:45 -04:00
|
|
|
oCasesFrame.style.height = height + 'px';;
|
2010-12-02 23:34:41 +00:00
|
|
|
oCasesSubFrame = oCasesFrame.contentWindow.document.getElementById('casesSubFrame');
|
2011-06-30 09:28:08 -04:00
|
|
|
if(oCasesSubFrame){
|
2014-09-03 14:51:45 -04:00
|
|
|
oCasesSubFrame.style.height = (height-5) + 'px';;
|
2011-06-30 09:28:08 -04:00
|
|
|
}
|
|
|
|
|
else {
|
|
|
|
|
setTimeout('autoResizeScreen()', 2000);
|
|
|
|
|
}
|
|
|
|
|
|
2010-12-02 23:34:41 +00:00
|
|
|
|
|
|
|
|
}
|
|
|
|
|
</script>
|
|
|
|
|
</html>
|