1. Мы продолжаем публиковать интересные статьи на тему SocialEngine 4. Одна из статей посвящена правильному выбору сервера для вашей социальной сети, а другая содержит советы по увеличению производительности платформы. Также мы добавили большую статью о пользовательских уровнях. Ознакомиться со статьями вы можете в разделе Вопросы и Ответы SocialEngine 4.
  2. Вам кажется, что ваша версия SocialEngine 4, работает медленно?

    Голосуйте. Пишите свою версию системы, железо на чем работает и количество пользователей. Будем увеличивать производительность :-) Подробнее

  3. В связи с участившимися случаями попыток продажи пользователями форума различных "сборок" коммерческих социальных платформ, обычно основанных на SocialEngine 3, вводится новое правило для форума. Запрещается создание тем или размещение в уже созданных предложений о продаже или размещение ссылок на сайты, где происходит продажа "сборок". Пользователи, которые продолжат свою коммерческую деятельность в данном направлении, будут заблокированы. Подробнее.

Radcodes Marketplace / Item Ads Listing Plugin

Discussion in 'RadCodes' started by stech, Jul 18, 2010.

  1. Вячеслав Novice member


    Offline
    Message Count:
    36
    Likes Received:
    0
    Как это сделать? делаю запрос на $ получаю целую кучу как заменить именно тот, что отвечает за цену?
  2. Prado Challenge Everything


    Offline
    • Admin
    Message Count:
    3,191
    Likes Received:
    786
    My version of phpFox:
    3.0.0
    На какой странице этот доллар? название напишите.
  3. Вячеслав Novice member


    Offline
    Message Count:
    36
    Likes Received:
    0
    доллар находится на многих страницах ведь если цена указана она ведь везде так отображается. к примеру browse_items.php? items.php item.php?item_id=4
  4. Prado Challenge Everything


    Offline
    • Admin
    Message Count:
    3,191
    Likes Received:
    786
    My version of phpFox:
    3.0.0
    browse_items.tpl выложите весь код из файла сюда между тегами
    Code:
    [code]
  5. Вячеслав Novice member


    Offline
    Message Count:
    36
    Likes Received:
    0
    Code:
    {include file='header.tpl'}
    
    
    <div class="item_browse_mininav" id="itemSubmitAds">
    	<img src="./images/icons/plus16.gif" class="icon" /><a href="item_submit.php">{lang_print id=11350492}</a>
    </div>
    
    <div class='page_header'>
      {if $tag}
        {lang_sprintf id=11350497 1=$tag}
      {elseif $neighborhood}
        {lang_sprintf id=11350499 1=$neighborhood}
      {elseif $itemcat_languagevar_id}
        {capture assign=cat_title}{lang_print id=$itemcat_languagevar_id}{/capture}
        {lang_sprintf id=11350347 1=$cat_title}
      {else}
        {lang_print id=11350205}
      {/if}
      
      {if $owner->user_exists}
        <em>{lang_print id=11350608}</em>
        <a href="{$url->url_create('profile',$owner->user_info.user_username)}">{$owner->user_displayname}</a>
      {/if}
      
    </div>  
    
    {literal}
    
    
    <script type="text/javascript">
    window.addEvent('domready', function(){
    
    	var item_browse_search_advanced = $('item_browse_search_advanced');
    	item_browse_search_advanced.slide('hide');
    	 
    	  $('item_search_advanced').addEvent('click', function(){
    		  item_browse_search_advanced.slide('toggle');
    	  });
    
    	  $$('#price_box input[name=price]').each(function(e) { 
    		  e.addEvent('click', function(){
    			  if (this.value == 'range') {
    				  $('price_range_box').setStyle('display','block');
    			  }
    			  else {
    				  $('price_range_box').setStyle('display','none');
    			  }
    		  });
    	  });
    	  
    	  
    {/literal}
    
    {if $match || $zipcode || $distance || $city || $province || $country || $featured }
       item_browse_search_advanced.slide('show');
    {/if}
    	
    {literal}
    
      var options = {
            script:"item_ajax.php?task=autosuggest&limit=10&field=location_city&",
            varname:"input",
            json:true,
            shownoresults:false,
            maxresults:10,
            multisuggest:false,
            callback: function (obj) {  }
            };
      var as_json_country = new bsn.AutoSuggest('item_fs_city', options);
       
      var options = {
            script:"item_ajax.php?task=autosuggest&limit=10&field=location_province&",
            varname:"input",
            json:true,
            shownoresults:false,
            maxresults:10,
            multisuggest:false,
            callback: function (obj) {  }
            };
    	var as_json_country = new bsn.AutoSuggest('item_fs_province', options);
    
    	var options = {
    			  script:"item_ajax.php?task=autosuggest&limit=10&field=location_country&",
    			  varname:"input",
    			  json:true,
    			  shownoresults:false,
    			  maxresults:10,
    			  multisuggest:false,
    			  callback: function (obj) {  }
    			  };
    	var as_json_country = new bsn.AutoSuggest('item_fs_country', options);
    
    });
    </script>
    {/literal}
    
    
    
    
    
    
    
    <table cellpadding='0' cellspacing='0' class='item_browse'>
    <tr>
    <td class='item_browse_leftside'>
    {* START LEFT COLUMN *}
    
    	{* START ITEM SEARCH *}
    	<div class="item_browse_search">
    	  <form method="post" action="browse_items.php">
    	    <table class="item_browse_search_standard">
    	      <tr>
    	        <td>
    	          <label for="item_keyword">{lang_print id=11350255}</label>
    	          
    	          <div><input type="input" class="item_search_input" name="keyword" value="{$keyword}" id="item_keyword" /></div>
    	          <span class="item_search_example">{lang_print id=11350256}</span>
    	        </td>
    	        <td>
    	          <label for="item_location">{lang_print id=11350257}</label>
    	          <div><input type="input" class="item_search_input" name="location" value="{$location}" id="item_location" /></div>
    	          <span class="item_search_example">{lang_print id=11350258}</span>
    	        </td>
              <td>
                <label for="item_location">&nbsp;</label>
                <div><input type="submit" class="item_search_button" value="{lang_print id=11350269}" /></div>
                <a href="javascript:void(0);" id="item_search_advanced">{lang_print id=11350354}</a>
              </td>
    	      </tr>
    	    </table>
    	    <div id="item_browse_search_advanced">
    	    <table>
    	      <tr>
    	        <th>{lang_print id=11350355}:</th>
    	        <td>
    	          <input type="radio" name="match" value="all" {if $match=='all'}checked='checked'{/if} id="match_all" /><label for="match_all">{lang_print id=11350356}</label>
    	          <input type="radio" name="match" value="any" {if $match=='any'}checked='checked'{/if} id="match_any" /><label for="match_any">{lang_print id=11350357}</label>
    	          <input type="radio" name="match" value="exact" {if $match=='exact'}checked='checked'{/if} id="match_exact" /><label for="match_exact">{lang_print id=11350358}</label>
    
    	        </td>
    	        {if $setting.setting_item_proximity_search}
              <th>{lang_print id=11350359}:</th>
              <td>
                <select name="distance">
                   <option value=""></option>
                   <option value="2" {if $distance==2}selected='selected'{/if}>{lang_sprintf id=11350363 1=2 2=$setting.setting_geo_distance_unit}</option>
                   <option value="5" {if $distance==5}selected='selected'{/if}>{lang_sprintf id=11350363 1=5 2=$setting.setting_geo_distance_unit}</option>
                   <option value="10" {if $distance==10}selected='selected'{/if}>{lang_sprintf id=11350363 1=10 2=$setting.setting_geo_distance_unit}</option>
                   <option value="25" {if $distance==25}selected='selected'{/if}>{lang_sprintf id=11350363 1=25 2=$setting.setting_geo_distance_unit}</option>
                   <option value="50" {if $distance==50}selected='selected'{/if}>{lang_sprintf id=11350363 1=50 2=$setting.setting_geo_distance_unit}</option>
                   <option value="100" {if $distance==100}selected='selected'{/if}>{lang_sprintf id=11350363 1=100 2=$setting.setting_geo_distance_unit}</option>
                   <option value="200" {if $distance==200}selected='selected'{/if}>{lang_sprintf id=11350363 1=100 2=$setting.setting_geo_distance_unit}</option>
                   <option value="500" {if $distance==500}selected='selected'{/if}>{lang_sprintf id=11350363 1=100 2=$setting.setting_geo_distance_unit}</option>
                   <option value="1000" {if $distance==1000}selected='selected'{/if}>{lang_sprintf id=11350363 1=100 2=$setting.setting_geo_distance_unit}</option>
                </select>
                {lang_print id=11350360}
                <input type="text" name="postal" value="{$postal}" size="5" />
                
                {if $proximity_countries|@count > 1}
                <select name='cpostal'>
                  {foreach from=$proximity_countries item=proximity_country}
                  <option value='{$proximity_country}' {if $cpostal == $proximity_country}selected='selected'{/if}>{$proximity_country}</option>
                  {/foreach}
                </select>
                {/if}
                
              </td>
              {else}
              <th>{lang_print id=11350479}:</th>
              <td>
                <input type="text" name="postal" value="{$postal}" size="10" />
              </td>
              {/if}
            </tr>
            <tr>  
              <th valign="top">{lang_print id=11350599}:</th>
              <td valign="top" id="price_box">
    	          <input type="radio" name="price" value="range" {if $price=='range' || $price==''}checked='checked'{/if} id="price_range" /><label for="price_range">{lang_print id=11350620}</label>
    	          <input type="radio" name="price" value="free" {if $price=='free'}checked='checked'{/if} id="price_free" /><label for="price_free">{lang_print id=11350621}</label>
    	          <input type="radio" name="price" value="none" {if $price=='none'}checked='checked'{/if} id="price_none" /><label for="price_none">{lang_print id=11350622}</label>
    	          	 <table cellspacing="0" cellpadding="3" id="price_range_box" style="display: {if $price=='range' || $price==''}block{else}none{/if}; margin-top: 5px;">
    	             	<tr><td align="right">{lang_print id=11350600}: {$setting.setting_epayment_currency_symbol}</td><td><input type="text" name="price_min" value="{$price_min}" size="6" /></td></tr> 
    	             	<tr><td align="right">{lang_print id=11350601}: {$setting.setting_epayment_currency_symbol}</td><td><input type="text"  name="price_max" value="{$price_max}" size="6" /></td></tr> 
    	             </table>
    	      </td>
              <th valign="top">{lang_print id=11350435}:</th>
              <td>
              	 <table cellspacing="0" cellpadding="3">
                 	<tr><td align="right">{lang_print id=11350436}:</td><td><input type="text" id="item_fs_city" name="city" value="{$city}" size="14" /></td></tr> 
                 	<tr><td align="right">{lang_print id=11350437}:</td><td><input type="text" id="item_fs_province" name="province" value="{$province}" size="14" /></td></tr> 
                 	<tr><td align="right">{lang_print id=11350438}:</td><td><input type="text" id="item_fs_country" name="country" value="{$country}" size="14" /></td></tr> 
                 </table>
              </td>
    	    </tr>
            <tr>
              <th>{lang_print id=11350096}:</th>
              <td>
                <select name="itemcat_id">
                  <option value=""></option>
    					    {section name=cat_loop loop=$cats}
    					      <option value='{$cats[cat_loop].cat_id}' {if $cats[cat_loop].cat_id==$itemcat_id}selected='selected'{/if} class='item_cat_main'>{lang_print id=$cats[cat_loop].cat_title}</option>
    					      {section name=subcat_loop loop=$cats[cat_loop].subcats}
    					         <option value='{$cats[cat_loop].subcats[subcat_loop].subcat_id}' {if $cats[cat_loop].subcats[subcat_loop].subcat_id==$itemcat_id}selected='selected'{/if}> &raquo; {lang_print id=$cats[cat_loop].subcats[subcat_loop].subcat_title}</option> 
    					      {/section}
    					    {/section}
                </select>
    
              </td>
              <th>{lang_print id=11350607}:</th>
              <td><input type="text" name="user" value="{$owner->user_info.user_username}" size="16" /></td>
            </tr>
            <tr>  
              <th>{lang_print id=11350361}:</th>
              <td colspan="3">
                <input type="checkbox" name="featured" value="1" {if $featured}checked='checked'{/if} id="item_search_featured" />
                <label for="item_search_featured">{lang_print id=11350362}</label>
                -
                <input type="checkbox" name="sponsored" value="1" {if $sponsored}checked='checked'{/if} id="item_search_sponsored" />
                <label for="item_search_sponsored">{lang_print id=11350623}</label>
                -
                <input type="checkbox" name="hot" value="1" {if $hot}checked='checked'{/if} id="item_search_hot" />
                <label for="item_search_hot">{lang_print id=11350624}</label>
              </td>
            </tr>
    	    </table>
          </div>
    	  </form>  
    	</div>
    	{* END ITEM SEARCH *}
    
        <div class="item_browse_letters">
        {foreach from=$fletters item=fletter}
          <a href="browse_items.php?{$url_query}start_with={$fletter}" {if $letter == $fletter}class="current_letter"{/if}>{if $fletter=='-'}#{else}{$fletter}{/if}</a>
        {/foreach}
        </div>
    
      {* NO ITEMS AT ALL *}
      {if $items|@count == 0}
        <br>
        <table cellpadding='0' cellspacing='0' align='center'>
          <tr>
            <td class='result'>
              <img src='./images/icons/bulb16.gif' border='0' class='icon' />
              {lang_print id=11350214}
            </td>
          </tr>
        </table>
      {else}
    
    	  {$rc_map_api->printHeaderJS()}
    	  {$rc_map_api->printMapJS()}
    	  {$rc_map_api->printOnLoad()}
    	  <div id="item_browse_map">{$rc_map_api->printMap()}</div>
    
    
    
    	  {* DISPLAY PAGINATION MENU IF APPLICABLE *}
    	  {if $maxpage > 1}
    	    <div class='item_pages_top'>
    	    {if $p != 1}<a href='browse_items.php?{$url_query}p={math equation="p-1" p=$p}'>« {lang_print id=182}</a>{else}« {lang_print id=182}{/if}
    	    &nbsp;|&nbsp;&nbsp;
    	    {if $p_start == $p_end}
    	      <b>{lang_sprintf id=184 1=$p_start 2=$total_items}</b>
    	    {else}
    	      <b>{lang_sprintf id=185 1=$p_start 2=$p_end 3=$total_items}</b>
    	    {/if}
    	    &nbsp;&nbsp;|&nbsp;
    	    {if $p != $maxpage}<a href='browse_items.php?{$url_query}p={math equation="p+1" p=$p}'>{lang_print id=183} »</a>{else}{lang_print id=183} »{/if}
    	    </div>
    	  {/if}
    
    
    
        {* START ITEM RESULTS *}   
        <div class="item_results">  
        {section name=item_loop loop=$items}
      
          {assign var=item value=$items[item_loop].item}
          {assign var=item_creator value=$items[item_loop].item_creator}
    
          <div class='item_result{if $item->item_info.item_featured} item_result_featured{/if}{if $item->item_info.item_sponsored} item_result_sponsored{/if} item_clearfix'>
            
            <div class="item_result_photo">
    	        <a href='{$url->url_create('item', $item->item_info.item_slug, $item->item_info.item_id)}'><img src='{$item->item_photo("./images/nophoto.gif")}' width="160" class="photo" /></a>
            </div>
            {* start item result details *}
            <div class="item_result_details">
    	        <div class='item_result_title'>
    	          {if $item->item_info.item_hot}<img src="./images/icons/item_hot_big.gif" class="icon" />{/if}
    	          <a href='{$url->url_create('item', $item->item_info.item_slug, $item->item_info.item_id)}' class='item_result_title'>{$item->item_info.item_title}</a>
    	          {include file='item_embed_price.tpl' item=$item}
    	          {if $item->item_info.item_featured}<sup class="item_result_featured_icon">{lang_print id=11350318}</sup>{/if}
    	        </div>
                <div class="item_result_rating">
                  <div class="item_rating_bar">
                    <div style="width:{math equation="x / 5 * 100" x=$item->item_info.item_cache_rating format="%.2f"}%"></div>
                  </div>
                  {lang_sprintf id=11350346  1=$item->item_info.item_cache_rating_total}
                </div>  
    	        <div class="item_result_stat">
    	          	{lang_print id=11350348} <a href="{$url->url_create('profile', $item_creator->user_info.user_username)}">{$item_creator->user_displayname}</a>
    		        {assign var=item_dateapproved value=$datetime->timezone($item->item_info.item_dateapproved, $global_timezone)}
    		        {lang_sprintf id=11350202 1=$datetime->cdate($setting.setting_dateformat, $item_dateapproved)},
    						{assign var='item_dateupdated' value=$datetime->time_since($item->item_info.item_dateupdated)}
    						{capture assign="date_updated"}{lang_sprintf id=$item_dateupdated[0] 1=$item_dateupdated[1]}{/capture}
    						{lang_sprintf id=11350217 1=$date_updated}
    		
    		        | {lang_sprintf id=11350344  1=$item->item_info.item_views}
    		        | {lang_sprintf id=11350345  1=$item->item_info.item_totalcomments}
    		        
    		        {if is_a($geolocation,'se_geolocation')}
    		        | <span>{$geolocation->convert_distance_to_unit($item->item_info.distance)}</span> {$geolocation->distance_unit}
    		        {/if}
    	        </div>
    	        {* end item result stat *}
    	        <div class="item_result_desc">{$item->item_info.item_summary}</div>
    	        <div class="item_result_meta">
    	          {capture assign=cat_title}{lang_print id=$item->item_info.itemcat_title}{/capture}  
    	        	<a href="{$url->url_create('item_category', $rc_toolkit->generate_slug($cat_title), $item->item_info.itemcat_id)}">{lang_print id=$item->item_info.itemcat_title}</a>
    	          {if $item->item_info.item_neighborhood}
    	              {lang_print id=11350508} <span><a href="{$url->url_create('item_neighborhood', null, $item->item_info.item_neighborhood)}">{$item->item_info.item_neighborhood}</a></span>
    	          {/if}
    		        {if is_a($geolocation,'se_geolocation')}
    		        | <span>{$geolocation->convert_distance_to_unit($item->item_info.distance)}</span> {$geolocation->distance_unit}
    		        {/if}
    	        </div>
    			{* end item result meta *}
            </div>
            {* end item result details *}
            
            
            
          </div>
    	  {*end item_result *}
        {/section}
        </div>
        {* END ITEM RESULTS *}
        
    	  {* DISPLAY PAGINATION MENU IF APPLICABLE *}
    	  {if $maxpage > 1}
    	    <div class='item_pages_bottom'>
          {if $p != 1}<a href='browse_items.php?{$url_query}p={math equation="p-1" p=$p}'>« {lang_print id=182}</a>{else}« {lang_print id=182}{/if}
          &nbsp;|&nbsp;&nbsp;
          {if $p_start == $p_end}
            <b>{lang_sprintf id=184 1=$p_start 2=$total_items}</b>
          {else}
            <b>{lang_sprintf id=185 1=$p_start 2=$p_end 3=$total_items}</b>
          {/if}
          &nbsp;&nbsp;|&nbsp;
          {if $p != $maxpage}<a href='browse_items.php?{$url_query}p={math equation="p+1" p=$p}'>{lang_print id=183} »</a>{else}{lang_print id=183} »{/if}
    	    </div>
    	  {/if}    
        
      {/if}
      
      
    
    
    
    
    
    {* END LEFT COLUMN *}
    </td>
    <td class='item_browse_rightside'>
    {* START RIGHT COLUMN *}
    
    
        <div class='item_result_preference'>
          {lang_print id=11350208}:
          <select name='s' class="small" onchange="window.location.href='browse_items.php?{$url_query}s='+this.options[this.selectedIndex].value;">
            <option value='title'{if $s == "title"} SELECTED{/if}>{lang_print id=11350209}</option>
            <option value='dateapproved'{if $s == "dateapproved"} SELECTED{/if}>{lang_print id=11350210}</option>
            <option value='dateupdated'{if $s == "dateupdated"} SELECTED{/if}>{lang_print id=11350211}</option>
            <option value='rating'{if $s == "rating"} SELECTED{/if}>{lang_print id=11350212}</option>
            <option value='view'{if $s == "view"} SELECTED{/if}>{lang_print id=11350350}</option>
            <option value='comment'{if $s == "comment"} SELECTED{/if}>{lang_print id=11350351}</option>    
            <option value='price_asc'{if $s == "price_asc"} SELECTED{/if}>{lang_print id=11350602}</option> 
            <option value='price_desc'{if $s == "price_desc"} SELECTED{/if}>{lang_print id=11350603}</option> 
          </select>     
        </div>
    
    
      {* START BROWSE BY CATEGORY *}
    
        {* CATEGORY JAVASCRIPT *}
        {literal}
        <script type="text/javascript">
        <!-- 
        // ADD ABILITY TO MINIMIZE/MAXIMIZE CATS
          var cat_minimized = new Hash.Cookie('cat_cookie', {duration: 3600});
        //-->
        </script>
        {/literal}
        
        
    	{* START CATEGORIES *}
    	<div class="item_browse_by_categories">
    	  <div class='item_browse_by_categories_header'>{lang_print id=11350556}</div>
    	  <div class='item_browse_by_categories_content'>    
        
        
      <div class='item_categories'>
    
        <div class='item_category_main'>
          <a href='browse_items.php'>{lang_print id=11350213}</a>
        </div>
        {section name=cat_loop loop=$cats}
          {capture assign=cat_title}{lang_print id=$cats[cat_loop].cat_title}{/capture}
          {* CATEGORY JAVASCRIPT *}
          {literal}
          <script type="text/javascript">
          <!-- 
            window.addEvent('domready', function() { 
              if(cat_minimized.get({/literal}{$cats[cat_loop].cat_id}{literal}) == 1) {
                $('subcats_{/literal}{$cats[cat_loop].cat_id}{literal}').style.display = '';
                $('icon_{/literal}{$cats[cat_loop].cat_id}{literal}').src = './images/icons/minus16.gif';
              }
            });
          //-->
          </script>
          {/literal}
          
          <div class='item_category_item'>
            <img id='icon_{$cats[cat_loop].cat_id}' src='./images/icons/{if $cats[cat_loop].subcats|@count > 0 && $cats[cat_loop].subcats != ""}plus16{else}minus16_disabled{/if}.gif' {if $cats[cat_loop].subcats|@count > 0 && $cats[cat_loop].subcats != ""}style='cursor: pointer;' onClick="if($('subcats_{$cats[cat_loop].cat_id}').style.display == 'none') {literal}{{/literal} $('subcats_{$cats[cat_loop].cat_id}').style.display = ''; this.src='./images/icons/minus16.gif'; cat_minimized.set({$cats[cat_loop].cat_id}, 1); {literal}} else {{/literal} $('subcats_{$cats[cat_loop].cat_id}').style.display = 'none'; this.src='./images/icons/plus16.gif'; cat_minimized.set({$cats[cat_loop].cat_id}, 0); {literal}}{/literal}"{/if} border='0' class='icon'>
            <a href='{$url->url_create('item_category', $rc_toolkit->generate_slug($cat_title), $cats[cat_loop].cat_id)}'>{lang_print id=$cats[cat_loop].cat_title}</a>
            <div class='item_category_subcats' id='subcats_{$cats[cat_loop].cat_id}' style='display: none;'>
              {section name=subcat_loop loop=$cats[cat_loop].subcats}
                {capture assign=cat_title}{lang_print id=$cats[cat_loop].subcats[subcat_loop].subcat_title}{/capture}
                <div><img src='./images/trans.gif' border='0' class='icon' style='width: 16px;'>
                  <a href='{$url->url_create('item_category', $rc_toolkit->generate_slug($cat_title), $cats[cat_loop].subcats[subcat_loop].subcat_id)}'>{lang_print id=$cats[cat_loop].subcats[subcat_loop].subcat_title}</a> 
                </div>
              {/section}
            </div>
          </div>
        {/section}
      </div>
      {* END BROWSE BY CATEGORY *}
    
    	  </div>
    	</div>
    	{* END CATEGORIES *}
    	
    	
      {* START SPONSORED ITEMS *}
      {if !empty($sponsored_items)}
      <div class='item_sponsored_results'>
        <div class='item_sponsored_results_header'>{lang_print id=11350501}</div>
        <div class='item_sponsored_results_content'>
      {section name=sponsored_items_loop loop=$sponsored_items}
        {assign var=item value=$sponsored_items[sponsored_items_loop].item}  
        {capture assign=cat_title}{lang_print id=$item->item_info.itemcat_title}{/capture}  
          <div class="item_sponsor item_clearfix">
            <div class="item_sponsor_photo"><a href='{$url->url_create('item', $item->item_info.item_slug, $item->item_info.item_id)}'><img class='photo' src='{$item->item_photo("./images/nophoto.gif", true)}' border='0' width='60' height='60' /></a></div>
            <div class="item_sponsor_title"><a href='{$url->url_create('item', $item->item_info.item_slug, $item->item_info.item_id)}'>{$item->item_info.item_title|truncate:45:'...':true}</a>
              {if $item->item_info.item_hot}<img src="./images/icons/item_hot_small.gif" />{/if}
              {include file='item_embed_price.tpl' item=$item}
            </div>
    		          <div class="item_result_rating">
    		            <div class="item_rating_bar">
    		              <div style="width:{math equation="x / 5 * 100" x=$item->item_info.item_cache_rating format="%.2f"}%"></div>
    		            </div>
    		            {lang_sprintf id=11350346  1=$item->item_info.item_cache_rating_total}
    		          </div>
    		          
    		          <div class="item_sponsor_desc">{$item->item_info.item_summary|truncate:100:'...':true}</div>       
            <div class="item_sponsor_meta">
              <span><a href="{$url->url_create('item_category', $rc_toolkit->generate_slug($cat_title), $item->item_info.itemcat_id)}">{lang_print id=$item->item_info.itemcat_title}</a></span>
              {* assign var=item_dateapproved value=$datetime->timezone($item->item_info.item_dateapproved, $global_timezone)}
              {lang_sprintf id=11350202 1=$datetime->cdate($setting.setting_dateformat, $item_dateapproved) *}
              {if $item->item_info.item_neighborhood}
                  {lang_print id=11350508} <span><a href="{$url->url_create('item_neighborhood', null, $item->item_info.item_neighborhood)}">{$item->item_info.item_neighborhood}</a></span>
              {/if}
            </div>    
          </div>
        {*cycle name="itemsponres" values=",<div style='clear: both; height: 10px;'></div>"*}
      {/section}
      	</div>
      	<div class="item_sponsored_results_nav">
        	<a href="browse_items.php?sponsored=1">{lang_print id=11350629}</a>
        </div>  	
        <div class="item_clear"></div>
      </div>
      {/if}
      {* END SPONSORED ITEMS *}
    	
      {* START POPULAR NEIGHBORHOODS *}
      {if !empty($popular_neighborhoods) }
      <div class='item_popular_locations'>
        <div class='item_popular_locations_header'>{lang_print id=11350454}</div>
        <ul>
        {if $itemcat_id > 0}{capture assign=neighborhood_itemcat_id}&itemcat_id={$itemcat_id}{/capture}{/if}
        {foreach from=$popular_neighborhoods key=popular_neighborhood item=popular_neighborhood_count}
          <li><a href="{$url->url_create('item_neighborhood', null, $popular_neighborhood)}{$neighborhood_itemcat_id}">{$popular_neighborhood}</a> <span>{$popular_neighborhood_count}</span></li>
        {/foreach}
        </ul>
        <div style="text-align: right; padding: 10px">
        	<a href="browse_items_locations.php?itemcat_id={$itemcat_id}">{lang_print id=11350450}</a>
        </div>
      </div>
      {/if}
      {* END POPULAR NEIGHBORHOODS *}
     	
    {* END RIGHT COLUMN *}
    </td>
    </tr>
    </table>
    
    
    
    {include file='footer.tpl'}
    
  6. Вячеслав Novice member


    Offline
    Message Count:
    36
    Likes Received:
    0
    Наверно просто забыли.
  7. Prado Challenge Everything


    Offline
    • Admin
    Message Count:
    3,191
    Likes Received:
    786
    My version of phpFox:
    3.0.0
    В админке в настройках ничего нет про деньги? Доллары, евро, фунты?
  8. Вячеслав Novice member


    Offline
    Message Count:
    36
    Likes Received:
    0
    нет нету таких настроек чтоб изменить валюту.
  9. nart07 Novice member


    Offline
    Message Count:
    54
    Likes Received:
    1
    Warning: Invalid argument supplied for foreach() in /var/www/u1053571/data/www/kavkazbezcenzuri.ru/admin/admin_header_radcodes.php on line 11
    ???????
  10. altair User


    Offline
    Message Count:
    1
    Likes Received:
    0
    чтобы установить Marketplace нужно было установить плагин редкоде, поставил редкоде появилась ошибка :
    Warning: Invalid argument supplied for foreach() in Z:\home\sola\www\admin\admin_header_radcodes.php on line 12
    патом еще вот это:
    Plugin type=geo (v3) is required in order to install this plugin.
    Помогите пожалуста, ваще запарился

Share This Page

All rights reserved SocEngine.ru ©