View file fnc/news/newsst.php
<?php include"../../sys/fnc.php"; $res=$db->query("select * from `news`"); $newsst=$res->num_rows; if($_SESSION['newsst'] != $newsst){echo'1'; unset($_SESSION['newsst']); $_SESSION['newsst']=$newsst;}else{echo'0';} $res->close(); ?>