You can not select more than 25 topics
Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.
22 lines
560 B
22 lines
560 B
<?php
|
|
require_once('../ajax_asm.php');
|
|
if( $CUser->Data['id'] > 1 ){
|
|
$CMD = '';
|
|
if(isset( $_POST['CMD'] )){
|
|
$CMD = $_POST['CMD'];
|
|
} else {
|
|
$CMD = $_GET['CMD'];
|
|
};
|
|
$TArr = explode( '_', $CMD );
|
|
$CID = intval($TArr[3]);
|
|
if( $CID ){
|
|
//$QS = "SELECT `aux_id` FROM `nodes` WHERE `id`={$CID}";
|
|
//$RR = $DATABASE->Query( $QS );
|
|
//$CID = intval( $RR[0]['aux_id'] );
|
|
//if( $CID == 0 ) exit();
|
|
$QS = "INSERT `nodes_qcq` SET `cmd`=1, `node_id`={$CID}, `status`=0";
|
|
$DATABASE->Query( $QS );
|
|
};
|
|
};
|
|
?>
|
|
|