~ubuntu-branches/ubuntu/maverick/ilohamail/maverick

« back to all changes in this revision

Viewing changes to IlohaMail/source/cp.php

  • Committer: Bazaar Package Importer
  • Author(s): Joerg Jaspert
  • Date: 2004-02-04 13:44:37 UTC
  • Revision ID: james.westby@ubuntu.com-20040204134437-kz8j3ui2qa7oq8z2
Tags: upstream-0.8.12
ImportĀ upstreamĀ versionĀ 0.8.12

Show diffs side-by-side

added added

removed removed

Lines of Context:
 
1
<?php
 
2
/////////////////////////////////////////////////////////
 
3
//      
 
4
//      source/cp.php
 
5
//
 
6
//      (C)Copyright 2000-2002 Ryo Chijiiwa <Ryo@IlohaMail.org>
 
7
//
 
8
//              This file is part of IlohaMail.
 
9
//              IlohaMail is free software released under the GPL 
 
10
//              license.  See enclosed file COPYING for details,
 
11
//              or see http://www.fsf.org/copyleft/gpl.html
 
12
//
 
13
/////////////////////////////////////////////////////////
 
14
 
 
15
/********************************************************
 
16
 
 
17
        AUTHOR: Ryo Chijiiwa <ryo@ilohamail.org>
 
18
        PURPOSE:
 
19
                Display color grid and corresponding color codes
 
20
        PRE-CONDITIONS:
 
21
                $user - Session ID
 
22
        COMMENTS:
 
23
********************************************************/
 
24
 
 
25
        include("../include/super2global.inc");
 
26
 
 
27
        include("../include/header_main.inc");
 
28
        include("../lang/".$my_prefs["lang"]."cp.inc");
 
29
 
 
30
        $r=array("00", "33", "66", "99", "CC", "FF");
 
31
        $g=array("00", "33", "66", "99", "CC", "FF");
 
32
        $b=array("00", "33", "66", "99", "CC", "FF");
 
33
 
 
34
        echo "<p><table>";
 
35
        while (list($rkey, $r_code) = each ($r)){
 
36
                reset($g);
 
37
                while (list($gkey, $g_code) = each ($g)){
 
38
                        echo "<tr>";
 
39
                        reset($b);
 
40
                        while (list($bkey, $b_code) = each ($b)){
 
41
                                $code="#".$r_code.$g_code.$b_code;
 
42
                                echo "<td>$code</td><td width=60 bgcolor=\"$code\"></td>";
 
43
                        }
 
44
                        echo "</tr>\n";
 
45
                }
 
46
        }
 
47
        echo "</table>";
 
48
        
 
49
?>
 
50
</body></html>
 
 
b'\\ No newline at end of file'