Filter:   InfoImg
download print.php
Language: PHP
LOC: 51
Project Info
Free Market(freemarket)
Server: SourceForge
Type: cvs
...\freemarket\freemarket\www\
   .htaccess
   admin.php
   article.php
   auth.inc.php
   backend.php
   banners.php
   comments.php
   counter.php
   dhtmllib.js
   download.php
   ezhilit.php
   faq.php
   footer.php
   friend.php
   header.php
   index.php
   lang-croatian.php
   lang-danish.php
   lang-dutch.php
   lang-english.php
   lang-french.php
   lang-german.php
   lang-indonesia.php
   lang-indonesian.php
   lang-italian.php
   lang-japanese.php
   lang-korean.php
   lang-latvian.php
   lang-norwegian.php
   lang-polish.php
   lang-portuguese.php
   lang-quebec.php
   lang-russian.php
   lang-simplifiedchinese.php
   lang-slovak.php
   lang-spanish.php
   lang-swedish.php
   lang-TEMPLATE.php
   ...-traditionalchinese.php
   links.php
   mainfile.php
   memberlist.php
   memberslist.php
   pollBooth.php
   pollcomments.php
   postinfo.html
   print.php
   problems.php
   scroller.js
   search.php
   sections.php
   stats.php
   submit.php
   top.php
   topics.php
   user.php

<?PHP

######################################################################
# PHP-NUKE: Web Portal System
# ===========================
#
# Copyright (c) 2000 by Francisco Burzi (fburzi@ncc.org.ve)
# http://phpnuke.org
#
# This module is to generate a printer friendly page of the story
#
# This program is free software. You can redistribute it and/or modify
# it under the terms of the GNU General Public License as published by
# the Free Software Foundation; either version 2 of the License.
######################################################################

if(!isset($mainfile)) { include("mainfile.php"); }
if(!isset($sid)) { exit(); }

    if (!isset($config)) {include("config.php");}
    dbconnect();
    $result=mysql_query("select title, time, hometext, bodytext, topic, notes from stories where sid=$sid");
    list($title, $time, $hometext, $bodytext, $topic, $notes) = mysql_fetch_row($result);
    $result2=mysql_query("select topictext from topics where topicid=$topic");
    list($topictext) = mysql_fetch_row($result2);
    formatTimestamp($time);
    $bodytext = nl2br($bodytext);
    echo "
    <html>
    <head><title>$sitename</title></head>
    <body bgcolor=FFFFFF text=000000>
    <table border=0><tr><td>
    
    <table border=0 width=640 cellpadding=0 cellspacing=1 bgcolor=000000><tr><td>
    <table border=0 width=640 cellpadding=20 cellspacing=1 bgcolor=FFFFFF><tr><td>
    <center>
    <font face=$site_font size=+2>
    <b>$title</b><br>
    <font size=1><b>".translate("Date:")."</b> $datetime<br><b>".translate("Topic:")."</b> $topictext<br><br>
    </center><font size=2>
    $hometext<br><br>
    $notes<br><br>
    $bodytext<br><br>
    </td></tr></table></td></tr></table>
    <br><br><center>
    <font face=$site_font size=2>
    ".translate("This article comes from")." $sitename<br>
    <a href=$nuke_url>$nuke_url</a><br><br>
    ".translate("The URL for this story is:")."<br>
    <a href=$nuke_url/article.php?sid=$sid>$nuke_url/article.php?sid=$sid</a>

    </td></tr></table>
    </body>
    </html>
    ";
?>