Hongmu Notes
Home Program Notes 2025 Apple cms imitation war tutorials and notes
Program Notes Apple cms

2025 Apple cms imitation war tutorials and notes

2025 Apple cms imitation war tutorials and notes

Second Lesson: Installing Apple CMS

Objectives of this section:

1. Install Apple CMS

Third Lesson: Introduction to the Template Homepage

1. Download the target website page

After verifying that all required pages for the template are functioning correctly

1. Create a folder with a custom name within the `template` directory.

2. Enable our templates in the backend.

3. Place the resource files into the (template) folder.

4. Import template file

Website imitation gadget download

https://wwi.lanzoup.com/iHqCOs7m06d

Document Resource Storage Directory

/template/skin/static/

Programming Tools

notepad++

Replace shortcut key: Ctrl+H
Save shortcut key: Ctrl+S

Lesson 4: Homepage Title, Description, and Keyword Optimization

Home TDK:

<title>{$maccms.site_name}</title>
<meta name="keywords" content="{$maccms.site_keywords}" />
<meta name="description" content="{$maccms.site_description}" />

tabulationTDK:

<title>{$obj.type_title} - {$maccms.site_name}</title>
<meta name="keywords" content="{$obj.type_key}" />
<meta name="description" content="{$obj.type_des}" />

Playback Page TDK:

<title>正在播放【{$obj.vod_name}】 - {$maccms.site_name}</title>
<meta name="keywords" content="{$obj.vod_name}在线收看,{$obj.vod_name}迅雷下载" />
<meta name="description" content="{$obj.vod_name}剧情:{$obj.vod_blurb}" />

Lecture 5: Invoke Navigation

Apple CMS – Calling the Navigation Bar Tag and Navigation Highlight – Hongmu Notes

Lecture 5: Separation Template Navigation Bar

Separate the navigation bar – this does not refer to separating the `<head>` section, but rather to separating the content below the `<body>` section.

Lecture 6: Calling Template Navigation

Navigation Call Reference Code

Apple cms calls the navigation bar label and navigation highlight
https://www.4s5.cn/archives/118.html

Detailed explanation of Apple cms{:maccms:type} calling tag
https://www.4s5.cn/archives/129.html

Non-draggable navigation call:
{maccms:type ids="1,2,3,4,5" order="asc" by="sort" id="vo1" key="key1"}
Section Name: {$vo1.type_name}
Section link: {:mac_url_type($vo1)}
{/maccms:type}

Dropdown navigation call:
{maccms:type ids="1,2,3,4,5" order="asc" by="sort" id="vo1" key="key1"}
Parent section name: {$vo1.type_name}
Parent category link: {:mac_url_type($vo1)}

{maccms:type parent="'.$vo1['type_id'].'" order="asc" by="sort" id="vo2" key="key2"}
Sub-section Name: {$vo2.type_name}
Subsection link: {:mac_url_type($vo2)}
{/maccms:type}

{/maccms:type}

Check whether it corresponds to the current section:
{if $vo1.type_id==$obj.type_id||$vo1.type_id==$obj.type_1.type_id||$vo1.type_id==$obj.parent.type_id}
active
{/if}

sum up:
1. Navigation Judgment {if condition= "Condition"} {/if}
2. We can print the variable output.

Lecture 7: Display the "This Week's Popular Videos" section on the homepage

code

The code to be called is already organized and can be found on the page below.
https://www.4s5.cn/archives/131.html

Lecture 8: Adding links to fields using common functions

Main Code


mac_url_create=""

{$vo.actor|mac_url_create='actor','vod','search'}

Lecture 9: Calling videos using the specified CMS section ID (Apple CMS)

Apple cms specifies the category to call the latest video
https://www.4s5.cn/archives/135.html

Lecture 10: Video Sequence Explanation

Due to a typo, the video sequence is slightly disrupted.

Lecture 11: Calling the Separate Public Sublist Function

Reusing and modifying code is time-consuming; therefore, it's advisable to create a new public file specifically for storing code.

Call Tag:


{include file=""}

Lecture 12: Calling subcategories using the AppleCMS designated category call function

Call Code:


{maccms:type ids="2" order="asc" by="sort" id="vo1"}
    {$key}  序号
    {$vo1.type_id}  编号
    {$vo1.type_name}  名称
    {$vo1.type_en}  拼音
    {$vo1.type_pid}  父分类编号
    {$vo1.type_sort}  排序
    {$vo1.type_title}  SEO标题
    {$vo1.type_key}  SEO关键字
    {$vo1.type_des}  SEO描述
    {:mac_url_type($vo1)}  网址
{maccms:type parent="'.$vo1['type_id'].'" order="asc" by="sort" id="vo2"}
    {$vo2.type_id}  编号
    {$vo2.type_name}  名称
    {$vo2.type_en}  拼音
    {$vo2.type_pid}  父分类编号
    {$vo2.type_sort}  排序
    {$vo2.type_title}  SEO标题
    {$vo2.type_key}  SEO关键字
    {$vo2.type_des}  SEO描述
    {:mac_url_type($vo2)}  网址
{/maccms:type}      
{/maccms:type}

Lecture 13: Using Apple CMS to display the latest TV series, variety shows, and anime content

Refer to the notes for Lesson 12:
https://www.4s5.cn/archives/161.html

Lecture 14: Integrating External Link Building into AppleCMS

Call Code:


{maccms:link num="10" type="font"}
    {$key}  序号
    {$vo.link_id}  编号
    {$vo.link_name}  名称
    {$vo.link_type}  类型
    {$vo.link_logo}  logo
    {$vo.link_url}  网址
{/maccms:link}

Lecture 15: Use the bottom section of the homepage as a public callout area.

1. Create a folder with a custom name within the `template` directory.

2. Enable our templates in the backend.

3. Place the resource files into the (template) folder.

4. Import template file

calling code

{include file="public/footer"}

Lecture 16: Introduction to the Video List Page

Template file not found: vodtype.html

Lesson 17: Introduction of the Public Template Video List

TDK:{include file="public/seotdk"}
Head: {include file= "public/header"}
Bottom: {include file= "public/footer"}

Lecture 18: Using AppleCMS to retrieve all categories

Call Code:


{maccms:type ids="parent" order="asc" by="sort" flag="vod" id="vo1" key="key1"}

<span{if $vo1.type_id==$obj.type_id} class="active"{/if}><a href="{:mac_url_type($vo1)}" title="{$vo1.type_name}">{$vo1.type_name}</a></span>

{maccms:type parent="'.$vo1['type_id'].'" order="asc" by="sort" id="vo2" key="key2"}

<span{if $vo2.type_id==$obj.type_id} class="active"{/if}><a href="{:mac_url_type($vo2)}" title="{$vo2.type_name}">{$vo2.type_name}</a></span>

{/maccms:type}

{/maccms:type}

Lecture 19: Calling the Apple CMS Video List

Code:


{maccms:vod num="调用数量" paging="yes" pageurl="vod/type" order="desc" by="time"}    
    {$key}  序号
    {$vo.vod_id}  编号
    {$vo.vod_name}  名称
    {$vo.vod_en}  拼音
    {$vo.vod_sub}  副标
    {$vo.vod_content}  详情
    {$vo.vod_remarks}  备注
    {$vo.vod_blurb}  简介
    {$vo.vod_letter}  首字母
    {$vo.vod_total}  总集数
    {$vo.vod_serial}  连载数
    {$vo.vod_tv}  电视频道
    {$vo.vod_weekday}  节目周期
    {$vo.vod_version}  资源版本
    {$vo.vod_isend}  完结
    {$vo.vod_author}  作者
    {$vo.vod_jumpurl}  跳转URL
    {$vo.vod_color}  颜色
    {$vo.vod_hits}  人气
    {$vo.vod_hits_day}  日人气
    {$vo.vod_hits_week}  周人气
    {$vo.vod_hits_month}  月人气
    {$vo.vod_up}  顶
    {$vo.vod_down}  踩
    {$vo.vod_time_add}  添加时间
    {$vo.vod_time}  更新时间
    {$vo.vod_level}  推荐
    {$vo.vod_state}  资源类别
    {$vo.vod_pic}  图片
    {$vo.vod_pic_thumb}  缩略图
    {$vo.vod_pic_slide}  幻灯片
    {$vo.vod_tag}  tag
    {$vo.vod_actor}  演员
    {$vo.vod_director}  导演
    {$vo.vod_area}  地区
    {$vo.vod_year}  年份
    {$vo.vod_stint_play}  点播每集所需积分
    {$vo.vod_stint_down}  下载每集所需积分
    {$vo.vod_score}  平均分
    {$vo.vod_score_all}  总评分
    {$vo.vod_score_num}  总评次
    {$vo.vod_duration}  视频时长
    {$vo.vod_play_from}  播放器类型
    {$vo.vod_down_from}  下载器类型
    {:mac_url_vod_detail($vo)}  网址
    {:mac_url_vod_play($vo,1,1)}  播放网址
    {:mac_url_vod_down($vo,1,1)}  下载网址
    {$vo.type.type_id}  分类ID
    {$vo.type.type_id_1}  父分类编号
    {$vo.type.type_name}  分类名称
    {$vo.type.type_en}  分类拼音
    {$vo.type.type_key}  分类SEO关键字
    {$vo.type.type_des}  分类SEO描述
    {$vo.type.type_title}  分类SEO标题
    {:mac_url_type($vo.type)}  分类网址
{/maccms:vod}

Lecture 20: Implementing pagination for the AppleCMS video list

code


{if condition="$__PAGING__.record_total gt 0"}    

{maccms:foreach name="$__PAGING__.page_num" id="num"}
        {if condition="$__PAGING__['page_current'] eq $num"}
        <a class="page_link page_current" href="javascript:;" title="第{$num}页">{$num}</a>
        {else}
        <a class="page_link" href="{$__PAGING__.page_url|mac_url_page=$num}" title="第{$num}页" >{$num}</a>
        {/if}
        {/maccms:foreach}
        
        {$__PAGING__.page_url|mac_url_page=1} 首页 
        {$__PAGING__.page_url|mac_url_page=$__PAGING__.page_prev} 上一页 
        {$__PAGING__.page_url|mac_url_page=$__PAGING__.page_next} 下一页
        {$__PAGING__.page_url|mac_url_page=$__PAGING__.page_total} 尾页 

{else/}

{/if}

Video Code:


 {if condition="$__PAGING__.record_total gt 0"} 
            <ul class="pager">
<li><a href="{$__PAGING__.page_url|mac_url_page=1}">首页</a></li>
<li class="previous"><a href="{$__PAGING__.page_url|mac_url_page=$__PAGING__.page_prev}">«</a></li>
{maccms:foreach name="$__PAGING__.page_num" id="num"}
        {if condition="$__PAGING__['page_current'] eq $num"}
        <li class="active"><a href="javascript:;" title="第{$num}页">{$num}</a></li>
        {else}
        <li><a href="{$__PAGING__.page_url|mac_url_page=$num}" title="第{$num}页">{$num}</a></li>
        {/if}
{/maccms:foreach}
<li class="next"><a href="{$__PAGING__.page_url|mac_url_page=$__PAGING__.page_next}">»</a></li>
<li><a href="{$__PAGING__.page_url|mac_url_page=$__PAGING__.page_total}">尾页</a></li>
            </ul>
{/if}
       

Lecture 21: Apple CMS Video List – Breadcrumb Navigation

Parent column breadcrumbs: Home Movies
Sub-column breadcrumbs: Home Movies Action Movies

Reference code


{if condition="$obj.parent.type_id neq ''"}
{:mac_url_type($obj.parent)}  {$obj.parent.type_name}
{/if}
{:mac_url_type($obj)} {$obj.type_name}

Video Code


<section class="container">
    <div class="alert alert-danger" id="topInfo" data-info="">&nbsp;</div>
    <ul class="breadcrumb">
        <li><a href="/"><i class="icon icon-home"></i>&nbsp;首页</a></li>
        {if condition="$obj.parent.type_id neq ''"}
        <li><a href="{:mac_url_type($obj.parent)} " title="{$obj.parent.type_name}">{$obj.parent.type_name}</a></li>
        {/if}
        <li><a href="{:mac_url_type($obj)} " title="{$obj.type_name}">{$obj.type_name}</a></li>
    </ul>
</section>

Lecture 22: Calling the sorting method for the AppleCMS video list page

Code Organization


最新:{:mac_url_type($obj,['area'=>$param['area'],'lang'=>$param['lang'],'year'=>$param['year'],'level'=>$param['level'],'letter'=>$param['letter'],'state'=>$param['state'],'tag'=>$param['tag'],'class'=>$param['class'],'order'=>$param['order'],'by'=>'time' ],'show')}
判断是否为最新排序:{if condition="$param.by eq '' || $param.by eq 'time'"} active{/if}

人气:{:mac_url_type($obj,['area'=>$param['area'],'lang'=>$param['lang'],'year'=>$param['year'],'level'=>$param['level'],'letter'=>$param['letter'],'state'=>$param['state'],'tag'=>$param['tag'],'class'=>$param['class'],'order'=>$param['order'],'by'=>'hits' ],'show')}
判断是否为人气排序:{if condition="$param.by eq 'hits'"} active{/if}

推荐:{:mac_url_type($obj,['area'=>$param['area'],'lang'=>$param['lang'],'year'=>$param['year'],'level'=>$param['level'],'letter'=>$param['letter'],'state'=>$param['state'],'tag'=>$param['tag'],'class'=>$param['class'],'order'=>$param['order'],'by'=>'level' ],'show')}
判断是否为推荐排序:{if condition="$param.by eq 'level'"} active{/if}

Video Code


  <a href="{:mac_url_type($obj,['area'=>$param['area'],'lang'=>$param['lang'],'year'=>$param['year'],'level'=>$param['level'],'letter'=>$param['letter'],'state'=>$param['state'],'tag'=>$param['tag'],'class'=>$param['class'],'order'=>$param['order'],'by'=>'time' ],'show')}" class="btn btn-danger {if condition="$param.by eq '' || $param.by eq 'time'"} active{/if}">最新</a>
                <a href="{:mac_url_type($obj,['area'=>$param['area'],'lang'=>$param['lang'],'year'=>$param['year'],'level'=>$param['level'],'letter'=>$param['letter'],'state'=>$param['state'],'tag'=>$param['tag'],'class'=>$param['class'],'order'=>$param['order'],'by'=>'hits' ],'show')}" class="btn btn-danger {if condition="$param.by eq 'hits'"} active{/if}">人气</a>
                <a href="{:mac_url_type($obj,['area'=>$param['area'],'lang'=>$param['lang'],'year'=>$param['year'],'level'=>$param['level'],'letter'=>$param['letter'],'state'=>$param['state'],'tag'=>$param['tag'],'class'=>$param['class'],'order'=>$param['order'],'by'=>'level' ],'show')}" class="btn btn-danger {if condition="$param.by eq 'level'"} active{/if}">推荐</a>

Lesson 23: Calling the Age Filtering Function

--------------By Date:--------------


全部:
{:mac_url_type($obj,['area'=>$param['area'],'lang'=>$param['lang'],'year'=>'','level'=>$param['level'],'letter'=>$param['letter'],'state'=>$param['state'],'tag'=>$param['tag'],'class'=>$param['class'],'order'=>$param['order'],'by'=>$param['by'] ],'show')}
全部判断:{if condition="$param['year'] eq ''"} class="active"{/if}

{empty name="$obj.type_extend.year"}
{maccms:foreach name=":explode(',',$obj.parent.type_extend.year)" id="vo2" key="key2"}

HTML样式

{/maccms:foreach}
{else /}
{maccms:foreach name=":explode(',',$obj.type_extend.year)" id="vo2" key="key2"}

HTML样式

{/maccms:foreach}
{/empty}

value:


判断是否为当前:{if condition="$param['year'] eq $vo2"} class="active"{/if}

链接:{:mac_url_type($obj,['area'=>$param['area'],'lang'=>$param['lang'],'year'=>$vo2,'level'=>$param['level'],'letter'=>$param['letter'],'state'=>$param['state'],'tag'=>$param['tag'],'class'=>$param['class'],'order'=>$param['order'],'by'=>$param['by'] ],'show')}

名字:{$vo2}

Lesson 24: Regional Filtering Function Invocation

--------------By Region:--------------


全部:
{:mac_url_type($obj,['area'=>'','lang'=>$param['lang'],'year'=>$param['year'],'level'=>$param['level'],'letter'=>$param['letter'],'state'=>$param['state'],'tag'=>$param['tag'],'class'=>$param['class'],'order'=>$param['order'],'by'=>$param['by'] ],'show')}
全部判断:{if condition="$param['area'] eq ''"} class="active"{/if}

{empty name="$obj.type_extend.area"}
{maccms:foreach name=":explode(',',$obj.parent.type_extend.area)" id="vo2" key="key2"}

HTML样式

{/maccms:foreach}
{else /}
{maccms:foreach name=":explode(',',$obj.type_extend.area)" id="vo2" key="key2"}

HTML样式

{/maccms:foreach}
{/empty}

value:


判断是否为当前:{if condition="$param['area'] eq $vo2"}class="active"{/if}

链接:{:mac_url_type($obj,['area'=>$vo2,'lang'=>$param['lang'],'year'=>$param['year'],'level'=>$param['level'],'letter'=>$param['letter'],'state'=>$param['state'],'tag'=>$param['tag'],'class'=>$param['class'],'order'=>$param['order'],'by'=>$param['by'] ],'show')}

名字:{$vo2}

Lecture 25: Creating an AppleCMS Filter Page

Before making the filtering page, you need to create a jump page. You don’t need to do it, but you need to go to the background to enable the filtering function of Apple CMS.
public/jump.html Jump prompt page template


<!DOCTYPE html>
<html lang="en">
<head>
    <meta charset="utf-8">
    <meta name="viewport" content="width=device-width,initial-scale=1,minimum-scale=1,maximum-scale=1,user-scalable=no">
    <title>系统提示......</title>
    <link rel="stylesheet" href="__STATIC__/css/home.css">
    <style>
        body{background:#F9FAFD;color:#818181;}
    </style>
</head>
<body>
<div class="mac_msg_jump">
    <div class="msg_jump_tit">系统提示...</div>
    <div class="title">亲爱的:</div>
    <div class="text">{$msg}</div>
    <div class="jump">
        页面自动 <a id="href" href="<?php echo($url);?>">跳转</a> 等待时间: <b id="wait"><?php echo($wait);?></b>
    </div>
</div>
<script type="text/javascript">
    (function(){
        var wait = document.getElementById('wait'),
                href = document.getElementById('href').href;
        var interval = setInterval(function(){
            var time = --wait.innerHTML;
            if(time <= 0) {
                location.href = href;
                clearInterval(interval);
            };
        }, 1000);
    })();
</script>
</body>
</html>

The filter page is similar to the video list page

The only thing that needs to be modified is how to call the list page

Lecture 26: Creating the Video Details List Page

Template file does not exist: voddetail.html

Lesson 27: Creating a breadcrumb navigation bar for the AppleCMS video details list page

Video Code


<section class="container">
    <ul class="breadcrumb">
        <li><a href="{$maccms.path}"><i class="icon icon-home"></i>&nbsp;首页</a></li>
        <!--判断是否有父分类存在-->
        {if condition="$obj.type_1.type_id neq '' "}
        <li><a href="{:mac_url_type($obj.type_1)}" title="{$obj.type_1.type_name|mac_filter_html}">{$obj.type_1.type_name|mac_filter_html}</a></li>
        {/if}
        <!--当前分类-->
        <li><a href="{:mac_url_type($obj.type)}" title="{$obj.type.type_name|mac_filter_html}">{$obj.type.type_name|mac_filter_html}</a></li>
        <!--当前视频名字和当前url-->
        <li><a href="{:mac_url_vod_detail($obj)}" title="{$obj.vod_name|mac_filter_html}">{$obj.vod_name|mac_filter_html}</a></li>
    </ul>
</section>

Lecture 28: Creating an AppleCMS Video Details List

Reference code:


图片:{$obj.vod_pic}
标题:{$obj.type_name}
本页地址:{:mac_url_vod_detail($obj)}
类型url:{:mac_url_type($obj.type)}
类型:{$obj.type.type_name|mac_filter_html}
导演:{$obj.vod_director|mac_url_create='director'}
主演:{$obj.vod_actor|mac_url_create='actor'}
年代:{$obj.vod_year|mac_url_create='yaer'}
地区:{$obj.vod_area|mac_url_create='area'}
语言:{$obj.vod_lang|mac_url_create='lang'}
简介:{$obj.vod_content}
上次更新:{$obj.vod_time|date='Y-m-d',###}时间

{$vo.actor|mac_url_create='actor','vod','search'}A string of characters connected with and will generate N search links. The last two parameters can be left blank. The default is to generate vod module search links. An example is creating an actor search link. Supports fields such as actor, director, tag, extended classification, etc.

Lecture 29: Configuring playback sources and invoking episode collections for AppleCMS

1. First import our player
https://wwi.lanzoup.com/imkIsynl4kh

2. Continue to imitate

Code Reference


{maccms:foreach name="obj.vod_play_list" id="vo" key="key"}

序号:{$key}
播放器名字:{$vo.player_info.show}

{maccms:foreach name="vo.urls" id="vo2" key="key"}
播放地址:{:mac_url_vod_play($obj,['sid'=>$vo.sid,'nid'=>$vo2.nid])}
播放名字:{$vo2.name}
{/maccms:foreach}    
                    
{/maccms:foreach}

Lecture 30: Apple CMS – "You May Also Like" feature – Video Call-to-Action

Tag Reference


{maccms:vod num="调用数量" type="current" order="desc" by="rnd"}
公共代码
{/maccms:vod}

Lecture 31: Introduction to the Apple CMS playback page

Template file does not exist: vodplay.html

Introduce the play page, and then replace the public part of the play page with it

Lecture 32: Calling the breadcrumb navigation on the Apple CMS playback page


判断是否有父栏目
{if condition="$obj.type_1.type_id neq '' "}
父栏目的网址
父栏目的名称:{$obj.type_1.type_name}
{/if}

当前页面分类的网址:{:mac_url_type($obj.type)}
当前页面的分类:{$obj.type.type_name}

当前页面的链接:{:mac_url_vod_detail($obj)}
当前页面标题:{$obj.vod_name}

Lesson 33: Invoke Video Playback Window

code used
{$player_data} Play data
{$player_js} Load player

Lesson 34: Playing back the previous and next episodes on the playback page

code

{$obj.player_info.link_next} Next page address. When the last page is the last page, this link will link to the current page.
{$obj.player_info.link_pre} The address of the previous page. On the first page, this link will link to the current page.

Lecture 35: Improvement of the Apple CMS playback page

Apple cms playback page improved

Lecture 35: Creating an AppleCMS Search Page

Production of apple cms search page

pageurl="vod/search"

Sort by wd

Keywords:
{$param.wd}{$param.actor}{$param.director}{$param.area}{$param.lang}{$param.year}{$param.class}

Quantity: {$__PAGING__.record_total}

Lecture 36: Modifying the Search Page Ranking in AppleCMS


最新地址:{:mac_url_search(['wd'=>$param['wd'],'area'=>$param['area'],'lang'=>$param['lang'],'year'=>$param['year'],'level'=>$param['level'],'letter'=>$param['letter'],'state'=>$param['state'],'tag'=>$param['tag'],'class'=>$param['class'],'order'=>$param['order'],'by'=>'time' ],'vod')}

判断是否为最新排序:{if condition="$param.by eq '' || $param.by eq 'time'"} active{/if}
            
人气地址:{:mac_url_search(['wd'=>$param['wd'],'area'=>$param['area'],'lang'=>$param['lang'],'year'=>$param['year'],'level'=>$param['level'],'letter'=>$param['letter'],'state'=>$param['state'],'tag'=>$param['tag'],'class'=>$param['class'],'order'=>$param['order'],'by'=>'hits' ],'vod')}

判断是否为人气排序:{if condition="$param.by eq 'hits'"} active{/if}        

推荐地址:{:mac_url_search(['wd'=>$param['wd'],'area'=>$param['area'],'lang'=>$param['lang'],'year'=>$param['year'],'level'=>$param['level'],'letter'=>$param['letter'],'state'=>$param['state'],'tag'=>$param['tag'],'class'=>$param['class'],'order'=>$param['order'],'by'=>'level' ],'vod')}

判断是否为推荐排序:{if condition="$param.by eq 'level'"} active{/if}

Lesson 37: Creating Search Forms

Search Form Parameter Reference

action="{:mac_url('vod/search')}"
name="wd"

Lecture 38: Completion of Apple CMS clone site creation

Apple cms imitation site ends

ThinkPHP V5.0--a high-performance framework designed for API development: https://www.kancloud.cn/manual/thinkphp5/118003

微信赞赏

WeChat

支付宝赞赏

Alipay

✍️ Author: Hong Mu

webmaster · Thanks for reading, stay tuned for more exciting content

Author homepage View home page →

Related articles

Apple cms commonly used processing functions

Apple cms commonly used processing functions Program Notes Apple cms

Multiple functions are allowed, separated by | {:mac_data_count(0,'all','vod')} Get the total number of videos {:mac_data_count(0,'today','vod')} Get the total number of updated videos today {:mac_data_count(0,'all','art')} Get the total number of articles {:ma…
👁 261

Recommended reading

What is this issue? PHP Fatal error: KFC Crazy Thursday V me 50

What is this issue? PHP Fatal error: KFC Crazy Thursday V me 50 Language Notes PHP

This error message doesn't seem like a valid PHP statement; rather, it appears to be erroneous data or information. It could be due to incorrect data entered at some point, or it might indicate a problem with a particular program or application that has caused this error message to be displayed on the screen. We recommend reviewing your code or the data you've entered again to see if there are any similar issues.
👁 123
(PC + WAP) Life百科 Information – pbootCMS Website Template – 0917

(PC + WAP) Life百科 Information – pbootCMS Website Template – 0917 Practical Collection pbootcms Template

A PbootCMS website template designed for lifestyle encyclopedia content, compatible with both PC and WAP devices. Its clean, information-flow design makes it ideal for sharing lifestyle guides, health tips, and practical advice. This template helps content creators build a dedicated lifestyle information sharing platform. Template Preview | Installation Instructions | Website Backend: /admin.php | Username: admin | Password: admin | Extraction Password: www.4s5.cn | Related Articles: PbootCMS...
👁 61
Government and Public Institution Website Template 1147

Government and Public Institution Website Template 1147 Practical Collection Yiyou template

An EyouCMS website template designed for government agencies and public institutions. Its sophisticated and professional design is ideal for showcasing government transparency initiatives, organizational functions, policies and regulations, as well as news updates. This template helps government entities establish an official online information dissemination platform. Template Display | Installation Instructions | Website Backend: /login.php | Username: admin | Password: admin | Related Articles: Summary of Common Installation Issues for EyouCMS | EyouCMS (Eyo...
👁 56
PHP uses regular expressions to extract image links from an article, then downloads the images locally and replaces the original image links within the article.

PHP uses regular expressions to extract image links from an article, then downloads the images locally and replaces the original image links within the article. Language Notes PHP

In PHP, to extract image links from an article using regular expressions and download the images locally, you can follow these steps: 1. Extract the article text that needs to be processed from the webpage's source code; 2. Use regular expressions to match the image links within the text: `preg_match_all(' <img.+?src=[\"\'](.+?)[\"\']*?>/i', $content, $matches);`
👁 394
(Adaptive Mobile Version) Chef Recruitment Information Publication Website Template – 0918

(Adaptive Mobile Version) Chef Recruitment Information Publication Website Template – 0918 Practical Collection pbootcms Template

A PbootCMS website template designed for publishing chef recruitment announcements, compatible with both PC and WAP devices. Its professional and practical design makes it ideal for catering businesses to post job openings and showcase their corporate profile. This template helps catering industry recruitment platforms attract job seekers and employers online. Template Preview | Installation Instructions | Website Backend: /admin.php | Username: admin | Password: admin | Extraction Password: www.4s5.cn | Related Articles...
👁 38
Responsive Federation of Industry and Commerce Website Template 1148

Responsive Federation of Industry and Commerce Website Template 1148 Practical Collection Yiyou template

This EyouCMS responsive template is ideal for industry and commerce federations as well as various associations. Its professional and sophisticated design effectively showcases an association's functions, member services, industry trends, and corporate profile. It helps industry associations establish an online information exchange platform. Template Display | Installation Instructions | Website Backend: /login.php | Username: admin | Password: admin | Related Articles: Summary of Common Installation Issues for EyouCMS | EyouCMS (EyouC...
👁 56