PHP-Fusion Mods
Navigacija
Apsauga
Apsauga Neleista registracija: 28603
Šiandien: 11
Prisijungę nariai
» Svečių: 13
» Narių: 0

» Viso narių: 10,232
» Naujausias: EdvinasG1337

Prisijungimų istorija:
EdvinasG1337nepamenu
tabuxnepamenu
rolandas94nepamenu
Zbigniew@nepamenu
Edis2nepamenu
klubogerbejasnepamenu
Miskinisnepamenu
mast3rnepamenu
N1nt3ndnepamenu
Matze1987nepamenu
Piter_NSnepamenu
MariukasRnepamenu
Pask. modai
Prisijungti
Vardas

Slaptažodis



Dar ne narys?
Registruotis.

Pamiršai slaptažodį?
Prašyk naujo!.

Naujausi prašymai
[L] testas
Narių apklausa
Ar dar kuriate tinklalapius?

Ne
Ne
0% [0 Balsai]

Taip
Taip
88% [7 Balsai]

Naudojuosi socialiniais tinklais
Naudojuosi socialiniais tinklais
13% [1 Balsas]

Balsai: 8
Kad galėtum balsuoti, turi prisijungti.
Pradėta: 2022-05-29 19:54
Shoutbox
You must login to post a message.

2024-03-07 22:13
Oj Tabux… apkabinčiau už tą moderatorių 😁

2024-02-22 17:40
Šypsosi2 jo buvo laikai.. Senukai jau mes. Bega laikas greiciau nei noretusi. Smagu matyti kad uzsuka seni nariai, ne as vienas Šypsosi

2024-02-20 22:18
Zodziu.. Nostalgija. Sorry Tabux uz spam’a, netelpa viskas i viena shout’a. 😁

2024-02-20 22:14
Aisku dabar tokie laikai, kai turinio valdymo sistemas valdome one-click principu. Ne kaip seniau kode ieskodavom klaidu, norint moda pasileist.. :D paciam reikdavo susidiegt viska i ftp..

2024-02-20 22:03
Sveiki kolegos 👌 kazkada rasiau greit 11 metu bet ziuriu greit 14 metu. 😄 baisuu, reik ta proga kazka sugalvot su php-f kaip jaunima itraukt.

Shoutbox Archive
Peržiūrėti temą
PHP-Fusion Mods :: PHP-Fusion modifikacijų forumas :: Modifikacijų, įskiepių, panelių kūrimas
 Spausdinti temą
v7 ?aukykloje nerodo avataru
Tomux
#1 Spausdinti pranešimą
parašyta 2012-10-18 13:52
Vartotojo avataras

Apšylantis



Reputacija: 0

Pranešimai: 52
Įstojo: 2008-12-14

Nerodo saukykloje avatro kame gali buti beda?
Download source  Code
/*-------------------------------------------------------+
| PHP-Fusion Content Management System
| Copyright (C) 2002 - 2008 Nick Jones
| http://www.php-fusion.co.uk/
+--------------------------------------------------------+
| Filename: sf_shoutbox_panel.php
| Author: Nick Jones (Digitanium)
| Modified: Starefossen
+--------------------------------------------------------+
| This program is released as free software under the
| Affero GPL license. You can redistribute it and/or
| modify it under the terms of this license which you
| can read by viewing the included agpl.txt or online
| at www.gnu.org/licenses/agpl.html. Removal of this
| copyright header is strictly prohibited without
| written permission from the original author(s).
+--------------------------------------------------------*/

if (!defined(\"IN_FUSION\")) { die(\"Access Denied\"); }

require_once INFUSIONS.\"sf_shoutbox_panel/inc/functions.php\";
$link = FUSION_SELF.(FUSION_QUERY ? \"?\".FUSION_QUERY : \"\");
$link = preg_replace(\"^(&|\?)s_action=(edit|delete|n_vote|y_vote)&shout_id=\d*^\", \"\", $link);
$sep = stristr($link, \"?\") ? \"&\" : \"?\";
if (iMEMBER && (isset($_GET['s_action']) && $_GET['s_action'] == \"delete\") && (isset($_GET['shout_id']) && isnum($_GET['shout_id']))) {
   if ((iADMIN && checkrights(\"S\")) || (iMEMBER && dbcount(\"(shout_id)\", DB_SHOUTBOX, \"shout_id='\".$_GET['shout_id'].\"' AND shout_name='\".$userdata['user_id'].\"'\"))) {
      $result = dbquery(\"DELETE FROM \".DB_SHOUTBOX.\" WHERE shout_id='\".$_GET['shout_id'].\"'\".(iADMIN ? \"\" : \" AND shout_name='\".$userdata['user_id'].\"'\"));
   }

   redirect($link);
}

openside($locale['global_150']);
if (iMEMBER || $settings['guestposts'] == \"1\") {
   include_once INCLUDES.\"bbcode_include.php\";   if (isset($_POST['post_shout'])) {
      $flood = false;
      if (iMEMBER) {
         $shout_name = $userdata['user_id'];
      } elseif ($settings['guestposts'] == \"1\") {
         $shout_name = trim(stripinput($_POST['shout_name']));
         $shout_name = preg_replace(\"(^[0-9]*)\", \"\", $shout_name);
         if (isnum($shout_name)) { $shout_name = \"\"; }
         include_once INCLUDES.\"securimage/securimage.php\";         $securimage = new Securimage();
         if (!isset($_POST['sb_captcha_code']) || $securimage->check($_POST['sb_captcha_code']) == false) { redirect($link); }
      }

      $shout_message = str_replace(\"\n\", \" \", $_POST['shout_message']);
      $shout_message = preg_replace(\"/^(.{255}).*$/\", \"$1\", $shout_message);
      $shout_message = trim(stripinput(censorwords($shout_message)));

      if (checkwords($shout_message)) { redirect(INFUSIONS.\"sf_shoutbox_panel/shoutbox_archive.php?message=\".$shout_message); }
      if (iMEMBER && (isset($_GET['s_action']) && $_GET['s_action'] == \"edit\") && (isset($_GET['shout_id']) && isnum($_GET['shout_id']))) {
         $comment_updated = false;
         if ((iADMIN && checkrights(\"S\")) || (iMEMBER && dbcount(\"(shout_id)\", DB_SHOUTBOX, \"shout_id='\".$_GET['shout_id'].\"' AND shout_name='\".$userdata['user_id'].\"'\"))) {
            if ($shout_message) {
               $result = dbquery(\"UPDATE \".DB_SHOUTBOX.\" SET shout_message='$shout_message' WHERE shout_id='\".$_GET['shout_id'].\"'\".(iADMIN ? \"\" : \" AND shout_name='\".$userdata['user_id'].\"'\"));
            }
         }
         redirect($link);
      } elseif ($shout_name && $shout_message) {
         require_once INCLUDES.\"flood_include.php\";
         if (!flood_control(\"shout_datestamp\", DB_SHOUTBOX, \"shout_ip='\".USER_IP.\"'\")) {

            $result = dbquery(\"INSERT INTO \".DB_SHOUTBOX.\" (shout_name, shout_message, shout_datestamp, shout_ip) VALUES ('$shout_name', '$shout_message', '\".time().\"', '\".USER_IP.\"')\");
         }
      }
      redirect($link);

   } elseif (iMEMBER && (isset($_GET['s_action']) && (($_GET['s_action'] == \"n_vote\") || ($_GET['s_action'] == \"y_vote\")))
      && (isset($_GET['shout_id']) && isnum($_GET['shout_id']))) {
      $result = dbquery(
         \"SELECT SUM(COALESCE(sv.vote_value,0)) as vote_count, ts.*, COALESCE(sa.shout_amnesty,0) as amnesty, tu.user_level
         FROM \".DB_SHOUTBOX.\" ts
         LEFT JOIN \".DB_USERS.\" tu ON ts.shout_name=tu.user_id
         LEFT JOIN \".DB_SF_SHOUT_VOTE.\" sv ON ts.shout_id=sv.shout_id
         LEFT JOIN \".DB_SF_SHOUT_AMNESTY.\" sa ON ts.shout_id=sa.shout_id
         WHERE ts.shout_id = \".$_GET['shout_id'].\"
         GROUP BY ts.shout_id
         HAVING amnesty = 1 OR vote_count > \".SF_VOTE_LIMIT.\"
         ORDER BY ts.shout_datestamp DESC
         LIMIT 1\"

      );

      if (dbrows($result)) {

         $data = dbarray($result);
         if (iMEMBER && $data['shout_name'] != $userdata['user_id'] && $data['amnesty'] == 0 && $data['user_level'] == 101) {
            if (!dbcount(\"(vote_id)\", DB_SF_SHOUT_VOTE, \"shout_id='\".$data['shout_id'].\"' AND vote_user_id='\".$userdata['user_id'].\"'\")) {
               $vote_value = ($_GET['s_action'] == \"y_vote\" ? \"1\" : \"-1\");
               $result = dbquery(\"INSERT INTO \".DB_SF_SHOUT_VOTE.\" (
                  vote_user_id,
                  shout_id,
                  vote_value,
                  vote_datestamp
               ) VALUES (
                  '\".$userdata['user_id'].\"',
                  '\".$_GET['shout_id'].\"',
                  '$vote_value',
                  '\".time().\"
               ')\");
            }
         }
      }

      redirect($link.\"#edit_shout\");

   } elseif (iMEMBER && (isset($_GET['s_action']) && $_GET['s_action'] == \"edit\") && (isset($_GET['shout_id']) && isnum($_GET['shout_id']))) {

      $esresult = dbquery(
         \"SELECT ts.*, tu.user_id, tu.user_name FROM \".DB_SHOUTBOX.\" ts
         LEFT JOIN \".DB_USERS.\" tu ON ts.shout_name=tu.user_id
         WHERE ts.shout_id='\".$_GET['shout_id'].\"'\"

      );



      if (dbrows($esresult)) {
         $esdata = dbarray($esresult);
         if ((iADMIN && checkrights(\"S\")) || (iMEMBER && $esdata['shout_name'] == $userdata['user_id'] && isset($esdata['user_name']))) {
            if ((isset($_GET['s_action']) && $_GET['s_action'] == \"edit\") && (isset($_GET['shout_id']) && isnum($_GET['shout_id']))) {
               $edit_url = $sep.\"s_action=edit&shout_id=\".$esdata['shout_id'];
            } else {
               $edit_url = \"\";            }
            $shout_link = $link.$edit_url;
            $shout_message = $esdata['shout_message'];
         }
      } else {
         $shout_link = $link;
         $shout_message = \"\";      }
   } else {

      $shout_link = $link;
      $shout_message = \"\";   }

         

   echo \"\n\";   echo \"
\n\";   if (iGUEST) {

      echo $locale['global_151'].\"
\n\";
      echo \"
\n\";
      echo $locale['global_152'].\"
\n\";
   }

   echo \"
\n\";
   echo display_bbcodes(\"150px;\", \"shout_message\", \"chatform\", \"smiley|b|u|url|color\").\"\n\";
   if (iGUEST) {
       echo $locale['global_158'].\"
\n\";
      echo \"''
\n\";
    echo \"''\n\";
    echo \">''
\n\";
      echo $locale['global_159'].\"
\n
\n\";
   }

   echo \"
\n\";
   echo \"
\n
\n\";
} else {

   echo \"
\".$locale['global_154'].\"

\n\";
}

$numrows = dbcount_sb();

$result = dbquery(

   \"SELECT SUM(COALESCE(sv.vote_value,0)) as vote_count, ts.*, COALESCE(sa.shout_amnesty,0) as amnesty, tu.user_id, tu.user_name, tu.user_level
   FROM \".DB_SHOUTBOX.\" ts
   LEFT JOIN \".DB_USERS.\" tu ON ts.shout_name=tu.user_id
   LEFT JOIN \".DB_SF_SHOUT_VOTE.\" sv ON ts.shout_id=sv.shout_id
   LEFT JOIN \".DB_SF_SHOUT_AMNESTY.\" sa ON ts.shout_id=sa.shout_id
   GROUP BY ts.shout_id
   HAVING amnesty = 1 OR vote_count > \".SF_VOTE_LIMIT.\"
   ORDER BY ts.shout_datestamp DESC
   LIMIT 0,\".$settings['numofshouts']

);

if (dbrows($result)) {

   $i = 0;

   while ($data = dbarray($result)) {
      echo \"
\";
      if ($data['user_name']) {
         echo \" \".$data['user_name'].\"\n\";
      } else {
         echo $data['shout_name'].\"\n\";
      }
       

                   // Vote Images Start

      if ($data['user_level'] == 101) {
         echo \"\";
         if ($data['vote_count'] < 0) {
            echo \"\".$data['vote_count'].\"\";
         } else {
            echo ($data['vote_count'] > 0 ? \"+\".$data['vote_count'].\"\" : $data['vote_count']);
         }

         echo \"
\n\";
      }
      if (iMEMBER && $data['user_id'] != $userdata['user_id'] && $data['amnesty'] == 0 && $data['user_level'] == 101) {

         if (!dbcount(\"(vote_id)\", DB_SF_SHOUT_VOTE, \"shout_id='\".$data['shout_id'].\"' AND vote_user_id='\".$userdata['user_id'].\"'\")) {

            echo \"\";
            echo \"'-'                onmouseover=\\"this.src='\".INFUSIONS.\"sf_shoutbox_panel/images/h_down_1.gif';\\"
               onmouseout=\\"this.src='\".INFUSIONS.\"sf_shoutbox_panel/images/h_down_2.gif';\\" />\";
            echo \"
\";
            echo \"\";
            echo \"'+'                onmouseover=\\"this.src='\".INFUSIONS.\"sf_shoutbox_panel/images/h_up_2.gif';\\"
               onmouseout=\\"this.src='\".INFUSIONS.\"sf_shoutbox_panel/images/h_up_1.gif';\\" />\";
            echo \"
\";
         }
      }

      // Vote Images End

      echo \"
\n\";
      echo \"
\".showdate(\"shortdate\", $data['shout_datestamp']).\"
\";
      echo \"
\".sbwrap(parseubb(parsesmileys($data['shout_message']), \"b|i|u|url|color\")).\"
\n\";
      if ((iADMIN && checkrights(\"S\")) || (iMEMBER && $data['shout_name'] == $userdata['user_id'] && isset($data['user_name']))) {

         echo \"[\".$locale['global_076'].\"]\n\";
         echo \"[\".$locale['global_157'].\"]
\n\";
      }

      $i++;
      if ($i != $numrows) { echo \"
\n\"; }
   }
   if ($numrows > $settings['numofshouts']) {
      echo \"\n\";
   }

} else {
   echo \"
\".$locale['global_156'].\"
\n\";
}

closeside();

?>


 
PM
Wyciokazz
#2 Spausdinti pranešimą
parašyta 2012-10-18 14:58
Vartotojo avataras

Administratorius



Reputacija: 1

Pranešimai: 2108
Įstojo: 2008-02-27

O kodel turetu rodyt jeigu tu nenurodai jog jam atrinkti is kazkur avataru bandyk sita:

Download source  Code
/*-------------------------------------------------------+
| PHP-Fusion Content Management System
| Copyright (C) 2002 - 2008 Nick Jones
| http://www.php-fu...
+--------------------------------------------------------+
| Filename: sf_shoutbox_panel.php
| Author: Nick Jones (Digitanium)
| Modified: Starefossen
+--------------------------------------------------------+
| This program is released as free software under the
| Affero GPL license. You can redistribute it and/or
| modify it under the terms of this license which you
| can read by viewing the included agpl.txt or online
| at www.gnu.org/licen... Removal of this
| copyright header is strictly prohibited without
| written permission from the original author(s).
+--------------------------------------------------------*/

if (!defined(\"IN_FUSION\")) { die(\"Access Denied\"); }

require_once INFUSIONS.\"sf_shoutbox_panel/inc/functions.php\";
$link = FUSION_SELF.(FUSION_QUERY ? \"?\".FUSION_QUERY : \"\");
$link = preg_replace(\"^(&|\?)s_action=(edit|delete|n_vote|y_vote)&shout_id=\d*^\", \"\", $link);
$sep = stristr($link, \"?\") ? \"&\" : \"?\";
if (iMEMBER && (isset($_GET['s_action']) && $_GET['s_action'] == \"delete\") && (isset($_GET['shout_id']) && isnum($_GET['shout_id']))) {
   if ((iADMIN && checkrights(\"S\")) || (iMEMBER && dbcount(\"(shout_id)\", DB_SHOUTBOX, \"shout_id='\".$_GET['shout_id'].\"' AND shout_name='\".$userdata['user_id'].\"'\"))) {
      $result = dbquery(\"DELETE FROM \".DB_SHOUTBOX.\" WHERE shout_id='\".$_GET['shout_id'].\"'\".(iADMIN ? \"\" : \" AND shout_name='\".$userdata['user_id'].\"'\"));
   }

   redirect($link);
}

openside($locale['global_150']);
if (iMEMBER || $settings['guestposts'] == \"1\") {
   include_once INCLUDES.\"bbcode_include.php\";   if (isset($_POST['post_shout'])) {
      $flood = false;
      if (iMEMBER) {
         $shout_name = $userdata['user_id'];
      } elseif ($settings['guestposts'] == \"1\") {
         $shout_name = trim(stripinput($_POST['shout_name']));
         $shout_name = preg_replace(\"(^[0-9]*)\", \"\", $shout_name);
         if (isnum($shout_name)) { $shout_name = \"\"; }
         include_once INCLUDES.\"securimage/securimage.php\";         $securimage = new Securimage();
         if (!isset($_POST['sb_captcha_code']) || $securimage->check($_POST['sb_captcha_code']) == false) { redirect($link); }
      }

      $shout_message = str_replace(\"\n\", \" \", $_POST['shout_message']);
      $shout_message = preg_replace(\"/^(.{255}).*$/\", \"$1\", $shout_message);
      $shout_message = trim(stripinput(censorwords($shout_message)));

      if (checkwords($shout_message)) { redirect(INFUSIONS.\"sf_shoutbox_panel/shoutbox_archive.php?message=\".$shout_message); }
      if (iMEMBER && (isset($_GET['s_action']) && $_GET['s_action'] == \"edit\") && (isset($_GET['shout_id']) && isnum($_GET['shout_id']))) {
         $comment_updated = false;
         if ((iADMIN && checkrights(\"S\")) || (iMEMBER && dbcount(\"(shout_id)\", DB_SHOUTBOX, \"shout_id='\".$_GET['shout_id'].\"' AND shout_name='\".$userdata['user_id'].\"'\"))) {
            if ($shout_message) {
               $result = dbquery(\"UPDATE \".DB_SHOUTBOX.\" SET shout_message='$shout_message' WHERE shout_id='\".$_GET['shout_id'].\"'\".(iADMIN ? \"\" : \" AND shout_name='\".$userdata['user_id'].\"'\"));
            }
         }
         redirect($link);
      } elseif ($shout_name && $shout_message) {
         require_once INCLUDES.\"flood_include.php\";
         if (!flood_control(\"shout_datestamp\", DB_SHOUTBOX, \"shout_ip='\".USER_IP.\"'\")) {

            $result = dbquery(\"INSERT INTO \".DB_SHOUTBOX.\" (shout_name, shout_message, shout_datestamp, shout_ip) VALUES ('$shout_name', '$shout_message', '\".time().\"', '\".USER_IP.\"')\");
         }
      }
      redirect($link);

   } elseif (iMEMBER && (isset($_GET['s_action']) && (($_GET['s_action'] == \"n_vote\") || ($_GET['s_action'] == \"y_vote\")))
      && (isset($_GET['shout_id']) && isnum($_GET['shout_id']))) {
      $result = dbquery(
         \"SELECT SUM(COALESCE(sv.vote_value,0)) as vote_count, ts.*, COALESCE(sa.shout_amnesty,0) as amnesty, tu.user_level
         FROM \".DB_SHOUTBOX.\" ts
         LEFT JOIN \".DB_USERS.\" tu ON ts.shout_name=tu.user_id
         LEFT JOIN \".DB_SF_SHOUT_VOTE.\" sv ON ts.shout_id=sv.shout_id
         LEFT JOIN \".DB_SF_SHOUT_AMNESTY.\" sa ON ts.shout_id=sa.shout_id
         WHERE ts.shout_id = \".$_GET['shout_id'].\"
         GROUP BY ts.shout_id
         HAVING amnesty = 1 OR vote_count > \".SF_VOTE_LIMIT.\"
         ORDER BY ts.shout_datestamp DESC
         LIMIT 1\"

      );

      if (dbrows($result)) {

         $data = dbarray($result);
         if (iMEMBER && $data['shout_name'] != $userdata['user_id'] && $data['amnesty'] == 0 && $data['user_level'] == 101) {
            if (!dbcount(\"(vote_id)\", DB_SF_SHOUT_VOTE, \"shout_id='\".$data['shout_id'].\"' AND vote_user_id='\".$userdata['user_id'].\"'\")) {
               $vote_value = ($_GET['s_action'] == \"y_vote\" ? \"1\" : \"-1\");
               $result = dbquery(\"INSERT INTO \".DB_SF_SHOUT_VOTE.\" (
                  vote_user_id,
                  shout_id,
                  vote_value,
                  vote_datestamp
               ) VALUES (
                  '\".$userdata['user_id'].\"',
                  '\".$_GET['shout_id'].\"',
                  '$vote_value',
                  '\".time().\"
               ')\");
            }
         }
      }

      redirect($link.\"#edit_shout\");

   } elseif (iMEMBER && (isset($_GET['s_action']) && $_GET['s_action'] == \"edit\") && (isset($_GET['shout_id']) && isnum($_GET['shout_id']))) {

      $esresult = dbquery(
         \"SELECT ts.*, tu.user_id, tu.user_avatar, tu.user_name FROM \".DB_SHOUTBOX.\" ts
         LEFT JOIN \".DB_USERS.\" tu ON ts.shout_name=tu.user_id
         WHERE ts.shout_id='\".$_GET['shout_id'].\"'\"

      );



      if (dbrows($esresult)) {
         $esdata = dbarray($esresult);
         if ((iADMIN && checkrights(\"S\")) || (iMEMBER && $esdata['shout_name'] == $userdata['user_id'] && isset($esdata['user_name']))) {
            if ((isset($_GET['s_action']) && $_GET['s_action'] == \"edit\") && (isset($_GET['shout_id']) && isnum($_GET['shout_id']))) {
               $edit_url = $sep.\"s_action=edit&shout_id=\".$esdata['shout_id'];
            } else {
               $edit_url = \"\";            }
            $shout_link = $link.$edit_url;
            $shout_message = $esdata['shout_message'];
         }
      } else {
         $shout_link = $link;
         $shout_message = \"\";      }
   } else {

      $shout_link = $link;
      $shout_message = \"\";   }

         

   echo \"\n\";   echo \"
\n\";   if (iGUEST) {

      echo $locale['global_151'].\"
\n\";
      echo \"
\n\";
      echo $locale['global_152'].\"
\n\";
   }

   echo \"
\n\";
   echo display_bbcodes(\"150px;\", \"shout_message\", \"chatform\", \"smiley|b|u|url|color\").\"\n\";
   if (iGUEST) {
       echo $locale['global_158'].\"
\n\";
      echo \"''
\n\";
    echo \"''\n\";
    echo \">''
\n\";
      echo $locale['global_159'].\"
\n
\n\";
   }

   echo \"
\n\";
   echo \"
\n
\n\";
} else {

   echo \"
\".$locale['global_154'].\"

\n\";
}

$numrows = dbcount_sb();

$result = dbquery(

   \"SELECT SUM(COALESCE(sv.vote_value,0)) as vote_count, ts.*, COALESCE(sa.shout_amnesty,0) as amnesty, tu.user_id, tu.user_avatar, tu.user_name, tu.user_level
   FROM \".DB_SHOUTBOX.\" ts
   LEFT JOIN \".DB_USERS.\" tu ON ts.shout_name=tu.user_id
   LEFT JOIN \".DB_SF_SHOUT_VOTE.\" sv ON ts.shout_id=sv.shout_id
   LEFT JOIN \".DB_SF_SHOUT_AMNESTY.\" sa ON ts.shout_id=sa.shout_id
   GROUP BY ts.shout_id
   HAVING amnesty = 1 OR vote_count > \".SF_VOTE_LIMIT.\"
   ORDER BY ts.shout_datestamp DESC
   LIMIT 0,\".$settings['numofshouts']

);

if (dbrows($result)) {

   $i = 0;

   while ($data = dbarray($result)) {
      echo \"
\";
      if ($data['user_name']) {
         echo \" \".$data['user_name'].\"\n\";
      } else {
         echo $data['shout_name'].\"\n\";
      }
       

                   // Vote Images Start

      if ($data['user_level'] == 101) {
         echo \"\";
         if ($data['vote_count'] < 0) {
            echo \"\".$data['vote_count'].\"\";
         } else {
            echo ($data['vote_count'] > 0 ? \"+\".$data['vote_count'].\"\" : $data['vote_count']);
         }

         echo \"
\n\";
      }
      if (iMEMBER && $data['user_id'] != $userdata['user_id'] && $data['amnesty'] == 0 && $data['user_level'] == 101) {

         if (!dbcount(\"(vote_id)\", DB_SF_SHOUT_VOTE, \"shout_id='\".$data['shout_id'].\"' AND vote_user_id='\".$userdata['user_id'].\"'\")) {

            echo \"\";
            echo \"'-'                onmouseover=\\"this.src='\".INFUSIONS.\"sf_shoutbox_panel/images/h_down_1.gif';\\"
               onmouseout=\\"this.src='\".INFUSIONS.\"sf_shoutbox_panel/images/h_down_2.gif';\\" />\";
            echo \"
\";
            echo \"\";
            echo \"'+'                onmouseover=\\"this.src='\".INFUSIONS.\"sf_shoutbox_panel/images/h_up_2.gif';\\"
               onmouseout=\\"this.src='\".INFUSIONS.\"sf_shoutbox_panel/images/h_up_1.gif';\\" />\";
            echo \"
\";
         }
      }

      // Vote Images End

      echo \"
\n\";
      echo \"
\".showdate(\"shortdate\", $data['shout_datestamp']).\"
\";
      echo \"
\".sbwrap(parseubb(parsesmileys($data['shout_message']), \"b|i|u|url|color\")).\"
\n\";
      if ((iADMIN && checkrights(\"S\")) || (iMEMBER && $data['shout_name'] == $userdata['user_id'] && isset($data['user_name']))) {

         echo \"[\".$locale['global_076'].\"]\n\";
         echo \"[\".$locale['global_157'].\"]
\n\";
      }

      $i++;
      if ($i != $numrows) { echo \"
\n\"; }
   }
   if ($numrows > $settings['numofshouts']) {
      echo \"\n\";
   }

} else {
   echo \"
\".$locale['global_156'].\"
\n\";
}

closeside();

?>




Kam kurti tai kas jau sukurta.

Nesu ekstrasensas ar dar koks čigonas tad iš nieko negaliu suprast kur bėda.

[img]http://27.media.tumblr.com/tumblr_m3hdwudgjG1rteofuo1_500.gif[/img]
 
PM
Tomux
#3 Spausdinti pranešimą
parašyta 2012-10-18 15:40
Vartotojo avataras

Apšylantis



Reputacija: 0

Pranešimai: 52
Įstojo: 2008-12-14

Nerodo ir su tavo :/
 
PM
Wyciokazz
#4 Spausdinti pranešimą
parašyta 2012-10-18 16:39
Vartotojo avataras

Administratorius



Reputacija: 1

Pranešimai: 2108
Įstojo: 2008-02-27

img numesk kaip atrodo nes nesuprantu ko tau nerodo.
Kam kurti tai kas jau sukurta.

Nesu ekstrasensas ar dar koks čigonas tad iš nieko negaliu suprast kur bėda.

[img]http://27.media.tumblr.com/tumblr_m3hdwudgjG1rteofuo1_500.gif[/img]
 
PM
Tomux
#5 Spausdinti pranešimą
parašyta 2012-10-18 17:19
Vartotojo avataras

Apšylantis



Reputacija: 0

Pranešimai: 52
Įstojo: 2008-12-14

www.part.lt/img/d0054bb416545e762561a5ccd619be1b30.png

Susitvarkiau :) O kaip dar padaryti ,kas neturi avataro?
Redagavo Tomux 2012-10-18 17:34
 
PM
MariukasR
#6 Spausdinti pranešimą
parašyta 2012-10-18 19:30
Vartotojo avataras

Draugas



Reputacija: 0

Pranešimai: 435
Įstojo: 2010-11-12

?tai kodas pasikeisk j� � ?it� ;)

Download source  Code
if ($data['user_name']) {

         if ($data['user_avatar']) { echo \"\"; }
         else {
              echo \"\";
         }

echo\"\".$data['user_name'].\"\n\";
     
      } else {
         echo $data['shout_name'].\"\n\";
      }



moderator
 
PM
vadeiva
#7 Spausdinti pranešimą
parašyta 2012-10-19 14:03
Vartotojo avataras

Apšylantis



Reputacija: 0

Pranešimai: 71
Įstojo: 2012-06-02

MariukasR padek man temoi sakei paziuresi gal ka padarisi nes as tai laukiu:) ir temu nenoriu vel kurt:)
 
PM
Peršokti į forumą: