Navigacija

Vartotojų tinkle

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

Registruoti nariai: 25,957
Naujausias narys: keistuole

Naujausi straipsniai

Paskutiniai nariai

Darexs 6 dienos
Nepas 1 savaitė
keistuole 3 savaitės
Gizmis 5 savaitės
Reikalas 5 savaitės
Rytis14 savaitės
MaFetas18 savaitės
ozzWANTED20 savaitės
saulyzas22 savaitės
TOMIJUS23 savaitės
Jaunelis38 savaitės
lanis38 savaitės
And2s39 savaitės
Memento Mori44 savaitės
Quwqkibor47 savaitės
asirija50 savaitės
tomeem52 savaitės
weberiz56 savaitės
mRokass58 savaitės
kartoonas59 savaitės

Informacija:


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

Nepas
2025 Bal. 9 17:04:13
drovus

Nepas
2025 Bal. 9 17:04:08
drovus

Gizmis
2025 Kov. 15 14:03:50
OMG, smagu matyt sita puslapi veikianti

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?

Š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ų: 812      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ą: