Demo :
www.dnatasarim.org/destek/rastgele.htmözellik : her açılış farklı resim çıkıyor.
Ekteki dosyayı zipden çıkarın. ftp ana dizinine atın.
"
klasor " adlı dosyanın içine resimlerinizi atın.
Her hangi bir html sayfanıza koymak için aşağıdaki kodu sayfanızın istediginiz yerine yerleştirin.
Aşağıdaki kodda " dnatasarim.org " olan yeri kendinizee göre düzenleyin.
<table border="0" cellpadding="0" cellspacing="0" style="border-collapse: collapse" bordercolor="#111111" width="100%" id="AutoNumber1">
<tr>
<td width="20%" align="center">
<img src="http://dnatasarim.org/rastgele.php?folder=klasor" width="179" height="180"></td>
<td width="20%" align="center">
<img src="http://dnatasarim.org/rastgele1.php?folder=klasor" width="179" height="180"></td>
<td width="20%" align="center">
<img src="http://dnatasarim.org/rastgele2.php?folder=klasor" width="179" height="180"></td>
<td width="20%" align="center">
<img src="http://dnatasarim.org/rastgele3.php?folder=klasor" width="179" height="180"></td>
<td width="20%" align="center">
<img src="http://dnatasarim.org/rastgele4.php?folder=klasor" width="179" height="180"></td>
</tr>
</table>
Smf Forum'da duyuruların oldugu yere koymak için aşağıdaki kodu düzenleyip kullanın.
boardindex.template de Bul
/* Each category in categories is made up of:
üzerine ekle
echo '
<br>
<table border="0" width="100%" class="tborder" cellspacing="' , ($context['browser']['is_ie'] || $context['browser']['is_opera6']) ? '1' : '0' , '" cellpadding="4" style="margin-bottom: 2ex;">
<tr>
<td class="catbg">Rast Gele Resimler</td>
</tr>
<tr>
<td valign="middle" align="center" height="60">';
echo'
<table border="0" cellpadding="0" cellspacing="0" style="border-collapse: collapse" bordercolor="#111111" width="100%" id="AutoNumber1">
<tr>
<td width="20%" align="center">
<img src="http://dnatasarim.org/rastgele.php?folder=klasor" width="179" height="180"></td>
<td width="20%" align="center">
<img src="http://dnatasarim.org/rastgele1.php?folder=klasor" width="179" height="180"></td>
<td width="20%" align="center">
<img src="http://dnatasarim.org/rastgele2.php?folder=klasor" width="179" height="180"></td>
<td width="20%" align="center">
<img src="http://dnatasarim.org/rastgele3.php?folder=klasor" width="179" height="180"></td>
<td width="20%" align="center">
<img src="http://dnatasarim.org/rastgele4.php?folder=klasor" width="179" height="180"></td>
</tr>
</table>
</table>';
Forumun en altına eklemek için.
index.template.php aç
bul
element.src = smf_images_url + "/" + (value ? "h_" : "") + element.id + ".gif";
}
// ]]></script>
Altına Ekleyin.
echo '
<br>
<table border="0" width="100%" class="tborder" cellspacing="' , ($context['browser']['is_ie'] || $context['browser']['is_opera6']) ? '1' : '0' , '" cellpadding="4" style="margin-bottom: 2ex;">
<tr>
<td class="catbg">Rast Gele Resimler</td>
</tr>
<tr>
<td valign="middle" align="center" height="60">';
echo'
<table border="0" cellpadding="0" cellspacing="0" style="border-collapse: collapse" bordercolor="#111111" width="100%" id="AutoNumber1">
<tr>
<td width="20%" align="center">
<img src="http://dnatasarim.org/forum/rastgele.php?folder=klasor" width="179" height="180"></td>
<td width="20%" align="center">
<img src="http://dnatasarim.org/forum/rastgele.php?folder=klasor" width="179" height="180"></td>
<td width="20%" align="center">
<img src="http://dnatasarim.org/forum/rastgele.php?folder=klasor" width="179" height="180"></td>
<td width="20%" align="center">
<img src="http://dnatasarim.org/forum/rastgele.php?folder=klasor" width="179" height="180"></td>
<td width="20%" align="center">
<img src="http://dnatasarim.org/forum/rastgele.php?folder=klasor" width="179" height="180"></td>
</tr>
</table>
</table>';
Sorun yaşayan çekinmeden sorsun.