-
Notifications
You must be signed in to change notification settings - Fork 1
/
Copy pathgenerate.php
43 lines (32 loc) · 1.71 KB
/
generate.php
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
34
35
36
37
38
39
40
41
42
43
<?php
// require the website config file.
require_once('includes/config.php');
// the current character set.
$set = text_generator::current_set();
?>
<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Transitional//EN" "http://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd">
<html xmlns="http://www.w3.org/1999/xhtml">
<head>
<!-- website meta tags -->
<meta http-equiv="content-type" content="text/html; charset=utf-8" />
<meta name="viewport" content="width=device-width, initial-scale=1" />
<title><?php echo $website['name'];?> - <?php echo $set['name'];?></title>
<meta name="description" content="convert your text into <?php echo $set['example'];?> text using our <?php echo $set['name'];?> Font Style Changer!" />
<!-- website stylesheets -->
<link href="<?php echo $website['url'];?>assets/css/styles.css?v=<?php echo $website['version'];?>" type="text/css" rel="stylesheet" />
<!-- website javascript -->
<script src="<?php echo $website['url'];?>assets/js/javascript.js?v=<?php echo $website['version'];?>" type="text/javascript"></script>
</head>
<body>
<?php // include the website header.?>
<?php include_once(PATH_HTML . 'header.php');?>
<?php // include the website hero.?>
<?php include_once(PATH_HTML . 'hero.php');?>
<?php // include the website main.?>
<?php include_once(PATH_HTML . 'main.php');?>
<?php // include the website footer.?>
<?php include_once(PATH_HTML . 'footer.php');?>
<!-- page javascript -->
<script type="text/javascript">window.setGeneratorEvents('generate-btn', 'clear-btn', 'text-input', 'text-output');</script>
</body>
</html>