Ruby 09/14
Meet Ruby, a 1-and-a-half year old American Shelter Dog. Ruby is young, fun, and full of excitement. Ruby is definitely no couch potato and would love to be in a home where she can get lots of playtime and exercise. We have observed her to be good with dogs and older, respectful children. In fact, she would really enjoy having another canine friend in her new home to play with. If Ruby sounds like the type of dog you’d like in your family, then stop on by the shelter today to meet her.
$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: American Shelter Dog
Age: 1 1/2 years
if(get_field('weight')): ?>Weight: the_field('weight'); ?>
endif; ?>