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/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">
';
?>
<sitemap>
      <loc><? echo $basehttp; ?>/sitemapMain.php</loc>
      <lastmod><? echo date('c'); ?></lastmod>
</sitemap>
<sitemap>
      <loc><? echo $basehttp; ?>/sitemapUsers.php</loc>
      <lastmod><? echo date('c'); ?></lastmod>
</sitemap>
<?
$count = count(dbQuery("SELECT record_num FROM content WHERE enabled = 1 and photos = 0"));
$i = 0;
while($i < $count) {
?>
<sitemap>
      <loc><? echo $basehttp; ?>/sitemapVideoPages.php?offset=<? echo $i; ?></loc>
      <lastmod><? echo date('c'); ?></lastmod>
</sitemap>
<?
	$i = $i + 10000;
}
?>
<?
$count = count(dbQuery("SELECT record_num FROM keywords"));
$i = 0;
while($i < $count) {
?>
<sitemap>
      <loc><? echo $basehttp; ?>/sitemapTags.php?offset=<? echo $i; ?></loc>
      <lastmod><? echo date('c'); ?></lastmod>
</sitemap>
<?
	$i = $i + 10000;
}
?>
<? if(count(dbQuery("SELECT record_num FROM pornstars")) > 0) { ?>
<sitemap>
      <loc><? echo $basehttp; ?>/sitemapPornstars.php</loc>
      <lastmod><? echo date('c'); ?></lastmod>
</sitemap>
<? } ?>
</sitemapindex>