Bravo List
Register
Go Back   > Bravo List > Source Code > Archived Trackers > Yuna Scatari Edition (YSE) > Mods & Themes
Reply
  #1  
Old 11th February 2014, 01:40
Tmx Tmx is offline
Member
 
Join Date: Dec 2009
Latvia
Posts: 11
Default Hide/Show
Hi

I want to get at details.php when it showing a certain category of torrents poster and description, but the rest of the torrents not showing poster and description.

code looks like this around

Code:
if ($row["cat_name"] == "Movies/XviD"){
				if (!empty($row['poster'])) {
				tr($tracker_lang['img_poster'], $poster, 1);
				}
				
                                if (!empty($row["descr"])) {
					tr($tracker_lang['description'], format_comment($row["descr"]), 1, 1);
					}
				}
its working and shows posters and description in details

But i want if it works for more of categories some think like this

Code:
if ($row["cat_name"] == "Movies/XviD") && ($row["cat_name"] == "Music"){
				if (!empty($row['poster'])) {
				tr($tracker_lang['img_poster'], $poster, 1);
				}
				
                if (!empty($row["descr"])) {
					tr($tracker_lang['description'], format_comment($row["descr"]), 1, 1);
					}
                                }
but this second code not working for me and i dont understand why it not works this code example.

What is that I am doing wrong?

Help please :)
Reply With Quote
Reply

Tags
hide or show

Thread Tools

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

Forum Jump



All times are GMT +2. The time now is 23:17. vBulletin skin by ForumMonkeys. Powered by vBulletin® Version 3.8.11 Beta 3
Copyright ©2000 - 2024, vBulletin Solutions Inc.