チェンジセット 46: trunk/install/php/foltialib.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 
track feed