Skip to content

Commit

Permalink
Faqs
Browse files Browse the repository at this point in the history
  • Loading branch information
krishna2332002 committed Nov 14, 2021
1 parent 496b42f commit d4ed8f8
Show file tree
Hide file tree
Showing 2 changed files with 21 additions and 32 deletions.
33 changes: 9 additions & 24 deletions backend/mentor1.php
Original file line number Diff line number Diff line change
Expand Up @@ -116,11 +116,10 @@
<p class="lead">Find Your Mentors Family Alloted Here</p>
<p>Please maintain the decorum, contact Second Years and don't just move up to Final Year Mentors.</p>
<p>Expecting Your Support and Friendly Behavior.
<br><br>

<hr>

<h2 class="mt-4">Second Year Mentors</h2>
<p>Fetch the contact info of your Second Year Mentors to whom you should contact First.</p>


<!-- <div class="row mb-3">
<div class="col-4 themed-grid-col"><a href="profile.html">Second Year</a></div>
Expand All @@ -133,34 +132,29 @@
<div class="col-sm-4 themed-grid-col"><a href="profile.html">Second Year</a></div>
<div class="col-sm-4 themed-grid-col"><a href="profile.html">Second Year</a></div>
</div>

<div class="row mb-3">
<div class="col-md-4 themed-grid-col"><a href="profile.html">Second Year</a></div>
<div class="col-md-4 themed-grid-col"><a href="profile.html">Second Year</a></div>
<div class="col-md-4 themed-grid-col"><a href="profile.html">Second Year</a></div>
</div> -->

<div style="background-color:burlywood" class="container themed-container">


<form method="get" action="mentor1.php">
<input id="btn-2" name="btn-2"type="submit" value="<?php echo $name[0] ?>" class="subbtn">
</form>


</div>
<br>
<hr>
</div><br>
<hr>

<div class="container" id="containers">
<h2 class="mt-4">Third Year Mentors</h2>
<p>For a more Serious Context, You can contact them, but first approach </p>
<p>Fetch contact info of your third year mentors here:</p>
<div style="background-color:burlywood" class="container themed-container">
<form method="get" action="mentor1.php">
<input id="btn-3" name="btn-3" type="submit" value="<?php echo $name[1] ?>" class="subbtn" >
<?php for ($i=0;$i<2;$i++){ ?>
<?php if($name[$i]) {?>
<input id="btn-<?php echo $i+2 ?>" name="btn-<?php echo $i+2 ?>" type="submit" value="<?php echo $name[$i] ?>" class="subbtn" >
</form></div><br>

<?php } ?>
<?php } ?>
<hr>
</div>
<div class="container" id="containers">
Expand All @@ -171,15 +165,6 @@
<div style="background-color: burlywood" class="container themed-container"> <form method="get" action="mentor1.php">
<input id="btn-41" name="btn-41"type="submit" value="<?php echo $name[2] ?>" class="subbtn">
</form> </div>
<div style="background-color: burlywood" class="container themed-container"> <form method="get" action="mentor1.php">
<input id="btn-42" name="btn-42"type="submit" value="<?php echo $name[3] ?>" class="subbtn">
</form> </div>
<div style="background-color: burlywood;" class="container themed-container"> <form method="get" action="mentor1.php">
<input id="btn-43" name="btn-43"type="submit" value="<?php echo $name[4] ?>" class="subbtn">
</form> </div>
<div style="background-color: burlywood;" class="container themed-container"> <form method="get" action="mentor1.php">
<input id="btn-44" name="btn-44"type="submit" value="<?php echo $name[5] ?>" class="subbtn">
</form> </div>
<br>

<p>&copy; SMP - MNNIT </p>
Expand Down
20 changes: 12 additions & 8 deletions backend/profile.php
Original file line number Diff line number Diff line change
Expand Up @@ -60,24 +60,28 @@
echo $mname
?>
</h1>
<p class="lead"> <?php
echo $myear
?> , MNNIT Allahabad</p>

</div>
<img class="bd-placeholder-img" src="pics/uk2.jpg" alt="Pic">
<div class="land">
<ul>
<li>Phone Number :
<?php
echo $mphone
if($mphone)
echo $mphone;
else
echo "NA";
?>
</li>
<li>Room No : <?php
echo $mroom
<li>Registration No. : <?php
echo $reg_no
?></li>
<li>Hostel :
<li>Email :
<?php
echo $mhostel
if($mhostel)
echo $mhostel;
else
echo "NA";
?>
</li>
</ul>
Expand Down

0 comments on commit d4ed8f8

Please sign in to comment.