Server : Apache/2.4.18 (Ubuntu) System : Linux canvaswebdesign 3.13.0-71-generic #114-Ubuntu SMP Tue Dec 1 02:34:22 UTC 2015 x86_64 User : oppastar ( 1041) PHP Version : 7.0.33-0ubuntu0.16.04.15 Disable Function : pcntl_alarm,pcntl_fork,pcntl_waitpid,pcntl_wait,pcntl_wifexited,pcntl_wifstopped,pcntl_wifsignaled,pcntl_wifcontinued,pcntl_wexitstatus,pcntl_wtermsig,pcntl_wstopsig,pcntl_signal,pcntl_signal_dispatch,pcntl_get_last_error,pcntl_strerror,pcntl_sigprocmask,pcntl_sigwaitinfo,pcntl_sigtimedwait,pcntl_exec,pcntl_getpriority,pcntl_setpriority, Directory : /var/www/kanvakanva.com/public_html/application/views/ |
Upload File : |
<?php defined('BASEPATH') OR exit('No direct script access allowed'); ?> <div id="content"> <div class="container ideas-hover"> <div class="title clearfix"> <h2>Wholesale</h2> </div> <div> <p> We believe in building good partnerships across the globe. If you are interested in stocking Kanva products in your store, we would love to hear from you by filling up the form below. </p> </div> <div class="blog_c"> <div class="row"> <div class="col-lg-12 col-md-12 col-sm-12 col-xs-12"> <div class="blog_blk red5 clearfix animated" data-animation="fadeIn"> <div style="text-align: center;margin: 30px 0px 30px 0px;"> <span>Tell us more about yourself and your store :</span> </div> <div class="blog_desc"> <!-- Form Start --> <?php echo form_open('wholesale/send'); ?> <div class="row"> <div class="col-sm-12"> <div class="row"> <div class="col-sm-6"> <!-- input first name --> <div class="left" style="width:125px; float:left; margin-bottom: 16px;"> First Name* </div> <div class="right" style="margin-bottom: 16px;"> <?php $data = array( 'name' => 'first_name', 'id' => 'first_name', 'value' => set_value('first_name'), 'maxlength' => '200', 'size' => '50', 'required' => 'required', 'style' => 'width:60%; height: 30px; border:1px solid #9c989a; color:grey; padding-left:5px;', ); echo form_input($data); ?> <span style="font-size:10px;"><?= form_error('first_name'); ?></span> </div> </div> <div class="col-sm-6"> <!-- input last name --> <div class="left" style="width:125px; float:left; margin-bottom: 16px;"> Last Name* </div> <div class="right" style="margin-bottom: 16px;"> <?php $data = array( 'name' => 'last_name', 'id' => 'last_name', 'value' => set_value('last_name'), 'maxlength' => '200', 'size' => '50', 'required' => 'required', 'style' => 'width:60%; height: 30px; border:1px solid #9c989a; color:grey; padding-left:5px;', ); echo form_input($data); ?> <span style="font-size:10px;"><?= form_error('last_name'); ?></span> </div> </div> </div> </div> <div class="col-sm-12"> <div class="row"> <div class="col-sm-6"> <!-- input email --> <div class="left" style="width:125px; float:left; margin-bottom: 16px;"> Email* </div> <div class="right" style="margin-bottom: 16px;"> <?php $data = array( 'type' => 'email', 'name' => 'email', 'id' => 'email', 'value' => set_value('email'), 'maxlength' => '200', 'size' => '50', 'required' => 'required', 'style' => 'width:60%; height: 30px; border:1px solid #9c989a; color:grey; padding-left:5px;', ); echo form_input($data); ?> <span style="font-size:10px;"><?= form_error('email'); ?></span> </div> </div> <div class="col-sm-6"> <!-- input telephone --> <div class="left" style="width:125px; float:left; margin-bottom: 16px;"> Telephone* </div> <div class="right" style="margin-bottom: 16px;"> <?php $data = array( 'name' => 'telephone', 'id' => 'telephone', 'value' => set_value('telephone'), 'maxlength' => '200', 'size' => '50', 'required' => 'required', 'style' => 'width:60%; height: 30px; border:1px solid #9c989a; color:grey; padding-left:5px;', ); echo form_input($data); ?> <span style="font-size:10px;"><?= form_error('telephone'); ?></span> </div> </div> </div> </div> <div class="col-sm-12"> <div class="row"> <div class="col-sm-6"> <!-- input name of store --> <div class="left" style="width:125px; float:left; margin-bottom: 16px;"> Name of Store* </div> <div class="right" style="margin-bottom: 16px;"> <?php $data = array( 'name' => 'name_of_store', 'id' => 'name_of_store', 'value' => set_value('name_of_store'), 'maxlength' => '200', 'size' => '50', 'required' => 'required', 'style' => 'width:60%; height: 30px; border:1px solid #9c989a; color:grey; padding-left:5px;', ); echo form_input($data); ?> <span style="font-size:10px;"><?= form_error('name_of_store'); ?></span> </div> </div> <div class="col-sm-6"> <!-- input website --> <div class="left" style="width:125px; float:left; margin-bottom: 16px;"> Website* </div> <div class="right" style="margin-bottom: 16px;"> <?php $data = array( 'name' => 'website', 'id' => 'website', 'value' => set_value('website'), 'maxlength' => '200', 'size' => '50', 'required' => 'required', 'style' => 'width:60%; height: 30px; border:1px solid #9c989a; color:grey; padding-left:5px;', ); echo form_input($data); ?> <span style="font-size:10px;"><?= form_error('website'); ?></span> </div> </div> </div> </div> <div class="col-sm-12"> <div class="row"> <div class="col-sm-6"> <!-- input address --> <div class="left" style="width:125px; float:left; margin-bottom: 16px;"> address* </div> <div class="right" style="margin-bottom: 16px;"> <?php $data = array( 'name' => 'address', 'id' => 'address', 'value' => set_value('address'), 'maxlength' => '200', 'size' => '50', 'rows' => '4', 'cols' => '10', 'required' => 'required', 'style' => 'width:60%; border:1px solid #9c989a; color:grey; padding-left:5px;', ); echo form_textarea($data); ?> <span style="font-size:10px;"><?= form_error('address'); ?></span> </div> </div> <div class="col-sm-6"> <!-- input city/state --> <div class="left" style="width:125px; float:left; margin-bottom: 16px;"> City/State* </div> <div class="right" style="margin-bottom: 16px;"> <?php $data = array( 'name' => 'city_state', 'id' => 'city_state', 'value' => set_value('city_state'), 'maxlength' => '200', 'size' => '50', 'required' => 'required', 'style' => 'width:60%; height: 30px; border:1px solid #9c989a; color:grey; padding-left:5px;', ); echo form_input($data); ?> <span style="font-size:10px;"><?= form_error('city_state'); ?></span> </div> <!-- input postal code --> <div class="left" style="width:125px; float:left; margin-bottom: 16px;"> Postal Code* </div> <div class="right" style="margin-bottom: 16px;"> <?php $data = array( 'name' => 'post_code', 'id' => 'post_code', 'value' => set_value('post_code'), 'maxlength' => '200', 'size' => '50', 'required' => 'required', 'style' => 'width:60%; height: 30px; border:1px solid #9c989a; color:grey; padding-left:5px;', ); echo form_input($data); ?> <span style="font-size:10px;"><?= form_error('post_code'); ?></span> </div> </div> </div> </div> <div class="col-sm-12"> <div class="row"> <div class="col-sm-6"> <!-- input country --> <div class="left" style="width:125px; float:left; margin-bottom: 16px;"> Country* </div> <div class="right" style="margin-bottom: 16px;"> <select class="form-control" name="country" style="width: 60%;height:30px;"> <?php foreach($countries as $row){ echo '<option value="'.$row->id_countries.'">'.$row->country.'</option>'; if ($row->id_countries == 84) { echo '<option value="0" selected>'.'Indonesia'.'</option>'; } } ?> </select> </div> <!-- input type of store --> <div class="left" style="width:125px; float:left; margin-bottom: 16px;"> Type of Store* </div> <div class="right" style="margin-bottom: 16px;"> <label> <input type="radio" class="form-radio" name="type_of_store" value="brick_mortar" required> Brick and Mortar</label><br> <label> <input type="radio" class="form-radio" name="type_of_store" value="online_store" required> Online Store</label><br> <label> <input type="radio" class="form-radio" name="type_of_store" value="both_physical-online" style="margin-left: 125px" required> Both Physical and Online</label><br> <label> <input type="radio" class="form-radio" name="type_of_store" value="distributor_enquiry" style="margin-left: 125px" required> Distributor Enquiry</label><br> </div> </div> <div class="col-sm-6"> <!-- input social media --> <div> <b>Social Media</b> </div> <!-- instagram --> <div class="left" style="width:125px; float:left; margin-bottom: 16px;"> Instagram : </div> <div class="right" style="margin-bottom: 16px;"> <?php $data = array( 'name' => 'instagram', 'id' => 'instagram', 'value' => set_value('instagram'), 'maxlength' => '200', 'size' => '50', 'placeholder' => 'E.G. @ka.n.va', 'style' => 'width:60%; height: 30px; border:1px solid #9c989a; color:grey; padding-left:5px;', ); echo form_input($data); ?> <span style="font-size:10px;"><?= form_error('instagram'); ?></span> </div> <!-- facebook --> <div class="left" style="width:125px; float:left; margin-bottom: 16px;"> Facebook : </div> <div class="right" style="margin-bottom: 16px;"> <?php $data = array( 'name' => 'facebook', 'id' => 'facebook', 'value' => set_value('facebook'), 'maxlength' => '200', 'size' => '50', 'placeholder' => 'E.G. fb.com/ka.n.va', 'style' => 'width:60%; height: 30px; border:1px solid #9c989a; color:grey; padding-left:5px;', ); echo form_input($data); ?> <span style="font-size:10px;"><?= form_error('facebook'); ?></span> </div> <div class="left" style="width:125px; float:left; margin-bottom: 16px;"> Others : </div> <div class="right" style="margin-bottom: 16px;"> <?php $data = array( 'name' => 'other_socmed', 'id' => 'other_socmed', 'value' => set_value('other_socmed'), 'maxlength' => '200', 'size' => '50', 'rows' => '4', 'cols' => '10', 'style' => 'width:60%; border:1px solid #9c989a; color:grey; padding-left:5px;', ); echo form_textarea($data); ?> <span style="font-size:10px;"><?= form_error('other_socmed'); ?></span> </div> </div> </div> </div> <div class="col-sm-12"> <!-- input products interest in --> <div class="left" style="width:125px; float:left; margin-bottom: 16px;"> Products Interest in* </div> <div class="right" style="margin-bottom: 16px;"> <?php $data = array( 'name' => 'products_interest', 'id' => 'products_interest', 'value' => set_value('products_interest'), 'maxlength' => '200', 'size' => '50', 'rows' => '3', 'cols' => '10', 'placeholder' => 'E.G.,Everything..', 'required' => 'required', 'style' => 'width:80.6%; border:1px solid #9c989a; color:grey; padding-left:5px;', ); echo form_textarea($data); ?> <span style="font-size:10px;"><?= form_error('products_interest'); ?></span> </div> </div> <div class="col-sm-12"> <!-- input say hello --> <div class="left" style="width:125px; float:left; margin-bottom: 16px;"> Say Hello </div> <div class="right" style="margin-bottom: 16px;"> <?php $data = array( 'name' => 'say_hello', 'id' => 'say_hello', 'value' => set_value('say_hello'), 'maxlength' => '200', 'size' => '50', 'rows' => '4', 'cols' => '10', 'style' => 'width:80.6%; border:1px solid #9c989a; color:grey; padding-left:5px;', ); echo form_textarea($data); ?> <span style="font-size:10px;"><?= form_error('say_hello'); ?></span> </div> </div> <div class="col-sm-12" style="margin-top: 20px;"> <div class="row"> <div class="col-sm-4 col-xs-12"> *REQUIRED FIELDS<br> <a href="<?= base_url(); ?>page/terms-conditions">TERMS & CONDITIONS APPLY</a> </div> <div class="col-sm-8 col-xs-12"> <input id="wholesale_send" type="submit" name="submit" value="SUBMIT" style="background:#443d41;color: white; height: 29px; margin-top: 5px; width: 370px; border:none; cursor: pointer;"/> </div> <script> //disable submit button after submit, to prevent double submit $(document).ready(function () { $("#wholesale_send").click(function () { setTimeout(function () { disableButton(); }, 0); }); function disableButton() { $("#wholesale_send").prop('disabled', true); } }); </script> </div> </div> </div> <?php echo form_close(); ?> </div><!-- end class="blog_desc" --> </div><!-- end blog_blk--> </div><!-- endcol-lg-12 --> </div><!-- end row --> </div><!-- end blog_c --> </div><!-- end container --> </div><!-- end id="content" --> <div id="footer">