gusucode.com > 触摸屏公司网站(英文)网站源码程序 > 触摸屏公司网站(英文)网站源码程序/diy/module/PicText.php

    <?php


function PicText(){


		$coltitle=$GLOBALS["PLUSVARS"]["coltitle"];
		$tempname=$GLOBALS["PLUSVARS"]["tempname"];
		$pic=$GLOBALS["PLUSVARS"]["pic"];
		$piclink=$GLOBALS["PLUSVARS"]["piclink"];
		$text=$GLOBALS["PLUSVARS"]["text"];
		$link=$GLOBALS["PLUSVARS"]["link"];
		$pich=$GLOBALS["PLUSVARS"]["pich"];
		$picw=$GLOBALS["PLUSVARS"]["picw"];
		
		$text=nl2br($text);

		$Temp=LoadTemp($tempname);

		$src=ROOTPATH.$pic;

		$var=array(
			'coltitle' => $coltitle,
			'src' => $src,
			'piclink' => $piclink,
			'text' => $text,
			'pich' => $pich,
			'picw' => $picw,
			'link' => $link,
			);
		
		
		$str=ShowTplTemp($Temp,$var);

		return $str;


}

?>