File manager - Edit - /home/cipherteam/htdocs/cipherteam.in/API/Finance/IPO/bse.php
Back
<?php include_once("simple_html_dom.php"); /* echo '<table border="1">'; echo '<tr>'; echo '<th>Category</th>'; echo '<th>No. of Shares Offered/reserved at</th>'; echo '<th>No. of shares bid for</th>'; echo '<th>No. of Times Subscribed</th>'; echo '</tr>'; foreach($table->find('tr') as $tr) { if($bool) { $bool = false; continue; } echo '<tr>'; echo '<td>'; echo $tr->find('td',0)->plaintext; echo '</td>'; echo '<td>'; echo $tr->find('td',1)->plaintext; echo '</td>'; echo '<td>'; echo $tr->find('td',2)->plaintext; echo '</td>'; echo '<td>'; echo $tr->find('td',3)->plaintext; echo '</td>'; echo '</tr>'; } echo '<table>';*/ ?> <?php $html = file_get_html("https://www.bseindia.com/markets/publicIssues/CummDemandSchedule.aspx?id=5702"); echo $html; /*$div = $html->find('b',0); $table = $html->find('table',1); $bool = true; ?> <html> <head> <title> Subscription - SHAREMARKET IPO</title> <link rel="stylesheet" href="style.css"> <script> $(window).on("load resize ", function() { var scrollWidth = $('.tbl-content').width() - $('.tbl-content table').width(); $('.tbl-header').css({'padding-right':scrollWidth}); }).resize(); </script> </head> <body> <div id="mainDiv"> <section> <h3> <?php echo $name.' Subscription'; ?> </h3> <h4> <?php echo $div->plaintext; ?> </h4> <div class="tbl-header"> <table cellpadding="0" cellspacing="0" border="0"> <thead> <tr> <th>Category</th> <th>No. of Shares Offered/reserved at</th> <th>No. of shares bid for</th> <th>No. of Times Subscribed</th> </tr> </thead> </table> </div> <div class="tbl-content"> <table cellpadding="0" cellspacing="0" border="0"> <tbody> <?php foreach($table->find('tr') as $tr) { if($bool) { $bool = false; continue; } ?> <tr> <td width="30%"> <?php echo $tr->find('td', 0)->plaintext; ?> </td> <td> <?php echo $tr->find('td', 1)->plaintext; ?> </td> <td> <?php echo $tr->find('td', 2)->plaintext; ?> </td> <td> <?php echo $tr->find('td', 3)->plaintext; ?> </td> </tr> <?php } ?> </tbody> </table> </div> </section> <!-- follow me template --> <div class="made-with-love"> Made with <i>♥</i> by <a target="_blank">SHAREMARKET IPO</a> </div> </div> </body> </html> <?php -*/ ?>
| ver. 1.4 |
Github
|
.
| PHP 8.2.9 | Generation time: 0.02 |
proxy
|
phpinfo
|
Settings