Use the "module"-"module generation wizard" in the background, and enter the required information.
PS: complaints is the meaning of a "report complaint" message book previously created. It is used as the name of many files and the name of the new data table, so you can replace it.
Note that you must change the name guest_book_pos → complaints_pos In the cookies when modifying the following two files (this is the project change)
File | ../plus/guestbook. php
File | ../plus/guestbook/edit. Inc. php
Installer:
Drop table if exists '##__ complaints'; Create Table '##__ complaints' ('id' mediumint (8) unsigned not null auto_increment, 'title' varchar (60) not null default '', 'tid' mediumint (8) Not null default '0', 'mid 'mediumint (8) unsigned default '0', 'posttime' int (10) unsigned not null default '0', 'uname' varchar (30) not null default '', 'email 'varchar (50) not null default '', 'homepage' varchar (50) N Ot null default '', 'qq' varchar (15) not null default'', 'face' varchar (10) Not null default '', 'IP' varchar (20) not null default '', 'dtime' int (10) unsigned not null default '0', 'ischeck' smallint (6) Not null default '1 ', 'msg 'text null, primary key ('id'), key 'ischeck' ('ischeck') type = MyISAM; delete from '# @__ plus' Where plusname like 'complaint reporting module'; insert into '# @__ plus' ('plusname', 'menustri Ng ', 'mainurl', 'write', 'isshow', 'filelist') values ('report a complaint', '<m: item Name = ''report complaint'' link = ''catalog _ do. PHP? Dopost = complaints ''rank = ''plus _ report complaint ''target = ''main''/> ', '', 'ming group', 1 ,''); delete from '##__ arctype' Where typename = 'reporting complaint 'and ispart = '2'; insert into' ##__ arctype '(Reid, topid, sortrank, typename, typedir, isdefault, defaultname, issend, channeltype, tempindex, templist, temparticle, modname, namerule, namerule2, ispart, corank, description, keywords, moresite, siteurl, sitepath, ishidden, 'Cross ', 'crossid', 'content') values ('0', '0', '000000', 'complaint reporting ',' _ rooturl _/plus/complaints. PHP ', '1', 'Complaints. php', '0', '1', '', 'default','', '', '2', '0 ', '','', '0', '','', '0', '0', '0 ','');
Delete a program:
Drop table if exists '##__ complaints'; delete from '###__ plus' Where plusname = 'report complaint module '; delete from '# @__ arctype' Where typename = 'report a complaint 'and ispart = '2 ';
File List:
../plus/complaints.php../plus/complaints../templets/plus/complaints.htm../templets/plus/complaints-admin.htm../templets/plus/complaints-user.htm
Multiple Dede message books