-
Notifications
You must be signed in to change notification settings - Fork 1
/
index - Copy.php
81 lines (58 loc) · 1.5 KB
/
index - Copy.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
<?php
session_start();
?>
<?php
include("header.php");
$sqlmember = "SELECT member.*,member_type.member_type FROM member LEFT JOIN member_type ON member.member_type_id=member_type.member_type_id WHERE member.status=Active AND member.member_id=$_GET[member_id]";
$qsqlmember = mysqli_query($con,$sqlmember);
$rsmember = mysqli_fetch_array($qsqlmember);
if($rsmember[image] == "")
{
$imgname="img/noimage.png";
}
else if(file_exists("imgmember/".$rsmember[image]))
{
$imgname = "imgmember/".$rsmember[image];
}
else
{
$imgname="img/noimage.png";
}
?>
</header>
<div id="about" class="section">
<div class="container">
<div class="row">
<div class="col-md-5">
<div class="section-title">
<h2 class="title"><?php echo $rsmember[name]; ?><span style="font-size: 15px;"> (<?php echo $rsmember[member_type]; ?>)</span></h2>
<p class="sub-title"><?php echo $rsmember[description]; ?>.</p>
</div>
</div>
<div class="col-md-6" style="text-align: right;">
<img src="img/charity/IMG_20191210_124518.jpg" alt="" style="width: 300px;" >
</div>
</div>
</div>
</div>
<div id="numbers" class="section">
<div class="container">
<div class="row">
<div class="col-md-6 col-sm-6">
<div class="number">
<span>Contact No.</span>
<h3><?php echo $rsmember[contact_no]; ?></h3>
</div>
</div>
<div class="col-md-6 col-sm-6">
<div class="number">
<span>Address</span>
<p><b><?php echo $rsmember[address]; ?></b></p>
</div>
</div>
</div>
</div>
</div>
<?php
include("footer.php");
?>