صفحة 2 من 2

????? ????? ??????? ??????? (????)

مرسل: الجمعة ديسمبر 12, 2008 3:48 pm
بواسطة alahamdan
???? ?????

?????? ?? ???????

?????? ?????? ???????? ??????:

كود: تحديد الكل

<?php 

// PHPBB 3.0 Sitemap Modification
// Greensboring.com
// Version 3.0 - September 5 2007


// Enter The Path to Your PHPBB Forum if different then root.
// Example: $path='/community/'; 

$path='/community/';


// Change Nothing Below Here:
// ********************************************************************

$domainpath='http://'.$_SERVER['HTTP_HOST'].$path;

// Connect

define('IN_PHPBB', true);
$phpbb_root_path = './';
$phpEx = substr(strrchr(__FILE__, '.'), 1);

include($phpbb_root_path . 'config.' . $phpEx);
include($phpbb_root_path . 'includes/db/' . $dbms . '.' . $phpEx);

$db = new $sql_db();

$db->sql_connect($dbhost, $dbuser, $dbpasswd, $dbname, $dbport, false, false);

// Send initial Data

echo '<?xml version="1.0" encoding="UTF-8"?>'."\n";
echo "<urlset xmlns=\"http://www.google.com/schemas/sitemap/0.84\" xmlns:xsi=\"http://www.w3.org/2001/XMLSchema-instance\" xsi:schemaLocation=\"http://www.google.com/schemas/sitemap/0.84 http://www.google.com/schemas/sitemap/0.84/sitemap.xsd\">";

// Send Index

echo '<url>
      <loc>'.$domainpath.'</loc>
      <lastmod>' . gmdate('Y-m-d') . '</lastmod>
      <changefreq>hourly</changefreq>
      <priority>1.0</priority>
         </url>';


// Send Topics

$sql = 'SELECT * FROM phpbb_topics WHERE topic_approved=1 ORDER BY topic_id DESC';
    	$result = $db->sql_query($sql);
	while ($data=mysql_fetch_array($result)) {

echo '<url>
      <loc>'.$domainpath.'viewtopic.php?f='.$data['forum_id'].'&t='.$data['topic_id'].'</loc>
      <lastmod>'. gmdate('Y-m-d',$data['topic_last_post_time']) .'</lastmod>
      <changefreq>always</changefreq>
      <priority>0.8</priority>
         </url>';

}

// Send Forums

$sql = 'SELECT * FROM phpbb_forums WHERE parent_id!=0';
    	$result = $db->sql_query($sql);
	while ($data=mysql_fetch_array($result)) {

echo '<url>
      <loc>'.$domainpath.'viewforum.php?f='.$data['forum_id'].'</loc>
      <lastmod>'. gmdate('Y-m-d',$data['forum_last_post_time']) .'</lastmod>
      <changefreq>always</changefreq>
      <priority>0.9</priority>
         </url>';

}


// Send Closing Tags

echo '  </urlset>';


?>
?? ???? ??????? community ???? ?????? ?????? ????? ?????? ??? ??? ?????.

????? ????? ??????? ??????? (????)

مرسل: الجمعة ديسمبر 12, 2008 4:01 pm
بواسطة alahamdan
?????????

????????? ???? ?? ????? ?? ??????? ????? ?????? ??? ??? ??????? ??? 1970.

???? ?? ?????? ????? ??? ????? ?? ?? ????? ????!

????? ????? ??????? ??????? (????)

مرسل: الجمعة ديسمبر 12, 2008 7:45 pm
بواسطة saanina

كود: تحديد الكل

<?php

????//?PHPBB?3.0?Sitemap?Modification
????//?Greensboring.com
????//?Version?3.0?-?September?5?2007


????//?Enter?The?Path?to?Your?PHPBB?Forum?if?different?then?root.
????//?Example:?$path='/community/';

????$path='/community/';


????//?Change?Nothing?Below?Here:
????//?********************************************************************

????$domainpath='http://'.$_SERVER['HTTP_HOST'].$path;

????//?Connect

????define('IN_PHPBB',?true);
????$phpbb_root_path?=?'./';
????$phpEx?=?substr(strrchr(__FILE__,?'.'),?1);

????include($phpbb_root_path?.?'config.'?.?$phpEx);
????include($phpbb_root_path?.?'includes/db/'?.?$dbms?.?'.'?.?$phpEx);

????$db?=?new?$sql_db();

????$db->sql_connect($dbhost,?$dbuser,?$dbpasswd,?$dbname,?$dbport,?false,?false);

????//?Send?initial?Data

????echo?'<?xml?version="1.0"?encoding="UTF-8"?>'."\n";
????echo?"<urlset?xmlns=\"http://www.google.com/schemas/sitemap/0.84\"?xmlns:xsi=\"http://www.w3.org/2001/XMLSchema-instance\"?xsi:schemaLocation=\"http://www.google.com/schemas/sitemap/0.84?http://www.google.com/schemas/sitemap/0.84/sitemap.xsd\">";

????//?Send?Index

????echo?'<url>
??????????<loc>'.$domainpath.'</loc>
??????????<lastmod>'?.?gmdate('Y-m-d')?.?'</lastmod>
??????????<changefreq>hourly</changefreq>
??????????<priority>1.0</priority>
?????????????</url>';


????//?Send?Topics

????$sql?=?'SELECT?*?FROM?phpbb_topics?WHERE?topic_approved=1?ORDER?BY?topic_id?DESC';
???????????$result?=?$db->sql_query($sql);
???????while?($data=mysql_fetch_array($result))?{

????echo?'<url>
??????????<loc>'.$domainpath.'viewtopic.php?f='.$data['forum_id'].'&t='.$data['topic_id'].'</loc>
??????????<lastmod>'.?gmdate('Y-m-d',$data['topic_last_post_time'])?.'</lastmod>
??????????<changefreq>always</changefreq>
??????????<priority>0.8</priority>
?????????????</url>';

????}

????//?Send?Forums

????$sql?=?'SELECT?*?FROM?phpbb_forums?WHERE?parent_id!=0';
???????????$result?=?$db->sql_query($sql);
???????while?($data=mysql_fetch_array($result))?{

????echo?'<url>
??????????<loc>'.$domainpath.'viewforum.php?f='.$data['forum_id'].'</loc>
??????????<lastmod>'.?(gmdate('Y',?$data['forum_last_post_time'])?==?1970???gmdate('Y-m-d')?:?gmdate('Y-m-d',$data['forum_last_post_time']))?.'</lastmod>
??????????<changefreq>always</changefreq>
??????????<priority>0.9</priority>
?????????????</url>';

????}


????//?Send?Closing?Tags

????echo?'??</urlset>';


?>

????? ????? ??????? ??????? (????)

مرسل: الجمعة ديسمبر 12, 2008 11:51 pm
بواسطة alahamdan
???? ??? ??????? ?? saanina ?????? ?????? 1970 ?? ????????? ???? ??? ??? ???????

????? ????? ??????? ???????

مرسل: الأحد سبتمبر 13, 2009 2:06 am
بواسطة alahamdan
?????? ?????.
?? ??? ??????? ??????? ? ????????? ????? ???????? ???? ???? ?????? ??? ????? ????????? ???? ??? ??? ????? ????? ????????? ????????? ?? ????? ????????. ???? ????? ??????? ???? ????? ?????? (????? ????? ???? ?????? ???????? ?????? ???? ?????? ??? ???????):

كود: تحديد الكل

<?php

    // PHPBB 3.0 Sitemap Modification
    // Greensboring.com
    // Version 3.0 - September 5 2007


    // Enter The Path to Your PHPBB Forum if different then root.
    // Example: $path='/community/';

    $path='/forum/';


    // Change Nothing Below Here:
    // ********************************************************************

    $domainpath='http://'.$_SERVER['HTTP_HOST'].$path;

    // Connect

    define('IN_PHPBB', true);
    $phpbb_root_path = './';
    $phpEx = substr(strrchr(__FILE__, '.'), 1);

    include($phpbb_root_path . 'config.' . $phpEx);
    include($phpbb_root_path . 'includes/db/' . $dbms . '.' . $phpEx);

    $db = new $sql_db();

    $db->sql_connect($dbhost, $dbuser, $dbpasswd, $dbname, $dbport, false, false);

    // Send initial Data

    echo '<?xml version="1.0" encoding="UTF-8"?>'."\n";
    echo "<urlset xmlns=\"http://www.google.com/schemas/sitemap/0.84\" xmlns:xsi=\"http://www.w3.org/2001/XMLSchema-instance\" xsi:schemaLocation=\"http://www.google.com/schemas/sitemap/0.84 http://www.google.com/schemas/sitemap/0.84/sitemap.xsd\">";

    // Send Index

    echo '<url>
          <loc>'.$domainpath.'</loc>
          <lastmod>' . gmdate('Y-m-d') . '</lastmod>
          <priority>1.0</priority>
             </url>';


    // Send Topics

    $sql = 'SELECT * FROM phpbb_topics WHERE topic_approved=1 ORDER BY topic_id DESC';
           $result = $db->sql_query($sql);
       while ($data=mysql_fetch_array($result)) {

    echo '<url>
          <loc>'.$domainpath.'viewtopic.php?f='.$data['forum_id'].'&t='.$data['topic_id'].'</loc>
          <lastmod>'. gmdate('Y-m-d',$data['topic_last_post_time']) .'</lastmod>
          <priority>0.9</priority>
             </url>';

    }

    // Send Forums

    $sql = 'SELECT * FROM phpbb_forums WHERE parent_id!=0';
           $result = $db->sql_query($sql);
       while ($data=mysql_fetch_array($result)) {

    echo '<url>
          <loc>'.$domainpath.'viewforum.php?f='.$data['forum_id'].'</loc>
          <lastmod>'. (gmdate('Y', $data['forum_last_post_time']) == 1970 ? gmdate('Y-m-d') : gmdate('Y-m-d',$data['forum_last_post_time'])) .'</lastmod>
          <priority>0.8</priority>
             </url>';

    }


    // Send Closing Tags

    echo '  </urlset>';


?>
??? ????????? ????? ?? ????? ? ???? ????? ? ??? ?? ??? ????? ???? ???? ????? ??????? ????? ? Query ????? ? ????? ??????? ??? ???????? ???????? ????????? ?????? ????? ????? ???? ??? ??? ??????? ???? ????? ?? Mysql ???? Time Out ????? ????? ??? ?????? ????? ????? ????? ?????? (????? 40 ??? ????).

???? ???? ???????? ??? ??? ???? ????? ??? ???????? ??? ?? ??? ????? ??????? ???? ????? ????? ??? ??? ??? ???? ?? ??? ????? ???? ?? ???? ???? ???? ???? ???? ? ????? ??????? ?????? ???? ?? 0 ??? 20 ??? ???????? ?? 20 ??? ??? 40 ??? ?????. ?? ?? ?? ?? ????? ??????.

???? ??? ???????? ????? ?????? ????.

????? ????? ??????? ???????

مرسل: الاثنين سبتمبر 14, 2009 11:43 am
بواسطة alahamdan
???

????? ????? ??????? ???????

مرسل: الاثنين سبتمبر 14, 2009 7:58 pm
بواسطة Garebooo
??? ???? ??? ??? ????? /

كود: تحديد الكل

'ORDER_BY'  => 't.topic_time DESC LIMIT 5'
????? ????? 5 ???? ??? ?? ???????? ??? ????? ? ????? ???? ???? ???????

?? ?????? ??? ?????? ?????? ????? ???? ??? ????? ?????? ?????? ???? /

كود: تحديد الكل

User-agent: msnbot
Crawl-delay: 600

????? ????? ??????? ???????

مرسل: الأحد أكتوبر 04, 2009 1:13 pm
بواسطة A.B.M.K
??? ??? ???? ??????? ,

???? ????? ??? ???? ??????? ? ????? ???? ???? ???? ?? ??????? ??? ???? http://www.al-yemen.de/vb/sitemap.php

???? ???? ???? ,,,,,,, ??? ??? ????? ????????
?????