mirror of
https://github.com/Znote/ZnoteAAC.git
synced 2025-10-13 18:04:54 +02:00
Forum search script, multi keyword search supported
search: titles, posts, authors latest posts authors latest threads view latest threads view latest posts ------- working on new ipn for paygol (under dev)
This commit is contained in:
@@ -82,4 +82,41 @@
|
||||
} else echo ' character data false';
|
||||
|
||||
} else echo 'service id wrong';
|
||||
?>
|
||||
|
||||
|
||||
|
||||
<?php
|
||||
/* TODO: FIX THIS FOR 1.5
|
||||
require_once 'engine/init.php';
|
||||
include 'layout/overall/header.php';
|
||||
|
||||
if(!in_array($_SERVER['REMOTE_ADDR'],
|
||||
array('109.70.3.48', '109.70.3.146', '109.70.3.58'))) {
|
||||
header("HTTP/1.0 403 Forbidden");
|
||||
die("Error: Unknown IP");
|
||||
}
|
||||
|
||||
|
||||
// get the variables from PayGol system
|
||||
$message_id = $_GET['message_id'];
|
||||
$service_id = $_GET['service_id'];
|
||||
$shortcode = $_GET['shortcode'];
|
||||
$keyword = $_GET['keyword'];
|
||||
$message = $_GET['message'];
|
||||
$sender = $_GET['sender'];
|
||||
$operator = $_GET['operator'];
|
||||
$country = $_GET['country'];
|
||||
$custom = $_GET['custom'];
|
||||
$points = $_GET['points'];
|
||||
$price = $_GET['price'];
|
||||
$currency = $_GET['currency'];
|
||||
|
||||
// Here you can do whatever you want with the variables, for instance inserting or updating data into your Database
|
||||
|
||||
|
||||
$query = mysql_query("UPDATE `znote_accounts` SET `points` = `points` + ".$points." WHERE `account_id` = ".$custom);
|
||||
|
||||
include 'layout/overall/footer.php';
|
||||
*/
|
||||
?>
|
Reference in New Issue
Block a user