ruạṛ
<?php ?> <!DOCTYPE html> <html> <head> <title><?php echo $title; ?></title> <meta name="description" content="<?php echo $description; ?>" /> <meta name="keywords" content="<?php echo $keywords; ?>" /> <meta http-equiv="Content-Type" content="text/html;charset=utf-8" > <?php if(RESPONSIVE) echo '<meta name="viewport" content="width=device-width, user-scalable=no, initial-scale=1, maximum-scale=1, minimum-scale=1" />'; ?> <meta http-equiv="X-UA-Compatible" content="chrome=1"> <link rel="shortcut icon" href="/favicon.ico" /> <?php /* Load stylesheets first for speed. Load all plugin stylesheets before local stylesheet to allow overrides with minimun declarations */ ?> <link rel="stylesheet" type="text/css" href="/resources/jquery/colorbox/skin4/colorbox.css" /> <link rel="stylesheet" type="text/css" href="/resources/jquery/orbit-1.2.3.css" /> <?php if(RESPONSIVE) echo '<link rel="stylesheet" type="text/css" href="/resources/template/mobileMenu.css" />'; ?> <link rel="stylesheet" type="text/css" href="/resources/template/style.css" /> <?php /* load scripts second because they prevent new connections until loaded */ ?> <?php if(RESPONSIVE) echo '<script src="/resources/jquery/modernizr.js" type="text/javascript"></script>'; ?> <script src="/resources/jquery/jquery-1.9.1.js" type="text/javascript" ></script> <script src="/resources/jquery/jquery-migrate-1.1.1.min.js"></script> <script src="/resources/jquery/jquery.orbit-1.2.4.min.js" type="text/javascript" ></script> <script src="/resources/jquery/jquery.cookie.js" type="text/javascript" ></script> <script src="/resources/jquery/jquery.validate.min.js" type="text/javascript" ></script> <script src="/resources/jquery/colorbox/jquery.colorbox-min.js" type="text/javascript" ></script> <?php if(MODULE_CUSTOMERS) echo '<script src="/resources/jquery/jquery.showpassword.js" type="text/javascript"></script>'; ?> <?php /* Load our script last because it likely depends on all the jQuery being loaded */ ?> <?PHP if(MODULE_MINI_CART) echo "<script src='/resources/template/cart.js' type='text/javascript'></script>\n"; ?> <?php if(RESPONSIVE) echo '<script src="/resources/template/mobileMenu.js" type="text/javascript"></script>'; ?> <script src="/resources/template/script.js" type="text/javascript" ></script> <?php /* finally add google analytics before <head> if required */ ?> </head> <body <?php if(RESPONSIVE) echo 'class="responsive"'; ?>> <div class="header"> <div class="yellow-line"></div> <div class="banner container"> <a href="/"><img class="logo" src="/resources/template/logo.png" width="240" height="215" alt="<?php echo SITE_FROM_NAME; ?>" /></a> <div class="header-contact"> <p>03 347 4768</p> <p><a href="mailto:<?php echo SITE_FROM_ADDRESS; ?>">sales@qualityprecast.co.nz</a></p> </div> <div class="main-navigation container"> <ul><?php echo $nav; ?><?php echo cart_nav(); ?><?php echo account_nav(); ?></ul><?php //no spaces here they interfere with styling using inline-block ?> </div> <?php /* ?> <form name="searchform" id="searchform" action="/search.php" method="POST" enctype="multipart/form-data"> <label for="search">search</label> <input name="search" id="search" type="text" value="" placeholder="Search" /> <input name="searchbutton" id="searchbutton" type="submit" value="go" /> </form> <?php // */ ?> </div> </div><!-- end header --> <div class="midsection"> <div class="content-wrapper container"> <?php /* if($homepage): ?> <div id="splash"> <img src="/resources/template/newspaper.jpg" alt="Niche Publishing Specialists" width="980" height="253" /> </div> <?php endif; // */ ?> <?php if($has_slideshow && $slideshow && mysql_num_rows($slideshow)>0) { $captions = ''; $r = ' <div class="slideshow"> <div class="slider"> '; while($s = mysql_fetch_assoc($slideshow)) { $r .= '<img src="'.$s['image_path'].$s['image_filename'].'" alt="'.$s['title'].'" width="'.PAGE_SLIDESHOW_WIDTH.'" height="'.PAGE_SLIDESHOW_HEIGHT.'" data-caption ="#caption-'.$s['image_id'].'" /> '; $captions .= '<span class="orbit-caption" id="caption-'.$s['image_id'].'">'.$s['title'].'</span> '; } $r .= ' </div> </div> '; /* * normal version */ echo $r.$captions; /* * appending to $content version */ //$content .= $r.$captions; //normal version /* * in db_content() version * replace CMS code with html slideshow code */ //$content = preg_replace('/<p>(?:\s| )*%%SLIDESHOW%%(?:\s| )*<\/p>/',$r.$captions,$content); } ?> <?php /* ?> <div class="sidebar"> </div> <?php // */ ?> <div class="content"> <?php ?>
cải xoăn