数据库——用户偏好设置
public function user_preference_change($偏好,$keyf){
foreach($偏好 as $key => $value){
if($value['keyfileld']==$keyf){
return $value['show'];
}
}
return "Y";
}
public function user_preference_获得(){