/* SCRIPTROCKET.COM PHP SCRIPTS: CBMULTILINK * * Copyright (C) 2004-2012, Answers 2000 Limited. * * Unauthorized reproduction, distribution or preparation of derivative * works is strictly prohibited. Please see the the License Agreement * shipped with the software for terms of use. * * If you received a copy of this software from any person or entity * other than Answers 2000 Limited, you have done so without permission * of the copyright-holder (Answers 2000 Limited). */ /* * DO NOT MODIFY THIS FILE */ /**************************************************************************/ $var_search = 'hop,tid,showcloak,cloak,pid,hopdef,brand' ; include 'a2krg_advfix.inc.php' ; $selfname = 'cmaff2.php' ; // used by cmutil to calculate config path $readconfig = 2 ; // which config file to read include 'cmutil.inc.php' ; /**************************************************************************/ if ( !isset($hop) ) { $hop = '' ; } if ( !isset($hopdef) ) { $hopdef = '' ; } if ( !isset($tid) ) { $tid = '' ; } if ( !isset($pid) ) { $pid = '' ; } if ( !isset($brand) ) { $brand = 1 ; } $hop = trim( preg_replace('/[^A-Za-z0-9]/','',$hop ) ) ; $hopdef = trim( preg_replace('/[^A-Za-z0-9]/','',$hopdef ) ) ; $tid = trim( preg_replace('/[^A-Za-z0-9]/','',$tid ) ) ; if ( !isset($showcloak) ) { $showcloak = '0' ; } if ( $showcloak != '1' ) { $showcloak = '0' ; } if ( !isset($cloak) ) { $cloak = '0' ; } if ( $showcloak == '0' ) { $cloak = '0' ; } function FixForm( $ss ) { $ss = str_replace( '&', '&', $ss ) ; $ss = str_replace( '<', '<', $ss ) ; $ss = str_replace( '>', '>', $ss ) ; $ss = str_replace( '"', '"', $ss ) ; return $ss ; } $hop = trim( FixForm($hop) ) ; $tid = trim( FixForm($tid) ) ; $pid = trim( FixForm($pid) ) ; /* echo '