Call description of the PC label of the link module
Module name: Link
Available operations provided by the module
| Operation name |
Description |
| Type_list |
Get Link List |
Get the Link List (type_list ):
Available parameters:
| Parameter Name |
Required? |
Default Value |
Description |
| Siteid |
Yes |
Null |
Current site ID |
| Linktype |
Yes |
1 |
Display Mode |
| Order |
Yes |
Listorder DESC |
Sorting Method |
| Typeid |
No |
Null |
CATEGORY ID |
Code example:
{PC: link action = "type_list" typeid = "4" siteid = "1" linktype = "1" Order = "listorder DESC" num = "8" return = "pic_link "}
{Loop $ pic_link $ v}
<Li> <a href = "{$ V ['url']}" Title = "{$ V ['name']}" target = "_ blank"> </a> </LI>
{/Loop}
{/PC}
In the above example, all the links with the site Id 1 and Category ID 4 are output.
| Field |
Type |
Null |
Default |
Note |
| ID |
INT (10) |
No |
0 |
Favorite ID |
| Linkid |
INT (10) |
No |
0 |
Friendship link ID |
| Siteid |
Mediumint (8) |
No |
0 |
Site ID |
| Typeid |
Smallint (5) |
No |
|
CATEGORY ID |
| Linktype |
Tinyint (1) |
No |
0 |
Link form |
| Name |
Varchar (50) |
No |
0 |
Website name |
| URL |
Char (255) |
No |
0 |
Website URL |
| Logo |
Varchar (255) |
No |
0 |
Logo address |
| Introduce |
Text (0) |
Yes |
0 |
Website Introduction |
| Username |
Varchar (30) |
Yes |
0 |
Website contact |
| Listorder |
Smallint (5) |
No |
0 |
Sort Value |
| Elite |
Tinyint (1) |
Yes |
0 |
Recommended or not |
| Passed |
Tinyint (1) |
No |
1 |
Approved? |
| Addtime |
INT (10) |
No |
0 |
Time added |