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