<?xml version="1.0" encoding="utf-8"?>
<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Transitional//EN" "http://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd">
<html xmlns="http://www.w3.org/1999/xhtml" xml:lang="ja" lang="ja">
{* URL *}
{if $smarty.get.action}
    {assign var="actionName" value=$smarty.get.action}
{elseif $smarty.post.action}
    {assign var="actionName" value=$smarty.post.action}
{else}
    {assign var="actionName" value=$smarty.const.DEFAULT_ACTION}
{/if}

{* タイトル名 *}
{if $action.title}
    {assign var="pageTitle" value=$action.title}
{else}
    {assign var="pageTitle" value='管理ページ'}
{/if}

{* ページ名 *}
{if $action.pagename}
    {assign var="pageName" value=$action.pagename}
{else}
    {assign var="pageName" value=''}
{/if}
<head>
  <meta http-equiv="Content-Type" content="text/html; charset=utf-8" />
  <meta http-equiv="Content-Style-Type" content="text/css" />
  <meta http-equiv="Content-Script-Type" content="text/javascript" />

  <title>{$pageName}{$pageTitle}</title>

  <link href="./css/admin_import.css" rel="stylesheet" type="text/css" media="screen,tv,print" />

{if $action.jquery_flg}
  <script src="js/jquery.js" type="text/javascript"></script>
  <script src="js/jquery.MultiFile.js" type="text/javascript"></script>
{else}
  <script src="./js/prototype.js" type="text/javascript"></script>
  <script src="./js/json.js" type="text/javascript"></script>
  <script src="./js/jkl-calendar.js" type="text/javascript"></script>
  <script src="./js/HolidayChk.js" type="text/javascript"></script>
  <script src="./js/admin_utils.js" type="text/javascript"></script>
{/if}
</head>
{if $action.jquery_flg}
<body>
{else}
<body onLoad="onLoadEvent('{$actionName}');">
{/if}

<a name="top"></a>
<div id="wrapper">

<div id="header">
  <h1><a href="{$scriptName}">管理画面</a></h1>
  <ul>
    <li id="top" title="管理画面ＴＯＰ"><a href="{$scriptName}">管理画面ＴＯＰ</a></li>
    <li id="site" title="サイトの確認"><a href="./">サイトの確認</a></li>
    <li id="out" title="ログアウト"><a href="{$scriptName}?action=admin_user_logout">ログアウト</a></li>
  </ul>
</div>
<!--End of header-->
