add apiconnent
This commit is contained in:
@@ -181,17 +181,7 @@ function promo_kuri($hash, $page = 0, $promo = true){
|
||||
|
||||
# test url http://klan.dv/promo/bac343b41b357fdc8243373a429caa62 (742.pdf source)
|
||||
|
||||
$pricesql = "
|
||||
SELECT
|
||||
`price_id`, `pricename`, `BeginDate`, `category_id`, `pages`
|
||||
FROM
|
||||
`price`
|
||||
WHERE
|
||||
`pricehash` = '$hash'
|
||||
LIMIT 1
|
||||
";
|
||||
|
||||
$price = db_get($pricesql);
|
||||
$price = api_pricehash($hash);
|
||||
|
||||
if (!isset($price['price_id'])){
|
||||
header("HTTP/1.0 404 Not Found");
|
||||
@@ -287,6 +277,12 @@ function promo_kuri($hash, $page = 0, $promo = true){
|
||||
}
|
||||
|
||||
|
||||
function text($hash, $page){
|
||||
|
||||
}
|
||||
|
||||
|
||||
|
||||
function pdfscan_kuri(){
|
||||
|
||||
$pdfsql = "SELECT price_id, pricehash FROM price WHERE category_id = 1";
|
||||
|
||||
Reference in New Issue
Block a user