$clientid=$_POST['Client-ID']; if($clientid!="") { $objUser=new UserClass($db); $objUser->login=$clientid; $arrUser=$objUser->SearchUser(); $objTransfer=new TradingClass($db); $objTransfer->client_id=$arrUser[0]['id']; $objTransfer->reference=$_POST['Reference']; $objTransfer->isin=$_POST['security1']; $objTransfer->currency=$_POST['currency_hid']; $objTransfer->fund_name=$_POST['Name']; $objTransfer->unknown_isin=$_POST['comment']; $objTransfer->quantity=$_POST['Quantity'];
font-size:0.95em; } #Citys td { /*text-align:left;*/ word-wrap:no-wrap; padding-left:2px; } span .value{ color:#000000; } </style> <?php if(isset($_POST['Search']) && $_POST['Search']=="Search") { $objTransfer=new TradingClass($db); $objTransfer->status_settle="pending"; $objTransfer->types="purchase"; if(isset($_POST['client_id']) && $_POST['client_id']!="") { $objTransfer->id_client=$_POST['client_id']; } if(isset($_POST['currency']) && $_POST['currency']>0) { $objTransfer->currency=$_POST['currency']; } if(isset($_POST['security1']) && $_POST['security1']!="") {
<?php if(isset($_POST['id']) && $_POST['id']!="") { require_once('../core/connect.php'); require_once('../core/CoreClass.php'); require_once('../BLL/TradingBLL.php'); $id=$_POST['id']; $status=$_POST['status']; $objTransfer=new TradingClass($db); $objTransfer->id=$id; $objTransfer->settled_by=$_SESSION['login']; $objTransfer->status=$status; $msg=$objTransfer->UpdateTradingStatus(); echo $msg; } ?>