function openside($title, $collapse = false, $state = "on") {
global $panel_collapse; $panel_collapse = $collapse;
echo "<table cellpadding='0' cellspacing='0' width='100%'>\n<tr>\n";
echo "<td class='scapmain'>$title</td>\n";
if ($collapse == true) {
$boxname = str_replace(" ", "", $title);
echo "<td class='scapmain' >".panelbutton($state, $boxname)."</td>\n";
}
echo "</tr>\n</table>\n";
echo "<table cellpadding='0' cellspacing='0' width='100%' '>\n<tr>\n";
echo "<td class='side-body'>\n";
if ($collapse == true) { echo panelstate($state, $boxname); }
}
function openside($title, $collapse = false, $state = "on") {
global $panel_collapse; $panel_collapse = $collapse;
echo "<table cellpadding='0' cellspacing='0' width='343' >\n<tr>\n";
echo "<td class='scapmain'>$title</td>\n";
if ($collapse == true) {
$boxname = str_replace(" ", "", $title);
echo "<td class='scapmain' >".panelbutton($state, $boxname)."</td>\n";
}
echo "</tr>\n</table>\n";
echo "<table cellpadding='0' cellspacing='0' width='343'>\n<tr>\n";
echo "<td class='panel-footer' ></td>\n";
if ($collapse == true) { echo panelstate($state, $boxname); }
}
function closeside() {
global $panel_collapse;
echo "<td class='panel-body'>\n";
if ($panel_collapse == true) { echo "</div>\n"; }
echo "</td>\n</tr>\n</table>\n";
}
Quote
Remember : the </td> tag in the above Code is used for ending the started <td> tag in openside() function.
Category Forum
Themes SupportLabels
None yet
Statistics
3 participants
Notifications
You are not receiving notifications from this thread.
Related Questions