\n"; echo "
"; if ($data['admin_link']) { $admin_actions = $data['admin_link']; echo " ".$locale['edit']."\n"; echo " ".$locale['delete']."\n"; } echo "
"; echo "

".$data['download_title']."

\n"; echo "\n"; echo "
\n"; echo $data['download_description_short']; echo "
\n"; echo "
\n"; echo "
\n"; echo "
\n"; echo "
\n"; echo "\n"; echo "\n"; echo "\n"; echo "

".$locale['download_1007']."

\n ".$locale['download_1020'].": ".$data['download_filesize']."
\n"; echo "
\n"; echo "
\n"; echo $data['download_post_author']; if ($data['download_allow_ratings'] && fusion_get_settings('ratings_enabled') == 1) { echo "
\n"; echo "".$locale['download_3003']."\n"; add_to_jquery(" $('#rateJump').bind('click', function() { $('html,body').animate({scrollTop: $('#rate').offset().top}, 'slow'); }); "); } echo "
\n"; echo "
\n
\n"; echo "
\n"; if ($dl_settings['download_screenshot'] && $data['download_image']) { echo "
\n"; echo ''; echo thumbnail(DOWNLOADS."images/".$data['download_image'], '120px'); echo ''; echo "

".$locale['download_1009']."\n"; echo "

\n"; } echo "
\n"; echo "

".$locale['download_1010']."

\n"; echo "
\n"; echo "
\n"; echo "".$locale['download_1011'].":
".$data['download_version']; echo "
\n
\n"; echo "".$locale['download_1012'].":
".$data['download_count']; echo "
\n
\n"; echo "".$locale['download_1021'].":
".$data['download_post_time']; echo "
\n"; echo "
\n"; echo "
\n"; echo "
\n"; echo "".$locale['download_1013'].":
".$data['download_license']; echo "
\n
\n"; echo "".$locale['download_1014'].":
".$data['download_os']; echo "
\n
\n"; echo "".$locale['download_1015'].":
".$data['download_copyright']; echo "
\n"; echo "
\n"; echo "
\n"; echo "\n"; echo "
\n"; if ($data['download_description']) { echo "

".$locale['download_1019']."

"; echo "
\n"; echo "
\n"; echo nl2br(parse_textarea($data['download_description'], TRUE, TRUE, FALSE)); echo "
\n"; echo "
\n"; } echo $data['download_show_comments']; echo $data['download_allow_ratings'] ? "\n\n".$data['download_show_ratings'] : ''; } else { if (!empty($info['download_cat_description'])) { echo "
\n"; echo $info['download_cat_description']; echo "
\n"; } echo "\n"; echo "
\n"; if (!empty($info['download_item'])) { foreach ($info['download_item'] as $download_id => $data) { $download_title = $data['download_title']; echo "
\n"; echo "
\n"; if ($dl_settings['download_stats']) { echo "
".$data['download_count']."
\n"; if ($data['download_allow_comments'] && fusion_get_settings('comments_enabled') == 1) { echo "
".$data['download_comments']."
\n"; } if ($data['download_allow_ratings'] && fusion_get_settings('ratings_enabled') == 1) { echo "
".$data['download_sum_rating']."
\n"; } } echo " ".$locale['download_1007']."\n"; echo "
\n"; if (!empty($data['download_image'])) { echo "
\n"; echo $data['download_image']; echo "
\n"; } echo "
\n"; echo "
\n"; echo "

".trimlink($data['download_title'], 100)."

"; echo "
".$data['download_category_link']."
\n"; echo "
".$data['download_description_short']."
"; echo "
\n"; echo "
\n"; echo "
\n"; } if (!empty($info['download_nav'])) { echo '
'.$info['download_nav'].'
'; } } else { echo "
\n".$locale['download_3000']."
\n"; } echo "
\n"; echo ""; } closetable(); \PHPFusion\Panels::addPanel('download_menu_panel', display_download_menu($info), \PHPFusion\Panels::PANEL_RIGHT, iGUEST, 0); } } if (!function_exists('display_download_menu')) { /** * Download side bar * * @param $info * * @return string */ function display_download_menu($info) { $locale = fusion_get_locale(); // Download Category Menu function display_DownloadCats($info, $cat_id = 0, $level = 0) { $html = ''; if (!empty($info[$cat_id])) { foreach ($info[$cat_id] as $download_cat_id => $cdata) { $active = (!empty($_GET['cat_id']) && $_GET['cat_id'] == $download_cat_id) ? TRUE : FALSE; $html .= "
  • ".str_repeat(' ', $level)." ".$cdata['download_cat_link']; if (!empty($info[$download_cat_id])) { $html .= "\n"; } $html .= "
  • \n"; } } return $html; } // The layout calling the above function ob_start(); echo "\n"; openside($locale['download_1003']); echo "\n"; closeside(); openside($locale['download_1004']); echo "\n"; closeside(); return ob_get_clean(); } }