HostingTR
15-04-2007, 04:15:04
Kodlamasını Serdar Konak'ın yaptığı com_anahaber bileşenine bir temada benden :)
(Ekteki dosyayı indirin)
/components/com_anahaber/anahaberexe3.php üzerinde yaptığım değişikliklerdir. Ekteki anahaberexe3.php dosyasını /components/com_anahaber/ dizinine kopyaladığınızda sorunsuz olarak kullanabilirsiniz. Bu temada tablolar düzenli hale getirildi.
ve ekstradan kayan bant yaptım basit bir include ile habertürk'ten esinlenerek..
sitenizin ana dizininde ( public_html, httpdocs vs.)
hostingtr klasörünü ana dizine atın.
hostingtr_kayanhaberler.php dosyasını /components/com_anahaber/ dizinine kopyalayın.
daha sonra temanızı ( templates dizini ) açın ve uygun kod aralığına ben header altı olarak kullanıyorum
<?php
include ("components/com_anahaber/hostingtr_kayanhaberler.php");
?>
<table style="BORDER-RIGHT: buttonshadow 1px solid" height="100%" cellSpacing="0" cellPadding="0" width="100%" border="0">
<tr>
<td align="right" width="119" height="27">
<img src="hostingtr/sondakika.jpg"></td>
<td width="60" bgColor="#ffd200">
<embed pluginspage="http://www.macromedia.com/shockwave/download/index.cgi?P1_Prod_Version=ShockwaveFlash" src="hostingtr/saat.swf" width="58" height="27" type="application/x-shockwave-flash" wmode="transparent" quality="high"></td>
<td width="1"></td>
<td align="left" width="575" bgColor="#000000"><b>
<marquee class="bod" onmouseover=this.stop() onmouseout=this.start() height="100%" width="120%" scrollamount="4" scrolldelay="10">
<html><head><meta http-equiv="Cont(co)ent-Language" content="tr"><meta http-equiv="Content-Type" content="text/html; charset=windows-1254"><title>New Page 1</title></head><body>
<font color="#e9c000" size="4"><a href="<?php echo $hedef[0];?>"><font color="#e9c000">
<b><font face="Verdana"><?php echo $baslik[0];?></font></b></font><b><font face="Verdana">
</font></b> </a></font><b><font size="4" face="Verdana"> <IMG src="hostingtr/kent_son_dakika.gif"> <font color="#e9c000"><a href="<?php echo $hedef[1];?>"><font color="#e9c000"><?php echo $baslik[1];?> </font></a></font> <IMG src="hostingtr/kent_son_dakika.gif"> <font color="#e9c000"><a href="<?php echo $hedef[2];?>"><font color="#e9c000"><?php echo $baslik[2];?> </font></a></font> <IMG src="hostingtr/kent_son_dakika.gif"> <font color="#e9c000"><a href="<?php echo $hedef[3];?>"><font color="#e9c000"><?php echo $baslik[3];?> </font></a></font> <IMG src="hostingtr/kent_son_dakika.gif"> <font color="#e9c000"><a href="<?php echo $hedef[4];?>"><font color="#e9c000"><?php echo $baslik[4];?> </font></a></font> <IMG src="hostingtr/kent_son_dakika.gif"> <font color="#e9c000"><a href="<?php echo $hedef[5];?>"><font color="#e9c000"><?php echo $baslik[5];?> </font></a></font> <IMG src="hostingtr/kent_son_dakika.gif"> <font color="#e9c000"><a href="<?php echo $hedef[6];?>"><font color="#e9c000"><?php echo $baslik[6];?> </font></a></font> <IMG src="hostingtr/kent_son_dakika.gif"> <font color="#e9c000"><a href="<?php echo $hedef[7];?>"><font color="#e9c000"><?php echo $baslik[7];?> </font></a></font> <IMG src="hostingtr/kent_son_dakika.gif"> <font color="#e9c000"><a href="<?php echo $hedef[8];?>"><font color="#e9c000"><?php echo $baslik[8];?> </font></a></font> <IMG src="hostingtr/kent_son_dakika.gif"> <font color="#e9c000"><a href="<?php echo $hedef[9];?>"><font color="#e9c000"><?php echo $baslik[9];?> </font></a></font> <IMG src="hostingtr/kent_son_dakika.gif">
</font></b> </body></html>
</marquee></b></td>
</tr>
</table>
</td>
</td>
</tr>
</table>
kodunu yerleştirin.
bu kadar :) umarım işinize yarar.. Kolay gelsin..
Ayrıca, teşekkürler;
Serdar KONAK
Aytuğ AKAR
Tahsin ALTAY
Alper KAYA
Ozan AKSAKBOĞA ( anlatımda kusur varsa affedin saat 04:10 :) )
(Ekteki dosyayı indirin)
/components/com_anahaber/anahaberexe3.php üzerinde yaptığım değişikliklerdir. Ekteki anahaberexe3.php dosyasını /components/com_anahaber/ dizinine kopyaladığınızda sorunsuz olarak kullanabilirsiniz. Bu temada tablolar düzenli hale getirildi.
ve ekstradan kayan bant yaptım basit bir include ile habertürk'ten esinlenerek..
sitenizin ana dizininde ( public_html, httpdocs vs.)
hostingtr klasörünü ana dizine atın.
hostingtr_kayanhaberler.php dosyasını /components/com_anahaber/ dizinine kopyalayın.
daha sonra temanızı ( templates dizini ) açın ve uygun kod aralığına ben header altı olarak kullanıyorum
<?php
include ("components/com_anahaber/hostingtr_kayanhaberler.php");
?>
<table style="BORDER-RIGHT: buttonshadow 1px solid" height="100%" cellSpacing="0" cellPadding="0" width="100%" border="0">
<tr>
<td align="right" width="119" height="27">
<img src="hostingtr/sondakika.jpg"></td>
<td width="60" bgColor="#ffd200">
<embed pluginspage="http://www.macromedia.com/shockwave/download/index.cgi?P1_Prod_Version=ShockwaveFlash" src="hostingtr/saat.swf" width="58" height="27" type="application/x-shockwave-flash" wmode="transparent" quality="high"></td>
<td width="1"></td>
<td align="left" width="575" bgColor="#000000"><b>
<marquee class="bod" onmouseover=this.stop() onmouseout=this.start() height="100%" width="120%" scrollamount="4" scrolldelay="10">
<html><head><meta http-equiv="Cont(co)ent-Language" content="tr"><meta http-equiv="Content-Type" content="text/html; charset=windows-1254"><title>New Page 1</title></head><body>
<font color="#e9c000" size="4"><a href="<?php echo $hedef[0];?>"><font color="#e9c000">
<b><font face="Verdana"><?php echo $baslik[0];?></font></b></font><b><font face="Verdana">
</font></b> </a></font><b><font size="4" face="Verdana"> <IMG src="hostingtr/kent_son_dakika.gif"> <font color="#e9c000"><a href="<?php echo $hedef[1];?>"><font color="#e9c000"><?php echo $baslik[1];?> </font></a></font> <IMG src="hostingtr/kent_son_dakika.gif"> <font color="#e9c000"><a href="<?php echo $hedef[2];?>"><font color="#e9c000"><?php echo $baslik[2];?> </font></a></font> <IMG src="hostingtr/kent_son_dakika.gif"> <font color="#e9c000"><a href="<?php echo $hedef[3];?>"><font color="#e9c000"><?php echo $baslik[3];?> </font></a></font> <IMG src="hostingtr/kent_son_dakika.gif"> <font color="#e9c000"><a href="<?php echo $hedef[4];?>"><font color="#e9c000"><?php echo $baslik[4];?> </font></a></font> <IMG src="hostingtr/kent_son_dakika.gif"> <font color="#e9c000"><a href="<?php echo $hedef[5];?>"><font color="#e9c000"><?php echo $baslik[5];?> </font></a></font> <IMG src="hostingtr/kent_son_dakika.gif"> <font color="#e9c000"><a href="<?php echo $hedef[6];?>"><font color="#e9c000"><?php echo $baslik[6];?> </font></a></font> <IMG src="hostingtr/kent_son_dakika.gif"> <font color="#e9c000"><a href="<?php echo $hedef[7];?>"><font color="#e9c000"><?php echo $baslik[7];?> </font></a></font> <IMG src="hostingtr/kent_son_dakika.gif"> <font color="#e9c000"><a href="<?php echo $hedef[8];?>"><font color="#e9c000"><?php echo $baslik[8];?> </font></a></font> <IMG src="hostingtr/kent_son_dakika.gif"> <font color="#e9c000"><a href="<?php echo $hedef[9];?>"><font color="#e9c000"><?php echo $baslik[9];?> </font></a></font> <IMG src="hostingtr/kent_son_dakika.gif">
</font></b> </body></html>
</marquee></b></td>
</tr>
</table>
</td>
</td>
</tr>
</table>
kodunu yerleştirin.
bu kadar :) umarım işinize yarar.. Kolay gelsin..
Ayrıca, teşekkürler;
Serdar KONAK
Aytuğ AKAR
Tahsin ALTAY
Alper KAYA
Ozan AKSAKBOĞA ( anlatımda kusur varsa affedin saat 04:10 :) )