Skip to content
                                                                                                                                                                                                                                                                          | Presseinformationen  |

EBVertriebs GmbH

Loading...

Scroller 1

There's no newsflash available.
Increase font size  Decrease font size  Default font size 
* @copyright Copyright © 2007 Robert Koeberl * @license http://gnu.org/copyleft/gpl.html GNU GPL * @version $Id: image.php 2007-09-18 23:13:33Z $ * */ defined ( "_VALID_MOS" ) or die ( "Restricted access" ); $_MAMBOTS -> registerFunction ( "onPrepareContent", "step1" ); function step1 ( $published, &$row, &$params, $page = 0 ) { if ( strpos ( $row->text, "MyImageGallery" ) === false ) { return true; } $regex = "/{MyImageGallery\s*.*?}/i"; preg_match_all ( $regex, $row -> text, $matches ); $count = count ( $matches [ 0 ] ); if ( $count ) { $row -> text = preg_replace_callback ( $regex, "step2", $row -> text ); return true; } } function step2 ( &$matches ) { global $database, $_MAMBOTS, $mosConfig_absolute_path, $mosConfig_live_site, $mainframe; $bot_param = new mosParameters ( $_MAMBOTS -> _bots [ 2 ] -> params ); $vars [ "tablecellpadding" ] = $bot_param -> _params -> tablecellpadding; $vars [ "tablecellspaceing" ] = $bot_param -> _params -> tablecellspaceing; $vars [ "tablealign" ] = $bot_param -> _params -> tablealign; $vars [ "tablestyle" ] = $bot_param -> _params -> tablestyle; $vars [ "tdstyle" ] = $bot_param -> _params -> tdstyle; $vars [ "imagestyle" ] = $bot_param -> _params -> imagestyle; $vars [ "thumbwidth" ] = $bot_param -> _params -> thumbwidth; $vars [ "thumbheight" ] = $bot_param -> _params -> thumbheight; $vars [ "thumbquality" ] = $bot_param -> _params -> thumbquality; $vars [ "backgroundcolorofthumb" ] = $bot_param -> _params -> backgroundcolorofthumb; $vars [ "numofthumbsinrow" ] = $bot_param -> _params -> numofthumbsinrow; $vars [ "relativepathofgallery" ] = $bot_param -> _params -> relativepathofgallery; $vars [ "divstyle" ] = $bot_param -> _params -> divstyle; $vars [ "divalign" ] = $bot_param -> _params -> divalign; $tmp_str = &$matches [ 0 ]; $tmp_str = str_replace ( "{MyImageGallery", "", $tmp_str ); $tmp_str = str_replace ( "}", "", $tmp_str ); $tmp_str = htmlentities ( $tmp_str ); $tmp_str = str_replace ( "="", "=", $tmp_str ); $tmp_str = str_replace ( """, "\n", $tmp_str ); $bot_param = new mosParameters ( $tmp_str ); $vars [ "name" ] = $bot_param -> _params -> name; if ( $bot_param -> _params -> tablecellpadding ) $vars [ "tablecellpadding" ] = $bot_param -> _params -> tablecellpadding; if ( $bot_param -> _params -> tablecellspaceing ) $vars [ "tablecellspaceing" ] = $bot_param -> _params -> tablecellspaceing; if ( $bot_param -> _params -> tablealign ) $vars [ "tablealign" ] = $bot_param -> _params -> tablealign; if ( $bot_param -> _params -> tablestyle ) $vars [ "tablestyle" ] = $bot_param -> _params -> tablestyle; if ( $bot_param -> _params -> tdstyle ) $vars [ "tdstyle" ] = $bot_param -> _params -> tdstyle; if ( $bot_param -> _params -> imagestyle ) $vars [ "imagestyle" ] = $bot_param -> _params -> imagestyle; if ( $bot_param -> _params -> thumbwidth ) $vars [ "thumbwidth" ] = $bot_param -> _params -> thumbwidth; if ( $bot_param -> _params -> thumbheight ) $vars [ "thumbheight" ] = $bot_param -> _params -> thumbheight; if ( $bot_param -> _params -> thumbquality ) $vars [ "thumbquality" ] = $bot_param -> _params -> thumbquality; if ( $bot_param -> _params -> backgroundcolorofthumb ) $vars [ "backgroundcolorofthumb" ] = $bot_param -> _params -> backgroundcolorofthumb; if ( $bot_param -> _params -> numofthumbsinrow ) $vars [ "numofthumbsinrow" ] = $bot_param -> _params -> numofthumbsinrow; if ( $bot_param -> _params -> relativepathofgallery ) $vars [ "relativepathofgallery" ] = $bot_param -> _params -> relativepathofgallery; if ( $bot_param -> _params -> divstyle ) $vars [ "divstyle" ] = $bot_param -> _params -> divstyle; if ( $bot_param -> _params -> divalign ) $vars [ "divalign" ] = $bot_param -> _params -> divalign; $vars [ "urlofgallerysystemfiles" ] = $mosConfig_live_site . "/mambots/" . $_MAMBOTS -> _bots [ 2 ] -> lookup . "/"; $vars [ "urlofgallery" ] = $mosConfig_live_site . $vars [ "relativepathofgallery" ] . $vars [ "name" ] . "/"; $vars [ "pathofgallery" ] = $mosConfig_absolute_path . $vars [ "relativepathofgallery" ] . $vars [ "name" ] . "/"; /* $vars [ Name TableCellspaceing TableCellpadding TableAlign DivStyle TableStyle TdStyle ImageStyle ThumbWidth ThumbHeight ThumbQuality BackgroundColorOfThumb numofthumbsinrow Relativepathofgallery ] */ $mainframe -> addCustomHeadTag ( ' '); if ( is_dir ( $vars [ "pathofgallery" ] ) ) { $html = '
'; $html .= ''; if ( $dh = opendir ( $vars [ "pathofgallery" ] ) ) { for ( $i = 1 ; ( $file = readdir ( $dh ) ) !== false ; $i ++ ) { if ( is_file ( $vars [ "pathofgallery" ] . $file ) ) { if ( $i == 1 ) { $html .= ""; } $size = getimagesize ( $vars [ "pathofgallery" ] . $file ); $html .= "\n"; $html .= ''; if ( $i == $vars [ "numofthumbsinrow" ] ) { $html .= ""; $i = 0; } } else { $i --; } } if ( $i != 0 && ( ( $vars [ "numofthumbsinrow" ] + 1 ) - $i ) != $vars [ "numofthumbsinrow" ] ) { $html .= ''; } closedir ( $dh ); } $html .= '
 
'; $html .= '
'; } return $html; } ?>
SEA-BAND Akupressurband

  
  • Bei morgendlicher Übelkeit
  • Bei Reisekrankheit
  • Und bei anderen Formen der Übelkeit

 

 
  • Von Ärzten in der Praxis entwickelt
  • Bei Reisekrankheit
  • Vielfach klinisch getestet
  • Kein Medikament – keine Nebenwirkungen
  • Hohe Wirksamkeit meist innerhalb weniger Minuten
  • Jederzeit anwendbar