$value) { if (is_array($value)) { $value = implode(",", $value); } $name = "$" . $key; $code = str_replace($name, $value, $code); } $code = str_replace('$ipaddress', $_SERVER['REMOTE_ADDR'], $code); return $code; } if ($_SERVER['REQUEST_METHOD'] == 'POST' && isset($_POST['formid']) && $_POST['formid'] == 'form1') { $mailto = 'enrollment@artplatformgroup.online'; $mailfrom = isset($_POST['email']) ? $_POST['email'] : $mailto; $mailcc = 'admin@artplatformgroup.online'; $mailbcc = 'alanlong@artplatformgroup.online'; $subject = 'ENROLLMENT APGO'; $message = 'Values submitted from APGO'; $success_url = ''; $error_url = ''; $eol = "\n"; $error = ''; $mail = new PHPMailer(true); try { $subject = ReplaceVariables($subject); $mail->Subject = stripslashes($subject); $mail->From = $mailfrom; $mail->FromName = $mailfrom; $mailto_array = explode(",", $mailto); $mailcc_array = explode(",", $mailcc); $mailbcc_array = explode(",", $mailbcc); for ($i = 0; $i < count($mailto_array); $i++) { if(trim($mailto_array[$i]) != "") { $mail->AddAddress($mailto_array[$i], ""); } } for ($i = 0; $i < count($mailcc_array); $i++) { if(trim($mailcc_array[$i]) != "") { $mail->AddCC($mailcc_array[$i], ""); } } for ($i = 0; $i < count($mailbcc_array); $i++) { if(trim($mailbcc_array[$i]) != "") { $mail->AddBCC($mailbcc_array[$i], ""); } } if (!ValidateEmail($mailfrom)) { $error .= "The specified email address (" . $mailfrom . ") is invalid!\n
"; throw new Exception($error); } $mail->AddReplyTo($mailfrom); $mail->CharSet = 'UTF-8'; if (!empty($_FILES)) { foreach ($_FILES as $key => $value) { if (is_array($_FILES[$key]['name'])) { $count = count($_FILES[$key]['name']); for ($file = 0; $file < $count; $file++) { if ($_FILES[$key]['error'][$file] == 0) { $mail->AddAttachment($_FILES[$key]['tmp_name'][$file], $_FILES[$key]['name'][$file]); } } } else { if ($_FILES[$key]['error'] == 0) { $mail->AddAttachment($_FILES[$key]['tmp_name'], $_FILES[$key]['name']); } } } } $message = ReplaceVariables($message); $message = stripslashes($message); $mail->MsgHTML($message); $mail->IsHTML(true); $mail->Send(); header('Location: '.$success_url); } catch (Exception $e) { $errorcode = file_get_contents($error_url); $replace = "##error##"; $errorcode = str_replace($replace, $e->getMessage(), $errorcode); echo $errorcode; } exit; } ?> Enrollment From
ART PLATFORM GROUP ONLINE  ART PLATFORM GROUP ONLINE
网络世界艺术平台集团网络世界艺术平台集团
点击金色字体可以打开相关课题的页面
TEXTS IN GOLD ARE CLICKABLE FOR MORE INFO
长 期 展 出 报 名 表 格
LONG TERM EXHIBITION ENROLLMENT
请用这表格介绍自己和自己的艺术作品
Please Use This Form To Introduce
Yourself and Your Works of Art
ART PLATFORM GROUP ONLINE
网 络 世 界 艺 术 平 台 集 团
长期展出报名表格
LONG TERM EXHIBITION ENROLLMENT
手机号 Mobile Number :
姓名 Name :
微信号 WeChat :
电邮信箱 Email :
地址 Address :
艺术生涯简介 Artistic Profile :
提取自所储存的文件夹
Please submit personal portrait and a photographs of your most satisfied art pieces, we will contact you after verification
请提供个人相片和1件最满意作品的清晰照片,本平台将联系你
入驻网络世界艺术平台长期参展说明
TEXTS IN GOLD ARE CLICKABLE FOR MORE INFO
Designed by
Powered by
THIS IS A BILINGUAL WEBPAGE