Chrissy 05/02
5 yrs, Female, Medium Hair
Timid, but the good kind of timid. Happily accepts attention if you go slow and may even snuggle with her people. Would prefer not to live with dogs or young children.
$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 Medium Hair
Age: 5 years
if(get_field('weight')): ?>Weight: the_field('weight'); ?>
endif; ?>