Sindbad~EG File Manager

Current Path : /home/numerotech/www/mc.purplemail.in/app/views/sub/
Upload File :
Current File : //home/numerotech/www/mc.purplemail.in/app/views/sub/upload.blade.php

@extends('bolayout')
@section('title','Subscribe')
@section('content')
{{ Form::open(array('id'=>'formIndex','url' => 'contacts/upload','method'=>'POST', 'files'=>true)) }}
  <br/>
  <div class="panel panel-default">
      <div class="panel-heading">
        MailChimp - Import Contacts
      </div>
      <div class="panel-body">
        <div class="row">
          <div class="col-lg-6 col-md-6 col-sm-6">
            <div class="form-group">
              
              {{ Form::label('ddlSociety','Society')}}
              {{ Form::label('ddlSociety','*',array('class'=>'reqspan'))}}

              {{ Form::select('ddlSociety',$societies,null,array('id'=>'ddlSociety','class' => 'ddlSociety form-control input-md')) }}
            </div>
          </div>
          <div class="col-lg-6 col-md-6 col-sm-6">
            <div class="form-group">
            <label>Country</label>
            {{ Form::select('ddlCountry',$countries,null,array('id'=>'ddlCountry','class' => 'ddlCountry form-control input-md')) }}
            </div>
          </div>  
        </div>

        <div class="row">
          <div class="col-lg-6 col-md-6 col-sm-6">
            <div class="form-group">
              <label>State</label>
              {{ Form::select('ddlState',$states,null,array('id'=>'ddlState','class' => 'ddlState form-control input-md')) }}
            </div>
          </div>  
          <div class="col-lg-6 col-md-6 col-sm-6">
            <div class="form-group">
              <label>City</label>
              {{ Form::select('ddlCity',$cities,null,array('id'=>'ddlCity','class' => 'ddlCity form-control input-md')) }}
            </div>
          </div>  
        </div>

        <div class="row">
          <div class="col-lg-6 col-md-6 col-sm-6">
            <div class="form-group">
            <label>Option (Subscribed / Unsubscribed)</label>
              {{ Form::select('ddlSubOption',$suboptions,null,array('id'=>'ddlSubOption','class' => 'ddlSubOption form-control input-md')) }}
            </div>
          </div>
          <div class="col-lg-6 col-md-6 col-sm-6">
            <div class="form-group text-left">
              <br/>
              {{ Form::file('file') }} 
            </div>  
          </div>  
        </div>

        <div class="row">
          <div class="col-lg-6 col-md-6 col-sm-6">
            <div class="form-group">
            </div>
          </div>
          <div class="col-lg-6 col-md-6 col-sm-6">
            <div class="form-group text-left">
                <br/>
                {{ Form::submit('Upload Contacts', array('class' => 'btn btn-md btn-warning')) }}
            </div>  
          </div>  
        </div>

        <div class="row">
          <div class="form-group col-md-12">
            <b>Note</b> : The Upload file should be in the following format<br/>
            <b>Email | Name | Mobile ISD Code | Mobile | Address</b><br/>
            test@numerotec.com | Test Name | +91 | 9876543210 | TAMILNADU <br/>
            
          </div>
        </div>

      </div>
  </div>

{{ Form::close()}}
@stop

@section('script')
    <script type="text/javascript">
      /*Select elements*/
      var ddlSociety    = "#ddlSociety";
      var ddlCountry    = "#ddlCountry";
      var ddlState      = "#ddlState";
      var ddlCity       = "#ddlCity";
      var ddlSubOption  = "#ddlSubOption";

      $(function(){
        $(ddlSociety).selectize();
        $(ddlCountry).selectize();
        $(ddlState).selectize();
        $(ddlCity).selectize();
        $(ddlSubOption).selectize();
      });

    </script>
@stop

Sindbad File Manager Version 1.0, Coded By Sindbad EG ~ The Terrorists