-
Notifications
You must be signed in to change notification settings - Fork 6
/
contact.php
executable file
·173 lines (162 loc) · 5.43 KB
/
contact.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
44
45
46
47
48
49
50
51
52
53
54
55
56
57
58
59
60
61
62
63
64
65
66
67
68
69
70
71
72
73
74
75
76
77
78
79
80
81
82
83
84
85
86
87
88
89
90
91
92
93
94
95
96
97
98
99
100
101
102
103
104
105
106
107
108
109
110
111
112
113
114
115
116
117
118
119
120
121
122
123
124
125
126
127
128
129
130
131
132
133
134
135
136
137
138
139
140
141
142
143
144
145
146
147
148
149
150
151
152
153
154
155
156
157
158
159
160
161
162
163
164
165
166
167
168
169
170
171
172
173
<?php
include_once('jcart/jcart.php');
require("admin/bootstrap.php");
include( dirname(__FILE__) . SYSPATH_LANG );
defined('SYSPATH_ADMIN') or die('No direct script access.');
?><!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>
<meta http-equiv="Content-Type" content="text/html; charset=utf-8" />
<script type="text/javascript" src="scripts/jquery.min.js"></script>
<script type="text/javascript" src="scripts/jquery.curvycorners.min.js"></script>
<link href="stylesheet/stylesheet.css" rel="stylesheet" type="text/css" />
<script type="text/javascript" src="scripts/jquery-ui-1.8.4.custom.min.js"></script>
<link href="scripts/jqueryui/css/redmond/jquery-ui-1.8.4.custom.css" rel="stylesheet" type="text/css" />
<script type="text/javascript" src="scripts/thickbox.js"></script>
<link href="scripts/thickbox.css" rel="stylesheet" type="text/css" />
<link rel="SHORTCUT ICON" href="favicon2.ico" />
<script>
$(function() {
flag = 0;
$("a.header").each(function() {
loc = window.location.href;
url = $(this).attr("href");
if (loc.indexOf(url) > -1) {
if (loc[loc.length-1]=="pedido-grupos.php") {
if (url=="pedido-grupos.php")
$(this).css("color", "yellow");
}
else if (url!="pedido-grupos.php") {
$(this).css("color", "yellow");
}
}
});
});
</script>
<title><?=TITLE_INDEX;?></title>
<meta name="description" content="">
<meta name="keywords" content="">
</head>
<!-- header -->
<?php require("_header.inc.php"); ?>
<!-- header -->
<body>
<div style="height:0px; overflow:hidden;"></div>
<table width="999" border="0" cellpadding="0" cellspacing="0" align="center" id="table990" class="table bg">
<tr>
<td width=10> </td>
<td id="left_column" valign="top">
<div class="round_bar" style="background-color:#000; font-size:18px; font-weight:bold; color:#FFF;"> <?php echo LBL_CONTACT_US; ?> </div>
<div style="height:10px; overflow:hidden;"></div>
<div style="height:10px; overflow:hidden;"></div>
<form action="contact-process.php" method="post" onsubmit="return check_feedback();">
<table width="100%" border="0" cellpadding="3">
<tr>
<td width="20%" align="right" valign="top"><?php echo TABLE_TR_NAME; ?></td>
<td width="80%" valign="top"><input name="feedback_name" type="text" id="feedback_name" size="30" /></td>
</tr>
<tr>
<td align="right" valign="top"><?php echo LBL_CUSTOMER_PHONE; ?></td>
<td valign="top"><input name="feedback_contact" type="text" id="feedback_contact" size="30" /></td>
</tr>
<tr>
<td align="right" valign="top"><?php echo LBL_CUSTOMER_EMAIL; ?></td>
<td valign="top"><input name="feedback_email" type="text" id="feedback_email" size="30" /></td>
</tr>
<tr>
<td align="right" valign="top"><?php echo LBL_CONTACT_SUBJECT; ?></td>
<td valign="top">
<select name="feedback_subject" id="feedback_subject">
<option value=""><?php echo LBL_CONTACT_SUBJECT; ?></option>
<option value="delivery"><?php echo LBL_DELIVERY; ?></option>
<option value="take_away"><?php echo LBL_TAKEAWAY; ?></option>
</select>
</td>
</tr>
<tr>
<td align="right" valign="top"><?php echo LBL_CONTACT_COMMENT; ?></td>
<td valign="top"><textarea name="feedback_comment" id="feedback_comment" cols="45" rows="5"></textarea></td>
</tr>
<tr>
<td> </td>
<td><input type="submit" name="BtnFeedback" id="BtnFeedback" value="<?php echo LBL_SEND_EMAIL; ?>" /></td>
</tr>
<tr>
<td> </td>
<td> </td>
</tr>
</table>
</form>
<div style="height:15px; overflow:hidden;"></div>
</td>
<td width=10> </td>
</tr>
<tr><td colspan=3> </td></tr>
<tr>
<td colspan=3>
<div style="background-color:#dcdcdc; height:1px; overflow:hidden; margin-top:20px; margin-bottom:10px;" class="table bg"></div>
</td>
</tr>
<tr><td colspan=3> </td></tr>
</table>
<script>
$(function() {
$("#feedback_name").focus();
});
function check_feedback() {
msg = "";
if ($("#feedback_name").val() == "")
msg += "\nType your name.";
if ($("#feedback_contact").val() == "")
msg += "\nType your telephone.";
if ($("#feedback_email").val() == "")
msg += "\nType your E-mail.";
if ($("#feedback_subject").val() == "")
msg += "\nType your subject.";
if ($("#feedback_comment").val() == "")
msg += "\nType your comments.";
if (msg != "") {
alert(msg);
$("#feedback_name").focus();
return false;
}
return true;
}
</script>
<script>
$(function() {
settings = {
tl: { radius: 10 },
tr: { radius: 10 },
bl: { radius: 10 },
br: { radius: 10 },
antiAlias: true,
autoPad: true
}
$(".round_bar")
.css("padding-top", "10px")
.css("padding-bottom", "10px")
.css("padding-left", "15px")
.css("padding-right", "10px")
.corner(settings);
});
</script>
<script>
$(function(){
settings = {
tl: { radius: 15 },
tr: { radius: 15 },
bl: { radius: 15 },
br: { radius: 15 },
antiAlias: true,
autoPad: true
}
$('.round_corner').corner(settings);
$("#index_ordering_is_easy").height($("#ordering_is_easy").height());
});
</script>
<!-- footer -->
<?php require("_footer.inc.php"); ?>
<!-- footer -->
</body>
</html>