<?php
header("Location: index-2.php");
exit();
?>
<!DOCTYPE html>
<html>
<head>
    <meta http-equiv="Content-Type" content="text/html; charset=UTF-8" />
    <script type="text/javascript" src="/lib/js/jquery-3.6.0.min.js"></script>
    <link href="css/style.css?version=22000" rel="stylesheet" type="text/css">
    <link href="/lib/css/fontawesome-6.4.all.min.css" rel="stylesheet" type="text/css">
    <title>Stock Reference Data</title>
</head>
<?php
$_REQUEST['ts_code']=$_REQUEST['ts_code']?$_REQUEST['ts_code']:'600000';
?>
<body>
<div >&nbsp;</div>
<div style="text-align: center"><h2>Stock Reference Data</h2></div>

<div >&nbsp;</div>
<div style="text-align: center; margin:0 auto; width: 840px;">
<div style="clear:both;position: relative; float:left; text-align:center; margin: 0 auto;width:400px;height: 400px; ">
    <div class="div_block">个股：股票代码: <input type='text' name='ts_code' id='ts_code' size="12" value='<?=$_REQUEST['ts_code']?>' ></div>
    <div class="div_block">个股：<a href="#" onclick="openurl('https://echart.doorcome.cn/charts/stock_trend.php');">股价VS PE/PB/PS 趋势</a></div>
    <div class="div_block">个股：<a href="#" onclick="openurl('https://echart.doorcome.cn/charts/stockep.php');">股价VS EP</a></div>
    <div class="div_block">个股：<a href="#" onclick="openurl('https://echart.doorcome.cn/charts/stockdiv.php');">股价VS 股息率</a></div>
    <div class="div_block">个股：<a href="#" onclick="openurl('https://echart.doorcome.cn/charts/stockmargin.php');">股价VS 融资融券余额</a></div>
    <!--<div class="div_block">个股：<a href="#" onclick="openurl('https://echart.doorcome.cn/hkholdbycode.php');">股价VS 北向资金持股</a></div>-->
    <div class='div_block'>个股：<a href="#" onclick="openurl('https://echart.doorcome.cn/charts/stock_ih.php');">股价VS 机构持仓趋势</a></div>
    <div class='div_block'>个股：<a href="#" onclick="openurl('https://echart.doorcome.cn/charts/stockkeydata.php');">个股基本面数据</a></div>
    <div class='div_block'>指数：<a href="#" onclick="openurl('https://echart.doorcome.cn/charts/index_trend.php');">指数VS PE/PB/PS/市值 趋势</a>
</div>
    <div class='div_block'>指数：<a href="#" onclick="openurl('https://echart.doorcome.cn/charts/index_ih.php');">指数VS 机构持仓趋势</a></div>
    <div class='div_block'>指数：<a href="#" onclick="openurl('https://echart.doorcome.cn/charts/index_mv_all.php');">指数VS 两市总市值</a></div>
    <div class='div_block'>指数：<a href="#" onclick="openurl('https://echart.doorcome.cn/charts/index_margin.php');">指数VS 融资余额</a></div>
    <!--<div class='div_block'>指数：<a href="#" onclick="openurl('https://echart.doorcome.cn/moneyflow.php');">指数VS 沪深港通资金流向</a></div> -->

</div>
<div style="text-align:center; margin: 0 auto;float: left;position: relative;width:400px; ">
   
    <div class='div_block'>房产：<a href="https://echart.doorcome.cn/charts/realestate.php" target='_blank'>房地产挂牌数量趋势(宁波)</a></div>
    <div class='div_block'>房产：<a href="https://echart.doorcome.cn/charts/estateNewTradeDaily.php" target='_blank'>新房每日成交量(宁波)</a></div>
    <div class='div_block'>房产：<a href="https://echart.doorcome.cn/charts/estateTradeDaily.php" target='_blank'>二手房每日成交量(宁波)</a></div>
    <div class='div_block'>房产：<a href="https://echart.doorcome.cn/charts/estateListDaily.php" target='_blank'>二手房每日挂牌量(宁波)</a></div>
</div>
</div>
<div style="clear: both;text-align: center; margin:0 auto; width: 840px;"><a href="index-2.php">首页导航进阶版</a></div>
<?php include_once "html/footer.php"; ?>
<script>
    function openurl(url){
        let ts_code = $("#ts_code").val();
        url = url + '?ts_code='+ ts_code;
        console.log(url);
        window.open(url);
    }
</script>
