// get the ad price and position the currency symbol
if (!function_exists('cp_get_price')) {
function cp_get_price($postid, $meta_field) { (THIS IS LINE 677)
if(get_post_meta($postid, $meta_field, true)) {
$price_out = get_post_meta($postid, $meta_field, true);
// uncomment the line below to change price format
//$price_out = number_format($price_out, 2, '.', ',');
$price_out = cp_pos_currency($price_out, 'ad');
} else {
if( get_option('cp_force_zeroprice') == 'yes' )
$price_out = cp_pos_currency(0, 'ad');
else
$price_out = ' ';
}
echo $price_out;
}
}
There are currently 1 users browsing this thread. (0 members and 1 guests)