Follow along with the video below to see how to install our site as a web app on your home screen.
Примечание: This feature may not be available in some browsers.
и вот таких 1к))) надоест обрезать)<urlset xmlns="http://www.sitemaps.org/schemas/sitemap/0.9">
<url>
<loc>
Для просмотра ссылки Войдиили Зарегистрируйся
</loc>
<lastmod>
2009-11-06
</lastmod>
<priority>
0.5
</priority>
</url>
<url>
set_time_limit(0);
define("DATALIFEENGINE", true);
define("ROOT_DIR", dirname(__FILE__));
define("ENGINE_DIR", ROOT_DIR."/engine/");
require_once ROOT_DIR . '/engine/classes/mysql.php';
require_once ROOT_DIR . '/engine/data/config.php';
require_once ROOT_DIR . '/engine/data/dbconfig.php';
$sql = $db->query('SELECT id FROM '.PREFIX.'_post ORDER by id DESC');
$szContentOfNews = '';
while ($row = $db->get_row($sql)) {
$szContentOfNews .= $config['http_home_url'].'index.php?newsid='.$row['id'].'<br />';
}
$db->free();
echo $szContentOfNews;
это всё есть в стандартных модулях.А нельзя ли с чпу нормальным?)))
if( $config['allow_alt_url'] == "yes" ) {
if( $row['flag'] and $config['seo_type'] ) {
if( $row['category'] and $config['seo_type'] == 2 ) {
$full_link = $config['http_home_url'] . get_url( $row['category'] ) . "/" . $row['id'] . "-" . $row['alt_name'] . ".html";
} else {
$full_link = $config['http_home_url'] . $row['id'] . "-" . $row['alt_name'] . ".html";
}
} else {
$full_link = $config['http_home_url'] . date( 'Y/m/d/', $row['date'] ) . $row['alt_name'] . ".html";
}
} else {
$full_link = $config['http_home_url'] . "index.php?newsid=" . $row['id'];
}