FORUM DARKERS

Tecnologia & Informática => Programação => PhP/Html => Topic started by: rog on 12 de April , 2006, 09:29:07 PM

Title: avaliaçao de um trabalho meu
Post by: rog on 12 de April , 2006, 09:29:07 PM
e isso ai

podem avaliam mesmo

o site original da cliente e esse

http://www.helenapetit.com (http://www.helenapetit.com)

eu mexi no grafismo, acrescentei um modulo de foto dinamico de foto e troquei o formulario de contato

botei 200 fotos (baixa resoluçao porque so tem 10MO para todo site)

o modulo e assim :
quando cria uma pasta, o script acrescenta automaticamente ela no menu
quando bota foto, o script acrescenta automaticamente o link

http://rgirardin.dyndns.org (http://rgirardin.dyndns.org)

rog
Title: Re: avaliaçao de um trabalho meu
Post by: Anonymous on 12 de April , 2006, 09:30:43 PM
Quote from: "rog"e isso ai

podem avaliam mesmo

Lixo...
Title: Re: avaliaçao de um trabalho meu
Post by: DarkGenesis on 12 de April , 2006, 10:01:21 PM
Bom...

 2 Negativos é expulsão...

Adeus Lammer.

Peneirar geral.
Title: Re: avaliaçao de um trabalho meu
Post by: bloodrain on 12 de April , 2006, 11:02:17 PM
@rog
parabenss foooooodaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaoooooooooooooooooo ;D (vou fazer que nem vc fez no meu mas de maneira sarcastica)
qual eh a utlidade disso?
uns menus que NAO FUNCIONAM o principal sim mas o das fts que vc botou tanta pilha NADA(pelomenos no firefox)?
hahahahahahahahaha viu como eh bom falar assim do trabalho dos outros?
se vc nao pode fazer um comentario util nao faça

edit:
vi agora tbm nao tem formulario nenhum
Title: Re: avaliaçao de um trabalho meu
Post by: abobre on 13 de April , 2006, 12:31:58 AM
Lammer

 Que atitulde besta !!!

rog

  Eu gostei do site, nao está com cores mto forte e resolucao está adequada tanto para 800 X 600 e 1024 X 768 !!

Parabens !
Title: Re: avaliaçao de um trabalho meu
Post by: RC on 13 de April , 2006, 02:08:04 AM
rog, acho que as cores poderiam melhorar, o site poderia ser centralizado, menus mais leves, uma animação mais agradável! Mas  ta valendo kra, o importante eh começar!!!!





rox_nxr
Title: Re: avaliaçao de um trabalho meu
Post by: rog on 13 de April , 2006, 03:12:51 AM
@bloodrain

eu nao entendi direito

mas eu coloquei um timer de 6 segundas para fechar o popup das fotos automaticamente sera que isso ?

essa
http://rgirardin.dyndns.org/helena/index.php?op=3 (http://rgirardin.dyndns.org/helena/index.php?op=3)

foi um saco para fazer

########################################################################################################################
# Gallerie
elseif($_GET['op']==3)
{
$display = "
                </td>
              </tr>
            </tbody>
  </table>
</td>
      </tr>
    </tbody>
</table>
</td>
  </tr>
</tbody>
</table>
<table border=\"0\" cellpadding=\"0\" cellspacing=\"0\" height=\"321\" width=\"785\">
<tbody>
<tr>
    <td valign=\"top\" width=\"50\">
<img src=\"./img/gauche.jpg\" height=\"323\" width=\"50\">
</td>
<td height=\"321\" valign=\"top\" width=\"735\">
<table class=\"gallerie\" border=\"0\" cellpadding=\"0\" cellspacing=\"0\" width=\"735\" align=\"left\">
";
##############################################################################
# on mvc standart M part
##############################################################################
# directory scanning
$array_dir = scan_dir();
# sorting array
usort($array_dir,"strnatcasecmp");
#
##############################################################################
# on mvc standart V part
##############################################################################
$sum =0;
# scanning subdirectory for file
for($i=0;$i < count($array_dir);$i++)
{
# full path to the foto
$array_foto[$i] = scan_file($array_dir[$i]);
# count files in each directory
$count_file[$i] = count($array_foto[$i]);
$sum = $sum + $count_file[$i];
#
# sorting array
usort($array_foto[$i],"strnatcasecmp");
#
# display button
#
# extracting the dirname
$array_button[$i] =  stristr($array_dir[$i],"/");
$array_button[$i] =  substr($array_button[$i],1);
#
# cleaning the dirname by changing any non alfanum char on under score
$array_button[$i] = strtolower(eregi_replace("[^A-Z0-9]","_",$array_button[$i]));
$array_button[$i] = eregi_replace("_"," ",$array_button[$i]);
# print("<li>".($array_button[$i]));

for($j=0;$j< count($array_foto[$i]);$j++)
{
# filename with extension
$array_filename[$i][$j] = basename($array_foto[$i][$j]);
# how long is the extension
$dot_pos = strpos($array_filename[$i][$j],".");
# extracting the extension
$array_filename[$i][$j] = strtolower(substr($array_filename[$i][$j],0,$dot_pos));
#print("<li>".($array_filename[$i][$j]));
#print($array_foto[$i][$j]);
  }
}
if(isset($_GET['oc'])&& is_numeric($_GET['oc']))
{
# total pages
$tot_page = ceil($count_file[$_GET['oc']]/$foto_by_page);
#
if(isset($_GET['od'])&& is_numeric($_GET['od']))
{
$ini = ($_GET['od']*$foto_by_page);
$current_page = $_GET['od']+1;
$display_page = "";
if($current_page > 1)
{
$display_page .="<td align=left onmouseover=\"this.className='tabover'\" onmouseout=\"this.className='tabnormal'\" class=\"gallerie\"><a href=\"".$_SERVER['PHP_SELF'];
$display_page .="?op=";
$display_page .=$_GET['op'];
$display_page .="&oc=";
$display_page .=$_GET['oc'];
$display_page .="&od=";
$display_page .=$_GET['od']-1;
$display_page .="\"><<<</a></td>";
}
elseif($current_page == 1)
{
$display_page .="<td></td>";
}
#
$display_page .= "<td>   page : ".$current_page."  </td>";
#
if($tot_page > $current_page)
{
$display_page .="<td align=\"right\" onmouseover=\"this.className='tabover'\" onmouseout=\"this.className='tabnormal'\" class=\"gallerie\"><a href=\"".$_SERVER['PHP_SELF'];
$display_page .="?op=";
$display_page .=$_GET['op'];
$display_page .="&oc=";
$display_page .=$_GET['oc'];
$display_page .="&od=";
$display_page .=$_GET['od']+1;
$display_page .="\">>>>  </a></td>";
}
else
{
$display_page .= "<td></td>";
}
}
else
{
$ini = 0;
$current_page = 1;
$display_page = "<td></td><td>   page : ".$current_page."  </td>";
if($tot_page > 1)
{
$display_page .="<td align=\"right\" onmouseover=\"this.className='tabover'\" onmouseout=\"this.className='tabnormal'\" class=\"gallerie\"><a href=\"".$_SERVER['PHP_SELF'];
$display_page .="?op=";
$display_page .=$_GET['op'];
$display_page .="&oc=";
$display_page .=$_GET['oc'];
$display_page .="&od=";
$display_page .=$_GET['od']+1;
$display_page .="\">>>>  </td></a>";
}
else
{
$display_page .= "<td></td>";
}
}
}
$loop = $foto_by_page/$width_split;
##############################################################################
# on mvc standart C part
##############################################################################
$display .= "
<tr>
<td height=\"15\" colspan=\"8\">
 
</td>
</tr>
<tr>
<td colspan=\"8\">
<font face=\"Arial\" size=\"6\" color=\"#59B296\"><span style=\"text-transform: capitalize\">
   catalogue ($sum)
</span></font>
</td>
</tr>
<tr>
<td height=\"15\" colspan=\"8\">
 
</td>
</tr>";
#59B296




##############################################################################
# if od is defined
##############################################################################
if(isset($_GET['oc'])&& is_numeric($_GET['oc']))
{
###########################
# ini line (button)
$display .= "
<tr bgcolor=\"#000099\">
<td colspan=\"4\">  "
.$array_button[$_GET['oc']]." (".$count_file[$_GET['oc']].")
</td>
<td colspan=\"".($width_split - 4)."\" align=\"right\">
<table border=\"0\" cellpadding=\"0\" cellspacing=\"0\" class=\"gallerie\">
<tr>
<td width=\"30\">
</td>
<td width=\"50\">
</td>
<td width=\"30\">
</td>
</tr>
<tr>
$display_page
</tr>
</table>
</td>
</tr>";

/* $display .= "</b></td><td colspan=\"".($width_split - 4)."\" align=\"right\" onmouseover=\"this.className='tabover'\" onmouseout=\"this.className='tabnormal'\" class=\"gallerie\">$display_page</td>
</tr>";*/
###########################
# end line + ini line (fotos)
#
for($i=0;$i<$loop;$i++)
{
$display .="<tr>";
#
$n=0;
#
for($j=$ini;$j< ($ini+$width_split);$j++)
{
if(!empty($array_foto[$_GET['oc']][$j]))
{
###########################
# ini line (fotos)
$display .= "
<td align=\"center\" width=\"$width_foto\" height=\"$height_foto\">
<a href='javascript:PopupImage(\"".$array_foto[$_GET['oc']][$j]."\")'>
<img border=\"0\" src=\"".$array_foto[$_GET['oc']][$j]."\" width=\"$width_foto\" height=\"$height_foto\" alt=\"".
$array_button[$_GET['oc']]."   ".$array_filename[$_GET['oc']][$j]."\">
</a>
</td> \r";
#
$n++;
}
#
if(($j+1)%($width_split) ==0)
{
$display .="</tr>";
if($ini + $width_split == $ini + $n)
{
$display .=$display_nat;
}
else
{
#$display .= "<td></td>";
}
$display .="<tr>";
}
}
#####################################################
# title foto
$n=0;
#
for($j=$ini;$j< ($ini+$width_split);$j++)
{
if(!empty($array_foto[$_GET['oc']][$j]))
{
###########################
# ini line (fotos)
$display .= "
<td align=\"center\" width=\"$width_foto\">
<a href='javascript:PopupImage(\"".$array_foto[$_GET['oc']][$j]."\")'>".
$array_filename[$_GET['oc']][$j].
"</a>
</td>";
$n++;
#
}
if(($j+1)%($width_split) ==0)
{
$display .="</tr>";
if($ini + $width_split == $ini + $n)
{
$display .=$display_nat;
}
else
{
#$display .= "<td></td>";
}
$display .="<tr>";
}
}
$ini = $ini + $width_split;
##########################################################
# loop by line
$display .="</tr>";
}
}
##############################################################################
# if od isn't defined
##############################################################################
else
{
$ini_menu=0;
$index=0;
$index_menu = 0;
$index_file = 0;

#
for($i=0;$i< count($array_button);$i = $i + $pic_by_menu)
{
###########################################################
# display menu
$display .= "
<tr bgcolor=\"#000099\">";
for($n=0;$n < $menu_by_line ; $n++)
{
if(!empty($array_button[$index]))
{
###########################
# ini line (button)
$display .= "
<td align=\"center\" colspan=\"".$pic_by_menu."\" onmouseover=\"this.className='tabover'\" onmouseout=\"this.className='tabnormal'\" style=\"border: 1 solid #939323\">
<a href=\"".$_SERVER['PHP_SELF']."?op=3&oc=$index\">
   ".
$array_button[$index]." (".$count_file[$index].")
</a>
</td>";
###########################
# end line + ini line (fotos)
$index++;
}
}
#
$display .="</tr><tr>";
#
###########################################################
# display pic
for($n=0;$n < $menu_by_line; $n++)
{
for($j=0;$j< $pic_by_menu ;$j++)
{
if(!empty($array_foto[$index_menu][$j]))
{
###########################
# ini line (fotos)
$display .= "
<td align=\"center\" width=\"$width_foto\" height=\"$height_foto\">
<a href='javascript:PopupImage(\"".$array_foto[$index_menu][$j]."\")'>
<img border=\"0\" src=\"".$array_foto[$index_menu][$j]."\" width=\"$width_foto\" height=\"$height_foto\" alt=\"".$array_button[$index_menu]." ".
$array_filename[$index_menu][$j]."\">
</a>
</td> \r";
}
}
$index_menu++;
}

###########################
# end line $menu_by_line = 4;
$display .="</tr>".$display_nat;
###########################################################
# display pic
###########################
# ini line (fotos title)
$display .= "<tr>";

for($n=0;$n < $menu_by_line; $n++)
{
for($j=0;$j< $pic_by_menu ;$j++)
{
if(!empty($array_foto[$index_file][$j]))
{
###########################
# ini line (fotos)
$display .= "<td align=\"center\" width=\"$width_foto\"><a href='javascript:PopupImage(\"".$array_foto[$index_file][$j]."\")'>";
$display .= $array_filename[$index_file][$j];
$display .= "</a></td>";
}
}
$index_file++;
}
###########################
# end line
$display .="</tr>".$display_nat ;
}
$index++;
}
$display .= "
</td>
</tr>
</table>
</td>
</tr>
</tbody>
</table>";
}

rog
Title: Re: avaliaçao de um trabalho meu
Post by: Anonymous on 13 de April , 2006, 07:50:25 AM
cara o site num esta mau

mas vc poderia melhorar algumas coisas como a cor em algumas partes

boa sorte

flw's
Title: Re: avaliaçao de um trabalho meu
Post by: Symersky on 13 de April , 2006, 06:15:42 PM
Quote from: "overquestood"cara o site num esta mau

mas vc poderia melhorar algumas coisas como a cor em algumas partes

boa sorte

flw's


Concordo com ele..

Symersky
Title: Re: avaliaçao de um trabalho meu
Post by: bloodrain on 14 de April , 2006, 02:02:01 PM
nao sei qto vcs mas aki nao anenhum os unico links estao clicaveis soh o das categorias
Title: Re: avaliaçao de um trabalho meu
Post by: rog on 14 de April , 2006, 02:05:28 PM
@bloodrain

os links sao popup

talvez as regulagem de segurança do seu navegador desabilitam a abertura de link em popup

entao tem que abilitar a abertura de popup pelo dominio rgirardin.dyndns.org

rog