HEX
Server: LiteSpeed
System: Linux ws4.angoweb.net 5.14.0-611.13.1.el9_7.x86_64 #1 SMP PREEMPT_DYNAMIC Thu Dec 11 04:57:59 EST 2025 x86_64
User: tswangoe (2287)
PHP: 8.1.33
Disabled: show_source, system, shell_exec, passthru, exec, phpinfo, popen, proc_open
Upload Files
File: //usr/local/sitepad/lib/panels/interworx/plugin/templates/admin.tpl
<iframe border="0" 
        src="/nodeworx/sitepad" 
        style="width: 100%;" 
        id="internal" 
        frameborder="0" 
        marginheight="0" 
        marginwidth="0"
        onload="javascript:resize_iframe();"></iframe>
{literal}
<script language="JavaScript">
<!--
function resize_iframe()
{

  var height=window.innerWidth;//Firefox
  if (document.body.clientHeight)
  {
    height=document.body.clientHeight;//IE
  }
  //resize the iframe according to the size of the
  //window (all these should be on the same line)
  document.getElementById("internal").style.height=parseInt(height-
  document.getElementById("internal").offsetTop-8)+"px";
}

// this will resize the iframe every
// time you change the size of the window.
window.onresize=resize_iframe; 

//-->
</script>
{/literal}