Kullanıcı











- Katılım
- 26 Kas 2009
- Mesajlar
- 9,190
- Beğeniler
- 0
- Favori Oyun
- Meslek
- Discord
- İsim


Smf forumdaki son açılan 50 konuyu başka bir sitede göstermek için hazırladım.
Cpanelden db ye uzaktan erişim için ip adresini tanımladıktan sonra. Datayı çekeceğim siteye attım.
indexten include ettim.
Yanıtları görmemek için "Ynt" leri filtreledim.
PHP- Kodu:
<?php
$dbh=mysql_connect ("65.99.213.4", "user", "parola") or die ('I cannot connect to the database because: ' . mysql_error());
mysql_select_db ("db_name");
echo '<table width=728 height=200>';
echo '<tr><td>';
echo '<font color=green size=3><strong><center><a href=http://www.liseliyiz.biz target=_BLANK>.: LİSELİYİZ.BİZ SON 50 :.</a></center></strong></font>';
echo '</td></tr>';
$query="SELECT ID_MSG, ID_TOPIC, subject FROM `smf_messages` WHERE `subject` NOT LIKE '%Ynt%' ORDER BY `smf_messages` . `posterTime` DESC LIMIT 0, 50";
$sonuc=mysql_query($query);
while($kayit=mysql_fetch_array($sonuc)){
$subject = substr(trim($kayit[subject]),0,52);
$link="http://www.lisesiyiz.biz/index.php?topic=".$kayit[ID_TOPIC].".msg".$kayit[ID_MSG].";topicseen#msg".$kayit[ID_MSG];
echo "<tr><td><a href=$link>$subject </a></td></tr>";
}
echo '</table>';
?>
kaynak site Lisesiyiz.biz Ve Liseliyiz.biz AiLesi oLarak büyümeye Devam Ediyoruz..!!!
hedef site Knight Online Server | TurkeyKo Private KO
Cpanelden db ye uzaktan erişim için ip adresini tanımladıktan sonra. Datayı çekeceğim siteye attım.
indexten include ettim.
Yanıtları görmemek için "Ynt" leri filtreledim.
PHP- Kodu:
<?php
$dbh=mysql_connect ("65.99.213.4", "user", "parola") or die ('I cannot connect to the database because: ' . mysql_error());
mysql_select_db ("db_name");
echo '<table width=728 height=200>';
echo '<tr><td>';
echo '<font color=green size=3><strong><center><a href=http://www.liseliyiz.biz target=_BLANK>.: LİSELİYİZ.BİZ SON 50 :.</a></center></strong></font>';
echo '</td></tr>';
$query="SELECT ID_MSG, ID_TOPIC, subject FROM `smf_messages` WHERE `subject` NOT LIKE '%Ynt%' ORDER BY `smf_messages` . `posterTime` DESC LIMIT 0, 50";
$sonuc=mysql_query($query);
while($kayit=mysql_fetch_array($sonuc)){
$subject = substr(trim($kayit[subject]),0,52);
$link="http://www.lisesiyiz.biz/index.php?topic=".$kayit[ID_TOPIC].".msg".$kayit[ID_MSG].";topicseen#msg".$kayit[ID_MSG];
echo "<tr><td><a href=$link>$subject </a></td></tr>";
}
echo '</table>';
?>
kaynak site Lisesiyiz.biz Ve Liseliyiz.biz AiLesi oLarak büyümeye Devam Ediyoruz..!!!
hedef site Knight Online Server | TurkeyKo Private KO
