Temos pavadinimas: WordPress, Shopify ir PHPFusion programuotojų bendruomenė :: pagalbos
Parašė tunex· 2007 Gru. 15 13:12:03
#1
sveiki ziurekit kas cia gali btu kaip sutvarkyt kad buna taip as imetu kokia nors panele i desine puse ir man meta err toki Parse error: syntax error, unexpected T_STRING in /usr/home/www1/ftp/Kombas/side_right.php(43) : eval()'d code on line 2 kas cia gali but va kodas to 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";
$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";
}
?>
Redagavo tunex· 2007 Gru. 15 13:12:14
Parašė Qrmiz· 2007 Gru. 15 13:12:17
#2
pabandyk įkelti kitą theme'ą ir pasakyk ar meta erorrą :)
Parašė tunex· 2007 Gru. 15 13:12:58
#3
qemiz cia tavo theme bet ir kaip pakeiciu meta :(
Parašė Qrmiz· 2007 Gru. 15 13:12:43
#4
o čia tiktai įdėjai side_right.php kodą, nes 2oj eilutėj negali būti klaidos... gal kurdamas panelę kažkokį ne tokį kodą naudoji??|
Parašė tunex· 2007 Gru. 15 13:12:40
#5
gali but bet kiek dedu paneliu visos neina :|
Parašė Qrmiz· 2007 Gru. 15 13:12:42
#6
Net neįsivaizduoju kas gali būti blogai... Pabandyk nutrinti visą tą:
/*---------------------------------------------------+
|
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
+----------------------------------------------------*/
Parašė Žmogus· 2007 Gru. 15 13:12:29
#7
Bandyk perdėti per naujo
Parašė bruzgis· 2007 Gru. 15 14:12:29
#8
PErmesk visus isskyrus config.php failus, istrink visas paneles ir ikelk jas isnaujo