function update_and_supress_output($data) { $cr = new ConfigReader(); $cr->udate_pending_items_count(-count($data)); return true; }
echo "<td class='align-center cursor-pointer' title='Get leechers count'> ? </td>"; echo "<td class='align-center'>" . '<span title="Remove from future list" data-action-type="remove" class="my-list-rm glyphicon glyphicon-remove-circle color-red cursor-pointer"></span>' . "</td>"; echo "</tr>"; } } ?> </tbody> </table> </div> </div> <div id="new_items_counter" data-count="<?php echo $new_items_counter; ?> "> <br> <?php echo $c->udate_pending_items_count($new_items_counter); ?> </div> </body> </html>