jack007 Posted February 23, 2013 Report Share Posted February 23, 2013 Добрый день. В чем может быть проблемма скажите. Когда юзеры онлайн, иконка отображает что он не в сети. Вот код, не могу понять что не так тут. <if test="$post['author']['_online']"><img src="{style_images_url}/post_online.png" alt="" class='post_online' data-tooltip="Online" /><else /><img src="{style_images_url}/post_offline.png" alt="" class='post_online' data-tooltip="Offline" /></if> Quote Link to comment Share on other sites More sharing options...
AUYKGN Posted February 23, 2013 Report Share Posted February 23, 2013 jack007, где именно отображает что они не онлайн хотя онлайн? Quote Link to comment Share on other sites More sharing options...
jack007 Posted February 23, 2013 Author Report Share Posted February 23, 2013 Дело в том что я этот код вытянул с какого то шаблона, уже забыл. И хотел вставить с юзеринфопейн, вот вставили такая беда Quote Link to comment Share on other sites More sharing options...
Death1 Posted February 23, 2013 Report Share Posted February 23, 2013 Поменяй название пикчей местами и будет тебе счастье же. Quote Link to comment Share on other sites More sharing options...
jack007 Posted February 23, 2013 Author Report Share Posted February 23, 2013 Поменяй название пикчей местами и будет тебе счастье же. а смысл? если оно все время показывать офлайн Quote Link to comment Share on other sites More sharing options...
andreuka Posted February 23, 2013 Report Share Posted February 23, 2013 <if test="postOnline:|:$author['_online']"> <img style="float:right;position: relative;" src="" alt="Пользователь онлайн" border="0" title="Пользователь онлайн"> <else /> <img style="float:right;position: relative;" src="" alt="Пользователь находится вне форума :(" border="0" title="Пользователь находится вне форума :("> </if> jack007 1 Quote Link to comment Share on other sites More sharing options...
jack007 Posted February 23, 2013 Author Report Share Posted February 23, 2013 Спасибо Quote Link to comment Share on other sites More sharing options...
Recommended Posts
Join the conversation
You can post now and register later. If you have an account, sign in now to post with your account.
Note: Your post will require moderator approval before it will be visible.