Changeset 10304 for temp/trunk/html


Ignore:
Timestamp:
2006/12/06 12:43:14 (20 years ago)
Author:
kaki
Message:
 
Location:
temp/trunk/html/admin/products
Files:
2 edited

Legend:

Unmodified
Added
Removed
  • temp/trunk/html/admin/products/product.php

    r10300 r10304  
    252252    $where = "product_id = ?"; 
    253253     
     254    // view¤â¹Ê¹þ¤ß(mysqlÂбþ) 
    254255    sfViewWhere("&&noncls_where&&", $where, array($product_id)); 
    255256     
  • temp/trunk/html/admin/products/product_select.php

    r10207 r10304  
    8080    $objQuery = new SC_Query(); 
    8181    // ¹Ô¿ô¤Î¼èÆÀ 
    82     $linemax = $objQuery->count($from, $where, $arrval); 
     82    $linemax = $objQuery->count("dtb_products", $where, $arrval); 
    8383    $objPage->tpl_linemax = $linemax;               // ²¿·ï¤¬³ºÅö¤·¤Þ¤·¤¿¡£É½¼¨ÍÑ 
    8484     
     
    9797    // ¼èÆÀÈϰϤλØÄê(³«»Ï¹ÔÈֹ桢¹Ô¿ô¤Î¥»¥Ã¥È) 
    9898    $objQuery->setlimitoffset($page_max, $startno); 
     99 
     100    // view¤â¹Ê¹þ¤ß¤ò¤«¤±¤ë(mysqlÍÑ) 
     101    sfViewWhere("&&noncls_where&&", $where, $arrval, $objQuery->order . " " .  $objQuery->setlimitoffset($page_max, $startno, true)); 
    99102 
    100103    // ɽ¼¨½ç½ø 
Note: See TracChangeset for help on using the changeset viewer.