AnyContent.php Question AnyContent.php Question
 

News:

CPG Release 1.6.28
added submissions from {406man}
cleaned up a few PHP (8.4) deprecations
fixed PHP deprecation in calendar
removed security vulnerability
(please upgrade when possible)

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