This page has not been translated yet

$ID = $_GET['page_id']; $pID = cleanID($ID); $LANG = ''; $pattern = '/^(en|ja|cn):(.*)/'; preg_match($pattern, $pID, $matches); if ($matches[0] && $matches[1] && $matches[2]) { $LANG = $matches[1]; $pID = $matches[2]; } $realID = "./$pID"; $URL = urlencode("http://net.nthu.edu.tw/2009/$pID"); if (page_exists($pID)) { echo "This page has not been translated yet.<br /><br />You could follow this <a href=\"$realID\">link</a> to view the Traditional Chinese page.<br /><br />"; echo "Use Google Translate to <a href=\"http://translate.google.com/translate?hl=zh-TW&amp;sl=zh-TW&amp;tl=en&amp;u=$URL\" target=\"_blank\">view this page</a>."; }