Beispiel #1
0
function ecrireFooter()
{
    ?>

	<!-- Footer -->
	<footer>
		<p class="credits">
		IESSA14 - <a href="#CV" title="Co Gliss">HODIQUET Alexis</a>
			et <a href="#CV" title="Co Gliss">THOMAS Raimana</a>
		</p>
	</footer>
	<!-- End Footer -->

	<!-- Back To Top -->
	<a id="back-to-top" href="#"> <i class="font-icon-arrow-simple-up"></i>
	</a>
	<!-- End Back to Top -->
<?php 
    ecrireScript();
    ?>
<script type="text/javascript" src="js/co_glisse.js"></script>
<?php 
    ecrireFermeturePage();
}
Beispiel #2
0
$("#inscription_submit").click(function(){
	console.log('DEBUG inscription_submit la ca marche');
	
	$auth_form = $('#inscription-form');
	var fields = $auth_form.serialize();
	
	$.ajax({
		type: "GET",
		url: "index.php",
		data: fields,
		dataType: 'json',
		success: function(response) {
			console.log('DEBUG inscription_submit SUCCESS');
			if(response.status){
				$('#inscription-form input').val('');
				$('#conn_profil').empty().html(response.html);
			}
			else
				$('#inscription-response').empty().html(response.html);
		}
	});
	
	console.log('DEBUG  inscription_submit ca marche jusqua la fin');
	});

});
</script>
<?php 
ecrireFermeturePage();