dede限制字段高级会员才能查看出错。。。
<?php<br />require_once(dirname(__FILE__)."/config.php");<br />AjaxHead();<br />if($myurl == '')<br />{<br />exit('');<br />}<br />$uid = $cfg_ml->M_LoginID;<br /><br />!$cfg_ml->fields['face'] && $face = ($cfg_ml->fields['sex'] == '女')? 'dfgirl' : 'dfboy';<br />$facepic = empty($face)? $cfg_ml->fields['face'] : $GLOBALS['cfg_memberurl'].'/templets/images/'.$face.'.png';<br />?><br /><?php require_once(dirname(__FILE__)."/config.php");AjaxHead();if($myurl == ''){ exit('');}$uid = $cfg_ml->M_LoginID;<br />!$cfg_ml->fields['face'] && $face = ($cfg_ml->fields['sex'] == '女')? 'dfgirl' : 'dfboy';$facepic = empty($face)? $cfg_ml->fields['face']<br /> : $GLOBALS['cfg_memberurl'].'/templets/images/'.$face.'.png';<br />?><br /><?php $rank=$cfg_ml->M_Rank; $row = $dsql->GetOne(" Select * From dede_addon17 where aid =$id"); ?><br /><?php if($rank>=200){echo iconv("UTF-8","GB2312","<a onclick='disp_alert()' href=/member/buy.php>您无权查看,请购买</a>");} else{echo $row['dianhua'] ;} ?>