1. Displays the main database list
Previously, make sure you have written the database on the database menu on the panel.
If you have written the database, just display it on the page you want.
Writing format
[db]Set||Content[/db]
PARAMETER SET:
Parameter set is a function that controls the appearance of the database, the parameter set is separated by commas
Example:
o=u, l=10, s=:to-page:, no=none.
The following is a list of parameter sets that can be filled in the
setformat area
- Set o (order):
o=uOrder based on latest updates beginning
o=ulOrder based on oldest update at earliest
o=nOrder by database name
o=rRandom database ordering
o=hOrder according to most hits at the beginning of
o=hlOrder by least hits at the beginning
o=lcOrder based on last comments beginning
example:o=u,
- Set t (time):
t=dayDisplays today's database
t=weekDisplays the current week database
t=monthDisplays the current month's database
example:o=u,
- Set bid (database divider):
With this function you can create forums, guestbooks, status updates, etc. with the tag database. Thebidfunction is the difference between one database and another.
how to make a bid readable in the tagdatabase form
bid=textDisplays the database based on the bid that has been settext. Clear bid to show database without bidMy databasecan be replaced with anything.
-
Set l (limit):
l=numberdatabase display limit
example:l=10 will display 10 databases
-
Set html (on /off):
html=offdisables applying html code to text %text%
html=onenables applying html code to text %text%
example:l=10 will display 10 databases
-
Set s (initial limit):
s=numbersequence from database beginning
example:s=0 means that the database starts from the main sequence
s=getautomatic page jump based on get link example:s=:to-page:means get-to-thing
-
Set no (text):
no=textThis parameter will appear if the database does not exist
example:no=no database bro
- Set to (show by get to) is used for detail info:
to=numberdisplays database based on database id
example:to=1 will display the database with id 1
to=getdisplays database based on get to and to database can be replaced with
to others, for example:to-id:or:to-bid:it depends on the get to link, for example:to=:to-database:
- Set usr (display by user):
- usr=usernamebased on the user who wrote the database
example:user=eldio will display the database written eldio
usr=getdisplays the database based on get example:usr=:to-user:
- Set search:
search=getshows database search based on get example:search=:to-search:
-
Set db type (display by db type):
db_type=getdisplays databases by category get example:db_type=:to-cat:
- Set v (hit counter):
- v=onenables hits counting
- Set fll (follow):
fll=onenables the database to be visible only to users it follows
CONTENT PARAMETERS
This content parameter will appear. The following is a list of the
content parameters
- %id%Displays the database id
- %token%Morse code token
- %title%Displays the database title
- %text%Display database text
- %text-20%Displays the database text of 20 words, the number 20 can be changed
- %text-no(word)%Filter words, use the | for more than one word example%text-no (dog, fuck)%
- %del%Displays the database deletion link
- %edit%Displays the database edit link
- %edit=siteid%Displays the database edit link, siteid means which page will be directed to after the database is saved eg%edit=1%
- %date%Displays the writing time of the database 12-12-2014 (06:30)
- %date=-%Shows the writing time of the database format 2 hours ago - can be changed)
- %by%Displays the database author
- %comment_count%Displays the number of sub databases
- %hits%Shows the number of hits to the database
- %db_type%Displays a database category
- %urlthumb%Displays the database auto image thumbnail link
- %thumb%Displays database automatic thumbnail images
- %var-value%Displays sample file variables:%var-tags%
example of writing a database list tag:
[db]bid=my database, o=u, l=5, s=:to-page:, no=Nothing || < a href="site-1.html? to-database=%id%" >%title%< /a >
< br />%text-20%..[read more]< br />%comment_count%comment
[/db]
Displays the total number of
databases
[db]l=0, n=0 ||%count%[/db]
2. Sub databases or children from the main database
Is an instance of the main database related to the main database, this sub database must use the id of the main database, usually this code is used to display comments.
Writing format
[db_sub]Set||Content[/db_sub]
PARAMETER SET:
Parameter set is a function that controls the appearance of the database, the parameter set is separated by commas
Example:
o=u, l=10, s=:to-page:, no=none.
The following is a list of parameter sets that can be filled in the
setformat area
- Set to (show by to) required:
to=numberdisplays based on database id
for example:to=1 will display the id 1
to=:to-database:displays by:to-database:and to database can be replaced with
to others for example:to-id:or:to-bid:it depends on your get to link
- Set o (order):
o=uOrder based on latest updates beginning
o=ulOrder based on oldest update at earliest
o=nOrder by name
example:o=u,
- Set l (limit):
l=numberappearance limit
example:l=10 will return 10
- Set s (initial limit):
s=numbersequence beginning
example:s=0 means starting from the main sequence
s=:to-page:automatic page jump by:to-page:and to page can be changed with
to others for example:to-page:it depends on your get to link
- Set no:
no=sentencethis parameter will appear if the database does not exist
example:no=no database bro
CONTENT PARAMETERSthis is what will appear. The following is a list of content parameters
- %name%Displays the author's name
- %text%Display text
- %thumb%Display thumbnails
- %del%Displays the database deletion link
- %edit%Displays the database edit link
- %text-20%Displays 20 words of text, 20 can be changed
- %date%Shows the writing time in the format 12-12-2014 (06:30)
- %date='. $ ftime.'%Displays the write time in
format
example of writing a comment database tag:
[db_sub]to=:to-database:, o=u, l=5, s=:to-page:, no=None || < a href="site-1.html? to-user=%name%" >%name%< /a >
< br />%text%< br />[/db_sub]
3. Database Type
Usually used to create categories from main database related to parameter setting db_type=in main database
Writing format
[db_type]set || content[/db_type]
PARAMETER SET:
- Set bid (database split):
With this function you can create forums, guestbooks, status updates, etc. with the tag database. Thebidfunction is the difference between one database and another.
how to make a bid readable in the tagdatabase form
- bid=textDisplays the database based on the bid that has been settext. Clear bid to show database without bidMy databasecan be replaced with anything.
- no=textthis parameter will appear if the database does not exist
CONTENT PARAMETERS:
- %name%Displays the database type name
- %count%Displays the number of database types
- %last_by%Displays the last author name of the database type
- %ltime_write%Shows the last time you wrote the database
- %ltime_write=time format%Displays the last time the database was written in time format
Example:
[db_type]|| < a href="? To-cat=%name%" >%name%< /a > (%count%) < br />[/db_type]
Shows the sum of all type databases
[db_type]l=0, n=0 ||[/db_type]
4. Database Form
Used to input or enter the database
Writing format
[db_form]set || content[/db_form]
PARAMETER SET:
-
bid=database idmakes the database type useful for multiple databases that can be used for forums, guestbooks, etc. not just one type of database.
can be replaced with any labeln, for example:bid=guestbook
-
ud=destination urlDestination url if the process is successful, leave blank
to go directly to the page itself please leaveudempty
CONTENT PARAMETERS:
- %notify%The process of entering into the database and error warning (required).
By default the right to create databse will be set to admin mode, for other permissions change the notify as shown below
%notify (user)%for registered user permissions
%notify (all)%for all permissions
%notify (admin)%for admin only
- %bid%Bid options (leave the bid parameters blank to enable this)
- %newbid%Make a new bid (leave the bid parameter blank to enable this)
- %title%Displays the title input form
- %text%Displays the text input form
- %db_type%Displays the database input form type
- %var-value%Displays the input form variable file example:%var-tags%
- %submit%Displays a submit button for confirmation (required). for the custom submit button, please enter the sample code%submit=reply%the reply word can be changed as desired
Example:[db_form]bid=my database, u=site-0.html ||%notify%Title:< br />%title%< br /> Text:< br /> %text%< br /> Category:< br />%category%< br />%submit%[/db_form]
5. Form subdatabase
Used to enter or input data on a database derivative or sub database
Writing format[db_sub_form]set || content[/db_sub_form]
PARAMETER SET:
- to=numberdisplays database based on database id
example:to=1 will display a database with id 1
- to=getdisplays the database based on the get example:to=:to-database:
- ud=destination urlDestination url if the process is successful, leave it blank
to go directly to the page itself please leaveudempty
CONTENT PARAMETERS:
- %notify%The process of entering into the database and warning errors (important)
- %name%Displays the input name or user name when logged in
- %text%Displays the text input form
- %submit%Displays a submit button for confirmation (required). for the custom submit button, please enter the sample code%submit=reply%the reply word can be changed as desired
Example:[db_sub_form]bid=my database, u=site-0.html, to=:to-database:||%notify%Text:< br />%text%< br />%submit%[/db_sub_form]
6. Quotes database
Used to create a
forum
Writing format[db_quote]set || content[/db_quote]
PARAMETER SET:
-
to=numberdisplays database based on database id
example:to=1 will display a database with id 1
-
to=getdisplays the database based on get example:to=:to-database:
-
ud=destination urlDestination url if the process is successful, leave blank
to go directly to the page itself please leaveudempty
CONTENT PARAMETERS: