F 7 & Grid - CHAT & CMS

Exmple




Login admin:


Login user:


F 7 & Grid - CHAT & CMS is mini CMS with admin panel, login function, register, simple chat, search and contact.
This is example certain functions from Function 7 in admin panel.

Functions we can use form Function 7 in admin panel:


It is used by first creating a database in PHPMyAdmin and pasting the previously copied database. Then place the folder in the web server folder and run it at the address as an example LOCALHOST and use it.


CREATE TABLE `chat` (
`c_id` int(20) NOT NULL,
`user` varchar(200) NOT NULL,
`msg` text NOT NULL,
`c_date` timestamp NOT NULL DEFAULT CURRENT_TIMESTAMP ON UPDATE CURRENT_TIMESTAMP
) ENGINE=InnoDB DEFAULT CHARSET=latin1;
CREATE TABLE `contact` (
`e_id` int(20) NOT NULL,
`e_fname` varchar(200) NOT NULL,
`e_email` varchar(200) NOT NULL,
`e_msg` text NOT NULL,
`e_date` timestamp NOT NULL DEFAULT CURRENT_TIMESTAMP ON UPDATE CURRENT_TIMESTAMP
) ENGINE=InnoDB DEFAULT CHARSET=latin1;
CREATE TABLE `user` (
`user_id` int(20) NOT NULL,
`first_name` varchar(200) NOT NULL,
`last_name` varchar(200) NOT NULL,
`email` varchar(200) NOT NULL,
`user` varchar(200) NOT NULL,
`password` varchar(200) NOT NULL,
`role` varchar(200) NOT NULL,
`date` timestamp NOT NULL DEFAULT CURRENT_TIMESTAMP ON UPDATE CURRENT_TIMESTAMP
) ENGINE=InnoDB DEFAULT CHARSET=latin1;
ALTER TABLE `chat`
ADD PRIMARY KEY (`c_id`);
ALTER TABLE `contact`
ADD PRIMARY KEY (`e_id`);
ALTER TABLE `user`
ADD PRIMARY KEY (`user_id`);
ALTER TABLE `chat`
MODIFY `c_id` int(20) NOT NULL AUTO_INCREMENT, AUTO_INCREMENT=5;
ALTER TABLE `contact`
MODIFY `e_id` int(20) NOT NULL AUTO_INCREMENT, AUTO_INCREMENT=2;
ALTER TABLE `user`
MODIFY `user_id` int(20) NOT NULL AUTO_INCREMENT, AUTO_INCREMENT=4;


Download on github



Sum download: 1

WE USE COOKIES Introduction. BeSafe works to protect your privacy when you use our services.

More Info