Defines the global variable $ *** to store the Login User ID
Display related menus and sub-menu items based on the permissions corresponding to the user ID (Display Technology of block code added through conditional judgment)
Echo <info <Div style = "padding: 0 50px"> <p> ...... </P> </div> Info;
Relevant information is displayed based on the user ID variable during writing and viewing.
Display
Write
By default, the system administrator sends emails to users. When sending and replying, the sender is his/her by default.
Writing format
The content of a letter includes the title, body, and recipient.
The mail automatically adds the sending time. If the mail can be modified again, the time and reading status must be updated simultaneously.
The buttons for writing a form include submitting and resetting.
Widget
Use panel and form
Reading format
The Mail content includes the title, body, sender, recipient, and sending time.
Problem
How to judge whether a letter has been read or has not been read.
Indicates whether the reading page is successfully loaded Based on the email content.
Send and receive mail management