This commit is contained in:
CHIEFSOFT\ameye
2024-09-18 15:31:22 -04:00
parent 939b0fab39
commit 8df406a9d2
+16 -11
View File
@@ -1,5 +1,5 @@
<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Transitional//EN" "http://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd">
<html xmlns="http://www.w3.org/1999/xhtml">
<!DOCTYPE html>
<html>
<head>
<meta charset="utf-8">
<title>View opportunities at <?=$site_name?></title>
@@ -27,8 +27,8 @@
<meta name="viewport" content="width=device-width, initial-scale=1.0">
</head>
<body style="margin: 0; padding: 10px; min-width: 100%!important; font-size: 16px; line-height: 20px; font-family: sans-serif; background-color:#f6f8f1;" bgcolor="#f6f8f1; padding: 10px;">
<table style="max-width:640px; margin:0px auto auto auto" bgcolor="#f6f8f1" border="0" cellpadding="0" cellspacing="0">
<body style="margin: 0; padding: 10px; min-width: 100%!important; font-size: 16px; line-height: 20px; font-family: sans-serif; background-color:#f6f8f1;" >
<table style="max-width:640px; margin:0 auto auto auto" bgcolor="#f6f8f1" border="0" cellpadding="0" cellspacing="0">
<tr>
<td>
<table bgcolor="#ffffff" class="content" align="center" cellpadding="0" cellspacing="0" border="0">
@@ -82,14 +82,16 @@
</td>
</tr>
<?php
$total_price = 0;
foreach ($task as $item){
$total_price =$total_price + $item["price"];
?>
<tr>
<td class="bodycopy" style="padding:5px; font-weight:bold; font-size 20px; color:black;">
<div style="background-color:#ebebec; margin-top: 10px; padding: 5px; border-radius: 10px; text-align: left;">
<div style="background-color:#f7f7f8; margin-top: 10px; padding: 5px; border-radius: 10px; text-align: left;">
<div><?=$item["title"]?></div>
<div style="display: flex; width: 100%;">
<div style="color: #8de15c; font-size: 12px;"><?=$item["description"]?></div>
<div style="color: #e464e7; font-size: 12px;">&nbsp;&nbsp;<?=$item["description"]?></div>
<div style="width: 150px; padding-left: 25px; color: darkgreen;"><?=$item["price"]*0.01?> Naira</div>
</div>
@@ -103,15 +105,18 @@
<tr>
<td class="bodycopy" style="padding:20px; font-weight:bold; text-align:center; font-size 20px; color:darkgreen;">
<div style="background-color:white; margin-top: 10px; padding: 5px; border-radius: 10px;">
<div style="text-align: right; width: 100%;">
<div style="text-align: left">
</div>
<div style="text-align: right; width: 100%;">
<a
href="<?=$user_server_name?>/PROMO/<?=$promo?>/<?=$promo_owner?>"
style="background-color: #007bff;
font-size: 12px;
color: white; font-weight: bolder;
padding: 10px;
border-radius: 10px;" type="submit" >Get started on this task</a>
font-size: 14px;
color: white; font-weight: normal;
padding: 10px; left:
font-family: Helvetica, Sans-Serif;
border-radius: 10px;" type="submit" >Get started on <?=$total_price*0.01 ?> Naira tasks</a>
</div>
</div>
</td>