panel::showPanel()
    /**
     * 
     * Show a bootstrap 3 panel
     * 
     * $cnf values
     * -----------
     * menu (array): Every main menu item values (icon, scr, title, href)
     * title (str): Panel title
     * icon (str): MDI icon name
     * icon_set (str): Set of icons fa, glyphicon, mdi (mdi by default)
     * cnf_cat (str): Framework keys category
     * cnf_key (str): Framework keys keyword
     * item (array): Every panel item values (name,title,type)
     * scale (str): Scale of value behind the input
     * 
     * Item types:
     * cat: Show a table row with category text
     * scale: Text, image, symbol after input line
     * checkbox: single checkbox item
     * radio|select: Radio or select list, i.e. ['title'=>'Hello','value'=>'1']
     * list: List of items |count=Number of items in list, default=arrat with default list of elements
     * text|date|datetime-local|email|number|password|range|tel|time|url
     * opt: Alternative input options, i.e. 'opt'=>['min'=>1,'step'=>'any']
     * 
     * 
     * @param type $cnf
     */



/*
 * Two menus conf page
 * -----------------------------------------------------------------------------
 */

//Menus (icons are mdi by default) - Two option menu (at least one needed)
$cnf['menu'][] = ['icon'=>'gavel','scr'=>'legal_data','title'=>'Legal data'];
$cnf['menu'][] = ['icon'=>'web','scr'=>'web_data','title'=>'WEB info'];


//Config legal data
if ($_scr == 'legal_data') {
    
    $cnf['title'] = 'Legal Data';
    $cnf['icon'] = 'gavel';
    
    $cnf['cnf_cat'] = 'ws';
    $cnf['cnf_key'] = 'legal_data';

    $cnf['item'][] = ['name'=>'owner','title'=>'Company name','type'=>'text'];
    $cnf['item'][] = ['name'=>'address','title'=>'Address','type'=>'text'];
    $cnf['item'][] = ['name'=>'taxid','title'=>'TAX ID','type'=>'text'];
    $cnf['item'][] = ['name'=>'phone','title'=>'Phone No','type'=>'text'];
    $cnf['item'][] = ['name'=>'email_main','title'=>'eMail General','type'=>'email'];
    $cnf['item'][] = ['name'=>'email_privacy','title'=>'eMail privacy','type'=>'email'];
}


//Config WEB data
if ($_scr == 'web_data') {
    
    $cnf['title'] = 'WEB data';
    $cnf['icon'] = 'web';
    
    $cnf['cnf_cat'] = 'ws';
    $cnf['cnf_key'] = 'web_data';

    $cnf['item'][] = ['name'=>'users','title'=>'Company users','type'=>'number'];
    $cnf['item'][] = ['name'=>'founding_year','title'=>'Founding year','type'=>'date'];
}

//Show conf menu
$wv->panel->showPanel($cnf);



/*
 * Examples of menu types
 * -----------------------------------------------------------------------------
 */

//Select example:
$opt[0] = ['title'=>'None','value'=>'0'];
$opt[1] = ['title'=>'By price','value'=>'1'];
$opt[2] = ['title'=>'By shipping','value'=>'2'];
$cnf['item'][] = ['name'=>'item_name','title'=>'Shipping type',
                      'type'=>'select','options'=>$opt];
    

//Radio example:
$opt[0] = ['title'=>'None','value'=>'0'];
$opt[1] = ['title'=>'By price','value'=>'1'];
$opt[2] = ['title'=>'By shipping','value'=>'2'];
$cnf['item'][] = ['name'=>'item_name','title'=>'Shipping type',
                  'type'=>'radio','options'=>$opt];

    
//List example:
$cnf['item'][] = ['name'=>'colors','title'=>'Colors','type'=>'list','count'=>3,
                  'default'=>['Red','Blue','Yellow']];
    

//Cat example:
$cnf['item'][] = ['type'=>'cat','title'=>'CATEGORY TEXT'];

  
//checkbox example:
$cnf['item'][] = ['name'=>'freeship','title'=>'Free shipping',
                  'type'=>'checkbox'];

    
//Number example:
$cnf['item'][] = ['name'=>'price','title'=>'Price',
                  'scale'=>'&eur;','type'=>'number',
                  'opt'=>['min'=>0,'step'=>'any']];

    
//Text example:
$cnf['item'][] = ['name'=>'country_list',
                  'title'=>'Countries to ship to',
                  'type'=>'text','scale'=>'ISO code comma separated'];