Initial commit
This commit is contained in:
22
custom/pages/termsandconditions.php
Normal file
22
custom/pages/termsandconditions.php
Normal file
@@ -0,0 +1,22 @@
|
||||
<?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()?>
|
||||
Reference in New Issue
Block a user