Witaj Gościu! ( Zaloguj | Rejestruj )

Forum PHP.pl

> priorytet wyświetleń
bronx
post
Post #1





Grupa: Zarejestrowani
Postów: 333
Pomógł: 0
Dołączył: 4.03.2004

Ostrzeżenie: (0%)
-----


witam

mam użyty taki rotator banerów:

  1. <?php
  2.  
  3.  
  4. $banery = file(&#092;"rotator/banery.php\"); 
  5.  
  6. srand ((float)microtime()*1000000); 
  7. shuffle($banery); 
  8. for($i=0;$i<1;$i++) { 
  9. list($url,$title,$baner,$type,$width,$height) = explode('*|*', $banery[$i]);  
  10.  
  11.  if ( $type == &#092;"application/x-shockwave-flash\" )
  12.  
  13. {
  14.  
  15. echo &#092;"<object classid=\"clsid:D27CDB6E-AE6D-11cf-96B8-444553540000\" class=\"banner\"
  16. codebase=&#092;"http://active.macromedia.com/flash4/cabs/swflash.cab#version=4,0,0,0\"
  17. id=&#092;"$baner\" width=\"300\" height=\"38\">
  18. <param name=&#092;"movie\" value=\"rotator/gfx/$baner\">
  19. <param name=&#092;"quality\" value=\"high\">
  20. <embed name=&#092;"$baner\" src=\"rotator/gfx/$baner\" quality=\"high\"
  21. width=&#092;"$width\" height=\"$height\"
  22. type=&#092;"application/x-shockwave-flash\"
  23. pluginspage=&#092;"http://www.macromedia.com/shockwave/download/index.cgi?P1_Prod_Version=ShockwaveFlash\">
  24. </embed>
  25. </object>&#092;";
  26.  
  27. }
  28.  
  29. else
  30.  
  31. {
  32.  
  33. echo '<a href=\"'.$url.'\" target=\"_blank\" title=\"'.$title.'\"><img
  34.  src=\"rotator/gfx/'.$baner.'\" border=1 align=right width=340 height=38></a>'; 
  35.  
  36. }
  37.  
  38. }
  39.  
  40.  
  41. ?>


ale przy dodawaniu chciałbym ustawiać priorytet wyświetleń (wysoki, normalny, niski) i nie mam pojęcia jak to zrobić...

wie ktoś może jak sobie z tym poradzić ?
Go to the top of the page
+Quote Post

Posty w temacie


Reply to this topicStart new topic
1 Użytkowników czyta ten temat (1 Gości i 0 Anonimowych użytkowników)
0 Zarejestrowanych:

 



RSS Aktualny czas: 19.08.2025 - 14:22