Witam serdecznie. Chcialbym zeby wyswietlal mi sie taki bannerek jezli ktos bedzie wchodzil na strone głowna. Nie znam sie na tym kompletnie ale ten chlopak podal mi link
http://www.regent.pl/index2.php?arg=show to wtedy sie otwiera. A chcialbym zeby otwieralo sie przy wpisywaniu strony glownej. Mam w kodzie takie cos:
<?php $a = $_SERVER['SERVER_NAME'];
if($as[0] != "www"){
}
require 'conf.php';
require 'connect.php';
include_once('./wtclient.php');
$wt = new wtengine;
?>
i w body to:
<? if ($arg=="show") { print "onLoad=\"javascript:showme()\"";} ?>>
<? if ($arg=="show") { ?>
<div id="light" class="white_content"> <object id="FlashID" classid="clsid:D27CDB6E-AE6D-11cf-96B8-444553540000" width="550" height="400"> <param name="movie" value="M/floating.swf"> <param name="quality" value="high"> <param name="wmode" value="transparent"> <param name="swfversion" value="6.0.65.0"> <!-- This param tag prompts users with Flash Player 6.0 r65 and higher to download the latest version of Flash Player. Delete it if you don't want users to see the prompt. -->
<param name="expressinstall" value="Scripts/expressInstall.swf"> <!-- Next object tag is for non-IE browsers. So hide it from IE using IECC. -->
<!--[if !IE]>-->
<object type="application/x-shockwave-flash" data="M/floating.swf" width="550" height="400"> <!--<![endif]-->
<param name="quality" value="high"> <param name="wmode" value="transparent"> <param name="swfversion" value="6.0.65.0"> <param name="expressinstall" value="Scripts/expressInstall.swf"> <!-- The browser displays the following alternative content for users with Flash Player 6.0 and older. -->
<h4>Content on this page requires a newer version of Adobe Flash Player.
</h4> <p><a href="http://www.adobe.com/go/getflashplayer"><img src="http://www.adobe.com/images/shared/download_buttons/get_flash_player.gif" alt="Get Adobe Flash player" width="112" height="33" /></a></p> <!--[if !IE]>-->
<!--<![endif]-->
</div><div id="fade" class="black_overlay"></div><? };?>
Pozdrawiam
Powód edycji: Dodałem bbCode (ociu)