Location: PHPKode > projects > ProNuke. Postnuke To Oracle > postnuke/html/modules/NS-Multisites/print.inc.php
<?php
global $themesarein;
if (is_user($user))
    { 
	$user2 = base64_decode($user);
	$cookie = explode(':', $user2);
	if ($cookie[9]=='')
	{
	    $cookie[9]=$Default_Theme;
	}
	if (isset ($theme))
	{
	    $cookie[9]=$theme;
	}

		if (@file(WHERE_IS_PERSO."themes/".$cookie[9]."/theme.php"))
			{ 
				$themesarein = WHERE_IS_PERSO;
			}
		else
			{ 
				$themesarein = "";
			}			

		if(!$file=@opendir($themesarein."themes/$cookie[9]")) 
			{ 
				$ThemeSel = $Default_Theme; 
			} 
		else 
			{ 
				$ThemeSel = $cookie[9]; 
			}
    } else {
		$ThemeSel = $Default_Theme;
	if (@file(WHERE_IS_PERSO."themes/".$ThemeSel."/theme.php"))
			{ 
				$themesarein = WHERE_IS_PERSO;
			}
		else
			{ 
				$themesarein = "";
			}			
    }
?>
Return current item: ProNuke. Postnuke To Oracle