exported from svn
This commit is contained in:
commit
03995d3bc6
85 changed files with 14765 additions and 0 deletions
27
stop.php
Normal file
27
stop.php
Normal 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;
|
||||
?>
|
Loading…
Add table
Add a link
Reference in a new issue