AAAAAAAAAAAAAAAAAAAAAAAAA
//
// Draw a gradient rectangle. Must use by hand.
// Function will use 256 colors.
//
// $startcol = the start color for the fade.
// $endcolor = the end color, colors will be averaged in between.
//
function grad($image, $height, $width, $startcol, $endcol,$scale,$x,$y)
{
$scale = 10;
$x = $x*$scale;
$y = $y*$scale;
$height = $height*$scale;
$width = $width*$scale;
$colstr = "";
$ct = 0;
$sr = hexdec(substr($startcol, 0, 2));
$sg = hexdec(substr($startcol, 2, 2));
$sb = hexdec(substr($startcol, 4, 2));
$er = hexdec(substr($endcol, 0, 2));
$eg = hexdec(substr($endcol, 2, 2));
$eb = hexdec(substr($endcol, 4, 2));
@$rstep = ($er - $sr)/255;
@$gstep = ($eg - $sg)/255;
@$bstep = ($eb - $sb)/255;
$rotate = 0;
$place=0;
while($rotate < $height) {
$space= $height/255;
$thiscolr = abs(($sr+($rstep*$rotate)));
$thiscolg = abs(($sg+($gstep*$rotate)));
$thiscolb = abs(($sb+($bstep*$rotate)));
$col[$rotate] = imagecolorallocate ($image, $thiscolr,
$thiscolg, $thiscolb);
$l = imagefilledrectangle ($image, $x, $y+$place+$space,
$x+$width, $y+$place+$space, $col[$rotate]);
$rotate++;
$place=$place+$space;
}
}
BBBBBBBBBBBBBBBBBBBBBBBBBBBB
CCCCCCCCCCCCCCCCCCCCCCCC
function grad($image, $height, $width, $startcol, $endcol,$scale,$x,$y){}
DDDDDDDDDDDDDDDDDDDDDDDD
$inthemenu = "no";
$dirlist= array("NA");
$lenlist= array("NA");
$txtitem="AAAAAA";
EEEEEEEEEEEEEEEEEEEEEEEEEEEEE