Commit 05cec795c5c3f13d12b3bba1c5e9f31c5668a54f

Authored by EC2 Default User
1 parent 8ea8a7cc

diff commit

1 1 temp/
2 2 templates_c/
  3 +
... ...
1   -<?php
2   -//*****************************************************************************
3   -//*
4   -//* プログラム名:掲示板
5   -//* プログラムID:BBS001.php
6   -//* 機能 :掲示板一覧画面
7   -//* 作成者 :
8   -//*
9   -//*****************************************************************************
10   -header("Content-type: text/html; charset=EUC-JP");
11   -
12   -//***************************
13   -//* インクルードファイル
14   -//***************************
15   -include("include/session_start.inc");
16   -include("include/SessionChk.inc");
17   -include("include/STRING.inc");
18   -include("inc/Advertisement.inc");
19   -include('./include/smarty.conf');
20   -
21   -include("inc/header.inc");
22   -include("inc/input_chk.inc");
23   -
24   -//**** メニュー ****//
25   -include("menu_opacity.php");
26   -
27   -include("./include/dbcon.inc"); //DB接続
28   -
29   -include("inc/BBS001.inc");
30   -
31   -$o_smarty = new Smarty;
32   -$o_smarty->clear_all_assign();
33   -
34   -$strTempPath="temp/".$PHP_FOLDER_NAME."/bbs/";
35   -
36   -if (empty($intPage)){
37   - $intPage=0;
38   -}
39   -
40   -//掲示期限超過掲示板削除
41   -$strSQL="select seq, filename from bbs_tbl where period is not null and period < '".date("YmdHi")."'";
42   -$objRecSet = pg_exec($strSQL);
43   -if($objRecSet==false){
44   - echo("SQL実行に失敗しました(SELECT)");
45   - exit;
46   -}
47   -if(pg_numrows($objRecSet) > 0){
48   - for($i=0;$i<pg_numrows($objRecSet);$i++){
49   - $objFtc = pg_fetch_object($objRecSet, $i);
50   - //添付ファイル削除
51   - if(trim($objFtc->filename) != ""){
52   - if(file_exists($strTempPath.($objFtc->filename)) == true){
53   - $ret = unlink($strTempPath.($objFtc->filename));
54   - if($ret==false){
55   - echo("ファイル削除に失敗しました");
56   - exit;
57   - }
58   - }
59   - }
60   - //掲示板削除
61   - $strSQL2="delete from bbs_tbl where seq = ".($objFtc->seq);
62   - $objRecSet2 = pg_exec($strSQL2);
63   - if($objRecSet2==false){
64   - echo("SQL実行に失敗しました(DELETE)");
65   - exit;
66   - }
67   - //掲示板個人データ削除
68   - $strSQL2="delete from pbbs_tbl where seq = ".($objFtc->seq);
69   - $objRecSet2 = pg_exec($strSQL2);
70   - if($objRecSet2==false){
71   - echo("SQL実行に失敗しました(DELETE)");
72   - exit;
73   - }
74   - }
75   -}
76   -
77   -$o_smarty->assign('PageBack',$PageBack);
78   -$o_smarty->assign('PageNext',$PageNext);
79   -$o_smarty->assign('intPage',$intPage);
80   -
81   -$o_smarty->assign('PHP_TITLE_NAME',$PHP_TITLE_NAME[8]);
82   -
83   -//無料版ダウンロードボタン制御
84   -$o_smarty->assign('PHP_MODE_FLG',$PHP_MODE_FLG);
85   -
86   -$o_smarty->display('BBS001.tpl');
87   -
88   -?>
  1 +<?php
  2 +//*****************************************************************************
  3 +//*
  4 +//* プログラム名:掲示板
  5 +//* プログラムID:BBS001.php
  6 +//* 機能 :掲示板一覧画面
  7 +//* 作成者 :
  8 +//*
  9 +//*****************************************************************************
  10 +header("Content-type: text/html; charset=EUC-JP");
  11 +
  12 +//***************************
  13 +//* インクルードファイル
  14 +//***************************
  15 +include("include/session_start.inc");
  16 +include("include/SessionChk.inc");
  17 +include("include/STRING.inc");
  18 +include("inc/Advertisement.inc");
  19 +include('./include/smarty.conf');
  20 +
  21 +include("inc/header.inc");
  22 +include("inc/input_chk.inc");
  23 +
  24 +//**** メニュー ****//
  25 +include("menu_opacity.php");
  26 +
  27 +include("./include/dbcon.inc"); //DB接続
  28 +
  29 +include("inc/BBS001.inc");
  30 +
  31 +$o_smarty = new Smarty;
  32 +$o_smarty->clear_all_assign();
  33 +
  34 +$strTempPath="temp/".$PHP_FOLDER_NAME."/bbs/";
  35 +
  36 +if (empty($intPage)){
  37 + $intPage=0;
  38 +}
  39 +
  40 +//掲示期限超過掲示板削除
  41 +$strSQL="select * from bbs_tbl where period is not null and period < '".date("YmdHi")."'";
  42 +$objRecSet = pg_exec($strSQL);
  43 +if($objRecSet==false){
  44 + echo("SQL実行に失敗しました(SELECT)");
  45 + exit;
  46 +}
  47 +if(pg_numrows($objRecSet) > 0){
  48 + for($i=0;$i<pg_numrows($objRecSet);$i++){
  49 + $objFtc = pg_fetch_object($objRecSet, $i);
  50 + //添付ファイル削除
  51 + if(trim($objFtc->filename) != ""){
  52 + if(file_exists($strTempPath.($objFtc->filename)) == true){
  53 + $ret = unlink($strTempPath.($objFtc->filename));
  54 + if($ret==false){
  55 + echo("ファイル削除に失敗しました");
  56 + exit;
  57 + }
  58 + }
  59 + }
  60 +
  61 + $Log1[$i]=$objFtc->voicedate;
  62 + $Log2[$i]=$objFtc->voicetime;
  63 + $Log3[$i]=$objFtc->title;
  64 + $Log4[$i]=$objFtc->message;
  65 + $Log5[$i]=$objFtc->period;
  66 +
  67 + //掲示板削除
  68 + $strSQL2="delete from bbs_tbl where seq = ".($objFtc->seq);
  69 + $objRecSet2 = pg_exec($strSQL2);
  70 + if($objRecSet2==false){
  71 + echo("SQL実行に失敗しました(DELETE)");
  72 + exit;
  73 + }
  74 + //掲示板個人データ削除
  75 + $strSQL2="delete from pbbs_tbl where seq = ".($objFtc->seq);
  76 + $objRecSet2 = pg_exec($strSQL2);
  77 + if($objRecSet2==false){
  78 + echo("SQL実行に失敗しました(DELETE)");
  79 + exit;
  80 + }
  81 + }
  82 +}
  83 +
  84 +//クレーム対応Log
  85 +include("./include/dbcon_group.inc"); //DB接続
  86 +for ($intCnt = 0; $intCnt < count($Log1); $intCnt++){
  87 + $strSQLIns = "Insert Into bbs_delete_history " .
  88 + "(delete_date,group_name,voicedate,voicetime,title,message,period,delete_user) " .
  89 + "values (" .
  90 + "'".date("YmdHi")."',".
  91 + "'$PHP_GROUP_NAME',".
  92 + "'".$Log1[$intCnt]."',".
  93 + "'".$Log2[$intCnt]."',".
  94 + "'".$Log3[$intCnt]."',".
  95 + "'".$Log4[$intCnt]."',".
  96 + "'".$Log5[$intCnt]."',".
  97 + "'auto')";
  98 + $objRecSetIns = pg_exec($strSQLIns);
  99 + if($objRecSetIns==false){
  100 + echo("SQL実行に失敗しました(INSERT)");
  101 + exit;
  102 + }
  103 +}
  104 +
  105 +
  106 +$o_smarty->assign('PageBack',$PageBack);
  107 +$o_smarty->assign('PageNext',$PageNext);
  108 +$o_smarty->assign('intPage',$intPage);
  109 +
  110 +$o_smarty->assign('PHP_TITLE_NAME',$PHP_TITLE_NAME[8]);
  111 +
  112 +//無料版ダウンロードボタン制御
  113 +$o_smarty->assign('PHP_MODE_FLG',$PHP_MODE_FLG);
  114 +
  115 +$o_smarty->display('BBS001.tpl');
  116 +
  117 +?>
... ...
1   -<?php
2   -//*****************************************************************************
3   -//*
4   -//* プログラム名:削除
5   -//* プログラムID:BBS006.php
6   -//* 機能 :削除
7   -//* 作成者 :
8   -//*
9   -//*****************************************************************************
10   -
11   -header("Content-type: text/html; charset=EUC-JP");
12   -
13   -include("include/dbcon.inc");
14   -include("include/session_start.inc");
15   -include("include/SessionChk.inc");
16   -$strTempPath="temp/".$PHP_FOLDER_NAME."/bbs/";
17   -
18   -$strSQL="";
19   -$objRec="null";
20   -
21   -//削除
22   -$strSQL = "select filename from bbs_tbl where seq = $seq";
23   -$objRec = pg_exec($strSQL);
24   -if($objRec==false){
25   - echo("SQL実行に失敗しました(SELECT)");
26   - exit;
27   -}
28   -$objftc = pg_fetch_object($objRec, 0);
29   -if(trim($objftc->filename) != ""){
30   - if(file_exists($strTempPath.trim($objftc->filename))){
31   - $ret = unlink($strTempPath.trim($objftc->filename));
32   - if($ret==false){
33   - echo("ファイル削除に失敗しました");
34   - exit;
35   - }
36   - }
37   -}
38   -
39   -$strSQL = "Delete FROM bbs_tbl WHERE seq = $seq";
40   -$objRec = pg_exec($strSQL);
41   -if($objRec==false){
42   - echo("SQL実行に失敗しました(Delete)");
43   - exit;
44   -}
45   -
46   -$strSQL = "Delete FROM pbbs_tbl WHERE seq = $seq";
47   -$objRec = pg_exec($strSQL);
48   -if($objRec==false){
49   - echo("SQL実行に失敗しました(Delete)");
50   - exit;
51   -}
52   -?>
  1 +<?php
  2 +//*****************************************************************************
  3 +//*
  4 +//* プログラム名:削除
  5 +//* プログラムID:BBS006.php
  6 +//* 機能 :削除
  7 +//* 作成者 :
  8 +//*
  9 +//*****************************************************************************
  10 +
  11 +header("Content-type: text/html; charset=EUC-JP");
  12 +
  13 +include("include/dbcon.inc");
  14 +include("include/session_start.inc");
  15 +include("include/SessionChk.inc");
  16 +$strTempPath="temp/".$PHP_FOLDER_NAME."/bbs/";
  17 +
  18 +$strSQL="";
  19 +$objRec="null";
  20 +
  21 +//削除
  22 +$strSQL = "select * from bbs_tbl where seq = $seq";
  23 +$objRec = pg_exec($strSQL);
  24 +if($objRec==false){
  25 + echo("SQL実行に失敗しました(SELECT)");
  26 + exit;
  27 +}
  28 +$objftc = pg_fetch_object($objRec, 0);
  29 +$Log1=$objftc->voicedate;
  30 +$Log2=$objftc->voicetime;
  31 +$Log3=$objftc->title;
  32 +$Log4=$objftc->message;
  33 +$Log5=$objftc->period;
  34 +
  35 +if(trim($objftc->filename) != ""){
  36 + if(file_exists($strTempPath.trim($objftc->filename))){
  37 + $ret = unlink($strTempPath.trim($objftc->filename));
  38 + if($ret==false){
  39 + echo("ファイル削除に失敗しました");
  40 + exit;
  41 + }
  42 + }
  43 +}
  44 +
  45 +$strSQL = "Delete FROM bbs_tbl WHERE seq = $seq";
  46 +$objRec = pg_exec($strSQL);
  47 +if($objRec==false){
  48 + echo("SQL実行に失敗しました(Delete)");
  49 + exit;
  50 +}
  51 +
  52 +$strSQL = "Delete FROM pbbs_tbl WHERE seq = $seq";
  53 +$objRec = pg_exec($strSQL);
  54 +if($objRec==false){
  55 + echo("SQL実行に失敗しました(Delete)");
  56 + exit;
  57 +}
  58 +
  59 +//クレーム対応Log
  60 +include("./include/dbcon_group.inc"); //DB接続
  61 +$strSQLIns = "Insert Into bbs_delete_history " .
  62 + "(delete_date,group_name,voicedate,voicetime,title,message,period,delete_user) " .
  63 + "values (" .
  64 + "'".date("YmdHi")."',".
  65 + "'$PHP_GROUP_NAME',".
  66 + "'".$Log1."',".
  67 + "'".$Log2."',".
  68 + "'".$Log3."',".
  69 + "'".$Log4."',".
  70 + "'".$Log5."',".
  71 + "'".$PHP_SYAIN_NAME."')";
  72 +$objRecSetIns = pg_exec($strSQLIns);
  73 +if($objRecSetIns==false){
  74 + echo("SQL実行に失敗しました(INSERT)");
  75 + exit;
  76 +}
  77 +
  78 +?>
... ...
1   -<?php
2   -//*****************************************************************************
3   -//*
4   -//* プログラム名:管理者設定
5   -//* プログラムID:CON020.php
6   -//* 機能 :フォルダ容量表示画面
7   -//* 作成者 :
8   -//*
9   -//*****************************************************************************
10   -header("Content-type: text/html; charset=EUC-JP");
11   -
12   -//***************************
13   -//* インクルードファイル
14   -//***************************
15   -include("./include/session_start.inc");
16   -include("./include/SessionChk.inc");
17   -
18   -//***************************
19   -//* 画面制御
20   -//***************************
21   -include('./include/smarty.conf');
22   -include("./inc/header.inc");
23   -include("./inc/input_chk.inc");
24   -
25   -include("./menu_opacity.php"); //メニュー
26   -
27   -
28   -//*** 添付ファイル容量の取得 ***
29   -include("./include/dbcon_group.inc"); //DB接続
30   -$strSQL = "SELECT * FROM maxuser_tbl WHERE group_id='$PHP_FOLDER_NAME'";
31   -$objRec = pg_exec($strSQL);
32   -if($objRec==false){
33   - echo("SQL実行に失敗しました(SELECT)");
34   - exit;
35   -}
36   -$objData = pg_fetch_object($objRec, 0);
37   -$Max_CAPA = $objData->max_size;
38   -$o_smarty->assign('Max_CAPA',$Max_CAPA);
39   -
40   -//***************************
41   -//* 画面制御
42   -//***************************
43   -include("./include/dbcon.inc"); //DB接続
44   -
45   -if ($PHP_BIT[0]!=1){
46   - echo "<br><br><br>";
47   - echo "<a href='TOP000.php'><span class='Normalfont'>マスタ変更権限がありません</span></a>";
48   - echo "<br><br><br>";
49   - echo "<form name='e_gru'></form>";
50   - include("include/copyright.inc");
51   - exit;
52   -}
53   -$intFILE_SIZE[0]=0;
54   -$intFILE_SIZE[1]=0;
55   -$intFILE_SIZE[2]=0;
56   -$intFILE_SIZE[3]=0;
57   -$intFILE_SIZE[4]=0;
58   -$intFILE_SIZE[5]=0;
59   -$intFILE_SIZE[6]=0;
60   -$intFILE_SIZE[7]=0;
61   -$intFILE_SIZE[8]=0;
62   -$intFILE_SIZE[9]=0;
63   -
64   -//*** 掲示板***
65   -$lst = "temp/".$PHP_FOLDER_NAME."/bbs"; // 表示するリストの名前(パス)
66   -$drc=dir($lst);
67   -while($fl=$drc->read()) {
68   - $lfl = $lst."/".$fl;
69   - $din = pathinfo($lfl);
70   - if(is_dir($lfl) && ($fl!=".." && $fl!=".")){
71   - } else if($fl!=".." && $fl!=".") {
72   - // ファイルサイズ
73   - $intFILE_SIZE[0]=intval($intFILE_SIZE[0])+round(filesize($lfl)/1024);
74   - }
75   -}
76   -$drc->close();
77   -$strFILE_Name[0] = $PHP_TITLE_NAME[8];
78   -$FILE_Flg[0] = "0";
79   -
80   -//*** 回覧板***
81   -$lst = "temp/".$PHP_FOLDER_NAME."/kairan"; // 表示するリストの名前(パス)
82   -$drc=dir($lst);
83   -while($fl=$drc->read()) {
84   - $lfl = $lst."/".$fl;
85   - $din = pathinfo($lfl);
86   - if(is_dir($lfl) && ($fl!=".." && $fl!=".")){
87   - } else if($fl!=".." && $fl!=".") {
88   - // ファイルサイズ
89   - $intFILE_SIZE[1]=intval($intFILE_SIZE[1])+round(filesize($lfl)/1024);
90   - }
91   -}
92   -$drc->close();
93   -$strFILE_Name[1]=$PHP_TITLE_NAME[7];
94   -$FILE_Flg[1] = "3";
95   -
96   -//*** 電子会議***
97   -$lst = "temp/".$PHP_FOLDER_NAME."/kaigi"; // 表示するリストの名前(パス)
98   -$drc=dir($lst);
99   -while($fl=$drc->read()) {
100   - $lfl = $lst."/".$fl;
101   - $din = pathinfo($lfl);
102   - if(is_dir($lfl) && ($fl!=".." && $fl!=".")){
103   - } else if($fl!=".." && $fl!=".") {
104   - // ファイルサイズ
105   - $intFILE_SIZE[2]=intval($intFILE_SIZE[2])+round(filesize($lfl)/1024);
106   - }
107   -}
108   -$drc->close();
109   -$strFILE_Name[2]=$PHP_TITLE_NAME[9];
110   -$FILE_Flg[2] = "0";
111   -
112   -//*** 電子決裁***
113   -$lst = "temp/".$PHP_FOLDER_NAME."/sinsei"; // 表示するリストの名前(パス)
114   -$drc=dir($lst);
115   -while($fl=$drc->read()) {
116   - $lfl = $lst."/".$fl;
117   - $din = pathinfo($lfl);
118   - if(is_dir($lfl) && ($fl!=".." && $fl!=".")){
119   - } else if($fl!=".." && $fl!=".") {
120   - // ファイルサイズ
121   - $intFILE_SIZE[3]=intval($intFILE_SIZE[3])+round(filesize($lfl)/1024);
122   - }
123   -}
124   -$drc->close();
125   -$strFILE_Name[3]=$PHP_TITLE_NAME[10];
126   -$FILE_Flg[3] = "4";
127   -
128   -//*** マイ・データ ***//
129   -$lst = "temp/".$PHP_FOLDER_NAME."/siryou"; // 表示するリストの名前(パス)
130   -$drc=dir($lst);
131   -while($fl=$drc->read()) {
132   - $lfl = $lst."/".$fl;
133   - $din = pathinfo($lfl);
134   - if(is_dir($lfl) && ($fl!=".." && $fl!=".")){
135   - } else if($fl!=".." && $fl!=".") {
136   - // ファイルサイズ
137   - $intFILE_SIZE[4]=intval($intFILE_SIZE[4])+round(filesize($lfl)/1024);
138   - }
139   -}
140   -$drc->close();
141   -$strFILE_Name[4]=$PHP_TITLE_NAME[11];
142   -$FILE_Flg[4] = "2";
143   -
144   -//*** webメール***
145   -$lst = "temp/".$PHP_FOLDER_NAME."/mail"; // 表示するリストの名前(パス)
146   -$drc=dir($lst);
147   -while($fl=$drc->read()) {
148   - $lfl = $lst."/".$fl;
149   - $din = pathinfo($lfl);
150   - if(is_dir($lfl) && ($fl!=".." && $fl!=".")){
151   - } else if($fl!=".." && $fl!=".") {
152   - // ファイルサイズ
153   - $intFILE_SIZE[5]=intval($intFILE_SIZE[5])+round(filesize($lfl)/1024);
154   - }
155   -}
156   -$drc->close();
157   -$strFILE_Name[5]=$PHP_TITLE_NAME[13]."【受信】";
158   -$FILE_Flg[5] = "1";
159   -
160   -//mail_send
161   -$lst = "temp/".$PHP_FOLDER_NAME."/mail_send"; // 表示するリストの名前(パス)
162   -$drc=dir($lst);
163   -while($fl=$drc->read()) {
164   - $lfl = $lst."/".$fl;
165   - $din = pathinfo($lfl);
166   - if(is_dir($lfl) && ($fl!=".." && $fl!=".")){
167   - } else if($fl!=".." && $fl!=".") {
168   - // ファイルサイズ
169   - $intFILE_SIZE[6]=intval($intFILE_SIZE[6])+round(filesize($lfl)/1024);
170   - }
171   -}
172   -$drc->close();
173   -$strFILE_Name[6]=$PHP_TITLE_NAME[13]."【送信】";;
174   -$FILE_Flg[6] = "5";
175   -
176   -//gyoumu
177   -$lst = "temp/".$PHP_FOLDER_NAME."/gyoumu"; // 表示するリストの名前(パス)
178   -$drc=dir($lst);
179   -while($fl=$drc->read()) {
180   - $lfl = $lst."/".$fl;
181   - $din = pathinfo($lfl);
182   - if(is_dir($lfl) && ($fl!=".." && $fl!=".")){
183   - } else if($fl!=".." && $fl!=".") {
184   - // ファイルサイズ
185   - $intFILE_SIZE[7]=intval($intFILE_SIZE[7])+round(filesize($lfl)/1024);
186   - }
187   -}
188   -$drc->close();
189   -$strFILE_Name[7]=$PHP_TITLE_NAME[5];
190   -$FILE_Flg[7] = "0";
191   -
192   -//PRJ
193   -$lst = "temp/".$PHP_FOLDER_NAME."/PRJ"; // 表示するリストの名前(パス)
194   -$drc=dir($lst);
195   -while($fl=$drc->read()) {
196   - $lfl = $lst."/".$fl;
197   - $din = pathinfo($lfl);
198   - if(is_dir($lfl) && ($fl!=".." && $fl!=".")){
199   - } else if($fl!=".." && $fl!=".") {
200   - // ファイルサイズ
201   - $intFILE_SIZE[8]=intval($intFILE_SIZE[8])+round(filesize($lfl)/1024);
202   - }
203   -}
204   -$drc->close();
205   -$strFILE_Name[8]=$PHP_TITLE_NAME[17];
206   -$FILE_Flg[8] = "0";
207   -
208   -//RPT
209   -$lst = "temp/".$PHP_FOLDER_NAME."/RPT"; // 表示するリストの名前(パス)
210   -$drc=dir($lst);
211   -while($fl=$drc->read()) {
212   - $lfl = $lst."/".$fl;
213   - $din = pathinfo($lfl);
214   - if(is_dir($lfl) && ($fl!=".." && $fl!=".")){
215   - } else if($fl!=".." && $fl!=".") {
216   - // ファイルサイズ
217   - $intFILE_SIZE[9]=intval($intFILE_SIZE[9])+round(filesize($lfl)/1024);
218   - }
219   -}
220   -$drc->close();
221   -$strFILE_Name[9]=$PHP_TITLE_NAME[4];
222   -$FILE_Flg[9] = "0";
223   -
224   -$intFILE_SIZE[0]=((int)((intval($intFILE_SIZE[0])/1024)*100))/100;
225   -$intFILE_SIZE[1]=((int)((intval($intFILE_SIZE[1])/1024)*100))/100;
226   -$intFILE_SIZE[2]=((int)((intval($intFILE_SIZE[2])/1024)*100))/100;
227   -$intFILE_SIZE[3]=((int)((intval($intFILE_SIZE[3])/1024)*100))/100;
228   -$intFILE_SIZE[4]=((int)((intval($intFILE_SIZE[4])/1024)*100))/100;
229   -$intFILE_SIZE[5]=((int)((intval($intFILE_SIZE[5])/1024)*100))/100;
230   -$intFILE_SIZE[6]=((int)((intval($intFILE_SIZE[6])/1024)*100))/100;
231   -$intFILE_SIZE[7]=((int)((intval($intFILE_SIZE[7])/1024)*100))/100;
232   -$intFILE_SIZE[8]=((int)((intval($intFILE_SIZE[8])/1024)*100))/100;
233   -$intFILE_SIZE[9]=((int)((intval($intFILE_SIZE[9])/1024)*100))/100;
234   -$intMaxFILE_SIZE=$intFILE_SIZE[0]+$intFILE_SIZE[1]+$intFILE_SIZE[2]+$intFILE_SIZE[3]+$intFILE_SIZE[4]+$intFILE_SIZE[5]+$intFILE_SIZE[6]+$intFILE_SIZE[7]+$intFILE_SIZE[8]+$intFILE_SIZE[9];
235   -
236   -$o_smarty->assign('intFILE_SIZE',$intFILE_SIZE);
237   -$o_smarty->assign('strFILE_Name',$strFILE_Name);
238   -$o_smarty->assign('FILE_Flg' ,$FILE_Flg);
239   -$o_smarty->assign('intMaxFILE_SIZE',$intMaxFILE_SIZE);
240   -
241   -
242   -if ($PHP_BIT[0]==1){
243   - $o_smarty->display('CON020.tpl');
244   -}else{
245   - $o_smarty->display('CON999.tpl');
246   -}
247   -
248   -
249   -?>
  1 +<?php
  2 +//*****************************************************************************
  3 +//*
  4 +//* プログラム名:管理者設定
  5 +//* プログラムID:CON020.php
  6 +//* 機能 :フォルダ容量表示画面
  7 +//* 作成者 :
  8 +//*
  9 +//*****************************************************************************
  10 +header("Content-type: text/html; charset=EUC-JP");
  11 +
  12 +//***************************
  13 +//* インクルードファイル
  14 +//***************************
  15 +include("./include/session_start.inc");
  16 +include("./include/SessionChk.inc");
  17 +
  18 +//***************************
  19 +//* 画面制御
  20 +//***************************
  21 +include('./include/smarty.conf');
  22 +include("./inc/header.inc");
  23 +include("./inc/input_chk.inc");
  24 +
  25 +include("./menu_opacity.php"); //メニュー
  26 +
  27 +
  28 +//*** 添付ファイル容量の取得 ***
  29 +include("./include/dbcon_group.inc"); //DB接続
  30 +$strSQL = "SELECT * FROM maxuser_tbl WHERE group_id='$PHP_FOLDER_NAME'";
  31 +$objRec = pg_exec($strSQL);
  32 +if($objRec==false){
  33 + echo("SQL実行に失敗しました(SELECT)");
  34 + exit;
  35 +}
  36 +$objData = pg_fetch_object($objRec, 0);
  37 +$Max_CAPA = $objData->max_size;
  38 +$o_smarty->assign('Max_CAPA',$Max_CAPA);
  39 +
  40 +//***************************
  41 +//* 画面制御
  42 +//***************************
  43 +include("./include/dbcon.inc"); //DB接続
  44 +
  45 +if ($PHP_BIT[0]!=1){
  46 + echo "<br><br><br>";
  47 + echo "<a href='TOP000.php'><span class='Normalfont'>マスタ変更権限がありません</span></a>";
  48 + echo "<br><br><br>";
  49 + echo "<form name='e_gru'></form>";
  50 + include("include/copyright.inc");
  51 + exit;
  52 +}
  53 +$intFILE_SIZE[0]=0;
  54 +$intFILE_SIZE[1]=0;
  55 +$intFILE_SIZE[2]=0;
  56 +$intFILE_SIZE[3]=0;
  57 +$intFILE_SIZE[4]=0;
  58 +$intFILE_SIZE[5]=0;
  59 +$intFILE_SIZE[6]=0;
  60 +$intFILE_SIZE[7]=0;
  61 +$intFILE_SIZE[8]=0;
  62 +$intFILE_SIZE[9]=0;
  63 +
  64 +//*** 掲示板***
  65 +$lst = "temp/".$PHP_FOLDER_NAME."/bbs"; // 表示するリストの名前(パス)
  66 +$drc=dir($lst);
  67 +while($fl=$drc->read()) {
  68 + $lfl = $lst."/".$fl;
  69 + $din = pathinfo($lfl);
  70 + if(is_dir($lfl) && ($fl!=".." && $fl!=".")){
  71 + } else if($fl!=".." && $fl!=".") {
  72 + // ファイルサイズ
  73 + $intFILE_SIZE[0]=intval($intFILE_SIZE[0])+round(filesize($lfl)/1024);
  74 + }
  75 +}
  76 +$drc->close();
  77 +$strFILE_Name[0] = $PHP_TITLE_NAME[8];
  78 +$FILE_Flg[0] = "0";
  79 +
  80 +//*** 回覧板***
  81 +$lst = "temp/".$PHP_FOLDER_NAME."/kairan"; // 表示するリストの名前(パス)
  82 +$drc=dir($lst);
  83 +while($fl=$drc->read()) {
  84 + $lfl = $lst."/".$fl;
  85 + $din = pathinfo($lfl);
  86 + if(is_dir($lfl) && ($fl!=".." && $fl!=".")){
  87 + } else if($fl!=".." && $fl!=".") {
  88 + // ファイルサイズ
  89 + $intFILE_SIZE[1]=intval($intFILE_SIZE[1])+round(filesize($lfl)/1024);
  90 + }
  91 +}
  92 +$drc->close();
  93 +$strFILE_Name[1]=$PHP_TITLE_NAME[7];
  94 +$FILE_Flg[1] = "3";
  95 +
  96 +//*** 電子会議***
  97 +$lst = "temp/".$PHP_FOLDER_NAME."/kaigi"; // 表示するリストの名前(パス)
  98 +$drc=dir($lst);
  99 +while($fl=$drc->read()) {
  100 + $lfl = $lst."/".$fl;
  101 + $din = pathinfo($lfl);
  102 + if(is_dir($lfl) && ($fl!=".." && $fl!=".")){
  103 + } else if($fl!=".." && $fl!=".") {
  104 + // ファイルサイズ
  105 + $intFILE_SIZE[2]=intval($intFILE_SIZE[2])+round(filesize($lfl)/1024);
  106 + }
  107 +}
  108 +$drc->close();
  109 +$strFILE_Name[2]=$PHP_TITLE_NAME[9];
  110 +$FILE_Flg[2] = "0";
  111 +
  112 +//*** 電子決裁***
  113 +$strSQL = "SELECT";
  114 +$strSQL .= " syain_tbl.syain_cd , ";
  115 +$strSQL .= " syain_tbl.name_kj_sei , ";
  116 +$strSQL .= " syain_tbl.name_kj_mei , ";
  117 +$strSQL .= " count(*) as dt_count ";
  118 +$strSQL .= "FROM";
  119 +$strSQL .= " syain_tbl ,";
  120 +$strSQL .= " sinsei_tbl ";
  121 +$strSQL .= "WHERE ";
  122 +$strSQL .= " syain_tbl.syain_cd = sinsei_tbl.syain_cd ";
  123 +$strSQL .= "GROUP BY ";
  124 +$strSQL .= " syain_tbl.syain_cd ,";
  125 +$strSQL .= " syain_tbl.name_kj_sei,";
  126 +$strSQL .= " syain_tbl.name_kj_mei,";
  127 +$strSQL .= " syain_tbl.disp_rank ";
  128 +$strSQL .= "ORDER BY ";
  129 +$strSQL .= " syain_tbl.disp_rank";
  130 +$objRec = pg_exec($strSQL);
  131 +if($objRec==false){
  132 + echo("SQL実行に失敗しました(SELECT)");
  133 + exit;
  134 +}
  135 +
  136 +$intSet = 0;
  137 +for ($intI=0; $intI < pg_numrows($objRec); $intI++){
  138 + $objData = pg_fetch_object($objRec, $intI);
  139 +
  140 + $File_Size = 0;
  141 + $strSQL = "SELECT";
  142 + $strSQL .= " * ";
  143 + $strSQL .= "FROM ";
  144 + $strSQL .= " sinsei_tbl ";
  145 + $strSQL .= "WHERE ";
  146 + $strSQL .= " syain_cd = '".$objData->syain_cd."' ";
  147 + $objFlRec = pg_exec($strSQL);
  148 + if($objFlRec==false){
  149 + echo("SQL実行に失敗しました(SELECT)");
  150 + exit;
  151 + }
  152 +
  153 + for ($intJ=0; $intJ < pg_numrows($objFlRec); $intJ++){
  154 + $objFLData = pg_fetch_object($objFlRec, $intJ);
  155 + $File_Name = "./temp/".$PHP_FOLDER_NAME."/sinsei/".$objFLData->file_name;
  156 + if ($objFLData->file_name!=""){
  157 + if(file_exists($File_Name)){
  158 + $File_Size = $File_Size+filesize($File_Name);
  159 + }
  160 + }
  161 + }
  162 +
  163 + if ($File_Size!=0){
  164 + $User_Data[$intSet][2] = 0;
  165 + $User_Data[$intSet][2] = round((round($File_Size/1024)/1024)*100)/100;
  166 + $intFILE_SIZE[3] = $intFILE_SIZE[3]+$User_Data[$intSet][2];
  167 + }
  168 +}
  169 +
  170 +/*
  171 +$lst = "temp/".$PHP_FOLDER_NAME."/sinsei"; // 表示するリストの名前(パス)
  172 +$drc=dir($lst);
  173 +while($fl=$drc->read()) {
  174 + $lfl = $lst."/".$fl;
  175 + $din = pathinfo($lfl);
  176 + if(is_dir($lfl) && ($fl!=".." && $fl!=".")){
  177 + } else if($fl!=".." && $fl!=".") {
  178 + // ファイルサイズ
  179 + $intFILE_SIZE[3]=intval($intFILE_SIZE[3])+round(filesize($lfl)/1024);
  180 + }
  181 +}
  182 +$drc->close();
  183 +*/
  184 +$strFILE_Name[3]=$PHP_TITLE_NAME[10];
  185 +$FILE_Flg[3] = "4";
  186 +
  187 +//*** マイ・データ ***//
  188 +$lst = "temp/".$PHP_FOLDER_NAME."/siryou"; // 表示するリストの名前(パス)
  189 +$drc=dir($lst);
  190 +while($fl=$drc->read()) {
  191 + $lfl = $lst."/".$fl;
  192 + $din = pathinfo($lfl);
  193 + if(is_dir($lfl) && ($fl!=".." && $fl!=".")){
  194 + } else if($fl!=".." && $fl!=".") {
  195 + // ファイルサイズ
  196 + $intFILE_SIZE[4]=intval($intFILE_SIZE[4])+round(filesize($lfl)/1024);
  197 + }
  198 +}
  199 +$drc->close();
  200 +$strFILE_Name[4]=$PHP_TITLE_NAME[11];
  201 +$FILE_Flg[4] = "2";
  202 +
  203 +//*** webメール***
  204 +$strSQL = "SELECT";
  205 +$strSQL .= " syain_tbl.syain_cd , ";
  206 +$strSQL .= " syain_tbl.name_kj_sei , ";
  207 +$strSQL .= " syain_tbl.name_kj_mei , ";
  208 +$strSQL .= " sum(cast(mail_size as int8)) as size_total, ";
  209 +$strSQL .= " count(*) as mail_total ";
  210 +$strSQL .= "FROM ";
  211 +$strSQL .= " syain_tbl , ";
  212 +$strSQL .= " mail_get_tbl ";
  213 +$strSQL .= "WHERE ";
  214 +$strSQL .= " syain_tbl.syain_cd = mail_get_tbl.syain_cd AND ";
  215 +$strSQL .= " syain_tbl.del_flg = true AND ";
  216 +$strSQL .= " mail_get_tbl.del_flg = 0 ";
  217 +$strSQL .= "GROUP BY ";
  218 +$strSQL .= " syain_tbl.syain_cd , ";
  219 +$strSQL .= " syain_tbl.disp_rank , ";
  220 +$strSQL .= " syain_tbl.name_kj_sei, ";
  221 +$strSQL .= " syain_tbl.name_kj_mei ";
  222 +$strSQL .= "ORDER BY ";
  223 +$strSQL .= " syain_tbl.disp_rank";
  224 +//echo $strSQL;
  225 +$objRec = pg_exec($strSQL);
  226 +if($objRec==false){
  227 + echo("SQL実行に失敗しました(SELECT)");
  228 + exit;
  229 +}
  230 +$Total_Size = 0;
  231 +for ($intI=0; $intI < pg_numrows($objRec); $intI++){
  232 + $objData = pg_fetch_object($objRec, $intI);
  233 + $User_Data[$intI][2] = 0;
  234 +
  235 + foreach (glob("temp/".$PHP_FOLDER_NAME."/mail/".$objData->syain_cd."-*") as $filename) {
  236 + $size_tmp = round(filesize($filename)/1024);
  237 + $size_tmp = round(($size_tmp/1024)*100)/100;
  238 + //echo $size_tmp."<br>";
  239 + $User_Data[$intI][2] = $User_Data[$intI][2]+$size_tmp;
  240 + }
  241 + $Total_Size = $Total_Size+$User_Data[$intI][2];
  242 +}
  243 +$intFILE_SIZE[5]=$Total_Size;
  244 +/*
  245 +$lst = "temp/".$PHP_FOLDER_NAME."/mail"; // 表示するリストの名前(パス)
  246 +$drc=dir($lst);
  247 +while($fl=$drc->read()) {
  248 + $lfl = $lst."/".$fl;
  249 + $din = pathinfo($lfl);
  250 + if(is_dir($lfl) && ($fl!=".." && $fl!=".")){
  251 + } else if($fl!=".." && $fl!=".") {
  252 + // ファイルサイズ
  253 + $intFILE_SIZE[5]=intval($intFILE_SIZE[5])+round(filesize($lfl)/1024);
  254 + }
  255 +}
  256 +$drc->close();
  257 +*/
  258 +$strFILE_Name[5]=$PHP_TITLE_NAME[13]."【受信】";
  259 +$FILE_Flg[5] = "1";
  260 +
  261 +//mail_send
  262 +$lst = "temp/".$PHP_FOLDER_NAME."/mail_send"; // 表示するリストの名前(パス)
  263 +$drc=dir($lst);
  264 +while($fl=$drc->read()) {
  265 + $lfl = $lst."/".$fl;
  266 + $din = pathinfo($lfl);
  267 + if(is_dir($lfl) && ($fl!=".." && $fl!=".")){
  268 + } else if($fl!=".." && $fl!=".") {
  269 + // ファイルサイズ
  270 + $intFILE_SIZE[6]=intval($intFILE_SIZE[6])+round(filesize($lfl)/1024);
  271 + }
  272 +}
  273 +$drc->close();
  274 +$strFILE_Name[6]=$PHP_TITLE_NAME[13]."【送信】";;
  275 +$FILE_Flg[6] = "5";
  276 +
  277 +//gyoumu
  278 +$lst = "temp/".$PHP_FOLDER_NAME."/gyoumu"; // 表示するリストの名前(パス)
  279 +$drc=dir($lst);
  280 +while($fl=$drc->read()) {
  281 + $lfl = $lst."/".$fl;
  282 + $din = pathinfo($lfl);
  283 + if(is_dir($lfl) && ($fl!=".." && $fl!=".")){
  284 + } else if($fl!=".." && $fl!=".") {
  285 + // ファイルサイズ
  286 + $intFILE_SIZE[7]=intval($intFILE_SIZE[7])+round(filesize($lfl)/1024);
  287 + }
  288 +}
  289 +$drc->close();
  290 +$strFILE_Name[7]=$PHP_TITLE_NAME[5];
  291 +$FILE_Flg[7] = "0";
  292 +
  293 +//PRJ
  294 +$lst = "temp/".$PHP_FOLDER_NAME."/PRJ"; // 表示するリストの名前(パス)
  295 +$drc=dir($lst);
  296 +while($fl=$drc->read()) {
  297 + $lfl = $lst."/".$fl;
  298 + $din = pathinfo($lfl);
  299 + if(is_dir($lfl) && ($fl!=".." && $fl!=".")){
  300 + } else if($fl!=".." && $fl!=".") {
  301 + // ファイルサイズ
  302 + $intFILE_SIZE[8]=intval($intFILE_SIZE[8])+round(filesize($lfl)/1024);
  303 + }
  304 +}
  305 +$drc->close();
  306 +$strFILE_Name[8]=$PHP_TITLE_NAME[17];
  307 +$FILE_Flg[8] = "0";
  308 +
  309 +//RPT
  310 +$lst = "temp/".$PHP_FOLDER_NAME."/RPT"; // 表示するリストの名前(パス)
  311 +$drc=dir($lst);
  312 +while($fl=$drc->read()) {
  313 + $lfl = $lst."/".$fl;
  314 + $din = pathinfo($lfl);
  315 + if(is_dir($lfl) && ($fl!=".." && $fl!=".")){
  316 + } else if($fl!=".." && $fl!=".") {
  317 + // ファイルサイズ
  318 + $intFILE_SIZE[9]=intval($intFILE_SIZE[9])+round(filesize($lfl)/1024);
  319 + }
  320 +}
  321 +$drc->close();
  322 +$strFILE_Name[9]=$PHP_TITLE_NAME[4];
  323 +$FILE_Flg[9] = "0";
  324 +
  325 +$intFILE_SIZE[0]=((int)((intval($intFILE_SIZE[0])/1024)*100))/100;
  326 +$intFILE_SIZE[1]=((int)((intval($intFILE_SIZE[1])/1024)*100))/100;
  327 +$intFILE_SIZE[2]=((int)((intval($intFILE_SIZE[2])/1024)*100))/100;
  328 +//$intFILE_SIZE[3]=((int)((intval($intFILE_SIZE[3])/1024)*100))/100;
  329 +$intFILE_SIZE[4]=((int)((intval($intFILE_SIZE[4])/1024)*100))/100;
  330 +//$intFILE_SIZE[5]=((int)((intval($intFILE_SIZE[5])/1024)*100))/100;
  331 +$intFILE_SIZE[6]=((int)((intval($intFILE_SIZE[6])/1024)*100))/100;
  332 +$intFILE_SIZE[7]=((int)((intval($intFILE_SIZE[7])/1024)*100))/100;
  333 +$intFILE_SIZE[8]=((int)((intval($intFILE_SIZE[8])/1024)*100))/100;
  334 +$intFILE_SIZE[9]=((int)((intval($intFILE_SIZE[9])/1024)*100))/100;
  335 +$intMaxFILE_SIZE=$intFILE_SIZE[0]+$intFILE_SIZE[1]+$intFILE_SIZE[2]+$intFILE_SIZE[3]+$intFILE_SIZE[4]+$intFILE_SIZE[5]+$intFILE_SIZE[6]+$intFILE_SIZE[7]+$intFILE_SIZE[8]+$intFILE_SIZE[9];
  336 +
  337 +$o_smarty->assign('intFILE_SIZE',$intFILE_SIZE);
  338 +$o_smarty->assign('strFILE_Name',$strFILE_Name);
  339 +$o_smarty->assign('FILE_Flg' ,$FILE_Flg);
  340 +$o_smarty->assign('intMaxFILE_SIZE',$intMaxFILE_SIZE);
  341 +
  342 +
  343 +if ($PHP_BIT[0]==1){
  344 + $o_smarty->display('CON020.tpl');
  345 +}else{
  346 + $o_smarty->display('CON999.tpl');
  347 +}
  348 +
  349 +
  350 +?>
... ...
... ... @@ -47,10 +47,10 @@ if (($PW_new!="") && ($PW_now!="")){
47 47 $MailSubject="【E-gruPro】グループパスワード変更(".$kokyaku_name.")";
48 48 $MailSubject = "=?iso-2022-jp?B?" . base64_encode(jcodeconvert($MailSubject, 0, 3)) . "?=";
49 49
50   - $mlto="webmaster@media-tek.co.jp";
  50 + $mlto="aspservice@media-tek.co.jp";
51 51
52 52 $Headers = "Date: ".$GMT_RFC."\n";
53   - $Headers .= "From: webmaster@media-tek.co.jp\n";
  53 + $Headers .= "From: aspservice@media-tek.co.jp\n";
54 54 $Headers .= "Subject: $MailSubject\n";
55 55 $Headers .= "MIME-Version: 1.0\n";
56 56 $Headers .= "X-Mailer: PHP/".phpversion()."\n";
... ... @@ -68,7 +68,7 @@ if (($PW_new!="") && ($PW_now!="")){
68 68 $MailBody=$MailBody."変更後:".$PW_new."\n";
69 69 //$mlms = i18n_convert(stripslashes($MailBody), "JIS");
70 70 $mlms = mb_convert_encoding(stripslashes($MailBody), "JIS", "EUC-JP");
71   - $rcd = mail($mlto, $MailSubject, $mlms, $Headers);
  71 + //$rcd = mail($mlto, $MailSubject, $mlms, $Headers);
72 72
73 73 $strSQL = "DELETE FROM kojin_data_tbl WHERE seq=10";
74 74 $objRec = pg_exec($strSQL);
... ...
... ... @@ -109,7 +109,7 @@ $GMT_RFC = date("D, d M Y H:i:s ").sprintf($GMT_FLG."%02d%02d", $GMT_HOUR, $GMT_
109 109
110 110 $Headers = "Date: ".$GMT_RFC."\n";
111 111 $Mail_Headers .= $strFrom;
112   -$Mail_Headers .= "Bcc: webmaster@media-tek.co.jp\n";
  112 +$Mail_Headers .= "Bcc: aspservice@media-tek.co.jp\n";
113 113 $Mail_Headers .= "Subject: $strSubject\n";
114 114 $Mail_Headers .= "MIME-Version: 1.0\n";
115 115 $Mail_Headers .= "X-Mailer: PHP/".phpversion()."\n";
... ... @@ -159,7 +159,7 @@ $Mail_Body .= "メディアテック株式会社\n";
159 159 $Mail_Body .= "宮城県石巻市開成1番地20\n";
160 160 $Mail_Body .= "TEL:0225-93-2111\n";
161 161 $Mail_Body .= "FAX:0225-93-2055\n";
162   -$Mail_Body .= "Mail:webmaster@media-tek.co.jp\n";
  162 +$Mail_Body .= "Mail:aspservice@media-tek.co.jp\n";
163 163 $Mail_Body .= "URL:http://www.media-tek.co.jp/\n";
164 164 $Mail_Body .= "-----------------------------------------------------\n";
165 165 $Mail_Body = jcodeconvert($Mail_Body,1,3);
... ...
... ... @@ -55,8 +55,9 @@ $reg_time=date("H:i:s");
55 55 $set_time=date("His");
56 56
57 57 //決裁者情報取得
58   -$strSQL="Select sinsei_syubetu,kessaisya_cd1,kessaisya_cd2,kessaisya_cd3,".
59   - "kessaisya_cd4,kessaisya_cd5,kessaisya_num From kessaisya_tbl order By sinsei_syubetu";
  58 +$strSQL="Select kessaisya_tbl.sinsei_syubetu,kessaisya_cd1,kessaisya_cd2,kessaisya_cd3,".
  59 + "kessaisya_cd4,kessaisya_cd5,kessaisya_num From kessaisya_tbl LEFT JOIN mst_sinsei ON kessaisya_tbl.sinsei_syubetu = mst_sinsei.sinsei_syubetu order By mst_sinsei.sinsei_name";
  60 +
60 61 $objRecSet = pg_exec($strSQL);
61 62 if($objRecSet==false){
62 63 echo("SQL実行に失敗しました(SELECT)");
... ... @@ -138,7 +139,7 @@ for($intCnt = 0; $intCnt < $intMax ; $intCnt++) {
138 139 $o_smarty->assign('PhpDate',$reg_date." ".$reg_time);
139 140
140 141 // 申請の種類取得
141   -$strSQL="SELECT sinsei_syubetu,sinsei_name FROM mst_sinsei Order By sinsei_syubetu";
  142 +$strSQL="SELECT sinsei_syubetu,sinsei_name FROM mst_sinsei Order By sinsei_name";
142 143 $objRecData = pg_exec($strSQL);
143 144 if($objRecData==false){
144 145 echo("SQL実行に失敗しました(SELECT)");
... ...
... ... @@ -33,6 +33,7 @@ if (pg_numrows($rsRecset)>0){
33 33 $PHP_TITLE_NAME[8]=pg_result($rsRecset,0,"name");
34 34 }
35 35
  36 +
36 37 //***電子決済結果
37 38 if($intsts==1){
38 39 $Kekka="承認";
... ... @@ -269,7 +270,7 @@ if ($intsyorists==1){
269 270
270 271 //***お知らせメールタイトル名 ***
271 272 $MailSubject = "【E-グルPro】".$PHP_TITLE_NAME[8]." 判定依頼のお知らせ";
272   - $MailSubject = "=?iso-2022-jp?B?" .base64_encode(mb_convert_encoding(stripslashes($MailSubject), "JIS", "EUC-JP")). "?=";
  273 + $MailSubject = "=?iso-2022-jp?B?" . base64_encode(jcodeconvert($MailSubject, 0, 3)) . "?=";
273 274
274 275 if(($Mail_kyohi_flg == 0) || (($str_sinsei_time < $Mail_kyohi_start_time1) || ($str_sinsei_time > $Mail_kyohi_end_time1))
275 276 && (($str_sinsei_time < $Mail_kyohi_start_time2) || ($str_sinsei_time > $Mail_kyohi_end_time2))){
... ... @@ -301,9 +302,9 @@ if ($intsyorists==1){
301 302 }
302 303 //$mlms = i18n_convert(stripslashes($MailBody), "JIS");
303 304 $mlms = mb_convert_encoding(stripslashes($MailBody), "JIS", "EUC-JP");
304   -
  305 +
305 306 //20170112 サーバ移行時にmedia-tek.co.jpへメールが飛ばない対応
306   - //$rcd = mail($keitai__address, $MailSubject, $mlms, $Headers);
  307 + //$rcd = mail($mail_address, $MailSubject, $mlms, $Headers);
307 308 $rcd = mail($keitai__address, $MailSubject, $mlms, $Headers, "-f".$MailFrom);
308 309 }
309 310 }
... ... @@ -355,7 +356,7 @@ if ($intsyorists==1){
355 356 //新決裁者テーブルがあったら
356 357 //決済上書き保存
357 358 $strSQLUp ="UPDATE kessaijoukyou_tbl SET kessai_joukyou = $intsts, ";
358   - $strSQLUp .= "kessai_comment = '".mb_convert_encoding(addslashes($Comment."1"), "eucjp-win", "auto")."', ";
  359 + $strSQLUp .= "kessai_comment = '".mb_convert_encoding(addslashes($Comment), "eucjp-win", "auto")."', ";
359 360 $strSQLUp .= "kessai_day = '$reg_date',kessai_time = '$reg_time' ";
360 361 $strSQLUp .= "WHERE sinsei_seq=$intseq AND syain_cd='$syain_cd' AND kessai_no = $intindex";
361 362 $objData = pg_exec($strSQLUp);
... ... @@ -370,7 +371,7 @@ if ($intsyorists==1){
370 371 $strDat = "sinsei_flg".$intindex."=".$intsts.",";
371 372 $strDat .= "sinsei_date".$intindex."='".$reg_date."',";
372 373 $strDat .= "sinsei_time".$intindex."='".$reg_time."',";
373   - $strDat .= "comment".$intindex."='".mb_convert_encoding(addslashes($Comment."2"), "eucjp-win", "auto")."' ";
  374 + $strDat .= "comment".$intindex."='".mb_convert_encoding(addslashes($Comment), "eucjp-win", "auto")."' ";
374 375 $strSQL="Update sinsei_tbl Set ".$strDat." Where seq=$intseq";
375 376 $objData = pg_exec($strSQL);
376 377 if($objData==false){
... ... @@ -402,121 +403,119 @@ if ($intsyorists==1){
402 403
403 404 //***決裁者メール種類判定処理***
404 405 if($App_syain_cd != "" AND $intsts==1){
405   - //***申請中***
406   - //お知らせメール通知フラグ取得
407   - $strSQL="SELECT * FROM kojin_data_tbl WHERE seq=12 AND syain_cd='$App_syain_cd'";
408   - $objFlg = pg_exec($strSQL);
409   - if($objFlg==false){
410   - echo("SQL実行に失敗しました(SELECT)");
411   - exit;
412   - }
413   - if (pg_numrows($objFlg) > 0){
414   - $objFlgData=pg_fetch_object($objFlg, 0);
415   - $denshi_flg=$objFlgData->memo;
416   - if ($denshi_flg==""){
417   - $denshi_flg=0;
418   - }
419   - }else{
420   - $denshi_flg=0;
421   - }
  406 + //***申請中***
  407 + //お知らせメール通知フラグ取得
  408 + $strSQL="SELECT * FROM kojin_data_tbl WHERE seq=12 AND syain_cd='$App_syain_cd'";
  409 + $objFlg = pg_exec($strSQL);
  410 + if($objFlg==false){
  411 + echo("SQL実行に失敗しました(SELECT)");
  412 + exit;
  413 + }
  414 + if (pg_numrows($objFlg) > 0){
  415 + $objFlgData=pg_fetch_object($objFlg, 0);
  416 + $denshi_flg=$objFlgData->memo;
  417 + if ($denshi_flg==""){
  418 + $denshi_flg=0;
  419 + }
  420 + }else{
  421 + $denshi_flg=0;
  422 + }
422 423
423   - //お知らせ拒否時間取得
424   - $Mail_kyohi_flg = 0;
425   - $Mail_kyohi_time = "";
426   - $strSQL="SELECT no_alarm_time FROM mst_alarm WHERE syain_cd='$App_syain_cd'";
427   - $objData = pg_exec($strSQL);
428   - if($objData==false){
429   - echo("SQL実行に失敗しました(SELECT)");
430   - exit;
431   - }
  424 + //お知らせ拒否時間取得
  425 + $Mail_kyohi_flg = 0;
  426 + $Mail_kyohi_time = "";
  427 + $strSQL="SELECT no_alarm_time FROM mst_alarm WHERE syain_cd='$App_syain_cd'";
  428 + $objData = pg_exec($strSQL);
  429 + if($objData==false){
  430 + echo("SQL実行に失敗しました(SELECT)");
  431 + exit;
  432 + }
432 433
433   - if (pg_numrows($objData) > 0){
434   - $objRec =pg_fetch_object($objData, 0);
435   - $Mail_kyohi_time=$objRec->no_alarm_time;
436   - if ($Mail_kyohi_time != ""){
437   - //拒否時間分割
438   - $Mail_kyohi_start_time=substr($Mail_kyohi_time,0,4);
439   - $Mail_kyohi_end_time=substr($Mail_kyohi_time,4,7);
440   - $Mail_kyohi_flg=1;
441   - }
442   - }
  434 + if (pg_numrows($objData) > 0){
  435 + $objRec =pg_fetch_object($objData, 0);
  436 + $Mail_kyohi_time=$objRec->no_alarm_time;
  437 + if ($Mail_kyohi_time != ""){
  438 + //拒否時間分割
  439 + $Mail_kyohi_start_time=substr($Mail_kyohi_time,0,4);
  440 + $Mail_kyohi_end_time=substr($Mail_kyohi_time,4,7);
  441 + $Mail_kyohi_flg=1;
  442 + }
  443 + }
443 444
444   - //拒否時間判定
445   - if($Mail_kyohi_start_time > $Mail_kyohi_end_time){
446   - $Mail_kyohi_start_time1=$Mail_kyohi_start_time;
447   - $Mail_kyohi_end_time1="2400";
448   - $Mail_kyohi_start_time2="0000";
449   - $Mail_kyohi_end_time2=$Mail_kyohi_end_time;
450   - }else{
451   - $Mail_kyohi_start_time1=$Mail_kyohi_start_time;
452   - $Mail_kyohi_end_time1=$Mail_kyohi_end_time;
453   - $Mail_kyohi_start_time2=$Mail_kyohi_start_time;
454   - $Mail_kyohi_end_time2=$Mail_kyohi_end_time;
455   - }
  445 + //拒否時間判定
  446 + if($Mail_kyohi_start_time > $Mail_kyohi_end_time){
  447 + $Mail_kyohi_start_time1=$Mail_kyohi_start_time;
  448 + $Mail_kyohi_end_time1="2400";
  449 + $Mail_kyohi_start_time2="0000";
  450 + $Mail_kyohi_end_time2=$Mail_kyohi_end_time;
  451 + }else{
  452 + $Mail_kyohi_start_time1=$Mail_kyohi_start_time;
  453 + $Mail_kyohi_end_time1=$Mail_kyohi_end_time;
  454 + $Mail_kyohi_start_time2=$Mail_kyohi_start_time;
  455 + $Mail_kyohi_end_time2=$Mail_kyohi_end_time;
  456 + }
456 457
457   - //申請時間編集
458   - $str_sinsei_time_h=substr($reg_time,0,2);
459   - $str_sinsei_time_i=substr($reg_time,3,2);
460   - $str_sinsei_time=$str_sinsei_time_h.$str_sinsei_time_i;
461   -
462   - //お知らせメール送信判定
463   - if ($denshi_flg==1){
464   - //決裁対象者お知らせメール取得
465   - $strSQLsend="SELECT mail_address,keitai__address FROM sendinfo_TBL Where syain_cd='$App_syain_cd'";
466   - $objSend = pg_exec($strSQLsend);
467   - if($objSend==false){
468   - echo("SQL実行に失敗しました(SELECT)");
469   - exit;
470   - }
471   - if (pg_numrows($objSend)>0){
472   - $objSendData = pg_fetch_object($objSend, 0);
473   - $mail_address = $objSendData->mail_address;
474   - $keitai__address = $objSendData->keitai__address;
475   - }else{
476   - $mail_address = "";
477   - $keitai__address = "";
478   - }
  458 + //申請時間編集
  459 + $str_sinsei_time_h=substr($reg_time,0,2);
  460 + $str_sinsei_time_i=substr($reg_time,3,2);
  461 + $str_sinsei_time=$str_sinsei_time_h.$str_sinsei_time_i;
479 462
480   - //***お知らせメールタイトル名 ***
481   - $MailSubject = "【E-グルPro】".$PHP_TITLE_NAME[8]." 判定依頼のお知らせ";
482   - $MailSubject = "=?iso-2022-jp?B?" .base64_encode(mb_convert_encoding(stripslashes($MailSubject), "JIS", "EUC-JP")). "?=";
483   -
484   - if(($Mail_kyohi_flg == 0) || (($str_sinsei_time < $Mail_kyohi_start_time1) || ($str_sinsei_time > $Mail_kyohi_end_time1))
485   - && (($str_sinsei_time < $Mail_kyohi_start_time2) || ($str_sinsei_time > $Mail_kyohi_end_time2))){
486   - //PC版
487   - if ($mail_address != ""){
488   - //本文作成
489   - $MailBody = "【申請者】".$strNameData."\n";
490   - $MailBody.= "【申請種別】".$Mail_sinsei_name."\n";
491   - $MailBody.= "【申請順】第".$kessai_no."次決裁\n";
492   - //20081023 追加
493   - $MailBody.= "\n※このメールは、送信専用メールアドレスから配信されています。\nご返信いただいても配信元へは届きませんのでご了承ください。\n";
494   - $MailBody.= "\n下記よりログイン後、".$kessai_no."次決裁してください。\n";
495   - $MailBody.= $UrlHead_PC."index.php";
496   - $mlms = mb_convert_encoding(stripslashes($MailBody), "JIS", "EUC-JP");
497   -
498   - //20170112 サーバ移行時にmedia-tek.co.jpへメールが飛ばない対応
499   - //$rcd = mail($mail_address, $MailSubject, $mlms, $Headers);
500   - $rcd = mail($mail_address, $MailSubject, $mlms, $Headers, "-f".$MailFrom);
501   - }
502   - //携帯電話版
503   - if ($keitai__address!=""){
504   - //本文作成
505   - $MailBody = "【申請者】".$strNameData."\n";
506   - $MailBody.= "【申請種別】".$Mail_sinsei_name."\n";
507   - $MailBody.= "【申請順】第".$kessai_no."次決裁\n";
508   - //20081023 追加
509   - $MailBody.= "\n※このメールは、送信専用メールアドレスから配信されています。\nご返信いただいても配信元へは届きませんのでご了承ください。\n";
510   - $MailBody.= "\n下記よりログイン後、".$kessai_no."次決裁してください。\n";
511   - if((int)$PHP_MOBILE_FLG!=1){
512   - $MailBody .= "\n".$UrlHead_MB."index_m.php?P_SYAIN_CD=$App_syain_cd&P_FOLDER=$PHP_FOLDER_NAME&C=1";
513   - }
514   - $mlms = mb_convert_encoding(stripslashes($MailBody), "JIS", "EUC-JP");
515   -
516   - //20170112 サーバ移行時にmedia-tek.co.jpへメールが飛ばない対応
517   - //$rcd = mail($keitai__address, $MailSubject, $mlms, $Headers);
518   - $rcd = mail($keitai__address, $MailSubject, $mlms, $Headers, "-f".$MailFrom);
  463 + //お知らせメール送信判定
  464 + if ($denshi_flg==1){
  465 + //決裁対象者お知らせメール取得
  466 + $strSQLsend="SELECT mail_address,keitai__address FROM sendinfo_TBL Where syain_cd='$App_syain_cd'";
  467 + $objSend = pg_exec($strSQLsend);
  468 + if($objSend==false){
  469 + echo("SQL実行に失敗しました(SELECT)");
  470 + exit;
  471 + }
  472 + if (pg_numrows($objSend)>0){
  473 + $objSendData = pg_fetch_object($objSend, 0);
  474 + $mail_address = $objSendData->mail_address;
  475 + $keitai__address = $objSendData->keitai__address;
  476 + }else{
  477 + $mail_address = "";
  478 + $keitai__address = "";
  479 + }
  480 +
  481 + //***お知らせメールタイトル名 ***
  482 + $MailSubject = "【E-グルPro】".$PHP_TITLE_NAME[8]." 判定依頼のお知らせ";
  483 + $MailSubject = "=?iso-2022-jp?B?" . base64_encode(jcodeconvert($MailSubject, 0, 3)) . "?=";
  484 + if(($Mail_kyohi_flg == 0) || (($str_sinsei_time < $Mail_kyohi_start_time1) || ($str_sinsei_time > $Mail_kyohi_end_time1))
  485 + && (($str_sinsei_time < $Mail_kyohi_start_time2) || ($str_sinsei_time > $Mail_kyohi_end_time2))){
  486 + //PC版
  487 + if ($mail_address != ""){
  488 + //本文作成
  489 + $MailBody = "【申請者】".$strNameData."\n";
  490 + $MailBody.= "【申請種別】".$Mail_sinsei_name."\n";
  491 + $MailBody.= "【申請順】第".$kessai_no."次決裁\n";
  492 + //20081023 追加
  493 + $MailBody.= "\n※このメールは、送信専用メールアドレスから配信されています。\nご返信いただいても配信元へは届きませんのでご了承ください。\n";
  494 + $MailBody.= "\n下記よりログイン後、".$kessai_no."次決裁してください。\n";
  495 + $MailBody.= $UrlHead_PC."index.php";
  496 + $mlms = mb_convert_encoding(stripslashes($MailBody), "JIS", "EUC-JP");
  497 + //20170112 サーバ移行時にmedia-tek.co.jpへメールが飛ばない対応
  498 + //$rcd = mail($mail_address, $MailSubject, $mlms, $Headers);
  499 + $rcd = mail($mail_address, $MailSubject, $mlms, $Headers, "-f".$MailFrom);
  500 + }
  501 + //携帯電話版
  502 + if ($keitai__address!=""){
  503 + //本文作成
  504 + $MailBody = "【申請者】".$strNameData."\n";
  505 + $MailBody.= "【申請種別】".$Mail_sinsei_name."\n";
  506 + $MailBody.= "【申請順】第".$kessai_no."次決裁\n";
  507 + //20081023 追加
  508 + $MailBody.= "\n※このメールは、送信専用メールアドレスから配信されています。\nご返信いただいても配信元へは届きませんのでご了承ください。\n";
  509 + $MailBody.= "\n下記よりログイン後、".$kessai_no."次決裁してください。\n";
  510 + if((int)$PHP_MOBILE_FLG!=1){
  511 + $MailBody .= "\n".$UrlHead_MB."index_m.php?P_SYAIN_CD=$App_syain_cd&P_FOLDER=$PHP_FOLDER_NAME&C=1";
519 512 }
  513 + $mlms = mb_convert_encoding(stripslashes($MailBody), "JIS", "EUC-JP");
  514 +
  515 + //20170112 サーバ移行時にmedia-tek.co.jpへメールが飛ばない対応
  516 + //$rcd = mail($keitai__address, $MailSubject, $mlms, $Headers);
  517 + $rcd = mail($keitai__address, $MailSubject, $mlms, $Headers, "-f".$MailFrom);
  518 + }
520 519 }
521 520 }
522 521 }
... ... @@ -648,7 +647,7 @@ if ($intsyorists==1){
648 647
649 648 //***お知らせメールタイトル名 ***
650 649 $MailSubject = "【E-グルPro】".$PHP_TITLE_NAME[8]." 判定完了のお知らせ";
651   - $MailSubject = "=?iso-2022-jp?B?" .base64_encode(mb_convert_encoding(stripslashes($MailSubject), "JIS", "EUC-JP")). "?=";
  650 + $MailSubject = "=?iso-2022-jp?B?" . base64_encode(jcodeconvert($MailSubject, 0, 3)) . "?=";
652 651
653 652 if(($Mail_kyohi_flg == 0) || (($str_sinsei_time < $Mail_kyohi_start_time1) || ($str_sinsei_time > $Mail_kyohi_end_time1))
654 653 && (($str_sinsei_time < $Mail_kyohi_start_time2) || ($str_sinsei_time > $Mail_kyohi_end_time2))){
... ... @@ -663,7 +662,6 @@ if ($intsyorists==1){
663 662 $MailBody.= $UrlHead_PC."index.php";
664 663 //$mlms = i18n_convert(stripslashes($MailBody), "JIS");
665 664 $mlms = mb_convert_encoding(stripslashes($MailBody), "JIS", "EUC-JP");
666   -
667 665 //20170112 サーバ移行時にmedia-tek.co.jpへメールが飛ばない対応
668 666 //$rcd = mail($mail_address, $MailSubject, $mlms, $Headers);
669 667 $rcd = mail($mail_address, $MailSubject, $mlms, $Headers, "-f".$MailFrom);
... ... @@ -680,7 +678,6 @@ if ($intsyorists==1){
680 678 }
681 679 //$mlms = i18n_convert(stripslashes($MailBody), "JIS");
682 680 $mlms = mb_convert_encoding(stripslashes($MailBody), "JIS", "EUC-JP");
683   -
684 681 //20170112 サーバ移行時にmedia-tek.co.jpへメールが飛ばない対応
685 682 //$rcd = mail($keitai__address, $MailSubject, $mlms, $Headers);
686 683 $rcd = mail($keitai__address, $MailSubject, $mlms, $Headers, "-f".$MailFrom);
... ... @@ -695,7 +692,7 @@ if ($intsyorists==1){
695 692 $strDat="sinsei_flg".$intindex."=".$intsts.",".
696 693 "sinsei_date".$intindex."='".$reg_date."',".
697 694 "sinsei_time".$intindex."='".$reg_time."',".
698   - "comment".$intindex."='".mb_convert_encoding(addslashes($Comment."3"), "eucjp-win", "auto")."' ";
  695 + "comment".$intindex."='".mb_convert_encoding(addslashes($Comment), "eucjp-win", "auto")."' ";
699 696 $strSQL="Update sinsei_tbl Set ".$strDat." Where seq=$intseq";
700 697 $objData = pg_exec($strSQL);
701 698 if($objData==false){
... ... @@ -815,8 +812,7 @@ if ($intsyorists==1){
815 812
816 813 //***お知らせメールタイトル名 ***
817 814 $MailSubject = "【E-グルPro】".$PHP_TITLE_NAME[8]." 判定依頼のお知らせ";
818   - $MailSubject = "=?iso-2022-jp?B?" .base64_encode(mb_convert_encoding(stripslashes($MailSubject), "JIS", "EUC-JP")). "?=";
819   -
  815 + $MailSubject = "=?iso-2022-jp?B?" . base64_encode(jcodeconvert($MailSubject, 0, 3)) . "?=";
820 816 $Kessai_jun=$intindex+1;
821 817 //PC版
822 818 if(($Mail_kyohi_flg == 0) || (($str_sinsei_time < $Mail_kyohi_start_time1) || ($str_sinsei_time > $Mail_kyohi_end_time1))
... ... @@ -832,7 +828,6 @@ if ($intsyorists==1){
832 828 $MailBody.= $UrlHead_PC."index.php";
833 829 //$mlms = i18n_convert(stripslashes($MailBody), "JIS");
834 830 $mlms = mb_convert_encoding(stripslashes($MailBody), "JIS", "EUC-JP");
835   -
836 831 //20170112 サーバ移行時にmedia-tek.co.jpへメールが飛ばない対応
837 832 //$rcd = mail($mail_address, $MailSubject, $mlms, $Headers);
838 833 $rcd = mail($mail_address, $MailSubject, $mlms, $Headers, "-f".$MailFrom);
... ... @@ -851,7 +846,6 @@ if ($intsyorists==1){
851 846 }
852 847 //$mlms = i18n_convert(stripslashes($MailBody), "JIS");
853 848 $mlms = mb_convert_encoding(stripslashes($MailBody), "JIS", "EUC-JP");
854   -
855 849 //20170112 サーバ移行時にmedia-tek.co.jpへメールが飛ばない対応
856 850 //$rcd = mail($keitai__address, $MailSubject, $mlms, $Headers);
857 851 $rcd = mail($keitai__address, $MailSubject, $mlms, $Headers, "-f".$MailFrom);
... ... @@ -934,7 +928,7 @@ if ($intsyorists==1){
934 928
935 929 //***お知らせメールタイトル名 ***
936 930 $MailSubject = "【E-グルPro】".$PHP_TITLE_NAME[8]." 判定完了のお知らせ";
937   - $MailSubject = "=?iso-2022-jp?B?" .base64_encode(mb_convert_encoding(stripslashes($MailSubject), "JIS", "EUC-JP")). "?=";
  931 + $MailSubject = "=?iso-2022-jp?B?" . base64_encode(jcodeconvert($MailSubject, 0, 3)) . "?=";
938 932 //PC版
939 933 if(($Mail_kyohi_flg == 0) || (($str_sinsei_time < $Mail_kyohi_start_time1) || ($str_sinsei_time > $Mail_kyohi_end_time1))
940 934 && (($str_sinsei_time < $Mail_kyohi_start_time2) || ($str_sinsei_time > $Mail_kyohi_end_time2))){
... ... @@ -947,8 +941,6 @@ if ($intsyorists==1){
947 941 $MailBody.= "\n下記よりログイン後、確認してください。\n";
948 942 $MailBody.= $UrlHead_PC."index.php";
949 943 $mlms = mb_convert_encoding(stripslashes($MailBody), "JIS", "EUC-JP");
950   -
951   -
952 944 //20170112 サーバ移行時にmedia-tek.co.jpへメールが飛ばない対応
953 945 //$rcd = mail($mail_address, $MailSubject, $mlms, $Headers);
954 946 $rcd = mail($mail_address, $MailSubject, $mlms, $Headers, "-f".$MailFrom);
... ... @@ -964,7 +956,6 @@ if ($intsyorists==1){
964 956 $MailBody .= "\n以下のアドレスよりログインしてください。\n".$UrlHead_MB."index_m.php?P_SYAIN_CD=$PHPsinsei_syain_cd&P_FOLDER=$PHP_FOLDER_NAME&C=1";
965 957 }
966 958 $mlms = mb_convert_encoding(stripslashes($MailBody), "JIS", "EUC-JP");
967   -
968 959 //20170112 サーバ移行時にmedia-tek.co.jpへメールが飛ばない対応
969 960 //$rcd = mail($keitai__address, $MailSubject, $mlms, $Headers);
970 961 $rcd = mail($keitai__address, $MailSubject, $mlms, $Headers, "-f".$MailFrom);
... ... @@ -973,6 +964,7 @@ if ($intsyorists==1){
973 964 }
974 965 }
975 966 }
  967 +
976 968 //header("Location:FLO003.php");
977 969 }
978 970
... ...
... ... @@ -36,7 +36,7 @@ $objGroup = pg_fetch_object($objRecGroup, 0);
36 36 $PHP_DB_NAME=$objGroup->db_name;
37 37
38 38 //*** 個人情報の存在確認 ***//
39   -$hostname="172.31.18.14";
  39 +$hostname="172.31.16.254";
40 40 $database=$PHP_DB_NAME;
41 41 if( !$pg_con=pg_connect("host=$hostname port=5433 dbname=$database user=pgsqladmin password=pgsqladmin") ) {
42 42 exit;
... ...
... ... @@ -145,6 +145,7 @@ if($sock==-1 || $sock==-2 || $usemail_flg==1){
145 145 list($total_num, $total_size) = $p->get_stat();
146 146 $list = $p->get_list();
147 147 $uid = $p->get_uidl();
  148 + $uid = array_unique($uid);
148 149
149 150 //*** メール取得
150 151 global $p, $total_num, $total_size, $list, $uid, $list_num, $filename, $strMailAdd, $PHP_SYAIN_CD, $PHP_FOLDER;
... ... @@ -212,7 +213,9 @@ if($sock==-1 || $sock==-2 || $usemail_flg==1){
212 213 exit;
213 214 }
214 215 */
215   - if (!in_array($uid[$num], $exist_mails)){
  216 + //2018/05/30
  217 + //DBにaddslashesしたデータが積まれているならINSERTで落ちるためaddslashes対応
  218 + if (!in_array(addslashes($uid[$num]), (array)$exist_mails)){
216 219 //echo $list[$num];
217 220 $temp_flg=0;
218 221 //fromチェック
... ... @@ -631,7 +634,6 @@ if($sock==-1 || $sock==-2 || $usemail_flg==1){
631 634 $p->dele($num);
632 635 }
633 636 }
634   -
635 637 //DB内検索
636 638 //メールサーバ検索
637 639 for ($num = $init_num; $num > 0; --$num) {
... ...
1   -<?php
2   -//*****************************************************************************
3   -//*
4   -//* プログラム名:インデックスページ
5   -//* プログラムID:TOP000_G.php
6   -//* 作成者 :
7   -//*
8   -//*****************************************************************************
9   -header("Content-type: text/html; charset=EUC-JP");
10   -include("include/session_start.inc");
11   -include("include/SessionChk.inc");
12   -include('include/smarty.conf');
13   -include('include/date.inc');
14   -include('./include/Get_GooGleCal.inc');
15   -include('./include/XML_unserialize.php');
16   -
17   -$strDBinc="include/dbcon.inc";
18   -include($strDBinc);
19   -
20   -//echo $PHP_SYAIN_CD;
21   -//echo $st_date;
22   -//$AryG_Data = Get_GooGleCalWeek($PHP_SYAIN_CD , $st_date , "1");
23   -
24   -$strSQL="SELECT * FROM kojin_data_tbl WHERE seq=21 AND syain_cd='$PHP_SYAIN_CD'";
25   -$objID = pg_exec($strSQL);
26   -if($objID==false){
27   - echo("SQL実行に失敗しました(SELECT)");
28   - exit;
29   -}
30   -if (pg_numrows($objID) > 0){
31   - $objIDData=pg_fetch_object($objID, 0);
32   - $Google_URL=$objIDData->memo;
33   -}else{
34   - $Google_URL="";
35   -}
36   -
37   -$RetunData["syain_cd"] = "";
38   -$RetunData["id"] = "";
39   -$RetunData["key"] = "";
40   -
41   -if ($Google_URL!=""){
42   - $aryUrl = split("/",$Google_URL);
43   - if (count($aryUrl)<8){
44   - }else{
45   - $RetunData["syain_cd"] = $PHP_SYAIN_CD;
46   - $RetunData["id"] = $aryUrl[5];
47   - $RetunData["key"] = str_replace("private-", "", $aryUrl[6]);
48   - }
49   -}
50   -
51   -
52   -echo json_encode($RetunData);
53   -
54   -//echo $AryG_Data;
55   -
56   -//echo $kojin_sche;
57   -//echo $kojin_sche;
58   -
  1 +<?php
  2 +//*****************************************************************************
  3 +//*
  4 +//* プログラム名:インデックスページ
  5 +//* プログラムID:TOP000_G.php
  6 +//* 作成者 :
  7 +//*
  8 +//*****************************************************************************
  9 +header("Content-type: text/html; charset=EUC-JP");
  10 +include("include/session_start.inc");
  11 +include("include/SessionChk.inc");
  12 +include('include/smarty.conf');
  13 +include('include/date.inc');
  14 +include('./include/Get_GooGleCal.inc');
  15 +include('./include/XML_unserialize.php');
  16 +
  17 +$strDBinc="include/dbcon.inc";
  18 +include($strDBinc);
  19 +
  20 +//echo $PHP_SYAIN_CD;
  21 +//echo $st_date;
  22 +//$AryG_Data = Get_GooGleCalWeek($PHP_SYAIN_CD , $st_date , "1");
  23 +
  24 +$strSQL="SELECT * FROM kojin_data_tbl WHERE seq=21 AND syain_cd='$PHP_SYAIN_CD'";
  25 +$objID = pg_exec($strSQL);
  26 +if($objID==false){
  27 + echo("SQL実行に失敗しました(SELECT)");
  28 + exit;
  29 +}
  30 +if (pg_numrows($objID) > 0){
  31 + $objIDData=pg_fetch_object($objID, 0);
  32 + $Google_URL=$objIDData->memo;
  33 +}else{
  34 + $Google_URL="";
  35 +}
  36 +
  37 +$RetunData["syain_cd"] = "";
  38 +$RetunData["id"] = "";
  39 +$RetunData["key"] = "";
  40 +
  41 +if ($Google_URL!=""){
  42 + $aryUrl = split("/",$Google_URL);
  43 + if (count($aryUrl)<8){
  44 + }else{
  45 + $RetunData["syain_cd"] = $PHP_SYAIN_CD;
  46 + $RetunData["id"] = $aryUrl[5];
  47 + $RetunData["key"] = str_replace("private-", "", $aryUrl[6]);
  48 + }
  49 +}
  50 +
  51 +
  52 +echo json_encode($RetunData);
  53 +
  54 +//echo $AryG_Data;
  55 +
  56 +//echo $kojin_sche;
  57 +//echo $kojin_sche;
  58 +
59 59 ?>
\ No newline at end of file
... ...
1   -<?php
2   -//*****************************************************************************
3   -//*
4   -//* プログラム名:インデックスページ
5   -//* プログラムID:TOP000_G2.php
6   -//* 作成者 :
7   -//*
8   -//*****************************************************************************
9   -header("Content-type: text/html; charset=EUC-JP");
10   -include("include/session_start.inc");
11   -include("include/SessionChk.inc");
12   -include('include/smarty.conf');
13   -include('include/date.inc');
14   -include('./include/Get_GooGleCal.inc');
15   -include('./include/XML_unserialize.php');
16   -
17   -$strDBinc="include/dbcon.inc";
18   -include($strDBinc);
19   -
20   -if ($scdl_bumon!=99){
21   - if ($scdl_bumon==0){
22   - $SQL = "SELECT syain_cd as syain_cd_a,name_kj_sei,name_kj_mei".
23   - " FROM syain_tbl Where syain_cd<>'$PHP_SYAIN_CD' and del_flg=true Order By Disp_rank";
24   - }else{
25   - $SQL = "SELECT syain_tbl.syain_cd as syain_cd_a,name_kj_sei,name_kj_mei ".
26   - "FROM syain_tbl INNER JOIN syozoku_tbl ON ".
27   - "syain_tbl.syain_cd = syozoku_tbl.syain_cd".
28   - " Where syain_tbl.syain_cd<>'$PHP_SYAIN_CD' and syozoku_cd=$scdl_bumon and del_flg=true ".
29   - " Order By Disp_rank";
30   - }
31   - $ALSCH_RS = pg_exec($SQL);
32   - $intMax=pg_numrows($ALSCH_RS)-1;
33   - for($intCnt = 0; $intCnt < $intMax ; $intCnt++) {
34   - $objRecData = pg_fetch_object($ALSCH_RS, $intCnt);
35   - $strSyain[$intCnt]=$objRecData->syain_cd_a;
36   - }
37   -}else{
38   - //*****個人設定*****//
39   - $strSQL="SELECT syain_cd,disp_no,mygroup,jyokyo_flg FROM kojinset_TBL WHERE syain_cd='$PHP_SYAIN_CD'";
40   - $objRecSet = pg_exec($strSQL);
41   - if (pg_numrows($objRecSet)>0){
42   - $objRecData = pg_fetch_object($objRecSet, 0);
43   - if ($intsts==0){
44   - if($scdl_bumon==""){
45   - $scdl_bumon=$objRecData->disp_no;
46   - }
47   - $bumon_no=$objRecData->disp_no;
48   - }
49   - $mygroup=$objRecData->mygroup;
50   - if ($objRecData->jyokyo_flg==Null || $objRecData->jyokyo_flg==""){
51   - $jyokyo_flg=1;
52   - }else{
53   - $jyokyo_flg=$objRecData->jyokyo_flg;
54   - }
55   - }else{
56   - if ($intsts==0){
57   - if($scdl_bumon==""){
58   - $scdl_bumon=0;
59   - }
60   - $bumon_no=0;
61   - }
62   - $jyokyo_flg=1;
63   - }
64   -
65   - $strData=split("/", $mygroup);
66   - for ($intCnt = 0; $intCnt < count($strData)-1; $intCnt++) {
67   - $strSyain[$intCnt]=$strData[$intCnt];
68   - }
69   -
70   -}
71   -
72   -$RetunData = array();
73   -for ($intCnt = 0; $intCnt < count($strSyain)-1; $intCnt++) {
74   -
75   - $Google_URL="";
76   -
77   - $strCHKSQL = "select memo from kojin_data_tbl where syain_cd='".$strSyain[$intCnt]."' and seq=23";
78   - $objGoogleData = pg_exec($strCHKSQL);
79   - if(pg_numrows($objGoogleData) > 0){
80   - $objGoogleRec = pg_fetch_object($objGoogleData,0);
81   - //echo $syain_cd."<hr>";
82   - if ($objGoogleRec->memo=="1"){
83   - //Googleカレンダー取得
84   - $strSQL="SELECT * FROM kojin_data_tbl WHERE seq=21 AND syain_cd='".$strSyain[$intCnt]."'";
85   - $objID = pg_exec($strSQL);
86   - if($objID==false){
87   - echo("SQL実行に失敗しました(SELECT)");
88   - exit;
89   - }
90   - if (pg_numrows($objID) > 0){
91   - $objIDData=pg_fetch_object($objID, 0);
92   - $Google_URL=$objIDData->memo;
93   - }
94   - }
95   - }
96   -
97   - $RetunData[$strSyain[$intCnt]]["id"] = "";
98   - $RetunData[$strSyain[$intCnt]]["key"] = "";
99   -
100   - if ($Google_URL!=""){
101   - $aryUrl = split("/",$Google_URL);
102   - if (count($aryUrl)<8){
103   - }else{
104   - $RetunData[$strSyain[$intCnt]]["id"] = $aryUrl[5];
105   - $RetunData[$strSyain[$intCnt]]["key"] = str_replace("private-", "", $aryUrl[6]);
106   - }
107   - }
108   -}
109   -
110   -echo json_encode($RetunData);
111   -
112   -//echo $AryG_Data;
113   -
114   -//echo $kojin_sche;
115   -//echo $kojin_sche;
116   -
  1 +<?php
  2 +//*****************************************************************************
  3 +//*
  4 +//* プログラム名:インデックスページ
  5 +//* プログラムID:TOP000_G2.php
  6 +//* 作成者 :
  7 +//*
  8 +//*****************************************************************************
  9 +header("Content-type: text/html; charset=EUC-JP");
  10 +include("include/session_start.inc");
  11 +include("include/SessionChk.inc");
  12 +include('include/smarty.conf');
  13 +include('include/date.inc');
  14 +include('./include/Get_GooGleCal.inc');
  15 +include('./include/XML_unserialize.php');
  16 +
  17 +$strDBinc="include/dbcon.inc";
  18 +include($strDBinc);
  19 +
  20 +if ($scdl_bumon!=99){
  21 + if ($scdl_bumon==0){
  22 + $SQL = "SELECT syain_cd as syain_cd_a,name_kj_sei,name_kj_mei".
  23 + " FROM syain_tbl Where syain_cd<>'$PHP_SYAIN_CD' and del_flg=true Order By Disp_rank";
  24 + }else{
  25 + $SQL = "SELECT syain_tbl.syain_cd as syain_cd_a,name_kj_sei,name_kj_mei ".
  26 + "FROM syain_tbl INNER JOIN syozoku_tbl ON ".
  27 + "syain_tbl.syain_cd = syozoku_tbl.syain_cd".
  28 + " Where syain_tbl.syain_cd<>'$PHP_SYAIN_CD' and syozoku_cd=$scdl_bumon and del_flg=true ".
  29 + " Order By Disp_rank";
  30 + }
  31 + $ALSCH_RS = pg_exec($SQL);
  32 + $intMax=pg_numrows($ALSCH_RS)-1;
  33 + for($intCnt = 0; $intCnt < $intMax ; $intCnt++) {
  34 + $objRecData = pg_fetch_object($ALSCH_RS, $intCnt);
  35 + $strSyain[$intCnt]=$objRecData->syain_cd_a;
  36 + }
  37 +}else{
  38 + //*****個人設定*****//
  39 + $strSQL="SELECT syain_cd,disp_no,mygroup,jyokyo_flg FROM kojinset_TBL WHERE syain_cd='$PHP_SYAIN_CD'";
  40 + $objRecSet = pg_exec($strSQL);
  41 + if (pg_numrows($objRecSet)>0){
  42 + $objRecData = pg_fetch_object($objRecSet, 0);
  43 + if ($intsts==0){
  44 + if($scdl_bumon==""){
  45 + $scdl_bumon=$objRecData->disp_no;
  46 + }
  47 + $bumon_no=$objRecData->disp_no;
  48 + }
  49 + $mygroup=$objRecData->mygroup;
  50 + if ($objRecData->jyokyo_flg==Null || $objRecData->jyokyo_flg==""){
  51 + $jyokyo_flg=1;
  52 + }else{
  53 + $jyokyo_flg=$objRecData->jyokyo_flg;
  54 + }
  55 + }else{
  56 + if ($intsts==0){
  57 + if($scdl_bumon==""){
  58 + $scdl_bumon=0;
  59 + }
  60 + $bumon_no=0;
  61 + }
  62 + $jyokyo_flg=1;
  63 + }
  64 +
  65 + $strData=split("/", $mygroup);
  66 + for ($intCnt = 0; $intCnt < count($strData)-1; $intCnt++) {
  67 + $strSyain[$intCnt]=$strData[$intCnt];
  68 + }
  69 +
  70 +}
  71 +
  72 +$RetunData = array();
  73 +for ($intCnt = 0; $intCnt < count($strSyain)-1; $intCnt++) {
  74 +
  75 + $Google_URL="";
  76 +
  77 + $strCHKSQL = "select memo from kojin_data_tbl where syain_cd='".$strSyain[$intCnt]."' and seq=23";
  78 + $objGoogleData = pg_exec($strCHKSQL);
  79 + if(pg_numrows($objGoogleData) > 0){
  80 + $objGoogleRec = pg_fetch_object($objGoogleData,0);
  81 + //echo $syain_cd."<hr>";
  82 + if ($objGoogleRec->memo=="1"){
  83 + //Googleカレンダー取得
  84 + $strSQL="SELECT * FROM kojin_data_tbl WHERE seq=21 AND syain_cd='".$strSyain[$intCnt]."'";
  85 + $objID = pg_exec($strSQL);
  86 + if($objID==false){
  87 + echo("SQL実行に失敗しました(SELECT)");
  88 + exit;
  89 + }
  90 + if (pg_numrows($objID) > 0){
  91 + $objIDData=pg_fetch_object($objID, 0);
  92 + $Google_URL=$objIDData->memo;
  93 + }
  94 + }
  95 + }
  96 +
  97 + $RetunData[$strSyain[$intCnt]]["id"] = "";
  98 + $RetunData[$strSyain[$intCnt]]["key"] = "";
  99 +
  100 + if ($Google_URL!=""){
  101 + $aryUrl = split("/",$Google_URL);
  102 + if (count($aryUrl)<8){
  103 + }else{
  104 + $RetunData[$strSyain[$intCnt]]["id"] = $aryUrl[5];
  105 + $RetunData[$strSyain[$intCnt]]["key"] = str_replace("private-", "", $aryUrl[6]);
  106 + }
  107 + }
  108 +}
  109 +
  110 +echo json_encode($RetunData);
  111 +
  112 +//echo $AryG_Data;
  113 +
  114 +//echo $kojin_sche;
  115 +//echo $kojin_sche;
  116 +
117 117 ?>
\ No newline at end of file
... ...
1   -<?php
2   -//*****************************************************************************
3   -//*
4   -//* プログラム名:インデックスページ
5   -//* プログラムID:TOP000_G3.php
6   -//* 作成者 :
7   -//*
8   -//*****************************************************************************
9   -header("Content-type: text/html; charset=EUC-JP");
10   -include("include/session_start.inc");
11   -include("include/SessionChk.inc");
12   -include('include/smarty.conf');
13   -include('include/date.inc');
14   -include('./include/Get_GooGleCal.inc');
15   -include('./include/XML_unserialize.php');
16   -
17   -$strDBinc="include/dbcon.inc";
18   -include($strDBinc);
19   -
20   -//echo $PHP_SYAIN_CD;
21   -//echo $st_date;
22   -//$AryG_Data = Get_GooGleCalWeek($PHP_SYAIN_CD , $st_date , "1");
23   -
24   -$strSQL="SELECT * FROM kojin_data_tbl WHERE seq=21 AND syain_cd='$syain_cd'";
25   -$objID = pg_exec($strSQL);
26   -if($objID==false){
27   - echo("SQL実行に失敗しました(SELECT)");
28   - exit;
29   -}
30   -if (pg_numrows($objID) > 0){
31   - $objIDData=pg_fetch_object($objID, 0);
32   - $Google_URL=$objIDData->memo;
33   -}else{
34   - $Google_URL="";
35   -}
36   -
37   -$RetunData["syain_cd"] = "";
38   -$RetunData["id"] = "";
39   -$RetunData["key"] = "";
40   -
41   -if ($Google_URL!=""){
42   - $aryUrl = split("/",$Google_URL);
43   - if (count($aryUrl)<8){
44   - }else{
45   - $RetunData["syain_cd"] = $PHP_SYAIN_CD;
46   - $RetunData["id"] = $aryUrl[5];
47   - $RetunData["key"] = str_replace("private-", "", $aryUrl[6]);
48   - }
49   -}
50   -
51   -
52   -echo json_encode($RetunData);
53   -
54   -//echo $AryG_Data;
55   -
56   -//echo $kojin_sche;
57   -//echo $kojin_sche;
58   -
  1 +<?php
  2 +//*****************************************************************************
  3 +//*
  4 +//* プログラム名:インデックスページ
  5 +//* プログラムID:TOP000_G3.php
  6 +//* 作成者 :
  7 +//*
  8 +//*****************************************************************************
  9 +header("Content-type: text/html; charset=EUC-JP");
  10 +include("include/session_start.inc");
  11 +include("include/SessionChk.inc");
  12 +include('include/smarty.conf');
  13 +include('include/date.inc');
  14 +include('./include/Get_GooGleCal.inc');
  15 +include('./include/XML_unserialize.php');
  16 +
  17 +$strDBinc="include/dbcon.inc";
  18 +include($strDBinc);
  19 +
  20 +//echo $PHP_SYAIN_CD;
  21 +//echo $st_date;
  22 +//$AryG_Data = Get_GooGleCalWeek($PHP_SYAIN_CD , $st_date , "1");
  23 +
  24 +$strSQL="SELECT * FROM kojin_data_tbl WHERE seq=21 AND syain_cd='$syain_cd'";
  25 +$objID = pg_exec($strSQL);
  26 +if($objID==false){
  27 + echo("SQL実行に失敗しました(SELECT)");
  28 + exit;
  29 +}
  30 +if (pg_numrows($objID) > 0){
  31 + $objIDData=pg_fetch_object($objID, 0);
  32 + $Google_URL=$objIDData->memo;
  33 +}else{
  34 + $Google_URL="";
  35 +}
  36 +
  37 +$RetunData["syain_cd"] = "";
  38 +$RetunData["id"] = "";
  39 +$RetunData["key"] = "";
  40 +
  41 +if ($Google_URL!=""){
  42 + $aryUrl = split("/",$Google_URL);
  43 + if (count($aryUrl)<8){
  44 + }else{
  45 + $RetunData["syain_cd"] = $PHP_SYAIN_CD;
  46 + $RetunData["id"] = $aryUrl[5];
  47 + $RetunData["key"] = str_replace("private-", "", $aryUrl[6]);
  48 + }
  49 +}
  50 +
  51 +
  52 +echo json_encode($RetunData);
  53 +
  54 +//echo $AryG_Data;
  55 +
  56 +//echo $kojin_sche;
  57 +//echo $kojin_sche;
  58 +
59 59 ?>
\ No newline at end of file
... ...
... ... @@ -20,23 +20,23 @@ include($strDBinc);
20 20
21 21 if ($scdl_bumon!=99){
22 22 if ($scdl_bumon==0){
23   - $SQL = "SELECT syain_cd as syain_cd_a,name_kj_sei,name_kj_mei".
24   - " FROM syain_tbl Where syain_cd<>'$PHP_SYAIN_CD' and del_flg=true Order By Disp_rank";
  23 + $SQL = "SELECT syain_tbl.syain_cd as syain_cd_a ".
  24 + " FROM syain_tbl Where syain_cd<>'$PHP_SYAIN_CD' and syain_tbl.del_flg=true Order By Disp_rank";
25 25 }else{
26   - $SQL = "SELECT syain_tbl.syain_cd as syain_cd_a,name_kj_sei,name_kj_mei ".
  26 + $SQL = "SELECT syain_tbl.syain_cd as syain_cd_a ".
27 27 "FROM syain_tbl INNER JOIN syozoku_tbl ON ".
28 28 "syain_tbl.syain_cd = syozoku_tbl.syain_cd".
29   - " Where syain_tbl.syain_cd<>'$PHP_SYAIN_CD' and syozoku_cd=$scdl_bumon and del_flg=true ".
  29 + " Where (syain_tbl.syain_cd<>'$PHP_SYAIN_CD' and syain_tbl.del_flg=true) and syozoku_tbl.syozoku_cd=$scdl_bumon ".
30 30 " Order By Disp_rank";
31 31 }
32 32
33 33 $ALSCH_RS = pg_exec($SQL);
34   - $intMax=pg_numrows($ALSCH_RS)-1;
  34 + //$intMax=pg_numrows($ALSCH_RS) - 1;
  35 + $intMax=pg_numrows($ALSCH_RS) ;
35 36
36   - for($intCnt = 0; $intCnt < $intMax ; $intCnt++) {
  37 + for ($intCnt = 0; $intCnt < $intMax ; $intCnt++) {
37 38 $objRecData = pg_fetch_object($ALSCH_RS, $intCnt);
38 39 $strSyain[$intCnt]=$objRecData->syain_cd_a;
39   -
40 40 }
41 41
42 42 }else{
... ... @@ -82,7 +82,8 @@ if ($scdl_bumon!=99){
82 82 }
83 83
84 84 $RetunData = array();
85   -for ($intCnt = 0; $intCnt < count($strSyain)-1; $intCnt++) {
  85 +//for ($intCnt = 0; $intCnt < count($strSyain)-1; $intCnt++) {
  86 +for ($intCnt = 0; $intCnt < count($strSyain); $intCnt++) {
86 87
87 88 $reflesh_token = "";
88 89 $access_token = "";
... ...
1   -<?php
2   -//*****************************************************************************
3   -//*
4   -//* プログラム名:スケジュール
5   -//* プログラムID:TOP900.php
6   -//* 機能 :CSV出力
7   -//* 作成者 :K.Yoshimrua
8   -//*
9   -//*****************************************************************************
10   -header("Content-type: text/html; charset=EUC-JP");
11   -
12   -include("include/session_start.inc");
13   -include("include/SessionChk.inc");
14   -include('include/smarty.conf');
15   -
16   -$strDBinc="include/dbcon.inc";
17   -include($strDBinc);
18   -
19   -//社員情報取得
20   -$strSQL="SELECT syain_cd,name_kj_sei,name_kj_mei".
21   - " FROM syain_tbl Where del_flg=true Order By Disp_rank";
22   -$objData = pg_exec($strSQL);
23   -for($intCnt = 0; $intCnt < pg_numrows($objData) ; $intCnt++) {
24   - $objRecData = pg_fetch_object($objData, $intCnt);
25   - $strSyain[$intCnt][0]=$objRecData->syain_cd;
26   - $strSyain[$intCnt][1]=$objRecData->name_kj_sei.$objRecData->name_kj_mei;
27   - $strSyain[$intCnt][2]="";
28   - $strSQL = "SELECT * From syozoku_tbl Where syain_cd='".$strSyain[$intCnt][0]."' ";
29   - $objBumon = pg_exec($strSQL);
30   - for($i = 0; $i < pg_numrows($objBumon) ; $i++) {
31   - $objRecBumon = pg_fetch_object($objBumon, $i);
32   - $strSyain[$intCnt][2].=$objRecBumon->syozoku_cd."/";
33   - }
34   -}
35   -
36   -//全部門
37   -$strSQL = "SELECT syozoku_cd,bumon_name,disp_rank From mst_bumon Where del_flg=0 Order By disp_rank";
38   -$objBumon = pg_exec($strSQL);
39   -for($intCnt = 0; $intCnt < pg_numrows($objBumon) ; $intCnt++) {
40   - $objRecBumon = pg_fetch_object($objBumon, $intCnt);
41   - $strBumon[$intCnt][0]=$objRecBumon->syozoku_cd;
42   - $strBumon[$intCnt][1]=$objRecBumon->bumon_name;
43   -}
44   -
45   -?>
46   -<!DOCTYPE HTML PUBLIC "-//W3C//DTD HTML 4.01 Transitional//EN">
47   -<HTML>
48   -<HEAD>
49   -<META http-equiv="Content-Type" content="text/html; charset=EUC-JP">
50   -<META http-equiv="Content-Style-Type" content="text/css">
51   -<link rel="stylesheet" type="text/css" href="basefont.css">
52   -<TITLE>E-グルPro</TITLE>
53   -<SCRIPT LANGUAGE="JAVASCRIPT">
54   -<!--
55   -
56   -//--------------------------
57   -// オールチェック
58   -//--------------------------
59   -function All_chk(intSts){
60   - if (document.e_gru.syain_chk.length){
61   - if (intSts==1){
62   - for(i = 0 ; i <= document.e_gru.syain_chk.length-1; i++ ){
63   - document.e_gru.syain_chk[i].checked=false;
64   - }
65   - }else{
66   - for(i = 0 ; i <= document.e_gru.syain_chk.length-1; i++ ){
67   - document.e_gru.syain_chk[i].checked=true;
68   - }
69   - }
70   - }else{
71   - if (intSts==1){
72   - document.e_gru.syain_chk.checked=false;
73   - }else{
74   - document.e_gru.syain_chk.checked=true;
75   - }
76   - }
77   -}
78   -
79   -//--------------------------
80   -// 部門チェック
81   -//--------------------------
82   -function All_chk2(){
83   - if (document.e_gru.syain_chk.length){
84   - for(i = 0 ; i <= document.e_gru.syain_chk.length-1; i++ ){
85   - arr = (document.e_gru.syain_hid[i].value).split("/");
86   - for(j=0;j<arr.length;j++){
87   - if (document.e_gru.bumon.value==arr[j]){
88   - document.e_gru.syain_chk[i].checked=true;
89   - break;
90   - }
91   - }
92   - }
93   - }else{
94   - arr = (document.e_gru.syain_hid.value).split("/");
95   - for(j=0;j<arr.length;j++){
96   - if (document.e_gru.bumon.value==arr[j]){
97   - document.e_gru.syain_chk.checked=true;
98   - break;
99   - }
100   - }
101   - }
102   -}
103   -
104   -//--------------------------
105   -// CSVダウンロード
106   -//--------------------------
107   -function CSVDownLoad(){
108   - prm = "";
109   -
110   - prm_list="";
111   - if (document.e_gru.syain_chk.length){
112   - for(i = 0 ; i <= document.e_gru.syain_chk.length-1; i++ ){
113   - if (document.e_gru.syain_chk[i].checked==true){
114   - prm_list+=document.e_gru.syain_chk[i].value+",";
115   - }
116   - }
117   - }else{
118   - prm_list+=document.e_gru.syain_chk.value+",";
119   - }
120   - if (prm_list==""){
121   - alert("社員を最低一人を選択してください。");
122   - return false;
123   - }
124   - prm = "lst_data="+prm_list;
125   - prm += "&st_year="+document.e_gru.st_year.value;
126   - prm += "&st_mon="+document.e_gru.st_mon.value;
127   - prm += "&st_day="+document.e_gru.st_day.value;
128   - prm += "&ed_year="+document.e_gru.ed_year.value;
129   - prm += "&ed_mon="+document.e_gru.ed_mon.value;
130   - prm += "&ed_day="+document.e_gru.ed_day.value;
131   - document.e_gru.action = "TOP901.php?"+prm;
132   - location.href = document.e_gru.action;
133   -}
134   --->
135   -</SCRIPT>
136   -</HEAD>
137   -<BODY>
138   -<form name="e_gru">
139   -<?php
140   -$intLoop=date("Y")-2004+3;
141   -?>
142   -<br>
143   -<TABLE width="580">
144   - <TR>
145   - <TD>
146   - <TABLE cellspacing="1" cellpadding="1" width="100%" align="center" class="mainColor" border="0">
147   - <TR>
148   - <TD width=95 height=25 class="toneDown"><span class=Normalfont>出力期間</span></TD>
149   - <TD height=25 bgcolor="#ffffff">
150   - <SELECT name=st_year>
151   - <option value="" selected>----</option>;
152   - <?php
153   - for ($i = 0 ; $i <= $intLoop ; $i++) {
154   - $intSetValue=2004+$i;
155   - echo '<option value='.$intSetValue.'>'.$intSetValue.'</option>';
156   - }
157   - ?>
158   - </SELECT>
159   - <SELECT name=st_mon>
160   - <option value="" selected>---</option>;
161   - <?php
162   - for ($i = 1 ; $i <= 12 ; $i++) {
163   - echo '<option value="'.sprintf('%02d',$i).'">'.$i.'</option>';
164   - }
165   - ?>
166   - </SELECT>
167   - <SELECT name=st_day>
168   - <option value="" selected>---</option>;
169   - <?php
170   - for ($i = 1 ; $i <= 31 ; $i++) {
171   - echo '<option value="'.sprintf('%02d',$i).'">'.$i.'</option>';
172   - }
173   - ?>
174   - </SELECT>
175   - <span class=Normalfont></span>
176   - <SELECT name=ed_year>
177   - <option value="">----</option>;
178   - <?php
179   - for ($i = 0 ; $i <= $intLoop ; $i++) {
180   - $intSetValue=2004+$i;
181   - echo '<option value="'.$intSetValue.'" ';
182   - if (date("Y") == $intSetValue) {
183   - echo 'selected';
184   - }
185   - echo '>'.$intSetValue.'</option>';
186   - }
187   - ?>
188   - </SELECT>
189   - <SELECT name=ed_mon>
190   - <option value="">---</option>;
191   - <?php
192   - for ($i = 1 ; $i <= 12 ; $i++) {
193   - echo '<option value="'.sprintf('%02d',$i).'" ';
194   - if (date("n") == $i) {
195   - echo 'selected';
196   - }
197   - echo '>'.$i.'</option>';
198   - }
199   - ?>
200   - </SELECT>
201   - <SELECT name=ed_day>
202   - <option value="">---</option>;
203   - <?php
204   - for ($i = 1 ; $i <= 31 ; $i++) {
205   - echo '<option value="'.sprintf('%02d',$i).'" ';
206   - if (date("j") == $i) {
207   - echo 'selected';
208   - }
209   - echo '>'.$i.'</option>';
210   - }
211   - ?>
212   - </SELECT>
213   - <span class=Normalfont> </span>
214   - </TD>
215   - </TR>
216   - <TR>
217   - <TD width=95 height=25 class="toneDown"><span class=Normalfont>出力部門</span></TD>
218   - <TD height=25 bgcolor="#ffffff">
219   - <INPUT type="button" onclick="All_chk(0);" value="全選択">&nbsp;
220   - <INPUT type="button" onclick="All_chk(1);" value="全解除"><BR>
221   - <select name="bumon">
222   - <?php
223   - for($intCnt = 0; $intCnt < count($strBumon) ; $intCnt++) {
224   - echo '<option value="'.$strBumon[$intCnt][0].'">'.$strBumon[$intCnt][1].'</option>';
225   - }
226   - ?>
227   - </select>
228   - <INPUT type="button" onclick="All_chk2();" value="選択">&nbsp;
229   - </TD>
230   - </TR>
231   - <TR>
232   - <TD width=95 height=25 class="toneDown"><span class=Normalfont>出力社員</span></TD>
233   - <TD height=25 bgcolor="#ffffff">
234   - <?php
235   - for($intCnt = 0; $intCnt < count($strSyain) ; $intCnt++) {
236   - echo '<input type="checkbox" name="syain_chk" id="'.$strSyain[$intCnt][0].'" value="'.$strSyain[$intCnt][0].'">';
237   - echo '<label for="'.$strSyain[$intCnt][0].'">';
238   - echo '<span class="Normalfont">'.$strSyain[$intCnt][1].'</span>';
239   - echo '</label><BR>';
240   - echo '<input type="hidden" name="syain_hid" value="'.$strSyain[$intCnt][2].'">';
241   - }
242   - ?>
243   - </TD>
244   - </TR>
245   - </TABLE>
246   - </TD>
247   - </TR>
248   -</TABLE>
249   -<input type="button" onClick="CSVDownLoad();" name = "btnCsv" value="ダウンロード"> <input type="button" onClick="javascript:window.close();" name = "btnCsv" value="閉じる">
250   -</form>
251   -</BODY>
  1 +<?php
  2 +//*****************************************************************************
  3 +//*
  4 +//* プログラム名:スケジュール
  5 +//* プログラムID:TOP900.php
  6 +//* 機能 :CSV出力
  7 +//* 作成者 :K.Yoshimrua
  8 +//*
  9 +//*****************************************************************************
  10 +header("Content-type: text/html; charset=EUC-JP");
  11 +
  12 +include("include/session_start.inc");
  13 +include("include/SessionChk.inc");
  14 +include('include/smarty.conf');
  15 +
  16 +$strDBinc="include/dbcon.inc";
  17 +include($strDBinc);
  18 +
  19 +//社員情報取得
  20 +$strSQL="SELECT syain_cd,name_kj_sei,name_kj_mei".
  21 + " FROM syain_tbl Where del_flg=true Order By Disp_rank";
  22 +$objData = pg_exec($strSQL);
  23 +for($intCnt = 0; $intCnt < pg_numrows($objData) ; $intCnt++) {
  24 + $objRecData = pg_fetch_object($objData, $intCnt);
  25 + $strSyain[$intCnt][0]=$objRecData->syain_cd;
  26 + $strSyain[$intCnt][1]=$objRecData->name_kj_sei.$objRecData->name_kj_mei;
  27 + $strSyain[$intCnt][2]="";
  28 + $strSQL = "SELECT * From syozoku_tbl Where syain_cd='".$strSyain[$intCnt][0]."' ";
  29 + $objBumon = pg_exec($strSQL);
  30 + for($i = 0; $i < pg_numrows($objBumon) ; $i++) {
  31 + $objRecBumon = pg_fetch_object($objBumon, $i);
  32 + $strSyain[$intCnt][2].=$objRecBumon->syozoku_cd."/";
  33 + }
  34 +}
  35 +
  36 +//全部門
  37 +$strSQL = "SELECT syozoku_cd,bumon_name,disp_rank From mst_bumon Where del_flg=0 Order By disp_rank";
  38 +$objBumon = pg_exec($strSQL);
  39 +for($intCnt = 0; $intCnt < pg_numrows($objBumon) ; $intCnt++) {
  40 + $objRecBumon = pg_fetch_object($objBumon, $intCnt);
  41 + $strBumon[$intCnt][0]=$objRecBumon->syozoku_cd;
  42 + $strBumon[$intCnt][1]=$objRecBumon->bumon_name;
  43 +}
  44 +
  45 +?>
  46 +<!DOCTYPE HTML PUBLIC "-//W3C//DTD HTML 4.01 Transitional//EN">
  47 +<HTML>
  48 +<HEAD>
  49 +<META http-equiv="Content-Type" content="text/html; charset=EUC-JP">
  50 +<META http-equiv="Content-Style-Type" content="text/css">
  51 +<link rel="stylesheet" type="text/css" href="basefont.css">
  52 +<TITLE>E-グルPro</TITLE>
  53 +<SCRIPT LANGUAGE="JAVASCRIPT">
  54 +<!--
  55 +
  56 +//--------------------------
  57 +// オールチェック
  58 +//--------------------------
  59 +function All_chk(intSts){
  60 + if (document.e_gru.syain_chk.length){
  61 + if (intSts==1){
  62 + for(i = 0 ; i <= document.e_gru.syain_chk.length-1; i++ ){
  63 + document.e_gru.syain_chk[i].checked=false;
  64 + }
  65 + }else{
  66 + for(i = 0 ; i <= document.e_gru.syain_chk.length-1; i++ ){
  67 + document.e_gru.syain_chk[i].checked=true;
  68 + }
  69 + }
  70 + }else{
  71 + if (intSts==1){
  72 + document.e_gru.syain_chk.checked=false;
  73 + }else{
  74 + document.e_gru.syain_chk.checked=true;
  75 + }
  76 + }
  77 +}
  78 +
  79 +//--------------------------
  80 +// 部門チェック
  81 +//--------------------------
  82 +function All_chk2(){
  83 + if (document.e_gru.syain_chk.length){
  84 + for(i = 0 ; i <= document.e_gru.syain_chk.length-1; i++ ){
  85 + arr = (document.e_gru.syain_hid[i].value).split("/");
  86 + for(j=0;j<arr.length;j++){
  87 + if (document.e_gru.bumon.value==arr[j]){
  88 + document.e_gru.syain_chk[i].checked=true;
  89 + break;
  90 + }
  91 + }
  92 + }
  93 + }else{
  94 + arr = (document.e_gru.syain_hid.value).split("/");
  95 + for(j=0;j<arr.length;j++){
  96 + if (document.e_gru.bumon.value==arr[j]){
  97 + document.e_gru.syain_chk.checked=true;
  98 + break;
  99 + }
  100 + }
  101 + }
  102 +}
  103 +
  104 +//--------------------------
  105 +// CSVダウンロード
  106 +//--------------------------
  107 +function CSVDownLoad(){
  108 + prm = "";
  109 +
  110 + prm_list="";
  111 + if (document.e_gru.syain_chk.length){
  112 + for(i = 0 ; i <= document.e_gru.syain_chk.length-1; i++ ){
  113 + if (document.e_gru.syain_chk[i].checked==true){
  114 + prm_list+=document.e_gru.syain_chk[i].value+",";
  115 + }
  116 + }
  117 + }else{
  118 + prm_list+=document.e_gru.syain_chk.value+",";
  119 + }
  120 + if (prm_list==""){
  121 + alert("社員を最低一人を選択してください。");
  122 + return false;
  123 + }
  124 + prm = "lst_data="+prm_list;
  125 + prm += "&st_year="+document.e_gru.st_year.value;
  126 + prm += "&st_mon="+document.e_gru.st_mon.value;
  127 + prm += "&st_day="+document.e_gru.st_day.value;
  128 + prm += "&ed_year="+document.e_gru.ed_year.value;
  129 + prm += "&ed_mon="+document.e_gru.ed_mon.value;
  130 + prm += "&ed_day="+document.e_gru.ed_day.value;
  131 + document.e_gru.action = "TOP901.php?"+prm;
  132 + location.href = document.e_gru.action;
  133 +}
  134 +-->
  135 +</SCRIPT>
  136 +</HEAD>
  137 +<BODY>
  138 +<form name="e_gru">
  139 +<?php
  140 +$intLoop=date("Y")-2004+3;
  141 +?>
  142 +<br>
  143 +<TABLE width="580">
  144 + <TR>
  145 + <TD>
  146 + <TABLE cellspacing="1" cellpadding="1" width="100%" align="center" class="mainColor" border="0">
  147 + <TR>
  148 + <TD width=95 height=25 class="toneDown"><span class=Normalfont>出力期間</span></TD>
  149 + <TD height=25 bgcolor="#ffffff">
  150 + <SELECT name=st_year>
  151 + <option value="" selected>----</option>;
  152 + <?php
  153 + for ($i = 0 ; $i <= $intLoop ; $i++) {
  154 + $intSetValue=2004+$i;
  155 + echo '<option value='.$intSetValue.'>'.$intSetValue.'</option>';
  156 + }
  157 + ?>
  158 + </SELECT>
  159 + <SELECT name=st_mon>
  160 + <option value="" selected>---</option>;
  161 + <?php
  162 + for ($i = 1 ; $i <= 12 ; $i++) {
  163 + echo '<option value="'.sprintf('%02d',$i).'">'.$i.'</option>';
  164 + }
  165 + ?>
  166 + </SELECT>
  167 + <SELECT name=st_day>
  168 + <option value="" selected>---</option>;
  169 + <?php
  170 + for ($i = 1 ; $i <= 31 ; $i++) {
  171 + echo '<option value="'.sprintf('%02d',$i).'">'.$i.'</option>';
  172 + }
  173 + ?>
  174 + </SELECT>
  175 + <span class=Normalfont></span>
  176 + <SELECT name=ed_year>
  177 + <option value="">----</option>;
  178 + <?php
  179 + for ($i = 0 ; $i <= $intLoop ; $i++) {
  180 + $intSetValue=2004+$i;
  181 + echo '<option value="'.$intSetValue.'" ';
  182 + if (date("Y") == $intSetValue) {
  183 + echo 'selected';
  184 + }
  185 + echo '>'.$intSetValue.'</option>';
  186 + }
  187 + ?>
  188 + </SELECT>
  189 + <SELECT name=ed_mon>
  190 + <option value="">---</option>;
  191 + <?php
  192 + for ($i = 1 ; $i <= 12 ; $i++) {
  193 + echo '<option value="'.sprintf('%02d',$i).'" ';
  194 + if (date("n") == $i) {
  195 + echo 'selected';
  196 + }
  197 + echo '>'.$i.'</option>';
  198 + }
  199 + ?>
  200 + </SELECT>
  201 + <SELECT name=ed_day>
  202 + <option value="">---</option>;
  203 + <?php
  204 + for ($i = 1 ; $i <= 31 ; $i++) {
  205 + echo '<option value="'.sprintf('%02d',$i).'" ';
  206 + if (date("j") == $i) {
  207 + echo 'selected';
  208 + }
  209 + echo '>'.$i.'</option>';
  210 + }
  211 + ?>
  212 + </SELECT>
  213 + <span class=Normalfont> </span>
  214 + </TD>
  215 + </TR>
  216 + <TR>
  217 + <TD width=95 height=25 class="toneDown"><span class=Normalfont>出力部門</span></TD>
  218 + <TD height=25 bgcolor="#ffffff">
  219 + <INPUT type="button" onclick="All_chk(0);" value="全選択">&nbsp;
  220 + <INPUT type="button" onclick="All_chk(1);" value="全解除"><BR>
  221 + <select name="bumon">
  222 + <?php
  223 + for($intCnt = 0; $intCnt < count($strBumon) ; $intCnt++) {
  224 + echo '<option value="'.$strBumon[$intCnt][0].'">'.$strBumon[$intCnt][1].'</option>';
  225 + }
  226 + ?>
  227 + </select>
  228 + <INPUT type="button" onclick="All_chk2();" value="選択">&nbsp;
  229 + </TD>
  230 + </TR>
  231 + <TR>
  232 + <TD width=95 height=25 class="toneDown"><span class=Normalfont>出力社員</span></TD>
  233 + <TD height=25 bgcolor="#ffffff">
  234 + <?php
  235 + for($intCnt = 0; $intCnt < count($strSyain) ; $intCnt++) {
  236 + echo '<input type="checkbox" name="syain_chk" id="'.$strSyain[$intCnt][0].'" value="'.$strSyain[$intCnt][0].'">';
  237 + echo '<label for="'.$strSyain[$intCnt][0].'">';
  238 + echo '<span class="Normalfont">'.$strSyain[$intCnt][1].'</span>';
  239 + echo '</label><BR>';
  240 + echo '<input type="hidden" name="syain_hid" value="'.$strSyain[$intCnt][2].'">';
  241 + }
  242 + ?>
  243 + </TD>
  244 + </TR>
  245 + </TABLE>
  246 + </TD>
  247 + </TR>
  248 +</TABLE>
  249 +<input type="button" onClick="CSVDownLoad();" name = "btnCsv" value="ダウンロード"> <input type="button" onClick="javascript:window.close();" name = "btnCsv" value="閉じる">
  250 +</form>
  251 +</BODY>
252 252 </HTML>
\ No newline at end of file
... ...
... ... @@ -113,14 +113,14 @@ if (trim($MailTo)==""){
113 113 $MailSubject = "=?iso-2022-jp?B?" . base64_encode(jcodeconvert($MailSubject, 0, 3)) . "?=";
114 114
115 115 $Headers = "Date: ".$GMT_RFC."\n";
116   - $Headers .= "From: webmaster@media-tek.co.jp\n";
  116 + $Headers .= "From: aspservice@media-tek.co.jp\n";
117 117 $Headers .= "Subject: $MailSubject\n";
118 118 $Headers .= "MIME-Version: 1.0\n";
119 119 $Headers .= "X-Mailer: PHP/".phpversion()."\n";
120 120 $Headers .= "Content-type: text/plain; charset=ISO-2022-JP\n";
121 121 $Headers .= "Content-Transfer-Encoding: 7bit";
122 122
123   - $mlfr = "webmaster@media-tek.co.jp";
  123 + $mlfr = "aspservice@media-tek.co.jp";
124 124
125 125 // 準備
126 126 mb_language('Japanese');
... ...
  1 +
1 2 .table_line{
2 3 border: 1px solid #CCCCCC;
3 4 }
... ... @@ -32,3 +33,7 @@
32 33 text-align: right;
33 34 }
34 35
  36 +/* テーブル改行 */
  37 +table{
  38 + word-break: break-word;
  39 +}
\ No newline at end of file
... ...
No preview for this file type
No preview for this file type
... ... @@ -41,16 +41,24 @@ if( mb_ereg( "/MSIE/", $Agent ) ){
41 41 $strFileName = JcodeConvert($strFileName, 1, 2);
42 42 }
43 43
  44 +// SJIS to SJIS-WIN
  45 +$strFileName = mb_convert_encoding($strFileName, 'SJIS-WIN', 'SJIS');
  46 +// SJIS-WIN to UTF-8
  47 +$strFileName = mb_convert_encoding($strFileName, 'UTF-8', 'SJIS-WIN');
  48 +
44 49
45 50 //$strFileName = "ほげ.txt";
46 51 //header("Pragma: no-cache");
47 52
48 53 //Header("Content-Disposition: attachment; filename=\"$strFileName\"");
49 54 //Header("Content-Type: Application/Octet-Stream; filename=\"$strFileName\"");
50   -Header("Content-Disposition: attachment; filename=\"$strFileName\"");
51   -Header("Content-Type: Application/Octet-Stream; filename=\"$strFileName\"");
  55 +//Header("Content-Disposition: attachment; filename=\"$strFileName\"");
  56 +//Header("Content-Type: Application/Octet-Stream; filename=\"$strFileName\"");
52 57 //header("Cache-Control: no-cache, must-revalidate");
53 58
  59 +Header("Content-Disposition: attachment; filename=\"$strFileName\"");
  60 +Header("Content-Type: application/octet-stream");
  61 +
54 62 clearstatcache($strFileName);
55 63 $fp = fopen($strFilePass,"r");
56 64 $file = fread($fp,10000000);
... ... @@ -59,4 +67,4 @@ pclose($fp);
59 67 //fclose($fp);
60 68 echo $file;
61 69
62   -?>
\ No newline at end of file
  70 +?>
... ...
  1 +php_flag register_globals On
  2 +php_flag display_errors On
  3 +php_value error_reporting 6135
  4 +php_value default_charset SJIS
  5 +php_value mbstring.internal_encoding SJIS
... ...

22.2 KB

1   -<?php
2   -//*****************************************************************************
3   -//*
4   -//* プログラム名:
5   -//* プログラムID:SIZ000.php
6   -//* 機能 :フォルダ容量算出
7   -//* 作成者 :
8   -//*
9   -//*****************************************************************************
10   -
11   -$strDBinc="include/dbcon_group.inc";
12   -include($strDBinc);
13   -
14   -//制限数の取得
15   -$strSQL = "SELECT * FROM maxuser_tbl Where group_id='$PHP_FOLDER_NAME'";
16   -$objRec = pg_exec($strSQL);
17   -if($objRec==false){
18   - echo("SQL実行に失敗しました(SELECT)");
19   - exit;
20   -}
21   -$objData = pg_fetch_object($objRec, 0);
22   -$PHP_MAX_SIZE=$objData->max_size;
23   -
24   -include("include/dbcon.inc");
25   -
26   -$intFILE_SIZE[0]=0;
27   -$intFILE_SIZE[1]=0;
28   -$intFILE_SIZE[2]=0;
29   -$intFILE_SIZE[3]=0;
30   -$intFILE_SIZE[4]=0;
31   -$intFILE_SIZE[5]=0;
32   -$intFILE_SIZE[6]=0;
33   -$intFILE_SIZE[7]=0;
34   -$intFILE_SIZE[8]=0;
35   -$intFILE_SIZE[9]=0;
36   -
37   -//bbs
38   -$lst = "temp/".$PHP_FOLDER_NAME."/bbs"; // 表示するリストの名前(パス)
39   -$drc=dir($lst);
40   -while($fl=$drc->read()) {
41   - $lfl = $lst."/".$fl;
42   - $din = pathinfo($lfl);
43   - if(is_dir($lfl) && ($fl!=".." && $fl!=".")){
44   - } else if($fl!=".." && $fl!=".") {
45   - // ファイルサイズ
46   - $intFILE_SIZE[0]=intval($intFILE_SIZE[0])+round(filesize($lfl)/1024);
47   - }
48   -}
49   -$drc->close();
50   -
51   -
52   -//kairan
53   -$lst = "temp/".$PHP_FOLDER_NAME."/kairan"; // 表示するリストの名前(パス)
54   -$drc=dir($lst);
55   -while($fl=$drc->read()) {
56   - $lfl = $lst."/".$fl;
57   - $din = pathinfo($lfl);
58   - if(is_dir($lfl) && ($fl!=".." && $fl!=".")){
59   - } else if($fl!=".." && $fl!=".") {
60   - // ファイルサイズ
61   - $intFILE_SIZE[1]=intval($intFILE_SIZE[1])+round(filesize($lfl)/1024);
62   - }
63   -}
64   -$drc->close();
65   -
66   -//kaigi
67   -$lst = "temp/".$PHP_FOLDER_NAME."/kaigi"; // 表示するリストの名前(パス)
68   -$drc=dir($lst);
69   -while($fl=$drc->read()) {
70   - $lfl = $lst."/".$fl;
71   - $din = pathinfo($lfl);
72   - if(is_dir($lfl) && ($fl!=".." && $fl!=".")){
73   - } else if($fl!=".." && $fl!=".") {
74   - // ファイルサイズ
75   - $intFILE_SIZE[6]=intval($intFILE_SIZE[6])+round(filesize($lfl)/1024);
76   - }
77   -}
78   -$drc->close();
79   -
80   -//sinsei
81   -$lst = "temp/".$PHP_FOLDER_NAME."/sinsei"; // 表示するリストの名前(パス)
82   -$drc=dir($lst);
83   -while($fl=$drc->read()) {
84   - $lfl = $lst."/".$fl;
85   - $din = pathinfo($lfl);
86   - if(is_dir($lfl) && ($fl!=".." && $fl!=".")){
87   - } else if($fl!=".." && $fl!=".") {
88   - // ファイルサイズ
89   - $intFILE_SIZE[2]=intval($intFILE_SIZE[2])+round(filesize($lfl)/1024);
90   - }
91   -}
92   -$drc->close();
93   -
94   -//siryou
95   -$lst = "temp/".$PHP_FOLDER_NAME."/siryou"; // 表示するリストの名前(パス)
96   -$drc=dir($lst);
97   -while($fl=$drc->read()) {
98   - $lfl = $lst."/".$fl;
99   - $din = pathinfo($lfl);
100   - if(is_dir($lfl) && ($fl!=".." && $fl!=".")){
101   - } else if($fl!=".." && $fl!=".") {
102   - // ファイルサイズ
103   - $intFILE_SIZE[3]=intval($intFILE_SIZE[3])+round(filesize($lfl)/1024);
104   - }
105   -}
106   -$drc->close();
107   -
108   -//mail
109   -$lst = "temp/".$PHP_FOLDER_NAME."/mail"; // 表示するリストの名前(パス)
110   -$drc=dir($lst);
111   -while($fl=$drc->read()) {
112   - $lfl = $lst."/".$fl;
113   - $din = pathinfo($lfl);
114   - if(is_dir($lfl) && ($fl!=".." && $fl!=".")){
115   - } else if($fl!=".." && $fl!=".") {
116   - // ファイルサイズ
117   - $intFILE_SIZE[4]=intval($intFILE_SIZE[4])+round(filesize($lfl)/1024);
118   - }
119   -}
120   -$drc->close();
121   -
122   -//mail_send
123   -$lst = "temp/".$PHP_FOLDER_NAME."/mail_send"; // 表示するリストの名前(パス)
124   -$drc=dir($lst);
125   -while($fl=$drc->read()) {
126   - $lfl = $lst."/".$fl;
127   - $din = pathinfo($lfl);
128   - if(is_dir($lfl) && ($fl!=".." && $fl!=".")){
129   - } else if($fl!=".." && $fl!=".") {
130   - // ファイルサイズ
131   - $intFILE_SIZE[5]=intval($intFILE_SIZE[5])+round(filesize($lfl)/1024);
132   - }
133   -}
134   -$drc->close();
135   -
136   -//gyoumu
137   -$lst = "temp/".$PHP_FOLDER_NAME."/gyoumu"; // 表示するリストの名前(パス)
138   -$drc=dir($lst);
139   -while($fl=$drc->read()) {
140   - $lfl = $lst."/".$fl;
141   - $din = pathinfo($lfl);
142   - if(is_dir($lfl) && ($fl!=".." && $fl!=".")){
143   - } else if($fl!=".." && $fl!=".") {
144   - // ファイルサイズ
145   - $intFILE_SIZE[7]=intval($intFILE_SIZE[7])+round(filesize($lfl)/1024);
146   - }
147   -}
148   -$drc->close();
149   -
150   -//PRJ
151   -$lst = "temp/".$PHP_FOLDER_NAME."/PRJ"; // 表示するリストの名前(パス)
152   -$drc=dir($lst);
153   -while($fl=$drc->read()) {
154   - $lfl = $lst."/".$fl;
155   - $din = pathinfo($lfl);
156   - if(is_dir($lfl) && ($fl!=".." && $fl!=".")){
157   - } else if($fl!=".." && $fl!=".") {
158   - // ファイルサイズ
159   - $intFILE_SIZE[8]=intval($intFILE_SIZE[8])+round(filesize($lfl)/1024);
160   - }
161   -}
162   -$drc->close();
163   -
164   -//RPT
165   -$lst = "temp/".$PHP_FOLDER_NAME."/RPT"; // 表示するリストの名前(パス)
166   -$drc=dir($lst);
167   -while($fl=$drc->read()) {
168   - $lfl = $lst."/".$fl;
169   - $din = pathinfo($lfl);
170   - if(is_dir($lfl) && ($fl!=".." && $fl!=".")){
171   - } else if($fl!=".." && $fl!=".") {
172   - // ファイルサイズ
173   - $intFILE_SIZE[9]=intval($intFILE_SIZE[9])+round(filesize($lfl)/1024);
174   - }
175   -}
176   -$drc->close();
177   -
178   -$PHP_FILE_SIZE=(int)((intval($intFILE_SIZE[0])+intval($intFILE_SIZE[1])+intval($intFILE_SIZE[2])+intval($intFILE_SIZE[3])+intval($intFILE_SIZE[4])+intval($intFILE_SIZE[5])+intval($intFILE_SIZE[6])+intval($intFILE_SIZE[7])+intval($intFILE_SIZE[8])+intval($intFILE_SIZE[9]))/1024);
179   -if ($PHP_FILE_SIZE==0){
180   - $PHP_FILE_SIZE=1;
181   -}
182   -
183   -
184   -?>
  1 +<?php
  2 +//*****************************************************************************
  3 +//*
  4 +//* プログラム名:
  5 +//* プログラムID:SIZ000.php
  6 +//* 機能 :フォルダ容量算出
  7 +//* 作成者 :
  8 +//*
  9 +//*****************************************************************************
  10 +
  11 +$strDBinc="include/dbcon_group.inc";
  12 +include($strDBinc);
  13 +
  14 +//制限数の取得
  15 +$strSQL = "SELECT * FROM maxuser_tbl Where group_id='$PHP_FOLDER_NAME'";
  16 +$objRec = pg_exec($strSQL);
  17 +if($objRec==false){
  18 + echo("SQL実行に失敗しました(SELECT)");
  19 + exit;
  20 +}
  21 +$objData = pg_fetch_object($objRec, 0);
  22 +$PHP_MAX_SIZE=$objData->max_size;
  23 +
  24 +include("include/dbcon.inc");
  25 +
  26 +$intFILE_SIZE[0]=0;
  27 +$intFILE_SIZE[1]=0;
  28 +$intFILE_SIZE[2]=0;
  29 +$intFILE_SIZE[3]=0;
  30 +$intFILE_SIZE[4]=0;
  31 +$intFILE_SIZE[5]=0;
  32 +$intFILE_SIZE[6]=0;
  33 +$intFILE_SIZE[7]=0;
  34 +$intFILE_SIZE[8]=0;
  35 +$intFILE_SIZE[9]=0;
  36 +
  37 +//bbs
  38 +$lst = "temp/".$PHP_FOLDER_NAME."/bbs"; // 表示するリストの名前(パス)
  39 +$drc=dir($lst);
  40 +while($fl=$drc->read()) {
  41 + $lfl = $lst."/".$fl;
  42 + $din = pathinfo($lfl);
  43 + if(is_dir($lfl) && ($fl!=".." && $fl!=".")){
  44 + } else if($fl!=".." && $fl!=".") {
  45 + // ファイルサイズ
  46 + $intFILE_SIZE[0]=intval($intFILE_SIZE[0])+round(filesize($lfl)/1024);
  47 + }
  48 +}
  49 +$drc->close();
  50 +
  51 +
  52 +//kairan
  53 +$lst = "temp/".$PHP_FOLDER_NAME."/kairan"; // 表示するリストの名前(パス)
  54 +$drc=dir($lst);
  55 +while($fl=$drc->read()) {
  56 + $lfl = $lst."/".$fl;
  57 + $din = pathinfo($lfl);
  58 + if(is_dir($lfl) && ($fl!=".." && $fl!=".")){
  59 + } else if($fl!=".." && $fl!=".") {
  60 + // ファイルサイズ
  61 + $intFILE_SIZE[1]=intval($intFILE_SIZE[1])+round(filesize($lfl)/1024);
  62 + }
  63 +}
  64 +$drc->close();
  65 +
  66 +//kaigi
  67 +$lst = "temp/".$PHP_FOLDER_NAME."/kaigi"; // 表示するリストの名前(パス)
  68 +$drc=dir($lst);
  69 +while($fl=$drc->read()) {
  70 + $lfl = $lst."/".$fl;
  71 + $din = pathinfo($lfl);
  72 + if(is_dir($lfl) && ($fl!=".." && $fl!=".")){
  73 + } else if($fl!=".." && $fl!=".") {
  74 + // ファイルサイズ
  75 + $intFILE_SIZE[6]=intval($intFILE_SIZE[6])+round(filesize($lfl)/1024);
  76 + }
  77 +}
  78 +$drc->close();
  79 +
  80 +//sinsei
  81 +$strSQL = "SELECT";
  82 +$strSQL .= " syain_tbl.syain_cd , ";
  83 +$strSQL .= " syain_tbl.name_kj_sei , ";
  84 +$strSQL .= " syain_tbl.name_kj_mei , ";
  85 +$strSQL .= " count(*) as dt_count ";
  86 +$strSQL .= "FROM";
  87 +$strSQL .= " syain_tbl ,";
  88 +$strSQL .= " sinsei_tbl ";
  89 +$strSQL .= "WHERE ";
  90 +$strSQL .= " syain_tbl.syain_cd = sinsei_tbl.syain_cd ";
  91 +$strSQL .= "GROUP BY ";
  92 +$strSQL .= " syain_tbl.syain_cd ,";
  93 +$strSQL .= " syain_tbl.name_kj_sei,";
  94 +$strSQL .= " syain_tbl.name_kj_mei,";
  95 +$strSQL .= " syain_tbl.disp_rank ";
  96 +$strSQL .= "ORDER BY ";
  97 +$strSQL .= " syain_tbl.disp_rank";
  98 +$objRec = pg_exec($strSQL);
  99 +if($objRec==false){
  100 + echo("SQL実行に失敗しました(SELECT)");
  101 + exit;
  102 +}
  103 +
  104 +$intSet = 0;
  105 +for ($intI=0; $intI < pg_numrows($objRec); $intI++){
  106 + $objData = pg_fetch_object($objRec, $intI);
  107 +
  108 + $File_Size = 0;
  109 + $strSQL = "SELECT";
  110 + $strSQL .= " * ";
  111 + $strSQL .= "FROM ";
  112 + $strSQL .= " sinsei_tbl ";
  113 + $strSQL .= "WHERE ";
  114 + $strSQL .= " syain_cd = '".$objData->syain_cd."' ";
  115 + $objFlRec = pg_exec($strSQL);
  116 + if($objFlRec==false){
  117 + echo("SQL実行に失敗しました(SELECT)");
  118 + exit;
  119 + }
  120 +
  121 + for ($intJ=0; $intJ < pg_numrows($objFlRec); $intJ++){
  122 + $objFLData = pg_fetch_object($objFlRec, $intJ);
  123 + $File_Name = "./temp/".$PHP_FOLDER_NAME."/sinsei/".$objFLData->file_name;
  124 + if ($objFLData->file_name!=""){
  125 + if(file_exists($File_Name)){
  126 + $File_Size = $File_Size+filesize($File_Name);
  127 + }
  128 + }
  129 + }
  130 +
  131 + if ($File_Size!=0){
  132 + $User_Data[$intSet][2] = 0;
  133 + $User_Data[$intSet][2] = round((round($File_Size/1024)/1024)*100)/100;
  134 + $intFILE_SIZE[2] = $intFILE_SIZE[2]+$User_Data[$intSet][2];
  135 + }
  136 +}
  137 +
  138 +/*
  139 +$lst = "temp/".$PHP_FOLDER_NAME."/sinsei"; // 表示するリストの名前(パス)
  140 +$drc=dir($lst);
  141 +while($fl=$drc->read()) {
  142 + $lfl = $lst."/".$fl;
  143 + $din = pathinfo($lfl);
  144 + if(is_dir($lfl) && ($fl!=".." && $fl!=".")){
  145 + } else if($fl!=".." && $fl!=".") {
  146 + // ファイルサイズ
  147 + $intFILE_SIZE[2]=intval($intFILE_SIZE[2])+round(filesize($lfl)/1024);
  148 + }
  149 +}
  150 +$drc->close();
  151 +*/
  152 +
  153 +//siryou
  154 +$lst = "temp/".$PHP_FOLDER_NAME."/siryou"; // 表示するリストの名前(パス)
  155 +$drc=dir($lst);
  156 +while($fl=$drc->read()) {
  157 + $lfl = $lst."/".$fl;
  158 + $din = pathinfo($lfl);
  159 + if(is_dir($lfl) && ($fl!=".." && $fl!=".")){
  160 + } else if($fl!=".." && $fl!=".") {
  161 + // ファイルサイズ
  162 + $intFILE_SIZE[3]=intval($intFILE_SIZE[3])+round(filesize($lfl)/1024);
  163 + }
  164 +}
  165 +$drc->close();
  166 +
  167 +//mail
  168 +$strSQL = "SELECT";
  169 +$strSQL .= " syain_tbl.syain_cd , ";
  170 +$strSQL .= " syain_tbl.name_kj_sei , ";
  171 +$strSQL .= " syain_tbl.name_kj_mei , ";
  172 +$strSQL .= " sum(cast(mail_size as int8)) as size_total, ";
  173 +$strSQL .= " count(*) as mail_total ";
  174 +$strSQL .= "FROM ";
  175 +$strSQL .= " syain_tbl , ";
  176 +$strSQL .= " mail_get_tbl ";
  177 +$strSQL .= "WHERE ";
  178 +$strSQL .= " syain_tbl.syain_cd = mail_get_tbl.syain_cd AND ";
  179 +$strSQL .= " syain_tbl.del_flg = true AND ";
  180 +$strSQL .= " mail_get_tbl.del_flg = 0 ";
  181 +$strSQL .= "GROUP BY ";
  182 +$strSQL .= " syain_tbl.syain_cd , ";
  183 +$strSQL .= " syain_tbl.disp_rank , ";
  184 +$strSQL .= " syain_tbl.name_kj_sei, ";
  185 +$strSQL .= " syain_tbl.name_kj_mei ";
  186 +$strSQL .= "ORDER BY ";
  187 +$strSQL .= " syain_tbl.disp_rank";
  188 +//echo $strSQL;
  189 +$objRec = pg_exec($strSQL);
  190 +if($objRec==false){
  191 + echo("SQL実行に失敗しました(SELECT)");
  192 + exit;
  193 +}
  194 +$Total_Size = 0;
  195 +for ($intI=0; $intI < pg_numrows($objRec); $intI++){
  196 + $objData = pg_fetch_object($objRec, $intI);
  197 + $User_Data[$intI][2] = 0;
  198 +
  199 + foreach (glob("temp/".$PHP_FOLDER_NAME."/mail/".$objData->syain_cd."-*") as $filename) {
  200 + $size_tmp = round(filesize($filename)/1024);
  201 + $size_tmp = round(($size_tmp/1024)*100)/100;
  202 + //echo $size_tmp."<br>";
  203 + $User_Data[$intI][2] = $User_Data[$intI][2]+$size_tmp;
  204 + }
  205 + $Total_Size = $Total_Size+$User_Data[$intI][2];
  206 +}
  207 +$intFILE_SIZE[4]=$Total_Size;
  208 +/*
  209 +$lst = "temp/".$PHP_FOLDER_NAME."/mail"; // 表示するリストの名前(パス)
  210 +$drc=dir($lst);
  211 +while($fl=$drc->read()) {
  212 + $lfl = $lst."/".$fl;
  213 + $din = pathinfo($lfl);
  214 + if(is_dir($lfl) && ($fl!=".." && $fl!=".")){
  215 + } else if($fl!=".." && $fl!=".") {
  216 + // ファイルサイズ
  217 + $intFILE_SIZE[4]=intval($intFILE_SIZE[4])+round(filesize($lfl)/1024);
  218 + }
  219 +}
  220 +$drc->close();
  221 +*/
  222 +
  223 +//mail_send
  224 +$lst = "temp/".$PHP_FOLDER_NAME."/mail_send"; // 表示するリストの名前(パス)
  225 +$drc=dir($lst);
  226 +while($fl=$drc->read()) {
  227 + $lfl = $lst."/".$fl;
  228 + $din = pathinfo($lfl);
  229 + if(is_dir($lfl) && ($fl!=".." && $fl!=".")){
  230 + } else if($fl!=".." && $fl!=".") {
  231 + // ファイルサイズ
  232 + $intFILE_SIZE[5]=intval($intFILE_SIZE[5])+round(filesize($lfl)/1024);
  233 + }
  234 +}
  235 +$drc->close();
  236 +
  237 +//gyoumu
  238 +$lst = "temp/".$PHP_FOLDER_NAME."/gyoumu"; // 表示するリストの名前(パス)
  239 +$drc=dir($lst);
  240 +while($fl=$drc->read()) {
  241 + $lfl = $lst."/".$fl;
  242 + $din = pathinfo($lfl);
  243 + if(is_dir($lfl) && ($fl!=".." && $fl!=".")){
  244 + } else if($fl!=".." && $fl!=".") {
  245 + // ファイルサイズ
  246 + $intFILE_SIZE[7]=intval($intFILE_SIZE[7])+round(filesize($lfl)/1024);
  247 + }
  248 +}
  249 +$drc->close();
  250 +
  251 +//PRJ
  252 +$lst = "temp/".$PHP_FOLDER_NAME."/PRJ"; // 表示するリストの名前(パス)
  253 +$drc=dir($lst);
  254 +while($fl=$drc->read()) {
  255 + $lfl = $lst."/".$fl;
  256 + $din = pathinfo($lfl);
  257 + if(is_dir($lfl) && ($fl!=".." && $fl!=".")){
  258 + } else if($fl!=".." && $fl!=".") {
  259 + // ファイルサイズ
  260 + $intFILE_SIZE[8]=intval($intFILE_SIZE[8])+round(filesize($lfl)/1024);
  261 + }
  262 +}
  263 +$drc->close();
  264 +
  265 +//RPT
  266 +$lst = "temp/".$PHP_FOLDER_NAME."/RPT"; // 表示するリストの名前(パス)
  267 +$drc=dir($lst);
  268 +while($fl=$drc->read()) {
  269 + $lfl = $lst."/".$fl;
  270 + $din = pathinfo($lfl);
  271 + if(is_dir($lfl) && ($fl!=".." && $fl!=".")){
  272 + } else if($fl!=".." && $fl!=".") {
  273 + // ファイルサイズ
  274 + $intFILE_SIZE[9]=intval($intFILE_SIZE[9])+round(filesize($lfl)/1024);
  275 + }
  276 +}
  277 +$drc->close();
  278 +
  279 +$PHP_FILE_SIZE=(int)((intval($intFILE_SIZE[0])+intval($intFILE_SIZE[1])+intval($intFILE_SIZE[2])+intval($intFILE_SIZE[3])+intval($intFILE_SIZE[4])+intval($intFILE_SIZE[5])+intval($intFILE_SIZE[6])+intval($intFILE_SIZE[7])+intval($intFILE_SIZE[8])+intval($intFILE_SIZE[9]))/1024);
  280 +if ($PHP_FILE_SIZE==0){
  281 + $PHP_FILE_SIZE=1;
  282 +}
  283 +
  284 +
  285 +?>
... ...
... ... @@ -226,11 +226,10 @@ function LoadGoogleCal2(/*kijyundate , scdl_bumon*/){
226 226
227 227 //********** Googleカレンダー(API) **********
228 228 function LoadGoogleCal2_API(/*kijyundate , scdl_bumon*/){
229   - var scdl_bumon = document.getElementById("gc_scdl_bumon").value;
  229 + //var scdl_bumon = document.getElementById("gc_scdl_bumon").value;
  230 + var scdl_bumon = document.e_gru.scdl_bumon.value;
230 231 var kijyundate = document.getElementById("gc_strwkdate").value;
231   -
232   -
233   -
  232 +
234 233 var $o = jQuery.noConflict();
235 234
236 235 $o.ajax({
... ... @@ -240,11 +239,10 @@ function LoadGoogleCal2_API(/*kijyundate , scdl_bumon*/){
240 239 contentType: "json",
241 240 success: function (data, dataType) {
242 241
243   -
244 242 obj = $o.parseJSON(data);
245 243
246 244 for (var key in obj) {
247   -
  245 +
248 246 for (i=0; i < 7;i++){
249 247
250 248
... ...
... ... @@ -9,7 +9,7 @@
9 9 //*****************************************************************************
10 10 include("session_start.inc");
11 11
12   - $hostname="172.31.18.14";
  12 + $hostname="172.31.16.254";
13 13 // $database="e-gru_pro_test";
14 14 $database=$PHP_DB_NAME;
15 15 if( !$pg_con=pg_connect("host=$hostname port=5433 dbname=$database user=pgsqladmin password=pgsqladmin") ) {
... ...
... ... @@ -8,7 +8,7 @@
8 8 //*
9 9 //*****************************************************************************
10 10
11   - $hostname="172.31.18.14";
  11 + $hostname="172.31.16.254";
12 12 $database="e-gruPro_admin";
13 13
14 14 if( !$pg_con=pg_connect("host=$hostname port=5433 dbname=$database user=pgsqladmin password=pgsqladmin") ) {
... ...
1 1 <?php
2 2 //URL¤ÎƬÀßÄê
3 3 $UrlHead_PC = "https://sys1.e-gru.net/e-gruPro/";
4   -$UrlHead_MB = "https://sys1.e-gru.net/e-gruPro/m/";
  4 +$UrlHead_MB = "http://sys1.e-gru.net/e-gruPro/m/";
5 5 $UrlHead_Cal = "webcal://sys1.e-gru.net/e-gruPro/";
6   -$UrlHead_TEL = "https://sys1.e-gru.net/e-gruPro/";
  6 +$UrlHead_TEL = "http://sys1.e-gru.net/e-gruPro/";
7 7 $UrlHead_ACCESS = "https://sys1.e-gru.net/access/e-gruPro/";
8 8 ?>
... ...
  1 +<script language="javascript">
  2 +function key_Press(e){
  3 + var intKey = 0;
  4 + if(Get_BName() == "POST"){
  5 + intKey = event.keyCode;
  6 + }else{
  7 + intKey = e.which;
  8 + }
  9 + if(intKey == 13){
  10 + loadHTMLFile_Login('login_input.php?LoginID='+document.top.GroupID.value+'&Passwd='+document.top.GroupPW.value);
  11 + }
  12 +}
  13 +function key_Press2(e){
  14 + var intKey = 0;
  15 + if(Get_BName() == "POST"){
  16 + intKey = event.keyCode;
  17 + }else{
  18 + intKey = e.which;
  19 + }
  20 + if(intKey == 13){
  21 + sendRequest(on_loaded1,'&LoginID='+document.top.select.value+'&Passwd='+document.top.Passwd2.value,Get_BName(),'./loginchk.php',true,true);
  22 + }
  23 +}
  24 +document.onkeypress = key_Press;
  25 +</script>
  26 +<title>E-グルPro</title>
  27 +<style type="text/css">
  28 +<!--
  29 +body {
  30 + background-repeat:repeat-x;
  31 + background-position:0% 100%;
  32 + background-image: url(image/login/bk_g.jpg);
  33 +}
  34 +-->
  35 +</style>
  36 +</head>
  37 +<!--{if $session_true == "true" }-->
  38 +<body leftmargin="0" topmargin="0" marginwidth="0" marginheight="0">
  39 +<!--{else}-->
  40 +<body onload="MovePage('<!--{$DISP_URL}-->')">
  41 +<!--{/if}-->
  42 +<br>
  43 +<br>
  44 +<form name="top" onSubmit="return false">
  45 +
  46 +<TABLE WIDTH="100%" BORDER="0" ALIGN="CENTER" CELLPADDING="0" CELLSPACING="0">
  47 + <TR>
  48 + <TD WIDTH="30%">&nbsp;</TD>
  49 + <TD WIDTH="70%" colspan="2" VALIGN="MIDDLE"> </TD>
  50 + </TR>
  51 + <TR>
  52 + <TD colspan="3">
  53 + <br>
  54 + <table width="663" border="0" align="center" cellpadding="0" cellspacing="0">
  55 + <tr>
  56 + <td><img src="image/login/l_top.gif" width="20" height="41"></td>
  57 + <td width="621" valign="top" class="hai_1"><img src="image/login/l_top_logo.gif" width="127" height="41"><img src="image/login/top_n.gif" width="20" height="41"></td>
  58 + <td width="23"><img src="image/login/kage_1.gif" width="23" height="41"></td>
  59 + </tr>
  60 + <tr> <td background="image/login/l_line.gif">&nbsp;</td>
  61 + <td bgcolor="#FFFFFF">
  62 + <TABLE width="531" BORDER="0" ALIGN="center" CELLPADDING="0" CELLSPACING="3">
  63 + <TR>
  64 + <TD align="center" colspan="2"><br><div id="err"></div></TD>
  65 + </TR>
  66 + <TR>
  67 + <TD>
  68 + <div id="login">
  69 + <TABLE BORDER="0" ALIGN="RIGHT" >
  70 + <TR>
  71 + <TD width="117"> グループID :</TD>
  72 + <TD width="399">
  73 + <input type="text" name="GroupID" size="20" value="<!--{$cookGroupID}-->" maxlength="64" style="FONT-SIZE: 9pt; HEIGHT: 18px; WIDTH:140px,background:#FFFFFF;" />
  74 + </TD>
  75 + </TR>
  76 + <TR>
  77 + <TD> パスワード :  </TD>
  78 + <TD>
  79 + <input type="password" name="GroupPW" value="<!--{$cookGroupPW}-->" size="20" maxlength="64" style="FONT-SIZE: 9pt; HEIGHT: 18px; WIDTH:140px,background:#FFFFFF;" />
  80 + </TD>
  81 + </TR>
  82 + <TR>
  83 + <TD> </TD>
  84 + <TD>
  85 + <input name="button" type = "button" onclick="loadHTMLFile_Login('login_input.php?LoginID='+this.form.GroupID.value+'&Passwd='+this.form.GroupPW.value)" value="ログイン">
  86 + </TD>
  87 + </TR>
  88 + <tr>
  89 + <td colspan="2" class="Normalfont">
  90 + <br>
  91 +<!--
  92 + <blockquote style=" width:515;background-color:#DAEEFE;padding:3px 3px 3px 3px; margin:6px 0px 9px 3px;border:1px solid #111111;"><strong><font color="#AA0000">
  93 + <2012.09.03>新機能追加のお知らせ</font></strong><br>
  94 + <strong><font color="#000066">  新機能としてアンケート機能が追加となりました。</font></strong><br>
  95 +   機能詳細は、<a href="http://www.e-gru.net/" target="_blank">E-グルProホームページ</a>をご確認ください。<br>
  96 +   機能限定プランのお客様は1ヶ月間試用していただくことも可能です。<br>
  97 +   ご希望の場合はログインしていただき利用者の声よりご連絡ください。<br><br>
  98 +   また、フル機能パックをご契約のお客様は、管理者メニューにあります<br>
  99 +   「メニュー情報設定」の「未使用」から移動してご利用ください。<br>
  100 + </blockquote>
  101 +-->
  102 + <table width="520" border="1" cellpadding="0" cellspacing="0" bgcolor="#FFFFCC" align="center">
  103 + <tr>
  104 + <td class="Normalfont">
  105 +
  106 +
  107 + <strong><font color="#AA0000"> 【2017/07/20】夏季休業のお知らせ</font></strong><br>
  108 + <strong>
  109 +   ・休業期間 2017年8月11日(金)〜2017年8月16日(水)<br>
  110 +   ・お休みをいただくサービス<br>
  111 +    電話でのお問い合わせ、各種設定変更のサービス<br>
  112 + </strong>
  113 +    ※休業期間中のE-Mailでのお問い合わせにつきましては受付のみ<br>
  114 +     とさせていただきます。<br>
  115 +     回答につきましては<strong>2017年8月17日(木)以降</strong>とさせていただきます。<br><br>
  116 +
  117 +    お客様にはご迷惑をお掛けいたしますが、何卒ご理解とご協力のほど<br>
  118 +    宜しくお願い申し上げます。<br><br>
  119 +
  120 +
  121 + <!--
  122 + <strong>
  123 + <font color="#AA0000">
  124 +  ○重要:Googleカレンダーとのスケジュール連動について
  125 + </font>
  126 + </strong>
  127 + <br>
  128 +   Googleカレンダーの仕様変更に伴い、2015年11月18日を<br>
  129 +   持ちまして、現在ご提供中のGoolgeカレンダー連動機能が<br>
  130 +   ご利用いただけなくなります。<br>
  131 +
  132 +   仕様変更に伴い、新たな仕様に対応した連携機能の開発を<br>
  133 +   予定しております。<br>
  134 +   また、新方式の採用に伴い設定方法が変わりますため、<br>
  135 +   詳しい設定手順につきましては、11月11日(水)に<br>
  136 +   お知らせいたします。<br><br>
  137 +
  138 +
  139 +   Googleカレンダーの仕様変更に伴い、2015年11月18日を<br>
  140 +   持ちまして、現在ご提供中のGoolgeカレンダー連動機能が<br>
  141 +   ご利用いただけなくなります。<br>
  142 +
  143 +   仕様変更に伴い、Googleカレンダー連動の再設定が<br>
  144 +   必要となります。<br>
  145 +   設定手順につきましては、<a href="http://sys1.e-gru.net/e-gruPro/help/KST024HLP.htm" target="_blank">こちら</a>にてご確認下さい。<br><br>
  146 +
  147 +
  148 + <strong>
  149 + <font color="#AA0000">
  150 +  ○2016/02/22 E-グルProからのお知らせ
  151 + </font>
  152 + </strong>
  153 + <br>
  154 +
  155 +   当E-グルProにおきまして、2016/2/21未明より添付ファイルが<br>
  156 +   正常にアップロードできない障害が発生しておりました。<br><br>
  157 +
  158 +   障害発生中にアップロードした回覧やマイ・データなどの<br>
  159 +   添付ファイルにつきましては、正しく表示されない場合がございます。<br>
  160 +   そちらに関しましては、お手数をおかけして大変申し訳ございませんが、<br>
  161 +   再度、添付ファイルをアップロードしていただくようお願いいたします。<br><br>
  162 +
  163 +   この度は、ご不便をおかけして大変申し訳ございませんでした。<BR>
  164 +   今後とも「E-グルPro」をよろしくお願いします。<BR><BR><BR>
  165 + -->
  166 +
  167 + <strong>
  168 + <font color="#AA0000">
  169 +  <2014/2/20><br>
  170 +  ●メンテナンスのお知らせ
  171 + </font>
  172 + </strong>
  173 + <br>
  174 +
  175 +  いつもE-グルProをご利用いただき誠にありがとうございます。<BR>
  176 +  下記日時において、サーバのメンテナンス作業を実施いたします。<BR><BR>
  177 +
  178 +  【作業日時】 2023年9月29日(土) 22:00〜2:00<BR><BR>
  179 +
  180 +  作業実施中は、「E-グルPro」がご利用できない状態となります。<BR>
  181 +  お客様には大変ご迷惑をおかけいたしますが<BR>
  182 +  何卒ご理解とご協力をお願いいたします。<BR><BR>
  183 +
  184 +
  185 + <strong>
  186 + <font color="#AA0000">
  187 +  ○ご契約内容の変更連絡について
  188 + </font>
  189 + </strong>
  190 + <br>
  191 +   E-グルProのご利用プラン変更やご担当者様の変更等は、<br>
  192 +   ご登録団体の認証のためE-グルPro内にございます<br>
  193 +   【利用者の声】よりご連絡ください。<br><br>
  194 + <!--
  195 +
  196 + <strong>
  197 + <font color="#AA0000">
  198 +  <2014/2/22><br>
  199 +  ●メンテナンス完了のお知らせ
  200 + </font>
  201 + </strong>
  202 + <br>
  203 +
  204 +  いつもE-グルProをご利用いただき誠にありがとうございます。<BR>
  205 +  先にご案内させていただきましたサーバのメンテナンス作業が<BR>
  206 +  完了いたしましたのでご報告いたします。<BR><BR>
  207 +
  208 +  お客様のご理解とご協力に深く感謝申し上げます。<BR>
  209 +  今後ともE-グルProをどうぞ宜しくお願いいたします。<BR><BR>
  210 +
  211 +
  212 + <strong>
  213 + <font color="#AA0000">
  214 +  <2014/2/20><br>
  215 +  ●メンテナンスのお知らせ
  216 + </font>
  217 + </strong>
  218 + <br>
  219 +
  220 +  いつもE-グルProをご利用いただき誠にありがとうございます。<BR>
  221 +  下記日時において、サーバのメンテナンス作業を実施いたします。<BR><BR>
  222 +
  223 +  【作業日時】 2014年2月22日(土) AM0:00〜AM6:00<BR><BR>
  224 +
  225 +  作業実施中は、「E-グルPro」がご利用できない状態となります。<BR>
  226 +  お客様には大変ご迷惑をおかけいたしますが<BR>
  227 +  何卒ご理解とご協力をお願いいたします。<BR><BR>
  228 +
  229 +
  230 + <strong><font color="#AA0000"> ●バージョンアップのお知らせ</font></strong><br>
  231 + <strong><font color="#AA0000">  <2013.10.24></font></strong><br>
  232 +   ○スケジュール画面<br>
  233 +    スケジュール画面のTodo、マイ・ノートの表示、非表示が<br>
  234 +    設定できるようになりました。<br>
  235 +    個人設定メニューの「ToDo・マイノート表示設定」にて<br>
  236 +    設定してください。<br><br>
  237 +
  238 +   ○一括削除機能<br>
  239 +    管理者メニュー一括削除機能一覧に業務指示・報告が追加となりました。<br><br>
  240 +-->
  241 +
  242 + <!--
  243 +
  244 + <strong><font color="#AA0000"> ○夏季休業のお知らせ</font></strong><br>
  245 + <strong>
  246 +   ・休業期間 平成25年8月13日(火)〜平成25年8月18日(日)<br>
  247 +   ・お休みをいただくサービス<br>
  248 +    電話でのお問い合わせ、各種設定変更のサービス<br>
  249 + </strong>
  250 +    ※休業期間中のE-Mailでのお問い合わせにつきましては受付のみ<br>
  251 +     とさせていただきます。<br>
  252 +     回答につきましては<strong>平成25年8月19日(月)以降</strong>とさせていただきます。<br><br>
  253 +
  254 +    お客様にはご迷惑をお掛けいたしますが、何卒ご理解とご協力のほど<br>
  255 +    宜しくお願い申し上げます。<br><br>
  256 +
  257 +
  258 + <strong><font color="#AA0000"><2010/11/17 11:00更新><br>●メンテナンス完了のお知らせ</font></strong><br>
  259 +
  260 +  NTT東日本機器障害により、代替機器・環境にてサービスを<BR>
  261 +  稼動させておりましたが、機器障害が復旧したことを受けまして、<BR>
  262 +  11月17日(水) 2:00よりメンテナンスを行いました。<BR><BR>
  263 +
  264 +  この度は多大なるご迷惑をおかけいたしましたことを、<BR>
  265 +  深くお詫び申し上げます。<BR><BR>
  266 +
  267 +  今回のお詫びといたしまして、11月12日現在ご契約中の団体様の<BR>
  268 +  容量を100M追加させていただきました。<BR><BR>
  269 +
  270 +  今回の障害はNTT東日本機器が原因となりますが、<BR>
  271 +  原因箇所の特定までに非常に時間を要したため、<BR>
  272 +  サービス障害に関しての対応も遅くなってしまいました。<BR><BR>
  273 +
  274 +  今後このような際には、代替環境の設置等をスムーズに行い<BR>
  275 +  サービスが停止しないよう努めてまいります。<BR><BR>
  276 +
  277 +  今後とも「E-グルPro」をよろしくお願いします。<BR>
  278 +
  279 +   11月9日未明より発生しております、「WEBメール機能」<BR>
  280 +   「お知らせメール機能」の障害ですが現在も回線業者様・各ハードウェア<BR>
  281 +   業者様と連携し調査を行っております。<br>
  282 +   できるだけ早く復旧するよう努めてまいります。<br>
  283 +   この度は、お客様には多大なご迷惑をおかけしまして大変申し訳ございま<BR>
  284 +   せん。<br><br>
  285 +
  286 +   また、お問い合わせに関しましては、「aspservice@media-tek.co.jp」へ<br>
  287 +   連絡をお願いいたします。<br>
  288 +   電話での連絡をご希望の場合は、連絡先の記載をお願いいたします。<br><br>
  289 +
  290 + <strong><2010/11/10>障害状況のご報告</strong><br>
  291 +  ・ご報告が遅くなり、申し訳ございません。<br>
  292 +   11月10日23時現在を持ちましても、復旧の目処は立っておりません。<br>
  293 +   ご迷惑をおかけし、大変申し訳ございません。<br><br>
  294 +   できるだけ早く復旧するよう努めてまいります。<br><br>
  295 +
  296 + <strong><2010/11/09>障害のお知らせ</strong><br>
  297 +  ・11月9日未明より回線障害が発生しており、<br>
  298 +   「WEBメール」がご利用不能となっております。<br>
  299 +   原因を調査中ですが11月9日7:00現在、復旧の見通しは立っておりません。<br>
  300 +   ご利用のお客様には大変ご迷惑をおかけいたしましすが、<br>
  301 +   復旧までしばらくお待ちくださるようお願い申し上げます。<br><br>
  302 +
  303 + <strong><2010/09/01>E-グルPro障害について</strong><br>
  304 +   ・E-グルProのサーバ障害が発生し<b>8:10〜9:45</b>の時間帯におきまして<br>
  305 +    一部のお客様がE-グルProへアクセスできない障害が発生しておりました。<br>
  306 +    現在は、復旧しております。<br>
  307 +    お客様には大変ご迷惑をおかけいたしましたことをお詫び申し上げます。<br><br>
  308 +
  309 + <strong><font color="#AA0000"><2009.12.03>メンテナンスのお知らせ</font></strong><br>
  310 +  ・12月7日(月)午後9時〜11時の時間帯にメンテナンスのため<br>
  311 +   E-グルProへ繋がりにくくなる可能性がございます。<br>
  312 +   お客様にはご迷惑をお掛けいたしますが、ご理解とご協力のほど<br>
  313 +   宜しくお願い申し上げます。<br><br>
  314 +
  315 + <strong><font color="#AA0000">【E-グルPro】からのお知らせ</font></strong><br>
  316 + <strong><font color="#AA0000"><200X.XX.XX>バージョンアップのお知らせ</font></strong><br>
  317 +  ・XXXXXXXXXXXXされるように変更しました。<br>
  318 +
  319 + <strong><font color="#AA0000">【E-グルPro】からのお知らせ</font></strong><br>
  320 + <strong><font color="#AA0000"><2008.05.16>バージョンアップのお知らせ</font></strong><br>
  321 +  ○管理者機能の「過去データ削除」へ対象機能を追加しました。<br>
  322 +   ・当番担当者<br>
  323 +   ・施設予約<br>
  324 +  <strong><font color="#FF0000">※削除後の復旧はできませんのでご注意ください。</font></strong><br>
  325 + <br>
  326 +
  327 + -->
  328 +
  329 +
  330 +
  331 + <strong><font color="#000066">
  332 +  ○管理者用・利用者用の【初めてガイド】を公開!</font></strong><br>
  333 +   【初めてガイド】管理者用<br>
  334 +    <a href="http://sys1.e-gru.net/e-gruPro/guide/start_admin/" target="_blank">
  335 + http://sys1.e-gru.net/e-gruPro/guide/start_admin/
  336 + </a>
  337 + <br>
  338 +   【初めてガイド】利用者用<br>
  339 +    <a href="http://sys1.e-gru.net/e-gruPro/guide/start_user/" target="_blank">
  340 + http://sys1.e-gru.net/e-gruPro/guide/start_user/
  341 + </a>
  342 + <br>
  343 + <br>
  344 +
  345 +
  346 + </td>
  347 + </tr>
  348 + </table>
  349 + </td>
  350 + </tr>
  351 + <tr>
  352 + <td colspan="2" class="Normalfont">
  353 + <strong>※ご利用に当たって</strong><br>
  354 +  ■ブラウザは、JavaScriptが利用できる状態にしてください<br>
  355 +  ■推奨ブラウザ:Internet Explorer10以上、GoogleChromeまたは、Firefox<br>
  356 + </td>
  357 + </tr>
  358 + </TABLE>
  359 + </div>
  360 + <div id="syain_login"></div>
  361 + </TD>
  362 + </TR>
  363 + </TABLE>
  364 + </td>
  365 + <td class="kage"></td>
  366 + </tr>
  367 + <tr>
  368 + <td><img src="image/login/l_u_img.gif" width="20" height="46"></td>
  369 + <td class="u_n">
  370 + <div id="log_copy">
  371 + <a href="http://www.media-tek.co.jp" target="_blank" title="メディアテック(株)ホームページ
\ No newline at end of file
... ...
... ... @@ -253,7 +253,7 @@ if($GroupRes!=0){
253 253 ?>
254 254 <TABLE BORDER="0" width="100%">
255 255 <TR>
256   - <TD width="40%" align="left" valign="top">
  256 + <TD align="left" valign="top">
257 257 <?php
258 258 if ($GRP_STOP_FLG=="1"){
259 259 //echo "契約終了日:".$GRP_CONT_END_DATE."<br />";
... ... @@ -264,7 +264,7 @@ if($GroupRes!=0){
264 264 }
265 265 ?>
266 266 </TD>
267   - <TD width="60%">
  267 + <TD>
268 268 <TABLE border="0" align="right">
269 269 <TR>
270 270 <TD align="right">ディスク使用量<br>MAX:<?php echo $PHP_MAX_SIZE."M"; ?></TD>
... ...
... ... @@ -108,7 +108,7 @@ if (trim($MailTo)==""){
108 108 $MailSubject="【E-グルPro】お問合せ・ご要望(".$M3.")携帯";
109 109 $MailSubject = "=?iso-2022-jp?B?" . base64_encode(jcodeconvert($MailSubject, 0, 3)) . "?=";
110 110 $Headers = "Date: ".$GMT_RFC."\n";
111   - $Headers .= "From: webmaster@media-tek.co.jp\n";
  111 + $Headers .= "From: aspservice@media-tek.co.jp\n";
112 112 $Headers .= "Subject: $MailSubject\n";
113 113 $Headers .= "MIME-Version: 1.0\n";
114 114 $Headers .= "X-Mailer: PHP/".phpversion()."\n";
... ...
1 1 <?php
2 2
3 3 //*** URLÝ’è—p ***//
4   - $UrlHead_PC = "https://sys1.e-gru.net/e-gruPro/";
5   - $UrlHead_MB = "https://sys1.e-gru.net/e-gruPro/m/";
6   - $UrlHead_TEL = "https://sys1.e-gru.net/e-gruPro/";
  4 + $UrlHead_PC = "http://sys1.e-gru.net/e-gruPro/";
  5 + $UrlHead_MB = "http://sys1.e-gru.net/e-gruPro/m/";
  6 + $UrlHead_TEL = "http://sys1.e-gru.net/e-gruPro/";
7 7
8 8
9 9 ?>
... ...
... ... @@ -23,7 +23,7 @@
23 23 $PHP_DB_NAME=$objData->db_name;
24 24 $PHP_MOBILE_NAME=(int)$objData->mobile_flg;
25 25
26   - $hostname="172.31.18.14";
  26 + $hostname="172.31.16.254";
27 27 $database=$PHP_DB_NAME;
28 28
29 29 if( !$pg_con=pg_connect("host=$hostname port=5433 dbname=$database user=pgsqladmin password=pgsqladmin") ) {
... ...
... ... @@ -8,7 +8,7 @@
8 8 //*
9 9 //*****************************************************************************
10 10
11   - $hostname="172.31.18.14";
  11 + $hostname="172.31.16.254";
12 12 $database="e-gruPro_admin";
13 13
14 14 if( !$pg_con=pg_connect("host=$hostname port=5433 dbname=$database user=pgsqladmin password=pgsqladmin") ) {
... ...
  1 +<!doctype html>
  2 +<html lang="ja">
  3 + <head>
  4 + <meta charset="utf-8">
  5 + <title>メンテナンス中です</title>
  6 + </head>
  7 +<body>
  8 + <div style="margin:10px;">
  9 + <img src="../img/logo.png">
  10 + </div>
  11 + <div style="width:950px; margin:0 auto; background-color:#FFF; padding:50px 0;">
  12 + <h1 style="text-align:center; color:#727171;">
  13 + メンテナンス中です
  14 + </h1>
  15 + <p style="text-align:center; padding:25px 0;">
  16 + 平素は、メディアテック製品をご愛顧いただき、誠にありがとうございます。<br>
  17 + 現在、下記日程でサーバのメンテナンス作業を実施させていただいております。</p>
  18 + <p style="text-align:center; padding:25px 0;">
  19 + 【作業日時】 2017年5月25日(木) PM10:00~ 翌AM6:00</p>
  20 + <p style="text-align:center; padding:25px 0;">
  21 + 作業実施中は、サービスがご利用できない状態となりお客様にはご不便をおかけ致しますが、<br>
  22 + 何卒、ご理解・ご協力のほどお願い申し上げます。</p>
  23 + <p style="text-align:center;"><small>Copyright &copy;Media tech. All Rights Reserved.</small>
  24 + </p>
  25 + </div>
  26 +</body>
  27 +</html>
... ...
  1 +<!doctype html>
  2 +<html lang="ja">
  3 + <head>
  4 + <meta charset="utf-8">
  5 + <title>メンテナンス中です</title>
  6 + </head>
  7 +<body>
  8 + <div style="margin:10px;">
  9 + <img src="img/logo.png">
  10 + </div>
  11 + <div style="width:950px; margin:0 auto; background-color:#FFF; padding:50px 0;">
  12 + <h1 style="text-align:center; color:#727171;">
  13 + メンテナンス中です
  14 + </h1>
  15 + <p style="text-align:center; padding:25px 0;">
  16 + 平素は、メディアテック製品をご愛顧いただき、誠にありがとうございます。<br>
  17 + 現在、下記日程でサーバのメンテナンス作業を実施させていただいております。</p>
  18 + <p style="text-align:center; padding:25px 0;">
  19 + 【作業日時】 2017年5月25日(木) PM10:00~ 翌AM6:00</p>
  20 + <p style="text-align:center; padding:25px 0;">
  21 + 作業実施中は、サービスがご利用できない状態となりお客様にはご不便をおかけ致しますが、<br>
  22 + 何卒、ご理解・ご協力のほどお願い申し上げます。</p>
  23 + <p style="text-align:center;"><small>Copyright &copy;Media tech. All Rights Reserved.hoge</small>
  24 + </p>
  25 + </div>
  26 +</body>
  27 +</html>
... ...
... ... @@ -431,7 +431,11 @@ function MenuChange(menu_id){
431 431 }
432 432 //-->
433 433 </SCRIPT>
434   -
  434 +<style>
  435 +body {
  436 + overflow-y: scroll;
  437 +}
  438 +</style>
435 439 <body onLoad="gTime()" LEFTMARGIN="0" TOPMARGIN="0" MARGINWIDTH="0" MARGINHEIGHT="0">
436 440 <form name="top">
437 441 <table id="header_table" width="100%" cellpadding="0" cellspacing="0" class="table">
... ...
... ... @@ -26,7 +26,7 @@ for($i=0;$i<$ilp;$i++){
26 26
27 27 $objDbSetRec = pg_fetch_object($objDbSet, $i);
28 28 $DB_NAME = $objDbSetRec->db_name;
29   - $hostname="172.31.18.14";
  29 + $hostname="172.31.16.254";
30 30 $database=$DB_NAME;
31 31
32 32 echo $database."<br />";
... ...
  1 +/files/production/temp
\ No newline at end of file
... ...
1   -<table width ="560">
2   - <tr>
3   - <td align="left">
4   - <a href="javascript:print_tim();"><img src="./image/printer.gif" border="0" alt="印刷"></a> <a href="javascript:csv_tim();"><img src="./image/csvout.gif" border="0" alt="CSV出力"></a>
5   - </td>
6   - <td align="right">
7   -<!--{if ($editMode != "0")}-->
8   - <input type="button" onclick="chk('999');" value="全体を更新">
9   -<!--{/if}-->
10   - </td>
11   - </tr>
12   -</table>
13   -<table class="mainColor" border="0" cellspacing="1" cellpadding="1" style="padding-left:30px;">
14   - <tr><td>
15   - <table width="100%" border="0" cellspacing="1" cellpadding="1">
16   - <tr class="toneDown">
17   - <td align="center" width="60">日付</td>
18   - <td align="center" width="90">出社時間</td>
19   - <td align="center" width="90">帰宅時間</td>
20   - <!--{if ($editMode != "0")}-->
21   - <td align="center">更新</td>
22   - <!--{/if}-->
23   - <td align="center" width="240">備考</td>
24   - </tr>
25   -<!--{if ($editMode == "1")}-->
26   - <!--{section name=item loop=$day}-->
27   - <tr class="toneDown">
28   - <td width="60" align="center" bgcolor="<!--{$wdayCol[item]}-->">
29   - <!--{$day[item]}-->(<!--{$wday[item]}-->)
30   - </td>
31   - <td width="90" align="center" bgcolor="<!--{$wdayCol[item]}-->">
32   - <input type="text" size="2" maxlength="2" style="text-align: right;" name="sH[]" value="<!--{$sH[item]}-->">:<input type="text" size="2" maxlength="2" style="text-align: right;" name="sM[]" value="<!--{$sM[item]}-->">
33   - </td>
34   - <td width="90" align="center" bgcolor="<!--{$wdayCol[item]}-->">
35   - <input type="text" size="2" maxlength="2" style="text-align: right;" name="eH[]" value="<!--{$eH[item]}-->">:<input type="text" size="2" maxlength="2" style="text-align: right;" name="eM[]" value="<!--{$eM[item]}-->">
36   - </td>
37   - <td align="center" bgcolor="<!--{$wdayCol[item]}-->">
38   - <input type="button" value="更新" onclick="chk('<!--{$day[item]}-->');">
39   - </td>
40   - <td align="left" bgcolor="<!--{$wdayCol[item]}-->">
41   - <input type="text" size="50" name="com[]" value="<!--{$com[item]}-->">
42   - </td>
43   - </tr>
44   - <!--{/section}-->
45   -<!--{elseif ($editMode == "2")}-->
46   - <!--{section name=item loop=$day}-->
47   - <tr class="toneDown">
48   - <td width="60" align="center" bgcolor="<!--{$wdayCol[item]}-->">
49   - <!--{$day[item]}-->(<!--{$wday[item]}-->)
50   - </td>
51   - <td width="90" align="center" bgcolor="<!--{$wdayCol[item]}-->">
52   - <!--{$sH[item]}-->:<!--{$sM[item]}-->
53   - <input type="hidden" name="sH[]" value="<!--{$sH[item]}-->">
54   - <input type="hidden" name="sM[]" value="<!--{$sM[item]}-->">
55   - </td>
56   - <td width="90" align="center" bgcolor="<!--{$wdayCol[item]}-->">
57   - <!--{$eH[item]}-->:<!--{$eM[item]}-->
58   - <input type="hidden" name="eH[]" value="<!--{$eH[item]}-->">
59   - <input type="hidden" name="eM[]" value="<!--{$eM[item]}-->">
60   - </td>
61   - <td align="center" bgcolor="<!--{$wdayCol[item]}-->">
62   - <input type="button" value="更新" onclick="chk('<!--{$day[item]}-->');">
63   - </td>
64   - <td align="left" bgcolor="<!--{$wdayCol[item]}-->">
65   - <input type="text" size="50" name="com[]" value="<!--{$com[item]}-->">
66   - </td>
67   - </tr>
68   - <!--{/section}-->
69   -<!--{else}-->
70   - <!--{section name=item loop=$day}-->
71   - <tr class="toneDown">
72   - <td width="60" align="center" bgcolor="<!--{$wdayCol[item]}-->">
73   - <!--{$day[item]}-->(<!--{$wday[item]}-->)
74   - </td>
75   - <td width="90" align="center" bgcolor="<!--{$wdayCol[item]}-->">
76   - <!--{$sH[item]}-->:<!--{$sM[item]}-->
77   - <input type="hidden" name="sH[]" value="<!--{$sH[item]}-->">
78   - <input type="hidden" name="sM[]" value="<!--{$sM[item]}-->">
79   - </td>
80   - <td width="90" align="center" bgcolor="<!--{$wdayCol[item]}-->">
81   - <!--{$eH[item]}-->:<!--{$eM[item]}-->
82   - <input type="hidden" name="eH[]" value="<!--{$eH[item]}-->">
83   - <input type="hidden" name="eM[]" value="<!--{$eM[item]}-->">
84   - </td>
85   - <td align="left" bgcolor="<!--{$wdayCol[item]}-->">
86   - <!--{$com[item]}-->
87   - <input type="hidden" name="com[]" value="<!--{$com[item]}-->">
88   - </td>
89   - </tr>
90   - <!--{/section}-->
91   -<!--{/if}-->
92   - </table>
93   - </td>
94   - </tr>
95   -</table>
96   -<table width ="560">
97   - <tr>
98   - <td align="left">
99   - <a href="javascript:print_tim();"><img src="./image/printer.gif" border="0" alt="印刷"></a> <a href="javascript:csv_tim();"><img src="./image/csvout.gif" border="0" alt="CSV出力"></a>
100   - </td>
101   - <td align="right">
102   -<!--{if ($editMode != "0")}-->
103   - <input type="button" onclick="chk('999');" value="全体を更新">
104   -<!--{/if}-->
105   - </td>
106   - </tr>
107   -</table>
108   -<input type="hidden" name="disp_sid" value="<!--{$disp_sid}-->">
  1 +<table width ="560">
  2 + <tr>
  3 + <td align="left">
  4 + <a href="javascript:print_tim();"><img src="./image/printer.gif" border="0" alt="印刷"></a> <a href="javascript:csv_tim();"><img src="./image/csvout.gif" border="0" alt="CSV出力"></a>
  5 + </td>
  6 + <td align="right">
  7 +<!--{if ($editMode != "0")}-->
  8 + <input type="button" onclick="chk('999');" value="全体を更新">
  9 +<!--{/if}-->
  10 + </td>
  11 + </tr>
  12 +</table>
  13 +<table class="mainColor" border="0" cellspacing="1" cellpadding="1">
  14 + <tr><td>
  15 + <table border="0" cellspacing="1" cellpadding="1">
  16 + <tr class="toneDown">
  17 + <td align="center" width="60">日付</td>
  18 + <td align="center" width="150">出社時間</td>
  19 + <td align="center" width="150">帰宅時間</td>
  20 + <!--{if ($editMode != "0")}-->
  21 + <td align="center">更新</td>
  22 + <!--{/if}-->
  23 + <td align="center" width="240">備考</td>
  24 + </tr>
  25 +<!--{if ($editMode == "1")}-->
  26 + <!--{section name=item loop=$day}-->
  27 + <tr class="toneDown">
  28 + <td width="60" align="center" bgcolor="<!--{$wdayCol[item]}-->">
  29 + <!--{$day[item]}-->(<!--{$wday[item]}-->)
  30 + </td>
  31 + <td align="center" bgcolor="<!--{$wdayCol[item]}-->">
  32 + <input type="text" size="2" maxlength="2" style="text-align: right;" name="sH[]" value="<!--{$sH[item]}-->">:<input type="text" size="2" maxlength="2" style="text-align: right;" name="sM[]" value="<!--{$sM[item]}-->">
  33 + </td>
  34 + <td align="center" bgcolor="<!--{$wdayCol[item]}-->">
  35 + <input type="text" size="2" maxlength="2" style="text-align: right;" name="eH[]" value="<!--{$eH[item]}-->">:<input type="text" size="2" maxlength="2" style="text-align: right;" name="eM[]" value="<!--{$eM[item]}-->">
  36 + </td>
  37 + <td align="center" bgcolor="<!--{$wdayCol[item]}-->">
  38 + <input type="button" value="更新" onclick="chk('<!--{$day[item]}-->');">
  39 + </td>
  40 + <td align="left" bgcolor="<!--{$wdayCol[item]}-->">
  41 + <input type="text" size="50" name="com[]" value="<!--{$com[item]}-->">
  42 + </td>
  43 + </tr>
  44 + <!--{/section}-->
  45 +<!--{elseif ($editMode == "2")}-->
  46 + <!--{section name=item loop=$day}-->
  47 + <tr class="toneDown">
  48 + <td width="60" align="center" bgcolor="<!--{$wdayCol[item]}-->">
  49 + <!--{$day[item]}-->(<!--{$wday[item]}-->)
  50 + </td>
  51 + <td align="center" bgcolor="<!--{$wdayCol[item]}-->">
  52 + <!--{$sH[item]}-->:<!--{$sM[item]}-->
  53 + <input type="hidden" name="sH[]" value="<!--{$sH[item]}-->">
  54 + <input type="hidden" name="sM[]" value="<!--{$sM[item]}-->">
  55 + </td>
  56 + <td align="center" bgcolor="<!--{$wdayCol[item]}-->">
  57 + <!--{$eH[item]}-->:<!--{$eM[item]}-->
  58 + <input type="hidden" name="eH[]" value="<!--{$eH[item]}-->">
  59 + <input type="hidden" name="eM[]" value="<!--{$eM[item]}-->">
  60 + </td>
  61 + <td align="center" bgcolor="<!--{$wdayCol[item]}-->">
  62 + <input type="button" value="更新" onclick="chk('<!--{$day[item]}-->');">
  63 + </td>
  64 + <td align="left" bgcolor="<!--{$wdayCol[item]}-->">
  65 + <input type="text" size="50" name="com[]" value="<!--{$com[item]}-->">
  66 + </td>
  67 + </tr>
  68 + <!--{/section}-->
  69 +<!--{else}-->
  70 + <!--{section name=item loop=$day}-->
  71 + <tr class="toneDown">
  72 + <td width="60" align="center" bgcolor="<!--{$wdayCol[item]}-->">
  73 + <!--{$day[item]}-->(<!--{$wday[item]}-->)
  74 + </td>
  75 + <td align="center" bgcolor="<!--{$wdayCol[item]}-->">
  76 + <!--{$sH[item]}-->:<!--{$sM[item]}-->
  77 + <input type="hidden" name="sH[]" value="<!--{$sH[item]}-->">
  78 + <input type="hidden" name="sM[]" value="<!--{$sM[item]}-->">
  79 + </td>
  80 + <td align="center" bgcolor="<!--{$wdayCol[item]}-->">
  81 + <!--{$eH[item]}-->:<!--{$eM[item]}-->
  82 + <input type="hidden" name="eH[]" value="<!--{$eH[item]}-->">
  83 + <input type="hidden" name="eM[]" value="<!--{$eM[item]}-->">
  84 + </td>
  85 + <td align="left" bgcolor="<!--{$wdayCol[item]}-->">
  86 + <!--{$com[item]}-->
  87 + <input type="hidden" name="com[]" value="<!--{$com[item]}-->">
  88 + </td>
  89 + </tr>
  90 + <!--{/section}-->
  91 +<!--{/if}-->
  92 + </table>
  93 + </td>
  94 + </tr>
  95 +</table>
  96 +<table width ="560">
  97 + <tr>
  98 + <td align="left">
  99 + <a href="javascript:print_tim();"><img src="./image/printer.gif" border="0" alt="印刷"></a> <a href="javascript:csv_tim();"><img src="./image/csvout.gif" border="0" alt="CSV出力"></a>
  100 + </td>
  101 + <td align="right">
  102 +<!--{if ($editMode != "0")}-->
  103 + <input type="button" onclick="chk('999');" value="全体を更新">
  104 +<!--{/if}-->
  105 + </td>
  106 + </tr>
  107 +</table>
  108 +<input type="hidden" name="disp_sid" value="<!--{$disp_sid}-->">
... ...
1   -<form name="e_gru">
2   -<input type="hidden" name="strkijyunDate" value=<!--{$strwkdate}-->>
3   -<center><div id="message"></div></center><center><div id="message1"></div></center>
4   -<div id="schedule1">
5   -<script language="javascript" type="text/javascript">
6   -loadHTMLFile1("TOP000_SCHE.php?disp=1&strwkdate=<!--{$strwkdate}-->");
7   -</SCRIPT>
8   -</div>
9   -<div id="TOP001"></div>
10   -<!--TODO-->
11   -<!-- 201310対応 ToDo・Myノート非表示 -->
12   -<!--{if $todo_memo_flg == 0 }-->
13   -<br>
14   -<TABLE width="100%">
15   - <TR>
16   - <TD valign="top" width="45%" class="mainColor">
17   - <TABLE cellSpacing="0" cellPadding="0" width="100%" class="mainColor">
18   - <TR class="schedule">
19   - <TD> <A href="TDL001.php"><img src="image/todo.gif" height=19 width=20 border="0"></a> <A href="TDL001.php"><SPAN class="Titlefont_1"><!--{$PHP_TITLE_NAME1}--></SPAN></A>
20   - <SELECT name=ToDo_title onChange=loadHTMLToDo()><!--{$ToDo_title}--></SELECT><div id="POPX" CLASS="spanstyle" ></div></TD>
21   - <TD align="right">
22   - <a href='javascript:Disp_Help("TDLHLP.htm")'><img src="image/help.gif" border="0"><SPAN class=Normalfont><strong>ヘルプ</strong></span></a>
23   - </TD>
24   - </TR>
25   - </TABLE>
26   - <TABLE cellSpacing="0" cellPadding="1" width="100%" border="0">
27   - <TR>
28   - <TD height="0">
29   - <div id="ToDo" align="left"></div>
30   - </TD>
31   - </TR>
32   - </TABLE>
33   - </TD>
34   - <TD valign="top" width="55%" class="mainColor">
35   - <TABLE cellSpacing="0" cellPadding="0" width="100%" class="schedule">
36   - <TR class="schedule">
37   - <TD> <A href="MEM001.php"><img src="image/memo_c.gif" height=19 width=20 border="0"></a> <A href="MEM001.php"><SPAN class="Titlefont_1"><!--{$PHP_TITLE_NAME2}--></SPAN></A>
38   - <SELECT name=MEM_title onChange=loadHTMLMemo()><!--{$MEM_title}--></SELECT></TD>
39   - <TD align="right"><a href='javascript:Disp_Help("MEMHLP.htm")'><img src="image/help.gif" border="0"><SPAN class=Normalfont><strong>ヘルプ</strong></span></a> </TD>
40   - </TR>
41   - </TABLE>
42   - <TABLE cellSpacing="0" cellPadding="1" width="100%" border="0">
43   - <TR>
44   - <TD>
45   - <div id="memo" align="left"></div>
46   - </TD>
47   - </TR>
48   - </TABLE>
49   - </TD>
50   -</TR>
51   -</TABLE>
52   -<!--{/if}-->
53   -<script language="javascript" type="text/javascript">loadHTMLMemo();</SCRIPT>
54   -<script language="javascript" type="text/javascript">loadHTMLToDo();</SCRIPT>
55   -<center><div id="message2"></div></center>
56   -<div id="schedule2">
57   -<script language="javascript" type="text/javascript">
58   -loadHTMLFile2("TOP000_SCHE.php?disp=2&strwkdate=<!--{$strwkdate}-->&scdl_bumon=<!--{$scdl_bumon}-->");
59   -</SCRIPT>
60   -</div>
61   -<SPAN class=Tinnyfont><br></span>
62   -
63   -<input type="hidden" name="intseq" value="">
64   -<input type="hidden" name="syain_cd" value="">
65   -<input type="hidden" name="strwkdate" value="">
66   -<input type="hidden" name="seq" value="">
67   -<input type="hidden" name="intsts" value="">
68   -<input type="hidden" name="intbumon" value="">
69   -</form>
70   -
71   -<!--{include_php file="include/copyright.inc"}-->
  1 +<form name="e_gru">
  2 +<input type="hidden" name="strkijyunDate" value=<!--{$strwkdate}-->>
  3 +<center><div id="message"></div></center><center><div id="message1"></div></center>
  4 +<div id="schedule1">
  5 +<script language="javascript" type="text/javascript">
  6 +loadHTMLFile1("TOP000_SCHE.php?disp=1&strwkdate=<!--{$strwkdate}-->");
  7 +</SCRIPT>
  8 +</div>
  9 +<div id="TOP001"></div>
  10 +<!--TODO-->
  11 +<!-- 201310対応 ToDo・Myノート非表示 -->
  12 +<!--{if $todo_memo_flg == 0 }-->
  13 +<br>
  14 +<TABLE width="100%">
  15 + <TR>
  16 + <TD valign="top" width="45%" class="mainColor">
  17 + <TABLE cellSpacing="0" cellPadding="0" width="100%" class="mainColor">
  18 + <TR class="schedule">
  19 + <TD> <A href="TDL001.php"><img src="image/todo.gif" height=19 width=20 border="0"></a> <A href="TDL001.php"><SPAN class="Titlefont_1"><!--{$PHP_TITLE_NAME1}--></SPAN></A>
  20 + <SELECT name=ToDo_title onChange=loadHTMLToDo()><!--{$ToDo_title}--></SELECT><div id="POPX" CLASS="spanstyle" ></div></TD>
  21 + <TD align="right">
  22 + <a href='javascript:Disp_Help("TDLHLP.htm")'><img src="image/help.gif" border="0"><SPAN class=Normalfont><strong>ヘルプ</strong></span></a>
  23 + </TD>
  24 + </TR>
  25 + </TABLE>
  26 + <TABLE cellSpacing="0" cellPadding="1" width="100%" border="0">
  27 + <TR>
  28 + <TD height="0">
  29 + <div id="ToDo" align="left"></div>
  30 + </TD>
  31 + </TR>
  32 + </TABLE>
  33 + </TD>
  34 + <TD valign="top" width="55%" class="mainColor">
  35 + <TABLE cellSpacing="0" cellPadding="0" width="100%" class="schedule">
  36 + <TR class="schedule">
  37 + <TD> <A href="MEM001.php"><img src="image/memo_c.gif" height=19 width=20 border="0"></a> <A href="MEM001.php"><SPAN class="Titlefont_1"><!--{$PHP_TITLE_NAME2}--></SPAN></A>
  38 + <SELECT name=MEM_title onChange=loadHTMLMemo()><!--{$MEM_title}--></SELECT></TD>
  39 + <TD align="right"><a href='javascript:Disp_Help("MEMHLP.htm")'><img src="image/help.gif" border="0"><SPAN class=Normalfont><strong>ヘルプ</strong></span></a> </TD>
  40 + </TR>
  41 + </TABLE>
  42 + <TABLE cellSpacing="0" cellPadding="1" width="100%" border="0">
  43 + <TR>
  44 + <TD>
  45 + <div id="memo" align="left"></div>
  46 + </TD>
  47 + </TR>
  48 + </TABLE>
  49 + </TD>
  50 +</TR>
  51 +</TABLE>
  52 +<!--{/if}-->
  53 +<script language="javascript" type="text/javascript">loadHTMLMemo();</SCRIPT>
  54 +<script language="javascript" type="text/javascript">loadHTMLToDo();</SCRIPT>
  55 +<center><div id="message2"></div></center>
  56 +<input type="hidden" name="intseq" value="">
  57 +<input type="hidden" name="syain_cd" value="">
  58 +<input type="hidden" name="strwkdate" value="">
  59 +<input type="hidden" name="seq" value="">
  60 +<input type="hidden" name="intsts" value="">
  61 +<input type="hidden" name="intbumon" value="">
  62 +<div id="schedule2">
  63 +<script language="javascript" type="text/javascript">
  64 +loadHTMLFile2("TOP000_SCHE.php?disp=2&strwkdate=<!--{$strwkdate}-->&scdl_bumon=<!--{$scdl_bumon}-->");
  65 +</SCRIPT>
  66 +</div>
  67 +<SPAN class=Tinnyfont><br></span>
  68 +
  69 +</form>
  70 +
  71 +<!--{include_php file="include/copyright.inc"}-->
... ...
... ... @@ -151,8 +151,24 @@ body {
151 151   この度は、ご不便をおかけして大変申し訳ございませんでした。<BR>
152 152   今後とも「E-グルPro」をよろしくお願いします。<BR><BR><BR>
153 153 -->
  154 + <!--
  155 + <strong>
  156 + <font color="#AA0000">
  157 +  <2023/9/28><br>
  158 +  ●メンテナンスのお知らせ
  159 + </font>
  160 + </strong>
  161 + <br>
154 162
  163 +  いつもE-グルProをご利用いただき誠にありがとうございます。<BR>
  164 +  下記日時において、サーバのメンテナンス作業を実施いたします。<BR><BR>
155 165
  166 +  【作業日時】 2023年9月29日(金) 22:00〜2:00<BR><BR>
  167 +
  168 +  作業実施中は、「E-グルPro」がご利用できない状態となります。<BR>
  169 +  お客様には大変ご迷惑をおかけいたしますが<BR>
  170 +  何卒ご理解とご協力をお願いいたします。<BR><BR>
  171 + -->
156 172
157 173 <strong>
158 174 <font color="#AA0000">
... ... @@ -192,7 +208,7 @@ body {
192 208  いつもE-グルProをご利用いただき誠にありがとうございます。<BR>
193 209  下記日時において、サーバのメンテナンス作業を実施いたします。<BR><BR>
194 210
195   -  【作業日時】 2014年2月22日(土) AM0:00AM6:00<BR><BR>
  211 +  【作業日時】 2014年2月22日(土) AM0:00~AM6:00<BR><BR>
196 212
197 213  作業実施中は、「E-グルPro」がご利用できない状態となります。<BR>
198 214  お客様には大変ご迷惑をおかけいたしますが<BR>
... ... @@ -215,7 +231,7 @@ body {
215 231
216 232 <strong><font color="#AA0000"> ○夏季休業のお知らせ</font></strong><br>
217 233 <strong>
218   -   ・休業期間 平成25年8月13日(火)平成25年8月18日(日)<br>
  234 +   ・休業期間 平成25年8月13日(火)~平成25年8月18日(日)<br>
219 235   ・お休みをいただくサービス<br>
220 236    電話でのお問い合わせ、各種設定変更のサービス<br>
221 237 </strong>
... ... @@ -273,13 +289,13 @@ body {
273 289   復旧までしばらくお待ちくださるようお願い申し上げます。<br><br>
274 290
275 291 <strong><2010/09/01>E-グルPro障害について</strong><br>
276   -   ・E-グルProのサーバ障害が発生し<b>8:109:45</b>の時間帯におきまして<br>
  292 +   ・E-グルProのサーバ障害が発生し<b>8:10~9:45</b>の時間帯におきまして<br>
277 293    一部のお客様がE-グルProへアクセスできない障害が発生しておりました。<br>
278 294    現在は、復旧しております。<br>
279 295    お客様には大変ご迷惑をおかけいたしましたことをお詫び申し上げます。<br><br>
280 296
281 297 <strong><font color="#AA0000"><2009.12.03>メンテナンスのお知らせ</font></strong><br>
282   -  ・12月7日(月)午後9時11時の時間帯にメンテナンスのため<br>
  298 +  ・12月7日(月)午後9時~11時の時間帯にメンテナンスのため<br>
283 299   E-グルProへ繋がりにくくなる可能性がございます。<br>
284 300   お客様にはご迷惑をお掛けいたしますが、ご理解とご協力のほど<br>
285 301   宜しくお願い申し上げます。<br><br>
... ...
Please register or login to post a comment