phpcms Determine whether there is a picture?
If the thumbnail field is queried in the phpcms tag, use the following code in the loop to determine whether there is a thumbnail
{if $r[thumb]}有图{else}无图{/if}
Introduction to phpcms:
PHPCMS is A website management software. The software adopts modular development and supports multiple classification methods. It can be used to facilitate the design, development and maintenance of personalized websites. It supports many program combinations, can easily realize website platform migration, and can widely meet the needs of websites of various sizes. It has high reliability. It is a software with articles, downloads, pictures, classified information, movies, shopping malls, collection, finance, etc. Excellent website management software that is powerful, easy to use, and scalable with many functions.
PHPCMS was founded in 2005 by Zhong Shenghui (screen name: Dandanfeng), a well-known domestic entrepreneur born in the 1980s. It is a well-known website building tool for webmasters in China. In 2009, PHPCMS founder Zhong Shenghui left PHPCMS and founded CmsTop, a domestic CMS product targeting the media field.
The above is the detailed content of How to determine whether there is a picture in phpcms. For more information, please follow other related articles on the PHP Chinese website!