header('Content-type: image/png');
imagecreate(320, 350);
$back = imagecreatefrompng("black.png");
$Ecoco = imagecreatefrompng("Ecoco.png");
$Wcoco = imagecreatefrompng('Wcoco.png');
//DRAW LINE ON TOP AND ADD IMAGES
$white=imagecolorallocate($back, 255, 255, 255);
imagesetthickness($back, 5);
imageline($back, 25, 25, 225, 25, $white);
imagecopy($back, $Wcoco, 0, 0, 0, 0, 30, 50);
imagecopy($back, $Ecoco, 220, 0, 0, 0, 30, 50);
//DRAW CIRCLES FOR STRINGS
$count=350;
$x=-30;
while($x<=$count){
$x=$x+10;
imagefilledellipse($back, 50, $x, 5, 5, $white);
}
$count=350;
$x=-30;
while($x<=$count){
$x=$x+10;
imagefilledellipse($back, 100, $x, 5, 5, $white);
}
$count=350;
$x=-30;
while($x<=$count){
$x=$x+10;
imagefilledellipse($back, 150, $x, 5, 5, $white);
}
$count=350;
$x=-30;
while($x<=$count){
$x=$x+10;
imagefilledellipse($back, 200, $x, 5, 5, $white);
}
//BEGIN ADDING IMAGES
$plot=150;
$y=-50;
while($y<=$plot){
$y=$y+100;
imagecopy($back, $Ecoco, 40, $y, 0, 0, 30, 50);
}
$plot1=150;
$y1=-50;
while($y1<=$plot1){
$y1=$y1+100;
imagecopy($back, $Wcoco, 80, $y1, 0, 0, 30, 50);
}
$plot2=150;
$y2=0;
while($y2<=$plot2){
$y2=$y2+100;
imagecopy($back, $Wcoco, 30, $y2, 0, 0, 30, 50);
}
$plot3=150;
$y3=0;
while($y3<=$plot3){
$y3=$y3+100;
imagecopy($back, $Ecoco, 90, $y3, 0, 0, 30, 50);
}
$plot4=150;
$y4=-50;
while($y4<=$plot4){
$y4=$y4+100;
imagecopy($back, $Ecoco, 140, $y4, 0, 0, 30, 50);
}
$plot5=150;
$y5=-50;
while($y5<=$plot5){
$y5=$y5+100;
imagecopy($back, $Wcoco, 180, $y5, 0, 0, 30, 50);
}
$plot6=150;
$y6=0;
while($y6<=$plot6){
$y6=$y6+100;
imagecopy($back, $Wcoco, 130, $y6, 0, 0, 30, 50);
}
$plot7=150;
$y7=0;
while($y7<=$plot7){
$y7=$y7+100;
imagecopy($back, $Ecoco, 190, $y7, 0, 0, 30, 50);
}
imagepng($back);
imagedestroy($back);
imagedestroy($Ecoco);
imagedestroy($Wcoco);
?>