예제 #1
0
        <!-- LEAVE COMMENT -->
        <div class="row">
            <div class="span12 column-divider">
                <span class="column-divider-icon pull-left"><i class="icon-comment comment-icon-fix"></i></span>
                <h4>Schreib' was</h4>
            </div>
        </div>

        <div id="contact_form">
            <form action="/comment/place/<?php 
print base64_encode($entry->id + 1337);
?>
#comments" id="form" method="post">
                <input type="hidden" name="backto" value="<?php 
print base64_encode("/places/{$place->username}/{$entry->id}/" . helper::slug($entry->headline));
?>
"/>
                <textarea rows="6" class="placeholder span12" name="comment" placeholder="Kommentar"></textarea>
                <input class="submit darkbtn" type="submit" value="Abschicken">
            </form>
        </div>

        <br>

        <!-- SHOW COMMENTS -->
        <a name="comments"></a>

        <div class="row">
            <div class="span12 column-divider">
                <span class="column-divider-icon pull-left"><i class="icon-comments comment-icon-fix"></i></span>
예제 #2
0
                <?php 
if (count($newest_entries)) {
    ?>
                    <ul class="no-list">
                        <?php 
    foreach ($newest_entries as $newest_entry) {
        ?>
                            <li style="margin:10px 0;">
                                <a href="/places/<?php 
        print $newest_entry->User->username;
        ?>
/<?php 
        print $newest_entry->id;
        ?>
/<?php 
        print helper::slug($newest_entry->headline);
        ?>
">
                                    <?php 
        print $newest_entry->headline;
        ?>
                                </a><br>

                                <p><i class="icon-time"></i> <?php 
        print date('d.m.Y - H:i:s', strtotime($newest_entry->created));
        ?>
</p>
                            </li>
                        <?php 
    }
    ?>
예제 #3
0
    print $place->username;
    ?>
</h5>
                        <ul class="cats">
                            <?php 
    foreach ($diaries as $diary) {
        ?>
                                <li>
                                    <a href="/places/diary/<?php 
        print $place->username;
        ?>
/<?php 
        print $diary->id;
        ?>
/<?php 
        print helper::slug($diary->name);
        ?>
">
                                        <?php 
        print $diary->name;
        ?>
                                    </a>
                                </li>
                            <?php 
    }
    ?>
                        </ul>
                    </div>
                <?php 
}
?>