2015-03-06 23:33:54 +00:00
|
|
|
<vn>
|
2015-09-11 09:37:16 +00:00
|
|
|
<div id="title">
|
|
|
|
<h1><t>Home</t></h1>
|
|
|
|
</div>
|
2015-03-06 23:33:54 +00:00
|
|
|
<div id="form" class="home">
|
2015-07-23 15:58:48 +00:00
|
|
|
<div class="column mansonry" id="news-column">
|
|
|
|
<htk-repeater form-id="new">
|
|
|
|
<db-model>
|
|
|
|
SELECT title, date_time, text, image, id FROM news
|
|
|
|
WHERE tag != 'course'
|
|
|
|
ORDER BY priority, date_time DESC
|
|
|
|
</db-model>
|
|
|
|
<template>
|
2015-07-20 07:34:43 +00:00
|
|
|
<div class="masonry-box">
|
2015-03-09 08:36:54 +00:00
|
|
|
<div class="new">
|
2015-07-17 14:34:42 +00:00
|
|
|
<div class="top">
|
|
|
|
<h2><htk-text form="new" column="title"/></h2>
|
2015-09-28 11:37:31 +00:00
|
|
|
<!-- <p class="new-info">
|
2015-07-17 14:34:42 +00:00
|
|
|
<htk-text format="_%a, %e %b %Y" form="new" column="date_time"/>
|
|
|
|
</p>
|
2015-09-28 11:37:31 +00:00
|
|
|
--> <div class="new-text">
|
2015-07-17 14:34:42 +00:00
|
|
|
<htk-html form="new" column="text"/>
|
|
|
|
</div>
|
2015-03-09 08:36:54 +00:00
|
|
|
</div>
|
2015-07-17 14:34:42 +00:00
|
|
|
<htk-image directory="news/full" form="new" column="image"/>
|
|
|
|
</div>
|
2015-03-09 08:36:54 +00:00
|
|
|
</div>
|
2015-07-23 15:58:48 +00:00
|
|
|
</template>
|
|
|
|
</htk-repeater>
|
|
|
|
</div>
|
2015-03-06 23:33:54 +00:00
|
|
|
</div>
|
|
|
|
</vn>
|