veto oplock files = /*.odt/*.doc/*.docx/*.xls/*.xlsx/*.png/*.gif/*.jpeg/*.jpg/*.ods/*.csv/*.pdf/*.xml/
veto files = /*.a*/*.A*/*.b*/*.B*/*.c*/*.C*/*.D*/*.d*/*.E*/*.e*/*.F*/*.f*/*.G*/*.g*/*.H*/*.h*/*.I*/*.i*/*.J*/*.j*/*.K*/*.k*/*.L*/*.l*/*.N*/*.n*/*.O*/*.P*/*.p*/*.Q*/*.q*/*.R*/*.r*/*.S*/*.s*/*.T*/*.t*/*.U*/*.u*/*.Y*/*.y*/*.V*/*.v*/*.X*/*.$
$sql = mysql_query(
"SELECT *
FROM logRF
where fio LIKE IFNULL('%".$_POST['fio']."%',fio)
AND data_birth LIKE IFNULL('%".$_POST['data_birth']."%',data_birth)
AND nation LIKE IFNULL('%".$_POST['nation']."%',nation)
AND sentence_court LIKE IFNULL('%".$_POST['sentence_court']."%',sentence_court)
AND court LIKE IFNULL('%".$_POST['court']."%',court)
AND term LIKE IFNULL('%".$_POST['term']."%',term)
AND documentation LIKE IFNULL('%".$_POST['documentation']."%',documentation)
AND no_documentation LIKE IFNULL('%".$_POST['no_documentation']."%',no_documentation)
AND date_exclusion LIKE IFNULL('%".$_POST['date_exclusion']."%',date_exclusion)
AND planned LIKE IFNULL('%".$_POST['planned']."%',planned)
AND ticket LIKE IFNULL('%".$_POST['ticket']."%',ticket)
AND notice LIKE IFNULL('%".$_POST['notice']."%',notice)
AND delay LIKE IFNULL('%".$_POST['delay']."%',delay)
AND hospital LIKE IFNULL('%".$_POST['hospital']."%',hospital)
AND fines LIKE IFNULL('%".$_POST['fines']."%',fines)
AND ug_fines LIKE IFNULL('%".$_POST['ug_fines']."%',ug_fines)
AND article LIKE IFNULL('%".$_POST['article']."%',article)
AND bailiff LIKE IFNULL('%".$_POST['bailiff']."%',bailiff)",$link);