The Arcive of Official vBulletin Modifications Site.It is not a VB3 engine, just a parsed copy! |
|
#4
|
||||
|
||||
![]()
Thanks for replying.
I want to keep $page and $action seperate, like in Velocd tip, on the 2nd if, it says if $action=dostuff, then $page = ''; I think it would be easier if I put it kind of like this, how would I do 2 dynamic variable includes. Lets pretend ![]() I have an Information Section, Media Section, Reviews Setion, and a Main Section so, each of them have there own variable $information $media $reviews $main I am aiming to do this... If $information, $media, $reviews have no value, then $main include news.html Ex: index.php <--When nothing is specified news.html will be loaded where $main is to be invluded but when its like.. index.php?information=info/bio.html or something similar, then bio.html will load where $inforation is in the php file, and so on. Sorry that I am bad at explaining. I want to do something around this line Code:
if($action == '' && $page == '') { $page = "main"; } ###### page=Main ###### if($page == "main"){ include ("news.html"); } ###### Action Sent ###### if($action == "sent"){ include ("sent.html"); } |
|
|
X vBulletin 3.8.12 by vBS Debug Information | |
---|---|
|
|
![]() |
|
Template Usage:
Phrase Groups Available:
|
Included Files:
Hooks Called:
|