Untitled
Never
$emailError = null; $name = ''; $email = ''; $sessionEmployer = Session::get('employer'); /** @var QuizEmployer $employer */ $employer = QuizEmployer::find($sessionEmployer->id); $limitError = ''; if ($request->isMethod('POST')) { $employerEmail = $employer->user->email; $employerEmailParts = explode('@', $employerEmail); $employerEmailDomain = $employerEmailParts[1]; $additionalDomains = array_map( 'trim', explode("\r\n", $employer->user->additional_allowed_domains) ); $allDomainsAllowed = $employer->user->all_domains_allowed; $allowedDomains = array_merge([$employerEmailDomain], $additionalDomains); $employeeEmail = $request->input('email'); $isEmailExists = QuizEmployee::where('email', '=', $employeeEmail)->count(); if ($employer->isLimitReached() && $isEmailExists == 0) { //$limitError = 'Die Anzahl freier Mitarbeiterlizenzen ist überschritten.' // . ' ' // . 'Bitte wenden Sie sich an Ihren internen Ansprechpartner zum Thema Datenschutz.'; $limitError = Lang::get('texts.You exceed the number of free licenses. Please contact your internal representative for data protection.'); } elseif (($isEmailExists > 0 && $employer->isLimitReached()) || $employeeEmail) { $employeeEmailParts = explode('@', $employeeEmail); $employeeEmailDomain = $employeeEmailParts[1]; if (!$allDomainsAllowed && !\in_array($employeeEmailDomain, $allowedDomains)) { $name = $request->input('name'); $email = $request->input('email'); $emailError = Lang::get('texts.Please enter your business e-mail address. Allowed domain (s):'); $emailError .= '@<strong>'; $emailError .= implode('</strong>, @<strong>', $allowedDomains); $emailError .= '</strong>'; } else { // $quizEmployee = Session::get('employer')->quizEmployee() $quizEmployee = QuizEmployee::firstOrNew([ 'email' => $employeeEmail, ]); if (!$quizEmployee->exists) { $quizEmployee->quiz_employer_id = $employer->id; $quizEmployee->name = $request->input('name'); $quizEmployee->locale = App::getLocale(); } $quizEmployee->save();
Raw Text
-
Adult Telegram Channels
1 min ago
-
LATINA PUSSY SET ON FIRE! - WILD PASSIONATE SEX - INTENSE CHEMISTRY - FEMALE ORGASMS - VERONICA LEAL
4 min ago
-
SDF DS FDS FDS FDS FDSF DS
13 min ago
-
rqwgrqwwtgiqwt
23 min ago
-
dr5drdf ghgdfhgjhg
32 min ago
-
POV - Hardcore MFF threesome with sub sluts Lucette Nice and Kitana Lure
35 min ago
-
sdffdsfdsfsddsf
38 min ago
-
dffds sfddsf fsd dsfsdfsfdfs
39 min ago
-
s fsd fsd fds fds fdsf dsf ds
50 min ago
-
Adult Telegram Channels
52 min ago