コード例 #1
0
ファイル: party_results.php プロジェクト: neodyme60/pouet2.0
 function RenderContent()
 {
   if ($_GET["font"]=="none")
   {
     echo "<pre>";
     echo _html( process_ascii( file_get_contents( get_local_partyresult_path( $_GET["which"], $_GET["when"] ) ) ) );
     echo "</pre>";
   }
   else
     printf("<img src='img_ascii.php?results=%d&amp;year=%d&amp;font=%d' alt='nfo'/>\n",$_GET["which"],$_GET["when"],$_GET["font"]);
 }
コード例 #2
0
ファイル: prod_nfo.php プロジェクト: neodyme60/pouet2.0
 function RenderBody()
 {
   $title = "nfo added by "._html($this->nfo->user->nickname)." on "._html($this->nfo->added);
   echo "<div class='content' title='".$title."'>\n";
   if ($_GET["font"]=="none")
   {
     echo "<pre>";
     $text = file_get_contents( get_local_nfo_path( $_GET["which"] ) );
     echo _html( process_ascii( $text ) );
     echo "</pre>";
   }
   else
     printf("<img src='img_ascii.php?nfo=%d&amp;font=%d' alt='nfo'/>\n",$_GET["which"],$_GET["font"]);
   echo "</div>\n";
 }