Changeset 4523


Ignore:
Timestamp:
Dec 19, 2009, 9:03:53 PM (14 years ago)
Author:
EXFTB
Message:

Version 2.0.i

Location:
extensions/LLGBO2
Files:
16 added
2 edited

Legend:

Unmodified
Added
Removed
  • extensions/LLGBO2/main.inc.php

    r4292 r4523  
    22/*
    33Plugin Name: Look_like_gbo2
    4 Version:  2.0.h
     4Version:  2.0.I
    55Plugin URI: http://phpwebgallery.net/ext/extension_view.php?eid=251
    66Author: Ex-Ftb 
     
    99Add a border around  picture ......
    1010 */
    11  /* 2.0.c2  fix null value in js <> in IE,FF, chrome*/
    1211 /* 2.0.d  fix notice when HD picture is desactivate*/
    13  /* 2.0.e  fix notice with redirect.tpl */
    14   /* 2.0.f  always display metadata + maintain IPTC */
    15    /* 2.0.h new languages PL, ES, HU */
     12 /* 2.0.e  fix notice with redirec.tpl     */
     13 /* 2.0.f  Tooltip and frame  define by plugin vs Css*/
     14 /* 2.0.h new languages PL, ES, HU */
     15 /* 2.0.i Manage tab for tooltip and frame settings */
    1616if (!defined('PHPWG_ROOT_PATH')) die('Hacking attempt!');
    1717/* création d'une instance de la classe   */
    1818$obj = new look_like_gbo(); /* class loading */
    19 global $conf,$conf_LLGBO;
    20 
    21 define ('LLGBO_INFO_VERSION','2.0.h');
     19global $conf,$ttvalues,$plugvalues,$frvalues;
     20define ('LLGBO_INFO_VERSION','2.0.I');
    2221define('LLGBO_PATH' , PHPWG_PLUGINS_PATH . basename(dirname(__FILE__)) . '/');
    23 $conf_LLGBO = explode("," , $conf['LLGBO']);
    24 //print_r ($conf_LLGBO);
    25 $conf_LLGBO['fsize'] = getimagesize(LLGBO_PATH.'pictures/chg_25.png');/*  width of a cormer*/
    26 //
     22         
     23 $conf['LLGBO_SETTINGS'] =  explode("," , $conf['LLGBO']);
     24 $conf['LLGBO_TOOLTIP'] = explode(",",$conf['LLGBOTOOLTIP']);
     25 $conf['LLGBO_FRAME'] = explode (",",$conf['LLGBOFRAME']);   
     26/////////////////////////////////////////////////////
    2727/*  plugin Class  */
    2828class look_like_gbo
     
    3232        array(
    3333          'NAME' => 'Look_like_GBo',
    34           'URL' => get_admin_plugin_menu_link(dirname(__FILE__).'/admin/llgbo_admin.php')
    35         )
    36       );
     34          'URL' => get_admin_plugin_menu_link(dirname(__FILE__).'/admin/llgbo_admin.php') ));
    3735    return $menu;  }
    3836       
    3937/* always display metadata */
    4038function AutoDisplayMetadata()
    41 {global $conf_LLGBO;
    42  If ($conf_LLGBO[10]  == 'true' )  //always display metadata
    43         {if ( pwg_get_session_var('show_metadata') == null )
    44                 {  pwg_set_session_var('show_metadata', 1 );            }
    45         }
     39{global $conf;
     40         If ($conf['LLGBO_SETTINGS'] [2]  == 'true' )  // exif under bt
     41        {$_GET['metadata'] = 'O';}
    4642}
    4743 
    4844 // reset nofollow, noindex
    4945function MyBeginheader()
    50 { global $page,$conf_LLGBO;
    51  If ($conf_LLGBO[10]  == 'true' ) // reset nofollow, noindex
    52 { unset ($page['meta_robots']);}
     46{ global $page,$conf;
     47        // echo '-10-'.$conf['LLGBO_SETTINGS',10];
     48         If ($conf['LLGBO_SETTINGS'][2]  == 'true' ) // reset nofollow, noindex
     49        { unset ($page['meta_robots']);}
    5350}
    5451//   manage H E A D E R
    5552function Myheader()
    56 {  global $template,$conf_LLGBO;
    57 $Page_body = $template->get_template_vars('BODY_ID');
    58 $Categories = $template->get_template_vars('U_MODE_FLAT'); // Home page
    59 
    60 
    61 If ($conf_LLGBO[6]  == 'true' )  //display Header on home page
    62         { if (strpos( $Categories ,'categories') === False )
    63                 { $exclu =  strtoupper($Page_body);     /*  maintain header on user  define  page */   
    64                         if ($exclu == '') {$exclu = '¤¤¤¤¤¤';} // Pb with redirect.tpl                 
    65                         if (strpos( strtoupper($conf_LLGBO[7]),$exclu) === False)
    66                                 {$template->append('head_elements',"\n".' <STYLE type="text/css">#theHeader{display: none}</STYLE>');
    67                                 }
    68                 }       
    69         }
    70 if  (  $Page_body  == 'thePicturePage')
    71          {      If (($conf_LLGBO[1]  == 'true' )/*  tooltip  */  or ($conf_LLGBO[0] == 'true') /*  frame  */    )
    72                                 {$linkcss = '<link rel="stylesheet" type="text/css" href="'.LLGBO_PATH;
    73                                 $template->append('head_elements',$linkcss.'css/gbolook.css">');}
    74         }
    75 
    76 //--------------------------------------       
    77 //
    78 If ($conf_LLGBO[9]  == 'true' and $Page_body == 'thePicturePage')
    79         {$template->append('head_elements',"\n".' <STYLE type="text/css">.navThumb{display: none} </STYLE>');}
     53{global $template,$conf;
     54        $Page_body = $template->get_template_vars('BODY_ID');   
     55        $Categories = $template->get_template_vars('U_MODE_FLAT'); // Home page
     56 if ((isset ($Page_body)) )// pb with redirect.tpl
     57        {If ($conf['LLGBO_SETTINGS'][6]  == 'true' )  //display Header on home page
     58                { if (strpos( $Categories ,'categories') === False )
     59                        { $exclu =  strtoupper($Page_body);     /*  maintain header on user  define  page */     
     60                                if (strpos( strtoupper($conf['LLGBO_SETTINGS'] [7]),$exclu) === False)
     61                                        {$template->append('head_elements',"\n".' <STYLE type="text/css">#theHeader{display: none}</STYLE>');}
     62                        }       
     63                }
     64
     65        //
     66        If ($conf['LLGBO_SETTINGS'] [9]  == 'true' and $Page_body == 'thePicturePage')
     67                {$template->append('head_elements',"\n".' <STYLE type="text/css">.navThumb{display: none} </STYLE>');}
     68 }
    8069}  // end header
    8170
    8271//* improve functionnalities --> picture.tpl
    8372function  DisplayGboLook()
    84 { global $template,$conf_LLGBO;
    85 $u_metadata = $template->get_template_vars('U_METADATA');
    86 $swt =   ' swttips="'; 
    87  If ($conf_LLGBO[2]  == 'true' )  // exif under bt
    88         {  $metadata = $template->get_template_vars('metadata');
    89         if(is_array($metadata))
    90     {foreach($metadata[0] as $cle =>$tableau)
    91                  { if(is_array($tableau))
    92                  {foreach($tableau as $cle=>$valeur)
    93             {   $swt= $swt.$cle.' : '.$valeur.'<br>'; }
    94                 }       } 
    95                 /* IPTC
    96                 foreach($metadata[1] as $cle =>$tableau)
    97                  { if(is_array($tableau))
    98                  {foreach($tableau as $cle=>$valeur)
    99             {   $swt= $swt.$cle.' : '.'<br>'.$valeur.'<br>'; }
    100                 }       }  */
    101                 $template->assign( 'U_METADATA', $u_metadata.'"'.$swt);
    102                 unset ($metadata[0]);
    103                 $template-> assign('metadata', $metadata);} //  keep iptc under picture
    104         }
    105         // compatibility with extended description
    106 $ThePicture = $template->get_template_vars('current');
    107 $comment = $template->get_template_vars('COMMENT_IMG');
    108 if (!isset($comment) )
    109                 {$template->assign( 'COMMENT_IMG' , $ThePicture['comment']);}
     73{ global $template,$conf;
     74        $u_metadata = $template->get_template_vars('U_METADATA');
     75        $swt =   ' swttips="'; 
     76         If ($conf['LLGBO_SETTINGS'] [2]  == 'true' )  // exif under bt
     77                {  $metadata = $template->get_template_vars('metadata');
     78                if(is_array($metadata))
     79                {foreach($metadata[0] as $cle =>$tableau)
     80                         { if(is_array($tableau))
     81                         {foreach($tableau as $cle=>$valeur)
     82                        {   $swt= $swt.$cle.' : '.$valeur.'<br>'; }
     83                        }       }
     84                        $template->assign( 'U_METADATA', $u_metadata.'"'.$swt);
     85                $template->clear_assign('metadata');
     86        } // hide original metadata
     87                }
     88               
    11089}
    111 /*  ------   Manage frame  ----------------    */
     90
     91/*  ------   Manage picture page----------------    */
    11292function MyPictureOptions($content )
    113 {global $template,$conf_LLGBO,$conf,$user;     
     93{global $template,$conf,$user; 
     94$sweetcss = ' <! --- LLGBO tooltip css-->
     95<style type="text/css">
     96div#toolTip {position:absolute;z-index:1000;width:'.$conf['LLGBO_TOOLTIP'][0].'px;background:'.$conf['LLGBO_TOOLTIP'][3].';color:'.$conf['LLGBO_TOOLTIP'][5].';border:'.$conf['LLGBO_TOOLTIP'][1].'px solid '.$conf['LLGBO_TOOLTIP'][2].';padding:5px;min-height:1em;-moz-border-radius:5px}
     97div#toolTip p {margin:0;padding:0;color:'.$conf['LLGBO_TOOLTIP'][5].';font-size:0.8em;font-family:Verdana,Arial,Helvetica,sans-serif;text-align:left}
     98div#toolTip p em {display:block;margin-top:3px;font-style:normal;font-weight:bold;text-align:left}
     99div#toolTip p.title {color:'.$conf['LLGBO_TOOLTIP'][4].';text-align:center;padding:0 0 3px 0;}
     100</style>';
    114101// -----------  add JS tooltip in header ----------------------
    115  If (($conf_LLGBO[1]  == 'true' ) /*  tooltip  */  or  ($conf_LLGBO[2]  == 'true' )  /* exif under bt */ )
     102 If (($conf['LLGBO'][1]  == 'true' ) /*  tooltip  */  or  ($conf['LLGBO_SETTINGS'] [2]  == 'true' )  /* exif under bt */ )
    116103            {  $javacss = '<script type="text/javascript" charset="utf-8"  src="'.LLGBO_PATH;   
    117104                  $linkcss = '<link rel="stylesheet" type="text/css" href="'.LLGBO_PATH;
    118               $sweetcss = "\n".$linkcss.'css/sweettitles.css">'."\n".$javacss.'js/sweettitlesn.js"></script>'."\n";
     105              $sweetcss =  $sweetcss."\n".$javacss.'js/sweettitlesn.js"></script>'."\n";
    119106                   $template->append('head_elements',$sweetcss); }
    120 $template->assign('PLUG_REL_PATH', LLGBO_PATH);
     107
    121108// Navigation improvement are always available
    122109$ThePicture = $template->get_template_vars('current');
     
    129116$prevthumb_title = $prev['TITLE'];     
    130117$usemap ='';
    131 If ($conf_LLGBO[1]  == 'true' )/*  tooltip  */
    132         {
     118If ($conf['LLGBO_SETTINGS'][1]  == 'true' )/*  tooltip  */
     119        { $nextthumb_title = $next['TITLE'];
     120        $prevthumb_title = $prev['TITLE'];
    133121        if (isset($first)){$template->assign('first',  array('TITLE' =>  $first['TITLE'].'"'.$swtimg.$first['THUMB_SRC'].'>',
    134122                                                                                'U_IMG' =>  $first['U_IMG']));}
     
    140128                                                                        'U_IMG' =>  $last['U_IMG']));}
    141129        }       
    142 
    143130/////////////////////////////////////////////
    144131// an other plugin is working -> go back
     
    148135/////////////////////////////////////////////////////////////////       
    149136if ($ThePicture['is_picture'] <> 1 )    {  return  ; } 
    150 /////////////////////////////////////////////////////////////////                       
    151 If (($conf_LLGBO[0] == 'true') /*  frame  */ )
    152    { $template->assign('FRAME', 'ok');
    153         $template->assign(array(
    154                 'WIDTH_GBO' => $ThePicture['scaled_width'] + ( 2 * $conf_LLGBO['fsize'][0] /* frame width*/ ),
    155                 'WIDTH_FRAME' => $conf_LLGBO['fsize'][0],
    156                 'HEIGHT_FRAME' => $conf_LLGBO['fsize'][1]/* frame height*/ ));
    157         If ($conf_LLGBO[5]  == 'true' )  // title on frame
    158                 {$template->assign( array( 'TITLE_FRAME' => $ThePicture['name'] )); }           
    159         }// end frame
    160         else  // no frame
    161         {$template->clear_assign('FRAME') ;}
    162 If ($conf_LLGBO[3]  == 'true' )  // usemap
     137/////////////////////////////////////////////////////////////////       
     138If (($conf['LLGBO_SETTINGS'] [1]  == 'true' )/*  tooltip display  */  or ($conf['LLGBO_SETTINGS'] [0] == 'true') /*  frame  */  )
     139                        {$linkcss = '<link rel="stylesheet" type="text/css" href="'.LLGBO_PATH;
     140                        $template->append('head_elements',$linkcss.'css/gbolook.css">');}
     141
     142If ($conf['LLGBO_SETTINGS'] [3]  == 'true' )  // usemap
    163143 {      $usemap = '" usemap="#prevnext' ;
    164144        $imgw = $ThePicture['scaled_width'];
    165145                $imgh = $ThePicture['scaled_height'];   
    166                 $dummy = round($imgw /15);
    167146                $template->assign(array(
    168                         /* left --> Prev */
    169                                 'LEFT_X1'  => 0,  'LEFT_Y1'  => 0,
    170                                 'LEFT_X2'  => round($imgw * 0.22), 'LEFT_Y2'  => $imgh ,
    171                                 /* up */
    172                                 'UP_X1'  => round($imgw * 0.22) + $dummy,  'UP_Y1'  => 0,
    173                                 'UP_X2'  => round($imgw * 0.78), 'UP_Y2'  => round($imgh * 0.50),
    174                                 /* high */
    175                                 'HIGH_X1'  => round($imgw * 0.22) + $dummy, 'HIGH_Y1'  => round($imgh * 0.50) + $dummy,
    176                                 'HIGH_X2'  => round($imgw * 0.78), 'HIGH_Y2'  => $imgh,
    177                                 /*  right -> next */
    178                                 'RIGHT_X1'  => round($imgw * 0.78) + $dummy, 'RIGHT_Y1'  => 0,
    179                                 'RIGHT_X2'  =>  $imgw  , 'RIGHT_Y2'  => $imgh ));
    180                                 $template->assign( 'USEMAP', 'ok'  );
     147                        /* left --> Prev */     'LEFT_X1'  => 0,  'LEFT_Y1'  => 0,
     148                                                'LEFT_X2'  => round($imgw * 0.24), 'LEFT_Y2'  => $imgh ,
     149                        /* up */                'UP_X1'  => round($imgw * 0.24) ,  'UP_Y1'  => 0,
     150                                                'UP_X2'  => round($imgw * 0.76), 'UP_Y2'  => round($imgh * 0.50),
     151                        /* high */              'HIGH_X1'  => round($imgw * 0.24) , 'HIGH_Y1'  => round($imgh * 0.50) ,
     152                                                'HIGH_X2'  => round($imgw * 0.76), 'HIGH_Y2'  => $imgh,
     153                        /* right -> next */     'RIGHT_X1'  => round($imgw * 0.76) , 'RIGHT_Y1'  => 0,
     154                                                'RIGHT_X2'  =>  $imgw  , 'RIGHT_Y2'  => $imgh ));
     155                $template->assign( 'USEMAP', 'ok'  );
    181156                                                               
    182         If ($conf_LLGBO[4]  === 'true' )  // usemap and Display Thumb
     157        If ($conf['LLGBO_SETTINGS'] [4]  === 'true' )  // usemap and Display Thumb
    183158                        { $template->assign(array('NEXTTHUMB'  => $swtimg.$next['THUMB_SRC'].'>"',
    184159                         'NEXTTHUMBTITLE'  => $nextthumb_title,
    185160                         'PREVTHUMB'  =>  $swtimg.$prev['THUMB_SRC'].'>"',
    186                          'PREVTHUMBTITLE'  =>  $prevthumb_title));}
    187                  
     161                         'PREVTHUMBTITLE'  =>  $prevthumb_title));}
    188162}  // end usemap               
    189163$alt = $conf['allow_html_descriptions'] ? $ThePicture['name'] : strip_tags($ThePicture['name']);
    190164$template->assign( array(
    191       'SRC_IMG' => $ThePicture['image_url'],
     165           'SRC_IMG' => $ThePicture['image_url'],
    192166           'WIDTH_IMG' => $ThePicture['scaled_width'],
    193167           'HEIGHT_IMG' => $ThePicture['scaled_height'],
     168           'COMMENT_IMG' => $conf['allow_html_descriptions'] ? $ThePicture['comment'] : strip_tags($ThePicture['comment']),       
    194169           'ALT_IMG' =>  $alt.$usemap             
    195170           ));
     
    202177                                'UUID'   => $uuid,      ));}
    203178
    204 
    205 If (($conf_LLGBO[5]  == 'true' )  /* title on frame */ and ($conf_LLGBO[0]  == 'true' )) // display frame
    206          { $template->assign('SHOW_PICTURE_NAME_ON_TITLE', false);       }
     179If (($conf['LLGBO_SETTINGS'] [5]  == 'true' )  /* title on frame */ and ($conf['LLGBO_SETTINGS'] [0]  == 'true' )) // display frame
     180         { $template->assign('SHOW_PICTURE_NAME_ON_TITLE', false);     
     181                $template->assign('TITLE_FRAME_COLOR', $conf['LLGBO_FRAME'][0]);                 }
    207182         
    208 If ($conf_LLGBO[8]  == 'off' )  /*  less infos*/
    209 { /* enregistrer le filtre de pr?-compilation */}
     183 /* HTML  frame  */
     184If (($conf['LLGBO_SETTINGS'] [0] == 'true') )
     185        {   $bd = 0;
     186                $frame_begin ='';
     187                $frame_end='';
     188                for ($x = 1   ;$x < 32  ; $x =$x +2)
     189                {       if ((isset($conf['LLGBO_FRAME'][$x+1])) and  ($conf['LLGBO_FRAME'][$x+1] > 0))  // boder value > 0     
     190                          {$frame_begin = '<div style="border: '.$conf['LLGBO_FRAME'][$x+1].'px solid '.$conf['LLGBO_FRAME'][$x].'">'."\n".$frame_begin;
     191                                $bd =  $bd + $conf['LLGBO_FRAME'][$x+1];        //define border sum     
     192                                $frame_end = $frame_end .' </div>';
     193                        }
     194                }
     195                $frame_width = $ThePicture["scaled_width"] + (2 * $bd);
     196                $frame_height = $ThePicture["scaled_height"] + (2 * $bd);
     197        $template->assign('FRAME_SIZE','style="width:'.$frame_width .'px; height:'.$frame_height.'px;"');
     198        $template->assign('FRAME_BEGIN', $frame_begin);
     199        $template->assign('FRAME_END', $frame_end);
     200// title on frame       
     201    If ($conf['LLGBO_SETTINGS'] [5]  == 'true' )  // title on frame
     202                {$template->assign( array( 'TITLE_FRAME' => $ThePicture['name'] )); }   
     203        }       // end frame
     204        else  // no frame
     205{$template->clear_assign('FRAME_BEGIN') ;}
    210206
    211207$template->set_filenames( array('gbo_content'=> dirname(__FILE__).'/template/picture_content.tpl') );
    212208return $template->parse( 'gbo_content', true);
    213 }
    214 
     209} //end --> MyPictureOptions
    215210} // End class
    216211       
     
    224219add_event_handler('get_admin_plugin_menu_links', array(&$obj, 'plugin_admin_menu') );
    225220set_plugin_data($plugin['id'], $obj);
    226 function afficher_tableau($tableau)
    227     {
    228     // on fait une boucle qui lit les éléments du tableau
    229     foreach ($tableau as $cle=>$valeur)
    230         {
    231         // si l'un des éléments est lui même un tableau
    232         // alors on applique la fonction à ce tableau
    233         if(is_array($valeur))
    234             {
    235             // on affiche le nom de la clé et
    236             // le début d'une liste pour
    237             //  décaler le contenu vers la droite
    238             print_r ($cle);
    239                          echo  ' : <ul>';
    240            
    241             // ici se réalise la récursivité
    242             // c'est à dire qu'on applique la fonction
    243             // à l'élément en cours car c'est lui aussi un tableau
    244             afficher_tableau($valeur);
    245            
    246             // on ferme la liste
    247             echo '</ul>';
    248             }
    249         }
    250     }
    251 
    252221?>
  • extensions/LLGBO2/maintain.inc.php

    r4292 r4523  
    3030if (!defined('PHPWG_ROOT_PATH')) die('Hacking attempt!');
    3131function plugin_install()
    32 
    33 {  global $prefixeTable;
    34    plugin_uninstall(); // en cas de mauvaise deinstallation anterieure
     32{  global $prefixeTable,$conf,$ttvalues,$plugvalues,$frvalues;
     33  plugin_uninstall(); // en cas de mauvaise deinstallation anterieure
    3534        $q = '
    3635INSERT INTO '.CONFIG_TABLE.' (param,value,comment)
    37         VALUES
    38         ("LLGBO","true,true,true,true,true,true,true,theAboutPage;theTagsPage;theCommentsPage;theIdentificationPage;theAdminPage,true,true,true","Look like gbo settings");';
     36        VALUES 
     37        ("LLGBO","'.$plugvalues.'","look like gbo global settings");';
    3938  pwg_query($q);
     39        $q = '
     40INSERT INTO '.CONFIG_TABLE.' (param,value,comment)
     41        VALUES 
     42        ("LLGBOTOOLTIP","'.$ttvalues.'","look like gbo tooltip settings");';
     43  pwg_query($q);
     44        $q = '
     45INSERT INTO '.CONFIG_TABLE.' (param,value,comment)
     46        VALUES 
     47        ("LLGBOFRAME","'.$frvalues.'","look like gbo frame settings");';
     48  pwg_query($q);
     49 
     50$conf['LLGBO_SETTINGS'] =  explode("," , $plugvalues);
     51$conf['LLGBO_TOOLTIP'] = explode(",",$ttvalues);
     52$conf['LLGBO_FRAME'] = explode (",", $frvalues);
     53 
    4054}
    4155function plugin_activate()
    42 { global $conf;
    43  // Vérification de la config, si pas bon -> reinstallation
    44 if ((!isset($conf['LLGBO'])) or (substr_count($conf['LLGBO'] , ',') != 10)) {
    45          $conf['LLGBO'] = "true,true,true,true,true,true,true,theAboutPage;theTagsPage;theCommentsPage;theIdentificationPage;theAdminPage,true,true,true";
    46          plugin_install();}
     56{ global $prefixeTable,$conf,$ttvalues,$plugvalues,$frvalues;
     57 ///////////////////////////////////////////////////
     58// Vérification de la config, si pas bon -> reinstallation
     59$plugvalues = "true,true,true,true,true,true,true,theAboutPage;theTagsPage;theCommentsPage;theIdentificationPage;theAdminPage,true,true";
     60$ttvalues = "150,2,#fff,#000,#c92,#dadada";
     61$frvalues = "#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";
     62//
     63 if ( (!isset($conf['LLGBO'])) or (substr_count($conf['LLGBO'], ',')  != 9) 
     64 or  (!isset($conf['LLGBOTOOLTIP'])) or (substr_count($conf['LLGBOTOOLTIP'], ',')  != 5)
     65 or  (!isset($conf['LLGBOFRAME'])) or (substr_count($conf['LLGBOFRAME'], ',')  != 32)) 
     66        {         plugin_install(); }
    4767}
    4868
    49 function  plugin_uninstall()
     69function plugin_uninstall()
    5070{ global $prefixeTable;
    5171  $q = '
    52 DELETE FROM '.CONFIG_TABLE.' WHERE param="LLGBO" LIMIT 1;';
     72DELETE FROM '.CONFIG_TABLE.' WHERE param like "LLGBO%" LIMIT 4;';
    5373  pwg_query( $q );
    5474}
Note: See TracChangeset for help on using the changeset viewer.