phpxpress/examples/breadcrumb.php

22 lines
614 B
PHP
Raw Normal View History

2022-03-07 12:00:41 +01:00
<html>
<head>
<link rel="stylesheet" href="../bootstrap-5.1.3-dist/css/bootstrap.min.css">
2022-07-24 11:10:43 +02:00
<title>BreadCrumb example</title>
2022-03-07 12:00:41 +01:00
</head>
<body>
<?php
2022-07-24 11:10:43 +02:00
include "../phpxpress/Breadcrumb.php";
2022-03-07 12:00:41 +01:00
$links["Github"] = "https://www.github.com";
$links["xfarrow"] = "https://www.github.com/xfarrow";
$links["PhpXpress"] = "https://www.github.com/xfarrow/phoxpress";
2022-07-24 11:10:43 +02:00
$breadcrumb = new PhpXpress\BreadCrumb;
2022-03-07 12:00:41 +01:00
$breadcrumb->setDataSource($links);
$breadcrumb->draw();
?>
</body>
2022-07-24 11:10:43 +02:00
</html>