diff --git a/index.php b/index.php index c7688c7..c28fb5e 100644 --- a/index.php +++ b/index.php @@ -35,12 +35,18 @@
Site URL:
-
Developer/Designer: +
Webmaster:
Primary Colour:
Secondary Colour:
+
Template: + + +
diff --git a/make.php b/make.php index d105ad4..bb198b7 100644 --- a/make.php +++ b/make.php @@ -4,9 +4,19 @@ $devname = $_POST['devname']; $pcolour = $_POST['pcolour']; $scolour = $_POST['scolour']; + $template = $_POST['template']; - $template = fopen("template/template.html", "r+"); // Change this if you have a custom template filename - $tempContents = fread($template, filesize("template/template.html")); + $tFile = "template/template.html"; + + if($template == "The Original"){ + $tFile = "template/template.html"; + } + if($template == "Forked"){ + $tFile = "template/template2.html"; + } + + $template = fopen($tFile, "r+"); // Change this if you have a custom template filename + $tempContents = fread($template, filesize($tFile)); // Keywords for replacement - see README $keywords = array("rep_PCOLOUR", "rep_SCOLOUR", "rep_SNAME", "rep_URL", "rep_DEVNAME"); diff --git a/template/template2.html b/template/template2.html new file mode 100644 index 0000000..f0d02c2 --- /dev/null +++ b/template/template2.html @@ -0,0 +1,59 @@ + + + + + + rep_SNAME - Under Construction + + + + + + + + +
+
+

rep_SNAME

+
+
+ +
+

Under Construction

+

rep_SNAME is being worked on by rep_DEVNAME!

+
+ + \ No newline at end of file