-
Notifications
You must be signed in to change notification settings - Fork 0
/
contact.php
executable file
·77 lines (51 loc) · 2.14 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
<?php
include( "header.php" );
?>
<!-- Main -->
<div id="main">
<div class="shell">
<?php
if( $loggedin == "1" )
{
?>
<center>
<br><br><br><br>
<fieldset class="contact" style='height:150px;width:800px'>
<legend>Send Email</legend>
<div> <br><br><br><br>
<label for="username">Subject :</label> <input type='text' id='subject' class='inputBox' style='width:480px'>
</div>
<div> <br>
<label for="username">Messsage :</label> <textarea style='width:480px;height:200px' id='message' class='inputBox'></textarea>
</div>
<div> <br>
<label for="password"> </label> <input type='button' class='button' value='Send Message' onclick='sendMesssage()' id='sendfeedback'> <br><br> <span id='result'></span>
</div>
</fieldset>
</center>
<br><br><br><br>
<br><br><br><br>
<br><br><br><br>
<br><br><br><br>
<?php
}
else
{
?>
<script type='text/javascript'>
function goToLogin()
{
console.log( "redirect" );
document.location.href = 'login.php?redirect=' + encodeURI( document.location.href );
}
setTimeout( "goToLogin()" , 100 );
</script>
<?php
}
?>
</div>
</div>
<!-- End Main -->
<?php
include( "footer.php" );
?>