i think i have stuff out of syntax, and that is why this is broken,,,,
here is my config code....
config.php
<?php
// This file config.php defines several internal items
// for index.php and it's includes.
//
// Theme Selection
//$themeselected = 'Orange';
//$themeselected = 'Blue';
$themeselected = 'Dark';
// $themeselected = 'Brown';
// Layout Selection
$layoutselected = 'leftonly';
//$layoutselected = 'leftandright';
// Banner Alignment (based on layout)
if ($layoutselected = 'leftonly' ) {
$banneralign = 'left';
}
else {
$banneralign = 'center';
}
// Logo Selection ( in ./images/ )
$mainlogo = 'coleclan.net.logo3.gif';
//$mainlogo = 'ccpi_logo_tm_2005.gif';
// Theme Setup
if ( $themeselected = 'Orange' ) {
include 'orange.theme.php';
}
if ( $themeselected = 'Dark' ) {
include 'dark.theme.php';
}
if ( $themeselected = 'Blue' ) {
include 'blue.theme.php';
}
if ( $themeselected = 'Brown' ) {
include 'brown.theme.php';
}
else {
include 'blue.theme.php';
}
// Other configs...
// Page Size
$pagewidth = '770';
// Menu Setups...
// Menu Left Setup
$MenuLeft = array(
"CCPI"=> "ccpi.coleclan.net",
"Coasters"=> "coasters.coleclan.net",
"COD"=> "cod.coleclan.net",
"Convert"=> "convert.coleclan.net",
"Corvette"=> "corvette.coleclan.net",
"Downloads"=> "downloads.coleclan.net",
"Film"=> "coleclan.net/film/",
"Forum"=> "forum.coleclan.net",
"FragFest"=> "fragfest.coleclan.net",
"Games"=> "games.coleclan.net",
"Geek"=> "coleclan.net/geek/",
"Google"=> "coleclan.net/google/google.html",
"Guestbook"=> "coleclan.net/guestbook/",
"Links"=> "coleclan.net/links.htm",
"Music"=> "music.coleclan.net",
"News"=> "coleclan.net/current_news.php",
"News Archives"=> "coleclan.net/news_archive.php",
"Photo Gallery"=> "coleclan.net/photos/",
"RSS Feeds"=> "coleclan.net/rss.html",
"Search"=> "coleclan.net/search/",
"Time"=> "coleclan.net/time.php",
"Videos"=> "coleclan.net/videos/",
"Wallpaper"=> "coleclan.net/wallpaper/",
"Weather"=> "coleclan.net/weather/",
"Who Am I"=> "coleclan.net/whoami.php"
);
//Clan Menu Setup
$ClanMenu = array("Beavis2084"=> "beavis2084.com", "Nani"=> "nani.coleclan.net", "Br@626"=> "brat626.coleclan.net", "Zembla"=> "zembla.coleclan.net");
// Hosted Menu Setup
$HostedBy = array("Ohana Crafts"=> "ohanacrafts.com", "All Saints"=> "allsaints-vancouver.org", "Beakeer"=> "beakeer.com", "Catcyber"=> "catcyber.net", "Dimebag Tribute"=> "dimebagdarrelltribute.com", "CSL"=> "commsyslabs.com");
// Menu Right Setup
$MenuRight = array("paypal_donate_button.gif"=> "support.coleclan.net");
?>
the problem is with the THEME setup areas.
it appears that all of the themes are being included and the changing of the $themeselected variable is not making much difference. I think it is my improper use of the syntax.
if someone can clarify how to properly setup an IF statement so i can include files based on a $variable's value, i'd really appreciate it!