HEX
Server: Microsoft-IIS/8.5
System: Windows NT YDAWBH120 6.3 build 9600 (Windows Server 2012 R2 Standard Edition) AMD64
User: tentjecom_web (0)
PHP: 7.4.14
Disabled: NONE
Upload Files
File: D:/HostingSpaces/SBogers10/rentman.komma.pro/app/storage/views/40b662472cea3770b81bbdf0e33963c4
<?php /*<?php echo dd(\Session::all()); ?>*/ ?>
<?php echo Form::open(['url' => URL::to(route('trial.process'), [], true), 'id' => 'trialForm', 'class' => 'form']); ?>


<div class="email form-element">
    <?php echo Form::label('email',trans('translations.email')); ?>


    <input id="email" placeholder="Vul je e-mail in" required="required" name="email" type="email" <?php if(!empty($preSet)): ?> value="<?php echo $preSet; ?>" <?php elseif(!empty(Input::old('email'))): ?>value="<?php echo $preSet; ?>" <?php else: ?> value="<?php echo \Session::get('trialform_email', ''); ?>" <?php endif; ?>>
</div>

<div class="company form-element">
    <span class="error <?php echo ($errors->has('company')? 'active' :''); ?>"><?php echo $errors->first('company'); ?></span>
    <?php echo Form::label('company',trans('translations.company')); ?>

    <?php echo Form::text('company', !empty(Input::old('company')) ? Input::old('company') : \Session::get('trialform_company'), ['id' => 'company', 'placeholder'=> trans('translations.companyPlaceholder')]); ?>

</div>

<div class="username form-element">
    <span class="error <?php echo ($errors->has('username')? 'active' :''); ?>"><?php echo $errors->first('username'); ?></span>
    <span class="charCheck"><?php echo \Illuminate\Support\Facades\Lang::get('translations.mustStartWithChar'); ?></span>
    <?php echo Form::label('username',trans('translations.username')); ?>


    <?php if(\Session::has('options') && is_array(\Session::get('options'))): ?>
        <?php echo Form::text('username', !empty(Input::old('username')) ? Input::old('username') : \Session::get('trialform_username'), ['id' => 'username', 'placeholder'=> trans('translations.usernamePlaceholder'), 'autofocus']); ?>

    <?php else: ?>
        <?php echo Form::text('username', !empty(Input::old('username')) ? Input::old('username') : \Session::get('trialform_username'), ['id' => 'username', 'placeholder'=> trans('translations.usernamePlaceholder')]); ?>

    <?php endif; ?>


    <p class="sub-text"><?php echo \Illuminate\Support\Facades\Lang::get('translations.usernameExplanation'); ?></p>
</div>

<?php if(\Session::has('options') && is_array(\Session::get('options'))): ?>
    <div class="in-use">
        <p><?php echo \Illuminate\Support\Facades\Lang::get('translations.usernameInUse'); ?></p>
        <ul class="username-options">
            <?php foreach(\Session::get('options') as $option): ?>
                <li><span><?php echo $option; ?></span></li>
            <?php endforeach; ?>
        </ul>
    </div>
<?php endif; ?>

<div class="name form-element">
    <div class="first_name">
        <span class="error <?php echo ($errors->has('first_name')? 'active' :''); ?>"><?php echo $errors->first('first_name'); ?></span>
        <?php echo Form::label('first_name',trans('translations.first_name')); ?>

        <?php echo Form::text('first_name',!empty(Input::old('first_name')) ? Input::old('first_name') : \Session::get('trialform_first_name'), ['id' => 'first_name', 'placeholder'=> trans('translations.first_namePlaceholder')]); ?>

    </div>
    <div class="last_name">
        <span class="error <?php echo ($errors->has('last_name')? 'active' :''); ?>"><?php echo $errors->first('last_name'); ?></span>
        <?php echo Form::label('last_name',trans('translations.last_name')); ?>

        <?php echo Form::text('last_name', !empty(Input::old('last_name')) ? Input::old('last_name') : \Session::get('trialform_last_name'), ['id' => 'last_name', 'placeholder'=> trans('translations.last_namePlaceholder')]); ?>

    </div>
</div>

<div class="phone form-element">
    <?php echo Form::label('phone',trans('translations.phone')); ?>

    <?php echo Form::text('phone', !empty(Input::old('phone')) ? Input::old('phone') : \Session::get('trialform_phone'), ['id' => 'phone', 'placeholder'=> trans('translations.enterPhone')]); ?>

</div>

<div class="check-box form-element legal">
    <label>
        <input type="checkbox" name="acceptLegal"/>
        <span>
            <?php echo \Illuminate\Support\Facades\Lang::get('translations.trialAgreeLegal', ['link' => '/'.$data->links->terms->route]); ?>
        </span>
    </label>
</div>
<div class="check-box form-element send-mail">
    <label>
        <input type="checkbox" name="acceptMail"/>
        <span>
            <?php echo \Illuminate\Support\Facades\Lang::get('translations.trialAgreeMail'); ?>
        </span>
    </label>
</div>

<div class="trial-packages form-element radio-element">
    <p><?php echo \Illuminate\Support\Facades\Lang::get('translations.trialPackageTitle'); ?></p>

    <?php
    $packages = ['pro', 'lite'];
    ?>

    <div class="packages-wrapper">
        <?php foreach($packages as $package): ?>
            <label class="package <?php echo $package; ?>">

                <span class="tooltip"><?php echo \Illuminate\Support\Facades\Lang::get('translations.packages.'.$package.'.tooltip'); ?></span>
                <span class="title"><?php echo \Illuminate\Support\Facades\Lang::get('translations.packages.'.$package.'.name'); ?></span>

                <?php if(\Input::get('package', 'pro') == $package || (!in_array(\Input::get('package', 'pro'), $packages) && $package == 'pro' )): ?>
                    <?php echo Form::radio('basictype', $package, true); ?>

                <?php else: ?>
                    <?php echo Form::radio('basictype', $package); ?>

                <?php endif; ?>
            </label>
        <?php endforeach; ?>
    </div>

    <a class="link" href="/<?php echo $data->links->pricing->route; ?>#compareTableRow"><?php echo \Illuminate\Support\Facades\Lang::get('translations.moreInfoPackages'); ?></a>
</div>

<div class="voucher form-element <?php if((Input::old('voucher') && Input::old('voucher') != '') || \Input::has('referral') || \Session::has('referral')): ?> show <?php endif; ?>">
    <p class="redeemVoucher"><?php echo \Illuminate\Support\Facades\Lang::get('translations.redeemVoucher'); ?></p>
    <span class="error <?php echo ($errors->has('voucher')? 'active' :''); ?>"><?php echo $errors->first('voucher'); ?></span>
    <?php echo Form::label('voucher',trans('translations.voucher')); ?>

    <?php if(\Session::get('referral')): ?>
        <?php echo Form::text('voucher', \Session::get('referral'), ['id' => 'voucher', 'placeholder'=> trans('translations.voucherPlaceholder')]); ?>

    <?php elseif(\Input::has('referral')): ?>
        <?php \Session::put('referral', \Input::get('referral')) ?>
        <?php echo Form::text('voucher', \Session::get('referral'), ['id' => 'voucher', 'placeholder'=> trans('translations.voucherPlaceholder')]); ?>

    <?php else: ?>
        <?php echo Form::text('voucher', Input::old('voucher'), ['id' => 'voucher', 'placeholder'=> trans('translations.voucherPlaceholder'), 'tabindex' => '-1']); ?>

    <?php endif; ?>
</div>

<div class="submit">
    <p><?php echo \Illuminate\Support\Facades\Lang::get('translations.signUp'); ?></p>
    <?php echo Form::submit(trans('translations.send')); ?>

</div>

<?php echo Form::close(); ?>