|
Identical lines show | hide | original version | modified version Show gnu diff(1) |
1 : 1 : = <?php2 : 2 : - if ($_GET["subscribed"] = true)2 : 2 : + if ($_GET['subscribed'])3 : 3 : = { 4 : 4 : = echo 'true';5 : 5 : - setcookie("dropshock_subscriber", "subscribed", time()+60*60*24*30*3, $url['path'] . '/');5 : 5 : + setcookie('dropshock_subscriber', 'subscribed', time()+60*60*24*30*3, $url['path'] . '/');6 : 6 : = } 7 : 7 : = if (!isset($_COOKIE['dropshock_subscriber']) and !isset($_COOKIE['promptclosed'])) 8 : 8 : = { 9 : 9 : = echo '<div id="subscribe_prompt"><a href="/feed" style="border-bottom: none; vertical-align: middle; position: relative;top: 2px; margin-right: 4px"><img src="/blog/images/icon_feeds_black.gif" alt="" width="16" height="16" /></a>Subscribe to Dropshock via <a href="/feed">RSS</a> and be notified of new stuff automatically.<a href="javascript:void(0)" class="subscribe_close" onclick="setCookie(\'promptclosed\', \'closed\', now, \'/\', HOST, \'\');document.getElementById(\'subscribe_prompt\').style.display=\'none\'">Close this message</a></div>'; 10 : 10 : = } 11 : 11 : = ?>