|
Viewing Single Post From: [CODE] Front Page Portal v2
|
|
James
|
Feb 23 2005, 08:50 PM
|
- Posts:
- 7,210
- Group:
- Members
- Member
- #3,519
- Joined:
- July 27, 2003
|
- Code:
-
<script type="text/javascript"> /* Front Page as Portal v2.5 Created by iFusion */
var loc = window.location if(document.referrer.match(location.pathname) == null && loc.href.match(/\?[\&\w+|\w+]/) == null){ var strPos = ""; if(loc.href.match(/index.php(\?|)/i) != null){ strPos += (RegExp.$1 == "?") ? "" : "?"; } else { strPos += ( (loc.href.lastIndexOf("/") + 1 == loc.href.length) ? "" : "/") + "index.php?"; } loc.href+=strPos + "act=site" }</script>
Edited by Jonathan, Jun 9 2008, 10:56 AM.
|
|
|