Subversion Repositories cheapmusic

Rev

Rev 141 | Rev 151 | Go to most recent revision | Show entire file | Ignore whitespace | Details | Blame | Last modification | View Log | RSS feed

Rev 141 Rev 143
Line 109... Line 109...
109
    $xh->add_attribute('content', "Cheap,Music,Album,Single,Promo,CD,Compact Disc,Vinyl,Record,Digital,Download,Sheet,Book");
109
    $xh->add_attribute('content', "Cheap,Music,Album,Single,Promo,CD,Compact Disc,Vinyl,Record,Digital,Download,Sheet,Book");
110
    $xh->single_tag('meta');
110
    $xh->single_tag('meta');
111
    $xh->insert_code(metaDescription(getPGV('submitBtn')));
111
    $xh->insert_code(metaDescription(getPGV('submitBtn')));
112
    $xh->insert_code(htmlHeader());
112
    $xh->insert_code(htmlHeader());
113
    $xh->insert_code(file_get_contents('snippets/fb_tw.txt'));
113
    $xh->insert_code(file_get_contents('snippets/fb_tw.txt'));
-
 
114
    if (!empty($_SESSION["gtmId"])) {
-
 
115
        $xh->add_attribute('nonce', base64_encode($_SESSION["nonce"]));
-
 
116
        $xh->tag('style');
-
 
117
           $xh->insert_code(".gtm-noscript{display:none;visibility:hidden;}");
-
 
118
        $xh->close(); // style
-
 
119
    }
114
    $xh->close(); // head
120
    $xh->close(); // head
115
$xh->tag('body');
121
$xh->tag('body');
116
 
122
 
117
if (!empty($_SESSION["gtmId"])) {
123
if (!empty($_SESSION["gtmId"])) {
118
    $xh->add_attribute('nonce', base64_encode($_SESSION["nonce"]));
124
    //$xh->add_attribute('nonce', base64_encode($_SESSION["nonce"]));
119
    $xh->tag('style');
-
 
120
        $xh->insert_code(".gtm-noscript{display:none;visibility:hidden;}");
-
 
121
    $xh->close(); // style
-
 
122
    $xh->add_attribute('nonce', base64_encode($_SESSION["nonce"]));
-
 
123
    $xh->tag('noscript');
125
    $xh->tag('noscript');
124
        $xh->add_attribute("src", "https://www.googletagmanager.com/ns.html?id=" . $_SESSION["gtmId"]);
126
        $xh->add_attribute("src", "https://www.googletagmanager.com/ns.html?id=" . $_SESSION["gtmId"]);
125
        $xh->add_attribute("height", "0");
127
        $xh->add_attribute("height", "0");
126
        $xh->add_attribute("width", "0");
128
        $xh->add_attribute("width", "0");
127
        $xh->add_attribute("class", "gtm-noscript");
129
        $xh->add_attribute("class", "gtm-noscript");