<?php 
require_once 'admin-neuro/lib/Config.php';
?>

<!DOCTYPE html>
<html lang="en">

<head>
    <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','2','metatitle');?></title>
<meta name="keywords" content="<?php echo getRecord('id','metakeywords','2','keywords');?>"/>
<meta name="description" content="<?php echo getRecord('id','metakeywords','2','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");?> 
    

    
  <style>
  .single-post-home {
    background: #FFFFFF;
    overflow: hidden;
    box-shadow: 3px 4px 25px #0000001A;
    border-radius: 10px;
    transition: .3s;
    margin-bottom: 10px;
}
  </style>
    
    </head>

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


    <!-- Wrapper -->
    <div id="wrapper">

		 

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

        <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>Past Conferences </h1>
                </div>
                <div class="breadcrumb">
                    <ul>
                        <li><a href="index.php">Home</a> </li>
                        <li class="active"> Past Conferences  </li>
                    </ul>
                </div>
            </div>
        </section>

        
        <!--  -->
    <section class="pricing-section-three">

       <div class="container p-20">

     
<style>
    .pricing-block-three{
            padding: 0 12px;
    }
    .pricing-block-three .inner-box{
            padding: 15px 6px;
    }
    .pricing-block-three{
            margin-bottom: 16px;
    }
</style>
         <div class="row">
                 <!-- Content Column -->
                 	 <?php
	 $ps=executeQuery("select * from pastconference where status='1' ORDER BY `pastconference`.`id` DESC");
	 while($psc=getAssoc($ps)){
	 ?>
                <div class="content-column col-md-12 col-sm-12 shadow-lg m-b-20">
                    <div class="inner-column p-20">
                        <div class="sec-title p-t-20">
                            <span class="sub-title mb-0" style="font-size: 20px;"><i class="far fa-calendar-alt me-2"></i> <?php echo $psc['date'];?></span>
                            <h2><?php echo $psc['title'];?></h2>
                           
                            <div class="text">	<?php echo $psc['description'];?></div>
                        </div>
                        
                         <div class="row">

                <div class="pricing-block-three col-md-3 col-sm-3  wow fadeInUp" data-wow-delay="400ms">

                    <div class="inner-box">

                        <div class="title-box">
                            <h5><?php echo $psc['title1'];?></h5>
                        </div>
<img src="<?php echo $psc['image'];?>" class="img-responsive mt-2 mb-3 brdrimg">
 <!--<a href="<?php echo $psc['pdf'];?>" target="_blank"><img src="<?php echo $psc['image'];?>" class="img-responsive brdrimg"></a>-->
                        <div class="btn-box">
                            <button class="theme-btn btn-style-one" data-toggle="modal" data-target="#exampleModal<?php echo $psc['id'];?>"><span class="btn-title" >Download Book <i class="ms-2 fa fa-download"></i></span></button>
                        </div> 

                    </div>

                </div>

                <div class="pricing-block-three col-md-3 col-sm-3  wow fadeInUp" data-wow-delay="400ms">

                    <div class="inner-box">

                        <div class="title-box">
                            <h5><?php echo $psc['title2'];?></h5>
                        </div>
<img src="<?php echo $psc['image1'];?>" class="img-responsive mt-2 mb-3 brdrimg">
 <!--<a href="<?php echo $psc['pdf1'];?>" target="_blank"><img src="<?php echo $psc['image'];?>" class="img-responsive brdrimg"></a>-->
                        <div class="btn-box">
                            <button class="theme-btn btn-style-one" data-toggle="modal" data-target="#exampleModals<?php echo $psc['id'];?>"><span class="btn-title">Download Program <i class="ms-2 fa fa-download"></i></span></button>
                        </div>

                    </div>

                </div>

                <div class="pricing-block-three col-md-3 col-sm-3  wow fadeInUp">

                       <div class="inner-box">

                        <div class="title-box">
                            <h5><?php echo $psc['title3'];?></h5>
                        </div>
<img src="<?php echo $psc['image2'];?>" class="img-responsive mt-2 mb-3 brdrimg">
                        <div class="btn-box">
                            <a href="<?php echo $psc['link2'];?>" class="theme-btn btn-style-one"><span class="btn-title">View More</span></a>
                        </div>

                    </div>
                </div>

                <div class="pricing-block-three col-md-3 col-sm-3  wow fadeInUp" data-wow-delay="400ms">

                      <div class="inner-box">

                        <div class="title-box">
                            <h5><?php echo $psc['title4'];?></h5>
                        </div>
<img src="<?php echo $psc['image3'];?>" class="img-responsive mt-2 mb-3 brdrimg">
                        <div class="btn-box">
                            <a href="<?php echo $psc['link'];?>" class="theme-btn btn-style-one"><span class="btn-title">View More</span></a>
                        </div>

                    </div>
                </div>

                        </div>

                    </div>
                </div>

           <?php } ?>     
            </div>

          
        </div>

    </section>
        <!-- end:  -->
        

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

        

    </div>    
    <!-- end: Wrapper -->
    
	 <?php
	 $ps=executeQuery("select * from pastconference where status='1'");
	 while($psc=getAssoc($ps)){
	   
	 ?>
	 

	 
<div class="modal fade" id="exampleModal<?php echo $psc['id'];?>" tabindex="-1" aria-labelledby="exampleModalLabel" aria-hidden="true">
  <div class="modal-dialog modal-lg">
    <div class="modal-content">
      <div class="modal-header">
        <button aria-hidden="true" data-dismiss="modal" class="close" type="button">×</button>  
        <h4 id="exampleModalLabel" class="modal-title">Past Conference Download <?php echo $psc['title1'];?></h4>
      </div>
      <div class="modal-body">
       <!-- Contact Section -->
    <section class="contact-section p-0">
        <div class="auto-container">
            <div class="sec-title text-center mb-4">
                
                <p class="m-t-0 m-b-10">Please feel free to contact us for any information, all the queries will be answered by the conference secretariat within 24 hrs.</p>
               
            </div>
<div class="row map-section pb-3">

            <div class="col-md-12 mx-auto col-sm-12 contact-form">
            <?php
											if(isset($_POST['submit'])){
											    
											     
											extract($_POST);	
												
												
										$in=executeQuery("INSERT INTO brochure(`name`,`email`,`phone`,`country`,`message`)VALUES('$name','$email','$phone','$country','$message')");		
														$to   = getRecord('id','mails','1','email');
														$sub  = "neurologyworldconference Brochure has been downloaded";
														
												$msg = "Dear Admin, Message From Past Conference Book:: www.neurologyworldconference.com<br />";
												$msg .= '<table border="1">';
												$msg .= "<table><tr><td>Name:</td><td> $name</td></tr>";
												$msg .= "<tr><td>Email Id:</td><td> $email</td></tr>";
												$msg .= "<tr><td>Phone No:</td><td> $phone</td></tr>";
												$msg .= "<tr><td>Country:</td><td> $country</td></tr>";
												$msg .= "<tr><td>Message:</td><td> $message</td></tr></table>";
// 			$from = "Admin<info@neurologyworldconference.com >";
// 			$headers = "content-type: text/html"."\r\n"."from: $from";
$headers = "MIME-Version: 1.0" . "\r\n";
$headers .= "Content-type:text/html;charset=UTF-8" . "\r\n";
$headers .= 'From: Admin <info@neurologyworldconference.com>' . "\r\n";
												mail($to, $sub, $msg, $headers);?>
												
                                                <script>
        alert("Thank you for submitting the Brochure Download.");
        // window.location="past-conference-thanks.php?id=<?php echo $psc['id'];?>";
        window.location="past-conference-thanks.php?id=<?php echo $id;?>";
        </script>
								<?php } ?>
                <form method="post" action="">
                    <div class="row clearfix p-20" style="background: #f1f1f1;">
                        <div class="col-lg-6 col-md-6 col-sm-12 form-group">
                            <div class="input-outer">
                                <input type="text" name="name" placeholder="Name" required>
                                <span class="icon fa fa-user"></span>
                            </div>
                        </div>
                        
                        <div class="col-lg-6 col-md-6 col-sm-12 form-group">
                            <div class="input-outer">
                                <input type="email" name="email" placeholder="Email" required>
                                <span class="icon fa fa-envelope"></span>
                            </div>
                        </div>

                        <div class="col-lg-6 col-md-6 col-sm-12 form-group">
                            <div class="input-outer">
                                <input type="text" name="phone" placeholder="Phone" required>
                                <span class="icon fa fa-phone"></span>
                            </div>
                        </div>

                        <div class="col-lg-6 col-md-6 col-sm-12 form-group">
                            <div class="input-outer">
                                <select name="country" class="wpcf7-form-control wpcf7-select wpcf7-validates-as-required" required>
                                    <script type="text/javascript" language="javascript">
                                     document.write( getCountryOptionsListHtml( "" ) );
                                   </script>
                                   </select>
                                <span class="icon fa fa-globe"></span>
                            </div>
                        </div>
                        
                        <div class="col-lg-12 col-md-12 col-sm-12 form-group">
                            <textarea name="message" required placeholder="Message"></textarea>
                        </div>
                        
                        
                       
                        <div class="col-lg-12 col-md-12 col-sm-12 form-group text-center">
                            <input type="hidden" name="id" value="<?php echo $psc['id'];?>">
                            <button class="theme-btn btn-style-one mt-3" id="c-captcha" type="submit" name="submit" value="submit"><span class="btn-title">Submit Now</span></button>
                        </div>
                    </div>
                </form>
            </div>
        </div>
        </div>
    </section>
    <!--End Contact Page Section -->

      </div>
     
    </div>
  </div>
</div>

<div class="modal fade" id="exampleModals<?php echo $psc['id'];?>" tabindex="-1" aria-labelledby="exampleModalLabel2" aria-hidden="true">
  <div class="modal-dialog modal-dialog-centered modal-lg">
    <div class="modal-content">
      <div class="modal-header">
        <button aria-hidden="true" data-dismiss="modal" class="close" type="button">×</button>    
        <h4 id="exampleModalLabel2" class="modal-title">Past Conference Download <?php echo $psc['title2'];?></h4>
      </div>
      <div class="modal-body">
       <!-- Contact Section -->
    <section class="contact-section p-0">
        <div class="auto-container">
            <div class="sec-title text-center mb-4">
                
                <p class="m-t-0 m-b-10">Please feel free to contact us for any information, all the queries will be answered by the conference secretariat within 24 hrs.</p>
               
            </div>
<div class="row map-section pb-3">
         

            <div class="col-md-12 mx-auto col-sm-12 contact-form">
            <?php
											if(isset($_POST['submit2'])){
											    
											     
											extract($_POST);	
												
												
										$in=executeQuery("INSERT INTO brochure(`name`,`email`,`phone`,`country`,`message`)VALUES('$name','$email','$phone','$country','$message')");		
														$to   = getRecord('id','mails','1','email');
														$sub  = "neurologyworldconference Brochure has been downloaded";
														
												$msg = "Dear Admin, Message From Past Conference Program:: www.neurologyworldconference.com<br />";
												$msg .= '<table border="1">';
												$msg .= "<table><tr><td>Name:</td><td> $name</td></tr>";
												$msg .= "<tr><td>Email Id:</td><td> $email</td></tr>";
												$msg .= "<tr><td>Phone No:</td><td> $phone</td></tr>";
												$msg .= "<tr><td>Country:</td><td> $country</td></tr>";
												$msg .= "<tr><td>Message:</td><td> $message</td></tr></table>";
// 			$from = "Admin<info@neurologyworldconference.com >";
// 			$headers = "content-type: text/html"."\r\n"."from: $from";
$headers = "MIME-Version: 1.0" . "\r\n";
$headers .= "Content-type:text/html;charset=UTF-8" . "\r\n";
$headers .= 'From: Admin <info@neurologyworldconference.com>' . "\r\n";
												mail($to, $sub, $msg, $headers);?>
												
                                                <script>
        alert("Thank you for submitting the Brochure Download.");
       // window.location="past-conferencepro-thanks.php?id=<?php echo $psc['id'];?>";
        window.location="past-conferencepro-thanks.php?id=<?php echo $id;?>";
        </script>
								<?php } ?>
                <form method="post" action="">
                    <div class="row clearfix p-20" style="background: #f1f1f1;">
                        <div class="col-lg-6 col-md-6 col-sm-12 form-group">
                            <div class="input-outer">
                                <input type="text" name="name" placeholder="Name" required>
                                <span class="icon fa fa-user"></span>
                            </div>
                        </div>
                        
                        <div class="col-lg-6 col-md-6 col-sm-12 form-group">
                            <div class="input-outer">
                                <input type="email" name="email" placeholder="Email" required>
                                <span class="icon fa fa-envelope"></span>
                            </div>
                        </div>

                        <div class="col-lg-6 col-md-6 col-sm-12 form-group">
                            <div class="input-outer">
                                <input type="text" name="phone" placeholder="Phone" required>
                                <span class="icon fa fa-phone"></span>
                            </div>
                        </div>

                        <div class="col-lg-6 col-md-6 col-sm-12 form-group">
                            <div class="input-outer">
                                <select name="country" class="wpcf7-form-control wpcf7-select wpcf7-validates-as-required" required>
                                    <script type="text/javascript" language="javascript">
                                     document.write( getCountryOptionsListHtml( "" ) );
                                   </script>
                                   </select>
                                <span class="icon fa fa-globe"></span>
                            </div>
                        </div>
                        
                        <div class="col-lg-12 col-md-12 col-sm-12 form-group">
                            <textarea name="message" required placeholder="Message"></textarea>
                        </div>
                        
                        
                       
                        <div class="col-lg-12 col-md-12 col-sm-12 form-group text-center">
                            <input type="hidden" name="id" value="<?php echo $psc['id'];?>">
                            <button class="theme-btn btn-style-one mt-3" id="c-captcha2" type="submit" name="submit2" value="submit"><span class="btn-title">Submit Now</span></button>
                        </div>
                    </div>
                </form>
            </div>
        </div>
        </div>
    </section>
    <!--End Contact Page Section -->

      </div>
     
    </div>
  </div>
</div>

<?php } ?>    

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

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




</body>

</html>
