and better
<?
//--------------------------------------------------------------------------
// SET STYLES & SITE-SPECIFIC VARIABLES
//--------------------------------------------------------------------------
if (preg_match('/beatportonacid/i',$_SERVER["HTTP_HOST"] ) )
{
$style = array(
'color1' => '000000',
'color2' => 'FF3300',
'swfBackground' => '000000' );
$title = 'Beatport on Acid';
}
else if (preg_match('/beatport/i',$_SERVER["HTTP_HOST"] ) )
{
$style = array(
'color1' => '172A33',
'color2' => '5DA8CC',
'swfBackground' => '384C4C' );
$title = 'Beatport';
}
else if ( preg_match( '/godskitchen/i', $_SERVER["HTTP_HOST"] ) )
{
$style = array(
'color1' => '2B2826',
'color2' => 'AAA096',
'swfBackground' => 'FFFFFF' );
$title = 'God\'s Kitchen';
}
else if ( preg_match( '/nrkdownloads/i', $_SERVER["HTTP_HOST"] ) )
{
$style = array(
'color1' => '000000',
'color2' => '000000',
'swfBackground' => '003143' );
$title = 'NRKDownloads';
}
else if ( preg_match( '/codadigitalshop/i', $_SERVER["HTTP_HOST"] ) )
{
$style = array(
'color1' => '000000',
'color2' => '000000',
'swfBackground' => '4c6175' );
$title = 'CodaDigitalShop';
I just hope they dont clear all crates! >: (
<?
//--------------------------------------------------------------------------
// SET STYLES & SITE-SPECIFIC VARIABLES
//--------------------------------------------------------------------------
if (preg_match('/beatportonacid/i',$_SERVER["HTTP_HOST"] ) )
{
$style = array(
'color1' => '000000',
'color2' => 'FF3300',
'swfBackground' => '000000' );
$title = 'Beatport on Acid';
}
else if (preg_match('/beatport/i',$_SERVER["HTTP_HOST"] ) )
{
$style = array(
'color1' => '172A33',
'color2' => '5DA8CC',
'swfBackground' => '384C4C' );
$title = 'Beatport';
}
else if ( preg_match( '/godskitchen/i', $_SERVER["HTTP_HOST"] ) )
{
$style = array(
'color1' => '2B2826',
'color2' => 'AAA096',
'swfBackground' => 'FFFFFF' );
$title = 'God\'s Kitchen';
}
else if ( preg_match( '/nrkdownloads/i', $_SERVER["HTTP_HOST"] ) )
{
$style = array(
'color1' => '000000',
'color2' => '000000',
'swfBackground' => '003143' );
$title = 'NRKDownloads';
}
else if ( preg_match( '/codadigitalshop/i', $_SERVER["HTTP_HOST"] ) )
{
$style = array(
'color1' => '000000',
'color2' => '000000',
'swfBackground' => '4c6175' );
$title = 'CodaDigitalShop';
I just hope they dont clear all crates! >: (
Comment