|
|
@@ -269,39 +269,42 @@ class FirmaController extends CI_Controller {
|
|
|
if($persona['Plantilla']=='MER'){
|
|
|
$style ="
|
|
|
@font-face{
|
|
|
- font-family:GOTHICBI;
|
|
|
- src:url(../Tipografias/GOTHICB.ttf);
|
|
|
+ font-family:HelveticaNeueLTStd-Lt;
|
|
|
+ src:url(../Tipografias/HelveticaNeueLTStd-Lt.otf);
|
|
|
}
|
|
|
|
|
|
font{
|
|
|
- font-family: GOTHICBI;
|
|
|
+ font-family: Helvetica, sans-serif;
|
|
|
}
|
|
|
|
|
|
td{
|
|
|
- font-family: GOTHICBI;
|
|
|
+ font-family: Helvetica, sans-serif;
|
|
|
}
|
|
|
|
|
|
.merelec_name_yellow{
|
|
|
- font-family: GOTHICBI;
|
|
|
+ font-family: Helvetica, sans-serif;
|
|
|
color: #FCB122;
|
|
|
- font-size: 15pt;
|
|
|
+ font-size: 14pt;
|
|
|
+ font-weight: bold;
|
|
|
}
|
|
|
|
|
|
.merelec_name_gray{
|
|
|
- font-family: GOTHICBI;
|
|
|
+ font-family: Helvetica, sans-serif;
|
|
|
color: #80888F;
|
|
|
- font-size: 15pt;
|
|
|
+ font-size: 14pt;
|
|
|
+ font-weight: bold;
|
|
|
}
|
|
|
|
|
|
.merelec_puesto{
|
|
|
- font-family: GOTHICBI;
|
|
|
+ font-family: Helvetica, sans-serif;
|
|
|
color: #80888F;
|
|
|
- font-size: 15pt;
|
|
|
+ font-size: 14pt;
|
|
|
}
|
|
|
|
|
|
.merelec_yellow_text{
|
|
|
color: #FCB122;
|
|
|
font-size: 12pt;
|
|
|
+ font-weight: bold;
|
|
|
}
|
|
|
|
|
|
.merelec_gray_text{
|
|
|
@@ -310,71 +313,70 @@ class FirmaController extends CI_Controller {
|
|
|
}
|
|
|
";
|
|
|
|
|
|
- $body = "
|
|
|
- <table>
|
|
|
- <tbody>
|
|
|
- <tr>
|
|
|
- <td colspan=\"2\">
|
|
|
- <span class=\"merelec_name_yellow\">".$persona['Primer Nombre']."</span> <span class=\"merelec_name_gray\">".$persona['Primer Apellido']."</span>
|
|
|
- <p style=\"margin-top:1%\"><span class=\"merelec_puesto\">".$persona['Puesto']."</span></p>
|
|
|
- </td>
|
|
|
- </tr>
|
|
|
-
|
|
|
- <tr>
|
|
|
- <td width=\"200\" style=\"border-right:2px solid #80888F;\">
|
|
|
- <img src=\"https://www.mercadoselectricos.com.sv/wp-content/uploads/2019/12/IMG_MER_Logo.png\" width=\"200\" height=\"83\">
|
|
|
- </td>
|
|
|
- <td width=\"900\" style=\"margin-left:2px;\">
|
|
|
- <table>
|
|
|
- <tbody>
|
|
|
- <tr align=\"left\">
|
|
|
- <td>
|
|
|
- <span style=\"color: #80888F\"><span class=\"merelec_yellow_text\">T.</span><span class=\"merelec_gray_text\">".$persona['Telefono']."</span>
|
|
|
- <span class=\"merelec_yellow_text\">C.</span><span class=\"merelec_gray_text\">".$persona['Celular']."</span></span>
|
|
|
- </td>
|
|
|
- </tr>
|
|
|
- <tr>
|
|
|
- <td>
|
|
|
- <a href=\"mailto:".$persona['Correo']."\"><span class=\"merelec_yellow_text\">".$email_id."</span><span class=\"merelec_gray_text\">@".$email_domain."</span></a>
|
|
|
- </td>
|
|
|
- </tr>
|
|
|
- <tr>
|
|
|
- <td>
|
|
|
- <a href=\"https://www.".$persona['LinkedIn']."\"> <span class=\"merelec_gray_text\">".$site."/".$type."/"."</span><span class=\"merelec_yellow_text\">".$identifier."</span></a>
|
|
|
- </td>
|
|
|
- </tr>
|
|
|
- <tr>
|
|
|
- <td>
|
|
|
- <table>
|
|
|
- <tr>
|
|
|
- <td>
|
|
|
- <a class=\"social_media\" href=\"https://www.linkedin.com/company/mercados-electricos-centroamerica/\">
|
|
|
- <img width=\"20\" height=\"20\" src=\"https://www.mercadoselectricos.com.sv/wp-content/uploads/2019/12/IMG_MER_Linkedin.png\">
|
|
|
- </a>
|
|
|
- </td>
|
|
|
- <td>
|
|
|
- <a class=\"social_media\" href=\"https://www.facebook.com/MercadosElectricosCentroamerica/\">
|
|
|
- <img width=\"20\" height=\"20\" src=\"https://www.mercadoselectricos.com.sv/wp-content/uploads/2019/12/IMG_MER_Facebook.png\">
|
|
|
- </a>
|
|
|
- </td>
|
|
|
- <td>
|
|
|
- <a class=\"social_media\" href=\"https://www.mercadoselectricos.com.sv\">
|
|
|
- <span class=\"merelec_gray_text\">www.</span><span class=\"merelec_yellow_text\">mercadoselectricos</span><span class=\"merelec_gray_text\">.com.sv</span>
|
|
|
- </a>
|
|
|
- </td>
|
|
|
- </tr>
|
|
|
- </table>
|
|
|
- </td>
|
|
|
- </tr>
|
|
|
- </tbody>
|
|
|
- </table>
|
|
|
- </div>
|
|
|
- </td>
|
|
|
- </tr>
|
|
|
- </tbody>
|
|
|
- </table>
|
|
|
- </body>
|
|
|
- </html>";
|
|
|
+$body = " <table>
|
|
|
+<tbody>
|
|
|
+ <tr>
|
|
|
+ <td colspan=\"2\">
|
|
|
+ <span class=\"merelec_name_yellow\">".$persona['Primer Nombre']."</span> <span class=\"merelec_name_gray\">".$persona['Primer Apellido']."</span>
|
|
|
+ <p style=\"margin-top:1%\"><span class=\"merelec_puesto\">".$persona['Puesto']."</span></p>
|
|
|
+ </td>
|
|
|
+ </tr>
|
|
|
+ <tr height=\"10\"></tr>
|
|
|
+ <tr>
|
|
|
+ <td width=\"200\" style=\"border-right:2px solid #80888F;\">
|
|
|
+ <img src=\"https://www.mercadoselectricos.com.sv/wp-content/uploads/2019/12/IMG_MER_Logo.png\" width=\"200\" height=\"83\">
|
|
|
+ </td>
|
|
|
+ <td width=\"900\" style=\"margin-left:2px;\">
|
|
|
+ <table>
|
|
|
+ <tbody>
|
|
|
+ <tr align=\"left\">
|
|
|
+ <td>
|
|
|
+ <span style=\"color: #80888F\"><span class=\"merelec_yellow_text\">T.</span><span class=\"merelec_gray_text\">".$persona['Telefono']."</span>
|
|
|
+ <span class=\"merelec_yellow_text\">C.</span><span class=\"merelec_gray_text\">".$persona['Celular']."</span></span>
|
|
|
+ </td>
|
|
|
+ </tr>
|
|
|
+ <tr>
|
|
|
+ <td>
|
|
|
+ <a href=\"mailto:".$persona['Correo']."\"><span class=\"merelec_yellow_text\">".$email_id."</span><span class=\"merelec_gray_text\">@".$email_domain."</span></a>
|
|
|
+ </td>
|
|
|
+ </tr>
|
|
|
+ <tr>
|
|
|
+ <td>
|
|
|
+ <a href=\"https://www.".$persona['LinkedIn']."\"> <span class=\"merelec_gray_text\">".$site."/".$type."/"."</span><span class=\"merelec_yellow_text\">".$identifier."</span></a>
|
|
|
+ </td>
|
|
|
+ </tr>
|
|
|
+ <tr>
|
|
|
+ <td>
|
|
|
+ <table>
|
|
|
+ <tr>
|
|
|
+ <td>
|
|
|
+ <a class=\"social_media\" href=\"https://www.linkedin.com/company/mercados-electricos-centroamerica/\">
|
|
|
+ <img width=\"20\" height=\"20\" src=\"https://www.mercadoselectricos.com.sv/wp-content/uploads/2019/12/IMG_MER_Linkedin.png\">
|
|
|
+ </a>
|
|
|
+ </td>
|
|
|
+ <td>
|
|
|
+ <a class=\"social_media\" href=\"https://www.facebook.com/MercadosElectricosCentroamerica/\">
|
|
|
+ <img width=\"20\" height=\"20\" src=\"https://www.mercadoselectricos.com.sv/wp-content/uploads/2019/12/IMG_MER_Facebook.png\">
|
|
|
+ </a>
|
|
|
+ </td>
|
|
|
+ <td>
|
|
|
+ <a class=\"social_media\" href=\"https://www.mercadoselectricos.com.sv\">
|
|
|
+ <span class=\"merelec_gray_text\">www.</span><span class=\"merelec_yellow_text\">mercadoselectricos</span><span class=\"merelec_gray_text\">.com.sv</span>
|
|
|
+ </a>
|
|
|
+ </td>
|
|
|
+ </tr>
|
|
|
+ </table>
|
|
|
+ </td>
|
|
|
+ </tr>
|
|
|
+ </tbody>
|
|
|
+ </table>
|
|
|
+
|
|
|
+ </td>
|
|
|
+ </tr>
|
|
|
+</tbody>
|
|
|
+</table>
|
|
|
+</body>
|
|
|
+</html>";
|
|
|
|
|
|
}elseif($persona['Plantilla']=='INVER'){
|
|
|
$style = "@font-face{
|
|
|
@@ -383,98 +385,108 @@ class FirmaController extends CI_Controller {
|
|
|
}
|
|
|
|
|
|
.inverlec_name_blue{
|
|
|
- font-family: HelveticaNeueLTStd-Lt;
|
|
|
- color: #436DAA;
|
|
|
+ font-family: Helvetica, sans-serif;
|
|
|
+ color: #00ABE7;
|
|
|
font-size: 16px;
|
|
|
+ font-weight:bold;
|
|
|
}
|
|
|
.inverlec_name_black{
|
|
|
- font-family: HelveticaNeueLTStd-Lt;
|
|
|
+ font-family: Helvetica, sans-serif;
|
|
|
color: black;
|
|
|
font-size: 16px;
|
|
|
+ font-weight:bold;
|
|
|
}
|
|
|
+
|
|
|
+ .inverlec_puesto{
|
|
|
+ font-family: Helvetica, sans-serif;
|
|
|
+ color: black;
|
|
|
+ font-size: 16px;
|
|
|
+ }
|
|
|
+
|
|
|
td{
|
|
|
- font-family: HelveticaNeueLTStd-Lt;
|
|
|
+ font-family: Helvetica, sans-serif;
|
|
|
}
|
|
|
|
|
|
.inverlec_blue_text{
|
|
|
- color: #436DAA;
|
|
|
- font-family: HelveticaNeueLTStd-Lt;
|
|
|
- font-size: 14px;
|
|
|
+ color: #00ABE7;
|
|
|
+ font-family: Helvetica, sans-serif;
|
|
|
+ font-size: 15px;
|
|
|
+ font-weight:bold;
|
|
|
}
|
|
|
|
|
|
.inverlec_black_text{
|
|
|
color: black;
|
|
|
- font-family: HelveticaNeueLTStd-Lt;
|
|
|
- font-size: 14px;
|
|
|
+ font-family: Helvetica, sans-serif;
|
|
|
+ font-size: 15px;
|
|
|
}
|
|
|
";
|
|
|
|
|
|
- $body=" <table>
|
|
|
- <tbody>
|
|
|
- <tr>
|
|
|
- <td colspan=\"2\">
|
|
|
- <span class=\"inverlec_name_blue\">".$persona['Primer Nombre']."</span> <span class=\"inverlec_name_black\">".$persona['Primer Apellido']."</span>
|
|
|
- <p style=\"margin-top:1%\"><span class=\"inverlec_name_black\">".$persona['Puesto']."</span></p>
|
|
|
- </td>
|
|
|
- </tr>
|
|
|
-
|
|
|
- <tr>
|
|
|
- <td width=\"160\" style=\"border-right:2px solid #436DAA;\">
|
|
|
- <img src=\"https://www.mercadoselectricos.com.sv/wp-content/uploads/2019/12/IMG_INVER_Logo.png\" width=\"160\" height=\"90\">
|
|
|
- </td>
|
|
|
- <td width=\"900\" style=\"margin-left:2px;\" >
|
|
|
- <table>
|
|
|
- <tbody>
|
|
|
- <tr align=\"left\">
|
|
|
- <td>
|
|
|
- <span style=\"color: #80888F\"><span class=\"inverlec_blue_text\">T.</span><span class=\"inverlec_black_text\">".$persona['Telefono']."</span>
|
|
|
- <span class=\"inverlec_blue_text\">C.</span><span class=\"inverlec_black_text\">".$persona['Celular']."</span></span>
|
|
|
- </td>
|
|
|
-
|
|
|
- </tr>
|
|
|
- <tr>
|
|
|
- <td>
|
|
|
- <a href=\"mailto:".$persona['Correo']."\"><span class=\"inverlec_blue_text\">".$email_id."</span><span class=\"inverlec_black_text\">@".$email_domain."</span></a>
|
|
|
- </td>
|
|
|
- </tr>
|
|
|
- <tr>
|
|
|
- <td>
|
|
|
- <a href=\"https://www.".$persona['LinkedIn']."\"> <span class=\"inverlec_black_text\">".$site."/".$type."/"."</span><span class=\"inverlec_blue_text\">".$identifier."</span></a>
|
|
|
- </td>
|
|
|
- </tr>
|
|
|
- <tr>
|
|
|
- <td>
|
|
|
- <table>
|
|
|
- <tr>
|
|
|
- <td>
|
|
|
- <a class=\"social_media\" href=\"https://www.linkedin.com/company/inverlecsv/\">
|
|
|
- <img width=\"20\" height=\"20\" src=\"https://www.mercadoselectricos.com.sv/wp-content/uploads/2019/12/IMG_INVER_Linkedin.png\">
|
|
|
- </a>
|
|
|
- </td>
|
|
|
- <td>
|
|
|
- <a class=\"social_media\" href=\"https://www.facebook.com/Inverlecsv/\">
|
|
|
- <img width=\"20\" height=\"20\" src=\"https://www.mercadoselectricos.com.sv/wp-content/uploads/2019/12/IMG_INVER_Facebook.png\">
|
|
|
- </a>
|
|
|
- </td>
|
|
|
- <td>
|
|
|
- <a class=\"social_media\" href=\"https://www.inverlec.com.sv\">
|
|
|
- <span class=\"inverlec_black_text\">www.</span><span class=\"inverlec_blue_text\">inverlec</span><span class=\"inverlec_black_text\">.com.sv</span>
|
|
|
- </a>
|
|
|
- </td>
|
|
|
- </tr>
|
|
|
- </table>
|
|
|
- </td>
|
|
|
- </tr>
|
|
|
- </tbody>
|
|
|
- </table>
|
|
|
-
|
|
|
- </td>
|
|
|
- </tr>
|
|
|
- </tbody>
|
|
|
- </table>
|
|
|
- </body>
|
|
|
- </html>
|
|
|
- ";
|
|
|
+ $body="<table>
|
|
|
+ <tbody>
|
|
|
+ <tr>
|
|
|
+ <td colspan=\"2\">
|
|
|
+ <span class=\"inverlec_name_blue\">".$persona['Primer Nombre']."</span> <span class=\"inverlec_name_black\">".$persona['Primer Apellido']."</span>
|
|
|
+ <p style=\"margin-top:1%\"><span class=\"inverlec_puesto\">".$persona['Puesto']."</span></p>
|
|
|
+ </td>
|
|
|
+ </tr>
|
|
|
+ <tr height=\"10\"></tr>
|
|
|
+ <tr>
|
|
|
+ <td width=\"160\" style=\"border-right:2px solid #00ABE7;\">
|
|
|
+ <img src=\"https://www.mercadoselectricos.com.sv/wp-content/uploads/2019/12/IMG_INVER_Logo.png\" width=\"160\" height=\"90\">
|
|
|
+ </td>
|
|
|
+ <td width=\"900\" style=\"margin-left:2px;\" >
|
|
|
+ <table>
|
|
|
+ <tbody>
|
|
|
+ <tr align=\"left\">
|
|
|
+ <td>
|
|
|
+ <span style=\"color: #80888F\"><span class=\"inverlec_blue_text\">T.</span><span class=\"inverlec_black_text\">".$persona['Telefono']."</span>
|
|
|
+ <span class=\"inverlec_blue_text\">C.</span><span class=\"inverlec_black_text\">".$persona['Celular']."</span></span>
|
|
|
+ </td>
|
|
|
+
|
|
|
+ </tr>
|
|
|
+ <tr>
|
|
|
+ <td>
|
|
|
+ <a href=\"mailto:".$persona['Correo']."\"><span class=\"inverlec_blue_text\">".$email_id."</span><span class=\"inverlec_black_text\">@".$email_domain."</span></a>
|
|
|
+ </td>
|
|
|
+ </tr>
|
|
|
+ <tr>
|
|
|
+ <td>
|
|
|
+ <a href=\"https://www.".$persona['LinkedIn']."\"> <span class=\"inverlec_black_text\">".$site."/".$type."/"."</span><span class=\"inverlec_blue_text\">".$identifier."</span></a>
|
|
|
+ </td>
|
|
|
+ </tr>
|
|
|
+ <tr>
|
|
|
+ <td>
|
|
|
+ <table>
|
|
|
+ <tr>
|
|
|
+ <td>
|
|
|
+ <a class=\"social_media\" href=\"https://www.linkedin.com/company/inverlecsv/\">
|
|
|
+ <img width=\"20\" height=\"20\" src=\"https://www.mercadoselectricos.com.sv/wp-content/uploads/2019/12/IMG_INVER_Linkedin.png\">
|
|
|
+ </a>
|
|
|
+ </td>
|
|
|
+ <td>
|
|
|
+ <a class=\"social_media\" href=\"https://www.facebook.com/Inverlecsv/\">
|
|
|
+ <img width=\"20\" height=\"20\" src=\"https://www.mercadoselectricos.com.sv/wp-content/uploads/2019/12/IMG_INVER_Facebook.png\">
|
|
|
+ </a>
|
|
|
+ </td>
|
|
|
+ <td>
|
|
|
+ <a class=\"social_media\" href=\"https://www.inverlec.com.sv\">
|
|
|
+ <span class=\"inverlec_black_text\">www.</span><span class=\"inverlec_blue_text\">inverlec</span><span class=\"inverlec_black_text\">.com.sv</span>
|
|
|
+ </a>
|
|
|
+ </td>
|
|
|
+ </tr>
|
|
|
+ </table>
|
|
|
+ </td>
|
|
|
+ </tr>
|
|
|
+ </tbody>
|
|
|
+ </table>
|
|
|
+
|
|
|
+ </td>
|
|
|
+ </tr>
|
|
|
+ </tbody>
|
|
|
+ </table>
|
|
|
+</body>
|
|
|
+</html>
|
|
|
+";
|
|
|
|
|
|
}elseif($persona['Plantilla']=='INVERSOL'){
|
|
|
$style = "
|
|
|
@@ -483,95 +495,104 @@ class FirmaController extends CI_Controller {
|
|
|
src:url(../Tipografias/HelveticaNeueLTStd-Lt.otf);
|
|
|
}
|
|
|
.inversol_name_yellow{
|
|
|
- font-family: HelveticaNeueLTStd-Lt;
|
|
|
+ font-family: Helvetica, sans-serif;
|
|
|
color: #F78D27;
|
|
|
font-size: 16px;
|
|
|
+ font-weight: bold;
|
|
|
}
|
|
|
.inversol_name_black{
|
|
|
- font-family: HelveticaNeueLTStd-Lt;
|
|
|
+ font-family: Helvetica, sans-serif;
|
|
|
color: black;
|
|
|
font-size: 16px;
|
|
|
+ font-weight: bold;
|
|
|
}
|
|
|
+ .inversol_puesto{
|
|
|
+ font-family: Helvetica, sans-serif;
|
|
|
+ color: black;
|
|
|
+ font-size: 16px;
|
|
|
+ }
|
|
|
td{
|
|
|
- font-family: HelveticaNeueLTStd-Lt;
|
|
|
+ font-family: Helvetica, sans-serif;
|
|
|
}
|
|
|
|
|
|
.inversol_yellow_text{
|
|
|
color: #F78D27;
|
|
|
- font-family: HelveticaNeueLTStd-Lt;
|
|
|
- font-size: 14px;
|
|
|
+ font-family: Helvetica, sans-serif;
|
|
|
+ font-size: 15px;
|
|
|
+ font-weight: bold;
|
|
|
}
|
|
|
|
|
|
.inversol_black_text{
|
|
|
color: black;
|
|
|
- font-family: HelveticaNeueLTStd-Lt;
|
|
|
- font-size: 14px;
|
|
|
+ font-family: Helvetica, sans-serif;
|
|
|
+ font-size: 15px;
|
|
|
}
|
|
|
";
|
|
|
|
|
|
- $body = " <table>
|
|
|
- <tbody>
|
|
|
- <tr>
|
|
|
- <td colspan=\"2\">
|
|
|
- <span class=\"inversol_name_yellow\">".$persona['Primer Nombre']."</span> <span class=\"inversol_name_black\">".$persona['Primer Apellido']."</span>
|
|
|
- <p style=\"margin-top:1%\"><span class=\"inversol_name_black\">".$persona['Puesto']."</span></p>
|
|
|
- </td>
|
|
|
- </tr>
|
|
|
-
|
|
|
- <tr>
|
|
|
- <td width=\"160\" style=\"border-right:2px solid #FBAB20;\">
|
|
|
- <img src=\"https://www.mercadoselectricos.com.sv/wp-content/uploads/2019/12/IMG_INVERSOL_Logo.png\" width=\"160\" height=\"100\">
|
|
|
- </td>
|
|
|
- <td width=\"900\" style=\"margin-left:2px;\">
|
|
|
- <table>
|
|
|
- <tbody>
|
|
|
- <tr align=\"left\">
|
|
|
- <td>
|
|
|
- <span style=\"color: #80888F\"><span class=\"inversol_yellow_text\">T.</span><span class=\"inversol_black_text\">".$persona['Telefono']."</span>
|
|
|
- <span class=\"inversol_yellow_text\">C.</span><span class=\"inversol_black_text\">".$persona['Celular']."</span></span>
|
|
|
- </td>
|
|
|
- </tr>
|
|
|
- <tr>
|
|
|
- <td>
|
|
|
- <a href=\"mailto:".$persona['Correo']."\"><span class=\"inversol_yellow_text\">".$email_id."</span><span class=\"inversol_black_text\">@".$email_domain."</span></a>
|
|
|
- </td>
|
|
|
- </tr>
|
|
|
- <tr>
|
|
|
- <td>
|
|
|
- <a href=\"https://www.".$persona['LinkedIn']."\"> <span class=\"inversol_black_text\">".$site."/".$type."/"."</span><span class=\"inversol_yellow_text\">".$identifier."</span></a>
|
|
|
- </td>
|
|
|
- </tr>
|
|
|
- <tr>
|
|
|
- <td>
|
|
|
- <table>
|
|
|
- <tr>
|
|
|
- <td>
|
|
|
- <a class=\"social_media\" href=\"https://www.linkedin.com/company/inverlecsolar/\">
|
|
|
- <img width=\"20\" height=\"20\" src=\"https://www.mercadoselectricos.com.sv/wp-content/uploads/2019/12/IMG_INVERSOL_Linkedin.png\">
|
|
|
- </a>
|
|
|
- </td>
|
|
|
- <td>
|
|
|
- <a class=\"social_media\" href=\"https://www.facebook.com/inverlec/\">
|
|
|
- <img width=\"20\" height=\"20\" src=\"https://www.mercadoselectricos.com.sv/wp-content/uploads/2019/12/IMG_INVERSOL_Facebook.png\">
|
|
|
- </a>
|
|
|
- </td>
|
|
|
- <td>
|
|
|
- <a class=\"social_media\" href=\"https://www.inverlec.solar\">
|
|
|
- <span class=\"inversol_black_text\">www.</span><span class=\"inversol_yellow_text\">inverlec</span><span class=\"inversol_black_text\">.solar</span>
|
|
|
- </a>
|
|
|
- </td>
|
|
|
- </tr>
|
|
|
- </table>
|
|
|
- </td>
|
|
|
- </tr>
|
|
|
- </tbody>
|
|
|
- </table>
|
|
|
- </td>
|
|
|
- </tr>
|
|
|
- </tbody>
|
|
|
+$body = "<table>
|
|
|
+<tbody>
|
|
|
+ <tr>
|
|
|
+ <td colspan=\"2\">
|
|
|
+ <span class=\"inversol_name_yellow\">".$persona['Primer Nombre']."</span> <span class=\"inversol_name_black\">".$persona['Primer Apellido']."</span>
|
|
|
+ <p style=\"margin-top:1%\"><span class=\"inversol_puesto\">".$persona['Puesto']."</span></p>
|
|
|
+ </td>
|
|
|
+ </tr>
|
|
|
+ <tr height=\"10\"></tr>
|
|
|
+ <tr>
|
|
|
+ <td width=\"160\" style=\"border-right:2px solid #FBAB20;\">
|
|
|
+ <img src=\"https://www.mercadoselectricos.com.sv/wp-content/uploads/2019/12/IMG_INVERSOL_Logo.png\" width=\"160\" height=\"100\">
|
|
|
+ </td>
|
|
|
+ <td width=\"900\" style=\"margin-left:2px;\">
|
|
|
+ <table>
|
|
|
+ <tbody>
|
|
|
+ <tr align=\"left\">
|
|
|
+ <td>
|
|
|
+ <span style=\"color: #80888F\"><span class=\"inversol_yellow_text\">T.</span><span class=\"inversol_black_text\">".$persona['Telefono']."</span>
|
|
|
+ <span class=\"inversol_yellow_text\">C.</span><span class=\"inversol_black_text\">".$persona['Celular']."</span></span>
|
|
|
+ </td>
|
|
|
+ </tr>
|
|
|
+ <tr>
|
|
|
+ <td>
|
|
|
+ <a href=\"mailto:".$persona['Correo']."\"><span class=\"inversol_yellow_text\">".$email_id."</span><span class=\"inversol_black_text\">@".$email_domain."</span></a>
|
|
|
+ </td>
|
|
|
+ </tr>
|
|
|
+ <tr>
|
|
|
+ <td>
|
|
|
+ <a href=\"https://www.".$persona['LinkedIn']."\"> <span class=\"inversol_black_text\">".$site."/".$type."/"."</span><span class=\"inversol_yellow_text\">".$identifier."</span></a>
|
|
|
+ </td>
|
|
|
+ </tr>
|
|
|
+ <tr>
|
|
|
+ <td>
|
|
|
+ <table>
|
|
|
+ <tr>
|
|
|
+ <td>
|
|
|
+ <a class=\"social_media\" href=\"https://www.linkedin.com/company/inverlecsolar/\">
|
|
|
+ <img width=\"20\" height=\"20\" src=\"https://www.mercadoselectricos.com.sv/wp-content/uploads/2019/12/IMG_INVERSOL_Linkedin.png\">
|
|
|
+ </a>
|
|
|
+ </td>
|
|
|
+ <td>
|
|
|
+ <a class=\"social_media\" href=\"https://www.facebook.com/inverlec/\">
|
|
|
+ <img width=\"20\" height=\"20\" src=\"https://www.mercadoselectricos.com.sv/wp-content/uploads/2019/12/IMG_INVERSOL_Facebook.png\">
|
|
|
+ </a>
|
|
|
+ </td>
|
|
|
+ <td>
|
|
|
+ <a class=\"social_media\" href=\"https://www.inverlec.solar\">
|
|
|
+ <span class=\"inversol_black_text\">www.</span><span class=\"inversol_yellow_text\">inverlec</span><span class=\"inversol_black_text\">.solar</span>
|
|
|
+ </a>
|
|
|
+ </td>
|
|
|
+ </tr>
|
|
|
</table>
|
|
|
- </body>
|
|
|
- </html>";
|
|
|
+ </td>
|
|
|
+ </tr>
|
|
|
+ </tbody>
|
|
|
+ </table>
|
|
|
+ </td>
|
|
|
+ </tr>
|
|
|
+</tbody>
|
|
|
+</table>
|
|
|
+</body>
|
|
|
+</html>
|
|
|
+";
|
|
|
|
|
|
}elseif($persona['Plantilla']=='METCO'){
|
|
|
$style = "@font-face{
|
|
|
@@ -584,21 +605,23 @@ class FirmaController extends CI_Controller {
|
|
|
src:url(../Tipografias/VAGRoundedStd-Light.otf);
|
|
|
}
|
|
|
.metco_name_yellow{
|
|
|
- font-family: VAGRoundedStd-Light;
|
|
|
+ font-family: Helvetica, sans-serif;
|
|
|
color: #DE8C33;
|
|
|
- font-size: 16pt;
|
|
|
+ font-size: 15pt;
|
|
|
+ font-weight: bold;
|
|
|
}
|
|
|
|
|
|
.metco_name_black{
|
|
|
- font-family: VAGRoundedStd-Light;
|
|
|
+ font-family: Helvetica, sans-serif;
|
|
|
color: black;
|
|
|
- font-size: 16pt;
|
|
|
+ font-size: 15pt;
|
|
|
+ font-weight: bold;
|
|
|
}
|
|
|
|
|
|
.metco_puesto{
|
|
|
- font-family: VAGRoundedStd-Light;
|
|
|
+ font-family: Helvetica, sans-serif;
|
|
|
color: black;
|
|
|
- font-size: 14pt;
|
|
|
+ font-size: 15pt;
|
|
|
}
|
|
|
|
|
|
td{
|
|
|
@@ -607,84 +630,85 @@ class FirmaController extends CI_Controller {
|
|
|
.metco_yellow_text{
|
|
|
color: #DE8C33;
|
|
|
font-size: 11pt;
|
|
|
- font-family: HelveticaNeueLTStd-Lt;
|
|
|
+ font-family: Helvetica, sans-serif;
|
|
|
+ font-weight: bold;
|
|
|
}
|
|
|
|
|
|
.metco_gray_text{
|
|
|
color: black;
|
|
|
font-size: 11pt;
|
|
|
- font-family: HelveticaNeueLTStd-Lt;
|
|
|
+ font-family: Helvetica, sans-serif;
|
|
|
}
|
|
|
";
|
|
|
|
|
|
- $body =" <table>
|
|
|
- <tbody>
|
|
|
- <tr>
|
|
|
- <td colspan=\"2\">
|
|
|
- <span class=\"metco_name_yellow\">".$persona['Primer Nombre']."</span> <span class=\"metco_name_black\">".$persona['Primer Apellido']."</span>
|
|
|
- <p style=\"margin-top:1%\"><span class=\"metco_puesto\">".$persona['Puesto']."</span></p>
|
|
|
- </td>
|
|
|
- </tr>
|
|
|
-
|
|
|
- <tr>
|
|
|
- <td width=\"200\" style=\"border-right:2px solid #DE8C33;\">
|
|
|
- <img src=\"https://www.mercadoselectricos.com.sv/wp-content/uploads/2019/12/IMG_METCO_Logo.png\" width=\"200\" height=\"80\">
|
|
|
- </td>
|
|
|
- <td width=\"900\" style=\"margin-left:2px;\">
|
|
|
-
|
|
|
- <table>
|
|
|
- <tbody>
|
|
|
- <tr align=\"left\">
|
|
|
- <td>
|
|
|
- <span style=\"color: #80888F\"><span class=\"metco_yellow_text\">T.</span><span class=\"metco_gray_text\">".$persona['Telefono']."</span>
|
|
|
- <span class=\"metco_yellow_text\">C.</span><span class=\"metco_gray_text\">".$persona['Celular']."</span></span>
|
|
|
- </td>
|
|
|
-
|
|
|
- </tr>
|
|
|
- <tr>
|
|
|
- <td>
|
|
|
- <a href=\"mailto:".$persona['Correo']."\"><span class=\"metco_yellow_text\">".$email_id."</span><span class=\"metco_gray_text\">@".$email_domain."</span></a>
|
|
|
- </td>
|
|
|
- </tr>
|
|
|
- <tr>
|
|
|
- <td>
|
|
|
- <a href=\"https://www.".$persona['LinkedIn']."\"> <span class=\"metco_gray_text\">".$site."/".$type."/"."</span><span class=\"metco_yellow_text\">".$identifier."</span></a>
|
|
|
- </td>
|
|
|
- </tr>
|
|
|
- <tr>
|
|
|
- <td>
|
|
|
-
|
|
|
- <table>
|
|
|
- <tr>
|
|
|
- <td>
|
|
|
- <a class=\"social_media\" href=\"https://www.linkedin.com/company/mexicanenergytradingco/\">
|
|
|
- <img width=\"20\" height=\"20\" src=\"https://www.mercadoselectricos.com.sv/wp-content/uploads/2019/12/IMG_METCO_Logo-02.png\">
|
|
|
- </a>
|
|
|
- </td>
|
|
|
- <td>
|
|
|
- <a class=\"social_media\" href=\"https://www.facebook.com/MexicanEnergyTradingCo/\">
|
|
|
- <img width=\"20\" height=\"20\" src=\"https://www.mercadoselectricos.com.sv/wp-content/uploads/2019/12/IMG_METCO_Logo-03.png\">
|
|
|
- </a>
|
|
|
- </td>
|
|
|
- <td>
|
|
|
- <a class=\"social_media\" href=\"http://www.mexicantradingco.com.mx\">
|
|
|
- <span class=\"metco_gray_text\">www.</span><span class=\"metco_yellow_text\">mexicantradingco</span><span class=\"metco_gray_text\">.com.mx</span>
|
|
|
- </a>
|
|
|
- </td>
|
|
|
- </tr>
|
|
|
- </table>
|
|
|
- </td>
|
|
|
- </tr>
|
|
|
- </tbody>
|
|
|
- </table>
|
|
|
-
|
|
|
- </td>
|
|
|
- </tr>
|
|
|
- </tbody>
|
|
|
- </table>
|
|
|
- </body>
|
|
|
- </html>
|
|
|
- ";
|
|
|
+ $body =" <table>
|
|
|
+ <tbody>
|
|
|
+ <tr>
|
|
|
+ <td colspan=\"2\">
|
|
|
+ <span class=\"metco_name_yellow\">".$persona['Primer Nombre']."</span> <span class=\"metco_name_black\">".$persona['Primer Apellido']."</span>
|
|
|
+ <p style=\"margin-top:1%\"><span class=\"metco_puesto\">".$persona['Puesto']."</span></p>
|
|
|
+ </td>
|
|
|
+ </tr>
|
|
|
+ <tr height=\"10\"></tr>
|
|
|
+ <tr>
|
|
|
+ <td width=\"200\" style=\"border-right:2px solid #DE8C33;\">
|
|
|
+ <img src=\"https://www.mercadoselectricos.com.sv/wp-content/uploads/2019/12/IMG_METCO_Logo.png\" width=\"200\" height=\"80\">
|
|
|
+ </td>
|
|
|
+ <td width=\"900\" style=\"margin-left:2px;\">
|
|
|
+
|
|
|
+ <table>
|
|
|
+ <tbody>
|
|
|
+ <tr align=\"left\">
|
|
|
+ <td>
|
|
|
+ <span style=\"color: #80888F\"><span class=\"metco_yellow_text\">T.</span><span class=\"metco_gray_text\">".$persona['Telefono']."</span>
|
|
|
+ <span class=\"metco_yellow_text\">C.</span><span class=\"metco_gray_text\">".$persona['Celular']."</span></span>
|
|
|
+ </td>
|
|
|
+
|
|
|
+ </tr>
|
|
|
+ <tr>
|
|
|
+ <td>
|
|
|
+ <a href=\"mailto:".$persona['Correo']."\"><span class=\"metco_yellow_text\">".$email_id."</span><span class=\"metco_gray_text\">@".$email_domain."</span></a>
|
|
|
+ </td>
|
|
|
+ </tr>
|
|
|
+ <tr>
|
|
|
+ <td>
|
|
|
+ <a href=\"https://www.".$persona['LinkedIn']."\"> <span class=\"metco_gray_text\">".$site."/".$type."/"."</span><span class=\"metco_yellow_text\">".$identifier."</span></a>
|
|
|
+ </td>
|
|
|
+ </tr>
|
|
|
+ <tr>
|
|
|
+ <td>
|
|
|
+
|
|
|
+ <table>
|
|
|
+ <tr>
|
|
|
+ <td>
|
|
|
+ <a class=\"social_media\" href=\"https://www.linkedin.com/company/mexicanenergytradingco/\">
|
|
|
+ <img width=\"20\" height=\"20\" src=\"https://www.mercadoselectricos.com.sv/wp-content/uploads/2019/12/IMG_METCO_Logo-02.png\">
|
|
|
+ </a>
|
|
|
+ </td>
|
|
|
+ <td>
|
|
|
+ <a class=\"social_media\" href=\"https://www.facebook.com/MexicanEnergyTradingCo/\">
|
|
|
+ <img width=\"20\" height=\"20\" src=\"https://www.mercadoselectricos.com.sv/wp-content/uploads/2019/12/IMG_METCO_Logo-03.png\">
|
|
|
+ </a>
|
|
|
+ </td>
|
|
|
+ <td>
|
|
|
+ <a class=\"social_media\" href=\"http://www.mexicantradingco.com.mx\">
|
|
|
+ <span class=\"metco_gray_text\">www.</span><span class=\"metco_yellow_text\">mexicantradingco</span><span class=\"metco_gray_text\">.com.mx</span>
|
|
|
+ </a>
|
|
|
+ </td>
|
|
|
+ </tr>
|
|
|
+ </table>
|
|
|
+ </td>
|
|
|
+ </tr>
|
|
|
+ </tbody>
|
|
|
+ </table>
|
|
|
+
|
|
|
+ </td>
|
|
|
+ </tr>
|
|
|
+ </tbody>
|
|
|
+ </table>
|
|
|
+</body>
|
|
|
+</html>
|
|
|
+";
|
|
|
|
|
|
}else{
|
|
|
$body = "";
|
|
|
@@ -703,12 +727,13 @@ $general_style ="
|
|
|
}
|
|
|
";
|
|
|
|
|
|
- $html_header ="<html>
|
|
|
- <head>
|
|
|
- </head>
|
|
|
- <body>
|
|
|
- <style> "." ".$style.$general_style."
|
|
|
- </style>";
|
|
|
+
|
|
|
+$html_header ="<html>
|
|
|
+<head>
|
|
|
+</head>
|
|
|
+<body>
|
|
|
+<style> "." ".$style.$general_style."
|
|
|
+</style>";
|
|
|
|
|
|
fwrite($firma,$html_header.$body);
|
|
|
|