Beispiel #1
0
function prepare_MV($db, $Text, $Activation)
{
    /**Förbereder en MV som automatiskt ska placeras på plats $Activation */
    if (getMVAmount($db) == $Activation - 1) {
        addMV($Text);
    }
}
Beispiel #2
0
if (isset($userId)) {
    $gacode = "ga('create', 'UA-63495608-1', { 'userId': '%s' });";
    echo sprintf($gacode, $userId);
} else {
    $gacode = "ga('create', 'UA-63495608-1');";
    echo sprintf($gacode);
}
?>
  		ga('send', 'pageview');
		</script>
	</head>
	<body>
        <div id="sidebarLeft">
            <?php 
$celeb = 1000;
$cnt = getMVAmount($db);
if ($cnt >= $celeb) {
    echo '
                <img src="assets/dance/1000red.gif">
            <img src="assets/dance/on-drugs.gif">
            <img src="assets/dance/1000blue.gif">
            <img src="https://coubsecure-a.akamaihd.net/get/b147/p/coub/simple/cw_gif_big/e40f5177dfb/7f3448f0d83bb6d7b3d37/1446962482_1s0t6vz_u80z.gif">
            <img src="assets/dance/1000red.gif">
            <img src="assets/dance/skeleton.gif">
            <img src="assets/dance/1000blue.gif">
            <img src="assets/dance/freshdance.gif">
            <img src="assets/dance/1000red.gif">
            <img src="assets/dance/snoopydance.gif">
            <img src="assets/dance/1000blue.gif">
            <img src="assets/dance/skeleton3.gif">
            <img src="assets/dance/1000red.gif">