Navigacija

Vartotojų tinkle

Prisijungusių svečių: 230
Prisijungusių narių: 0
Prisijungusių narių nėra

Registruoti nariai: 25,956
Naujausias narys: saulyzas

Naujausi straipsniai

Paskutiniai nariai

ozzWANTED 4 dienos
saulyzas 2 savaitės
MaFetas 2 savaitės
TOMIJUS 3 savaitės
Reikalas12 savaitės
Jaunelis18 savaitės
lanis19 savaitės
And2s20 savaitės
Memento Mori24 savaitės
Quwqkibor27 savaitės
asirija31 savaitės
tomeem33 savaitės
weberiz36 savaitės
mRokass39 savaitės
kartoonas40 savaitės
grunskiz42 savaitės
Bruksnys43 savaitės
illusion43 savaitės
ordo44 savaitės
Jurgaila45 savaitės

Informacija:


OS: Unknown
Naršyklė: Nežinoma
IP: 3.148.144.58
Naujienų: 529
Straipsnių: 235
Temų: 52,588
Postų: 522,537
Postų pask. parą: 0
Shout'ų pask. parą: 0
P.S.C. pask. parą: 0
Nuorodų kataloge: 13

Lankomumo Statistika

Peržiūrų šiandien: 22

Iš viso peržiūrų: 22948724

Prisijungti

REGISTRUOTIS
Nario vardas

Slaptažodis



Pamiršai slaptažodį?
Paprašyk naujo

Aktyvuoti save

Šaukykla

Jei norite rašyti žinutes, turite prisijungti.

ozzWANTED
2024 Lap. 30 15:11:14
Taip, vis dar up šypsosi

MaFetas
2024 Lap. 13 22:11:57
hey how, geras dar veikiantis saitas?

Jaunelis
2024 Lie. 25 11:07:43
Oho vis dar veikia svetainė akinanti šypsen Šimtas metų, matau Šaukykloje nuostalgija. Smagu panaršyt po forumą ir pažiūrėt senas temas šypsosi

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 akinanti šypsen ačiū Ozz kad saugoji šitą kultūrinį reliktą šypsosi

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. šypsosi

Šaukyklos archyvas

Apklausa

Ar esate patenkinti lietuviško vertimo kokybe?

Taip!

Taip, bet yra ką taisyti (parašysiu komentaruose)

Ne

Norėdamas balsuoti turite prisijungti.
Archyvas
Reklama 400x60
Draugu sistema
Forumas | Modai, įskiepiai, panelės (PHP-FUSION) | Naujų modų pristatymai

Puslapis 1 iš 2 1 2
Autorius: Enzo Peržiūrų: 34940      Spausdinti temą
2008 Sau. 19 16:01:59          1 žinutė iš 61
Spausdinti pranešimą
Čia yra draugų sistema. Joje galima bus pakviesti draugauti, reikės nusiųsti pakvietimą, bet narys galės jo ir nepriimti. Galima ignoruoti kokį nors narį ir t.t. Vertimas Chipass

FCBarcelona
mes que un club
Enzo prisegtu failu:
draugu_sistema.zip

Redagavo Enzo 2008 Sau. 19 16:01:35
2008 Sau. 19 16:01:44          2 žinutė iš 61
Spausdinti pranešimą
Dekui,tikrai praversmerkia akį
2008 Sau. 19 16:01:52          3 žinutė iš 61
Spausdinti pranešimą
Gerai kokiam pramoginiam puslapiui.

Kiekvienam žmogui yra skirta dovana, tik ne kiekvienas sugeba ją atrasti.
2008 Sau. 19 16:01:47          4 žinutė iš 61
Spausdinti pranešimą
Šaunuolis Enzo, atsinaujinsiu pas save saite šypsosi puiku kad vertimas yra šypsosi

Adminas - ban'o laisvė
www.KIETEKAS.com
2008 Sau. 19 16:01:31          5 žinutė iš 61
Spausdinti pranešimą
Kipriuxxz parašė:
Gerai kokiam pramoginiam puslapiui.


Gerai ir bet kokiam, pvz kietekas.com tokia naudoja tik senesne, o tenais nei pramogu saitas nei kadrovus

FCBarcelona
mes que un club
2008 Sau. 19 16:01:09          6 žinutė iš 61
Spausdinti pranešimą
Geras dalykas, daug kam pritaikyt galima šypsosi
2008 Sau. 19 16:01:30          7 žinutė iš 61
Spausdinti pranešimą
Nepilnai isverstasmerkia akį
Jei nebus vakare ka veikti tai isversiumerkia akį


Redagavo Giedrunskis 2008 Sau. 19 16:01:36
2008 Sau. 19 16:01:33          8 žinutė iš 61
Spausdinti pranešimą
Liudas parašė:
Nepilnai isverstasmerkia akį
Jei nebus vakare ka veikti tai isversiumerkia akį


A, jo pastebejaušypsosi

FCBarcelona
mes que un club
2008 Sau. 19 16:01:55          9 žinutė iš 61
Spausdinti pranešimą
Nu seip nzn. gal kam nors ir gali praverst. buvau isidieges bet be redagavimo nieko gero. liežuvis

2008 Sau. 19 16:01:53          10 žinutė iš 61
Spausdinti pranešimą
Undersky parašė:
Nu seip nzn. gal kam nors ir gali praverst. buvau isidieges bet be redagavimo nieko gero. liežuvis


Idomu kuria buvai? Senesne tai prasta, sita geresnešypsosi

FCBarcelona
mes que un club
2008 Sau. 19 17:01:15          11 žinutė iš 61
Spausdinti pranešimą
gekündigt
Ka sitas zodis reiskia? akinanti šypsen
Ir baigsiu versti tada akinanti šypsen

2008 Sau. 19 17:01:58          12 žinutė iš 61
Spausdinti pranešimą
Liudas parašė:
gekündigt
Ka sitas zodis reiskia? akinanti šypsen
Ir baigsiu versti tada akinanti šypsen


Perkunas zinojuokiasi

FCBarcelona
mes que un club
2008 Sau. 19 17:01:48          13 žinutė iš 61
Spausdinti pranešimą
i anglu issiversk su kokiu zodynu, o po to i lt.

ex best admin!
2008 Sau. 19 17:01:34          14 žinutė iš 61
Spausdinti pranešimą
isversk, neturiu kantrybes zaisti su zodynais akinanti šypsen akinanti šypsen

2008 Sau. 19 17:01:03          15 žinutė iš 61
Spausdinti pranešimą
Liudas parašė:
isversk, neturiu kantrybes zaisti su zodynais akinanti šypsen akinanti šypsen




su zodynasi uzsiknisimas
2008 Sau. 19 17:01:24          16 žinutė iš 61
Spausdinti pranešimą
BaRt parašė:
Liudas parašė:
isversk, neturiu kantrybes zaisti su zodynais akinanti šypsen akinanti šypsen




su zodynasi uzsiknisimas


tavo nuomones niekas cia neprase, varyk tiktais.

ex best admin!
2008 Sau. 19 17:01:08          17 žinutė iš 61
Spausdinti pranešimą
jo varaukietasakinanti šypsen skubu lekiu begu kiek ykabinu akinanti šypsen

2008 Sau. 19 18:01:44          18 žinutė iš 61
Spausdinti pranešimą
Ji pas mane neveikia. Kaži kodėl pakviečiau draugauti bet nieko negavo į PM.

2008 Sau. 19 18:01:52          19 žinutė iš 61
Spausdinti pranešimą
Sharkman parašė:
Ji pas mane neveikia. Kaži kodėl pakviečiau draugauti bet nieko negavo į PM.

Kažką man enzo sakė, kad turi kodas kažkoks dėtis i messages.php nėra jo readme.txt faile?

Adminas - ban'o laisvė
www.KIETEKAS.com
2008 Sau. 19 18:01:18          20 žinutė iš 61
Spausdinti pranešimą
Yra ten ir profile.php failą ir kitus. Bet nieko negavau.

2008 Sau. 19 19:01:01          21 žinutė iš 61
Spausdinti pranešimą
vokieciu kurtas, galit eit pas juos i foruma, pilna klausimu apie sita moda:
phpfusionclub.de
antra jokio pm negausite kai pakviest draugau šypsosi
kaip tik sita moda isidiegiau i pramogauk.net, tai prisitaikiau kaip one.lt atsiranda langas, kai pakviecia draugaut šypsosi
2008 Sau. 19 19:01:29          22 žinutė iš 61
Spausdinti pranešimą
pasiredaguokit vertima, bet kazkas panasaus:
<?php

$locale['mf01'] = "Mano draugai";
$locale['mf02'] = "<center>Čia Jūs galite administruoti savo ir kitø pakvietimus, skirtus jums</center>";

$locale['mf10'] = "<b><u>Vartotojas</b></u>";
$locale['mf11'] = "<b><u>Statusas</b></u>";
$locale['mf12'] = "<b><u>Veiksmas</b></u>";

$locale['mf20'] = "Siūloma draugystė";
$locale['mf21'] = "Laukiama priėmimo";
$locale['mf24'] = "Priimtas nuo";
$locale['mf25'] = "Pašalinti";
$locale['mf26'] = "Pašalinti";

$locale['mf30'] = "Atmesti pakvietimą";
$locale['mf31'] = "Atmesti";
$locale['mf32'] = "Sutikti";
$locale['mf33'] = "Susitaikyti";

$locale['mf40'] = "Atsiprašome, tačiau jūs neturite pakviestų draugų!";

$locale['mf50'] = "Užblokuotas";
$locale['mf51'] = "Atblokuoti";

?>


2008 Sau. 19 20:01:41          23 žinutė iš 61
Spausdinti pranešimą
Reikės išbandytimerkia akį

2008 Kov. 6 21:03:54          24 žinutė iš 61
Spausdinti pranešimą
Bandziau , bandziau bet neiseina padaryti to Profile.php ten tuos kodus sudeti.

Gal kas turite profile.php visa koda su sita sistema ?


2008 Kov. 8 20:03:41          25 žinutė iš 61
Spausdinti pranešimą
Parse error: syntax error, unexpected '<' in /home/db_vardas/saitas.xz.lt/infusions/user_info_panel/user_info_panel.php on line 20

Užsiknisiu... Kur čia klaida? akinanti šypsen
2008 Kov. 8 20:03:32          26 žinutė iš 61
Spausdinti pranešimą
FrIx parašė:
Parse error: syntax error, unexpected '<' in /home/db_vardas/saitas.xz.lt/infusions/user_info_panel/user_info_panel.php on line 20

Užsiknisiu... Kur čia klaida? akinanti šypsen


Įmesk visą kodą kurį dėjamerkia akį

FCBarcelona
mes que un club
2008 Kov. 8 20:03:10          27 žinutė iš 61
Spausdinti pranešimą
user_info_panel.php:
<?php
/*---------------------------------------------------+
| PHP-Fusion 6 Content Management System
+----------------------------------------------------+
| Copyright © 2002 - 2005 Nick Jones
| http://www.php-fusion.co.uk/
+----------------------------------------------------+
| Released under the terms & conditions of v2 of the
| GNU General Public License. For details refer to
| the included gpl.txt file or visit http://gnu.org
+----------------------------------------------------*/
if (!defined("IN_FUSION")) { header("Location:../../index.php"); exit; }

if (iMEMBER) {
   openside($userdata['user_name']);
   $msg_count = dbcount("(message_id)", "messages", "message_to='".$userdata['user_id']."' AND message_read='0'AND message_folder='0'");
echo "<img src='".THEME."images/bullet.gif' alt=''> <a href='".BASEDIR."edit_profile.php' class='side'>".$locale['080']."</a><br>
<img src='".THEME."images/bullet.gif' alt=''> <a href='".BASEDIR."messages.php' class='side'>".$locale['081']."</a><br>
<img src='".THEME."images/bullet.gif' alt=''> <a href='".BASEDIR."members.php' class='side'>".$locale['082']."</a><br>\n";
<img src='".THEME."images/bullet.gif' alt=''> <a href='".INFUSIONS."draugai/mano_draugai.php'>Mano draugai</a><br>\n";
   if (iADMIN && (iUSER_RIGHTS != "" || iUSER_RIGHTS != "C")) {
      echo "<img src='".THEME."images/bullet.gif' alt=''> <a href='".ADMIN."index.php".$aidlink."' class='side'>".$locale['083']."</a><br>\n";
   }
   echo "<img src='".THEME."images/bullet.gif' alt=''> <a href='".BASEDIR."setuser.php?logout=yes' class='side'>".$locale['084']."</a>\n";
   if ($msg_count) echo "<br><br><center><b><a href='".BASEDIR."messages.php' class='side'>".sprintf($locale['085'], $msg_count).($msg_count == 1 ? $locale['086'] : $locale['087'])."</a></b></center>\n";
} else {
   openside($locale['060']);
   echo "<div align='center'>".(isset($loginerror) ? $loginerror : "")."
<form name='loginform' method='post' action='".FUSION_SELF."'>
".$locale['061']."<br>
<input type='text' name='user_name' class='textbox' style='width:100px'><br>
".$locale['062']."<br>
<input type='password' name='user_pass' class='textbox' style='width:100px'><br>
<input type='checkbox' name='remember_me' value='y' title='".$locale['063']."' style='vertical-align:middle;'>
<input type='submit' name='login' value='".$locale['064']."' class='button'><br>
</form>
<br>\n";
   if ($settings['enable_registration']) {
      echo "".$locale['065']."<br><br>\n";
   }
   echo $locale['066']."
</div>\n";
}
closeside();
?>




profile.php:
<?php
/*---------------------------------------------------+
| PHP-Fusion 6 Content Management System
+----------------------------------------------------+
| Copyright © 2002 - 2006 Nick Jones
| http://www.php-fusion.co.uk/
+----------------------------------------------------+
| Released under the terms & conditions of v2 of the
| GNU General Public License. For details refer to
| the included gpl.txt file or visit http://gnu.org
+----------------------------------------------------*/
require_once "maincore.php";
require_once "subheader.php";
require_once "side_left.php";
include LOCALE.LOCALESET."members-profile.php";
include LOCALE.LOCALESET."user_fields.php";

if (!isset($group_id)) {
   if (!isset($lookup) || !isNum($lookup)) fallback("index.php");
   $result = dbquery("SELECT * FROM ".$db_prefix."users WHERE user_id='$lookup'");
   if (dbrows($result)) { $data = dbarray($result); } else { redirect("index.php"); }



// draugu sistema

$result_ig = dbquery("SELECT * FROM ".$db_prefix."buddys_igno WHERE buddys_igno_usr2 = ".$userdata['user_id']." AND buddys_igno_usr1 = ".$data['user_id']."");
$data_ig = dbarray($result_ig);
if($data_ig['buddys_igno_id'] == ""){

// draugu sistema



   opentable($locale['420']);
   echo "<table align='center' cellpadding='0' cellspacing='1' width='400' class='tbl-border'>
<tr>
<td colspan='3'>
<table align='center' cellpadding='0' cellspacing='0' width='100%'>
<tr>
<td class='tbl2'><b>".$data['user_name']."</b></td>
<td align='right' class='tbl2'>".getuserlevel($data['user_level'])."</td>
</tr>
</table>
</td>
<tr>
<td align='center' width='150' rowspan='5' class='tbl2'>\n";

   echo ($data['user_avatar'] ? "<img src='".IMAGES."avatars/".$data['user_avatar']."' alt='".$locale['u017']."'>" : $locale['u046'])."</td>
<td width='1%' class='tbl1' style='white-space:nowrap'><b>".$locale['u009']."</b></td>
<td class='tbl1'>".($data['user_location'] ? $data['user_location'] : $locale['u048'])."</td>
</tr>
<tr>
<td width='1%' class='tbl2' style='white-space:nowrap'><b>".$locale['u010']."</b></td>
<td class='tbl2'>";
   if ($data['user_birthdate'] != "0000-00-00") {
      $months = explode("|", $locale['months']);
      $user_birthdate = explode("-", $data['user_birthdate']);
      echo $months[number_format($user_birthdate['1'])]." ".number_format($user_birthdate['2'])." ".$user_birthdate['0'];
   } else {
      echo $locale['u048'];
   }
   echo "</td>
</tr>
<tr>
<td width='1%' class='tbl1' style='white-space:nowrap'><b>".$locale['u021']."</b></td>
<td class='tbl1'>".($data['user_aim'] ? $data['user_aim'] : $locale['u048'])."</td>
</tr>
<tr>
<td width='1%' class='tbl2' style='white-space:nowrap'><b>".$locale['u011']."</b></td>
<td class='tbl2'>".($data['user_icq'] ? $data['user_icq'] : $locale['u048'])."</td>
</tr>
<tr>
<td width='1%' class='tbl1' style='white-space:nowrap'><b>".$locale['u012']."</b></td>
<td class='tbl1'>".($data['user_msn'] ? $data['user_msn'] : $locale['u048'])."</td>
</tr>
<tr>
<td align='center' class='tbl1'>\n";
   if ($data['user_hide_email'] != "1" || iADMIN) {
      echo "[<a href='mailto:".str_replace("@","&#64;",$data['user_email'])."' title='".str_replace("@","&#64;",$data['user_email'])."'>".$locale['u051']."</a>]\n";
   }
   if ($data['user_web']) {
      $urlprefix = !strstr($data['user_web'], "http://") ? "http://" : "";
      echo "[<a href='".$urlprefix.$data['user_web']."' title='".$urlprefix.$data['user_web']."' target='_blank'>".$locale['u052']."</a>]\n";
   }
   if (iMEMBER && $data['user_id'] != $userdata['user_id']) {
      echo "[<a href='messages.php?msg_send=".$data['user_id']."' title='".$locale['u060']."'>".$locale['u053']."</a>]\n";
   }
   echo "</td>
<td width='1%' class='tbl2' style='white-space:nowrap'><b>".$locale['u013']."</b></td>
<td class='tbl2'>".($data['user_yahoo'] ? $data['user_yahoo'] : $locale['u048'])."</td>
</tr>
</table>\n";

   tablebreak();
   
   echo "<table align='center' cellpadding='0' cellspacing='1' width='400' class='tbl-border'>
<tr>
<td class='tbl2' colspan='2'><b>".$locale['422']."</b></td>
</tr>
<tr>
<td width='1%' class='tbl1' style='white-space:nowrap'><b>".$locale['u040']."</b></td>
<td class='tbl1'>".showdate("longdate", $data['user_joined'])."</td>
</tr>
<tr>
<td width='1%' class='tbl2' style='white-space:nowrap'><b>".$locale['u044']."</b></td>
<td class='tbl2'>".($data['user_lastvisit'] != 0 ? showdate("longdate", $data['user_lastvisit']) : $locale['u049'])."</td>
</tr>
<tr>
<td width='1%' class='tbl1' style='white-space:nowrap'><b>".$locale['u041']."</b></td>
<td class='tbl1'>".number_format(dbcount("(shout_id)", "shoutbox", "shout_name='".$data['user_id']."'"))."</td>
</tr>
<tr>
<td width='1%' class='tbl2' style='white-space:nowrap'><b>".$locale['u042']."</b></td>
<td class='tbl2'>".number_format(dbcount("(comment_id)", "comments", "comment_name='".$data['user_id']."'"))."</td>
</tr>
<tr>
<td width='1%' class='tbl1' style='white-space:nowrap'><b>".$locale['u043']."</b></td>
<td class='tbl1'>".number_format($data['user_posts'])."</td>
</tr>
</table>\n";
   if ($data['user_groups']) {
      tablebreak();
      echo "<table align='center' cellpadding='0' cellspacing='1' width='400' class='tbl-border'>\n";
      echo "<tr>\n<td class='tbl2'><b>".$locale['423']."</b></td>\n\n</tr>\n<tr>\n<td class='tbl1'>\n";
      $user_groups = (strpos($data['user_groups'], ".") == 0 ? explode(".", substr($data['user_groups'], 1)) : explode(".", $data['user_groups']));
      for ($i = 0;$i < count($user_groups);$i++) {
         echo "<a href='".FUSION_SELF."?group_id=".$user_groups[$i]."'>".getgroupname($user_groups[$i])."</a>";
         if ($i != (count($user_groups)-1)) { echo ",\n"; } else { echo "\n"; }
      }
      echo "</td>\n</tr>\n</table>\n";
   }
} else {
   if (!isNum($group_id)) fallback("index.php");
   $result = dbquery("SELECT * FROM ".$db_prefix."user_groups WHERE group_id='$group_id'");
   if (dbrows($result)) {
      $data = dbarray($result);
      $result = dbquery("SELECT * FROM ".$db_prefix."users WHERE user_groups REGEXP('^\\\.{$group_id}$|\\\.{$group_id}\\\.|\\\.{$group_id}$') ORDER BY user_level DESC, user_name");
      opentable($locale['410']);
      echo "<table align='center' cellpadding='0' cellspacing='1' width='100%' class='tbl-border'>
<tr>
<td align='center' colspan='2' class='tbl1'><b>".$data['group_name']."</b> (".sprintf((dbrows($result)==1?$locale['411']:$locale['412']), dbrows($result)).")</td>
</tr>
<tr>
<td class='tbl2'><b>".$locale['401']."</b></td>
<td align='center' width='1%' class='tbl2' style='white-space:nowrap'><b>".$locale['402']."</b></td>
</tr>\n";
      while ($data = dbarray($result)) {
         $cell_color = ($i % 2 == 0 ? "tbl1" : "tbl2"); $i++;
         echo "<tr>\n<td class='$cell_color'>\n<a href='profile.php?lookup=".$data['user_id']."'>".$data['user_name']."</a></td>\n";
         echo "<td align='center' width='1%' class='$cell_color' style='white-space:nowrap'>".getuserlevel($data['user_level'])."</td>\n</tr>";
      }
      echo "</table>\n";
   } else {
      fallback(BASEDIR."index.php");
   }
}



// draugu sistema v.2.0

if ($userdata['user_id'] != $lookup AND $userdata['user_id'] != ''){

$result_from=dbquery("SELECT * FROM ".$db_prefix."buddys WHERE
buddy_from = ".$userdata['user_id']." AND buddy_to = ".$data['user_id']."");
$data_from = dbarray($result_from);

$result_to=dbquery("SELECT * FROM ".$db_prefix."buddys WHERE
buddy_to = ".$userdata['user_id']." AND buddy_from = ".$data['user_id']."");
$data_to = dbarray($result_to);

if($data_from['buddy_id'] == "" AND $data_to['buddy_id'] == "" AND $data_ig['buddys_igno_id'] == ""){
echo "<br><center><a href='profile.php?lookup=".$data['user_id']."&buddy=I'>Freundschaft anbieten</a></center>";
}

}

if ($userdata['user_id'] != ""){
$result_from=dbquery("SELECT * FROM ".$db_prefix."buddys WHERE buddy_from = ".$userdata['user_id']." AND buddy_to = ".$data['user_id']."");
$data_from = dbarray($result_from);
}

if ($data_from['buddy_id'] == "" AND $buddy == "I" AND $data_ig['buddys_igno_id'] == "") {
$result=dbquery("INSERT INTO ".$db_prefix."buddys (buddy_id, buddy_from, buddy_to, buddy_date, buddy_status) VALUES ('','".$userdata['user_id']."', '".$data['user_id']."', '".time()."', '1')");
fallback("profile.php?lookup=$lookup");
}
}

// draugu sistema v.2.0



closetable();

require_once "side_right.php";
require_once "footer.php";
?>




2008 Kov. 8 20:03:08          28 žinutė iš 61
Spausdinti pranešimą
messages.php:
<?php
/*---------------------------------------------------+
| PHP-Fusion 6 Content Management System
+----------------------------------------------------+
| Copyright © 2002 - 2006 Nick Jones
| http://www.php-fusion.co.uk/
+----------------------------------------------------+
| Released under the terms & conditions of v2 of the
| GNU General Public License. For details refer to
| the included gpl.txt file or visit http://gnu.org
+----------------------------------------------------*/
require_once "maincore.php";
require_once "subheader.php";
require_once "side_left.php";
include LOCALE.LOCALESET."messages.php";


// draugu sistema v.2.0
   
$result_ig = dbquery("SELECT * FROM ".$db_prefix."buddys_igno WHERE buddys_igno_usr2 = ".$userdata['user_id']." AND buddys_igno_usr1 = '$msg_send'");
$data_ig = dbarray($result_ig);

// draugu sistema v.2.0




if (!iMEMBER OR $data_ig['buddys_igno_id'] != "") fallback("index.php");

$msg_settings = dbarray(dbquery("SELECT * FROM ".$db_prefix."messages_options WHERE user_id='0'"));

if (!isset($folder) || !preg_match("/^(inbox|outbox|archive|options)$/", $folder)) $folder = "inbox";
if (isset($_POST['msg_send']) && isNum($_POST['msg_send'])) $msg_send = $_POST['msg_send'];
if (isset($_POST['msg_to_group']) && isNum($_POST['msg_to_group'])) $msg_to_group = $_POST['msg_to_group'];

$msg_ids = ""; $check_count = 0;

if (isset($_POST['check_mark'])) {
   if (is_array($_POST['check_mark']) && count($_POST['check_mark']) > 1) {
      foreach ($_POST['check_mark'] as $thisnum) {
         if (isNum($thisnum)) $msg_ids .= ($msg_ids ? "," : "").$thisnum;
         $check_count++;
      }
   } else {
      if (isNum($_POST['check_mark'][0])) $msg_ids = $_POST['check_mark'][0];
      $check_count = 1;
   }
}

if (isset($_POST['save_options'])) {
   $pm_email_notify = isNum($_POST['pm_email_notify']) ? $_POST['pm_email_notify'] : "0";
   $pm_save_sent = isNum($_POST['pm_save_sent']) ? $_POST['pm_save_sent'] : "0";
   if ($_POST['update_type'] == "insert") {
      $result = dbquery("INSERT INTO ".$db_prefix."messages_options (user_id, pm_email_notify, pm_save_sent, pm_inbox, pm_savebox, pm_sentbox) VALUES ('".$userdata['user_id']."', '$pm_email_notify', '$pm_save_sent', '0', '0', '0')");
   } else {
      $result = dbquery("UPDATE ".$db_prefix."messages_options SET pm_email_notify='$pm_email_notify', pm_save_sent='$pm_save_sent' WHERE user_id='".$userdata['user_id']."'");
   }
   redirect(FUSION_SELF."?folder=options");
}

if (isset($msg_id) && isNum($msg_id)) {
   if (isset($_POST['save'])) {
      $archive_total = dbcount("(message_id)", "messages", "message_to='".$userdata['user_id']."' AND message_folder='2'");
      if ($msg_settings['pm_savebox'] == "0" || ($archive_total + 1) <= $msg_settings['pm_savebox']) {
         $result = dbquery("UPDATE ".$db_prefix."messages SET message_folder='2' WHERE message_id='$msg_id' AND message_to='".$userdata['user_id']."'");
      } else {
         $error = "1";
      }
      redirect(FUSION_SELF."?folder=archive".($error ? "&error=$error" : ""));
   } elseif (isset($_POST['unsave'])) {
      $inbox_total = dbcount("(message_id)", "messages", "message_to='".$userdata['user_id']."' AND message_folder='0'");
      if ($msg_settings['pm_inbox'] == "0" || ($inbox_total + 1) <= $msg_settings['pm_inbox']) {
         $result = dbquery("UPDATE ".$db_prefix."messages SET message_folder='0' WHERE message_id='$msg_id' AND message_to='".$userdata['user_id']."'");
      } else {
         $error = "1";
      }
      redirect(FUSION_SELF."?folder=archive".($error ? "&error=$error" : ""));
   } elseif (isset($_POST['delete'])) {
      $result = dbquery("DELETE FROM ".$db_prefix."messages WHERE message_id='$msg_id' AND message_to='".$userdata['user_id']."'");
      redirect(FUSION_SELF."?folder=$folder");
   }
}

if ($msg_ids && $check_count > 0) {
   if (isset($_POST['save_msg'])) {
      $archive_total = dbcount("(message_id)", "messages", "message_to='".$userdata['user_id']."' AND message_folder='2'");
      if ($msg_settings['pm_savebox'] == "0" || ($archive_total + $check_count) <= $msg_settings['pm_savebox']) {
         $result = dbquery("UPDATE ".$db_prefix."messages SET message_folder='2' WHERE message_id IN(".$msg_ids.") AND message_to='".$userdata['user_id']."'");
      } else {
         $error = "1";
      }
   } elseif (isset($_POST['unsave_msg'])) {
      $inbox_total = dbcount("(message_id)", "messages", "message_to='".$userdata['user_id']."' AND message_folder='0'");
      if ($msg_settings['pm_inbox'] == "0" || ($inbox_total + $check_count) <= $msg_settings['pm_inbox']) {
         $result = dbquery("UPDATE ".$db_prefix."messages SET message_folder='0' WHERE message_id IN(".$msg_ids.") AND message_to='".$userdata['user_id']."'");
      } else {
         $error = "1";
      }
   } elseif (isset($_POST['read_msg'])) {
      $result = dbquery("UPDATE ".$db_prefix."messages SET message_read='1' WHERE message_id IN(".$msg_ids.") AND message_to='".$userdata['user_id']."'");
   } elseif (isset($_POST['unread_msg'])) {
      $result = dbquery("UPDATE ".$db_prefix."messages SET message_read='0' WHERE message_id IN(".$msg_ids.") AND message_to='".$userdata['user_id']."'");
   } elseif (isset($_POST['delete_msg'])) {
      $result = dbquery("DELETE FROM ".$db_prefix."messages WHERE message_id IN(".$msg_ids.") AND message_to='".$userdata['user_id']."'");
   }
   redirect(FUSION_SELF."?folder=$folder".($error ? "&error=$error" : ""));
}

if (isset($_POST['send_message'])) {
   $error = "";
   $result = dbquery("SELECT * FROM ".$db_prefix."messages_options WHERE user_id='".$userdata['user_id']."'");
   if (dbrows($result)) {
      $my_settings = dbarray($result);
   } else {
      $my_settings['pm_save_sent'] = $msg_settings['pm_save_sent'];
      $my_settings['pm_email_notify'] = $msg_settings['pm_email_notify'];
   }
   $subject = stripinput(trim($_POST['subject']));
   $message = stripinput(trim($_POST['message']));
   if ($subject == "" || $message == "") fallback(FUSION_SELF."?folder=inbox");
   $smileys = isset($_POST['chk_disablesmileys']) ? "n" : "y";
   require_once INCLUDES."sendmail_include.php";
   if (iADMIN && isset($_POST['chk_sendtoall']) && isNum($_POST['msg_to_group'])) {
      $msg_to_group = $_POST['msg_to_group'];
      if ($msg_to_group == "101" || $msg_to_group == "102" || $msg_to_group == "103") {
         $result = dbquery(
            "SELECT u.user_id, u.user_name, u.user_email, mo.pm_email_notify FROM ".$db_prefix."users u
            LEFT JOIN ".$db_prefix."messages_options mo USING(user_id)
            WHERE user_level>='".$msg_to_group."'"
         );
         if (dbrows($result)) {
            while ($data = dbarray($result)) {
               if ($data['user_id'] != $userdata['user_id']) {
                  $result2 = dbquery("INSERT INTO ".$db_prefix."messages (message_to, message_from, message_subject, message_message, message_smileys, message_read, message_datestamp, message_folder) VALUES('".$data['user_id']."','".$userdata['user_id']."','".$subject."','".$message."','".$smileys."','0','".time()."','0')");
                  $send_email = isset($data['pm_email_notify']) ? $data['pm_email_notify'] : $msg_settings['pm_email_notify'];
                  if ($send_email == "1") sendemail($data['user_name'],$data['user_email'],$settings['siteusername'],$settings['siteemail'],$locale['625'],$data['user_name'].$locale['626']);
               }
            }
         } else {
            fallback(FUSION_SELF."?folder=inbox");
         }
      } else {
         $result = dbquery(
            "SELECT u.user_id, u.user_name, u.user_email, mo.pm_email_notify FROM ".$db_prefix."users u
            LEFT JOIN ".$db_prefix."messages_options mo USING(user_id)
            WHERE user_groups REGEXP('^\\\.{$msg_to_group}$|\\\.{$msg_to_group}\\\.|\\\.{$msg_to_group}$')"
         );
         if (dbrows($result)) {
            while ($data = dbarray($result)) {
               if ($data['user_id'] != $userdata['user_id']) {
                  $result2 = dbquery("INSERT INTO ".$db_prefix."messages (message_to, message_from, message_subject, message_message, message_smileys, message_read, message_datestamp, message_folder) VALUES('".$data['user_id']."','".$userdata['user_id']."','".$subject."','".$message."','".$smileys."','0','".time()."','0')");
                  $send_email = isset($data['pm_email_notify']) ? $data['pm_email_notify'] : $msg_settings['pm_email_notify'];
                  if ($send_email == "1") sendemail($data['user_name'],$data['user_email'],$settings['siteusername'],$settings['siteemail'],$locale['625'],$data['user_name'].$locale['626']);
               }
            }
         } else {
            fallback(FUSION_SELF."?folder=inbox");
         }
      }
   } elseif (isNum($msg_send)) {
      $result = dbquery(
         "SELECT u.user_id, u.user_name, u.user_email, mo.pm_email_notify, COUNT(message_id) as message_count FROM ".$db_prefix."users u
         LEFT JOIN ".$db_prefix."messages_options mo USING(user_id)
         LEFT JOIN ".$db_prefix."messages ON message_to=u.user_id AND message_folder='0'
         WHERE u.user_id='".$msg_send."' GROUP BY u.user_id"
      );
      if (dbrows($result)) {
         $data = dbarray($result);
         if ($data['user_id'] != $userdata['user_id']) {
            if ($msg_settings['pm_inbox'] == "0" || ($data['message_count'] + 1) <= $msg_settings['pm_inbox']) {
               $result = dbquery("INSERT INTO ".$db_prefix."messages (message_to, message_from, message_subject, message_message, message_smileys, message_read, message_datestamp, message_folder) VALUES('".$data['user_id']."','".$userdata['user_id']."','".$subject."','".$message."','".$smileys."','0','".time()."','0')");
               $send_email = isset($data['pm_email_notify']) ? $data['pm_email_notify'] : $msg_settings['pm_email_notify'];
               if ($send_email == "1") sendemail($data['user_name'],$data['user_email'],$settings['siteusername'],$settings['siteemail'],$locale['625'],$data['user_name'].$locale['626']);
            } else {
               $error = "2";
            }
         }
      } else {
         fallback(FUSION_SELF."?folder=inbox");
      }
   }
   if (!$error) {
      $result =dbquery(
         "SELECT COUNT(message_id) AS outbox_count, MIN(message_id) AS last_message FROM ".$db_prefix."messages
         WHERE message_to='".$userdata['user_id']."' AND message_folder='1' GROUP BY message_to"
      );
      $cdata = dbarray($result);
      if ($my_settings['pm_save_sent']) {
         if ($msg_settings['pm_sentbox'] != "0" && ($cdata['outbox_count'] + 1) > $msg_settings['pm_sentbox']) {
            $result = dbquery("DELETE FROM ".$db_prefix."messages WHERE message_id='".$cdata['last_message']."' AND message_to='".$userdata['user_id']."'");
         }
         if (isset($_POST['chk_sendtoall']) && isNum($_POST['msg_to_group'])) {
            $outbox_user = $userdata['user_id'];
         } else {
            $outbox_user = $msg_send;
         }
         $result = dbquery("INSERT INTO ".$db_prefix."messages (message_to, message_from, message_subject, message_message, message_smileys, message_read, message_datestamp, message_folder) VALUES ('".$userdata['user_id']."','".$outbox_user."','".$subject."','".$message."','".$smileys."','1','".time()."','1')");
      }
   }
   redirect(FUSION_SELF."?folder=inbox".($error ? "&error=$error" : ""));
}

if (isset($error)) {
   if ($error == "1") {
      $message = $locale['629'];
   } elseif ($error == "2") {
      $message = $locale['628'];
   }
   opentable($locale['627']);
   echo "<div align='center'>".$message."</div>\n";
   closetable();
   tablebreak();
}

if (!isset($msg_send) && !isset($msg_read) && $folder != "options") {
   if (!isset($rowstart) || !isNum($rowstart)) $rowstart = 0;
   $bdata = dbarray(dbquery(
      "SELECT COUNT(IF(message_folder=0, 1, null)) inbox_total,
      COUNT(IF(message_folder=1, 1, null)) outbox_total, COUNT(IF(message_folder=2, 1, null)) archive_total
      FROM ".$db_prefix."messages WHERE message_to='".$userdata['user_id']."' GROUP BY message_to"
   ));
   $bdata['inbox_total'] = isset($bdata['inbox_total']) ? $bdata['inbox_total'] : "0";
   $bdata['outbox_total'] = isset($bdata['outbox_total']) ? $bdata['outbox_total'] : "0";
   $bdata['archive_total'] = isset($bdata['archive_total']) ? $bdata['archive_total'] : "0";
   if ($folder == "inbox") {
      $total_rows = $bdata['inbox_total'];
      $result = dbquery(
         "SELECT m.*, u.user_id, u.user_name FROM ".$db_prefix."messages m
         LEFT JOIN ".$db_prefix."users u ON m.message_from=u.user_id
         WHERE message_to='".$userdata['user_id']."' AND message_folder='0'
         ORDER BY message_datestamp DESC LIMIT $rowstart,20"
      );
   } elseif ($folder == "outbox") {
      $total_rows = $bdata['outbox_total'];
      $result = dbquery(
         "SELECT m.*, u.user_id, u.user_name FROM ".$db_prefix."messages m
         LEFT JOIN ".$db_prefix."users u ON m.message_from=u.user_id
         WHERE message_to='".$userdata['user_id']."' AND message_folder='1'
         ORDER BY message_datestamp DESC LIMIT $rowstart,20"
      );
   } elseif ($folder == "archive") {
      $total_rows = $bdata['archive_total'];
      $result = dbquery(
         "SELECT m.*, u.user_id, u.user_name FROM ".$db_prefix."messages m
         LEFT JOIN ".$db_prefix."users u ON m.message_from=u.user_id
         WHERE message_to='".$userdata['user_id']."' AND message_folder='2'
         ORDER BY message_datestamp DESC LIMIT $rowstart,20"
      );
   }
   opentable($locale['400']);
   if ($total_rows) echo "<form name='pm_form' method='post' action='".FUSION_SELF."?folder=$folder'>\n";
   echo "<table cellpadding='0' cellspacing='0' width='100%'>\n";
   echo "<tr>\n<td align='left' width='100%' class='tbl'><a href='".FUSION_SELF."?msg_send=0'>".$locale['401']."</a></td>\n";
   echo "<td width='1%' class='tbl' style='white-space:nowrap;font-weight:".($folder=="inbox"?"bold":"normal")."'><a href='".FUSION_SELF."?folder=inbox'>".$locale['402']." [".$bdata['inbox_total']."/".$msg_settings['pm_inbox']."]</a></td>\n";
   echo "<td width='1%' class='tbl' style='white-space:nowrap;font-weight:".($folder=="outbox"?"bold":"normal")."'><a href='".FUSION_SELF."?folder=outbox'>".$locale['403']." [".$bdata['outbox_total']."/".$msg_settings['pm_sentbox']."]</a></td>\n";
   echo "<td width='1%' class='tbl' style='white-space:nowrap;font-weight:".($folder=="archive"?"bold":"normal")."'><a href='".FUSION_SELF."?folder=archive'>".$locale['404']." [".$bdata['archive_total']."/".$msg_settings['pm_savebox']."]</a></td>\n";
   echo "<td width='1%' class='tbl' style='white-space:nowrap;font-weight:".($folder=="options"?"bold":"normal")."'><a href='".FUSION_SELF."?folder=options'>".$locale['425']."</a></td>\n";
   echo "</tr>\n</table>\n";
   if ($total_rows) {
      echo "<table cellpadding='0' cellspacing='1' width='100%' class='tbl-border'>\n";
      echo "<tr>\n<td class='tbl2'>".$locale['405']."</td>\n";
      echo "<td width='1%' class='tbl2' style='white-space:nowrap'>".($folder != "outbox" ? $locale['406'] : $locale['421'])."</td>\n";
      echo "<td width='1%' class='tbl2' style='white-space:nowrap'>".$locale['407']."</td>\n</tr>\n";
      while ($data = dbarray($result)) {
         $message_subject = $data['message_subject'];
         if (!$data['message_read']) $message_subject = "<b>".$message_subject."</b>";
         echo "<tr>\n<td class='tbl1'><input type='checkbox' name='check_mark[]' value='".$data['message_id']."'>\n";
         echo "<a href='".FUSION_SELF."?folder=$folder&amp;msg_read=".$data['message_id']."'>".$message_subject."</a></td>\n";
         echo "<td width='1%' class='tbl1' style='white-space:nowrap'><a href='".BASEDIR."profile.php?lookup=".$data['user_id']."'>".$data['user_name']."</a></td>\n";
         echo "<td width='1%' class='tbl1' style='white-space:nowrap'>".showdate("shortdate", $data['message_datestamp'])."</td>\n</tr>\n";
      }
      echo "</table>\n";
      
      echo "<table border='0' cellpadding='0' cellspacing='0' width='100%'>\n";
      echo "<tr>\n<td class='tbl'><a href='#' onClick=\"javascript:setChecked('pm_form','check_mark[]',1);return false;\">".$locale['410']."</a> |\n";
      echo "<a href='#' onClick=\"javascript:setChecked('pm_form','check_mark[]',0);return false;\">".$locale['411']."</a></td>\n";
      echo "<td align='right' class='tbl'>".$locale['409']."\n";
      if ($folder == "inbox") echo "<input type='submit' name='save_msg' value='".$locale['412']."' class='button'>\n";
      if ($folder == "archive") echo "<input type='submit' name='unsave_msg' value='".$locale['413']."' class='button'>\n";
      echo "<input type='submit' name='read_msg' value='".$locale['414']."' class='button'>\n";
      echo "<input type='submit' name='unread_msg' value='".$locale['415']."' class='button'>\n";
      echo "<input type='submit' name='delete_msg' value='".$locale['416']."' class='button'>\n";
      echo "</td>\n</tr>\n</table>\n</form>\n";
   } else {
      echo "<div align='center'><br>".$locale['461']."<br><br></div>";
   }
   echo "<script type='text/javascript'>"."\n"."function setChecked(frmName,chkName,val) {"."\n";
   echo "dml=document.forms[frmName];"."\n"."len=dml.elements.length;"."\n"."for(i=0;i < len;i++) {"."\n";
   echo "if(dml.elements.name == chkName) {"."\n"."dml.elements[i].checked = val;"."\n";
   echo "}\n}\n}\n</script>\n";
   closetable();
   if ($total_rows > 20) echo "<div align='center' style='margin-top:5px;'>\n".makePageNav($rowstart,20,$total_rows,3,FUSION_SELF."?folder=$folder&amp;")."\n</div>\n";
} elseif ($folder == "options") {
   $result = dbquery("SELECT * FROM ".$db_prefix."messages_options WHERE user_id='".$userdata['user_id']."'");
   if (dbrows($result)) {
      $my_settings = dbarray($result);
      $update_type = "update";
   } else {
      $my_settings['pm_save_sent'] = 0;
      $my_settings['pm_email_notify'] = 0;
      $update_type = "insert";
   }
   $bdata = dbarray(dbquery(
      "SELECT COUNT(IF(message_folder=0, 1, null)) inbox_total,
      COUNT(IF(message_folder=1, 1, null)) outbox_total, COUNT(IF(message_folder=2, 1, null)) archive_total
      FROM ".$db_prefix."messages WHERE message_to='".$userdata['user_id']."' GROUP BY message_to"
   ));
   $bdata['inbox_total'] = isset($bdata['inbox_total']) ? $bdata['inbox_total'] : "0";
   $bdata['outbox_total'] = isset($bdata['outbox_total']) ? $bdata['outbox_total'] : "0";
   $bdata['archive_total'] = isset($bdata['archive_total']) ? $bdata['archive_total'] : "0";
   opentable($locale['400']);
   echo "<table cellpadding='0' cellspacing='0' width='100%'>\n";
   echo "<tr>\n<td align='left' width='100%' class='tbl'><a href='".FUSION_SELF."?msg_send=0'>".$locale['401']."</a></td>\n";
   echo "<td width='1%' class='tbl' style='white-space:nowrap;font-weight:".($folder=="inbox"?"bold":"normal")."'><a href='".FUSION_SELF."?folder=inbox'>".$locale['402']." [".$bdata['inbox_total']."/".$msg_settings['pm_inbox']."]</a></td>\n";
   echo "<td width='1%' class='tbl' style='white-space:nowrap;font-weight:".($folder=="outbox"?"bold":"normal")."'><a href='".FUSION_SELF."?folder=outbox'>".$locale['403']." [".$bdata['outbox_total']."/".$msg_settings['pm_sentbox']."]</a></td>\n";
   echo "<td width='1%' class='tbl' style='white-space:nowrap;font-weight:".($folder=="archive"?"bold":"normal")."'><a href='".FUSION_SELF."?folder=archive'>".$locale['404']." [".$bdata['archive_total']."/".$msg_settings['pm_savebox']."]</a></td>\n";
   echo "<td width='1%' class='tbl' style='white-space:nowrap;font-weight:".($folder=="options"?"bold":"normal")."'><a href='".FUSION_SELF."?folder=options'>".$locale['425']."</a></td>\n";
   echo "</tr>\n</table>\n";
   tablebreak();
   echo "<form name='options_form' method='post' action='".FUSION_SELF."?folder=options'>\n";
   echo "<table align='center' cellpadding='0' cellspacing='0' width='500'>\n";
   echo "<tr><td class='tbl1' width='60%'>".$locale['621']."</td>\n";
   echo "<td class='tbl1' width='40%'><select name='pm_email_notify' class='textbox'>\n";
   echo "<option value='1'".($my_settings['pm_email_notify'] ? " selected" : "").">".$locale['631']."</option>\n";
   echo "<option value='0'".(!$my_settings['pm_email_notify'] ? " selected" : "").">".$locale['632']."</option>\n";
   echo "</select></td></tr>\n";
   echo "<tr><td class='tbl1' width='60%'>".$locale['622']."</td>\n";
   echo "<td class='tbl1' width='40%'><select name='pm_save_sent' class='textbox'>\n";
   echo "<option value='1'".($my_settings['pm_save_sent'] ? " selected" : "").">".$locale['631']."</option>\n";
   echo "<option value='0'".(!$my_settings['pm_save_sent'] ? " selected" : "").">".$locale['632']."</option>\n";
   echo "</select></td></tr>\n";
   echo "<tr><td align='center' colspan='2' class='tbl1'>\n";
   echo "<br><input type='hidden' name='update_type' value='$update_type'>\n";
   echo "<input type='submit' name='save_options' value='".$locale['623']."' class='button'></td>\n</tr>\n";
   echo "</table></form>\n";
   closetable();
} elseif ((isset($msg_read) && isNum($msg_read)) && ($folder == "inbox" || $folder == "archive" || $folder == "outbox")) {
   $result = dbquery(
      "SELECT m.*, u.user_id, u.user_name FROM ".$db_prefix."messages m
      LEFT JOIN ".$db_prefix."users u ON m.message_from=u.user_id
      WHERE message_to='".$userdata['user_id']."' AND message_id='$msg_read'"
   );
   if (dbrows($result)) {
      $data = dbarray($result);
      $result = dbquery("UPDATE ".$db_prefix."messages SET message_read='1' WHERE message_id='".$data['message_id']."'");
      $message_message = $data['message_message'];
      if ($data['message_smileys'] == "y") $message_message = parsesmileys($message_message);
      opentable($locale['431']);
      echo "<form name='pm_form' method='post' action='".FUSION_SELF."?folder=$folder&amp;msg_send=".$data['user_id']."&amp;msg_id=".$data['message_id']."'>\n";
      echo "<table cellpadding='0' cellspacing='1' width='100%' class='tbl-border'>\n<tr>\n";
      echo "<td align='right' width='1%' class='tbl2' style='white-space:nowrap'>".($folder != "outbox" ? $locale['406'] : $locale['421'])."</td>\n";
      echo "<td class='tbl1'><a href='".BASEDIR."profile.php?lookup=".$data['user_id']."'>".$data['user_name']."</a></td>\n</tr>\n";
      echo "<tr>\n<td align='right' width='1%' class='tbl2' style='white-space:nowrap'>".$locale['407']."</td>\n";
      echo "<td class='tbl1'>".showdate("longdate", $data['message_datestamp'])."</td>\n</tr>\n";
      echo "<tr>\n<td align='right' width='1%' class='tbl2' style='white-space:nowrap'>".$locale['405']."</td>\n";
      echo "<td class='tbl1'>".$data['message_subject']."</td>\n</tr>\n";
      echo "<tr>\n<td colspan='2' class='tbl1'>".nl2br(parseubb($message_message))."</td>\n</tr>\n";
      echo "</table>\n";
      echo "<table border='0' cellpadding='0' cellspacing='0' width='100%'>\n";
      echo "<tr>\n<td colspan='2' class='tbl'><a href='".FUSION_SELF."?folder=$folder'>".$locale['432']."</a></td>\n";
      echo "<td align='right' class='tbl'>\n";
      if ($folder == "inbox" && $data['message_folder'] == 0) echo "<input type='submit' name='reply' value='".$locale['439']."' class='button'>\n";
      if ($folder == "inbox" && $data['message_folder'] == 0) echo "<input type='submit' name='save' value='".$locale['412']."' class='button'>\n";
      if ($folder == "archive" && $data['message_folder'] == 2) echo "<input type='submit' name='unsave' value='".$locale['413']."' class='button'>\n";
      echo "<input type='submit' name='delete' value='".$locale['416']."' class='button'>\n";
      echo "</td>\n</tr>\n</table>\n</form>\n";
      closetable();
   } else {
      fallback(FUSION_SELF);
   }
} elseif (isset($msg_send) && isNum($msg_send)) {
   if (isset($_POST['send_preview'])) {
      $subject = stripinput($_POST['subject']);
      $message = stripinput($_POST['message']);
      $message_preview = $message;
      if (isset($_POST['chk_sendtoall']) && isNum($_POST['msg_to_group'])) {
         $msg_to_group = $_POST['msg_to_group'];
         $sendtoall_chk = " checked";
         $msg_to_group_state = "";
         $msg_send_state = " disabled";
      } else {
         $sendtoall_chk = "";
         $msg_to_group_state = " disabled";
         $msg_send_state = "";
      }
      $disablesmileys_chk = isset($_POST['chk_disablesmileys']) ? " checked" : "";
      if (!$disablesmileys_chk) $message_preview = parsesmileys($message_preview);
      opentable($locale['438']);
      echo "<table cellpadding='0' cellspacing='1' width='100%' class='tbl-border'>\n<tr>\n";
      echo "<td class='tbl1'>".nl2br(parseubb($message_preview))."</td>\n</tr>\n";
      echo "</table>\n";
      closetable();
   } else {
      $subject = ""; $message = ""; $msg_send_state = ""; $msg_to_group = "";
      $msg_to_group_state = " disabled"; $sendtoall_chk = ""; $disablesmileys_chk = "";   
   }   
   
   if (isset($msg_id) && isNum($msg_id)) {
      $result = dbquery(
         "SELECT m.*, u.user_id, u.user_name FROM ".$db_prefix."messages m
         LEFT JOIN ".$db_prefix."users u ON m.message_from=u.user_id
         WHERE message_to='".$userdata['user_id']."' AND message_id='$msg_id'"
      );
      $data = dbarray($result);
      $msg_send = $data['user_id'];
      if ($subject == "") $subject = (!strstr($data['message_subject'], "RE: ") ? "RE: " : "").$data['message_subject'];
      $reply_message = $data['message_message'];
      if ($data['message_smileys'] == "y") $reply_message = parsesmileys($reply_message);
   } else {
      $reply_message = "";
   }
      
   if (!isset($_POST['chk_sendtoall']) || $msg_send != "0") {
      $user_list = ""; $user_types = ""; $sel = "";
      $result = dbquery("SELECT u.user_id, u.user_name FROM ".$db_prefix."users u ORDER BY user_level DESC, user_name ASC");
      while ($data = dbarray($result)) {
         if ($data['user_id'] != $userdata['user_id']) {
            $sel = ($msg_send == $data['user_id'] ? " selected" : "");
            $user_list .= "<option value='".$data['user_id']."'$sel>".$data['user_name']."</option>\n";
         }
      }
   }

   if ($msg_send == 0) { $user_list .= "<option value='---' disabled>---</option>\n"; }
   
   if (iADMIN && !isset($msg_id)) {
      $user_groups = getusergroups();
      while(list($key, $user_group) = each($user_groups)){
         if ($user_group['0'] != "0") {
            $sel = ($msg_to_group == $user_group['0'] ? " selected" : "");
            $user_types .= "<option value='".$user_group['0']."'$sel>".$user_group['1']."</option>\n";
         }
      }
   }

   opentable($locale['420']);
   echo "<form name='inputform' method='post' action='".FUSION_SELF."?msg_send=0' onSubmit=\"return ValidateForm(this)\">\n";
   echo "<table cellpadding='0' cellspacing='1' width='100%' class='tbl-border'>\n";
   echo "<tr>\n<td align='right' width='1%' class='tbl2' style='white-space:nowrap'>".$locale['421'].":</td>\n";
   if ($msg_send == "0") {
      echo "<td class='tbl1'><select name='msg_send' class='textbox'>\n".$user_list."</select>\n";
   } else {
      $udata = dbarray(dbquery("SELECT u.user_id, u.user_name FROM ".$db_prefix."users u WHERE user_id='$msg_send'"));
      echo "<td class='tbl1'><input type='hidden' name='msg_send' value='".$udata['user_id']."'>\n";
      echo "<a href='profile.php?lookup=".$udata['user_id']."'>".$udata['user_name']."</a>\n";
   }
   if (iADMIN && !isset($msg_id)) {
      echo "<input name='chk_sendtoall' type='checkbox' $sendtoall_chk>\n";
      echo "".$locale['434'].": <select name='msg_to_group' class='textbox'>\n".$user_types."</select>\n";
   }
   echo "</td>\n</tr>\n";
   echo "<tr>\n<td align='right' class='tbl2' style='white-space:nowrap'>".$locale['405'].":</td>\n";
   echo "<td class='tbl1'><input type='text' name='subject' value='$subject' maxlength='32' class='textbox' style='width:400px;'></td>\n</tr>\n";
   if ($reply_message) {
      echo "<tr>\n<td align='right' class='tbl2' valign='top' style='white-space:nowrap'>".$locale['422'].":</td>\n";
      echo "<td class='tbl1'>".nl2br(parseubb($reply_message))."</td>\n</tr>\n";
   }
   echo "<tr>\n<td align='right' class='tbl2' valign='top' style='white-space:nowrap'>".($reply_message ? $locale['433'] : $locale['422']).":</td>\n";
   echo "<td class='tbl1'><textarea name='message' cols='80' rows='15' class='textbox'>$message</textarea></td>\n</tr>\n";
   echo "<tr>\n<td align='right' class='tbl2' valign='top'></td>\n<td class='tbl1'>\n";
   echo "<input type='button' value='b' class='button' style='font-weight:bold;width:25px;' onClick=\"addText('message', '', '');\">\n";
   echo "<input type='button' value='i' class='button' style='font-style:italic;width:25px;' onClick=\"addText('message', '[i]', '
');\">\n";
   echo "<input type='button' value='u' class='button' style='text-decoration:underline;width:25px;' onClick=\"addText('message', '', '');\">\n";
   echo "<input type='button' value='url' class='button' style='width:30px;' onClick=\"addText('message', '[url]', '[/url]');\">\n";
   echo "<input type='button' value='mail' class='button' style='width:35px;' onClick=\"addText('message', '[mail]', '[/mail]');\">\n";
   echo "<input type='button' value='img' class='button' style='width:30px;' onClick=\"addText('message', '[img]', '[/img]');\">\n";
   echo "<input type='button' value='center' class='button' style='width:45px;' onClick=\"addText('message', '
', '
');\">\n";
   echo "<input type='button' value='small' class='button' style='width:40px;' onClick=\"addText('message', '', '');\">\n";
   echo "<input type='button' value='code' class='button' style='width:40px;' onClick=\"addText('message', '
', '


');\">\n";
   echo "<input type='button' value='quote' class='button' style='width:45px;' onClick=\"addText('message', '
', '
');\"><br><br>\n";
   echo displaysmileys("message")."</td>\n</tr>\n";
   echo "<tr>\n<td align='right' class='tbl2' valign='top' style='white-space:nowrap'>".$locale['425'].":</td>\n";
   echo "<td class='tbl1'>\n<input type='checkbox' name='chk_disablesmileys' value='y'$disablesmileys_chk>".$locale['427']."</td>\n</tr>\n";
   echo "</table>\n";
   echo "<table border='0' cellpadding='0' cellspacing='0' width='100%'>\n";
   echo "<tr>\n<td class='tbl'><a href='".FUSION_SELF."?folder=inbox'>".$locale['435']."</a></td>\n";
   echo "<td align='right' class='tbl'>\n<input type='submit' name='send_preview' value='".$locale['429']."' class='button'>\n";
   echo "<input type='submit' name='send_message' value='".$locale['430']."' class='button'>\n</td>\n</tr>\n";
   echo "</table>\n</form>\n";
   closetable();
   echo "<script type='text/javascript'>function ValidateForm(frm){\n";
   echo "if (frm.subject.value == \"\" || frm.message.value == \"\"){\n";
   echo "alert(\"".$locale['486']."\");return false;}\n";
   echo "}\n</script>\n";

} else {
   fallback(FUSION_SELF);
}

require_once "side_right.php";
require_once "footer.php";
?>




2008 Kov. 8 20:03:19          29 žinutė iš 61
Spausdinti pranešimą
Ne to, man reikia to kodo kurį dėjai į user_info_panel.php, ten klaida;)

FCBarcelona
mes que un club
2008 Kov. 8 20:03:30          30 žinutė iš 61
Spausdinti pranešimą
Kas čia blt su tuo [code] akinanti šypsen Tuoj įmesiu į aukštesnį postą tą kodą.
2008 Kov. 8 20:03:30          31 žinutė iš 61
Spausdinti pranešimą
5. Atsidarome infusions/user_info_panel/user_info_panel.php :

Surandame :
************

<img src='".THEME."images/bullet.gif' alt=''> <a href='".BASEDIR."members.php' class='side'>".$locale['082']."</a><br>\n";

Po juo dedame:
*************************

<img src='".THEME."images/bullet.gif' alt=''> <a href='".INFUSIONS."draugai/mano_draugai.php' class='side'>Mano draugai</a><br>\n";


6. Mėgaujamės modifikacija




<?php
/*---------------------------------------------------+
| PHP-Fusion 6 Content Management System
+----------------------------------------------------+
| Copyright © 2002 - 2005 Nick Jones
| http://www.php-fusion.co.uk/
+----------------------------------------------------+
| Released under the terms & conditions of v2 of the
| GNU General Public License. For details refer to
| the included gpl.txt file or visit http://gnu.org
+----------------------------------------------------*/
if (!defined("IN_FUSION")) { header("Location:../../index.php"); exit; }

if (iMEMBER) {
   openside($userdata['user_name']);
   $msg_count = dbcount("(message_id)", "messages", "message_to='".$userdata['user_id']."' AND message_read='0'AND message_folder='0'");
echo "<img src='".THEME."images/bullet.gif' alt=''> <a href='".BASEDIR."edit_profile.php' class='side'>".$locale['080']."</a><br>
<img src='".THEME."images/bullet.gif' alt=''> <a href='".BASEDIR."messages.php' class='side'>".$locale['081']."</a><br>
<img src='".THEME."images/bullet.gif' alt=''> <a href='".BASEDIR."members.php' class='side'>".$locale['082']."</a><br>\n";
<img src='".THEME."images/bullet.gif' alt=''> <a href='".INFUSIONS."draugai/mano_draugai.php'>Mano draugai</a><br>\n";
   if (iADMIN && (iUSER_RIGHTS != "" || iUSER_RIGHTS != "C")) {
      echo "<img src='".THEME."images/bullet.gif' alt=''> <a href='".ADMIN."index.php".$aidlink."' class='side'>".$locale['083']."</a><br>\n";
   }
   echo "<img src='".THEME."images/bullet.gif' alt=''> <a href='".BASEDIR."setuser.php?logout=yes' class='side'>".$locale['084']."</a>\n";
   if ($msg_count) echo "<br><br><center><b><a href='".BASEDIR."messages.php' class='side'>".sprintf($locale['085'], $msg_count).($msg_count == 1 ? $locale['086'] : $locale['087'])."</a></b></center>\n";
} else {
   openside($locale['060']);
   echo "<div align='center'>".(isset($loginerror) ? $loginerror : "")."
<form name='loginform' method='post' action='".FUSION_SELF."'>
".$locale['061']."<br>
<input type='text' name='user_name' class='textbox' style='width:100px'><br>
".$locale['062']."<br>
<input type='password' name='user_pass' class='textbox' style='width:100px'><br>
<input type='checkbox' name='remember_me' value='y' title='".$locale['063']."' style='vertical-align:middle;'>
<input type='submit' name='login' value='".$locale['064']."' class='button'><br>
</form>
<br>\n";
   if ($settings['enable_registration']) {
      echo "".$locale['065']."<br><br>\n";
   }
   echo $locale['066']."
</div>\n";
}
closeside();
?>




Nu va.





2008 Kov. 8 21:03:36          32 žinutė iš 61
Spausdinti pranešimą
Prašom


<?php
/*---------------------------------------------------+
| PHP-Fusion 6 Content Management System
+----------------------------------------------------+
| Copyright © 2002 - 2005 Nick Jones
| http://www.php-fusion.co.uk/
+----------------------------------------------------+
| Released under the terms & conditions of v2 of the
| GNU General Public License. For details refer to
| the included gpl.txt file or visit http://gnu.org
+----------------------------------------------------*/
if (!defined("IN_FUSION")) { header("Location:../../index.php"); exit; }

if (iMEMBER) {
   openside($userdata['user_name']);
   $msg_count = dbcount("(message_id)", "messages", "message_to='".$userdata['user_id']."' AND message_read='0'AND message_folder='0'");
echo "<img src='".THEME."images/bullet.gif' alt=''> <a href='".BASEDIR."edit_profile.php' class='side'>".$locale['080']."</a><br>
<img src='".THEME."images/bullet.gif' alt=''> <a href='".BASEDIR."messages.php' class='side'>".$locale['081']."</a><br>
<img src='".THEME."images/bullet.gif' alt=''> <a href='".INFUSIONS."draugai/mano_draugai.php'>Mano draugai</a><br>
<img src='".THEME."images/bullet.gif' alt=''> <a href='".BASEDIR."members.php' class='side'>".$locale['082']."</a><br>\n";
   if (iADMIN && (iUSER_RIGHTS != "" || iUSER_RIGHTS != "C")) {
      echo "<img src='".THEME."images/bullet.gif' alt=''> <a href='".ADMIN."index.php".$aidlink."' class='side'>".$locale['083']."</a><br>\n";
   }
   echo "<img src='".THEME."images/bullet.gif' alt=''> <a href='".BASEDIR."setuser.php?logout=yes' class='side'>".$locale['084']."</a>\n";
   if ($msg_count) echo "<br><br><center><b><a href='".BASEDIR."messages.php' class='side'>".sprintf($locale['085'], $msg_count).($msg_count == 1 ? $locale['086'] : $locale['087'])."</a></b></center>\n";
} else {
   openside($locale['060']);
   echo "<div align='center'>".(isset($loginerror) ? $loginerror : "")."
<form name='loginform' method='post' action='".FUSION_SELF."'>
".$locale['061']."<br>
<input type='text' name='user_name' class='textbox' style='width:100px'><br>
".$locale['062']."<br>
<input type='password' name='user_pass' class='textbox' style='width:100px'><br>
<input type='checkbox' name='remember_me' value='y' title='".$locale['063']."' style='vertical-align:middle;'>
<input type='submit' name='login' value='".$locale['064']."' class='button'><br>
</form>
<br>\n";
   if ($settings['enable_registration']) {
      echo "".$locale['065']."<br><br>\n";
   }
   echo $locale['066']."
</div>\n";
}
closeside();
?>




FCBarcelona
mes que un club
2008 Kov. 8 21:03:30          33 žinutė iš 61
Spausdinti pranešimą
kas blogai jei raso:


Warning: include(infusions/draugai_panele/draugai_panele.php) [function.include]: failed to open stream: No such file or directory in /home/vertimas/public_html/side_right.php on line 22

Warning: include() [function.include]: Failed opening 'infusions/draugai_panele/draugai_panele.php' for inclusion (include_path='.:/usr/share/pear') in /home/vertimas/public_html/side_right.php on line 22




2008 Kov. 8 21:03:17          34 žinutė iš 61
Spausdinti pranešimą
Nepavež musėk puslapiai.lt akinanti šypsenD

2008 Kov. 8 22:03:48          35 žinutė iš 61
Spausdinti pranešimą
Idejau ten viska tik sone raso

Warning: include(infusions/draugai_panele/draugai_panele.php) [function.include]: failed to open stream: No such file or directory in /usr/home/www1/ftp/mayhem/Fusionas/side_right.php on line 41

Warning: include() [function.include]: Failed opening 'infusions/draugai_panele/draugai_panele.php' for inclusion (include_path='.:/usr/local/share/pear') in /usr/home/www1/ftp/mayhem/Fusionas/side_right.php on line 41





Ir iskraipo sonus koke ce klaida ?

2008 Kov. 9 07:03:21          36 žinutė iš 61
Spausdinti pranešimą
Nėra failo:
infusions/draugai_panele/draugai_panele.php
Pakeisk failų pavadinimą į:
draugai_panel/draugai_panel.php ir veiksmerkia akį Tik per naują į paneles reiks įdėt šypsosi
2008 Bir. 13 13:06:09          37 žinutė iš 61
Spausdinti pranešimą
<?php
require_once "maincore.php";
require_once "subheader.php";
require_once "side_left.php";
include LOCALE.LOCALESET."members-profile.php";
include LOCALE.LOCALESET."user_fields.php";
include LOCALE.LOCALESET."warns.php";
include_once INCLUDES."countries.php";
include INCLUDES."zodiakas.php";


if (!isset($group_id)) {
 if (!isset($lookup) || !isNum($lookup)) fallback("index.php");
 $result = dbquery("SELECT * FROM ".$db_prefix."users WHERE user_id='$lookup'");
 if (dbrows($result)) { $data = dbarray($result); } else { redirect("index.php"); }
 
 // freundschaftssystem >

$result_ig = dbquery("SELECT * FROM ".$db_prefix."buddys_igno WHERE buddys_igno_usr2 = ".$userdata['user_id']." AND buddys_igno_usr1 = ".$data['user_id']."");
$data_ig = dbarray($result_ig);
if($data_ig['buddys_igno_id'] == ""){

// freundschaftssystem <
 
 opentable($locale['420']);

 tablebreak();
$data['user_location'] = csm_getLocation($data['user_location']);
echo "<table cellpadding='0' cellspacing='0' width='100%' class='borders-3d'>
<tr>
<td class='padding-9' align='left'>";
   if ($data['gender'] == 0) {
echo "";
} elseif ($data['gender'] == 1) {
echo "<img src='".IMAGES."lytis/vyras.gif' alt='Vaikinas' title='Vaikinas'>&nbsp;";
} elseif ($data['gender'] == 2) {
echo "<img src='".IMAGES."lytis/mergina.gif' alt='Mergina' title='Mergina'>&nbsp;";
}
echo "".zodiakas($data['user_birthdate'])."<b><span style='color:#027eaa'> ".$data['user_name']."</span></b>  ";
echo "<br /><span style='color:#027eaa'>
".getRank($data['user_id'])."
</font></td>
<td class='padding-9' align='right'><span style='color:#027eaa'>Nario Statusas: <font class='red'><b>";
if ($data['user_id']== 4) {
echo "Uploaderis";
} else if ($data['user_id']== 127) {
echo "Uploaderis";
} else if ($data['user_id']== 15) {
echo "Uploaderis";
} else if ($data['user_id']== 56) {
echo "Uploaderis";
} else {
echo "".getuserlevel($data['user_level'])."";
}
echo "</b></font></td>
</tr>
</table>";


echo "<table cellpadding='0' cellspacing='0' width='100%' >\n<tr>\n";
echo "<td align='center' valign='top' width='50%'>";
echo "<table cellpadding='0' cellspacing='0' width='130'><tr><td class='tbl1'>";
 if (!isset($lookup) || !isNum($lookup)) fallback("index.php");
 $result = dbquery("SELECT * FROM ".$db_prefix."users WHERE user_id='$lookup'");
 if (dbrows($result)) { $data = dbarray($result); } else { redirect("index.php"); }
   echo "<table align='left' cellpadding='0' cellspacing='1' width='300' style='border: 1px solid #e1e1e1;'>
<tr>
<tr>";
echo "<tr><td align='center' class='tbl2'>";
      if ($data['user_realname']) {
echo "".$data['user_realname']."      ";
}
      if ($data['user_midlename']) {
echo "      ".$data['user_midlename']."";
}
echo "</td></tr>";
echo "<td align='center' width='150' rowspan='6' class='tbl2'>\n";
        if ($data['user_avatar']) {
echo "<center><img src='".IMAGES."avatars/".$data['user_avatar']."' class='paveiksliukas'></center>";
} else {
echo "<center><img src='".IMAGES."avatars/noavatar.png' class='paveiksliukas'></center>";
}

echo "</td>
<td width='1%' class='tbl2' style='white-space:nowrap'>";
      if ($data['user_location']) {
         if (!isset($ft_csm['user'][$data['user_id']])) { $ft_csm['user'][$data['user_id']] = csm_getLocation($data['user_location']); }
         echo "<b>".$locale['u009']." </b> ".$ft_csm['user'][$data['user_id']]."<br>\n";
      }   
      if ($data['user_city']) {      
   echo "<b>Miestas: </b> ".$data['user_city']."<br>\n";
      }
   if ($data['user_birthdate']) {
echo "<b>".$locale['u010']." </b> ".($data['user_birthdate'] != 0 ? showdate("shortdate", $data['user_birthdate']) : $locale['u049'])."<br>";
   }
function amzius ($amzius)
{
list($metai,$menesis,$diena) = explode("-",$amzius);
$metai1 = date("Y") - $metai;
$menesis1 = date("m") - $menesis;
$diena1 = date("d") - $diena;
if ($menesis1 < 0) $metai1--;
elseif (($menesis1==0) && ($diena1 < 0)) $metai1--;
return $metai1;
}
   echo "<b>Am&#254;ius: </b> ".amzius($data['user_birthdate'])."<br>
<b>Statusas: </b>";
if ($data['user_id']== 4) {
echo "Uploaderis";
} else if ($data['user_id']== 15) {
echo "Uploaderis";
} else {
echo "".getuserlevel($data['user_level'])."";
}
echo "<br>";
   if ($data['user_web']) {
echo "<b>Web: </b>";
      $urlprefix = !strstr($data['user_web'], "http://") ? "http://" : "";
      echo " <a href='".$urlprefix.$data['user_web']."' title='".$urlprefix.$data['user_web']."' target='_blank'> ".$urlprefix.$data['user_web']."</a><br>\n";
   }
   if ($data['user_hide_email'] != "1" || iADMIN) {
echo "<b>E-mail: </b> <a href='mailto:".str_replace("@","&#64;",$data['user_email'])."' title='".str_replace("@","&#64;",$data['user_email'])."'> ".str_replace("@","&#64;",$data['user_email'])."</a><br>\n";
   }
   if ($data['user_aim']) {
echo "<b>".$locale['u021']." </b> <a href='skype.php?id=".$data['user_aim']."'> ".$data['user_aim']."</a></td>";
}
echo "</tr></table>\n";



echo "</td></tr><tr><td class='tbl2'>";
echo "<table align='left' cellpadding='1' cellspacing='1' width='300' style='border: 1px solid #e1e1e1;'>
<td class='tbl1'><b>Apra&#0353;ymas<hr></b></td></tr>
<tr>
<td class='tbl'>";
if ($data['user_description']) {
echo "".parseubb(parsesmileys($data['user_description']))."";
} else {
echo "N&#0279;ra apra&#0353;ymo";
}

  echo "</td></tr></table>";
echo "</td></tr><tr><td class='tbl2'>";
 $lastseen = time() - $data['user_lastvisit'];
if($lastseen < 60) {
$lastseen = "Online";
} else {
$lastseen = "Offline";
}
   

echo "</td></tr></table>";
echo "</td>";

      echo "</tr>\n</table>\n";
closetable();


if ($data['user_sig']) {
opentable("Vartotojo Para&#240;as");
echo "<center>".parseubb(parsesmileys($data['user_sig']))."</center>";
closetable();
}

}
   
require_once "side_right.php";
require_once "footer.php";
?>




Galit ideti koda kad rodytu Pakviesti drauga nes pas mane profilis visai kitoks :) as dedu bet man nerodo :)

2008 Bir. 18 23:06:35          38 žinutė iš 61
Spausdinti pranešimą
pas mane toks parejo: You have an error in your SQL syntax; check the manual that corresponds to your MySQL server version for the right syntax to use near '' at line 1You have an error in your SQL syntax; check the manual that corresponds to your MySQL server version for the right syntax to use near '' at line 1

PACHA - best club ever
2008 Bir. 19 00:06:05          39 žinutė iš 61
Spausdinti pranešimą
Įšmok susitvarkyti. Ikišk if iMember prieš jį ir viskas šypsosi Nes jeigu ne narys tai ignoru kaip ir nėra akinanti šypsen

Rules: 21 & 22 Read first!
2008 Bir. 19 00:06:00          40 žinutė iš 61
Spausdinti pranešimą
SoNG parašė:
Įšmok susitvarkyti. Ikišk if iMember prieš jį ir viskas šypsosi Nes jeigu ne narys tai ignoru kaip ir nėra akinanti šypsen


aj bbd...apsieisiu ir be josmerkia akį iseis 7 fusionas, tada gal ir galvosiu apie kazka panasaus...

PACHA - best club ever
Puslapis 1 iš 2 1 2
Peršokti į forumą: