403Webshell
Server IP : 172.67.178.83  /  Your IP : 216.73.217.141
Web Server : Apache
System : Linux hosting01.arsenalhost.com 4.18.0-425.13.1.lve.el8.x86_64 #1 SMP Mon Feb 27 15:23:24 EST 2023 x86_64
User : corbizre ( 1013)
PHP Version : 7.4.33
Disable Function : exec,passthru,shell_exec,system
MySQL : OFF  |  cURL : ON  |  WGET : ON  |  Perl : ON  |  Python : ON  |  Sudo : ON  |  Pkexec : ON
Directory :  /home/corbizre/rentalssearch.com/lib/

Upload File :
current_dir [ Writeable ] document_root [ Writeable ]

 

Command :


[ Back ]     

Current File : /home/corbizre/rentalssearch.com/lib/main.php
<?php

function print_debug(&$Value, $Info='<b>debug</b>')
{
    echo "<pre><font size=\"2\">_______________________________".$Info."_____________________________________\n";
    print_r($Value);
    echo "____________________________________________________________________</font></pre>\n";
}

function GetCountry(&$db, $ID)
{
    $sql = 'SELECT  country_name '
          .'FROM '.DB_PREFIX.'_countries '
          .'WHERE country_id = '.$ID;
    $result = $db->select($sql);
    return $result[0]['country_name'];
}

function GetAllCountries(&$db)
{
    $sql = 'SELECT  country_id, country_name '
          .'FROM '.DB_PREFIX.'_countries '
          .'ORDER BY country_name ';
    $result = $db->select($sql);
    return $result;
}

function GetWhere(&$db, $ID)
{
    $sql = 'SELECT  where_id, where_name '
          .'FROM '.DB_PREFIX.'_where '
          .'WHERE where_id = '.$ID;
    $result = $db->select($sql);
    return $result[0];
}

function GetAllWhere(&$db)
{
    $sql = 'SELECT  where_id, where_name '
          .'FROM '.DB_PREFIX.'_where ';
//          .'ORDER BY where_name ';
    $result = $db->select($sql);
    return $result;
}

function get_states()
{
    return array(
    'AL' => 'Alabama',
    'AK' => 'Alaska',
    'AZ' => 'Arizona',
    'AR' => 'Arkansas',
    'CA' => 'California',
    'CO' => 'Colorado',
    'CT' => 'Connecticut',
    'DE' => 'Delaware',
    'DC' => 'District of Columbia',
    'FL' => 'Florida',
    'GA' => 'Georgia',
    'HI' => 'Hawaii',
    'ID' => 'Idaho',
    'IL' => 'Illinois',
    'IN' => 'Indiana',
    'IA' => 'Iowa',
    'KS' => 'Kansas',
    'KY' => 'Kentucky',
    'LA' => 'Louisiana',
    'ME' => 'Maine',
    'MD' => 'Maryland',
    'MA' => 'Massachusetts',
    'MI' => 'Michigan',
    'MN' => 'Minnesota',
    'MS' => 'Mississippi',
    'MO' => 'Missouri',
    'MT' => 'Montana',
    'NE' => 'Nebraska',
    'NV' => 'Nevada',
    'NH' => 'New Hampshire',
    'NJ' => 'New Jersey',
    'NM' => 'New Mexico',
    'NY' => 'New York',
    'NC' => 'North Carolina',
    'ND' => 'North Dakota',
    'OH' => 'Ohio',
    'OK' => 'Oklahoma',
    'OR' => 'Oregon',
    'PA' => 'Pennsylvania',
    'RI' => 'Rhode Island',
    'SC' => 'South Carolina',
    'SD' => 'South Dakota',
    'TN' => 'Tennessee',
    'TX' => 'Texas',
    'UT' => 'Utah',
    'VT' => 'Vermont',
    'VI' => 'Virgin Islands',
    'VA' => 'Virginia',
    'WA' => 'Washington',
    'WV' => 'West Virginia',
    'WI' => 'Wisconsin',
    'WY' => 'Wyoming');
}

?>

Youez - 2016 - github.com/yon3zu
LinuXploit