Patches 12/14
Meet Patches, a 4-month old short-haired cat. Patches is a darling girl, if a little bit nervous around new people. She will definitely need time to get used to strangers and new surroundings. She is very sweet and will enjoy attention, once she’s figured out that everything is fine and dandy. Patches would be happy to share a new home with other cats and gentle children who won’t overwhelm her. This lovely gal would make a great companion to have by your side when reading a good book or just relaxing after a long day. If Patches sounds like the one for you then stop on by the shelter today to meet her, just be prepared to give her a little time.
$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: 4 months
if(get_field('weight')): ?>Weight: the_field('weight'); ?>
endif; ?>