<{* $Id: rssc0_index.html,v 1.7 2006/09/11 07:59:27 ohwada Exp $ *}>

<link rel="stylesheet" type="text/css" media="all" href="<{$xoops_url}>/modules/<{$dirname}>/rssc.css" />

&nbsp;
<a href="<{$xoops_url}>/"><{$lang_home}></a>
 &gt;&gt; 
<a href="<{$xoops_url}>/modules/<{$dirname}>/"><{$xoops_modulename}></a>
 &gt;&gt; 
<b><{$lang_main}></b>
<br /><br />

<h3 align="center"><{$xoops_modulename}></h3>

<{if $index_desc != ''}>
  <{$index_desc}>
<{/if}>

<table class="outer" width="100%" cellspacing="0">
<tr><td class="even">
&nbsp;
<a href="<{$xoops_url}>/modules/<{$dirname}>/index.php"><{$lang_main}></a>
&nbsp;|&nbsp;
<a href="<{$xoops_url}>/modules/<{$dirname}>/headline.php"><{$lang_headline}></a>
&nbsp;
</td></tr></table>
<br />

<div align="center">
<form action="<{$xoops_url}>/modules/<{$dirname}>/index.php" method="post">
<input type="text" id="query" name="query" size="30" maxlength="255" value="<{$rssc_query}>" />
<select id="andor" name="andor" size="1">
<option value="AND"   <{$rssc_and}>   ><{$lang_all}></option>
<option value="OR"    <{$rssc_or}>    ><{$lang_any}></option>
<option value="exact" <{$rssc_exact}> ><{$lang_exact}></option>
</select>
<input type="hidden" name="action" value="results" />
<input type="submit" value="<{$lang_search}>" />
</form>
</div><br />

<{$lang_total}><br /><br />

<a href="<{$xoops_url}>/modules/<{$dirname}>/rss.php?mode=rdf&amp;query=<{$rssc_query_urlencode}>&amp;andor=<{$rssc_andor}>&amp;limit=<{$feed_limit}>&amp;start=<{$feed_start}>" target="_blink" >
<img src="<{$xoops_url}>/modules/<{$dirname}>/images/rdf.png" border="0" alt="rdf" /></a> 
<a href="<{$xoops_url}>/modules/<{$dirname}>/rss.php?mode=rss&amp;query=<{$rssc_query_urlencode}>&amp;andor=<{$rssc_andor}>&amp;limit=<{$feed_limit}>&amp;start=<{$feed_start}>" target="_blink" >
<img src="<{$xoops_url}>/modules/<{$dirname}>/images/rss.png" border="0" alt="rss" /></a> 
<a href="<{$xoops_url}>/modules/<{$dirname}>/rss.php?mode=atom&amp;query=<{$rssc_query_urlencode}>&amp;andor=<{$rssc_andor}>&amp;limit=<{$feed_limit}>&amp;start=<{$feed_start}>" target="_blink" >
<img src="<{$xoops_url}>/modules/<{$dirname}>/images/atom.png" border="0" alt="atom" /></a> 
<br /><br />

<{if $rssc_show == 1}>
  <h4><{$lang_latest}></h4>

  <{foreach item=feed from=$feeds}>
    <div>
    <a href="<{$xoops_url}>/modules/<{$dirname}>/single_feed.php?fid=<{$feed.fid}>">
    <img src="<{$xoops_url}>/modules/<{$dirname}>/images/text.gif" border="0" alt="feed" /></a>
    <{if $is_admin && (($feed.ltype == 1)||($feed.lid == 0)) }>
      <a href="<{$xoops_url}>/modules/<{$dirname}>/admin/link_manage.php?op=addlink&amp;fid=<{$feed.fid}>">
      <img src="<{$xoops_url}>/modules/<{$dirname}>/images/addlink.gif" border="0" alt="addlink" /></a>
      <a href="<{$xoops_url}>/modules/<{$dirname}>/admin/black_manage.php?op=addlist&amp;fid=<{$feed.fid}>">
      <img src="<{$xoops_url}>/modules/<{$dirname}>/images/blacklist.gif" border="0" alt="blacklist" /></a>
    <{/if}>
    <{if ($feed.link != '') }>
      <a href="<{$feed.link}>" target="_blank"><{$feed.title}></a>
    <{else}>
      <{$feed.title}>
    <{/if}>
    <{if ($feed.site_link != '') && ($feed.site_title != '') }>
      in
      <a href="<{$xoops_url}>/modules/<{$dirname}>/single_link.php?lid=<{$feed.lid}>">
      <img src="<{$xoops_url}>/modules/<{$dirname}>/images/dir.gif" border="0" alt="link" /></a> 
      <a href="<{$feed.site_link}>" target="_blank"><{$feed.site_title}></a>
    <{/if}>
    <{if ($feed.updated_long != '') }>
      (<{$feed.updated_long}>)
    <{/if}>
    <{if ($feed.enclosure_url != '') }>
      <br />
      <a href="<{$feed.enclosure_url}>" target="_blank">
      <img src="<{$xoops_url}>/modules/<{$dirname}>/images/sound2.gif" border="0" alt="sound" /> 
      <{$lang_podcast}></a> : 
      <{if ($feed.enclosure_type != '') }>
        <{$feed.enclosure_type}> 
      <{/if}>
      <{if ($feed.enclosure_length_kb != '') }>
        <{$feed.enclosure_length_kb}> <{$unit_kb}> 
      <{/if}>
      <br />
    <{/if}>
    <{if ($feed.summary != '') }>
      <div class="rssc_summary"><{$feed.summary}></div>
    <{/if}>
    <{if ($feed.content != '') }>
      <div class="rssc_content"><{$feed.content}></div>
    <{/if}>
    <br />
    </div>
  <{/foreach}>

  <{if ($rssc_navi != '') }>
    <div align='center'><{$rssc_navi}></div>
  <{/if}>

<{elseif ($rssc_show == 2) || ($rssc_show == 3)}>

  <h4><{$lang_result}></h4>
  <{$lang_keyword}>
  <{foreach item=keyword from=$rssc_keywords}>
    <strong><{$keyword}></strong> 
  <{/foreach}>
  <br />

  <{if $rssc_show_candidate }>
    <br />
    <{$lang_candidate}>:<br />
    <{foreach item=candidate from=$rssc_candidates}>
      <strong><{$candidate.keyword}></strong>(<{$candidate.lang}>) 
    <{/foreach}>
    <br />
  <{/if}>

  <{if $rssc_show_ignore }>
    <br />
    <{$lang_ignore}><br />
    <{foreach item=ignore from=$rssc_ignores}>
    <strong><{$ignore}></strong> 
    <{/foreach}>
    <br />
  <{/if}>

  <{if $rssc_show == 2}>
    <br />
    <{$rssc_found}><br /><br />

    <{foreach item=feed from=$feeds}>
      <div>
      <a href="<{$xoops_url}>/modules/<{$dirname}>/single_feed.php?fid=<{$feed.fid}>&amp;keywords=<{$rssc_merged_urlencode}>">
      <img src="<{$xoops_url}>/modules/<{$dirname}>/images/text.gif" border="0" alt="feed" /></a>
      <{if $is_admin && (($feed.ltype == 1)||($feed.lid == 0)) }>
        <a href="<{$xoops_url}>/modules/<{$dirname}>/admin/link_manage.php?op=addlink&amp;fid=<{$feed.fid}>">
        <img src="<{$xoops_url}>/modules/<{$dirname}>/images/addlink.gif" alt="addlink" /></a>
        <a href="<{$xoops_url}>/modules/<{$dirname}>/admin/black_manage.php?op=addlist&amp;fid=<{$feed.fid}>">
        <img src="<{$xoops_url}>/modules/<{$dirname}>/images/blacklist.gif" alt="blacklist" /></a>
      <{/if}>
      <{if ($feed.link != '') }>
        <a href="<{$feed.link}>" target="_blank"><{$feed.title}></a>
      <{else}>
        <{$feed.title}>
      <{/if}>
      <{if ($feed.site_link != '') && ($feed.site_title != '') }>
        in 
        <a href="<{$xoops_url}>/modules/<{$dirname}>/single_link.php?lid=<{$feed.lid}>&amp;keywords=<{$rssc_merged_urlencode}>">
        <img src="<{$xoops_url}>/modules/<{$dirname}>/images/dir.gif" border="0" alt="link" /></a> 
        <a href="<{$feed.site_link}>" target="_blank"><{$feed.site_title}></a>
      <{/if}>
      <{if ($feed.updated_long != '') }>
        (<{$feed.updated_long}>)
      <{/if}>
      <{if ($feed.summary != '') }>
        <div class="rssc_summary"><{$feed.summary}></div>
      <{/if}>
      </div>
      <{if ($feed.content != '') }>
        <div class="rssc_content"><{$feed.content}></div>
      <{/if}>
      <br />
    <{/foreach}>

    <{if ($rssc_navi != '') }>
      <div align='center'><{$rssc_navi}></div>
    <{/if}>

  <{else}>
    <font color="red"><{$rssc_reason}></font><br />

  <{/if}>

<{else}>
  <font color="red"><{$rssc_reason}></font><br />

<{/if}>

<hr />
<font size='-1'>execution time <{$rssc_time}> sec </font><br />
<div align="right"><a href="http://linux2.ohwada.net/" target="_blank"><font size="-1">Powered by Happy Linux</font></a></div>
