Temos pavadinimas: WordPress, Shopify ir PHPFusion programuotojų bendruomenė :: Paspaudus pasikeicia nuotrauka.

Parašė snapsas· 2013 Bal. 14 01:04:30
#2


<?php
$pav = "../images/php-fusion-logo.png";
$url_pirmyn = "http://google.lt";
$url_atgal = "http://phpfusion.lt";
 
$arrleft = "http://cdn3.iconfinder.com/data/icons/ose/Arrow%20Left.png";
$arrright = "http://cdn3.iconfinder.com/data/icons/ose/Arrow%20Right.png";
 
$img = getimagesize($pav);
 
echo "<div style='width: ".$img[0]."px; height: ".$img[1]."px; background-image: url(".$pav."); no-repeat;'>
<div style='float:left; height: ".$img[1]."px;'><a href='$url_atgal'><img src='$arrleft' width='50px' height='50px'> </a></div>
<div style='float:right;'><a href='$url_pirmyn'><img src='$arrright' width='50px' height='50px'> </a></div>
</div>";
 
?>


Kazkas panasaus... Einu miegot.