| 7 |
|
|
| 8 |
chdir(substr($_SERVER["argv"][0], 0, strrpos($_SERVER["argv"][0], "/"))); |
chdir(substr($_SERVER["argv"][0], 0, strrpos($_SERVER["argv"][0], "/"))); |
| 9 |
|
|
| 10 |
|
require_once "../lib/db_open.inc.php"; |
| 11 |
require_once "../lib/common.inc.php"; |
require_once "../lib/common.inc.php"; |
| 12 |
|
|
|
$db_conn = include "./db_open.inc.php"; |
|
|
|
|
| 13 |
$sql = "SELECT section_config.SID, section_config.title AS s_title FROM section_config |
$sql = "SELECT section_config.SID, section_config.title AS s_title FROM section_config |
| 14 |
INNER JOIN section_class ON section_config.CID = section_class.CID |
INNER JOIN section_class ON section_config.CID = section_class.CID |
| 15 |
WHERE section_config.enable AND section_class.enable AND ex_update |
WHERE section_config.enable AND section_class.enable AND ex_update |