The Arcive of Official vBulletin Modifications Site.It is not a VB3 engine, just a parsed copy! |
|
#1
|
||||
|
||||
PHP problems getting annoying...
I'm recoding my site, and I have it so that based on a certain condition the content changes from one include of a .htm file to another include.
Well, I get sorta what I want, but when I try to go to a page other than the index, one page just shows up for them all. Like if I go to www.domain.com/index.php?page=aff_apply the affiliation page shows, but if I go to www.domain.com/index.php?page=staff the affiliation page still shows. It's probably something in my coding... You can look for your self here: www.theglassprison.net click on any link that has ?page= in it, and you'll be taken to the affiliation page. Here's the code I'm using... PHP Code:
|
#2
|
|||
|
|||
try changing
else if (... to elseif (... |
#3
|
|||
|
|||
Quote:
|
#4
|
|||
|
|||
BTW, you can optimize that down to two statements:
PHP Code:
|
#5
|
||||
|
||||
Quote:
|
|
|
X vBulletin 3.8.12 by vBS Debug Information | |
---|---|
|
|
More Information | |
Template Usage:
Phrase Groups Available:
|
Included Files:
Hooks Called:
|