get(); $formguid = new formguide(); if($formid) $FORM = $FORMGUIDE[$formid]; if($FORM['enabletime'] && ($FORM['starttime'] > TIME || $FORM['endtime'] < TIME)) showmessage("启用了时间限åˆÓž¼ŒçŽ°åœ¨òq¶æœªåœ¨æ—¶é—´é™åˆ¶å†…", $forward); $allowsendemail = isset($FORM['allowsendemail']) ?$FORM['allowsendemail'] :$M['allowsendemail']; if ($dosubmit) { if(!$M['allowunregsubmit'] && !$_userid) showmessage('不允许匿名提äº?); if(!class_exists('formguide_input')) { require CACHE_MODEL_PATH.'formguide_input.class.php'; } $formguide_input = new formguide_input($formid); if(!class_exists('formguide_update')) { require CACHE_MODEL_PATH.'formguide_update.class.php'; } $formguide_update = new formguide_update($formid, $dataid); $infoinput = $formguide_input->get($info); $formguide_update->update($info); $result = $formguid->add($formid, $infoinput); if(!$result) { showmessage($formguid->msg()); } if ($allowsendemail) { if(!class_exists('formguide_output')) { require CACHE_MODEL_PATH.'formguide_output.class.php'; } $formguide_output = new formguide_output($formid); $info = $formguide_output->get($infoinput); $info['提交旉™—´'] = date('Y-m-d', TIME); $info['用户å?] = username($_userid); $arr_email = explode(',', $FORM['email']); if(!is_array($arr_email) && empty($arr_email)) showmessage('邮äšg为空', $forward); if(!class_exists('sendmail')) { $sendmail = load('sendmail.class.php'); } $title = $forminfos[$k]['name']; $content = tpl_data($mod, 'email'); foreach ($arr_email as $email) { $sendmail->send($email, $title, stripslashes($content), $XTMTD['mail_user']); } } showmessage('提交成功åQæˆ‘司相关äh员会及时与您取得联系åQŒè¯·ä¿æŒè”系方式畅通,谢谢合作!', 'close'); } else { $result = $FORMGUIDE[$formid]; @extract(new_htmlspecialchars($result)); $formname = $name; $template = $FORM['template'] ? $FORM['template'] : 'index'; if($l=="en") { $template = $template."_en"; //$head['title'] = "Product Order"; $catid=92; } else { $head['title'] = $formname; } include template($mod, $template); } ?> 人妻丝袜无码免费专区网站,在线观看片免费人成视频草莓,亚洲高清无码在线 视频