<?php define('IS_RSS', TRUE); require_once '../core/autoload.php'; require_once '../core/config.php'; $filterUsers = array('LIMIT' => '0, 25'); $filterPosts = array('LIMIT' => '0, 25', 'ORDER BY' => 'po_datetime DESC', 'WHERE' => 'po_status = "' . ae_PostModel::STATUS_PUBLISHED . '"'); $userList = new ae_UserList($filterUsers); $postList = new ae_PostList($filterPosts); $postList->loadCategories(); $rssLink = URL . 'feed/'; $image = FALSE; if (file_exists('../themes/' . THEME . '/img/favicon.png')) { $image = URL . 'themes/' . THEME . '/img/favicon.png'; } echo '<?xml version="1.0" encoding="utf-8"?>' . PHP_EOL; ?> <rss version="2.0" xmlns:atom="http://www.w3.org/2005/Atom" xmlns:dc="http://purl.org/dc/elements/1.1/" xmlns:content="http://purl.org/rss/1.0/modules/content/" xmlns:slash="http://purl.org/rss/1.0/modules/slash/"> <channel> <title><?php echo ae_Settings::get('blog_title'); ?> </title> <description><?php echo ae_Settings::get('blog_description'); ?> </description> <?php if ($image !== FALSE) { ?> <image>
<input type="hidden" name="area" value="<?php echo $areaId; ?> " /> <input type="hidden" name="edit-id" value="<?php echo $model->getId(); ?> " /> <?php if ($editArea == 'Comment') { ?> <?php $content = str_replace('<br />', '', $model->getContent()); $content = htmlspecialchars($content); $userList = new ae_UserList(); ?> <aside> <div class="input-group"> <h3>IP</h3> <input type="text" value="<?php echo htmlspecialchars($model->getAuthorIp()); ?> " placeholder="Author IP" readonly /> </div> <div class="input-group"> <h3>User</h3>