<?php /* Smarty version 2.6.31, created on 2024-05-24 17:48:03
         compiled from db:tools_admin.html */ ?>
<!--
The license needs to be kept in the module!

This work is licensed under the Creative Commons Attribution-ShareAlike 3.0 Unported License. To view a copy of this license, visit http://creativecommons.org/licenses/by-sa/3.0/.
-->
<link rel="stylesheet" type="text/css" href="<?php echo $this->_tpl_vars['tools_url']; ?>
scripts/module_tools.css" />
これがテンプレートだ<br />
<?php if ($this->_tpl_vars['tools_title']): ?><h1><?php echo $this->_tpl_vars['tools_title']; ?>
</h1><?php endif; ?>


<?php if ($this->_tpl_vars['tools_backup']): ?>
	<?php if ($this->_tpl_vars['tools_backup_ok']): ?>
		<div class="tools_ok">
			<p><?php echo $this->_tpl_vars['tools_lastChanged']; ?>
</p>
			<?php if ($this->_tpl_vars['tools_warning']): ?><p class="tools_warning_old"><?php echo @_AM_TOOLS_LAST_BACKUP_OLD; ?>
</p><?php endif; ?>
			<p>
				<a class="tools_backup <?php if ($this->_tpl_vars['tools_warning']): ?>tools_warning<?php endif; ?>" href="<?php echo $this->_tpl_vars['tools_admin_url']; ?>
backup.php?op=backup_db"><?php echo @_AM_TOOLS_BACKUP_NOW; ?>
</a>
				<?php if ($this->_tpl_vars['tools_zip1']): ?>
					<a class="tools_backup tools_download" href="<?php echo $this->_tpl_vars['tools_admin_url']; ?>
download.php?file=db_backup" title="<?php echo @_AM_TOOLS_BACKUP_DOWNLOAD; ?>
" target="_blank">
						<?php echo @_AM_TOOLS_BACKUP_DOWNLOAD; ?>

					</a>
				<?php endif; ?>
				<?php if ($this->_tpl_vars['tools_zip2']): ?>
					<a class="tools_backup tools_download" href="<?php echo $this->_tpl_vars['tools_admin_url']; ?>
download.php?file=backup" title="<?php echo @_AM_TOOLS_BACKUP_DOWNLOAD; ?>
" target="_blank">
						<?php echo @_AM_TOOLS_BACKUP_DOWNLOAD_FULL; ?>

					</a>
				<?php endif; ?>
				<a class="tools_delete" title="<?php echo @_BACK; ?>
" href="<?php echo $this->_tpl_vars['tools_admin_url']; ?>
backup.php?op=delete_backup"><?php echo @_AM_TOOLS_BACKUP_DELETE; ?>
</a>
			</p>
		</div>
		<p>
			<?php if ($this->_tpl_vars['tools_log_ftp']): ?>
				<a href="<?php echo $this->_tpl_vars['tools_admin_url']; ?>
download.php?file=log_ftp" title="<?php echo @_AM_TOOLS_BACKUP_DOWN_FTP_LOG; ?>
" target="_blank">
					<?php echo @_AM_TOOLS_BACKUP_DOWN_FTP_LOG; ?>

				</a>
				<?php if ($this->_tpl_vars['tools_log_zip'] || $this->_tpl_vars['tools_log_backup']): ?> | <?php endif; ?>
			<?php endif; ?>
			<?php if ($this->_tpl_vars['tools_log_zip']): ?>
				<a href="<?php echo $this->_tpl_vars['tools_admin_url']; ?>
download.php?file=log_pack" title="<?php echo @_AM_TOOLS_BACKUP_DOWN_ZIP_LOG; ?>
" target="_blank">
					<?php echo @_AM_TOOLS_BACKUP_DOWN_ZIP_LOG; ?>

				</a>
				<?php if ($this->_tpl_vars['tools_log_backup']): ?> | <?php endif; ?>
			<?php endif; ?>
			<?php if ($this->_tpl_vars['tools_log_backup']): ?>
				<a href="<?php echo $this->_tpl_vars['tools_admin_url']; ?>
download.php?file=log_backup" title="<?php echo @_AM_TOOLS_BACKUP_DOWN_BACK_LOG; ?>
" target="_blank">
					<?php echo @_AM_TOOLS_BACKUP_DOWN_BACK_LOG; ?>

				</a>
			<?php endif; ?>
		</p>
	<?php elseif ($this->_tpl_vars['tools_backup_warning']): ?>
		<div class="tools_attention">
			<p><?php echo @_AM_TOOLS_NO_BACKUP; ?>
</p>
			<p><a class="tools_backup tools_warning" href="<?php echo $this->_tpl_vars['tools_admin_url']; ?>
backup.php?op=backup_db"><?php echo @_AM_TOOLS_BACKUP_NOW; ?>
</a></p>
		</div>
	<?php elseif ($this->_tpl_vars['tools_delete_ok']): ?>
		<div class="tools_ok">
			<h4><?php echo @_AM_TOOLS_DELETE_OK; ?>
</h4>
			<p><a href="<?php echo $this->_tpl_vars['tools_admin_url']; ?>
backup.php" title="<?php echo @_BACK; ?>
"><?php echo @_BACK; ?>
</a></p>
		</div>
	<?php elseif ($this->_tpl_vars['tools_delete_failed']): ?>
		<div class="tools_attention">
			<h4><?php echo @_AM_TOOLS_DELETE_FAILED; ?>
</h4>
			<p><a href="<?php echo $this->_tpl_vars['tools_admin_url']; ?>
backup.php" title="<?php echo @_BACK; ?>
"><?php echo @_BACK; ?>
</a></p>
		</div>
	<?php endif; ?>
	<?php if (! $this->_tpl_vars['tools_delete_failed'] && ! $this->_tpl_vars['tools_delete_ok']): ?>
		<div class="tools_buttons">
			<p>
				<a class="tools_backup" href="<?php echo $this->_tpl_vars['tools_admin_url']; ?>
backup.php?op=backup_db"><?php echo @_AM_TOOLS_BACKUP_NOW; ?>
</a>
				<a class="tools_backup" href="<?php echo $this->_tpl_vars['tools_admin_url']; ?>
backup.php?op=backup_all"><?php echo @_AM_TOOLS_FULL_BACKUP_NOW; ?>
</a>
			</p>
		</div>
	<?php endif; ?>
<?php elseif ($this->_tpl_vars['tools_tool']): ?>
	<?php if ($this->_tpl_vars['tools_tool_ok']): ?>
		<div class="tools_ok">
			<p><?php echo $this->_tpl_vars['tools_lastChanged']; ?>
</p>
			<?php if ($this->_tpl_vars['tools_warning']): ?><p class="tools_warning_old"><?php echo @_AM_TOOLS_LAST_MAINTENANCE_OLD; ?>
</p><?php endif; ?>
			<p>
				<a class="tools_backup <?php if ($this->_tpl_vars['tools_warning']): ?>tools_warning<?php endif; ?>" href="<?php echo $this->_tpl_vars['tools_admin_url']; ?>
tools.php?op=trigger_all"><?php echo @_AM_TOOLS_MAINTAIN_NOW; ?>
</a>
				<a class="tools_delete" title="<?php echo @_BACK; ?>
" href="<?php echo $this->_tpl_vars['tools_admin_url']; ?>
tools.php?op=delete_log"><?php echo @_AM_TOOLS_DEL_LOG; ?>
</a>
			</p>
		</div>
	<?php elseif ($this->_tpl_vars['tools_tool_warning']): ?>
		<div class="tools_attention">
			<p><?php echo @_AM_TOOLS_NO_BACKUP; ?>
</p>
			<p><a class="tools_backup tools_warning" href="<?php echo $this->_tpl_vars['tools_admin_url']; ?>
tools.php?op=trigger_all"><?php echo @_AM_TOOLS_MAINTAIN_NOW; ?>
</a></p>
		</div>
	<?php elseif ($this->_tpl_vars['tools_delete_ok']): ?>
		<div class="tools_ok">
			<h4><?php echo @_AM_TOOLS_DELETE_OK; ?>
</h4>
			<p><a href="<?php echo $this->_tpl_vars['tools_admin_url']; ?>
tools.php" title="<?php echo @_BACK; ?>
"><?php echo @_BACK; ?>
</a></p>
		</div>
	<?php elseif ($this->_tpl_vars['tools_delete_failed']): ?>
		<div class="tools_attention">
			<h4><?php echo @_AM_TOOLS_DELETE_FAILED; ?>
</h4>
			<p><a href="<?php echo $this->_tpl_vars['tools_admin_url']; ?>
tools.php" title="<?php echo @_BACK; ?>
"><?php echo @_BACK; ?>
</a></p>
		</div>
	<?php endif; ?>
	<?php if ($this->_tpl_vars['tools_tool_ok']): ?>
		<p>
			<a href="<?php echo $this->_tpl_vars['tools_admin_url']; ?>
download.php?file=log_tool" title="<?php echo @_AM_TOOLS_DOWN_LOG; ?>
" target="_blank">
				<?php echo @_AM_TOOLS_DOWN_LOG; ?>

			</a>
		</p>
	<?php endif; ?>
	<?php if (! $this->_tpl_vars['tools_delete_failed'] && ! $this->_tpl_vars['tools_delete_ok']): ?>
		<div class="tools_buttons">
			<p>
				<a class="tools_backup" href="<?php echo $this->_tpl_vars['tools_admin_url']; ?>
tools.php?op=trigger_cache"><?php echo @_AM_TOOLS_CLEAR_CACHE; ?>
</a>
				<a class="tools_backup" href="<?php echo $this->_tpl_vars['tools_admin_url']; ?>
tools.php?op=trigger_templates"><?php echo @_AM_TOOLS_CLEAR_TEMPLATES; ?>
</a>
				<a class="tools_backup" href="<?php echo $this->_tpl_vars['tools_admin_url']; ?>
tools.php?op=trigger_optimize"><?php echo @_AM_TOOLS_MAINTAIN_DB; ?>
</a>
				<a class="tools_backup" href="<?php echo $this->_tpl_vars['tools_admin_url']; ?>
tools.php?op=trigger_sessions"><?php echo @_AM_TOOLS_CLEAR_SESSION; ?>
</a>
			</p>
		</div>
	<?php endif; ?>
<?php endif; ?>

<?php if ($this->_tpl_vars['manual_path']): ?><?php $this->_smarty_include(array('smarty_include_tpl_file' => ($this->_tpl_vars['manual_path']), 'smarty_include_vars' => array()));
 ?><?php endif; ?>