</thead> <? $i=0; foreach ($tpl['orderdetails']['ArrayShopcoinsInOrder'] as $rows ){ $rows['shopcoins'] = $rows['catalog']; $names = contentHelper::getRegHref($rows); if ($rows["title_materialtype"]) {?> <tr><td colspan=9 class=h-cat><?=$rows["title_materialtype"]?></td></tr> <?}?> <tr> <td class=tboard id=image<?=$rows['catalog']?>> <div id=show<?=$rows['catalog']?>></div> <div class='image_block'> <?if($rows['image_big']){?> <div id="image<?=$rows['catalog']?>" class='imageBig' style="display:none;position: absolute;"> <img class="img_hover" src="<?=contentHelper::urlImage($rows['image_big'])?>" /> </div> <?}?> <? echo contentHelper::showImage("smallimages/".$rows["image_small"],$rows["gname"]." | ".$rows["name"]);?> </div> <? /*if ($rows["gname"]){?> <?=in_array($rows["materialtype"],array(9,3,5))?"Группа":"Страна"?>: <?=$rows["gname"]?><br> <?}?> Название: <strong><?=$rows["name"]?></strong><br> Номер: <strong><?=$rows["number"]?></strong><br> <?=($rows["year"]?"Год: <strong>".$rows["year"]."</strong><br>":"")?> <?=(isset($rows["metal"])?"Металл: <strong>".$rows["metal"]."</strong><br>":"")?> <?=($rows["condition"]?"Состояние: <strong><font color=blue>".$rows["condition"]."</font></strong><br>":"")?> <? $price_text = ($rows["materialtype"]==8||$rows["materialtype"]==6)?"Цена":"Стоимость";?>