当前位置: 首页>>代码示例>>PHP>>正文


PHP func_get_value_of_field函数代码示例

本文整理汇总了PHP中func_get_value_of_field函数的典型用法代码示例。如果您正苦于以下问题:PHP func_get_value_of_field函数的具体用法?PHP func_get_value_of_field怎么用?PHP func_get_value_of_field使用的例子?那么恭喜您, 这里精选的函数代码示例或许可以为您提供帮助。


在下文中一共展示了func_get_value_of_field函数的15个代码示例,这些例子默认根据受欢迎程度排序。您可以为喜欢或者感觉有用的代码点赞,您的评价将有助于系统推荐出更棒的PHP代码示例。

示例1: session_register

//				config.php,reportBottom.php,reportBottomNext.php,useraccount.php,viewCompany.php,viewCompanyNext.php,ViewreportPage.php
// CompanyUser.php:	The admin page functions for selecting the company for adding company user.
include "../includes/sessioncheckserviceuser.php";
require_once "../includes/function.php";
include "../admin/includes/serviceheader.php";
$headerInclude = "service";
session_register("sessionactivity_type");
$_SESSION["sessionactivity_type"] = "";
include "../admin/includes/topheader.php";
$i_service_user_id = isset($_SESSION["sessionServiceUserId"]) ? $_SESSION["sessionServiceUserId"] : "";
$str_company_ids = "";
$is_valid_service_user = true;
$qry_select_company = "select distinct userid,companyname from cs_companydetails";
if ($i_service_user_id != "") {
    $str_company_ids = func_get_company_ids_for_service_user($cnn_cs, $i_service_user_id);
    $i_gateway_id = func_get_value_of_field($cnn_cs, "cs_customerserviceusers", "gateway_id", "id", $i_service_user_id);
    if ($str_company_ids != "") {
        if ($str_company_ids != "A") {
            $qry_select_company .= " where userid in ({$str_company_ids})";
        } else {
            if ($i_gateway_id != -1) {
                $qry_select_company .= " where gateway_id = '{$i_gateway_id}'";
            }
        }
    } else {
        $is_valid_service_user = false;
    }
}
$qry_select_company .= " order by companyname";
if (!($show_sql = mysql_query($qry_select_company))) {
    print mysql_errno() . ": " . mysql_error() . "<BR>";
开发者ID:juliogallardo1326,项目名称:proc,代码行数:31,代码来源:virtualterminal.php

示例2: isset

<?php

include "../includes/sessioncheckserviceuser.php";
require_once "../includes/function.php";
$strReasonCombo = isset($HTTP_POST_VARS["optReason"]) ? Trim($HTTP_POST_VARS["optReason"]) : "";
$strOtherReason = isset($HTTP_POST_VARS["txtReason"]) ? Trim($HTTP_POST_VARS["txtReason"]) : "";
$iTransactionId = isset($HTTP_POST_VARS["hdTransactionId"]) ? Trim($HTTP_POST_VARS["hdTransactionId"]) : "";
$strDateTime = func_get_current_date_time();
$return_insertId = func_transaction_updatenew($iTransactionId, $cnn_cs);
$qryUpdate = "update cs_transactiondetails set cancelstatus ='Y',cancellationDate = '{$strDateTime}',reason='{$strReasonCombo}',other='{$strOtherReason}'";
$qryUpdate .= " where transactionId =" . $return_insertId;
if (!mysql_query($qryUpdate)) {
    print "Can not execute query";
    exit;
}
$user_id = func_get_value_of_field($cnn_cs, "cs_transactiondetails", "userId", "transactionId", $return_insertId);
func_canceledTransaction_receipt($user_id, $return_insertId, $cnn_cs);
header('location:customerservice.php');
开发者ID:juliogallardo1326,项目名称:proc,代码行数:18,代码来源:canceltransaction_1.php

示例3:

 $i_cancel = 0;
 $trans_total_count = 0;
 $i_count = 0;
 for ($iLoop = 0; $iLoop < count($arrCompanies); $iLoop++) {
     if ($companyids1 == "") {
         $companyids .= $arrCompanies[$iLoop] . ",";
     }
     if (Trim($arrCompanies[$iLoop]) != "") {
         if ($arrCompanies[$iLoop] == "A") {
             if ($companytrans_type == "A" && $tele_nontele_type == "A") {
                 $is_ecommerce = false;
             }
             break;
         } else {
             if ($i_count == 0) {
                 if (func_get_value_of_field(1, "cs_companydetails", "transaction_type", "userid", $arrCompanies[$iLoop]) == "tele") {
                     $is_ecommerce = false;
                     $i_count++;
                 }
             }
             //if($companytype!="A" || $companytrans_type != "A" || $tele_nontele_type != "A" || $bank_id != "A") {
             if ($strCompanyCondition == "") {
                 $strCompanyCondition .= " a.userid = '{$arrCompanies[$iLoop]}'";
             } else {
                 $strCompanyCondition .= " or a.userid = '{$arrCompanies[$iLoop]}'";
             }
             /*} else{
             			if($strCompanyCondition == ""){
             				$strCompanyCondition .= " userid = $arrCompanies[$iLoop]";
             			}else{
             				$strCompanyCondition .= " or userid = $arrCompanies[$iLoop]";
开发者ID:juliogallardo1326,项目名称:proc,代码行数:31,代码来源:reportbottom1.php

示例4: func_show_reseller_ledger_details


//.........这里部分代码省略.........
              print("<td align='center' class='cl1'><font face='verdana' size='1'>&nbsp;$chequedeclined</font></td>");
              print("<td align='right' class='cl1'><font face='verdana' size='1'>&nbsp;".number_format($chequedeclinedAmt,2)."</font></td>");
              print("<td align='right' class='cl1'><font face='verdana' size='1'>&nbsp;".number_format($chequedeclinedPer,2)."</font></td></tr>");*/
            print "<tr><td align='left' class='cl1'><font face='verdana' size='1'><b>Credit</b></font></td>";
            print "<td align='center' class='cl1'><font face='verdana' size='1'>&nbsp;{$chequecanceled}</font></td>";
            print "<td align='right' class='cl1'><font face='verdana' size='1'>&nbsp;" . number_format($chequecanceledAmt, 2) . "</font></td>";
            print "<td align='right' class='bottom'><font face='verdana' size='1'>&nbsp;" . number_format($chequecanceledPer, 2) . "</font></td>";
            print "</tr><tr><td align='left' class='cl1'><font face='verdana' size='1'><b>Total</b></font></td>";
            print "<td align='center' class='cl1'><font face='verdana' size='1'><b>&nbsp;{$cheque}</b></font></td>";
            print "<td align='right' class='cl1'><font face='verdana' size='1'><b>&nbsp;" . number_format($chequeAmt, 2) . "</b></font></td>";
            print "<td align='right' class='bottom'><font face='verdana' size='1'>&nbsp;" . number_format(round($chequePer), 2) . "</font></td></tr>";
            print "<tr><td align='left' class='cl1'><font face='verdana' size='1'><b>Reseller Fee</b></font></td>";
            print "<td align='center' class='cl1'><font face='verdana' size='1'>&nbsp;{$chequeapproved}</font></td>";
            print "<td align='right' class='cl1'><font face='verdana' size='1'>&nbsp;" . number_format($reseller_fee * $chequeapproved, 2) . "</font></td>";
            print "<td align='right' class='bottom'><font face='verdana' size='1'>&nbsp;</font></td></tr>";
            print "</table>";
            print "</td>";
        }
        print "<td {$valgg}  valign='top'><br>";
        print "<P align='center'><font face='verdana' size='2'><B>Total Summary</span><br>";
        print "<table class='lefttopright' cellpadding='5' cellspacing='0'  valign='top'  bgColor='#ffffff'  ID='Table1' style=' margin-left: 4; margin-top: 4; margin-bottom: 5'>";
        print "<tr height='30' bgcolor='#CCCCCC'><td align='center'  class='cl1'><span class='subhd'>Total Details</span></td>";
        print "<td align='center'  class='cl1'><span class='subhd'>Quantity</span></td>";
        print "<td align='right' class='cl1'><span class='subhd'>Amount (\$)</span></td>";
        print "<td align='right'  class='cl1'><span class='subhd'>Percentage (%)</span></td></tr>";
        print "<tr><td align='left'  class='cl1'><font face='verdana' size='1'><b>Total</b></font></td>";
        print "<td align='center'  class='cl1'><font face='verdana' size='1'><b>&nbsp;{$totalnum}</b></font></td>";
        print "<td align='right' class='cl1'><font face='verdana' size='1'><b>&nbsp;" . number_format($totamount, 2) . "</b></font></td>";
        print "<td align='right'  class='bottom'><font face='verdana' size='1'>&nbsp;" . number_format($cardPer, 2) . "</font></td></tr>";
        print "<tr><td align='left'  class='cl1'><font face='verdana' size='1'><b>Pending</span></td>";
        print "<td align='center'  class='cl1'><font face='verdana' size='1'>&nbsp;{$pending}</font></td>";
        print "<td align='right'  class='cl1'><font face='verdana' size='1'>&nbsp;" . number_format($pendingAmt, 2) . "</font></td>";
        print "<td align='right'  class='bottom'><font face='verdana' size='1'>&nbsp;" . number_format($pendingPer, 2) . "</font></td></tr>";
        /*print("<tr><td align='left' class='cl1'><font face='verdana' size='1'><b>Passed</b></font></td>");
        	   print("<td align='center' class='cl1'><font face='verdana' size='1'>&nbsp;$passed</font></td>");
        	   print("<td align='right' class='cl1'><font face='verdana' size='1'>&nbsp;".number_format($passedAmt,2)."</font></td>");
        	   print("<td align='right' class='cl1'><font face='verdana' size='1'>&nbsp;".number_format($passedPer,2)."</font></td></tr>");
        
        	   print("<tr><td align='left' class='cl1'><font face='verdana' size='1'><b>Non Pass</b></font></td>");
        	   print("<td align='center' class='cl1'><font face='verdana' size='1'>&nbsp;$nonpassed</font></td>");
        	   print("<td align='right' class='cl1'><font face='verdana' size='1'>&nbsp;".number_format($nonpassedAmt,2)."</font></td>");
        	   print("<td align='right' class='cl1'><font face='verdana' size='1'>&nbsp;".number_format($nonpassedPer,2)."</font></td></tr>");*/
        print "<tr><td align='left'  class='cl1'><font face='verdana' size='1'><b>Approved</b></font></td>";
        print "<td align='center'  class='cl1'><font face='verdana' size='1'>&nbsp;{$approved}</font></td>";
        print "<td align='right'  class='cl1'><font face='verdana' size='1'>&nbsp;" . number_format($approvedAmt, 2) . "</font></td>";
        print "<td align='right'  class='bottom'><font face='verdana' size='1'>&nbsp;" . number_format($approvedPer, 2) . "</font></td></tr>";
        /*print("<tr><td align='left'  class='cl1'><font face='verdana' size='1'><b>Declined</b></font></td>");
          print("<td align='center' class='cl1'><font face='verdana' size='1'>&nbsp;$declined</font></td>");
          print("<td align='right'  class='cl1'><font face='verdana' size='1'>&nbsp;".number_format($declinedAmt,2)."</font></td>");
          print("<td align='right'  class='cl1'><font face='verdana' size='1'>&nbsp;".number_format($declinedPer,2)."</font></td></tr>");*/
        print "<tr><td align='left'  class='cl1'><font face='verdana' size='1'><b>Credit</b></font></td>";
        print "<td align='center'  class='cl1'><font face='verdana' size='1'>&nbsp;{$canceled}</font></td>";
        print "<td align='right'  class='cl1'><font face='verdana' size='1'>&nbsp;" . number_format($canceledAmt, 2) . "</font></td>";
        print "<td align='right'  class='bottom'><font face='verdana' size='1'>&nbsp;" . number_format($canceledPer, 2) . "</font></td></tr>";
        /*print("<tr><td align='left'  class='cl1'><font face='verdana' size='1'><b>Voice Upload</b></font></td>");
          print("<td align='center'  class='cl1'><font face='verdana' size='1'>&nbsp;$voice_count_uploads</font></td>");
          print("<td align='right'  class='cl1'><font face='verdana' size='1'>&nbsp;".number_format($i_total_voice_amt,2)."</font></td>");
          print("<td align='right'  class='cl1'><font face='verdana' size='1'>&nbsp;".number_format($voiceauthPre,2)."</font></td></tr>");*/
        print "<tr><td align='left' class='cl1'><font face='verdana' size='1'><b>Reseller Fee</b></font></td>";
        print "<td align='center' class='cl1'><font face='verdana' size='1'>&nbsp;" . ($chequeapproved + $creditapproved) . "</font></td>";
        print "<td align='right' class='cl1'><font face='verdana' size='1'>&nbsp;" . number_format($reseller_fee * $chequeapproved + $reseller_fee * $creditapproved, 2) . "</font></td>";
        print "<td align='right' class='bottom'><font face='verdana' size='1'>&nbsp;</font></td></tr>";
        print "<tr bgcolor='#CCCCCC'><td align='left' class='cl1' colspan='2'><span class='subhd'>Deductions</span></td>";
        print "<td align='right' class='cl1'><span class='subhd'>Deducted Amount</span></td>";
        print "<td align='right' class='cl1'><span class='subhd'>Amount per transaction</span></td></td></tr>";
        print "<tr><td align='left' class='cl1' colspan='2'><font face='verdana' size='1'><b>Charge Back</b></font></td>";
        print "<td align='right' class='cl1'><font face='verdana' size='1'>&nbsp;" . number_format($charge_back_amount, 2) . "</font></td>";
        print "<td align='right'  class='bottom'><font face='verdana' size='1'>&nbsp;" . number_format($i_charge_back, 2) . "</font></td></tr>";
        print "<tr><td align='left' class='cl1' colspan='2'><font face='verdana' size='1'><b>Credit</b></font></td>";
        print "<td align='right' class='cl1'><font face='verdana' size='1'>&nbsp;" . number_format($credit_amount, 2) . "</font></td>";
        print "<td align='right'  class='bottom'><font face='verdana' size='1'>&nbsp;" . number_format($i_credit, 2) . "</font></td></tr>";
        /*print("<tr><td align='left' class='cl1' colspan='2'><font face='verdana' size='1'><b>Discount</b></font></td>");
        	   print("<td align='right' class='cl1'><font face='verdana' size='1'>&nbsp;".number_format($i_discount_amt,2)."</font></td>");
        	   print("<td align='right'  class='bottom'><font face='verdana' size='1'>&nbsp;".number_format($i_discount_rate,2)."%</font></td></tr>");	   
        
        	   print("<tr><td align='left' class='cl1' colspan='2'><font face='verdana' size='1'><b>Transaction Fee</b></font></td>");
        	   print("<td align='right' class='cl1'><font face='verdana' size='1'>&nbsp;".number_format($i_transaction_amt,2)."</font></td>");
        	   print("<td align='right'  class='bottom'><font face='verdana' size='1'>&nbsp;".number_format($i_transaction_fee,2)."</font></td></tr>");	   
        
        	   print("<tr><td align='left' class='cl1' colspan='2'><font face='verdana' size='1'><b>Reserve Fee</b></font></td>");
        	   print("<td align='right' class='cl1'><font face='verdana' size='1'>&nbsp;".number_format($i_reserve_amt,2)."</font></td>");
        	   print("<td align='right'  class='bottom'><font face='verdana' size='1'>&nbsp;".number_format($i_reserve,2)."%</font></td></tr>");	   
        
        	   print("<tr><td align='left' class='cl1' colspan='2'><font face='verdana' size='1'><b>Voice Authorization</b></font></td>");
        	   print("<td align='right' class='cl1'><font face='verdana' size='1'>&nbsp;".number_format($i_voiceauth_amt,2)."</font></td>");
        	   print("<td align='right'  class='bottom'><font face='verdana' size='1'>&nbsp;".number_format($trans_voicefee,2)."</font></td></tr>");*/
        print "<tr><td align='left' class='cl1' colspan='2'><font face='verdana' size='1'><b>Net Amount</b></font></td>";
        print "<td align='right' class='cl1'><font face='verdana' size='1'><b>&nbsp;" . number_format($i_net_amt, 2) . "</b></font></td>";
        print "<td align='right'  class='bottom'><font face='verdana' size='1'>&nbsp;" . number_format($i_net_Per) . "</font></td></tr>";
        print "</table>";
        print "</td>";
        print "</tr></table>";
    } else {
        print "<br>";
        if ($str_company_id != "A") {
            print "<P align='center'><font face='verdana' size='2'><B>" . func_get_value_of_field($cnn_connection, "cs_companydetails", "companyname", "userid", $str_company_id) . "</B></font></p>";
        }
        print "<center><font face='verdana' size='1' ><B>No transactions for this period</B></font><center><br>";
    }
}
开发者ID:juliogallardo1326,项目名称:proc,代码行数:101,代码来源:function1.php

示例5: message

                if (sizeof($arr_company_ids) != 0) {
                    if (in_array($strUserId, $arr_company_ids)) {
                        $isValidUser = true;
                    }
                }
            }
        }
    }
    if (!$isValidUser) {
        $msgtodisplay = "You are not Authorized to attend calls from this Company";
        $outhtml = "y";
        print "<br>";
        message($msgtodisplay, $outhtml, $headerInclude);
        exit;
    } else {
        $strSecurityNumber = func_get_value_of_field($cnn_cs, "cs_companydetails", "securityNumber", "userId", $strUserId);
        if ($str_back == "") {
            $qryInsert = "insert into cs_callnotes (transaction_id,call_date_time,customer_service_id) values ({$strTransactionID},'{$strCurrentDateTime}','{$i_customer_service_id}')";
            if (!mysql_query($qryInsert, $cnn_cs)) {
                print "Can not execute insert query";
                exit;
            } else {
                $i_call_note_id = mysql_insert_id($cnn_cs);
            }
        }
        ?>
		<table border="0" cellpadding="0" width="100%" cellspacing="0" height="80%">
		  <tr>
			   <td width="83%" valign="top" align="center"  >
			&nbsp;
			<table border="0" cellpadding="0" cellspacing="0" width="100%" >
开发者ID:juliogallardo1326,项目名称:proc,代码行数:31,代码来源:Copy+of+searchresult.php

示例6: func_get_value_of_field

        $tran_login_type = "tele";
    } else {
        $tran_login_type = "pmtg";
    }
}
if ($i_company_id != "") {
    $str_atm_verify = func_get_value_of_field($cnn_cs, "cs_companydetails", "atm_verify", "userid", $i_company_id);
    $str_currency = func_get_processing_currency($i_company_id);
    $sql_trans_type = "Select transaction_type from cs_companydetails where userid={$i_company_id}";
    if ($show_trans_show = mysql_query($sql_trans_type)) {
        if ($show_val = mysql_fetch_array($show_trans_show)) {
            $tran_login_type = $show_val[0];
        }
    }
} else {
    $str_atm_verify = func_get_value_of_field($cnn_cs, "cs_companydetails", "atm_verify", "userid", $str_company_id);
    $str_currency = func_get_processing_currency($str_company_id);
}
$i_from_day = date("d");
$i_from_month = date("m");
$i_from_year = date("Y");
$i_to_day = date("d");
$i_to_month = date("m");
$i_to_year = date("Y");
$str_return_date = date("Y m d H:i", mktime(0, 0, 0, $i_from_month, $i_from_day, $i_from_year));
$i_from_year = substr($str_return_date, 0, 4);
$i_from_month = substr($str_return_date, 5, 2);
$i_from_day = substr($str_return_date, 8, 2);
$str_return_date = date("Y m d H:i", mktime(0, 0, 0, $i_to_month, $i_to_day, $i_to_year));
$i_to_year = substr($str_return_date, 0, 4);
$i_to_month = substr($str_return_date, 5, 2);
开发者ID:juliogallardo1326,项目名称:proc,代码行数:31,代码来源:cheque.php

示例7: isset

 $str_payment_type = isset($HTTP_POST_VARS["hid_payment_type{$iLoop}"]) ? quote_smart($HTTP_POST_VARS["hid_payment_type{$iLoop}"]) : "";
 $iCompanyId = isset($HTTP_POST_VARS["hid_company_id{$iLoop}"]) ? quote_smart($HTTP_POST_VARS["hid_company_id{$iLoop}"]) : "";
 $strBillingDate = isset($HTTP_POST_VARS["hid_billing_date{$iLoop}"]) ? quote_smart($HTTP_POST_VARS["hid_billing_date{$iLoop}"]) : "";
 $strPassStatus = isset($HTTP_POST_VARS["radpass{$iLoop}"]) ? quote_smart($HTTP_POST_VARS["radpass{$iLoop}"]) : "";
 $strStatus = isset($HTTP_POST_VARS["radpending{$iLoop}"]) ? quote_smart($HTTP_POST_VARS["radpending{$iLoop}"]) : "";
 $strCancel = isset($HTTP_POST_VARS["chk{$iLoop}"]) ? quote_smart($HTTP_POST_VARS["chk{$iLoop}"]) : "";
 $strtxt = isset($HTTP_POST_VARS["txt{$iLoop}"]) ? quote_smart($HTTP_POST_VARS["txt{$iLoop}"]) : "";
 $strCancelReason = isset($HTTP_POST_VARS["optReason{$iLoop}"]) ? quote_smart($HTTP_POST_VARS["optReason{$iLoop}"]) : "";
 $strOtherReason = isset($HTTP_POST_VARS["txt{$iLoop}"]) ? quote_smart($HTTP_POST_VARS["txt{$iLoop}"]) : "";
 $strNoPassReason = isset($HTTP_POST_VARS["txtarea{$iLoop}"]) ? quote_smart($HTTP_POST_VARS["txtarea{$iLoop}"]) : "";
 $strDeclinedReason = isset($HTTP_POST_VARS["declineReason{$iLoop}"]) ? quote_smart($HTTP_POST_VARS["declineReason{$iLoop}"]) : "";
 $td_is_chargeback = isset($HTTP_POST_VARS["td_is_chargeback{$iLoop}"]) ? quote_smart($HTTP_POST_VARS["td_is_chargeback{$iLoop}"]) : "";
 $cancelstatus = isset($HTTP_POST_VARS["cancelstatus{$iLoop}"]) ? quote_smart($HTTP_POST_VARS["cancelstatus{$iLoop}"]) : "";
 $qryUpdate = "";
 if ($iTransactionId != "" && 0) {
     $status = func_get_value_of_field($cnn_cs, "cs_transactiondetails", "status", "transactionId", $iTransactionId);
     $qry_select_status = "Select passStatus,status,cancelstatus,pass_count,approval_count from cs_transactiondetails where transactionId={$iTransactionId}";
     if (!($rst_select_status = mysql_query($qry_select_status, $cnn_cs))) {
         print "Can not execute query";
         print "<br>";
         exit;
     }
     if (mysql_num_rows($rst_select_status) > 0) {
         $db_passstatus = mysql_result($rst_select_status, 0, 0);
         $db_status = mysql_result($rst_select_status, 0, 1);
         $db_cancelstatus = mysql_result($rst_select_status, 0, 2);
         $db_passcount = mysql_result($rst_select_status, 0, 3);
         $db_approvalcount = mysql_result($rst_select_status, 0, 4);
     }
     $qrydeclineUpdate = "update cs_transactiondetails set td_is_chargeback = '{$td_is_chargeback}', cancelstatus = '{$cancelstatus}',reason='{$strtxt}' where transactionId={$iTransactionId}";
     if (!mysql_query($qrydeclineUpdate, $cnn_cs)) {
开发者ID:juliogallardo1326,项目名称:proc,代码行数:31,代码来源:updatetransactions.php

示例8: count

	<tr>
	<td height="22" align="left" valign="top" width="1%" background="images/menucenterbg.gif" nowrap><img border="0" src="images/menutopleft.gif" width="8" height="22"></td>
	      <td height="22" align="center" valign="middle" width="50%" background="images/menucenterbg.gif" ><span class="whitehd">Ledger&nbsp; 
            Details</span></td>
	<td height="22" align="left" valign="top" width="3%" nowrap><img border="0" src="images/menutopcurve.gif" width="49" height="22"></td>
	<td height="22" align="left" valign="top" width="45%" background="images/menutoprightbg.gif" ><img alt="" src="images/spacer.gif" width="1" height="1"></td>
	<td height="22" align="right" valign="top" background="images/menutoprightbg.gif"  width="1%" nowrap><img border="0" src="images/menuright.gif" width="10" height="22"></td>
	</tr>
      <tr>
        <td width="100%" valign="top" align="left" class="lgnbd" colspan="5">

	<form name="summery" action="javascript:window.history.back()">	
	<?php 
    $querystr = $querystr . " cs_transactiondetails.userid ={$sessionlogin} and " . $querystr1;
    $qrt_voice_select = " select count(*) from cs_voice_system_upload_log where user_id={$sessionlogin} and upload_date_time between '{$dateToEnter}' and '{$dateToEnter1}'";
    $str_merchant_type = func_get_value_of_field($cnn_cs, "cs_companydetails", "transaction_type", "userid", $sessionlogin);
    if ($str_merchant_type == "tele") {
        func_show_ledger_details($querystr, $cnn_cs, $crorcq, $str_type, "A", $qrt_voice_select);
    } else {
        func_show_ecommerce_ledger_details($querystr, $cnn_cs, $crorcq, $str_type, "A");
    }
    //echo($querystr);
    ?>
	<center>
<table align="center"  ><tr>
		<td align="center" valign="center" height="30" colspan="2"><input type="image" id="backsummery" src="images/back.jpg" border="0"></input></td></tr>	
</table></center>

	</form>
	</td>
      </tr>
开发者ID:juliogallardo1326,项目名称:proc,代码行数:31,代码来源:reportBottomSummary_old.php

示例9: isset

$customerZipCode = isset($HTTP_POST_VARS['CUSTOMER_ZIP_CODE']) ? trim($HTTP_POST_VARS['CUSTOMER_ZIP_CODE']) : "";
$customerState = isset($HTTP_POST_VARS['CUSTOMER_STATE']) ? trim($HTTP_POST_VARS['CUSTOMER_STATE']) : "";
$customerCountry = isset($HTTP_POST_VARS['CUSTOMER_COUNTRY']) ? trim($HTTP_POST_VARS['CUSTOMER_COUNTRY']) : "";
$customerPhone = isset($HTTP_POST_VARS['CUSTOMER_PHONE']) ? trim($HTTP_POST_VARS['CUSTOMER_PHONE']) : "";
$customerIp = isset($HTTP_POST_VARS['CUSTOMER_IP']) ? trim($HTTP_POST_VARS['CUSTOMER_IP']) : "";
$productName = isset($HTTP_POST_VARS['PRODUCT_NAME']) ? trim($HTTP_POST_VARS['PRODUCT_NAME']) : "";
$transactAmount = isset($HTTP_POST_VARS['TRANSAC_AMOUNT']) ? trim($HTTP_POST_VARS['TRANSAC_AMOUNT']) : "";
$currencyCode = isset($HTTP_POST_VARS['CURRENCY_CODE']) ? trim($HTTP_POST_VARS['CURRENCY_CODE']) : "";
$cardType = isset($HTTP_POST_VARS['CB_TYPE']) ? trim($HTTP_POST_VARS['CB_TYPE']) : "";
$cardNumber = isset($HTTP_POST_VARS['CB_NUMBER']) ? trim($HTTP_POST_VARS['CB_NUMBER']) : "";
$cardExpire = isset($HTTP_POST_VARS['CB_EXPIRE']) ? trim($HTTP_POST_VARS['CB_EXPIRE']) : "";
$cardCvcNumber = isset($HTTP_POST_VARS['CB_CVC']) ? trim($HTTP_POST_VARS['CB_CVC']) : "";
$transactionType = isset($HTTP_POST_VARS['TRANS_TYPE']) ? trim($HTTP_POST_VARS['TRANS_TYPE']) : "";
$transactionId = isset($HTTP_POST_VARS['TRANS_ID']) ? trim($HTTP_POST_VARS['TRANS_ID']) : "";
$xml_string = "<epxml><header>\n\t\t\t<responsetype>direct</responsetype>\n\t\t\t\t<mid>{$UserId}</mid>\n\t\t\t\t<password>{$UserPassword}</password>\n\t\t\t<type>charge</type>\n\t\t\t</header>\n\t\t\t<request><charge>\n\t\t\t\t<etan>{$ReferenceNo}</etan>\n\t\t\t<card>\n\t\t\t\t<cctype>{$cardType}</cctype>\n\t\t\t\t<cc>{$cardNumber}</cc>\n\t\t\t\t<expire>{$cardExpire}</expire>\n\t\t\t\t<cvv>{$cardCvcNumber}</cvv>\n\t\t\t</card>\n\t\t\t<cardholder>\n\t\t\t\t<name>{$customerFirstName}</name>\n\t\t\t\t<surname>{$customerLastName}</surname>\n\t\t\t\t<street>{$customerAddress}</street>\n\t\t\t\t<housenumber>123</housenumber>\n\t\t\t\t<zip>{$customerZipCode}</zip>\n\t\t\t\t<city>{$customerCity}</city>\n\t\t\t\t<country>{$customerCountry}</country>\n\t\t\t\t<telephone>{$customerPhone}</telephone>\n\t\t\t\t<state>{$customerState}</state>\n\t\t\t\t<email>{$customerEmail}</email>\n\t\t\t</cardholder>\n\t\t\t<amount>\n\t\t\t\t<currency>{$currencyCode}</currency>\n\t\t\t\t<value>{$transactAmount}</value>\n\t\t\t</amount>\n\t\t\t</charge>\n\t\t\t</request></epxml>";
$is_existTransId = func_get_value_of_field($cnn_cs, "cs_volpay", "trans_id", "trans_id", $transactionId);
if ($is_existTransId == "") {
    $data = func_volpaybank_integration_result($xml_string);
} else {
    $strMessage = "<h3>The Order number already exist.</h3>Please process with a new transaction.";
}
$Nodes = array();
$count = 0;
$pos = 0;
// Goes throw XML file and creates an array of all <XML_TAG> tags.
while ($node = GetElementByName($data, "<epxml>", "</epxml>")) {
    $Nodes[$count] = $node;
    $count++;
    $data = substr($data, $pos);
}
// Gets infomation from tag siblings.
开发者ID:juliogallardo1326,项目名称:proc,代码行数:31,代码来源:volresult.php

示例10: message

             }
         } else {
             $msgtodisplay = "Invalid File";
         }
     } else {
         $msgtodisplay = "No file uploaded";
     }
 } else {
     $msgtodisplay = "No file uploaded";
 }
 if ($msgtodisplay != "") {
     $outhtml = "y";
     message($msgtodisplay, $outhtml, $headerInclude);
     exit;
 } else {
     $str_company_name = func_get_value_of_field($cnn_cs, "cs_companydetails", "companyname", "userId", $i_company_id);
     if (!$is_valid_report) {
         $msgtodisplay = "Uploaded report is not valid for {$str_company_name}";
         $outhtml = "y";
         message($msgtodisplay, $outhtml, $headerInclude);
         exit;
     } else {
         if ($str_report != "") {
             $msgtodisplay = "The following Voice Authorization Id(s) were not found for {$str_company_name}:<br><br>";
             $msgtodisplay .= $str_report;
             $outhtml = "y";
             message($msgtodisplay, $outhtml, $headerInclude);
             exit;
         } else {
             $msgtodisplay = "Voice System Reports Updated Successfully";
             $outhtml = "y";
开发者ID:juliogallardo1326,项目名称:proc,代码行数:31,代码来源:voicesystem.php

示例11: mysql_result

 $str_first_name = mysql_result($rssel_report, $i, 12);
 $str_surname = mysql_result($rssel_report, $i, 13);
 $str_company = mysql_result($rssel_report, $i, 14);
 $str_cancellation_date = mysql_result($rssel_report, $i, 15);
 $str_approval_status = mysql_result($rssel_report, $i, 16);
 $i_transref = mysql_result($rssel_report, $i, 17);
 $str_customer_service_rep = "";
 $str_new_date = "";
 $str_prev_bill_date = $str_prev_bill_date == "0000:00:00" ? "" : func_get_date_inmmddyy($str_prev_bill_date);
 if ($str_prev_bill_date != "") {
     $str_new_date = $str_bill_date_changed == "Y" ? func_get_date_inmmddyy($str_new_bill_date) : "Unchanged";
 }
 if ($i_customer_service_id == 0) {
     $str_customer_service_rep = "service";
 } else {
     $str_customer_service_rep = func_get_value_of_field($cnn_cs, "cs_customerserviceusers", "username", "id", $i_customer_service_id);
 }
 $arr_total_duration[$i] = $str_call_duration;
 $str_cancelled_after_bill_date = "";
 $str_call_date = substr($str_calldatetime, 0, 10);
 if ($str_cancel_status == "Cancelled" && $str_cancellation_date >= $str_new_bill_date) {
     if ($str_approval_status == "A") {
         $str_cancelled_after_bill_date = "style='border:1 solid red'";
     } else {
         if ($str_approval_status == "D") {
             $str_cancelled_after_bill_date = "style='border:1 solid orange'";
         } else {
             $str_cancelled_after_bill_date = "style='border:1 solid brown'";
         }
     }
 }
开发者ID:juliogallardo1326,项目名称:proc,代码行数:31,代码来源:report_custom.php

示例12: date

	$i_start_day_diff = $i_end_day_diff + ($i_to_week_day - $i_from_week_day);
	//$str_from_date = date("Y-m-d", mktime (0, 0, 0, $str_month, $str_day - ($i_num_days_back + $i_start_day_diff), $str_year));
	//$str_to_date = date("Y-m-d", mktime (0, 0, 0, $str_month, $str_day - ($i_num_days_back + $i_end_day_diff), $str_year));
	$str_from_date = date("Y-m-d", mktime (0, 0, 0, $str_month, $str_day , $str_year));
	$str_to_date = date("Y-m-d", mktime (0, 0, 0, $str_month, $str_day, $str_year));
	print("start= $str_from_date; end= $str_to_date");
	exit();
//	print("num days= $i_num_days_back");
//}*/
$str_from_date = date("Y-m-d", mktime(0, 0, 0, $i_from_month, $i_from_day, $i_from_year));
$str_to_date = date("Y-m-d", mktime(0, 0, 0, $i_to_month, $i_to_day, $i_to_year));
$selected_company = "";
if ($companyid) {
    $qry_select_details = "Select a.transactionDate,a.passStatus,a.status,a.cancelstatus,a.reason,a.amount,b.chargeback,b.transactionfee,b.voiceauthfee,b.companyname,b.credit,b.discountrate,b.reserve from cs_transactiondetails as a,cs_companydetails as b where a.userid=b.userid and a.userid={$companyid} and a.transactionDate >='{$str_from_date}' and a.transactionDate <='{$str_to_date}'";
    $qry_select_details .= " order by b.companyname,a.transactionDate";
    $companytype = func_get_value_of_field($cnn_cs, "cs_companydetails", "transaction_type", "userId", $companyid);
}
//print($qry_select_details);
if (!($rs_select_details = mysql_query($qry_select_details, $cnn_cs))) {
    print mysql_errno() . ": " . mysql_error() . "<BR>";
    print "<br>";
    print $qry_select_details;
    print "Cannot execute query";
    exit;
}
$i_count = mysql_num_rows($rs_select_details);
//echo $i_count;
if ($i_count == 0) {
    $msgtodisplay = "No transactions for this period.";
    $outhtml = "y";
    message($msgtodisplay, $outhtml, $headerInclude);
开发者ID:juliogallardo1326,项目名称:proc,代码行数:31,代码来源:completeAccountingNext.php

示例13: isset

$crorcq1 = isset($HTTP_POST_VARS['crorcq1']) ? Trim($HTTP_POST_VARS['crorcq1']) : "";
$str_bill_date = isset($HTTP_POST_VARS['billDate']) ? Trim($HTTP_POST_VARS['billDate']) : "";
$cancelreason = "Customer cancel";
$msgtodisplay = "";
if ($trans_id != "") {
    if ($cancel != "") {
        $str_is_cancelled = func_get_value_of_field($cnn_cs, "cs_transactiondetails", "cancelstatus", "transactionId", $return_insertId);
        //$return_insertId = func_transaction_updatenew($iTransactionId,$cnn_cs);
        if ($str_is_cancelled == "Y") {
            $outhtml = "y";
            $msgtodisplay = "This transaction has been already canceled";
            message($msgtodisplay, $outhtml, $headerInclude);
            exit;
        } else {
            $strCurrentDateTime = func_get_current_date();
            $str_approval_status = func_get_value_of_field($cnn_cs, "cs_transactiondetails", "status", "transactionId", $return_insertId);
            if ($strCurrentDateTime >= $str_bill_date && $str_approval_status == "A") {
                $qrt_update_details = "Update cs_transactiondetails set reason='{$cancelreason}',cancellationDate='{$canceldate}',admin_approval_for_cancellation = 'P' where transactionId={$trans_id} and userid={$user_id}";
                if (!($qrt_update_run = mysql_query($qrt_update_details))) {
                    dieLog(mysql_errno() . ": " . mysql_error() . "<BR>");
                } else {
                    $msgtodisplay = "<table width='370' height='100' align='center' valign='top' style='border:2px solid black'><tr><td align='center' valign='middle'><font face='verdana' size='2' color='red'>Selected transaction has been canceled and is waiting for Admin's Approval.</font></td></tr><tr><td align='center'><a href='index.htm'><img border='0' src='images/back_tran.gif'></a></td></tr></table>";
                }
            } else {
                $return_insertId = func_transaction_updatenew($trans_id, $cnn_cs);
                $qryUpdate = "update cs_transactiondetails set passStatus='ND',cancelstatus='Y',reason='{$cancelreason}',cancellationDate='{$canceldate}' where transactionId={$trans_id} and userid={$user_id}";
                //print($qryUpdate."<br>");
                if (!mysql_query($qryUpdate, $cnn_cs)) {
                    print mysql_errno() . ": " . mysql_error() . "<BR>";
                    print "Can not execute query cancel update query";
                    exit;
开发者ID:juliogallardo1326,项目名称:proc,代码行数:31,代码来源:merchantcancel.php

示例14: func_get_value_of_field

        ?>
                    </select>
                  </td>
                </tr>
                <tr>
                  <td align="left" valign="center" height="30" width="50%" bgcolor="#F8FAFC"><font face="verdana" size="1">&nbsp; Totals &nbsp;</font></td>
                  <td align="left" height="30" width="50%" bgcolor="#F8FAFC"><input type="text" src='req' maxlength="15" name="totals" style="font-family:arial;font-size:10px;width:120px" value="<?php 
        echo $show_select_value['totals'];
        ?>
">
                  </td>
                </tr>
                <?php 
        $gateway_id = $show_select_value['gateway_id'];
        if ($gateway_id != -1) {
            $gatewayCompanyName = func_get_value_of_field($cnn_cs, "cs_companydetails", "companyname", "userid", $gateway_id);
        }
        ?>
                <tr>
                  <td align="left" valign="center" height="30" width="50%" bgcolor="#F8FAFC"><font face="verdana" size="1">&nbsp; <b>Forecasted Volume </b>&nbsp;&nbsp;</font></td>
                  <td align="left" height="30" width="50%" bgcolor="#F8FAFC">&nbsp;</td>
                </tr>
                <tr>
                  <td align="left" valign="center" height="30" width="50%" bgcolor="#F8FAFC"><font face="verdana" size="1">&nbsp; First Month&nbsp;&nbsp;</font></td>
                  <td align="left" height="30" width="50%" bgcolor="#F8FAFC"><select name="forecast_first_month" style="font-family:arial;font-size:10px;width:120px" title="reqmenu">
                      <?php 
        func_select_merchant_volume($show_select_value['forecast_volume_1month']);
        ?>
                    </select>
                  </td>
                </tr>
开发者ID:juliogallardo1326,项目名称:proc,代码行数:31,代码来源:application_aci.php

示例15: func_get_value_of_field

                                    $str_user_type = "Rebilling";
                                } else {
                                    $str_user_type = "VT ";
                                }
                            }
                        }
                    }
                }
            }
        }
        $strServiceUser = "";
        if ($iServiceUserId != "") {
            if ($iServiceUserId == 0) {
                $strServiceUser = "service";
            } else {
                $strServiceUser = func_get_value_of_field($cnn_cs, "cs_customerserviceusers", "username", "id", $iServiceUserId);
            }
        }
        ?>
							<tr height='30' >
								<td align='center'  class='cl1'><font face='verdana' size='1'><a href="javascript:func_submit('<?php 
        echo $iTransactionId;
        ?>
');" class="link1">&nbsp;<?php 
        echo $ireferenceNumber;
        ?>
</a><br><?php 
        print func_get_date_time_12hr($strTransactiontime);
        ?>
</font></td>
								<td align='left' class='cl1'><font face='verdana' size='1'>
开发者ID:juliogallardo1326,项目名称:proc,代码行数:31,代码来源:viewGatewayTransactions.php


注:本文中的func_get_value_of_field函数示例由纯净天空整理自Github/MSDocs等开源代码及文档管理平台,相关代码片段筛选自各路编程大神贡献的开源项目,源码版权归原作者所有,传播和使用请参考对应项目的License;未经允许,请勿转载。