السلام عليكم
اخواني لدي هذا الكود (عبارة عن شريط متحرك)
أريد عند الضغط على على الرابط يفتح في صفحة جديدة حاولت اضيف target=_blank في عدة اماكن لكن ما ضبط معاي!!
<code>
<?php
include('config.php');
$newplay= "<div align=\"right\"><b><font color=\"#000000\"><marquee direction=\"$align\" width=\"90%\" scrollamount='3' onmouseover='this.stop()' onmouseout='this.start()'>";
$woo=mysql_query("select * from play where ctid!=16 and ctid!=12 and ctid!=24 and ctid2!='10000000' order by id desc limit 10");
while($rooow=mysql_fetch_row($woo))
{
$waaa=mysql_query("select * from cat where catid='$rooow[9]' ");
while($rowss=mysql_fetch_row($waaa))
{
$catsname=$rowss[1];
}
$waaa=mysql_query("select * from cat where catid='$rooow[1]' ");
while($rowss=mysql_fetch_row($waaa))
{
$catname=$rowss[1];
}
if($htmlorphp==1)
{
$urlplay="showplay-$rooow[0].html";
}
else
{
$urlplay="showplay.php?catslinkp=$rooow[0]";
}
Eval("\$test1= \"".get("blocks/newplay")."\";");
$newplay.= $test1;
}
$newplay.= "</marquee></font></b></div>";
Eval("\$test= \"".gettemplate1("newsp",$catslinkp)."\";");
echo $test;
?>
</code>
