Initial rewiring

This commit is contained in:
“VeLiTi”
2025-01-30 13:43:02 +01:00
parent 6f1cc27ec4
commit 390a6e9f4f
14 changed files with 38 additions and 38 deletions

BIN
custom/css/font/.DS_Store vendored Normal file

Binary file not shown.

View File

@@ -0,0 +1,27 @@
GoodDog Plain©1997 Fonthead Design
What is GoodDog Plain?
This is the latest font from Fonthead Design! It is a stripped down
version of my other font called GoodDog Cool. It is still whacky and fun,
looks great as text, and guaranteed to make your documents fun!
Also if you want the other two fonts in this set-- GoodDog Cool,
and GoodDog Bones (clip art!), be sure to visit my web site!
You can find them there for free download!
Is it shareware?
No! This is FREEWARE! Use it to your hearts content without any guilt.
Where is the Fonthead World Wide Web site?
http://www.fonthead.com
How can you contact me?
Email:
ethan@fonthead.com
URL:
http://www.fonthead.com
Distribution and Copyright Info:
This font is freeware, but is not in the public domain (meaning it is the sole property
of Fonthead Design). You have permission to redistribute this package as long as this
readme and the accompanying files are included. and... Use the font everywhere!

Binary file not shown.

Binary file not shown.

BIN
custom/css/font/Gerb.ttf Normal file

Binary file not shown.

Binary file not shown.

View File

@@ -17,7 +17,7 @@ function get_countries() {
// Template Header default including MENU
function template_header($title, $head = '') {
include 'translations_'.strtoupper(language_code).'.php';
include './custom/translations/translations_'.strtoupper(language_code).'.php';
// Get the amount of items in the shopping cart, this will be displayed in the header.
$num_items_in_cart = isset($_SESSION['cart']) ? array_sum(array_column($_SESSION['cart'], 'quantity')) : 0;
@@ -62,8 +62,8 @@ if (veliti_analytics){
<meta name="viewport" content="width=device-width,minimum-scale=1">
<title>$site_title - $title</title>
<link rel="icon" type="image/png" href="{$base_url}$icon_image">
<link href="{$base_url}style.css" rel="stylesheet" type="text/css">
<link href="{$base_url}custom.css" rel="stylesheet" type="text/css">
<link href="{$base_url}custom/css/style.css" rel="stylesheet" type="text/css">
<link href="{$base_url}custom/css/custom.css" rel="stylesheet" type="text/css">
<link rel="stylesheet" href="https://use.fontawesome.com/releases/v6.0.0/css/all.css">
$veliti_analytics
$head
@@ -110,7 +110,7 @@ if (veliti_analytics){
// Template Header (related to MENU function)
function template_header_top($title, $head = '') {
include 'translations_'.strtoupper(language_code).'.php';
include './custom/translations/'.strtoupper(language_code).'.php';
// Get the amount of items in the shopping cart, this will be displayed in the header.
$num_items_in_cart = isset($_SESSION['cart']) ? array_sum(array_column($_SESSION['cart'], 'quantity')) : 0;
$home_link = url('index.php');
@@ -156,8 +156,8 @@ function template_header_top($title, $head = '') {
<meta name="viewport" content="width=device-width,minimum-scale=1">
<title>$site_title - $title</title>
<link rel="icon" type="image/png" href="{$base_url}$icon_image">
<link href="{$base_url}style.css" rel="stylesheet" type="text/css">
<link href="{$base_url}custom.css" rel="stylesheet" type="text/css">
<link href="{$base_url}custom/css/style.css" rel="stylesheet" type="text/css">
<link href="{$base_url}custom/css/custom.css" rel="stylesheet" type="text/css">
<link rel="stylesheet" href="https://use.fontawesome.com/releases/v6.0.0/css/all.css">
$veliti_analytics
$head
@@ -171,7 +171,7 @@ function template_header_top($title, $head = '') {
}
// Template Menu
function template_menu(){
include 'translations_'.strtoupper(language_code).'.php';
include './custom/translations/translations_'.strtoupper(language_code).'.php';
// Get the amount of items in the shopping cart, this will be displayed in the header.
$num_items_in_cart = isset($_SESSION['cart']) ? array_sum(array_column($_SESSION['cart'], 'quantity')) : 0;
$home_link = url('index.php');
@@ -225,7 +225,7 @@ function template_menu(){
// Template footer
function template_footer() {
include 'translations_'.strtoupper(language_code).'.php';
include './custom/translations/translations_'.strtoupper(language_code).'.php';
$base_url = base_url;
$rewrite_url = rewrite_url ? 'true' : 'false';
$year = date('Y');
@@ -291,7 +291,7 @@ function template_footer() {
//++++++++++++++++++++++++++++++++++++++++++++++++++++
//Template header order email
function template_order_email_header() {
include 'translations_'.strtoupper(language_code).'.php';
include './custom/translations/translations_'.strtoupper(language_code).'.php';
$home_link = url('index.php');
$myaccount_link = url('index.php?page=myaccount');
@@ -501,7 +501,7 @@ EOT;
}
// Template order footer
function template_order_email_footer() {
include 'translations_'.strtoupper(language_code).'.php';
include './custom/translations/translations_'.strtoupper(language_code).'.php';
$home_link = url('index.php');
$products_link = url(link_to_collection);
$about_link = url('index.php?page=about');

View File

@@ -1,7 +1,7 @@
<?php defined(security_key) or exit; ?>
<?=template_order_email_header()?>
<?php include 'translations_'.strtoupper(language_code).'.php';?>
<?php include './custom/translations/translations_'.strtoupper(language_code).'.php';?>
</tr>
<tr><td><br></td></tr>
<tr>

View File

@@ -3,7 +3,7 @@
//(defined(security_key) or defined('admin')) or exit; ?>
<?=template_order_email_header()?>
<?php include 'translations_'.strtoupper(language_code).'.php';?>
<?php include './custom/translations/translations_'.strtoupper(language_code).'.php';?>
</tr>
<tr><td><br></td></tr>

View File

@@ -1,7 +1,7 @@
<?php defined(security_key) or exit; ?>
<?=template_order_email_header()?>
<?php include 'translations_'.strtoupper(language_code).'.php';?>
<?php include './custom/translations/translations_'.strtoupper(language_code).'.php';?>
</tr>
<tr><td><br></td></tr>

View File

@@ -16,7 +16,7 @@ define('age_verification_enabled',false);
//Enable VeLiTi-analytics
define('veliti_analytics',false);
// Default logtraffic
define('log_usage',true);
define('log_usage',false);
/* Banners */
// Show offer at home page
define('show_offer_home_page',true);
@@ -155,7 +155,7 @@ define('db_user','morvalwatches');//morvalwatches_prod
// Database password
define('db_pass','4~gv71bM6');
// Database name
define('db_name','advanced_shoppingcart'); //morvalwatches
define('db_name','shoppingcart_advanced'); //morvalwatches
/* Payment options */
//Pay on Delivery