<?xml version="1.0" encoding="UTF-8"?>
<!-- generator="bbPress/1.0.2" -->
<rss version="2.0"
	xmlns:content="http://purl.org/rss/1.0/modules/content/"
	xmlns:dc="http://purl.org/dc/elements/1.1/"
	xmlns:atom="http://www.w3.org/2005/Atom">
	<channel>
		<title>Support Forum - User Favorites: bmerced</title>
		<link><a href='http://www.kriesi.at/support/profile/bmerced'>bmerced</a></link>
		<description>Support Forum - User Favorites: bmerced</description>
		<language>en-US</language>
		<pubDate>Mon, 20 May 2013 05:20:09 +0000</pubDate>
		<generator>http://bbpress.org/?v=1.0.2</generator>
		<textInput>
			<title><![CDATA[Search]]></title>
			<description><![CDATA[Search all topics from these forums.]]></description>
			<name>q</name>
			<link>http://www.kriesi.at/support/search.php</link>
		</textInput>
		<atom:link href="http://www.kriesi.at/support/rss/profile/" rel="self" type="application/rss+xml" />

		<item>
			<title>Ismael on "loop_search. php File Content Deleted"</title>
			<link>http://www.kriesi.at/support/topic/loop_search-php-file-content-deleted#post-78469</link>
			<pubDate>Thu, 04 Oct 2012 03:39:23 +0000</pubDate>
			<dc:creator>Ismael</dc:creator>
			<guid isPermaLink="false">78469@http://www.kriesi.at/support/</guid>
			<description>&#60;p&#62;Hi bmerced,&#60;/p&#62;
&#60;p&#62;Just download the theme again in themeforest.net. Unzip the downloaded file and look for loop_search.php. :)&#60;/p&#62;
&#60;p&#62;Or you can just paste this code inside loop_search.php:&#60;br /&#62;
&#60;pre&#62;&#60;code&#62;&#38;lt;?php
global $avia_config;

do_action( &#38;#39;avia_action_query_check&#38;#39; , &#38;#39;loop-search&#38;#39; );

// check if we got posts to display:
if (have_posts()) :
	$first = true;

	$counterclass = &#38;quot;&#38;quot;;
	$counter = 1;
	$page = (get_query_var(&#38;#39;paged&#38;#39;)) ? get_query_var(&#38;#39;paged&#38;#39;) : 1;
	if($page &#38;gt; 1) $counter = ((int) ($page - 1) * (int) get_query_var(&#38;#39;posts_per_page&#38;#39;)) +1;

	while (have_posts()) : the_post();	

		//check for preview images:
		$image = &#38;quot;&#38;quot;;
		$slides = avia_post_meta(&#38;#39;slideshow&#38;#39;);

		if( is_array($slides) &#38;amp;&#38;amp; !empty( $slides[0][&#38;#39;slideshow_image&#38;#39;] ) )
		{
			$image = avia_image_by_id($slides[0][&#38;#39;slideshow_image&#38;#39;], &#38;#39;widget&#38;#39;, &#38;#39;image&#38;#39;);
		}

		if(!$first) echo avia_advanced_hr(false);
		echo &#38;quot;&#38;lt;a class=&#38;#39;post-entry news-content&#38;#39; title=&#38;#39;&#38;quot;.get_the_title().&#38;quot;&#38;#39; href=&#38;#39;&#38;quot;.get_permalink().&#38;quot;&#38;#39;&#38;gt;&#38;quot;;
		echo &#38;quot;&#38;lt;span class=&#38;#39;search-result-counter $counterclass&#38;#39;&#38;gt;$counter&#38;lt;/span&#38;gt;&#38;quot;;
		echo &#38;quot;&#38;lt;span class=&#38;#39;news-link&#38;#39;&#38;gt;&#38;quot;;
		if($image)
		{
			echo &#38;quot;&#38;lt;span class=&#38;#39;news-thumb&#38;#39;&#38;gt;&#38;quot;;
			echo $image;
			echo &#38;quot;&#38;lt;/span&#38;gt;&#38;quot;;
		}

		echo &#38;quot;&#38;lt;span class=&#38;#39;news-excerpt&#38;#39;&#38;gt;&#38;quot;;
		echo &#38;quot;&#38;lt;strong class=&#38;#39;news-headline&#38;#39;&#38;gt;&#38;quot;.get_the_title();
		echo &#38;quot;&#38;lt;span class=&#38;#39;news-time&#38;#39;&#38;gt;&#38;quot;.get_the_time(&#38;quot;F j, Y, g:i a&#38;quot;).&#38;quot;&#38;lt;/span&#38;gt;&#38;quot;;
		echo &#38;quot;&#38;lt;/strong&#38;gt;&#38;quot;;

		the_excerpt();
		echo &#38;quot;&#38;lt;/span&#38;gt;&#38;quot;;

		echo &#38;quot;&#38;lt;/span&#38;gt;&#38;quot;;

		echo &#38;quot;&#38;lt;/a&#38;gt;&#38;lt;!--end post-entry--&#38;gt;&#38;quot;;
		$first = false;
		$counter++;
		if($counter &#38;gt;= 100) $counterclass = &#38;quot;nowidth&#38;quot;;
	endwhile;
	else: 

?&#38;gt;	

	&#38;lt;div class=&#38;quot;entry entry-content&#38;quot; id=&#38;#39;search-fail&#38;#39;&#38;gt;
		&#38;lt;p&#38;gt;&#38;lt;strong&#38;gt;&#38;lt;?php _e(&#38;#39;Nothing Found&#38;#39;, &#38;#39;avia_framework&#38;#39;); ?&#38;gt;&#38;lt;/strong&#38;gt;&#38;lt;br/&#38;gt;
		   &#38;lt;?php _e(&#38;#39;Sorry, no posts matched your criteria. Try another search?&#38;#39;, &#38;#39;avia_framework&#38;#39;); ?&#38;gt;
		   &#38;lt;?php get_search_form(); ?&#38;gt;
	    &#38;lt;/p&#38;gt;

		&#38;lt;div class=&#38;#39;hr_invisible&#38;#39;&#38;gt;&#38;lt;/div&#38;gt;  

		&#38;lt;?php _e(&#38;#39;You might want to consider some of our suggestions to get better results:&#38;#39;, &#38;#39;avia_framework&#38;#39;); ?&#38;gt;&#38;lt;/p&#38;gt;
		&#38;lt;ul&#38;gt;
			&#38;lt;li&#38;gt;&#38;lt;?php _e(&#38;#39;Check your spelling.&#38;#39;, &#38;#39;avia_framework&#38;#39;); ?&#38;gt;&#38;lt;/li&#38;gt;
			&#38;lt;li&#38;gt;&#38;lt;?php _e(&#38;#39;Try a similar keyword, for example: tablet instead of laptop.&#38;#39;, &#38;#39;avia_framework&#38;#39;); ?&#38;gt;&#38;lt;/li&#38;gt;
			&#38;lt;li&#38;gt;&#38;lt;?php _e(&#38;#39;Try using more than one keyword.&#38;#39;, &#38;#39;avia_framework&#38;#39;); ?&#38;gt;&#38;lt;/li&#38;gt;
		&#38;lt;/ul&#38;gt;

		&#38;lt;div class=&#38;#39;hr_invisible&#38;#39;&#38;gt;&#38;lt;/div&#38;gt;
		&#38;lt;h3 class=&#38;#39;&#38;#39;&#38;gt;&#38;lt;?php _e(&#38;#39;Feel like browsing some posts instead?&#38;#39;, &#38;#39;avia_framework&#38;#39;); ?&#38;gt;&#38;lt;/h3&#38;gt;

&#38;lt;?php
the_widget(&#38;#39;avia_combo_widget&#38;#39;, &#38;#39;error404widget&#38;#39;, array(&#38;#39;widget_id&#38;#39;=&#38;gt;&#38;#39;arbitrary-instance-&#38;#39;.$id,
        &#38;#39;before_widget&#38;#39; =&#38;gt; &#38;#39;&#38;lt;div class=&#38;quot;widget avia_combo_widget&#38;quot;&#38;gt;&#38;#39;,
        &#38;#39;after_widget&#38;#39; =&#38;gt; &#38;#39;&#38;lt;/div&#38;gt;&#38;#39;,
        &#38;#39;before_title&#38;#39; =&#38;gt; &#38;#39;&#38;lt;h3 class=&#38;quot;widgettitle&#38;quot;&#38;gt;&#38;#39;,
        &#38;#39;after_title&#38;#39; =&#38;gt; &#38;#39;&#38;lt;/h3&#38;gt;&#38;#39;
    ));

	echo &#38;quot;&#38;lt;/div&#38;gt;&#38;quot;;

	endif;
	echo avia_pagination();
?&#38;gt;&#60;/code&#62;&#60;/pre&#62;
&#60;p&#62;Hope this helps. :)&#60;/p&#62;
&#60;p&#62;Regards,&#60;br /&#62;
Ismael
&#60;/p&#62;</description>
		</item>
		<item>
			<title>bmerced on "loop_search. php File Content Deleted"</title>
			<link>http://www.kriesi.at/support/topic/loop_search-php-file-content-deleted#post-78450</link>
			<pubDate>Wed, 03 Oct 2012 20:47:40 +0000</pubDate>
			<dc:creator>bmerced</dc:creator>
			<guid isPermaLink="false">78450@http://www.kriesi.at/support/</guid>
			<description>&#60;p&#62;By mistake, I delete the loop_search.php file contents (coherence theme), how can I recover it?
&#60;/p&#62;</description>
		</item>

	</channel>
</rss>
