<?php
/*---------------------------------------------------+
| <span style="border-bottom: 1px dotted black;">PHP</span>-Fusion 7 Content Management System
+----------------------------------------------------+
| Copyright © 2002 - 2006 Nick Jones
| <a href='http://www.php-fusion.co.uk/' target='_blank'><span style='color:005C5B'>http://www.php-fusion.co.uk/</span></a>
+----------------------------------------------------+
| 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 <a href='http://www.gnu.org/licenses/agpl.html.' target='_blank'><span style='color:005C5B'>www.gnu.org/licenses/agpl.html.</span></a> Removal of this
| copyright header is strictly prohibited without
| written permission from the original author(s).
+--------------------------------------------------------*/
/*-----------------------------------------------------------*\
| Code: Domi - <a href='http://earnit.se' target='_blank'><span style='color:005C5B'>http://earnit.se</span></a> |
| SWF: Roy Tanck - <a href='http://www.roytanck.com' target='_blank'><span style='color:005C5B'>www.roytanck.com</span></a> |
| XHTML valid : Wikipedia <a href='http://www.presume-coupable.com' target='_blank'><span style='color:005C5B'>www.presume-coupable.com</span></a>
\*-----------------------------------------------------------*/
if (!defined("IN_FUSION")) { die("Access Denied"); }
if (file_exists(INFUSIONS."cumulus_panel/locale/".$settings['locale'].".php")) {
include INFUSIONS."cumulus_panel/locale/".$settings['locale'].".php";
} else {
include INFUSIONS."cumulus_panel/locale/English.php";
}
opentable($locale['tcloud01']." <a href='http://earnit.se' title='EarnIT' target='_blank'>©</a>");
echo "<script type='text/javascript' src='".INFUSIONS."cumulus_panel/swfobject.js'></script>";
echo '<div align="center"><center>
<div id="cumuluscontent"><a href="http://www.adobe.com/shockwave/download/index.cgi?P1_Prod_Version=ShockwaveFlash">Download Flash Player</a>
<span style="border-bottom: 1px dotted black;">PHP</span>-Fusion Cumulus by <a href="http://www.venue.nu">Domi</a> and <a href="http://www.roytanck.com">Roy tanck</a><br>requires Flash player 9 or better<br></div>
<script type="text/javascript">
var so = new SWFObject("'.INFUSIONS.'cumulus_panel/tagcloud.swf", "tagcloud", "230", "170", "7", "#ffffff");
so.addParam("wmode", "transparent");
so.addVariable("tcolor", "0x333333");
so.addVariable("tcolor2", "0x880000");
so.addVariable("hicolor", "0x067DCC");
so.addVariable("mode", "tags");
so.addVariable("distr", "true");
so.addVariable("tspeed", "100");';
echo 'so.addVariable("tagcloud", "<tags>>';
$result = dbquery("SELECT tt.thread_id, tt.thread_subject FROM ".DB_THREADS." tt
INNER JOIN ".DB_FORUMS." tf ON tt.forum_id=tf.forum_id
WHERE ".groupaccess('forum_access')." ORDER BY rand() LIMIT 0,30");
while ($data = dbarray($result)) {
$cfontsize = rand(6,26);
echo '<a href=\''.FORUM.'viewthread.php?thread_id='.$data['thread_id'].'\' rel=\'tag\' style=\'font-size:'.$cfontsize.'pt;\'>'.$data['thread_subject'].'</a>';
}
echo '</tags>");'. "\n";
echo ' so.write("cumuluscontent");
</script></center></div>';
closetable();
?>