exported from svn

This commit is contained in:
Jeena 2013-10-07 14:46:08 +02:00
commit 03995d3bc6
85 changed files with 14765 additions and 0 deletions

27
stop.php Normal file
View file

@ -0,0 +1,27 @@
<?php
require_once('.'.DIRECTORY_SEPARATOR.'scripts'.DIRECTORY_SEPARATOR.'prepend.inc.php');
$c['meta']['robots'] = "noindex, follow";
$c['title'] = JLOG_WEBSITE;
$stop = escape_for_mysql(strip($_GET));
$sql = "UPDATE ".JLOG_DB_COMMENTS." SET
mail_by_comment = '0'
WHERE
reference = '".$stop['id']."' AND
email = '".$stop['email']."'";
$stop = new Query($sql);
if($stop->error()) {
echo "<pre>\n";
echo $stop->getError();
echo "</pre>\n";
die();
}
$c['main'] = "<p>".$l['comments_stop_successful']."</p>";
require(JLOG_BASEPATH.'scripts'.DIRECTORY_SEPARATOR.'do_template.php');
echo $body;
?>