0byt3m1n1
Path:
/
data
/
applications
/
aps.bak
/
tikiwiki
/
1.9.7-31
/
htdocs
/
[
Home
]
File: tiki-custom_home.php
<?php // $Header: /cvsroot/tikiwiki/tiki/tiki-custom_home.php,v 1.13.2.1 2005/01/01 00:11:23 damosoft Exp $ // Copyright (c) 2002-2005, Luis Argerich, Garland Foster, Eduardo Polidor, et. al. // All Rights Reserved. See copyright.txt for details and a complete list of authors. // Licensed under the GNU LESSER GENERAL PUBLIC LICENSE. See license.txt for details. // Initialization require_once ('tiki-setup.php'); //ini_set('include_path','.;pear/'); //include('foobar.php'); /* hfd require_once "lib/NNTP.php"; $nntp = new Net_NNTP; $ret = $nntp->connect("news.php.net"); $groups = $nntp->getGroups(); //print_r($groups); $z = $nntp->selectGroup('php.announce'); print_r($z); $h = $nntp->splitHeaders(1); print_r($h); $b = $nntp->getBody(1); print_r($b); */ if ($feature_custom_home != 'y') { $smarty->assign('msg', tra("This feature has been disabled")); $smarty->display("error.tpl"); die; } // Display the template $smarty->assign('mid', 'tiki-custom_home.tpl'); $smarty->display("tiki.tpl"); ?>