- Timestamp:
- 2012/06/21 15:02:41 (12 years ago)
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
branches/version-2_12-dev/data/class/pages/admin/total/LC_Page_Admin_Total.php
r21867 r21935 416 416 $objGraphBar = new SC_Graph_Bar(); 417 417 418 foreach ( array_keys($arrList) as $val) {419 $arrKey[] = mb_ereg_replace('~', '-', $ val);418 foreach ($arrList as $key => $value) { 419 $arrKey[] = mb_ereg_replace('~', '-', $key); 420 420 } 421 421 … … 527 527 $arrTotalResults = $objQuery->select($col, $from, $where, $arrWhereVal); 528 528 529 foreach ( array_keys($arrTotalResults) as $key) {529 foreach ($arrTotalResults as $key => $value) { 530 530 $arrResult =& $arrTotalResults[$key]; 531 531 $member_key = $arrResult['order_sex']; … … 600 600 $arrTotalResults = $objQuery->select($col, $from, $where, $arrWhereVal); 601 601 602 foreach ( array_keys($arrTotalResults) as $key) {602 foreach ($arrTotalResults as $key => $value) { 603 603 $arrResult =& $arrTotalResults[$key]; 604 604 $job_key = $arrResult['job']; … … 637 637 $arrTotalResults = $objQuery->select($col, $from, $where, $arrWhereVal); 638 638 639 foreach ( array_keys($arrTotalResults) as $key) {639 foreach ($arrTotalResults as $key => $value) { 640 640 $arrResult =& $arrTotalResults[$key]; 641 641 $age_key = $arrResult['age']; … … 783 783 // 合計の計算 784 784 foreach ($arrResults as $arrResult) { 785 foreach ( array_keys($arrResult) as$value) {786 $arrTotal[$ value] += $arrResult[$value];785 foreach ($arrResult as $key => $value) { 786 $arrTotal[$key] += $arrResult[$key]; 787 787 } 788 788 }
Note: See TracChangeset
for help on using the changeset viewer.