Location: PHPKode > projects > Soraxdesign PHP Guestbook > admin/farben.inc.php
<div id="vorschau" style="position:absolute;margin:0px;padding:0px;margin-top:70px;margin-left:500px;height:250px;width:250px;border:2px solid #000000"></div>
<div style="margin:0px;margin-left:10px;margin-top:10px;padding:0px">
	<div class="titeldiv" style="margin:0px;width:768px;margin-bottom:20px">
		<span class="titel">
		<?php echo $sprache[152] ?>
		</span>
	</div>
		<?php
			$file=file("../Data/farben");
				for($a=0;$a<count($file);$a++)
				{
					for($x=0;$x<27;$x++)
					{
						$form=$_GET['form'];
						$feldname=$_GET['feldname'];
						$farbe=trim($file[$a]);
						if($farbe!="")
							echo "<div OnMouseOver=\"document.getElementById('vorschau').style.backgroundColor='#$farbe';this.style.borderColor='#000000'\" OnMouseOut=\"this.style.borderColor='#FFFFFF'\" OnClick=\"javascript:FarbeSetzen('$farbe')\" style=\"float:left;cursor:pointer;width:15px;height:22px;background-color:#$farbe;margin:0px;padding:0px;border:1px solid #FFFFFF\" title=\"$farbe\" Alt=\"$farbe\"></div>";
						else
							echo "<div></div>";
							
						if($x==26)
							echo "<div style=\"clear:both;display:block;height:0px;font-size:0px;border:0px none;margin-top:-2px; padding:0;\"></div>";
						
						$a++;
					}
				}
		?>
</div>
Return current item: Soraxdesign PHP Guestbook