<?php include("auth.php");?>
<?php include("header.php");?>

        <div class="content-body">
            <!-- row -->
			<div class="container-fluid">
            <div class="tradingview-widget-container mt-3 mb-4">
                            <div class="tradingview-widget-container__widget"></div>
                            <script type="text/javascript" src="https://s3.tradingview.com/external-embedding/embed-widget-ticker-tape.js" async>
                                {
                                    "symbols": [
                                        {
                                            "title": "S&P 500",
                                            "proName": "OANDA:SPX500USD"
                                        },
                                        {
                                            "title": "Shanghai Composite",
                                            "proName": "INDEX:XLY0"
                                        },
                                        {
                                            "title": "EUR/USD",
                                            "proName": "FX_IDC:EURUSD"
                                        },
                                        {
                                            "title": "BTC/USD",
                                            "proName": "BITSTAMP:BTCUSD"
                                        },
                                        {
                                            "title": "ETH/USD",
                                            "proName": "BITSTAMP:ETHUSD"
                                        }
                                    ],
                                    "colorTheme": "dark",
                                    "isTransparent": false,
                                    "displayMode": "adaptive",
                                    "locale": "en"
                                }
                            </script>
                        </div>
        
<div class="card-body">
                                <div class="basic-form">
                                    

                                        </div>

</div>

<p>  <?php 
include("dbcon.php");
 $sql="SELECT * FROM user WHERE email='".$_SESSION['email']."'";
                 $result = mysqli_query($db,$sql);
                while ($row = mysqli_fetch_array($result)) 
{
    
    ?></p>
 <h2 style="text-align:center;color:green;"><?php echo $row["message"];?></h2><br>
</div>
</div>
<?php
}
?>
<?php include("footer.php");?>