CuDemVN.Wap.Sh



![]() | ![]() ![]() ![]() |
$ngaythangnam = date('Y-m-d');
$te = 'T';
$zet = 'Z';
$time = date('H:i');
$msitemap = "<url><loc>http://upxu.wap.sh/?id=$tenfile</loc><lastmod>$ngaythangnam$te$time$zet</lastmod><changefreq>daily</changefreq><priority>0.9</priority></url>";
$sitemap = file_get_contents('sitemap.txt');
file_put_contents('data/sitemap.txt',$msitemap.$sitemap);
$sitemaps = file_get_contents('sitemap.txt', true);
curl_setopt($ch, CURLOPT_URL, 'http://xtgem.com/filebrowser/file_save?__token='.$token.'&act=edit_file&file=/sitemap.xml');
curl_setopt($ch, CURLOPT_POSTFIELDS, array('value' => cvnokia('<?xml version="1.0" encoding="UTF-8"?>
<urlset xmlns="http://www.sitemaps.org/schemas/sitemap/0.9" xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance" xsi:schemaLocation="http://www.sitemaps.org/schemas/sitemap/0.9 http://www.sitemaps.org/schemas/sitemap/0.9/sitemap.xsd">'.$sitemaps.'</urlset>'), 'submit' => 'Save'));
curl_exec($ch);
code có chức năng gi chuỗi vào đầu sitemap k như mấy cái cũ gi vào cuối nhé
edit lại cho phủ hợp và dán vào cuối tool của bạn
Nguồn: prince37 - 2hi.biz
demo:

thanks to : tiaxgame, belvpro ..v..v

Đánh giá: 4.5/ 5, 606 bình chọn
