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/camrub.com/public_html/includes/sitemap/sitemap.php
<?
@session_start();
include('../../admin/db.php');
header('Content-type: text/xml; charset=UTF-8');

echo '<?xml version="1.0" encoding="UTF-8"?>
<sitemapindex xmlns="http://www.sitemaps.org/schemas/sitemap/0.9">
';
?>
<?
$count = dbValue("SELECT COUNT(username) AS counter FROM performers WHERE enabled = 1",'counter');
$i = 0;
while($i < $count) {
?>
<sitemap>
      <loc><? echo $basehttp; ?>/sitemapPerformers.xml?offset=<? echo $i; ?></loc>
      <lastmod><? echo date('c'); ?></lastmod>
</sitemap>
<?
	$i = $i + 2000;
}
?>
<?
$count = count(dbQuery("SELECT record_num FROM niches"));
$i = 0;
while($i < $count) {
?>
<sitemap>
      <loc><? echo $basehttp; ?>/sitemapTags.xml?offset=<? echo $i; ?></loc>
      <lastmod><? echo date('c'); ?></lastmod>
</sitemap>
<?
	$i = $i + 2000;
}
?>

</sitemapindex>