-
Notifications
You must be signed in to change notification settings - Fork 4
Expand file tree
/
Copy pathcompose.php
More file actions
60 lines (48 loc) · 1.46 KB
/
compose.php
File metadata and controls
60 lines (48 loc) · 1.46 KB
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
<?php include 'header.php' ?>
<div class="col-lg-12">
<?php
if(isset($_GET['compose']))
{
echo '<div class-"col-lg-6 col-lg-offset-4"><h1 class="text-center" style="color:#8a2be2"><strong>COMPOSE MAIL</strong></h1></div>';
}
?>
<br><br>
</div>
<div class="col-lg-6 ">
<div class="col-lg-6 col-lg-offset-1">
<a href="?compose=1" class="btn btn-block btn-lg btn-primary x" >Compose</a>
<br><br>
</div>
<div class="col-lg-6 col-lg-offset-1">
<a href="?inbox=1" class="btn btn-block btn-lg btn-success x" >Inbox</a>
<br><br>
</div>
<div class="col-lg-6 col-lg-offset-1">
<a href="?sent=1" class="btn btn-block btn-lg btn-warning x" >Sent</a>
<br>
</div>
</div>
<div class="col-lg-4 well">
<?php
if(isset($_GET['chat']))
{
echo '<img src="images/chatimg.jpg" class="img-responsive img-rounded " style=
"height:400px;">';
}
?>
<h4 class="text-center text-primary"><?php $y=isset($_GET['msg'])?$_GET['msg']:''; echo $y; ?></h4>
<form method="POST" class="form-group" action="db.php?sending=1">
<label>From :</label>
<input type="text" class="form-control x" name="from" value="<?php $t=$_SESSION['email'];echo $t;?>">
<br>
<label>To :</label>
<input type="text" class="form-control x" name="to">
<br>
<label>Subject :</label>
<textarea class="form-control x" rows="4" name="ta"></textarea>
<br>
<input type="submit" class="btn btn-lg btn-info x">
</form>
</div>
</div>
</div>