Temos pavadinimas: WordPress, Shopify ir PHPFusion programuotojų bendruomenė :: Side_left
Parašė Mr NBA· 2008 Rugs. 18 16:09:04
#1
Sveiki labai norėčiau, kad man padėtumėt va screen ko noriu :
Parašė MAnjack· 2008 Rugs. 18 16:09:54
#2
Permaža foto, bet šiaip reikia sukoduot bišky kitaip fusioną, kad taip atrodytų.
Parašė Pongis· 2008 Rugs. 18 16:09:06
#3
side_right.php visuos failuose reiks includinti po side_left.php :)
Parašė Mr NBA· 2008 Rugs. 18 16:09:07
#4
To MAnjack: paspausk ant foto ir bus didelė
To Pongis: tai ką reikės visur kiesti?
Parašė Žmogus· 2008 Rugs. 18 16:09:04
#5
Mr NBA parašė:
To MAnjack: paspausk ant foto ir bus didelė
To Pongis: tai ką reikės visur kiesti?
Yeah
Parašė Mr NBA· 2008 Rugs. 18 16:09:46
#6
Tai sunku tada labai :D
Parašė bruzgis· 2008 Rugs. 18 16:09:35
#7
o tai sunku... is apacios nutrint
require_once BASEDIR."side_right.php";
ir ikist po
require_once BASEDIR."side_left.php";
MAnjack parašė:
Permaža foto, bet šiaip reikia sukoduot bišky kitaip fusioną, kad taip atrodytų.
Kur tavo phpfusion zinios dinngo? nes nepirmas postas kaip pievas sneki :)
Cia tik klausimas, o ne izeidimas :)
Redagavo bruzgis· 2008 Rugs. 18 16:09:32
Parašė Mr NBA· 2008 Rugs. 18 16:09:27
#8
O čia keisti tik pagrindiniuose failuose? ten direktorijose nk nekesiti?
Parašė Mr NBA· 2008 Rugs. 18 16:09:44
#9
Edit_profile.php pakeičiau ir ten kai paspaudžiu jis į apačią nusitūmęs, ar tuos failsu reikai ekisti kur register.php ar kitus?
Parašė MAnjack· 2008 Rugs. 18 16:09:35
#10
chipass parašė:
Kur tavo phpfusion zinios dinngo? nes nepirmas postas kaip pievas sneki :)
Cia tik klausimas, o ne izeidimas :)
:D Tokį atsakymą turėjau galvoj kaip tavo, bet persudėtingai parašiau :D
Parašė frix· 2008 Rugs. 18 17:09:27
#11
Didelis BET! Pakeitus require_once BASEDIR."side_left.php"; poziciją, kartu pasikeis ir visa puslapio
HTML struktūra. Tai dar reikės pasėdėti ir pire
HTML tagų, kad išgautum ko nori.
Parašė bruzgis· 2008 Rugs. 18 17:09:19
#12
side_right:
<?php
/*---------------------------------------------------+
| PHP-Fusion 6 Content Management System
+----------------------------------------------------+
| Copyright © 2002 - 2006 Nick Jones
| http://www.php-fusion.co.uk/
+----------------------------------------------------+
| Released under the terms & conditions of v2 of the
| GNU General Public License. For details refer to
| the included gpl.txt file or visit http://gnu.org
+----------------------------------------------------*/
if (!defined("IN_FUSION")) { header("Location: index.php"); exit; }
$p_res = dbquery("SELECT * FROM ".$db_prefix."panels WHERE panel_side='3' AND panel_status='1' ORDER BY panel_order");
if (dbrows($p_res) != 0) {
while ($p_data = dbarray($p_res)) {
if (checkgroup($p_data['panel_access'])) {
if ($p_data['panel_display'] == 1 || eregi($settings['opening_page']."$", FUSION_REQUEST.(FUSION_QUERY ? "?".FUSION_QUERY : ""))) {
tablebreak();
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']));
}
}
}
}
}
echo "</td>\n";
?>
Side left:
<?php
/*---------------------------------------------------+
| PHP-Fusion 6 Content Management System
+----------------------------------------------------+
| Copyright © 2002 - 2006 Nick Jones
| http://www.php-fusion.co.uk/
+----------------------------------------------------+
| Released under the terms & conditions of v2 of the
| GNU General Public License. For details refer to
| the included gpl.txt file or visit http://gnu.org
+----------------------------------------------------*/
if (!defined("IN_FUSION")) { header("Location: index.php"); exit; }
// 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";
}
$p_res = dbquery("SELECT * FROM ".$db_prefix."panels WHERE panel_side='4' 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_r' valign='top' class='side-border-right'>\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";
}
echo "<td valign='top' class='main-bg'>\n";
if (file_exists(BASEDIR."setup.php")) echo "<center>".$locale['198']."</center><br>";
$p_res = dbquery("SELECT * FROM ".$db_prefix."panels WHERE panel_side='2' AND panel_status='1' ORDER BY panel_order");
if (dbrows($p_res) != 0) {
while ($p_data = dbarray($p_res)) {
if (checkgroup($p_data['panel_access'])) {
if ($p_data['panel_display'] == 1 || eregi($settings['opening_page']."$", FUSION_REQUEST.(FUSION_QUERY ? "?".FUSION_QUERY : ""))) {
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']));
}
tablebreak();
}
}
}
}
?>
situs du failus uztenka pakoreguot, kad viskas pasikeistu :)
Beje cia jau paredaguoti, netestavau tai nzn ar veiks...
isbandziau, veikia kuo puikiausiai...
galit paziuret patys, kas netikit
www.kroax.failai.lt
Redagavo bruzgis· 2008 Rugs. 18 18:09:36
Parašė Žmogus· 2008 Rugs. 18 18:09:06
#13
Mldc, įdėk į straipsnius daugeliui pravers ;)
Parašė MAnjack· 2008 Rugs. 18 19:09:28
#14
O centrinė panelė veikia?
Parašė bruzgis· 2008 Rugs. 18 19:09:03
#15
veikia, sukeiciant side right vieta tada apatine centrine ne vietoj butu :)