</div> <? } elseif ($rows["materialtype"]==5){?> <center> <a class="borderimage primage" href='<?=$rows["rehref"]?>' title='Подробнее о книге <?=$rows["name"]?>'> <?=contentHelper::showImage('images/'.$rows["image"],$rows["name"])?> </a> <a onclick="showWin('<?=$cfg['site_dir']?>shopcoins/?module=shopcoins&task=showsmall&catalog=<?=$rows["shopcoins"]?>&ajax=1',1100);return false;" href='#' style="display:none" class="qwk">Быстрый просмотр</a> </center> <a name=coin<?=$rows["shopcoins"]?> title='<?=$rows["name"]?>'></a><strong><?=$rows["name"]?></strong> <?} else { $title = contentHelper::setHrefTitle($rows["name"],$rows["materialtype"],$rows['gname']).' - подробная информация';?> <center> <a href='<?=$cfg['site_dir']?>shopcoins/<?=$rows['rehref']?>' title='<?=$title?>' class="borderimage primage"> <?=contentHelper::showImage('images/'.$rows["image"],'Подробная информация о '.contentHelper::setWordAbout($rows["materialtype"])." ".$rows["gname"]." ".$rows["name"])?> </a> <a onclick="showWin('<?=$cfg['site_dir']?>shopcoins/?module=shopcoins&task=showsmall&catalog=<?=$rows["shopcoins"]?>&ajax=1',1100);return false;" href='#' style="display:none" class="qwk">Быстрый просмотр</a> </center> <div class="coinname"> <a name=coin<?=$rows["shopcoins"]?> title='<?=contentHelper::setHrefTitle($rows["name"],$rows["materialtype"],$rows["gname"])?>'></a> <strong><?=$rows['namecoins']?></strong> </div> <?} if($rows["materialtype"]!=3){?> <div id='info' class="info_ext"> <? if($rows['year'] == 1990 && $materialtype==12) $rows['year'] = '1990 ЛМД';
//$grouphref = strtolower_ru($GroupName)."_gn".$groupData['group']; $arraykeyword[] = $groupData["name"]; if (trim($groupData["description"])) { $text = substr($groupData["description"], 0, 650); $text = substr($text, 0, strlen($text) - strpos(strrev($text), '.')); $text = iconv("CP1251//TRANSLIT//IGNORE", "UTF8", $text); //UTF-8 $pic = ''; if ($groupData["flagsmall"]) { $pic = "../group/smallimages/" . $groupData["flagsmall"]; } elseif ($groupData["emblemsmall"]) { $pic = "../group/smallimages/" . $groupData["emblemsmall"]; } elseif ($groupData["mapsmall"]) { $pic = "../group/smallimages/" . $groupData["mapsmall"]; } $tpl['GroupDescription'] = "<div class='left' style='padding: 0 10px 0 0;'>" . contentHelper::showImage($pic, '') . "</div>\n\t\t\t<div>" . str_replace("\n", "<br>", $text) . "</div>"; unset($text); unset($pic); } if ($groupData["groupparent"] != 0 && $groupData["groupparent"] != $groupData["group"]) { $groupParentData = $shopcoins_class->getGroupItem($groupData["groupparent"]); $GroupNameMain = $groupParentData['name']; } $tpl['catalognew']['OtherMaterialData'] = $catalognew_class->getOtherMaterialData($group_data[0], $materialtype); if ($tpl['catalognew']['OtherMaterialData']) { $oldmaterialtype = 0; foreach ($tpl['catalognew']['OtherMaterialData'] as $key => $rows) { $tpl['catalognew']['OtherMaterialData'][$key]['metal'] = isset($tpl['metalls'][$rows['metal_id']]) ? $tpl['metalls'][$rows['metal_id']] : ''; $tpl['catalognew']['OtherMaterialData'][$key]['condition'] = isset($tpl['conditions'][$rows['condition_id']]) ? $tpl['conditions'][$rows['condition_id']] : ''; $tpl['catalognew']['OtherMaterialData'][$key]['gname'] = $GroupName; /*$tpl['catalognew']['related'][$i]['additional_title'] = '';
<td class="tboardtop">Описание</td> </tr> </thead> <tbody> <? foreach ($tpl['order_results'] as $rows){ if ($rows['title']){?> <tr><td class="h-cat" colspan="9"><b><?php echo $rows['title']; ?> </b></td></tr> <?}?> <tr> <td class=tboard width=220> <?php echo contentHelper::showImage('images/' . $rows["image"], $rows["name"]); ?> </td> <td class=tboard><?php echo $rows["name"]; ?> </td> <td class=tboard><?php echo $rows["gname"]; ?> </td> <td class=tboard><?php echo $rows["year"]; ?> </td> <td class=tboard><?php
foreach ($tpl['series']['data'] as $s){ // var_dump($s); ?> <div class="blockshop"> <div class="blockshop-full"> <div class="ceries-top"> <a href="<?php echo $cfg['site_dir']; ?> shopcoins/series/<?php echo $s["id"]; ?> " class="image-s left"> <? if($s["image"]){ echo contentHelper::showImage('/seriesimages/'.$s["image"],$s["name"]); } else {?> <img src="<?php echo $cfg['site_dir']; ?> images/net_izobrajenia.jpg" width="200" /> <?}?> </a> <a href="<?php echo $cfg['site_dir']; ?> shopcoins/series/<?php echo $s["id"]; ?> " class="image-t"> <?php
<? 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> <?}?>
<? $image = (trim($rows_main["image_big"])?$rows_main["image_big"]:$rows_main["image"]); ?> <div id=Image_Big class="main_img_big center"> <?php echo contentHelper::showImage('images/' . $rows_main["image_big"], contentHelper::getImgTitleOne($rows_main), array('alt' => contentHelper::getAltOne($rows_main))); ?> </div>
<? $image = (trim($rows_main["image_big"])?$rows_main["image_big"]:$rows_main["image"]); ?> <div id=Image_Big class="main_img_big"> <?php echo contentHelper::showImage('images/' . $rows_main["image_big"], $rows_main["gname"] . " - " . $rows_main["name"]); ?> </div>
</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
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)?"Цена":"Стоимость";?> <?= $price_text?>: <strong><font color=red><?=($rows["price"]==0?"бесплатно":round($rows["price"],2)." руб.")?></font></strong> <?= ($rows["width"]&&$rows["height"]?"<br>Приблизительный размер: <strong>".$rows["width"]."*".$rows["height"]." мм.</strong><br>":"")." ".($rows["weight"]>0?"<br>Вес: <strong>".$rows["weight"]." гр.</strong><br>":"")."
//новинки $title = contentHelper::setHrefTitle($rows["name"], $rows["materialtype"], $rows['gname']) . ' - подробная информация'; ?> <div class="center"> <a href='<?php echo $cfg['site_dir']; ?> catalognew/<?php echo $rows['rehref']; ?> ' title='<?php echo $title; ?> ' class="borderimage primage"> <?php echo contentHelper::showImage($rows["image_small_url"], "Каталог монет - монета " . $rows["gname"] . " " . $rows["name"], array('alt' => "Каталог монет - монета " . $rows["gname"] . " " . $rows["name"], 'folder' => 'catalognew')); ?> </a> </div> <div class="coinname"> <a href='<?php echo $cfg['site_dir']; ?> catalognew/<?php echo $rows['rehref']; ?> ' title='Подробнее о монете <?php echo $rows["gname"];
?> '> <h1 class="yell_b">Форма быстрого заказа</h1> <div class="error" id="oneshopcoins<?php echo $rows["shopcoins"]; ?> -error"></div> <p> Вы заказываете: <b><? if(!isset($rows['namecoins'])) $rows['namecoins'] = $rows['name']; if($rows["materialtype"]==3){ echo $rows['namecoins'].'<center>'.contentHelper::showImage('images/'.$rows["image"],$rows['namecoins'])."</center>"; } elseif ($rows["materialtype"]==5){ echo $rows["name"].' '.'<center>'.contentHelper::showImage('images/'.$rows["image"],$rows["name"])."</center>"; } else { echo $rows['namecoins'].' '.'<center>'.contentHelper::showImage('images/'.$rows["image"],'')."</center>"; }?></b> </p> <div class="web-form"> <input type="text" size="32" value="" name="onefio" id="onefio" placeholder='Ваше имя'> </div> <div> <label>Телефон:</label> </div> <div class="web-form"> <input type="text" class="phone" placeholder="+7(___) ___ __ __" id="onephone" name="onephone" size="32" autofocus value=""/> </div> <div class="web-form"> <center><a class="button24 oneclickorder" onclick="AddOneClick(<?php
<div class="mainItemPhoto"> <? $image = (trim($rows_main["image_big_url"])?$rows_main["image_big_url"]:$rows_main["image_small_url"]); ?> <div id=Image_Big class="main_img_big center"> <?php echo contentHelper::showImage($image, "Каталог монет - " . $rows_main["gname"] . " - " . $rows_main["name"], array('alt' => "Каталог монет - " . $rows_main["gname"] . " " . $rows_main["name"], 'folder' => 'catalognew')); ?> </div> </div> <div class="detailsItem"> <div> <h1><?php echo $rows_main["name"]; ?> <?if ($rows_main["agreement"]==0) echo "<span class=red style='font-size: 14px;'>Эта монета Непроверена</span>";?> </h1> <? if($tpl['catalognew']['show']['can_edit']){ echo '<div class=right style="margin-top: -35px;text-align: right;">'; echo "<a href='".$cfg['site_dir']."catalognew/addcoins.php?catalog=".$catalog."' target=_blank><img src='".$cfg['site_dir']."catalognew/images/edit.gif' border=0 class='left'> Редактировать</a>"; echo '</div>'; } if ($rows_main["agreement"]==0&&$tpl['catalognew']['show']['rows_agreement_catalog']) {?>
foreach ($tpl['shop']['MyShowArray'] as &$row){ $item = $shopcoins_class->getItem($row['shopcoins']); $row = array_merge($row,$item); $row['metal'] = $tpl['metalls'][$row['metal_id']]; $rehref = ""; if ($row['gname']) $rehref .= $row['gname']." "; $rehref .= $row['name']; if($row['year']) $rehref .= " ".contentHelper::setYearText($row['year'],$row['materialtype']); if ($row['metal']) $rehref .= " ".$row['metal']; if($row['price']) $rehref .= " <font color=red>".ceil($row['price'])." руб.</font>"; $image = contentHelper::showImage("smallimages/".$row["image_small"],'');; $currval = array(); $currval['label'] = TRIM($rehref)?trim($rehref):$row['name']; $currval['image'] = $image?$image:''; $currval['id'] = $row['shopcoins']; $data_href = contentHelper::getRegHref($row); $currval['href'] = $cfg['site_dir'].'shopcoins/'.$data_href['rehref']; array_push($data, $currval); } $currval = array(); $currval['label'] = "Показать результаты поиска"; $currval['image'] = ""; $currval['id'] = 0; $currval['href'] = $cfg['site_dir']."shopcoins/index.php?search=".$search; array_push($data, $currval);
<div class="item_nabor_image" style="display: table;"> <div class="left"> <a href='<?php echo $cfg['site_dir']; ?> catalognew/<?php echo $rows['rehref']; ?> ' title='<?php echo $title; ?> ' class="primage"> <?php echo contentHelper::showImage($rows["image_small_url"], "Каталог - подарочный набор " . $rows["gname"] . " " . $rows["name"], array('alt' => "Каталог - подарочный набор " . $rows["gname"] . " " . $rows["name"], 'folder' => 'catalognew')); ?> </a> </div> <div> <? if ($rows['show_in_shop']){?> <br><br><a class="center" href="#" onclick="showWin('http://www.numizmatik.ru/shopcoins/?module=shopcoins&task=showsmall&catalog=<?php echo $rows["show_in_shop_id"]; ?> &ajax=1',1100);return false;"><span class=red>В магазине</span></a> <?} echo "<br><br><div id=mysubscribecatalog".$rows["catalog"]." class='mycatalog'>"; if ($rows["in_request"]){
$tpl['shop']['errors'][] = "<br><p class=txt><strong><font color=red>�?звините, нет результатов, удовлетворяющих поиску. Попробуйте другие варианты.</font></strong><br><br>"; } else { $amountsearch = count($tpl['shop']['MyShowArray']); foreach ($tpl['shop']['MyShowArray'] as $i=>$rows) { $item = $shopcoins_class->getItem($rows['shopcoins']); $rows = array_merge($rows,$item); $tpl['shop']['MyShowArray'][$i] = $rows; // var_dump($rows["image_small"]); //формируем картинки "подобные" $tpl['shop']['MyShowArray'][$i]['tmpsmallimage'] = array(); if (($rows["materialtype"] ==1)&&isset($tpl['shop']['ImageParent'][$rows["parent"]])&&$tpl['shop']['ImageParent'][$rows["parent"]]>0 && !$mycoins) { $tpl['shop']['MyShowArray'][$i]['tmpsmallimage'][] =contentHelper::showImage("smallimages/".$rows["image_small"],"Монета ".$rows["gname"]." | ".$rows["name"]); $tpl['shop']['MyShowArray'][$i]['tmpsmallimage'][] =contentHelper::showImage("smallimages/".$tpl['shop']['ImageParent'][$rows["parent"]][0],"Монета ".$rows["gname"]." | ".$rows["name"]); } $tpl['shop']['MyShowArray'][$i] = array_merge($tpl['shop']['MyShowArray'][$i], contentHelper::getRegHref($rows,$materialtype,$parent)); if ($materialtype==5||$materialtype==3){ $tpl['shop']['MyShowArray'][$i]['amountall'] = ( !$rows["amount"])?1:$rows["amount"]; } else { if (in_array($rows["materialtype"],array(2,4,7,8,6)) && $rows['amount']>10) $rows['amount'] = 10; $amountall = $rows['amount']; if (in_array($rows["materialtype"],array(8,6,7,2,4))) { $amountall = ( !$rows["amount"])?1:$rows["amount"];
"> <?if (sizeof($errors)){?> <div class="error"><b><?php echo implode("<br>", $errors); ?> </b></div> <?} if($tpl['addcoinsExist']){?> <table border=0 cellpadding=3 cellspacing=1 align=center width="100%"> <?foreach ($tpl['addcoinsExist'] as $rows){?> <tr class=tboard valign=top bgcolor=#EBE4D4> <td width="200"> <?php echo contentHelper::showImage($rows["image_small_url"], "", array('alt' => $rows["name"], 'folder' => 'catalognew')); ?> </td> <td><b><?php echo $rows["name"]; ?> </b> <?php echo $rows["yearstart"] ? "<br><b>Год:</b> " . $rows["yearstart"] : ""; ?> <?php echo $rows["metal"] ? "<br><b>Метал:</b> " . $tpl['metalls'][$metal] : ""; ?> <?php echo $rows["probe"] ? "<br><b>Проба:</b> " . $rows["probe"] : ""; ?>