Fork me on GitHub

Rapport de message :*
 

Re: Myreferer page d acceuil module n hesite plus

Titre du sujet : Re: Myreferer page d acceuil module n hesite plus
par abpf83 sur 23/04/2014 13:26:30

salut voila les code du templates myreferer_index.html

j ai pas su comprendre le pb a la ligne 12!
pour le reste c du chinois
syntax error: unclosed tag \{if} (opened line 5). (Smarty_Compiler.class.php, line 317)
<{if $numrows}>
    <
table class="table">
    <
tr>
        <
td colspan="4">
        <{if 
$pagenav}><div class="itemPermaLink"><{$pages}><{$pagenav}></div><{/if}>
        </
td>
        <
td colspan="2">
        [
b]<div class="itemPermaLink" align="right"><{$numrows}></div>[/b]
        </
td>
    </
tr>
    <
div class="itemBody">
    <
tr>
        <
th>    N°        </th>
        <
th>    <a href="<{$navlink}>&ord=referer">    <{$current}></a>    </th>
        <
th>    <{$page}>                                </th>
        <
th>    <a href="<{$navlink}>&ord=visit">    <{$visit}>    </a>    </th>
        <
th>    <a href="<{$navlink}>&ord=date">    <{$date}>    </a>    </th>
        <
th>    <{$icon}>                                </th>

    </
tr>

    <{foreach 
item=info from=$infos}>
        <
tr class="<{cycle values="even,odd"}>">
            <
td align="center">
            <{
$info.count}>
            </
td>

            <
td>
            <{if 
$info.ref_url}>
                <
a href="<{$info.ref_url}>" title="<{$info.alt_referer}>" target="_blank"><{$info.referer}></a>
            <{else}>
                <{
$info.referer}>
            <{/if}>
            </
td>

            <
td align="center">
            <{if 
$info.page}>
                <
a href="<{$info.page}>" target="_blank"><img src="images/icon/view.gif" alt="<{$info.page}>" /></a>
            <{else}>
                /
            <{/if}>
            </
td>

            <
td align="center">
                <{
$info.visit}>
            </
td>

            <
td align="center">
                <{
$info.date}>
            </
td>

            <
td align="center">
                <{
$info.icon}>
            </
td>
        </
tr>
    <{/foreach}>
    </
div>
    </
table>


    <{if 
$pagenav}></>
        <
div align="right" class="itemPermaLink"><{$pages}><{$pagenav}></div>
        <
/>
    <{/if}>

    <{if 
$admin}></p>
        <
div class="itemFoot" align="right"><{$admin}></div>
    <{/if}>

<{/if}>
</
div>

<{include 
file="db:myreferer_foot.html"}>

Edition pour correction
Propulsé avec XOOPS | Graphisme adapté par Tatane, Grosdunord, Montuy337513

111 Personne(s) en ligne (88 Personne(s) connectée(s) sur Forum) | Utilisateur(s): 0 | Invité(s): 111 | Plus ...