Changeset 16695


Ignore:
Timestamp:
2007/11/05 19:27:22 (15 years ago)
Author:
adachi
Message:

未定義関数の修正

File:
1 edited

Legend:

Unmodified
Added
Removed
  • branches/beta/html/admin/products/product.php

    r16650 r16695  
    1919        $this->tpl_mainpage = 'products/product.tpl'; 
    2020        $this->tpl_subnavi = 'products/subnavi.tpl'; 
    21         $this->tpl_mainno = 'products';      
     21        $this->tpl_mainno = 'products'; 
    2222        $this->tpl_subno = 'product'; 
    2323        $this->tpl_subtitle = '¾¦ÉÊÅÐÏ¿'; 
     
    3737        $this->arrDELIVERYDATE = $arrDELIVERYDATE; 
    3838        $this->tpl_nonclass = true; 
    39         $this->tpl_movilink_flg = sfIsMoviLink(); 
     39        $this->tpl_movilink_flg 
     40            = function_exists('sfIsMoviLink') ? sfIsMoviLink() : ''; 
    4041    } 
    4142} 
     
    6162foreach ($_POST as $key => $val) { 
    6263    if (ereg("^search_", $key)) { 
    63         $objPage->arrSearchHidden[$key] = $val;  
     64        $objPage->arrSearchHidden[$key] = $val; 
    6465    } 
    6566} 
     
    7879        // DB¥Ç¡¼¥¿¤«¤é²èÁü¥Õ¥¡¥¤¥ë̾¤ÎÆɹþ 
    7980        $objUpFile->setDBFileList($arrForm); 
    80          
     81 
    8182        if($_POST['mode'] == "copy"){ 
    8283            $arrForm["copy_product_id"] = $arrForm["product_id"]; 
     
    8586            $arrKey = $objUpFile->keyname; 
    8687            $arrSaveFile = $objUpFile->save_file; 
    87              
     88 
    8889            foreach($arrSaveFile as $key => $val){ 
    89                 lfMakeScaleImage($arrKey[$key], $arrKey[$key], true);  
     90                lfMakeScaleImage($arrKey[$key], $arrKey[$key], true); 
    9091            } 
    9192        } 
    9293        $objPage->arrForm = $arrForm; 
    93          
     94 
    9495        // ¾¦ÉÊ¥¹¥Æ¡¼¥¿¥¹¤ÎÊÑ´¹ 
    9596        $arrRet = sfSplitCBValue($objPage->arrForm['product_flag'], "product_flag"); 
     
    9798        // DB¤«¤é¤ª¤¹¤¹¤á¾¦ÉʤÎÆɤ߹þ¤ß 
    9899        $objPage->arrRecommend = lfPreGetRecommendProducts($_POST['product_id']); 
    99          
     100 
    100101        // µ¬³ÊÅÐÏ¿¤¢¤ê¤Ê¤·È½Äê 
    101102        $objPage->tpl_nonclass = lfCheckNonClass($_POST['product_id']); 
     
    107108    // µ¬³ÊÅÐÏ¿¤¢¤ê¤Ê¤·È½Äê 
    108109    $tpl_nonclass = lfCheckNonClass($_POST['product_id']); 
    109      
     110 
    110111    if($_POST['product_id'] == "" and sfIsInt($_POST['copy_product_id'])){ 
    111112        $tpl_nonclass = lfCheckNonClass($_POST['copy_product_id']); 
    112113    } 
    113114    $objPage->tpl_nonclass = $tpl_nonclass; 
    114      
     115 
    115116    // ÆþÎÏÃͤÎÊÑ´¹ 
    116117    $objPage->arrForm = lfConvertParam($objPage->arrForm); 
     
    129130case 'complete': 
    130131    $objPage->tpl_mainpage = 'products/complete.tpl'; 
    131      
     132 
    132133    $objPage->tpl_product_id = lfRegistProduct($_POST);     // ¥Ç¡¼¥¿ÅÐÏ¿ 
    133      
     134 
    134135    $objQuery = new SC_Query(); 
    135136    // ·ï¿ô¥«¥¦¥ó¥È¥Ð¥Ã¥Á¼Â¹Ô 
     
    184185$sub_find = false; 
    185186for ($cnt = 1; $cnt <= PRODUCTSUB_MAX; $cnt++) { 
    186     if( $objPage->arrForm['sub_title'.$cnt] != "" ||  
    187         $objPage->arrForm['sub_comment'.$cnt] != "" ||  
    188         $objPage->arrForm['sub_image'.$cnt] != "" ||  
    189         $objPage->arrForm['sub_large_image'.$cnt] != "" ||  
    190         is_array($objPage->arrFile['sub_image'.$cnt]) ||  
     187    if( $objPage->arrForm['sub_title'.$cnt] != "" || 
     188        $objPage->arrForm['sub_comment'.$cnt] != "" || 
     189        $objPage->arrForm['sub_image'.$cnt] != "" || 
     190        $objPage->arrForm['sub_large_image'.$cnt] != "" || 
     191        is_array($objPage->arrFile['sub_image'.$cnt]) || 
    191192        is_array($objPage->arrFile['sub_large_image'.$cnt])) { 
    192193        $sub_find = true; 
     
    205206    global $objPage; 
    206207    $objQuery = new SC_Query(); 
    207      
     208 
    208209    for($i = 1; $i <= RECOMMEND_PRODUCT_MAX; $i++) { 
    209210        $keyname = "recommend_id" . $i; 
     
    212213 
    213214        if($_POST[$keyname] != "" && $_POST[$delkey] != 1) { 
    214             $arrRet = $objQuery->select("main_list_image, product_code_min, name", "vw_products_allclass AS allcls", "product_id = ?", array($_POST[$keyname]));  
     215            $arrRet = $objQuery->select("main_list_image, product_code_min, name", "vw_products_allclass AS allcls", "product_id = ?", array($_POST[$keyname])); 
    215216            $arrRecommend[$i] = $arrRet[0]; 
    216217            $arrRecommend[$i]['product_id'] = $_POST[$keyname]; 
     
    251252    $max = count($arrRet); 
    252253    $no = 1; 
    253      
     254 
    254255    for($i = 0; $i < $max; $i++) { 
    255         $arrProductInfo = $objQuery->select("main_list_image, product_code_min, name", "vw_products_allclass AS allcls", "product_id = ?", array($arrRet[$i]['recommend_product_id']));  
     256        $arrProductInfo = $objQuery->select("main_list_image, product_code_min, name", "vw_products_allclass AS allcls", "product_id = ?", array($arrRet[$i]['recommend_product_id'])); 
    256257        $arrRecommend[$no] = $arrProductInfo[0]; 
    257258        $arrRecommend[$no]['product_id'] = $arrRet[$i]['recommend_product_id']; 
     
    268269    $table = "vw_products_nonclass AS noncls "; 
    269270    $where = "product_id = ?"; 
    270      
     271 
    271272    // view¤â¹Ê¹þ¤ß(mysqlÂбþ) 
    272273    sfViewWhere("&&noncls_where&&", $where, array($product_id)); 
    273      
     274 
    274275    $arrRet = $objQuery->select($col, $table, $where, array($product_id)); 
    275      
     276 
    276277    // ¥â¥Ó¥ê¥ó¥¯¤¬Í­¸ú¤Ê¾ì¹ç 
    277278    if(sfIsMoviLink()) { 
     
    279280        $table = "dtb_products"; 
    280281        $where = "product_id = ?"; 
    281         $arrMoviLink = $objQuery->select($col, $table, $where, array($product_id));      
     282        $arrMoviLink = $objQuery->select($col, $table, $where, array($product_id)); 
    282283        foreach($arrMoviLink[0] as $key => $val) { 
    283284            $arrRet[0][$key] = $val; 
    284285        } 
    285     }    
    286      
     286    } 
     287 
    287288    return $arrRet[0]; 
    288289} 
     
    292293    global $objPage; 
    293294    global $objUpFile; 
    294      
     295 
    295296    // ¥«¥Æ¥´¥ê¤ÎÆɹþ 
    296297    list($objPage->arrCatVal, $objPage->arrCatOut) = sfGetLevelCatList(false); 
     
    299300        $objPage->arrForm['status'] = 1; 
    300301    } 
    301      
     302 
    302303    if(!is_array($objPage->arrForm['product_flag'])) { 
    303304        // ¾¦ÉÊ¥¹¥Æ¡¼¥¿¥¹¤Îʬ³äÆɹþ 
    304305        $objPage->arrForm['product_flag'] = sfSplitCheckBoxes($objPage->arrForm['product_flag']); 
    305306    } 
    306      
     307 
    307308    // HIDDENÍѤËÇÛÎó¤òÅϤ¹¡£ 
    308309    $objPage->arrHidden = array_merge((array)$objPage->arrHidden, (array)$objUpFile->getHiddenFileList()); 
    309310    // FormÍÑÇÛÎó¤òÅϤ¹¡£ 
    310311    $objPage->arrFile = $objUpFile->getFormFileList(IMAGE_TEMP_URL, IMAGE_SAVE_URL); 
    311      
    312      
     312 
     313 
    313314    // ¥¢¥ó¥«¡¼¤òÀßÄê 
    314315    if($_POST['image_key'] != ""){ 
     
    317318        $anchor_hash = "location.hash='#" . $_POST['anchor_key'] . "'"; 
    318319    } 
    319          
     320 
    320321    $objPage->tpl_onload = "fnCheckSaleLimit('" . DISABLED_RGB . "'); fnCheckStockLimit('" . DISABLED_RGB . "'); " . $anchor_hash; 
    321322} 
     
    328329    $objUpFile->addFile("¾ÜºÙ-¥á¥¤¥ó³ÈÂç²èÁü", 'main_large_image', array('jpg', 'gif', 'png'), IMAGE_SIZE, false, LARGE_IMAGE_WIDTH, LARGE_IMAGE_HEIGHT); 
    329330    for ($cnt = 1; $cnt <= PRODUCTSUB_MAX; $cnt++) { 
    330         $objUpFile->addFile("¾ÜºÙ-¥µ¥Ö²èÁü$cnt", "sub_image$cnt", array('jpg', 'gif', 'png'), IMAGE_SIZE, false, NORMAL_SUBIMAGE_WIDTH, NORMAL_SUBIMAGE_HEIGHT);     
     331        $objUpFile->addFile("¾ÜºÙ-¥µ¥Ö²èÁü$cnt", "sub_image$cnt", array('jpg', 'gif', 'png'), IMAGE_SIZE, false, NORMAL_SUBIMAGE_WIDTH, NORMAL_SUBIMAGE_HEIGHT); 
    331332        $objUpFile->addFile("¾ÜºÙ-¥µ¥Ö³ÈÂç²èÁü$cnt", "sub_large_image$cnt", array('jpg', 'gif', 'png'), IMAGE_SIZE, false, LARGE_SUBIMAGE_WIDTH, LARGE_SUBIMAGE_HEIGHT); 
    332333    } 
     
    341342    $objQuery = new SC_Query(); 
    342343    $objQuery->begin(); 
    343      
     344 
    344345    // INSERT¤¹¤ëÃͤòºîÀ®¤¹¤ë¡£ 
    345346    $sqlval['name'] = $arrList['name']; 
     
    349350    $sqlval['main_list_comment'] = $arrList['main_list_comment']; 
    350351    $sqlval['main_comment'] = $arrList['main_comment']; 
    351     $sqlval['point_rate'] = $arrList['point_rate'];  
     352    $sqlval['point_rate'] = $arrList['point_rate']; 
    352353    $sqlval['deliv_fee'] = $arrList['deliv_fee']; 
    353354    $sqlval['comment1'] = $arrList['comment1']; 
     
    363364    $sqlval['update_date'] = "Now()"; 
    364365    $sqlval['creator_id'] = $_SESSION['member_id']; 
    365      
     366 
    366367    // ¥â¥Ó¥ê¥ó¥¯¤¬Í­¸ú¤Ê¾ì¹ç 
    367368    if(sfIsMoviLink()) { 
     
    370371        $sqlval['movilink_draft_text1'] = $arrList['movilink_draft_text1']; 
    371372        $sqlval['movilink_draft_text2'] = $arrList['movilink_draft_text2']; 
    372         $sqlval['movilink_code1'] = $arrList['movilink_code1'];  
    373         $sqlval['movilink_kana'] = $arrList['movilink_kana'];    
    374         $sqlval['movilink_price'] = $arrList['movilink_price'];  
    375     } 
    376      
     373        $sqlval['movilink_code1'] = $arrList['movilink_code1']; 
     374        $sqlval['movilink_kana'] = $arrList['movilink_kana']; 
     375        $sqlval['movilink_price'] = $arrList['movilink_price']; 
     376    } 
     377 
    377378    $arrRet = $objUpFile->getDBFileList(); 
    378379    $sqlval = array_merge($sqlval, $arrRet); 
    379          
     380 
    380381    for ($cnt = 1; $cnt <= PRODUCTSUB_MAX; $cnt++) { 
    381382        $sqlval['sub_title'.$cnt] = $arrList['sub_title'.$cnt]; 
     
    398399            $sqlval['product_id'] = $product_id; 
    399400        } 
    400          
     401 
    401402        // ¥³¥Ô¡¼¾¦Éʤξì¹ç¤Ë¤Ïµ¬³Ê¤â¥³¥Ô¡¼¤¹¤ë 
    402403        if($_POST["copy_product_id"] != "" and sfIsInt($_POST["copy_product_id"])){ 
     
    412413 
    413414            $objQuery->query("INSERT INTO dtb_products_class (product_id, ". $col .") SELECT ?, " . $col. " FROM dtb_products_class WHERE product_id = ? ORDER BY product_class_id", array($product_id, $_POST["copy_product_id"])); 
    414              
     415 
    415416        } 
    416417 
     
    420421        $arrRet = lfGetProduct($arrList['product_id']); 
    421422        $objUpFile->deleteDBFile($arrRet); 
    422          
     423 
    423424        // ¥«¥Æ¥´¥êÆâ¥é¥ó¥¯¤ÎÄ´À°½èÍý 
    424425        $old_catid = $objQuery->get("dtb_products", "category_id", "product_id = ?", array($arrList['product_id'])); 
    425426        sfMoveCatRank($objQuery, "dtb_products", "product_id", "category_id", $old_catid, $arrList['category_id'], $arrList['product_id']); 
    426          
     427 
    427428        // UPDATE¤Î¼Â¹Ô 
    428429        $where = "product_id = ?"; 
    429430        $objQuery->update("dtb_products", $sqlval, $where, array($arrList['product_id'])); 
    430431    } 
    431      
     432 
    432433    // µ¬³ÊÅÐÏ¿ 
    433434    sfInsertProductClass($objQuery, $arrList, $product_id); 
    434      
     435 
    435436    // ¤ª¤¹¤¹¤á¾¦ÉÊÅÐÏ¿ 
    436437    lfInsertRecommendProducts($objQuery, $arrList, $product_id); 
    437      
     438 
    438439    $objQuery->commit(); 
    439440    return $product_id; 
     
    447448     *  K :  ¡ÖȾ³Ñ(ŽÊŽÝŽ¶Ž¸)ÊÒ²¾Ì¾¡×¤ò¡ÖÁ´³ÑÊÒ²¾Ì¾¡×¤ËÊÑ´¹ 
    448449     *  C :  ¡ÖÁ´³Ñ¤Ò¤é²¾Ì¾¡×¤ò¡ÖÁ´³Ñ¤«¤¿²¾Ì¾¡×¤ËÊÑ´¹ 
    449      *  V :  ÂùÅÀÉÕ¤­¤Îʸ»ú¤ò°ìʸ»ú¤ËÊÑ´¹¡£"K","H"¤È¶¦¤Ë»ÈÍѤ·¤Þ¤¹   
     450     *  V :  ÂùÅÀÉÕ¤­¤Îʸ»ú¤ò°ìʸ»ú¤ËÊÑ´¹¡£"K","H"¤È¶¦¤Ë»ÈÍѤ·¤Þ¤¹ 
    450451     *  n :  ¡ÖÁ´³Ñ¡×¿ô»ú¤ò¡ÖȾ³Ñ(ŽÊŽÝŽ¶Ž¸)¡×¤ËÊÑ´¹ 
    451452     */ 
    452453    // ¿Íʪ´ðËܾðÊó 
    453      
     454 
    454455    // ¥¹¥Ý¥Ã¥È¾¦ÉÊ 
    455456    $arrConvList['name'] = "KVa"; 
     
    465466    // Á÷ÎÁ¤Î»ØÄê¤Ê¤· 
    466467    $arrConvList['deliv_fee'] = "n"; 
    467      
     468 
    468469    // ¾ÜºÙ-¥µ¥Ö 
    469470    for ($cnt = 1; $cnt <= PRODUCTSUB_MAX; $cnt++) { 
     
    473474        $arrConvList["sub_comment$cnt"] = "KVa"; 
    474475    } 
    475      
     476 
    476477    // ¤ª¤¹¤¹¤á¾¦ÉÊ 
    477478    for ($cnt = 1; $cnt <= RECOMMEND_PRODUCT_MAX; $cnt++) { 
     
    486487        } 
    487488    } 
    488      
     489 
    489490    global $arrSTATUS; 
    490491    $array['product_flag'] = sfMergeCheckBoxes($array['product_flag'], count($arrSTATUS)); 
    491      
     492 
    492493    return $array; 
    493494} 
     
    497498    global $objPage; 
    498499    global $arrAllowedTag; 
    499      
     500 
    500501    $objErr = new SC_CheckError($array); 
    501502    $objErr->doFunc(array("¾¦ÉÊ̾", "name", STEXT_LEN), array("EXIST_CHECK", "SPTAB_CHECK", "MAX_LENGTH_CHECK")); 
     
    509510    $objErr->doFunc(array("¥á¡¼¥«¡¼URL", "comment1", URL_LEN), array("SPTAB_CHECK", "URL_CHECK", "MAX_LENGTH_CHECK")); 
    510511    $objErr->doFunc(array("ȯÁ÷ÆüÌÜ°Â", "deliv_date_id", INT_LEN), array("NUM_CHECK")); 
    511      
     512 
    512513    // ¥â¥Ó¥ê¥ó¥¯¤¬Í­¸ú¤Ê¾ì¹ç 
    513514    if(sfIsMoviLink()) { 
     
    515516        $objErr->doFunc(array("¾¦ÉÊ̾(¥Õ¥ê¥¬¥Ê)", "movilink_kana", STEXT_LEN), array("EXIST_CHECK", "KANA_CHECK", "MAX_LENGTH_CHECK")); 
    516517        $objErr->doFunc(array("¾¦ÉʲÁ³Ê", "movilink_price", INT_LEN), array("EXIST_CHECK", "NUM_CHECK", "MAX_LENGTH_CHECK")); 
    517                  
     518 
    518519        if($array['movilink_net_fix'] == "") { 
    519520            $objErr->doFunc(array("¾¦ÉÊÊó½·Î¨", "movilink_net_percent", PERCENTAGE_LEN), array("EXIST_CHECK", "NUM_CHECK", "MAX_LENGTH_CHECK")); 
    520521        } 
    521          
     522 
    522523        if($array['movilink_net_percent'] == "") { 
    523524            $objErr->doFunc(array("¾¦ÉÊÊó½·³Û", "movilink_net_fix", INT_LEN), array("EXIST_CHECK", "NUM_CHECK", "MAX_LENGTH_CHECK")); 
    524525        } 
    525          
     526 
    526527        if($array['movilink_net_fix'] != "" && $array['movilink_net_percent'] != "") { 
    527528            $objErr->arrErr['movilink_net_fix'] = "¢¨ ¾¦ÉÊÊó½·Î¨¤«¾¦ÉÊÊ󽷳ۤΤɤÁ¤é¤«¤òµ­Æþ¤·¤Æ¤¯¤À¤µ¤¤<br>"; 
    528             $objErr->arrErr['movilink_net_percent'] = "¢¨ ¾¦ÉÊÊó½·Î¨¤«¾¦ÉÊÊ󽷳ۤΤɤÁ¤é¤«¤òµ­Æþ¤·¤Æ¤¯¤À¤µ¤¤<br>";  
     529            $objErr->arrErr['movilink_net_percent'] = "¢¨ ¾¦ÉÊÊó½·Î¨¤«¾¦ÉÊÊ󽷳ۤΤɤÁ¤é¤«¤òµ­Æþ¤·¤Æ¤¯¤À¤µ¤¤<br>"; 
    529530        } 
    530531        $objErr->doFunc(array("¹­¹ð¥¿¥°¸¶¹Æ1", "movilink_draft_text1", 8), array("EXIST_CHECK", "MAX_LENGTH_CHECK")); 
    531532        $objErr->doFunc(array("¹­¹ð¥¿¥°¸¶¹Æ2", "movilink_draft_text2", 8), array("EXIST_CHECK", "MAX_LENGTH_CHECK")); 
    532533    } 
    533      
     534 
    534535    if($objPage->tpl_nonclass) { 
    535536        $objErr->doFunc(array("¾¦ÉÊ¥³¡¼¥É", "product_code", STEXT_LEN), array("EXIST_CHECK", "SPTAB_CHECK","MAX_LENGTH_CHECK","MAX_LENGTH_CHECK")); 
    536537        $objErr->doFunc(array("Ä̾ï²Á³Ê", "price01", PRICE_LEN), array("ZERO_CHECK", "SPTAB_CHECK", "NUM_CHECK", "MAX_LENGTH_CHECK")); 
    537538        $objErr->doFunc(array("¾¦ÉʲÁ³Ê", "price02", PRICE_LEN), array("EXIST_CHECK", "NUM_CHECK", "ZERO_CHECK", "SPTAB_CHECK", "MAX_LENGTH_CHECK")); 
    538              
     539 
    539540        if($array['stock_unlimited'] != "1") { 
    540541            $objErr->doFunc(array("ºß¸Ë¿ô", "stock", AMOUNT_LEN), array("EXIST_CHECK", "SPTAB_CHECK", "NUM_CHECK", "MAX_LENGTH_CHECK")); 
    541542        } 
    542543    } 
    543      
    544     if($array['sale_unlimited'] != "1") {    
     544 
     545    if($array['sale_unlimited'] != "1") { 
    545546        $objErr->doFunc(array("¹ØÆþÀ©¸Â", "sale_limit", AMOUNT_LEN), array("EXIST_CHECK", "SPTAB_CHECK", "ZERO_CHECK", "NUM_CHECK", "MAX_LENGTH_CHECK")); 
    546547    } 
    547      
     548 
    548549    if(isset($objErr->arrErr['category_id'])) { 
    549550        // ¼«Æ°ÁªÂò¤òËɤ°¤¿¤á¤Ë¥À¥ß¡¼Ê¸»ú¤òÆþ¤ì¤Æ¤ª¤¯ 
    550551        $objPage->arrForm['category_id'] = "#"; 
    551552    } 
    552      
     553 
    553554    for ($cnt = 1; $cnt <= PRODUCTSUB_MAX; $cnt++) { 
    554555        $objErr->doFunc(array("¾ÜºÙ-¥µ¥Ö¥¿¥¤¥È¥ë$cnt", "sub_title$cnt", STEXT_LEN), array("SPTAB_CHECK", "MAX_LENGTH_CHECK")); 
    555556        $objErr->doFunc(array("¾ÜºÙ-¥µ¥Ö¥³¥á¥ó¥È$cnt", "sub_comment$cnt", LLTEXT_LEN), array("SPTAB_CHECK", "MAX_LENGTH_CHECK")); 
    556         $objErr->doFunc(array("¾ÜºÙ-¥µ¥Ö¥³¥á¥ó¥È$cnt", "sub_comment$cnt", $arrAllowedTag),  array("HTML_TAG_CHECK"));    
    557     } 
    558      
     557        $objErr->doFunc(array("¾ÜºÙ-¥µ¥Ö¥³¥á¥ó¥È$cnt", "sub_comment$cnt", $arrAllowedTag),  array("HTML_TAG_CHECK")); 
     558    } 
     559 
    559560    for ($cnt = 1; $cnt <= RECOMMEND_PRODUCT_MAX; $cnt++) { 
    560561        if($_POST["recommend_id$cnt"] != "" && $_POST["recommend_delete$cnt"] != 1) { 
     
    562563        } 
    563564    } 
    564      
     565 
    565566    return $objErr->arrErr; 
    566567} 
     
    593594// ½Ì¾®¤·¤¿²èÁü¤ò¥»¥Ã¥È¤¹¤ë 
    594595function lfSetScaleImage(){ 
    595      
     596 
    596597    $subno = str_replace("sub_large_image", "", $_POST['image_key']); 
    597598    switch ($_POST['image_key']){ 
     
    616617    global $objUpFile; 
    617618    $arrImageKey = array_flip($objUpFile->keyname); 
    618      
     619 
    619620    if($objUpFile->temp_file[$arrImageKey[$from_key]]){ 
    620621        $from_path = $objUpFile->temp_dir . $objUpFile->temp_file[$arrImageKey[$from_key]]; 
     
    624625        return ""; 
    625626    } 
    626      
     627 
    627628    if(file_exists($from_path)){ 
    628629        // ¸µ²èÁü¥µ¥¤¥º¤ò¼èÆÀ 
    629630        list($from_w, $from_h) = getimagesize($from_path); 
    630          
     631 
    631632        // À¸À®Àè¤Î²èÁü¥µ¥¤¥º¤ò¼èÆÀ 
    632633        $to_w = $objUpFile->width[$arrImageKey[$to_key]]; 
    633634        $to_h = $objUpFile->height[$arrImageKey[$to_key]]; 
    634          
    635          
     635 
     636 
    636637        if($forced) $objUpFile->save_file[$arrImageKey[$to_key]] = ""; 
    637          
     638 
    638639        if(($objUpFile->temp_file[$arrImageKey[$to_key]] == "" and $objUpFile->save_file[$arrImageKey[$to_key]] == "")){ 
    639640            $path = $objUpFile->makeThumb($from_path, $to_w, $to_h); 
Note: See TracChangeset for help on using the changeset viewer.