Template:Lp-layout-default: Difference between revisions

Content deleted Content added
Cbarr (talk | contribs)
No edit summary
Cbarr (talk | contribs)
No edit summary
Line 1:
<html>
<script type="text/javascript">
 
function getQuerystring( key ) {
key = key.replace( /[\[]/, '\\\[' ).replace( /[\]]/, '\\\]' );
var regex = new RegExp( '[\\?&]' + key + '=([a-zA-Z0-9\_\-]*)' );
var qs = regex.exec( window.location.search );
return qs == null ? '' : qs[1];
 
var countryCode = getQuerystring("country");
alert(countryCode);
var languageCode = getQuerystring("uselang");
alert(languageCode);
var appealName = getQuerystring("appeal");
alert("appealName);
//var appealName = getQuerystring("form");
 
<style type="text/css">
#pitch {
Line 67 ⟶ 84:
}
</style>
<script type="text/javascript">
function getQuerystring( key ) {
key = key.replace( /[\[]/, '\\\[' ).replace( /[\]]/, '\\\]' );
var regex = new RegExp( '[\\?&]' + key + '=([a-zA-Z0-9\_\-]*)' );
var qs = regex.exec( window.location.search );
return qs == null ? '' : qs[1];
</script>
<table id="LP-table" cellspacing="0" cellpadding="0">