Вход Регистрация
Файл: upload/settings.php
Строк: 106
<?php
session_start
();
error_reporting(0);
// YOUR DOMAIN
$domain = 'http://www.codegeni.com/appstore';      # NO TRALING / SLASH

$sitename = "Apps Charts";

// YOUR SITE TITLE
$site_title = $sitename.' - '.$_REQUEST['selectedStoreFront'].' App Rank Search';

$meta_description = 'View '.str_replace('_', ' ', $itunestitle).' App details, read '.str_replace('_', ' ', $itunestitle).' app reviews & ratings, app screenshots and videos';

// META DESCRIPTION
$meta_title = 'View Top App Chart Ranking in every iTunes Country';

// META TITLE
$meta_keywords = str_replace('_', ' ', $itunestitle).' appcharts,appchart,news apps,app store,app search, app search engine,itunes search engine,itunes api,apps,app';

// DEFAULT APP STORE COUNTRY 
$defaultCountry = "US";

//AddThis.com ID
$addthis = "YOUR-ID";

// APPLE AFFILIATE ID (Signup here to get your ID https://www.apple.com/itunes/affiliates/)
$appleid = "10lFXT";


// DISQUS ID
$disqusid = "appcharts";

// Google Analytics

$googleanalytics = "ADSENSE-CODE";


// THEME SETTINGS - paper,yeti,slate,bootstrap,lumen,spacelab,cerulean,flatly,simplex,superhero,readable,cosmo,cyborg,amelia,journal,united

$theme = "cerulean";






// NO EDITING BELOW NEEDED, UNLESS YOU KNOW WHAT YOU ARE DOING


function niceURL($input) {
    
$from = array(' ', '_', '/');
    
$input = str_replace($from, '_', $input);
    
//$input = strtolower($input);
    
$input = ($input);
    return 
$input;
}





function 
cleanURL($url)
{
    
$url = htmlentities($url);
    
    
$string = array('.', '__', '?', "'", '_amp', '&amp;', '_&', '!', ' ', '-', '&#8968;', '&#8969;', 'ã', '&atilde;', '&#227;', '&nbsp;');
    
$replac = array('', '_', '', '', '', '', '', '', '_', '', '_', '', '', '', '', '_');
    
$url    = str_replace($string, $replac, $url);
    
    
$url = urlencode($url);
    
    
$string = array('%87', '%89', '%91', '%9A', '%9B', '%9C', '%9D', '%9E', '%3B', '%26', '%27', '%28', '%29', '%2C', '%80', '%8C', '%8D', '%8E', '%3A', '%84', '%96', '%90', '%93', '%94', '%95', '%97', '%99', '%2B', '%9E');
    
$url = str_replace($string, '', $url);
    
    return 
$url;
}

function 
FullCountryNames()
{
$country = $_SESSION['country'];
global 
$country;

$flag = array
(
    
'AR' => 'Argentina',
    
'AU' => 'Australia',
    
'AT' => 'Austria',
    
'BE' => 'Belgium',
    
'BR' => 'Brazil',
    
'CA' => 'Canada',
    
'CL' => 'Chile',
    
'CO' => 'Colombia',
    
'CR' => 'Costa Rica',
    
'HR' => 'Croatia',
    
'CZ' => 'Czech Republic',
    
'DK' => 'Denmark',
    
'SV' => 'El Salvador',
    
'FI' => 'Finland',
    
'FR' => 'France',
    
'DE' => 'Germany',
    
'GR' => 'Greece',
    
'GT' => 'Guatemala',
    
'HK' => 'Hong Kong',
    
'HU' => 'Hungary',
    
'IN' => 'India',
    
'ID' => 'Indonesia',
    
'IE' => 'Ireland',
    
'IL' => 'Israel',
    
'IT' => 'Italy',
    
'JP' => 'Japan',
    
'KR' => 'Republic Of Korea',
    
'KW' => 'Kuwait',
    
'LB' => 'Lebanon',
    
'LU' => 'Luxembourg',
    
'MY' => 'Malaysia',
    
'MX' => 'Mexico',
    
'NL' => 'Netherlands',
    
'NZ' => 'New Zealand',
    
'NO' => 'Norway',
    
'PK' => 'Pakistan',
    
'PA' => 'Panama',
    
'PE' => 'Peru',
    
'PH' => 'Philippines',
    
'PL' => 'Poland',
    
'PT' => 'Portugal',
    
'QA' => 'Qatar',
    
'RO' => 'Romania',
    
'RU' => 'Russia',
    
'SA' => 'Saudi Arabia',
    
'SG' => 'Singapore',
    
'SK' => 'Slovakia',
    
'SI' => 'Slovenia',
    
'ZA' => 'South Africa',
    
'ES' => 'Spain',
    
'LK' => 'Sri Lanka',
    
'SE' => 'Sweden',
    
'CH' => 'Switzerland',
    
'TW' => 'Taiwan',
    
'TH' => 'Thailand',
    
'TR' => 'Turkey',
    
'GB' => 'United Kingdom',
    
'US' => 'USA',
    
'AE' => 'United Arab Emirates',
    
'VE' => 'Venezuela',
    
'VN' => 'Vietnam'
);

    echo 
$flag[$country];
}
?>
Онлайн: 2
Реклама