HEX
Server: Apache
System: Linux msm5694.mjhst.com 3.10.0-1160.119.1.el7.x86_64 #1 SMP Tue Jun 4 14:43:51 UTC 2024 x86_64
User: camjab_ssh (1000)
PHP: 5.3.29
Disabled: NONE
Upload Files
File: /home/httpd/html/porn.tw/public_html/controllers/control.rss.php
<?php
    header('Content-type: text/xml; charset=UTF-8');
    $rssLang = "en";
    echo "<?xml version=\"1.0\" encoding=\"UTF-8\" ?>\n";
?>
<rss version="2.0" xmlns:content="http://purl.org/rss/1.0/modules/content/" xmlns:dc='http://purl.org/dc/elements/1.1/' xmlns:atom="http://www.w3.org/2005/Atom">
    <channel>
        <title><?php echo $sitename; ?></title>
        <description><?php echo $sitename; ?></description>
        <link><?php echo $basehttp; ?></link>
        <lastBuildDate><?php echo date('D, j M Y h:i:s T'); ?></lastBuildDate>
        <generator>https://www.pornlantis.com</generator>
        <atom:link href="<?php echo $basehttp; ?>/rss" rel="self" type="application/rss+xml" />
        <copyright>Copyright <?php echo date('Y'); ?> (c) <?php echo $sitename; ?> - All rights reserved.</copyright>
        <language><?php echo $rssLang; ?></language>
        <?php

            $result = dbQuery("SELECT content.* $langSelect FROM content $langJoin WHERE enabled = 1 $langWhere ORDER BY encoded_date DESC LIMIT 0,100");
           foreach($result as $row) {
                if ($row[photos] == 0) {
                    $link = generateUrl('video', $row['title'], $row['record_num']);
                } else {
                    $link = generateUrl('galleries', $row['title'], $row['record_num']);
                }

                $title = $row['title'];
                $description = $row['description'] . "\n\n{$row['keywords']}";

            ?>
            <item>
                <title><![CDATA[ <?php echo trim($title); ?> ]]></title>
                <link><?php echo $link; ?></link>
                <description><![CDATA[ <?php echo trim($description); ?> ]]></description>
                <pubDate><?php echo date('D, j M Y H:i:s T', strtotime($row['encoded_date'])); ?></pubDate>
                <dc:creator><?php echo $sitename; ?>n</dc:creator>
                <category><![CDATA[ <? echo $row['keywords']; ?> ]]></category>
                <guid isPermaLink="true"><?php echo $link; ?></guid>
            </item>
        <?php } ?>
    </channel>
</rss>
<?php exit(); ?>