示例#1
0
        ?>
" style="margin: 16px 0px;">
                                        <div class="arhiv-box-text">
                                            <p style="cursor:pointer;" onclick="window.location='/<?php 
        echo $lng . '/' . get_pre_url_table($lng, $item->table, $item->id) . $item->{'url_' . $lng};
        ?>
'" ><?php 
        echo $item->{'name_' . $lng};
        ?>
</p>
                                            <p><?php 
        echo read_more($item->{'text_' . $lng}, 50);
        ?>
 
                                                <a href="/<?php 
        echo $lng . '/' . get_pre_url_table($lng, $item->table, $item->id) . $item->{'url_' . $lng};
        ?>
">[...]</a>
                                            </p>
                                        </div>
                                        <div class="date-social-arhiv">
                                            <span class="name"><?php 
        echo $item->autor;
        ?>
</span>
                                            <div class="date-time-arhiv">
                                                <span><i class="mdi mdi-calendar-clock"></i><?php 
        echo show_date($item->data);
        ?>
</span>
                                                <span><i class="mdi mdi-eye"></i><?php 
示例#2
0
        echo $ultima_ora_art['photo_big'];
        ?>
">
                                            <h3 class="art-title"><a href="/<?php 
        echo $lng . '/' . get_pre_url_table($lng, $ultima_ora_art['table'], $ultima_ora_art['id']) . $ultima_ora_art['url_' . $lng];
        ?>
"><?php 
        echo $ultima_ora_art['name_' . $lng];
        ?>
</a></h3>
                                            <div class="side-article-info">
                                                <h4 class="art-text"> <?php 
        echo read_more($ultima_ora_art['text_' . $lng], 35);
        ?>
                                                    <a class="all-text" href="/<?php 
        echo $lng . '/' . get_pre_url_table($lng, $ultima_ora_art['table'], $ultima_ora_art['id']) . $ultima_ora_art['url_' . $lng];
        ?>
">[...]</a>
                                                </h4>
                                                <div class="date-social">
                                                    <div class="soc-thumb">
                                                        <!--<img class="img-responsive" src="/assets/images/articles/thumb1.jpg">-->
                                                        <span class="name"><?php 
        echo $ultima_ora_art['autor'];
        ?>
</span>
                                                    </div>
                                                    <div class="info_card">
                                                        <div class="date-time">
                                                            <span><i class="mdi mdi-calendar-clock"></i><?php 
        echo show_date($ultima_ora_art['data']);