Temos pavadinimas: WordPress, Shopify ir PHPFusion programuotojų bendruomenė :: Fusiono Temos Konfiguracija

Parašė exe666· 2010 Kov. 26 15:03:18
#10

emm... :D pas mane truputi durnai cia gaunasi nes va bendra theme.php paneliu struktura:

function openside($title, $collapse = false, $state = "on") {

global $panel_collapse; $panel_collapse = $collapse;

echo "<table cellpadding='0' cellspacing='0' width='100%'>\n<tr>\n"; /// navigacijos paneles tabas
echo "<td class='scapmain-left'></td>\n";
echo "<td align='center' class='scapmain'>$title</td>\n";
if ($collapse == true) {
$boxname = str_replace(" ", "", $title);
echo "<td class='scapmain' align='right'>".panelbutton($state, $boxname)."</td>\n";
}
echo "<td class='scapmain-right'></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 closeside() {
global $panel_collapse;

if ($panel_collapse == true) { echo "</div>\n"; }
echo "</td>\n</tr>\n</table>\n";
echo "<table cellspacing='0' cellpadding='0'><tr><td align='left'><img src='".THEME."images/sideb-left.png'

class='spacer' alt='' /></td>
<td align='center' class='sideb' width='100%'></td>
<td align='right'><img src='".THEME."images/sideb-right.png' class='spacer' alt='' /></td>
</tr></table>\n";

}



O cia kas su jom susije style.css faile:


.scapmain {
font-family: Aight, Verdana, Arial, Helvetica, sans-serif;
font-size: 20px;
font-weight: bold;
text-transform: uppercase;
color: #0f0f0f;
background-image: url(images/side.png);
}

.scapmain-left {
width: 50px;
height: 51px;
background-image: url(images/side-left.png);
}

.scapmain-right {
width: 24px;
height: 29px;
background-color: #323232;
background-image: url(images/side-right.png);
}
[