All pastes #403056 Raw Edit

Miscellany

public text v1 · immutable
·published 2007-03-20 03:59 UTC
rendered paste body
<br>
<table width="520" border="0" cellpadding="13" align="centre">
  <tr valign="top">
<h2><a href="http://www.transmission.cc/aggregator">Video Feeds from Transmission Participants</a></h2>
<br>

    <td width="260"><div align="left"><h4><a href="http://asia247.tv/">Asia247</a></h4> 
        <?php
/* Code based on aggregator.module */
$id=12; /* set this to the id of the aggregator feed */
if ($feed = db_fetch_object(db_query('SELECT fid, title, block FROM {aggregator_feed} WHERE fid = %d', $id))) {
            $result = db_query_range('SELECT * FROM {aggregator_item} WHERE fid = %d ORDER BY timestamp DESC, iid DESC', $feed->fid, 0, $feed->block);       
            $output = '<div class="more-link">'. l(t('more'), 'aggregator/sources/'. $feed->fid, array('title' => t('View this feed\'s recent news.'))) .'</div>';
}
$items = array();
while ($item = db_fetch_object($result)) {
    $items[] = theme('aggregator_block_item', $item);
}
print theme('item_list', $items) . $output;
?>
    </div></td>

    <td width="260"><div align="left"><h4><a href="http://ngvision.org">New Global Vision</a></h4>
        <?php
/* Code based on aggregator.module */
$id=2; /* set this to the id of the aggregator feed */
if ($feed = db_fetch_object(db_query('SELECT fid, title, block FROM {aggregator_feed} WHERE fid = %d', $id))) {
            $result = db_query_range('SELECT * FROM {aggregator_item} WHERE fid = %d ORDER BY timestamp DESC, iid DESC', $feed->fid, 0, $feed->block);       
            $output = '<div class="more-link">'. l(t('more'), 'aggregator/sources/'. $feed->fid, array('title' => t('View this feed\'s recent news.'))) .'</div>';
}
$items = array();
while ($item = db_fetch_object($result)) {
    $items[] = theme('aggregator_block_item', $item);
}
print theme('item_list', $items) . $output;
?>
</div></td>

<tr valign="top">
 <td width="250"><div align="left"><h4><a href="http://engagemedia.org">EngageMedia</a></h4>
        <?php
/* Code based on aggregator.module */
$id=1; /* set this to the id of the aggregator feed */
if ($feed = db_fetch_object(db_query('SELECT fid, title, block FROM {aggregator_feed} WHERE fid = %d', $id))) {
            $result = db_query_range('SELECT * FROM {aggregator_item} WHERE fid = %d ORDER BY timestamp DESC, iid DESC', $feed->fid, 0, $feed->block);       
            $output = '<div class="more-link">'. l(t('more'), 'aggregator/sources/'. $feed->fid, array('title' => t('View this feed\'s recent news.'))) .'</div>';
}
$items = array();
while ($item = db_fetch_object($result)) {
    $items[] = theme('aggregator_block_item', $item);
}
print theme('item_list', $items) . $output;
?>
    </div></td>

    <td width="250"><div align="left"><h4><a href="http://clearerchannel.org">Clearer Channel</a></h4>
        <?php
/* Code based on aggregator.module */
$id=4; /* set this to the id of the aggregator feed */
if ($feed = db_fetch_object(db_query('SELECT fid, title, block FROM {aggregator_feed} WHERE fid = %d', $id))) {
            $result = db_query_range('SELECT * FROM {aggregator_item} WHERE fid = %d ORDER BY timestamp DESC, iid DESC', $feed->fid, 0, $feed->block);       
            $output = '<div class="more-link">'. l(t('more'), 'aggregator/sources/'. $feed->fid, array('title' => t('View this feed\'s recent news.'))) .'</div>';
}
$items = array();
while ($item = db_fetch_object($result)) {
    $items[] = theme('aggregator_block_item', $item);
}
print theme('item_list', $items) . $output;
?>
</div></td>
<tr valign="top">
    <td width="250"><div align="left"><h4>Indy Torrents</h4>
        <?php
/* Code based on aggregator.module */
$id=10; /* set this to the id of the aggregator feed */
if ($feed = db_fetch_object(db_query('SELECT fid, title, block FROM {aggregator_feed} WHERE fid = %d', $id))) {
            $result = db_query_range('SELECT * FROM {aggregator_item} WHERE fid = %d ORDER BY timestamp DESC, iid DESC', $feed->fid, 0, $feed->block);       
            $output = '<div class="more-link">'. l(t('more'), 'aggregator/sources/'. $feed->fid, array('title' => t('View this feed\'s recent news.'))) .'</div>';
}
$items = array();
while ($item = db_fetch_object($result)) {
    $items[] = theme('aggregator_block_item', $item);
}
print theme('item_list', $items) . $output;
?>   </div></td>

    <td width="250"><div align="left"><h4><a href="http://ourmedia.org">Our Media</a></h4>
        <?php
/* Code based on aggregator.module */
$id=8; /* set this to the id of the aggregator feed */
if ($feed = db_fetch_object(db_query('SELECT fid, title, block FROM {aggregator_feed} WHERE fid = %d', $id))) {
            $result = db_query_range('SELECT * FROM {aggregator_item} WHERE fid = %d ORDER BY timestamp DESC, iid DESC', $feed->fid, 0, $feed->block);       
            $output = '<div class="more-link">'. l(t('more'), 'aggregator/sources/'. $feed->fid, array('title' => t('View this feed\'s recent news.'))) .'</div>';
}
$items = array();
while ($item = db_fetch_object($result)) {
    $items[] = theme('aggregator_block_item', $item);
}
print theme('item_list', $items) . $output;
?>
    </div></td>

<tr valign="top">
    <td width="250"><div align="left"><h4>
<a href="http://newscham.net">NewsCham</a></h4>
        <?php
/* Code based on aggregator.module */
$id=11; /* set this to the id of the aggregator feed */
if ($feed = db_fetch_object(db_query('SELECT fid, title, block FROM {aggregator_feed} WHERE fid = %d', $id))) {
            $result = db_query_range('SELECT * FROM {aggregator_item} WHERE fid = %d ORDER BY timestamp DESC, iid DESC', $feed->fid, 0, $feed->block);       
            $output = '<div class="more-link">'. l(t('more'), 'aggregator/sources/'. $feed->fid, array('title' => t('View this feed\'s recent news.'))) .'</div>';
}
$items = array();
while ($item = db_fetch_object($result)) {
    $items[] = theme('aggregator_block_item', $item);
}
print theme('item_list', $items) . $output;
?>
    </div></td>

    <td width="250"><div align="left"><h4><a href="http://video.indymedia.org/">Video.Indymedia</a></h4>
        <?php
/* Code based on aggregator.module */
$id=3; /* set this to the id of the aggregator feed */
if ($feed = db_fetch_object(db_query('SELECT fid, title, block FROM {aggregator_feed} WHERE fid = %d', $id))) {
            $result = db_query_range('SELECT * FROM {aggregator_item} WHERE fid = %d ORDER BY timestamp DESC, iid DESC', $feed->fid, 0, $feed->block);       
            $output = '<div class="more-link">'. l(t('more'), 'aggregator/sources/'. $feed->fid, array('title' => t('View this feed\'s recent news.'))) .'</div>';
}
$items = array();
while ($item = db_fetch_object($result)) {
    $items[] = theme('aggregator_block_item', $item);
}
print theme('item_list', $items) . $output;
?>
</div></td>

<tr valign="top">
    <td width="250"><div align="left"><h4><a href="http://www.zalea.org/">Zalea</a></h4>
        <?php
/* Code based on aggregator.module */
$id=6; /* set this to the id of the aggregator feed */
if ($feed = db_fetch_object(db_query('SELECT fid, title, block FROM {aggregator_feed} WHERE fid = %d', $id))) {
            $result = db_query_range('SELECT * FROM {aggregator_item} WHERE fid = %d ORDER BY timestamp DESC, iid DESC', $feed->fid, 0, $feed->block);       
            $output = '<div class="more-link">'. l(t('more'), 'aggregator/sources/'. $feed->fid, array('title' => t('View this feed\'s recent news.'))) .'</div>';
}
$items = array();
while ($item = db_fetch_object($result)) {
    $items[] = theme('aggregator_block_item', $item);
}
print theme('item_list', $items) . $output;
?>
    </div></td>
 <td width="250"><div align="left"><h4><a href="http://v2v.cc">v2v</a></h4>
        <?php
/* Code based on aggregator.module */
$id=5; /* set this to the id of the aggregator feed */
if ($feed = db_fetch_object(db_query('SELECT fid, title, block FROM {aggregator_feed} WHERE fid = %d', $id))) {
            $result = db_query_range('SELECT * FROM {aggregator_item} WHERE fid = %d ORDER BY timestamp DESC, iid DESC', $feed->fid, 0, $feed->block);       
            $output = '<div class="more-link">'. l(t('more'), 'aggregator/sources/'. $feed->fid, array('title' => t('View this feed\'s recent news.'))) .'</div>';
}
$items = array();
while ($item = db_fetch_object($result)) {
    $items[] = theme('aggregator_block_item', $item);
}
print theme('item_list', $items) . $output;
?>
    </div></td>

  </tr>

</table>