Location: PHPKode > projects > MUSPA > sys/templates/base.htm
<patTemplate:tmpl name="main">
<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Transitional//EN" "http://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd">
<html xmlns="http://www.w3.org/1999/xhtml">
<head>
<title>Painel de Controle</title>
<meta http-equiv="Content-Type" content="text/html; charset=iso-8859-1" />

<patTemplate:link src="head" />

<script type="text/javascript" src="menu.js"></script>
<script type="text/javascript" src="util.js"></script>
<script type="text/javascript" src="tip.js"></script>
<script type="text/javascript">
<!--
	var arImages=new Array();
	function Preload()
	{
		var temp = Preload.arguments;
		for(x=0; x < temp.length; x++) {
			arImages[x]=new Image();
		arImages[x].src=Preload.arguments[x];
		}
	}
// -->
</script>
<link href="style.css" rel="stylesheet" type="text/css" />
<link href="editors/htmlarea/htmlarea.css" rel="stylesheet" type="text/css" />
</head>

<body onload="Preload('img/menu_bpo.gif', 'img/menu_bm.gif', 'img/menu_bmo.gif', 'img/menu_bs.gif', 'img/menu_bso.gif');
<patTemplate:link src="onload" />
" onunload="
<patTemplate:link src="onunload" />
">

<table width="100%" border="0" cellpadding="2" cellspacing="2">
	<tr>
		<td width="150" valign="top"><table width="95%" border="0" cellpadding="0" cellspacing="0">
            	<tr>
            		<td width="100%" align="right" valign="top" class="menu_title">Op&ccedil;&otilde;es do Menu </td>
            		<td align="right"><img src="img/menu_ctr.gif" width="18" height="28" alt="" /></td>
           		</tr>
            	<tr>
            		<td width="100%" valign="top">

<!-- Menu Start -->
<div id="menu"></div>
<script type="text/javascript">
<!--
	var oMenu = new Menu();
<patTemplate:tmpl name="menu" type="condition" conditionvar="TYPE">
	<patTemplate:sub condition="menu">
		oMenu.addOpt("{NOME}", "{DESCRICAO}", null, {SELECTED});
	</patTemplate:sub>
	<patTemplate:sub condition="submenu">
		oMenu.addSubOpt("{NOME}", "{DESCRICAO}", "{LINK}");
	</patTemplate:sub>
	<patTemplate:sub condition="directmenu">
		oMenu.addOpt("{NOME}", "{DESCRICAO}", "{LINK}", false);
	</patTemplate:sub>
</patTemplate:tmpl>
	oMenu.display();
// -->
</script>

<!-- Menu End -->
					</td>
            		<td style="background: url(img/menu_bgr.gif);"><img src="img/px.gif" alt="" width="18" /></td>
           		</tr>
            	<tr>
            		<td colspan="2" align="right"><img src="img/menu_bgb.gif" width="7" height="16" alt="" /><img src="img/menu_cbr.gif" width="18" height="16" alt="" /></td>
           		</tr>
       	</table></td>
		<td align="center" valign="top"><table width="95%" border="0" cellpadding="0" cellspacing="0">
        	<tr>
        		<td>
        			<table style="background: url(img/line.gif);" width="100%" cellpadding="0" cellspacing="0" border="0">
        				<tr valign="top">
        					<td><img src="img/b1_ctl.gif" width="27" height="27" alt="" border="0" /></td>
        					<td style="background-image: url(img/h_start.gif); background-repeat:repeat-x;" valign="top"><pre style="margin:0px;" class="b1_eye">Painel de Controle:</pre></td>
        					<td><img src="img/h_end.gif" width="15" height="15" alt="" border="0" /></td>
        					<td align="right" width="100%"><img src="img/b1_ctr.gif" width="14" height="27" alt="" border="0" /></td>
        					</tr>
        				</table>
        			<table width="100%" cellpadding="0" cellspacing="0" border="0">
        				<tr valign="top">
        					<td style="background: url(img/b1_bgl.gif);"><img src="img/arrow.gif" width="34" height="14" alt="" border="0" /></td>
        					<td width="100%" align="left" class="b1_title">{CAPTION}</td>
        					<td style="background: url(img/b1_bgr.gif);"><img src="img/px.gif" width="14" height="1" alt="" border="0" /></td>
        					</tr>
        				</table>
        			<div class="horizontalline"><img src="img/px.gif" width="1" height="1" alt="" border="0" /></div>
        			<table width="100%" cellpadding="0" cellspacing="0" border="0">
        				<tr valign="top">
        					<td style="background: url(img/b1_bgl2.gif);"><img src="img/px.gif" width="34" height="1" alt="" border="0" /></td>
        					<td width="100%" align="left"class="content" valign="top">
<div class="ie_bug1">
<!-- Conteudo -->
							<patTemplate:link src="content"/>

<!-- Fim do Conteudo -->
</div>
							</td>
							<td style="background: url(img/b1_bgr2.gif);"><img src="img/px.gif" width="14" height="1" alt="" border="0" /></td>
        					</tr>
        				</table>
        			<table width="100%" cellpadding="0" cellspacing="0" border="0">
        				<tr>
        					<td style="background: url(img/b1_bgb.gif);"><img src="img/b1_cbl.gif" width="27" height="14" alt="" border="0" /></td>
        					<td style="background: url(img/b1_bgb.gif);" align="right" width="100%"><img src="img/b1_cbr.gif" width="14" height="14" alt="" border="0" /></td>
        					</tr>
        				</table></td>
        		</tr>
        	</table></td>
	</tr>
</table>
<br />
<div class="tip">{VERSION} Copyright &copy; 2004 <a href="http://muspa.sf.net" target="muspa" class="title">MUSPA Project</a></div>
<div class="horizontalline"><img src="img/px.gif" width="1" height="1" alt="" border="0" /></div>
<div class="tip" align="right"><span class="title">{PRIVS}: </span>{USER}, logado a {LOGGEDAT}. </div>

<patTemplate:link src="tip"/>
</body>
</html>
</patTemplate:tmpl>

<patTemplate:tmpl name="onload" visibility="hidden" />
<patTemplate:tmpl name="onunload" visibility="hidden" />
<patTemplate:tmpl name="head" visibility="hidden" />
Return current item: MUSPA