Oops, was a old file in that commit
Jeremy D

Jeremy D commited on 2011-12-29 14:24:05
Showing 1 changed files, with 0 additions and 92 deletions.

... ...
@@ -1,92 +0,0 @@
1
-<?php
2
-if (!defined('PacManGen')) exit;
3
-
4
-function template_header()
5
-{
6
-?>
7
-<!DOCTYPE html><!-- HTML 5 -->
8
-<html dir="ltr" lang="en-US">
9
-<head>
10
-	<meta http-equiv="Content-Type" content="text/html;charset=UTF-8">
11
-	<title><?=PCG::getTitle()?></title>
12
-	<link rel="stylesheet" id="<?=PCG::getStyle()?>-css" href="<?=PCG::getAssets()?>/<?=PCG::getTitle()?>.css" type="text/css" media="all">
13
-	<script type="text/javascript" src="<?=PCG::getTitle()?>/jquery.min.js"></script>
14
-	<meta name="viewport" content="width=device-width,initial-scale=1">
15
-</head>
16
-
17
-<body class="home blog">
18
-<div id="wrapper">
19
-	<div id="header">
20
-		<div id="head">
21
-			<div id="logo"><a href="<?=PCG::getURL('home')?>"><img src="<?=PCG::getAssets()?>/logo.png" alt="SleePyCode" class="alignleft"></a><h1>SMF Package Generator</h1></div>
22
-		</div>
23
-		<div class="clear"></div>
24
-	</div>
25
-	<div id="container">
26
-		<div id="wrap" style="min-height: 41em;">
27
-<?php
28
-}
29
-
30
-
31
-function template_footer()
32
-{
33
-?>
34
-	</div>
35
-</div>
36
-<div id="footer">
37
-	<div id="foot"> Test </div>
38
-	<div class="clear"></div>
39
-	</div>
40
-</div>
41
-
42
-<script type="text/javascript">
43
-$(document).ready(function(){
44
-	$('.add').click(function(){
45
-		var id = $(this).attr('data-id');
46
-
47
-		$.ajax({
48
-			type: 'POST',
49
-			url: '<?=basename(__FILE__)?>?update',
50
-			data: 'id=' + id,
51
-			success: function(data){
52
-				if (data != 'FAIL')
53
-				{
54
-					$('#chapter_' + id).html(data);
55
-					$('#change_' + id).hide();
56
-				}
57
-			}
58
-		});
59
-	});
60
-
61
-	$('.change').click(function(){
62
-		var id = $(this).attr('data-id');
63
-		$('#change_' + id).show();
64
-	});
65
-
66
-	$('.ichange').keydown(function(e){
67
-		if(e.keyCode != 13 && e.keyCode != 9){
68
-			return;
69
-		}
70
-		var id = $(this).attr('data-id');
71
-		var chap = $(this).val();
72
-
73
-		$.ajax({
74
-			type: 'POST',
75
-			url: '<?=basename(__FILE__)?>?updatechap',
76
-			data: 'id=' + id + '&chap=' + chap,
77
-			success: function(data){
78
-				if (data != 'FAIL')
79
-				{
80
-					$('#chapter_' + id).html(data);
81
-					$('#change_' + id).hide();
82
-				}
83
-			}
84
-		});	
85
-	});
86
-
87
-});
88
-</script>
89
-</body>
90
-</html>
91
-<?php
92
-}
93 0
\ No newline at end of file
94 1