$nodeAudio = node_load($node->nid);
//dpm($nodeAudio);
$nodeShow = node_load($nodeAudio->field_dj_bio_page[0][nid]);
//dpm($nodeShow);
if($nodeShow->taxonomy) {
foreach($nodeShow->taxonomy as $djname) {
if($djname->vid == 2){
$show = $djname->name;
}
}
}
$showpath = "/" . $nodeShow->path;
//$unixDate = date_iso2unix($nodeAudio->field_air_date[0][value])
$T_position = strpos($nodeAudio->field_air_date[0][value], 'T');
$unixDate = substr($nodeAudio->field_air_date[0][value], 0, $T_position);
?>
File Name
print $nodeAudio->audio_file->filename; ?>
Show
Date Aired
print $unixDate; ?>
Description
print $nodeAudio->field_description[0][value]; ?>