Advanced search  

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]

Pages: [1]   Go Down

Author Topic: AnyContent.php Question  (Read 3409 times)

0 Members and 1 Guest are viewing this topic.

ian ditch

  • Coppermine novice
  • *
  • Offline Offline
  • Posts: 49
AnyContent.php Question
« on: November 19, 2005, 12:18:18 am »

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

In this anycontent file  I use this script

Quote
starttable("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?
« Last Edit: November 19, 2005, 05:06:46 pm by Nibbler »
Logged

Nibbler

  • Guest
Re: AnyContent.php Question
« Reply #1 on: November 19, 2005, 12:21:40 am »

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

Also you should use valid html.
Logged

ian ditch

  • Coppermine novice
  • *
  • Offline Offline
  • Posts: 49
Re: AnyContent.php Question
« Reply #2 on: November 19, 2005, 01:28:05 am »

Thanks Nibbler, Worked a treat
Logged
Pages: [1]   Go Up
 

Page created in 0.016 seconds with 20 queries.