PHPFusion - tai laisvai platinama nemokama turinio valdymo sistema (TVS), kurios pagalba galite greitai, lengvai ir
patogiai susikurti norimą internetinį puslapį. Plačiau apie sistemą...
Jaunelis 2024 Lie. 25 11:07:43 Oho vis dar veikia svetainė Šimtas metų, matau Šaukykloje nuostalgija. Smagu panaršyt po forumą ir pažiūrėt senas temas
And2s 2024 Lie. 17 19:07:04 2008 pirmą kart čia patekau, man buvo 10m ir čia pramokau programavimo.. smagu skaityti senas žinutes, tokia nostalgija ačiū Ozz kad saugoji šitą kultūrinį reliktą
ozzWANTED 2024 Sau. 17 01:01:00 Desperatiškus komentarus šaukykloje su accountu po mėnesio prasibuvimo, ištryniau. Pasaulis ir taip juodas. Įjungiam šviesą, prašviesės.
Majakas 2023 Gru. 10 19:12:39 Negaliu patikėti jog žinutės/pranešimai visi yra nuo 2008 m
//If this is useful for you please reply here and if you want you can put in your pages my link:
//Title: Jocuri
//Description: Jocuri Gratuite Online
//Link: http://www.d0.ro
//Site Wide: yes/no (your choise)
//CATEGORIES PART
$sql = mysql_query("SELECT * FROM ava_cats ORDER BY name");
$total_cats = mysql_result(mysql_query("SELECT COUNT(*) as Num FROM ava_cats"),0);
$total_cats2 = 0;
while($row = mysql_fetch_array($sql))
{
$total_cats2 = ($total_cats2 + 1);
$abcd= $row['name'];
$abcd = str_replace (" ", "-", $abcd);
$abcd = preg_replace ( "/[\.,\";'\:]/", "", $abcd );
//PLEASE CHANGE HERE FOR YOUR CATEGORIES LINKS
//**********************************************
$url = $site_url.'/cat/'.$row['id'].'/'.$abcd.'/p1.htm';
//**********************************************
// END OF CHANGE
$smoutput = "
<url>
<loc>".$url."</loc>
<lastmod>".$azi."</lastmod>
<changefreq>daily</changefreq>
<priority>0.9</priority>
</url>";
echo $smoutput;
if ($cat_numbers == 1)
{
$cat_numb = mysql_result(mysql_query("SELECT COUNT(*) as Num FROM ava_games WHERE catergory_id=".$row['id'].""),0);
}
}
// GAMES LINKS PART
$sql_query = "SELECT * FROM `ava_games`";
$result = mysql_query($sql_query);
if (mysql_num_rows($result) != 0)
{
while ($row = mysql_fetch_assoc($result))
{
$abcd = $row['name'];
$abcd = str_replace(" ", "-", $abcd);
//PLESAE CHANGE "/view/" HERE FOR YOUR GAMES LINKS AND PUT .'.html' AT END OF LINE IF YOUR LINKS ARE WITH .html
//**************************************************************
$url = $site_url.'/view/'.$row['id'].'/'.$abcd;
//**************************************************************
//END OF CHANGES
$smoutput = "
<url>
<loc>".$url."</loc>
<lastmod>".$azi."</lastmod>
<changefreq>weekly</changefreq>
<priority>0.8</priority>
</url>";
echo $smoutput;
}
}
//NEWS PART
$sql = mysql_query("SELECT * FROM ava_news ORDER BY id");
while($row = mysql_fetch_array($sql))
{
$sql2 = mysql_query("SELECT * FROM ava_users WHERE id='".$row['user']."'");
while($row2 = mysql_fetch_array($sql2))
{
$abcd= $row['title'];
$abcd = str_replace (" ", "-", $abcd);
$abcd = preg_replace ( "/[\.,\";'\:]/", "", $abcd );
//PLEASE CHANGE HERE IF YOUR LINKS ARE DIFFERENT
//***********************************************
$news_url = $site_url.'/task/news/item/'.$row['id'].'/'.$abcd.'.html';
//**************************************************
//END OF CHANGE
$smoutput = "
<url>
<loc>".$news_url."</loc>
<lastmod>".$azi."</lastmod>
<changefreq>weekly</changefreq>
<priority>0.8</priority>
</url>";
echo $smoutput;
}
}