Navigacija

Vartotojų tinkle

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

Registruoti nariai: 25,955
Naujausias narys: Johny

Naujausi straipsniai

Paskutiniai nariai

Johny21:19:33
Reikalas 3 savaitės
Jaunelis10 savaitės
lanis10 savaitės
And2s11 savaitės
Memento Mori16 savaitės
ozzWANTED16 savaitės
Quwqkibor18 savaitės
asirija22 savaitės
tomeem24 savaitės
weberiz27 savaitės
mRokass30 savaitės
kartoonas31 savaitės
iaescortsmap31 savaitės
grunskiz34 savaitės
Bruksnys34 savaitės
illusion34 savaitės
ordo35 savaitės
Jurgaila36 savaitės
originalcs1636 savaitės

Informacija:


OS: Unknown
Naršyklė: Nežinoma
IP: 3.22.71.28
Naujienų: 529
Straipsnių: 235
Temų: 52,588
Postų: 522,531
Postų pask. parą: 1
Shout'ų pask. parą: 0
P.S.C. pask. parą: 1
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.

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

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?

Š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
BBCODE
Forumas | PHP-Fusion, WordPress, Shopify, PHP ir MySQL (PROGRAMAVIMAS) | Expert PHP, MySQL klausimai

Autorius: vytaz Peržiūrų: 732      Spausdinti temą
2008 Rugp. 2 12:08:51          1 žinutė iš 1
Spausdinti pranešimą
Kaip si koda ikist i coment_include kad eitu nes kai idetu si bbcode vietoj orginalo raso klaida arba tokia ';' arba tokia ':' tai vat duodu koda

<tr>
<td align='center'><textarea name='comment_message' rows='6' class='textbox' style='width:400px'></textarea><br><table width='100%' cellspacing='0' cellpadding='0'></table>
<input type='text' name='helpbox' size='45' maxlength='100' disabled='disabled' readonly='readonly' style='width:400px;font-weight:bold;text-align:center; filter:alpha(opacity=70);-moz-opacity:.70;opacity:.70;' class='textbox' value='» Pagalbos langas «'/><br><table cellspacing='0' cellpadding='0' height='3'><tr><td></td></tr></table><input type='image' src='themes/empe3.lt/bbcodes/paryskinta.gif' onClick="addText('comment_message', '[paryskinta]', '[/paryskinta]');return false;" onMouseOver="document.forms['inputform'].helpbox.value = '[paryskinta]Ryskus/sotras tekstas[/paryskinta]'" onMouseOut="document.forms['inputform'].helpbox.value = ''">
 <input type='image' src='themes/empe3.lt/bbcodes/pasvires.gif' onClick="addText('comment_message', '[pasvires]', '[/pasvires]');return false;" onMouseOver="document.forms['inputform'].helpbox.value = '[pasvires]Pasivir&#0281;s tekstas[/pasvires]'" onMouseOut="document.forms['inputform'].helpbox.value = ''">
 <input type='image' src='themes/empe3.lt/bbcodes/pabrauktas.gif' onClick="addText('comment_message', '[pabrauktas]', '[/pabrauktas]');return false;" onMouseOver="document.forms['inputform'].helpbox.value = '[pabrauktas]Pabrauktas tekstas[/pabrauktas]'" onMouseOut="document.forms['inputform'].helpbox.value = ''">

 <input type='image' src='themes/empe3.lt/bbcodes/adresas.gif' onClick="addText('comment_message', '[adresas]', '[/adresas]');return false;" onMouseOver="document.forms['inputform'].helpbox.value = '[adresas]Svetain&#0279;s adresas[/adresas]'" onMouseOut="document.forms['inputform'].helpbox.value = ''">
 <input type='image' src='themes/empe3.lt/bbcodes/epastas.gif' onClick="addText('comment_message', '[epastas]', '[/epastas]');return false;" onMouseOver="document.forms['inputform'].helpbox.value = '[pastas]E-Pašto adresas[/pastas]'" onMouseOut="document.forms['inputform'].helpbox.value = ''">
 <input type='image' src='themes/empe3.lt/bbcodes/paveiksliukas.gif' onClick="addText('comment_message', '[paveikslelis]', '[/paveikslelis]');return false;" onMouseOver="document.forms['inputform'].helpbox.value = '[paveikslelis]Pilna paveikslėlio nuoroda[/paveikslelis]'" onMouseOut="document.forms['inputform'].helpbox.value = ''">
 <input type='image' src='themes/empe3.lt/bbcodes/centre.gif' onClick="addText('comment_message', '[iscentruotas]', '[/iscentruotas]');return false;" onMouseOver="document.forms['inputform'].helpbox.value = '[iscentruotas]Centruojamas tekstas[/iscentruotas]'" onMouseOut="document.forms['inputform'].helpbox.value = ''">
 <input type='image' src='themes/empe3.lt/bbcodes/mazas.gif' onClick="addText('comment_message', '[mazas]', '[/mazas]');return false;" onMouseOver="document.forms['inputform'].helpbox.value = '[mazas]Sumažintas tekstas[/mazas]'" onMouseOut="document.forms['inputform'].helpbox.value = ''">
 <input type='image' src='themes/empe3.lt/bbcodes/kodas.gif' onClick="addText('comment_message', '[kodas]', '[/kodas]');return false;" onMouseOver="document.forms['inputform'].helpbox.value = '[kodas]Kodas[/kodas]'" onMouseOut="document.forms['inputform'].helpbox.value = ''">
 <input type='image' src='themes/empe3.lt/bbcodes/cituoti.gif' onClick="addText('comment_message', '[citata]', '[/citata]');return false;" onMouseOver="document.forms['inputform'].helpbox.value = '[citata]Cituojamas tekstas[/citata]'" onMouseOut="document.forms['inputform'].helpbox.value = ''">
 <input type='image' src='themes/empe3.lt/bbcodes/vaizdelis.gif' onClick="addText('comment_message', '[vaizdelis]', '[/vaizdelis]');return false;" onMouseOver="document.forms['inputform'].helpbox.value = '[vaizdelis]Vaizdelis.lt vaizdelio ar garso &#0303;ra&#0353;o kodas[/vaizdelis]'" onMouseOut="document.forms['inputform'].helpbox.value = ''">
 <td align='center' width='100'><img src='images/smiley/smile.gif' alt='smiley' onClick="insertText('comment_message', ':)');">

<img src='images/smiley/wink.gif' alt='smiley' onClick="insertText('comment_message', ';)');">
<img src='images/smiley/frown.gif' alt='smiley' onClick="insertText('comment_message', ':|');">
<img src='images/smiley/sad.gif' alt='smiley' onClick="insertText('comment_message', ':(');">
<img src='images/smiley/shock.gif' alt='smiley' onClick="insertText('comment_message', ':o');">
<img src='images/smiley/pfft.gif' alt='smiley' onClick="insertText('comment_message', ':p');">
<img src='images/smiley/cool.gif' alt='smiley' onClick="insertText('comment_message', 'B)');">
<img src='images/smiley/grin.gif' alt='smiley' onClick="insertText('comment_message', ':D');">
<img src='images/smiley/angry.gif' alt='smiley' onClick="insertText('comment_message', ':@');">
</td></tr>
<tr>




bei mano comments_include

<?php
/*---------------------------------------------------+
| PHP-Fusion 6 Content Management System
+----------------------------------------------------+
| Copyright © 2002 - 2006 Nick Jones
| http://www.php-fusion.co.uk/
+----------------------------------------------------+
|Digimonas valdo je je je
+----------------------------------------------------*/
if (!defined("IN_FUSION")) { header("Location:../index.php"); exit; }

include LOCALE.LOCALESET."comments.php";

function showcomments($ctype,$cdb,$ccol,$cid,$clink) {

   global $settings,$locale,$userdata,$aidlink,$edit,$delete,$db_prefix;
   
      $deldata=dbarray(dbquery("SELECT * FROM ".$db_prefix."comments WHERE comment_id='".$delete."'"));
      $editdata=dbarray(dbquery("SELECT * FROM ".$db_prefix."comments WHERE comment_id='".$edit."'"));
      
      if (iMEMBER && isset($delete)) {
      if (checkrights("C") || $userdata['user_id'] == $deldata['comment_name']) {
      $result=dbquery("DELETE FROM ".$db_prefix."comments WHERE comment_id='".$delete."'");
      redirect($clink);
      } else {
      redirect($clink);
      }
      }

      if (iMEMBER && (checkrights("C") || $userdata['user_id'] == $editdata['comment_name']) && isset($_POST['edit_comment'])) {
      $comment_message = trim(stripinput(censorwords($_POST['comment_message'])));
      $comment_smileys = isset($_POST['disable_smileys']) ? "0" : "1";
      if ($comment_message != "") {
      $result = dbquery("UPDATE ".$db_prefix."comments SET comment_message='$comment_message', comment_smileys='$comment_smileys' WHERE comment_id='".$edit."'");
      }
      redirect($clink);
      } elseif ((iMEMBER || $settings['guestposts'] == "1") && isset($_POST['post_comment'])) {
      $flood = false;
      if (dbrows(dbquery("SELECT $ccol FROM ".DB_PREFIX."$cdb WHERE $ccol='$cid'"))==0) {
         fallback(BASEDIR."index.php");
      }
      if (iMEMBER) {
         $comment_name = $userdata['user_id'];
      } elseif ($settings['guestposts'] == "1") {
         $comment_name = trim(stripinput($_POST['comment_name']));
         $comment_name = preg_replace("(^[0-9]*)", "", $comment_name);
         if (isNum($comment_name)) $comment_name="";
      }
      $comment_message = trim(stripinput(censorwords($_POST['comment_message'])));
      $comment_smileys = isset($_POST['disable_smileys']) ? "0" : "1";
      if ($comment_name != "" && $comment_message != "") {
         $result = dbquery("SELECT MAX(comment_datestamp) AS last_comment FROM ".DB_PREFIX."comments WHERE comment_ip='".USER_IP."'");
         if (!iSUPERADMIN || dbrows($result) > 0) {
            $data = dbarray($result);
            if ((time() - $data['last_comment']) < $settings['flood_interval']) {
               $flood = true;
               $result = dbquery("INSERT INTO ".DB_PREFIX."flood_control (flood_ip, flood_timestamp) VALUES ('".USER_IP."', '".time()."')");
               if (dbcount("(flood_ip)", "flood_control", "flood_ip='".USER_IP."'") > 4) {
                  if (iMEMBER) $result = dbquery("UPDATE ".DB_PREFIX."users SET user_status='1' WHERE user_id='".$userdata['user_id']."'");
               }
            }
         }
         if (!$flood) $result = dbquery("INSERT INTO ".DB_PREFIX."comments (comment_item_id, comment_type, comment_name, comment_message, comment_smileys, comment_datestamp, comment_ip) VALUES ('$cid', '$ctype', '$comment_name', '$comment_message', '$comment_smileys', '".time()."', '".USER_IP."')");
      }
      redirect($clink);
   }
   tablebreak();
   opentable($locale['c100']);
   $result = dbquery(
      "SELECT tcm.*,user_name,user_avatar FROM ".DB_PREFIX."comments tcm
      LEFT JOIN ".DB_PREFIX."users tcu ON tcm.comment_name=tcu.user_id
      WHERE comment_item_id='$cid' AND comment_type='$ctype'
      ORDER BY comment_datestamp ASC"
   );
   if (dbrows($result) != 0) {
      $i = 0;
      echo "<table cellpadding='0' cellspacing='1' width='100%' class='tbl-border'>\n";
      while ($data = dbarray($result)) {
         echo "<tr>\n
         <td class='".($i% 2==0?"tbl2":"tbl1")."' width='1%'>
         <img src='".IMAGES.($data['user_avatar'] ? "avatars/".$data['user_avatar'] : "noav.gif")."' width='50' height='50' alt=''>
         </td>
         <td class='".($i% 2==0?"tbl1":"tbl2")."' valign='top'><span class='comment-name'>\n";
         if ($data['user_name']) {
            echo "<a href='".BASEDIR."profile.php?lookup=".$data['comment_name']."'>".$data['user_name']."</a>";
         } else {
            echo $data['comment_name'];
         }
         if ($data['comment_smileys'] == "1") {
            $comment_message = parsesmileys($data['comment_message']);
         } else {
            $comment_message = $data['comment_message'];
         }
         $comment_message = nl2br(parseubb($comment_message));
         echo "</span>\n<span class='small'>".$locale['041'].showdate("longdate", $data['comment_datestamp'])."</span>";
         
         if (checkrights("C") || $userdata['user_id'] == $data['comment_name']) {
         echo " <a href='$clink&edit=".$data['comment_id']."' class='side'>Redaguoti</a> | <a href='$clink&delete=".$data['comment_id']."' class='side' onclick=\"if (confirm('Tikrai norite trinti?')) return true; else return false;\">Trinti</a>";
         }
         echo "<br>\n";
         echo $comment_message."</td>\n</tr>\n";
         $i++;
      }
      if (checkrights("C")) echo "<tr>\n<td align='right' colspan='2' class='".($i% 2==0?"tbl1":"tbl2")."'><a href='".ADMIN."comments.php".$aidlink."&amp;ctype=$ctype&amp;cid=$cid'>".$locale['c106']."</a></td>\n</tr>\n";
      echo "</table>\n";
   } else {
      echo $locale['c101']."\n";
   }
   closetable();
   tablebreak();
   opentable($locale['c102']);
   

      
   if (iMEMBER || $settings['guestposts'] == "1") {
   $dta = dbarray(dbquery("SELECT * FROM ".$db_prefix."comments WHERE comment_id='".$edit."'"));
   if (isset($edit)) { $action="&edit=$edit"; $but="edit_comment"; $but2="Išsaugoti"; $value=$dta['comment_message']; } else { $action=""; $but="post_comment"; $but2=$locale['c102']; $value=""; }
      
      echo "<form name='inputform' method='post' action='$clink".$action."'>
<table align='center' cellspacing='0' cellpadding='0' class='tbl'>\n";
      if (iGUEST) {
         echo "<tr>
<td>".$locale['c103']."</td>
</tr>
<tr>
<td><input type='text' name='comment_name' maxlength='30' class='textbox' style='width:100%;'></td>
</tr>\n";
      }
      
      
      echo "<tr>
<td align='center'><textarea name='comment_message' rows='6' cols='74' class='textbox'>".$value."</textarea><br>
<input type='button' value='b' class='button' style='font-weight:bold;width:25px;' onClick=\"addText('comment_message', '', '');\">
<input type='button' value='i' class='button' style='font-style:italic;width:25px;' onClick=\"addText('comment_message', '', '');\">
<input type='button' value='u' class='button' style='text-decoration:underline;width:25px;' onClick=\"addText('comment_message', '', '');\">
<input type='button' value='url' class='button' style='width:30px;' onClick=\"addText('comment_message', '[url]', '[/url]');\">
<input type='button' value='mail' class='button' style='width:35px;' onClick=\"addText('comment_message', '[mail]', '[/mail]');\">
<input type='button' value='img' class='button' style='width:30px;' onClick=\"addText('comment_message', '[img]', '[/img]');\">
<input type='button' value='center' class='button' style='width:45px;' onClick=\"addText('comment_message', '
', '
');\">
<input type='button' value='small' class='button' style='width:40px;' onClick=\"addText('comment_message', '', '');\">
<input type='button' value='code' class='button' style='width:40px;' onClick=\"addText('comment_message', '
', '


');\">
<input type='button' value='quote' class='button' style='width:45px;' onClick=\"addText('comment_message', '
', '
');\">
<br><br>
".displaysmileys("comment_message")."
</tr>
<tr>
<td align='center'><input type='checkbox' name='disable_smileys' value='1'>".$locale['c107']."<br><br>
<input type='submit' name='".$but."' value='".$but2."' class='button'></td>
</tr>
</table>
</form>\n";
   } else {
      echo $locale['c105']."\n";
   }
   closetable();
}
?>




oooooooooo
http://img257.imageshack.us/img2...ed1gs6.png
Peršokti į forumą: