mirror of
https://github.com/e107inc/e107.git
synced 2025-07-31 03:40:37 +02:00
new module creation
This commit is contained in:
41
membersonly.php
Normal file
41
membersonly.php
Normal file
@@ -0,0 +1,41 @@
|
||||
<?php
|
||||
/*
|
||||
+ ----------------------------------------------------------------------------+
|
||||
| e107 website system
|
||||
|
|
||||
| ©Steve Dunstan 2001-2002
|
||||
| http://e107.org
|
||||
| jalist@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.1.1.1 $
|
||||
| $Date: 2006-12-02 04:33:07 $
|
||||
| $Author: mcfly_e107 $
|
||||
+----------------------------------------------------------------------------+
|
||||
*/
|
||||
require_once("class2.php");
|
||||
|
||||
include_lan(e_LANGUAGEDIR.e_LANGUAGE."/lan_membersonly.php");
|
||||
|
||||
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;
|
||||
|
||||
?>
|
Reference in New Issue
Block a user