Your IP : 216.73.216.40


Current Path : /var/www/html/mmishra/iws8/html/ialumni/
Upload File :
Current File : /var/www/html/mmishra/iws8/html/ialumni/index.php.bak

<?php 
require_once("include/connection.php");
require_once("include/functions.php");

session_start();
$session = isset($_SESSION['ilogin']);
if ($session) {
        $ilogin = $_SESSION['ilogin'];
        $result = get_user_details($ilogin);
        $pp = $result['user_dp'];

        $chead = '<li class="btn-notifi" style="margin-left: 50px;"> <a href="#"> <i class="icon-bell" style="font-size: 16px;vertical-align: baseline;"></i> </a> </li>
                <li class="dropdown btn-user">
                    <a href="#" class="dropdown-toggle" data-toggle="dropdown" role="button" aria-haspopup="true" aria-expanded="false">                  
                        <span class="user-img" style="display:inline-block;background-image:url(images/uploads/alumni/'.$pp.');width: 24px;height:24px;background-size: cover;background-repeat: no-repeat;position: relative;top: 7px;border-radius:30px"></span>
                        <span class="caret"></span>
                    </a>

                    <ul class="dropdown-menu" style="margin-top: 10px;margin-left: -110px;font-size:13px;">
                        <li><a href="profile.php">My Profile</a></li>
                        <li role="separator" class="divider" style="display: block;margin: 0;"></li>
                        <li><a href="ajax/logout.php">Logout</a></li>
                    </ul>

                </li>';
} else {
        $chead = '<li class="btn-register" style="margin-left: 50px;"> <a href="?pg=register"> Register </a> </li>
                <li class="btn-login"> <a href="?pg=login"> Login </a> </li>';
}

?>

<!DOCTYPE html>
<html>
<head>
	<title>Alumni@IIITA</title>
	<meta http-equiv="Content-Type" content="text/html; charset=iso-8859-1" />
   	<link rel="stylesheet" href="styles/bootstrap.css">
    	<link rel="stylesheet" href="styles/ello/fontello.css">
	<link rel="stylesheet" href="styles/layout.css" type="text/css" />
		
    
	<style>
		body{
            width:100%;
            overflow-x: hidden;
            color: #333;
            font-style: normal;
            font-family: "Myriad Set Pro","Lucida Grande","Helvetica Neue","Helvetica","Arial","Verdana","sans-serif";
            font-size: 13px;;
            font-weight: 400;

            margin: 0;

            -webkit-font-smoothing: antialiased;
            -moz-osx-font-smoothing: grayscale;
            -moz-font-feature-settings: 'liga', 'kern';
		}

		#topnav li.dropdown li a{
			margin-top: -15px;
			margin-bottom: -15px;
		}
	</style>
</head>
<body id="stark" style="background: url(images/watermark.png) fixed;background-size: 100% auto;">
  	<div id="header" class="clear" style="width:100%;padding:0;background: #fff;padding-bottom:1px;border-bottom: 1px solid #d3d3d3;">
        <div class="hcontent" style="background: url('images/headBack.png');height: 143px;width:100%;">
            <div class="himg" style="background: url('images/header.png');height: 143px;background-repeat: no-repeat;width: 75%;margin: auto;"></div>
            <div class="hincontent">
                <div class="h-aap" style="color: #fff;font-size: 21px;position: relative;top: -115px;left: 37%;">
                    <span class="s-h-aap-f">Alumni Association Portal</span>
                </div>
            </div>
        </div>
        
        <div id="topnav">
            <ul style="list-style: none;margin-left: 145px;margin-top: 8px;margin-bottom: 5px;">
                <li class="btn-home"><a href="/"  class="active">Home</a></li>
                <li class="btn-dir"><a href="?pg=directory"> Directory <i class="icon icon-down-open-mini" style></i> </a> </li>
                <li class="btn-meets"> <a href="?pg=meets"> Meets <i class="icon icon-down-open-mini" style></i> </a> </li>
                <li class="btn-meets"> <a href="?pg=committee"> Committee <i class="icon icon-down-open-mini" style></i> </a> </li>
                <li class="btn-search">
                    <span class="icon-search" style="width: 15px;display: inline-block;height: 15px;position: relative;top: 0px;left: 30px;"></span>
                    <input type="text" placeholder="Search by name, batch, location, etc" style="width: 285px;padding: 5px;border-radius: 15px;padding-left: 35px;outline: none;padding-bottom: 7px;background: #fff;color: #333;border: 1px solid #d3d3d3;">
                </li>
                <?php echo $chead; ?>
            </ul>
        </div>
    </div>
    
    
    <div id="home" style="height:100%;width:100%">
        <div class="slider" style="height:450px">
            <div class="sl-images" style="width: 72%;height: 430px;margin-left: 180px;position: relative;top: 10px;z-index: 0;">
                <div class="sl-img opaque" data-index="1" style="background-image: url(images/iiita1.jpg);"></div>
                <div class="sl-img" data-index="2" style="background-image:url(images/iiita3.jpg);"></div>
                <div class="sl-img" data-index="3" style="background-image:url(images/iiita2.jpg);"></div>
            </div>
            <div class="sl-content" style="position: relative;width: 72%;background-image: linear-gradient(rgba(0,0,0,.55) 0%,rgba(0,0,0,.55) 100%);padding: 15px;margin: auto;left: 0px;bottom: 40px;height: 50px;color: #d3d3d3;">
                <div class="sl-text" style="width: 85%;display: inline-block;margin-left: 20px;font-size:14px">A very warm welcome to brand ambassadors at their alma mater.</div>
                <div class="sl-controls" style="width: 10%;display: inline-block;">
                    <div class="sl-ctrl">
                        <i class="icon-left-open-4 img-prev"></i>
                    </div>
                    <div class="sl-ctrl impa">
                        <i class="icon-pause-3 img-pause"></i>
                    </div>
                    <div class="sl-ctrl impl" style="display:none">
                        <i class="icon icon-play-3 img-play"></i>
                    </div>
                    <div class="sl-ctrl">
                        <i class="icon icon-right-open-4 img-next"></i>
                    </div>
                </div>
            </div>
        </div>
        
        <div id="main">
            <div class="content" style="margin: auto;width: 72%;background: #fff;padding: 25px;height: 630px;margin-bottom: 20px;">

                <div class="content-left" style="width: 35%;display: inline-block;">
                    <div id="home_news" class="section">
                      <div class="section_heading">
                        <svg version="1.1" id="Layer_1" xmlns="http://www.w3.org/2000/svg" xmlns:xlink="http://www.w3.org/1999/xlink" x="0px" y="0px" viewBox="0 0 60 60" enable-background="new 0 0 60 60" xml:space="preserve">
                          <g>
                            <path d="M54.7,5.2H5.3c-0.5,0-0.9,0.5-0.9,1v47.5c0,0.6,0.4,1,0.9,1h49.4c0.5,0,0.9-0.5,0.9-1V6.2C55.5,5.7,55.2,5.2,54.7,5.2z
                               M53.8,52.7H6.2V7.3h47.7V52.7z"></path>
                            <path d="M10.4,23.8h39.2c0.5,0,0.9-0.5,0.9-1V12.4c0-0.6-0.4-1-0.9-1H10.4c-0.5,0-0.9,0.5-0.9,1v10.3C9.6,23.3,9.9,23.8,10.4,23.8z
                               M11.3,13.5h37.5v8.3H11.3V13.5z"></path>
                            <path d="M27.4,30H13.8c-0.5,0-0.9,0.5-0.9,1c0,0.6,0.4,1,0.9,1h13.6c0.5,0,0.9-0.5,0.9-1C28.3,30.5,27.9,30,27.4,30z"></path>
                            <path d="M27.4,34.1H12.1c-0.5,0-0.9,0.5-0.9,1c0,0.6,0.4,1,0.9,1h15.3c0.5,0,0.9-0.5,0.9-1C28.3,34.6,27.9,34.1,27.4,34.1z"></path>
                            <path d="M27.4,38.3H12.1c-0.5,0-0.9,0.5-0.9,1s0.4,1,0.9,1h15.3c0.5,0,0.9-0.5,0.9-1S27.9,38.3,27.4,38.3z"></path>
                            <path d="M27.4,42.4H12.1c-0.5,0-0.9,0.5-0.9,1c0,0.6,0.4,1,0.9,1h15.3c0.5,0,0.9-0.5,0.9-1C28.3,42.9,27.9,42.4,27.4,42.4z"></path>
                            <path d="M27.4,46.5H12.1c-0.5,0-0.9,0.5-0.9,1s0.4,1,0.9,1h15.3c0.5,0,0.9-0.5,0.9-1S27.9,46.5,27.4,46.5z"></path>
                            <path d="M47.9,30H32.6c-0.5,0-0.9,0.5-0.9,1c0,0.6,0.4,1,0.9,1h15.3c0.5,0,0.9-0.5,0.9-1C48.7,30.5,48.3,30,47.9,30z"></path>
                            <path d="M47.9,34.1H32.6c-0.5,0-0.9,0.5-0.9,1c0,0.6,0.4,1,0.9,1h15.3c0.5,0,0.9-0.5,0.9-1C48.7,34.6,48.3,34.1,47.9,34.1z"></path>
                            <path d="M47.9,38.3H32.6c-0.5,0-0.9,0.5-0.9,1s0.4,1,0.9,1h15.3c0.5,0,0.9-0.5,0.9-1S48.3,38.3,47.9,38.3z"></path>
                            <path d="M47.9,42.4H32.6c-0.5,0-0.9,0.5-0.9,1c0,0.6,0.4,1,0.9,1h15.3c0.5,0,0.9-0.5,0.9-1C48.7,42.9,48.3,42.4,47.9,42.4z"></path>
                            <path d="M44.5,46.5H32.6c-0.5,0-0.9,0.5-0.9,1s0.4,1,0.9,1h11.9c0.5,0,0.9-0.5,0.9-1S44.9,46.5,44.5,46.5z"></path>
                          </g>
                        </svg>
                        <a href="/news">News and Announcements</a>
                      </div>
                      <div class="section_content">

                        <ul>

                          <li class="news_item">
                            <a href="#">
                              <div class="news_content">
                                <p class="date"><i class="icon-circle-thin" style="font-size:10px;vertical-align:top;margin-right:5px"></i>19-20 Dec, 2015</p>
                                <p class="text">Alumni Entrepreneurs Meet</p>
                              </div>
                              <i class="icon-right-open-1 hover_link"></i>
                            </a>
                          </li>

                          <li class="news_item">
                            <a href="#">
                              <div class="news_content">
                                <p class="date"><i class="icon-circle-thin" style="font-size:10px;vertical-align:top;margin-right:5px"></i>Nov 05, 2015</p>
                                <p class="text">Registrations are open</p>
                              </div>
                              <i class="icon-right-open-1 hover_link"></i>
                            </a>
                          </li>


                        </ul>

                      </div>
                    </div>

                    <div id="home_facebook_group" class="section">
                        <div class="section_content text-center">
                            <img src="images/facebook-groups-icon.jpg">
                            <p><a href="https://www.facebook.com/groups/831338386986208/" target="_blank">Join our facebook group</a></p>
                        </div>
                    </div>
                </div>

                <div class="content-right" style="width: 61%;float: right;">
                    <div class="home_details">
                        <div class="hd-updates" style="color: rgb(255,0,0);margin-bottom: 30px;"> This year alumni meet is scheduled for 19-20 Dec, 2015. 
It is mandatory to register for membership of IIITA Alumni Association. 
                          </div>
                        
                        <div class="hd-title" style="font-size: 15px;margin-bottom: 25px;">IIIT Allahabad</div>
                        <div class="hd-content">
                            <p style="font-size: 13px;color: #666;line-height: 2;">Welcome to the Alumni Association Portal, a platform for alumni from all over the world to network with each other, socially and professionally. <br><br>

Institute established in 1999, is a center of excellence imparting education and doing research in the field of IT &amp; allied areas. With over thousand of alumni living across the world, a network comprises of engineers, computer scientists and various professionals is highly encouraged. Institute is extremely proud of the accomplishments of its alumnae and wishes them to stay connected with their alma mater always. <br><br>

This portal is open to all alumnae across the globe and students at the campus for networking of past and present to strengthen the relationship between both for a grand future. <br><br>

Please feel free to contact us to let us know what you expect from us.

<br><br>
With best wishes,</p>
                        
                        </div>
                    </div>
                </div>
            </div>
        </div>
    </div>
    
    <div id="footer">
        <div class="fcontent" style="width: 72%;margin: auto;">
            <div class="fleft" style="color:#fff;width: 64%;display: inline-block;margin-left: 10px;">
                <span class="org-logo">
                    <span style="display:inline-block;width: 40px;height: 45px;background-image:url(images/flogo.jpg);background-size: contain;background-repeat: no-repeat;position: relative;top: 20px;"></span>
                    <a href="http://iiita.ac.in" target="_blank" style="color: #fff;font-weight: bold;">IIIT Allahabad</a>
                </span>
                <span class="c-text" style="color: #d3d3d3;"> <i class="icon-copyright"></i> copyright 2015</span>
            </div>

            <div class="fright" style="width: 20%;float: right;position: relative;top: 30px;">
            
                <div class="">
                  <span style="color: #d3d3d3;">Developed by</span>
                  <a href="#" target="" style="color: #fff;font-weight: bold;">Ankit Stark</a>
                </div>
            </div>
        </div>
    </div>
    
    <script src="javascript/jquery.min.js"></script>
    <script src="javascript/ajaxupload.js"></script>
    <script src="javascript/main.js"></script>
    
    <script>
        $('.btn-user').click(function() {
            $('#topnav .dropdown-menu').fadeToggle();
        });
    </script>
    
    <script>
        var slideshow;
        slideshow = setInterval(function() {
            slideimg('ss');
        }, 5000);
        
        $('.img-prev').click(function(){
            slideimg('prev');
        });
        
        $('.img-next').click(function(){
            slideimg('next');
        });
        
        $('.img-play').click(function(){
            
            slideshow = setInterval(function() {
                slideimg('ss');
            }, 5000);
            
            $(this).parent('.sl-ctrl').hide();
            $('.impa').show();
        });
        
        $('.img-pause').click(function(){
            clearInterval(slideshow);
            
            $(this).parent('.sl-ctrl').hide();
            $('.impl').show();
        });
        
        
        var index = 0;
        
        function slideimg(action) {
            var numImgs = $('.sl-img').length;
            index = $('.sl-img.opaque').data('index');
                
            $(".sl-img").removeClass("opaque");
        
            
            if(action == "prev") {        
                if( index == 1 ) {
                    index = numImgs;
                }
                else {
                    index--;
                }        
            }
            
            if( (action == "next") || action == "ss"){
     
                if(index == numImgs) {
                    index = 1;
                }
                
                else {
                    index++;
                }
            }
            
            $(".sl-img:nth-child("+(index)+")").addClass("opaque");
            
            
            if(index == 1) {
                $('.sl-text').text('A very warm welcome to brand ambassadors at their alma mater.');
            }
            
            if(index == 2) {
                $('.sl-text').text('Never forget your roots, especially IIITA roots.');
            }
            
            if(index == 3) {
                $('.sl-text').text('Coming soon: Admin and BH5');
            }
        }
    </script>
</body>
</html>