Files
Commerce/custom/pages/termsandconditions.php
“VeLiTi” 6f1cc27ec4 Initial commit
2025-01-30 11:43:37 +01:00

22 lines
570 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()?>