include 'nocopy.php';
if (preg_match('/\/fondos_/', $_SERVER['PHP_SELF'])) {
header("HTTP/1.1 301 Moved Permanently");
$new = preg_replace('/\/fondos_/', '/fondo_', $_SERVER['PHP_SELF']);
header("Location: http://www.mrtones.es".$new);
header("Connection: close");
}
if (preg_match('/sfondo_cellulare_/',$_SERVER['PHP_SELF'])) {
$ITW = explode('/', $_SERVER['PHP_SELF']);
$ITW[2] = str_replace('sfondo_cellulare_', 'sfondo_', $ITW[2]);
$ITW[2] .= '_cellulare';
$new = implode('/', $ITW);
header("HTTP/1.1 301 Moved Permanently");
header("Location: http://www.mrtones.it".$new);
header("Connection: close");
}
/* START INIZIALIZZAZIONE */
include '/mnt/gfsPartition/data/parts-mt2/lib/MT2_lib.php';
myCookie();
$_opt = myurl();
#if("$_brand" == "0")
#$_brand = 'nokia';
$_type = 'wall';
if ($_id == '') $_id = 5;
include $parts.'/lib/connect.php';
include $parts.'/lib/localize.'.$_domain.'.php';
/* REGALA LA SUONERIA *****************************/
if ($_opt[$_numopt-1] == 'gift')
@include $parts.'/lib/localize.gift.'.$_type.'.'.$_domain.'.php';
/***************************** REGALA LA SUONERIA */
$dbh = getAdmDbConnection();
$query = "INSERT INTO Content_day_stat SET id_cont = $_idx";
mysql_unbuffered_query($query, $dbh);
$query = "SELECT CT.*, CAT.*, CAT.name as noauthor FROM Content AS CT, Categ AS CAT WHERE CAT.id = $_id AND CT.id = $_idx";
//$result = mysql_query($query, $dbh) or die ($query." - ".mysql_error());
$result = mysql_query($query, $dbh) or die (header("Location: $_main_site"));
$catout = mysql_fetch_array($result);
/* STOP INIZIALIZZAZIONE */
$codecont = $catout[code];
if ($codecont == '')
header("Location: $_main_site");
/* START HIT NEW TOP */
if($catout['macro'] != 0)
$lnk = $catout['macro'];
else
$lnk = $_id;
$titolocat = get_conttitle($_domain, $_headtitle, $_brand, $catout[title], $catout[name]);
$myhead = head_cont($_domain, $catout[title], $catout[name], $_headtitle, $_headtitles);
?>
=$titolocat?>
$bannerstring="wallpaper";
if ($_domain=="com" || $_domain=="uk")
include $parts."/integrazione/kimedia_".$_domain.".html";
?>
include $parts.'/integrazione/wunderloop.html'; ?>
include $parts.'/integrazione/top_'.$_domain.'.htm'; ?>
$marcalogo=$_brand; ?>
mrtPageBanner($_domain, 'top'); ?>
include $parts."/integrazione/menu_".$_domain.".htm" ?>
/* REGALA U LOGO *****************************/
if ($_opt[$_numopt-1] == 'gift')
$_thisurl = $_thisurl.'gift/';
/***************************** REGALA U LOGO */
?>
include $parts."/integrazione/navigazione_cont.htm";
$country = is_country($_opt[$_numopt-1]);
if ($country != '') {
include $parts."/integrazione/wall_".$_domain."_send.php";
} else
include $parts."/integrazione/wall_".$_domain.".htm" ?>
//if($_leaf == 0)
// include $parts."/./integrazione/categ.htm";
//else
// include $parts."/./integrazione/categleaf.htm";
?>
include "colonna.php"; ?>
include $parts."/integrazione/footer_spacer.htm"; ?>
include $parts."/integrazione/footer_copyright_".$_domain."_1.htm"; ?>
mrtPageBanner($_domain, 'bottom'); ?>
include $parts."/integrazione/footer_copyright_".$_domain."_2.htm"; ?>
//include $parts."/integrazione/tag_dinamici_".$_domain.".html"; ?>
mrtPageBanner($_domain, 'dynamic'); ?>
include $parts."/integrazione/redsheriff.html"; ?>
if ($_domain == "com" || $_domain == "uk")
echo "\n";
// elseif ($_domain == "it")
// include $parts."/integrazione/oas_sky_it.html";
?>
if ($_domain=="com" || $_domain == "uk") include $parts."/integrazione/oas_dynamic.html";?>