View Full Version : php skinning~ non php


coneblue45
06-02-2005, 05:43 PM
well my cgi commenting grey matter won't work with my skin and i used this code

<script type="text/javascript" language="javascript">
function GetCookie(name) {
var startIndex = document.cookie.indexOf(name);
if (startIndex != -1) {
var endIndex = document.cookie.indexOf(";", startIndex);
if (endIndex == -1) endIndex = document.cookie.length;
return unescape(document.cookie.substring(startIndex+name .length+1, endIndex));
} else {
return null;
}} var style = GetCookie('skin');
if (style==null) {style=1;}
document.writeln("<link rel=\"stylesheet\" href=\"http://imma.shattered-faith.net/skins/style" + style + ".css\" type=\"text/css\" />");
</script>

so that it will change, well my tagboard worked but grey matter still hasn't changed from the last skin

this is the url
http://imma.shattered-faith.net/test.php?newskin=2

freakish_dude_
06-04-2005, 09:52 AM
you could try SSI somehow