|
| 1 | +<html> |
| 2 | +<head> |
| 3 | +<title>Banned | Coding Hut</title> |
| 4 | +</head> |
| 5 | +<body> |
| 6 | +<!-- Default Dynamic Section --> |
| 7 | +<div id="default-content" class="dynamic-content"> |
| 8 | + You have been banned from Coding Hut for breaking the Rules, but for an unknown reason. |
| 9 | +</div> |
| 10 | +<!-- Dynamic Section 1 --> |
| 11 | +<div id="spam" class="dynamic-content"> |
| 12 | + You have been banned from Coding Hut for spamming. |
| 13 | +</div> |
| 14 | +<!-- Dynamic Section 2 --> |
| 15 | +<div id="rude" class="dynamic-content"> |
| 16 | + You have been banned from Coding Hut for being rude. |
| 17 | +</div> |
| 18 | +<!-- Dynamic Section 3 --> |
| 19 | +<div id="nosnip" class="dynamic-content"> |
| 20 | + You have been banned from Coding Hut for not snipping your posts too much. |
| 21 | +</div> |
| 22 | + |
| 23 | + |
| 24 | +</body> |
| 25 | +</html> |
| 26 | + |
| 27 | +<style> |
| 28 | +.dynamic-content { |
| 29 | + display:none; |
| 30 | +} |
| 31 | +</style> |
| 32 | + |
| 33 | +<script> |
| 34 | +// Parse the URL parameter |
| 35 | +function getParameterByName(name, url) { |
| 36 | + if (!url) url = window.location.href; |
| 37 | + name = name.replace(/[\[\]]/g, "\\$&"); |
| 38 | + var regex = new RegExp("[?&]" + name + "(=([^&#]*)|&|#|$)"), |
| 39 | + results = regex.exec(url); |
| 40 | + if (!results) return null; |
| 41 | + if (!results[2]) return ''; |
| 42 | + return decodeURIComponent(results[2].replace(/\+/g, " ")); |
| 43 | +} |
| 44 | +// Give the parameter a variable name |
| 45 | +var dynamicContent = getParameterByName('reason'); |
| 46 | +</script> |
0 commit comments