AnyContent.php Question AnyContent.php Question
 

News:

cpg1.5.48 Security release - upgrade mandatory!
The Coppermine development team is releasing a security update for Coppermine in order to counter a recently discovered vulnerability. It is important that all users who run version cpg1.5.46 or older update to this latest version as soon as possible.
[more]

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