PHP Classes

File: examples/foundation.php

Recommend this page to a friend!
  Classes of Yuriy Tkachenko   Simple Flash Messages   examples/foundation.php   Download  
File: examples/foundation.php
Role: Example script
Content type: text/plain
Description: Example script
Class: Simple Flash Messages
Display message with different CSS frameworks
Author: By
Last change: Update code
Date: 1 year ago
Size: 758 bytes
 

Contents

Class file image Download
<?php

use function Tamtamchik\SimpleFlash\flash;

include_once
'_init.php';
?>

<!doctype html>
<html lang="en">
<head>
    <meta charset="UTF-8">
    <title>Test Foundation template example.</title>
    <!-- Latest compiled and minified CSS -->
    <link rel="stylesheet" href="https://cdnjs.cloudflare.com/ajax/libs/foundation/6.7.5/css/foundation.min.css"
          integrity="sha512-IyYpCJ+7aODR+LWiU+buuFnKg69IYu7SCmn+3IBNxvEcfsDC7z1xyWhAZTAFTGTlLMnDwcQBFWhhe7JiSw6TEg=="
          crossorigin="anonymous" referrerpolicy="no-referrer"/>
</head>
<body>

<?php include_once '_ribbon.php'; ?>

<div class="row" style="width: 600px; margin: 0 auto;">

    <?php include_once '_menu.php'; ?>

    <?= flash()->displayFoundation() ?>
</div>

</body>
</html>