
function soo_if_frontpage ( $atts, $thing )
{
	$atts = lAtts(array(
		'section'	=>  '',
		'pg'		=> false,
	), $atts);

	global $s, $pg, $c, $q, $author, $month, $id, $p;

	if ( ! $section = $atts['section'] )
		$section = 'default';

	return parse(EvalElse($thing,
		( $section == '*' or in_list($s, $section) ) and
		( ! $atts['pg'] or $pg < 2 ) and
		! ( $c or $q or $author or $month or $id or $p )
	));
}
