Ignore:
Timestamp:
2007/06/20 15:17:02 (14 years ago)
Author:
adati
Message:

[マージ:dev(r14780-14781)]受注日、変更日で検索できるように変更

File:
1 edited

Legend:

Unmodified
Added
Removed
  • branches/beta/html/admin/order/index.php

    r14676 r14902  
    172172                    $arrval[] = $val; 
    173173                    break; 
    174                 case 'search_startyear': 
    175                     $date = sfGetTimestamp($_POST['search_startyear'], $_POST['search_startmonth'], $_POST['search_startday']); 
     174                case 'search_startyear_c': 
     175                    $date = sfGetTimestamp($_POST['search_startyear_c'], $_POST['search_startmonth_c'], $_POST['search_startday_c']); 
     176                    $where.= " AND create_date >= ?"; 
     177                    $arrval[] = $date; 
     178                    break; 
     179                case 'search_endyear_c': 
     180                    $date = sfGetTimestamp($_POST['search_endyear_c'], $_POST['search_endmonth_c'], $_POST['search_endday_c'], true); 
     181                    $where.= " AND create_date <= ?"; 
     182                    $arrval[] = $date; 
     183                    break; 
     184                case 'search_startyear_u': 
     185                    $date = sfGetTimestamp($_POST['search_startyear_u'], $_POST['search_startmonth_u'], $_POST['search_startday_u']); 
    176186                    $where.= " AND update_date >= ?"; 
    177187                    $arrval[] = $date; 
    178188                    break; 
    179                 case 'search_endyear': 
    180                     $date = sfGetTimestamp($_POST['search_endyear'], $_POST['search_endmonth'], $_POST['search_endday'], true); 
     189                case 'search_endyear_u': 
     190                    $date = sfGetTimestamp($_POST['search_endyear_u'], $_POST['search_endmonth_u'], $_POST['search_endday_u'], true); 
    181191                    $where.= " AND update_date <= ?"; 
    182192                    $arrval[] = $date; 
     
    303313    $objFormParam->addParam("¹ØÆþ¶â³Û2", "search_total2", INT_LEN, "n", array("MAX_LENGTH_CHECK", "NUM_CHECK")); 
    304314    $objFormParam->addParam("ɽ¼¨·ï¿ô", "search_page_max", INT_LEN, "n", array("MAX_LENGTH_CHECK", "NUM_CHECK")); 
    305     $objFormParam->addParam("³«»ÏÆü", "search_startyear", INT_LEN, "n", array("MAX_LENGTH_CHECK", "NUM_CHECK")); 
    306     $objFormParam->addParam("³«»ÏÆü", "search_startmonth", INT_LEN, "n", array("MAX_LENGTH_CHECK", "NUM_CHECK")); 
    307     $objFormParam->addParam("³«»ÏÆü", "search_startday", INT_LEN, "n", array("MAX_LENGTH_CHECK", "NUM_CHECK")); 
    308     $objFormParam->addParam("½ªÎ»Æü", "search_endyear", INT_LEN, "n", array("MAX_LENGTH_CHECK", "NUM_CHECK")); 
    309     $objFormParam->addParam("½ªÎ»Æü", "search_endmonth", INT_LEN, "n", array("MAX_LENGTH_CHECK", "NUM_CHECK")); 
    310     $objFormParam->addParam("½ªÎ»Æü", "search_endday", INT_LEN, "n", array("MAX_LENGTH_CHECK", "NUM_CHECK")); 
     315    $objFormParam->addParam("¼õÃíÆü", "search_startyear_c", INT_LEN, "n", array("MAX_LENGTH_CHECK", "NUM_CHECK")); 
     316    $objFormParam->addParam("¼õÃíÆü", "search_startmonth_c", INT_LEN, "n", array("MAX_LENGTH_CHECK", "NUM_CHECK")); 
     317    $objFormParam->addParam("¼õÃíÆü", "search_startday_c", INT_LEN, "n", array("MAX_LENGTH_CHECK", "NUM_CHECK")); 
     318    $objFormParam->addParam("¼õÃíÆü", "search_endyear_c", INT_LEN, "n", array("MAX_LENGTH_CHECK", "NUM_CHECK")); 
     319    $objFormParam->addParam("¼õÃíÆü", "search_endmonth_c", INT_LEN, "n", array("MAX_LENGTH_CHECK", "NUM_CHECK")); 
     320    $objFormParam->addParam("¼õÃíÆü", "search_endday_c", INT_LEN, "n", array("MAX_LENGTH_CHECK", "NUM_CHECK")); 
     321    $objFormParam->addParam("Êѹ¹Æü", "search_startyear_u", INT_LEN, "n", array("MAX_LENGTH_CHECK", "NUM_CHECK")); 
     322    $objFormParam->addParam("Êѹ¹Æü", "search_startmonth_u", INT_LEN, "n", array("MAX_LENGTH_CHECK", "NUM_CHECK")); 
     323    $objFormParam->addParam("Êѹ¹Æü", "search_startday_u", INT_LEN, "n", array("MAX_LENGTH_CHECK", "NUM_CHECK")); 
     324    $objFormParam->addParam("Êѹ¹Æü", "search_endyear_u", INT_LEN, "n", array("MAX_LENGTH_CHECK", "NUM_CHECK")); 
     325    $objFormParam->addParam("Êѹ¹Æü", "search_endmonth_u", INT_LEN, "n", array("MAX_LENGTH_CHECK", "NUM_CHECK")); 
     326    $objFormParam->addParam("Êѹ¹Æü", "search_endday_u", INT_LEN, "n", array("MAX_LENGTH_CHECK", "NUM_CHECK")); 
    311327    $objFormParam->addParam("³«»ÏÆü", "search_sbirthyear", INT_LEN, "n", array("MAX_LENGTH_CHECK", "NUM_CHECK")); 
    312328    $objFormParam->addParam("³«»ÏÆü", "search_sbirthmonth", INT_LEN, "n", array("MAX_LENGTH_CHECK", "NUM_CHECK")); 
Note: See TracChangeset for help on using the changeset viewer.