module Web.HCheat where
import Prelude hiding ((.))
import MPS.TH
analytics x = [$here|
<script type="text/javascript">
var gaJsHost = (("https:" == document.location.protocol) ? "https://ssl." : "http://www.");
document.write(unescape("%3Cscript src='" + gaJsHost + "google-analytics.com/ga.js' type='text/javascript'%3E%3C/script%3E"));
</script>
<script type="text/javascript">
try {
|] ++ "var pageTracker = _gat._getTracker('" ++ x ++ "');" ++ [$here|
pageTracker._trackPageview();
} catch(err) {}
</script>
|]
lorem = "Lorem ipsum dolor sit amet, consectetur adipisicing elit, sed do eiusmod tempor incididunt ut labore et dolore magna aliqua. Ut enim ad minim veniam, quis nostrud exercitation ullamco laboris nisi ut aliquip ex ea commodo consequat. Duis aute irure dolor in reprehenderit in voluptate velit esse cillum dolore eu fugiat nulla pariatur. Excepteur sint occaecat cupidatat non proident, sunt in culpa qui officia deserunt mollit anim id est laborum."
rzg = [$here|
夜来风雨损余芳。数片衰红落槛傍。媚景背人容易去,半轩飞絮日空长。
从来不信相思切,及至如今倍感伤。独立黄昏绣帘外,可堪新月露圆光。
|]