5,36d4 < // Acromine: Okazaki, N., Ananiadou, S. (2006) Building an abbreviation dictionary using a term recognition approach. Bioinformatics, Volume 22, Number 24, pp. 3089-3095, Oxford University Press. < < // Thanks to http://abbreviations.yourdictionary.com/articles/common-accronyms.html for below < $bistuff = "AFK - Away From Keyboard, < BRB - Be Right Back, < BBIAB - Be Back In A Bit, < BBL - Be Back Later, < TTFN - Ta Ta For Now, < BBS - Be Back Soon, < BTW - By The Way, < HAGN - Have A Good Night, < KISS - Keep It Simple Stupid, < KIT - Keep In Touch, < EG - Evil Grin, < BEG - Big Evil Grin, < NYOB - None of Your Business, < OMG - Oh My God, < PM - Private Message, < POS - Parents Over Shoulder, < TTYL - Talk To You Later, < LTNS - Long Time No See, < SSDD - Same Sh$% Different Day, < IDK - I don't know < "; < < $ij = 0; < $done = "y"; < $sparelf = ""; < $sparef = ""; //"1"; < $spares = ""; //"2000"; < < $biarray = explode(",", str_replace("\n", "", str_replace(" - ", ",", $bistuff))); 39,43d6 < $uc=""; < if (isset($_POST['SELNAME'])) $uc=@file_get_contents("getacronymdata.htm"); < if (isset($_GET['SELNAME'])) $uc=@file_get_contents("getacronymdata.htm"); < if (isset($_POST['SELNAME'])) $selname = str_replace(" ","%20",$_POST['SELNAME']); < if (isset($_GET['SELNAME'])) $selname = str_replace(" ","%20",$_GET['SELNAME']); 48,53d10 < for ($ii=0; $ii 0) { < $trclass="odd"; < $json_output = json_decode(str_replace("$@$", "", str_replace("}]}]}]", "}]}]}", str_replace("$@$[","", ("$@$" . $pageContent))))); // ,true); < < $hstuff = str_replace("none;", "block;", str_replace(">", ">   " . $selname . "     ", $uc)); < < for ($i=0; $ilfs); $i++) { < if (strpos($hstuff, '>' . $json_output->lfs[$i]->lf . 'lfs[$i]->lf) == strtoupper($biarray[$ii])) $done = "Y"; < } < } < $hstuff = str_replace("", "" . ($i + 1) . "" . $json_output->lfs[$i]->lf . "" . $json_output->lfs[$i]->freq . "" . $json_output->lfs[$i]->since . "", $hstuff); < if ($trclass == "odd") { < $trclass = "even"; < } else { < $trclass = "odd"; < } < } < $ij = 1 + $i; < } < < if ($done == "n") { < $hstuff = str_replace("", "" . ($ij + 1) . "" . $sparelf . "" . $sparef . "" . $spares . "", $hstuff); < } < < echo $hstuff; // we've done the parsing work < < } else if ($selname == strtoupper($selname)) { --- > if ($selname == strtoupper($selname)) {