<li role="presentation"><a href="#">Vývojáři</a></li>
                <li role="presentation"><a href="#">Kontakt</a></li>
            </ul>
        </nav>
        <h3 class="text-muted">Minecore Times</h3>
    </div>


        <h1><?php 
print $name;
?>
 <?php 
$status = questStatus($uId, $questId, $mysqli);
echo niceStatus($status);
if (isset($_GET["redeem"])) {
    redeem($uId, $questId, $mysqli);
    echo " <small>Odměna poslána!</small>";
}
?>
</h1>

    <blockquote>

        <p><?php 
print $description;
?>
</p>
        <footer>Doporučené materiály: <?php 
print $materials;
?>
</footer>
Esempio n. 2
0
# apple id
$apple_id = '*****@*****.**';
# 密码
$password = '******';
# 每个apple id会分配到不同的pxx-buy.itunes.apple.com,但是实测开 CURLOPT_FOLLOWLOCATION 就可以无视了,会有个307的头
$domain_suffix = '33';
# GUID,全16进制
$guid = 'xxxxxxxx.AF883918.00000000.F93819A9.CC0183D3.33019387.512309CA';
$login_url = "https://p{$domain_suffix}-buy.itunes.apple.com/WebObjects/MZFinance.woa/wa/authenticate";
$login_referer = 'http://itunes.apple.com/WebObjects/MZStore.woa/wa/viewGrouping?id=25204&mt=8&s=143441&pillIdentifier=iphone';
$login_post = 'matchineName=LOCALHOST&why=signin&attempt=1&createSession=true&guid=' . urlencode($guid) . '&appleId=' . urlencode($apple_id) . '&password='******'_cookie.txt');
    curl_setopt($ch, CURLOPT_COOKIEJAR, '_cookie.txt');
    curl_setopt($ch, CURLOPT_TIMEOUT, 60);
    curl_setopt($ch, CURLOPT_VERBOSE, 0);
    curl_setopt($ch, CURLOPT_HEADER, 0);
}