$t = 'video'; $ret = jwplayer($id, 400); break; // // case "poppdf": $ret = pdfreader_j($id, $va); break; case "swf": req('pop'); $t = 'swf'; $ret = embed_flsh($id, $va, $opt, ''); break; case "galj": req('pop'); $ret = gallery_j_slct($va, $id, $opt); break; case "channel": req('pop,spe,art,tri,mod'); $ret = channel($id, $va, $opt, $optb); break; case "shop": req('pop,spe,art,mod'); $_SESSION['cart'][$id] += 1; $ret = m_pubart($_SESSION['cart'], '', ''); break; case "mktable": $ret = $id ? mktc($id, $va, $opt, $res) : mktb($id, $va, $res); break; case "vview": req('pop,spe');
function gallery_j($doc, $id) { static $i; $i++; $j = 'galj_' . $id . '-' . $i . '_' . ajx($doc, ''); $_SESSION['impos' . $i] = 0; $ret .= divc('', ljb('txtbox', 'SaveBb', $j . '_prev', picto('kleft')) . $pp . ljb('txtbox', 'SaveBb', $j . '_next', picto('kright'))); $img = gallery_j_slct($doc, $id . '-' . $i, 0); $ret .= div('id="galj' . $id . '-' . $i . '"', $img); if (!$_SESSION['nl']) { return $javs . $ret; } }