[ms-note type=”info”][/ms-note]
[insert_php]
global $current_user;
global $userid;
global $test;
global $test2;
global $code1;
global $code2;
global $code3;
global $code4;
global $result;
global $modtrad_page ;
global $location;
$location =”http://emanet.org/members-datas/”;
$code1 =”code1″;
$code2=”code2″;
$code3=”code3″;
$code4=”code4″;
$test2 = “vide”;
get_currentuserinfo();
global $connect ;
global $modtrad_page;
global $comid;
global $connect;
$connect = mysqli_connect( ’emanetorg.mysql.db’, ’emanetorg’, ‘Xt6PsTNdS2′, ’emanetorg’ ) or die ( “Connexion au serveur sql impossible” );
$control = $_SESSION[“cont”];
$usid = $_SESSION[“usid”];
$level = $_SESSION[“level”];
$control = $_SESSION[“cont”];
get_header();
global $current_user;
global $userid;
get_currentuserinfo();
$userid = $current_user->ID;
$connect = mysqli_connect( ’emanetorg.mysql.db’, ’emanetorg’, ‘Xt6PsTNdS2′, ’emanetorg’ ) or die ( “Connexion au serveur sql impossible” );
$req222 = mysqli_query( $connect, “SELECT userid FROM SaveContactForm7_4 WHERE userid = ‘$userid'” ) or die( ‘Erreur SQL84zz !’ . mysqli_error() );
while ( $res222 = mysqli_fetch_array( $req222 ) ) {
$result = $res222[userid];
}
if ($result != $userid){
$display2 = ‘Please fill up your free acreditation‘ ;
echo $display2 ;
} else {
$userid = $current_user->ID;
$email_doc = $current_user->user_email;
$req = mysqli_query( $connect, “SELECT created_on,first_name,last_name, gender, website,occupation,otheroccupation,enrolement,active,otheractivity,specialisation, specificcompetence,research,language,language2,language3,address,city,zip,country,phone,consulted,eu_projects,repres_ema,ema_journal,special_interest,address_p,city_p,zip_p,country_p,phone_p,policy,license, accreditation, articles,feedback,statistics,publish,userid,email,other_specialisation,other_specific_competences FROM SaveContactForm7_4 WHERE userid = ‘$userid'” ) or die( ‘Erreur SQL84zz !’ . mysqli_error() );
while ($res = mysqli_fetch_array($req)) {
$first_name = $res[first_name];
$last_name = $res[last_name];
$gender = $res[gender];
$occupation = $res[occupation];
$website = $res[website];
$otheroccupation = $res[otheroccupation];
$enrolement = $res[enrolement];
$active = $res[active];
$otheractivity = $res[otheractivity];
$specialisation = $res[specialisation];
$other_specialisation = $res[other_specialisation];
$specificcompetence = $res[specificcompetence];
$other_specific_competences = $res[other_specific_competences ];
$research = $res[research];
$special_interest = $res[special_interest];
$language = $res[language];
$language2 = $res[language2];
$language3 = $res[language3];
$address = $res[address];
$city = $res[city];
$zip = $res[zip];
$country = $res[country];
$phone = $res[phone];
$consulted = $res[consulted];
$eu_projects = $res[eu_projects];
$repres_ema = $res[repres_ema];
$ema_journal = $res[ema_journal];
$address_p = $res[address_p];
$city_p = $res[city_p];
$zip_p = $res[zip_p];
$country_p = $res[country_p];
$phone_p = $res[phone_p];
}
$modtrad_page = “
Your infos |
First name : ‘.$first_name.’ |
Last name : ‘.$last_name.’ |
Email : ‘.$email_doc.’ |
Gender : ‘.$gender.’ |
Occupation : ‘.$occupation.’ |
Other occupation : ‘.$otheroccupation.’ |
Nr. of enrollment on the professional register : ‘.$enrolement.’ |
Are you active in : ‘.$active.’ |
Other activity: ‘.$otheractivity.’ |
Specialisation / sub-specialisation : ‘.$specialisation.’ |
Other specialisation : ‘.$other_specialisation.’ |
Specific competence : ‘.$specificcompetence.’ |
Other specific competences : ‘.$other_specific_competences.’ |
Research in which you are involved : ‘.$research.’ |
Area of special interest : ( not mentioned above ) : ‘.$special_interest.’ |
Languages 1(your selection) : ‘.$language.’ |
Languages 2(your selection) : ‘.$language2.’ |
Languages 3(your selection) : ‘.$language3.’ |
Do I accept to be consulted?: ‘.$consulted.’ |
Location : |
Address : ‘.$address.’ |
City : ‘.$city.’ |
Post code : ‘.$zip.’ |
Country : ‘ . $country . ‘ |
Phone : ‘.$phone.’ |
I agree to be consulted for the professional opinions : ‘.$consulted.’ |
I am interested in participating in European projects : ‘.$eu_projects.’ |
I am interested in representing the EMA in national or international conferences : ‘.$repres_ema.’ |
I would like to receive EPMA journal : ‘.$ema_journal.’ |
For internal use only |
Private Address : ‘.$address_p.’ |
Town : ‘.$city_p.’ |
Post code : ‘.$zip_p.’ |
Country : ‘.$country_p.’ |
Phone : ‘.$phone_p.’ |
“;
echo $modtrad_page;
}
[/insert_php]