📄 to_user.php
字号:
<?php
include_once( "inc/auth.php" );
include_once( "inc/utility_all.php" );
ob_end_clean( );
$DEPT_LONG_NAME = array( );
$query = "SELECT USER_NAME,DEPT_ID from SMS,USER where BODY_ID='".$BODY_ID."' and USER.USER_ID=SMS.TO_ID and DELETE_FLAG!='2'";
$cursor = exequery( $connection, $query );
while ( $ROW = mysql_fetch_array( $cursor ) )
{
$USER_NAME = $ROW['USER_NAME'];
$DEPT_ID = $ROW['DEPT_ID'];
if ( array_key_exists( $DEPT_ID, $DEPT_LONG_NAME ) )
{
$DEPT_NAME = $DEPT_LONG_NAME[$DEPT_ID];
}
else
{
$DEPT_NAME = dept_long_name( $DEPT_ID );
$DEPT_LONG_NAME[$DEPT_ID] = $DEPT_NAME;
}
$USER_STR .= "<u title=\"".$DEPT_NAME."\">".$USER_NAME."</u>,";
}
echo trim( $USER_STR, "," );
?>
⌨️ 快捷键说明
复制代码
Ctrl + C
搜索代码
Ctrl + F
全屏模式
F11
切换主题
Ctrl + Shift + D
显示快捷键
?
增大字号
Ctrl + =
减小字号
Ctrl + -