Esempio n. 1
0
}
-->
</style>
<script type="text/javascript">
	function toogleGmapsFullScreen () {
		$("#gmaps_container").toggleClass("gmaps_container-fullscreen");
	}	
</script>

<div class='gmaps_container' id='gmaps_container'>
	<?php 
if ($CONF_google_maps_api_key) {
    ?>
 
	<iframe src="<?php 
    echo "http://" . $_SERVER['SERVER_NAME'] . getRelMainDir() . "EXT_google_maps_browser.php";
    ?>
"
	  	title="Google Map" width="100%" height="100%" scrolling="no" frameborder="0">
	Sorry. If you're seeing this, your browser doesn't support IFRAMEs.
	You should upgrade to a more current browser.
	</iframe>
	<?php 
}
?>
 
</div>

<?php 
closeMain();
		 , '".$actkey."'
		 )";
		 if( $db->sql_query($sql)) {
			$email_body=sprintf(_Pilot_confirm_subscription,$CONF['site']['name'],$r['user_name'],
				$_SERVER['SERVER_NAME'],
				str_replace('//','/',$_SERVER['SERVER_NAME'].getRelMainDir().'/'.$CONF_mainfile),$actkey );
			LeonardoMail::sendMail('[Leonardo] - Confirmation email',utf8_decode($email_body),$_POST['email'],addslashes($_POST['firstname']));
			
			$msg="<p align='center'>".sprintf(_Server_send_conf_email,$_POST['email'])."</p>";
		 }
    } else {
		 // var_dump($r); 
         $msg="<p align ='center'>". _User_already_registered."</p>"; 
    }  
	      
	echo $msg; closeMain();return;	
	
}



if( !isset($_POST['registerForm'])&& !isset($_GET['rkey'])){

$calLang=$lang2iso[$currentlang];
?>
<script language="javascript"> 

var passwordMinLength='<?php 
echo $passwordMinLength;
?>
';