email count

This commit is contained in:
CHIEFSOFT\ameye
2024-09-19 06:05:42 -04:00
parent 3da7a7ba75
commit 745d320990
2 changed files with 7 additions and 6 deletions
@@ -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.
&nbsp;&nbsp; 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
&nbsp;&nbsp; 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">
+2 -1
View File
@@ -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;