Рабочее время

ПН-ПТ: 9:00-18:00

СБ: 9:00-15:00

Корзина

Шина бампера переднего, заднего для TOYOTA COROLLA 88-92 (E9) SDN / HB / VAN

  • Фото Наименование Цена

Другие товары для TOYOTA COROLLA 88-92 (E9) SDN / HB / VAN:

Наши партнеры

и многие другие...


( ! ) Warning: is_readable(): open_basedir restriction in effect. File(Unknown) is not within the allowed path(s): (/var/www/vhosts/remavto.com.ua/:/tmp/) in /var/www/vhosts/remavto.com.ua/httpdocs/manager/includes/document.parser.class.inc.php on line 3636
Call Stack
#TimeMemoryFunctionLocation
10.0003257328{main}( )../index.php:0
20.00851410384DocumentParser->executeParser( )../index.php:144
30.01852746424DocumentParser->sendErrorPage( )../document.parser.class.inc.php:1626
40.01852746568DocumentParser->invokeEvent( )../document.parser.class.inc.php:228
50.02202855392DocumentParser->evalPlugin( )../document.parser.class.inc.php:3557
60.02242956392eval( '$part = explode('_', rtrim( $modx->db->escape($_GET['q']),'/') ); $ids = $modx->getChildIds(645); /* * Get part */ //$result = $modx->db->query('SELECT alias,id FROM modx_site_content WHERE template=8'); $result = $modx->db->query(' SELECT c.pagetitle,c.id,c.alias,t.value FROM modx_site_content as c left join modx_site_tmplvar_contentvalues as t on (c.id = t.contentid and t.tmplvarid = 4) where c.template = 28'); $modx->config['noIndex'] = ''; while($row = $modx->db->getRow($result) ){ if ($part[0] == $row['alias']) { $id = $row['id']; if ($row['value']) $modx->config['noIndex'] = ''; $doc = $row; $template = 29; } } if ( !empty($part[1]) ){ $result = $modx->db->query('SELECT alias,id FROM modx_site_content WHERE template=4 and id IN ('.implode(',',$ids).')'); while($row = $modx->db->getRow($result) ){ if ($part[1] == $row['alias']) { $mark = $row['id']; $template = 9; $modx->config['ID_mark'] = $mark; $modx->config['ALIAS_mark'] = $part[1]; } } } if ( !empty($part[2]) ){ $result = $modx->db->query('SELECT alias,id FROM modx_site_content WHERE template=5 and id IN ('.implode(',',$ids).')'); while($row = $modx->db->getRow($result) ){ if ($part[2] == $row['alias']) { $model = $row['id']; $template = 29; $modx->config['ID_model'] = $model; $modx->config['ALIAS_model'] = $part[2]; } } } if ( !empty( $_GET['mark'] ) ){ $_mark = str_replace( '_', ' ', $modx->db->escape( $_GET['mark'] ) ); $template = 30; } /* * */ if ( !empty($mark) && !empty($model) ){ $mark_title = $modx->getDocument( $mark )['pagetitle']; $model_title = $modx->getDocument( $model )['pagetitle']; $result = $modx->db->query("SELECT DISTINCT `Group` FROM `fpsopis` WHERE `Group` LIKE '%".$mark_title.' '.$model_title."%'"); while($row = $modx->db->getRow($result) ){ $marks_related[] = ''.$row['Group'].''; } $modx->config['related_marks'] = implode('', is_array( $marks_related ) ? $marks_related : array() ); if ( $template == 29 ){ $search = explode(' ', $doc['pagetitle'])[0]; $result = $modx->db->query("SELECT * FROM `fpsopis` WHERE `Description` LIKE '%".$search."%' AND `Group` LIKE '%".$mark_title.' '.$model_title."%'"); while($row = $modx->db->getRow($result) ){ $cross = array(); $cross_result = $modx->db->query("SELECT * FROM `kuzov_base` as opis WHERE `Forma` LIKE '".$row['Forma']."'"); $cross[] = clean( $row['Forma'] ); while($row_cross = $modx->db->getRow($cross_result) ){ $cross[] = clean( $row_cross['Forma'] ); } if ( !empty( $cross )){ $in_site_cross = $modx->db->getRow( $modx->db->query("SELECT * from cat_store where ID_art IN ( '".implode("','", $cross)."' ) AND vendor IN ('F','E','O') AND Name IN ('TEMPEST', 'SIGNEDA', 'POLCAR', 'DEPO', 'FPS') AND price <>0 order by price ASC limit 1") ); $out_site_cross = $modx->db->getRow( $modx->db->query("SELECT * from cat_store where ID_art IN ( '".implode("','", $cross)."' ) AND vendor IN ('P','S') AND Name IN ('TEMPEST', 'SIGNEDA', 'POLCAR', 'DEPO', 'FPS') AND price <>0 order by price ASC limit 1") ); } if ( empty($in_site_cross) && empty($out_site_cross) ){ continue; } if ( empty($in_site_cross) ){ $pre_order = true; } else { $pre_order = false; } $image = is_file( MODX_BASE_PATH . 'imgbase/FPS/'.$row['Forma'].'.jpg' ) ? 'imgbase/FPS/'.$row['Forma'].'.jpg' : '/images/photo.png'; $parts[] = '
  • '.$row['Description'].' '.$row['Group'].'
    арт. '. str_replace("@", " ", str_pad(clean_art($row['Forma']), 14, "@", STR_PAD_LEFT) ) .'
    '.(empty($row['Comments'])? '' :'
    '.$row['Comments'].'
    ').'
    В наличии
    Под заказ (5-7 дней)
  • '; } $modx->config['parts_list'] = implode('', is_array( $parts ) ? $parts : array() ); if (!is_array( $parts )){ $modx->config['noIndex'] = ''; } } if ( $template == 30 ){ $parts = array(); $other_parts = array(); $modx->config['mark'] = $_mark; $result = $modx->db->query("SELECT * FROM `fpsopis` WHERE `Group` LIKE '%".$_mark."%'"); while($row = $modx->db->getRow($result) ){ $cross = array(); $cross_result = $modx->db->query("SELECT * FROM `kuzov_base` as opis WHERE `Forma` LIKE '".$row['Forma']."'"); $cross[] = clean( $row['Forma'] ); while($row_cross = $modx->db->getRow($cross_result) ){ $cross[] = clean( $row_cross['Cross'] ); } if ( !empty( $cross )){ $in_site_cross = $modx->db->getRow( $modx->db->query("SELECT * from cat_store where ID_art IN ( '".implode("','", $cross)."' ) AND vendor IN ('F','E','O') AND Name IN ('TEMPEST', 'SIGNEDA', 'POLCAR', 'DEPO', 'FPS') AND price <>0 order by price ASC limit 1") ); $out_site_cross = $modx->db->getRow( $modx->db->query("SELECT * from cat_store where ID_art IN ( '".implode("','", $cross)."' ) AND vendor IN ('P','S') AND Name IN ('TEMPEST', 'SIGNEDA', 'POLCAR', 'DEPO', 'FPS') AND price <>0 order by price ASC limit 1") ); } if ( empty($in_site_cross) && empty($out_site_cross) ){ continue; } if ( empty($in_site_cross) ){ $store = $out_site_cross; $order_button = ''; $pre_order = true; } else { $store = $in_site_cross; $order_button = ''; $pre_order = false; } try{ bLog('Price '.$row['Forma'],$store['price']); bLog('in_site_cross',$in_site_cross); bLog('in_site_cross SQL',"SELECT * from cat_store where ID_art IN ( '".implode("','", $cross)."' ) AND vendor IN ('F','E','O') AND Name IN ('TEMPEST', 'SIGNEDA', 'POLCAR', 'DEPO', 'FPS') AND price <>0 order by price ASC limit 1"); bLog('out_site_cross',$out_site_cross); } catch ( Exception $e ){ } $image = is_file( MODX_BASE_PATH . 'imgbase/FPS/'.$row['Forma'].'.jpg' ) ? 'imgbase/FPS/'.$row['Forma'].'.jpg' : '/images/photo.png'; $order = '
    '.$order_button.'
    '; $part = '
  • арт. '. str_replace("@", " ", str_pad( clean_art($row['Forma']), 14, "@", STR_PAD_LEFT) ) .'
    '.(empty($row['Comments'])? '' :'
    '.$row['Comments'].'
    ').'
    В наличии
    Под заказ (5-7 дней)
    '.number_format($store['price'], 0 ,',', ' ').' грн
    '.$order.'
  • '; $search = explode(' ', $doc['pagetitle'])[0]; if ( mb_stripos ( $row['Description'], $search, 0 , 'UTF-8') !== false ){ $parts[] = $part; } else { $other_parts[] = $part; } } $modx->config['parts_list'] = implode('', is_array( $parts ) ? $parts : array() ); $modx->config['other_parts_list'] = implode('', is_array( $other_parts ) ? $other_parts : array() ); } } if ( empty($id) ) return; $modx->documentIdentifier = $id; /*$modx->invokeEvent("OnWebPageInit"); $modx->prepareResponse();*/ $modx->documentContent= $modx->checkCache($modx->documentIdentifier); if ($modx->documentContent != "") { $modx->invokeEvent("OnLoadWebPageCache"); } else { $modx->documentObject = $modx->getDocumentObject('id',$id); $modx->documentContent = $out .$modx->db->getValue( $modx->db->select('content', $modx->getFullTableName("site_templates"), "id = '".$template."'") ); $modx->invokeEvent("OnLoadWebDocument"); $modx->documentContent= $modx->parseDocumentSource($this->documentContent); } register_shutdown_function(array (&$modx,"postProcess")); $modx->outputContent(); die(); function clean( $art ){ $art = str_replace(' ','',$art); $art = str_replace('-','',$art); $art = str_replace('.','',$art); $art = str_replace(',','',$art); $art = str_replace('/','',$art); $art = str_replace('*','',$art); $art = str_replace('_','',$art); $art = str_replace(':','',$art); $art = str_replace(';','',$art); $art = str_replace('+','',$art); $art = str_replace(chr(194),'',$art); $art = str_replace(chr(160),'',$art); return $art; } function clean_art( $art ){ $art = preg_replace('/^FP(.*)/mi', 'RK\1', $art); return $art; }'
    )
    ../document.parser.class.inc.php:964
    70.96824158240DocumentParser->phpError( )../document.parser.class.inc.php:0
    80.96824158288is_readable ( )../document.parser.class.inc.php:3636

    ( ! ) Notice: Undefined property: DocumentParser::$phpcompat in /var/www/vhosts/remavto.com.ua/httpdocs/manager/includes/extenders/phpcompat.extenders.inc.php on line 8
    Call Stack
    #TimeMemoryFunctionLocation
    10.0003257328{main}( )../index.php:0
    20.00851410384DocumentParser->executeParser( )../index.php:144
    30.01852746424DocumentParser->sendErrorPage( )../document.parser.class.inc.php:1626
    40.01852746568DocumentParser->invokeEvent( )../document.parser.class.inc.php:228
    50.02202855392DocumentParser->evalPlugin( )../document.parser.class.inc.php:3557
    60.02242956392eval( '$part = explode('_', rtrim( $modx->db->escape($_GET['q']),'/') ); $ids = $modx->getChildIds(645); /* * Get part */ //$result = $modx->db->query('SELECT alias,id FROM modx_site_content WHERE template=8'); $result = $modx->db->query(' SELECT c.pagetitle,c.id,c.alias,t.value FROM modx_site_content as c left join modx_site_tmplvar_contentvalues as t on (c.id = t.contentid and t.tmplvarid = 4) where c.template = 28'); $modx->config['noIndex'] = ''; while($row = $modx->db->getRow($result) ){ if ($part[0] == $row['alias']) { $id = $row['id']; if ($row['value']) $modx->config['noIndex'] = ''; $doc = $row; $template = 29; } } if ( !empty($part[1]) ){ $result = $modx->db->query('SELECT alias,id FROM modx_site_content WHERE template=4 and id IN ('.implode(',',$ids).')'); while($row = $modx->db->getRow($result) ){ if ($part[1] == $row['alias']) { $mark = $row['id']; $template = 9; $modx->config['ID_mark'] = $mark; $modx->config['ALIAS_mark'] = $part[1]; } } } if ( !empty($part[2]) ){ $result = $modx->db->query('SELECT alias,id FROM modx_site_content WHERE template=5 and id IN ('.implode(',',$ids).')'); while($row = $modx->db->getRow($result) ){ if ($part[2] == $row['alias']) { $model = $row['id']; $template = 29; $modx->config['ID_model'] = $model; $modx->config['ALIAS_model'] = $part[2]; } } } if ( !empty( $_GET['mark'] ) ){ $_mark = str_replace( '_', ' ', $modx->db->escape( $_GET['mark'] ) ); $template = 30; } /* * */ if ( !empty($mark) && !empty($model) ){ $mark_title = $modx->getDocument( $mark )['pagetitle']; $model_title = $modx->getDocument( $model )['pagetitle']; $result = $modx->db->query("SELECT DISTINCT `Group` FROM `fpsopis` WHERE `Group` LIKE '%".$mark_title.' '.$model_title."%'"); while($row = $modx->db->getRow($result) ){ $marks_related[] = ''.$row['Group'].''; } $modx->config['related_marks'] = implode('', is_array( $marks_related ) ? $marks_related : array() ); if ( $template == 29 ){ $search = explode(' ', $doc['pagetitle'])[0]; $result = $modx->db->query("SELECT * FROM `fpsopis` WHERE `Description` LIKE '%".$search."%' AND `Group` LIKE '%".$mark_title.' '.$model_title."%'"); while($row = $modx->db->getRow($result) ){ $cross = array(); $cross_result = $modx->db->query("SELECT * FROM `kuzov_base` as opis WHERE `Forma` LIKE '".$row['Forma']."'"); $cross[] = clean( $row['Forma'] ); while($row_cross = $modx->db->getRow($cross_result) ){ $cross[] = clean( $row_cross['Forma'] ); } if ( !empty( $cross )){ $in_site_cross = $modx->db->getRow( $modx->db->query("SELECT * from cat_store where ID_art IN ( '".implode("','", $cross)."' ) AND vendor IN ('F','E','O') AND Name IN ('TEMPEST', 'SIGNEDA', 'POLCAR', 'DEPO', 'FPS') AND price <>0 order by price ASC limit 1") ); $out_site_cross = $modx->db->getRow( $modx->db->query("SELECT * from cat_store where ID_art IN ( '".implode("','", $cross)."' ) AND vendor IN ('P','S') AND Name IN ('TEMPEST', 'SIGNEDA', 'POLCAR', 'DEPO', 'FPS') AND price <>0 order by price ASC limit 1") ); } if ( empty($in_site_cross) && empty($out_site_cross) ){ continue; } if ( empty($in_site_cross) ){ $pre_order = true; } else { $pre_order = false; } $image = is_file( MODX_BASE_PATH . 'imgbase/FPS/'.$row['Forma'].'.jpg' ) ? 'imgbase/FPS/'.$row['Forma'].'.jpg' : '/images/photo.png'; $parts[] = '
  • '.$row['Description'].' '.$row['Group'].'
    арт. '. str_replace("@", " ", str_pad(clean_art($row['Forma']), 14, "@", STR_PAD_LEFT) ) .'
    '.(empty($row['Comments'])? '' :'
    '.$row['Comments'].'
    ').'
    В наличии
    Под заказ (5-7 дней)
  • '; } $modx->config['parts_list'] = implode('', is_array( $parts ) ? $parts : array() ); if (!is_array( $parts )){ $modx->config['noIndex'] = ''; } } if ( $template == 30 ){ $parts = array(); $other_parts = array(); $modx->config['mark'] = $_mark; $result = $modx->db->query("SELECT * FROM `fpsopis` WHERE `Group` LIKE '%".$_mark."%'"); while($row = $modx->db->getRow($result) ){ $cross = array(); $cross_result = $modx->db->query("SELECT * FROM `kuzov_base` as opis WHERE `Forma` LIKE '".$row['Forma']."'"); $cross[] = clean( $row['Forma'] ); while($row_cross = $modx->db->getRow($cross_result) ){ $cross[] = clean( $row_cross['Cross'] ); } if ( !empty( $cross )){ $in_site_cross = $modx->db->getRow( $modx->db->query("SELECT * from cat_store where ID_art IN ( '".implode("','", $cross)."' ) AND vendor IN ('F','E','O') AND Name IN ('TEMPEST', 'SIGNEDA', 'POLCAR', 'DEPO', 'FPS') AND price <>0 order by price ASC limit 1") ); $out_site_cross = $modx->db->getRow( $modx->db->query("SELECT * from cat_store where ID_art IN ( '".implode("','", $cross)."' ) AND vendor IN ('P','S') AND Name IN ('TEMPEST', 'SIGNEDA', 'POLCAR', 'DEPO', 'FPS') AND price <>0 order by price ASC limit 1") ); } if ( empty($in_site_cross) && empty($out_site_cross) ){ continue; } if ( empty($in_site_cross) ){ $store = $out_site_cross; $order_button = ''; $pre_order = true; } else { $store = $in_site_cross; $order_button = ''; $pre_order = false; } try{ bLog('Price '.$row['Forma'],$store['price']); bLog('in_site_cross',$in_site_cross); bLog('in_site_cross SQL',"SELECT * from cat_store where ID_art IN ( '".implode("','", $cross)."' ) AND vendor IN ('F','E','O') AND Name IN ('TEMPEST', 'SIGNEDA', 'POLCAR', 'DEPO', 'FPS') AND price <>0 order by price ASC limit 1"); bLog('out_site_cross',$out_site_cross); } catch ( Exception $e ){ } $image = is_file( MODX_BASE_PATH . 'imgbase/FPS/'.$row['Forma'].'.jpg' ) ? 'imgbase/FPS/'.$row['Forma'].'.jpg' : '/images/photo.png'; $order = '
    '.$order_button.'
    '; $part = '
  • арт. '. str_replace("@", " ", str_pad( clean_art($row['Forma']), 14, "@", STR_PAD_LEFT) ) .'
    '.(empty($row['Comments'])? '' :'
    '.$row['Comments'].'
    ').'
    В наличии
    Под заказ (5-7 дней)
    '.number_format($store['price'], 0 ,',', ' ').' грн
    '.$order.'
  • '; $search = explode(' ', $doc['pagetitle'])[0]; if ( mb_stripos ( $row['Description'], $search, 0 , 'UTF-8') !== false ){ $parts[] = $part; } else { $other_parts[] = $part; } } $modx->config['parts_list'] = implode('', is_array( $parts ) ? $parts : array() ); $modx->config['other_parts_list'] = implode('', is_array( $other_parts ) ? $other_parts : array() ); } } if ( empty($id) ) return; $modx->documentIdentifier = $id; /*$modx->invokeEvent("OnWebPageInit"); $modx->prepareResponse();*/ $modx->documentContent= $modx->checkCache($modx->documentIdentifier); if ($modx->documentContent != "") { $modx->invokeEvent("OnLoadWebPageCache"); } else { $modx->documentObject = $modx->getDocumentObject('id',$id); $modx->documentContent = $out .$modx->db->getValue( $modx->db->select('content', $modx->getFullTableName("site_templates"), "id = '".$template."'") ); $modx->invokeEvent("OnLoadWebDocument"); $modx->documentContent= $modx->parseDocumentSource($this->documentContent); } register_shutdown_function(array (&$modx,"postProcess")); $modx->outputContent(); die(); function clean( $art ){ $art = str_replace(' ','',$art); $art = str_replace('-','',$art); $art = str_replace('.','',$art); $art = str_replace(',','',$art); $art = str_replace('/','',$art); $art = str_replace('*','',$art); $art = str_replace('_','',$art); $art = str_replace(':','',$art); $art = str_replace(';','',$art); $art = str_replace('+','',$art); $art = str_replace(chr(194),'',$art); $art = str_replace(chr(160),'',$art); return $art; } function clean_art( $art ){ $art = preg_replace('/^FP(.*)/mi', 'RK\1', $art); return $art; }'
    )
    ../document.parser.class.inc.php:964
    70.96824158240DocumentParser->phpError( )../document.parser.class.inc.php:0
    80.96834159184DocumentParser->messageQuit( )../document.parser.class.inc.php:3642
    90.96834160344DocumentParser->htmlspecialchars( )../document.parser.class.inc.php:3650
    100.96834160456DocumentParser->loadExtension( )../document.parser.class.inc.php:3947
    110.96854163872include( '/var/www/vhosts/remavto.com.ua/httpdocs/manager/includes/extenders/phpcompat.extenders.inc.php' )../document.parser.class.inc.php:129

    ( ! ) Notice: Undefined index: virtual_dir in /var/www/vhosts/remavto.com.ua/httpdocs/manager/includes/document.parser.class.inc.php on line 2391
    Call Stack
    #TimeMemoryFunctionLocation
    10.0003257328{main}( )../index.php:0
    20.00851410384DocumentParser->executeParser( )../index.php:144
    30.01852746424DocumentParser->sendErrorPage( )../document.parser.class.inc.php:1626
    40.01852746568DocumentParser->invokeEvent( )../document.parser.class.inc.php:228
    50.02202855392DocumentParser->evalPlugin( )../document.parser.class.inc.php:3557
    60.02242956392eval( '$part = explode('_', rtrim( $modx->db->escape($_GET['q']),'/') ); $ids = $modx->getChildIds(645); /* * Get part */ //$result = $modx->db->query('SELECT alias,id FROM modx_site_content WHERE template=8'); $result = $modx->db->query(' SELECT c.pagetitle,c.id,c.alias,t.value FROM modx_site_content as c left join modx_site_tmplvar_contentvalues as t on (c.id = t.contentid and t.tmplvarid = 4) where c.template = 28'); $modx->config['noIndex'] = ''; while($row = $modx->db->getRow($result) ){ if ($part[0] == $row['alias']) { $id = $row['id']; if ($row['value']) $modx->config['noIndex'] = ''; $doc = $row; $template = 29; } } if ( !empty($part[1]) ){ $result = $modx->db->query('SELECT alias,id FROM modx_site_content WHERE template=4 and id IN ('.implode(',',$ids).')'); while($row = $modx->db->getRow($result) ){ if ($part[1] == $row['alias']) { $mark = $row['id']; $template = 9; $modx->config['ID_mark'] = $mark; $modx->config['ALIAS_mark'] = $part[1]; } } } if ( !empty($part[2]) ){ $result = $modx->db->query('SELECT alias,id FROM modx_site_content WHERE template=5 and id IN ('.implode(',',$ids).')'); while($row = $modx->db->getRow($result) ){ if ($part[2] == $row['alias']) { $model = $row['id']; $template = 29; $modx->config['ID_model'] = $model; $modx->config['ALIAS_model'] = $part[2]; } } } if ( !empty( $_GET['mark'] ) ){ $_mark = str_replace( '_', ' ', $modx->db->escape( $_GET['mark'] ) ); $template = 30; } /* * */ if ( !empty($mark) && !empty($model) ){ $mark_title = $modx->getDocument( $mark )['pagetitle']; $model_title = $modx->getDocument( $model )['pagetitle']; $result = $modx->db->query("SELECT DISTINCT `Group` FROM `fpsopis` WHERE `Group` LIKE '%".$mark_title.' '.$model_title."%'"); while($row = $modx->db->getRow($result) ){ $marks_related[] = ''.$row['Group'].''; } $modx->config['related_marks'] = implode('', is_array( $marks_related ) ? $marks_related : array() ); if ( $template == 29 ){ $search = explode(' ', $doc['pagetitle'])[0]; $result = $modx->db->query("SELECT * FROM `fpsopis` WHERE `Description` LIKE '%".$search."%' AND `Group` LIKE '%".$mark_title.' '.$model_title."%'"); while($row = $modx->db->getRow($result) ){ $cross = array(); $cross_result = $modx->db->query("SELECT * FROM `kuzov_base` as opis WHERE `Forma` LIKE '".$row['Forma']."'"); $cross[] = clean( $row['Forma'] ); while($row_cross = $modx->db->getRow($cross_result) ){ $cross[] = clean( $row_cross['Forma'] ); } if ( !empty( $cross )){ $in_site_cross = $modx->db->getRow( $modx->db->query("SELECT * from cat_store where ID_art IN ( '".implode("','", $cross)."' ) AND vendor IN ('F','E','O') AND Name IN ('TEMPEST', 'SIGNEDA', 'POLCAR', 'DEPO', 'FPS') AND price <>0 order by price ASC limit 1") ); $out_site_cross = $modx->db->getRow( $modx->db->query("SELECT * from cat_store where ID_art IN ( '".implode("','", $cross)."' ) AND vendor IN ('P','S') AND Name IN ('TEMPEST', 'SIGNEDA', 'POLCAR', 'DEPO', 'FPS') AND price <>0 order by price ASC limit 1") ); } if ( empty($in_site_cross) && empty($out_site_cross) ){ continue; } if ( empty($in_site_cross) ){ $pre_order = true; } else { $pre_order = false; } $image = is_file( MODX_BASE_PATH . 'imgbase/FPS/'.$row['Forma'].'.jpg' ) ? 'imgbase/FPS/'.$row['Forma'].'.jpg' : '/images/photo.png'; $parts[] = '
  • '.$row['Description'].' '.$row['Group'].'
    арт. '. str_replace("@", " ", str_pad(clean_art($row['Forma']), 14, "@", STR_PAD_LEFT) ) .'
    '.(empty($row['Comments'])? '' :'
    '.$row['Comments'].'
    ').'
    В наличии
    Под заказ (5-7 дней)
  • '; } $modx->config['parts_list'] = implode('', is_array( $parts ) ? $parts : array() ); if (!is_array( $parts )){ $modx->config['noIndex'] = ''; } } if ( $template == 30 ){ $parts = array(); $other_parts = array(); $modx->config['mark'] = $_mark; $result = $modx->db->query("SELECT * FROM `fpsopis` WHERE `Group` LIKE '%".$_mark."%'"); while($row = $modx->db->getRow($result) ){ $cross = array(); $cross_result = $modx->db->query("SELECT * FROM `kuzov_base` as opis WHERE `Forma` LIKE '".$row['Forma']."'"); $cross[] = clean( $row['Forma'] ); while($row_cross = $modx->db->getRow($cross_result) ){ $cross[] = clean( $row_cross['Cross'] ); } if ( !empty( $cross )){ $in_site_cross = $modx->db->getRow( $modx->db->query("SELECT * from cat_store where ID_art IN ( '".implode("','", $cross)."' ) AND vendor IN ('F','E','O') AND Name IN ('TEMPEST', 'SIGNEDA', 'POLCAR', 'DEPO', 'FPS') AND price <>0 order by price ASC limit 1") ); $out_site_cross = $modx->db->getRow( $modx->db->query("SELECT * from cat_store where ID_art IN ( '".implode("','", $cross)."' ) AND vendor IN ('P','S') AND Name IN ('TEMPEST', 'SIGNEDA', 'POLCAR', 'DEPO', 'FPS') AND price <>0 order by price ASC limit 1") ); } if ( empty($in_site_cross) && empty($out_site_cross) ){ continue; } if ( empty($in_site_cross) ){ $store = $out_site_cross; $order_button = ''; $pre_order = true; } else { $store = $in_site_cross; $order_button = ''; $pre_order = false; } try{ bLog('Price '.$row['Forma'],$store['price']); bLog('in_site_cross',$in_site_cross); bLog('in_site_cross SQL',"SELECT * from cat_store where ID_art IN ( '".implode("','", $cross)."' ) AND vendor IN ('F','E','O') AND Name IN ('TEMPEST', 'SIGNEDA', 'POLCAR', 'DEPO', 'FPS') AND price <>0 order by price ASC limit 1"); bLog('out_site_cross',$out_site_cross); } catch ( Exception $e ){ } $image = is_file( MODX_BASE_PATH . 'imgbase/FPS/'.$row['Forma'].'.jpg' ) ? 'imgbase/FPS/'.$row['Forma'].'.jpg' : '/images/photo.png'; $order = '