33 lines
410 B
PHP
33 lines
410 B
PHP
<?php
|
|
|
|
|
|
function api_pricehash($hash){
|
|
|
|
$pricesql = "
|
|
SELECT
|
|
`price_id`, `pricename`, `BeginDate`, `category_id`, `pages`
|
|
FROM
|
|
`price`
|
|
WHERE
|
|
`pricehash` = '$hash'
|
|
LIMIT 1
|
|
";
|
|
|
|
$price = db_get($pricesql);
|
|
|
|
if (!isset($price['price_id']))
|
|
return false;
|
|
else
|
|
return $price;
|
|
|
|
|
|
}
|
|
|
|
|
|
function api_pagenews($number_id, $page){
|
|
|
|
|
|
|
|
|
|
|
|
} |