Changeset 10253 for temp/trunk/html
- Timestamp:
- 2006/12/06 09:06:35 (20 years ago)
- File:
-
- 1 edited
-
temp/trunk/html/admin/products/index.php (modified) (2 diffs)
Legend:
- Unmodified
- Added
- Removed
-
temp/trunk/html/admin/products/index.php
r10250 r10253 236 236 237 237 // ¹Ô¿ô¤Î¼èÆÀ 238 // view¤â¹Ê¹þ¤ß¤ò¤«¤±¤ë(mysqlÍÑ) 239 global $arrViewWhere; 240 $arrWhere = split("[?]", $where); 241 $where_tmp = ""; 242 $where_tmp = " WHERE " . $arrWhere[0]; 243 for($i = 1; $i < count($arrWhere); $i++){ 244 $where_tmp .= sfQuoteSmart($arrval[$i - 1]) . $arrWhere[$i]; 245 } 246 $arrViewWhere["&&noncls_where&&"] = $where_tmp; 247 248 238 249 $linemax = $objQuery->count($from, $where, $arrval); 239 250 $objPage->tpl_linemax = $linemax; // ²¿·ï¤¬³ºÅö¤·¤Þ¤·¤¿¡£É½¼¨ÍÑ … … 265 276 // ɽ¼¨½ç½ø 266 277 $objQuery->setorder($order); 267 268 // view¤â¹Ê¹þ¤ß¤ò¤«¤±¤ë(mysqlÍÑ)269 global $arrViewWhere;270 271 $arrWhere = split("[?]", $where);272 sfprintr($arrWhere);273 sfprintr($arrval);274 275 $where_tmp = "";276 277 $where_tmp = " WHERE " . $arrWhere[0];278 for($i = 1; $i < count($arrWhere); $i++){279 280 sfprintr(sfQuoteSmart($arrval[$i - 1]));281 282 $where_tmp .= sfQuoteSmart($arrval[$i - 1]) . $arrWhere[$i];283 }284 285 286 sfprintr($where_tmp);287 $arrViewWhere["&&noncls_where&&"] = $where_tmp;288 289 278 290 279 // ¸¡º÷·ë²Ì¤Î¼èÆÀ
Note: See TracChangeset
for help on using the changeset viewer.
