Navigacija

Vartotojų tinkle

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

Registruoti nariai: 25,964
Naujausias narys: laleceylan50

Naujausi straipsniai

Paskutiniai nariai

laleceylan50 2 dienos
minimukas 1 savaitė
N-20 3 savaitės
Reikalas 3 savaitės
Rytis 4 savaitės
DjArtas 5 savaitės
WolfHammer 5 savaitės
Nostesi15 savaitės
Wisedocs16 savaitės
asdasdddz19 savaitės
Paslapties K...20 savaitės
Audrius_1723 savaitės
Simbijanas35 savaitės
Karinacraft36 savaitės
Žmogus39 savaitės
Bruksnys43 savaitės
Darexs46 savaitės
Nepas47 savaitės
keistuole49 savaitės
Gizmis50 savaitės

Informacija:


OS: Unknown
Naršyklė: Nežinoma
IP: 216.73.216.15
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
Nuoroda į savo profilį.
Forumas | PHP-Fusion, WordPress, Shopify, PHP ir MySQL (PROGRAMAVIMAS) | Žaliems

Autorius: T-Boy Peržiūrų: 1351      Spausdinti temą
2012 Kov. 23 18:03:55          1 žinutė iš 2
Spausdinti pranešimą
Gal galėtumėt į šį failiuką user_info_panel.php įterpti nuorodą į mano profilį. Na esmė ta pati kaip ir šiame supporte. Štai failiukas:

<?php
/*-------------------------------------------------------+
| <span style="border-bottom: 1px dotted black;">PHP</span>-Fusion Content Management System
| Copyright (C) 2002 - 2011 Nick Jones
| <a href='http://www.php-fusion.co.uk/' target='_blank'><span style='color:005C5B'>http://www.php-fusion.co.uk/</span></a>
+--------------------------------------------------------+
| Filename: user_info_panel.php
| Author: Nick Jones (Digitanium)
+--------------------------------------------------------+
| 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 <a href='http://www.gnu.org/licenses/agpl.html.' target='_blank'><span style='color:005C5B'>www.gnu.org/licenses/agpl.html.</span></a> Removal of this
| copyright header is strictly prohibited without
| written permission from the original author(s).
+--------------------------------------------------------*/

if (!defined("IN_FUSION")) { die("Access Denied"); }
 
if (iMEMBER) {
$msg_count = dbcount("(message_id)", DB_MESSAGES, "message_to='".$userdata['user_id']."' AND message_read='0' AND message_folder='0'");
 
openside($userdata['user_name']);
echo THEME_BULLET." <a href='".BASEDIR."edit_profile.php' class='side'>".$locale['global_120']."</a><br />\n";
echo THEME_BULLET." <a href='".BASEDIR."messages.php' class='side'>".$locale['global_121']."</a><br />\n";
 
if (iADMIN && (iUSER_RIGHTS != "" || iUSER_RIGHTS != "C")) {
echo THEME_BULLET." <a href='".ADMIN."index.php".$aidlink."' class='side'>".$locale['global_123']."</a><br />\n";
}
 
echo THEME_BULLET." <a href='".BASEDIR."index.php?logout=yes' class='side'>".$locale['global_124']."</a>\n";
 
if ($msg_count) {
echo "<div style='text-align:center;margin-top:15px;'>\n";
echo "<strong><a href='".BASEDIR."messages.php' class='side'>".sprintf($locale['global_125'], $msg_count);
echo ($msg_count == 1 ? $locale['global_126'] : $locale['global_127'])."</a></strong>\n";
echo "</div>\n";
}
 
if (iADMIN && (iUSER_RIGHTS != "" || iUSER_RIGHTS != "C")) {
$subm_count = dbcount("(submit_id)", DB_SUBMISSIONS);
 
if ($subm_count) {
echo "<div style='text-align:center;margin-top:15px;'>\n";
echo "<strong><a href='".ADMIN."submissions.php".$aidlink."' class='side'>".sprintf($locale['global_125'], $subm_count);
echo ($subm_count == 1 ? $locale['global_128'] : $locale['global_129'])."</a></strong>\n";
echo "</div>\n";
}
}
closeside();
} else {
if (!preg_match('/login.php/i',FUSION_SELF)) {
$action_url = FUSION_SELF.(FUSION_QUERY ? "?".FUSION_QUERY : "");
if (isset($_GET['redirect']) && strstr($_GET['redirect'], "/")) {
$action_url = cleanurl(urldecode($_GET['redirect']));
}
 
openside($locale['global_100']);
echo "<div style='text-align:center'>\n";
echo "<form name='loginform' method='post' action='".$action_url."'>\n";
echo $locale['global_101']."<br />\n<input type='text' name='user_name' class='textbox' style='width:100px' /><br />\n";
echo $locale['global_102']."<br />\n<input type='password' name='user_pass' class='textbox' style='width:100px' /><br />\n";
echo "<label><input type='checkbox' name='remember_me' value='y' title='".$locale['global_103']."' style='vertical-align:middle;' /></label>\n";
echo "<input type='submit' name='login' value='".$locale['global_104']."' class='button' /><br />\n";
echo "</form>\n<br />\n";
 
if ($settings['enable_registration']) {
echo $locale['global_105']."<br /><br />\n";
}
echo $locale['global_106']."\n</div>\n";
closeside();
}
}
?>


1 atsakymas:
Scarletas
Narys
Nuolatinis

Nario avataras

Pranešimai: 165
Įstojęs: 2009 Gru. 16 11:12:45
2012 Kov. 23 20:03:59          2 žinutė iš 2
Spausdinti pranešimą

<?php
 
/*-------------------------------------------------------+
 
| <span style="border-bottom: 1px dotted black;">PHP</span>-Fusion Content Management System
 
| Copyright (C) 2002 - 2011 Nick Jones
 
| <a href='http://www.php-fusion.co.uk/' target='_blank'><span style='color:005C5B'>http://www.php-fusion.co.uk/</span></a>
 
+--------------------------------------------------------+
 
| Filename: user_info_panel.php
 
| Author: Nick Jones (Digitanium)
 
+--------------------------------------------------------+
 
| 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 <a href='http://www.gnu.org/licenses/agpl.html.' target='_blank'><span style='color:005C5B'>www.gnu.org/licenses/agpl.html.</span></a> Removal of this
 
| copyright header is strictly prohibited without
 
| written permission from the original author(s).
 
+--------------------------------------------------------*/

 
if (!defined("IN_FUSION")) { die("Access Denied"); }
 
 
 
if (iMEMBER) {
 
$msg_count = dbcount("(message_id)", DB_MESSAGES, "message_to='".$userdata['user_id']."' AND message_read='0' AND message_folder='0'");
 
 
 
openside($userdata['user_name']);
 
echo THEME_BULLET." <a href='".BASEDIR."edit_profile.php' class='side'>".$locale['global_120']."</a><br />\n";
 
echo THEME_BULLET." <a href='".BASEDIR."profile.php?lookup=".$userdata['user_id']."' class='side'>Mano profilis</a><br>\n";
 
echo THEME_BULLET." <a href='".BASEDIR."messages.php' class='side'>".$locale['global_121']."</a><br />\n";
 
 
 
if (iADMIN && (iUSER_RIGHTS != "" || iUSER_RIGHTS != "C")) {
 
echo THEME_BULLET." <a href='".ADMIN."index.php".$aidlink."' class='side'>".$locale['global_123']."</a><br />\n";
 
}
 
 
 
echo THEME_BULLET." <a href='".BASEDIR."index.php?logout=yes' class='side'>".$locale['global_124']."</a>\n";
 
 
 
if ($msg_count) {
 
echo "<div style='text-align:center;margin-top:15px;'>\n";
 
echo "<strong><a href='".BASEDIR."messages.php' class='side'>".sprintf($locale['global_125'], $msg_count);
 
echo ($msg_count == 1 ? $locale['global_126'] : $locale['global_127'])."</a></strong>\n";
 
echo "</div>\n";
 
}
 
 
 
if (iADMIN && (iUSER_RIGHTS != "" || iUSER_RIGHTS != "C")) {
 
$subm_count = dbcount("(submit_id)", DB_SUBMISSIONS);
 
 
 
if ($subm_count) {
 
echo "<div style='text-align:center;margin-top:15px;'>\n";
 
echo "<strong><a href='".ADMIN."submissions.php".$aidlink."' class='side'>".sprintf($locale['global_125'], $subm_count);
 
echo ($subm_count == 1 ? $locale['global_128'] : $locale['global_129'])."</a></strong>\n";
 
echo "</div>\n";
 
}
 
}
 
closeside();
 
} else {
 
if (!preg_match('/login.php/i',FUSION_SELF)) {
 
$action_url = FUSION_SELF.(FUSION_QUERY ? "?".FUSION_QUERY : "");
 
if (isset($_GET['redirect']) && strstr($_GET['redirect'], "/")) {
 
$action_url = cleanurl(urldecode($_GET['redirect']));
 
}
 
 
 
openside($locale['global_100']);
 
echo "<div style='text-align:center'>\n";
 
echo "<form name='loginform' method='post' action='".$action_url."'>\n";
 
echo $locale['global_101']."<br />\n<input type='text' name='user_name' class='textbox' style='width:100px' /><br />\n";
 
echo $locale['global_102']."<br />\n<input type='password' name='user_pass' class='textbox' style='width:100px' /><br />\n";
 
echo "<label><input type='checkbox' name='remember_me' value='y' title='".$locale['global_103']."' style='vertical-align:middle;' /></label>\n";
 
echo "<input type='submit' name='login' value='".$locale['global_104']."' class='button' /><br />\n";
 
echo "</form>\n<br />\n";
 
 
 
if ($settings['enable_registration']) {
 
echo $locale['global_105']."<br /><br />\n";
 
}
 
echo $locale['global_106']."\n</div>\n";
 
closeside();
 
}
 
}
 
?>
0Geriausias atsakymas


Peršokti į forumą: