blocks['L'] = array(); $this->blocks['R'] = array(); } function view(){ echo '

1 Flash Gallery v '.FGALLERY_VERSION.'

'; //============================================ echo '
'; foreach ($this->blocks['L'] as $block){ echo $block; } echo '
'; //============================================ echo '
'; foreach ($this->blocks['R'] as $block){ echo $block; } echo '
'; //============================================ echo '
'; } function add_block($id, $title, $content, $orient = 'L'){ $this->blocks[$orient][] = '

'.$title.'

'.$content.'
'; } } class fgallery_main_page_widgets{ function contact_us($url, $captcha = '', $js = '', $sd = array()){ //quick-press $w='

'; $w .= '
'.$captcha.'
'; //$w .= ''; $w .= '
'; $w .= $js; if (!extension_loaded('curl')){ $w .= 'Attention! Your site doesn`t have CURL support and after submitting this form you will be redirected to another site. Please install the CURL extension for better functionallity.'; } return $w; } function news($text){ return $text; } function intro(){ $w = '

To create image gallery:

  1. Upload images
  2. Create gallery
  3. Assign images to the gallery
  4. Insert gallery in to the post or theme
If you have any questions, review Step-by-Step manuall

'; return $w; } function info($info){ $w = ''; foreach ($info as $line){ $w .= '

'.$line->name.' :   '.$line->value.'

'; } return $w; } } ?>