<?php
include_once "../inc/getBasic.inc.php";
$_REQUEST['code']=$_REQUEST['code']?$_REQUEST['code']:'ShareHDNum';  #code:sh sz zx cy
$_REQUEST['t_start']=$_REQUEST['t_start']?$_REQUEST['t_start']:'2006-01-01';
$_REQUEST['t_end']=$_REQUEST['t_end']?$_REQUEST['t_end']:'';
$title="指数VS机构持仓";
include_once "../html/head.php";
?>
<form name="main" id="main" method="get"> <div style="width:100%;text-align:center">
指标代码: 
<select name='code' id='code'>
    <option value='ShareHDNum'>持股数-亿股</option>
    <option value='vPosition'>持股金额-亿元</option>
    <option value='VSRatio'>每股单价-元</option>
</select>&nbsp;
<script>
    document.getElementById('code').value='<?=$_REQUEST['code']?>';
</script>
开始时间: <input type='date' name='t_start' id='t_start' width='30px' value='<?=$_REQUEST['t_start']?>' >
结束时间: <input type='date' name='t_end' id='t_end' width='30px' value='<?=$_REQUEST['t_end']?>'>
<input type='submit' value="给我查!">
<div >&nbsp;</div>
<input type='checkbox' id='cb_01' onclick="hideSwitch(this.id,'1')" >  基金
<input type='checkbox' id='cb_02' onclick="hideSwitch(this.id,'2')" checked> QFII 
<input type='checkbox' id='cb_03' onclick="hideSwitch(this.id,'3')" > 社保 
<input type='checkbox' id='cb_04' onclick="hideSwitch(this.id,'4')" > 券商
<input type='checkbox' id='cb_05' onclick="hideSwitch(this.id,'5')" > 保险 
<input type='checkbox' id='cb_06' onclick="hideSwitch(this.id,'6')" > 信托 
</div> </form>
<div >&nbsp;</div>
<!-- https://echart.doorcome.cn/charts/chartThree.php?lx=1&share=vPosition&s=2010-01-01 -->
<div style="width:100%; text-align:center;display:None" id='1'>
<iframe src="https://echart.doorcome.cn/charts/chartThree.php?s=<?=$_REQUEST['t_start']?>&lx=1&share=<?=$_REQUEST['code']?>&e=<?=$_REQUEST['t_end']?>
height="400px" width="1000px"></iframe>
<div >&nbsp;</div>
</div>
<div style="width:100%; text-align:center; display:block;" id='2'>
<iframe src="https://echart.doorcome.cn/charts/chartThree.php?s=<?=$_REQUEST['t_start']?>&lx=2&share=<?=$_REQUEST['code']?>&e=<?=$_REQUEST['t_end']?>
height="400px" width="1000px"></iframe>
<div >&nbsp;</div>
</div>
<div style="width:100%; text-align:center; display:None;" id='3'>
<iframe src="https://echart.doorcome.cn/charts/chartThree.php?s=<?=$_REQUEST['t_start']?>&lx=3&share=<?=$_REQUEST['code']?>&e=<?=$_REQUEST['t_end']?>
height="400px" width="1000px"></iframe>
</div>
<div >&nbsp;</div>
<div style="width:100%; text-align:center; display:None;" id='4'>
<iframe src="https://echart.doorcome.cn/charts/chartThree.php?s=<?=$_REQUEST['t_start']?>&lx=4&share=<?=$_REQUEST['code']?>&e=<?=$_REQUEST['t_end']?>
height="400px" width="1000px"></iframe>
</div>
<div >&nbsp;</div>
<div style="width:100%; text-align:center; display:None;" id='5'>
<iframe src="https://echart.doorcome.cn/charts/chartThree.php?s=<?=$_REQUEST['t_start']?>&lx=5&share=<?=$_REQUEST['code']?>&e=<?=$_REQUEST['t_end']?>
height="400px" width="1000px"></iframe>
</div>
<div >&nbsp;</div>
<div style="width:100%; text-align:center; display:None;" id='6'>
<iframe src="https://echart.doorcome.cn/charts/chartThree.php?s=<?=$_REQUEST['t_start']?>&lx=6&share=<?=$_REQUEST['code']?>&e=<?=$_REQUEST['t_end']?>
height="400px" width="1000px"></iframe>
</div>
<?php include_once "../html/footer.php"; ?>

