* $Author:: $ *
* -------------------------------------------------------------------- *
* Copyright (c) 2003 - 2009 by Roland Haeder *
- * Copyright (c) 2009 - 2011 by Mailer Developer Team *
- * For more information visit: http://www.mxchange.org *
+ * Copyright (c) 2009 - 2012 by Mailer Developer Team *
+ * For more information visit: http://mxchange.org *
* *
* This program is free software; you can redistribute it and/or modify *
* it under the terms of the GNU General Public License as published by *
// Some security stuff...
if (!defined('__SECURITY')) {
- die();
+ exit();
} // END - if
// Special file
addYouAreHereLink('guest', __FILE__);
if ((!isExtensionActive('wernis')) && (!isAdmin())) {
- loadTemplate('admin_settings_saved', false, generateExtensionInactiveNotInstalledMessage('wernis'));
+ displayMessage('{%pipe,generateExtensionInactiveNotInstalledMessage=wernis%}');
return;
} // END - if
outputHtml('<div style="padding-left: 10px; padding-right: 10px">');
$rdf = new fase4_rdf();
-$rdf->_use_nl2br = false;
-$rdf->use_dynamic_display(false);
+$rdf->_use_nl2br = FALSE;
+$rdf->use_dynamic_display(FALSE);
$rdf->set_CacheDir(getCachePath() . '');
-$rdf->set_salt(md5(getConfig('SITE_KEY')));
+$rdf->set_salt(md5(getSiteKey()));
$rdf->set_max_item(10);
$rdf->set_Options(
array(
'textinput' => 'hidden',
'sitelink' => 'http://www.wds66.com',
- 'refid' => getConfig('wernis_refid'),
+ 'refid' => getWernisRefid(),
'reflink' => '/ref.php?refid=',
)
);
// Use proxy?
if (isProxyUsed()) {
// Set proxy data
- $rdf->set_proxy(getConfig('proxy_host'), getConfig('proxy_port'));
+ $rdf->set_proxy(getProxyHost(), getProxyPort());
// Use auth?
- if (getConfig('proxy_username') != '') {
+ if (getProxyUsername() != '') {
// Set auth data
- $rdf->set_proxy_auth(getConfig('proxy_username'), getConfig('proxy_password'));
+ $rdf->set_proxy_auth(getProxyUsername(), getProxyPassword());
} // END - if
} // END - if
$rdf->parse_RDF('http://www.wds66.com/rss.xml');
// Fix to avoid 'headers already sent' bug. Thanks to Profi-Concept
-outputHtml($rdf->finish(true));
+outputHtml($rdf->finish(TRUE));
outputHtml('</div>');
// [EOF]