function plug_overpop($doc, $t) { $opac = 0.5; list($v, $src) = split_one('§', $doc, 1); list($t, $id, $clr, $typo) = split(';', $v); //list($w,$h)=getimagesize($src); //$im=goodroot($src); list($w,$h)=getimagesize($im); echo $w.'-'.$h; list($w, $h) = split('/', $_SESSION['prmb'][27]); $img = make_thumb_d($src, $_SESSION['prmb'][27]); $ret = overpop($t, $id, $clr, $typo, $opac, $w, $h); return $ret . $img; }
function plug_rollovertopop($doc, $t) { $id = 'curtain' . randid(); //return imgico($a.'" onmouseover="this.src=\''.$b.'\'" onmouseout="this.src=\''.$a.'\''); list($v, $p) = split_one('�', $doc, 1); $img = make_thumb_d($v, $p); // $im = goodroot($v); list($l, $h) = getimagesize($im); $send = 'photo_' . str_replace("_", "*", $im) . '_' . $l . '_' . $h; if ($_SESSION['nl']) { $thumb = image($im, currentwidth(), ''); } //$ret=ljb("","SaveBf",$send,$img); $oc = 'SaveBf(\'' . $send . '\')'; $ov = 'getbyid(\'' . $id . '\').style.background-color:rgba(0,0,0,0);'; $ret = lkh($oc, $ov, $thumb); $sty = 'position:absolute; width:340px; height:240px; background-color:rgba(0,0,0,0.5); text-align-center; vertical-align:center;'; $title = divs('width:140px; height:40px; background-color:#;', $t); $ret .= div(' style="' . $sty . '" id="' . $id . '"', ''); //return imgico($a.'" onmouseover="this.src=\''.$b.'\'" onmouseout="this.src=\''.$a.'\''); return $ret; }
function make_mini_c($doc) { //conn_thumb //im§w/h list($v, $p) = split_one('§', $doc, 1); $img = make_thumb_d($v, $p); $im = goodroot($v); list($l, $h) = getimagesize($im); $send = 'photo_' . str_replace("_", "*", $im) . '_' . $l . '_' . $h; if ($_SESSION['nl']) { return image($im, currentwidth(), ''); } else { return ljb('', 'SaveBf', $send, $img); } }