Example #1
0
                                                </div>
                                                <div class="clear"></div>

                                            </div>
                                            <!-- End .profile -->

                                            <!-- .resume -->
                                            <div id="portfolio" class="content_2">

                                                <!-- .title -->
                                                <h1 class="h-bloc">My Mentors</h1> 
                                                
                                                <div class="container-portfolio">
                                                <?php 
include "searchmentors.php";
get_mentors_3();
savedmentors();
?>
                                                  
                                                    <?php 
if (!$_SESSION['savedprof'][0] == 0) {
    ?>
 <div class="view view-first portfolio logo" data-cat="logo">
                                                            <img src=<?php 
    echo $_SESSION['savedprof'][0]['photo'];
    ?>
 alt"Add More Mentors"/>
                                                            <a href="mymentor1.php"> <div class="mask" rel="portfolio" >
                                                               
                                                                <h2><?php 
    echo $_SESSION['savednaem'][0]['username'];
Example #2
0
if (empty($_SESSION['user'])) {
    // If they are not, we redirect them to the login page.
    header("Location: login.php");
    // Remember that this die statement is absolutely critical.  Without it,
    // people can view your members-only content without logging in.
    die("Redirecting to login.php");
}
// Everything below this point in the file is secured by the login system
// We can display the user's username to them by reading it from the session array.  Remember that because
// a username is user submitted content we must use htmlentities on it before displaying it to the user.
?>
 

<?php 
require_once "searchmentors.php";
$mentors_3 = get_mentors_3();
//foreach($_SESSION['names3'] as $mentor) {
//echo $mentor['college'];
//echo "<br>";
//}
?>
<!--[if lt IE 7]>      <html class="no-js lt-ie9 lt-ie8 lt-ie7"> <![endif]-->
<!--[if IE 7]>         <html class="no-js lt-ie9 lt-ie8"> <![endif]-->
<!--[if IE 8]>         <html class="no-js lt-ie9"> <![endif]-->
<!--[if gt IE 8]><!--> <html class="no-js"> <!--<![endif]-->
    <head>

        <title>FlexyCard HTML5 Responsive vCard Template - FlexyCodes Themes</title>

        <meta http-equiv="content-type" content="text/html; charset=utf-8"/>
        <meta http-equiv="X-UA-Compatible" content="IE=edge,chrome=1">