$strWalletFrom = $row["walletaddress_from"]; if ($strWalletFrom == "") { $strWalletFrom = "External wallet address"; } $strTransactionHash = $row["hash_transaction"]; $intUserGive = $row["user_id"]; $intUserRecieve = $row["user_id_sentto"]; $strLabel = $row["label"]; //Prepend a Label to the label ;-p -John if (!$strLabel) { } else { $strLabel = " <small>Label:</small> " . $strLabel; } $date_joined = $row["datetime_created"]; $date_joined_formatted = date("Y-m-d H:i", $date_joined); $date_joined_formatted_nice = functNiceTimeDif_int($date_joined); $strLinkText = ""; if ($intUserGive == $intUserID_viewer) { //send //$strCryptoAmt = $intCryptoTotalOutFlow; //if(!$intCryptoTotalOutFlow){$strCryptoAmt=$strCryptoAmt;} $strCryptoText = "-"; $strCyptoColor = "#cc0000"; $strTypeImgSrc = "/img/arrowup.png"; $strAddressShow = $strWalletSentTo; $strLinkText = "From me to <small>" . $strAddressShow . "</small>"; //$strLabel = $strLabel $strLink = "#"; $strLinkModal = ' data-reveal-id="myModal" data-reveal-ajax="' . WEBSITEFULLURLHTTPS . MOD_LOADCONTENT . '?do=ajax&type=transactions&recid=' . $intTransactionID . '"'; } if ($intUserRecieve == $intUserID_viewer) {
$strUserName_from = $row["sender_name"]; $strUserEmail_from = $row["sender_email"]; if ($strUserEmail_from or $strUserName_from) { $strWalletFrom = $strUserEmail_from . " " . $strUserName_from; } $intUserGive = $row["user_id"]; $intUserRecieve = $row["user_id_sentto"]; $strLabel = $row["label"]; //Prepend a Label to the label ;-p -John if (!$strLabel) { } else { $strLabel = '"' . $strLabel . '"'; } $strDate = $row["datetime_created"]; $strDate_formatted = date("Y-m-d H:i", $strDate); $strDate_formatted_nice = functNiceTimeDif_int($strDate); $strLinkText = ""; $strCyptoColor = "#000000"; //black /* if($intUserGive==$intUserID_viewer OR $debit){ //send */ if ($debit > 0) { //send //$strCryptoAmt = $intCryptoTotalOutFlow ; //if(!$intCryptoTotalOutFlow){$strCryptoAmt=$strCryptoAmt;} $strCryptoText = "-"; $strCryptoAmt = $debit; $strCyptoColor = "#000000"; //black $strTypeImgSrc = "/img/arrowup.png"; $strAddressShow = $strWalletSentTo; $strLinkText = "From me to <small>" . $strAddressShow . "</small>";