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

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

global $theme;
add_css(get_path('theme', $theme) . '/network_updates.css');
add_css(get_path('module', 'network') . '/network-private.css', 'theme');
?>
<div class="feed">
  <div class="post-home">
    <div class="post-module">
      <div class="post-module-in">
        <?php print get_form('share_form', $network, NULL, TRUE) ?>
      </div>
    </div>
  </div>
  <div class="content">
    <div id="feed-content">
      <?php
      global $user;
      $result = db_query_range("SELECT m.* FROM {recipients} r LEFT JOIN {messages} m ON m.mid = r.mid WHERE m.type = -1 AND m.nid = %d AND (r.uid = %d OR m.uid = %d) ORDER BY m.timestamp DESC", $network->nid, $user->uid, $user->uid, 0, 20);
      ?>
      <ul class="chron">
        <?php while ($message = db_fetch_object($result)) { ?>
          <?php message_prepare($message) ?>
          <?php print theme('feed_item', $message, $network) ?>
        <?php } ?>
      </ul>
    </div>
  </div>
</div>
Return current item: Teampopor