예제 #1
0
?>

<form>
<!--fieldset>
<legend>日期选择</legend>
起始日期:<input type="text" id="start_date" name="start_date" class="date" value="<?php 
echo $start_date;
?>
" size="10"/>&nbsp;&nbsp;
截止日期:<input type="text" id="end_date" name="end_date" class="date" value="<?php 
echo $end_date;
?>
" size="10"/>&nbsp;&nbsp;
<input type="submit" value="确定" />
</fieldset-->
<div style="width:100%; margin:10px auto; text-align:center;">
<?php 
echo Ofc::getInstance()->create(array('width' => '99%', 'height' => 500, 'data' => urlencode(Url::site('admin/stat/month?save_dir=' . $save_dir . "&stat_date=" . $start_date . '&end_date=' . $end_date))));
?>
</div>
</form>
<?php 
include dirname(dirname(__FILE__)) . '/footer.php';
?>
<script language="javascript" type="text/javascript">


$(document).ready(function() {

});
</script>
예제 #2
0
<?php

include dirname(dirname(__FILE__)) . '/header.php';
?>
<script type="text/javascript" language="javascript" src="/scripts/jquery/jquery-1.3.2.pack.js"></script>
<script type="text/javascript" src="/scripts/dtree.js"></script>
<script type="text/javascript" src="/scripts/jquery/ui/ui.datepicker.min.js"></script>
<script type="text/javascript" src="/scripts/jquery/ui/i18n/ui.datepicker-zh-CN.js"></script>
<link rel="stylesheet" href="/styles/datepicker.css" type="text/css" media="screen" />
<form>

<div style="width:100%; margin:10px auto; text-align:center;">
<?php 
echo Ofc::getInstance()->create(array('width' => '99%', 'height' => 500, 'data' => Url::site('admin/stat/orderday')));
echo Ofc::getInstance()->create(array('width' => '99%', 'height' => 500, 'data' => Url::site('admin/stat/ordermonth')));
?>
</div>
</form>
<?php 
include dirname(dirname(__FILE__)) . '/footer.php';
?>
<script language="javascript" type="text/javascript">


$(document).ready(function() {

});
</script>