<HTML>
<HEAD>
  <TITLE><?php echo $vd['range']; ?>日内商品订单</TITLE>  
  <SCRIPT LANGUAGE="Javascript" SRC="<?php echo $vd['sc']; ?>FusionCharts/FusionCharts.js"></SCRIPT>
  <style type="text/css">
    h1 {FONT-FAMILY:verdana,arial,helvetica,sans-serif;}
  </style>
</HEAD>
<BODY>
  <CENTER>
    <h1><?php echo $vd['range']; ?>日内成功订单图表</h1>
    <div>
      <div id="chart1div">
        FusionCharts
      </div>
    </div>
    <script language="JavaScript">          
      var chart1 = new FusionCharts("<?php echo $vd['sc']; ?>FusionCharts/Column3D.swf", "chart1Id", "650", "350", "0", "1");             
      chart1.setDataXML("<chart><?php foreach($vd['items'] as $k => $v){ ?><set label='<?php echo $k; ?>' value='<?php echo $v; ?>'/><?php } ?></chart>");
      chart1.render("chart1div");
    </script>
    <BR>
    <div><form action="index.php?m=mod_b2b&c=Order&a=Chart" method="post">自定义范围：<input type="text" name="range" style="border:1px #ccc solid;width:150px;padding:1px;height:22px;"><input type="submit" value="提交" style="margin-left:5px;border:1px #ccc solid;padding-top:2px;">(比如查看 10 日内订单数据，就写 10 即可)</form></div>
  </CENTER>
</BODY>
</HTML>

