Navigacija

Vartotojų tinkle

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

Registruoti nariai: 25,959
Naujausias narys: Simbijanas

Naujausi straipsniai

Paskutiniai nariai

Reikalas 1 savaitė
Simbijanas 6 savaitės
Karinacraft 7 savaitės
Žmogus10 savaitės
Bruksnys14 savaitės
Darexs17 savaitės
Nepas18 savaitės
keistuole20 savaitės
Gizmis21 savaitės
Rytis31 savaitės
MaFetas35 savaitės
ozzWANTED36 savaitės
saulyzas38 savaitės
TOMIJUS39 savaitės
Jaunelis55 savaitės
lanis55 savaitės
And2s56 savaitės
Memento Mori61 savaitės
Quwqkibor63 savaitės
asirija67 savaitės

Informacija:


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

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

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

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