Parašė p0ker· 2009 Bal. 25 23:04:00
#1
Sveiki. Man reikia, kad dešiniosios pusės panelės būtų platesnės nei kairiosios. Radau čia esantį straipsnį ir pabandžiau, bet nieko neišėjo. Gal galite pagelbėti? Va theme.php nuo openside:
function openside($title) {
echo "<table width='100%' cellpadding='0' cellspacing='0'><tr>";
echo "<td class='border-tleft'><img src='".THEME."images/blank.gif' width='25' height='25' alt='' style='display:block'></td>";
echo "<td width='100%' class='border-tmain'>$title</td>";
echo "<td class='border-tright'><img src='".THEME."images/blank.gif' width='25' height='25' alt='' style='display:block'></td>";
echo "</tr></table>";
echo "<table width='100%' cellpadding='0' cellspacing='0'><tr>";
echo "<td class='border-left'><img src='".THEME."images/blank.gif' width='25' height='1' alt='' style='display:block'></td>";
echo "<td class='side-body'>\n";
}
function closeside() {
echo "</td>";
echo "<td class='border-right'><img src='".THEME."images/blank.gif' width='13' height='1' alt='' style='display:block'></td></tr>";
echo "<tr>";
echo "<td class='border-bleft'><img src='".THEME."images/blank.gif' width='13' height='20' alt='' style='display:block'></td>";
echo "<td class='border-bmain'><img src='".THEME."images/blank.gif' width='1' height='20' alt='' style='display:block'></td>";
echo "<td class='border-bright'><img src='".THEME."images/blank.gif' width='13' height='20' alt='' style='display:block'></td>";
echo "</tr><tr height='11px'></tr></table>\n";
}
function opensidex($title,$open="on") {
$boxname = str_replace(" ", "", $title);
$box_img = $open == "on" ? "off" : "on";
echo "<table width='100%' cellpadding='0' cellspacing='0'><tr>";
echo "<td class='border-tleft'><img src='".THEME."images/blank.gif' width='25' height='25' alt='' style='display:block'></td>";
echo "<td class='border-tmain'>$title</td>";
echo "<td align='right' class='border-tmain'><img src='".THEME."images/panel_$box_img.gif' name='b_$boxname' align='right' alt='' onclick=\"javascript:flipBox('$boxname')\"></td>";
echo "<td class='border-tright'><img src='".THEME."images/blank.gif' width='25' height='25' alt='' style='display:block'></td>";
echo "</tr></table>";
echo "<table width='100%' cellpadding='0' cellspacing='0'><tr>";
echo "<td class='border-left'><img src='".THEME."images/blank.gif' width='25' height='1' alt='' style='display:block'></td>";
echo "<td class='side-body'>";
echo "<div id='box_$boxname'".($open=="off" ? "style='display:none'" : "").">\n";
}
function closesidex() {
echo "</div>";
echo "<td class='border-right'><img src='".THEME."images/blank.gif' width='13' height='1' alt='' style='display:block'></td></tr>";
echo "<tr>";
echo "<td class='border-bleft'><img src='".THEME."images/blank.gif' width='13' height='20' alt='' style='display:block'></td>";
echo "<td class='border-bmain'><img src='".THEME."images/blank.gif' width='1' height='20' alt='' style='display:block'></td>";
echo "<td class='border-bright'><img src='".THEME."images/blank.gif' width='13' height='20' alt='' style='display:block'></td>";
echo "</tr><tr height='11px'></tr></table>\n";
}
Parašė p0ker· 2009 Bal. 26 12:04:36
#4
Va prisegu theme.php failą:
Redagavo p0ker· 2009 Bal. 26 12:04:41
Parašė dyaz· 2009 Bal. 26 21:04:27
#7
// theme settings
$body_text = "#555555";
$body_bg = "#202020";
$theme_width = "950";
$theme_width_l = "190";
$theme_width_r = "190";