243,244c243,244 < $aprivone=' data-applyprivacy="Y"'; < $aprivtwo=' data-applyprivacy="y"'; --- > $aprivone=' data-applyprivacy="y"'; > $aprivtwo=' data-applyprivacy="Y"'; 249c249 < for ($i=(0 + 0); $i for ($i=(0 + 1); $i if (strpos($thisline, $curgmt) !== false && strpos(str_replace("'",'"',$thisline), $aprivone) === false && strpos(str_replace("'",'"',$thisline), $aprivtwo) === false) { 254,275d253 < if (strpos(str_replace("'",'"',$thisline), $aprivtwo) !== false) { < $thatline=$thisline; < if (strpos($thatline, 'contact="') !== false && strpos(str_replace('contact=""',"contact=''",$thatline), 'contact="') !== false) { < while (strpos(str_replace('contact=""',"contact=''",$thatline), 'contact="') !== false) { < $thingtochange=explode('"', explode('contact="', str_replace('contact=""',"contact=''",$thatline))[1])[0]; < $thatline=str_replace($thingtochange, '', $thatline); < } < } < if (strpos($thatline, "contact='") !== false && strpos(str_replace("contact=''",'contact=""',$thatline), "contact='") !== false) { < while (strpos(str_replace("contact=''",'contact=""',$thatline), "contact='") !== false) { < $thingtochange=explode("'", explode("contact='", str_replace("contact=''",'contact=""',$thatline))[1])[0]; < $thatline=str_replace($thingtochange, '', $thatline); < } < } < if (strpos(str_replace("[]","",$thatline), "[") !== false && strpos(str_replace("[]","",$thatline), "]") !== false) { < while (strpos(str_replace("[]","",$thatline), "[") !== false && strpos(str_replace("[]","",$thatline), "]") !== false) { < $thingtochange=explode("]", explode("[", str_replace("[]","",$thatline))[1])[0]; < $thatline=str_replace($thingtochange, '', $thatline); < } < } < $prevcont.=$thatline; < } else { 277d254 < } 287c264 < for ($i=(0 + 0); $i for ($i=(0 + 1); $i