JezK
Edit File: default.ctp
<?php /** * * * CakePHP(tm) : Rapid Development Framework (http://cakephp.org) * Copyright (c) Cake Software Foundation, Inc. (http://cakefoundation.org) * * Licensed under The MIT License * For full copyright and license information, please see the LICENSE.txt * Redistributions of files must retain the above copyright notice. * * @copyright Copyright (c) Cake Software Foundation, Inc. (http://cakefoundation.org) * @link http://cakephp.org CakePHP(tm) Project * @package app.View.Layouts * @since CakePHP(tm) v 0.10.0.1076 * @license http://www.opensource.org/licenses/mit-license.php MIT License */ ?> <!DOCTYPE html> <html lang="<?php echo $configLanguage; ?>" dir="<?php echo $dirType; ?>"> <head> <meta http-equiv="X-UA-Compatible" content="IE=edge"> <meta http-equiv="X-UA-Compatible" content="IE=edge,chrome=1"> <meta name="viewport" content="width=device-width, initial-scale=1.0"> <meta name="google-translate-customization" content="839d71f7ff6044d0-328a2dc5159d6aa2-gd17de6447c9ba810-f"> <?php echo $this->Html->charset(); ?> <!-- <title><?php echo $metaTitle; ?></title> --> <title>PTBoards</title> <meta name="keyword" content="<?php echo $metaKeyword; ?>"/> <meta name="description" content="<?php echo $metaContent; ?>"/> <?php echo $this->Html->meta('icon'); ?> <link rel="stylesheet" type="text/css" href="https://fonts.googleapis.com/css?family=Open+Sans:400italic,400,300,700"/> <link rel="stylesheet" href="https://cdnjs.cloudflare.com/ajax/libs/font-awesome/4.7.0/css/font-awesome.min.css"> <!-- <link href='https://maxcdn.bootstrapcdn.com/bootstrap/4.3.1/css/bootstrap.min'> --> <!-- <script src='https://maxcdn.bootstrapcdn.com/bootstrap/4.3.1/js/bootstrap.min.js'></script> --> <!-- <script src='https://cdnjs.cloudflare.com/ajax/libs/jquery/3.2.1/jquery.min.js'></script> --> <?php echo $this->Html->css('/design300/css/font-awesome.min'); echo $this->Html->css('/bootstrap/css/bootstrap.min'); // echo $this->Html->css('/design300/css/bootstrap.min'); echo $this->Html->css('/design300/css/font'); echo $this->Html->css('/design300/css/settings'); echo $this->Html->css('/design300/css/style'); echo $this->Html->css('/design300/css/slider'); echo $this->Html->css('validationEngine.jquery'); echo $this->Html->css('bootstrap-multiselect'); echo $this->Html->css('style'); echo $this->Html->css('ownstyle'); echo $this->Html->css('/animate.css/animate'); echo $this->Html->css('/aos/aos'); echo $this->Html->css('/venobox/venobox'); echo $this->Html->css('/owl.carousel/assets/owl.carousel.min'); echo $this->fetch('meta'); echo $this->fetch('css'); echo $this->Html->script('/design300/js/jquery.min'); // echo $this->Html->script('/jquery/jquery.min'); echo $this->Html->script('/design300/js/jquery.flexslider-min'); echo $this->Html->script('html5shiv'); echo $this->Html->script('respond.min'); echo $this->Html->script('jquery.validationEngine-en'); echo $this->Html->script('jquery.validationEngine'); // echo $this->Html->script('/design300/js/bootstrap.min'); echo $this->Html->script('/bootstrap/js/bootstrap.bundle.min'); echo $this->Html->script('/design300/js/rs-slider'); echo $this->Html->script('/venobox/venobox.min'); echo $this->Html->script('/owl.carousel/owl.carousel.min'); echo $this->Html->script('/aos/aos'); echo $this->Html->script('/waypoints/jquery.waypoints.min'); echo $this->Html->script('/counterup/counterup.min'); echo $this->Html->script('/isotope-layout/isotope.pkgd.min'); // echo $this->Html->css('/cs/slick-theme'); // echo $this->Html->css('/cs/slick'); // echo $this->Html->script('/cs/slick.min'); echo $this->Html->script('waiting-dialog.min'); echo $this->Html->script("langs/$configLanguage"); echo $this->Html->script('custom.min'); echo $this->Html->script('main'); if ($this->params['controller'] == "pages") { $this->params['controller'] = ""; } ?> <?php if ($translate > 0) { ?> <script type="text/javascript"> function googleTranslateElementInit() { new google.translate.TranslateElement({ pageLanguage: 'en', layout: google.translate.TranslateElement.InlineLayout.SIMPLE }, 'google_translate_element'); } </script> <script type="text/javascript" src="//translate.google.com/translate_a/element.js?cb=googleTranslateElementInit"></script> <?php } ?> <script type="text/javascript"> $(document).ready(function () { $("#products_animation_id").hover( function () { $("#products_animation").show(500); }, function () { //$( "#products_animation" ).hide(500); } ); $("#products_animation").hover( function () { // $( "#products_animation" ).show(500); }, function () { $("#products_animation").hide(500); } ); $("#products_animation_id").click(function (event) { $("#products_animation").toggle(); }); $("#products_animation").hide(); }); </script> <style> .menu { display: block; } </style> </head> <body> <div id="preloader"> <div id="status"> </div> </div> <div id="wrapper"> <div class="h-wrapper"> <?php if ($this->params['controller'] == "") { ?> <header class="header-wrapper header-transparent with-topbar"> <?php } else { ?> <header class="header-wrapper header-transparent header-stylecol with-topbar"> <?php } ?> <div class="main-header"> <div class="container-fluid"> <div class="row pb-2"> <div class="col-sm-12 col-md-4 text-center"> <div class="logo-text"> <?php if (strlen($frontLogo) > 0) { ?> <?php if ($this->Session->check('Student')) { echo $this->Html->link($this->Html->image('frontImg/logo1.png', array('alt' => $siteName, 'class' => 'img-responsive front-logo')), array('controller' => 'Afterlogin'), array('escape' => false)); }else{ echo $this->Html->link($this->Html->image($frontLogo, array('alt' => $siteName, 'class' => 'img-responsive front-logo')), array('controller' => '/'), array('escape' => false)); } } else { ?> <?php echo $siteName; ?><?php } ?> </div> </div> <!-- <div class="col-sm-12 col-md-2"></div> --> <?php if ($this->Session->check('Student')) { ?> <div class="col-sm-12 col-md-6 align-items-center justify-content-end d-flex"> <!-- AFTER LOGIN MENU --> <nav class="navbar-right"> <ul id="frontMenu" class="menu "> <li class="toggle-menu"><i class="fa icon_menu"></i></li> <li class=""><a href="<?php echo $this->html->url(array('controller' => 'Afterlogin', 'action' => 'index')); ?>">Home</a></li> <li><a href="<?php echo $this->html->url(array('controller' => 'Packages/index', 'action' => 'index')); ?>">Buy</a></li> <li><a href="<?php echo $this->html->url(array('controller' => 'Blog/index', 'action' => 'index')); ?>">Blogs</a></li> <li><a href="<?php echo $this->html->url(array('controller' => 'Aboutus/index', 'action' => 'index')); ?>">About us</a></li> </ul> </nav> </div> <div class="col-sm-12 col-md-2 justify-content-center align-items-center d-flex"> <div class="dropdown py-top"> <div class="cursor-pointer" data-toggle="dropdown"> <!-- dropdown-toggle --> <?php // print_r($_SESSION); if($_SESSION['profilepic'] !=''){ $propic = $this->Html->image($this->Session->read('profilepath').$this->Session->read('profilepic'), array('alt' => 'Pro-Img', 'border' => '0', 'class' => 'rounded-circle','width'=>'50','height'=>'50')); } else{ $propic = $this->Html->image("blankuser.jpg", array('alt' => 'Pro-Img', 'border' => '0', 'class' => 'rounded-circle','width'=>'50','height'=>'50')); // $propic = '<img src="../img/blankuser.jpg" class="rounded-circle" width="50" height="50">'; } echo $propic; ?> <span class="pl-2 text-white"><?php echo $this->Session->read('profilename'); ?></span> <span class="pl-2"><i class="fa fa-angle-down dropDownArr"></i></span></div> <ul class="dropdown-menu"> <li><a href="<?php echo $this->html->url(array('controller' => 'crm/Dashboards', 'action' => 'index')); ?>">Dashboard</a></li> <li><a href="<?php echo $this->html->url(array('controller' => 'crm/Profiles', 'action' => 'index')); ?>">Profile</a></li> <li><a href="<?php echo $this->html->url(array('controller' => 'crm/Profiles', 'action' => 'logout')); ?>">Logout</a></li> </ul> </div> </div> <?php } else { ?> <div class="col-sm-12 col-md-8 justify-content-end align-items-center d-flex pr-md-5"> <nav class="navbar-right"> <ul id="frontMenu" class="menu "> <li class="toggle-menu"><i class="fa icon_menu"></i></li> <li ><a href="<?php echo $this->html->url(array('controller' => 'Home/', 'action' => 'index')); ?>">Home</a></li> <li ><a href="<?php echo $this->html->url(array('controller' => 'Packages/index', 'action' => 'index')); ?>">Buy</a></li> <li ><a href="<?php echo $this->html->url(array('controller' => 'Blog/index', 'action' => 'index')); ?>">Blogs</a></li> <!-- <li ><a href="<?php echo $this->html->url(array('controller' => 'Aboutus/index', 'action' => 'index')); ?>">About Us</a></li> --> <li><a href="<?php echo $this->html->url(array('controller' => 'Registers/index', 'action' => 'index')); ?>" class='icon_bg'>Register</a></li> <li><a href="<?php echo $this->html->url(array('controller' => 'crm/Users', 'action' => 'login',)); ?>" class='blue_bg'>Login</a></li> </ul> </nav> </div> <?php } ?> </div> </div> </div> </header> </div> <div class="maincontent "> <?php echo $this->fetch('content'); ?> </div> </div> <div id="footer_index"></div> <footer id="footer"> <div class="footer-top"> <div class="container-fluid px-lg-5"> <div class="row px-lg-5 px-md-3"> <div class="col-sm-6 col-md-5 footer-info"> <h3><?php echo $this->Html->image("logo-website.fw.png", array('alt' => 'subscribe', 'class' => '')); ?></h3> <p class="w-75 text-justify"> <!-- NPTE is the leader in helping students prepare for and pass the NPTE Licenture exam.Through out two-day courses, best-selling Review & Study Guide by O'sullivan, siegelman, Shaffer, & Sultive, and realistic, and practice questions we help thousands pass the Pt exam every year. --> PTBoards.com aims to provide NPTE test takers with comprehensive practice test to help them succeed. We offer the option to take 1 hour test across multiple topics to allow you to practice different areas of the curriculum and quickly understand areas requiring further study. Unlike other test sites that offer 5 hour tests, our approach allows you to test your knowledge often and more cost effectively. </p> </div> <div class="col-sm-3 col-md-3 footer-links pl-3"> <h4>Quick Links</h4> <ul> <!-- <i class="ion-ios-arrow-right"></i> --> <li> <a href="<?php echo $this->html->url(array('controller' => 'Home', 'action' => 'index')); ?>">Home</a></li> <li> <a href="<?php echo $this->html->url(array('controller' => 'Aboutus/index', 'action' => 'index')); ?>">About us</a></li> <li> <a href="<?php echo $this->html->url(array('controller' => 'Packages/index', 'action' => 'index')); ?>">Buy</a></li> <li> <a href="<?php echo $this->html->url(array('controller' => 'Blog/index', 'action' => 'index')); ?>">Blogs</a></li> <li> <a href="#contact-us">Contact Us</a></li> <li> <a href="<?php echo $this->html->url(array('controller' => 'Terms/index', 'action' => 'index')); ?>">Terms of Use</a></li> </ul> </div> <div class="col-sm-3 col-md-4 footer-contact"> <h4>Contact Us</h4> <!-- <p><?php echo $this->Html->image("frontImg/contact.png", array('alt' => 'subscribe', 'class' => 'img-responsive w-22 pr-2')); ?>: Rahul Chandra</p> --> <p><?php echo $this->Html->image("frontImg/mail.png", array('alt' => 'subscribe', 'class' => 'img-responsive w-22 pr-2')); ?> PTBhelp@outlook.com</p> <!-- <p><?php echo $this->Html->image("frontImg/mobile.png", array('alt' => 'subscribe', 'class' => 'img-responsive w-22 pr-2')); ?>: +1 5589 55488 55</p> <p><?php echo $this->Html->image("frontImg/location.png", array('alt' => 'subscribe', 'class' => 'img-responsive w-22 pr-2')); ?>: United States</p> --> <!-- <p><img src="frontImg/contact.png" class="w-22 pr-2">: Rahul Chandra</p> <p><img src="img/frontImg/mail.png" class="w-22 pr-2">: PTBhelp@outlook.com</p> <p><img src="img/frontImg/mobile.png" class="w-22 pr-2">: +1 5589 55488 55</p> <p><img src="img/frontImg/location.png" class="w-22 pr-2">: United States</p> --> </div> </div> </div> </div> <div class="container"> <div class="copyright"> Copy rights © 2023. All Rights Reserved by NPTE </div> </div> </footer> </div> <div id="_include_main_plugins"></div> <!-- <div id="_include_owl_carousel"></div> --> <div id="_include_isotope"></div> <?php echo $this->Html->script('/design300/js/script'); echo $this->fetch('script'); echo $this->Js->writeBuffer(); ?> <div id="scriptUrl" style="display: none;"><?php echo $this->Html->url(array('crm' => false, 'controller' => 'app', 'action' => 'webroot', 'img')); ?></div> <script> $(document).ready(function () { $('.flexslider').flexslider({ animation: 'slide', directionNav: false, slideshowSpeed: '9000', controlsContainer: '.flexslider' }); $("#mymenu").addClass('displaynone'); $('#mob').click(function () { var clicks = $(this).data('clicks'); if (clicks) { $("#mymenu>#frontMenu").stop().animate({left: '-680px'}, { complete: function () { $("#mymenu").removeClass('bgblck displayblock'); $("#mymenu").addClass('displaynone'); } }); } else { $("#mymenu").removeClass('displaynone '); $("#mymenu").addClass('bgblck displayblock'); $("#mymenu>#frontMenu").stop().animate({left: '0px'}); } $(this).data("clicks", !clicks); }); }); $(document).ready(function(){ $(".btnClss.fa-user").parent().addClass("icon_bg"); $(".btnClss.fa-lock").parent().addClass("blue_bg"); }); </script> </body> </html>