форум vBSupport.ru > vBulletin > Вопрос — Ответ
  • »
VBsupport перешел с домена .ORG на родной .RU Ура! Пожалуйста, обновите свои закладки - VBsupport.ru
 
 
 
 
a_aqua
На доске почёта
сам знаешь за что
 
banned nax
Default $post['field8'] в ссылке
0

Собственно, при добавлении в шаблон
Code:
<if condition="$post['field8']"><a href='http://steamcommunity.com/profiles/$post['field8']'><img src='http://steamprofile.com/steam/profile/$post['field9']/$post['field8']' border='0' /></a></if>
Выбивает ошибку. Поля существуют, валидные.
Quote:
Parse error: syntax error, unexpected T_ENCAPSED_AND_WHITESPACE, expecting T_STRING or T_VARIABLE or T_NUM_STRING in /var/www/html/gmservers.ru/forum.gmservers.ru/www/includes/adminfunctions_template.php(3950) : eval()'d code on line 76
Как исключить проверку в ссылках?

a_aqua добавил 10.11.2009 в 21:35
Но все же интересует решение данной проблемы

Last edited by a_aqua : 11-10-2009 at 10:35 PM. Reason: Добавлено сообщение
Bot
Yandex Bot Yandex Bot is online now
 
Join Date: 05.05.2005
Реклама на форуме А что у нас тут интересного? =)
 
 
GiveMeABreak
Эксперт
 
GiveMeABreak's Avatar
Default
1

PHP Code:
<if condition="$post['field8']"><a href='http://steamcommunity.com/profiles/$post[field8]'><img src='http://steamprofile.com/steam/profile/$post[field9]/$post[field8]' border='0' /></a></if> 
 
 
kerk
k0t
 
kerk's Avatar
Default
1

лучше использовать двойные кавычки
Code:
<if condition="$post[field8]"><a href="http://steamcommunity.com/profiles/$post[field8]"><img src="http://steamprofile.com/steam/profile/$post[field9]/$post[field8]" border="0" /></a></if>
 


Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is On
HTML code is Off




All times are GMT +4. The time now is 09:35 PM.


Powered by vBulletin® Version Anime Edition
Copyright ©2000 - 2025, Jelsoft Enterprises Ltd.
Loading...