$max_width){ if ($width < $height) { $thumb_w=$width*($max_width/$height); $thumb_h=$max_height; } if ($width > $height) { $thumb_w=$max_width; $thumb_h=$height*($max_height/$width); } if ($width == $height) { $thumb_w=$max_width; $thumb_h=$max_height; } $nowy = imagecreatetruecolor($thumb_w,$thumb_h); imagecopyresampled($nowy, $obraz, 0, 0, 0, 0, $thumb_w, $thumb_h, $width, $height); imagejpeg($nowy, $katalog.'/'.$miniatura.$photo, 100); imagedestroy($nowy); } imagedestroy($obraz); return $miniatura.$photo; } ?> Honest Group '; } foreach($js as $script) { print ''; } print ''; ?>
'; print '
'; $About = DatabaseManager::selectData(ABOUT, Array("id","lang_name_short","title","content"), Array("lang_name_short" => $_GET['lang'])); foreach($About as $about) {} print '

'.$about['title'].':

'; print '

'.$about['content'].'

'; print '
'; } $OfferListTempBott = DatabaseManager::selectBySQL("SELECT * FROM ".LANG_OFFER." LIMIT 5"); $DiscountListTempBott = DatabaseManager::selectBySQL("SELECT * FROM ".LANG_DISCOUNT." LIMIT 5"); $AboutTable = DatabaseManager::selectData(ABOUT, Array("id,lang_name_short,title"), Array("lang_name_short" => $_GET['lang'])); foreach($AboutTable as $abouttable) { } $TempBottom = DatabaseManager::selectData(TEMP, Array("id","lang_name_short","welcome","welcome_title","welcome_text","facebook","facebook_title","facebook_text", "offer", "offer_title", "discount", "discount_title"), Array("lang_name_short" => $_GET['lang'])); $fbURL = DatabaseManager::selectData("fb",Array("url")); foreach ($fbURL as $fbURLs) { } foreach($TempBottom as $template) { print '

'.$template['welcome'].' '.$template['welcome_title'].'

'.$template['welcome_text'].'

'.$template['offer'].' '.$template['offer_title'].'

    '; foreach($OfferListTempBott as $ShowOfferList) { for($i=0; $i<1; $i++) { if($ShowOfferList['lang_name_short'] == $_GET['lang']) { print '
  • '.$ShowOfferList['title'].'
  • '; continue; } else { break; } } } print '

'.$template['discount'].' '.$template['discount_title'].'

    '; foreach($DiscountListTempBott as $ShowDiscountList) { for($i=0; $i<1; $i++) { if($ShowDiscountList['lang_name_short'] == $_GET['lang']) { print '
  • '.$ShowDiscountList['title'].'
  • '; continue; } else { break; } } } print '

'.$template['facebook'].' '.$template['facebook_title'].'

'.$template['facebook_text'].'

projekt i wykonanie: sfeo.pl
'; } ?>