<?php
/*-------------------------------------------------------+
| PHPFusion Content Management System
| Copyright (C) 2002 - 2010 Nick Jones
| http://www.php-fusion.co.uk/
+--------------------------------------------------------+
| Filename: top links.php
| Author: Nick Jones (Digitanium)
+--------------------------------------------------------+
| This program is released as free software under the
| Affero GPL license. You can redistribute it and/or
| modify it under the terms of this license which you
| can read by viewing the included agpl.txt or online
| at www.gnu.org/licenses/agpl.html. Removal of this
| copyright header is strictly prohibited without
| written permission from the original author(s).
+--------------------------------------------------------*/
if (!defined("IN_FUSION")) { die("Access Denied"); }
openside($locale['global_034']);
$result = dbquery(
"SELECT tl.weblink_id, tl.weblink_name, tl.weblink_url, tl.weblink_count FROM ".DB_WEBLINKS." tl
ORDER BY tl.weblink_id DESC LIMIT 0,10"
);
if (dbrows($result)) {
while($data = dbarray($result)) {
$itemsubject = trimlink($data['weblink_name'], 100);
$link_count = $data['weblink_count'];
echo THEME_BULLET." <a href='".$data['weblink_url']."' class='side' target='_blank'>$itemsubject</a> ($link_count) <hr class=\"side-hr\">\n";
}
} else {
echo "<div style='text-align:center'>".$locale['global_031']."</div>\n";
}
closeside();
?>
Quote
http://www.yoursite.com/locale/English/global.php
// Downloads Side panel
$locale['global_032'] = "Latest Downloads";
$locale['global_033'] = "No Downloads available";
// Welcome panel
$locale['global_035'] = "Welcome";
// Latest Active Forum Threads panel
Category Forum
Upgrading issues - 8Labels
None yet
Statistics
2 participants
Notifications
You are not receiving notifications from this thread.
Related Questions