Parse error: syntax error, unexpected T_DEC, expecting T_STRING or T_VARIABLE or '$' in /home/user273/data/www/hhnation.kg/sources/classes/class_display.php on line 601
Находясь на нашем сайте, вы соглашаетесь на использование файлов cookie, а также с нашим положением о конфиденциальности Политика конфиденциальности и пользовательским соглашением Условия использования.
Вопрос
Kaj Niyazaliev
Помогите с проблемой, форум упал во время проведения хип-хоп мероприятия.
http://hhnation.kg/index.php?act=idx
Вот такую ошибку выдает:
Parse error: syntax error, unexpected T_DEC, expecting T_STRING or T_VARIABLE or '$' in /home/user273/data/www/hhnation.kg/sources/classes/class_display.php on line 601
вот line:
{ $this->_check_debug(); //----------------------------------------- // CSS //----------------------------------------- $css = $this->_get_css(); //----------------------------------------- // Get template //----------------------------------------- $html = $this->ipsclass->compiled_templates['skin_global']->pop_up_window($title, $css, $text); //----------------------------------------- // Get and parse macros //----------------------------------------- $this->_unpack_macros(); foreach( $this->ipsclass->skin['_macros'] as $row ) { if ( $row['macro_value'] != "" ) { $html = str_replace( "<{".$row['macro_value']."}>", $row['macro_replace'], $html ); } } $html = str_replace( "<% CHARSET %>" , $this->ipsclass->vars['gb_char_set'], $html ); $html = str_replace( "<#IMG_DIR#>" , $this->ipsclass->skin['_imagedir'] , $html ); $html = str_replace( "<#EMO_DIR#>" , $this->ipsclass->skin['_emodir'] , $html ); $html = str_replace( '<{__body_extra__}>', '', $html ); //----------------------------------------- // Images on another server? uncomment and alter below //----------------------------------------- if ( $this->ipsclass->vars['ipb_img_url'] ) { $html = preg_replace( "#img\s+?src=[\"']style_(images|avatars|emoticons)(.+?)[\"'](.+?)?".">#is", "img src=\"".$this->ipsclass->vars['ipb_img_url']."style_\\1\\2\"\\3>", $html ); } //----------------------------------------- // Stop one from removing cookie protection //----------------------------------------- $html = preg_replace( "#htmldocument\.prototype#is", "HTMLDocument_prototype", $html ); $this->_finish(); echo ($html); exit; }Ссылка на комментарий
Поделиться на других сайтах
0 ответов на этот вопрос
Рекомендуемые сообщения
Присоединиться к обсуждению
Вы можете ответить сейчас, а зарегистрироваться позже. Если у вас уже есть аккаунт, войдите, чтобы ответить от своего имени.