";
$strXML .="";
$strQuery = "select * FROM trending where trending.id mod 5 = 0 GROUP BY DATE DESC LIMIT 100";
$result = mysql_query($strQuery) or die(mysql_error());
if ($result) {
while($ors = mysql_fetch_array($result)) {
$strXML .= "";
}
}
$result2 = mysql_query($strQuery) or die(mysql_error());
$strXML .="";
if ($result2) {
while($ors1 = mysql_fetch_array($result2)) {
$strXML .= "";
}
}
$result3 = mysql_query($strQuery) or die(mysql_error());
$strXML .="";
if ($result3) {
while($ors2 = mysql_fetch_array($result3)) {
$strXML .= "";
}
}
$result4 = mysql_query($strQuery) or die(mysql_error());
$strXML .="";
if ($result4) {
while($ors2 = mysql_fetch_array($result4)) {
$strXML .= "";
}
}
$result5 = mysql_query($strQuery) or die(mysql_error());
$strXML .="";
if ($result5) {
while($ors2 = mysql_fetch_array($result5)) {
$strXML .= "";
}
}
$result6 = mysql_query($strQuery) or die(mysql_error());
$strXML .="";
if ($result6) {
while($ors2 = mysql_fetch_array($result6)) {
$strXML .= "";
}
}
$result7 = mysql_query($strQuery) or die(mysql_error());
$strXML .="";
if ($result7) {
while($ors2 = mysql_fetch_array($result7)) {
$strXML .= "";
}
}
$result8 = mysql_query($strQuery) or die(mysql_error());
$strXML .="";
if ($result8) {
while($ors2 = mysql_fetch_array($result8)) {
$strXML .= "";
}
}
$result9 = mysql_query($strQuery) or die(mysql_error());
$strXML .="";
if ($result9) {
while($ors2 = mysql_fetch_array($result9)) {
$strXML .= "";
}
}
mysql_close($link);
$strXML .= "";
echo renderChart("../../FusionCharts/MSLine.swf", "", $strXML, "FactorySum", 980, 500, false, true);
?>