2024-09-19 21:03:48 +09:00
|
|
|
<?php
|
2024-09-23 11:10:50 +09:00
|
|
|
include_once "./_common.php";
|
2024-09-19 21:03:48 +09:00
|
|
|
define('_MAIN_', true);
|
|
|
|
|
include_once __DIR__ . '/head.php';
|
|
|
|
|
|
2024-09-19 21:08:10 +09:00
|
|
|
add_stylesheet('<link rel="stylesheet" href="' . G5_THEME_CSS_URL . '/main.css">', 0);
|
2024-09-19 21:03:48 +09:00
|
|
|
$main_content = get_site_content('site_main');
|
|
|
|
|
|
|
|
|
|
if (!$main_content) {
|
|
|
|
|
$logo = get_logo();
|
|
|
|
|
$main_content = "";
|
|
|
|
|
if ($logo)
|
|
|
|
|
$main_content .= "<img src='{$logo}' alt='' />";
|
|
|
|
|
}
|
|
|
|
|
?>
|
|
|
|
|
<div id="main_body">
|
|
|
|
|
<?php echo $main_content; ?>
|
|
|
|
|
</div>
|
|
|
|
|
<script>
|
|
|
|
|
$(function () {
|
|
|
|
|
window.onload = function () {
|
|
|
|
|
$('#body').css('opacity', 1);
|
|
|
|
|
};
|
|
|
|
|
});
|
|
|
|
|
</script>
|
|
|
|
|
<?php
|
|
|
|
|
include_once __DIR__ . '/tail.php';
|