Parašė ramon· 2007 Spa. 10 20:10:39
#7
Megink si :
function opentable($title) {
echo "<table border='0' style='border: 1px solid #C5CAD4' cellspacing='1' width='100%' cellpadding='3'>";
echo "<tr><td background='".THEME."images/cellpic_sonas.gif' height='20'><font class='block-title'>$title</font></td></tr>";
echo "<tr><td class='main-body'>\n";
}
// Close table end
function closetable() {
echo "</td></tr></table>\n";
}
function openside($title) {
echo "<table border='0' style='border: 1px solid #C5CAD4' cellspacing='1' width='100%' cellpadding='3'>";
echo "<tr><td background='".THEME."images/cellpic_sonas.gif' height='20'><font class='block-title'>$title</font></td></tr>";
echo "<tr><td><font class='block-title'>$subject</font></td></tr>";
echo "</td></tr>";
echo "<tr><td class='side-body' width='100%'>";
}
function closeside() {
echo "</td></tr></table>";
tablebreak();
}
function opensidex($title,$open="on") {
if($open=="on"){$box_img="off";}else{$box_img="on";}
echo "<table border='0' style='border: 1px solid #C5CAD4' cellspacing='1' width='100%' cellpadding='3'><tr>";
echo "<tr><td background='".THEME."images/cellpic_sonas.gif' height='24'><font class='block-title'>$subject</font></td></tr>";
echo "<img align='left' vspace='2' onclick=\"javascript:flipBox('$title')\" name='b_$title' border='0' src='".THEME."images/panel_$box_img.gif'><font class='block-title'>$title</font>";
echo "</td></tr>";
echo "<tr><td class='side-body'width='100%'>";
echo "<div id='box_$title'"; if($open=="off"){ echo "style='display:none'"; } echo ">\n";
}
function closesidex() {
echo "</div></td></tr></table>";
tablebreak();
}