Temos pavadinimas: WordPress, Shopify ir PHPFusion programuotojų bendruomenė :: Unforgettable klausimai
Parašė AurimaszB· 2009 Lie. 9 14:07:06
#1
Sveiki ,
NU tai ka mano pirmas klausimas butu toks
Kaip reikia padaryti kad webe kai užsiregini nereketu patvirtinti el pasto?
Parašė Nepas· 2009 Lie. 9 14:07:06
#2
kur pagrindiniai nustatymai ir yra registracija ten pamatysi
Parašė And2s· 2009 Lie. 9 14:07:42
#3
Administration/System Admin/Registration arba Administracija/Sistemos administracija/Registracija
Parašė AurimaszB· 2009 Lie. 9 15:07:13
#4
ačiū padėjo .
NU antra norėčiau ne užduoti klausima o paprašyti kokios nors gražios lietuviškos temos logo nesvarbu.
Parašė AurimaszB· 2009 Lie. 9 15:07:13
#5
tračias klausimas butu toks kaip butu galima pakeisti web;o paveiksliukus nu tipo smile kur komentaruose rašyti ir iš kur gerus gauti ?
Parašė AurimaszB· 2009 Lie. 9 16:07:25
#6
atsakimu kaip matau niekas nerašo jau :D
Parašė zDon· 2009 Lie. 9 16:07:03
#7
Gauti google.lt
Pakeisti per ftp images/smiley
Parašė AurimaszB· 2009 Lie. 9 16:07:26
#8
o niek negalit atsiusti nuorodo kokia kur grazesniu butu ?
Parašė AurimaszB· 2009 Lie. 9 16:07:31
#9
nu gerai pajieskosiu jau pats :D
Ketvirtas klausimas butu toks :
kaip butu galima padaryti tipo kai naujas naris tik uzsiregistruoja jam butu uždėta tipo foto kuri rodo kad be paveikslelio jis yra ?
Parašė Saul1us· 2009 Lie. 9 16:07:44
#10
Klausimai, tai blin totaliai žali:D Čia yar tokia panėlė ir ji tau jau auto uždės tavo sukurtą avatarą:)
Parašė zDon· 2009 Lie. 9 16:07:08
#11
if ($data['user_avatar'] != "") {
echo "<img src='".IMAGES."avatars/".$data['user_avatar']."' alt='".$locale['567']."'>\n";
$height = "185";
} else {
echo "<img src='".IMAGES."avatars/noavatar.gif' alt='".$locale['567']."'>\n";
$height = "185";
}
Redagavo zDon· 2009 Lie. 9 16:07:27
Parašė AurimaszB· 2009 Lie. 9 16:07:22
#12
o blt tu jau vip narys :D
pirkaisi už tuos lt?
Parašė Saul1us· 2009 Lie. 9 16:07:27
#13
zDon parašė:
if ($data['user_avatar'] != "") {
echo "<img src='".IMAGES."avatars/".$data['user_avatar']."' alt='".$locale['567']."'>\n";
$height = "185";
} else {
echo "<img src='".IMAGES."avatars/noavatar.gif' alt='".$locale['567']."'>\n";
$height = "185";
}
Berods į profile.php reikia įmesti jį;)
Parašė Nepas· 2009 Lie. 9 16:07:32
#14
čia i profile.php
echo ($data['user_avatar'] ? "<img src='".IMAGES."avatars/".$data['user_avatar']."' alt='".$locale['u017']."'>" : "<img src='".IMAGES."nera-avataro.gif' ")."</td>
Parašė AurimaszB· 2009 Lie. 9 16:07:29
#15
<?php
/*---------------------------------------------------+
| PHP-Fusion 6 Content Management System
+----------------------------------------------------+
| Copyright © 2002 - 2006 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 "subheader.php";
require_once "side_left.php";
include LOCALE.LOCALESET."members-profile.php";
include LOCALE.LOCALESET."user_fields.php";
if (!isset($group_id)) {
if (!isset($lookup) || !isNum($lookup)) fallback("index.php");
$result = dbquery("SELECT * FROM ".$db_prefix."users WHERE user_id='$lookup'");
if (dbrows($result)) { $data = dbarray($result); } else { redirect("index.php"); }
opentable($locale['420']);
echo "<table align='center' cellpadding='0' cellspacing='1' width='400' class='tbl-border'>
<tr>
<td colspan='3'>
<table align='center' cellpadding='0' cellspacing='0' width='100%'>
<tr>
<td class='tbl2'><b>".$data['user_name']."</b></td>
<td align='right' class='tbl2'>".getuserlevel($data['user_level'])."</td>
</tr>
</table>
</td>
<tr>
<td align='center' width='150' rowspan='5' class='tbl2'>\n";
echo ($data['user_avatar'] ? "<img src='".IMAGES."avatars/".$data['user_avatar']."' alt='".$locale['u017']."'>" : $locale['u046'])."</td>
<td width='1%' class='tbl1' style='white-space:nowrap'><b>".$locale['u009']."</b></td>
<td class='tbl1'>".($data['user_location'] ? $data['user_location'] : $locale['u048'])."</td>
</tr>
<tr>
<td width='1%' class='tbl2' style='white-space:nowrap'><b>".$locale['u010']."</b></td>
<td class='tbl2'>";
if ($data['user_birthdate'] != "0000-00-00") {
$months = explode("|", $locale['months']);
$user_birthdate = explode("-", $data['user_birthdate']);
echo $months[number_format($user_birthdate['1'])]." ".number_format($user_birthdate['2'])." ".$user_birthdate['0'];
} else {
echo $locale['u048'];
}
echo "</td>
</tr>
<tr>
<td width='1%' class='tbl1' style='white-space:nowrap'><b>".$locale['u021']."</b></td>
<td class='tbl1'>".($data['user_aim'] ? $data['user_aim'] : $locale['u048'])."</td>
</tr>
<tr>
<td width='1%' class='tbl2' style='white-space:nowrap'><b>".$locale['u011']."</b></td>
<td class='tbl2'>".($data['user_icq'] ? $data['user_icq'] : $locale['u048'])."</td>
</tr>
<tr>
<td width='1%' class='tbl1' style='white-space:nowrap'><b>".$locale['u012']."</b></td>
<td class='tbl1'>".($data['user_msn'] ? $data['user_msn'] : $locale['u048'])."</td>
</tr>
<tr>
<td align='center' class='tbl1'>\n";
if ($data['user_hide_email'] != "1" || iADMIN) {
echo "[<a href='mailto:".str_replace("@","@",$data['user_email'])."' title='".str_replace("@","@",$data['user_email'])."'>".$locale['u051']."</a>]\n";
}
if ($data['user_web']) {
$urlprefix = !strstr($data['user_web'], "http://") ? "http://" : "";
echo "[<a href='".$urlprefix.$data['user_web']."' title='".$urlprefix.$data['user_web']."' target='_blank'>".$locale['u052']."</a>]\n";
}
if (iMEMBER && $data['user_id'] != $userdata['user_id']) {
echo "[<a href='messages.php?msg_send=".$data['user_id']."' title='".$locale['u060']."'>".$locale['u053']."</a>]\n";
}
echo "</td>
<td width='1%' class='tbl2' style='white-space:nowrap'><b>".$locale['u013']."</b></td>
<td class='tbl2'>".($data['user_yahoo'] ? $data['user_yahoo'] : $locale['u048'])."</td>
</tr>
</table>\n";
tablebreak();
echo "<table align='center' cellpadding='0' cellspacing='1' width='400' class='tbl-border'>
<tr>
<td class='tbl2' colspan='2'><b>".$locale['422']."</b></td>
</tr>
<tr>
<td width='1%' class='tbl1' style='white-space:nowrap'><b>".$locale['u040']."</b></td>
<td class='tbl1'>".showdate("longdate", $data['user_joined'])."</td>
</tr>
<tr>
<td width='1%' class='tbl2' style='white-space:nowrap'><b>".$locale['u044']."</b></td>
<td class='tbl2'>".($data['user_lastvisit'] != 0 ? showdate("longdate", $data['user_lastvisit']) : $locale['u049'])."</td>
</tr>
<tr>
<td width='1%' class='tbl1' style='white-space:nowrap'><b>".$locale['u041']."</b></td>
<td class='tbl1'>".number_format(dbcount("(shout_id)", "shoutbox", "shout_name='".$data['user_id']."'"))."</td>
</tr>
<tr>
<td width='1%' class='tbl2' style='white-space:nowrap'><b>".$locale['u042']."</b></td>
<td class='tbl2'>".number_format(dbcount("(comment_id)", "comments", "comment_name='".$data['user_id']."'"))."</td>
</tr>
<tr>
<td width='1%' class='tbl1' style='white-space:nowrap'><b>".$locale['u043']."</b></td>
<td class='tbl1'>".number_format($data['user_posts'])."</td>
</tr>
</table>\n";
if ($data['user_groups']) {
tablebreak();
echo "<table align='center' cellpadding='0' cellspacing='1' width='400' class='tbl-border'>\n";
echo "<tr>\n<td class='tbl2'><b>".$locale['423']."</b></td>\n\n</tr>\n<tr>\n<td class='tbl1'>\n";
$user_groups = (strpos($data['user_groups'], ".") == 0 ? explode(".", substr($data['user_groups'], 1)) : explode(".", $data['user_groups']));
for ($i = 0;$i < count($user_groups);$i++) {
echo "<a href='".FUSION_SELF."?group_id=".$user_groups[$i]."'>".getgroupname($user_groups[$i])."</a>";
if ($i != (count($user_groups)-1)) { echo ",\n"; } else { echo "\n"; }
}
echo "</td>\n</tr>\n</table>\n";
}
} else {
if (!isNum($group_id)) fallback("index.php");
$result = dbquery("SELECT * FROM ".$db_prefix."user_groups WHERE group_id='$group_id'");
if (dbrows($result)) {
$data = dbarray($result);
$result = dbquery("SELECT * FROM ".$db_prefix."users WHERE user_groups REGEXP('^\\\.{$group_id}$|\\\.{$group_id}\\\.|\\\.{$group_id}$') ORDER BY user_level DESC, user_name");
opentable($locale['410']);
echo "<table align='center' cellpadding='0' cellspacing='1' width='100%' class='tbl-border'>
<tr>
<td align='center' colspan='2' class='tbl1'><b>".$data['group_name']."</b> (".sprintf((dbrows($result)==1?$locale['411']:$locale['412']), dbrows($result)).")</td>
</tr>
<tr>
<td class='tbl2'><b>".$locale['401']."</b></td>
<td align='center' width='1%' class='tbl2' style='white-space:nowrap'><b>".$locale['402']."</b></td>
</tr>\n";
while ($data = dbarray($result)) {
$cell_color = ($i % 2 == 0 ? "tbl1" : "tbl2"); $i++;
echo "<tr>\n<td class='$cell_color'>\n<a href='profile.php?lookup=".$data['user_id']."'>".$data['user_name']."</a></td>\n";
echo "<td align='center' width='1%' class='$cell_color' style='white-space:nowrap'>".getuserlevel($data['user_level'])."</td>\n</tr>";
}
echo "</table>\n";
} else {
fallback(BASEDIR."index.php");
}
}
closetable();
require_once "side_right.php";
require_once "footer.php";
?>
krw nesusigaudau kurioje vietoje rašyti?
Parašė Saul1us· 2009 Lie. 9 17:07:58
#16
Pirma. išjunk šypsenėles jopši....:|
Parašė AurimaszB· 2009 Lie. 9 17:07:35
#17
:D
<?php
/*---------------------------------------------------+
| PHP-Fusion 6 Content Management System
+----------------------------------------------------+
| Copyright © 2002 - 2006 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 "subheader.php";
require_once "side_left.php";
include LOCALE.LOCALESET."members-profile.php";
include LOCALE.LOCALESET."user_fields.php";
if (!isset($group_id)) {
if (!isset($lookup) || !isNum($lookup)) fallback("index.php");
$result = dbquery("SELECT * FROM ".$db_prefix."users WHERE user_id='$lookup'");
if (dbrows($result)) { $data = dbarray($result); } else { redirect("index.php"); }
opentable($locale['420']);
echo "<table align='center' cellpadding='0' cellspacing='1' width='400' class='tbl-border'>
<tr>
<td colspan='3'>
<table align='center' cellpadding='0' cellspacing='0' width='100%'>
<tr>
<td class='tbl2'><b>".$data['user_name']."</b></td>
<td align='right' class='tbl2'>".getuserlevel($data['user_level'])."</td>
</tr>
</table>
</td>
<tr>
<td align='center' width='150' rowspan='5' class='tbl2'>\n";
echo ($data['user_avatar'] ? "<img src='".IMAGES."avatars/".$data['user_avatar']."' alt='".$locale['u017']."'>" : $locale['u046'])."</td>
<td width='1%' class='tbl1' style='white-space:nowrap'><b>".$locale['u009']."</b></td>
<td class='tbl1'>".($data['user_location'] ? $data['user_location'] : $locale['u048'])."</td>
</tr>
<tr>
<td width='1%' class='tbl2' style='white-space:nowrap'><b>".$locale['u010']."</b></td>
<td class='tbl2'>";
if ($data['user_birthdate'] != "0000-00-00") {
$months = explode("|", $locale['months']);
$user_birthdate = explode("-", $data['user_birthdate']);
echo $months[number_format($user_birthdate['1'])]." ".number_format($user_birthdate['2'])." ".$user_birthdate['0'];
} else {
echo $locale['u048'];
}
echo "</td>
</tr>
<tr>
<td width='1%' class='tbl1' style='white-space:nowrap'><b>".$locale['u021']."</b></td>
<td class='tbl1'>".($data['user_aim'] ? $data['user_aim'] : $locale['u048'])."</td>
</tr>
<tr>
<td width='1%' class='tbl2' style='white-space:nowrap'><b>".$locale['u011']."</b></td>
<td class='tbl2'>".($data['user_icq'] ? $data['user_icq'] : $locale['u048'])."</td>
</tr>
<tr>
<td width='1%' class='tbl1' style='white-space:nowrap'><b>".$locale['u012']."</b></td>
<td class='tbl1'>".($data['user_msn'] ? $data['user_msn'] : $locale['u048'])."</td>
</tr>
<tr>
<td align='center' class='tbl1'>\n";
if ($data['user_hide_email'] != "1" || iADMIN) {
echo "[<a href='mailto:".str_replace("@","@",$data['user_email'])."' title='".str_replace("@","@",$data['user_email'])."'>".$locale['u051']."</a>]\n";
}
if ($data['user_web']) {
$urlprefix = !strstr($data['user_web'], "http://") ? "http://" : "";
echo "[<a href='".$urlprefix.$data['user_web']."' title='".$urlprefix.$data['user_web']."' target='_blank'>".$locale['u052']."</a>]\n";
}
if (iMEMBER && $data['user_id'] != $userdata['user_id']) {
echo "[<a href='messages.php?msg_send=".$data['user_id']."' title='".$locale['u060']."'>".$locale['u053']."</a>]\n";
}
echo "</td>
<td width='1%' class='tbl2' style='white-space:nowrap'><b>".$locale['u013']."</b></td>
<td class='tbl2'>".($data['user_yahoo'] ? $data['user_yahoo'] : $locale['u048'])."</td>
</tr>
</table>\n";
tablebreak();
echo "<table align='center' cellpadding='0' cellspacing='1' width='400' class='tbl-border'>
<tr>
<td class='tbl2' colspan='2'><b>".$locale['422']."</b></td>
</tr>
<tr>
<td width='1%' class='tbl1' style='white-space:nowrap'><b>".$locale['u040']."</b></td>
<td class='tbl1'>".showdate("longdate", $data['user_joined'])."</td>
</tr>
<tr>
<td width='1%' class='tbl2' style='white-space:nowrap'><b>".$locale['u044']."</b></td>
<td class='tbl2'>".($data['user_lastvisit'] != 0 ? showdate("longdate", $data['user_lastvisit']) : $locale['u049'])."</td>
</tr>
<tr>
<td width='1%' class='tbl1' style='white-space:nowrap'><b>".$locale['u041']."</b></td>
<td class='tbl1'>".number_format(dbcount("(shout_id)", "shoutbox", "shout_name='".$data['user_id']."'"))."</td>
</tr>
<tr>
<td width='1%' class='tbl2' style='white-space:nowrap'><b>".$locale['u042']."</b></td>
<td class='tbl2'>".number_format(dbcount("(comment_id)", "comments", "comment_name='".$data['user_id']."'"))."</td>
</tr>
<tr>
<td width='1%' class='tbl1' style='white-space:nowrap'><b>".$locale['u043']."</b></td>
<td class='tbl1'>".number_format($data['user_posts'])."</td>
</tr>
</table>\n";
if ($data['user_groups']) {
tablebreak();
echo "<table align='center' cellpadding='0' cellspacing='1' width='400' class='tbl-border'>\n";
echo "<tr>\n<td class='tbl2'><b>".$locale['423']."</b></td>\n\n</tr>\n<tr>\n<td class='tbl1'>\n";
$user_groups = (strpos($data['user_groups'], ".") == 0 ? explode(".", substr($data['user_groups'], 1)) : explode(".", $data['user_groups']));
for ($i = 0;$i < count($user_groups);$i++) {
echo "<a href='".FUSION_SELF."?group_id=".$user_groups[$i]."'>".getgroupname($user_groups[$i])."</a>";
if ($i != (count($user_groups)-1)) { echo ",\n"; } else { echo "\n"; }
}
echo "</td>\n</tr>\n</table>\n";
}
} else {
if (!isNum($group_id)) fallback("index.php");
$result = dbquery("SELECT * FROM ".$db_prefix."user_groups WHERE group_id='$group_id'");
if (dbrows($result)) {
$data = dbarray($result);
$result = dbquery("SELECT * FROM ".$db_prefix."users WHERE user_groups REGEXP('^\\\.{$group_id}$|\\\.{$group_id}\\\.|\\\.{$group_id}$') ORDER BY user_level DESC, user_name");
opentable($locale['410']);
echo "<table align='center' cellpadding='0' cellspacing='1' width='100%' class='tbl-border'>
<tr>
<td align='center' colspan='2' class='tbl1'><b>".$data['group_name']."</b> (".sprintf((dbrows($result)==1?$locale['411']:$locale['412']), dbrows($result)).")</td>
</tr>
<tr>
<td class='tbl2'><b>".$locale['401']."</b></td>
<td align='center' width='1%' class='tbl2' style='white-space:nowrap'><b>".$locale['402']."</b></td>
</tr>\n";
while ($data = dbarray($result)) {
$cell_color = ($i % 2 == 0 ? "tbl1" : "tbl2"); $i++;
echo "<tr>\n<td class='$cell_color'>\n<a href='profile.php?lookup=".$data['user_id']."'>".$data['user_name']."</a></td>\n";
echo "<td align='center' width='1%' class='$cell_color' style='white-space:nowrap'>".getuserlevel($data['user_level'])."</td>\n</tr>";
}
echo "</table>\n";
} else {
fallback(BASEDIR."index.php");
}
}
closetable();
require_once "side_right.php";
require_once "footer.php";
?>
geriau?
?
Redagavo AurimaszB· 2009 Lie. 9 17:07:22
Parašė Saul1us· 2009 Lie. 9 17:07:20
#18
Antra. Galėjai šita atlikti pamygęs mygtuką redaguoti:|
Parašė AurimaszB· 2009 Lie. 9 17:07:22
#19
tu geriau sakik kuriuoje vietoje ta koda dėti :D
Parašė Nepas· 2009 Lie. 9 17:07:15
#20
<?php
/*---------------------------------------------------+
| PHP-Fusion 6 Content Management System
+----------------------------------------------------+
| Copyright © 2002 - 2006 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 "subheader.php";
require_once "side_left.php";
include LOCALE.LOCALESET."members-profile.php";
include LOCALE.LOCALESET."user_fields.php";
if (!isset($group_id)) {
if (!isset($lookup) || !isNum($lookup)) fallback("index.php");
$result = dbquery("SELECT * FROM ".$db_prefix."users WHERE user_id='$lookup'");
if (dbrows($result)) { $data = dbarray($result); } else { redirect("index.php"); }
opentable($locale['420']);
echo "<table align='center' cellpadding='0' cellspacing='1' width='400' class='tbl-border'>
<tr>
<td colspan='3'>
<table align='center' cellpadding='0' cellspacing='0' width='100%'>
<tr>
<td class='tbl2'><b>".$data['user_name']."</b></td>
<td align='right' class='tbl2'>".getuserlevel($data['user_level'])."</td>
</tr>
</table>
</td>
<tr>
<td align='center' width='150' rowspan='5' class='tbl2'>\n";
echo ($data['user_avatar'] ? "<img src='".IMAGES."avatars/".$data['user_avatar']."' alt='".$locale['u017']."'>" : "<img src='".IMAGES."nera-avataro.gif' ")."</td>
<td width='1%' class='tbl1' style='white-space:nowrap'><b>".$locale['u009']."</b></td>
<td class='tbl1'>".($data['user_location'] ? $data['user_location'] : $locale['u048'])."</td>
</tr>
<tr>
<td width='1%' class='tbl2' style='white-space:nowrap'><b>".$locale['u010']."</b></td>
<td class='tbl2'>";
if ($data['user_birthdate'] != "0000-00-00") {
$months = explode("|", $locale['months']);
$user_birthdate = explode("-", $data['user_birthdate']);
echo $months[number_format($user_birthdate['1'])]." ".number_format($user_birthdate['2'])." ".$user_birthdate['0'];
} else {
echo $locale['u048'];
}
echo "</td>
</tr>
<tr>
<td width='1%' class='tbl1' style='white-space:nowrap'><b>".$locale['u021']."</b></td>
<td class='tbl1'>".($data['user_aim'] ? $data['user_aim'] : $locale['u048'])."</td>
</tr>
<tr>
<td width='1%' class='tbl2' style='white-space:nowrap'><b>".$locale['u011']."</b></td>
<td class='tbl2'>".($data['user_icq'] ? $data['user_icq'] : $locale['u048'])."</td>
</tr>
<tr>
<td width='1%' class='tbl1' style='white-space:nowrap'><b>".$locale['u012']."</b></td>
<td class='tbl1'>".($data['user_msn'] ? $data['user_msn'] : $locale['u048'])."</td>
</tr>
<tr>
<td align='center' class='tbl1'>\n";
if ($data['user_hide_email'] != "1" || iADMIN) {
echo "[<a href='mailto:".str_replace("@","@",$data['user_email'])."' title='".str_replace("@","@",$data['user_email'])."'>".$locale['u051']."</a>]\n";
}
if ($data['user_web']) {
$urlprefix = !strstr($data['user_web'], "http://") ? "http://" : "";
echo "[<a href='".$urlprefix.$data['user_web']."' title='".$urlprefix.$data['user_web']."' target='_blank'>".$locale['u052']."</a>]\n";
}
if (iMEMBER && $data['user_id'] != $userdata['user_id']) {
echo "[<a href='messages.php?msg_send=".$data['user_id']."' title='".$locale['u060']."'>".$locale['u053']."</a>]\n";
}
echo "</td>
<td width='1%' class='tbl2' style='white-space:nowrap'><b>".$locale['u013']."</b></td>
<td class='tbl2'>".($data['user_yahoo'] ? $data['user_yahoo'] : $locale['u048'])."</td>
</tr>
</table>\n";
tablebreak();
echo "<table align='center' cellpadding='0' cellspacing='1' width='400' class='tbl-border'>
<tr>
<td class='tbl2' colspan='2'><b>".$locale['422']."</b></td>
</tr>
<tr>
<td width='1%' class='tbl1' style='white-space:nowrap'><b>".$locale['u040']."</b></td>
<td class='tbl1'>".showdate("longdate", $data['user_joined'])."</td>
</tr>
<tr>
<td width='1%' class='tbl2' style='white-space:nowrap'><b>".$locale['u044']."</b></td>
<td class='tbl2'>".($data['user_lastvisit'] != 0 ? showdate("longdate", $data['user_lastvisit']) : $locale['u049'])."</td>
</tr>
<tr>
<td width='1%' class='tbl1' style='white-space:nowrap'><b>".$locale['u041']."</b></td>
<td class='tbl1'>".number_format(dbcount("(shout_id)", "shoutbox", "shout_name='".$data['user_id']."'"))."</td>
</tr>
<tr>
<td width='1%' class='tbl2' style='white-space:nowrap'><b>".$locale['u042']."</b></td>
<td class='tbl2'>".number_format(dbcount("(comment_id)", "comments", "comment_name='".$data['user_id']."'"))."</td>
</tr>
<tr>
<td width='1%' class='tbl1' style='white-space:nowrap'><b>".$locale['u043']."</b></td>
<td class='tbl1'>".number_format($data['user_posts'])."</td>
</tr>
</table>\n";
if ($data['user_groups']) {
tablebreak();
echo "<table align='center' cellpadding='0' cellspacing='1' width='400' class='tbl-border'>\n";
echo "<tr>\n<td class='tbl2'><b>".$locale['423']."</b></td>\n\n</tr>\n<tr>\n<td class='tbl1'>\n";
$user_groups = (strpos($data['user_groups'], ".") == 0 ? explode(".", substr($data['user_groups'], 1)) : explode(".", $data['user_groups']));
for ($i = 0;$i < count($user_groups);$i++) {
echo "<a href='".FUSION_SELF."?group_id=".$user_groups[$i]."'>".getgroupname($user_groups[$i])."</a>";
if ($i != (count($user_groups)-1)) { echo ",\n"; } else { echo "\n"; }
}
echo "</td>\n</tr>\n</table>\n";
}
} else {
if (!isNum($group_id)) fallback("index.php");
$result = dbquery("SELECT * FROM ".$db_prefix."user_groups WHERE group_id='$group_id'");
if (dbrows($result)) {
$data = dbarray($result);
$result = dbquery("SELECT * FROM ".$db_prefix."users WHERE user_groups REGEXP('^\\\.{$group_id}$|\\\.{$group_id}\\\.|\\\.{$group_id}$') ORDER BY user_level DESC, user_name");
opentable($locale['410']);
echo "<table align='center' cellpadding='0' cellspacing='1' width='100%' class='tbl-border'>
<tr>
<td align='center' colspan='2' class='tbl1'><b>".$data['group_name']."</b> (".sprintf((dbrows($result)==1?$locale['411']:$locale['412']), dbrows($result)).")</td>
</tr>
<tr>
<td class='tbl2'><b>".$locale['401']."</b></td>
<td align='center' width='1%' class='tbl2' style='white-space:nowrap'><b>".$locale['402']."</b></td>
</tr>\n";
while ($data = dbarray($result)) {
$cell_color = ($i % 2 == 0 ? "tbl1" : "tbl2"); $i++;
echo "<tr>\n<td class='$cell_color'>\n<a href='profile.php?lookup=".$data['user_id']."'>".$data['user_name']."</a></td>\n";
echo "<td align='center' width='1%' class='$cell_color' style='white-space:nowrap'>".getuserlevel($data['user_level'])."</td>\n</tr>";
}
echo "</table>\n";
} else {
fallback(BASEDIR."index.php");
}
}
closetable();
require_once "side_right.php";
require_once "footer.php";
?>
Redagavo Nepas· 2009 Lie. 9 17:07:25
Parašė AurimaszB· 2009 Lie. 9 18:07:40
#21
db klausimas kas galėtu sukurti lietuviška tema? pm man
Parašė K-braun· 2009 Lie. 9 19:07:09
#22
Kiek žadi sumokėti?
Parašė AurimaszB· 2009 Lie. 10 13:07:06
#23
dar vienas klausimas ka man daryti jei aš buvau ant savo web'o užsidėjes theme o paskui neticia ja ištriniau ir db kai nueinu i savo web'a rodo balta lapa ka daryti?
Parašė Rolisj· 2009 Lie. 10 13:07:41
#24
Unforgettable parašė:
dar vienas klausimas ka man daryti jei aš buvau ant savo web'o užsidėjes theme o paskui neticia ja ištriniau ir db kai nueinu i savo web'a rodo balta lapa ka daryti?
įmesk bet kokia temą, ir pervadink jos folderį į tokį pavadinimą kuris buvo tos kur iš tryniai.
Parašė AurimaszB· 2009 Lie. 10 14:07:21
#25
dekui padėjo :)
kitas klausimas galit duoti kas nors spalvų kodą?
Parašė Rolisj· 2009 Lie. 10 14:07:33
#26
Unforgettable parašė:
dekui padėjo :)
kitas klausimas galit duoti kas nors spalvų kodą?
http://www.hey.lt/colors.html
Parašė AurimaszB· 2009 Lie. 10 14:07:23
#27
tarp kokiu skliaustu ju juos reia dėti?
Parašė Žmogus· 2009 Lie. 10 14:07:44
#28
tarp kokiu skliaustu ju juos reia dėti?
Kokie dar skliausti?
Parašė AurimaszB· 2009 Lie. 10 14:07:34
#29
nu tipo tarp ko pwz
<>, [] tarp tokiu nereike?
Parašė Rolisj· 2009 Lie. 10 14:07:09
#30
Unforgettable parašė:
tarp kokiu skliaustu ju juos reia dėti?
o kur tu nori išvis šituos kodus naudot ?
<!--
body {
background-color: #000000;
}
.style1 {color: #FFFFFF}
.style4 {
color: #FFFFFF;
font-family: Verdana, Arial, Helvetica, sans-serif;
font-size: 60px;
}
.style7 {color: #FF6600}
-->
čia šioks toks style yra, ten kur paryškinta kodai tie dedasi
Redagavo Rolisj· 2009 Lie. 10 14:07:33
Parašė AurimaszB· 2009 Lie. 10 14:07:37
#31
o kur tu nori išvis šituos kodus naudot ?
noriu pwz kai ant web'o pagrindinis puslapis ir pasisveikinimas kažkas panasaus
Parašė Rolisj· 2009 Lie. 10 14:07:47
#32
Unforgettable parašė:
o kur tu nori išvis šituos kodus naudot ?
noriu pwz kai ant web'o pagrindinis puslapis ir pasisveikinimas kažkas panasaus
jei tu tiesiog nori tinklapyje kur panelėse ar pan parašyt spalvotai, tai tiesiog naudok tokį kodą
<span style='color:red'>TEKSTAS</span>
o spalvas gali rast tiesiog nuėjęs ten kur reikia rašyt naujienas ir spausk "pasirinkti spalvą"
Parašė AurimaszB· 2009 Lie. 10 14:07:06
#33
aišku dėkui :)
Parašė AurimaszB· 2009 Lie. 10 17:07:57
#34
kodėl kai isidėdu savo avarata i savo web'a rodo tik suplyšusi lapa?
ir kaip tai galima pataisyti?
Redagavo AurimaszB· 2009 Lie. 10 17:07:20
Parašė And2s· 2009 Lie. 10 18:07:58
#35
Unforgettable parašė:
kodėl kai isidėdu savo avarata i savo web'a rodo tik suplyšusi lapa?
ir kaip tai galima pataisyti?
Kaip suprast "suplyšusį lapą"?
Parašė AurimaszB· 2009 Lie. 10 20:07:29
#36
nu tipo toki lapeli per puse suplišusi ,
tipo kad blogai ikelta foto ar kazkas panasaus
Parašė Rolisj· 2009 Lie. 10 20:07:04
#37
Unforgettable parašė:
nu tipo toki lapeli per puse suplišusi ,
tipo kad blogai ikelta foto ar kazkas panasaus
padaryk screen'ą nes neįsivaizduoju tavo suplyšimo
Parašė Nepas· 2009 Lie. 10 20:07:45
#38
kam to image rodo jam kad nera image tipo ir viskas...
čia jam per IE man rodos :)
Parašė AurimaszB· 2009 Lie. 10 21:07:05
#39
nea aš naudoju mozila ir kiti raše kad nerodo images
Parašė AurimaszB· 2009 Lie. 10 22:07:32
#40
blt padėkit labai reikia instaliavau
php v7 bet man ten kai reikia suvesti admino viska login ir pass neraso teksto kur ka vesti o ten daugiau langeliu negu kai instaliavinejau v6 padėkit kur ka rašyt
Parašė Nepas· 2009 Lie. 10 22:07:15
#41
foto ???
Parašė zDon· 2009 Lie. 10 23:07:01
#44
Perkelk locale.
Parašė AurimaszB· 2009 Lie. 10 23:07:16
#45
Parašė AurimaszB· 2009 Lie. 11 09:07:09
#46
va ką rodo gali buti aš manau kaip sakė zDon nes kai atsisiunciau pati
php f v7 ten nebuvo lt kalbos o aš ja perkėliau is v6 i v7 gal todėl ir neveikia.
O gal yra ant v7 lietuviu kalba?
ir kai instaliavinieji
php f ten kur reikia vesti DB duomenis lt nerodo irgi o anglu rodo
Redagavo AurimaszB· 2009 Lie. 11 09:07:51
Parašė MAnjack· 2009 Lie. 11 10:07:02
#47
v6 ir v7 sumaišymas jokios naudos neduos, o dėl v7 lietuvybės tai ji gal jau pusė metų išleista.
Parašė AurimaszB· 2009 Lie. 11 10:07:44
#49
nu jau intaliavau
bet kai einu dabar į savo puslapi rodo balta lapa ir viskas nors nokios temos gi nerinkau
Parašė MAnjack· 2009 Lie. 11 11:07:38
#50
Visus failus tu pesmesk.
Parašė AurimaszB· 2009 Lie. 11 11:07:48
#51
taigi visus ir persimetęs
Parašė Beta-1· 2009 Lie. 11 12:07:01
#52
Unforgettable parašė:
nu jau intaliavau
bet kai einu dabar į savo puslapi rodo balta lapa ir viskas nors nokios temos gi nerinkau
o pati saita rodo ?
Parašė AurimaszB· 2009 Lie. 11 12:07:34
#53
adresine rodo kad nuejes normaliai bet tik rodo balta lapa ir nk daugiau
temos normaliai sukeltos viskas normaliai lig ir padaryta
Redagavo AurimaszB· 2009 Lie. 11 12:07:13
Parašė AurimaszB· 2009 Lie. 11 13:07:41
#54
aciu jau nereikia padariau jau
Parašė AurimaszB· 2009 Lie. 11 14:07:48
#55
gali duoti kas nuoroda kur atsisiusti panele kur visi nariai galėtu dėti failus?
<?php
/*-------------------------------------------------------+
| PHP-Fusion Content Management System
| Copyright (C) 2002 - 2008 Nick Jones
| http://www.php-fusion.co.uk/
+--------------------------------------------------------+
| Filename: edit_profile.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 www.gnu.org/licenses/agpl.html. Removal of this
| copyright header is strictly prohibited without
| written permission from the original author(s).
+--------------------------------------------------------*/
require_once "maincore.php";
require_once THEMES."templates/header.php";
include LOCALE.LOCALESET."edit_profile.php";
include LOCALE.LOCALESET."user_fields.php";
if (!iMEMBER) { redirect("index.php"); }
$user_data = $userdata;
if (isset($_POST['update_profile'])) { require_once INCLUDES."update_profile_include.php"; }
require_once INCLUDES."bbcode_include.php";
opentable($locale['400']);
$offset_list = "";
for ($i = -13; $i < 17; $i++) {
if ($i > 0) { $offset = "+".$i; } else { $offset = $i; }
$offset_list .= "<option".($offset == $user_data['user_offset'] ? " selected='selected'" : "").">".$offset."</option>\n";
}
echo "<form name='inputform' method='post' action='".FUSION_SELF."' enctype='multipart/form-data'>\n";
echo "<table cellpadding='0' cellspacing='0' class='center'>\n";
if (isset($_GET['update_profile'])) {
echo "<tr>\n<td align='center' colspan='2' class='tbl'>".$locale['411']."<br /><br />\n</td>\n</tr>\n";
} elseif (!isset($_POST['update_profile'])) {
echo "<tr>\n<td align='center' colspan='2' class='tbl'>".$locale['410']."<br /><br />\n</td>\n</tr>\n";
}
echo "<tr>\n<td class='tbl'>".$locale['u001'].":<span style='color:#ff0000'>*</span></td>\n";
echo "<td class='tbl'><input type='text' name='user_name' value='".$user_data['user_name']."' maxlength='30' class='textbox' style='width:200px;' /></td>\n";
echo "</tr>\n<tr>\n";
echo "<td class='tbl'>".$locale['420'].":</td>\n";
echo "<td class='tbl'><input type='password' name='user_password' maxlength='20' class='textbox' style='width:200px;' /></td>\n";
echo "</tr>\n<tr>\n";
echo "<td class='tbl'>".$locale['u003'].":</td>\n";
echo "<td class='tbl'><input type='password' name='user_new_password' maxlength='20' class='textbox' style='width:200px;' /></td>\n";
echo "</tr>\n<tr>\n";
echo "<td class='tbl'>".$locale['u004'].":</td>\n";
echo "<td class='tbl'><input type='password' name='user_new_password2' maxlength='20' class='textbox' style='width:200px;' /></td>\n";
echo "</tr>\n<tr>\n";
if (iADMIN) {
if ($user_data['user_admin_password']) {
echo "<td class='tbl2'>".$locale['421'].":</td>\n";
echo "<td class='tbl2'><input type='password' name='user_admin_password' maxlength='20' class='textbox' style='width:200px;' /></td>\n";
echo "</tr>\n<tr>\n";
}
echo "<td class='tbl2'>".$locale['422'].":</td>\n";
echo "<td class='tbl2'><input type='password' name='user_new_admin_password' maxlength='20' class='textbox' style='width:200px;' /></td>\n";
echo "</tr>\n<tr>\n";
echo "<td class='tbl2'>".$locale['423'].":</td>\n";
echo "<td class='tbl2'><input type='password' name='user_new_admin_password2' maxlength='20' class='textbox' style='width:200px;' /></td>\n";
echo "</tr>\n<tr>\n";
}
echo "<td class='tbl'>".$locale['u005'].":<span style='color:#ff0000'>*</span></td>\n";
echo "<td class='tbl'><input type='text' name='user_email' value='".$user_data['user_email']."' maxlength='100' class='textbox' style='width:200px;' /></td>\n";
echo "</tr>\n<tr>\n";
echo "<td class='tbl'>".$locale['u006'].":</td>\n";
echo "<td class='tbl'><label><input type='radio' name='user_hide_email' value='1'".($user_data['user_hide_email'] == "1" ? " checked='checked'" : "")." />".$locale['u007']."</label> ";
echo "<label><input type='radio' name='user_hide_email' value='0'".($user_data['user_hide_email'] == "0" ? " checked='checked'" : "")." />".$locale['u008']."</label></td>\n";
echo "</tr>\n";
if (!$user_data['user_avatar']) {
echo "<tr>\n";
echo "<td valign='top' class='tbl'>".$locale['u010'].":</td>\n";
echo "<td class='tbl'><input type='file' name='user_avatar' class='textbox' style='width:200px;' /><br />\n";
echo "<span class='small2'>".$locale['u011']."</span><br />\n";
echo "<span class='small2'>".sprintf($locale['u022'], parsebytesize(60720), 120, 120)."</span>."</span></td>\n";
echo "</tr>\n";
} else {
echo "<tr>\n";
echo "<td valign='top' class='tbl'>".$locale['u010'].":</td>\n";
echo "<td class='tbl'><img src='".IMAGES."avatars/".$user_data['user_avatar']."' alt='".$locale['u010']."' /><br />\n";
echo "<input type='checkbox' name='del_avatar' value='y' /> ".$locale['u013']."\n";
echo "<input type='hidden' name='user_avatar' value='".$user_data['user_avatar']."' /></td>\n";
echo "</tr>\n";
}
$profile_method = "input";
$result2 = dbquery("SELECT * FROM ".DB_USER_FIELDS." WHERE field_group != '4' GROUP BY field_group");
while($data2 = dbarray($result2)) {
$result3 = dbquery("SELECT * FROM ".DB_USER_FIELDS." WHERE field_group='".$data2['field_group']."' ORDER BY field_order");
if (dbrows($result3)) {
echo "<tr>\n<td class='tbl2'></td>\n";
echo "<td class='tbl2'><strong>";
if ($data2['field_group'] == 1) {
echo $locale['u044'];
} elseif ($data2['field_group'] == 2) {
echo $locale['u045'];
} elseif ($data2['field_group'] == 3) {
echo $locale['u046'];
}
echo "</strong></td>\n</tr>\n";
while($data3 = dbarray($result3)) {
if (file_exists(LOCALE.LOCALESET."user_fields/".$data3['field_name'].".php")) {
include LOCALE.LOCALESET."user_fields/".$data3['field_name'].".php";
}
if (file_exists(INCLUDES."user_fields/".$data3['field_name']."_include.php")) {
include INCLUDES."user_fields/".$data3['field_name']."_include.php";
}
}
}
}
echo "<tr>\n<td align='center' colspan='2' class='tbl'><br />\n";
echo "<input type='hidden' name='user_hash' value='".$user_data['user_password']."' />\n";
echo "<input type='submit' name='update_profile' value='".$locale['424']."' class='button' /></td>\n";
echo "</tr>\n</table>\n</form>\n";
closetable();
require_once THEMES."templates/footer.php";
?>
kas čia gali būti blogai nes kai jungi
redaguoti profili jo neijungia rodo balta laba galit kas pataisyti?
Redagavo AurimaszB· 2009 Lie. 11 14:07:06
Parašė Žmogus· 2009 Lie. 11 14:07:14
#56
Permesk iš naujo failą iš include/profile_include kažkaip ten
Parašė AurimaszB· 2009 Lie. 11 14:07:26
#57
ShadoVw parašė:
Permesk iš naujo failą iš include/profile_include kažkaip ten
kaip suprasti?
Parašė Žmogus· 2009 Lie. 11 15:07:41
#58
Parsisisiųnti naują
php-files folderį ir ten susirandi includes/update_profile_include.php padarai jam Copy eini į savo FTP darai paste (overwrite) includes folderyje update_profile_include
Parašė AurimaszB· 2009 Lie. 11 19:07:13
#59
vistiek neleidzia ieiti ten profilio redagavima
va eina ačiū
Redagavo AurimaszB· 2009 Lie. 11 19:07:39