Free Arcade Script
FAS Customization => Addons/Modifications => V3.x => : am-fs January 04, 2015, 05:37:54 PM
-
Want to allow your users to choose any color theme they want for your arcade?
(http://freearcadescript.net/images/monster-css-switcher.jpg)
This Mod is for you!
Demo => http://demo.freearcadescript.net
Download monster-css-switcher.zip and upload style to templates/monster/
upload and replace template.php to templates/monster
upload and replace topnav.php to templates/monster/blocks
Upload contents of images to images in root of your arcade.
Includes new grey.css
Edit index.php
Find:
include ('includes/functions.php');
include ('includes/core.php');
include('includes/rating_functions.php');
include('includes/reset.php');
Add After:
if(isset($_GET['css'])){
switch ($_GET['css']) {
case 'green':
$stylesheet = '<link rel="stylesheet" type="text/css" href="'.$domain.'/templates/'.$template.'/style/green.css">';
$_SESSION['switchcss']=$stylesheet;
break;
case 'red':
$stylesheet = '<link rel="stylesheet" type="text/css" href="'.$domain.'/templates/'.$template.'/style/red.css">';
$_SESSION['switchcss']=$stylesheet;
break;
case 'grey':
$stylesheet = '<link rel="stylesheet" type="text/css" href="'.$domain.'/templates/'.$template.'/style/grey.css">';
$_SESSION['switchcss']=$stylesheet;
break;
default:
$stylesheet = '<link rel="stylesheet" type="text/css" href="'.$domain.'/templates/'.$template.'/style/teal.css">';
$_SESSION['switchcss']=$stylesheet;
}
}
-
Looks great! a good addition to the themes.
-
It's cute when someone does something like that - Just makes it different. :)
-
Thank you. this see nice.