"; $title=charset_decode_utf_8($xmlarray[0][$i][1]["value"]); if ($xmlcategorytextarray[0][$i][2]["value"]) { $extra_text=$xmlcategorytextarray[0][$i][2]["value"]; } } else { $cat_class="blakk"; $extra_cat_img=""; } $extra_html.='
  • ' . $extra_cat_img; $extra_html.="\n"; $extra_html.=''; $extra_html.=charset_decode_utf_8($xmlarray[0][$i][1]["value"]) . ''; $extra_html.="\n
  • "; if ($myurlvars && $myurlvars==remove_invalidcharacters($xmlarray[0][$i][1]["value"])) { $catlabel=charset_decode_utf_8($xmlarray[0][$i][1]["value"]); /* Sub Categories */ $categoryid=$xmlarray[0][$i][0]["value"]; if (sizeof($xmlarray[0][$i])>1) { for ($j=2;$j' . $extra_subcat_img; $extra_sub_html.=charset_decode_utf_8($xmlarray[0][$i][$j][1]["value"]) . ''; $extra_sub_html.="\n"; $extra_sub_html.="

    "; $extra_html.="\n"; $extra_html.='
  • "; } } } } } if (stristr($_SERVER["REQUEST_URI"],"_")) { /* Här är visas produkten om den är vald */ if (substr($_SERVER["REQUEST_URI"], -1)=="/") {$subject=substr($_SERVER["REQUEST_URI"],0,-1);} $ids=preg_split("/_/",$subject); for ($i=0;$i";*/ if (remove_invalidcharacters($xmlproductsarray[0][$i][0]["value"])==remove_invalidcharacters($ids[1]) && strlen(remove_invalidcharacters($xmlproductsarray[0][$i][0]["value"]))==strlen(remove_invalidcharacters($ids[1]))) { $title=charset_decode_utf_8($xmlproductsarray[0][$i][1]["value"]); $product_html.= "\n"; $product_html.="
    \n

    " . charset_decode_utf_8($xmlproductsarray[0][$i][1]["value"]) . "

    "; $desc=" Artikel nummer: " . $xmlproductsarray[0][$i][0]["value"] . ", Pris: " . $xmlproductsarray[0][$i][3]["value"] . " SEK"; $product_html.= "

    Artikel nummer: " . charset_decode_utf_8($xmlproductsarray[0][$i][0]["value"]) . "

    "; $product_html.= "

    Pris: " . $xmlproductsarray[0][$i][3]["value"] . " SEK

    "; //$product_html.= "\n

    xxx" . $xmlproductsarray[0][$i][0]["value"] . "xxx" . $ids[1] . "xxx

    "; $product_html.= "

    Enhet: " . $xmlproductsarray[0][$i][4]["value"] . "


    "; $product_html.= "\n"; $product_html.=""; $product_html.=" "; $product_html.="\n"; // Share/Bookmark $raett_artikelnr=str_replace($tecken_i_namn, $utbytta_tecken_i_namn, utf8_decode($xmlproductsarray[0][$i][0]["value"])); $product_html.= "


    " . charset_decode_utf_8($xmlproductsarray[0][$i][1]["value"]) . "\n
    "; $product_html.= '

    Bookmark and Share '; $product_html.= "
    "; } } } else { /* Category listning */ $thereisaproduct=0; $product_html.= "\n"; $product_html.="
    "; $product_html.= "\n\t

    " . $catlabel . " "; if ($myurlsubvars) {$product_html.= " " . $subcatlabel . "

    ";} $product_html.= "\n\t"; $product_html.= "\n\t

    " . charset_decode_utf_8($extra_text) . "

    "; $product_html.= "\n


    "; if ($subcategoryid) {$categoryid=$subcategoryid;} if ($categoryid) { /* Sub category listning */ for ($i=0;$i" ; $product_html.= charset_decode_utf_8($xmlproductsarray[0][$i][1]["value"]) . ""; $product_html.= "\n"; $raett_artikelnr=str_replace($tecken_i_namn, $utbytta_tecken_i_namn, utf8_decode($xmlproductsarray[0][$i][0]["value"])); $product_html.= "\n
    \t"; $product_html.= "\n

    "; $thereisaproduct++; } } } if ($thereisaproduct<1) {$product_html.= $extra_sub_html;} $product_html.= ""; } /* Nedan kommer själva sidan*/ ?> Barkonsult AB - <?php echo $title; ?> "> */ ?>
    Barkonsult
    "; //print_r($xmlcategorytextarray); ?>