EasyImages2.0/admin/terms.php

21 lines
423 B
PHP
Executable File

<?php
/*
* 使用条款页面
*/
require_once __DIR__ . '/../application/header.php';
if (empty($config['terms'])) {
echo '<div class="alert alert-danger">Terms not set!<br />使用条款未设置</div>';
} else {
echo $config['terms'];
}
echo "
<script>
// Title
document.title = '使用条款 - " . $config['title'] . "';
</script>
";
require_once __DIR__ . '/../application/footer.php';