PHPFusion - tai laisvai platinama nemokama turinio valdymo sistema (TVS), kurios pagalba galite greitai, lengvai ir
patogiai susikurti norimą internetinį puslapį. Plačiau apie sistemą...
Jaunelis 2024 Lie. 25 11:07:43 Oho vis dar veikia svetainė Šimtas metų, matau Šaukykloje nuostalgija. Smagu panaršyt po forumą ir pažiūrėt senas temas
And2s 2024 Lie. 17 19:07:04 2008 pirmą kart čia patekau, man buvo 10m ir čia pramokau programavimo.. smagu skaityti senas žinutes, tokia nostalgija ačiū Ozz kad saugoji šitą kultūrinį reliktą
ozzWANTED 2024 Sau. 17 01:01:00 Desperatiškus komentarus šaukykloje su accountu po mėnesio prasibuvimo, ištryniau. Pasaulis ir taip juodas. Įjungiam šviesą, prašviesės.
Majakas 2023 Gru. 10 19:12:39 Negaliu patikėti jog žinutės/pranešimai visi yra nuo 2008 m
Kaip butu galima padaryti kad visos sonines paneles butu vienoj pusej ant fusion 7 versijos.
Stai panels.php failas:
<?php
/*-------------------------------------------------------+
| PHP-Fusion Content Management System
| Copyright (C) 2002 - 2008 Nick Jones
| http://www.php-fusion.co.uk/
+--------------------------------------------------------+
| Filename: panels.php
| Author: Nick Jones (Digitanium)
+--------------------------------------------------------+
| This program is released as free software under the
| Affero GPL license. You can redistribute it and/or
| modify it under the terms of this license which you
| can read by viewing the included agpl.txt or online
| at www.gnu.org/licenses/agpl.html. Removal of this
| copyright header is strictly prohibited without
| written permission from the original author(s).
+--------------------------------------------------------*/
if (!defined("IN_FUSION")) { header("Location: ../../index.php"); exit; }
// Render left panels
if(!defined("ADMIN_PANEL")){
if (check_panel_status("left")) {
$p_res = dbquery("SELECT * FROM ".DB_PANELS." WHERE panel_side='1' AND panel_status='1' ORDER BY panel_order");
if (dbrows($p_res)) {
while ($p_data = dbarray($p_res)) {
if (checkgroup($p_data['panel_access'])) {
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']));
}
$plc++;
}
}
}
}
}else{
require_once ADMIN."navigation.php";
}
// Render right panels
$prc = 0;
ob_start();
if(!defined("ADMIN_PANEL")){
if (check_panel_status("right")) {
$p_res = dbquery("SELECT * FROM ".DB_PANELS." WHERE panel_side='4' AND panel_status='1' ORDER BY panel_order");
if (dbrows($p_res)) {
while ($p_data = dbarray($p_res)) {
if (checkgroup($p_data['panel_access'])) {
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']));
}
$prc++;
}
}
}
}
}
define("RIGHT", ob_get_contents());
ob_end_clean();
Kam cia tas panels.php juk geriausiai aini i administracijos panele-->sistemos administravimas-->paneles ir padarai perkeli visas paneles i viena pasue ir viskas centrines gali pakeisti taip pat kad butu tik kaireje arba desnej Uždarbis internete: https://uzdarbisinternete.lt
XruN parašė:
Tu sakik ka konkreciai nori adaryti nes as nelabai suprantu
Jis nori kad abi panelės kurios dabar yra kairėj ir dešinėj kad jos būtų vienoj pusėj ponel? Ginčas internete - kaip silpnapročių olimpiada, jei ir laimėsi - vistiek tu debilas.
<?php
/*-------------------------------------------------------+
| PHP-Fusion Content Management System
| Copyright (C) 2002 - 2008 Nick Jones
| http://www.php-fusion.co.uk/
+--------------------------------------------------------+
| Filename: panels.php
| Author: Nick Jones (Digitanium)
+--------------------------------------------------------+
| This program is released as free software under the
| Affero GPL license. You can redistribute it and/or
| modify it under the terms of this license which you
| can read by viewing the included agpl.txt or online
| at www.gnu.org/licenses/agpl.html. Removal of this
| copyright header is strictly prohibited without
| written permission from the original author(s).
+--------------------------------------------------------*/
if (!defined("IN_FUSION")) { header("Location: ../../index.php"); exit; }
// Render left panels
if(!defined("ADMIN_PANEL")){
if (check_panel_status("right")) {
$p_res = dbquery("SELECT * FROM ".DB_PANELS." WHERE panel_side='1' AND panel_status='1' ORDER BY panel_order");
if (dbrows($p_res)) {
while ($p_data = dbarray($p_res)) {
if (checkgroup($p_data['panel_access'])) {
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']));
}
$plc++;
}
}
}
}
}else{
require_once ADMIN."navigation.php";
}
// Render right panels
$prc = 0;
ob_start();
if(!defined("ADMIN_PANEL")){
if (check_panel_status("right")) {
$p_res = dbquery("SELECT * FROM ".DB_PANELS." WHERE panel_side='4' AND panel_status='1' ORDER BY panel_order");
if (dbrows($p_res)) {
while ($p_data = dbarray($p_res)) {
if (checkgroup($p_data['panel_access'])) {
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']));
}
$prc++;
}
}
}
}
}
define("RIGHT", ob_get_contents());
ob_end_clean();
Nea Kas nesuprato pabandysiu paaiskint. Noriu kad tiek kaires puses paneles tiek desines puses paneles rodytu pvz desinej pusej. Pavyzdys: p/h/p-fusion.lt (Riomo saitas.. nu jmj negaliu adreso yrasyt... vis www.mes me mes. ozzai gadini reikala) MMOG.lt - atrask naują pasaulį
<?php
/*-------------------------------------------------------+
| PHP-Fusion Content Management System
| Copyright (C) 2002 - 2008 Nick Jones
| http://www.php-fusion.co.uk/
+--------------------------------------------------------+
| Filename: panels.php
| Author: Nick Jones (Digitanium)
+--------------------------------------------------------+
| This program is released as free software under the
| Affero GPL license. You can redistribute it and/or
| modify it under the terms of this license which you
| can read by viewing the included agpl.txt or online
| at www.gnu.org/licenses/agpl.html. Removal of this
| copyright header is strictly prohibited without
| written permission from the original author(s).
+--------------------------------------------------------*/
if (!defined("IN_FUSION")) { header("Location: ../../index.php"); exit; }
// Render left panels
?><taašr><td><?
if(!defined("ADMIN_PANEL")){
if (check_panel_status("left")) {
$p_res = dbquery("SELECT * FROM ".DB_PANELS." WHERE panel_side='1' AND panel_status='1' ORDER BY panel_order");
if (dbrows($p_res)) {
while ($p_data = dbarray($p_res)) {
if (checkgroup($p_data['panel_access'])) {
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']));
}
$plc++;
}
}
}
}
}else{
require_once ADMIN."navigation.php";
}
?></td><td><?
if(!defined("ADMIN_PANEL")){
if (check_panel_status("lower")) {
$p_res = dbquery("SELECT * FROM ".DB_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 || $settings['opening_page'] == START_PAGE) {
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']));
}
}
}
}
}
}
}
?></td></tr></table><?
// Render right panels
$prc = 0;
ob_start();
if(!defined("ADMIN_PANEL")){
if (check_panel_status("right")) {
$p_res = dbquery("SELECT * FROM ".DB_PANELS." WHERE panel_side='4' AND panel_status='1' ORDER BY panel_order");
if (dbrows($p_res)) {
while ($p_data = dbarray($p_res)) {
if (checkgroup($p_data['panel_access'])) {
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']));
}
$prc++;
}
}
}
}
}
define("RIGHT", ob_get_contents());
ob_end_clean();