pagetitle.inc
1.75 KB
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
58
59
60
<?PHP
//*****************************************************************************
//* プログラム名:ページタイトル
//* プログラムID:pageTitle.inc
//* 機能 :ページタイトル部分の表示
//*****************************************************************************
function dspTitle($SYS, $GROUP, $BUMON, $USER, $pageId) {
?>
<body class="SimBody">
<form name="frm">
<div class="SimHeader">
<div style="width:0px;height:7px;"><img class="emptyimage1" src="./templates/img/empty.gif" border="0"></div>
<table width="96%">
<tr>
<td align="left" width="200">
<div class="Logoimage"><img src="./templates/img/logo.gif" alt="<?PHP echo($SYS); ?>" border="0"></div>
</td>
<td align="left" style="line-height: 0.9;">
<span style="font-size:medium;color:#0000FF;">ようこそ <?PHP echo($USER); ?> さん</span>
<span style="font-size:small;color:#0000FF"><br>(<?PHP echo($GROUP); ?> / <?PHP echo($BUMON); ?>)</span>
</td>
<td align="right" valign="middle">
<?PHP
if (basename($_SERVER['SCRIPT_NAME']) != "SIM0100.php"){
?>
<input type="button" value="メニューへ" onClick="location.href='./SIM0100.php';" class="btnGo2" style="font-size:large;font-weight:bold;">
<?PHP
}
?>
</td>
</tr>
</table>
</div>
<div class="SimUserinfo">
<!--
<div class="NameText"><?PHP echo($GROUP); ?> / <?PHP echo($BUMON); ?> / <?PHP echo($USER); ?></div>
-->
<div class="LinkText">
<?PHP
// if ( $pageId == "SIM0100" ){
// echo "メニュー / ";
// }else{
// echo "<a href = \"SIM0100.php\">メニュー</a> / ";
// }
?>
<a href = "<?PHP echo($pageId); ?>" target="_blank">ヘルプ</a> /
<a href = "SIM9999.php">ログアウト</a>
<!--
/
<a href="<?PHP echo($homeURL); ?>" target="_blank">ホームページへ</a>
-->
</div>
</div>
<?PHP
}
?>