Location: PHPKode > projects > Teampopor > teampopor-0.5/teampopor/modules/group/network-group.tpl.php
<?php
/**
 * page callback: network/%network/group/%group
 * arguments: $network, $group
 */

add_js(get_path('module', 'network') . '/network_updates.js');

global $theme;
add_css(get_path('theme', $theme) . '/network_updates.css');
?>
<div class="feed">
  <div class="post-home">
    <div class="post-module">
      <div class="post-module-in">
        <?php print get_form('share_form', $network, $group) ?>
      </div>
    </div>
  </div>
  <div class="content">
    <div id="feed-content">
      <?php $result = db_query("SELECT * FROM {messages} WHERE thread_mid = 0 AND gid = %d ORDER BY timestamp DESC", $group->gid); ?>
      <ul class="chron">
        <?php while ($message = db_fetch_object($result)) { ?>
          <?php message_prepare($message) ?>
          <?php print theme('feed_item', $message, $network, $group) ?>
        <?php } ?>
      </ul>
    </div>
  </div>
</div>
Return current item: Teampopor