array(getMemberId()), __FILE__, __LINE__);
// Load all rows
- $content['rows'] = ''; $SW = 2;
+ $content['rows'] = '';
while ($data = SQL_FETCHARRAY($result)) {
// Prepare data for output
$rowContent = array(
'wernis_amount' => $data['wernis_amount'],
'wernis_account' => $data['wernis_account'],
'wernis_type' => $data['wernis_type'],
- 'sw' => $SW,
);
// Load row template
$content['rows'] .= loadTemplate('member_wernis_mode_list_row', true, $rowContent);
- $SW = 3 - $SW;
- }
+ } // END - while
// Free result
SQL_FREERESULT($result);