Viewing file: 3351dd6107088cd7bcd855a5a8fdcc50d2b4c4c0.php (5.78 KB) -rw-r--r-- Select action/file-type: (+) | (+) | (+) | Code (+) | Session (+) | (+) | SDB (+) | (+) | (+) | (+) | (+) | (+) |
<!DOCTYPE html> <html lang="en"> <head> <meta charset="UTF-8" /> <meta name="viewport" content="width=device-width, initial-scale=1.0"> <meta name="csrf-token" content="<?php echo e(csrf_token()); ?>"> <title><?php echo e(config('global.site_name','FindMeTaxi')); ?></title> <meta name="csrf-token" content="<?php echo e(csrf_token()); ?>"> <link rel="stylesheet" href="<?php echo e(asset('vendor')); ?>/tailwind/tailwind.min.css">
<!-- Google Analitics --> <?php echo $__env->make('layouts.ga', \Illuminate\Support\Arr::except(get_defined_vars(), ['__data', '__path']))->render(); ?> <?php echo $__env->yieldContent('head'); ?> <?php $config = (new \LaravelPWA\Services\ManifestService)->generate(); echo $__env->make( 'laravelpwa::meta' , ['config' => $config])->render(); ?>
<!-- RTL and Commmon ( Phone ) --> <?php echo $__env->make('layouts.rtl', \Illuminate\Support\Arr::except(get_defined_vars(), ['__data', '__path']))->render(); ?>
<link rel="apple-touch-icon" sizes="180x180" href="/apple-touch-icon.png">
<!-- Custom CSS defined by admin --> <link type="text/css" href="<?php echo e(asset('byadmin')); ?>/front.css" rel="stylesheet">
<link type="text/css" href="<?php echo e(asset('custom')); ?>/css/blob.css" rel="stylesheet">
</head> <body class="landing-page"> <?php echo $__env->make('taxilanding.partials.header', \Illuminate\Support\Arr::except(get_defined_vars(), ['__data', '__path']))->render(); ?>
<?php if(!isset($_GET['mobileapp'])): ?> <?php echo $__env->make('taxilanding.partials.blog', \Illuminate\Support\Arr::except(get_defined_vars(), ['__data', '__path']))->render(); ?> <?php echo $__env->make('taxilanding.partials.apps', \Illuminate\Support\Arr::except(get_defined_vars(), ['__data', '__path']))->render(); ?> <?php endif; ?>
<?php echo $__env->make('taxilanding.partials.footer', \Illuminate\Support\Arr::except(get_defined_vars(), ['__data', '__path']))->render(); ?>
<!-- AlpineJS Library --> <script src="<?php echo e(asset('vendor')); ?>/alpine/alpine.js"></script>
<!-- Core JS Files --> <script src="<?php echo e(asset('vendor')); ?>/jquery/jquery.min.js" type="text/javascript"></script>
<!-- All in one --> <script src="<?php echo e(asset('custom')); ?>/js/js.js?id=<?php echo e(config('config.version')); ?>s"></script>
<!-- Custom JS defined by admin --> <?php echo file_get_contents(base_path('public/byadmin/front.js')) ?>
<!-- Google Map --> <script async defer src="https://maps.googleapis.com/maps/api/js?libraries=geometry,drawing&key=<?php echo config('settings.google_maps_api_key'); ?>&libraries=places&callback=js.initializeGoogle"></script>
<script> window.onload = function () {
$('#termsCheckBox').on('click',function () { $('#submitRegister').prop("disabled", !$("#termsCheckBox").prop("checked")); if(this.checked){ $('#submitRegister').addClass('opacity-100'); }else{ $('#submitRegister').removeClass('opacity-100');
}
})
$("#search_location").on("click",function () { if (navigator.geolocation) { navigator.geolocation.getCurrentPosition(function(position) { var pos = { lat: position.coords.latitude, lng: position.coords.longitude };
$.ajaxSetup({ headers: { 'X-CSRF-TOKEN': $('meta[name="csrf-token"]').attr('content') } });
$.ajax({ type:'POST', url: '/search/location', dataType: 'json', data: { lat: position.coords.latitude, lng: position.coords.longitude }, success:function(response){ if(response.status){ $("#txtstartlocation").val(response.data.formatted_address); } }, error: function (response) { } }) }, function() {
}); } });
var inputStart = document.getElementById('txtstartlocation'); if(inputStart){ var autocompleteStart = new google.maps.places.Autocomplete(inputStart, { }); google.maps.event.addListener(autocompleteStart, 'place_changed', function () { var place = autocompleteStart.getPlace(); var filled=$("#txtstartlocation").val().length>3&&$("#txtendlocation").val().length>3; $('#submit').prop("disabled", !filled);
if(filled){ $('#submit').removeClass('opacity-50'); $('#submit').addClass('opacity-100') }
}); }
var inputEnd = document.getElementById('txtendlocation'); if(inputEnd){ var autocompleteEnd = new google.maps.places.Autocomplete(inputEnd, { }); google.maps.event.addListener(autocompleteEnd, 'place_changed', function () { var place = autocompleteEnd.getPlace(); var filled=$("#txtstartlocation").val().length>3&&$("#txtendlocation").val().length>3; $('#submit').prop("disabled", !filled); if(filled){ $('#submit').removeClass('opacity-50'); $('#submit').addClass('opacity-100') }
}); } } </script>
</body> </html> <?php /**PATH /home/picotech/domains/wataxi.picotech.app/public_html/resources/views/taxilanding/home.blade.php ENDPATH**/ ?>
|