I want to put somethings just in My Index.php , i mean just show at index.php
Not a block , i have create {HEADER_2} At theme.php
And Put some of my tables on it - How can i fix it
if ($cat == 0) {
return <<<EOT
<table width="100%" border="0" cellpadding="0" cellspacing="0">
......
} else {
return <<<EOT
<ANOTHER table width="100%" border="0" cellpadding="0" cellspacing="0">
.......
It's work but - in all of pages shows - if ($cat == 0) << I think it's not a right way ?
Can you help me plz ?
:-\\
http://coppermine.sourceforge.net/faq.php#lamesupport
Quote from: GauGau on November 06, 2005, 02:28:28 PM
http://coppermine.sourceforge.net/faq.php#lamesupport
??? This link not work - what is lamesupport ?
Oh , i find it !
Sorry - But i think it's a simple !
But , ok
I will visit another time
Thanks
:\'( Guys i really need this !
If you give me a solution , i mean trick or tip i will try to make it myself
Thanks at all
After hours and hours of experimenting, reading PHP manual and studing coop files I have found this soulution.
if ((defined('INDEX_PHP')) && (empty($cat)) && (empty($_GET['album'])))
I don't know php very well and maybe there is a better solution, but this works for me.
Hope it helps somebody.