Bravo List

Bravo List (http://www.bvlist.com/index.php)
-   Mods & Themes (http://www.bvlist.com/forumdisplay.php?f=97)
-   -   Hide/Show (http://www.bvlist.com/showthread.php?t=9769)

Tmx 11th February 2014 01:40

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 :)


All times are GMT +2. The time now is 12:11.

Powered by vBulletin® Version 3.8.11 Beta 3
Copyright ©2000 - 2024, vBulletin Solutions Inc.