fix
This commit is contained in:
@@ -110,13 +110,6 @@ You have received a job offer from a <a href="https://{{server_name}}/eoffer?off
|
||||
</tr>
|
||||
<tr>
|
||||
<td class="innerpadding borderbottom">
|
||||
<table width="115" align="left" border="0" cellpadding="0" cellspacing="0">
|
||||
<tr>
|
||||
<td height="115" style="padding: 0 20px 20px 0;">
|
||||
<img class="fix" src="https://{{server_name}}/assets/images/article1.png" width="115" height="115" border="0" alt="" />
|
||||
</td>
|
||||
</tr>
|
||||
</table>
|
||||
<!--[if (gte mso 9)|(IE)]>
|
||||
<table width="100%" align="left" cellpadding="0" cellspacing="0" border="0">
|
||||
<tr>
|
||||
@@ -206,11 +199,7 @@ You have received a job offer from a <a href="https://{{server_name}}/eoffer?off
|
||||
<![endif]-->
|
||||
</td>
|
||||
</tr>
|
||||
<tr>
|
||||
<td class="innerpadding borderbottom">
|
||||
<img class="fix" src="https://{{server_name}}/assets/images/wrenchboard_email_banner.jpg" width="100%" border="0" alt="" />
|
||||
</td>
|
||||
</tr>
|
||||
|
||||
<tr>
|
||||
<td class="innerpadding bodycopy">
|
||||
Please contact us at https://www.wrenchboard.com/contact if you have any question about this email.
|
||||
|
||||
@@ -40,8 +40,18 @@ long BkoResendOffer(CVars in, CVars &out)
|
||||
{
|
||||
logfmt( logINFO, "BkoResendOffer()" );
|
||||
REQ_STRING (in, "offer_code", 5, 49, "(.*)");
|
||||
CVars x;
|
||||
|
||||
if ( load_db_record( x, "SELECT id AS offer_id FROM members_jobs_offer WHERE offer_code='%s'", in["offer_code"].c_str() )){
|
||||
//ret = PHP_CREATED_OK;
|
||||
//x["offer_id"] = offer_id;
|
||||
//x["offer_id"].set_valid(true);
|
||||
job_email(JOBS_INDIVIDUAL_OFFER_MAIL, x, out);
|
||||
}
|
||||
|
||||
|
||||
logfmt( logINFO, "/BkoResendOffer()" );
|
||||
return 0;
|
||||
}
|
||||
|
||||
|
||||
|
||||
Reference in New Issue
Block a user