47 lines
1.9 KiB
Smarty
47 lines
1.9 KiB
Smarty
<div class="gallery gallery2" style="margin:0px;padding:0px;">
|
|
<div class='header'><a href="http://bateworld.com/browse_groups.php" title="Groups">Latest Groups</a></div>
|
|
<div class="portal-content" style="background:#000;margin:0px;padding:0px;">
|
|
<div class="holder" style="margin:0px;padding:0px;width:520px;padding-bottom:10px;padding-top:6px;">
|
|
<ul style="background:#000;margin:0px;padding:0px;padding-left:6px;">
|
|
{section name=group_loop loop=$groups}
|
|
<li style="background:#000;width:250px;margin:0px;padding:0px 0px 0px 5px;">
|
|
<div style="padding-left:0px;">
|
|
<a href='{$url->url_create("group", $smarty.const.NULL, $groups[group_loop].group->group_info.group_id)}' style="font-size:11px !important;">
|
|
{$groups[group_loop].group->group_info.group_title|html_entity_decode:$smarty.const.ENT_QUOTES:'utf-8'|truncate:40:"...":true}
|
|
</a>
|
|
</div>
|
|
<a href='{$url->url_create("group", $smarty.const.NULL, $groups[group_loop].group->group_info.group_id)}'>
|
|
<img src='{$groups[group_loop].group->group_photo("./images/nophoto.png", TRUE)}' border='0' width='60' height='60' style="float:left;margin-right:5px;"/>
|
|
</a>
|
|
<div style="padding-right:5px;">
|
|
{$groups[group_loop].group->group_info.group_desc|strip_tags|truncate:80:"...":true}
|
|
</div>
|
|
</li>
|
|
{/section}
|
|
</ul>
|
|
</div>
|
|
</div>
|
|
<div class="control">
|
|
<a href="javascript:void(0);" class="prev">prev</a>
|
|
<a href="javascript:void(0);" class="next">next</a>
|
|
</div>
|
|
</div>
|
|
<div class='portal_spacer'></div>
|
|
|
|
<script type="text/javascript">
|
|
{literal}
|
|
|
|
window.addEvent("domready", function() {
|
|
|
|
var gallery2 = new slideGallery($$(".gallery2"), {
|
|
steps: 6,
|
|
mode: "circle",
|
|
autoplay: true,
|
|
duration: 9000,
|
|
speed: 800
|
|
|
|
});
|
|
|
|
});
|
|
{/literal}
|
|
</script> |