<? if ($rows["novelty"]){?> <div class="new">Новинка</div> <?} elseif ($rows["dateinsert"]>time()-86400*180){?> <div class="new_red">NEW</div> <?}?> <center> <a href=index.php?catalog=<?php echo $rows["shopcoins"]; ?> &page=show&materialtype=<?php echo $rows["materialtype"]; ?> > <?php echo contentHelper::showImage("images/" . $rows["image"], $rows["gname"] . " | " . $rows["name"], array('alt' => contentHelper::getAlt($rows))); ?> </center><br> </a> <a href=index.php?catalog=<?php echo $rows["shopcoins"]; ?> &page=show&materialtype=<?php echo $rows["materialtype"]; ?> ><span itemprop="name"><?php echo $rows['name']; ?> </span></a><br> <span itemprop="description"> <b>Страна:</b> <?php
<? include(START_PATH."/config.php"); if ($rows["novelty"]){?> <div class="new">Новинка</div> <?} elseif ($rows["dateinsert"]>time()-86400*180 && !$mycoins){ ?> <div class="new_red">NEW <?=date('m-d',$rows["dateinsert"])?></div> <?php } ?> <div class="center"> <a class="borderimage primage" href='<?=$cfg['site_dir']?>shopcoins/<?=$rows["rehref"]?>' title='<?=$cfg['site_dir']?>/shopcoins<?=$rows['namecoins']?>' > <?=contentHelper::showImage("images/".$rows["image"],contentHelper::getImgTitle($rows),array('alt'=>contentHelper::getAlt($rows)));?> </a> <? if(!isset($rows['is_mobile'])||!$rows['is_mobile']) {?> <a onclick="showWin('<?=$cfg['site_dir']?>shopcoins/?module=shopcoins&task=showsmall&catalog=<?=$rows["shopcoins"]?>&ajax=1',1100);return false;" href='#' class="qwk">Быстрый просмотр</a> <?}?> </div> <div class="info-block" > <a href="<?=$cfg['site_dir']?>shopcoins/<?=$rows["rehref"]?>" class="title-mini"><span itemprop="name"><?=$rows['name']?></span></a><br> <div itemprop="description"> <span clas="country-c"><?=$rows['gname']?></span><br> <b>Год:</b> <?=$rows['year']?$rows['year']:"Без указания года"?><br> <?if($rows['metal']){?> <b>Металл:</b> <?=$rows['metal']?><br> <?}?> <?if($rows['condition']){?> <b>Состояние:</b> <?=$rows['condition']?><br> <?}?>
</a> <?} else { $title = contentHelper::setHrefTitle($rows["name"],$rows["materialtype"],$rows['gname']).' - подробная информация';?> <a href='<?php echo $cfg['site_dir']; ?> shopcoins/<?php echo $rows['rehref']; ?> ' title='<?php echo $title; ?> ' class="borderimage"> <?php echo contentHelper::showImage('images/' . $rows["image"], 'Подробная информация о ' . contentHelper::setWordAbout($rows["materialtype"]) . " " . $rows["gname"] . " " . $rows["name"], array('alt' => contentHelper::getAlt($rows))); ?> </a> <?}?> <div class='info'> <a title='<?php echo contentHelper::setHrefTitle($rows["name"], $rows["materialtype"], $rows["gname"]); ?> '><span itemprop="name"><?php echo $rows['name']; ?> </span></a> <meta itemprop="description" content="<?php