-ADD_DESCR("admin", __FILE__);
-
-// Load all actions
-$result = SQL_QUERY("SELECT `id`, `status`, `action`, `new_status`
-FROM `{!MYSQL_PREFIX!}_surfbar_actions`
-ORDER BY `status` ASC, `action` ASC", __FILE__, __LINE__);
-
-// Entries found?
-if (SQL_NUMROWS($result) > 0) {
- // List all entries
- $OUT = ""; $SW = 2;
- while ($content = SQL_FETCHARRAY($result)) {
- // "Translate" some data
- $content['status'] = constant(sprintf("SURFBAR_URL_STATUS_%s", $content['status']));
- $content['action'] = constant(sprintf("MEMBER_SURFBAR_ACTION_%s_SUBMIT", $content['action']));