<!-- begin center column -->
<td valign="top" align="left" width="100%">
<table cellpadding="0" cellspacing="3" border="0" width="100%">
{$blocks}
</table>
</td>
<!-- end center column -->
EOF;
}
function view_column_right($blocks) {
global $mklib;
return <<<EOF
<!-- begin right column -->
<td id="menudx" valign="top" align="left">
<div id="menucontentr" style="$mklib->menucontentr">
<div style="text-align:left;"> <a href="javascript:ColumnClose('menudx');MemoPos('MKmenudx', '1')"><img src="$mklib->images/f1.gif" border="0" alt="" /></a></div>
<table cellpadding="0" cellspacing="2" border="0" style="width: {$mklib->columnwidth}px;">
{$blocks}
</table>
</div>
<div id="menuclosedr" style="$mklib->menuclosedr">
<div style="text-align:left;"><a href="javascript:ColumnOpen('menudx');MemoPos('MKmenudx', '0')"><img src="$mklib->images/f2.gif" border="0" alt="" /></a></div>
</div>
</td>
<!-- end right column -->
EOF;
}
function close_body() {
global $mklib;
return <<<EOF
<!-- begin close portal body -->
</tr>
</table>
</td>
</tr>
<!-- end close portal body -->
EOF;
}
function close_main() {
global $mklib;
return <<<EOF
<!-- begin close main table -->
</table>
</td>
</tr>
</table>
</div>
</div>
</div>
<div class="nobottomgap"></div>
<div class="bottom-left"></div><div class="bottom-center"></div><div class="bottom-right"></div>
</div>
<!-- end close main table -->
EOF;
}
function view_footer($block) {
global $mklib;
return <<<EOF
<!-- begin footer -->
<!-- Please don't remove my credit -->Template by <a href="http://www.yamc.info" target="_blank"> mike16os </a><!-- Thanx -->
<!-- you can add your credits here -->
<!-- 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 valign="top">
<table border="0" width="100%" cellpadding="0" cellspacing="0">
<tr>
<td >
<table border="0" cellpadding="0" cellspacing="0" width="100%">
<tr>
<td class="tdmenblock" width="1%"><img class="tdmenblock" alt="" src="$mklib->images/m_sx.gif" border="0" /></td>
<td class="sottotitolo" width="99%" style="BACKGROUND-IMAGE: url($mklib->images/m_sf.gif)" valign="middle" nowrap="nowrap">{$title}</td>
<td class="tdmenblock" width="1%"><img class="tdmenblock" alt="" src="$mklib->images/m_dx.gif" border="0" /></td>
</tr>
</table>
</td>
</tr>
<tr>
<td colspan="3">
<table border="0" cellspacing="0" cellpadding="0" width="100%">
<tr>
<td class="tdmenblock" width="1%" style="BACKGROUND-IMAGE: url($mklib->images/lat_sx.gif)" valign="middle" nowrap="nowrap"><img class="tdmenblock" alt="" src="$mklib->images/lat_sx.gif" border="0" /></td>
<td class="tablemenu" width="99%">
<table border="0" width="100%" cellpadding="1" cellspacing="1">{$content}</table>
</td>
<td class="tdmenblock" width="1%" style="BACKGROUND-IMAGE: url($mklib->images/lat_dx.gif)" valign="middle" nowrap="nowrap"><img class="tdmenblock" alt="" src="$mklib->images/lat_dx.gif" border="0" /></td>
</tr>
</table>
</td>
</tr>
<tr>
<td>
<table border="0" cellpadding="0" cellspacing="0" width="100%">
<tr>
<td class="tdmenblock" width="1%" align="right" valign="top"><img class="tdmenblock" alt="" src="$mklib->images/m_sx2.gif" /></td>
<td class="tdmenblock" width="99%" style="BACKGROUND-IMAGE: url($mklib->images/m_sf2.gif)" valign="top"></td>
<td class="tdmenblock" width="1%" valign="top"><img class="tdmenblock" alt="" src="$mklib->images/m_dx2.gif" /></td>
</tr>
</table>
</td>
</tr>
</table>
</td>
</tr>
<tr>
<td class="tdspacer"> </td>
</tr><!-- end block template -->
EOF;
}
//Note: Link icon img code is in functions.php (function header)
function row_link($icon, $url, $text) {
global $mklib;
return <<<EOF
<!-- begin link template -->
{$icon} <a class="uno" $url title="$text">$text</a>
<!-- end link template -->
EOF;
}
//Note: Link icon img code is in block files
function row_link_block($icon, $url, $text) {
global $mklib;
return <<<EOF
<!-- begin block link template -->
{$icon} <a class="uno" $url title="$text">$text</a>
<!-- end block 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;
}
//Meo: Changed in C 0.1b for AEF shoutbox
function AEF_shoutbox() {
global $mklib;
return <<<EOF
</tr>
<tr style="visibility:hidden">
<td>
<div id="shoutbox" style="left:0px; top:0px; position:absolute; width:700px; visibility:hidden;">
<table width="100%" cellspacing="0" cellpadding="0" id="shbhandle">
<tr>
<td style="background:url($mklib->siteurl/$mklib->forumpath/themes/default/images/dwhl.gif); width:4px;"></td>
<td align="left" style="background:transparent url($mklib->siteurl/$mklib->forumpath/themes/default/images/dwhc.gif) repeat-x scroll 0%; height:27px;"><b>Shout Box</b></td>
<td align="right" style="background:transparent url($mklib->siteurl/$mklib->forumpath/themes/default/images/dwhc.gif) repeat-x scroll 0%; height:27px;"><a href="javascript:hide_shoutbox()"><img src="$mklib->siteurl/$mklib->forumpath/themes/default/images/close.gif" alt="" /></a></td>
<td style="background:url($mklib->siteurl/$mklib->forumpath/themes/default/images/dwhr.gif); width:4px;"></td>
</tr>
</table>
<table width="100%" cellspacing="0" cellpadding="0" style="background-color:#F4F4F4; border:solid 1px #CCCCCC;">
<tr>
<td width="100%" valign="top">
<div id="shouts" align="left" style="height:120px; overflow: auto; display: block;"></div>
</td>
</tr>
</table>
<script type="text/javascript">
<!--
function Mk_Editor_Smileys_Pop() {
editor_smileys_pop = window.open("$mklib->sitepath/index.php?ind=urlobox&op=show_emoticons&shouton=1", "Smileys", "resizable=yes, scrollbars=yes, status=no, titlebar=no, width=200,height=400");
editor_smileys_pop.focus();
}
// -->
</script>
<!-- Meo extended editor -->
<form id="mk_shout_editor" name="mk_shout_editor" action="post" style="padding: 0px;">
<table width="100%" cellpadding="0" cellspacing="0" style="background: url({$mklib->images}/buttons/edit_cat.gif); padding: 0px; margin: 0px; border:solid 1px #CCCCCC;">
<tr>
<td align="left" nowrap="nowrap">
<img style="vertical-align: middle" src="{$mklib->images}/buttons/ed_bold.gif" alt="Bold" title="Bold" name="B" width="20" height="20" onclick="mk_shout_simpletag('B')" />
<img style="vertical-align: middle" src="{$mklib->images}/buttons/ed_italic.gif" alt="Italic" title="Italic" name="I" width="20" height="20" onclick="mk_shout_simpletag('I')" />
<img style="vertical-align: middle" src="{$mklib->images}/buttons/ed_underline.gif" alt="Underline" title="Underline" name="U" width="20" height="20" onclick="mk_shout_simpletag('U')" />
<img style="vertical-align: middle" src="{$mklib->images}/buttons/ed_separator.gif" width="1" height="20" border="0" alt="" />
<select name="ffont" onchange="mk_shout_alterfont(this.options[this.selectedIndex].value, 'FONT')" >
<option value="0">Font</option>
<option value="Arial" style="font-family:Arial">Arial</option>
<option value="Times" style="font-family:Times">Times</option>
<option value="Courier" style="font-family:Courier">Courier</option>
<option value="Impact" style="font-family:Impact">Impact</option>
<option value="Geneva" style="font-family:Geneva">Geneva</option>
<option value="Optima" style="font-family:Optima">Optima</option>
</select>
<select name="fsize" onchange="mk_shout_alterfont(this.options[this.selectedIndex].value, 'SIZE')" >
<option value="0">Size</option>
<option value="1">1</option>
<option value="2">2</option>
<option value="3">3</option>
<option value="4">4</option>
<option value="5">5</option>
<option value="6">6</option>
<option value="7">7</option>
</select>
<select name="fcolor" onchange="mk_shout_alterfont(this.options[this.selectedIndex].value, 'COLOR')" >
<option value="0">Color</option>
<option value="blue" style="color:blue">Blue</option>
<option value="red" style="color:red">Red</option>
<option value="purple" style="color:purple">Purple</option>
<option value="orange" style="color:orange">Orange</option>
<option value="yellow" style="color:yellow">Yellow</option>
<option value="gray" style="color:gray">Grey</option>
<option value="green" style="color:green">Green</option>
</select>
<img style="vertical-align: middle" src="{$mklib->images}/buttons/ed_smiley.gif" width="20" height="20" border="0" alt="Smilies" title="Smilies" onclick="Mk_Editor_Smileys_Pop()" />
<img style="vertical-align: middle" src="{$mklib->images}/buttons/ed_separator.gif" width="1" height="20" border="0" alt="" />
<img style="vertical-align: middle" src="{$mklib->images}/buttons/ed_closetag.gif" height="20" alt="Close all Tags" title="Close all Tags" onclick="mk_shout_closeall()" />
</td>
</tr>
</table>
</form>
<!-- End Meo extended editor -->
<table width="100%" cellspacing="0" cellpadding="0" style="background-color:#F4F4F4; border:solid 1px #CCCCCC;">
<tr>
<td style="padding-left:1px; text-align: left;">
<input type="text" style="width: 520px;" id="addshout" onkeydown="handleshoutkeys(event)" /> <input type="button" onclick="shout();" value="Shout" id="addshoutbut" /> <input type="button" onclick="reloadshoutbox();" value="Reload" />
</td>
</tr>
</table>
</div>
<script type="text/javascript">
Drag.init($("shbhandle"), $("shoutbox"));
</script>
</td>
EOF;
}
// END Changed
}
$Skin = new tpl_main;
?>