Initial and final version

This commit is contained in:
2016-05-10 21:47:51 +02:00
commit f1153f9488
5 changed files with 135 additions and 0 deletions

34
index.php Normal file
View File

@@ -0,0 +1,34 @@
<html>
<head>
<title>bbCode test</title>
<style>
span.b {
font-weight: bold;
}
span.i {
font-style: italic;
}
span.u {
text-decoration: underline;
}
a {
text-decoration: none;
font-weight: bold;
color: green;
}
</style>
</head>
<body>
<?php
include("class.bbcode.php");
$bbcode = new bbcode;
$bbcode->register_smiley(":)", "smileys/smile.gif");
echo $bbcode->decode(file_get_contents("test.bbcode"));
?>
</body>
</html>