File: templates/publisher_search.tpl

Recommend this page to a friend!
  Classes of Michael Beck  >  XOOPS Publisher Module  >  templates/publisher_search.tpl  >  Download  
File: templates/publisher_search.tpl
Role: Auxiliary data
Content type: text/plain
Description: Auxiliary data
Class: XOOPS Publisher Module
Publish static HTML content and article with XOOPS
Author: By
Last change:
Date: 1 year ago
Size: 3,511 bytes
 

 

Contents

Class file image Download
<{if $search_info}>
    <div class="resultMsg"> <{$search_info}></div>
    <{if $results}>
        <{foreach item=result from=$results}>
            <div class="item">
                <strong><a href="<{$result.link}>"><{$result.title}></a></strong><br>
                <{$result.author}> <{$result.datesub}>
                <{if $result.text}>
                    <br>
                    <{$result.text}>
                <{/if}>
            </div>
            <div class="clear"></div>
        <{/foreach}>
    <{/if}>
<{/if}>

<form name="search" action="search.php" method="post">
    <table class="outer" border="0" cellpadding="1" cellspacing="0" align="center" width="95%">
        <tr>
            <td>
                <table border="0" cellpadding="1" cellspacing="1" width="100%" class="head">
                    <tr>
                        <td class="head" width="10%" align="right">
                            <strong><{$smarty.const._SR_KEYWORDS}></strong></td>
                        <td class="even">
                            <input type="text" name="term" title="term" value="<{$search_term}>" size="50">
                        </td>
                    </tr>
                    <tr>
                        <td class="head" align="right">
                            <strong><{$smarty.const._SR_TYPE}></strong></td>
                        <td class="even"><{$type_select}></td>
                    </tr>
                    <tr>
                        <td class="head" align="right">
                            <strong><{$smarty.const._CO_PUBLISHER_CATEGORY}></strong>
                        </td>
                        <td class="even"><{$category_select}></td>
                    </tr>
                    <tr>
                        <td class="head" align="right">
                            <strong><{$smarty.const._SR_SEARCHIN}></strong></td>
                        <td class="even"><{$searchin_select}></td>
                    </tr>
                    <tr>
                        <td class="head" align="right">
                            <strong><{$smarty.const._CO_PUBLISHER_UID}></strong>&nbsp;
                        </td>
                        <td class="even">
                            <input type="text" name="uname" title="uname" value="<{$search_user}>">
                        </td>
                    </tr>
                    <tr>
                        <td class="head" align="right">
                            <strong><{$smarty.const._CO_PUBLISHER_SORTBY}></strong>&nbsp;
                        </td>
                        <td class="even"><{$sortby_select}></td>
                    </tr>
                    <{if $search_rule}>
                        <tr>
                            <td class="head" align="right">
                                <strong><{$smarty.const._SR_SEARCHRULE}></strong>&nbsp;
                            </td>
                            <td class="even"><{$search_rule}></td>
                        </tr>
                    <{/if}>
                    <tr>
                        <td class="head" align="right">&nbsp;</td>
                        <td class="even">
                            <input type="submit" name="submit" value="<{$smarty.const._SUBMIT}>">&nbsp;
                            <input type="reset" name="cancel" value="<{$smarty.const._CANCEL}>">
                        </td>
                </table>
            </td>
        </tr>
    </table>
</form><!-- end module contents -->

For more information send a message to info at phpclasses dot org.