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

Parašė Deiviux.eu· 2009 Rugs. 10 17:09:01
#1

Sveiki, susidūriau su tokia problema, man puslapyje meta tokią klaidą:

Notice: Undefined variable: userdata in /home/wsxcfthn/onbe.xz.lt/infusions/user_info_panel/panele.php on line 22

Notice: Undefined variable: userdata in /home/wsxcfthn/onbe.xz.lt/infusions/user_info_panel/panele.php on line 27





Bet keisčiausia tai kad per vieną PC rodo o per kitą ne (Abudu Win XP, Mozilla)

Kame replės??


<?php


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'");



      echo "<div style='text-align:top'>\n";
      echo "<img border='0' src='".BASEDIR."images/avatars/".$userdata['user_avatar']."' align='left'>\n";
      echo "".$locale['global_105']."<class='avataras'>\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 {

   echo "<div style='text-align:center'>\n";
   echo "<form name='loginform' method='post' action='".FUSION_SELF."'>\n";
   echo $locale['global_101']."\n<input type='text' name='user_name' class='textbox' style='width:90px' />\n";
   echo $locale['global_102']."\n<input type='password' name='user_pass' class='textbox' style='width:90px' />\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' />\n";
   
   if ($settings['enable_registration']) {
      echo "".$locale['global_106']."\n";
   }

      echo "</form>\n\n";
}

?>



Redagavo Deiviux.eu· 2009 Rugs. 10 18:09:37