Można tak:
function opentable($title) {
<div class='lbg'><div class='rbg'>
<div class='tbg'><div class='bbg'>
<div class='ctl'><div class='cbl'><div class='ctr'><div class='cbr'>
<div class='panelbody'>".(!empty($title) ?
"<h2 class='panelcap'>$title</h2>" : "")."\n";
}
function closetable() {
</div></div></div></div></div></div></div></div>\n";
}
.lbg {background: url(images/lbg.png) repeat-y left;}
.rbg {background: url(images/rbg.png) repeat-y right;}
.tbg {background: url(images/tbg.png) repeat-x top;}
.bbg {background: url(images/bbg.png) repeat-x bottom;}
.ctl {background: url(images/ctl.png) no-repeat top left;}
.cbl {background: url(images/cbl.png) no-repeat bottom left;}
.ctr {background: url(images/ctr.png) no-repeat top right;}
.cbr {
background: url(images/cbr.png) no-repeat bottom right;
height: 1%;
padding: 0.95em 0.95em;
}
czyli tak, jak to jest w PHP-Fusion...