* *
* -------------------------------------------------------------------- *
* File : what-guestedit.php *
* *
* -------------------------------------------------------------------- *
* File : what-guestedit.php *
loadTemplate('admin_gmenu_status', false, $content);
} else {
if ((isGetRequestElementSet('act')) && (isGetRequestElementSet('tid')) && (isGetRequestElementSet('fid'))) {
loadTemplate('admin_gmenu_status', false, $content);
} else {
if ((isGetRequestElementSet('act')) && (isGetRequestElementSet('tid')) && (isGetRequestElementSet('fid'))) {
if (isGetRequestElementSet('w')) {
// Sub menus selected
$result = SQL_QUERY_ESC("SELECT `id` FROM `{?_MYSQL_PREFIX?}_guest_menu` WHERE `action`='%s' AND `sort`='%s' LIMIT 1",
if (isGetRequestElementSet('w')) {
// Sub menus selected
$result = SQL_QUERY_ESC("SELECT `id` FROM `{?_MYSQL_PREFIX?}_guest_menu` WHERE `action`='%s' AND `sort`='%s' LIMIT 1",
- $NAVI = "<a href=\"{?URL?}/modules.php?module=admin&what=guestedit&sub=".$content['sub']."&act=".$data['action']."&w=".$data['what']."&tid=".($data['sort']-1)."&fid=".$data['sort']."\">{--HIGHER--}</a>/<a href=\"{?URL?}/modules.php?module=admin&what=guestedit&sub=".$content['sub']."&act=".$data['action']."&w=".$data['what']."&tid=".($data['sort']+1)."&fid=".$data['sort']."\">{--LOWER--}</a>";
+ $NAVI = "<a href=\"{%url=modules.php?module=admin&what=guestedit&sub=" . $content['sub'] . "&act=" . $data['action'] . "&w=" . $data['what'] . "&tid=" . ($data['sort']-1) . "&fid=" . $data['sort'] . "%}\">{--HIGHER--}</a>/<a href=\"{%url=modules.php?module=admin&what=guestedit&sub=" . $content['sub'] . "&act=" . $data['action'] . "&w=" . $data['what'] . "&tid=" . ($data['sort']+1) . "&fid=" . $data['sort'] . "%}\">{--LOWER--}</a>";