403Webshell
Server IP : 103.234.187.230  /  Your IP : 216.73.216.216
Web Server : Apache
System : Linux lserver42043-ind.megavelocity.net 3.10.0-1160.108.1.el7.x86_64 #1 SMP Thu Jan 25 16:17:31 UTC 2024 x86_64
User : apache ( 48)
PHP Version : 7.4.33
Disable Function : NONE
MySQL : OFF  |  cURL : ON  |  WGET : ON  |  Perl : ON  |  Python : ON  |  Sudo : ON  |  Pkexec : ON
Directory :  /var/www/html/b2bzend/application/models/

Upload File :
current_dir [ Writeable ] document_root [ Writeable ]

 

Command :


[ Back ]     

Current File : /var/www/html/b2bzend/application/models/TblCurrencyCon.php
<?php
/**
 * Copyright 2013 Catabatic Automation Technology Pvt Ltd.
 * All rights reserved
 *
 * @description: Travel_Model_TblUser.php, User Model. 2016/07/01 13:29
 * @author: Shakti Rana <shakti@catpl.co.in>
 */

include_once 'BaseModel.php';

class Travel_Model_TblCurrencyCon  extends BaseModel{
    
    public function getAgentTrxCurrency() {
        $sessionLogin_user = new Zend_Session_Namespace('sessionLogin_user');
           
        $sql ="SELECT TrxCurrency FROM  TB_Agency WHERE AgencySysId=".$sessionLogin_user->intLoggedinUserAgencySysId;
        $trxCur=$this->db->query($sql)->fetchAll();
        foreach($trxCur as $val){
           $result= $val['TrxCurrency'];
        }
        return $result;
    }
    
    
    public function getMastCurrencyCon($fCurrencyType,$tCurrencyType)
    {
       $sql = "SELECT Rate FROM TB_IC_CurrencyConversion WHERE FCurrencyType='$fCurrencyType' AND TCurrencyType='".$tCurrencyType."'";
        return $this->db->query($sql)->fetch();
    }
    
    
}





Youez - 2016 - github.com/yon3zu
LinuXploit