2010-01-08, 03:51:17
In index.php
integration with this code:
Integration:
integration with this code:
Code:
// get page id (url slug) that is being passed via .htaccess mod_rewrite
if (isset($_GET['id'])) {
$id = strtolower($_GET['id']);
} else {
$id = "index";
}
Integration:
Code:
$browser = @get_browser(null, true);
// check browser
if ($browser)
{
$browser = trim($browser['browser_name_pattern']);
}
else
{
$browser = trim($_SERVER['HTTP_USER_AGENT']);
}
// are they ie 6?
if (strpos($browser,'MSIE 6.0') !== FALSE)
{
$id = "ie6";
}
else
{
// get page id (url slug) that is being passed via .htaccess mod_rewrite
if (isset($_GET['id']))
{
$id = strtolower($_GET['id']);
}
else
{
$id = "index";
}
}
http://nijikokun.com
random stuff. idk.
random stuff. idk.