@@ -79,10 +79,11 @@ discard block |
||
79 | 79 | $fields = array_merge(array(), $extras_handler->loadFields()); |
80 | 80 | |
81 | 81 | if ( $op != "search" ) { |
82 | - if (is_array($fields)&&count($fields)>0) |
|
83 | - foreach (array_keys($fields) as $i ) { |
|
82 | + if (is_array($fields)&&count($fields)>0) { |
|
83 | + foreach (array_keys($fields) as $i ) { |
|
84 | 84 | if ( $restriction == "" || $fields[$i]->getVar($restriction) ) { |
85 | 85 | $form->addItem($fields[$i]->getVar('field_id'), xoops_substr($fields[$i]->getVar('field_title'), 0, 25) ); |
86 | + } |
|
86 | 87 | } |
87 | 88 | } |
88 | 89 | } else { |
@@ -94,10 +95,11 @@ discard block |
||
94 | 95 | 'datetime', |
95 | 96 | 'timezone', |
96 | 97 | 'language'); |
97 | - if (is_array($fields)&&count($fields)>0) |
|
98 | - foreach (array_keys($fields) as $i ) { |
|
98 | + if (is_array($fields)&&count($fields)>0) { |
|
99 | + foreach (array_keys($fields) as $i ) { |
|
99 | 100 | if ( in_array($fields[$i]->getVar('field_type'), $searchable_types) ) { |
100 | 101 | $form->addItem($fields[$i]->getVar('field_id'), xoops_substr($fields[$i]->getVar('field_title'), 0, 25) ); |
102 | + } |
|
101 | 103 | } |
102 | 104 | } |
103 | 105 | } |
@@ -52,8 +52,9 @@ discard block |
||
52 | 52 | |
53 | 53 | $genres = $genre_handler->getObjects($criteria, true); |
54 | 54 | foreach($genres as $cid => $genre) { |
55 | - if (is_object($genre)) |
|
56 | - $GLOBALS['xoopsTpl']->append('genre', $genre->toArray()); |
|
55 | + if (is_object($genre)) { |
|
56 | + $GLOBALS['xoopsTpl']->append('genre', $genre->toArray()); |
|
57 | + } |
|
57 | 58 | } |
58 | 59 | $GLOBALS['xoopsTpl']->assign('form', songlist_genre_get_form(false)); |
59 | 60 | $GLOBALS['xoopsTpl']->assign('php_self', $_SERVER['PHP_SELF']); |
@@ -92,10 +93,11 @@ discard block |
||
92 | 93 | redirect_header($_SERVER['PHP_SELF'].'?op='.$GLOBALS['op'].'&fct=list&limit='.$GLOBALS['limit'].'&start='.$GLOBALS['start'].'&order='.$GLOBALS['order'].'&sort='.$GLOBALS['sort'].'&filter='.$GLOBALS['filter'], 10, _AM_SONGLIST_MSG_GENRE_FAILEDTOSAVE); |
93 | 94 | exit(0); |
94 | 95 | } else { |
95 | - if ($_REQUEST['state'][$_REQUEST['id']]=='new') |
|
96 | - redirect_header($_SERVER['PHP_SELF'].'?op='.$GLOBALS['op'].'&fct=edit&id='.$_REQUEST['id'] . '&limit='.$GLOBALS['limit'].'&start='.$GLOBALS['start'].'&order='.$GLOBALS['order'].'&sort='.$GLOBALS['sort'].'&filter='.$GLOBALS['filter'], 10, _AM_SONGLIST_MSG_GENRE_SAVEDOKEY); |
|
97 | - else |
|
98 | - redirect_header($_SERVER['PHP_SELF'].'?op='.$GLOBALS['op'].'&fct=list&limit='.$GLOBALS['limit'].'&start='.$GLOBALS['start'].'&order='.$GLOBALS['order'].'&sort='.$GLOBALS['sort'].'&filter='.$GLOBALS['filter'], 10, _AM_SONGLIST_MSG_GENRE_SAVEDOKEY); |
|
96 | + if ($_REQUEST['state'][$_REQUEST['id']]=='new') { |
|
97 | + redirect_header($_SERVER['PHP_SELF'].'?op='.$GLOBALS['op'].'&fct=edit&id='.$_REQUEST['id'] . '&limit='.$GLOBALS['limit'].'&start='.$GLOBALS['start'].'&order='.$GLOBALS['order'].'&sort='.$GLOBALS['sort'].'&filter='.$GLOBALS['filter'], 10, _AM_SONGLIST_MSG_GENRE_SAVEDOKEY); |
|
98 | + } else { |
|
99 | + redirect_header($_SERVER['PHP_SELF'].'?op='.$GLOBALS['op'].'&fct=list&limit='.$GLOBALS['limit'].'&start='.$GLOBALS['start'].'&order='.$GLOBALS['order'].'&sort='.$GLOBALS['sort'].'&filter='.$GLOBALS['filter'], 10, _AM_SONGLIST_MSG_GENRE_SAVEDOKEY); |
|
100 | + } |
|
99 | 101 | exit(0); |
100 | 102 | } |
101 | 103 | break; |
@@ -32,10 +32,12 @@ discard block |
||
32 | 32 | |
33 | 33 | require_once (dirname(dirname(dirname(dirname(__FILE__)))).'/include/cp_header.php'); |
34 | 34 | |
35 | - if (!defined('_CHARSET')) |
|
36 | - define ("_CHARSET","UTF-8"); |
|
37 | - if (!defined('_CHARSET_ISO')) |
|
38 | - define ("_CHARSET_ISO","ISO-8859-1"); |
|
35 | + if (!defined('_CHARSET')) { |
|
36 | + define ("_CHARSET","UTF-8"); |
|
37 | + } |
|
38 | + if (!defined('_CHARSET_ISO')) { |
|
39 | + define ("_CHARSET_ISO","ISO-8859-1"); |
|
40 | + } |
|
39 | 41 | |
40 | 42 | $GLOBALS['songlistAdmin'] = true; |
41 | 43 | |
@@ -57,7 +59,7 @@ discard block |
||
57 | 59 | |
58 | 60 | if ( file_exists($GLOBALS['xoops']->path('/Frameworks/moduleclasses/moduleadmin/moduleadmin.php'))){ |
59 | 61 | include_once $GLOBALS['xoops']->path('/Frameworks/moduleclasses/moduleadmin/moduleadmin.php'); |
60 | - }else{ |
|
62 | + } else{ |
|
61 | 63 | echo xoops_error("Error: You don't use the Frameworks \"admin module\". Please install this Frameworks"); |
62 | 64 | } |
63 | 65 |
@@ -52,8 +52,9 @@ discard block |
||
52 | 52 | |
53 | 53 | $albumss = $albums_handler->getObjects($criteria, true); |
54 | 54 | foreach($albumss as $cid => $albums) { |
55 | - if (is_object($albums)) |
|
56 | - $GLOBALS['xoopsTpl']->append('albums', $albums->toArray()); |
|
55 | + if (is_object($albums)) { |
|
56 | + $GLOBALS['xoopsTpl']->append('albums', $albums->toArray()); |
|
57 | + } |
|
57 | 58 | } |
58 | 59 | $GLOBALS['xoopsTpl']->assign('form', songlist_albums_get_form(false)); |
59 | 60 | $GLOBALS['xoopsTpl']->assign('php_self', $_SERVER['PHP_SELF']); |
@@ -96,9 +97,10 @@ discard block |
||
96 | 97 | if (isset($_FILES['image'])&&!empty($_FILES['image']['title'])) { |
97 | 98 | |
98 | 99 | if (!is_dir($GLOBALS['xoops']->path($GLOBALS['songlistModuleConfig']['upload_areas']))) { |
99 | - foreach(explode('\\', $GLOBALS['xoops']->path($GLOBALS['songlistModuleConfig']['upload_areas'])) as $folders) |
|
100 | - foreach(explode('/', $folders) as $folder) { |
|
100 | + foreach(explode('\\', $GLOBALS['xoops']->path($GLOBALS['songlistModuleConfig']['upload_areas'])) as $folders) { |
|
101 | + foreach(explode('/', $folders) as $folder) { |
|
101 | 102 | $path .= DS . $folder; |
103 | + } |
|
102 | 104 | mkdir($path, 0777); |
103 | 105 | } |
104 | 106 | } |
@@ -118,8 +120,9 @@ discard block |
||
118 | 120 | exit(0); |
119 | 121 | } else { |
120 | 122 | |
121 | - if (strlen($albums->getVar('image'))) |
|
122 | - unlink($GLOBALS['xoops']->path($albums->getVar('path')).$albums->getVar('image')); |
|
123 | + if (strlen($albums->getVar('image'))) { |
|
124 | + unlink($GLOBALS['xoops']->path($albums->getVar('path')).$albums->getVar('image')); |
|
125 | + } |
|
123 | 126 | |
124 | 127 | $albums->setVar('path', $GLOBALS['songlistModuleConfig']['upload_areas']); |
125 | 128 | $albums->setVar('image', $uploader->getSavedFileName()); |
@@ -136,10 +139,11 @@ discard block |
||
136 | 139 | } |
137 | 140 | } |
138 | 141 | |
139 | - if ($_REQUEST['state'][$_REQUEST['id']]=='new') |
|
140 | - redirect_header($_SERVER['PHP_SELF'].'?op='.$GLOBALS['op'].'&fct=edit&id='.$_REQUEST['id'] . '&limit='.$GLOBALS['limit'].'&start='.$GLOBALS['start'].'&order='.$GLOBALS['order'].'&sort='.$GLOBALS['sort'].'&filter='.$GLOBALS['filter'], 10, _AM_SONGLIST_MSG_ALBUMS_SAVEDOKEY); |
|
141 | - else |
|
142 | - redirect_header($_SERVER['PHP_SELF'].'?op='.$GLOBALS['op'].'&fct=list&limit='.$GLOBALS['limit'].'&start='.$GLOBALS['start'].'&order='.$GLOBALS['order'].'&sort='.$GLOBALS['sort'].'&filter='.$GLOBALS['filter'], 10, _AM_SONGLIST_MSG_ALBUMS_SAVEDOKEY); |
|
142 | + if ($_REQUEST['state'][$_REQUEST['id']]=='new') { |
|
143 | + redirect_header($_SERVER['PHP_SELF'].'?op='.$GLOBALS['op'].'&fct=edit&id='.$_REQUEST['id'] . '&limit='.$GLOBALS['limit'].'&start='.$GLOBALS['start'].'&order='.$GLOBALS['order'].'&sort='.$GLOBALS['sort'].'&filter='.$GLOBALS['filter'], 10, _AM_SONGLIST_MSG_ALBUMS_SAVEDOKEY); |
|
144 | + } else { |
|
145 | + redirect_header($_SERVER['PHP_SELF'].'?op='.$GLOBALS['op'].'&fct=list&limit='.$GLOBALS['limit'].'&start='.$GLOBALS['start'].'&order='.$GLOBALS['order'].'&sort='.$GLOBALS['sort'].'&filter='.$GLOBALS['filter'], 10, _AM_SONGLIST_MSG_ALBUMS_SAVEDOKEY); |
|
146 | + } |
|
143 | 147 | exit(0); |
144 | 148 | } |
145 | 149 | break; |
@@ -38,9 +38,10 @@ |
||
38 | 38 | if (isset($_FILES['xmlfile'])&&!empty($_FILES['xmlfile']['title'])) { |
39 | 39 | |
40 | 40 | if (!is_dir($GLOBALS['xoops']->path($GLOBALS['songlistModuleConfig']['upload_areas']))) { |
41 | - foreach(explode('\\', $GLOBALS['xoops']->path($GLOBALS['songlistModuleConfig']['upload_areas'])) as $folders) |
|
42 | - foreach(explode('/', $folders) as $folder) { |
|
41 | + foreach(explode('\\', $GLOBALS['xoops']->path($GLOBALS['songlistModuleConfig']['upload_areas'])) as $folders) { |
|
42 | + foreach(explode('/', $folders) as $folder) { |
|
43 | 43 | $path .= DS . $folder; |
44 | + } |
|
44 | 45 | mkdir($path, 0777); |
45 | 46 | } |
46 | 47 | } |
@@ -52,8 +52,9 @@ discard block |
||
52 | 52 | |
53 | 53 | $songss = $songs_handler->getObjects($criteria, true); |
54 | 54 | foreach($songss as $cid => $songs) { |
55 | - if (is_object($songs)) |
|
56 | - $GLOBALS['xoopsTpl']->append('songs', $songs->toArray()); |
|
55 | + if (is_object($songs)) { |
|
56 | + $GLOBALS['xoopsTpl']->append('songs', $songs->toArray()); |
|
57 | + } |
|
57 | 58 | } |
58 | 59 | $GLOBALS['xoopsTpl']->assign('form', songlist_songs_get_form(false)); |
59 | 60 | $GLOBALS['xoopsTpl']->assign('php_self', $_SERVER['PHP_SELF']); |
@@ -94,9 +95,10 @@ discard block |
||
94 | 95 | if (isset($_FILES['mp3'.$id])&&!empty($_FILES['mp3'.$id]['title'])) { |
95 | 96 | |
96 | 97 | if (!is_dir($GLOBALS['xoops']->path($GLOBALS['songlistModuleConfig']['upload_areas']))) { |
97 | - foreach(explode('\\', $GLOBALS['xoops']->path($GLOBALS['songlistModuleConfig']['upload_areas'])) as $folders) |
|
98 | - foreach(explode('/', $folders) as $folder) { |
|
98 | + foreach(explode('\\', $GLOBALS['xoops']->path($GLOBALS['songlistModuleConfig']['upload_areas'])) as $folders) { |
|
99 | + foreach(explode('/', $folders) as $folder) { |
|
99 | 100 | $path .= DS . $folder; |
101 | + } |
|
100 | 102 | mkdir($path, 0777); |
101 | 103 | } |
102 | 104 | } |
@@ -115,8 +117,9 @@ discard block |
||
115 | 117 | exit(0); |
116 | 118 | } else { |
117 | 119 | |
118 | - if (strlen($songs->getVar('mp3'))) |
|
119 | - unlink($GLOBALS['xoops']->path($songs->getVar('path')).basename($songs->getVar('mp3'))); |
|
120 | + if (strlen($songs->getVar('mp3'))) { |
|
121 | + unlink($GLOBALS['xoops']->path($songs->getVar('path')).basename($songs->getVar('mp3'))); |
|
122 | + } |
|
120 | 123 | |
121 | 124 | $songs->setVar('mp3', XOOPS_URL.'/'.str_replace(DS, '/', $GLOBALS['songlistModuleConfig']['upload_areas']).$uploader->getSavedFileName()); |
122 | 125 | |
@@ -145,10 +148,11 @@ discard block |
||
145 | 148 | } |
146 | 149 | |
147 | 150 | |
148 | - if ($_REQUEST['state'][$_REQUEST['id']]=='new') |
|
149 | - redirect_header($_SERVER['PHP_SELF'].'?op='.$GLOBALS['op'].'&fct=edit&id='.$_REQUEST['id'] . '&limit='.$GLOBALS['limit'].'&start='.$GLOBALS['start'].'&order='.$GLOBALS['order'].'&sort='.$GLOBALS['sort'].'&filter='.$GLOBALS['filter'], 10, _AM_SONGLIST_MSG_SONGS_SAVEDOKEY); |
|
150 | - else |
|
151 | - redirect_header($_SERVER['PHP_SELF'].'?op='.$GLOBALS['op'].'&fct=list&limit='.$GLOBALS['limit'].'&start='.$GLOBALS['start'].'&order='.$GLOBALS['order'].'&sort='.$GLOBALS['sort'].'&filter='.$GLOBALS['filter'], 10, _AM_SONGLIST_MSG_SONGS_SAVEDOKEY); |
|
151 | + if ($_REQUEST['state'][$_REQUEST['id']]=='new') { |
|
152 | + redirect_header($_SERVER['PHP_SELF'].'?op='.$GLOBALS['op'].'&fct=edit&id='.$_REQUEST['id'] . '&limit='.$GLOBALS['limit'].'&start='.$GLOBALS['start'].'&order='.$GLOBALS['order'].'&sort='.$GLOBALS['sort'].'&filter='.$GLOBALS['filter'], 10, _AM_SONGLIST_MSG_SONGS_SAVEDOKEY); |
|
153 | + } else { |
|
154 | + redirect_header($_SERVER['PHP_SELF'].'?op='.$GLOBALS['op'].'&fct=list&limit='.$GLOBALS['limit'].'&start='.$GLOBALS['start'].'&order='.$GLOBALS['order'].'&sort='.$GLOBALS['sort'].'&filter='.$GLOBALS['filter'], 10, _AM_SONGLIST_MSG_SONGS_SAVEDOKEY); |
|
155 | + } |
|
152 | 156 | exit(0); |
153 | 157 | } |
154 | 158 | break; |
@@ -162,9 +166,10 @@ discard block |
||
162 | 166 | if (isset($_FILES['mp3'.$id])&&!empty($_FILES['mp3'.$id]['title'])) { |
163 | 167 | |
164 | 168 | if (!is_dir($GLOBALS['xoops']->path($GLOBALS['songlistModuleConfig']['upload_areas']))) { |
165 | - foreach(explode('\\', $GLOBALS['xoops']->path($GLOBALS['songlistModuleConfig']['upload_areas'])) as $folders) |
|
166 | - foreach(explode('/', $folders) as $folder) { |
|
169 | + foreach(explode('\\', $GLOBALS['xoops']->path($GLOBALS['songlistModuleConfig']['upload_areas'])) as $folders) { |
|
170 | + foreach(explode('/', $folders) as $folder) { |
|
167 | 171 | $path .= DS . $folder; |
172 | + } |
|
168 | 173 | mkdir($path, 0777); |
169 | 174 | } |
170 | 175 | } |
@@ -183,8 +188,9 @@ discard block |
||
183 | 188 | exit(0); |
184 | 189 | } else { |
185 | 190 | |
186 | - if (strlen($songs->getVar('mp3'))) |
|
187 | - unlink($GLOBALS['xoops']->path($songs->getVar('path')).basename($songs->getVar('mp3'))); |
|
191 | + if (strlen($songs->getVar('mp3'))) { |
|
192 | + unlink($GLOBALS['xoops']->path($songs->getVar('path')).basename($songs->getVar('mp3'))); |
|
193 | + } |
|
188 | 194 | |
189 | 195 | $songs->setVar('mp3', XOOPS_URL.'/'.str_replace(DS, '/', $GLOBALS['songlistModuleConfig']['upload_areas']).$uploader->getSavedFileName()); |
190 | 196 |
@@ -183,7 +183,9 @@ |
||
183 | 183 | |
184 | 184 | if ( !empty($_REQUEST['addOption']) ) { |
185 | 185 | foreach ($_REQUEST['addOption'] as $option ) { |
186 | - if ( empty($option['value']) ) continue; |
|
186 | + if ( empty($option['value']) ) { |
|
187 | + continue; |
|
188 | + } |
|
187 | 189 | $options[$option['key']] = $option['value']; |
188 | 190 | $redirect_to_edit = true; |
189 | 191 | } |
@@ -52,8 +52,9 @@ discard block |
||
52 | 52 | |
53 | 53 | $voices = $voice_handler->getObjects($criteria, true); |
54 | 54 | foreach($voices as $cid => $voice) { |
55 | - if (is_object($voice)) |
|
56 | - $GLOBALS['xoopsTpl']->append('voice', $voice->toArray()); |
|
55 | + if (is_object($voice)) { |
|
56 | + $GLOBALS['xoopsTpl']->append('voice', $voice->toArray()); |
|
57 | + } |
|
57 | 58 | } |
58 | 59 | $GLOBALS['xoopsTpl']->assign('form', songlist_voice_get_form(false)); |
59 | 60 | $GLOBALS['xoopsTpl']->assign('php_self', $_SERVER['PHP_SELF']); |
@@ -92,10 +93,11 @@ discard block |
||
92 | 93 | redirect_header($_SERVER['PHP_SELF'].'?op='.$GLOBALS['op'].'&fct=list&limit='.$GLOBALS['limit'].'&start='.$GLOBALS['start'].'&order='.$GLOBALS['order'].'&sort='.$GLOBALS['sort'].'&filter='.$GLOBALS['filter'], 10, _AM_SONGLIST_MSG_VOICE_FAILEDTOSAVE); |
93 | 94 | exit(0); |
94 | 95 | } else { |
95 | - if ($_REQUEST['state'][$_REQUEST['id']]=='new') |
|
96 | - redirect_header($_SERVER['PHP_SELF'].'?op='.$GLOBALS['op'].'&fct=edit&id='.$_REQUEST['id'] . '&limit='.$GLOBALS['limit'].'&start='.$GLOBALS['start'].'&order='.$GLOBALS['order'].'&sort='.$GLOBALS['sort'].'&filter='.$GLOBALS['filter'], 10, _AM_SONGLIST_MSG_VOICE_SAVEDOKEY); |
|
97 | - else |
|
98 | - redirect_header($_SERVER['PHP_SELF'].'?op='.$GLOBALS['op'].'&fct=list&limit='.$GLOBALS['limit'].'&start='.$GLOBALS['start'].'&order='.$GLOBALS['order'].'&sort='.$GLOBALS['sort'].'&filter='.$GLOBALS['filter'], 10, _AM_SONGLIST_MSG_VOICE_SAVEDOKEY); |
|
96 | + if ($_REQUEST['state'][$_REQUEST['id']]=='new') { |
|
97 | + redirect_header($_SERVER['PHP_SELF'].'?op='.$GLOBALS['op'].'&fct=edit&id='.$_REQUEST['id'] . '&limit='.$GLOBALS['limit'].'&start='.$GLOBALS['start'].'&order='.$GLOBALS['order'].'&sort='.$GLOBALS['sort'].'&filter='.$GLOBALS['filter'], 10, _AM_SONGLIST_MSG_VOICE_SAVEDOKEY); |
|
98 | + } else { |
|
99 | + redirect_header($_SERVER['PHP_SELF'].'?op='.$GLOBALS['op'].'&fct=list&limit='.$GLOBALS['limit'].'&start='.$GLOBALS['start'].'&order='.$GLOBALS['order'].'&sort='.$GLOBALS['sort'].'&filter='.$GLOBALS['filter'], 10, _AM_SONGLIST_MSG_VOICE_SAVEDOKEY); |
|
100 | + } |
|
99 | 101 | exit(0); |
100 | 102 | } |
101 | 103 | break; |
@@ -52,8 +52,9 @@ discard block |
||
52 | 52 | |
53 | 53 | $requestss = $requests_handler->getObjects($criteria, true); |
54 | 54 | foreach($requestss as $cid => $requests) { |
55 | - if (is_object($requests)) |
|
56 | - $GLOBALS['xoopsTpl']->append('requests', $requests->toArray()); |
|
55 | + if (is_object($requests)) { |
|
56 | + $GLOBALS['xoopsTpl']->append('requests', $requests->toArray()); |
|
57 | + } |
|
57 | 58 | } |
58 | 59 | $GLOBALS['xoopsTpl']->assign('form', songlist_requests_get_form(false)); |
59 | 60 | $GLOBALS['xoopsTpl']->assign('php_self', $_SERVER['PHP_SELF']); |
@@ -92,10 +93,11 @@ discard block |
||
92 | 93 | redirect_header($_SERVER['PHP_SELF'].'?op='.$GLOBALS['op'].'&fct=list&limit='.$GLOBALS['limit'].'&start='.$GLOBALS['start'].'&order='.$GLOBALS['order'].'&sort='.$GLOBALS['sort'].'&filter='.$GLOBALS['filter'], 10, _AM_SONGLIST_MSG_REQUESTS_FAILEDTOSAVE); |
93 | 94 | exit(0); |
94 | 95 | } else { |
95 | - if ($_REQUEST['state'][$_REQUEST['id']]=='new') |
|
96 | - redirect_header($_SERVER['PHP_SELF'].'?op='.$GLOBALS['op'].'&fct=edit&id='.$_REQUEST['id'] . '&limit='.$GLOBALS['limit'].'&start='.$GLOBALS['start'].'&order='.$GLOBALS['order'].'&sort='.$GLOBALS['sort'].'&filter='.$GLOBALS['filter'], 10, _AM_SONGLIST_MSG_REQUESTS_SAVEDOKEY); |
|
97 | - else |
|
98 | - redirect_header($_SERVER['PHP_SELF'].'?op='.$GLOBALS['op'].'&fct=list&limit='.$GLOBALS['limit'].'&start='.$GLOBALS['start'].'&order='.$GLOBALS['order'].'&sort='.$GLOBALS['sort'].'&filter='.$GLOBALS['filter'], 10, _AM_SONGLIST_MSG_REQUESTS_SAVEDOKEY); |
|
96 | + if ($_REQUEST['state'][$_REQUEST['id']]=='new') { |
|
97 | + redirect_header($_SERVER['PHP_SELF'].'?op='.$GLOBALS['op'].'&fct=edit&id='.$_REQUEST['id'] . '&limit='.$GLOBALS['limit'].'&start='.$GLOBALS['start'].'&order='.$GLOBALS['order'].'&sort='.$GLOBALS['sort'].'&filter='.$GLOBALS['filter'], 10, _AM_SONGLIST_MSG_REQUESTS_SAVEDOKEY); |
|
98 | + } else { |
|
99 | + redirect_header($_SERVER['PHP_SELF'].'?op='.$GLOBALS['op'].'&fct=list&limit='.$GLOBALS['limit'].'&start='.$GLOBALS['start'].'&order='.$GLOBALS['order'].'&sort='.$GLOBALS['sort'].'&filter='.$GLOBALS['filter'], 10, _AM_SONGLIST_MSG_REQUESTS_SAVEDOKEY); |
|
100 | + } |
|
99 | 101 | exit(0); |
100 | 102 | } |
101 | 103 | break; |