Files
Commerce/custom/pages/termsandconditions.php
“VeLiTi” 580f835fff 2nd update
2025-05-26 15:07:22 +02:00

22 lines
573 B
PHP

<?php
// Prevent direct access to file
defined(security_key) or exit;
if (isset($_GET['download'])){
generatedPDF($termsandconditions_items,$terms_text);
}
?>
<?=template_header($terms_text,'')?>
<div class="products content-wrapper">
<?php
$view = '<h1>'.$termsandconditions_header;
$view .= '<a style="text-decoration: none;color:#555555;" href="'.url("index.php?page=termsandconditions&download=download").'" class="dowloadpdf"> <i class="fa-solid fa-download"></i></a>';
$view .= '</h1>';
$view .= $termsandconditions_items;
echo $view;
?>
<?=template_footer()?>