Network Security Internet Technology Development Database Servers Mobile Phone Android Software Apple Software Computer Software News IT Information

In addition to Weibo, there is also WeChat

Please pay attention

WeChat public account

Shulou

How the Imperial cms Movie Model content page calls the player type

2025-02-24 Update From: SLTechnology News&Howtos shulou NAV: SLTechnology News&Howtos > Servers >

Share

Shulou(Shulou.com)06/02 Report--

How does the Imperial cms Movie Model content page call the player type? In view of this problem, this article introduces the corresponding analysis and answers in detail, hoping to help more partners who want to solve this problem to find a more simple and feasible way.

First, display in the form of pictures

1. Add pictures of several players to / skin/xin/v/

① image format is self-defined, for example: add ico format, in: system-system settings-system parameter settings-file settings-background upload file extension-add ico image format

Naming of ② images: named after the player's ID (ID reference: backend-other-download model-related-player management-see the corresponding ID number of the player)

2. Insert the following code in the appropriate place on the content page

Player type:

Note: the file path ① / skin/xin/v/ is customizable.

② [!-- playerid--] .gif is the ID+ image format of the player

Recommended tutorial: Imperial cms

Display in the form of a name

Method 1: call the smart tag

Player type: [/ e:loop] method 2: smart tag double table query-- enewsplayer (player table) and ecms_movie_data_1 (movie model secondary table) [select loop = {"select a.prit." from [! db.pre!] enewsplayer a [! db.pre!] ecms_movie_data_1 b where a.id=b.playerid and b.classidents for $navin for [navin for] 'and b.identicals for $navin for [id]' ", 0J 24 for 0}] player type: [/ e:loop]

Method 3:php call

Welcome to subscribe "Shulou Technology Information " to get latest news, interesting things and hot topics in the IT industry, and controls the hottest and latest Internet news, technology news and IT industry trends.

Views: 0

*The comments in the above article only represent the author's personal views and do not represent the views and positions of this website. If you have more insights, please feel free to contribute and share.

Share To

Servers

Wechat

© 2024 shulou.com SLNews company. All rights reserved.

12
Report