$tag_page_background_color = "#000000"; $textcolor = "#FFFF00"; $tag_page_tag_color = "#FFFF00"; $tag_page_tag_hilite_color = "#FFFF00"; break; } } else { $tag_page_background_color = "#FFFFFF"; $textcolor = "#000000"; $tag_page_tag_color = "#000000"; $tag_page_tag_hilite_color = "#000000"; } if ($crono_random_check == true) { CheckMessagesRandomChannel($get_tags_from_subject, $mail_server, $dbh, $time_zone, $get_user_from_message_subject, $get_date_from_exif, $convert_to_mp3, $servpath, $sample_rate, $channel_folder, $static_map_width, $static_map_height, $google_maps_api_key, $get_reverse_geocoding, $ffmpeg_path); } $tc = TagCloud(-4, 1, 10000, $channels_excluded_from_crono, $tag_toolbox_1_time, $tag_toolbox_n_times, $main_page, $tag_page_tag_color, $tag_page_background_color, $tag_min_size_tag_page, $tag_max_size_tag_page, $dbh, "", $tag_cloud_title, -1, $tag_mode, false, false, '0000-00-00', "", $tag_page_tag_hilite_color, $tag_page_hilite_size, $main_crono_channel, $language, $ov_locales); ?> <!DOCTYPE HTML PUBLIC "-//W3C//DTD HTML 4.01 Transitional//EN"> <html> <head> <title><?php echo $global_channel_name . ". " . $ov_tag_page_title_prefix[$language] . " " . $tc[1]; ?> </title> <meta http-equiv="Content-Type" content="text/html; charset=iso-8859-1"> <script language="JavaScript" src="includes/general.js" language="javascript" type="text/javascript"></script> </head> <body bgcolor="<?php echo $tag_page_background_color; ?> " text="<?php
if ($qWhere != "") { $correlated = GetCorrelated($qWhere, 1, -3, $dbh); $correlated_tags = $correlated[0]; $correlated_descriptors = $correlated[1]; } else { $correlated_tags = "-1"; $correlated_descriptors = "-1"; } ///////////////////////////// $page_filter = GetTagNames($_SESSION['selection_list'], $dbh, $language); if ($page_filter != "") { $page_filter = $ov_page_filter_prefix[$language] . " " . $page_filter; } $total_messages = GetNMessagesInMap($qWhere, $dbh); if ($show_tags_in_map) { $tc = TagCloud(-3, 1, $max_tags_on_map, $channels_excluded_from_crono, $tag_toolbox_1_time, $tag_toolbox_n_times, 'map.php', $textcolor, $bgcolor, $tag_min_size, $tag_max_size, $dbh, $selection_list, $tag_cloud_title, $correlated_tags, $map_tag_mode, $show_legend_in_map, false, '0000-00-00', "", $tag_page_tag_hilite_color, $tag_page_hilite_size, $main_crono_channel, $language, $ov_locales); } else { $tc[0] = ""; $tc[1] = ""; } if ($show_descriptors_in_map) { $dc = DescriptorCloud($dbh, -3, 1, $map_descriptor_color, substr($map_background_color, 1), $descriptor_language, $descriptor_toolbox_1_time, $descriptor_toolbox_n_times, 'map.php', $descriptor_category, $descriptor_cloud_refresh, $selection_list, $descriptor_cloud_title, $tag_min_size, $tag_max_size, $correlated_descriptors); } ?> <!DOCTYPE html> <html> <head> <title><?php echo $global_channel_name; ?> </title>
if ($channel_filter != "") { $qWhere = $channel_filter; $has_thumbnails = 0; } //TODO: refine for grouped cronos! --> NOT NEEDED (?) //get list of correlated tags & descriptors if ($qWhere != "") { $correlated = GetCorrelated($qWhere, $crono, $c, $dbh); $correlated_tags = $correlated[0]; $correlated_descriptors = $correlated[1]; } else { $correlated_tags = "-1"; $correlated_descriptors = "-1"; } if ($show_tags) { $tc = TagCloud($c, $crono, $max_tags_in_cloud, $channels_excluded_from_crono, $tag_toolbox_1_time, $tag_toolbox_n_times, $main_page, $textcolor, $bgcolor, $tag_min_size, $tag_max_size, $dbh, $_SESSION['selection_list'], $tag_cloud_title, $correlated_tags, $map_tag_mode, false, false, '0000-00-00', "", $tag_page_tag_hilite_color, $tag_page_hilite_size, $main_crono_channel, $language, $ov_locales); } else { $tc[0] = ""; $tc[1] = ""; } //manage current section if (!isset($_GET['date'])) { $date = GetLatestDate($c, $crono, $qWhere, $channels_excluded_from_crono, $dbh, $children); } else { if ($_GET['date'] == "" || $date == -1) { $date = GetLatestDate($c, $crono, $qWhere, $channels_excluded_from_crono, $dbh, $children); } else { $date = $_GET['date']; } } if (!isset($_GET['from'])) {