コード例 #1
0
ファイル: arc_home_guam.php プロジェクト: jfpearce/arc-tools
<div class="quickstats">
<br/>
<div class="quickstatsheader"><strong>Quick Stats</strong></div>
<br/>
<?php 
require_once 'includes/quick_stats.php';
$ms = new MapSeries();
?>
<img src="http://chart.apis.google.com/chart?chxt=x,y&chxl=0:|1997|1998|1999|2000|2001|2002|2003|2004|1:|0|4|8|12|16&&chco=00aaaa,ff0000,3072F3&cht=lc&chdl=Guam|US&chd=t:<?php 
echo $ms->getMapSeries("1997", "2004", "66", "02", "'01'", 16, "DEL");
?>
|<?php 
echo $ms->getMapSeries("1997", "2004", "00", "01", "'00'", 16, "DEL");
?>
&chls=2.0&chs=450x200&chm=s,000000,0,-1,5|s,000000,1,-1,5&chg=10,25&chf=bg,s,eeeeff&chtt=Unemployment Rates (Not Seasonally Adjusted)" />
<br/><br/>
<?php 
require_once 'includes/labforce.php';
?>
<br/><br/>
<?php 
require_once 'includes/cpi.php';
?>
<br/><br/>
<?php 
require_once 'includes/blding_include.php';
?>
</div>
コード例 #2
0
ファイル: unemp_home.php プロジェクト: jfpearce/arc-tools
<h3>Unemployment Information</h3>
<?php 
require_once 'includes/quick_stats.php';
$ms = new MapSeries();
?>
<img src="http://chart.apis.google.com/chart?chxt=x,y&chxl=0:|2002|2003|2004|2005|2006|2007|2008|2009|1:|0|4|8|12|16&&chco=00aaaa,ff0000,3072F3&cht=lc&chdl=Oregon|US&chd=t:<?php 
echo $ms->getMapSeries("2002", "2009", "41", "01", "'00'", 16, "DEL");
?>
|<?php 
echo $ms->getMapSeries("2002", "2009", "00", "01", "'00'", 16, "DEL");
?>
&chls=2.0&chs=450x200&chm=s,000000,0,-1,5|s,000000,1,-1,5&chg=10,25&chf=bg,s,eeeeff&chtt=Unemployment History (Not Seasonally Adjusted)" />
<?php 
require_once 'includes/labforce.php';
?>
<br/>
<a href="labforce_app.php">Labor Force Information Tool</a>
コード例 #3
0
ファイル: labforce_guam.php プロジェクト: jfpearce/arc-tools
<table border="0" cellspacing="0" width="441">
<tr><th valign="top" align="center" colspan="9" height="40"><span class="quickstatsheader">Unemployment Rates</span><br/>
<span class="small">Not Seasonally Adjusted</span></th></tr>
<tr><td></td>
<?php 
require_once 'quick_stats.php';
$stats = new MapSeries();
$guam = $stats->getMapSeries("1997", "2004", "66", "02", "'01'", 16, "LIST");
$us = $stats->getMapSeries("1997", "2004", "00", "01", "'00'", 16, "LIST");
foreach ($us as $value) {
    echo '<td class="dcell">' . $value['periodyear'] . '</td>';
}
echo '</tr><tr><td align="left"><strong>Guam (1st Qtr)</strong></td>';
foreach ($guam as $value) {
    echo '<td class="dcell">' . $value['unemprate'] . '</td>';
}
echo '</tr><tr><td align="left"><strong>US (Annual)</strong></td>';
foreach ($us as $value) {
    echo '<td class="dcell">' . $value['unemprate'] . '</td>';
}
?>
</tr>
</table>