403Webshell
Server IP : 192.169.170.185  /  Your IP : 216.73.216.97
Web Server : Apache
System : Linux p3plmcpnl495852.prod.phx3.secureserver.net 4.18.0-553.52.1.lve.el8.x86_64 #1 SMP Wed May 21 15:31:29 UTC 2025 x86_64
User : akhilnew ( 1712764)
PHP Version : 5.6.40
Disable Function : NONE
MySQL : ON  |  cURL : ON  |  WGET : ON  |  Perl : ON  |  Python : ON  |  Sudo : OFF  |  Pkexec : OFF
Directory :  /home/akhilnew/public_html/

Upload File :
current_dir [ Writeable ] document_root [ Writeable ]

 

Command :


[ Back ]     

Current File : /home/akhilnew/public_html//header.php
<?php
session_start();
require_once('inc/config.php');

$files_inc = array('encryptions.class', 'functions.class', 'sendmail.class', 'csrf.class', 'transaction.class', 'gateway.class', 'Sms');
foreach($files_inc as $file_inc):
	if(file_exists(REQ.$file_inc.'.php')): require_once(REQ.$file_inc.'.php'); else: die('Required file doesn\'t exist.'); endif;
endforeach;

$cookieConsent = isset($_COOKIE['cookie_consent']) ? $_COOKIE['cookie_consent'] : null;
$visitorCountry = isset($_COOKIE['visitor_country']) ? $_COOKIE['visitor_country'] : 'in';

function getVisitorCurrency() {
	global $cookieConsent;

	$visitorCurrency = isset($_COOKIE['visitor_currency']) ? $_COOKIE['visitor_currency'] : null;

	if (!$visitorCurrency) {
		$clientIp = null;
		if (isset($_SERVER['HTTP_CLIENT_IP']) && filter_var($_SERVER['HTTP_CLIENT_IP'], FILTER_VALIDATE_IP)) {
			$clientIp = $_SERVER['HTTP_CLIENT_IP'];
		} elseif (isset($_SERVER['HTTP_X_FORWARDED_FOR']) && filter_var($_SERVER['HTTP_X_FORWARDED_FOR'], FILTER_VALIDATE_IP)) {
			$clientIp = $_SERVER['HTTP_X_FORWARDED_FOR'];
		} elseif (isset($_SERVER['REMOTE_ADDR']) && filter_var($_SERVER['REMOTE_ADDR'], FILTER_VALIDATE_IP)) {
			$clientIp = $_SERVER['REMOTE_ADDR'];
		}

		if ($clientIp) {
			$url = "http://ip-api.com/json/{$clientIp}";
			$response = file_get_contents($url);
			$data = json_decode($response, true);

			if ($data && $data['status'] === 'success') {
				$currencyCode = $data['countryCode'] === 'IN' ? 'INR' : 'USD';

				if ($cookieConsent) {
					setcookie('visitor_currency', $currencyCode, time() + (365 * 24 * 60 * 60), "/");
				}

				return $currencyCode;
			}
		}

		return 'INR';
	} else {
		return $visitorCurrency;
	}
}

$getVisitorCurrency = getVisitorCurrency();

function amountWithCurrency($inr, $usd) {
	global $getVisitorCurrency;

    $currency = $getVisitorCurrency === 'INR' ? '&#8377;' : '&dollar;';
    $amount = $getVisitorCurrency === 'INR' ? $inr : $usd;

    return $currency . ' ' . number_format($amount, 0);
}

$authCookieLogin = '_ap_user';
$authCookieToken = '_ap_token';

$pathinfo = pathinfo($_SERVER['SCRIPT_FILENAME']);
$pagename = ($pathinfo['filename'] === 'index') ? basename($pathinfo['dirname']) : $pathinfo['filename'];
$pagename = strip_tags($fn->sanitize($fn->escape($pagename)));
$basename = basename(dirname(__FILE__));

if($fn->page_is_exist($pagename) == false):
	die('Page not found.');
endif;

if($pagename === 'publishbookchapter'):
    $pageuris = pathinfo($_SERVER['REQUEST_URI']);
    if($pageuris['basename'] === '1620033485-advances-in-converterinverter-for-power-electronic-applications'):
		header('location:'.$baseurl.'publishbookchapter/1620033485-recent-innovations-and-research-advancements-in-engineering');
		exit();
    endif;
endif;
if($pagename === 'products'):
    $producturis = pathinfo($_SERVER['REQUEST_URI']);
    if($producturis['dirname'] === '/products/2383' && $producturis['basename'] === 'advances-in-computer-science-volume--18'):
		header('location:'.$baseurl.'products/2383/advances-in-computer-science-volume--19');
		exit();
    endif;
    if($producturis['dirname'] === '/products/2587' && $producturis['basename'] === 'climate-change-and-agriculture-volume--8'):
		header('location:'.$baseurl.'products/2587/climate-change-and-agriculture-volume--10');
		exit();
    endif;
endif;
if($pagename === 'products'):
	$incomingurl = pathinfo($_SERVER['REQUEST_URI'], PATHINFO_BASENAME);

	$stmt = $mysqli->prepare("SELECT productid, link FROM products WHERE code = ? LIMIT 1") or die('An error occurred. Please try after some time.');
	$stmt->bind_param('s', $incomingurl);
	$stmt->execute();
	$stmt->store_result();
	$count_rows = $stmt->num_rows();
	$stmt->bind_result($productid, $productlink);
	$stmt->fetch();
	$stmt->close();
	if($count_rows == 1):
		header('location:'.$baseurl.'products/'.$productid.'/'.$productlink);
		exit();
	endif;
endif;

if($pagename === 'publishbookchapter'):
	$incomingurl = pathinfo($_SERVER['REQUEST_URI'], PATHINFO_BASENAME);
	$stmt = $mysqli->prepare("SELECT newlink FROM bookchapters WHERE (pagelink = ? OR link = ?) ORDER BY bookchapterid DESC LIMIT 1") or die('An error occurred. Please try after some time.');
	$stmt->bind_param('ss', $incomingurl, $incomingurl);
	$stmt->execute();
	$stmt->store_result();
	$count_rows = $stmt->num_rows();
	$stmt->bind_result($chapternewlink);
	$stmt->fetch();
	$stmt->close();
	if($count_rows == 1):
		header('location:'.$baseurl.'publishbookchapter/'.$chapternewlink);
		exit();
	endif;
endif;

function visitor_country(){
	$client  = @$_SERVER['HTTP_CLIENT_IP'];
	$forward = @$_SERVER['HTTP_X_FORWARDED_FOR'];
	$remote  = @$_SERVER['REMOTE_ADDR'];
	$result  = array('country' => '', 'city' => '');
	if(filter_var($client, FILTER_VALIDATE_IP)):
		$clientip = $client;
	elseif(filter_var($forward, FILTER_VALIDATE_IP)):
		$clientip = $forward;
	else:
		$clientip = $remote;
	endif;
	$ip_data = @json_decode(file_get_contents("http://www.geoplugin.net/json.gp?ip=".$clientip));    
	return ($ip_data && $ip_data->geoplugin_countryName != null) ? $ip_data->geoplugin_countryName : '';
}
$inr = '&#8377; ';

$loginSessionName = '__AP_IS_LOGIN__';
$cartSessionName = '__AP_CART_SESS_NAME__';

function checklogin()
{
	global $mysqli, $authCookieLogin, $authCookieToken;

	if(isset($_COOKIE[$authCookieLogin]) && isset($_COOKIE[$authCookieToken])):
		$loggedInEmail = $_COOKIE[$authCookieLogin];
		$loggedInEmail = base64_decode($loggedInEmail);
		$loggedInToken = $_COOKIE[$authCookieToken];

		$stmt = $mysqli->prepare("SELECT customerid FROM customers WHERE (email = ? AND logintoken = ?) LIMIT 1") or die('An error occurred. Please try after some time.');
		$stmt->bind_param('is', $loggedInEmail, $loggedInToken);
		$stmt->execute();
		$stmt->store_result();
		$stmt->bind_result($customerid);
		$stmt->fetch();
		$stmt->close();
		if ($customerid) :
			return $customerid;
		endif;

		setcookie($authCookieLogin, "", time() - 3600, "/");
		setcookie($authCookieToken, "", time() - 3600, "/");

		return false;
	endif;

	return false;
}
$loggedincustomerid = checklogin();

// if($pagename === 'checkout' && isset($_GET['tab']) && !empty($_GET['tab'])):
// 	if($_GET['tab'] === 'login' && $loggedincustomerid):
// 		header('location:'.$baseurl.'checkout/deliveryaddress'); exit();
// 	endif;
// 	if($_GET['tab'] === 'guest' && $loggedincustomerid):
// 		header('location:'.$baseurl.'checkout/deliveryaddress'); exit();
// 	endif;
// endif;

$stmt = $mysqli->prepare("SELECT websitename, websiteemail, fromname, fromemail, replyname, replyemail, deliverycharges, signature, bookchapterdeadline, blockedword FROM settings ORDER BY settingsid DESC LIMIT 1") or die('An error occurred. Please try after some time.');
$stmt->execute();
$stmt->store_result();
$stmt->bind_result($websitename, $websiteemail, $fromname, $fromemail, $replyname, $replyemail, $deliverycharges, $signature, $bookchapterdeadline, $blockedword);
$stmt->fetch();
$stmt->close();

$decryptedfocus = filter_input(INPUT_POST, 'focus', FILTER_SANITIZE_STRING);
$decryptedfocus = strip_tags($en->decrypt($fn->escape($decryptedfocus)));

$gSiteKey = '6Ldpb44UAAAAAHiffYzY1OSJGUfqcncd9iLCSify';

if($_SERVER['REQUEST_METHOD'] === 'POST' && $decryptedfocus):
	define('APP_PATH', dirname(__FILE__).'/inc/');

	if($csrf->check_valid('post')):
		function gCAPTCHA($reCAPTCHA){
			$secret = '6Ldpb44UAAAAAA05em8Ue2qoWNTPthIrQQl7POCV';
			$verifyResponse = file_get_contents('https://www.google.com/recaptcha/api/siteverify?secret='.$secret.'&response='.$reCAPTCHA);
			return json_decode($verifyResponse);
		}
		if(file_exists(APP_PATH.$pagename.'.php')):
			require_once(APP_PATH.$pagename.'.php');
			exit();
		else:
			die(output('Required file is missing.'));
		endif;
	else:
		die(output('Submission not allowed. Please refresh your page.'));
	endif;
endif;

$option1 = filter_input(INPUT_GET, 'option1', FILTER_SANITIZE_STRING);
$option1 = strip_tags(htmlentities($fn->escape($option1), ENT_QUOTES));
$option2 = filter_input(INPUT_GET, 'option2', FILTER_SANITIZE_STRING);
$option2 = strip_tags(htmlentities($fn->escape($option2), ENT_QUOTES));
$option3 = filter_input(INPUT_GET, 'option3', FILTER_SANITIZE_STRING);
$option3 = strip_tags(htmlentities($fn->escape($option3), ENT_QUOTES));

$protocol     = (!empty($_SERVER['HTTPS']) && $_SERVER['HTTPS'] !== 'off') ? 'https' : 'http';
$host         = strtolower(preg_replace('/:\d+$/', '', $_SERVER['HTTP_HOST']));
$path         = preg_replace(array('#/+#', '#/index\.(php|html?)$#i'), array('/', '/'), strtok($_SERVER['REQUEST_URI'], '?'));
$canonicalUrl = $protocol . '://' . $host . $path;

$jsonSchemas = '';

if ($pagename === 'products' && $option1 && $option2) :
	$stmt = $mysqli->prepare("SELECT genre, category, title, chiefeditor, editors, coeditor, author, number, hardbound_isbn, paperback_isbn, ebook_isbn, language, price, usdprice, europrice, krwprice, gbpprice, edition, pages, weight, publicationyear, image, description, metadescription, metakeyword, binding, stock, creation, abstract FROM products WHERE (productid = ? AND link = ?) ORDER BY productid DESC LIMIT 1") or die('An error occurred. Please try after some time.');
	$stmt->bind_param('is', $option1, $option2);
	$stmt->execute();
	$stmt->store_result();
	$count_page = $stmt->num_rows();
	$stmt->bind_result($product_genre, $product_category, $product_title, $product_chiefeditor, $product_editors, $product_coeditor, $product_author, $product_number, $product_hardbound_isbn, $product_paperback_isbn, $product_ebook_isbn, $product_language, $product_price, $product_usdprice, $product_europrice, $product_krwprice, $product_gbpprice, $product_edition, $product_pages, $product_weight, $product_publicationyear, $product_image, $product_description, $product_metadescription, $product_metakeyword, $product_binding, $product_stock, $product_creation, $product_abstract);
	$stmt->fetch();
	$stmt->close();

	$headtitle        = $product_title;
	$pagetitle        = $product_title;
	$metadescription  = $product_metadescription;
	$metakeyword      = $product_metakeyword;
	$page_content     = '';

	$authorNames = array();
	if ($product_chiefeditor) :
		$authorNames[] = $product_chiefeditor;
	endif;
	if ($product_editors) :
		$authorNames[] = $product_editors;
	endif;
	if ($product_coeditor) :
		$authorNames[] = $product_coeditor;
	endif;
	if ($product_author) :
		$authorNames[] = $product_author;
	endif;
	$ldjsonAuthors = implode(',', $authorNames);
	$productAuthors = [];
	foreach (preg_split('/(,| and | And | एवं )/', $ldjsonAuthors) as $author) :
		$productAuthors[] = array('@type' => 'Person', 'name' => trim($author));
	endforeach;

	$availability        = $product_stock == 'true' ? 'InStock' : 'OutOfStock';
	$jsonBindings        = array('Hard Bound' => $product_hardbound_isbn, 'Paperback' => $product_paperback_isbn, 'eBook' => $product_ebook_isbn);
	$jsonBookFormat      = array('Hard Bound' => 'Hardcover', 'Paperback' => 'Paperback', 'eBook' => 'EBook');
	$languages           = array('Assamese' => 'as', 'Bengali' => 'bn', 'English' => 'en', 'French' => 'fr', 'Hindi' => 'hi', 'Kannada' => 'kn', 'Mandarin Chinese' => 'zh', 'Portuguese' => 'pt', 'Sanskrit' => 'sa', 'Tamil' => 'ta', 'Telugu' => 'te');

	if ($product_category === 'Book') :
	    $jsonldScriptBook = array(
			'@context'           => 'http://schema.org',
			'@type'              => 'Book',
			'name'               => $product_title,
			'image'              => $imageurl . $product_image,
			'description'        => $product_metadescription,
			'bookFormat'         => 'http://schema.org/' . $jsonBookFormat[$product_binding],
			'inLanguage'         => $languages[$product_language],
			'numberOfPages'      => $product_pages,
			'datePublished'      => date('Y-m-d', strtotime($product_creation)),
			'isbn'               => $jsonBindings[$product_binding],
			'url'                => $baseurl . 'products/' . $option1 . '/' . $option2,
			'author'             => $productAuthors,
			'bookEdition'        => $product_edition,
			'abstract'           => strip_tags($product_abstract),
			'genre'              => $product_genre,
			'copyrightYear'      => $product_publicationyear,
			'keywords'           => array_map('trim', explode(',', $product_metakeyword)),
			'publisher'          => array('@type' => 'Organization', 'name' => 'AkiNik Publications')
		);

		$productweightInKG = 1000 * $product_weight;
		$monetaryAmount    = $productweightInKG <= 1000 ? 1500 : ($productweightInKG <= 2000 ? 2500 : ($productweightInKG <= 3000 ? 3500 : 1500));

		$jsonldScriptProduct = array(
			'@context'    => 'http://schema.org',
			'@type'       => 'Product',
			'name'        => $product_title,
			'url'         => $baseurl . 'products/' . $option1 . '/' . $option2,
			'image'       => $imageurl . $product_image,
			'description' => $product_metadescription,
			'category'    => 'Root > Book',
			'sku'         => $jsonBindings[$product_binding],
			'brand'       => array(
				'@type' => 'Brand',
				'name'  => 'AkiNik Publications'
			),
			'weight'      => array(
				'@type'    => 'QuantitativeValue',
				'value'    => $product_weight,
				'unitCode' => 'KG'
			),
			'offers'      => array(
				array(
					'@type'                   => 'Offer',
					'url'                     => $baseurl . 'products/' . $option1 . '/' . $option2,
					'price'                   => $product_price,
					'priceValidUntil'         => date('d-m-Y', strtotime('+1 month')),
					'priceCurrency'           => 'INR',
					'availability'            => 'http://schema.org/' . $availability,
					'hasMerchantReturnPolicy' => array(
						'@type'                => 'MerchantReturnPolicy',
						'applicableCountry'    => 'IN',
						'returnPolicyCategory' => 'https://schema.org/MerchantReturnFiniteReturnWindow',
						'merchantReturnDays'   => 0,
						'returnMethod'         => 'https://schema.org/ReturnByMail',
						'returnFees'           => 'https://schema.org/FreeReturn'
					),
					'offeredBy'               => array(
						'@type' => 'Organization',
						'@id'   => $baseurl,
						'name'  => 'www.akinik.com'
					),
					'shippingDetails'         => array(
						'@type'               => 'OfferShippingDetails',
						'shippingRate'        => array(
							'@type'    => 'MonetaryAmount',
							'value'    => 0,
							'currency' => 'INR'
						),
						'shippingDestination' => array(
							'@type'          => 'DefinedRegion',
							'addressCountry' => 'IN'
						),
						'deliveryTime'        => array(
							'@type'        => 'ShippingDeliveryTime',
							'handlingTime' => array(
								'@type'    => 'QuantitativeValue',
								'minValue' => 5,
								'maxValue' => 10,
								'unitCode' => 'DAY'
							),
							'transitTime'  => array(
								'@type'    => 'QuantitativeValue',
								'minValue' => 15,
								'maxValue' => 25,
								'unitCode' => 'DAY'
							)
						)
					)
				),
				array(
					'@type'                   => 'Offer',
					'url'                     => $baseurl . 'products/' . $option1 . '/' . $option2,
					'price'                   => $product_usdprice,
					'priceValidUntil'         => date('d-m-Y', strtotime('+1 month')),
					'priceCurrency'           => 'USD',
					'availability'            => 'http://schema.org/' . $availability,
					'hasMerchantReturnPolicy' => array(
						array(
							'@type'                => 'MerchantReturnPolicy',
							'applicableCountry'    => array('US', 'EC', 'SV', 'FM', 'MH', 'PW', 'PA', 'TL', 'AD', 'AT', 'BE', 'CY', 'EE', 'FI', 'FR', 'DE', 'GR', 'IE', 'IT', 'LV', 'LT', 'LU', 'MT', 'MC', 'NL', 'PT', 'SK', 'SI', 'ES', 'VA', 'AU', 'KI', 'NR', 'TV', 'GB', 'GI', 'CA', 'LI', 'CH', 'JP', 'CN', 'BR', 'RU', 'MX', 'AR', 'SG'),
							'returnPolicyCategory' => 'https://schema.org/MerchantReturnFiniteReturnWindow',
							'merchantReturnDays'   => 0,
							'returnMethod'         => 'https://schema.org/ReturnByMail',
							'returnFees'           => 'https://schema.org/FreeReturn'
						),
						array(
							'@type'                => 'MerchantReturnPolicy',
							'applicableCountry'    => array('HK', 'NO', 'SE', 'NZ', 'ZA', 'TR', 'AE', 'KW', 'SA', 'BJ', 'BF', 'CI', 'GW', 'ML', 'NE', 'SN', 'TG', 'CM', 'CF', 'TD', 'CG', 'GA', 'GQ', 'MU', 'BW', 'MY'),
							'returnPolicyCategory' => 'https://schema.org/MerchantReturnFiniteReturnWindow',
							'merchantReturnDays'   => 0,
							'returnMethod'         => 'https://schema.org/ReturnByMail',
							'returnFees'           => 'https://schema.org/FreeReturn'
						)
					),
					'offeredBy'               => array(
						'@type' => 'Organization',
						'@id'   => $baseurl,
						'name'  => 'www.akinik.com'
					),
					'shippingDetails'         => array(
						'@type'               => 'OfferShippingDetails',
						'shippingRate'        => array(
							'@type'    => 'MonetaryAmount',
							'value'    => round($monetaryAmount * 0.012, 2),
							'currency' => 'USD'
						),
						'shippingDestination' => array(
							array(
								'@type'          => 'DefinedRegion',
								'addressCountry' => array('US', 'EC', 'SV', 'FM', 'MH', 'PW', 'PA', 'TL', 'AD', 'AT', 'BE', 'CY', 'EE', 'FI', 'FR', 'DE', 'GR', 'IE', 'IT', 'LV', 'LT', 'LU', 'MT', 'MC', 'NL', 'PT', 'SK', 'SI', 'ES', 'VA', 'AU', 'KI', 'NR', 'TV', 'GB', 'GI', 'CA', 'LI', 'CH', 'JP', 'CN', 'BR', 'RU', 'MX', 'AR', 'SG')
							),
							array(
								'@type'          => 'DefinedRegion',
								'addressCountry' => array('HK', 'NO', 'SE', 'NZ', 'ZA', 'TR', 'AE', 'KW', 'SA', 'BJ', 'BF', 'CI', 'GW', 'ML', 'NE', 'SN', 'TG', 'CM', 'CF', 'TD', 'CG', 'GA', 'GQ', 'MU', 'BW', 'MY')
							)
						),
						'deliveryTime'        => array(
							'@type'        => 'ShippingDeliveryTime',
							'handlingTime' => array(
								'@type'    => 'QuantitativeValue',
								'minValue' => 5,
								'maxValue' => 10,
								'unitCode' => 'DAY'
							),
							'transitTime'  => array(
								'@type'    => 'QuantitativeValue',
								'minValue' => 15,
								'maxValue' => 25,
								'unitCode' => 'DAY'
							)
						)
					)
				),
				array(
					'@type'                   => 'Offer',
					'url'                     => $baseurl . 'products/' . $option1 . '/' . $option2,
					'price'                   => $product_europrice,
					'priceValidUntil'         => date('d-m-Y', strtotime('+1 month')),
					'priceCurrency'           => 'EUR',
					'availability'            => 'http://schema.org/' . $availability,
					'hasMerchantReturnPolicy' => array(
						'@type'                => 'MerchantReturnPolicy',
						'applicableCountry'    => array('AD', 'AT', 'BE', 'CY', 'EE', 'FI', 'FR', 'DE', 'GR', 'IE', 'IT', 'LV', 'LT', 'LU', 'MT', 'MC', 'NL', 'PT', 'SK', 'SI', 'ES', 'VA'),
						'returnPolicyCategory' => 'https://schema.org/MerchantReturnFiniteReturnWindow',
						'merchantReturnDays'   => 0,
						'returnMethod'         => 'https://schema.org/ReturnByMail',
						'returnFees'           => 'https://schema.org/FreeReturn'
					),
					'offeredBy'               => array(
						'@type' => 'Organization',
						'@id'   => $baseurl,
						'name'  => 'www.akinik.com'
					),
					'shippingDetails'         => array(
						'@type'               => 'OfferShippingDetails',
						'shippingRate'        => array(
							'@type'    => 'MonetaryAmount',
							'value'    => round($monetaryAmount * 0.011, 2),
							'currency' => 'EUR'
						),
						'shippingDestination' => array(
							'@type'          => 'DefinedRegion',
							'addressCountry' => array('AD', 'AT', 'BE', 'CY', 'EE', 'FI', 'FR', 'DE', 'GR', 'IE', 'IT', 'LV', 'LT', 'LU', 'MT', 'MC', 'NL', 'PT', 'SK', 'SI', 'ES', 'VA')
						),
						'deliveryTime'        => array(
							'@type'        => 'ShippingDeliveryTime',
							'handlingTime' => array(
								'@type'    => 'QuantitativeValue',
								'minValue' => 5,
								'maxValue' => 10,
								'unitCode' => 'DAY'
							),
							'transitTime'  => array(
								'@type'    => 'QuantitativeValue',
								'minValue' => 15,
								'maxValue' => 25,
								'unitCode' => 'DAY'
							)
						)
					)
				),
				array(
					'@type'                   => 'Offer',
					'url'                     => $baseurl . 'products/' . $option1 . '/' . $option2,
					'price'                   => $product_krwprice,
					'priceValidUntil'         => date('d-m-Y', strtotime('+1 month')),
					'priceCurrency'           => 'KRW',
					'availability'            => 'http://schema.org/' . $availability,
					'hasMerchantReturnPolicy' => array(
						'@type'                => 'MerchantReturnPolicy',
						'applicableCountry'    => 'KR',
						'returnPolicyCategory' => 'https://schema.org/MerchantReturnFiniteReturnWindow',
						'merchantReturnDays'   => 0,
						'returnMethod'         => 'https://schema.org/ReturnByMail',
						'returnFees'           => 'https://schema.org/FreeReturn'
					),
					'offeredBy'               => array(
						'@type' => 'Organization',
						'@id'   => $baseurl,
						'name'  => 'www.akinik.com'
					),
					'shippingDetails'         => array(
						'@type'               => 'OfferShippingDetails',
						'shippingRate'        => array(
							'@type'    => 'MonetaryAmount',
							'value'    => round($monetaryAmount * 16.68, 2),
							'currency' => 'KRW'
						),
						'shippingDestination' => array(
							'@type'          => 'DefinedRegion',
							'addressCountry' => 'KR'
						),
						'deliveryTime'        => array(
							'@type'        => 'ShippingDeliveryTime',
							'handlingTime' => array(
								'@type'    => 'QuantitativeValue',
								'minValue' => 5,
								'maxValue' => 10,
								'unitCode' => 'DAY'
							),
							'transitTime'  => array(
								'@type'    => 'QuantitativeValue',
								'minValue' => 15,
								'maxValue' => 25,
								'unitCode' => 'DAY'
							)
						)
					)
				),
				array(
					'@type'                   => 'Offer',
					'url'                     => $baseurl . 'products/' . $option1 . '/' . $option2,
					'price'                   => $product_gbpprice,
					'priceValidUntil'         => date('d-m-Y', strtotime('+1 month')),
					'priceCurrency'           => 'GBP',
					'availability'            => 'http://schema.org/' . $availability,
					'hasMerchantReturnPolicy' => array(
						'@type'                => 'MerchantReturnPolicy',
						'applicableCountry'    => array('GB', 'GI'),
						'returnPolicyCategory' => 'https://schema.org/MerchantReturnFiniteReturnWindow',
						'merchantReturnDays'   => 0,
						'returnMethod'         => 'https://schema.org/ReturnByMail',
						'returnFees'           => 'https://schema.org/FreeReturn'
					),
					'offeredBy'               => array(
						'@type' => 'Organization',
						'@id'   => $baseurl,
						'name'  => 'www.akinik.com'
					),
					'shippingDetails'         => array(
						'@type'               => 'OfferShippingDetails',
						'shippingRate'        => array(
							'@type'    => 'MonetaryAmount',
							'value'    => round($monetaryAmount * 0.0093, 2),
							'currency' => 'GBP'
						),
						'shippingDestination' => array(
							'@type'          => 'DefinedRegion',
							'addressCountry' => array('GB', 'GI')
						),
						'deliveryTime'        => array(
							'@type'        => 'ShippingDeliveryTime',
							'handlingTime' => array(
								'@type'    => 'QuantitativeValue',
								'minValue' => 5,
								'maxValue' => 10,
								'unitCode' => 'DAY'
							),
							'transitTime'  => array(
								'@type'    => 'QuantitativeValue',
								'minValue' => 15,
								'maxValue' => 25,
								'unitCode' => 'DAY'
							)
						)
					)
				)
			)
		);

		$stmt = $mysqli->prepare("SELECT COUNT(*), ROUND(AVG(rating),1) as averageRating FROM productreviews WHERE (product_id = ? AND status = 'approved')") or die('An error occurred. Please try after some time.');
		$stmt->bind_param('i', $option1);
		$stmt->execute();
		$stmt->store_result();
		$stmt->bind_result($countReviews, $averageRating);
		$stmt->fetch();
		$stmt->close();

		if ($countReviews > 0) :
			$jsonldScriptProduct = array_merge($jsonldScriptProduct, array(
				'aggregateRating' => array(
					'@type' => 'AggregateRating',
					'ratingValue' => $averageRating,
					'reviewCount' => $countReviews,
				))
			);
		endif;

		$jsonLdReviews = array();
		$stmt = $mysqli->prepare("SELECT name, review, rating FROM productreviews WHERE (product_id = ? AND status = 'approved')") or die('An error occurred. Please try after some time.');
		$stmt->bind_param('i', $option1);
		$stmt->execute();
		$stmt->store_result();
		$stmt->bind_result($reviewer_name, $review_body, $rating_value);
		while ($stmt->fetch()) :
			$jsonLdReviews[] = [
				'@type' => 'Review',
				'author' => array(
					'@type' => 'Person',
					'name' => $reviewer_name
				),
				'reviewRating' => array(
					'@type' => 'Rating',
					'ratingValue' => $rating_value
				),
				'reviewBody' => $review_body
			];
		endwhile;
		$stmt->close();

		if (count($jsonLdReviews) > 0) :
			$jsonldScriptProduct = array_merge($jsonldScriptProduct, array('review' => $jsonLdReviews));
		endif;
		$jsonldScriptBook = json_encode($jsonldScriptBook, JSON_PRETTY_PRINT);
		$jsonldScriptProduct = json_encode($jsonldScriptProduct, JSON_PRETTY_PRINT);

		$jsonSchemas .= '<script type="application/ld+json">' . PHP_EOL . $jsonldScriptBook . PHP_EOL . '</script>' . PHP_EOL;
		$jsonSchemas .= '<script type="application/ld+json">' . PHP_EOL . $jsonldScriptProduct . PHP_EOL . '</script>' . PHP_EOL;

	elseif ($product_category === 'Journal') :

		$stmt = $mysqli->prepare("SELECT COUNT(*), ROUND(AVG(rating),1) as averageRating FROM productreviews WHERE (product_id = ? AND status = 'approved')") or die('An error occurred. Please try after some time.');
    	$stmt->bind_param('i', $option1);
    	$stmt->execute();
    	$stmt->store_result();
    	$stmt->bind_result($countReviews, $averageRating);
    	$stmt->fetch();
    	$stmt->close();
    
    	$averageRating = $averageRating ?: '0';
    
    	$product_number = preg_replace('/[^0-9]/', '', $product_number);

		$jsonldScriptJournal = array(
			'@context'    => 'http://schema.org',
			'@type'       => 'Product',
			'name'        => $product_title,
			'image'       => $imageurl . $product_image,
			'description' => $product_metadescription,
			'sku'         => $product_number,
			'mpn'         => "APJ{$option1}",
			'brand'       => array(
				'@type' => 'Brand',
				'name'  => 'AkiNik Publications'
			),
			'offers'      => array(
				array(
					'@type'                   => 'Offer',
					'url'                     => $baseurl . 'products/' . $option1 . '/' . $option2,
					'price'                   => $product_price,
					'priceValidUntil'         => date('Y-m-d', strtotime('+10 years')),
					'priceCurrency'           => 'INR',
					'availability'            => 'http://schema.org/' . $availability,
					'itemCondition'           => 'https://schema.org/NewCondition',
					'hasMerchantReturnPolicy' => array(
						'@type'                => 'MerchantReturnPolicy',
						'applicableCountry'    => 'IN',
						'returnPolicyCategory' => 'https://schema.org/MerchantReturnFiniteReturnWindow',
						'merchantReturnDays'   => 0,
						'returnMethod'         => 'https://schema.org/ReturnByMail',
						'returnFees'           => 'https://schema.org/FreeReturn'
					),
					'offeredBy'               => array(
						'@type' => 'Organization',
						'@id'   => $baseurl,
						'name'  => 'www.akinik.com'
					),
					'shippingDetails'         => array(
						'@type'               => 'OfferShippingDetails',
						'shippingRate'        => array(
							'@type'    => 'MonetaryAmount',
							'value'    => 0,
							'currency' => 'INR'
						),
						'shippingDestination' => array(
							'@type'          => 'DefinedRegion',
							'addressCountry' => 'IN'
						),
						'deliveryTime'        => array(
							'@type'        => 'ShippingDeliveryTime',
							'handlingTime' => array(
								'@type'    => 'QuantitativeValue',
								'minValue' => 5,
								'maxValue' => 10,
								'unitCode' => 'DAY'
							),
							'transitTime'  => array(
								'@type'    => 'QuantitativeValue',
								'minValue' => 15,
								'maxValue' => 25,
								'unitCode' => 'DAY'
							)
						)
					)
				)
			)
		);
		
		$stmt = $mysqli->prepare("SELECT COUNT(*), ROUND(AVG(rating),1) as averageRating FROM productreviews WHERE (product_id = ? AND status = 'approved')") or die('An error occurred. Please try after some time.');
		$stmt->bind_param('i', $option1);
		$stmt->execute();
		$stmt->store_result();
		$stmt->bind_result($countReviews, $averageRating);
		$stmt->fetch();
		$stmt->close();

		if ($countReviews > 0) :
			$jsonldScriptJournal = array_merge($jsonldScriptJournal, array(
				'aggregateRating' => array(
					'@type'       => 'AggregateRating',
					'ratingValue' => $averageRating,
					'reviewCount' => $countReviews,
				))
			);

			$jsonLdReviews = array();
			$stmt = $mysqli->prepare("SELECT name, review, rating FROM productreviews WHERE (product_id = ? AND status = 'approved')") or die('An error occurred. Please try after some time.');
			$stmt->bind_param('i', $option1);
			$stmt->execute();
			$stmt->store_result();
			$stmt->bind_result($reviewer_name, $review_body, $rating_value);
			while ($stmt->fetch()) :
				$jsonLdReviews[] = [
					'@type'        => 'Review',
					'author'       => array(
						'@type' => 'Person',
						'name'  => $reviewer_name
					),
					'reviewRating' => array(
						'@type'       => 'Rating',
						'ratingValue' => $rating_value
					),
					'reviewBody'   => $review_body
				];
			endwhile;
			$stmt->close();

			$jsonldScriptJournal = array_merge($jsonldScriptJournal, array('review' => $jsonLdReviews));
		endif;

		$jsonldScriptJournal = json_encode($jsonldScriptJournal, JSON_PRETTY_PRINT);

		$jsonSchemas .= '<script type="application/ld+json">' . PHP_EOL . $jsonldScriptJournal . PHP_EOL . '</script>' . PHP_EOL;
	endif;
elseif ($pagename === 'publishbookchapter' && $option1) :
	$newlink = strip_tags($fn->remaspace($fn->escape($option1)));
	$stmt = $mysqli->prepare("SELECT bookchapterid, subject, bookname, chiefeditor, chiefeditorpicture, bookpicture, metadescription, metakeyword FROM bookchapters WHERE newlink = ? LIMIT 1") or die('An error occurred. Please try after some time.');
	$stmt->bind_param('s', $newlink);
	$stmt->execute();
	$stmt->store_result();
	$count_page = $stmt->num_rows();
	$stmt->bind_result($bookchapterid, $schema_bookchapter_subject, $schema_bookchapter_bookname, $schema_bookchapter_chiefeditor, $schema_bookchapter_chiefeditorpicture, $schema_bookchapter_bookpicture, $schema_bookchapter_metadescription, $schema_bookchapter_metakeyword);
	$stmt->fetch();
	$stmt->close();

	$headtitle       = $schema_bookchapter_bookname;
	$pagetitle       = $schema_bookchapter_bookname;
	$metadescription = $schema_bookchapter_metadescription;
	$metakeyword     = $schema_bookchapter_metakeyword;
	$page_content    = '';

	$stmt = $mysqli->prepare("SELECT schema_text FROM json_schemas WHERE model_id = ? AND model_type = 'bookchapter'") or die('An error occurred. Please try after some time.');
	$stmt->bind_param('i', $bookchapterid);
	$stmt->execute();
	$stmt->store_result();
	$stmt->bind_result($schema_text);
	while ($stmt->fetch()) :
		$jsonSchemas .= '<script type="application/ld+json">' . PHP_EOL . $schema_text . PHP_EOL . '</script>' . PHP_EOL;
	endwhile;
	$stmt->close();

	$hasImage = !empty($schema_bookchapter_bookpicture) && file_exists('images/' . $schema_bookchapter_bookpicture);
	$hasChiefEditor = !empty($schema_bookchapter_chiefeditor);
	$hasChiefEditorPicture = !empty($schema_bookchapter_chiefeditorpicture) && file_exists('images/' . $schema_bookchapter_chiefeditorpicture);

	$graph = array();

	// ImageObject (conditional)
	if ($hasImage) {
		$graph[] = array(
			'@type'      => 'ImageObject',
			'@id'        => $baseurl . 'publishbookchapter/' . $newlink . '#primaryimage',
			'url'        => $baseurl . 'images/' . $schema_bookchapter_bookpicture,
			'contentUrl' => $baseurl . 'images/' . $schema_bookchapter_bookpicture,
			'caption'    => $schema_bookchapter_bookname . ' Book Cover'
		);
	}

	// Chief Editor (conditional)
	if ($hasChiefEditor) {
		$chiefEditor = array(
			'@type'    => 'Person',
			'@id'      => $baseurl . 'publishbookchapter/' . $newlink . '#chiefeditor',
			'name'     => $schema_bookchapter_chiefeditor,
			'url'      => $baseurl . 'publishbookchapter/' . $newlink,
			'jobTitle' => 'Chief Editor',
			'worksFor' => array(
				'@type' => 'Organization',
				'@id'   => $baseurl . '#organization',
				'name'  => 'AkiNik Publications'
			)
		);

		if ($hasChiefEditorPicture) {
			$chiefEditor['image'] = $baseurl . 'images/' . $schema_bookchapter_chiefeditorpicture;
		}

		$graph[] = $chiefEditor;
	}

	// WebPage
	$webPage = array(
		'@type'       => 'WebPage',
		'@id'         => $baseurl . 'publishbookchapter/' . $newlink,
		'name'        => $schema_bookchapter_bookname,
		'url'         => $baseurl . 'publishbookchapter/' . $newlink,
		'description' => $schema_bookchapter_metadescription,
		'inLanguage'  => 'en',
		'isPartOf'    => array(
			'@type' => 'WebSite',
			'@id'   => $baseurl . '#website',
			'name'  => 'AkiNik Publications',
			'url'   => 'https://www.akinik.com'
		),
		'publisher'   => array(
			'@id' => $baseurl . '#organization'
		),
		'breadcrumb'  => array(
			'@type'           => 'BreadcrumbList',
			'itemListElement' => array(
				array(
					'@type'    => 'ListItem',
					'position' => 1,
					'name'     => 'Home',
					'item'     => 'https://www.akinik.com'
				),
				array(
					'@type'    => 'ListItem',
					'position' => 2,
					'name'     => 'Publish Book Chapter',
					'item'     => $baseurl . 'publishbookchapter'
				),
				array(
					'@type'    => 'ListItem',
					'position' => 3,
					'name'     => $schema_bookchapter_bookname,
					'item'     => $baseurl . 'publishbookchapter/' . $newlink
				)
			)
		)
	);

	if ($hasImage) {
		$webPage['primaryImageOfPage'] = array('@id' => $baseurl . 'publishbookchapter/' . $newlink . '#primaryimage');
		$webPage['image']              = array('@id' => $baseurl . 'publishbookchapter/' . $newlink . '#primaryimage');
		$webPage['thumbnailUrl']       = $baseurl . 'images/' . $schema_bookchapter_bookpicture;
	}

	$graph[] = $webPage;

	// Organization
	$graph[] = array(
		'@type'        => 'Organization',
		'@id'          => $baseurl . '#organization',
		'name'         => 'AkiNik Publications',
		'url'          => 'https://www.akinik.com',
		'logo'         => array(
			'@type'  => 'ImageObject',
			'url'    => $baseurl . 'images/logo.png',
			'width'  => 333,
			'height' => 65
		),
		'sameAs'       => array(),
		'contactPoint' => array(
			'@type'             => 'ContactPoint',
			'telephone'         => '9911215212',
			'contactType'       => 'Customer Support',
			'areaServed'        => 'Worldwide',
			'availableLanguage' => array('English', 'Hindi')
		),
		'address'      => array(
			'@type'          => 'PostalAddress',
			'addressCountry' => 'IN'
		)
	);

	// Book
	$book = array(
		'@type'       => 'Book',
		'name'        => $schema_bookchapter_bookname,
		'url'         => $baseurl . 'publishbookchapter/' . $newlink,
		'description' => $schema_bookchapter_metadescription,
		'publisher'   => array(
			'@id' => $baseurl . '#organization'
		),
		'inLanguage'  => 'en',
		'genre'       => $schema_bookchapter_subject,
		'about'       => array(
			'@type' => 'Thing',
			'name'  => $schema_bookchapter_subject
		)
	);

	if ($hasImage) {
		$book['image'] = $baseurl . 'images/' . $schema_bookchapter_bookpicture;
	}

	// Reviews - Add to Book schema
	$stmt = $mysqli->prepare("SELECT COUNT(*), ROUND(AVG(rating), 1) AS averageRating FROM bookchapter_reviews WHERE (bookchapter_id = ? AND status = 'approved')") or die('An error occurred. Please try after some time.');
	$stmt->bind_param('i', $bookchapterid);
	$stmt->execute();
	$stmt->store_result();
	$stmt->bind_result($countReviews, $averageRating);
	$stmt->fetch();
	$stmt->close();

	if ($countReviews > 0) {
		$book['aggregateRating'] = array(
			'@type'       => 'AggregateRating',
			'ratingValue' => $averageRating,
			'reviewCount' => $countReviews
		);

		$jsonLdReviews = array();
		$stmt = $mysqli->prepare("SELECT name, review, rating FROM bookchapter_reviews WHERE (bookchapter_id = ? AND status = 'approved')") or die('An error occurred. Please try after some time.');
		$stmt->bind_param('i', $bookchapterid);
		$stmt->execute();
		$stmt->store_result();
		$stmt->bind_result($reviewer_name, $review_body, $rating_value);
		while ($stmt->fetch()) {
			$jsonLdReviews[] = array(
				'@type'        => 'Review',
				'author'       => array(
					'@type' => 'Person',
					'name'  => $reviewer_name
				),
				'reviewRating' => array(
					'@type'       => 'Rating',
					'ratingValue' => $rating_value
				),
				'reviewBody'   => $review_body
			);
		}
		$stmt->close();

		$book['review'] = $jsonLdReviews;
	}

	// Add Book to graph
	$graph[] = $book;

	// Final Schema
	$jsonldScript = array(
		'@context' => 'https://schema.org',
		'@graph'   => $graph
	);

	$jsonSchemas .= '<script type="application/ld+json">' . PHP_EOL . json_encode($jsonldScript, JSON_UNESCAPED_SLASHES | JSON_UNESCAPED_UNICODE | JSON_PRETTY_PRINT) . PHP_EOL . '</script>' . PHP_EOL;
elseif ($pagename === 'blogs' && isset($_GET['slug'])) :
	$slug = filter_input(INPUT_GET, 'slug', FILTER_SANITIZE_STRING);
	$slug = htmlspecialchars($slug, ENT_QUOTES, 'UTF-8');

	$stmt = $mysqli->prepare("SELECT id, slug, title, meta_description, meta_keywords, header_tags FROM blogs WHERE slug = ? LIMIT 1") or die('An error occurred. Please try after some time.');
	$stmt->bind_param('s', $slug);
	$stmt->execute();
	$stmt->store_result();
	$count_page = $stmt->num_rows();
	$stmt->bind_result($blogId, $blogSlug, $blogTitle, $blogMetaDescription, $blogMetaKeywords, $blogHeaderTags);
	$stmt->fetch();
	$stmt->close();

	$headtitle        = $blogTitle;
	$pagetitle        = $blogTitle;
	$metadescription  = $blogMetaDescription;
	$metakeyword      = $blogMetaKeywords;
	$page_content     = '';
	$headerTags       = $blogHeaderTags;

	$stmt = $mysqli->prepare("SELECT schema_text FROM json_schemas WHERE model_id = ? and model_type = 'blog'") or die('An error occurred. Please try after some time.');
	$stmt->bind_param('i', $blogId);
	$stmt->execute();
	$stmt->store_result();
	$stmt->bind_result($schema_text);
	while($stmt->fetch()):
		$jsonSchemas .= '<script type="application/ld+json">' . PHP_EOL . $schema_text . PHP_EOL . '</script>' . PHP_EOL;
	endwhile;
	$stmt->close();
else :
	$stmt = $mysqli->prepare("SELECT pageid, title, metadescription, metakeyword, content FROM pages WHERE name = ? LIMIT 1") or die('An error occurred. Please try after some time.');
	$stmt->bind_param('s', $pagename);
	$stmt->execute();
	$stmt->store_result();
	$count_page = $stmt->num_rows();
	$stmt->bind_result($pageid, $pagetitle, $metadescription, $metakeyword, $page_content);
	$stmt->fetch();
	$stmt->close();

	$stmt = $mysqli->prepare("SELECT schema_text FROM json_schemas WHERE model_id = ? and model_type = 'page'") or die('An error occurred. Please try after some time.');
	$stmt->bind_param('i', $pageid);
	$stmt->execute();
	$stmt->store_result();
	$stmt->bind_result($schema_text);
	while($stmt->fetch()):
		$jsonSchemas .= '<script type="application/ld+json">' . PHP_EOL . $schema_text . PHP_EOL . '</script>' . PHP_EOL;
	endwhile;
	$stmt->close();

	$headtitle = ($pagename !== $basename) ? ' : ' . $websitename : '';
	$headtitle = html_entity_decode($pagetitle . $headtitle);
endif;

$pagetitle		= html_entity_decode($pagetitle);
$metadescription= html_entity_decode($metadescription);
$metakeyword	= html_entity_decode($metakeyword);
$page_content	= html_entity_decode($page_content);
?>
<!DOCTYPE html>
<html lang="en">
<head>
<meta charset="utf-8">
<meta http-equiv="X-UA-Compatible" content="IE=edge">
<meta name="viewport" content="width=device-width, initial-scale=1">
<meta name="description" content="<?php echo $metadescription; ?>" />
<meta name="keywords" content="<?php echo $metakeyword; ?>" />
<meta name="google-site-verification" content="Qp38eRTp0hyasTTXY0X89pe5eAG0lFaVOaURvYtVe64" />
<meta name="robots" content="index, follow, max-image-preview:large, max-snippet:-1, max-video-preview:-1">
<meta name="googlebot" content="index, follow">
<meta name="bingbot" content="index, follow">
<meta name="author" content="AkiNik Publications">
<meta name="publisher" content="AkiNik Publications">
<meta name="copyright" content="AkiNik Publications">
<meta name="language" content="English">
<meta name="distribution" content="global">
<meta name="rating" content="general">
<meta name="theme-color" content="#1a56db">
<meta name="msapplication-TileColor" content="#1a56db">
<meta name="apple-mobile-web-app-capable" content="yes">
<meta name="apple-mobile-web-app-title" content="AkiNik Publications">
<meta name="application-name" content="AkiNik Publications">
<meta property="og:title" content="<?php echo $headtitle; ?>">
<meta property="og:description" content="<?php echo $metadescription; ?>">
<meta property="og:type" content="website">
<meta property="og:url" content="<?php echo $canonicalUrl; ?>">
<meta name="twitter:card" content="summary_large_image">
<meta name="twitter:title" content="<?php echo $headtitle; ?>">
<title><?php echo $headtitle; ?></title>

<?php echo $jsonSchemas; ?>

<?php
if (isset($headerTags) && !empty($headerTags)) :
	echo PHP_EOL . $headerTags;
endif;
?>

<link rel="canonical" href="<?php echo $canonicalUrl;?>">
<link rel="shortcut icon" href="<?php echo $imageurl;?>favicon.ico" />
<link rel="preconnect" href="https://fonts.googleapis.com">
<link rel="preconnect" href="https://fonts.gstatic.com" crossorigin>
<link rel="dns-prefetch" href="https://fonts.googleapis.com">
<link rel="preconnect" href="https://cdnjs.cloudflare.com">
<link rel="stylesheet" href="https://fonts.googleapis.com/css?family=Roboto:400,500|Domine:400,700|Material+Icons" />
<link rel="stylesheet" href="https://cdnjs.cloudflare.com/ajax/libs/materialize/1.0.0-rc.2/css/materialize.min.css" />
<link rel="stylesheet" href="<?php echo $baseurl;?>js/owl.carousel.min.css" />
<link rel="stylesheet" href="<?php echo $baseurl;?>js/owl.theme.default.min.css" />
<link rel="stylesheet" href="https://cdn.jsdelivr.net/gh/kartik-v/bootstrap-star-rating@4.1.2/css/star-rating.min.css" type="text/css" />
<link rel="stylesheet" href="https://cdn.jsdelivr.net/gh/kartik-v/bootstrap-star-rating@4.1.2/themes/krajee-svg/theme.css" type="text/css" />
<link rel="stylesheet" href="<?php echo $baseurl;?>js/countrySelect.css">
<style type="text/css">
*{margin:0;box-sizing:border-box !important;outline:none}html,body{width:100%;height:100%}
body{color:#000;font-size:13px;font-family:'Roboto', sans-serif;overflow-y:scroll}

a,a:focus,a:hover{text-decoration:none}a img,img{float:left;max-width:100%;margin:0;border:none;object-fit:cover;overflow:hidden}.row{margin-bottom:0;clear:both}
b,h1,h2,h3,h4,h5,h6,label,strong,th{margin:0;font-weight:500}
h1{font-size:36px}h2{font-size:24px}h3{font-size:21px}h4{font-size:18px}h5{font-size:16px}h6{font-size:14px}

.fluid,.head:not(.row),.body,.foot,.box{float:left;width:100%;height:auto}.container{width:85%}

input[type=text],input[type=password],select,textarea,.btn-flat{border-radius:3px;-webkit-border-radius:3px;font-size:13px !important;font-family:'Roboto', sans-serif;resize:none}

.topbar{padding:5px 0;text-transform:uppercase}
.topbar .left-align,.topbar a.btn-flat{height:31px;line-height:32px;font-size:12px;}
.topbar a.btn-flat{padding:0 10px;font-size:12px !important;}

.header{padding:10px 0;background-color:#8b2500}

.header form{width:450px;margin-top:12px;overflow:hidden;display:flex}
.header form input[type=text]{height:36px;margin:0;padding:0 10px;border:none;border-radius:3px 0 0 3px;-webkit-border-radius:3px 0 0 3px;flex:1}
.header form input[type=text]:focus{border:none !important;box-shadow:none !important}.header form input::placeholder{color:#999}
.header form button{width:40px;height:36px;padding:0;border-radius:0 3px 3px 0;-webkit-border-radius:0 3px 3px 0}
.header form button i{font-size:21px}

.header form a{line-height:37px;margin-left:10px;padding:0 10px;font-weight:500}
.header form a i{margin-right:7px}

nav ul{display:flex}
nav ul li{flex-grow:1}
nav ul li a{padding:12px 0;color:#333;font-size:12px;font-weight:500;text-align:center;text-transform:uppercase;display:block;position:relative}
nav ul li a:hover{color:#2979ff}

nav *{height:auto;min-height:auto !important;line-height:normal}

nav a.sidenav-trigger,nav a.sidenav-trigger i{height:38px;line-height:38px;margin:0}

.sidenav a.btn-flat{height:36px;line-height:34px;padding:0;border:1px solid #fff;color:#fff !important;text-align:center !important}

.head.main{margin:30px 0}
.head.main h1{font-size:20px;font-weight:700;font-family:'Domine', serif}

.holder h2{font-size:14px}.holder a{color:#2979ff}

.books .book{margin-bottom:20px}
.books .book:not(.nobreak):nth-child(4n+1){clear:both;}
.books .book a{float:left;width:100%;padding-bottom:5px;border-bottom:1px dashed #ddd;color:#333}
.books .book img{width:100%;height:auto;margin-bottom:10px;display:block;}

.box{margin-top:10px;padding:10px;border:1px solid #e5e5e5;clear:both}
.box h6{margin-bottom:10px;color:#2979ff;clear:both}
.box h3{font-size: 14px;}
.box ul{padding-left:16px}
.box ul li{line-height:24px;list-style:disc}
.box img{width:100%}
.box table{width:auto}.box table tr{border:none}.box table td{padding:5px;border:1px solid #e5e5e5}
.box .cjsstyle .col img{margin-bottom: 10px;}
.box .cjsstyle .col{margin-bottom: 20px;}

.sidebar ul{margin-top:0}
.sidebar li.main{padding:10px !important;font-weight:500;text-transform:uppercase}
.sidebar li{line-height:normal !important;padding:0 !important;border-bottom:1px solid #eee}
.sidebar li:last-child{border-bottom:none}
.sidebar li a{padding:10px;color:#2979ff;font-weight:500;text-transform:uppercase;display:block}
.sidebar li a:hover{background-color:#eaeff6;color:#000}

.pagination{margin-bottom:20px}
.pagination a,.pagination span{margin-right:5px;padding:7px 12px 5px;background-color:#e5e5e5;border-radius:2px;-webkit-border-radius:2px;font-size:11px;font-weight:500;text-align:center;text-transform:uppercase;display:inline-block}
.pagination a{color:#333}
.pagination b{margin-right:5px;display:inline-block}

.account-head .blue{border-radius:4px;-webkit-border-radius:4px;display:flex;overflow:hidden}
.account-head .blue a{padding:10px 0;text-transform:uppercase;flex-grow:1;display:block;}
.account-head .blue a:hover{background-color:rgba(0,0,0,0.2)}
.account-head .blue a.active{color:#86b0f5 !important}

.orders{margin-top:10px}
.orders tr{border:none}.orders td{padding:10px;border:1px solid #e5e5e5}
.orders thead{border-bottom:1px solid #e5e5e5;text-transform:uppercase}
.orders thead td h5{margin-bottom:10px;font-weight:normal}
.orders thead td .bottom span,.orders thead td .bottom a{font-size:11px;font-weight:500}

.orders tbody td{vertical-align:top}
.orders tbody td img{width:100%}
.orders tbody td h5,.orders tbody td h6{font-weight:normal}

.shipping-detail{margin-top:10px;clear:both}
.shipping-detail .head{padding-bottom:5px;border-bottom:1px solid #e5e5e5;font-size:14px;font-weight:500;text-transform:uppercase}
.shipping-detail .body{padding:10px 0}
.shipping-detail .body h6{line-height:22px;font-weight:normal}

.bookchapter .row-1 .left:first-child{width:150px}
.bookchapter .row-1 h1{font-size:30px;font-family:'Domine', serif;font-weight:normal}
.bookchapter .row-1 ul{padding:0px;list-style:none;list-style-position:inside}
.bookchapter .row-1 ul li{float:left;width:100%;margin-bottom:5px;padding-left:20px;background:url('<?php echo $imageurl;?>check-icon.png') left 5px no-repeat;color:#2979ff;clear:both}

.bookchapter .row-2 .head{margin-bottom:10px;padding-bottom:5px;border-bottom:1px solid #e5e5e5}
.bookchapter .row-2 .body ul{padding-left:15px}
.bookchapter .row-2 .body ul li{float:left;width:100%;margin-top:5px;font-weight:500;clear:both;list-style-type:square}
.bookchapter .row-2 .body ul li ul{padding-left:17px}
.bookchapter .row-2 .body ul li ul li{float:left;width:100%;margin-top:5px;color:#2979ff;font-weight:normal;clear:both}
.bookchapter .row-2 .body ul li ul li a{color:#2979ff}
.bookchapter .row-2 .body ul li ul li a:hover{text-decoration:underline}

.bookchapter.info{padding:50px 0px;color:#fff;line-height:normal}
.bookchapter.info .col.border{border-right:1px solid #fff}
.bookchapter.info .coverpage{float:none;max-width:200px}
.bookchapter.info .heading{padding:6px 10px;background-color:#03796c;border-radius:2px;-moz-border-radius:2px;-webkit-border-radius:2px;font-size:13px;display:inline-block;clear:both}
.bookchapter.info ul li.scope{margin:0px 3px 6px;padding:4px 6px 5px;border:1px solid #fff;border-radius:3px;font-size:12px;display:inline-block}
.bookchapter.info .col.rs img{border-radius:5px;-moz-border-radius:5px;-webkit-border-radius:5px}

.product-detail .z-depth-1{box-shadow:0 1px 2px rgba(0,0,0,0.3);-webkit-box-shadow:0 1px 2px rgba(0,0,0,0.3)}
.product-detail h1{font-size:20px;font-family:'Domine', serif}

.product-detail ul li{margin-bottom:7px;clear:both}.product-detail ul li:last-child{margin-bottom:0}
.product-detail ul li span{float:left;width:120px}

.product-detail form{border:none}
.product-detail form .head,.product-detail form .body{padding:9px 10px;border-bottom:1px solid #eee;font-weight:500;text-transform:uppercase}
.product-detail form .body,.product-detail form .foot{padding:10px}
.product-detail form .body .divider{ margin:20px 0 10px;border-top:1px dashed #f8f8f8}
.product-detail form .foot button{width:100%}

.product-secondary .head{margin-bottom:10px;border-bottom:1px solid #e5e5e5}
.product-secondary .head h4{font-weight:700;font-family:'Domine', serif;text-transform:uppercase}
.product-secondary .body ul{padding-left:17px;}
.product-secondary .body ul li{list-style-type: disc !important;}

.product-link{padding-left:15px}
.product-link li{float:left;width:100%;margin-bottom:10px;clear:both;font-weight:500}
.product-link li span,.product-link li a,.product-link ol li img{float:left;margin-right:10px}
.product-link li span:first-child{width:150px}
.product-link li a:hover{text-decoration:underline}

.product-detail table.chapter{margin-top:20px}
.product-detail table.chapter th{padding:5px;background-color:#eee;border:1px solid #e5e5e5}
.product-detail table.chapter th.xs{width:60px}.product-detail table.chapter th.sm{width:80px}
.product-detail table.chapter td{padding:5px;border:1px solid #e5e5e5}

.productreviews .productreview:nth-child(2n+1){clear:both;}

.cart{margin-top:20px}
.cart .head{padding:10px;font-size:14px}
.cart table tr{border:none;border-top:1px solid #e8e8e8}
.cart table th.xs{width:100px}
.cart table th{font-size:13px !important;font-weight:500 !important}
.cart table th,.cart table td{padding:10px;font-size:15px;font-weight:normal;vertical-align:top}
.cart table td img{width:100%}

.cart table td .binfo h4{font-size:16px;font-weight:normal}
.cart table td .binfo b{margin-top:5px;font-size:12px;display:block;clear:both}

.cart form{border:none;border-radius:0}
.cart form .btn-flat.remove{width:100%;height:30px;line-height:31px;margin-top:5px;font-size:11px !important;font-weight:500}

.cart form .qfield{margin-top:10px;border:1px solid #e5e5e5;border-radius:2px;-webkit-border-radius:2px}
.cart form .qfield input[type=text],.cart form .qfield button{padding:0;border:none;border-radius:0}
.cart form .qfield input[type=text]{width:30px;height:24px;line-height:auto;margin:0}
.cart form .qfield input[type=text]:focus,.cart form .qfield input[type=text]:disabled{border:none;box-shadow:none !important}
.cart form .qfield button{width:24px;height:24px;cursor:pointer}
.cart form .qfield button:first-child{border-right:1px solid #e5e5e5}.cart form .qfield button:last-child{border-left:1px solid #e5e5e5}
.cart form .qfield button i{line-height:16px;font-size:12px}

.checkout-tab{margin:20px 0 10px}
.checkout-tab .col.active h2{background-color:#2979ff;color:#fff}
.checkout-tab .col.active h3{color:#2979ff}
.checkout-tab .col h2{width:30px;height:30px;line-height:31px;background-color:#e5e5e5;border-radius:25px;-webkit-border-radius:25px;font-size:14px;display:inline-block;clear:both}
.checkout-tab .col h3{margin-top:7px;font-size:14px;text-transform:uppercase;display:block;clear:both}

.form,.cart{border:1px solid #ddd;border-radius:4px;-webkit-border-radius:4px;overflow:hidden;clear:both}
.form label{float:left;color:#333;font-size:11px;font-weight:500;text-transform:uppercase}
.form input[type=text],.form input[type=password],.form textarea,.form select{height:32px;margin-bottom:10px;padding:0 5px;border:1px solid #d9d9d9;border-radius:3px;-webkit-border-radius:3px}
.form input[type=text]:focus,.form input[type=password]:focus,.form textarea:focus,.form select:focus{border-color:#2979ff !important;box-shadow:0 1px 1px rgba(0,0,0,0.1) inset !important;-webkit-box-shadow:0 1px 1px rgba(0,0,0,0.1) inset !important;outline:none}.form textarea{min-height:80px;padding:5px}
.form input[type=text]:disabled,.form input[type=password]:disabled,.form textarea:disabled,.form select:disabled{border:1px solid #e5e5e5 !important}

.form div.hidden{display:none}.smsg{padding:20px 10px;border:1px solid #c8e6c9;border-radius:4px;-webkit-border-radius:4px;display:none}

#toast-container{top:auto;bottom:30px;right:30px}.toast{font-size:14px}

.trackorder .col input[type=text],.trackorder .col select{height:36px;margin-bottom:10px;padding:0 5px;border:1px solid #d9d9d9;border-radius:3px;-webkit-border-radius:3px}
.trackorder .col input[type=text]:focus,.trackorder .col select:focus{border-color:#2979ff !important;box-shadow:0 1px 1px rgba(0,0,0,0.1) inset !important;-webkit-box-shadow:0 1px 1px rgba(0,0,0,0.1) inset !important;outline:none}

.bjcol{border-left:1px solid #cfd8dc}

.journallisthead{margin-bottom:10px;padding:7px 10px 8px;font-size:13px;text-transform:uppercase;clear:both}
.journallistbody .col{margin-bottom: 10px;}
.journallistbody .col table td:first-child{width: 100px;}
.journallistbody .col table td{text-align:left;vertical-align:top;-ms-word-break:break-all;word-break:break-all;word-break:break-word;-webkit-hyphens:auto;-moz-hyphens:auto;hyphens:auto;overflow-wrap:break-word;}
.journallistbody .col table td img{float: left;width: 100%;}

.subscriptionservices{text-align:left}
.subscriptionservices .card.blue-grey{padding:10px;clear:both;}
.subscriptionservices h2{margin-bottom:10px;font-size:20px;color:#f00}
.subscriptionservices p{margin-bottom:10px;line-height:24px;font-size:14px;clear:both}
.subscriptionservices ul{padding-left:17px}
.subscriptionservices ul li{list-style:disc}
.subscriptionservices .owl-carousel .item img{border:1px solid #ccc}

.footer{padding:15px 20px 10px}
.footer h3{font-size:16px;font-weight:normal;text-transform:uppercase}
.footer ul{margin-top:15px}
.footer ul li{line-height:24px;font-size:13px}
.footer ul li a{color:#fff}.footer ul li a:hover{text-decoration:underline}
.footer ul li ul{margin: 0;padding: 0;}
.footer ul li ul li{list-style-type: disc;list-style-position: inside;}

.footer.b{padding:10px 0}
.footer.b .col{line-height:30px;font-size:11px;text-transform:uppercase}

.emsg{border:1px solid #e5e5e5;border-radius:4px;-webkit-border-radius:4px;font-weight:500;text-transform:uppercase}
.emsg i{font-size:48px}

.contactdetails ul:not(.unstyled) li{*display: flex;align-items: center;margin-bottom: 5px;}
.contactdetails h4{font-size: 14px;margin-bottom: 5px;}
.contactdetails p{font-size: 14px;display: flex;align-items: center;}
.contactdetails ul.unstyled li{margin-bottom: 12px;}
.contactdetails ul li i.material-icons{line-height: 24px !important;}

.whatsapp{width:40px;height:140px;margin:auto;position:fixed;top:0;bottom:0;right:0;z-index:99999;display:none}

a.animated-button{animation: c93Gbe .5s ease-in infinite alternate;font-weight:500}

@keyframes c93Gbe {
	0% {background-color: transparent;}
	100% {background-color: #f00;}
}

@media(max-width:992px){
.container,.header form{width:100%}.head.main{margin:25px 0}
.header .col{text-align:center}.header .col img{float:none}
.product-detail form{margin-top:10px}
.bookchapter.info .col.border{border:none}

.sidenav{background:#616161 url('<?php echo $imageurl.'sidebar-grid.png';?>') left bottom no-repeat}
.sidenav li{background-color:#616161;border-bottom:1px solid #757575;font-size:14px;font-weight:500;text-transform:uppercase}
.sidenav li a{padding-left:20px;padding-right:20px;color:#fff;font-size:13px}

.footer .col{margin-bottom:15px;text-align:center}.footer .col:last-child{margin-bottom:0}
.footer .col img{float:none}
.footer.b{padding:10px 0 2px}
.footer.b .col{line-height:normal;margin:0 0 10px;padding:0}
iframe{width:100% !important}
.hSfpFd{margin-top: 10px;}
}
@media(max-width:600px){
.head.main{margin:20px 0 10px}.head.main h1{font-size:16px}

.indexpage .col a.btn-flat{padding:0 10px;font-size:11px !important;font-weight:500}

.bjcol{margin-top:20px;border:none}

.bookchapter .row-2 .body ul li ul{padding-left:0}

.pagination{display:flex}.pagination a,.pagination span{margin:0 1px;padding:7px 0 5px;flex-grow:1}.pagination b{margin-right:0}

.product-detail .coverpage{margin-bottom:15px}
.product-detail .coverpage img{float:none !important;width:190px;margin:0 auto}
.product-detail h1{font-size:16px}

.cart table tbody td,.cart table tfoot td{padding:3px 0 5px;text-align:center;display:block}
.cart table tbody td img{float:none;max-width:128px;margin-top:7px}
.cart table tbody td form .btn-flat.remove{border-radius:0 !important}
.cart table tbody td form .qfield,.cart table tbody td .price.mob{float:none !important;display:inline-block}
.cart table tbody td .price{margin:10px 0 3px;font-size:12px;text-transform:uppercase}
.cart table tfoot td{padding:0}
.cart table tfoot td form button{width:100% !important;border-radius:0;display:block;clear:both}

.cart table tfoot td span{margin:5px 10px;font-size:13px}

.checkout-tab{margin-bottom:0}
.checkout-tab .col{margin-bottom:15px}.checkout-tab .col:last-child{margin-bottom:0}

#toast-container{bottom:0;right:0}


.box .row .col:not(:last-child){margin-bottom: 20px;}

.books .book:nth-child(2n+1){clear:both;}
.a4bIcR{margin: 0 !important;}
}

.loader{height:100%;background-color:rgba(255,255,255,0.3);position:fixed;top:0;bottom:0;left:0;right:0;z-index:99998;display:none}
.loader .loading{width:160px;height:42px;line-height:42px;margin:auto;padding-left:50px;background:url('<?php echo $imageurl;?>loader.gif') 10px center no-repeat;border-radius:0 0 4px 4px;font-size:14px;font-weight:500;text-transform:uppercase;position:fixed;top:0;left:0;right:0;z-index:99999}

.downloadicon{
    float: left;
    width: 24px;
    height: 24px;
    animation: bouncedownloadicon infinite linear 0.5s;
}
@keyframes bouncedownloadicon {
    0%   {transform: translateY(0);}
    50%   {transform: translateY(10px);}
    100% {transform: translateY(0);}
}

.contactsupplierform {
width: 300px; height: auto; background-color: #fff; box-shadow: 0 0 10px rgba(0,0,0,0.25); position: fixed; bottom: 0; right: 10px; border-radius: 8px 8px 0 0; overflow: hidden; z-index: 999;
}
.contactsupplierform .contactsupplierformheader {
float: left; width: 100%; height: 40px; background: #8b2500; border: none; color: #fff; font-weight: 500; padding: 0 10px; display: flex; align-items: center; justify-content: space-between; cursor: pointer;
}
.contactsupplierform label {
float: left; width: 100%; text-transform: uppercase; color: #333;
}
.contactsupplierform input,.contactsupplierform select {
float: left; width: 100%; height: 34px !important; margin: 0 !important; padding: 0px 7px !important; background-color: #fff !important; border: 1px solid #d9d9d9 !important;border-radius: 4px !important; box-shadow: none !important; outline: none !important;
}
.contactsupplierform input::placeholder {
color: #777;
}
.contactsupplierform button {
float: left; width: 100%;
}
.contactsupplierform .minimizeable {
display: none;
}
.contactsupplierform .minimizeable .errorline {
float: left; width: 100%; clear: both;
}
.supenqresmodal{max-width: 450px !important;height: 75px;background: #dc3545;border-radius: 4px;color: #fff;font-size: 18px;top: 0 !important;bottom: 0;margin: auto;}
.supenqresmodal button{background: none;border: none;width: 24px;height: 24px;position: absolute;top: 5px;right: 5px;color: #fff;}

.supenqwhatsappbutton{position: fixed;left: 0;right: 0;bottom: 0;width: 100%;height: 56px !important;font-family:'Roboto', sans-serif;font-size: 14px;font-weight: 500;z-index: 1000;display: flex;align-items: center;justify-content: center;column-gap: 10px;}


.bs-row {--bs-gutter-x: 1.5rem;display: flex;flex-wrap: wrap;margin-right: calc(-0.5 * var(--bs-gutter-x));margin-left: calc(-0.5 * var(--bs-gutter-x));text-align: center;}
.bs-row > * {flex-shrink: 0;width: 16.66666667%;display: flex;flex-direction: column;align-items: center;justify-content: start;row-gap: 10px;margin-bottom: 30px;padding-right: calc(var(--bs-gutter-x) * 0.5);padding-left: calc(var(--bs-gutter-x) * 0.5);}
.bs-row > * > a {display: inline-flex;flex-direction: column;row-gap: 8px;}

.mobilebuttons{display: flex;align-items: center;justify-content: center;clear: both;float: left;width: 100%;column-gap: 10px;margin-top: 10px;}
.mobilebuttons.d-flex-col{flex-direction: column;row-gap: 10px;}
.mobilebuttons .enqbtn{border-radius: 17px;border: 1px solid #2e3192;height: 34px;width: 100%;background: #fff;display: flex;align-items: center;justify-content: center;color: #2e3192;font-weight: 500;column-gap: 5px;text-decoration: none;cursor: pointer;}
.mobilebuttons .enqbtn.bgbtn{background: #2e3192;color: #fff;}
.mobilebuttons .enqbtn.hideonlarge{display: none;}
.mobilebuttons .enqbtn span{font-size: 18px;}

@media(max-width:768px){.bs-row > * {width: 25%;}}
@media(max-width:600px){.bs-row > * {width: 50%;}.mobilebuttons .enqbtn.hideonlarge{display: flex;}.mobilebuttons .enqbtn.hideonsmall{display: none;}}

.subscriptionenquirycanvas{background: #e6ebf8;position: fixed;bottom: -84px;left: 0;right: 0;z-index: 999;padding: 0 12px;box-shadow: 0 -5px 5px rgba(0, 0, 0, 0.15);transition: all linear 0.25s;height: 74px;}
.subscriptionenquirycanvas .container{display: flex;align-items: center;justify-content: space-between;height: 74px;}
.subscriptionenquirycanvas .container .hideonmobile{display: flex;align-items: center;column-gap: 15px;}
.subscriptionenquirycanvas .container .buttongroup{display: flex;align-items: center;column-gap: 5px;}
.subscriptionenquirycanvas .container a.enqbtn,
.subscriptionenquirycanvas .container button.enqbtn{padding: 0 9px;background: #fe610c;border-radius: 5px;color: #fff;font-weight: 500;font-family: 'Roboto', sans-serif;color: #fff;font-size: 13px;height: 34px;display: inline-flex;border: 1px solid transparent;align-items: center;column-gap: 5px;cursor: pointer;}
.subscriptionenquirycanvas .container a.enqbtn.wab{border-color: #fe610c;background: #fff;color: #fe610c;}
@media(max-width:600px){.subscriptionenquirycanvas .container .hideonmobile{display: none;}.subscriptionenquirycanvas .container{justify-content: center;}}

#popupenquirymodal.modal{max-width:550px;border-radius:12px;max-height: 80%;}
#popupenquirymodal .modal-header{background: #0259b9;height: 120px;display: flex;align-items: center;justify-content: center;flex-direction: column;position: relative;row-gap: 10px;}
#popupenquirymodal .modal-header h5{color: #fff;font-size: 20px;font-weight: 500;font-family: 'Roboto', sans-serif;}
#popupenquirymodal .modal-header b{color: #fff;font-size: 15px;font-weight: 500;font-family: 'Roboto', sans-serif;}
#popupenquirymodal .modal-header button{background: none;width: 24px;height: 24px;display:flex;align-items: center;justify-content: center;border: none;cursor: pointer;position: absolute;top: 10px;right: 10px;color: #fff;}
#popupenquirymodal .modal-content form{padding: 15px 0 2px;}
#popupenquirymodal .modal-content form .form-row{--bs-gutter-x: 1rem;display: flex;flex-wrap: wrap;}
#popupenquirymodal .modal-content form .form-row > *{width: 100%;flex-shrink: 0;padding-right: calc(var(--bs-gutter-x) * 1);padding-left: calc(var(--bs-gutter-x) * 1);margin-bottom: 15px;}
#popupenquirymodal .modal-content form .form-row-2 > *{width: 50%;}
#popupenquirymodal .modal-content form .form-row label{text-transform: uppercase;font-size: 11px;font-weight: 500;color: #333;float: left;display: block;}
#popupenquirymodal .modal-content form .form-row .subscriptionfield{background: #fff;border-radius: 4px;width: 100%;border:1px solid #dee2e6;height: 34px;padding:0 7px;box-shadow: none;outline: none;font-family: 'Roboto', sans-serif;float: left;margin: 0;box-sizing: border-box;}
#popupenquirymodal .modal-content form .form-row textarea.subscriptionfield{height: 80px;padding:7px;}
#popupenquirymodal .modal-content form .form-row .subscriptionfield:focus{border-color: #0259b9;}
#popupenquirymodal .modal-content form .form-row button,
#popupenquirymodal .modal-content form .form-row .sloader{width: 130px;height:34px;line-height:34px;padding:0px 12px;background:#0259b9;border:none;border-radius:4px;color:#fff;font-size:12px;font-weight:500;text-align:center;text-transform:uppercase;cursor:pointer;box-shadow:0px 1px 1px rgba(0,0,0,0.3);margin:auto;display: inline-block;font-family: 'Roboto', sans-serif;}
#popupenquirymodal .modal-content form .form-row button:active{background:#187bcf}
#popupenquirymodal .modal-content form .form-row .sloader{opacity: 0.5;cursor: default;display: none;}
.customtoast button{background: none;width: 24px;height: 24px;display:flex;align-items: center;justify-content: center;border: none;cursor: pointer;}
@media(max-width:600px){#popupenquirymodal.modal{top:10px !important;min-height: 90%;width:95%;}#popupenquirymodal .modal-content form .form-row-2 > *{width: 100%;clear: both;}}

.grecaptcha-badge { 
    visibility: hidden !important;
}

.card-primary{border-radius: 16px;background: #ecf1f7;margin: 0;overflow: hidden;}
.card-primary .card-content{display: flex;align-items: start;justify-content: start;column-gap: 50px;}
.card-primary .card-content .card-ribbon{--r: .8em;border-block: .5em solid #0000;padding-inline: .5em calc(var(--r) + .25em);line-height: 1.8;clip-path: polygon(100% 0,0 0,0 100%,100% 100%,100% calc(100% - .25em),calc(100% - var(--r)) 50%,100% .25em);width: fit-content;font-size: 18px;color: #fff;}
.card-primary .card-content .card-ribbon.step-1{background: radial-gradient(.2em 50% at left,#000a,#0000) border-box,#006cdf padding-box;}
.card-primary .card-content .card-ribbon.step-2{background: radial-gradient(.2em 50% at left,#000a,#0000) border-box,#338384 padding-box;}
.card-primary .card-content .card-ribbon.step-3{background: radial-gradient(.2em 50% at left,#000a,#0000) border-box,#017eff padding-box;}
.card-primary .card-content .card-image{min-width: 300px;transition: transform .7s ease;}
.card-primary .card-content .card-image:hover{transform: scale(1.1);}
.card-primary .card-content .card-table{table-layout: fixed;}
.card-primary .card-content .card-table thead{background: #017eff;color: #fff;}
.card-primary .card-content .card-table tr{border: none;}
.card-primary .card-content .card-table tr td{padding: 5px;border: 1px solid #017eff;font-weight: 500;}
.card-primary .card-content .card-table tbody tr td{background: #dde7f1;}
.card-primary .card-content .card-form{display: flex;flex-direction: column;row-gap: 10px;width: 100%;}
.card-primary .card-content .card-form label{text-transform: uppercase;color: #333;}
.card-primary .card-content .card-form .form-control{height: 36px !important;border: 1px solid #97a0ac !important;box-shadow: none !important;outline: none;padding: 6px !important;width: 100%;float: left;border-radius: 4px;margin: 0;background: #fff;}

.bookservices{display: flex;flex-wrap: wrap;margin: 0 -12px;row-gap: 24px;justify-content: center;}
.bookservices > *{width: 33.3333%;padding: 0 12px;}
.bookservices .card{border-radius: 12px;margin: 0;height: 100%;}
.bookservices .card-content{display: flex;justify-content: center;align-items: center;text-align: justify;flex-direction: column;row-gap: 15px;}
.bookservices .card-content .card-title{font-size: 18px;font-weight: 500;margin: 0;}

.becomepart{display: flex;justify-content: center;align-items: center;flex-direction: column;text-align: center;row-gap: 20px;background: #34607d;color: #fff;padding: 30px 8px;border-radius: 12px;}
.becomepart h2{font-size: 30px;}

.styledbooks{border-radius: 12px;}
.styledbooks .card-content{display: flex;flex-direction: column;row-gap: 40px;}
.styledbooks .card-content .card-title{display: flex;align-items: center;text-align:center;}
.styledbooks .card-content .card-title::before,
.styledbooks .card-content .card-title::after{content: '';flex: 1;height: 2px;background-color: #d9d9d9;}
.styledbooks .card-content .card-title h2{background: #fff;margin: 0 10px;font-size: 28px;text-align:center;}
.styledbooks .card-footer{display: flex;justify-content: center;padding: 30px 0;}
.styledbooks .card-footer a{font-weight: 500;background: #000;color: #fff;}

.inlineform{background: #91c749;border-radius: 12px;padding: 20px 24px;}
.inlineform .inlineformtitle{color: #fff;text-transform: uppercase;font-size: 28px;font-weight: 500;text-align: center;margin-bottom: 20px;}
.inlineform .flexible{display: flex;align-items: center;margin: 0 -12px;flex-wrap: wrap;justify-content: center;}
.inlineform .flexible .input-group{width: 20%;padding: 0 12px;}
.inlineform .flexible .input-group .form-control,.inlineform form .input-group select{float: left;width: 100%;height: 36px !important;border: none !important;box-shadow: none !important;outline: none;padding: 6px !important;border-radius: 2px;margin: 0;background: #fff;flex-grow: 1;}
.inlineform .flexible .input-group .form-control::placeholder{color: #999;}

.bookpublicationbuttons{display: flex;justify-content: space-around;}

@media (max-width:768px) {
	.inlineform .flexible{margin: 0;flex-direction: column;row-gap: 15px;}
	.inlineform .flexible .input-group{width: 100%;padding: 0;}
}

.ab_accordion{width: 100%;}
.ab_accordion .ab_accordion_section{margin-bottom: 5px;}
.ab_accordion_header{cursor: pointer;background-color: #4660b6;color:#fff;padding: 8px 12px;font-weight: 500;border-radius: 6px;display: flex;align-items: center;justify-content: space-between;}
.ab_accordion_content{padding: 10px 12px;border: 1px solid #e5e5e5;border-radius: 0 0 6px 6px;display: none;}
.ab_accordion_header span.material-icons{transition: all 0.3s ease;}
.ab_accordion_header.active{border-radius: 6px 6px 0 0;}
.ab_accordion_header.active span.material-icons{transform: rotate(180deg);}

@media(max-width:768px){
	.card-primary .card-content{flex-direction: column;row-gap: 50px;}
	.card-primary .card-content .order-0{order: 1;}
	.card-primary .card-content .order-1{order: 0;display: flex;justify-content: center;align-items: center;width: 100%;}
	.bookservices > *{width: 50%;}
	.uploadbookbox .card-content form .inlinerow{flex-direction: column;row-gap: 15px;}
    .styledbooks .card-content .card-title h2{font-size: 18px;}
}
@media(max-width:600px){
	.bookservices{margin: 0;}
	.bookservices > *{width: 100%;padding: 0;}
	.bookpublicationbuttons{flex-direction: column;row-gap: 10px;}
}

.zoomimage img{transition: .2s linear;}
.zoomimage img:hover{transform: scale(1.1);}

.modal-enquiry { border-radius: 12px; }
.modal-enquiry .modal-head { background: #0259b9; height: 150px; display: flex; align-items: center; justify-content: center; flex-direction: column; row-gap: 10px; color: #fff; position: relative; }
.modal-enquiry .modal-head button { position: absolute; top: 5px; right: 5px; width: 24px; height: 24px; padding: 0; line-height: normal; }
.modal-enquiry .modal-head button span { font-size: 22px; display: block; }
.modal-enquiry .modal-body { padding: 10px 6px 0; }
.modal-enquiry .modal-body .row { margin: 0; }
.modal-enquiry .modal-body .row .col { margin-bottom: 10px; padding: 0 12px; }
.modal-enquiry .modal-body .row .col .form-label { color: #333; text-transform: uppercase; font-size: 11px; }
.modal-enquiry .modal-body .row .col .form-control { width: 100%; height: 34px; border: 1px solid #d9d9d9; border-radius: 4px; padding: 6px 8px; box-shadow: none; outline: none; margin: 0; }
.modal-enquiry .modal-body .row .col .form-control:focus { border-color: #2979ff; }
.modal-enquiry .modal-body .row .col .input-group { display: flex; }
.modal-enquiry .modal-foot { padding: 10px 18px; border-top: 1px solid #e5e5e5; display: flex; column-gap: 10px; justify-content: center; }
.modal-enquiry .modal-foot .btn-flat { font-size: 12px !important; font-weight: 500 !important; border-radius: 6px !important; }

@media (min-width: 600px) {
	.modal-enquiry { width: 600px; max-height: 100%; }
}
@media (max-width: 600px) {
	.modal-enquiry { width: 95%; top: 5% !important; max-height: 90%; }
}

.phone-number { color: #1D4ED8; font-weight: 500; cursor: pointer; position: relative; display: inline-block; } 
.popover { display: none; position: absolute; bottom: 100%; left: 50%; transform: translateX(-50%); background: #fff; color: white; padding: 3px; border-radius: 8px; box-shadow: 0 2px 6px rgba(0, 0, 0, 0.2); width: max-content; white-space: nowrap; opacity: 0; transition: opacity 0.3s ease-in-out; z-index: 10; } 
.phone-number:hover .popover { display: flex; column-gap: 3px; opacity: 1; } 
.popover-button { background-image: url('https://www.akinik.com/images/popover-sprite.png'); background-repeat: no-repeat; color: white; padding: 0; border: none; border-radius: 5px; cursor: pointer; font-size: 14px; transition: background-color 0.3s; width: 36px; height: 36px; display: flex; align-items: center; justify-content: center; border: none; } 
.popover-button:active { background-color: #e5e5e5; } 
.popover-button svg { fill: #333; } 
.popover-button.popover-whatsapp { background-position: 0 center; } 
.popover-button.popover-phone { background-position: -36px center; } 
.popover-button.popover-copy { background-position: -72px center; }

.peer-reviewed-button-group { display: flex; column-gap: 15px; }
.peer-reviewed-button-group .peer-reviewed-button { display: flex; align-items: center; justify-content: center; column-gap: 5px; text-wrap: nowrap; text-align: center; }

@media (max-width: 600px) {
    .peer-reviewed-button-group .peer-reviewed-button { column-gap: 0; width: 100%; }
    .peer-reviewed-button-group .peer-reviewed-button img { display: none; }
}

.row-country-selector .container {
	display:flex;align-items:center;justify-content:space-between;padding:6px 10px;
}
.row-country-selector button {
	height:auto;padding:0;
}
.row-country-selector button i.material-icons {
	display:block;line-height:normal;
}

.topbar span {
	font-size: 11px;margin-left: 10px;
}
.topbar select.countries {
	height:31px;width:100px;margin-left:10px;outline:none;border:none;
}

button.currency-changer {
	border:none;font-family:'Roboto', sans-serif;font-size: 13px;padding:0;cursor:pointer;height:auto;line-height:normal;font-weight:500;background:transparent;margin-left:5px;color:#2979ff;
}
button.currency-changer:hover {
	text-decoration:underline;
}

.bottom-canvas { position: fixed; left: 0; right: 0; z-index: 999; transition: .2s all linear; background: #e6ebf8; box-shadow: 0 -3px 5px rgba(0,0,0,0.15); height: 65px; display: flex; align-items: center; }
.bottom-canvas.open { bottom: 0; }
.bottom-canvas:not(.open) { bottom: -65px; }
.bottom-canvas .container { display: flex; align-items: center; justify-content: space-between; }
.bottom-canvas .logo-container { display: flex; column-gap: 10px; align-items: center; }
.bottom-canvas .logo-container img { display: block; float: left; }
.bottom-canvas .btn-group { display: flex; align-items: center; column-gap: 10px; }
.bottom-canvas .btn-group .btn-enquiry { border: 1px solid #f57c00; display: flex; align-items: center; column-gap: 5px; text-transform: uppercase; font-size: 11px; font-weight: 500; line-height: 33px; height: 33px; padding: 0 12px; border-radius: 6px; }

.model-popup { border-radius: 12px; height: 90% !important; max-height: 90% !important; top: 5% !important; }
.model-popup .modal-header { display: flex; flex-direction: column; row-gap: 3px; padding: 30px 6px; }
.model-popup .modal-header b { font-size: 24px; }
.model-popup .modal-header p { font-size: 16px; }
.model-popup .modal-content { padding: 0; }
.model-popup .row { margin: 0; padding: 10px; }
.model-popup .row .col { margin-bottom: 10px; }
.model-popup .form-label { text-transform: uppercase; color: #000; }
.model-popup .form-control { border: 1px solid #d9d9d9 !important; border-radius: 4px !important; height: 34px !important; line-height: normal !important; padding: 0 8px !important; box-shadow: none !important; outline: none !important; background: #fff !important; display: block !important; }
.model-popup .input-group { display: flex; }
.model-popup .modal-footer { display: flex; align-items: center; justify-content: end; column-gap: 10px; padding-left: 20px; padding-right: 20px; }
.model-popup .modal-footer button { border-radius: 6px; font-size: 11px; font-weight: 500; margin: 0; }

@media (max-width:992px) {
	.bottom-canvas .container { justify-content: center; }
	.model-popup .modal-header { padding: 15px 20px; }
}

.bottom-canvas { position: fixed; left: 0; right: 0; z-index: 999; transition: .2s all linear; background: #e6ebf8; box-shadow: 0 -3px 5px rgba(0,0,0,0.15); height: 65px; display: flex; align-items: center; }
.bottom-canvas.open { bottom: 0; }
.bottom-canvas:not(.open) { bottom: -65px; }
.bottom-canvas .container { display: flex; align-items: center; justify-content: space-between; }
.bottom-canvas .logo-container { display: flex; column-gap: 10px; align-items: center; }
.bottom-canvas .logo-container img { display: block; float: left; }
.bottom-canvas .btn-group { display: flex; align-items: center; column-gap: 10px; }
.bottom-canvas .btn-group .btn-enquiry { border: 1px solid #f57c00; display: flex; align-items: center; column-gap: 5px; text-transform: uppercase; font-size: 11px; font-weight: 500; line-height: 33px; height: 33px; padding: 0 12px; border-radius: 6px; }

.model-popup { border-radius: 12px; height: 90% !important; max-height: 90% !important; top: 5% !important; }
.model-popup .modal-header { display: flex; flex-direction: column; row-gap: 3px; padding: 30px 6px; }
.model-popup .modal-header b { font-size: 24px; }
.model-popup .modal-header p { font-size: 16px; }
.model-popup .modal-content { padding: 0; }
.model-popup .row { margin: 0; padding: 10px; }
.model-popup .row .col { margin-bottom: 10px; }
.model-popup .form-label { text-transform: uppercase; color: #000; }
.model-popup .form-control { border: 1px solid #d9d9d9 !important; border-radius: 4px !important; height: 34px !important; line-height: normal !important; padding: 0 8px !important; box-shadow: none !important; outline: none !important; background: #fff !important; display: block !important; }
.model-popup .input-group { display: flex; }
.model-popup .modal-footer { display: flex; align-items: center; justify-content: end; column-gap: 10px; padding-left: 20px; padding-right: 20px; }
.model-popup .modal-footer button { border-radius: 6px; font-size: 11px; font-weight: 500; margin: 0; }

@media (max-width:992px) {
	.bottom-canvas .container { justify-content: center; }
	.model-popup .modal-header { padding: 15px 20px; }
}

.card-styled { background-color: #cfd8dc !important; margin: 0; box-shadow: none; border-radius: 12px; }
.card-styled .row .col { margin-bottom: 10px; }
.card-styled .form-label { text-transform: uppercase; color: #000; }
.card-styled .form-control { border: 1px solid #97a0ac !important; border-radius: 4px !important; height: 34px !important; line-height: normal !important; padding: 0 8px !important; box-shadow: none !important; outline: none !important; background: #fff !important; display: block !important; margin: 0 !important; }
.card-styled textarea.form-control { height: auto !important; padding: 8px !important; }
.card-styled .card-action { background: transparent; }

.card-styled .card-content { display: flex; flex-wrap: nowrap; flex-direction: row; align-items: center; justify-content: space-between; gap: 20px; }
.card-styled .card-content > div { flex: 1 1 75%; min-width: 0; }
.card-styled .card-picture { flex: 1 1 25%; max-width: 100%; height: auto; object-fit: contain; }
.card-styled .card-content .card-title { font-weight: 500; }
.card-styled .card-content ul { display: flex; flex-direction: column; row-gap: 10px; padding: 0; list-style: none; }
.card-styled .card-content ul li { position: relative; padding-left: 20px; }
.card-styled .card-content ul li::before { position: absolute; content: '\2713'; left: 0; }
.card-styled .card-content .card-picture { transition: transform .3s linear; }
.card-styled .card-content .card-picture:hover { transform: scale(1.1); }
.card-styled .card-content.cta { display: flex; justify-content: space-between; }

@media (max-width:992px) {
	.card-styled .card-content { flex-direction: column; flex-wrap: wrap; }
	.card-styled .card-content .order-0 { order: 0; }
	.card-styled .card-content .order-1 { order: 1; }
    .card-styled .card-content > div, .card-picture { flex: 1 1 100%; }
	.card-styled .card-content.cta { text-align: center; }
}

.modal-bottom-sheet { position: fixed; left: 0; right: 0; z-index: 999; transition: .2s all linear; background: #e6ebf8; box-shadow: 0 -3px 5px rgba(0,0,0,0.15); height: auto; display: flex; align-items: center; }
.modal-bottom-sheet.open { bottom: 0; }
.modal-bottom-sheet:not(.open) { bottom: -80px; }
.modal-bottom-sheet .container { display: flex; align-items: center; justify-content: space-between; padding-top: 10px; padding-bottom: 10px; }
.modal-bottom-sheet .container .logo-container { display: flex; align-items: center; column-gap: 10px; }
.modal-bottom-sheet .container .btn-flat { display: flex; align-items: center; justify-content: center; column-gap: 5px; padding: 0 12px; height: 36px; line-height: normal; border-radius: 6px; border: none; font-weight: 500; }
@media (max-width:992px) {
	.modal-bottom-sheet .container { justify-content: center; }
}

.model-screen-popup { border-radius: 12px; width: 90%; max-width: 600px; max-height: 90%; height: 85% !important; top: 0 !important; bottom: 0 !important; }
.model-screen-popup .modal-content { padding: 0; }
.model-screen-popup .modal-content .modal-header { padding: 20px 0; }
.model-screen-popup .modal-content .modal-header b { font-size: 24px; }
.model-screen-popup .modal-content .modal-header p { font-size: 14px; }
.model-screen-popup .modal-content .row { margin: 15px 0 10px; padding: 0 10px; }
.model-screen-popup .modal-content .row .col { margin-bottom: 10px; }
.model-screen-popup .modal-content .row .col .form-label { color: #333; text-transform: uppercase; }
.model-screen-popup .modal-content .row .col .form-control { padding: 6px !important; border: 1px solid #d5d5d5 !important; height: 36px !important; border-radius: 4px !important; margin: 0; float: left; width: 100%; }
.model-screen-popup .modal-content .row .col .form-control:focus { box-shadow: 0 0 0 2px rgba(41,121,255,0.2) !important; border-color: #2979ff !important; }
.model-screen-popup .modal-footer { padding: 10px 22px; height: auto; display: flex; align-items: center; justify-content: end; gap: 10px; }
.model-screen-popup .modal-footer button { margin: 0 !important; border-radius: 6px; font-weight: 500; }

.fixed-whatsapp { position: fixed; top: 0; bottom: 0; right: 0; z-index: 999; width: 40px; height: 140px; margin: auto; background: url('<?php echo $baseurl; ?>images/whatsapp-logo.png') no-repeat center center; background-size: cover; }
</style>
<!-- Google Tag Manager -->
<script>(function(w,d,s,l,i){w[l]=w[l]||[];w[l].push({'gtm.start':
new Date().getTime(),event:'gtm.js'});var f=d.getElementsByTagName(s)[0],
j=d.createElement(s),dl=l!='dataLayer'?'&l='+l:'';j.async=true;j.src=
'https://www.googletagmanager.com/gtm.js?id='+i+dl;f.parentNode.insertBefore(j,f);
})(window,document,'script','dataLayer','GTM-WW49Z7Q');</script>
<!-- End Google Tag Manager -->
<?php
if (in_array($pagename, array('contact', 'payment', 'login', 'signup', 'checkout', 'icici-payment', 'paypal', '2checkout', 'products'))):
	echo '<script src="https://www.google.com/recaptcha/api.js" defer></script>';
endif;
?>
<script async src="https://www.googletagmanager.com/gtag/js?id=UA-76822390-5"></script>
<script>
window.dataLayer = window.dataLayer || [];
function gtag(){dataLayer.push(arguments);}
gtag('js', new Date());
gtag('config', 'UA-76822390-5');
</script>
</head>
<body class="white">
<div class="fluid loader"><div class="loading white z-depth-1">Please wait...</div></div>
<!-- Google Tag Manager (noscript) -->
<noscript><iframe src="https://www.googletagmanager.com/ns.html?id=GTM-WW49Z7Q"
height="0" width="0" style="display:none;visibility:hidden"></iframe></noscript>
<!-- End Google Tag Manager (noscript) -->
<!-- Google tag (gtag.js) -->
<script async src="https://www.googletagmanager.com/gtag/js?id=G-7TWJLMCQY6"></script>
<script>
  window.dataLayer = window.dataLayer || [];
  function gtag(){dataLayer.push(arguments);}
  gtag('js', new Date());

  gtag('config', 'G-7TWJLMCQY6');
</script>
<?php
$eMessage = <<<EOJ
<br clear="all"><br clear="all">
<div class="row center-align">
	<div class="card col s12 m12 l6 center-align z-depth-0 emsg" style="float:none;margin:0 auto">
		<div class="card-content">
			<i class="material-icons red-text">error</i><br clear="all"><br clear="all">
			<h3 class="red-text">access denied</h3><br clear="all"><p>Access to the requested page has been denied.</p><br clear="all"><a href="{$baseurl}" class="blue-text text-accent-3">Go Back to Home</a>
		</div>
	</div>
</div>
EOJ;

$cartItems = isset($_SESSION[$cartSessionName]) ? $_SESSION[$cartSessionName] : null;
$itemInCart = sizeof($cartItems) > 0 ? count($cartItems) : 0;
function productsubjects($category){
	global $mysqli, $baseurl;$subjects = '';$html = '';
	$stmt = $mysqli->prepare("SELECT subject FROM products WHERE category = ? GROUP BY subject ORDER BY subject ASC") or die('An error occurred. Please try after some time.');
	$stmt->bind_param('s', $category);
	$stmt->execute();
	$stmt->store_result();
	if($stmt->num_rows() > 0):
		$stmt->bind_result($subject);
		while($stmt->fetch()):
			$subjects .= ($subject) ? $subject.',' : '';
		endwhile;
		$subjectarray = array_unique(explode(',', str_replace(', ', ',', $subjects)));
		sort($subjectarray);
		foreach($subjectarray as $subject):
			if($subject):
				$link  = $baseurl.strtolower($category).'s/'.str_replace(' ', '-', strtolower(trim($subject)));
				$html .= '<li><a href="'.$link.'">'.trim($subject).'</a></li>';
			endif;
		endforeach;
	endif;
	$stmt->close();
	return '<ul class="body white">'.$html.'</ul>';
}
if($loggedincustomerid):
	$toplinks  = '<a href="'.$baseurl.'account/updateprofile" class="waves-effect btn-flat white-text">my account</a>';
	$toplinks .= '<a href="'.$baseurl.'logout" class="waves-effect btn-flat white-text">log out</a>';
else:
	$toplinks  = '<a href="'.$baseurl.'login" class="waves-effect btn-flat white-text">log in</a>';
	$toplinks .= '<a href="'.$baseurl.'signup" class="waves-effect btn-flat white-text">sign up</a>';
endif;

$countryList = '';
$stmt = $mysqli->prepare("SELECT iso, nicename FROM country WHERE phonecode != '0' ORDER BY nicename");
$stmt->execute();
$stmt->store_result();
$stmt->bind_result($countryISO, $countryName);
while($stmt->fetch()):
	$countryList .= '<option value="' . strtolower($countryISO) . '"' . (strtolower($countryISO) == $visitorCountry ? ' selected' : '') . '>' . $countryName . '</option>';
endwhile;
$stmt->close();

echo <<<EOJ
<input type="hidden" value="{$baseurl}" autocomplete="off" id="BASEURL" readonly />

<div class="grey darken-4" style="padding: 5px 0">
	<div class="container">
		<div class="row">
			<div class="col s12 m12 l12">
				<span class="white-text">Choose/Select Your Country</span>
				<div class="form-item">
					<input id="country_selector" type="text" class="browser-default country_selector" onchange="changeCountry(this)" readonly>
					<label for="country_selector" style="display:none;">Select a country here...</label>
				</div>
			</div>
		</div>
	</div>
</div>
<div class="blue accent-3 white-text hide-on-med-and-down topbar">
	<div class="container">
		<div class="row">
			<div class="col s12 m12 l4 left-align">Toll Free: 1800-1234-070, Ph. No.: +91-9711224068</div>
			<div class="col s12 m12 l4 center-align">
				<a href="{$baseurl}SubscriptionForm.pdf" target="_blank" class="btn-flat white-text animated-button">Download Subscription Form</a>
			</div>
			<div class="col s12 m12 l4 right-align">
				{$toplinks}
			</div>
		</div>
	</div>
</div>
<div class="header">
	<div class="container">
		<div class="row">
			<div class="col s12 m12 l4">
				<a href="{$baseurl}"><img src="{$imageurl}logo.png" alt="{$websitename}" title="{$websitename}" /></a>
			</div>
			<div class="col s12 m12 l4">
				<div class="row">
					<div class="col s6 m6 l6">
						<img src="{$imageurl}gem_logo.png" alt="GeM Logo" />
					</div>
					<div class="col s6 m6 l6">
					    <!--
						<a href="{$baseurl}achievements">
							<img src="{$imageurl}FICCI_logo.svg" alt="FICCI Logo" style="height:60px" />
						</a>-->
					</div>
					<div class="col s12 m12 l12 hide-on-large-only" style="margin: 10px 0">
						<a href="{$baseurl}SubscriptionForm.pdf" target="_blank" class="btn-flat white-text animated-button">Download Subscription Form</a>
					</div>
				</div>
			</div>
			<div class="col s12 m12 l4">
				<form action="{$baseurl}search" method="get" name="searchform" class="right" onsubmit="return q.value!=''">
					<input type="text" name="q" placeholder="Search by ISBN, Title or Author's Name" autocomplete="off" class="white" />
					<button type="submit" class="waves-effect btn-flat white"><i class="material-icons">search</i></button>
					<a href="{$baseurl}viewcart" class="waves-effect waves-light btn-flat white black-text right"><i class="material-icons left">shopping_cart</i>Cart - {$itemInCart}</a>
				</form>
			</div>
		</div>
	</div>
</div>
<nav class="row nav-extended white">
	<div class="container">
		<div class="col s12 m12 l12 nav-wrapper">
			<ul id="nav-mobile" class="fluid hide-on-med-and-down">
				<li><a href="{$baseurl}" title="Home">Home</a></li>
				<li><a href="{$baseurl}publishbookchapter" title="Publish Book Chapter">Publish Book Chapter</a></li>
				<li><a href="{$baseurl}book-publication" title="Publish Books">Publish Books</a></li>
				<li><a href="{$baseurl}booksandjournals" title="Buy Books & Journals">Buy Books & Journals</a></li>
				<li><a href="{$baseurl}journal-subscription" title="Journal Subscription">Journal Subscription</a></li>
				<li><a href="{$baseurl}services" title="Services">Services</a></li>
				<li><a href="{$baseurl}payment/" title="Make Payment">Make Payment</a></li>
				<li><a href="{$baseurl}contact" title="Contact Us">Contact Us</a></li>
			</ul>
			<a href="#" data-target="sidenav" class="sidenav-trigger right"><i class="material-icons black-text">menu</i></a>
		</div>
	</div>
</nav>
<ul id="sidenav" class="sidenav">
	<li style="padding: 15px 15px;">
	    <span class="white-text">Choose/Select Your Country</span>
	    <select class="browser-default countries" onchange="changeCountry(this, this.value)">{$countryList}</select>
    </li>
	<li>{$toplinks}</li>
	<li><a href="{$baseurl}" title="Home">Home</a></li>
	<li><a href="{$baseurl}publishbookchapter" title="Publish Book Chapter">Publish Book Chapter</a></li>
	<li><a href="{$baseurl}book-publication" title="Publish Books">Publish Books</a></li>
	<li><a href="{$baseurl}booksandjournals" title="Buy Books & Journals">Buy Books & Journals</a></li>
	<li><a href="{$baseurl}journal-subscription" title="Journal Subscription">Journal Subscription</a></li>
	<li><a href="{$baseurl}services" title="Services">Services</a></li>
	<li><a href="{$baseurl}payment/" title="Make Payment">Make Payment</a></li>
	<li><a href="{$baseurl}contact" title="Contact Us">Contact Us</a></li>
	<li><a href="tel:9711224068">Helpline No.: +91-9711224068</a></li>
	<li><a href="tel:7048922346">Fast Publication: +91-7048922346</a></li>
</ul>
EOJ;
if($pagename === $basename):
	echo '<div class="row"><img src="'.$imageurl.'banner.jpg" alt="'.$websitename.'" class="fluid" /></div>';
endif;
?>
<div class="row container holder" align="justify">
	<div class="col s12 m12 l12">

Youez - 2016 - github.com/yon3zu
LinuXploit