Changeset 6610 for temp/trunk/html/admin


Ignore:
Timestamp:
2006/10/25 10:29:15 (20 years ago)
Author:
naka
Message:

* empty log message *

File:
1 edited

Legend:

Unmodified
Added
Removed
  • temp/trunk/html/admin/system/module.php

    r6603 r6610  
    5454$col = "module_id, main_php, module_name, now_version, latest_version, module_explain, create_date, release_date"; 
    5555$objQuery->setorder("module_id"); 
    56 $objPage->arrUpdate = $objQuery->select($col, "dtb_update"); 
     56$objPage->arrUpdate = $objQuery->select($col, "dtb_module"); 
    5757 
    5858// ³ÈÄ¥¥Õ¥¡¥¤¥ë¤Î¥Ð¡¼¥¸¥ç¥ó³Îǧ 
     
    170170                $sqlval['release_date'] = $arrCSV[12]; 
    171171                // ´û¸¥ì¥³¡¼¥É¤Î¥Á¥§¥Ã¥¯ 
    172                 $cnt = $objQuery->count("dtb_update", "module_id = ?", array($sqlval['module_id'])); 
     172                $cnt = $objQuery->count("dtb_module", "module_id = ?", array($sqlval['module_id'])); 
    173173                if($cnt > 0) { 
    174174                    // ¤¹¤Ç¤Ë¼èÆÀ¤µ¤ì¤Æ¤¤¤ë¾ì¹ç¤Ï¹¹¿·¤¹¤ë¡£  
    175                     $objQuery->update("dtb_update", $sqlval, "module_id = ?", array($sqlval['module_id'])); 
     175                    $objQuery->update("dtb_module", $sqlval, "module_id = ?", array($sqlval['module_id'])); 
    176176                } else { 
    177177                    // ¿·µ¬¥ì¥³¡¼¥É¤ÎÄɲà
    178178                    $sqlval['create_date'] = "now()"; 
    179                     $objQuery->insert("dtb_update", $sqlval); 
     179                    $objQuery->insert("dtb_module", $sqlval); 
    180180                } 
    181181            } else { 
     
    192192     
    193193    $objQuery = new SC_Query(); 
    194     $arrRet = $objQuery->select("module_id, extern_php, other_files, install_sql, latest_version", "dtb_update", "module_id = ?", array($_POST['module_id'])); 
     194    $arrRet = $objQuery->select("module_id, extern_php, other_files, install_sql, latest_version", "dtb_module", "module_id = ?", array($_POST['module_id'])); 
    195195    $flg_ok = true; // ½èÍý¤ÎÀ®¸ùȽÄê 
    196196     
     
    236236        $sqlval['now_version'] = $arrRet[0]['latest_version']; 
    237237        $sqlval['update_date'] = "now()"; 
    238         $objQuery->update("dtb_update", $sqlval, "module_id = ?", array($arrRet[0]['module_id'])); 
     238        $objQuery->update("dtb_module", $sqlval, "module_id = ?", array($arrRet[0]['module_id'])); 
    239239    } 
    240240} 
     
    245245     
    246246    $objQuery = new SC_Query(); 
    247     $arrRet = $objQuery->select("module_id, extern_php, other_files, install_sql, uninstall_sql, latest_version", "dtb_update", "module_id = ?", array($_POST['module_id'])); 
     247    $arrRet = $objQuery->select("module_id, extern_php, other_files, install_sql, uninstall_sql, latest_version", "dtb_module", "module_id = ?", array($_POST['module_id'])); 
    248248    $flg_ok = true; // ½èÍý¤ÎÀ®¸ùȽÄê 
    249249     
     
    288288        $sqlval['now_version'] = ""; 
    289289        $sqlval['update_date'] = "now()"; 
    290         $objQuery->update("dtb_update", $sqlval, "module_id = ?", array($arrRet[0]['module_id'])); 
     290        $objQuery->update("dtb_module", $sqlval, "module_id = ?", array($arrRet[0]['module_id'])); 
    291291    } 
    292292} 
Note: See TracChangeset for help on using the changeset viewer.