<?php

/*
 * timezone and encoding
 */
//header('Content-Type: text/html; charset=utf-8');
//error_reporting(0); // error erporting
date_default_timezone_set('Asia/Karachi'); // timezone
//mb_internal_encoding("UTF-8");





/*
 * database connection variable
 */
$db_host = "localhost"; //Host address (most likely localhost)
$db_name = "aesthetic-software"; //Name of Database
$db_user = "root"; //Name of database user
$db_pass = ""; //Password for database user





/*
 * global variables
 */
$site_id = 1;
$base_url = 'http://localhost/aesthetic-software/';
$upload_url = 'http://localhost/aesthetic-software/uploads/';
$upload_path = "uploads/";
$super_important_field = '';
$currency = 'Rs. ';




/*
 * sms variables
 */
$sms_id = 'id';
$sms_shortcode = 'aesthetic';
$sms_password = 'pass';
$sms_groupname = '';



/*
 * smtp variables
 */

$smtp_status = 0;
$smtp_auth = 0;
$smtp_secure = 'ssl';
$smtp_host = '';
$smtp_port = '';
$smtp_user = '';
$smtp_pass = '';
$smtp_cron = 50;



/*
 * database connection
 */
$db = new MysqliDb($db_host, $db_user, $db_pass, $db_name);
$con = new mysqli($db_host, $db_user, $db_pass, $db_name);
mysqli_set_charset($con, "utf8");





/*
 * load site info
 */
$db->where('id', $site_id);
$site_info = $db->getOne('site_info');
$site_name = $site_info['name'];
$site_slogan = $site_info['slogan'];
$site_about = $site_info['about'];
$site_favicon = $site_info['favicon'];
$site_logo = $site_info['logo'];
$site_cover_picture = $site_info['cover_picture'];
$site_email = $site_info['email'];
$site_email2 = $site_info['email2'];
$site_phone = $site_info['phone'];
$site_fax_no = $site_info['fax_no'];
$site_address = $site_info['address'];
$site_zip = $site_info['zip'];
$site_city = $site_info['city'];
$site_state = $site_info['state'];
$site_country = $site_info['country'];
$site_copyright = $site_info['copyright'];
$site_date_format = 'd/m/Y';



$imgExtension = array('jpg', 'jpeg', 'gif', 'png', 'ico');

$anyNum = rand(20, 500789000);
