<?php 
require_once 'admin-neuro/lib/Config.php';
?>
<!DOCTYPE html>
<html lang="en">
	    <?php
/*$id=$_GET['id'];*/
$iid=$_GET['id'];
$id = str_replace('-',' ',$iid);
$se=executeQuery("select * from speakers_year where title='$id'");
$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">
    <!-- Document title -->
    <title><?php echo getRecord('id','metakeywords','4','metatitle');?></title>

    <!-- 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 -->
       
        <!-- 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 $res['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 --> 



<section class="p-t-40 p-b-40 clients-section" >
<div class="container">

<!--<div class="heading whiteBg_heading m-b-20 text-uppercase ">
     <h2 class=""> Speakers </h2>
     <span class="text-center"> &nbsp; </span>
</div>-->


    <div class="row team-members teammembers-home">
<?php
      
			 $sel=executeQuery("select * from speakers where year='$res[id]' and status='1'  order by sorting ASC");
			 while($rec=getAssoc($sel)){
			 ?>
			 <?php $cst = str_replace(' ','-', $rec['url_title']); ?>
			  <?php $nst = str_replace(' ','-', getRecord("id","speakers_year",$rec["year"],"title")); ?>
			  

    <div class="team-member memebrs-pageall inner-box">
        <div class="team-image image-box m-b-0">
            <a href="speaker/<?php echo $cst;?>"><img src="<?php echo $rec['image'];?>" alt="<?php echo $rec['alt'];?>"></a>
        </div>
        <div class="team-desc text-left">
            <h3><a href="speaker/<?php echo $cst;?>"><?php echo $rec['name'];?></a></h3>
            <span><a href="speaker/<?php echo $cst;?>"><?php echo $rec['about'];?></a></span>
            <span><a href="speaker/<?php echo $cst;?>"><?php echo $rec['country'];?></a></span>
        </div>
    </div>

 <?php } ?>

</div>



</div>
</section>








    
    <!-- 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>
