CON111.php
1.97 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:CON111.php
//* 機能 :電子会議室カテゴリを入力する
//* 作成者 :
//*
//*****************************************************************************
header("Content-type: text/html; charset=EUC-JP");
//*****************************************************************************
//* インクルードファイル
//*****************************************************************************
include("include/session_start.inc"); //セッション開始
include("include/SessionChk.inc"); //セッションチェック
include("include/dbcon.inc"); //DB接続
//*****************************************************************************
//* 画面制御
//*****************************************************************************
include("include/input_chk.inc");
include("inc/CON111.inc");
include("inc/header.inc");
include('./include/smarty.conf');
include("menu_opacity.php");
if ($PHP_BIT[0]!=1){
echo "<br><br><br>";
echo "<a href='TOP000.php'><span class='Normalfont'>マスタ変更権限がありません</span></a>";
echo "<br><br><br>";
echo "<form name='e_gru'></form>";
include("include/copyright.inc");
exit;
}
switch ($_POST{"sinki_edit_flg"}) {
case "sinki":
$strCategoryType="";
$strCategoryName="";
break;
case "edit":
$strSql = "SELECT * FROM mst_kaigi_category Where category_no = ".$_POST["category_no"];
$rsRecset = pg_exec($pg_con, $strSql);
$strCategoryName = htmlspecialchars(pg_result($rsRecset, 0, "category_name"));
break;
}
$o_smarty->assign('strCategoryName',$strCategoryName);
$o_smarty->assign('strCategoryType',$strCategoryType);
$o_smarty->assign('sinki_edit_flg',$sinki_edit_flg);
$o_smarty->assign('category_no',$category_no);
$o_smarty->assign('PHP_TITLE_NAME',$PHP_TITLE_NAME[9]);
if ($PHP_BIT[0]==1){
$o_smarty->display('CON111.tpl');
}else{
$o_smarty->display('CON999.tpl');
}
?>