<?php
// +----------------------------------------------------------------------+
// | PHP version 4                                                        |
// +----------------------------------------------------------------------+
// | Copyright (c) 1997-2005 Snapshot Inc.                                |
// +----------------------------------------------------------------------+
// | License                                                              |
// | GNU General Public License                                           |
// +----------------------------------------------------------------------+
// | Authors: Mai Kawasaki                                                |
// +----------------------------------------------------------------------+
//
// $Id: Index_success.php,v 1.1 2005/06/20 09:31:28 snapshot Exp $
//
// Description:
// 2005/05/18
//

include (BASE_DIR.'templates/m_header_top.tpl');
?>
<!--　お知らせ　-->
<div align="center">
	<font color="blue"><marquee>お知らせ：<?= htmlspecialchars($template['admin']->information) ?></marquee></font>
</div>
<hr>
<!--　科目一覧　-->
<div>
	■科目一覧■
</div>
<div>
<?php 
	foreach ($template['subjects_user'] as $subject_user) {
?>
	　<a href="<?= htmlspecialchars(TemplateUtils::createLink('Subject','List', array('aid'=>$template['admin']->aid, "sid" => $subject_user->sid))) ?>"><?= htmlspecialchars($subject_user->name) ?></a><br>
<?php 
	}
?>
</div>
<br>
<!--　設定　-->
<div>
	■設定■
</div>
<div>
	　学生番号: <?= htmlspecialchars($template['student']->number) ?><br>
	　氏名: <?= htmlspecialchars($template['student']->name) ?><br>
	　<a href="<?= htmlspecialchars(TemplateUtils::createLink('Config','Input', array('aid'=>$template['admin']->aid))) ?>">設定を変更する</a><br>
	　　└ ユーザ登録内容を変更します。
</div>
<br>
<div>
	<a href="<?= htmlspecialchars(TemplateUtils::createLink('Login','Logout', array('aid'=>$template['admin']->aid))) ?>">ログアウト</a>
</div>
<div>
	<a href="<?= htmlspecialchars(TemplateUtils::createLink('Cancel','Confirm', array('aid'=>$template['admin']->aid))) ?>">利用解除</a>
</div>

<?php
include (BASE_DIR.'templates/m_footer.tpl');
?>


