JFIF x x C C " } !1AQa "q2#BR$3br %&'()*456789:CDEFGHIJSTUVWXYZcdefghijstuvwxyz w !1AQ aq"2B #3Rbr{
File "1c302c7d0b572135af2484b14eb8b031.php"
Full Path: /home2/yvrgircc/public_html/ariseskilltech.com/storage/framework/views/1c302c7d0b572135af2484b14eb8b031.php
File size: 2.03 KB
MIME-type: text/html
Charset: utf-8
<div class="toast-container position-fixed top-0 end-0 p-3"></div>
<script>
"use strict";
function toaster_message(type, icon, header, message) {
var toasterMessage = '<div class="toast ' + type +
' fade" role="alert" aria-live="assertive" aria-atomic="true"><div class="toast-header"> <i class="' +
icon + ' me-2 mt-2px text-20px"></i> <strong class="me-auto"> ' + header +
' </strong><small><?php echo e(get_phrase('Just Now')); ?></small><button type="button" class="btn-close" data-bs-dismiss="toast" aria-label="Close"></button></div><div class="toast-body">' +
message + '</div></div>';
$('.toast-container').prepend(toasterMessage);
const toast = new bootstrap.Toast('.toast')
toast.show()
}
function success(message) {
toaster_message('success', 'fi-sr-badge-check', '<?php echo e(get_phrase('Success !')); ?>', message);
}
function warning(message) {
toaster_message('warning', 'fi-sr-exclamation', '<?php echo e(get_phrase('Attention !')); ?>', message);
}
function error(message) {
toaster_message('error', 'fi-sr-triangle-warning', '<?php echo e(get_phrase('An Error Occurred !')); ?>', message);
}
</script>
<?php if($message = Session::get('success')): ?>
<script>
"use strict";
success("<?php echo e($message); ?>");
</script>
<?php Session()->forget('success'); ?>
<?php elseif($message = Session::get('error')): ?>
<script>
"use strict";
error("<?php echo e($message); ?>");
</script>
<?php Session()->forget('error'); ?>
<?php elseif(isset($errors) && $errors->any()): ?>
<?php
$message = '<ul>';
foreach ($errors->all() as $error):
$message .= '<li>' . $error . '</li>';
endforeach;
$message .= '</ul>';
?>
<script>
"use strict";
error("<?php echo $message; ?>");
</script>
<?php endif; ?>
<?php /**PATH C:\xampp\htdocs\Arise\resources\views/admin/toaster.blade.php ENDPATH**/ ?>