get_template_vars('previous');
$next = $template->get_template_vars('next');
//print_r($next);
$swtimg = '||append('previous', array('TITLE' => $prev['TITLE'].$swtimg.$prev['THUMB_SRC'].'>'),TRUE);}
if (isset($next)){$template->append('next', array('TITLE' => $next['TITLE'].$swtimg.$next['THUMB_SRC'].'>'),TRUE);}
$template->append('llgbo', array('tooltipCSS' => $sweetcss), true);
}
//----------------------------------------------------
/* HTML frame */
//----------------------------------------------------
If (($conf['LLGBO_SETTINGS'] [0] == 'true') ) //Frame
{ $template->set_prefilter('default_content', 'LLGBO_prefilter_Frame');
// selected picture Size
$deriv_type = pwg_get_session_var('picture_deriv', IMG_LARGE);
$PictSizeWH = $element_info['derivatives'][$deriv_type]->get_size();
$frame_width = $PictSizeWH[0];
$frame_height = $PictSizeWH[1];
$lastbrdpx = 0;
$frame_begin ='';
$frame_end='';
for ($x = 1 ;$x < 32 ; $x =$x +2)
{ if ((isset($conf['LLGBO_FRAME'][$x+1])) and ($conf['LLGBO_FRAME'][$x+1] > 0)) // boder value > 0
{ $bordpx= $conf['LLGBO_FRAME'][$x+1];
$frame_width = $frame_width + ( 2* $lastbrdpx);
$frame_height = $frame_height + ( 2* $lastbrdpx);
$bordcolor = $conf['LLGBO_FRAME'][$x];
$frame_begin = '