header->subject); @header("Last-Modified: ".date("r", $message->header->date)); } $output_groups='
 '; $output_groups .= ''; $output_groups.='
'; $query = "show tables like 'grupa_artykul_cache________'"; $result = mysql_query($query,$handle_db1); if (mysql_num_rows($result)>0) { while ($row=mysql_fetch_array($result)) { $name_split = explode("_",$row[0]); $query = "select count(*) from grupa_artykul_cache_".$name_split[3]."_".$name_split[4]." WHERE grupa_id=".$global_group_id; $result1 = mysql_query($query,$handle_db1); $row1=mysql_fetch_array($result1); if ($row1[0]>0) { $output_groups.= '

'; $output_groups.= stripDateMonthToPolishFromNumbers($name_split[4]).' '.$name_split[3].' ('.$row1[0].')'; $output_groups.= '


'; } } } $output_groups.='
'; $output_groups .= ''; $file=fopen("head.inc","r"); $output_head=fread($file,filesize("head.inc")); fclose($file); if (!isset($_SESSION["login"])) $output_head = str_replace('----loguj----','loguj',$output_head); else $output_head = str_replace('----loguj----','wyloguj',$output_head); $output_head = str_replace('topSub','topSub'.rand(1, 8),$output_head); $tytulArtykulu = htmlspecialchars(trim($message->header->subject)); $tytulArtykulu = _strip_polish($tytulArtykulu); $tytulArtykulu = _strip_special($tytulArtykulu); $tytulArtykulu = str_replace(" ", ",", $tytulArtykulu); $tytulArtykulu = str_replace(",,", ",", $tytulArtykulu); require_once("../_godzilla/godzilla.php"); $output_head = str_replace('----godzilla----',godzilla(5,$id) ,$output_head); $output_head = str_replace('----tytul----',$message->header->subject,$output_head); $output_head = str_replace('----tytul_keywords----',$tytulArtykulu,$output_head); $output_groups = str_replace('---nazwa_grupy---',$group,$output_groups); echo $output_head; echo $output_groups; if (!$message) // article not found echo "Article not found!
"; else { $all_not_answers_headers = thread_cache_load_not_answers_by_table("grupa_artykul_cache_".$year."_".$month); $r = getCachedHeaderByDbId($id, "grupa_artykul_cache_".$year."_".$month); message_thread_archiwum($r,$group,$all_not_answers_headers); } ?> "; ?>