<?php
	session_start();
	header('content-type:text/html;charset=gb2312');
	include_once 'conn/conn.php';
	$name = $_SESSION['name'];
	$sql = "select * from tb_script where isnew = 0 and accept = '".$name."'";
	$num = $conne->getRowsNum($sql);
	if($num != 0){
		echo '&nbsp;<font color=red>您有'.$num.'个新纸条，请注意查看</font>';
	}else{
		echo '';
	}
?>