| @@ 95-101 (lines=7) @@ | ||
| 92 | $categorySelect .= "selected=\"selected\""; |
|
| 93 | } |
|
| 94 | $categorySelect .= '>' . _ALL . '</option>'; |
|
| 95 | foreach ($categories as $id => $cat) { |
|
| 96 | $categorySelect .= "<option value=\"" . $id . "\""; |
|
| 97 | if (in_array($id, $category)) { |
|
| 98 | $categorySelect .= "selected=\"selected\""; |
|
| 99 | } |
|
| 100 | $categorySelect .= '>' . $cat . '</option>'; |
|
| 101 | } |
|
| 102 | unset($id, $cat); |
|
| 103 | $categorySelect .= '</select>'; |
|
| 104 | ||
| @@ 206-212 (lines=7) @@ | ||
| 203 | $categorySelect .= "selected=\"selected\""; |
|
| 204 | } |
|
| 205 | $categorySelect .= '>' . _ALL . '</option>'; |
|
| 206 | foreach ($categories as $id => $cat) { |
|
| 207 | $categorySelect .= "<option value=\"" . $id . "\""; |
|
| 208 | if (in_array($id, $category)) { |
|
| 209 | $categorySelect .= "selected=\"selected\""; |
|
| 210 | } |
|
| 211 | $categorySelect .= '>' . $cat . '</option>'; |
|
| 212 | } |
|
| 213 | unset($id, $cat); |
|
| 214 | $categorySelect .= '</select>'; |
|
| 215 | ||