include_once("include.html"); if(function_exists('checksession')) checksession($id); $linkAdd=""; if(is_array($BW_formvars)) foreach($BW_formvars as $k=>$v) $linkAdd .= "&$k=".rawurlencode($v); //BASIC if($Raction2==="x4" || $Raction2==="x5") { $Raction=4; if($Raction2==="x4") $Tbody = ""; elseif(!trim($Tbody)) $Tbody = $lang[SPAM_DEFAULTBODY]; $Tflag="C,".($flagsw==="IM"?"I,":"").($Tbody?"M=".rawurlencode($Tbody).",":"")."F=$Taddress"; } elseif(isset($Raction2)) $Raction=$Raction2; //ADD & MODIFY if($Bsave || $Badd) { if($Bsave && $no) addsfilter($user,$Raction,$def,$defa,$R1,$Do1,$Do2,$Cnot,$Tstring,$Ccase,$log,$Tflag,$no,!$bwview); if($Badd) $no=addsfilter($user,$Raction,$def,$defa,$R1,$Do1,$Do2,$Cnot,$Tstring,$Ccase,$log,$Tflag,'',!$bwview); } //UP & DOWN If($Bup && $no) $no=supdown($user,$no,1); If($Bdown && $no) $no=supdown($user,$no,0); //DELETE if($no && $Bdel) { $cnt=count($filters); deleterow($user,$no); if($cnt==$no) $no-=1; } $filters=get_sfilter($user,!$bwview); //GET Real $no if($no && is_array($filters)) { foreach($filters as $k=>$v){ if($v[key]==$no){ $no=$k+1; break;} } } $createdata .= '
'; ?>