Jlog PHP Cross Reference Blogging Systems

Source: /stop.php - 27 lines - 705 bytes - Summary - Text - Print

   1  <?php
   2   require('.'.DIRECTORY_SEPARATOR.'personal'.DIRECTORY_SEPARATOR.'settings.inc.php');
   3  
   4   $c['meta']['robots']         = "noindex, follow";
   5   $c['title']                    = JLOG_WEBSITE;
   6  
   7   $stop = escape_for_mysql(strip($_GET));
   8  
   9   $sql = "UPDATE ".JLOG_DB_COMMENTS." SET 
  10                mail_by_comment = '0'
  11           WHERE
  12            reference = '".$stop['id']."' AND
  13            email     = '".$stop['email']."'";
  14   
  15      $stop = new Query($sql);
  16       if($stop->error()) {
  17          echo "<pre>\n";
  18          echo $stop->getError();
  19          echo "</pre>\n";
  20          die();
  21       }
  22     
  23   $c['main'] = "<p>".$l['comments_stop_successful']."</p>";
  24  
  25  require (JLOG_BASEPATH.'scripts'.DIRECTORY_SEPARATOR.'do_template.php');
  26  echo $body;
  27  ?>

title

Description

title

Description

title

Description

title

title

Body