Large diffs are not rendered by default.

@@ -17,94 +17,106 @@
@endsection

@section('title')
<h1 class="text-center"> Sign up for Educator Account</h1>
<h1 class="text-center"> Sign up as Educator </h1>

@endsection
@section('middle')
<div class="row">
<div class="col-sm-12 text-center">
<div class="row ">

<div class="col-md-offset-3 col-md-6 col-sm-6 inner-right-xs inner-bottom-xs">
<form class="form-horizontal" role="form" method="POST"
action="{{ action('Auth\AuthController@postEducatorRegistration') }}">
<input type="hidden" name="_token" value="{{ csrf_token() }}">

<div class="form-group">
<label class="control-label pull-left ">First Name</label>
<span class="pull-left">(required)</span>
{!! Form::text('firstname_en',null,['class'=>'form-control','placeholder'=>'First Name']) !!}
</div>

<div class="form-group">
<label class="control-label pull-left ">Last Name </label>
<span class="pull-left">(required)</span>

{!! Form::text('lastname_en',null,['class'=>'form-control','placeholder'=>'Last Name']) !!}
</div>

<div class="form-group">
<label class="control-label pull-left ">Email </label>
<span class="pull-left">(required)</span>
{!! Form::text('email',null,['class'=>'form-control','placeholder'=>'Email']) !!}
</div>

<div class="form-group">
<label class="control-label pull-left ">Password </label>
<span class="pull-left">(required)</span>
{!! Form::password('password',null,['class'=>'form-control','placeholder'=>'Password']) !!}
</div>

<div class="form-group">
<label class="control-label pull-left ">Confirm Password </label>
<span class="pull-left">(required)</span>
{!! Form::password('password_confirmation',null,['class'=>'form-control','placeholder'=>'Confirm Password']) !!}
</div>

<div class="form-group">
<label class="control-label pull-left ">Level </label>
<span class="pull-left">(required)</span>
{!! Form::select('levels[]', $levels , null , ['class' => 'form-control']) !!}
<small class="pull-left">Choose level you want to teach</small>
</div>

<div class="form-group">
<label class="control-label pull-left ">Subjects </label>
<span class="pull-left">(required)</span>
{!! Form::select('subjects[]', $subjects , null , ['class' => 'form-control select2 multiselect multiselect-inverse', 'multiple'=>'multiple']) !!}
<small class="pull-left">Choose subjects you want to teach. Subject will be added to your profile after admin approval.</small>
</div>

<div class="form-group">
<label class="control-label pull-left ">Qualification</label>
{!! Form::textarea('qualification',null,['class'=>'form-control','placeholder'=>'Address']) !!}
</div>

<div class="form-group">
<label class="control-label pull-left ">Experience</label>
{!! Form::textarea('experience',null,['class'=>'form-control','placeholder'=>'Address']) !!}
</div>

<div class="form-group">
<label class="control-label pull-left ">Address</label>
{!! Form::textarea('address_en',null,['class'=>'form-control','placeholder'=>'Address']) !!}
</div>

<div class="form-group">
<label class="control-label pull-left ">City Name</label>
{!! Form::text('city_en',null,['class'=>'form-control','placeholder'=>'City']) !!}
</div>

<div class="form-group">
<label class="control-label pull-left ">Country</label>
@include('partials._country-dropdown')
</div>

<div class="form-group">
<input type="submit" class="btn btn-green" value="Register"/>
</div>
</form>
<div class="col-md-4 col-sm-12 " style="color:gray">
<h2>Educator Signup Process</h2>
<li>Fill out the Requested Details</li>
<li>Select one level such as : first year University, high school, medium or elementary school</li>
<li>Select one or two subjects of your competence</li><br>
<h2>The Educator can help students in two ways:</h2>
<li>by answering questions raised by students for FREE</li>
<li>by establishing direct contact with the student for further assistance in terms of private, preferably on line paid assistance. The student NP code will appear next to the raised question.</li>
<br>
<span class="pTop10">The objective is to help Students understand their subject by answering urgent questions, by explaining them how to solve problems, by guiding them in exam preparations, etc... Both parties (Educator/Student) can establish the collaboration method which suits them best, either by hourly or by whole semester payments. It is hoped that fees will be very reasonable. Educators fees could be arranged by Visa, Paypal, Safepay or whatever means. The website management could help in this matter. Registration on the No Problem website is FREE for one month. After that a fee of 10 dollars by semester for each subject is requested.</span>
</div>
<div class="col-md-7 col-sm-12 text-center pull-right">
<form class="form-horizontal" role="form" method="POST"
action="{{ action('Auth\AuthController@postEducatorRegistration') }}">
<input type="hidden" name="_token" value="{{ csrf_token() }}">

<div class="form-group">
<label class="control-label pull-left ">First Name</label>
<span class="pull-left">(required)</span>
{!! Form::text('firstname_en',null,['class'=>'form-control','placeholder'=>'First Name']) !!}
</div>

<div class="form-group">
<label class="control-label pull-left ">Last Name </label>
<span class="pull-left">(required)</span>

{!! Form::text('lastname_en',null,['class'=>'form-control','placeholder'=>'Last Name']) !!}
</div>

<div class="form-group">
<label class="control-label pull-left ">Email </label>
<span class="pull-left">(required)</span>
{!! Form::text('email',null,['class'=>'form-control','placeholder'=>'Email']) !!}
</div>

<div class="form-group">
<label class="control-label pull-left ">Password </label>
<span class="pull-left">(required)</span>
{!! Form::password('password',null,['class'=>'form-control','placeholder'=>'Password']) !!}
</div>

<div class="form-group">
<label class="control-label pull-left ">Confirm Password </label>
<span class="pull-left">(required)</span>
{!! Form::password('password_confirmation',null,['class'=>'form-control','placeholder'=>'Confirm Password']) !!}
</div>

<div class="form-group">
<label class="control-label pull-left ">Level </label>
<span class="pull-left">(required)</span>
{!! Form::select('levels[]', $levels , null , ['class' => 'form-control']) !!}
<small class="pull-left">Choose level you want to teach</small>
</div>

<div class="form-group">
<label class="control-label pull-left ">Subjects </label>
<span class="pull-left">(required)</span>
{!! Form::select('subjects[]', $subjects , null , ['class' => 'form-control select2 multiselect multiselect-inverse', 'multiple'=>'multiple']) !!}
<small class="pull-left">Choose subjects you want to teach. Subject will be added to your profile after admin approval.</small>
</div>

<div class="form-group">
<label class="control-label pull-left ">Qualification</label>
{!! Form::textarea('qualification',null,['class'=>'form-control','placeholder'=>'Address']) !!}
</div>

<div class="form-group">
<label class="control-label pull-left ">Experience</label>
{!! Form::textarea('experience',null,['class'=>'form-control','placeholder'=>'Address']) !!}
</div>

<div class="form-group">
<label class="control-label pull-left ">Address</label>
{!! Form::textarea('address_en',null,['class'=>'form-control','placeholder'=>'Address']) !!}
</div>

<div class="form-group">
<label class="control-label pull-left ">City Name</label>
{!! Form::text('city_en',null,['class'=>'form-control','placeholder'=>'City']) !!}
</div>

<div class="form-group">
<label class="control-label pull-left ">Country</label>
@include('partials._country-dropdown')
</div>

<div class="form-group">
<input type="submit" class="btn btn-green" value="Register"/>
</div>
</form>
<a href="{{ action('Auth\AuthController@studentRegistration') }}" >
<div class="btn btn-danger " style="margin-bottom: 20px">
Student Registration
</div>
</div>
</a>
</div>
</div>
@endsection
@@ -31,9 +31,22 @@

<div class="col-md-offset-3 col-md-6 col-sm-6 inner-right-xs inner-bottom-xs">

Don't have an account ? <a href="{{ action('Auth\AuthController@studentRegistration') }}">Register</a>
<br>
<a href="{{ action('Auth\PasswordController@getEmail') }}">Forgot Password</a>
Don't have an account ? <br>
<a href="{{ action('Auth\AuthController@studentRegistration') }}">
<div class="btn btn-danger">
Student Registration
</div>
</a>

<a href="{{ action('Auth\AuthController@educatorRegistration') }}">
<div class="btn btn-danger">
Educator Registration
</div>
</a>

<div class="" style="padding-top:20px">
<a href="{{ action('Auth\PasswordController@getEmail') }}">Forgot Password</a>
</div>
</div>

</div><!-- /.row -->
@@ -1,81 +1,91 @@
@extends('layouts.one_col')
@section('title')
<h1 class="text-center"> Sign up as Student </h1>
<p class="text-center">Sign up for <a href="{{action('Auth\AuthController@educatorRegistration')}}"> Educator Account</a></p>

@endsection
@section('middle')
<div class="row">
<div class="col-sm-12 text-center">

<div class="row">

<div class="col-md-offset-3 col-md-6 col-sm-6 inner-right-xs inner-bottom-xs">
<form class="form-horizontal" role="form" method="POST"
action="{{ action('Auth\AuthController@postStudentRegistration') }}">
<input type="hidden" name="_token" value="{{ csrf_token() }}">

<div class="form-group">
<label class="control-label pull-left ">First Name </label>
<span class="pull-left">(required)</span>
{!! Form::text('firstname_en',null,['class'=>'form-control','placeholder'=>'First Name']) !!}
</div>

<div class="form-group">
<label class="control-label pull-left ">Last Name</label>
<span class="pull-left">(required)</span>
{!! Form::text('lastname_en',null,['class'=>'form-control','placeholder'=>'Last Name']) !!}
</div>
<div class="col-md-4 col-sm-12" style="color:gray">
<h2>Student Signup Process</h2>
<li>Fill out the Requested Details</li>
<li>Select one level: First year University, high school, medium or elementary school</li>
<li>You can get assistance in different subjects. You have to specify the subject when you file a question</li>
<li>Once you have filled out the requested details, press Register. You will receive a message on your Email. Activate the registration. The website will provide you with an ID number</li>
<li>Your personal information will not be visible to others. When you ask a question, Educators will only see the question and your ID number. Educators will enter in contact with you to define a way of collaboration that suits you, either by hourly fees or by other ways</li>
<li>Your question will appear for a week. However, if you get an answer earlier, you can delete your question</li>
<li>Once you have finished, log out</li>
<li>The subscription is FREE for one month. After that a fee of 5 dollars per semester will be requested for each subject</li>
</div>
<div class="col-md-7 col-sm-12 text-center pull-right">
<form class="form-horizontal" role="form" method="POST"
action="{{ action('Auth\AuthController@postStudentRegistration') }}">
<input type="hidden" name="_token" value="{{ csrf_token() }}">

<div class="form-group">
<label class="control-label pull-left ">First Name </label>
<span class="pull-left">(required)</span>
{!! Form::text('firstname_en',null,['class'=>'form-control','placeholder'=>'First Name']) !!}
</div>

<div class="form-group">
<label class="control-label pull-left ">Email</label>
<span class="pull-left">(required)</span>
{!! Form::text('email',null,['class'=>'form-control','placeholder'=>'Email']) !!}
</div>
<div class="form-group">
<label class="control-label pull-left ">Last Name</label>
<span class="pull-left">(required)</span>
{!! Form::text('lastname_en',null,['class'=>'form-control','placeholder'=>'Last Name']) !!}
</div>

<div class="form-group">
<label class="control-label pull-left ">Password</label>
<span class="pull-left">(required)</span>
{!! Form::password('password',null,['class'=>'form-control','placeholder'=>'Password']) !!}
</div>
<div class="form-group">
<label class="control-label pull-left ">Email</label>
<span class="pull-left">(required)</span>
{!! Form::text('email',null,['class'=>'form-control','placeholder'=>'Email']) !!}
</div>

<div class="form-group">
<label class="control-label pull-left ">Confirm Password </label>
<span class="pull-left">(required)</span>
<div class="form-group">
<label class="control-label pull-left ">Password</label>
<span class="pull-left">(required)</span>
{!! Form::password('password',null,['class'=>'form-control','placeholder'=>'Password']) !!}
</div>

{!! Form::password('password_confirmation',null,['class'=>'form-control','placeholder'=>'Confirm Password']) !!}
</div>
<div class="form-group">
<label class="control-label pull-left ">Confirm Password </label>
<span class="pull-left">(required)</span>

<div class="form-group">
<label class="control-label pull-left ">Level </label>
<span class="pull-left">(required)</span>
{!! Form::password('password_confirmation',null,['class'=>'form-control','placeholder'=>'Confirm Password']) !!}
</div>

{!! Form::select('levels[]', $levels , null , ['class' => 'form-control']) !!}
<small class="hint pull-left">Choose your academic level</small>
</div>
<div class="form-group">
<label class="control-label pull-left ">Level </label>
<span class="pull-left">(required)</span>

<div class="form-group">
<label class="control-label pull-left ">Address</label>
{!! Form::textarea('address_en',null,['class'=>'form-control','placeholder'=>'Address']) !!}
</div>
{!! Form::select('levels[]', $levels , null , ['class' => 'form-control']) !!}
<small class="hint pull-left">Choose your academic level</small>
</div>

<div class="form-group">
<label class="control-label pull-left ">City Name</label>
{!! Form::text('city_en',null,['class'=>'form-control','placeholder'=>'City']) !!}
</div>
<div class="form-group">
<label class="control-label pull-left ">Address</label>
{!! Form::textarea('address_en',null,['class'=>'form-control','placeholder'=>'Address']) !!}
</div>

<div class="form-group">
<label class="control-label pull-left ">Country</label>
@include('partials._country-dropdown')
</div>
<div class="form-group">
<label class="control-label pull-left ">City Name</label>
{!! Form::text('city_en',null,['class'=>'form-control','placeholder'=>'City']) !!}
</div>

<div class="form-group">
<input type="submit" class="btn btn-green" value="Register"/>
</div>
<div class="form-group">
<label class="control-label pull-left ">Country</label>
@include('partials._country-dropdown')
</div>

</form>
<div class="form-group">
<input type="submit" class="btn btn-green" value="Register"/>
</div>
</div>

</form>
<a href="{{ action('Auth\AuthController@educatorRegistration') }}" >
<div class="btn btn-danger " style="margin-bottom: 20px">
Educator Registration
</div>
</a>
</div>

</div>
@endsection
@@ -17,12 +17,7 @@
<main>
@include('partials.notifications')
@include('partials.one_page.banner')
@include('partials.one_page.about')
@include('partials.one_page.login')
@include('partials.one_page.register')
@include('partials.one_page.objective')
@include('partials.one_page.subject',['subjects'=>$subjects])
@include('partials.one_page.contact')
@include('partials.one_page.objective',['subjects'=>$subjects])
</main>
@include('partials.footer')
@section('script')
@@ -1,47 +1,60 @@
<section id="home">
<div id="owl-main" class="owl-carousel height-md owl-inner-nav owl-ui-lg" style="opacity:0.7;">

<div class="item img-responsive" style="background-image: url(/images/slider/s1.jpg);">
<div class="container">
<div class="caption vertical-top text-right">
<h1 class="fadeInRight-1 dark-bg light-color"></h1>
<div style="background:url(/images/top-bg.jpg) left top repeat-x; padding-bottom: 20px; ">
<div class="container" >
<div class="col-md-4" style="background-color: white; padding: 20px; height:315px; border-radius: 5px">
<div class="editorial-wrapper">
<div class="btn btn-danger text-center">
<a href="{{ action('BlogController@index') }}" style="color:white">Editorial</a>
</div>
<div class="pTop10" style="font-size: 18px">
This is an editorial post
</div>
</div>
</div>
<div class="col-md-8">
<div id="owl-main" class="owl-carousel height-md owl-inner-nav owl-ui-lg" >

<div class="item img-responsive" style="background-image: url(/images/slider/s2.jpg);">
<div class="container">
<div class="caption vertical-top text-left">
<h1 class="fadeInLeft-1 dark-bg light-color"></h1>
<div class="item img-responsive img-banner" style="background-image: url(/images/slider/s1.jpg);">
<div class="container">
<div class="caption vertical-top text-right">
<h1 class="fadeInRight-1 dark-bg light-color"></h1>
</div>
</div>
</div>
</div>
</div>

<div class="item img-responsive" style="background-image: url(/images/slider/s3.jpg);">
<div class="container">
<div class="caption vertical-top text-center">
<h1 class="fadeInRight-1 dark-bg light-color">
</h1>
<div class="item img-responsive" style="background-image: url(/images/slider/s2.jpg);">
<div class="container">
<div class="caption vertical-top text-left">
<h1 class="fadeInLeft-1 dark-bg light-color"></h1>
</div>
</div>
</div>
</div>
</div>

<div class="item img-responsive" style="background-image: url(/images/slider/s4.jpg);">
<div class="container">
<div class="caption vertical-top text-center">
<h1 class="fadeIn-1 dark-bg light-color"></h1>
<div class="item img-responsive" style="background-image: url(/images/slider/s3.jpg);">
<div class="container">
<div class="caption vertical-top text-center">
<h1 class="fadeInRight-1 dark-bg light-color">
</h1>
</div>
</div>
</div>

<div class="item img-responsive" style="background-image: url(/images/slider/s4.jpg);">
<div class="container">
<div class="caption vertical-top text-center">
<h1 class="fadeIn-1 dark-bg light-color"></h1>
</div>
</div>
</div>
</div>
</div>

<div class="item img-responsive" style="background-image: url(/images/slider/s5.jpg);">
<div class="container">
<div class="caption vertical-top text-center">
<h1 class="fadeIn-1 dark-bg light-color"></h1>
<div class="item img-responsive" style="background-image: url(/images/slider/s5.jpg);">
<div class="container">
<div class="caption vertical-top text-center">
<h1 class="fadeIn-1 dark-bg light-color"></h1>
</div>
</div>
</div>

</div>
</div>

</div>
<!-- /.owl-carousel -->
</section>
</div>
@@ -1,2 +1 @@
@include('partials.nav')

@@ -1,29 +1,35 @@
<section id="objective" style="background: url(/images/bg1.jpg) left top repeat; ">
<div class="container inner">
<div class="row" >
<div class="col-sm-6 col-sm-push-6 inner-left-xs">
<figure><img src="/images/slider/11.jpg" style="height: 450px;opacity: 0.8" ></figure>
<div class="col-md-12">
<h1 style=" font-size: 57.17px; text-align: center;color: #333a40;font-weight: 700;padding: 5px 0;">
Do You Have a Question?
</h1>
</div>
<!-- /.col -->

<div class="col-sm-6 col-sm-pull-6 inner-top-xs inner-right-xs">
<h1 style="margin-top:-20px;color:#ffffff">Our main objective is to </h1>

<h2 style="color:#ffffff"><br>
<ul>
<li><i class="icon-heart"></i> Help Students to understand their courses</li>
<li><i class="icon-heart"></i> Assist them in their homework</li>
<li><i class="icon-heart"></i> Prepare them for their exams</li>
</ul>
<br>
<span>
We do that by establishing direct contact between students and highly qualified teachers under the supervision of University professors having experience in teaching and research.
</span>

</h2>
<div class="col-md-12 text-center">
<h1 style="color: #9d1c1c;font-weight: bold">
Qualified Educators will Answer and Help You
</h1>
</div>
<!-- /.col -->

<div class="row inner-top-sm">
@foreach($subjects as $subject)
<div class="item col-md-4" style="margin-bottom: 20px" >
<a href="{{ action('SubjectController@show',$subject->id) }}">
<div class="subject-icon-info" >
{{ ucfirst($subject->name) }}
</div>
<!-- /.info -->
<div class="" >
<img src="/images/lang/{{strtolower($subject->name)}}.jpg"/>
</div>
</a>
</div>
<!-- /.item -->
@endforeach
<!-- /.owl-carousel -->
</div>
</div>
</div>
</section>
@@ -12,28 +12,21 @@
<!-- /.row -->

<div class="row inner-top-sm">
<div id="owl-latest-works" class="owl-carousel owl-item-gap">

@foreach($subjects as $subject)
<div class="item">
<a href="{{ action('SubjectController@show',$subject->id) }}">
<figure>
<figcaption class="text-overlay">
<div class="info">
<h4>{{ ucfirst($subject->name) }}</h4>
</div>
<!-- /.info -->
</figcaption>
<div class="subject-icon">
<img src="/images/lang/{{strtolower($subject->name)}}.jpg"/>
</div>
</figure>
</a>
</div>
<!-- /.item -->
@endforeach
</div>
<!-- /.owl-carousel -->
@foreach($subjects as $subject)
<div class="item col-md-4" style="margin-bottom: 20px" >
<a href="{{ action('SubjectController@show',$subject->id) }}">
<div class="subject-icon-info" >
{{ ucfirst($subject->name) }}
</div>
<!-- /.info -->
<div class="" >
<img src="/images/lang/{{strtolower($subject->name)}}.jpg"/>
</div>
</a>
</div>
<!-- /.item -->
@endforeach
<!-- /.owl-carousel -->
</div>
<!-- /.row -->