<?
//BEGIN FRAME
function begin_frame($title = "-", $align = "justify"){
global $THEME;
global $site_config;
?>
<table width="100%" border="0" cellspacing="0" cellpadding="5">
<tr>
<td><table width="100%" border="0" cellspacing="0" cellpadding="1">
<tr>
<td bgcolor="#486386"><table width="100%" border="0" cellpadding="0" cellspacing="1" bgcolor="#FFFFFF">
<tr>
<td height="27" background="themes/fisubice/images/cellpic3.gif"><table width="100%" border="0" cellspacing="0" cellpadding="4">
<tr>
<td alignlef><font class="storytitle"><b><?=$title?></b></font><font class="block-title"> </font></td>
</tr>
</table></td>
</tr>
<tr>
<td bgcolor="#F4F6FB"><table width="100%" border="0" cellspacing="0" cellpadding="4">
<tr>
<td><font class="content">
<?
}
//END FRAME
function end_frame() {
global $THEME;
global $site_config;
?>
</font></td>
</tr>
</table></td>
</tr>
<tr>
<td height="27" bgcolor="#F4F6FB"><table width="100%" border="0" cellspacing="0" cellpadding="4">
<tr>
<td nowrap></td>
</tr>
</table></td>
</tr>
</table></td>
</tr>
</table></td>
</tr>
</table>
<?
}
//BEGIN BLOCK
function begin_block($title="-"){
global $THEME;
global $site_config;
$hide = "<a href=\"javascript: klappe_block('b".$title."')\"><img border=\"0\" src=\"".$site_config["SITEURL"]."/images/minus.gif\" id=\"picb".$title."\" alt=\"Show/Hide\">";
?>
<table width="170" border="0" cellspacing="0" cellpadding="7">
<tr>
<td><table width="100%" border="0" cellspacing="0" cellpadding="1">
<tr>
<td bgcolor="#486386"><table width="100%" border="0" cellpadding="0" cellspacing="1" bgcolor="#FFFFFF">
<tr>
<td height="27" background="themes/fisubice/images/cellpic3.gif"><table width="100%" border="0" cellspacing="0" cellpadding="4">
<tr>
<td><font class="block-title"><strong><?=$title?></strong></font></td><td align="right"> <?=$hide?></td>
</tr>
</table></td>
</tr>
<tr>
<td bgcolor="#F4F6FB"><table width="100%" border="0" cellspacing="0" cellpadding="4">
<tr>
<td><font class="content">
<?
echo " <div id=\"kb".$title."\" style=\"display: block;\">\n";
}
//END BLOCK
function end_block(){
global $THEME;
global $site_config;
echo " </div>\n";
?>
</font></td>
</tr>
</table></td>
</tr>
<tr>
<td height="27" background="themes/fisubice/images/cellpic1.gif"> </td>
</tr>
</table></td>
</tr>
</table></td>
</tr>
</table>
<?
}
function begin_table(){
print("<table align=center cellpadding=\"0\" cellspacing=\"0\" class=\"ttable_headouter\" width=100%><tr><td><table align=center cellpadding=\"0\" cellspacing=\"0\" class=\"ttable_headinner\" width=100%>\n");
}
function end_table() {
print("</table></td></tr></table>\n");
}
function tr($x,$y,$noesc=0) {
if ($noesc)
$a = $y;
else {
$a = htmlspecialchars($y);
$a = str_replace("\n", "<br />\n", $a);
}
print("<tr><td class=\"heading\" valign=\"top\" align=\"right\">$x</td><td valign=\"top\" align=left>$a</td></tr>\n");
}
?>