-
Notifications
You must be signed in to change notification settings - Fork 0
Expand file tree
/
Copy pathFrame_index.php
More file actions
33 lines (33 loc) · 761 Bytes
/
Frame_index.php
File metadata and controls
33 lines (33 loc) · 761 Bytes
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
<?php require_once 'Frame.php' ?>
<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Strict//EN" "http://www.w3.org/TR/xhtml1/DTD/xhtml1-strict.dtd">
<html xmlns="http://www.w3.org/1999/xhtml">
<head>
<title>No CSS, <pre> Only</title>
<meta http-equiv="Content-Type" content="application/xhtml+xml; charset=UTF-8" />
<style type="text/css">
body {
background-color: #000;
color: #fff;
font-family: Courier New;
}
#wrapper {
margin: auto;
width: 645px;
}
</style>
</head>
<body>
<div id="wrapper">
<pre>
<?php
$f = new Frame('C O M I N G S O O N', 21, 1);
$f->set_margin(array(7, 20, 7, 20))
->set_border('size', 1)
->set_border('corner', 'x')
->set_border(array('+', '+'));
echo $f->render(true);
?>
</pre>
</div>
</body>
</html>