'.$browser_title_prefix.'';
}
echo '
';
if (!$input_invalid) {
if ($metatags == "") { // if no metatags are provided we use default
echo'
';
} else {
echo '';
}
}
if ($metadescription == "") { // if no metatags are provided we use default
echo '
';
} else {
echo '';
}
echo '
';
}
if (isset($charset)) {
echo '';
}
if ($support_piclens && !$image) {
$plfile = ($privatelogin == "FALSE") ? $cachedir . "/all_pl.rss" : $cachedir . "/all_pl_".md5($privatelogin).".rss";
if (file_exists($plfile)) {
echo '
';
}
}
?>
';
echo ' #div1{height:' . $menu_pic_size_y . 'px;width:' . $menu_pic_size_x . 'px;text-align: center; }';
echo '';
?>
';
}
if ($wii) {
echo '';
}
if (file_exists($install_dir . 'buttons/iconsets/' . $icon_set . '/style.css')) {
echo '';
}
?>
';
} else {
echo ' ';
if ($msie) {
echo '';
}
}
}
?>
isFullscreen();";
}
// this stylesheet adds the border to the image gallery
if ($myborder == 'TRUE' && !$default_is_fullscreen) {
echo "";
}
// this stylesheet if for language dependant stylesheet for different font sizes!
/*
$cssname = $install_dir . "language/language_" . $default_language . "_style.css";
if (file_exists($cssname)) {
echo '';
}
*/
if (file_exists($install_dir . "skins/" . $skin . ".css")) {
echo "";
}
// additional stylesheet if no border is displayed!
if ($show_border !='TRUE' && file_exists($install_dir . "skins/" . $skin . "_noborder.css")) {
echo "";
$use_round_corners = false;
}
if ($use_round_corners && file_exists($install_dir . "skins/" . $skin . "_round.css")) {
echo "";
}
if (file_exists($install_dir . "my_style.css")) {
echo "";
}
if (!$php_include) {
if ($ie_height_iframe_fix) {
echo '';
}
}
if (!$default_is_fullscreen) {
$custstylesheet = $basedir . "/" . $twg_album . "/style.css";
if (file_exists($custstylesheet)) { // individual css
$custstylesheet = $basedir . "/" . twg_urlencode($twg_album) . "/style.css";
echo "";
} else {
$custstylesheet = $cachedir . "/" . twg_urlencode(str_replace("/", "_", $twg_album)) . "_style.css"; // we link directly to the background - because of special characters like (+ü$§!%&-;) this type of encoding is used here
if (file_exists($custstylesheet)) { // individual css
echo "";
}
}
}
if (!$show_counter || !$enable_counter_details) {
echo '';
}
if ($image != false && ($default_big_navigation != "HTML") && ($twg_smallnav == 'FALSE') && !$twg_slideshow) { // we are in the image view abd twg_show th dhtml navi
if ($msie) {
echo '';
} else {
echo '';
}
echo '
';
}
if ($test_connection && $test_client_connection) {
if ($test_connection_background) {
include dirname(__FILE__) . "/../js/twg_speed.js.php";
}
}
if ($activate_lightbox_topx || $activate_lightbox_thumb || ($activate_lightbox_image && $enable_download)) {
if ($use_lytebox) {
echo '';
} else {
echo '';
// echo '';
echo '';
echo '';
}
}
// in this section we set some settings that are not possible because of other
// settings ;).
if ($safari) {
if ($twg_slide_type = "TRUE") {
$twg_slide_type = "FALSE";
}
$show_optimized_slideshow = false;
// $default_big_navigation = "HTML"; // fixed in 1.4.3!
}
if ($opera) {
if ($twg_slide_type = "TRUE") {
$twg_slide_type = "FALSE";
}
$show_optimized_slideshow = false;
// works now in opera 9 and 10 - was not working 8 but it really seldom used now...
// $use_dynamic_background = false;
}
// height is defined earlier because in twg.js this height is needed
if ($show_comments_in_layer) {
$lang_height_comment += $height_of_comment_layer;
}
echo '';
if (!$php_include) {
echo '
';
} else {
$show_background_images = false;
}
// we flush the header that css and js can be loaded already.
flush();
?>