'http://serviette.ca/radio_show/2010/nw20100326.mp3', 'type'=>'MP3 Interview (March 26, 2010)'); $vs_media[2] = array( 'filename'=>'http://www.chartattack.com/features/81163/nardwuar-vs-john-lydon/', 'type'=>'Transcribed Interview (March 26, 2010)'); $vs_links[1] = array( 'filename'=>'https://serviette.ca/nardwuar-com/vs/paul_cook/', 'type'=>'Nardwuar vs. Paul Cook'); $photo_credit = "Photo by Bev Davies"; /*************************************************************** Okay, two things: 1) Save the image as "profile_pic.jpg" in this directory and it should be no wider than 200px 2) If you want to add more media/interviews to an existing card, just copy the $vs_media[1] section (all the way down to the semi-colon) and paste it to the next available line. then change the '1' in the square brackets to the next logical number (so, like '2') then change the stuff after 'filename','type', and 'date' and it will stick it all on the card 1b) save a larger version of the profile_pic.jpg as profile_pic_large.jpg if you want img to be clickable to see larger image *****************************************************************/ ?> Nardwuar VS <?php echo $vs_subject_name; ?>
 
   
     
     
 
 
AVAILABLE IN:
'; foreach($vs_media as $media_row) { if($media_row['filename'] && !empty($media_row['filename'])) { $html .= '
'.$media_row['type'].''; // if($media_row['date'] && !empty($media_row['date'])) { // $html .= '('.$media_row['date'].')'; // } } $html .= '
'; } } print $html; if($vs_links && is_array($vs_links) && !empty($vs_links)) { $html2 = '

'; foreach($vs_links as $links_row) { if($links_row['filename'] && !empty($links_row['filename'])) { $html2 .= '
'.$links_row['type'].''; // if($links_row['date'] && !empty($links_row['date'])) { // $html2 .= '('.$links_row['date'].')'; // } } $html2 .= '
'; } print $html2; } ?>