$nv->searchnavi(2); } } $kpd->bottom(); } else { if (frm_isset('hotoptions')) { if (frm_ok('hotperiod', 1)) { $filter = frm_get('hotperiod', 1); user_saveoption('hotmode', $filter); } else { $filter = 0; } genliststart(4); } else { if (frm_isset('editplaylist') || frm_isset('viewplaylist')) { playlist_editor(frm_get('sel_playlist', 1), frm_get('previous')); } else { if (frm_isset('addplaylist')) { $ok = false; kprintheader(get_lang(61), 1); $sids = getsidspost(); if (count($sids) > 0) { if (frm_ok('sel_playlist', 1)) { $kppl = new kp_playlist(frm_get('sel_playlist', 1)); if ($kppl->appendaccess()) { $ok = true; $kppl->addtoplaylist($sids); } } } if ($ok) {
$nv->searchnavi(2); } } $kpd->bottom(); } else { if (isset($_POST['hotoptions'])) { if (isset($_POST['hotperiod']) && is_numeric($_POST['hotperiod'])) { $filter = $_POST['hotperiod']; user_saveoption('hotmode', $filter); } else { $filter = 0; } genliststart(4); } else { if (isset($_POST['editplaylist']) || isset($_POST['viewplaylist'])) { playlist_editor($_POST['sel_playlist'], $_POST['previous']); } else { if (isset($_POST['addplaylist'])) { kprintheader(get_lang(61), 1, 1); if (empty($_POST['fsel']) && empty($_POST['dsel'])) { echo '<font color="#000000" class="notice">' . get_lang(32) . ' </font>'; } else { $kppl = new kp_playlist($_POST['sel_playlist']); if ($kppl->appendaccess()) { $sids = getsidspost(); $kppl->addtoplaylist($sids); } echo '<font color="#000000" class="notice">' . get_lang(33) . ' </font>'; } echo '<a href="javascript:history.go(-1)" class="fatbuttom"> ' . get_lang(34) . ' </a>'; kprintend();