'; include_once ('global_header.php'); $id = (int)$_REQUEST['id']; $query = "SELECT * FROM " . DB_PREFIX . "fincast_podcast"; $query .= " WHERE id='" . $id . " AND deleted=0'"; ## addthis $addthis_link = $setts['site_path'].'fincast-live-details.php?id='.$id; ## $sql_select_issue = $db->get_sql_row($query); if($sql_select_issue['image']) { $image = ''; } else { $image = ""; } $sql_select_issue = $db->add_special_chars_array($sql_select_issue); $template->set('title', $sql_select_issue['title']); // $template->set('name', $sql_select_issue['name']); // $template->set('description', $sql_select_issue['description']); // $template->set('image', $image); // image ## fincast live $template->set('box_top',box_top('FinCast Live!', '', 345)); $template->set('box_bottom', box_bottom()); $template->set('fincast', $fincast); # ## podacst $query = "SELECT * FROM " . DB_PREFIX . "fincast"; $query .= " WHERE category=". $sql_select_issue['id'] ." AND deleted=0 ORDER BY id ASC "; $sql_issue = $db->query($query); $archive_issue_content = null; //g $archive_issue_content .= ''; ## $template->set('archive_issue_content', $archive_issue_content); #### right boxes $sql_select_section = $db->query("SELECT fc.* FROM " . DB_PREFIX . "fincast_cat fc INNER JOIN " . DB_PREFIX . "fincast_podcast fp ON fp.category=fc.id ORDER BY fc.name ASC"); (string) $browse_issue_content = ''; $browse_issue_content = "
".$browse_issue_content."
"; $right_boxes .= "
".box_top_notitle('Podcast Video', false).$browse_issue_content.box_bottom_notitle().'
'; $template->set('right_boxes', $right_boxes); ## addthis button $addthis = ' Bookmark and Share '; ## $template->set('addthis', $addthis); $template_output .= $template->process('fincast-live-details.tpl.php'); include_once ('global_footer.php'); echo $template_output; ?>