assign( 'LLGBO_VERSION' , LLGBO_INFO_VERSION);} $me = get_plugin_data($plugin_id); $template->assign('LLGBOINFO',''); $template->assign('LLGBO_PATH',LLGBO_PATH); // $query =" SELECT ID FROM ".$prefixeTable."themes where id like '%gally%' " ; $result = pwg_query($query); while ($row = pwg_db_fetch_assoc($result)) { $template->assign( 'GALLY', 'Msg'); } // // +-----------------------------------------------------------------------+ // | Tabssheet // +-----------------------------------------------------------------------+ if (!isset($_GET['tab'])) { $page['tab'] = 'manage';} else {$page['tab'] = $_GET['tab'];} $tabsheet = new tabsheet(); $tabsheet->add('manage', l10n('llgbo_M_manage'), $my_base_url.'&tab=manage'); $disptabtooltip = 'false'; $disptabframe = 'false'; $disptabheader = 'false'; $tabsheet->select($page['tab']); if (!isset($_POST['llgbo_frame']) ) {$disptabframe = $conf['LLGBO_SETTINGS'][0] ;} else {$disptabframe = $_POST['llgbo_frame'];} if ((!isset($_POST['llgbo_tooltip_disp'])) or (!isset($_POST['llgbo_exifunderbt']) ) or ( !isset($_POST['llgbo_usemap_thumb']) )) { if (($conf['LLGBO_SETTINGS'][1] == 'true' ) or ($conf['LLGBO_SETTINGS'][2] == 'true') or ($conf['LLGBO_SETTINGS'][4] == 'true' )) { $disptabtooltip = 'true';} } else {if (($_POST['llgbo_tooltip_disp'] == 'true' ) or ($_POST['llgbo_exifunderbt'] == 'true') or ($_POST['llgbo_usemap_thumb'] == 'true' )) { $disptabtooltip = 'true';} } if (!isset($_POST['llgbo_header']) ) {$disptabheader = $conf['LLGBO_SETTINGS'][6] ;} else {$disptabheader = $_POST['llgbo_header'];} if ($disptabtooltip == 'true'){ $tabsheet->add('tooltip', l10n('llgbo_M_tooltip'), $my_base_url.'&tab=tooltip');} if (($disptabframe == 'true')) {$tabsheet->add('frame', l10n('llgbo_M_frame'), $my_base_url.'&tab=frame');} if (($disptabheader == 'true')) {$tabsheet->add('header', l10n('llgbo_M_header'), $my_base_url.'&tab=header');} $tabsheet->assign(); if ($page['tab'] == 'manage') {$template->set_filenames( array('llgbo_admin_content' => dirname(__FILE__).'/llgbo_adminsettings.tpl') );} if ($page['tab'] == 'tooltip') {$template->set_filenames( array('llgbo_admin_content' => dirname(__FILE__).'/llgbo_admintooltip.tpl') );} if ($page['tab'] == 'frame' ) {$template->set_filenames( array('llgbo_admin_content' => dirname(__FILE__).'/llgbo_adminframe.tpl') );} if ($page['tab'] == 'header' ) {$template->set_filenames( array('llgbo_admin_content' => dirname(__FILE__).'/llgbo_adminheader.tpl') );} $tabsheet->select($page['tab']); // Update configuration settings in database ////// SETTINGS if (($page['tab'] == 'manage') or ( !isset($_GET['tab']))){ if ( isset($_POST['submit']) ) { if (!isset($_POST['llgbo_frame'])) {$_POST['llgbo_frame'] = 'false';} if (!isset($_POST['llgbo_tooltip_disp'])) {$_POST['llgbo_tooltip_disp'] = 'false';} if (!isset($_POST['llgbo_exifunderbt'])) {$_POST['llgbo_exifunderbt'] = 'false';} if (!isset($_POST['llgbo_jquery'])) {$_POST['llgbo_jquery'] = 'false';} if (!isset($_POST['llgbo_usemap_thumb'])) {$_POST['llgbo_usemap_thumb'] = 'false';} if (!isset($_POST['llgbo_title_frame'])) {$_POST['llgbo_title_frame'] = 'false';} if (!isset($_POST['llgbo_header'])) {$_POST['llgbo_header'] = 'false';} if (!isset($_POST['llgbo_maintain_header'])) {$_POST['llgbo_maintain_header'] = '';} if (!isset($_POST['llgbo_allinfo'])) {$_POST['llgbo_allinfo'] = 'false';} if (!isset($_POST['llgbo_free'])) {$_POST['llgbo_free'] = 'false';} if (!isset($_POST['llgbo_always_displayexif'])) {$_POST['llgbo_always_displayexif'] = 'false';} //10 $param_llgbo = array($_POST['llgbo_frame'], $_POST['llgbo_tooltip_disp'], $_POST['llgbo_exifunderbt'], $_POST['llgbo_jquery'], $_POST['llgbo_usemap_thumb'], $_POST['llgbo_title_frame'], $_POST['llgbo_header'], $_POST['llgbo_maintain_header'], $_POST['llgbo_allinfo'], $_POST['llgbo_free'] ,$_POST['llgbo_always_displayexif'] ); $llgbo_new_value = implode ("," , $param_llgbo); $query = ' UPDATE ' . CONFIG_TABLE . ' SET value="'.$llgbo_new_value. '" WHERE param="LLGBO" LIMIT 1'; pwg_query($query); $template->assign('LLGBOINFO','llgbo_info'); $conf['LLGBO_SETTINGS'] = explode ("," ,$llgbo_new_value); } if ( isset($_POST['reset']) ) { $conf['LLGBO_SETTINGS'] = explode ("," ,$plugvalues);} // Reload settings for correct display after update if ($conf['LLGBO_SETTINGS'][0] == 'true') {$template->assign( 'LLGBO_FRAME' , 'true');} else {$template->assign( 'LLGBO_FRAME' , 'false');} if ($conf['LLGBO_SETTINGS'][1] == 'true') {$template->assign( 'LLGBO_TOOLTIP_DISP' , 'true');} else {$template->assign( 'LLGBO_TOOLTIP_DISP' , "false");} if ($conf['LLGBO_SETTINGS'][2] == 'true') {$template->assign('LLGBO_EXIFUNDERBT' , 'true');} else {$template->assign( 'LLGBO_EXIFUNDERBT' , "false");} if ($conf['LLGBO_SETTINGS'][3] == 'true') {$template->assign( array( 'LLGBO_JQUERY' => 'true'));} else { $template->assign( array( 'LLGBO_JQUERY' => "false"));} if ($conf['LLGBO_SETTINGS'][4] == 'true') {$template->assign( array( 'LLGBO_USEMAP_THUMB' => 'true'));} else { $template->assign( array( 'LLGBO_USEMAP_THUMB' => "false"));} if ($conf['LLGBO_SETTINGS'][5] == 'true') {$template->assign( array( 'LLGBO_TITLE_FRAME' => 'true'));} else { $template->assign( array( 'LLGBO_TITLE_FRAME' => "false"));} if ($conf['LLGBO_SETTINGS'][6] == 'true') {$template->assign( array( 'LLGBO_HEADER' => 'true'));} else { $template->assign( array( 'LLGBO_HEADER' => "false"));} $template->assign(array( 'LLGBO_MAINTAIN_HEADER' => $conf['LLGBO_SETTINGS'][7])); if ($conf['LLGBO_SETTINGS'][8] == 'true') {$template->assign(array( 'LLGBO_ALLINFO' => 'true'));} else { $template->assign( array( 'LLGBO_ALLINFO' => "false"));} if ($conf['LLGBO_SETTINGS'][9] == 'true') {$template->assign(array( 'LLGBO_FREE' => 'true'));} else { $template->assign(array( 'LLGBO_FREE' => "false"));} if ($conf['LLGBO_SETTINGS'][10] == 'true') {$template->assign(array( 'LLGBO_ALWAYS_DISPLAYEXIF' => 'true'));} else { $template->assign(array( 'LLGBO_ALWAYS_DISPLAYEXIF' => "false"));} } /////////////////////////////////////////////////////////////////////////////////////// //// TOOLTIP /////////////////////////////////////////////////////////////////////////////////////// if ($page['tab'] == 'tooltip') { if ( isset($_POST['save']) or isset($_POST['preview'])) { if (!isset($_POST['llgbo_tooltip_width'])) {$_POST['llgbo_tooltip_width'] = '150';} if (!isset($_POST['llgbo_tooltip_size'])) {$_POST['llgbo_tooltip_size'] = '2';} if (!isset($_POST['llgbo_tooltip_bordercolor'])) {$_POST['llgbo_tooltip_bordercolor'] = '#fff';} if (!isset($_POST['llgbo_tooltip_backgroundcolor'])) {$_POST['llgbo_tooltip_backgroundcolor'] = '#000';} if (!isset($_POST['llgbo_tooltip_titlecolor'])) {$_POST['llgbo_tooltip_titlecolor'] = '#c92';} if (!isset($_POST['llgbo_tooltip_color'])) {$_POST['llgbo_tooltip_color'] = '#dadada';} $param_llgbo_tooltip = array( $_POST['llgbo_tooltip_width'], $_POST['llgbo_tooltip_size'] , $_POST['llgbo_tooltip_bordercolor'], $_POST['llgbo_tooltip_backgroundcolor'], $_POST['llgbo_tooltip_titlecolor'], $_POST['llgbo_tooltip_color']); $llgbo_newtooltip_value = implode ("," , $param_llgbo_tooltip); if ( isset($_POST['save']) ) { $query = ' UPDATE ' . CONFIG_TABLE . ' SET value="'.$llgbo_newtooltip_value.'" WHERE param="LLGBOTOOLTIP" LIMIT 1'; pwg_query($query); $template->assign('LLGBOINFO','llgbo_info'); } $conf['LLGBO_TOOLTIP'] = explode ("," ,$llgbo_newtooltip_value); } if ( isset($_POST['reset']) ) { $conf['LLGBO_TOOLTIP'] = explode ("," ,$ttvalues);} // Reload settings for correct display after update if (isset($conf['LLGBO_TOOLTIP'][0])) {$template->assign(array( 'LLGBO_TOOLTIP_WIDTH' => $conf['LLGBO_TOOLTIP'][0]));} if (isset($conf['LLGBO_TOOLTIP'][1])) {$template->assign(array( 'LLGBO_TOOLTIP_SIZE' => $conf['LLGBO_TOOLTIP'][1]));} if (isset($conf['LLGBO_TOOLTIP'][2])) {$template->assign(array( 'LLGBO_TOOLTIP_BORDERCOLOR' => $conf['LLGBO_TOOLTIP' ][2]));} if (isset($conf['LLGBO_TOOLTIP'][3])) {$template->assign(array( 'LLGBO_TOOLTIP_BACKGROUNDCOLOR' => $conf['LLGBO_TOOLTIP'][3]));} if (isset($conf['LLGBO_TOOLTIP'][4])) {$template->assign(array( 'LLGBO_TOOLTIP_TITLECOLOR' => $conf['LLGBO_TOOLTIP'][4]));} if (isset($conf['LLGBO_TOOLTIP'][5])) {$template->assign(array( 'LLGBO_TOOLTIP_COLOR' => $conf['LLGBO_TOOLTIP'][5]));} $template ->assign ('stylett',' '); } /////////////////////////////////////////////// ///// FRAME ///////////////////////////////////////////////// if ($page['tab'] == 'frame') { if ( isset($_POST['save']) or isset($_POST['preview'])) { if (!isset($_POST['llgbo_title_frame_color'])) {$_POST['llgbo_title_frame_color'] = '#16195f';} for ($i = 0 ;$i < 16 ; $i++) { if (!isset($_POST['llgbo_frame_bdcolor'.$i])) {$_POST['llgbo_frame_bdcolor'.$i] = '#fff' ;} if (!isset($_POST['llgbo_frame_bdsize'.$i])) {$_POST['llgbo_frame_bdsize'.$i] = '1' ;} } $param_llgbo_frame = array( $_POST['llgbo_title_frame_color'], $_POST['llgbo_frame_bdcolor0'], $_POST['llgbo_frame_bdsize0'], $_POST['llgbo_frame_bdcolor1'], $_POST['llgbo_frame_bdsize1'], $_POST['llgbo_frame_bdcolor2'], $_POST['llgbo_frame_bdsize2'], $_POST['llgbo_frame_bdcolor3'], $_POST['llgbo_frame_bdsize3'], $_POST['llgbo_frame_bdcolor4'], $_POST['llgbo_frame_bdsize4'], $_POST['llgbo_frame_bdcolor5'], $_POST['llgbo_frame_bdsize5'], $_POST['llgbo_frame_bdcolor6'], $_POST['llgbo_frame_bdsize6'], $_POST['llgbo_frame_bdcolor7'], $_POST['llgbo_frame_bdsize7'], $_POST['llgbo_frame_bdcolor8'], $_POST['llgbo_frame_bdsize8'], $_POST['llgbo_frame_bdcolor9'], $_POST['llgbo_frame_bdsize9'], $_POST['llgbo_frame_bdcolor10'], $_POST['llgbo_frame_bdsize10'], $_POST['llgbo_frame_bdcolor11'], $_POST['llgbo_frame_bdsize11'], $_POST['llgbo_frame_bdcolor12'], $_POST['llgbo_frame_bdsize12'], $_POST['llgbo_frame_bdcolor13'], $_POST['llgbo_frame_bdsize13'], $_POST['llgbo_frame_bdcolor14'], $_POST['llgbo_frame_bdsize14'], $_POST['llgbo_frame_bdcolor15'], $_POST['llgbo_frame_bdsize15'] ); $llgbo_newframe_value = implode ("," , $param_llgbo_frame); if ( isset($_POST['save']) ) { $query = ' UPDATE ' . CONFIG_TABLE . ' SET value="'.$llgbo_newframe_value.'" WHERE param="LLGBOFRAME" LIMIT 1'; pwg_query($query); $template->assign('LLGBOINFO','llgbo_info'); } $conf['LLGBO_FRAME'] = explode ("," ,$llgbo_newframe_value ); } if ( isset($_POST['reset']) ) { $conf['LLGBO_FRAME'] = explode ("," ,$frvalues );} if ( isset($_POST['previewsample']) ) { if (isset($_POST['sample'])) { //print_r($_POST); if ($_POST['sample'] == "GOLD") { $llgbo_sample = "#f6e1ac,#d0a641,2,#b08827,1,#f3ead8,5,#9c740e,1,#553b00,1,#5e4400,1,#684d07,1,#977424,1,#95772b,1,#896611,1,#674e13,3,#8e784b,1,#e0c992,2,#e8cb8b,1,#af9045,1,#8a6612,1";} if ($_POST['sample'] == "WHITE") { $llgbo_sample = "#16195f,#ffffff,3,#040404,1,#ffffff,7,#ffffff,1,#fdfdfd,1,#fcfcfc,1,#fafafa,1,#eaeaea,1,#d3d3d3,1,#bababa,1,#9f9f9f,1,#858585,1,#777777,1,#646464,1,#575757,1,#474747,1";} if ($_POST['sample'] == "BLACK") { $llgbo_sample = "#9f7a09,#090909,3,#fafafa,1,#0b0b0b,4,#0c0c0c,4,#1f1f20,1,#29292b,1,#343435,1,#3f3f41,1,#4a4a4b,1,#555557,1,#616163,1,#6d6d6e,1,#79797a,1,#848485,1,#919192,1,#9d9d9e,1";} if ($_POST['sample'] == "METAL") { $llgbo_sample = "#111111,#e8e8e8,2,#babdbf,1,#4a4c4d,3,#a3a7aa,2,#a8acaf,2,#adb2b4,1,#b3b8ba,1,#c0c4c6,2,#c6c9cc,1,#c8cbcd,1,#c5c9cb,1,#c9cdcf,1,#cdd1c2,1,#cdd1c2,1,#b1b3da,1,#666e83,1";} if ($_POST['sample'] == "BLUE") { $llgbo_sample = "#000000,#e8e8e8,2,#b6d0d5,1,#fafefe,9,#a3a7aa,1,#a8acaf,1,#404b54,1,#32403d,1,#b1b7c3,1,#4c5970,1,#303d4e,1,#566662,2,#96abb1,1,#737479,1,#d2d2d7,1,#6e716b,1,#5a5b5c,1";} if ($_POST['sample'] == "B_W") { $llgbo_sample = "#e8cb8b,#fcf6e9,11,#171112,9,#352c2d,1,#fcf6e9,1,#000000,3,#171112,3,#000000,0,#000000,0,#000000,0,#000000,0,#000000,0,#000000,0,#000000,0,#000000,0,#000000,0,#000000,0";} if ($_POST['sample'] != "MY_LAST_VALUES") { $conf['LLGBO_FRAME'] = explode ("," ,$llgbo_sample ); } } } // FRAME if (isset($conf['LLGBO_FRAME'][0])) {$template->assign(array( 'LLGBO_TITLE_FRAME_COLOR' => $conf['LLGBO_FRAME'][0]));} for ($i = 0 ;$i < 16 ; $i++) { $x = 1 + ( 2 * $i); if (isset($conf['LLGBO_FRAME'][$x])) {$template->assign(array( 'LLGBO_FRAME_BDCOLOR'.$i => $conf['LLGBO_FRAME'][$x]));} if (isset($conf['LLGBO_FRAME'][$x+1])) {$template->assign(array( 'LLGBO_FRAME_BDSIZE'.$i => $conf['LLGBO_FRAME'][$x+1]));} } /// re draw frame after update Draw_frame(); } /////////////////////////////////////////////// ///// HEADER ///////////////////////////////////////////////// if ($page['tab'] == 'header') { if ( isset($_POST['submit'])) { if (!isset($_POST['llgbo_header_home'])) {$_POST['llgbo_header_home'] = 'true';} if (!isset($_POST['llgbo_header_category'])) {$_POST['llgbo_header_category'] = 'true';} if (!isset($_POST['llgbo_header_category_filter_recent'])) {$_POST['llgbo_header_category_filter_recent'] = 'true';} if (!isset($_POST['llgbo_header_category_flat'])) {$_POST['llgbo_header_category_flat'] = 'true';} if (!isset($_POST['llgbo_header_category_posted_monthly'])) {$_POST['llgbo_header_category_posted_monthly'] = 'true';} if (!isset($_POST['llgbo_header_picture'])) {$_POST['llgbo_header_picture'] = 'true';} if (!isset($_POST['llgbo_header_additional_page'])) {$_POST['llgbo_header_additional_page'] = 'true';} if (!isset($_POST['llgbo_header_most_visited'])) {$_POST['llgbo_header_most_visited'] = 'true';} if (!isset($_POST['llgbo_header_best_rated'])) {$_POST['llgbo_header_best_rated'] = 'true';} if (!isset($_POST['llgbo_header_list'])) {$_POST['llgbo_header_list'] = 'true';} if (!isset($_POST['llgbo_header_recent_pics'])) {$_POST['llgbo_header_recent_pics'] = 'true';} if (!isset($_POST['llgbo_header_created_monthly_calendar'])) {$_POST['llgbo_header_created_monthly_calendar'] = 'true';} if (!isset($_POST['llgbo_header_tags'])) {$_POST['llgbo_header_tags'] = 'true';} if (!isset($_POST['llgbo_header_search'])) {$_POST['llgbo_header_search'] = 'true';} if (!isset($_POST['llgbo_header_comments'])) {$_POST['llgbo_header_comments'] = 'true';} if (!isset($_POST['llgbo_header_about'])) {$_POST['llgbo_header_about'] = 'true';} if (!isset($_POST['llgbo_header_notification'])) {$_POST['llgbo_header_notification'] = 'true';} if (!isset($_POST['llgbo_header_register'])) {$_POST['llgbo_header_register'] = 'true';} if (!isset($_POST['llgbo_header_identification'])) {$_POST['llgbo_header_identification'] = 'true';} if (!isset($_POST['llgbo_header_favorites'])) {$_POST['llgbo_header_favorites'] = 'true';} if (!isset($_POST['llgbo_header_recent_cats'])) {$_POST['llgbo_header_recent_cats'] = 'true';} if (!isset($_POST['llgbo_header_thePiwiShackControllerPage'])) {$_POST['llgbo_header_thePiwiShackControllerPage'] = 'true';} $param_llgbo_header = array( $_POST['llgbo_header_home'], $_POST['llgbo_header_category'] , $_POST['llgbo_header_category_filter_recent'], $_POST['llgbo_header_category_flat'], $_POST['llgbo_header_category_posted_monthly'], $_POST['llgbo_header_picture'], $_POST['llgbo_header_additional_page'], $_POST['llgbo_header_most_visited'], $_POST['llgbo_header_best_rated'] , $_POST['llgbo_header_list'], $_POST['llgbo_header_recent_pics'], $_POST['llgbo_header_created_monthly_calendar'], $_POST['llgbo_header_tags'], $_POST['llgbo_header_search'], $_POST['llgbo_header_comments'], $_POST['llgbo_header_about'], $_POST['llgbo_header_notification'], $_POST['llgbo_header_register'], $_POST['llgbo_header_identification'], $_POST['llgbo_header_favorites'], $_POST['llgbo_header_recent_cats'], $_POST['llgbo_header_thePiwiShackControllerPage']); $llgbo_newheader_value = implode ("," , $param_llgbo_header); $query = ' UPDATE ' . CONFIG_TABLE . ' SET value="'.$llgbo_newheader_value.'" WHERE param="LLGBOHEADER" LIMIT 1'; pwg_query($query); $template->assign('LLGBOINFO','llgbo_info'); $conf['LLGBO_HEADER'] = explode ("," ,$llgbo_newheader_value); } if ( isset($_POST['reset']) ) { $conf['LLGBO_HEADER'] = explode ("," ,$headvalues);} // Reload settings for correct display after update if (isset($conf['LLGBO_HEADER'][0])) {$template->assign(array( 'LLGBO_HEADER_HOME' => $conf['LLGBO_HEADER'][0]));} if (isset($conf['LLGBO_HEADER'][1])) {$template->assign(array( 'LLGBO_HEADER_CATEGORY' => $conf['LLGBO_HEADER'][1]));} if (isset($conf['LLGBO_HEADER'][2])) {$template->assign(array( 'LLGBO_HEADER_CATEGORY_FILTER_RECENT' => $conf['LLGBO_HEADER' ][2]));} if (isset($conf['LLGBO_HEADER'][3])) {$template->assign(array( 'LLGBO_HEADER_CATEGORY_FLAT' => $conf['LLGBO_HEADER'][3]));} if (isset($conf['LLGBO_HEADER'][4])) {$template->assign(array( 'LLGBO_HEADER_CATEGORY_POSTED_MONTHLY' => $conf['LLGBO_HEADER'][4]));} if (isset($conf['LLGBO_HEADER'][5])) {$template->assign(array( 'LLGBO_HEADER_PICTURE' => $conf['LLGBO_HEADER'][5]));} if (isset($conf['LLGBO_HEADER'][6])) {$template->assign(array( 'LLGBO_HEADER_ADDITIONAL_PAGE' => $conf['LLGBO_HEADER'][6]));} if (isset($conf['LLGBO_HEADER'][7])) {$template->assign(array( 'LLGBO_HEADER_MOST_VISITED' => $conf['LLGBO_HEADER'][7]));} if (isset($conf['LLGBO_HEADER'][8])) {$template->assign(array( 'LLGBO_HEADER_BEST_RATED' => $conf['LLGBO_HEADER' ][8]));} if (isset($conf['LLGBO_HEADER'][9])) {$template->assign(array( 'LLGBO_HEADER_LIST' => $conf['LLGBO_HEADER' ][9]));} if (isset($conf['LLGBO_HEADER'][10])) {$template->assign(array( 'LLGBO_HEADER_RECENT_PICS' => $conf['LLGBO_HEADER'][10]));} if (isset($conf['LLGBO_HEADER'][11])) {$template->assign(array( 'LLGBO_HEADER_TAGS' => $conf['LLGBO_HEADER'][11]));} if (isset($conf['LLGBO_HEADER'][12])) {$template->assign(array( 'LLGBO_HEADER_CREATED_MONTHLY_CALENDAR' => $conf['LLGBO_HEADER'][12]));} if (isset($conf['LLGBO_HEADER'][13])) {$template->assign(array( 'LLGBO_HEADER_SEARCH' => $conf['LLGBO_HEADER'][13]));} if (isset($conf['LLGBO_HEADER'][14])) {$template->assign(array( 'LLGBO_HEADER_COMMENTS' => $conf['LLGBO_HEADER'][14]));} if (isset($conf['LLGBO_HEADER'][15])) {$template->assign(array( 'LLGBO_HEADER_ABOUT' => $conf['LLGBO_HEADER'][15]));} if (isset($conf['LLGBO_HEADER'][16])) {$template->assign(array( 'LLGBO_HEADER_NOTIFICATION' => $conf['LLGBO_HEADER' ][16]));} if (isset($conf['LLGBO_HEADER'][17])) {$template->assign(array( 'LLGBO_HEADER_REGISTER' => $conf['LLGBO_HEADER'][17]));} if (isset($conf['LLGBO_HEADER'][18])) {$template->assign(array( 'LLGBO_HEADER_IDENTIFICATION' => $conf['LLGBO_HEADER'][18]));} if (isset($conf['LLGBO_HEADER'][19])) {$template->assign(array( 'LLGBO_HEADER_FAVORITES' => $conf['LLGBO_HEADER'][19]));} if (isset($conf['LLGBO_HEADER'][20])) {$template->assign(array( 'LLGBO_HEADER_RECENT_CATS' => $conf['LLGBO_HEADER'][20]));} if (isset($conf['LLGBO_HEADER'][21])) {$template->assign(array( 'LLGBO_HEADER_THEPIWISHACKCONTROLLERPAGE' => $conf['LLGBO_HEADER'][21]));} } $template->assign_var_from_handle( 'ADMIN_CONTENT', 'llgbo_admin_content'); ////////////////////////// function Draw_frame() {global $conf ,$template; $bd = 0; $frame_begin =''; $frame_end=''; for ($i = 0 ;$i < 16 ; $i++) { $x = 1 + ( 2 * $i); if ((isset($conf['LLGBO_FRAME'][$x+1])) and ($conf['LLGBO_FRAME'][$x+1] > 0)) { $frame_begin = '
'."\n".$frame_begin; $frame_end = $frame_end .'
'; } } $template->assign('FRAME_BEGIN', $frame_begin); $template->assign('FRAME_END', $frame_end); } ?>