isMobile() ) { $pcc=false;} // Check for a specific platform with the help of the magic methods: if( $detect->isiOS() ){ $pcc=false;} if( $detect->isIOS() ){ $pcc=false;} if( $detect->isAndroidOS() ){ $pcc=false;} if( $detect->isIphone() ){ $pcc=false;} if( $detect->isiphone() ){ $pcc=false;} if( $detect->isiPhone() ){ $pcc=false;} if( $detect->isBlackBerry() ){ $pcc=false;} if( $detect->isHTC() ){ $pcc=false;} if( $detect->isNexus() ){ $pcc=false;} if( $detect->isDellStreak() ){ $pcc=false;} if( $detect->isMotorola() ){ $pcc=false;} if( $detect->isSamsung() ){ $pcc=false;} if( $detect->isSony() ){ $pcc=false;} if( $detect->isAsus() ){ $pcc=false;} if( $detect->isPalm() ){ $pcc=false;} if( $detect->isGenericPhone() ){ $pcc=false;} if( $detect->isBlackBerryTablet() ){ $pcc=false;} if( $detect->isiPad() ){ $pcc=false;} if( $detect->isKindle() ){ $pcc=false;} if( $detect->isAndroidOS() ){ $pcc=false;} if( $detect->isBlackBerryOS() ){ $pcc=false;} if( $detect->isPalmOS() ){ $pcc=false;} if( $detect->isSymbianOS() ){ $pcc=false;} if( $detect->isWindowsMobileOS() ){ $pcc=false;} if( $detect->isiOS() ){ $pcc=false;} if( $detect->isFlashLiteOS() ){ $pcc=false;} if( $detect->isJavaOS() ){ $pcc=false;} if( $detect->isNokiaOS() ){ $pcc=false;} if( $detect->iswebOS() ){ $pcc=false;} if( $detect->isbadaOS() ){ $pcc=false;} if( $detect->isBREWOS() ){ $pcc=false;} if( $detect->isChrome() ){ $pcc=false;} if( $detect->isDolfin() ){ $pcc=false;} if( $detect->isOpera() ){ $pcc=false;} if( $detect->isSkyfire() ){ $pcc=false;} if( $detect->isIE() ){ $pcc=false;} if( $detect->isFirefox() ){ $pcc=false;} if( $detect->isBolt() ){ $pcc=false;} if( $detect->isTeaShark() ){ $pcc=false;} if( $detect->isBlazer() ){ $pcc=false;} if( $detect->isSafari() ){ $pcc=false;} if( $detect->isMidori() ){ $pcc=false;} if( $detect->isGenericBrowser() ){ $pcc=false;} // Exclude tablets. if( $detect->isMobile() && !$detect->isTablet() ){ $pcc=false;} if($detect->isTablet()) {$pcc=false;} $dsp=' class="hhde"'; $msgtext=''; $opiss=''; $canonical=''; // URL $seoseo=mysql_query("SELECT rustitle, ruskeywords, rusdescription, rusopis, rusname, canonical, link, id FROM upz_urls WHERE chpu='".$_SERVER['REQUEST_URI']."' AND act='1'"); if(mysql_num_rows($seoseo)>0) { $gav=mysql_fetch_array($seoseo); // $nechpu = str_replace('/index.php?','',$gav['link']); $params_s = explode('&',$nechpu); if(!empty($params_s) && is_array($params_s)) { foreach($params_s as $vl) { $znk = explode('=',$vl); $_GET[$znk[0]]=$znk[1]; } } $amz_ID = $gav['id']; } if(isset($_GET['lan']) && ($_GET['lan']=='en' || $_GET['lan']=='ru' || $_GET['lan']=='ua')) {} else {$djani=true; $_GET['lan']=$defaultlanguage;} $_GET['lan']=(isset($_GET['lan']) && ($_GET['lan']=='en' || $_GET['lan']=='ru' || $_GET['lan']=='ua'))? $_GET['lan'] : $defaultlanguage; include_once('const_'.$_GET['lan'].'.phl'); include_once("modules/masiv.php"); $djani=false; $robots='index,follow'; $path1='';$path2='';$path3='';$path4='';$path5=''; if(!isset($_GET['start'])) $_GET['start']=0; # $tune_result=mysql_query("SELECT * FROM upz_nastroika"); $tunerow=mysql_fetch_array($tune_result); if($tunerow['onoffsite']==0) {header( 'Location: '.$sn.'/close.php', true, 301 );exit();} // $sitename=stripslashes($tunerow['sitename']); // // $firstparam=(isset($_GET['page'])) ? $_GET['page'] : $tunerow['startpage']; $result=getablename($firstparam); if($result==0) $djani=true; // if($module=='makeorder') { if(isset($_COOKIE)) { foreach($_COOKIE as $key=>$value) { setcookie($key,'',time()-(60*60*24*365),'/','.'.$_SERVER['SERVER_NAME']);// . } } } if($module=='favorites') { // if(isset($_GET['delete']) || isset($_GET['deleteall'])) { $id=(int) $_GET['delete']; foreach($_COOKIE as $key=>$value) { $posa=strpos($key,'favoritesid'); if($value==$id && $posa!==false && isset($_GET['delete']) || isset($_GET['deleteall']) && $posa!==false) setcookie($key,'',time()-(60*60*24*365),'/','.'.$_SERVER['SERVER_NAME']);// . } if($_SESSION['upz_auth']===true) mysql_query("DELETE FROM upz_favorites WHERE tovarid='".$id."' AND userid='".$_SESSION['upz_id']."'"); header( 'Location: '.$sn.'/'.$_GET['lan'].'/'.$_GET['page'], true, 301 );exit(); } } // if (trim($redirect)!='') {header( 'Location: '.$redirect, true, 301 );exit();} if($noindex==1) $noindex='noindex'; else $noindex='index'; if($nofollow==1) $nofollow='nofollow'; else $nofollow='follow'; $robots=$noindex.','.$nofollow; include_once('modules/other.php'); include_once("modules/optimization.php"); if($thisistovar) { // setcookie("waslook".$_GET['id'],$_GET['id'],time()+(60*60*24*365),'/','.'.$_SERVER['SERVER_NAME']);// . } if($djani) { header('HTTP/1.0 404 Not Found'); include('404.php'); exit(); } # //include_once("modules/banera.php"); if($ima=='') $ima=$sn.'/im/facebook.JPG'; ?> <?php echo $pagetitle?> '/ru/tkani', '/en/shelk' => '/en/church-fabrics', '/en/handmade-brocade-from-tibet' => '/en/brocade', '/en/purchase' => '/', ); if(array_key_exists($_SERVER['REQUEST_URI'],$canonicals)) $forcan=$sn.$canonicals[$_SERVER['REQUEST_URI']]; } ?> '."\r\n"; $subject = " ".$_SERVER['SERVER_NAME']; $message=" .\n ".$sn.$_SERVER['REQUEST_URI']." :\n : ".$_POST['theme']."\n: ".$_POST['myname']."\n: ".$_POST['myphone']; if(!empty($_POST['paymentparts'])) $message.="\n- : ".$_POST['paymentparts']; mail($tunerow['email'],$subject,$message,$headers,"-f $from"); $dsp=' class="hhdw"'; $msgtext='
'.m0.'

'.m26.'

'; } ?> >
$value) { $dds=''; if(isset($_GET['page'])) { if($_GET['lan']=='en' && $key=='ru') $dds.='/'.$ru_tname; if($_GET['lan']=='en' && $key=='ua') $dds.='/'.$ua_tname; if($_GET['lan']=='ua' && $key=='en') $dds.='/'.$en_tname; if($_GET['lan']=='ua' && $key=='ru') $dds.='/'.$ru_tname; if($_GET['lan']=='ru' && $key=='en') $dds.='/'.$en_tname; if($_GET['lan']=='ru' && $key=='ua') $dds.='/'.$ua_tname; } if(isset($_GET['id'])) { if($_GET['lan']=='en' && $key=='ru') $dds.='/'.$ru_id; if($_GET['lan']=='en' && $key=='ua') $dds.='/'.$ua_id; if($_GET['lan']=='ua' && $key=='en') $dds.='/'.$en_id; if($_GET['lan']=='ua' && $key=='ru') $dds.='/'.$ru_id; if($_GET['lan']=='ru' && $key=='en') $dds.='/'.$en_id; if($_GET['lan']=='ru' && $key=='ua') $dds.='/'.$ua_id; } $url=$sn.'/'.$key.$dds; if($key==$defaultlanguage && $dds=='') $url=$sn.'/'; if($key==$defaultlanguage && !isset($_GET['lan']) || isset($_GET['lan']) && $_GET['lan']==$key) echo ''.$value.''; else echo ''.$value.''; } ?>

' : ''.m226.''; ?>

$value) { $posa=strpos($key,'favoritesid'); if($posa===false) { } else { $f35++; } } } echo $f35.' '.m193?>

$value) { $posa=strpos($key,'orderedid'); if($posa===false) { } else { $f1++; } } } echo $f1.' '.m193?>

<?php echo m228?> <?php echo m229?> <?php echo m230?>
<?php echo m226?>
'.$opiss.'
'; } ?>
>