Localhost version"; } ?> <?php echo($pagetitle); ?> debug line 59 - ".$ret." ".$thisdate." , ".date('d/m/Y',$thisdate); switch($ret){ case 0: // normal day $thisuksno = $ukdailyserial - $i + $offset; $thisozsno = $ozdailyserial - $i + $offset; /* ********************************************************************************************* CORRECTION FOR MISSING QUALIFIERS ETC ********************************************************************************************* */ if($thisozsno == 9941) $thisuksno = 25763; if($thisozsno == 9942) $thisuksno = 25647; if($thisozsno >= 9989) $thisuksno = $thisuksno + 1; // if($thisuksno >= 25762 && $thisuksno < 25799) $thisuksno = $thisuksno + 1; for future correction $URLs = GetLinkURL($daily_or_st,$thisuksno,$thisozsno); $daypub[$i] = date('l',$thisdate); $datepub[$i] = date('d/m/Y',$thisdate); $serialoz[$i] = $thisozsno; $serialuk[$i] = $thisuksno; $tfttlink[$i] = $URLs[0]; $difficulty_rating[$i] = $URLs[1]; $specratingtext[$i] = $URLs[2]; $author_d[$i] = $URLs[3]; $alnk = "".$daypub[$i].": ".$datepub[$i]." ".$serialstr[$i]."".$quality_rating[$i]; break; // case 1: // Xmas day case 3: // Sunday $offset++; break; case 0: // Xmas day case 2: // Good Friday // echo "
Good Friday not published index = ",$i." , ".date('D d/m/Y',$thisdate); break; } } // Now re-create the Links File rsort($links); $fp = fopen($linksfile , "w"); // limit the file length to 12 daily puzzles and 4 Sunday puzzles $cnt_d = 0; $cnt_s = 0; for($i=0;$i<= count($links) -1;$i++){ if(trim($links[$i]) != "") { $IsSTimes = (substr($links[$i],0,1) == "1"); if(!$IsSTimes && ($cnt_d < 12)) { $cnt_d++; fwrite($fp,$links[$i]); } if($IsSTimes && ($cnt_s < 4)) { $cnt_s++; fwrite($fp,$links[$i]); } } } fclose($fp); /* ***************************************************************************************************** Now for the Sunday Times puzzles ***************************************************************************************************** */ $daily_or_st = "s"; $this_stdate = strtotime(date("Y-m-d",time()+ 2*$onedayphp)."last sunday"); // unix datestamp latest Sunday times puzzle $ozstserial = intval(($this_stdate - $baseozstdate)/(7*$onedayphp) + $baseozstserial); $ukstserial = $ozstserial + $baseukstserial - $baseozstserial; for ($i = 0;$i <= 1; $i++){ $thisdate = $this_stdate - $i * ( 7 * $onedayphp); $ret = IsPublishedOz($thisdate,$daily_or_st); if($ret == 0 ){ $thisuksno = $ukstserial - $i; $thisozsno = $ozstserial - $i; $URLs = GetLinkURL($daily_or_st,$thisuksno,$thisozsno); $daypubst[$i] = date('l',$thisdate); $datepubst[$i] = date('d/m/Y',$thisdate); $serialozst[$i] = $thisozsno; $serialukst[$i] = $thisuksno; $tfttlinkst[$i] = $URLs[0]; $difficulty_ratingst[$i] = $URLs[1]; $quality_ratingst[$i] = $URLs[2]; $author[$i] = $URLs[3]; $alnk = "    ".$daypubst[$i].": ".$datepubst[$i]." ".$serialstrst[$i].""."   ".$quality_ratingst[$i]; } } // Now re-create the Links File rsort($links); $fp = fopen($linksfile , "w"); // limit the file length to 12 daily puzzles and 4 Sunday puzzles $cnt_d = 0; $cnt_s = 0; for($i=0;$i<= count($links) -1;$i++){ if(trim($links[$i]) != "") { $IsSTimes = (substr($links[$i],0,1) == "1"); if(!$IsSTimes && ($cnt_d < 12)) { $cnt_d++; fwrite($fp,$links[$i]); } if($IsSTimes && ($cnt_s < 4)) { $cnt_s++; fwrite($fp,$links[$i]); } } } fclose($fp); // $bg=showbackground("cont"); // echo(""); function GetTextfromRating($ratingstr,$r_or_q) { // gets text version of the rating or quality from the URL $rating = array( "e1" => "Easy 1","e2" => "Easy 2","e3" => "Easy 3","m1" => "Medium 1","m2" => "Medium 2","m3" => "Medium 3", "h1" => "Hard 1","h2" => "Hard 2","h3" => "Hard 3"," " => "n/a","" => "n/a",); $quality = array( "" => ""," " => "","g" => "Good","i" => "Interesting","x" => "Excellent","e" => "Excellent","b" => "Brilliant","d" => "Diabolical","v" => "Vicious","l" => "Learner", ); if($r_or_q == "q") { $ret = $quality[trim($ratingstr)]; // allow a non-standard comment in the Quality column, indicated by the "//" in the googledlinks.txt file if(substr($ratingstr,0,2)=="//") $ret = substr($ratingstr,2); }else{ // $key = substr($ratingstr,strpos($ratingstr,".")-3,3); $ret = $rating[trim($ratingstr)]; } return $ret; } ?>

Welcome to the Times Crossword Links Page

To link to the Blog page, just click the corresponding “Day of the Week” item.

For updates on the future of this website, please read the Changes Log via the top menu

'); echo ' Latest News '; echo filedatephp("newsflash.html").''; echo ''; */ ?>

Links to the “Times for the Times” blog reports for cryptic crosswords in The Australian.

'; // code modified to remove problematic OZ Serial No. // '; // code commented out to remove Rating and Quality estimates // '; echo $rowstr; } } // Sunday Times echo ""; for($i=0;$i<= 1;$i++){ if(trim($tfttlinkst[$i]) != "") { $rowstr = ''; // code commented out to remove Rating and Quality estimates // '; echo $rowstr; }else{ $rowstr = ''; echo $rowstr; } } ?>

Search using Google Email Roy
Hits Last Week=   
So far this Week= 

page last updated