wmaraci reklam
lidertakipci

PHP Meta Ayarları

4 Mesajlar 1.439 Okunma
advertseo
wmaraci reklam

alicin12 alicin12 Üyeliği Durdurulmuş Banlı Kullanıcı
  • Üyelik 05.07.2011
  • Yaş/Cinsiyet 27 / E
  • Meslek Öğrenci
  • Konum
  • Ad Soyad ** **
  • Mesajlar 611
  • Beğeniler 116 / 70
  • Ticaret 5, (%100)
//
// TorrentHane
// $LastChangedDate: 2011-11-17 00:13:07 +0000 (Thu, 17 Nov 2011) $
// $LastChangedBy: dj-howarth1 $
//
// http://www.torrenthane.in
//
//
require_once("backend/functions.php");
dbconn(true);

stdhead(T_("HOME"));

//check
if (file_exists("check.php") && $CURUSER["class"] == 7){
show_error_msg("WARNING", "Check.php still exists, please delete or rename the file as it could pose a security risk

View Check.php - Use to check your config!

",0);
}

//Site Notice
if ($site_config['SITENOTICEON']){
begin_frame(T_("NOTICE"));
echo $site_config['SITENOTICE'];
end_frame();
}

//Site News
if ($site_config['NEWSON'] && $CURUSER['view_news'] == "yes"){
begin_frame(T_("NEWS"));
$res = SQL_Query_exec("SELECT news.id, news.title, news.added, news.body, users.username FROM news LEFT JOIN users ON news.userid = users.id ORDER BY added DESC LIMIT 10");
if (mysql_num_rows($res) > 0){
print("
\n
    ");
    $news_flag = 0;

    while($array = mysql_fetch_assoc($res)){

    if (!$array["username"])
    $array["username"] = T_('UNKNOWN_USER');

    $numcomm = get_row_count("comments", "WHERE news='".$array['id']."'");

    // Show first 2 items expanded
    if ($news_flag < 2) {
    $disp = "block";
    $pic = "minus";
    } else {
    $disp = "none";
    $pic = "plus";
    }

    print("
    \"Show/Hide\"");
    print(" ". $array['title'] . "
    - ".T_("POSTED").": " . date("d-M-y", utc_to_tz_time($array['added'])) . " ".T_("BY").": $array[username]");

    print("
    ".format_comment($array["body"])."

    ".T_("COMMENTS")." (".number_format($numcomm).")

    ");

    $news_flag++;
    }
    print("
\n");
}else{
echo "
".T_("NO_NEWS")."";
}
end_frame();
}



if ($site_config['SHOUTBOX'] && !($CURUSER['hideshoutbox'] == 'yes')){
begin_frame(T_("SHOUTBOX"));
echo '';
printf(T_("SHOUTBOX_REFRESH"), 5)."
";
end_frame();
}

// latest torrents
begin_frame(T_("LATEST_TORRENTS"));

print("
".T_("BROWSE_TORRENTS")." - ".T_("SEARCH_TORRENTS")."

");

if ($site_config["MEMBERSONLY"] && !$CURUSER) {
echo "

".T_("BROWSE_MEMBERS_ONLY")."


";
} else {
$query = "SELECT torrents.id, torrents.anon, torrents.announce, torrents.category, torrents.leechers, torrents.nfo, torrents.seeders, torrents.name, torrents.times_completed, torrents.size, torrents.added, torrents.comments, torrents.numfiles, torrents.filename, torrents.owner, torrents.external, torrents.freeleech, categories.name AS cat_name, categories.image AS cat_pic, categories.parent_cat AS cat_parent, users.username, users.privacy, IF(torrents.numratings < 2, NULL, ROUND(torrents.ratingsum / torrents.numratings, 1)) AS rating FROM torrents LEFT JOIN categories ON category = categories.id LEFT JOIN users ON torrents.owner = users.id WHERE visible = 'yes' AND banned = 'no' ORDER BY id DESC LIMIT 10";
$res = SQL_Query_exec($query);
if (mysql_num_rows($res)) {
torrenttable($res);
}else {

print("
");
print("
".T_("NOTHING_FOUND")."
");
print("
");
print T_("NO_UPLOADS");
print("
");
print("
");

}
if ($CURUSER)
SQL_Query_exec("UPDATE users SET last_browse=".gmtime()." WHERE id=$CURUSER[id]");

}
end_frame();


stdfoot();
?>


Şu PHP Kodlarının neresine meta-description-keywords eklemem gerekiyor ? yardımcı olabilecek varmı ?
 

 

wmaraci
reklam

MedyaWeb MedyaWeb Web Desing - SEO Kullanıcı
  • Üyelik 16.10.2011
  • Yaş/Cinsiyet - / E
  • Meslek Coder
  • Konum
  • Ad Soyad ** **
  • Mesajlar 29
  • Beğeniler 11 / 5
  • Ticaret 0, (%0)
en yukarıya kodu açıp altına eklemelisiniz ardından metaları kapattıktan sonra diyede kapatmayı unutmayınız
 

 

Seo Professional Working

alicin12 alicin12 Üyeliği Durdurulmuş Banlı Kullanıcı
  • Üyelik 05.07.2011
  • Yaş/Cinsiyet 27 / E
  • Meslek Öğrenci
  • Konum
  • Ad Soyad ** **
  • Mesajlar 611
  • Beğeniler 116 / 70
  • Ticaret 5, (%100)

MedyaWeb adlı üyeden alıntı

en yukarıya kodu açıp altına eklemelisiniz ardından metaları kapattıktan sonra diyede kapatmayı unutmayınız


Ekledim ancak deyim yerindeyse sitenin şaftı kaydı :D
HasanA

kişi bu mesajı beğendi.

FoRMaTTeR FoRMaTTeR WM Aracı Kullanıcı
  • Üyelik 05.01.2012
  • Yaş/Cinsiyet - / E
  • Meslek
  • Konum
  • Ad Soyad ** **
  • Mesajlar 79
  • Beğeniler 5 / 14
  • Ticaret 0, (%0)
functions.php include edilmiş. Ona bakabilirsin belki onda tanımlanmış olabilir head onun içerisinde olabilir diyecektim siteye baktım kaynakta eklenmiş gözüküyor.
 

 

wmaraci
wmaraci
wmaraci
Konuyu toplam 1 kişi okuyor. (0 kullanıcı ve 1 misafir)
Site Ayarları
  • Tema Seçeneği
  • Site Sesleri
  • Bildirimler
  • Özel Mesaj Al