Can any body tell me how to create a admin Login page and connect it with database.

Does any one has code please share it with me.