email count
This commit is contained in:
@@ -68,20 +68,20 @@ Dear <b>{{firstname}}</b>,
|
||||
</tr>
|
||||
<tr>
|
||||
<td class="bodycopy" style="padding-bottom:10px;">
|
||||
Welcome to <a href="{{server_name}}">{{site_name}}</a>, your account is now verified and ready to go.
|
||||
Welcome to <a href="{{server_name}}">{{site_name}}</a>, your account is now verified and ready to go.
|
||||
</td>
|
||||
</tr>
|
||||
<tr>
|
||||
<td class="bodycopy" style="padding-bottom:10px;">
|
||||
<td class="bodycopy" style="padding:0px 30px 10px 30px;">
|
||||
<hr />
|
||||
</td>
|
||||
</tr>
|
||||
<tr>
|
||||
<td class="bodycopy" style="padding-bottom:10px;">
|
||||
|
||||
With <a href="{{server_name}}">{{site_name}}</a>, you can set up a family accounts and reward achievements or set up tasks for others to perform or simply find tasks that rewards you
|
||||
With <a href="{{server_name}}">{{site_name}}</a>, you can set up a family accounts and reward achievements or set up tasks for others to perform or simply find tasks that rewards you.
|
||||
<hr size="1">
|
||||
<div style="background-color:#fce6f2; margin-top: 10px; padding: 5px;">
|
||||
<div style="background-color:#fce6f2; margin-top: 10px; padding: 5px; border-radius:10px;">
|
||||
If you did not initiate this account creation or have any further support question, Please contact us at {{server_name}}/contact<br>
|
||||
</div>
|
||||
|
||||
@@ -102,7 +102,7 @@ If you did not initiate this account creation or have any further support questi
|
||||
</td>
|
||||
</tr>
|
||||
<tr>
|
||||
<td class="footer" style="color:#ffffff; padding: 20px 30px 15px 30px; bgcolor:#007bff; background-color:#007bff;">
|
||||
<td class="footer" style="color:#ffffff; padding: 20px 30px 15px 30px; bgcolor:#007bff; background-color:#007bff; border-radius: 10px 10px 10px 10px;">
|
||||
<table width="100%" border="0" cellspacing="0" cellpadding="0">
|
||||
<tr>
|
||||
<td align="center" class="footercopy">
|
||||
|
||||
@@ -51,7 +51,7 @@ logfmt(logINFO, "WrenchMarketImport()");
|
||||
try {
|
||||
out["total_record"] = "0";
|
||||
const PGresult *res;
|
||||
res = pgsql_query("SELECT id AS import_id,* FROM market_import WHERE status =1 LIMIT 4");
|
||||
res = pgsql_query("SELECT id AS import_id,* FROM market_import WHERE status =1 LIMIT 10");
|
||||
|
||||
if (res != NULL && pgsql_num_rows(res) > 0) {
|
||||
out["total_record"] = pgsql_num_rows(res);
|
||||
@@ -62,6 +62,7 @@ logfmt(logINFO, "WrenchMarketImport()");
|
||||
CVars rec;
|
||||
map_to_cvars(f, rec);
|
||||
market_email(WRENCHBOARD_MARKET_PLAN01_START, rec, rec);
|
||||
pgsql_query("UPDATE market_import SET ecount=ecount+1 WHERE uid::text='%s'", rec["uid"].c_str());
|
||||
}
|
||||
}
|
||||
ret = PHP_API_OK;
|
||||
|
||||
Reference in New Issue
Block a user