-
Notifications
You must be signed in to change notification settings - Fork 0
/
Copy pathcontact_success.php
152 lines (117 loc) · 4.32 KB
/
contact_success.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
<?php
require ("web.config.php");
require ("#App_Code/Page_class.php");
?>
<!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" xmlns:ice="http://ns.adobe.com/incontextediting"><!-- InstanceBegin template="/Templates/MainLayout.dwt.php" codeOutsideHTMLIsLocked="false" -->
<head>
<meta http-equiv="Content-Type" content="text/html; charset=utf-8"/>
<!-- InstanceBeginEditable name="doctitle" -->
<title><?php echo $defaultPageTitle ?></title>
<!-- InstanceEndEditable -->
<!-- InstanceBeginEditable name="head_Meta" -->
<!-- InstanceEndEditable -->
<link type="text/css" rel="stylesheet" href="_css/global_Main.css" />
<link type="text/css" rel="stylesheet" href="_css/global_Menu.css" />
<script type="text/javascript" src="_js/globalFunctions.js"></script>
<script language="javaScript" src="_js/mouseover.js"></script>
<script src="includes/ice/ice.js" type="text/javascript"></script>
<!-- InstanceBeginEditable name="head" -->
<script type="text/javascript" src="_js/prototype.js"></script>
<script type="text/javascript" src="_js/scriptaculous.js?load=effects,builder"></script>
<script type="text/javascript" src="_js/lightbox.js"></script>
<link rel="stylesheet" href="_css/lightbox.css" type="text/css" media="screen" />
<style type="text/css">
h2 {color: #990033 }
</style>
<SCRIPT LANGUAGE="JavaScript">
function isEmailAddr(email)
{
var result = false
var theStr = new String(email)
var index = theStr.indexOf("@");
if (index > 0)
{
var pindex = theStr.indexOf(".",index);
if ((pindex > index+1) && (theStr.length > pindex+1))
result = true;
}
return result;
}
function checkFields() {
missinginfo = "";
if (document.form.contactName.value == "") {
missinginfo += "\n - First Name";
}
if (document.form.email.value == "") {
missinginfo += "\n - Email";
}
if (!isEmailAddr(document.form.email.value)) {
missinginfo += "\n - Please enter a valid Email";
}
if (missinginfo != "") {
missinginfo ="_____________________________\n" +
"These fields cannot be left empty:\n" +
missinginfo + "\n_____________________________" +
"\nPlease re-enter and submit again!";
alert(missinginfo);
return false;
}
else return true;
}
</script>
<!-- InstanceEndEditable -->
</head>
<body>
<DIV id="overallContent">
<div id="Main_Container_SubPage">
<div id="headerArea_SubPage">
<div id="headerLeft_SubPage">
<a href="<?php echo $relPath?>index.php"><img src="_images/global/logoSub.gif" width="180" height="77" border="0" /></a> </div>
<div id="headerRight_SubPage">
<!-- InstanceBeginEditable name="headerRight" -->
<img src="_images/global/subpage_headerImage5.jpg" width="737" height="158" />
<!-- InstanceEndEditable -->
</div>
</div>
<div id="menuArea_SubPage">
<div id="menuMain">
<?php require ($relPath . "#Shared_Code/menuMain.php"); ?>
</div>
</div>
<div id="contentArea_SubPage">
<div id="contentTop_SubPage">
<div ice:editable="*"><!-- InstanceBeginEditable name="contentTop" --><img src="_images/global/hed_contact_us.gif" alt="Contact Us" width="109" height="15" /> <!-- InstanceEndEditable --></div>
</div>
<div id="contentLeft_SubPage"><div class="margin">
<div ice:editable="*"><!-- InstanceBeginEditable name="contentLeft" -->
<h2>Thank You</h2>
<p>Thank you for contacting Union Church of Monterrey. Someone will respond to you personally shortly. </p>
<p><a href="contact.php">Return to Contact Page</a> | <a href="index.php">Home Page</a></p>
<p> </p>
<p> </p>
<p> </p>
<p> </p>
<p> </p>
<p> </p>
<p> </p>
<p> </p>
<p> </p>
<p> </p>
<!-- InstanceEndEditable --></div>
</div></div>
<div id="contentRight_SubPage"><div class="margin">
<div ice:editable="*"><!-- InstanceBeginEditable name="contentRight" -->
<!-- InstanceEndEditable --></div>
</div></div>
</div>
<div class="clearFloat"></div>
<div id="footerArea">
<div id="footerTop">
</div>
</div>
</div>
</DIV>
<DIV id="bottomShadow"></DIV>
</body>
<!-- InstanceEnd --></html>