Proszę:
<?php
if (file_exists(INFUSIONS."user_info_panel/locale/".$settings['locale'].".php")) {
include INFUSIONS."user_info_panel/locale/".$settings['locale'].".php";
} else {
include INFUSIONS."user_info_panel/locale/Polish.php";
}
@include INFUSIONS."user_info_panel/lang/Polish.php";
if (!defined("IN_FUSION")) { header("Location:../../index.php"); exit; }
if (iMEMBER) {
opensidex("".$locale['JAZOON_001']." " .$userdata['user_name']);
if ($userdata['user_avatar'] != "") {
echo "<br><center><img src='".BASEDIR."images/avatars/".$userdata['user_avatar']."'></center><br>\n";
} else {
echo "<br><center><img src='".INFUSIONS."user_info_panel/images/brak.gif'></center><br>\n";
}
}
if (iMEMBER) {
echo "<center><b>".$locale['JAZOON_504']." ".$userdata ['user_posts']."</b></center><br>";
}
if (iMEMBER) {
echo "<script type='text/javascript' src='".INFUSIONS."user_info_panel/javascript/menu.js' language='Javascript'></script><script type='text/javascript' src='".INFUSIONS."user_info_panel/javascript/gpe.js' language='Javascript'></script><img src='".INFUSIONS."user_info_panel/images/icon_members.gif'> <b>".$locale['JAZOON_002']."</b><br><img src='".THEME."images/bullet.gif'>
<a href='".BASEDIR."edit_profile.php'>".$locale['080']."</a><br><img src='".THEME."images/bullet.gif'> <a href='".BASEDIR."infusions/avatar_gallery/avatar_gallery.php'>".$locale['088']."</a><br><img src='".THEME."images/bullet.gif'> <a href='".BASEDIR."messages.php' class='side'>".$locale['081']."</a><br><img src='".THEME."images/bullet.gif' alt=''> <a href='".INFUSIONS."freundschaftssystem_1.0/meine_freunde.php' class='side'>Moi przyjaciele</a> ($i)<br><img src='".THEME."images/bullet.gif'> <a href='".BASEDIR."members.php'>".$locale['082']."</a><br>";
if (iADMIN) {
echo "<img src='".THEME."images/bullet.gif'> <a href='".ADMIN."index.php".$aidlink."'>".$locale['083']."</a><br>\n";
}
echo "<a onClick=\"expandcontent('add')\" style=\"cursor:hand; cursor:pointer\">
<img src='".THEME."images/bullet.gif'> ".$locale['JAZOON_101']."</span></a>
<div id=\"add\" class=\"switchcontent\"> <img src='".THEME."images/bullet.gif'> <a href='".BASEDIR."submit.php?stype=n' class='side'>".$locale['JAZOON_102']."</a><br> <img src='".THEME."images/bullet.gif'> <a href='".BASEDIR."submit.php?stype=l' class='side'>".$locale['JAZOON_103']."</a><br> <img src='".THEME."images/bullet.gif'> <a href='".BASEDIR."submit.php?stype=a' class='side'>".$locale['JAZOON_104']."</a><br> <img src='".THEME."images/bullet.gif'> <a href='".BASEDIR."submit.php?stype=p' class='side'>".$locale['JAZOON_106']."</a></div><br>";
echo "<br><img src='".INFUSIONS."user_info_panel/images/icon_community.gif'> <b>".$locale['JAZOON_003']."</b>";
echo "<br><a onClick=\"expandcontent('top2')\" style=\"cursor:hand; cursor:pointer\">
<img src='".THEME."images/bullet.gif'> ".$locale['JAZOON_301']."</span></a>
<div id=\"top2\" class=\"switchcontent\"><br>";
include INFUSIONS."user_info_panel/includes/top_weblinks.php";
echo "</div>";
echo "<br><a onClick=\"expandcontent('top3')\" style=\"cursor:hand; cursor:pointer\">
<img src='".THEME."images/bullet.gif'> ".$locale['JAZOON_401']."</span></a>
<div id=\"top3\" class=\"switchcontent\"><br>";
include INFUSIONS."user_info_panel/includes/top_threads.php";
echo "</div>";
echo "<br><a onClick=\"expandcontent('top5')\" style=\"cursor:hand; cursor:pointer\">
<img src='".THEME."images/bullet.gif'> ".$locale['JAZOON_601']."</span></a>
<div id=\"top5\" class=\"switchcontent\"><br>";
include INFUSIONS."user_info_panel/includes/top_news.php";
echo "</div>";
echo "<br><a onClick=\"expandcontent('top6')\" style=\"cursor:hand; cursor:pointer\">
<img src='".THEME."images/bullet.gif'> ".$locale['JAZOON_650']."</span></a>
<div id=\"top6\" class=\"switchcontent\"><br>";
include INFUSIONS."user_info_panel/includes/top_articles.php";
echo "</div>";
echo "<br><a onClick=\"expandcontent('top1')\" style=\"cursor:hand; cursor:pointer\">
<img src='".THEME."images/bullet.gif'> ".$locale['JAZOON_201']."</span></a>
<div id=\"top1\" class=\"switchcontent\"><br>";
include INFUSIONS."user_info_panel/includes/top_downloads.php";
echo "</div><br>";
echo "<br><img src='".INFUSIONS."user_info_panel/images/icon_gallery.gif'> <b>".$locale['JAZOON_004']."</b>";
echo "<br><a onClick=\"expandcontent('top7')\" style=\"cursor:hand; cursor:pointer\">
<img src='".THEME."images/bullet.gif'> ".$locale['JAZOON_655']."</span></a>
<div id=\"top7\" class=\"switchcontent\"><br>";
include INFUSIONS."user_info_panel/includes/top_photos.php";
echo "</div><br>";
echo "<br><img src='".INFUSIONS."user_info_panel/images/icon_community.gif'> <b>".$locale['JAZOON_501']."</b>";
echo "<br><a onClick=\"expandcontent('top4')\" style=\"cursor:hand; cursor:pointer\">
<img src='".THEME."images/bullet.gif'> ".$locale['JAZOON_502']."</span></a>
<div id=\"top4\" class=\"switchcontent\"><br>";
include INFUSIONS."user_info_panel/includes/top_users.php";
echo "</div>";
echo "<br><a onClick=\"expandcontent('top10')\" style=\"cursor:hand; cursor:pointer\">
<img src='".THEME."images/bullet.gif'> ".$locale['JAZOON_503']."</span></a>
<div id=\"top10\" class=\"switchcontent\"><br>";
include INFUSIONS."user_info_panel/includes/top_users2.php";
echo "</div>";
echo "<br><a onClick=\"expandcontent('top11')\" style=\"cursor:hand; cursor:pointer\">
<img src='".THEME."images/bullet.gif'> ".$locale['JAZOON_505']."</span></a>
<div id=\"top11\" class=\"switchcontent\"><br>";
include INFUSIONS."user_info_panel/includes/top_users3.php";
echo "</div>";
echo "<br><a onClick=\"expandcontent('top12')\" style=\"cursor:hand; cursor:pointer\">
<img src='".THEME."images/bullet.gif'> ".$locale['JAZOON_506']."</span></a>
<div id=\"top12\" class=\"switchcontent\"><br>";
include INFUSIONS."user_info_panel/includes/top_users4.php";
echo "</div>";
echo "<br><a onClick=\"expandcontent('top13')\" style=\"cursor:hand; cursor:pointer\">
<img src='".THEME."images/bullet.gif'> ".$locale['JAZOON_507']."</span></a>
<div id=\"top13\" class=\"switchcontent\"><br>";
include INFUSIONS."user_info_panel/includes/top_users5.php";
echo "</div><br><br>";
echo "<center><img src='".THEME."images/bullet.gif'> <a href='".BASEDIR."setuser.php?logout=yes' class='side'> ".$locale['084']." </span></a> <img src='".THEME."images/bullet.gif'></center>\n";
if ($msg_count) echo "<br><br><center><b><a href='".BASEDIR."messages.php' class='side'>".sprintf($locale['085'], $msg_count).($msg_count == 1 ? $locale['086'] : $locale['087'])."</b><br><br><img border='0' src='".BASEDIR."images/newpm.gif'></a></center>\n";
closeside();
} else {
openside($locale['060']);
echo "<div align='center'>".(isset($loginerror) ? $loginerror : "")."
<form name='loginform' method='post' action='".BASEDIR."setuser.php'>
".$locale['061']."<br>
<input type='text' name='user_name' class='textbox' style='width:100px'><br>
".$locale['062']."<br>
<input type='password' name='user_pass' class='textbox' style='width:100px'><br>
<input type='checkbox' name='remember_me' value='y'>".$locale['063']."<br><br>
<input type='submit' name='login' value='".$locale['064']."' class='button'><br>
</form>
<br>\n";
if ($settings['enable_registration']) {
echo "<img src='".THEME."images/bullet.gif'> <a href='".BASEDIR."register.php' class='side'>".$locale['065']."</a><br>\n";
}
echo "<img src='".THEME."images/bullet.gif'> <a href='".BASEDIR."lostpassword.php' class='side'>".$locale['066']."</a>
</div>\n";
closeside();
}
?>
A w pliku local polish.php dopisz:
$locale['088']
Edytowane przez kibel dnia 19.02.2010 22:16:37
Kliknij jeśli pomogłem.
Bo życie uczy nas myślenia.
|