Location: PHPKode > projects > phpAWE > phpAWE.0.4.beta.demo-page/awe/layout/aweManager/html/ManView/default.html
<?xml version="1.0" encoding="%xml_encoding%"?>

<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Strict//EN" "http://www.w3.org/TR/xhtml1/DTD/xhtml1-strict.dtd">

<html xmlns="http://www.w3.org/1999/xhtml" xml:lang="%xml_language%">
<head>
<meta http-equiv="content-type" content="text/html;charset=%page_encoding%" />

<link rel="shortcut icon" href="favico2.ico" type="image/png" />
<title>%page_title%</title>

<meta name="keywords" content="%page_keywords%" />
<meta name="description" content="%page_description%" />
<meta name="Robots" content="ALL" />
<meta name="Author" content="Marcin Batkowski, hide@address.com" />

<link rel="Stylesheet" href="%style_file%" type="text/css" />

<!-- code from: http://guymal.com/mycode/100_percent_iframe/ -->

<script language="JavaScript">
<!--
function resize_iframe(obj)
{

	var height=window.innerHeight;//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)
	obj.style.height=parseInt(height-obj.offsetTop-8)+"px";
}

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

//Instead of using this you can use: 
//	<BODY onresize="resize_iframe()">

var selected_dir = 0;

function change_directory(last, newfolder) 
{
selected_dir =newfolder;

document.getElementById('nam'+newfolder).style.backgroundColor='black';
document.getElementById('nam'+newfolder).style.color='white';
document.getElementById('nam'+newfolder).style.fontWeight='bold';

document.getElementById('nam'+last).style.backgroundColor='transparent';
document.getElementById('nam'+last).style.color='black';
document.getElementById('nam'+last).style.fontWeight='normal';

document.getElementById('list_view').src="index.php?mode=1&id1="+newfolder;
}

function expand_directory(dirid) {
document.getElementById('sub'+dirid).style.display='block';
document.getElementById('col'+dirid).style.display='block';
document.getElementById('exp'+dirid).style.display='none';
document.getElementById('clo'+dirid).style.display='none';
document.getElementById('ope'+dirid).style.display='block';
}

function collapse_directory(dirid) {
document.getElementById('sub'+dirid).style.display='none';
document.getElementById('col'+dirid).style.display='none';
document.getElementById('exp'+dirid).style.display='block';
document.getElementById('clo'+dirid).style.display='block';
document.getElementById('ope'+dirid).style.display='none';
}

//-->
</script>

</head>

<body>

  <body>

      

      <div  id="tree_view">
        <div class="framebody">
          <div style="clear:both;">
      
          <span id="ope0" class="folder2"></span>
          <span id="nam0" class="a1" onClick="change_directory(selected_dir,0);">Strona G³ówna</span>
          </div>
      
        %tree%
        </div>
      </div>
      
    <iframe id="list_view" src="index.php?mode=1&amp;id1=0" onload="resize_iframe(this);">
    </iframe>

  </body>
  
</body>
Return current item: phpAWE