function make_data_available()
{
global $k_option;
// save basic values into $k_options array, then overwrite it with retrieved options from database table if avaliable
// add widgets if necessary
foreach ($this->options as $option)
{
if($option['type'] == ‘boxes’)
{
$this->add_widget($option);
}

   if($option['std'])
{
$k_option_std[$this->pageinfo['optionname']][$option['id']] = $option['std'];
}
}

$this->saved_optionname = ‘kriesi_’.THEMENAME.”_”.$this->pageinfo['optionname'];
$k_option[$this->pageinfo['optionname']] = get_option($this->saved_optionname);

$k_option[$this->pageinfo['optionname']] = array_merge((array)$k_option_std[$this->pageinfo['optionname']], (array)$k_option[$this->pageinfo['optionname']]);

//htmlspecialchars decode the array for frontend use
$k_option[$this->pageinfo['optionname']] = $this->htmlspecialchars_deep($k_option[$this->pageinfo['optionname']]);

}