-
Notifications
You must be signed in to change notification settings - Fork 6
/
Copy pathemail_user_needapproval.php
38 lines (35 loc) · 1.93 KB
/
email_user_needapproval.php
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
<?php
/***************************************************************************
* copyright : (C) 2008 - 2013 WeBid
* site : http://www.webidsupport.com/
***************************************************************************/
/***************************************************************************
* This program is free software; you can redistribute it and/or modify
* it under the terms of the GNU General Public License as published by
* the Free Software Foundation; either version 2 of the License, or
* (at your option) any later version. Although none of the code may be
* sold. If you have been sold this script, get a refund.
***************************************************************************/
if (!defined('InWeBid')) exit();
$emailer = new email_handler();
$emailer->assign_vars(array(
'C_ID' => addslashes($TPL_id_hidden),
'C_NAME' => addslashes($TPL_name_hidden),
'C_NICK' => addslashes($TPL_nick_hidden),
'C_ADDRESS' => addslashes($_POST['TPL_address']),
'C_CITY' => addslashes($_POST['TPL_city']),
'C_PROV' => addslashes($_POST['TPL_prov']),
'C_ZIP' => addslashes($_POST['TPL_zip']),
'C_COUNTRY' => addslashes($_POST['TPL_country']),
'C_PHONE' => addslashes($_POST['TPL_phone']),
'C_EMAIL' => addslashes($_POST['TPL_email']),
'C_PASSWORD' => addslashes($TPL_password_hidden),
'SITENAME' => $system->SETTINGS['sitename'],
'SITEURL' => $system->SETTINGS['siteurl'],
'ADMINEMAIL' => $system->SETTINGS['adminmail'],
'CONFIRMATION_PAGE' => $system->SETTINGS['siteurl'] . 'confirm.php?id=' . $TPL_id_hidden . '&hash=' . md5($MD5_PREFIX . $TPL_nick_hidden),
'LOGO' => $system->SETTINGS['siteurl'] . 'themes/' . $system->SETTINGS['theme'] . '/' . $system->SETTINGS['logo']
));
$emailer->email_uid = $TPL_id_hidden;
$emailer->email_sender(array($TPL_email_hidden, $system->SETTINGS['adminmail']), 'user_needapproval.inc.php', $system->SETTINGS['sitename']. ' '.$MSG['098']);
?>