チェンジセット 46: trunk/install
- コミット日時:
- 2007/03/16 19:14:25 (18 年前)
- ファイル:
-
- trunk/install/mktable.txt (更新) (1 diff)
- trunk/install/php/foltialib.php (更新) (3 diffs)
- trunk/install/php/m.php (追加)
- trunk/install/php/viewepg.php (更新) (2 diffs)
凡例:
- 変更無し
- 追加
- 削除
- 更新
- コピー
- 移動
trunk/install/mktable.txt
r1 r46 160 160 INSERT INTO foltia_station VALUES (385, 'TBSチャンネル', 0, '', '', NULL, NULL, NULL, NULL); 161 161 INSERT INTO foltia_station VALUES (386, 'テレ朝チャンネル', 0, '', '', NULL, NULL, NULL, NULL); 162 INSERT INTO foltia_station VALUES (387, 'TVKテレビ', 5, '', '', NULL, NULL, NULL, NULL);163 INSERT INTO foltia_station VALUES (388, 'テレビ神奈川', 5, '', '', NULL, NULL, NULL, NULL);164 162 INSERT INTO foltia_station VALUES (389, 'BS Japan', 0, '', '', 'b', 'X171', NULL, NULL); 165 163 INSERT INTO foltia_station VALUES (390, 'サンテレビジョン', -10, '', '', NULL, NULL, NULL, NULL); trunk/install/php/foltialib.php
r32 r46 457 457 if ($freebytes == "" ){ 458 458 // 459 print "<!-- err:\$freebytes is null -->";459 //print "<!-- err:\$freebytes is null -->"; 460 460 }elseif($freebytes > 1024*1024*100 ){// 100GB以上あいてれば 461 461 //なにもしない … … 486 486 "; 487 487 }else{ 488 print "<!-- no much : $freebytes -->";488 //print "<!-- no much : $freebytes -->"; 489 489 490 490 … … 497 497 498 498 499 499 function foldatevalidation($foldate){ 500 501 if (strlen($foldate) == 12 ){ 502 503 $startyear = substr($foldate,0,4); 504 $startmonth = substr($foldate,4,2); 505 $startday = substr($foldate,6,2); 506 $starthour = substr($foldate,8,2); 507 $startmin = substr($foldate,10,2); 508 509 $startepoch = date ("U",mktime($starthour , $startmin , 0, $startmonth , $startday, $startyear)); 510 $nowe = time(); 511 if ($startepoch > $nowe){ 512 //print "$foldate:$startepoch:$nowe"; 513 return TRUE; 514 }else{ 515 return FALSE; 516 } //end if $startepoch > $nowe 517 }else{ 518 return FALSE; 519 }//end if ($foldate) == 12 520 521 }//end function 500 522 501 523 trunk/install/php/viewepg.php
r42 r46 23 23 <meta http-equiv="Content-Style-Type" content="text/css"> 24 24 <link rel="stylesheet" type="text/css" href="graytable.css"> 25 <title>foltia:EPG </title>25 <title>foltia:EPG番組表</title> 26 26 </head> 27 27 <?php … … 42 42 printhtmlpageheader(); 43 43 ?> 44 <p align="left"><font color="#494949" size="6">EPG番組表</font></p> 45 <hr size="4"> 44 <p align="left"><font color="#494949" size="6">EPG番組表</font></p> 45 <p align="left"><a href="./m.php">番組手動予約</a ></p> 46 <hr size="4"> 46 47 <p align="left">EPG番組表を表示します。 47 48 <?php