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 = '
'."\n".$frame_begin; $frame_end = $frame_end .'
'; $lastbrdpx = $bordpx;} } $frame_width = $frame_width + ( 2* $lastbrdpx); $frame_height = $frame_height + ( 2* $lastbrdpx); $frame_size = 'style="border:0 ;width:'.$frame_width.'px; height:'.$frame_height.'px;"'; $template->append('llgbo', array( 'FRAME_SIZE' => $frame_size, 'FRAME_BEGIN' => $frame_begin, 'FRAME_END' => $frame_end, 'GBOCSS' => $gbolook ), true); If ($conf['LLGBO_SETTINGS'] [5] == 'true' ) /* title on frame */ { $template->append('llgbo', array( 'TITLE_FRAME_COLOR' => $conf['LLGBO_FRAME'][0],), true); $template->assign('SHOW_PICTURE_NAME_ON_TITLE' , false); } } // end frame ?>