<commit_before><?php

include_once('db.php');

$sql = "SELECT * FROM stocks;";
$res = mysqli_query($db, $sql);

?>
<?php date_default_timezone_set("Asia/Kolkata"); ?>
Last updated <?php echo date('d/m/y H:i:s'); ?><br>
<table>
    <tr>
        <th>Stock Name</th>
        <th>Current</th>
        <th>Difference</th>
        <th>% Change</th>
    </tr>
    <tr>
        <td><a href="detail.php#Apple">Apple</a></td>
        <td>INR 3400.00</td>
        <td><span class="not_inverted triangle">&blacktriangle;</span>INR 21.80</td>
        <td>3%</td>
    </tr>
    <?php
    while($ar = mysqli_fetch_array($res)) {
        $name = $ar['name'];
        $current = $ar['current'];
        $difference = $ar['difference'];
        $percentage = $ar['percentage'];
        $string = "<tr>
            <td><a href=\"detail.php#$name\">$name</a></td>
            <td>INR $current</td>
            <td><span class=\"not_inverted triangle\">&blacktriangle;</span>INR $difference</td>
            <td>$percentage%</td>
        </tr>";
        print($string);
    }
    ?>
</table><commit_msg>Removed an unnecessary static table cell from stocktable.php<commit_after><?php

include_once('db.php');

$sql = "SELECT * FROM stocks;";
$res = mysqli_query($db, $sql);

?>
<?php date_default_timezone_set("Asia/Kolkata"); ?>
Last updated <?php echo date('d/m/y H:i:s'); ?><br>
<table>
    <tr>
        <th>Stock Name</th>
        <th>Current</th>
        <th>Difference</th>
        <th>% Change</th>
    </tr>
    <?php
    while($ar = mysqli_fetch_array($res)) {
        $name = $ar['name'];
        $current = $ar['current'];
        $difference = $ar['difference'];
        $percentage = $ar['percentage'];
        $string = "<tr>
            <td><a href=\"detail.php#$name\">$name</a></td>
            <td>INR $current</td>
            <td><span class=\"not_inverted triangle\">&blacktriangle;</span>INR $difference</td>
            <td>$percentage%</td>
        </tr>\n";
        print($string);
    }
    ?>
</table>
{'fraction_non_alphanumeric': 0.21734795613160518, 'fraction_numerical': 0.005483549351944167, 'mean_word_length': 2.5148861646234675, 'pattern_counts': {'":': 0, '<': 79, '<?xml version=': 0, '>': 79, 'https://': 0, 'lorem ipsum': 0, 'www.': 0, 'xml': 0}, 'pii_count': 0, 'substrings_counts': 0, 'word_list_counts': {'cursed_substrings.json': 0, 'profanity_word_list.json': 0, 'sexual_word_list.json': 0, 'zh_pornsignals.json': 0}}
{'dir': 'git-commits-cleaned', 'id': '295645', 'n_tokens_mistral': 732, 'n_tokens_neox': 709, 'n_words': 121}