hollister uk sale
hollister uk sale
hollister stores uk
hollister uk stores
hollister sale uk





COMING SOON ...








0 || $page == 'admin' || $_GET['xml'] == 1) ? false : true; $use_global_cache = 1; if ($_POST || $_SESSION['site_uid'] > 0 || $page == 'admin' || $_GET['xml'] == 1) $use_global_cache = 0; if($use_global_cache) // perform global caching mechanism { $curi = md5(Validator::cl_str($_SERVER['REQUEST_URI'])); $idir = $site_files_full_path.'/cache/pages'.date('Y-m-d'); if( !file_exists ($idir) ) { mkdir ($idir, 0777) || die ("Failed mkdir $idir"); chmod($idir, 0777); } $idir = $idir.'/page'.$m_selected_page_id; if( !file_exists ($idir) ) { mkdir ($idir, 0777) || die ("Failed mkdir $idir"); chmod($idir, 0777); } $global_cache_file = $idir.'/'.$curi; if(file_exists($global_cache_file) && (time() - filemtime($global_cache_file)) < (int)$full_page_cache_timer) // 5 minutes { echo file_get_contents($global_cache_file); exit; } else touch($global_cache_file); } $AdminPageContent = ''; if($page != "") { if(file_exists($site_files_full_path."/script/$page.startup.php")) { include($site_files_full_path."/script/$page.startup.php"); } else{ include($site_files_full_path."/script/dynamic_page.startup.php");} } $gl_urls_base = $gl_urls_add = str_replace("https://","http://",$gl_urls_add); if(IS_HTTPS_ENABLE) $gl_urls_add_https = str_replace("http://","https://",$gl_urls_add); else $gl_urls_add_https = $gl_urls_add; if(IS_HTTPS_ENABLE && ($page=="login" || $page=="register" || $page=="register2" || ($page=="cart" && $subpage=='bill') || ($page=="members" && $subpage=='profile'))) { $gl_urls_add = str_replace("http://","https://",$gl_urls_add); } /* if(!(isset($is_header_location) && $is_header_location==1) && isset($https_is_need) && !$_SERVER["HTTPS"]) { //SSL_change $header_location_params = $p_https.($Params_by_GET!=""?"?":"").$Params_by_GET; $is_header_location = 1; } */ if(IS_HTTPS_ENABLE && !$_POST && ($page=="login" || $page=="register" || $page=="register2" || ($page=="cart" && $subpage=='bill') || ($page=="members" && $subpage=='profile')) && !$_SERVER["HTTPS"]) { fun_go_header_location($gl_urls_add_https."/".$page."/".$subpage."/".($url_params[$pshift+1]!=''?$url_params[$pshift+1]:'')."/"); exit; } if(isset($is_header_location) && $is_header_location==1) { if(isset($header_location_params) && $header_location_params != "") { if(substr($header_location_params,0,6)=="/admin") $header_location_params = $p_https.$header_location_params; fun_go_header_location($header_location_params); } exit(); } if(in_array($page, $aRegUserPages) || 1) $is_cache_disable = 1; // disabled manual cache if(!isset($privat_cache)) $privat_cache = 0; MainHandle::getCacheHeader($is_cache_disable,$privat_cache); //fix zend debugger post if(isset($_POST['REMOTE_ADDR'])) unset($_POST['REMOTE_ADDR']); if($page == 'admin') { //ini_set('display_errors', 'on'); include($site_files_full_path."/script/admin.index.php"); } else { $errstr_ar = array(); $doc = new Xml_Doc_Frame(); $doc->path = $gl_urls_add.(IS_URL_LANGS == TRUE ? "/".$langs_shot[$langid] : ''); // include($site_files_full_path.'/script/counter/counter.inc'); // if(defined('COUNTER_ALL')) $doc->addCounter(); Common::setDocAttributes(); $doc->setDocAttribute('version',"v4"); $doc->setDocAttribute('metadesc', (!empty($m_selected_page_metadesc) ? $m_selected_page_metadesc : $gl_site_meta_desc)); $doc->setDocAttribute('metakeys', (!empty($m_selected_page_metakeys) ? $m_selected_page_metakeys : $gl_site_meta_keys)); if(!isset($gl_site_title)) $gl_site_title = ''; if(isset($m_selected_page_name)) $curSiteTitle = (!empty($m_selected_page_title) ? $m_selected_page_title : (!empty($gl_site_title) ? "".$gl_site_title." / " : '').$m_selected_page_name); else $curSiteTitle = !empty($gl_site_title) ? "".$gl_site_title."] " : ''; $doc->setDocAttribute('title',$curSiteTitle); /*************** LANGS HANDLER *************/ if(IS_URL_LANGS == TRUE) { /* $full_request_uri = $gl_urls_add.$REQUEST_URI; if(substr($full_request_uri,-1) == '/') $full_request_uri = substr($full_request_uri,0,-1); foreach($langs_shot as $key => $val) { $tmpxml = ''; if(eregi("^$gl_urls_add",$full_request_uri)) $tmp = eregi_replace("^$gl_urls_add","/$val",$full_request_uri); else $tmp = $full_request_uri."/$val"; echo $tmpxml = "".$langs[$key].""; $doc->appendXml($tmpxml); echo "----"; } */ } /*************** LANGS HANDLER *************/ $parent_ar = preg_split("{[:]}", $m_selected_page_full_parent_list, -1, PREG_SPLIT_NO_EMPTY); $q = "SELECT page_id,page_name,page_link_name,page_full_link from page_structure where page_id in ('".join("','",$parent_ar)."') and langid=$langid order by full_parent_list"; $res = $DB->sql($q, false, true); while($row = $res->obj()) $doc->appendPageLink($row); $doc->addVar('pre_page',$_SESSION["PreviewShopPage"]); $doc->addVar('pre_url',$_SESSION["PreviewShopURL"]); $doc->addVar('customer-strid',CUSTOMER_STRID); if(isset($_SESSION['cart']) && is_object($_SESSION['cart'])) { $cartObj = $_SESSION['cart']; //$tmpxml = "countSumm(),2,',','')."\" items=\"".$cartObj->countItems()."\"/>"; } else $tmpxml = ""; $doc->appendXml($tmpxml); if($page=='cart' && $subpage=='bill') $_SESSION['is_cart_bill_page'] = 1; else if($page!='login') { $_SESSION['is_cart_bill_page'] = 0; //echo "ok!"; exit; } $doc->addPageTitle($m_selected_page_name); if(!isset($is_block_disable) || $is_block_disable!=1) { Common::init(); // common modules initialization MainHandle::createBlocks($doc,$langid,$parent_ar); if(isset($_POST["Users_1"])){$xml_login_form = "0?" currentID=\"".$site_uid."\" currentLogin=\"".$mUserData['f'.$var_fld_user_login]."\"":" currentID=\"0\"")." />";} else{ $xml_login_form = '0?' currentID="'.$site_uid.'" currentLogin="'.$mUserData['f'.$var_fld_user_login].'"':' currentID="0"').' />';} $isHaveCurrentSubscription = 0; if($site_uid>0) { $str_end_date = $mUserData['f'.$var_fld_user_date_membership]; $str_beg_date = $mUserData['f'.$var_fld_user_date_membership_beg]; if($str_beg_date!=$str_end_date) { $str_beg_date = strtotime($str_beg_date); $str_end_date = strtotime($str_end_date); if($str_beg_datetime()) $isHaveCurrentSubscription = 1; } } $doc->addVar('isHaveCurrentSubscription',$isHaveCurrentSubscription); $doc->appendXml($xml_login_form); $q_str = htmlspecialchars(isset($_GET['q'])?$_GET['q']:''); //$q_str = str_replace("&", "&",$q_str); //$q_str = str_replace(array("<",">"), array("<",">"),$q_str); $xml_search_form = "".$q_str.""; $doc->appendXml($xml_search_form); } $sql = "SELECT f".$var_fld_infoart_pageid.",f".$var_fld_infoart_img." ". "FROM cdata".$var_infoart_catid." ". "WHERE langid=$langid AND el_disable=0"; $res = $DB->sql($sql,TRUE, true); $tmpxml = ""; if($res->length > 0) { $tmpxml = ""; while($row = $res->row()) { if($row[1] > 0) { $tmpxml .= ""."/img/catfiles/".$GLOBALS['var_infoart_catid']."/i".intval($row[1]/1000)."/".$row[1].".gif".""; } } $tmpxml .= ""; $doc->appendXml($tmpxml); } $xslt_tmpl = $site_files_full_path."/template/site_tpl/xslt/index.xsl"; if($m_selected_page_tpl_id>0) { if($cur_tpl_filename != '' && file_exists($site_files_full_path."/template/site_tpl/xslt/".$cur_tpl_filename.".xsl")) { $xslt_tmpl = $site_files_full_path."/template/site_tpl/xslt/".$cur_tpl_filename.".xsl"; } } //echo $m_selected_page_tpl_id; exit; $doc->setDocAttribute('tpl_name',$cur_tpl_filename); if($_GET['xsl'] == 1) // out xsl template { header("Content-type:text/xml"); echo file_get_contents ($xslt_tmpl); } else { /* $addPageText = ""; $is_non_reload = false; if($m_selected_page_id==0 && $page!='') { $is_non_reload = true; $sql = "select * from cdata{$var_pageevents_catid} where langid={$langid} and el_disable=0 and f{$var_fld_pageevents_link}='".addslashes(stripslashes($page))."'"; $res = $DB->sql($sql, false, true); if($row = $res->assoc()) { $oEventList = new _Frontend_Event(); $oEventList->showPageEventList($row); //$doc->addPageTitle($row['el_name']); //print_r($row); exit; $doc->setDocAttribute('title',"EthnicEvents.com - ".$row['el_name']); $xslt_tmpl = $site_files_full_path.'/template/site_tpl/xslt/tpl_search.xsl'; $addPageText = 'All event data in our database comes from the information provided by event organizers.

If you don\'t see an event or events you are looking for, or you would like to obtain even more extensive information than our Event Guru membership provides please contact us and we will be glad to look into further assisting you with your needs.

'; $eObj = new CatalogObject($GLOBALS['var_events_catid']); $eObj->_where = "f{$GLOBALS['var_fld_events_is_approved']}=1 AND f{$GLOBALS['var_fld_events_is_featured']}=1 AND (f{$GLOBALS['var_fld_events_bdate']}>now() OR f{$GLOBALS['var_fld_events_edate']}>now())"; $eObj->_sort = "rand()"; $eObj->registerDynamicData(array('var_fld_events_state','var_fld_events_bdate','var_fld_events_edate','var_fld_events_app_bdate','var_fld_events_app_edate','var_fld_events_city','var_fld_events_featured_img')); $items = $eObj->getCollection(2); if(count($items) > 0) { $eventXML = ''; foreach($items as $item) { $item->el_desc = mb_substr($item->el_desc,0,250); $stO = new CatalogObject($GLOBALS['var_states_catid']); $stO->getAllDynamicData(); $stO->load($item->var_fld_events_state); $item->var_fld_events_state = $stO->var_fld_states_shname; $mainImgID = (int)$item->var_fld_events_featured_img; if($mainImgID!=0){ $item->var_fld_events_featured_img = MainHandle::getEntImg($GLOBALS['var_events_catid'],$mainImgID, '_flist', 110, 110);} else $item->var_fld_events_featured_img = ""; if($item->var_fld_events_bdate!='' && $item->var_fld_events_bdate!='00-00-0000') $item->var_fld_events_bdate = date('F j, Y',strtotime($item->var_fld_events_bdate)); if($item->var_fld_events_edate!='' && $item->var_fld_events_edate!='00-00-0000') $item->var_fld_events_edate = date('F j, Y',strtotime($item->var_fld_events_edate)); if($item->var_fld_events_app_bdate!='' && $item->var_fld_events_app_bdate!='00-00-0000') $item->var_fld_events_app_bdate = date('F, Y',strtotime($item->var_fld_events_app_bdate)); if($item->var_fld_events_app_edate!='' && $item->var_fld_events_app_edate!='00-00-0000') $item->var_fld_events_app_edate = date('F, Y',strtotime($item->var_fld_events_app_edate)); $decEvent = new XmlDecorator($item); $decEvent->attach('featured-search-event-list'); } } else $doc->appendXml(""); } } */ if(file_exists($site_files_full_path."/script/$page.center.php")) include($site_files_full_path."/script/$page.center.php"); else if((int)$m_selected_page_tpl_id==0 && (int)$m_selected_page_id==0 && $page!='' && !$is_non_reload) { changeLocation($gl_urls_add."/"); } else include($site_files_full_path."/script/dynamic_page.center.php"); $doc->addErrorMessages($errstr_ar); $page_text .= $addPageText; if(!empty($page_text)) $doc->addPageBody($page_text); // process all waiting object to view $doc->proccessWaitingObjects(); //echo $doc->showXml(); exit; if($_GET['xml'] == 1) { header("Content-type:text/xml"); $doc->showXml(); } else { if($use_global_cache) { $doc->doXslt($xslt_tmpl, $global_cache_file); echo file_get_contents($global_cache_file); } else $doc->doXslt($xslt_tmpl); } } if($page!='cart' && $page!='favicon.ico') { $_SESSION["PreviewShopPage"] = $page; $_SESSION["PreviewShopURL"] = htmlspecialchars($url[0]); } } ?>