Hotfix
[mailer.git] / inc / modules / guest / what-forum.php
1 <?php
2 /************************************************************************/
3 /* M-XChange v0.1.0                                   Start: 10/19/2003 */
4 /* ================                             Last change: 10/19/2003 */
5 /*                                                                      */
6 /* -------------------------------------------------------------------- */
7 /* File              : what-                                            */
8 /* -------------------------------------------------------------------- */
9 /* Short description :                                                  */
10 /* -------------------------------------------------------------------- */
11 /* Kurzbeschreibung  :                                                  */
12 /* -------------------------------------------------------------------- */
13 /*                                                                      */
14 /* -------------------------------------------------------------------- */
15 /* Copyright (c) 2003 by Roland Haeder                                  */
16 /* For more information visit: http://www.autoinstaller.de              */
17 /*                                                                      */
18 /************************************************************************/
19
20 // Some security stuff...
21 if (!defined('__SECURITY')) {
22         die();
23 }
24
25 // Add description as navigation point
26 addYouAreHereLink('guest', __FILE__);
27
28 // Special file
29 loadIncludeOnce('inc/classes/rdf.class.php');
30
31 // Load template
32 loadTemplate(substr(basename(__FILE__), 5, -4));
33
34 outputHtml('<div style="padding-left: 10px; padding-right: 10px">');
35 $rdf = new fase4_rdf();
36 $rdf->_use_nl2br = false;
37 $rdf->use_dynamic_display(false);
38 $rdf->set_CacheDir(getConfig('PATH').'inc/cache/');
39 $rdf->set_salt(md5(getConfig('SITE_KEY')));
40 $rdf->set_Options(
41         array(
42                 'textinput' => 'hidden',
43                 'sitelink'  => 'http://forum.mxchange.org'
44         )
45 );
46 $rdf->set_max_item(10);
47 $rdf->parse_RDF('http://forum.mxchange.org/rss.xml');
48 outputHtml($rdf->finish(true));
49 outputHtml('</div>');
50
51
52 //
53 ?>