Temos pavadinimas: WordPress, Shopify ir PHPFusion programuotojų bendruomenė :: Redagavimas cumulus_panel

Parašė RAFFAK· 2011 Bir. 25 17:06:18
#1

Sveiki. Turiu Cumulus_panel (forumo tagu debesis). Si panele rodo tik is forumu, noreciau padaryti, kad imtu is naujienu arba is abieju. Gal kas zinot ka reikia pakeisti ar gal galit pakeisti? Nes niekaip nerandu normalaus veikiancio tagu debesies arba kokios tagu normalios paneles.


<?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'>&copy;</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", "&lt;tags&gt;>';
		$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  '&lt;a href=\''.FORUM.'viewthread.php?thread_id='.$data['thread_id'].'\' rel=\'tag\' style=\'font-size:'.$cfontsize.'pt;\'&gt;'.$data['thread_subject'].'&lt;/a&gt;';
             }
                echo '&lt;/tags&gt;");'. "\n";
		echo '	so.write("cumuluscontent");
</script></center></div>';
closetable();
?>

Redagavo RAFFAK· 2011 Bir. 25 17:06:50