         _
    ___ | |_  ___  ------      ------
   | . ||   || . ||  |\  \    /  /\  \
   |  _||_|_||  _||  | \  \  /  /  \  \______
   |_|       |_|  |__|  \__\/__/    \__\ASTER|
                                        ----- 
     MaxDownloads Verso 1.0
                    by Max Junior
              E-mail: phpmaster@imasters.com.br
              Suporte: suporte@portalcurraisnovos.com
              http://www.portalcurraisnovos.com
  Suporte:

1- Tabelas:

# phpMyAdmin MySQL-Dump
# http://phpwizard.net/phpMyAdmin/
#
# Host: localhost Database : maxdownloads

# --------------------------------------------------------
#
# Table structure for table 'cat'
#

CREATE TABLE cat (
   codigo int(11) NOT NULL auto_increment,
   nome varchar(255) NOT NULL,
   clicks int(11) DEFAULT '0' NOT NULL,
   code int(11) DEFAULT '-1',
   cat1 varchar(225) NOT NULL,
   PRIMARY KEY (codigo),
   KEY code (code),
   KEY code_2 (code)
);

#
# Dumping data for table 'cat'
#

INSERT INTO cat (codigo, nome, clicks, code, cat1) VALUES ( '1', 'php', '23', '0', 'php');
INSERT INTO cat (codigo, nome, clicks, code, cat1) VALUES ( '2', 'teste1', '9', '0', 'asp');
INSERT INTO cat (codigo, nome, clicks, code, cat1) VALUES ( '3', 'asp', '1', '-1', '');

# --------------------------------------------------------
#
# Table structure for table 'download'
#

CREATE TABLE download (
   codigo int(11) NOT NULL auto_increment,
   nome varchar(255) NOT NULL,
   cat varchar(255) NOT NULL,
   tamanho varchar(255) NOT NULL,
   endereco varchar(255) NOT NULL,
   clicks int(11) DEFAULT '0' NOT NULL,
   data text,
   cat1 varchar(225) NOT NULL,
   PRIMARY KEY (codigo)
);

#
# Dumping data for table 'download'
#

INSERT INTO download (codigo, nome, cat, tamanho, endereco, clicks, data, cat1) VALUES ( '1', 'teste', 'php', '10', 'http://localhost', '5', '04/2003', 'php');
INSERT INTO download (codigo, nome, cat, tamanho, endereco, clicks, data, cat1) VALUES ( '2', 'teste2', 'teste1', '10', 'http://localhost', '0', '05/2003', 'asp');
INSERT INTO download (codigo, nome, cat, tamanho, endereco, clicks, data, cat1) VALUES ( '8', 'teste7', 'php', '', 'http://localhost', '1', '06/2003', 'php');
INSERT INTO download (codigo, nome, cat, tamanho, endereco, clicks, data, cat1) VALUES ( '11', 'teste8', 'asp', '', 'http://localhost', '0', '06/2003', 'asp');


2-Ajuda

2.1 - O cone indicando se h downloads novos na categoria s aparecerar se tiver downloads cadastrados na categoria.