📄 read_all.php
字号:
<?php
include_once( "inc/auth.php" );
include_once( "inc/utility_all.php" );
$CUR_DATE = date( "Y-m-d", time( ) );
$query = "update NOTIFY set READERS=concat(READERS,'".$LOGIN_USER_ID.",') where not find_in_set('{$LOGIN_USER_ID}',READERS) and (TO_ID='ALL_DEPT' or find_in_set('{$LOGIN_DEPT_ID}',TO_ID)".dept_other_sql( "TO_ID" ).( " or find_in_set('".$LOGIN_USER_PRIV."',PRIV_ID)" ).priv_other_sql( "PRIV_ID" ).( " or find_in_set('".$LOGIN_USER_ID."',USER_ID)) and BEGIN_DATE<='{$CUR_DATE}' and (END_DATE>='{$CUR_DATE}' or END_DATE='0000-00-00') and PUBLISH='1'" );
exequery( $connection, $query );
header( "location:notify.php" );
?>
⌨️ 快捷键说明
复制代码
Ctrl + C
搜索代码
Ctrl + F
全屏模式
F11
切换主题
Ctrl + Shift + D
显示快捷键
?
增大字号
Ctrl + =
减小字号
Ctrl + -