예제 #1
0
                    <?	
                    $statuses = $shopcoins_class->getBuyStatus($rows_show_relation2["shopcoins"],$tpl['user']['can_see'],$ourcoinsorder,$shopcoinsorder);
                    $rows_show_relation2['buy_status'] = $statuses['buy_status'];
                    $rows_show_relation2['reserved_status'] = $statuses['reserved_status'];	
                    $rows_show_relation2['mark'] = $shopcoins_class->getMarks($rows_show_relation2["shopcoins"]);
                    echo contentHelper::render('shopcoins/item/itemmini-carusel',$rows_show_relation2);
                    ?>				
                </div>
            <?}?>
        </div>
        <?break;
    }
    case 'filter':{?>
    	<div class="tab_filter">   </div>
    	<? foreach ($lastFilters as $row){
    	    $href_array = urlBuild::makePrettyOfferUrl($row,$materialIDsRule,$ThemeArray,$tpl,$shopcoins_class,array('full'=>true));
    	    ?>
           <div> 
           <span><?php 
echo date('Y-m-d H:i', $row['datetime']);
?>
</span>
           <a href="<?php 
echo $href_array['href'];
?>
"><?php 
echo $href_array['title'];
?>
</a>
           </div>
        <?}?>            
예제 #2
0
    	'href' => $cfg['site_dir'].'shopcoins',
    	'base_href' =>'shopcoins'
    );
    
    $tpl['breadcrumbs'][] = array(
    	'text' => contentHelper::$menu[$materialtype],
    	//'href' => $cfg['site_dir']."shopcoins/index.php?materialtype=$materialtype",
		'href' => urlBuild::makePrettyOfferUrl(array('materialtype'=>$materialtype),$materialIDsRule,$ThemeArray,$tpl,$shopcoins_class),
    	'base_href' =>urlBuild::makePrettyOfferUrl(array('materialtype'=>$materialtype),$materialIDsRule,$ThemeArray,$tpl,$shopcoins_class)
    );
    
    if($rows_main["gname"]&&$rows_main["group"]){
         $tpl['breadcrumbs'][] = array(
        	'text' => $rows_main["gname"],
        	//'href' => $cfg['site_dir']."shopcoins/index.php?materialtype=$materialtype&group=".$rows_main["group"],
			'href' =>urlBuild::makePrettyOfferUrl(array('materialtype'=>$materialtype,'group_id'=>$rows_main["group"]),$materialIDsRule,$ThemeArray,$tpl,$shopcoins_class),
        	'base_href' =>"shopcoins/index.php?materialtype=$materialtype&group=".$rows_main["group"]
        );
    }
    $tpl['breadcrumbs'][] = array(
    	'text' => $rows_main["name"],
    	'href' => '',
    	'base_href' =>''
    );
    
    $tpl['current_page'] = '';
    
}elseif ($tpl['module']=='shopcoins'&&$tpl['task']=='showa'){
    $tpl['breadcrumbs'][] = array(
    	'text' => 'Магазин монет',
    	'href' => $cfg['site_dir'].'shopcoins',