Changeset 7230 for temp/trunk/html


Ignore:
Timestamp:
2006/11/01 18:16:43 (20 years ago)
Author:
kakinaka
Message:

* empty log message *

File:
1 edited

Legend:

Unmodified
Added
Removed
  • temp/trunk/html/admin/total/index.php

    r7229 r7230  
    438438        // ¥°¥é¥Õ¤Î½ÐÎÏ 
    439439        $objGraphPie->outputGraph(false, $path); 
    440          
    441         sfprintr($objGraphPie->outputGraph(true)); 
    442440 
    443441        // ¥Õ¥¡¥¤¥ë¥Ñ¥¹¤òÊÖ¤¹ 
     
    460458        $path = GRAPH_DIR . $pngname; 
    461459         
    462             $objGraphBar = new SC_GraphBar(); 
    463              
    464             foreach(array_keys($arrList) as $val) { 
    465                 $arrKey[] = ereg_replace("¡Á", "-", $val); 
    466             } 
    467              
    468             // ¥°¥é¥ÕÉÁ²è 
    469             $objGraphBar->setXLabel($arrKey); 
    470             $objGraphBar->setXTitle($xtitle); 
    471             $objGraphBar->setYTitle($ytitle); 
    472             $objGraphBar->setData($arrList); 
    473              
    474             // ¥á¥¤¥ó¥¿¥¤¥È¥ëºîÀ® 
    475             $arrKey = array_keys($arrList); 
    476             list($sy, $sm, $sd) = split("[/ ]" , $sdate); 
    477             list($ey, $em, $ed) = split("[/ ]" , $edate); 
    478             $start_date = $sy . "ǯ" . $sm . "·î" . $sd . "Æü"; 
    479             $end_date = $ey . "ǯ" . $em . "·î" . $ed . "Æü"; 
    480             $objGraphBar->drawTitle("½¸·×´ü´Ö¡§" . $start_date . " - " . $end_date); 
    481              
    482             $objGraphBar->drawGraph(); 
    483             $objGraphBar->outputGraph(false,$path); 
     460        $objGraphBar = new SC_GraphBar(); 
     461         
     462        foreach(array_keys($arrList) as $val) { 
     463            $arrKey[] = ereg_replace("¡Á", "-", $val); 
     464        } 
     465         
     466        // ¥°¥é¥ÕÉÁ²è 
     467        $objGraphBar->setXLabel($arrKey); 
     468        $objGraphBar->setXTitle($xtitle); 
     469        $objGraphBar->setYTitle($ytitle); 
     470        $objGraphBar->setData($arrList); 
     471         
     472        // ¥á¥¤¥ó¥¿¥¤¥È¥ëºîÀ® 
     473        $arrKey = array_keys($arrList); 
     474        list($sy, $sm, $sd) = split("[/ ]" , $sdate); 
     475        list($ey, $em, $ed) = split("[/ ]" , $edate); 
     476        $start_date = $sy . "ǯ" . $sm . "·î" . $sd . "Æü"; 
     477        $end_date = $ey . "ǯ" . $em . "·î" . $ed . "Æü"; 
     478        $objGraphBar->drawTitle("½¸·×´ü´Ö¡§" . $start_date . " - " . $end_date); 
     479         
     480        $objGraphBar->drawGraph(); 
     481        //$objGraphBar->outputGraph(false,$path); 
     482         
     483        sfprintr($objGraphBar->outputGraph()); 
     484        exit(); 
    484485 
    485486        // ¥Õ¥¡¥¤¥ë¥Ñ¥¹¤òÊÖ¤¹ 
Note: See TracChangeset for help on using the changeset viewer.