<?php 
require_once 'admin-neuro/lib/Config.php';
?>
<!DOCTYPE html>
<html lang="en">
    	    <?php
$iid=$_GET['id'];
$id = str_replace('-',' ',$iid);
//echo "select * from speakers where url_title='$id' ORDER BY year DESC";
$se=executeQuery("select * from speakers where url_title='$id' ORDER BY year DESC");
$res=getAssoc($se);
    ?>
<head>
<base href="<?php echo ROOT_PATH;?>/" />
    <meta name="viewport" content="width=device-width, initial-scale=1" />
    <meta http-equiv="content-type" content="text/html; charset=utf-8" />
<title><?php echo getRecord('id','metakeywords','4','metatitle');?></title>
<meta name="keywords" content="<?php echo getRecord('id','metakeywords','4','keywords');?>"/>
<meta name="description" content="<?php echo getRecord('id','metakeywords','4','description');?>"/>
<link rel="shortcut icon" href="<?php echo getRecord('id','settings','1','image1');?>" type="image/x-icon">

    <!-- Stylesheets & Fonts -->
    <link href="http://fonts.googleapis.com/css?family=Open+Sans:300,400,800,700,600|Montserrat:400,500,600,700|Raleway:100,300,600,700,800" rel="stylesheet" type="text/css" />
    <link href="css/plugins.css" rel="stylesheet">
    <link href="css/style.css" rel="stylesheet">
    <link href="css/btn-styles.css" rel="stylesheet">
    <link href="css/responsive.css" rel="stylesheet"> 
    
    <link rel="preconnect" href="https://fonts.gstatic.com">
<link href="https://fonts.googleapis.com/css2?family=Poppins:wght@100;200;300;400;500;600;700;800;900&display=swap" rel="stylesheet"> 
    
    
    <!-- Event styles -->
    <link href="css/event-styles.css" rel="stylesheet"> 
    <link href="css/pgc.css" rel="stylesheet"> 
    
    <?php include("script.php");?> 
    
    
    </head>

<body class="no-page-loader">


    <!-- Wrapper -->
    <div id="wrapper">
        
   
	    
		<!-- Header -->
<?php include("links/menu.php");?>
		<!-- end: Header -->
        
    <style>
        .feature-block-three {
    position: relative;
    background: #001166;
    padding: 20px;
    max-width: 100%;
    border-radius: 0 50px 0 50px;
    margin: 24px 0;
    margin-left: 0;
}
.yearbadge{
        display: inline-block;
    padding: 1px 18px;
    border: solid 1px #fff;
    border-radius: 6px;
    margin-bottom: 8px;
}
.feature-block-three .icon-box .icon {
    position: relative;
    font-size: 44px;
}
.feature-block-three .abs-icon{
    font-size:50px;
}
.feature-block-three h4 {
    font-size: 18px;}
    </style>
    
        <!-- Page title -->
        <section id="page-title" class=""style="background-image: url(images/background/11.jpg);">
            <div class="bg-overlay"></div>
            <div class="container">
                <div class="page-title">
                    <h1>Speakers - <?php echo getRecord('id','speakers_year',$res['year'],'title');?></h1>
                </div>
                <div class="breadcrumb">
                    <ul class="page-breadcrumb">
                    <li><a href="index.php">Home</a></li>
                    <li>Speakers</li>
                </ul> 
                </div>
            </div>
        </section>
        <!-- end: Page title --> 

        

        <!-- Speker Detail -->
   <section class="speaker-detail-section">
    <style>
        .speaker-block-two .info-box{background-color: #222;padding-bottom: 8px;}
    </style>
    <div class="container">
        <div class="row shadow rounded pt-4">
            <div class="image-column  col-md-3 col-sm-3 col-xs-12">
              
                    <!-- Speaker block -->
                    <div class="speaker-block-two wow fadeInLeft">
                        <div class="inner-box">
    
                            <div class="image-box">
        
                                <figure class="image"><a href=""><img src="<?php echo $res['image'];?>" alt="<?php echo $res['alt'];?>"></a></figure>
        
                              
        
                            </div>
        
                            <div class="info-box">
        
                                <h4 class="name"><a href=""><?php echo $res['name'];?></a></h4>
        
                               <!-- <span class="designation">S&amp;P Analyzer</span>-->
        
                            </div>  
        
                        </div>
                    </div>

            </div>

          
                <div class="details-column  col-md-9 col-sm-9 col-xs-12  m-b-20">
                    <div class="speaker-details ps-0">
                        <h4 class="name"><a href="#"><?php echo $res['name'];?></a></h4>
                        <!--<span class="designation">Maxii's Manager</span>-->

                        <ul class="speaker-info-list">
                          
                            <li><strong>Designation:</strong> <?php echo $res['about'];?></li>
                           
                            <li><strong>Country:</strong> <?php echo $res['country'];?></li>
                            <!--<li><strong>Title:</strong> <?php echo $res['title'];?></li>-->
                        </ul>
                    </div>
              

                <?php if($res['description']!=''){
                    ?>
                 <h3 class="mb-2 mt-3">Biography</h3>
               <?php echo $res['description'];?>
               
               <?php } ?>
               
               
                <?php /* if($res['description2']!=''){
							?>
                <h3 class="mb-2 mt-3">Abstract</h3>
               <?php echo $res['description2'];?>
               <?php } */ ?>
               
               
               <div class="mt-4">
                    <?php
      
			 $sel=executeQuery("select * from speakers where name='$res[name]' ORDER BY year DESC");
			 while($rec=getAssoc($sel)){
			 ?>
			  <?php $cst = str_replace(' ','-', $rec['title_url_title']); ?>
			  <?php $nst = str_replace(' ','-', getRecord("id","speakers_year",$rec["year"],"title")); ?>
               <div class="feature-block-three wow fadeInUp animated" data-wow-delay="300ms" style="visibility: visible; animation-delay: 300ms; animation-name: fadeInUp;">

                        <div class="inner-box">

                            <div class="icon-box"><i class="icon flaticon-certificate-1"></i></div>

                            <p class="yearbadge"><?php echo getRecord('id','speakers_year',$rec['year'],'title');?></p>

                            <p><?php echo $rec['keynote'];?></p>
                            
                            <a href="scientific-program-title/<?php echo $nst;?>/<?php echo $cst;?>"><h4 class="mb-0">Title : <?php echo $rec['title'];?></h4></a>

                        </div>

                        <div class="abs-icon"><i class="icon flaticon-idea"></i></div>

                    </div>
                    
                    <?php } ?>
                </div>    
            </div>
        </div>
    </div>
</section>
<!--End Speker Detail -->

        
    
            
            
            
           <!-- FOOTER -->
            <?php include("links/footer.php");?> 
            
    		<!-- end: FOOTER -->

    </div>    
    <!-- end: Wrapper -->

    <!--Plugins-->
<script src="js/jquery.js"></script>
<script src="js/plugins.js"></script>

<!--Template functions-->
<script src="js/functions.js"></script> 




</body>

</html>
