Temos pavadinimas: WordPress, Shopify ir PHPFusion programuotojų bendruomenė :: [Expert klausimas] Panelių išdėstymas

Parašė bruzgis· 2009 Vas. 2 19:02:09
#32

kam det.. parases esu...

nesuprantu as taves...

is side_left.php istrauki

// Display left side panels
$p_res = dbquery("SELECT * FROM ".$db_prefix."panels WHERE panel_side='1' AND panel_status='1' ORDER BY panel_order");
if (dbrows($p_res) != 0) {
$pc = 0;
while ($p_data = dbarray($p_res)) {
if (checkgroup($p_data['panel_access'])) {
if ($pc == 0) echo "<td width='$theme_width_l' valign='top' class='side-border-left'>\n";
if ($p_data['panel_type'] == "file") {
$panel_name = $p_data['panel_filename'];
include INFUSIONS.$panel_name."/".$panel_name.".php";
} else {
eval(stripslashes($p_data['panel_content']));
}
$pc++;
}
}
if ($pc > 0) echo "</td>\n";


tada ji ikisi i side_right.php
po sita eilute:

echo "</td>\n";