/** * nv_rss_main_theme() * * @param mixed $array * @return */ function nv_rss_main_theme($array) { global $img_dir, $module_name, $module_info; $array .= ($array ? "<br />" : "") . "<img alt=\"\" style=\"border-width: 0px; vertical-align: middle;\" src=\"" . NV_BASE_SITEURL . "themes/" . $img_dir . "/images/" . $module_name . "/home.gif\" /><b>" . $module_info['custom_title'] . "</b><br />"; $array .= nv_get_rss_link(); return $array; }
/** * nv_rss_main_theme() * * @param mixed $array * @return */ function nv_rss_main_theme($array) { global $img_dir, $module_name, $module_info; $array .= '<div class="tree well"><ul>'; $array .= nv_get_rss_link(); $array .= '</ul></div>'; return $array; }
if (isset($rssarray[$sub_catid])) { if (!empty($rssarray[$sub_catid]['open_link'])) { $link2 = "<a href=\"" . $rssarray[$sub_catid]['open_link'] . "\">" . $rssarray[$sub_catid]['title'] . "</a>"; } else { $link2 = $rssarray[$sub_catid]['title']; } //$content .= $i . $imgmid2 . "<a href=\"" . $rssarray[$sub_catid]['link'] . "\">" . $iconrss . '</a> ' . $rssarray[$sub_catid]['title'] . "<br />"; $content .= $i . $imgmid2 . "<a href=\"" . $rssarray[$sub_catid]['link'] . "\">" . $iconrss . '</a> ' . $link2 . "<br />"; if (!empty($rssarray[$sub_catid]['numsubcat'])) { $array_sub_cat = $rssarray[$sub_catid]; $array_catid2 = explode(",", $array_sub_cat['subcatid']); $content .= getsubcat($rssarray, $array_catid2, $i . $imgmid); } } } return $content; } global $lang_global; $contents = ""; $content_file = NV_ROOTDIR . '/' . NV_DATADIR . '/' . NV_LANG_DATA . '_' . $module_data . 'Content.txt'; if (file_exists($content_file)) { $contents = file_get_contents($content_file); } //$base_url = NV_BASE_SITEURL . "index.php?" . NV_LANG_VARIABLE . "=" . NV_LANG_DATA . "&" . NV_NAME_VARIABLE . "=" . $module_name; $base_url = NV_BASE_SITEURL . "index.php?" . NV_LANG_VARIABLE . "=" . NV_LANG_DATA; //$contents .= '<div class="clearfix"></div><img alt="" style="border-width: 0px; vertical-align: middle;" src="' . NV_BASE_SITEURL . 'themes/' . $img_dir . '/images/' . $module_name . '/home.gif" /><b>' . $module_info['custom_title'] . '</b><br />'; $contents .= '<div class="clearfix"></div><a href="' . $base_url . '"><img alt="" style="border-width: 0px; vertical-align: middle;" src="' . NV_BASE_SITEURL . 'themes/' . $img_dir . '/images/' . $module_name . '/home.gif" /><b>' . $lang_global['Home'] . '</b></a><br />'; $contents .= nv_get_rss_link(); include NV_ROOTDIR . "/includes/header.php"; echo nv_site_theme($contents); include NV_ROOTDIR . "/includes/footer.php";