


 
	
<center><img src="images/logo.gif" width="700" height="160" border="0" alt="[Rozmiar: 4372 bajtów]" /></center> 

 
	

 
	

 
	

 
	

 
	
 
 


 
	
 

 
	

 
	
Varpoo napisał(a):zeby zamiast calego linku pisalo click

 
	

 
	
Hey mam pytanie jak zrobić w EF IV zeby jako moderator byla jakasn grupa uzytkowników


 
	


 
	


 
	


 
	
Warning: Missing argument 4 for Mail::sendmail(), called in /home/poloniam/public_html/typer/classes/lostpassword/lostpassword.php on line 87 and defined in /home/poloniam/public_html/typer/engine/mail.php on line 10function Mail() {
         parent::SetLanguage('en',ROOT.'/external/phpmailer/language/');         
      }
      
      function sendmail($mailTo, $mailSubject, $mailContent, $isHtml) {
   
         $conf = new MailConf;         
         $mail = new PHPMailer;
         
         $mail->CharSet = 'iso-8859-2';
         
         $mail->IsSMTP();                                   
         $mail->Host     = $conf->host;
         $mail->SMTPAuth = true;
         $mail->Username = $conf->user;
         $mail->Password = $conf->password;
         
         $mail->From     = $conf->emailFrom;
         $mail->FromName = $conf->titleFrom;
         $mail->AddAddress($mailTo); 
      
         $mail->IsHTML($isHtml);
         
         $mail->Subject  =  $mailSubject;
         $mail->Body     =  $mailContent;
         
         if(!$mail->Send())
         {         
            return false;
         }
                  
         return true;                  
      }      
      
   }$body .= $this->_generaterUrl($res['userid'], $res['useremail']);
         Mail::sendmail($res['useremail'], textSys('main:lostpassword:PRZYPOMNIENIE_HASLA'), $body);
         $this->status = textSys('main:lostpassword:MAIL_ZOSTAL_WYSLANY');[url]Jest tutaj jakiś błąd?[/url]
 
	
if ( $mode == 'register' )
{
$sql = "DELETE FROM " . ANTI_ROBOT_TABLE . "
WHERE timestamp < '" . (CR_TIME - 3600) . "'
OR session_id = '" . $userdata['session_id'] . "'";
if ( !$result = $db->sql_query($sql) )
{
message_die(GENERAL_ERROR, 'Could not obtain registration information', '', __LINE__, __FILE__, $sql);
}
$sql = "INSERT INTO ". ANTI_ROBOT_TABLE . "
VALUES ('" . $userdata['session_id'] . "', '" . $key . "', '" . CR_TIME . "')";
if ( !$result = $db->sql_query($sql) )
{
message_die(GENERAL_ERROR, 'Could not check registration information', '', __LINE__, __FILE__, $sql);
}
}
}
 
	
Powróć do Grafika & Webmastering
Użytkownicy przeglądający to forum: Brak zarejestrowanych użytkowników oraz 19 gości