Qbasicnews.com
November 13, 2019, 02:27:49 AM *
Welcome, Guest. Please login or register.

Login with username, password and session length
News: Back to Qbasicnews.com | QB Online Help | FAQ | Chat | All Basic Code | QB Knowledge Base
 
   Home   Help Search Login Register  
Pages: [1]
  Print  
Author Topic: Minor Maintenance work  (Read 2151 times)
oracle
*/-\*
*****
Posts: 3652



WWW
« on: August 13, 2004, 01:30:22 AM »

I've just done some small maintenance on the forums.

Firstly: new languages installed today, and updated to GeSHi 1.0.1 (so the highlighting works better than ever Cheesy)

[syntax="php"]   if( count($faq_block[$i]) )
   {
      $template->assign_block_vars('faq_block', array(
         'BLOCK_TITLE' => $faq_block_titles[$i])
      );
      $template->assign_block_vars('faq_block_link', array(
         'BLOCK_TITLE' => $faq_block_titles[$i])
      );[/syntax]

[syntax="html"]<html>
<head>
<title>subOracle created by Oracle</title>
<meta http-equiv="Content-Type" content="text/html; charset=iso-8859-1">
</head>

<body bgcolor="#FFFFFF" text="#000000">

<table width="100%" height="100%" cellspacing="0" cellpadding="0" border="0">
   <tr>
      <td align="center" valign="middle"><a href="http://qbnz.com/phpBB/" target="_new">subOracle style by Oracle</a></td>
   </tr>
</table>

</body>
</html>[/syntax]

[syntax="css"]/* Overall syntax block styles (should be like code block styles */
.syntax-code {
   font-family: Courier, 'Courier New', sans-serif;
   font-size: 12px;
   color: #FAFAFA;
   background-color: #161616;
   border: 1px solid #BCBCBC;
}[/syntax]

[syntax="ada"]with Text_IO;
use Text_IO;
procedure Hello3 is
   str: String := "Hello World !";
begin
   Put_Line(str);
end Hello3;[/syntax]

[syntax="pascal"]program hello(output);

    procedure WriteResponseHeader;
    begin
        writeln('content-type: text/html');
        writeln
    end;

begin
    WriteResponseHeader;
    writeln('<HTML>');
    writeln('<HEAD>');
    writeln('<TITLE>IriePascal Hello World Program</TITLE>');
    writeln('</HEAD>');
    writeln('<BODY>');
    writeln('<BIG> Hello world!!! </BIG>');
    writeln('</BODY>');
    writeln('</HTML>')
end.[/syntax]

[syntax="java"]import javax.swing.JOptionPane;

public class Foo {
   public static void main ( String[] args ) {
      JOptionPane.showMessageDialog(null, "hello, world!");
      int n = args[0];
      for ( int i = 0; i < n; i++ )
      {
         System.out.println(i);
      }
   }
}[/syntax]

Other languages include NullSoft installer script (nsis), Apache log files (apache), ASM (asm), SQL (sql) and C (c).

Next: For those of you who use subOracle (yes, both of us Wink) I've increased the size of the text in quotes and in code blocks to make it easier to read.

In Helius I've fixed up slightly the image in the top-left corner.

And in all styles I've fixed the age display next to each posters' posts.

Enjoy the improvements Smiley
Logged

HQSneaker
Wandering Guru
***
Posts: 394



WWW
« Reply #1 on: August 13, 2004, 07:24:34 AM »

Looks much better with SmartDark than with subOracle :wink:

EDIT:: waa! it's telling my age =P
Logged
whitetiger0990
__/--\__
*****
Posts: 2964



WWW
« Reply #2 on: August 13, 2004, 04:33:55 PM »

Very cool updates.


*Pokes at age*
Logged


[size=10]Back by popular demand!
I will byte and nibble you bit by bit until nothing remains but crumbs.[/size]
Pages: [1]
  Print  
 
Jump to:  

Powered by MySQL Powered by PHP Powered by SMF 1.1.21 | SMF © 2015, Simple Machines Valid XHTML 1.0! Valid CSS!