[ Mini Kiebo ]
Server: Windows NT AKFAR_SERVER 10.0 build 26200 (Windows 10) AMD64
Path:
D:
/
xampp
/
htdocs
/
bem2
/
application
/
views
/
includes
/
[
Home
]
File: alert.php
<?php defined('BASEPATH') or exit('No direct script access allowed'); ?> <?php $alert = $this->session->userdata("alert"); ?> <?php if ($alert) : ?> <?php if ($alert["success"]) : ?> <script> window.addEventListener('DOMContentLoaded', function() { iziToast.success({ title: '<?= $alert["title"]; ?>', message: '<?= $alert["message"]; ?>', position: "topCenter" }); }); </script> <?php else : ?> <script> window.addEventListener('DOMContentLoaded', function() { iziToast.error({ title: '<?= $alert["title"]; ?>', message: '<?= $alert["message"]; ?>', position: "topCenter" }); }); </script> <?php endif ?> <?php $this->session->set_flashdata("alert", null) ?> <?php endif ?>