AnyContent.php Question AnyContent.php Question
 

News:

CPG Release 1.6.27
change DB IP storage fields to accommodate IPv6 addresses
remove use of E_STRICT (PHP 8.4 deprecated)
update README to reflect new website
align code with new .com CPG website
correct deprecation in captcha

Main Menu

AnyContent.php Question

Started by ian ditch, November 19, 2005, 12:18:18 AM

Previous topic - Next topic

0 Members and 1 Guest are viewing this topic.

ian ditch

I Use anycontent to show the album discription but on the thubnail page.

In this anycontent file  I use this script

Quotestarttable("100%", 'Just An Example');
echo '<tr><td class="tableb">';
echo bb_decode($album_desc);

    ?>
   
    <?php
    endtable();

I want to add an extra script before this which is hidden unless you view /thumbnails.php?album=99.


EG. This script is ONLY shown on /thumbnails.php?album=99


Can Anyone help me?

Nibbler


if (defined('THUMBNAILS_PHP') && $_GET['album'] == 99){
    echo 'hello';
}


Also you should use valid html.

ian ditch