75 list( $Val1 , $Val2 ) = $Settings->get_settings(
'value1,value2' );
77 return( $Val1 == $Val2 ? 1 : 0 );
111 list( $Val1 , $Val2 ) = $Settings->get_settings(
'value1,value2' );
113 return( $Val1 != $Val2 ? 1 : 0 );
115 catch( Exception $e )
147 $Value = $Settings->get_setting(
'value' );
149 return( !$Value ? 1 : 0 );
151 catch( Exception $e )
183 list( $Val1 , $Val2 ) = $Settings->get_settings(
'value1,value2' );
185 return( $Val1 > $Val2 ? 1 : 0 );
187 catch( Exception $e )
219 list( $Val1 , $Val2 ) = $Settings->get_settings(
'value1,value2' );
221 return( $Val1 < $Val2 ? 1 : 0 );
223 catch( Exception $e )
255 list( $Val1 , $Val2 ) = $Settings->get_settings(
'value1,value2' );
257 return( $Val1 >= $Val2 ? 1 : 0 );
259 catch( Exception $e )
291 list( $Val1 , $Val2 ) = $Settings->get_settings(
'value1,value2' );
293 return( $Val1 <= $Val2 ? 1 : 0 );
295 catch( Exception $e )
327 $Settings->load_settings( $Parameters );
329 return( intval( $Settings->get_setting(
'value' ) ) % 2 == 1 );
331 catch( Exception $e )
363 $Settings->load_settings( $Parameters );
365 return( intval( $Settings->get_setting(
'value' ) ) % 2 == 0 );
367 catch( Exception $e )
399 $Cond = $Settings->get_setting(
'condition' ,
false );
400 $Then = $Settings->get_setting(
'then' ,
'' );
401 $Else = $Settings->get_setting(
'else' ,
'' );
403 return( $Cond == 0 ? $Else : $Then );
405 catch( Exception $e )
437 $Value = $Settings->get_setting(
'value' ,
false );
439 $First = explode(
'|' , $Settings->get_setting(
'first' ,
'' ) );
440 $Second = explode(
'|' , $Settings->get_setting(
'second' ,
'' ) );
444 foreach( $First as $k => $v )
448 $Code = $Second[ $k ];
455 catch( Exception $e )