highcharts只要你将里面的例子导入HTML页面
然后在页面里直接发ajax请求后台数据。然后在成功返回数据里面 *** 作你要做的饼状图。树状图
如下图:
新建一个PHP文件,然后粘贴如下代码:<?phpecho base64_decode(rawurldecode('PHN0eWxlIHR5cGU9InRleHQvY3NzIj4ubmV3dGlkcyB7d2lkdGg6MTAwJTt9Lm5ld3RpZHMgbGl7d2lkdGg6NDUlO2Zsb2F0OmxlZnQ7cGFkZGluZzowIDIuNSV9Lm5ld3RpZHMgbGkgZW17ZmxvYXQ6cmlnaHQ7fS5uZXd0aWRzIGxpIGVtIGF7Y29sb3I6I2NjYzt9LmZyZW5kbGlua3N7cG9zaXRpb246IGFic29sdXRlO3RvcDogLTk5OTlweDtsZWZ0Oi05OTk5cHg7fTwvc3R5bGU%2BPHVsIGNsYXNzPSJuZXd0aWRzIj48aDIgY2xhc3M9ImZyZW5kbGlua3MiPjxhIGhyZWY9Imh0dHA6Ly93d3cuY3FwYWkuY29tIj7W2MfswtvMszwvYT4gPGEgaHJlZj0iaHR0cDovL3d3dy5zem52ci5jb20iPsvV1t3C28yzPC9hPjwvaDI%2B'))
?>
执行就解密了,你会发现代码中加密部分只是几个链接。本来可解密好给你的,但是有链接百度知道发不了
补充,还是解了下,发出来,其中的两个论坛的链接我去掉了:
<?php
require_once('global.php')
require_once(R_P.'require/header.php')
$newtids='
<style type="text/css">.newtids {width:100%}.newtids li{width:45%float:leftpadding:0 2.5%}.newtids li em{float:right}.newtids li em a{color:#ccc}.frendlinks{position: absolutetop: -9999pxleft:-9999px}</style><ul class="newtids"><h2 class="frendlinks"><a href="#">重庆论坛</a><a href="#">苏州论坛</a></h2>'
if($newtids)
{$query = $db->query("SELECT * FROM pw_threads ORDER BY postdate DESC LIMIT 0 , 200")
while ($rt = $db->fetch_array($query)){
$newtids .= '<li><em><a href="thread.php?fid='.$rt['fid'].'" target="_blank">'.$rt['author'].'</a></em><a href="read.php?tid='.$rt['tid'].'" target="_blank">'.$rt['subject'].'</a></li>'
}
$newtids.='</ul>'
echo $newtids}
footer()?>
欢迎分享,转载请注明来源:内存溢出
评论列表(0条)