mirror of
https://github.com/e107inc/e107.git
synced 2025-01-17 20:58:30 +01:00
42 lines
935 B
PHP
42 lines
935 B
PHP
<?php
|
|
/*
|
|
+ ----------------------------------------------------------------------------+
|
|
| e107 website system
|
|
|
|
|
| Copyright (C) 2008-2009 e107 Inc
|
|
| http://e107.org
|
|
|
|
|
|
|
|
| Released under the terms and conditions of the
|
|
| GNU General Public License (http://gnu.org).
|
|
|
|
|
| $Source: /cvs_backup/e107_0.8/membersonly.php,v $
|
|
| $Revision: 1.5 $
|
|
| $Date: 2009-11-18 01:04:24 $
|
|
| $Author: e107coders $
|
|
+----------------------------------------------------------------------------+
|
|
*/
|
|
require_once("class2.php");
|
|
|
|
include_lan(e_LANGUAGEDIR.e_LANGUAGE.'/lan_'.e_PAGE);
|
|
|
|
if(is_readable(THEME."membersonly_template.php"))
|
|
{
|
|
require_once(THEME."membersonly_template.php");
|
|
}
|
|
else
|
|
{
|
|
require_once(e_THEME."templates/membersonly_template.php");
|
|
}
|
|
|
|
$HEADER="";
|
|
$FOOTER="";
|
|
|
|
include_once(HEADERF);
|
|
|
|
echo $MEMBERSONLY_BEGIN;
|
|
$ns->tablerender($MEMBERSONLY_CAPTION, $MEMBERSONLY_TABLE);
|
|
echo $MEMBERSONLY_END;
|
|
|
|
?>
|