Temos pavadinimas: WordPress, Shopify ir PHPFusion programuotojų bendruomenė :: Theme sutraukimas
Parašė Tadziokaz· 2008 Lap. 16 16:11:00
#1
taigi noriu padaryti sita theme (pirma foto) padaryti kaip antra (antra foto), na sutraukti. paneles susiaurinti, tiek desne, tiek kaire, tiek virsutine, apatine. nes dabar labai issiplėtę.
pirma foto:
antra foto:
beto kodel man per ftp neina ikelti didelio tūrio failų. Kelia kelia ir numeta i failed transfers kategoriją.
Redagavo Tadziokaz· 2008 Lap. 16 16:11:15
Parašė -· 2008 Lap. 16 16:11:09
#2
Tai theme
php faile turi but tokios panasios eilutes
$body_text = "#000000";
$body_bg = "#ffffff";
$theme_width = "822"; ce temos ilgis visos
$theme_width_l = "180"; ce paneliu ce left paneles
$theme_width_r = "180"; o ce ringht paneles
mazinkis pagal savo poreikius
Parašė Tadziokaz· 2008 Lap. 16 16:11:53
#3
didelis :) dekui :) gal kas galit atsakyti i apacioj esanti teksta?
Parašė -· 2008 Lap. 16 16:11:41
#4
o del to gali but kad ftp vietos mazai koki hosta naudoji ?
Parašė Tadziokaz· 2008 Lap. 16 16:11:38
#5
GreenVidio parašė:
Tai theme php faile turi but tokios panasios eilutes
$body_text = "#000000";
$body_bg = "#ffffff";
$theme_width = "822"; ce temos ilgis visos
$theme_width_l = "180"; ce paneliu ce left paneles
$theme_width_r = "180"; o ce ringht paneles
mazinkis pagal savo poreikius
zinok nera tavo teksto.
čia v7 theme.php turinys
<?php
if (!defined("IN_FUSION")) { die("Access Denied"); }
define("THEME_BULLET", "<span class='bullet'>·</span>");
require_once INCLUDES."theme_functions_include.php";
function render_page($license=false) {
global $settings, $main_style, $locale;
//Header
echo "<table cellpadding='0' cellspacing='0' width='100%'>\n<tr>\n";
echo "<td class='full-header'>\n".showbanners()."</td>\n";
echo "</tr>\n</table>\n";
echo "<table cellpadding='0' cellspacing='0' width='100%'>\n<tr>\n";
echo "<td class='sub-header-left'></td>\n";
echo "<td class='sub-header'>".showsublinks(" ".THEME_BULLET." ", "white")."</td>\n";
echo "<td align='right' class='sub-header'>".showsubdate()."</td>\n";
echo "<td class='sub-header-right'></td>\n";
echo "</tr>\n</table>\n";
//Content
echo "<table cellpadding='0' cellspacing='0' width='100%' class='$main_style'>\n<tr>\n";
if (LEFT) { echo "<td class='side-border-left' valign='top'>".LEFT."</td>"; }
echo "<td class='main-bg' valign='top'>".U_CENTER.CONTENT.L_CENTER."</td>";
if (RIGHT) { echo "<td class='side-border-right' valign='top'>".RIGHT."</td>"; }
echo "</tr>\n</table>\n";
//Footer
echo "<table cellpadding='0' cellspacing='0' width='100%'>\n<tr>\n";
echo "<td class='sub-header-left'></td>\n";
echo "<td align='left' class='sub-header'>".sprintf($locale['global_172'], substr((get_microtime() - START_TIME),0,4))."</td>\n";
echo "<td align='right' class='sub-header'>".showcounter()."</td>\n";
echo "<td class='sub-header-right'></td>\n";
echo "</tr>\n</table>\n";
echo "<table cellpadding='0' cellspacing='0' width='100%'>\n<tr>\n";
echo "<td align='center' class='main-footer'>".stripslashes($settings['footer']);
if (!$license) { echo "<br /><br />\n".showcopyright(); }
echo "</td>\n";
echo "</tr>\n</table>\n";
}
function render_news($subject, $news, $info) {
echo "<table cellpadding='0' cellspacing='0' width='100%'>\n<tr>\n";
echo "<td class='capmain-left'></td>\n";
echo "<td class='capmain'>".$subject."</td>\n";
echo "<td class='capmain-right'></td>\n";
echo "</tr>\n</table>\n";
echo "<table width='100%' cellpadding='0' cellspacing='0' class='spacer'>\n<tr>\n";
echo "<td class='main-body middle-border'>".$news."</td>\n";
echo "</tr>\n<tr>\n";
echo "<td align='center' class='news-footer middle-border'>\n";
echo newsposter($info," ·").newsopts($info,"·").itemoptions("N",$info['news_id']);
echo "</td>\n";
echo "</tr><tr>\n";
echo "<td style='height:5px;background-color:#f6a504;'></td>\n";
echo "</tr>\n</table>\n";
}
function render_article($subject, $article, $info) {
echo "<table width='100%' cellpadding='0' cellspacing='0'>\n<tr>\n";
echo "<td class='capmain-left'></td>\n";
echo "<td class='capmain'>".$subject."</td>\n";
echo "<td class='capmain-right'></td>\n";
echo "</tr>\n</table>\n";
echo "<table width='100%' cellpadding='0' cellspacing='0' class='spacer'>\n<tr>\n";
echo "<td class='main-body middle-border'>".($info['article_breaks'] == "y" ? nl2br($article) : $article)."</td>\n";
echo "</tr>\n<tr>\n";
echo "<td align='center' class='news-footer'>\n";
echo articleposter($info," ·").articleopts($info,"·").itemoptions("A",$info['article_id']);
echo "</td>\n</tr>\n</table>\n";
}
function opentable($title) {
echo "<table cellpadding='0' cellspacing='0' width='100%'>\n<tr>\n";
echo "<td class='capmain-left'></td>\n";
echo "<td class='capmain'>".$title."</td>\n";
echo "<td class='capmain-right'></td>\n";
echo "</tr>\n</table>\n";
echo "<table cellpadding='0' cellspacing='0' width='100%' class='spacer'>\n<tr>\n";
echo "<td class='main-body'>\n";
}
function closetable() {
echo "</td>\n";
echo "</tr><tr>\n";
echo "<td style='height:5px;background-color:#f6a504;'></td>\n";
echo "</tr>\n</table>\n";
}
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-left'></td>\n";
echo "<td 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%' class='spacer'>\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";
}
?>
GreenVidio parašė:
o del to gali but kad ftp vietos mazai koki hosta naudoji ?
pilna, visas 1gb. naudoju
www.tinklalapis.net
Redagavo Tadziokaz· 2008 Lap. 16 16:11:06
Parašė -· 2008 Lap. 16 16:11:11
#6
su v7 nesu siusidures tai nlb ka zinau nors gal va kai buna pwz
//Header
echo "<table cellpadding='0' cellspacing='0' width='
100%'>\n<tr>\n";
Bandyk situs pasikoreguot
Redagavo -· 2008 Lap. 16 16:11:08
Parašė Tadziokaz· 2008 Lap. 16 16:11:06
#7
zinok keiciau nieko :)