Harvey Dent – Adopted 12/30
There’s no two ways about it, Harvey is a handsome kitty. Sure, he can sometimes be a cat of two minds; one minute loving, the next wanting to be left alone. But don’t let that make you think twice about adopting him. A companion who can be friendly when he’s in the mood, and then independent enough to spend time on his own is the best of both worlds. Harvey is a pretty relaxed fellow when not looking for attention, so you need not worry about being in two places at once to ensure he behaves. Even if you’ve been by AWS and seen Harvey before, come on by and give him a second glance, you’ll be glad you did.
$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: Domestic Short Hair
Age: 10 years
if(get_field('weight')): ?>Weight: the_field('weight'); ?>
endif; ?>