示例#1
0
<?

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>
  <?}?>