X-Git-Url: https://handorf.org/code/?p=soho-sigint.git;a=blobdiff_plain;f=client-freqwatch%2Findex.php;fp=client-freqwatch%2Findex.php;h=93f47788647e7d3bf020b8578139eac4870cbc50;hp=0000000000000000000000000000000000000000;hb=a3ef498bb80e543f5917fcf6cf55e5cb0cebc3dc;hpb=3c15e56613abf48f2eb191be9000428c56cdaadf diff --git a/client-freqwatch/index.php b/client-freqwatch/index.php new file mode 100644 index 0000000..93f4778 --- /dev/null +++ b/client-freqwatch/index.php @@ -0,0 +1,73 @@ + +
+ + + + + $r=open_database("freqwatch", "select count(id) as tot,freq from freqs group by freq asc"); + $num=mysql_numrows($r); + $skipper=50; + while ($i<$num) { + $tot=mysql_result($r,$i,"tot"); + $freq=mysql_result($r,$i,"freq"); + #if ($skipper==50) { + $labels=$labels.'"'.$freq.'",'; + # $skipper=0; + #} else { + # $labels=$labels.'" ",'; + #} + $data=$data.'"'.$tot.'",'; + $i++; + #$skipper++; + #echo $freq; + } + $labels=rtrim($labels,','); + $data=rtrim($data,","); + #$num=150; +?> +