Good idea! Saves a lot of time![hr]
It doesn't show the featured adoptable.[hr]
Add:
PHP Code:
//Get the featured adoptable...
$featured = getfeatured();
$template = replace(':FEATURED:',$featured,$template);
After:
PHP Code:
$template = file_get_contents($file);
$template = replace(':SITETITLE:',$site_title,$template);
$template = replace(':SITENAME:',$site_name,$template);
$template = replace(':ARTICLETITLE:',$article_title,$template);
$template = replace(':ARTICLEDATE:',$article_date,$template);
$template = replace(':ARTICLECONTENT:',$article_content,$template);