Вход Регистрация
Файл: upload/appcharts.php
Строк: 141
<?php include 'settings.php';
$chart $_GET["chart"];
require_once(
'includes/topchart3.php');
$site_title "iTunes App Store Rankings - ";
$meta_description "Search the Top iTunes App Store Rankings Charts";

$app_chart str_replace('_'' '$chart);
$app_chart ucwords($app_chart);
$app_charts_h1_title $app_chart."";
$selectedStoreFront $_REQUEST['selectedStoreFront'];
?>
<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Transitional//EN" "http://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd">
<html xmlns="http://www.w3.org/1999/xhtml" lang="en">
<head>
<?php include 'includes/meta.php' ?>
</head>
<body>
<?php include 'includes/header.php' ?>
<div class="container">
<?php if(!empty($chart)){ ?>
<span><a href="<?php echo $domain?>/topcharts/">Go back</a></span>
<?php ?>
<h1 class="text-center"><?php echo $co ;?> App Charts </h1>
<hr>
<?php include 'ads/ads.php' ?>
<hr>
<div class="topcharts">
  <?php 
$chart 
str_replace('_'''$chart);
if(
$chart == "topfreeapplications"){
        
topChart($chart$selectedStoreFront);
} elseif(
$chart == "toppaidapplications"){
        
topChart($chart$selectedStoreFront);
} elseif(
$chart == "topgrossingapplications"){
        
topChart($chart$selectedStoreFront);
} elseif(
$chart == "topfreeipadapplications"){
        
topChart($chart$selectedStoreFront);
} elseif(
$chart == "toppaidipadapplications"){
        
topChart($chart$selectedStoreFront);
} elseif(
$chart == "topgrossingipadapplications"){
        
topChart($chart$selectedStoreFront);
} elseif(
$chart == "newapplications"){
        
topChart($chart$selectedStoreFront);
} elseif(
$chart == "newfreeapplications"){
        
topChart($chart$selectedStoreFront);
} elseif(
$chart == "newpaidapplications"){
        
topChart($chart$selectedStoreFront);
}else {

echo 
'<ul class="list-group">';
echo 
'<li class="list-group-item"><a href="'.$domain.'/topcharts/'.$selectedStoreFront.'/top_free_applications" title="Todays top free applications Chart"><span class="icon"></span> Top free applications Charts</a></li>';
echo 
'<li class="list-group-item"><a href="'.$domain.'/topcharts/'.$selectedStoreFront.'/top_paid_applications" title="Todays top paid applications Chart"><span class="icon"></span> Top paid applications Charts</a></li>';
echo 
'<li class="list-group-item"><a href="'.$domain.'/topcharts/'.$selectedStoreFront.'/top_grossing_applications" title="Todays top grossing applications Chart"><span class="icon"></span> Top grossing applications Charts</a></li>';
echo 
'<li class="list-group-item"><a href="'.$domain.'/topcharts/'.$selectedStoreFront.'/top_free_ipad_applications" title="Todays top free ipad applications Chart"><span class="icon"></span> Top free ipad applications Charts</a></li>';
echo 
'<li class="list-group-item"><a href="'.$domain.'/topcharts/'.$selectedStoreFront.'/top_paid_ipad_applications" title="Todays top paid ipad applications Chart"><span class="icon"></span> Top paid ipad applications Charts</a></li>';
echo 
'<li class="list-group-item"><a href="'.$domain.'/topcharts/'.$selectedStoreFront.'/top_grossing_ipad_applications" title="Todays top grossing ipad applications Chart"><span class="icon"></span> Top grossing ipad applications Charts</a></li>';
echo 
'<li class="list-group-item"><a href="'.$domain.'/topcharts/'.$selectedStoreFront.'/new_applications" title="Todays new applications Chart"><span class="icon"></span> New applications Charts</a></li>';
echo 
'<li class="list-group-item"><a href="'.$domain.'/topcharts/'.$selectedStoreFront.'/new_free_applications" title="Todays new free applications Chart"><span class="icon"></span> New free applications Charts</a></li>';
echo 
'<li class="list-group-item"><a href="'.$domain.'/topcharts/'.$selectedStoreFront.'/new_paid_applications" title="Todays new paid applications Chart"><span class="icon"></span> New paid applications Charts</a></li>';
echo 
'</ul>';
}

?>
  <?php include 'includes/footer.php' ?>
</div>
</body>
</html>
Онлайн: 0
Реклама