<?php
/**
 * $Source: /home/cvs/nukescripts/googletapsg/url.php,v $
 * $Revision: 1.10 $
 * $Author: cyril $
 * $Date: 2006/03/16 19:21:11 $
 */
/************************************************************************/
/* Maximus CMS: Web Portal System                                       */
/* ==============================                                       */
/*                                                                      */
/* Copyright (c) 2002 - 2006                                            */
/* http://www.php-maximus.org                                           */
/* webmaster@nukescripts.fr                                             */
/* Cyril Levert www.nukescripts.fr                                      */
/* Support PHPNuke : www.nukescripts.fr                                 */
/* Support Maximus : www.php-maximus.org                                */
/*                                                                      */
/* This program is free software. You can redistribute it and/or modify */
/* it under the terms of the GNU General Public License as published by */
/* the Free Software Foundation; either version 2 of the License.       */
/************************************************************************/
/* Based on PHP-NUKE: Web Portal System                                 */
/************************************************************************/
if (!defined('GOOGLETAP_SG')) {
 die ("You can't access MAXIMUS GoogleSG directly...");
}

$urlin = array(
"'(?<!/)modules.php\?name=Encyclopedia&amp;op=content&amp;tid=([0-9]*)&amp;page=([0-9]*)&amp;query=([a-zA-Z0-9_-]*)'",
"'(?<!/)modules.php\?name=Encyclopedia&amp;op=content&amp;tid=([0-9]*)&amp;page=([0-9]*)'",
"'(?<!/)modules.php\?name=Encyclopedia&amp;op=content&amp;tid=([0-9]*)&amp;query=([a-zA-Z0-9_-]*)'",
"'(?<!/)modules.php\?name=Encyclopedia&amp;op=content&amp;tid=([0-9]*)'",
"'(?<!/)modules.php\?name=Encyclopedia&amp;op=list_content&amp;eid=([0-9]*)'",
"'(?<!/)modules.php\?name=Encyclopedia&amp;op=terms&amp;eid=([0-9]*)&amp;ltr=([A-Z]*)'",
"'(?<!/)modules.php\?name=Encyclopedia&amp;file=search&amp;query=([a-zA-Z0-9]*)'",
"'(?<!/)modules.php\?name=Encyclopedia&amp;file=search'",
"'(?<!/)modules.php\?name=Encyclopedia'"
);

$urlout = array(
"".$GTv2_pref."_encyclopedia_\\1_page\\2_\\3.html",
"".$GTv2_pref."_encyclopedia_\\1_page\\2.html",
"".$GTv2_pref."_encyclopedia_\\1_\\2.html",
"".$GTv2_pref."_encyclopedia_\\1.html",
"".$GTv2_pref."_encyclopedia_list_\\1.html",
"".$GTv2_pref."_encyclopedia_terms\\1_\\2.html",
"".$GTv2_pref."_encyclopedia_search_\\1.html",
"".$GTv2_pref."_encyclopedia_search.html",
"".$GTv2_pref."_encyclopedia.html"
);