|
@@ 572-579 (lines=8) @@
|
| 569 |
|
'count' => 1, |
| 570 |
|
); |
| 571 |
|
} |
| 572 |
|
elseif ($row['note_type'] == 'topic') |
| 573 |
|
{ |
| 574 |
|
if (!isset($types[$row['note_type']][$row['id_board']]['lines'][$row['id_topic']])) |
| 575 |
|
$types[$row['note_type']][$row['id_board']]['lines'][$row['id_topic']] = array( |
| 576 |
|
'id' => $row['id_topic'], |
| 577 |
|
'subject' => un_htmlspecialchars($row['subject']), |
| 578 |
|
); |
| 579 |
|
} |
| 580 |
|
else |
| 581 |
|
{ |
| 582 |
|
if (!isset($types[$row['note_type']][$row['id_board']]['lines'][$row['id_topic']])) |
|
@@ 580-588 (lines=9) @@
|
| 577 |
|
'subject' => un_htmlspecialchars($row['subject']), |
| 578 |
|
); |
| 579 |
|
} |
| 580 |
|
else |
| 581 |
|
{ |
| 582 |
|
if (!isset($types[$row['note_type']][$row['id_board']]['lines'][$row['id_topic']])) |
| 583 |
|
$types[$row['note_type']][$row['id_board']]['lines'][$row['id_topic']] = array( |
| 584 |
|
'id' => $row['id_topic'], |
| 585 |
|
'subject' => un_htmlspecialchars($row['subject']), |
| 586 |
|
'starter' => $row['id_member_started'], |
| 587 |
|
); |
| 588 |
|
} |
| 589 |
|
|
| 590 |
|
$types[$row['note_type']][$row['id_board']]['lines'][$row['id_topic']]['members'] = array(); |
| 591 |
|
if (!empty($notify['topics'][$row['id_topic']])) |