Файл: adultscript-2.0.3-pro/files/admin/templates/default/tools_sitemap.tpl.php
Строк: 150
<?php defined('_VALID') or die('Restricted Access!'); ?>
<?php echo $this->fetch('errors'); ?>
<?php echo $this->fetch('messages'); ?>
<?php echo $this->fetch('warnings'); ?>
<div id="container" class="clearfix">
<div id="page">
<?php echo $this->fetch('main_menu'); ?>
<div class="content clearfix">
<form name="sitemap-form" id="sitemap-form" method="post" action="<?php echo ADMIN_URL; ?>/index.php?q=tools/sitemap">
<fieldset>
<legend>Sitemap Index Information</legend>
<?php if ($this->sitemap['created']): ?>
<div class="none">
File Name: <?php echo $this->sitemap['name']; ?><br />
File Size: <?php echo VText::bytes($this->sitemap['size']); ?><br />
Build Date: <?php echo $this->sitemap['date']; ?><br />
</div>
<?php else: ?>
<div class="none" style="padding: 30px;">Sitemap not generated!</div>
<?php endif; ?>
</fieldset>
<fieldset>
<legend>Options</legend>
<div class="required">
<label for="content">Content</label>
<ul class="seps">
<li><input name="sitemap_frontpage" type="checkbox" id="sitemap_index" class="radio" value="1"<?php if ($this->options['sitemap_frontpage'] == '1'): ?> checked="checked"<?php endif; ?> /> <strong>Include Frontpage</strong></li>
<li><input name="sitemap_static" type="checkbox" id="sitemap_static" class="radio" value="1"<?php if ($this->options['sitemap_static'] == '1'): ?> checked="checked"<?php endif; ?> /> <strong>Include Content</strong></li>
<li><input name="sitemap_users" type="checkbox" id="sitemap_users" class="radio" value="1"<?php if ($this->options['sitemap_users'] == '1'): ?> checked="checked"<?php endif; ?> /> <strong>Include Users</strong></li>
<?php if (VModule::enabled('video')): ?>
<li><input name="sitemap_category" type="checkbox" id="sitemap_category" class="radio" value="1"<?php if ($this->options['sitemap_category'] == '1'): ?> checked="checked"<?php endif; ?> /> <strong>Include Categories</strong></li>
<li><input name="sitemap_videos" type="checkbox" id="sitemap_videos" class="radio" value="1"<?php if ($this->options['sitemap_videos'] == '1'): ?> checked="checked"<?php endif; ?> /> <strong>Include Videos</strong></li>
<?php endif; ?>
<?php if (VModule::enabled('photo')): ?>
<li><input name="sitemap_albums" type="checkbox" id="sitemap_albums" class="radio" value="1"<?php if ($this->options['sitemap_albums'] == '1'): ?> checked="checked"<?php endif; ?> /> <strong>Include Albums</strong></li>
<li><input name="sitemap_photos" type="checkbox" id="sitemap_photos" class="radio" value="1"<?php if ($this->options['sitemap_photos'] == '1'): ?> checked="checked"<?php endif; ?> /> <strong>Include Photos</strong></li>
<?php endif; ?>
<?php if (VModule::enabled('pornstar')): ?>
<li><input name="sitemap_pornstar" type="checkbox" id="sitemap_pornstar" class="radio" value="1"<?php if ($this->options['sitemap_pornstar'] == '1'): ?> checked="checked"<?php endif; ?> /> <strong>Include Pornstars</strong></li>
<?php endif; ?>
</ul>
<div class="clear"></div>
</div>
<div class="required">
<label for="max_per_file">Max Items</label>
<input name="max_per_file" type="text" id="max_per_file" class="small" value="<?php echo $this->options['max_per_file']; ?>" /> <span>Maximum urls to include in the sitemap!</span>
</div>
<div class="required">
<label for="ping_search_engines">Ping Search Engines</label>
<ul class="seps">
<li><input name="ping_google" type="checkbox" id="ping_google" class="radio" value="1" /> <strong>Google</strong></li>
<li><input name="ping_bing" type="checkbox" id="ping_bing" class="radio" value="1" /> <strong>Bing</strong></li>
</ul>
<span style="margin-left: 216px; display: block;">Pings search engines on sitemap build! Only check these if you have a webmaster account for the selected search engine!</span>
</div>
<div class="submit">
<input name="submit_sitemap" type="submit" class="button butDef" value="<?php if ($this->sitemap['created'] == '1'): echo 'Rebuild Sitemap'; else: echo 'Create Sitemap'; endif; ?>" />
</div>
</fieldset>
</form>
</div>
</div>
</div>