Web Theme for JohnCMS v4.3.0

676
.
s@m
It's simple to build a web theme for johnCMS with auto detect user agent (no need sql)
here is the syntax
<?
-------

if(stristr($_SERVER['HTTP_USER_AGENT'],'windows') || stristr($_SERVER['HTTP_USER_AGENT'],'linux') ||
stristr($_SERVER['HTTP_USER_AGENT'],'macintosh') || stristr($_SERVER['HTTP_USER_AGENT'],'unix') ||
stristr($_SERVER['HTTP_USER_AGENT'],'macos') || stristr($_SERVER['HTTP_USER_AGENT'],'bsd'))

{
echo 'Your web theme content';
}

-------
?>

Demo: http://nguprus.com
download
Прикрепленные файлы:
.
make sure use your PC before see the demo
.
Let Mortal Kombat begin
s@m, it's only the way of switching between web/pda, but where is the archive with the moded files?
attach it, or i will close the topic
.
s@m
seg0ro (07.07.2011/03:21)
s@m, it's only the way of switching between web/pda, but where is the archive with the moded files?
attach it, or i will close the topic
just use the syntax,. no need a modules.
Here are my head.php, end.php, web content, and style.css

hope u enjoy it
Прикрепленные файлы:
.
Let Mortal Kombat begin
one more russian word and ban for 1 week
.
seg0ro (07.07.2011/09:00)
one more russian word and ban for 1 week
seg0ro,
what's it means?
i do not speak russian
.
Let Mortal Kombat begin
not you, but other people from Russia
.
Can i use it for johncms 4.1 ?
.
chatgirlviet (07.07.2011/11:53)
Can i use it for johncms 4.1 ?
yap, just replace
//web
bla bla bla

in my head.php and end php to ur jcms v4.1's head and end.php
.
can i use the web theme and mobile theme on same site?
Всего: 14