This commit is contained in:
CHIEFSOFT\ameye
2023-12-06 20:04:40 -05:00
parent a32a24369c
commit beeb15135c
2 changed files with 7 additions and 6 deletions
@@ -22,6 +22,7 @@ img {height: auto;}
.footer {padding: 20px 30px 15px 30px; bgcolor:#007bff; background-color:#007bff;}
.footercopy {font-family: sans-serif; font-size: 14px; color: #ffffff;}
.footercopy a {color: #ffffff; text-decoration: underline;}
.expire{ color: red;}
</style>
</head>
<body bgcolor="#f6f8f1">
@@ -71,10 +72,10 @@ img {height: auto;}
<table width="100%" border="0" cellspacing="0" cellpadding="0">
<tr>
<td class="bodycopy">
There is task sent to you waiting for your acceptance at <a href="{{server_name}}">{{site_name}}</a>.
<br>Title : {{title}} <br>
Ther will expire after {{expire}}.
<br>
An offer was sent to you and waiting for your acceptance at <a href="{{server_name}}">{{site_name}}</a>.
<br>Title : {{title}} <br>
<span class="expire">This will expire after {{expire}}.</span>
<br>
</td>
</tr>
+2 -2
View File
@@ -134,7 +134,7 @@ long limit = in["one_limit"].Long();
long mode = REQ_LONG(in, "mode", 0, -1);
char extraQ[600];
char extraQ[1600];
if ( mode == 100 ){
snprintf(extraQ, sizeof (extraQ), " WHERE now() > jo.added +'6 hrs' AND jo.expire > now() AND jo.status = 1 AND jo.public_view =0 AND jo.reminder_count =0 AND jo.reminder_date IS NULL");
@@ -144,7 +144,7 @@ if ( mode == 200 ){
snprintf(extraQ, sizeof (extraQ), " WHERE jo.expire < now() +'12 hrs' AND jo.expire > now() AND jo.status = 1 AND jo.public_view =0 AND jo.reminder_count = 1 AND jo.reminder_date IS NOT NULL");
}
if ( mode == 100 ){
if ( mode == 300 ){
snprintf(extraQ, sizeof (extraQ), " WHERE jo.expire < now() +'6 hrs' AND jo.expire > now() AND jo.status = 1 AND jo.public_view =0 AND jo.reminder_count > 0 AND jo.reminder_date IS NOT NULL");
}