• 13-12-2007, 12:33:20
    #1
    Üyeliği durduruldu
    Yabancı bir sitede denk gelmişti afiet olsun

    <?php 
    
    //You will have to change the ban1, ban2, and ban3  variables.  You can change these links to point at the images you want displayed.
    //You will have to change the url1, url2, and url3  variables.  You want these to be urls of the pages you want to link to.
    $ban1 = "http://banneradresi.com/.gif";
    $url1 = "http://www.siteadresi.com"; 
    $ban2 = "http://banneradresi.com/.gif";
    $url2 = "http://www.siteadresi.com/"; 
    $ban3 = "http://banneradresi.com/.gif";
    $url3 = "http://www.siteadresi.com";
    
    //Random number between 1 and number of banners.
    $randomNum = rand (1,3);
    
    //Select the banner of the random number
    $image = ${'ban'.$randomNum};
    
    //Url of the random number
    $url= ${'url'.$randomNum};
    
    //Prints out the link of the banner and the image of the banner
    Print "<a href=".$url." mce_href=".$url."><img src=".$image." border=0></a>";
    ?>
  • 13-12-2007, 13:11:39
    #2
    teşekkürler dostum arşivime alacam ..
  • 14-12-2007, 00:23:57
    #3
    güzel paylaşım...basit ama kullanışlı
  • 10-01-2008, 14:40:32
    #4
    çok teşekkürler çok işime yaradı sagol