root/ip/tags/release_1_3_0_53/blocks/blocks_imp_style.php
| 111 | 163 | ||
|---|---|---|---|
30 | 30 | ||
31 | $default_style = $board_config['default_style']; | 31 | $default_style = $board_config['default_style']; |
32 | $select_name = STYLE_URL; | 32 | $select_name = STYLE_URL; |
33 | $sql = "SELECT themes_id, style_name FROM " . THEMES_TABLE . " ORDER BY template_name, themes_id"; | 33 | $sql = "SELECT themes_id, style_name FROM " . THEMES_TABLE . " ORDER BY style_name, themes_id"; |
34 | if (!($result = $db->sql_query($sql, false, 'themes_'))) | 34 | if (!($result = $db->sql_query($sql, false, 'themes_'))) |
35 | { | 35 | { |
36 | message_die(GENERAL_ERROR, "Couldn't query themes table", "", __LINE__, __FILE__, $sql); | 36 | message_die(GENERAL_ERROR, "Couldn't query themes table", "", __LINE__, __FILE__, $sql); |
Download diff