decrypt($custom); //SELECT SOME INFO $SQL = "select donation.donateur, donation.email, donation.web, donation.amount, donation.amount, donation.devise, donation.amount_11h11, donation.toartiste, artiste.nick from donation left join artiste on artiste_id = toartiste where transaction = " . $transaction_id; $rs = pg_query($conn, $SQL); if (!$rs) { mail(ADMINMAIL, '11h11 - defug - ' . $_SERVER['PHP_SELF'], $SQL); } $info = pg_fetch_array($rs); pg_free_result($rs); /* echo "email:".$info['email']."
"; echo "donateur:".$info['donateur']."
"; echo "amount:".$info['amount']."
"; echo "devise:".$info['devise']."
"; echo "amount_11h11:".$info['amount_11h11']."
"; echo "toartiste:".$info['toartiste']."
"; echo "nick:".$info['nick']."
"; echo "web:".$info['web']."
"; */ if(!empty($info['donateur'])) { //UPDATE TO VISIBLE $SQL_up = "update donation set visible = true where transaction = " . $transaction_id; $up = pg_query($conn, $SQL_up); if (!$up) { mail(ADMINMAIL, '11h11 - defug - ' . $_SERVER['PHP_SELF'], $SQL_up); } pg_free_result($up); $thank = 1; } else { $thank = 2; } } else { echo "an error occured
an email has been sent to the webmaster"; mail(ADMINMAIL, '11h11 - defug - ' . $_SERVER['PHP_SELF'], 'probleme PDT, st != completed'); exit(); } } if(isset($_GET['section_id'])) { define ("SECTION_N", $_GET['section_id']); include("include/categorie.php"); } else { define ("SECTION_N", 0); } if(isset($_GET['artiste_id'])) { $artiste_id = $_GET['artiste_id']; $rs_nr = pg_query($conn, "select * from artiste where artiste.artiste_id = " . $artiste_id); $artiste_id = pg_result($rs_nr, 0, 'artiste_id'); $name = pg_result($rs_nr, 0, 'name'); $nick = pg_result($rs_nr, 0, 'nick'); $email = pg_result($rs_nr, 0, 'email'); $www = pg_result($rs_nr, 0, 'www'); $bio = pg_result($rs_nr, 0, 'bio'); $donation = pg_result($rs_nr, 0, 'donation'); pg_free_result($rs_nr); } ?> 11h11
   

") { echo "    |  ".$txt_bio.""; } ?>|  ".$txt_donation.""; } ?>  |  ";?>  |  
  ::   

") { echo "    |  ".$txt_bio.""; } ?>|  ".$txt_donation.""; } ?>  |  "; ?>  |