]> git.mxchange.org Git - mailer.git/blobdiff - inc/modules/guest/what-forum.php
Added more local files + ctracker.php
[mailer.git] / inc / modules / guest / what-forum.php
diff --git a/inc/modules/guest/what-forum.php b/inc/modules/guest/what-forum.php
new file mode 100644 (file)
index 0000000..f60ed8b
--- /dev/null
@@ -0,0 +1,56 @@
+<?php
+/************************************************************************/
+/* M-XChange v0.1.0                                   Start: 10/19/2003 */
+/* ================                             Last change: 10/19/2003 */
+/*                                                                      */
+/* -------------------------------------------------------------------- */
+/* File              : what-                                            */
+/* -------------------------------------------------------------------- */
+/* Short description :                                                  */
+/* -------------------------------------------------------------------- */
+/* Kurzbeschreibung  :                                                  */
+/* -------------------------------------------------------------------- */
+/*                                                                      */
+/* -------------------------------------------------------------------- */
+/* Copyright (c) 2003 by Roland Haeder                                  */
+/* For more information visit: http://www.autoinstaller.de              */
+/*                                                                      */
+/************************************************************************/
+
+// Some security stuff...
+if (!defined('__SECURITY')) {
+       die();
+} // END - if
+
+// Add description as navigation point
+addYouAreHereLink('guest', __FILE__);
+
+// Special file
+loadIncludeOnce('inc/classes/rdf.class.php');
+
+// Load template
+loadTemplate(substr(basename(__FILE__), 5, -4));
+
+outputHtml('<div style="padding-left: 10px; padding-right: 10px">');
+$rdf = new fase4_rdf();
+$rdf->_use_nl2br = FALSE;
+$rdf->_finishCallback = 'compactContent';
+$rdf->use_dynamic_display(FALSE);
+$rdf->set_CacheDir(getConfig('PATH').'inc/cache/');
+$rdf->set_salt(md5(getConfig('SITE_KEY')));
+$rdf->set_Options(
+       array(
+               'textinput' => 'hidden',
+               'sitelink'  => 'http://forum.mxchange.org'
+       )
+);
+$rdf->set_max_item(10);
+$rdf->parse_RDF('http://forum.mxchange.org/rss.xml');
+$out = trim($rdf->finish(TRUE));
+if (!empty($out)) {
+       outputHtml($out);
+} // END - if
+outputHtml('</div>');
+
+// [EOF]
+?>