Navigacija

Vartotojų tinkle

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

Registruoti nariai: 25,952
Naujausias narys: tomeem

Naujausi straipsniai

Paskutiniai nariai

asirija 2 dienos
tomeem 2 savaitės
Reikalas 3 savaitės
weberiz 5 savaitės
mRokass 8 savaitės
kartoonas 9 savaitės
iaescortsmap 9 savaitės
ozzWANTED10 savaitės
grunskiz12 savaitės
Bruksnys12 savaitės
illusion12 savaitės
ordo13 savaitės
Jurgaila14 savaitės
originalcs1614 savaitės
Rytis15 savaitės
halis16 savaitės
junkus19 savaitės
morlis19 savaitės
Majakas20 savaitės
andsoft21 savaitės

Informacija:


OS: Unknown
Naršyklė: Nežinoma
IP: 18.118.120.109
Naujienų: 529
Straipsnių: 235
Temų: 52,585
Postų: 522,523
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 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

Majakas
2023 Gru. 10 19:12:39
Negaliu patikėti jog žinutės/pranešimai visi yra nuo 2008 m akinanti šypsen

Žmogus
2023 Rugs. 7 21:09:14
O gal BloodKiller pasijungs?

Apocal
2023 Rugs. 2 18:09:23
Nu davai nuveikiam kažką akinanti šypsen. Prisijungti kada visi čia akinanti šypsen.

Apocal
2023 Rugs. 2 00:09:18
Šiaip atėjau pažiūrėti ar dar lopas nesby yra ar koks ten buvo.

Š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
dovanu sistema
Forumas | PHP-Fusion, WordPress, Shopify, PHP ir MySQL (PROGRAMAVIMAS) | Kiti PHP, HTML, MySQL klausimai

Autorius: suomis Peržiūrų: 4779      Spausdinti temą
2009 Vas. 13 16:02:19          1 žinutė iš 9
Spausdinti pranešimą
kaip istraukt is to modo tokius dalykus :
vartotojas suomis gavai dovanu: 4
padovanojai dovanu: 0

galvoja

PJAUNAT GRYBĄ BARAVYKĄ - MAFIJOZAI!!!
2009 Vas. 13 16:02:51          2 žinutė iš 9
Spausdinti pranešimą
uzklausas daryt, tai yra dbcountus šypsosi


Redagavo ex-it 2009 Vas. 13 16:02:17
2009 Vas. 13 16:02:06          3 žinutė iš 9
Spausdinti pranešimą
kad zinociau kokius daryt galvoja

PJAUNAT GRYBĄ BARAVYKĄ - MAFIJOZAI!!!
2009 Vas. 13 16:02:33          4 žinutė iš 9
Spausdinti pranešimą
Parodyk truktūrą lentelės, parašysiu.
2009 Vas. 13 16:02:39          5 žinutė iš 9
Spausdinti pranešimą
ten dauk tu failu cia yra show_gif.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 BASEDIR."subheader.php";
require_once BASEDIR."side_left.php";

include INFUSIONS."sf_gift_system/includes/functions.php";

// Check if locale file is available matching the current site locale setting.
if (file_exists(INFUSIONS."sf_gift_system/locale/".LOCALESET."/show_gift.php")) {
   // Load the locale file matching the current site locale setting.
   include INFUSIONS."sf_gift_system/locale/".LOCALESET."/show_gift.php";
} else {
   // Load the infusion's default locale file.
   include INFUSIONS."sf_gift_system/locale/English/show_gift.php";
}

if (!isset($lookup)) $lookup = "";

$result = dbquery("SELECT * FROM ".$db_prefix."sf_gift_given WHERE gift_given_id='$gift_id'");
$data = dbarray($result);

$lookup = $data['gift_given_to'];

if ($lookup == $userdata['user_id']) {
   $access = "2";
} else {
   $access = "1";
}

if ((isset($gift_id)) && (isNum($gift_id))) {
   opentable($locale['sfgift300']);
   $result = dbquery("SELECT * FROM ".$db_prefix."sf_gift_given WHERE gift_given_id='$gift_id' AND gift_given_visibillity<='$access' ORDER BY gift_given_id");
   $rows = dbrows($result);
   if ($rows != 0) {
      $data = dbarray($result);
      $gift = dbarray(dbquery("SELECT * FROM ".$db_prefix."sf_gift WHERE gift_id='".$data['gift_given_gift_id']."'"));
      $from = dbarray(dbquery("SELECT * FROM ".$db_prefix."users WHERE user_id='".$data['gift_given_from']."'"));
      $to = dbarray(dbquery("SELECT * FROM ".$db_prefix."users WHERE user_id='".$data['gift_given_to']."'"));
      echo "<table cellpadding='0' cellspacing='0' width='100%'>
         <tr>
            <td class='tbl' align='center'><a href='".GIFT_SYSTEM."show_all.php?lookup=".$to['user_id']."'>".$locale['sfgift320']." ".$to['user_name']."'s ".$locale['sfgift321']."</a></td>
            <td class='tbl' align='center'><a href='".BASEDIR."profile.php?lookup=".$to['user_id']."'>".$locale['sfgift320']." ".$to['user_name']."'s ".$locale['sfgift322']."</a></td>";
            if ($userdata['user_id'] != $to['user_id']) {
               echo "<td class='tbl' align='center'><a href='".GIFT_SYSTEM."brows_gifts.php?user_id=".$to['user_id']."'>".$locale['sfgift323']." ".$to['user_name']."</a></td>";
               $colspan = "3";
            } else {
               $colspan = "2";
            }
         echo "</tr>
         <tr>
            <td colspan='".$colspan."'><hr></td>
         </tr>
      </table>";      
      echo "<table cellpadding='0' cellspacing='0' width='100%'>
         <tr>
            <td align='center' valign='top' width='100px' rowspan='3'><img src='".GIFT_IMAGES.$gift['gift_image']."' alt='".$gift['gift_image']."' style='border:0px;'></td>";
            if (($data['gift_given_visibillity'] == "1") && ($data['gift_given_to'] != $userdata['user_id'])) {
               echo "<td><h2>".$locale['sfgift301']."</td>";
            } else {
               echo "<td><h2>".$locale['sfgift302']." ".$from['user_name']."</td>";
            }
         echo "</tr>
         <tr>
            <td>";
               if ($data['gift_given_visibillity'] == "0") {
                  echo "<b>".$locale['sfgift303']."</b><br>".$locale['sfgift304']."";
               } else if ($data['gift_given_visibillity'] == "1") {
                  echo "<b>".$locale['sfgift305']."</b><br>".$locale['sfgift306']."";
               } else if ($data['gift_given_visibillity'] == "2") {
                  echo "<b>".$locale['sfgift307']."</b><br>".$locale['sfgift308']."";
               }
            echo "</td>
         </tr>";
         if ($data['gift_given_message'] != "") {
            echo "<tr>
               <td><br><br><img src='quote.gif' alt='' align='top'> ".$data['gift_given_message']." <img src='quote.gif' alt='' align='bottom'></td>
            </tr>";
         }
      echo "</table>";
   } else {
      echo "<center><br>".$locale['sfgift309']."<br><br>\n</center>\n";
   }
   closetable();
} else {
   redirect(BASEDIR."index.php");
}



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



cia infusion.php failas dovanu sistemos :
<?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") || !checkrights("I")) { header("Location: ../../index.php"); exit; }

// Check if locale file is available matching the current site locale setting.
if (file_exists(INFUSIONS."sf_gift_system/locale/".LOCALESET."/infusion.php")) {
   // Load the locale file matching the current site locale setting.
   include INFUSIONS."sf_gift_system/locale/".LOCALESET."/infusion.php";
} else {
   // Load the infusion's default locale file.
   include INFUSIONS."sf_gift_system/locale/English/infusion.php";
}

include INFUSIONS."sf_gift_system/includes/upgrade_functions.php";

// Infusion general information
$inf_title = $locale['sfgift100'];
$inf_description = $locale['sfgift101'];
$inf_version = $myversion;
$inf_developer = "Starefossen";
$inf_email = "hans@starefossen.com";
$inf_weburl = "http://www.starsheaven.com";

$inf_folder = "sf_gift_system"; // The folder in which the infusion resides.
$inf_admin_image = "sf_gift_system.gif"; // Leave blank to use the default image.
$inf_admin_panel = "admin.php"; // The admin panel filename if required.

$inf_link_name = $locale['sfgift100']; // if not required replace $locale['xxx102']; with "";
$inf_link_url = "brows_gifts.php"; // The filename you wish to link to.
$inf_link_visibility = "101"; // 0 - Guest / 101 - Member / 102 - Admin / 103 - Super Admin.

$inf_newtables = 3; // Number of new db tables to create or drop.
$inf_insertdbrows = 1; // Numbers rows added into created db tables.
$inf_altertables = 0; // Number of db tables to alter (upgrade).
$inf_deldbrows = 0; // Number of db tables to delete data from.

// Delete any items not required here.
$inf_newtable_[1] = "sf_gift (
gift_id INT(11) UNSIGNED NOT NULL AUTO_INCREMENT,
gift_image VARCHAR(200) NOT NULL,
gift_price INT(11) UNSIGNED NOT NULL,
gift_stock INT(11) UNSIGNED NOT NULL,
gift_bought INT(11) UNSIGNED NOT NULL,
PRIMARY KEY (gift_id)
) TYPE=MyISAM;";

$inf_newtable_[2] = "sf_gift_version (
gift_version_id INT(11) UNSIGNED NOT NULL AUTO_INCREMENT,
gift_version varchar(10) NOT NULL default '".$myversion."',
PRIMARY KEY (gift_version_id)
) TYPE=MyISAM;";

$inf_newtable_[3] = "sf_gift_given (
gift_given_id INT(11) UNSIGNED NOT NULL AUTO_INCREMENT,
gift_given_gift_id INT(11) UNSIGNED NOT NULL,
gift_given_from INT(11) UNSIGNED NOT NULL,
gift_given_to INT(11) UNSIGNED NOT NULL,
gift_given_visibillity INT(1) UNSIGNED NOT NULL DEFAULT '0',
gift_given_message TEXT NOT NULL,
PRIMARY KEY (gift_given_id)
) TYPE=MyISAM;";

$inf_insertdbrow_[1] = "sf_gift_version (gift_version_id, gift_version) VALUES('', '".$myversion."')";

$inf_droptable_[1] = "sf_gift";
$inf_droptable_[3] = "sf_gift_version";
$inf_droptable_[2] = "sf_gift_given";

?>




PJAUNAT GRYBĄ BARAVYKĄ - MAFIJOZAI!!!

Redagavo suomis 2009 Vas. 13 16:02:49
2009 Vas. 13 16:02:46          6 žinutė iš 9
Spausdinti pranešimą
gift_given_from - nuo ko dovana
gift_given_to - kam dovanojo :D

viskas pasidaryk

number_format(dbcount("(*)", "sf_gift_given", "gift_given_to='".$userdata['user_id']."'"))




cia kiek gavai dovanu :D

va tokio kazkas :D

2009 Vas. 13 16:02:09          7 žinutė iš 9
Spausdinti pranešimą
kazkas ar veiks? akinanti šypsen

PJAUNAT GRYBĄ BARAVYKĄ - MAFIJOZAI!!!
2009 Vas. 13 16:02:30          8 žinutė iš 9
Spausdinti pranešimą
tai pamegink nu

2009 Vas. 13 16:02:20          9 žinutė iš 9
Spausdinti pranešimą
veikia aciu šypsosi +10

PJAUNAT GRYBĄ BARAVYKĄ - MAFIJOZAI!!!
Peršokti į forumą: