I am in the development of the company OA system. I want to find a 9CBS menu. But there is such code on the Internet. But I am not based on the database, I can't follow the right to manage. I wrote one. I have this. There is only one program file and one Database. There are few files, it is also easy to check. But the features are fully implemented!
Database structure:
Table: Menu ID Parentid, Int, 4 Menuname, Char, 20 Link, Char, 50
Table: Userlevel ID Userid, Int, 4 Menuid, Int, 4
------------------------------------- Serial source file: menulist.asp ------ ---------------------------------------------------------------------------------------------------------------------------------------
<% '------------------------------' 'source business planning company - OA system' module name: Menu for permission controls '-------------------------------'
SET CONN = Server.createObject ("AdoDb.Connection") Conn.Open ("Provider = Microsoft.jet.OleDb.4.0; Data Source =" Server.MAppath ("Tree.mdb") "; Persist Security Info = False ")%>