function tnames($name){
return substr_cut($name,3)."****".substr_cut($name,3,1);
}
列表调用
{tnames($t[company])}
内容页调用
{tnames($company)}
以上是以公司名称作为示例,姓名,自定义字段也是一样的用法,只要是中文就行了。
function tnames($name){
return substr_cut($name,3)."****".substr_cut($name,3,1);
}
列表调用
{tnames($t[company])}
内容页调用
{tnames($company)}
以上是以公司名称作为示例,姓名,自定义字段也是一样的用法,只要是中文就行了。