<commit_before><?php
  require_once 'config.php';
  require_once 'cart_func.php';

  $cartId = getCartId();
  $ini = getIni();
  $papiDomainAndContext = $ini['papiDomainAndContext'];

?>
<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Strict//EN" "http://www.w3.org/TR/xhtml1/DTD/xhtml1-strict.dtd">

<html xmlns="http://www.w3.org/1999/xhtml" xml:lang="en-AU" lang="en-AU">
<head>
    <meta http-equiv="Content-Type" content="text/html; charset=UTF-8" />
    <title>qgov-payment-phpclient</title>

  <link rel="stylesheet" type="text/css" href="//static.qgov.net.au/assets/v2/style/qgov.css" media="all" />
  <!--[if lt IE 9]><link rel="stylesheet" href="//static.qgov.net.au/assets/v2/style/qgov-ie.css" type="text/css" media="all" /><![endif]-->
  
  <!-- layout-small is assumed by default (combined with qgov.css) -->
  <link href="//static.qgov.net.au/assets/v2/style/layout-medium.css" media="only all and (min-width: 640px) and (max-width: 980px)" rel="stylesheet" type="text/css" />
  <link href="//static.qgov.net.au/assets/v2/style/layout-large.css" media="only all and (min-width: 980px)" rel="stylesheet" type="text/css" />
    
  <meta name="viewport" content="width=device-width" />
  <!-- Grab Google CDN's jQuery. Fall back to local copy if necessary --> 
  <script type="text/javascript" src="//ajax.googleapis.com/ajax/libs/jquery/1.7.2/jquery.min.js"></script> 
  <script type="text/javascript"><!-- //
    !window.jQuery && document.write(unescape('%3Cscript src="//static.qgov.net.au/assets/v2/script/jquery-1.7.2.min.js"%3E%3C/script%3E'));
  // --></script>
    <script type="text/javascript" src="//static.qgov.net.au/assets/v2/script/qgov-environment.js" id="qgov-environment"></script>
  <!--[if lt IE 9]>
  <script type="text/javascript">document.createElement('abbr');document.createElement('time');</script>
  <script type="text/javascript" src="//static.qgov.net.au/assets/v2/script/ie-layout.js"></script>
  <![endif]-->
  <link type="text/css"
    href="<?php echo $papiDomainAndContext."/ui/minicart_1.0.css"?>"
    rel="stylesheet" />

  <link type="text/css" rel="stylesheet" href="<?php echo $papiDomainAndContext."/minicart/synchronise?cartId="?><?php echo $cartId;?>" />
  <script  src="<?php echo $papiDomainAndContext."/minicart/contents_1.0.js"?>"
    type="text/javascript"></script>
    <script type="text/javascript" src="<?php echo $papiDomainAndContext."/outage/outage_warnings.js"?>"></script>
</head>

<body id="qld-gov-au" class="cart">
  

<!-- noindex -->
  <!--[if lt IE 9]><script type="text/javascript">jQuery && jQuery.transformer({addClasses:true});</script><![endif]-->
  
  <div id="access">
    <h2>Skip links and keyboard navigation</h2>
    <ul>
      <li><a href="#content">Skip to content</a></li>
      <!-- <li><a href="#nav-site">Skip to site navigation</a></li>
      <li><a href="#footer">Skip to footer</a></li> -->
      <li id="access-instructions"><a href="//www.qld.gov.au/help/accessibility/keyboard.html#section-aria-keyboard-navigation">Use tab and cursor keys to move around the page (more information)</a></li>
    </ul>
  </div>

  <div id="header-wrapper"><div id="header"><div id="header-bg"></div><div class="box-sizing"><div class="max-width">
    <h2>Site header</h2>

    <div id="qg-coa"><a href="//www.qld.gov.au/">
      <!--[if gte IE 7]><!--><img src="//static.qgov.net.au/assets/v2/images/skin/qg-coa.png" width="287" height="50" alt="Queensland Government home" /><!--<![endif]-->
      <!--[if lte IE 6]><img src="//static.qgov.net.au/assets/v2/images/skin/qg-coa-ie6.png" width="287" height="50" alt="Queensland Government home" /><![endif]-->
      <img src="//static.qgov.net.au/assets/v2/images/skin/qg-coa-print.png" class="print-version" alt="" />
    </a></div>

    <ul id="tools">
      <li class="nav-contact"><a accesskey="4" href="//www.qld.gov.au/contact-us/">Contact us</a></li>
      <li class="last-child" id="header-search">
        <form action="http://pan.search.qld.gov.au/search/search.cgi" id="search-form">
          <div>
            <label for="search-query">Search website</label>
            <input accesskey="5" type="search" name="query" id="search-query" size="27" value="" />
            <input id="search-button" type="image" src="//static.qgov.net.au/assets/v2/images/skin/button-search.png" value="Search" />
            <input type="hidden" name="num_ranks" value="10" />
            <input type="hidden" name="tiers" value="off" />
            <input type="hidden" name="collection" value="qld-gov" />
            <input type="hidden" name="profile" value="qld" />
          </div>
        </form>
      </li>
    </ul>

    <div id="nav-site"><ul>
      <li class="nav-residents">
        <a href="//www.qld.gov.au/queenslanders/">For Queenslanders</a>
      </li>
      <li class="nav-business">
        <a href="http://www.business.qld.gov.au/">Business and industry</a>
      </li>
      <!--<li class="nav-non-residents">
        <a href="//www.qld.gov.au/non-residents/">For non-residents</a>
      </li>-->
    </ul></div>

  </div></div></div></div>
<!-- endnoindex -->

  <div id="page-container"><div class="max-width">
    <div id="breadcrumbs">
      <h2>You are here:</h2>
      <ol>
<li class="nav-home"><a href="//www.qld.gov.au/">Queensland Government home</a></li>
<li><a href="//www.qld.gov.au/services/">Services</a></li>
        <!-- TODO breadcrumb? -->
        <li class="last-child"></li>
      </ol>
    </div>

    <div id="content-container">
        <div id="content">
            <div class="article"><div class="box-sizing"><div class="border">
<!-- Global alert -->

<form action="add.php" method="post">
    <ul class="actions">
      <li>
      <strong>
        <input type="submit" value="Add" />
      </strong>
      </li>
    </ul>
    <script type="text/javascript"><!--     
      document.write('<input type="hidden" name="ssqCartId" value="' + SSQ.cart.id + '" />'); 
    // --></script> 
    
  </form>
  

<commit_msg>adding checkout link which always synchronises in case the user has no 3rd party cookies enabled<commit_after><?php
  require_once 'config.php';
  require_once 'cart_func.php';

  $cartId = getCartId();
  $ini = getIni();
  $papiDomainAndContext = $ini['papiDomainAndContext'];

?>
<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Strict//EN" "http://www.w3.org/TR/xhtml1/DTD/xhtml1-strict.dtd">

<html xmlns="http://www.w3.org/1999/xhtml" xml:lang="en-AU" lang="en-AU">
<head>
    <meta http-equiv="Content-Type" content="text/html; charset=UTF-8" />
    <title>qgov-payment-phpclient</title>

  <link rel="stylesheet" type="text/css" href="//static.qgov.net.au/assets/v2/style/qgov.css" media="all" />
  <!--[if lt IE 9]><link rel="stylesheet" href="//static.qgov.net.au/assets/v2/style/qgov-ie.css" type="text/css" media="all" /><![endif]-->
  
  <!-- layout-small is assumed by default (combined with qgov.css) -->
  <link href="//static.qgov.net.au/assets/v2/style/layout-medium.css" media="only all and (min-width: 640px) and (max-width: 980px)" rel="stylesheet" type="text/css" />
  <link href="//static.qgov.net.au/assets/v2/style/layout-large.css" media="only all and (min-width: 980px)" rel="stylesheet" type="text/css" />
    
  <meta name="viewport" content="width=device-width" />
  <!-- Grab Google CDN's jQuery. Fall back to local copy if necessary --> 
  <script type="text/javascript" src="//ajax.googleapis.com/ajax/libs/jquery/1.7.2/jquery.min.js"></script> 
  <script type="text/javascript"><!-- //
    !window.jQuery && document.write(unescape('%3Cscript src="//static.qgov.net.au/assets/v2/script/jquery-1.7.2.min.js"%3E%3C/script%3E'));
  // --></script>
    <script type="text/javascript" src="//static.qgov.net.au/assets/v2/script/qgov-environment.js" id="qgov-environment"></script>
  <!--[if lt IE 9]>
  <script type="text/javascript">document.createElement('abbr');document.createElement('time');</script>
  <script type="text/javascript" src="//static.qgov.net.au/assets/v2/script/ie-layout.js"></script>
  <![endif]-->
  <link type="text/css"
    href="<?php echo $papiDomainAndContext."/ui/minicart_1.0.css"?>"
    rel="stylesheet" />

  <link type="text/css" rel="stylesheet" href="<?php echo $papiDomainAndContext."/minicart/synchronise?cartId="?><?php echo $cartId;?>" />
  <script  src="<?php echo $papiDomainAndContext."/minicart/contents_1.0.js"?>"
    type="text/javascript"></script>
    <script type="text/javascript" src="<?php echo $papiDomainAndContext."/outage/outage_warnings.js"?>"></script>
</head>

<body id="qld-gov-au" class="cart">
  

<!-- noindex -->
  <!--[if lt IE 9]><script type="text/javascript">jQuery && jQuery.transformer({addClasses:true});</script><![endif]-->
  
  <div id="access">
    <h2>Skip links and keyboard navigation</h2>
    <ul>
      <li><a href="#content">Skip to content</a></li>
      <!-- <li><a href="#nav-site">Skip to site navigation</a></li>
      <li><a href="#footer">Skip to footer</a></li> -->
      <li id="access-instructions"><a href="//www.qld.gov.au/help/accessibility/keyboard.html#section-aria-keyboard-navigation">Use tab and cursor keys to move around the page (more information)</a></li>
    </ul>
  </div>

  <div id="header-wrapper"><div id="header"><div id="header-bg"></div><div class="box-sizing"><div class="max-width">
    <h2>Site header</h2>

    <div id="qg-coa"><a href="//www.qld.gov.au/">
      <!--[if gte IE 7]><!--><img src="//static.qgov.net.au/assets/v2/images/skin/qg-coa.png" width="287" height="50" alt="Queensland Government home" /><!--<![endif]-->
      <!--[if lte IE 6]><img src="//static.qgov.net.au/assets/v2/images/skin/qg-coa-ie6.png" width="287" height="50" alt="Queensland Government home" /><![endif]-->
      <img src="//static.qgov.net.au/assets/v2/images/skin/qg-coa-print.png" class="print-version" alt="" />
    </a></div>

    <ul id="tools">
      <li class="nav-contact"><a accesskey="4" href="//www.qld.gov.au/contact-us/">Contact us</a></li>
      <li class="last-child" id="header-search">
        <form action="http://pan.search.qld.gov.au/search/search.cgi" id="search-form">
          <div>
            <label for="search-query">Search website</label>
            <input accesskey="5" type="search" name="query" id="search-query" size="27" value="" />
            <input id="search-button" type="image" src="//static.qgov.net.au/assets/v2/images/skin/button-search.png" value="Search" />
            <input type="hidden" name="num_ranks" value="10" />
            <input type="hidden" name="tiers" value="off" />
            <input type="hidden" name="collection" value="qld-gov" />
            <input type="hidden" name="profile" value="qld" />
          </div>
        </form>
      </li>
    </ul>

    <div id="nav-site"><ul>
      <li class="nav-residents">
        <a href="//www.qld.gov.au/queenslanders/">For Queenslanders</a>
      </li>
      <li class="nav-business">
        <a href="http://www.business.qld.gov.au/">Business and industry</a>
      </li>
      <!--<li class="nav-non-residents">
        <a href="//www.qld.gov.au/non-residents/">For non-residents</a>
      </li>-->
    </ul></div>

  </div></div></div></div>
<!-- endnoindex -->

  <div id="page-container"><div class="max-width">
    <div id="breadcrumbs">
      <h2>You are here:</h2>
      <ol>
<li class="nav-home"><a href="//www.qld.gov.au/">Queensland Government home</a></li>
<li><a href="//www.qld.gov.au/services/">Services</a></li>
        <!-- TODO breadcrumb? -->
        <li class="last-child"></li>
      </ol>
    </div>

    <div id="content-container">
        <div id="content">
            <div class="article"><div class="box-sizing"><div class="border">
<!-- Global alert -->

<form action="add.php" method="post">
    <ul class="actions">
      <li>
      <strong>
        <input type="submit" value="Add" />
      </strong>
      </li>
<?php
if ($cartId) {?>
      <li>
      <strong>
        <a class="button"
          href="<?php echo $papiDomainAndContext."/minicart/synchronise?cartId=${cartId}&redirectUrl=cart/checkout"?>">
          Checkout
        </a>
      </strong>
    </li>
<?php } ?>

    </ul>
    <script type="text/javascript"><!--     
      document.write('<input type="hidden" name="ssqCartId" value="' + SSQ.cart.id + '" />'); 
    // --></script> 
    
  </form>
  


{'fraction_non_alphanumeric': 0.2267489043986366, 'fraction_numerical': 0.01209219282583996, 'mean_word_length': 3.25517955801105, 'pattern_counts': {'":': 0, '<': 354, '<?xml version=': 0, '>': 352, 'https://': 0, 'lorem ipsum': 0, 'www.': 20, 'xml': 4}, 'pii_count': 0, 'substrings_counts': 0, 'word_list_counts': {'cursed_substrings.json': 0, 'profanity_word_list.json': 0, 'sexual_word_list.json': 0, 'zh_pornsignals.json': 0}}
{'dir': 'git-commits-cleaned', 'id': '3150257', 'n_tokens_mistral': 4488, 'n_tokens_neox': 4353, 'n_words': 722}