default='.$default.'
' ; if ( ( !isset($defaulturl) ) || ( $defaulturl == '' ) ) { echo 'The installation process for CBMultiLink has not been completed or the configuration file has been corrupted.' ; exit() ; } $gotourl = $defaulturl ; /**************************************************************************/ if ( ( isset($pid) ) || ( $pid != '' ) ) { $key = 'lpurl/'.$pid ; //echo '
key='.$key.'
' ; $url = $configdata[$key] ; //echo '
url='.$key.'
' ; if ( (!isset($url)) || ($url == '' ) ) { // Unknown PID - go to default landing page, and try to share some info $gotourl = $defaulturl ; if ( strpos( $gotourl, '?' ) ) { $gotourl .= '&pid='.$pid ; } else { $gotourl .= '?pid='.$pid ; } if ( (isset($hop)) && ($hop!='') ) { if ( strpos( $gotourl, '?' ) ) { $gotourl .= '&hop='.$hop ; } else { $gotourl .= '?hop='.$hop ; } } } else { // go PID's landing page $gotourl = $url ; } } /**************************************************************************/ Header( "Location: " . $gotourl . "\n\n" ) ; exit; exit() ; ?>