Ignore:
Timestamp:
Apr 9, 2016, 7:29:00 AM (8 years ago)
Author:
ddtddt
Message:

[extensions] - user_custom_fields - save works copy - public profil

File:
1 edited

Legend:

Unmodified
Added
Removed
  • extensions/user_custom_fields/include/function.inc.php

    r31534 r31541  
    2727}
    2828
     29function data_info_user($id_user=null,$id_ucf=NULL){
     30$query = '
     31    SELECT data
     32    FROM ' . UCFD_TABLE;
     33    $wa='WHERE';
     34    if($id_user!=null){
     35        $query .=' '.$wa.' id_user='.$id_user;$wa='AND';
     36    }
     37    if($id_ucf!=null){
     38        $query .=' '.$wa.' id_ucf='.$id_ucf;$wa='AND';
     39    }
     40$query .= ';';
     41return pwg_query($query);
     42}
     43
     44
    2945/*Admin*/
    3046function tab_user_custom_fields($id_ucf=NULL){
Note: See TracChangeset for help on using the changeset viewer.