65 lines
1.3 KiB
PHP
Executable File
65 lines
1.3 KiB
PHP
Executable File
<?php
|
|
|
|
class htmlPublic{
|
|
public $html;
|
|
|
|
public static function imprimirBody(){
|
|
|
|
$html = '
|
|
<!DOCTYPE html>
|
|
<html lang="es">
|
|
<head>
|
|
<meta charset="UTF-8">
|
|
<meta name="viewport" content="width=device-width, initial-scale=1.0">
|
|
<style>
|
|
body {
|
|
font-family: Arial, sans-serif;
|
|
background-color: #f0f0f0;
|
|
margin: 0;
|
|
padding: 20px;
|
|
}
|
|
h1 {
|
|
text-align: center;
|
|
color: #333;
|
|
}
|
|
table {
|
|
width: 100%;
|
|
border-collapse: collapse;
|
|
border: 2px solid #333;
|
|
margin-bottom: 20px;
|
|
}
|
|
th, td {
|
|
padding: 10px;
|
|
border: 1px solid #999;
|
|
}
|
|
th {
|
|
background-color: #f2f2f2;
|
|
}
|
|
tr:nth-child(even) {
|
|
background-color: #f9f9f9;
|
|
}
|
|
|
|
.container {
|
|
display: flex;
|
|
justify-content: center;
|
|
align-items: center;
|
|
|
|
}
|
|
</style>
|
|
</head>
|
|
<body>
|
|
<h1>Limpieza de archivos PDF de comprobantes de pago subidos a Wordpress para su envío</h1>
|
|
<div class="container">
|
|
<form method="post">
|
|
<button type="submit" name="pintar">Ejecutar borrado de archivos</button>
|
|
</form>
|
|
</div>
|
|
|
|
</body>
|
|
</html>
|
|
';
|
|
}
|
|
|
|
}
|
|
|