Live Training

[insert_php]
error_reporting(0);
global $current_user;
session_start();
$ck = $_SESSION[ck];
$upc=”12$AS()^jnf”;
get_currentuserinfo();
$Useremail= $current_user->user_email;
$Userfirstname= $current_user->user_firstname ;
$Userlastname= $current_user->user_lastname ;
$evreg= “http://vsworld.adobeconnect.com/api/xml?action=event-register&sco-id=1096927293&login=$Useremail&password=$upc&password-verify=$upc&first-name=$Userfirstname&last-name=$Userfirstname&session=$ck”;
$evreg = simplexml_load_file($evreg);
$urllogin=”http://vsworld.adobeconnect.com/api/xml?action=login&login=$Useremail&password=$upc&session=$ck”;
//exit();
$out1234 = simplexml_load_file($urllogin);
$ut=”http://vsworld.adobeconnect.com/r3lf52tuqsv/?session=$ck&launcher=false”;
if($out1234->status[‘code’]==’0k’){
//echo $out1234->status[‘code’];
echo “[dciframe]$ut,100%,900,1,yes,border:1px solid blue;align:left;[/dciframe]”;
}else{
echo “Please contact to administrator”;
}
[/insert_php]