Temos pavadinimas: WordPress, Shopify ir PHPFusion programuotojų bendruomenė :: Asmeninis kabinetas

Parašė reyon· 2009 Lap. 27 12:11:16
#1

Kaip ir kur įrašyti kodą, kad būtų čia asmeninis kabinetas.?|

Iš anksto dėkui.;)

Parašė MAnjack· 2009 Lap. 27 12:11:45
#2

Kaip suprast?

Parašė emusic· 2009 Lap. 27 12:11:07
#3

MAnjack parašė:
Kaip suprast?

keik supratau jis nori dadet asmeninis kabinėtas

Parašė Deiviux.eu· 2009 Lap. 27 12:11:15
#4

Tipo kad nueitų į mano profilis paspaudus asmeninis kabinetas

Parašė reyon· 2009 Lap. 27 12:11:37
#5

Deiviux parašė:
Tipo kad nueitų į mano profilis paspaudus asmeninis kabinetas

Jo. Tai galit padėt?

Redagavo reyon· 2009 Lap. 27 12:11:24

Parašė BigMan· 2009 Lap. 27 12:11:23
#6

reyon parašė:
Deiviux parašė:
Tipo kad nueitų į mano profilis paspaudus asmeninis kabinetas

Jo. Tai galit padėt?

pasikeisk locales..

Parašė MAnjack· 2009 Lap. 27 12:11:16
#7

<a href='".BASEDIR."profile.php?lookup=".$userdata['user_id']."'>Asmeninis kabinetas</a>



Parašė reyon· 2009 Lap. 28 16:11:34
#8

Va mano user_info_panel.php gali įtalpint?
<?php
/*-------------------------------------------------------+
| PHP-Fusion Content Management System
| Copyright (C) 2002 - 2008 Nick Jones
| http://www.php-fusion.co.uk/
+--------------------------------------------------------+
| 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 www.gnu.org/licenses/agpl.html. 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) {
   openside($userdata['user_name']);
   $msg_count = dbcount("(message_id)", DB_MESSAGES, "message_to='".$userdata['user_id']."' AND message_read='0'AND message_folder='0'");
   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";
         echo THEME_BULLET." <a href='".BASEDIR."members.php' class='side'>".$locale['global_122']."</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."setuser.php?logout=yes' class='side'>".$locale['global_124']."</a>\n";
   if ($msg_count) { echo "<br /><br /><div style='text-align:center'><strong><a href='".BASEDIR."messages.php' class='side'>".sprintf($locale['global_125'], $msg_count).($msg_count == 1 ? $locale['global_126'] : $locale['global_127'])."</a></strong></div>\n"; }
} else {
   openside($locale['global_100']);
   echo "<div style='text-align:center'>\n";
   echo "<form name='loginform' method='post' action='".FUSION_SELF."'>\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 "<input type='checkbox' name='remember_me' value='y' title='".$locale['global_103']."' style='vertical-align:middle;' />\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();
?>



Redagavo reyon· 2009 Lap. 28 17:11:39

Parašė Creatium· 2009 Lap. 28 17:11:00
#9

Štai

<?php
/*-------------------------------------------------------+
| PHP-Fusion Content Management System
| Copyright (C) 2002 - 2008 Nick Jones
| http://www.php-fusion.co.uk/
+--------------------------------------------------------+
| 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 www.gnu.org/licenses/agpl.html. 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) {
   openside($userdata['user_name']);
   $msg_count = dbcount("(message_id)", DB_MESSAGES, "message_to='".$userdata['user_id']."' AND message_read='0'AND message_folder='0'");
   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";
   echo THEME_BULLET." <a href='".BASEDIR."profile.php?lookup=".$userdata['user_id']."'>Asmeninis kabinetas</a><br />\n";
         echo THEME_BULLET." <a href='".BASEDIR."members.php' class='side'>".$locale['global_122']."</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."setuser.php?logout=yes' class='side'>".$locale['global_124']."</a>\n";
   if ($msg_count) { echo "<br /><br /><div style='text-align:center'><strong><a href='".BASEDIR."messages.php' class='side'>".sprintf($locale['global_125'], $msg_count).($msg_count == 1 ? $locale['global_126'] : $locale['global_127'])."</a></strong></div>\n"; }
} else {
   openside($locale['global_100']);
   echo "<div style='text-align:center'>\n";
   echo "<form name='loginform' method='post' action='".FUSION_SELF."'>\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 "<input type='checkbox' name='remember_me' value='y' title='".$locale['global_103']."' style='vertical-align:middle;' />\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();
?>




Parašė reyon· 2009 Lap. 28 17:11:25
#10

Dėkui, nu pažiurėsim ar veikia ;)
Bet kodėl visi normalios spalvos, o asmeninis kabinetas raudonos? Nors nematau kode kad butu kažkur parašyta.?|

Redagavo reyon· 2009 Lap. 28 17:11:54

Parašė Creatium· 2009 Lap. 28 17:11:32
#11

pridėk class='side' nuorodos kode, kaip kitose nuorodose.

Parašė iSound· 2009 Lap. 28 17:11:13
#12

<?php
/*-------------------------------------------------------+
| PHP-Fusion Content Management System
| Copyright (C) 2002 - 2008 Nick Jones
| http://www.php-fusion.co.uk/
+--------------------------------------------------------+
| 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 www.gnu.org/licenses/agpl.html. 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) {
   openside($userdata['user_name']);
   $msg_count = dbcount("(message_id)", DB_MESSAGES, "message_to='".$userdata['user_id']."' AND message_read='0'AND message_folder='0'");
   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";
   echo THEME_BULLET." <a href='".BASEDIR."profile.php?lookup=".$userdata['user_id']."' class='side'>Asmeninis kabinetas</a><br />\n";
         echo THEME_BULLET." <a href='".BASEDIR."members.php' class='side'>".$locale['global_122']."</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."setuser.php?logout=yes' class='side'>".$locale['global_124']."</a>\n";
   if ($msg_count) { echo "<br /><br /><div style='text-align:center'><strong><a href='".BASEDIR."messages.php' class='side'>".sprintf($locale['global_125'], $msg_count).($msg_count == 1 ? $locale['global_126'] : $locale['global_127'])."</a></strong></div>\n"; }
} else {
   openside($locale['global_100']);
   echo "<div style='text-align:center'>\n";
   echo "<form name='loginform' method='post' action='".FUSION_SELF."'>\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 "<input type='checkbox' name='remember_me' value='y' title='".$locale['global_103']."' style='vertical-align:middle;' />\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();
?>



Parašė iMantux· 2009 Lap. 28 17:11:14
#13

<?php
/*-------------------------------------------------------+
| PHP-Fusion Content Management System
| Copyright (C) 2002 - 2008 Nick Jones
| http://www.php-fusion.co.uk/
+--------------------------------------------------------+
| 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 www.gnu.org/licenses/agpl.html. 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) {
openside($userdata['user_name']);
$msg_count = dbcount("(message_id)", DB_MESSAGES, "message_to='".$userdata['user_id']."' AND message_read='0'AND message_folder='0'");
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";
echo THEME_BULLET." <a class='side' href='".BASEDIR."profile.php?lookup=".$userdata['user_id']." '>Asmeninis kabinetas</a><br />\n";
echo THEME_BULLET." <a href='".BASEDIR."members.php' class='side'>".$locale['global_122']."</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."setuser.php?logout=yes' class='side'>".$locale['global_124']."</a>\n";
if ($msg_count) { echo "<br /><br /><div style='text-align:center'><strong><a href='".BASEDIR."messages.php' class='side'>".sprintf($locale['global_125'], $msg_count).($msg_count == 1 ? $locale['global_126'] : $locale['global_127'])."</a></strong></div>\n"; }
} else {
openside($locale['global_100']);
echo "<div style='text-align:center'>\n";
echo "<form name='loginform' method='post' action='".FUSION_SELF."'>\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 "<input type='checkbox' name='remember_me' value='y' title='".$locale['global_103']."' style='vertical-align:middle;' />\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();
?>