To extract the source from the content release management, if you write {$val [' CopyFrom '}, the content is content | Split, and then write.
Example:
<!--News Start -{pc:content action= "lists" catid= "$catid" order= "id ASC" num= "4" moreinfo= "1"} {loop $data $key $val} {PHP list ( $copyfrom) = Explode (' | ', $val [' CopyFrom '])}<!--splitting the source is the source of the author - <Divclass= "Row"> <Divclass= "Col-sm-4"> <imgsrc= "{$val [' Thumb ']}"class= "Img-responsive xm_pic" /> </Div> <Divclass= "Col-sm-8"> <Divclass= "Ry_info"> <h4><spanclass= "RY_SP">News Name:</span>{$val [' title ']}</h4> </Div> <Divclass= "Ry_info"> <spanclass= "RY_SP">News Introduction:</span>{$val [' description ']}</Div> <Divclass= "Ry_info"> <spanclass= "RY_SP"></span>{$copyfrom}<!--Show sources in content publishing - </Div> <Divclass= "Ry_info"> <spanclass= "RY_SP">Time:</span>2016-11-24</Div> </Div> </Div> <HR/>{/loop} {/PC}<!--News End -
December 6 Phpcms The source of content release Management