Parašė Creatium· 2008 Geg. 16 15:05:21
#12
Atleisk, bet as tik pradedantysis dizainu kurime, taigi nereikia cia varyt :]
Nu kiek bandau beveikia. Stai visas kodas:
function openside($title) {
echo "<table width='100%' cellpadding='0' cellspacing='0' class='border'>
<tr>
<td>
<table width='100%' cellpadding='0' cellspacing='0'>
<tr>";
$data = dbarray(dbquery("SELECT * FROM ".$db_prefix."panels"));
if($data['panel_side'] = 1) {
echo "<div class='box' id='box_right'><div class='group'>$title</td>";
} elseif($data['panel_side'] = 4) {
echo "<div class='box' id='box_left'><div class='group'>$title</td>";
}
echo "
</tr>
<tr>
<td class='side-body'>\n";
}
Redagavo Creatium· 2008 Geg. 16 15:05:13