num_rows; if (!isset($_GET['item'])) { $_GET['item'] = 'eloids'; } $sql = 'SELECT artikel_desc.*, artikel.picture FROM artikel_desc LEFT JOIN artikel ON (artikel_desc.name=artikel.name) WHERE artikel_desc.name = "'.$_GET['item'].'" AND artikel_desc.sprache = "'.$sprache.'" AND status = "p" LIMIT 1'; $result = sql_bert($sql); while($row = $result->fetch_object()) { $result_kat = sql_bert('SELECT id FROM kategorien WHERE artikel = "'.$row->name.'" LIMIT 1'); $row_kat = $result_kat->fetch_object(); if (substr($_SERVER['SERVER_NAME'], -3) == '.de') { $shop_link = '
  • '.get_sprachcode('zum_jarltech_shop', $sprache).'
  • '; } elseif (substr($_SERVER['SERVER_NAME'], -3) == '.at') { if ($sprache=='de') {$shop_sprache='at';} else {$shop_sprache='at_en';} $shop_link = '
  • '.get_sprachcode('zum_jarltech_shop', $sprache).'
  • '; } elseif (substr($_SERVER['SERVER_NAME'], -6) == '.co.uk') { $shop_link = '
  • '.get_sprachcode('zum_jarltech_shop', $sprache).'
  • '; } else { $shop_link = '
  • '.get_sprachcode('zum_jarltech_shop', $sprache).'
  • '; } $bullets = ''; if(substr_count($row->artikeltext, '

    ') >= 2) { $artikeltext_temp = $row->artikeltext; $artikeltext = ''; for($i = 0; $i <= 3; $i++) { $artikeltext .= substr($artikeltext_temp, 0, strpos($artikeltext_temp, '

    ')).'

    '; $artikeltext_temp = substr($artikeltext_temp, strpos($artikeltext_temp, '

    ')+8); } //$artikeltext = substr($row->artikeltext, 0, strpos($row->artikeltext, '

    ', strpos($row->artikeltext, '

    ', 0)+1)); } else { $artikeltext = $row->artikeltext; } $template_return = '

    '.$row->descr.'

    '.$row->product.'

    '.$row->product.''.$bullets.'

    '.$row->headline.'

    '.$artikeltext.'

    '; $titel = $titel.' - '.$row->product; $keywords .= ", '".$row->product."'"; } if ($check == 0 && $_GET['item'] != 'eloids') { $template_return = ''; } ?> ELO TOUCHSYSTEMS | JARLTECH