user_saveoption('defgenre', frm_get('genreno', 1)); } genliststart(6); } else { if (frm_isset('logmeout')) { $valuser->logout($u_cookieid); $deflanguage = $setctl->get('default_language'); klogon(); } } } } break; case 'hotselect': if (frm_isset('artist')) { hotselect(frm_get('artist')); } break; case 'playalbum': if (frm_isset('p')) { if (frm_ok('ftid', 1)) { $f2 = new file2(frm_get('ftid', 1), true); $ft = $f2->id3['album']; } else { $ft = ''; } $kpdir = new kpdir(); $kpdir->setpwd(base64_decode(frm_get('p'))); $kpdir->setdrive(frm_get('d', 1)); if ($kpdir->determine()) { $res = $kpdir->filesql('id,album');
user_saveoption('defgenre', $_POST['genreno']); } genliststart(6); } else { if (isset($_POST['logmeout'])) { $valuser->logout($u_cookieid); $deflanguage = $setctl->get('default_language'); klogon(); } } } } break; case 'hotselect': if (isset($_GET['artist'])) { hotselect($_GET['artist']); } break; case 'playalbum': if (isset($_GET['p'])) { if (!empty($_GET['ft'])) { $ft = stripcslashes($_GET['ft']); } else { $ft = ''; } if (isset($_GET['ftid']) && is_numeric($_GET['ftid'])) { $f2 = new file2($_GET['ftid'], true); $ft = $f2->id3['album']; } $kpdir = new kpdir(); $kpdir->setpwd(base64_decode($_GET['p']));