<div style="overflow: auto; ">
    <table class="table-condensed" style="margin: 0 auto;">
        <tr>
<!--            <td class=" buttonform tooltip-bottom" id="sspdf" data-toggle="tooltip" data-placement="bottom" title="" data-original-title="Pdf">
                <button id='subpdf' type='submit' name='subpdf' formtarget="_blank" name='pdf' class="btn btn-pad btn-square" style="background-color:white;border: 1px solid red">
                    <i class="fa fa-file-pdf-o" style="color:red; font-size: 15px;"></i>
                </button>
            </td>-->
            <?php if ($tallyflag == 1) { ?>
            <td class=" buttonform tooltip-bottom" id="stally" style="display: <? Echo $savedisabled ?>" data-toggle="tooltip" data-placement="bottom" title="" data-original-title="Tally">
                <button id='tally' type='submit' name='tally' class="btn btn-pad btn-square" style="background-color:#34a853; ">
                    <i class="fa fa-bars" style="color:#ffffff; font-size: 19px;" title="Tally"></i>
                </button>
            </td>
            <?php } ?>
            <?php if ($tally2flag == 1) { ?>
            <td class=" buttonform tooltip-bottom" id="stally2" style="display: <? Echo $savedisabled ?>" data-toggle="tooltip" data-placement="bottom" title="" data-original-title="Tally New">
                <button id='tally2' type='submit' name='tally2' class="btn btn-pad btn-square btn-warning" style="background-color:#34a853; ">
                    <i class="fa fa-bars" style="color:#ffffff; font-size: 19px;" title="Tally"></i>
                </button>
            </td>
            <?php } ?>
            <td class=" buttonform tooltip-bottom" id="sexcel" style="display: <? Echo $savedisabled ?>" data-toggle="tooltip" data-placement="bottom" title="" data-original-title="Excel">
                <button id='excel' type='submit' name='excel' class="btn btn-pad btn-square" style="background-color:#34a853; ">
                    <i class="fa fa-file-excel-o" style="color:#ffffff; font-size: 19px;" title="Excel"></i>
                </button>
            </td>
            <td class=" buttonform tooltip-bottom" id="ssubmit" style="display: <? Echo $savedisabled ?>" data-toggle="tooltip" data-placement="bottom" title="" data-original-title="View">
                <button id='view' type='submit' formtarget="_blank" name='view' class="btn btn-pad btn-square" style="background-color:#05B2EA; ">
                    <i class="fa fa-television" style="color:#ffffff"></i>
                </button>
            </td>
<!--            <td class=" buttonform tooltip-bottom" id="ssubmit" style="display: <? Echo $savedisabled ?>" data-toggle="tooltip" data-placement="bottom" title="" data-original-title="View Chart">
                <button id='graph' type='submit' formtarget="_blank" name='graph' class="btn btn-pad btn-square" style="background-color:red; ">
                    <i class="fa fa-download" style="color:#ffffff"></i>
                </button>
            </td>-->
            <td class=" buttonform tooltip-bottom" id="scancel" style="display: <? Echo $canceldisabled ?>" data-toggle="tooltip" data-placement="bottom" title="" data-original-title="Close">
                <button id='cancel' type="reset" class="btn btn-pad btn-square " style="background-color:red;" onclick="window.location.href = '<?= 'default.php' ?>'">
                    <i class="fa fa-power-off" style="color:#ffffff"></i>
                </button>
            </td>
        </tr>
    </table>
</div>