Recent
:: This post is secret nox
5 hrs ago
:: RIFAS
6 hrs ago
:: RIFAS
7 hrs ago
:: zacharyj
7 hrs ago
:: zacharyj
7 hrs ago
:: zacharyj
7 hrs ago
:: zacharyj
7 hrs ago
:: zacharyj
7 hrs ago
:: zacharyj
7 hrs ago
:: RIFAS
9 hrs ago
:: anonymous
14 hrs ago
:: georg
24 hrs ago
:: RetroFOX
1 day ago
:: This post is secret Bystroushaak
1 day ago
:: This post is secret Bystroushaak
1 day ago
rss 2.0 feed

Make New Post
Posts: 19054

Syntax:       Wrapping:  

   #4933 Posted by Bassetts 2008-02-02 17:24:37
Formated by GeSHi
  1. <?php
  2. if ($_GET["subsribed"] = true)
  3. {
  4. setcookie("dropshock_subscriber", "subscribed", 0, $url['path'] . '/');
  5. }
  6. else (!isset($_COOKIE['subscriber']) and !isset($_COOKIE['promptclosed']))
  7. {
  8. 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>
  9.  
  10. </div>'
  11. }
  12. ?>
Parsed in 0.05459023 seconds
::  Inline view Inline view ::  Email this post Email  ::  Print Print   

:: Download   Download Text File4933.txt   Download Gziped text File4933.txt.gz   Download HTML File4933.html   Download PDF File4933.pdf
:: Print into    Print into HTML FileHTML document   Print into PDF FilePDF document

:: Make Diff

:: Erase Post

* Code:

To highlight particular lines, prefix each line with @@


Description:


Secret key (for later deletion)
Syntax:     


comments (0)


Copyright © 2006 Openpastebin