www.gusucode.com > 通讯设备公司网站程序源码 > 通讯设备公司网站程序源码/member/module/MemberPerson.php

    <?php


function MemberPerson(){

	global $msql,$fsql;

	$coltitle=$GLOBALS["PLUSVARS"]["coltitle"];
	$tempname=$GLOBALS["PLUSVARS"]["tempname"];
	
	$memberid=$_COOKIE["MEMBERID"];

	
	//获取会员资料
	$msql->query("select * from {P}_member where memberid='$memberid'");
	if($msql->next_record()){
		$pname=$msql->f('pname');
		$signature=$msql->f('signature');
		$nowface=$msql->f('nowface');
	}

	if($nowface==""){$nowface="1";}

	$var=array (
		'pname' => $pname, 
		'signature' => $signature, 
		'nowface' => $nowface
	);


	//模版解释
	$Temp=LoadTemp($tempname);
	$str=ShowTplTemp($Temp,$var);

	return $str;

}



?>