include_once ('/home/tdegreec/public_html/form/config.inc'); $urlArr = explode("/", $_SERVER['REQUEST_URI']); $mod = 0; // time()%3; $cuQS = array ('Abilene Christian University'); if ($urlArr[2] != '') { $sName = str_replace ("-", ' ', $urlArr[2]); $sName = str_replace ('Sanford Brown', 'Sanford-Brown', $sName); $school = str_replace (' ', ' - ', $sName); if (empty($school)) { $school = "University of Phoenix"; } } else { $school = "University of Phoenix"; $link = "http://www.inrdx.com/?tag=203479910&VKEY=10142"; } if (in_array ($school, $cuQS)) { $mod = 1; } if ($mod >= 1 && !empty($GLOBALS['qs2cunet'][$school]) && empty ($link)) // USE CUNET { $school = $GLOBALS['qs2cunet'][$school]; $link = file_get_contents ('http://www.thecollegedegrees.com/degree.com.php?'.urlencode($school))."&csrc="; } if (empty ($link) || $mod == 0) // USE QS link { $link = "http://www.inrdx.com/?tag=203576277"; $tmp = (array_keys ($GLOBALS['idArr'], $sName)); $vkey = $tmp[0]; if ($dkeyArr[$vkey]) { $dkey = $vkey; $vkey = $dkeyArr[$vkey]; $link .= "&VKEY=$vkey&DKEY=$dkey"; } else { $link .= "&VKEY=$vkey"; } $link .= "&CSS=http://www.thedegree.com/form/custom.css#pTop"; $qs = true; } ?>