チェンジセット 46: trunk/install/php

差分発生行の前後
無視リスト:
コミット日時:
2007/03/16 19:14:25 (17 年前)
コミッタ:
sorshi
ログメッセージ:

開始時刻、録画時間、録画局を個別に指定する手動番組予約機能追加。

ファイル:

凡例:

変更無し
追加
削除
更新
コピー
移動
  • trunk/install/php/foltialib.php

    r32 r46  
    457457if ($freebytes == "" ){ 
    458458// 
    459 print "<!-- err:\$freebytes is null -->"; 
     459//print "<!-- err:\$freebytes is null -->"; 
    460460}elseif($freebytes > 1024*1024*100 ){// 100GB以上あいてれば 
    461461//なにもしない 
     
    486486"; 
    487487}else{ 
    488 print "<!-- no much : $freebytes -->"; 
     488//print "<!-- no much : $freebytes -->"; 
    489489 
    490490 
     
    497497 
    498498 
    499  
     499function foldatevalidation($foldate){ 
     500 
     501if (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 
    500522 
    501523 
  • trunk/install/php/viewepg.php

    r42 r46  
    2323<meta http-equiv="Content-Style-Type" content="text/css"> 
    2424<link rel="stylesheet" type="text/css" href="graytable.css">  
    25 <title>foltia:EPG</title> 
     25<title>foltia:EPG番組表</title> 
    2626</head> 
    2727<?php 
     
    4242printhtmlpageheader(); 
    4343?> 
    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"> 
    4647<p align="left">EPG番組表を表示します。 
    4748<?php  
track feed