mirror of
https://github.com/Znote/ZnoteAAC.git
synced 2025-06-14 08:44:30 +02:00
paypal ipn cacert update
This commit is contained in:
parent
d914c93085
commit
a7fed3bfe3
@ -7,6 +7,8 @@ $version = '2.0_DEV';
|
||||
session_start();
|
||||
ob_start();
|
||||
require_once $filepath.'config.php';
|
||||
$sessionPrefix = $config['session_prefix'];
|
||||
|
||||
require_once $filepath.'engine/database/connect.php';
|
||||
require_once $filepath.'engine/function/general.php';
|
||||
require_once $filepath.'engine/function/cache.php';
|
||||
|
File diff suppressed because it is too large
Load Diff
@ -4,9 +4,9 @@ if ($config['log_ip']) {
|
||||
}
|
||||
|
||||
$house = (isset($_GET['id']) && (int)$_GET['id'] > 0) ? (int)$_GET['id'] : false;
|
||||
|
||||
$house_SQL = "";
|
||||
if ($house !== false) {
|
||||
$house = mysql_select_single("
|
||||
$house_SQL = "
|
||||
SELECT
|
||||
`h`.`id`, `h`.`owner`, `h`.`paid`, `h`.`name`, `h`.`rent`, `h`.`town_id`,
|
||||
`h`.`size`, `h`.`beds`, `h`.`bid`, `h`.`bid_end`, `h`.`last_bid`, `h`.`highest_bidder`,
|
||||
@ -16,7 +16,8 @@ if ($house !== false) {
|
||||
ON `h`.`owner` > 0
|
||||
AND `p`.`id` = `h`.`owner`
|
||||
WHERE `h`.`id`='{$house}';
|
||||
");
|
||||
";
|
||||
$house = mysql_select_single($house_SQL);
|
||||
$minbid = $config['houseConfig']['minimumBidSQM'] * $house['size'];
|
||||
if ($house['owner'] == 0) unset($house['ownername']);
|
||||
|
||||
|
Loading…
x
Reference in New Issue
Block a user