<!-- end footer -->
<p align="center">{$block}</p>
</body>
</html>
<!-- end footer -->
EOF;
}
function view_block($title, $content) {
global $mklib;
return <<<EOF
<!-- begin block template -->
<tr>
<td class="tablemenu" valign="top">
<table border="0" width="100%" cellpadding="0" cellspacing="0">
<tr>
<td>
<table border="0" cellpadding="4" cellspacing="0" width="100%">
<tr>
<td width="100%" class="sottotitolo" valign="middle" nowrap="nowrap">{$title}</td>
</tr>
</table>
</td>
</tr>
<tr>
<td width="100%">
<table border="0" width="100%" cellpadding="0" cellspacing="1">
{$content}
</table>
</td>
</tr>
</table>
</td>
</tr>
<tr>
<td class="tdspacer"> </td>
</tr>
<!-- end block template -->
EOF;
}
function row_link( $icon, $url, $text) {
global $mklib;
return <<<EOF
<!-- begin link template -->
<img src="$icon" border="0" style="vertical-align: middle;" alt="" /> <a class="uno" $url>$text</a>
<!-- end link template -->
EOF;
}
function view_quote($content, $author) {
global $mklib;
return <<<EOF
<!-- begin mkportal quote -->
<table class="mkquotetable" style="margin-top: 5px; margin-bottom: 5px; width: auto;" border="0" cellpadding="0" cellspacing="0">
<tr>
<td>
<table border="0" cellpadding="0" cellspacing="0" width="100%">
<tr>
<td valign="bottom">
<table border="0" cellpadding="0" cellspacing="0">
<tr>
<td valign="top" width="26"><img src="$mklib->images/quote/mkquote_balloon_l.gif" height="23" width="26" alt="" /></td>
<td style="background-image: url($mklib->images/quote/mkquote_balloon_bg.gif); background-position: center; padding-bottom: 3px;" valign="middle" nowrap="nowrap">
<span class="mkquoteball"><b>{$mklib->lang['editor_quote']}</b> $author</span>
</td>
<td valign="top"><img src="$mklib->images/quote/mkquote_balloon_r.gif" height="23" width="26" alt="" /></td>
</tr>
</table>
</td>
<td align="right" valign="bottom" width="100%">
<table border="0" cellpadding="0" cellspacing="0" width="100%">
<tr>
<td width="100%">
<table border="0" cellpadding="0" cellspacing="0" width="100%">
<tr>
<td style="background-image: url($mklib->images/quote/mkquote_top_bg.gif);" valign="middle" width="100%"></td>
<td align="left" valign="top"><img src="$mklib->images/quote/mkquote_top_r.gif" height="23" width="13" alt="" /></td>
</tr>
</table>
</td>
</tr>
</table>
</td>
</tr>
</table>
<table border="0" cellpadding="0" cellspacing="0" width="100%">
<tr>
<td style="background-image: url($mklib->images/quote/mkquote_left_bg.gif);" width="13"></td>
<td class="mkquotetext" bgcolor="#ffffff" valign="top" width="100%">
<i>$content</i>
</td>
<td style="background-image: url($mklib->images/quote/mkquote_right_bg.gif);" width="13"></td>
</tr>
<tr>
<td valign="bottom" height="9" width="13"><img src="$mklib->images/quote/mkquote_bot_l.gif" alt="" /></td>
<td style="background-image: url($mklib->images/quote/mkquote_bot_bg.gif);" width="100%"></td>
<td valign="bottom" height="9" width="13"><img src="$mklib->images/quote/mkquote_bot_r.gif" alt="" /></td>
</tr>
</table>
</td>
</tr>
</table>
<!-- end mkportal quote -->
EOF;
}
}
$Skin = new tpl_main;
?>