Max 04/10
Meet Max, a 9-year old Great Pyrenees Mix. Max is an all-around great dog; social, active, and loyal. He’s quite bright, already knowledgeable about several commands including “sit,” “stay,” and “shake.” He loves going for regular walks with his people as well as getting playtime to gnaw on some bones. Max is hugable and loveable, ready to share a new home with dogs, cats, and children of all ages. His only downside? He’s not a fan of going to the Doctor’s office, but who is? Max would make a welcome addition to just about any household. If this handsome fella sounds like the one for you, then stop on by the shelter today to meet Max.
$time = strtotime(get_field('date_available')); $avdate = get_field('date_available'); function humanTiming ($time) { $time = time() - $time; // to get the time since that moment return floor($time/86400); } $timeUp = humanTiming($time); ?>Pet Info:
Adoption Fee: if(get_field('promo_fee')==null): $fee = "$".get_field('adoption-fee'); /* if( $timeUp < 14 ){ $fee = "$".get_field('adoption-fee'); } if((get_field('animal_species')=="Dog") && ((get_field('age_mos' )>= 7)||get_field('age_years') >=1) && $timeUp > 14){ $fee = "$99"; } if((get_field('animal_species')=="Dog") && (get_field('age_mos' )<= 6 && get_field('age_mos' )!= null) && $timeUp > 14){ $fee = "$".get_field('adoption-fee'); } //cat if((get_field('animal_species')=="Cat") && ((get_field('age_mos' )>= 7)||get_field('age_years') >=1) && $timeUp > 21){ $fee = "Fee Waived"; } if((get_field('animal_species')=="Cat") && (get_field('age_mos' )<= 6 && get_field('age_mos' )!= null) && $timeUp > 14){ $fee = "$".get_field('adoption-fee'); } */ echo $fee; else: $promoFee = get_field('promo_fee'); if(is_numeric($promoFee[0])){ echo '$'.$promoFee; }else{ echo $promoFee; } //echo "$".get_field('promo_fee'); endif; ?>
if(get_field('sex')): ?>Sex: the_field('sex'); ?>
endif; ?> if(get_field('age')): ?>Age: the_field('age'); ?>
endif; ?>Breed: Great Pyrenees Mix
Age: 9 years
if(get_field('weight')): ?>Weight: the_field('weight'); ?>
endif; ?>