Navigacija

Vartotojų tinkle

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

Registruoti nariai: 25,964
Naujausias narys: laleceylan50

Naujausi straipsniai

Paskutiniai nariai

Kižas 2 dienos
Bruksnys 1 savaitė
laleceylan50 2 savaitės
minimukas 3 savaitės
N-20 6 savaitės
Reikalas 6 savaitės
Rytis 6 savaitės
DjArtas 7 savaitės
WolfHammer 7 savaitės
Nostesi18 savaitės
Wisedocs18 savaitės
asdasdddz22 savaitės
Paslapties K...23 savaitės
Audrius_1725 savaitės
Simbijanas38 savaitės
Karinacraft38 savaitės
Žmogus42 savaitės
Darexs48 savaitės
Nepas49 savaitės
keistuole51 savaitės

Informacija:


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

minimukas
2026 Vas. 21 08:02:25
oi oi akinanti šypsen yra dar cia gyvu? akinanti šypsen

N-20
2026 Vas. 6 21:02:05
O mes dar gyvi šypsosi)

WolfHammer
2026 Sau. 25 01:01:35
drovus

Žmogus
2025 Geg. 31 10:05:18
Kas geresnio? šypsosi

Nepas
2025 Bal. 9 17:04:13
drovus

Š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
v6 Prašymų modo redagavimas
Forumas | PHP-Fusion, WordPress, Shopify, PHP ir MySQL (PROGRAMAVIMAS) | Žaliems

Autorius: T-Boy Peržiūrų: 974      Spausdinti temą
2010 Lie. 30 21:07:29          1 žinutė iš 4
Spausdinti pranešimą
Atsisiunčiau iš čia http://phpfusion.lt/prasyk-daino... prašymų modą ir čia yra toks laukelis "Paliunkėjimas", kai jį išimu tada nepasiteikia daina, tai gal kas dar galėtų jį patvarkyti, kad jis būtų neprivalomas. Na žodžiu jį visai panaikinti iš šio modo. P.S. štai čia ta lentelė kurią panaikinu kodas:
<tr>
<td valign='top'>".$locale['err134']."</td>
<td><textarea name='suggestion_description' rows='5' class='textbox' style='width:300px;'></textarea></td>
</tr>


Štai kodas:
<?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
+----------------------------------------------------*/
require_once "../../maincore.php";
require_once BASEDIR."subheader.php";
require_once BASEDIR."side_left.php";

if (file_exists(INFUSIONS."suggestion_box/locale/".$settings['locale'].".php")) {
   include INFUSIONS."suggestion_box/locale/".$settings['locale'].".php";
} else {
   include INFUSIONS."suggestion_box/locale/lithuanian.php";
}

if (iMEMBER) {

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

if (isset($_POST['submit_suggestion'])) {
   $suggestion_summary = stripinput($_POST['suggestion_summary']);
   $suggestion_version = stripinput($_POST['suggestion_version']);
   $suggestion_description = stripinput($_POST['suggestion_description']);
   if ($suggestion_summary != "" && $suggestion_description != "") {
      $result = dbquery("INSERT INTO ".$db_prefix."suggestion_box VALUES('', '".$userdata['user_id']."', '$suggestion_summary', '$suggestion_version', '$suggestion_description', '', '".$locale['err142']."', '".time()."')");
   }
   redirect(FUSION_SELF);
}
if ($step == "view") {
   include INCLUDES."comments_include.php";
   if (!$suggestion_id || !isNum($suggestion_id)) fallback(FUSION_SELF);
   opentable($locale['err110']);
   $data = dbarray(dbquery(
      "SELECT ter.*, user_id,user_name FROM ".$db_prefix."suggestion_box ter
      LEFT JOIN ".$db_prefix."users tusr ON ter.suggestion_user=tusr.user_id
      WHERE suggestion_id='".$suggestion_id."'"
   ));
   echo "<table width='100%' cellpadding='0' cellspacing='1' class='tbl-border'>
<tr>
<td class='tbl2'><b>".$data['suggestion_summary']."</b></td>
</tr>
<tr>
<td width='125' class='tbl2'>".$locale['err111']."</td>
<td class='tbl1'><a href='".BASEDIR."profile.php?lookup=".$data['user_id']."'>".$data['user_name']."</a> -
".strftime($settings['longdate'], $data['suggestion_datestamp']+($settings['timeoffset']*3600))."</td>
</tr>
<tr>
<td width='125' class='tbl2'>".$locale['err112']."</td>
<td class='tbl1'>".$data['suggestion_version']."</td>
</tr>
<tr>
<td width='125' class='tbl2'>".$locale['err113']."</td>
<td class='tbl1'>".nl2br($data['suggestion_description'])."</td>
</tr>\n";
   if ($data['suggestion_response']) {
      echo "<tr>
<td width='125' class='tbl2'>".$locale['err114']."</td>
<td class='tbl1'>".nl2br($data['suggestion_response'])."</td>
</tr>\n";
   }
   echo "<tr>
<td width='125' class='tbl2'>".$locale['err115']."</td>
<td class='tbl1'>".$data['suggestion_status']."</td>
</tr>
</table>\n";
   closetable();
   showcomments("E","suggestion_box","suggestion_id",$suggestion_id,FUSION_SELF."?step=view&suggestion_id=$suggestion_id","");
   tablebreak();
}

tablebreak();
opentable($locale['err130']);
echo "<form name='reportform' method='post' action='".FUSION_SELF."'>
".$locale['err135']."
<table align='center' cellspacing='0' cellpadding='0' class='tbl'>
<tr>
<td>".$locale['err131']."</td>
<td><input type='text' name='suggestion_summary' class='textbox' style='width:300px;'></td>
</tr>
<tr>
<td valign='top'>".$locale['err134']."</td>
<td><textarea name='suggestion_description' rows='5' class='textbox' style='width:300px;'></textarea></td>
</tr>

<tr>
<td align='center' colspan='2'>
<input type='submit' name='submit_suggestion' value='".$locale['err130']."' class='button'></td>
<hr>
<center>Para&#353ykite man &#382inut&#281 &#303 eter&#303 &#353ios formos pagalba.<center><hr>
</tr>
</table>
</form>\n";
closetable();

} else {
   opentable($locale['err120']);
   echo "<center><br>\n".$locale['err124']."<br><br>\n</center>\n";
   closetable();
}

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




3 atsakymai:
2010 Lie. 30 21:07:14          2 žinutė iš 4
Spausdinti pranešimą
<?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
+----------------------------------------------------*/
require_once "../../maincore.php";
require_once BASEDIR."subheader.php";
require_once BASEDIR."side_left.php";

if (file_exists(INFUSIONS."suggestion_box/locale/".$settings['locale'].".php")) {
   include INFUSIONS."suggestion_box/locale/".$settings['locale'].".php";
} else {
   include INFUSIONS."suggestion_box/locale/lithuanian.php";
}

if (iMEMBER) {

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

if (isset($_POST['submit_suggestion'])) {
   $suggestion_summary = stripinput($_POST['suggestion_summary']);
   $suggestion_version = stripinput($_POST['suggestion_version']);
   if ($suggestion_summary != "") {
      $result = dbquery("INSERT INTO ".$db_prefix."suggestion_box VALUES('', '".$userdata['user_id']."', '$suggestion_summary', '$suggestion_version','', '".$locale['err142']."', '".time()."')");
   }
   redirect(FUSION_SELF);
}
if ($step == "view") {
   include INCLUDES."comments_include.php";
   if (!$suggestion_id || !isNum($suggestion_id)) fallback(FUSION_SELF);
   opentable($locale['err110']);
   $data = dbarray(dbquery(
      "SELECT ter.*, user_id,user_name FROM ".$db_prefix."suggestion_box ter
      LEFT JOIN ".$db_prefix."users tusr ON ter.suggestion_user=tusr.user_id
      WHERE suggestion_id='".$suggestion_id."'"
   ));
   echo "<table width='100%' cellpadding='0' cellspacing='1' class='tbl-border'>
<tr>
<td class='tbl2'><b>".$data['suggestion_summary']."</b></td>
</tr>
<tr>
<td width='125' class='tbl2'>".$locale['err111']."</td>
<td class='tbl1'><a href='".BASEDIR."profile.php?lookup=".$data['user_id']."'>".$data['user_name']."</a> -
".strftime($settings['longdate'], $data['suggestion_datestamp']+($settings['timeoffset']*3600))."</td>
</tr>
<tr>
<td width='125' class='tbl2'>".$locale['err112']."</td>
<td class='tbl1'>".$data['suggestion_version']."</td>
</tr>\n";
   if ($data['suggestion_response']) {
      echo "<tr>
<td width='125' class='tbl2'>".$locale['err114']."</td>
<td class='tbl1'>".nl2br($data['suggestion_response'])."</td>
</tr>\n";
   }
   echo "<tr>
<td width='125' class='tbl2'>".$locale['err115']."</td>
<td class='tbl1'>".$data['suggestion_status']."</td>
</tr>
</table>\n";
   closetable();
   showcomments("E","suggestion_box","suggestion_id",$suggestion_id,FUSION_SELF."?step=view&suggestion_id=$suggestion_id","");
   tablebreak();
}

tablebreak();
opentable($locale['err130']);
echo "<form name='reportform' method='post' action='".FUSION_SELF."'>
".$locale['err135']."
<table align='center' cellspacing='0' cellpadding='0' class='tbl'>
<tr>
<td>".$locale['err131']."</td>
<td><input type='text' name='suggestion_summary' class='textbox' style='width:300px;'></td>
</tr>

<tr>
<td align='center' colspan='2'>
<input type='submit' name='submit_suggestion' value='".$locale['err130']."' class='button'></td>
<hr>
<center>Para&#353ykite man &#382inut&#281 &#303 eter&#303 &#353ios formos pagalba.<center><hr>
</tr>
</table>
</form>\n";
closetable();

} else {
   opentable($locale['err120']);
   echo "<center><br>\n".$locale['err124']."<br><br>\n</center>\n";
   closetable();
}

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


0


2010 Lie. 31 10:07:40          3 žinutė iš 4
Spausdinti pranešimą
Dar kažką reikia pašalinti, nes vistiek neišsisiunčia prašymas.
0

Peršokti į forumą: