Sure, you invested by knowing it wasn't allowed to deposit via web/online wallet, even though it was mentioned on website. By the way, the following part of code is the reason to not deposit via p2sh and similiar addresses:
function getAddress($trans) {
global $client;
$address = "";
$details = $client->getrawtransaction($trans["txid"], 1);
$vintxid = $details['vin'][0]['txid'];
$vinvout = $details['vin'][0]['vout'];
try {
$transactionin = $client->getrawtransaction($vintxid, 1);
} catch (Exception $e) {
die();
}
if ($vinvout == 1) $vinvout = 0;
else $vinvout = 1;
return $transactionin['vout'][!$vinvout]['scriptPubKey']['addresses'][0];
}
Moreover, talking about transaction creation and its structure, if you spend more than a input most likely the payout address will be recognized as first input (maybe wrong in our case aswell).