

<?php $__env->startSection('head_title', trans('buzzycontact.contact').' | '.getenvcong('sitename') ); ?>

<?php $__env->startSection("header"); ?>
    <style>
        .form {
            background: #f6f6f6;
            background: rgba(0, 0, 0, 0.02);
            border: 1px solid #ECECEC;
            border: 1px solid rgba(0, 0, 0, 0.07);
            border-radius: 3px;
            overflow: hidden;
            padding: 35px 35px;
        }

        .form-field{

            margin-bottom: 25px;
        }
       .form-field label{
           display: block;
           font-weight: 600;
           margin-bottom: 6px;
        }
       .form-field p{
              color: #4d4d4d;
              font-size: 11px;
        }

        .inpt input, .inpt textarea{

            background: #fff;
            border-radius: 5px;
            font-size: 20px;
            padding: 10px 15px;
            -webkit-appearance: none;
            display: block;
            width: 100%;
            -webkit-box-sizing: border-box;
            -moz-box-sizing: border-box;
            -ms-box-sizing: border-box;
            -o-box-sizing: border-box;
            box-sizing: border-box;
            border: 1px solid #DDDDDD;
            border: 1px solid rgba(0, 0, 0, 0.13);
            box-shadow: inset 0 1px #E3E3E3;
            box-shadow: inset 0 1px rgba(0, 0, 0, 0.11);
        }

        #recaptcha_challenge_image, #recaptcha_image {
            width: 100%!important;
            height: auto!important;
            -webkit-border-radius: .5em;
            -moz-border-radius: .5em;
            border-radius: .5em;
            -moz-background-clip: padding;
            -webkit-background-clip: padding-box;
            background-clip: padding-box;
            margin-bottom: 5px;
        }
        #recaptcha_widget .options {
            margin-bottom: 10px;
            width: 100%;
            display: inline-block;
        }
        #recaptcha_widget .solution span {
            color: #999;
            display: inline-block;
            margin-bottom: 5px;
        }
        #recaptcha_widget .options a {
            display: block;
            float: left;
            margin-right: 10px;
            font-size: 11px;
            color: #999;
        }
    </style>
<?php $__env->stopSection(); ?>
<?php $__env->startSection("content"); ?>

    <div class="buzz-container">

        <div class="global-container container">
            <div class="content">

<br>
            <h1 style="margin-bottom:10px"><?php echo e(trans('buzzycontact.contact')); ?></h1>

                <?php echo Form::open(array('action' => 'ContactController@create', 'method' => 'POST','class' => 'form','name' => 'contactform', 'enctype' => 'multipart/form-data')); ?>


                    <div class="form-field string  inpt">
                        <label for="subject"><?php echo e(trans('buzzycontact.subject')); ?></label>
                        <?php echo Form::text('subject', null, ['id' => 'subject']); ?>

                    </div>
                    <div class="form-field text  inpt">
                        <label for="description"><?php echo e(trans('buzzycontact.description')); ?></label>
                        <?php echo Form::textarea('text', null, ['id' => 'text', 'style' => 'height:125px']); ?>

                        <p><?php echo e(trans('buzzycontact.descriptioninfo')); ?></p>
                    </div>
                    <div class="form-field string  inpt">
                        <label for="name"><?php echo e(trans('buzzycontact.name')); ?></label>
                        <?php echo Form::text('name', isset(Auth::user()->username) ? Auth::user()->username : null, ['id' => 'name']); ?>

                        <p><?php echo e(trans('buzzycontact.nameinfo')); ?></p>
                    </div>
                    <div class="form-field inpt">
                        <label for="email"><?php echo e(trans('buzzycontact.email')); ?></label>
                        <?php echo Form::text('email', isset(Auth::user()->email) ? Auth::user()->email : null, ['id' => 'email']); ?>

                    </div>

                    <div class="form-field string  inpt">
                        <label for="label"><?php echo e(trans('buzzycontact.label')); ?></label>
                        <?php echo Form::select('label', $labels, ['id' => 'label']); ?>

                        <p><?php echo e(trans('buzzycontact.labelinfo')); ?></p>
                    </div>
                <?php if(getenvcong('BuzzyContactCaptcha')=="on"): ?>
                <div class="form-field inpt">
                    <label><?php echo e(trans('buzzycontact.areyouhuman')); ?></label>
                    <script src='https://www.google.com/recaptcha/api.js'></script>
                    <div class="g-recaptcha" data-sitekey="<?php echo e(getenvcong('reCaptchaKey')); ?>"></div>
                </div>
                <?php endif; ?>

                <?php echo Form::submit(isset($post->id) ? trans('addpost.savec') : trans('buzzycontact.send'), ['class' => 'button button-orange button-full submit-button']); ?>


                <?php echo Form::close(); ?>

            </div>
            <div class="sidebar">

                <div class="ads">
                    <?php echo $__env->make('_particles.ads', ['position' => 'CatSide', 'width' => '300', 'height' => '250'], array_except(get_defined_vars(), array('__data', '__path')))->render(); ?>

                </div>

                <?php echo $__env->make('_sidebar.follow', array_except(get_defined_vars(), array('__data', '__path')))->render(); ?>

          </div>
    </div>
  </div>


<?php $__env->stopSection(); ?>
<?php echo $__env->make("app", array_except(get_defined_vars(), array('__data', '__path')))->render(); ?>