<?php
function contents_header($account_menu='on') {
	$menu_item = array();
	$menu_item[] = array("href"=>"menu.php", "query"=>"", "name"=>"メニュー");
	$menu_item[] = array("href"=>"mycheck.php", "query"=>"arg=session", "name"=>"Myチェック");
	if ($_SESSION['システム管理者'] == "YES") {
		$menu_item[] = array("href"=>"list.php", "query"=>"arg=session", "name"=>"問題集一覧");
		$menu_item[] = array("href"=>"category.php", "name"=>"カテゴリ一覧");
		$menu_item[] = array("href"=>"category2.php", "name"=>"サブカテゴリ一覧");
	}
	$menu_item[] = array("href"=>"javascript:popup();", "query"=>"", "name"=>"ポップアップ");
?>
<div id="contents_header">
<?php
	contents_menu($menu_item);
	if ($account_menu == 'on') {
		change_account_menu();
	}
?>
</div><!-- id="contents_header" -->
<?php
}
?>
