baronas
Narys
Patrankų mėsa
Pranešimai: 5
Įstojęs: 2008 Gru. 18 15:12:37
|
Sveiki visi,
Man reik pagalbos bandziau tobulinti saita ir panelese erroras!!!
Jis atrodo stai taip:
Parse error: syntax error, unexpected ';' in /home/csvipas/domains/cs-vipas.lt/public_html/themes/templates/panels.php(48) : eval()'d code on line 1
Labai reikia pagalbos 
|
webzlt
Narys
Kapitonas

Pranešimai: 706
Įstojęs: 2010 Sau. 13 12:01:58
|
stai tau pagalba - tau ismete erora tau ji reikia panaikinti 
www.smilez360.com
www.thevideowars.com
www.pigiau.biz |
Velxom
Narys
Spalvotas
Pranešimai: 40
Įstojęs: 2010 Sau. 29 11:01:39
|
line 1 viska paaiskina pirmoj eilutei eroras. neaisq kaip is atrodo gal nerikalingas Echo ar ] [ } { idek koda pasakysiu kas blogai.
Mokinuosi photoshop ;] |
baronas
Narys
Patrankų mėsa
Pranešimai: 5
Įstojęs: 2008 Gru. 18 15:12:37
|
Tas kodas Defaultinis!
<?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; }
// Calculate current true url
$script_url = explode("/", $_SERVER['PHP_SELF'].(FUSION_QUERY ? "?".FUSION_QUERY : ""));
$url_count = count($script_url);
$base_url_count = substr_count(BASEDIR, "/") + 1;
$start_page = "";
while ($base_url_count != 0) {
$current = $url_count - $base_url_count;
$start_page .= "/".$script_url[$current];
$base_url_count--;
}
define("START_PAGE", substr(preg_replace("#(&|\?)(s_action=edit&shout_id=)([0-9]+)#s", "", $start_page), 1));
// Side & center panels
ob_start();
$plc = 0;
// 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++;
}
}
}
}
|
baronas
Narys
Patrankų mėsa
Pranešimai: 5
Įstojęs: 2008 Gru. 18 15:12:37
|
Padekit tikrai labai reikia 
|
Velxom
Narys
Spalvotas
Pranešimai: 40
Įstojęs: 2010 Sau. 29 11:01:39
|
pabandyk be tarpo.
<?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"merkia aki) { header("Location: ../../index.php"merkia aki; exit; }
// Calculate current true url
$script_url = explode("/", $_SERVER['PHP_SELF'].(FUSION_QUERY ? "?".FUSION_QUERY : ""merkia aki);
$url_count = count($script_url);
$base_url_count = substr_count(BASEDIR, "/"merkia aki + 1;
$start_page = "";
while ($base_url_count != 0) {
$current = $url_count - $base_url_count;
$start_page .= "/".$script_url[$current];
$base_url_count--;
}
define("START_PAGE", substr(preg_replace("#(&|\?)(s_action=edit&shout_id=)([0-9]+)#s", "", $start_page), 1));
// Side & center panels
ob_start();
$plc = 0;
// Render left panels
if(!defined("ADMIN_PANEL"merkia aki){
if (check_panel_status("left"merkia aki) {
$p_res = dbquery("SELECT * FROM ".DB_PANELS." WHERE panel_side='1' AND panel_status='1' ORDER BY panel_order"merkia aki;
if (dbrows($p_res)) {
while ($p_data = dbarray($p_res)) {
if (checkgroup($p_data['panel_access'])) {
if ($p_data['panel_type'] == "file"merkia aki {
$panel_name = $p_data['panel_filename'];
include INFUSIONS.$panel_name."/".$panel_name.".php";
} else {
eval(stripslashes($p_data['panel_content']));
}
$plc++;
}
}
}
}
Mokinuosi photoshop ;] |
baronas
Narys
Patrankų mėsa
Pranešimai: 5
Įstojęs: 2008 Gru. 18 15:12:37
|
Taspats 
Padekit labai reikia zmones
|
Apocal
Narys
Terminatorius

Pranešimai: 1481
Įstojęs: 2007 Gru. 2 01:12:19
|
Kaip dedi kodą, pirma būk toks malonus ir išjunk smailus.
www.Skanumas.lt - Receptai, Kulinarija, konditerija
www.syntax.lt |
Pakartoti slaptažodį
Moderatorius
Viršesnis už Dievą

Pranešimai: 5188
Įstojęs: 2008 Rugp. 6 22:08:39
|
Pasakyk geriau ką čia tobulinai arba ką norėjai padaryti..
|
baronas
Narys
Patrankų mėsa
Pranešimai: 5
Įstojęs: 2008 Gru. 18 15:12:37
|
Bandziau tobulinti pagal si straipsni: https://webdnd.com/saito-nasumo-...ki-240,s32
bet ten net nesusije su panels.php failu 
|
webzlt
Narys
Kapitonas

Pranešimai: 706
Įstojęs: 2010 Sau. 13 12:01:58
|
tas straipsnis jau seniena ir nieko neveikia 
www.smilez360.com
www.thevideowars.com
www.pigiau.biz |