-
Notifications
You must be signed in to change notification settings - Fork 15
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
- Loading branch information
1 parent
e9ce1a8
commit 13d83e0
Showing
10 changed files
with
264 additions
and
1 deletion.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,47 @@ | ||
<?php | ||
require "../database/member_info.php"; | ||
?> | ||
|
||
<!DOCTYPE html> | ||
<html> | ||
<head> | ||
|
||
</head> | ||
<body> | ||
<?php | ||
$query = 'SELECT * FROM announcements'; | ||
$result = mysqli_query($connection,$query); | ||
while($row = mysqli_fetch_assoc($result)){ | ||
$name = $row['name']; | ||
$organizer = $row['organizer']; | ||
$venue = $row['venue']; | ||
$date = $row['date']; | ||
$image = $row['image']; | ||
$link = $row['link']; | ||
$time = $row['time']; | ||
$topic = $row['topic']; | ||
$details = $row['details']; | ||
$image = $row['image']; | ||
|
||
?> | ||
<div class=card> | ||
Name : '<?php echo $name;?>'<br> | ||
|
||
Organiser : '<?php echo $organizer;?>'<br> | ||
Venue : '<?php echo $venue;?>'<br> | ||
|
||
date: '<?php echo $date;?>'<br> | ||
time: '<?php echo $time;?>'<br> | ||
topic: '<?php echo $topic;?>'<br> | ||
details: '<?php echo $details;?>'<br> | ||
date: '<?php echo $date;?>'<br> | ||
|
||
Image : <?php echo '<img src="data:image/jpeg;base64,'.base64_encode( $image ).'" style="height:100px; widht:100px;"/>'; ?><br> | ||
Link : '<?php echo $link;?>'<br> | ||
</div> | ||
<hr> | ||
<?php | ||
} | ||
?> | ||
</body> | ||
</html> |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,31 @@ | ||
<?php | ||
require "../database/member_info.php"; | ||
?> | ||
|
||
<!DOCTYPE html> | ||
<html> | ||
<head> | ||
|
||
</head> | ||
<body> | ||
<?php | ||
$query = 'SELECT * FROM blogs'; | ||
$result = mysqli_query($connection,$query); | ||
while($row = mysqli_fetch_assoc($result)){ | ||
$title = $row['blog_title']; | ||
$des = $row['description']; | ||
$image = $row['image']; | ||
$link = $row['blog_link']; | ||
?> | ||
<div class=card> | ||
Title : '<?php echo $title;?>'<br> | ||
des: '<?php echo $des;?>'<br> | ||
Image : <?php echo '<img src="data:image/jpeg;base64,'.base64_encode( $image ).'" style="height:100px; widht:100px;"/>'; ?><br> | ||
Link : '<?php echo $link;?>'<br> | ||
</div> | ||
<hr> | ||
<?php | ||
} | ||
?> | ||
</body> | ||
</html> |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,53 @@ | ||
<?php | ||
require "../database/member_info.php"; | ||
?> | ||
|
||
<!DOCTYPE html> | ||
<html> | ||
<head> | ||
|
||
</head> | ||
<body> | ||
<?php | ||
$query = "SELECT * FROM past_members "; | ||
$result = mysqli_query($connection,$query); | ||
while($row = mysqli_fetch_assoc($result)){ | ||
$name = $row['name']; | ||
$roll_no = $row['roll_no']; | ||
$image = $row['image']; | ||
$des = $row['description']; | ||
$hof = $row['hof']; | ||
$social_id = $row['social_handles']; | ||
$query = "SELECT * FROM social_handles WHERE `social_handles_id`='$social_id'"; | ||
$res = mysqli_query($connection,$query); | ||
while($data = mysqli_fetch_assoc($res)){ | ||
$git = $data['github']; | ||
$mail = $data['mail']; | ||
$face = $data['facebook']; | ||
$insta = $data['instagram']; | ||
$chef = $data['codechef']; | ||
$force = $data['codeforces']; | ||
$linkedin = $data['linkedin']; | ||
$rank = $data['hackerrank']; | ||
$earth = $data['hackerearth']; | ||
$twi = $data['twitter']; | ||
} | ||
$sess = $row['session']; | ||
$post = $row['post']; | ||
?> | ||
<div class=card> | ||
Name : '<?php echo $name;?>'<br> | ||
Roll: '<?php echo $roll_no;?>'<br> | ||
Image : <?php echo '<img src="data:image/jpeg;base64,'.base64_encode( $image ).'"/>'; ?><br> | ||
Des : '<?php echo $des;?>'<br> | ||
HOf : '<?php echo $hof;?>'<br> | ||
social handles : '<?php echo $git; echo $mail; echo $face; echo $insta; echo $chef; echo $force; echo $linkedin; echo $rank; echo $earth; echo $twi;?>'<br> | ||
Sess : '<?php echo $sess;?>'<br> | ||
post : '<?php echo $post;?>'<br> | ||
</div> | ||
<hr> | ||
<?php | ||
} | ||
?> | ||
</body> | ||
</html> |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,36 @@ | ||
<?php | ||
require "../database/member_info.php"; | ||
?> | ||
|
||
<!DOCTYPE html> | ||
<html> | ||
<head> | ||
|
||
</head> | ||
<body> | ||
<?php | ||
$query = 'SELECT * FROM Projects'; | ||
$result = mysqli_query($connection,$query); | ||
while($row = mysqli_fetch_assoc($result)){ | ||
$name = $row['project_name']; | ||
$pro_link = $row['project_link']; | ||
$code = $row['source_code_link']; | ||
$des = $row['description']; | ||
$image = $row['image']; | ||
$blog_link = $row['blog_link']; | ||
?> | ||
<div class=card> | ||
Name : '<?php echo $name;?>'<br> | ||
project link : '<?php echo $pro_link;?>'<br> | ||
Source Code : '<?php echo $code;?>'<br> | ||
|
||
des: '<?php echo $des;?>'<br> | ||
Image : <?php echo '<img src="data:image/jpeg;base64,'.base64_encode( $image ).'" style="height:100px; widht:100px;"/>'; ?><br> | ||
Link : '<?php echo $blog_link;?>'<br> | ||
</div> | ||
<hr> | ||
<?php | ||
} | ||
?> | ||
</body> | ||
</html> |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,33 @@ | ||
<?php | ||
require "../database/member_info.php"; | ||
?> | ||
|
||
<!DOCTYPE html> | ||
<html> | ||
<head> | ||
|
||
</head> | ||
<body> | ||
<?php | ||
$query = 'SELECT * FROM wings'; | ||
$result = mysqli_query($connection,$query); | ||
while($row = mysqli_fetch_assoc($result)){ | ||
$wing = $row['wing']; | ||
$info = $row['info']; | ||
$logo = $row['logo']; | ||
$image = $row['image']; | ||
$link = $row['web_link']; | ||
?> | ||
<div class=card> | ||
Name : '<?php echo $wing;?>'<br> | ||
Info: '<?php echo $info;?>'<br> | ||
Logo: <?php echo '<img src="data:image/jpeg;base64,'.base64_encode( $logo ).'" style="height:100px; widht:100px;"/>'; ?><br> | ||
Image : <?php echo '<img src="data:image/jpeg;base64,'.base64_encode( $image ).'"/>'; ?><br> | ||
Link : '<?php echo $link;?>'<br> | ||
</div> | ||
<hr> | ||
<?php | ||
} | ||
?> | ||
</body> | ||
</html> |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,54 @@ | ||
<?php | ||
require "../database/member_info.php"; | ||
?> | ||
|
||
<!DOCTYPE html> | ||
<html> | ||
<head> | ||
|
||
</head> | ||
<body> | ||
<?php | ||
$wing_name = "foss"; | ||
$query = "SELECT * FROM member WHERE `wing`='$wing_name'"; | ||
$result = mysqli_query($connection,$query); | ||
while($row = mysqli_fetch_assoc($result)){ | ||
$name = $row['name']; | ||
$roll_no = $row['roll_no']; | ||
$image = $row['image']; | ||
$des = $row['description']; | ||
$hof = $row['hof']; | ||
$social_id = $row['social_handles']; | ||
$query = "SELECT * FROM social_handles WHERE `social_handles_id`='$social_id'"; | ||
$res = mysqli_query($connection,$query); | ||
while($data = mysqli_fetch_assoc($res)){ | ||
$git = $data['github']; | ||
$mail = $data['mail']; | ||
$face = $data['facebook']; | ||
$insta = $data['instagram']; | ||
$chef = $data['codechef']; | ||
$force = $data['codeforces']; | ||
$linkedin = $data['linkedin']; | ||
$rank = $data['hackerrank']; | ||
$earth = $data['hackerearth']; | ||
$twi = $data['twitter']; | ||
} | ||
$sess = $row['session']; | ||
$post = $row['post']; | ||
?> | ||
<div class=card> | ||
Name : '<?php echo $name;?>'<br> | ||
Roll: '<?php echo $roll_no;?>'<br> | ||
Image : <?php echo '<img src="data:image/jpeg;base64,'.base64_encode( $image ).'"/>'; ?><br> | ||
Des : '<?php echo $des;?>'<br> | ||
HOf : '<?php echo $hof;?>'<br> | ||
social handles : '<?php echo $git; echo $mail; echo $face; echo $insta; echo $chef; echo $force; echo $linkedin; echo $rank; echo $earth; echo $twi;?>'<br> | ||
Sess : '<?php echo $sess;?>'<br> | ||
post : '<?php echo $post;?>'<br> | ||
</div> | ||
<hr> | ||
<?php | ||
} | ||
?> | ||
</body> | ||
</html> |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters