This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
function suggestUserLocation() { | |
if ( getCookie( 'closestLocation' ) !== '' ) { | |
var closestLocation = jQuery.parseJSON( getCookie( 'closestLocation' ) ); | |
var theCountries = [ | |
'Cayman Islands', | |
'Falkland Islands', | |
'Philippines', | |
'UAE', | |
'United Kingdom', | |
'United States' |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
function suggestUserLocation() { | |
if ( getCookie( 'closestLocation' ) !== '' ) { | |
var closestLocation = jQuery.parseJSON( getCookie( 'closestLocation' ) ); | |
var theCountries = [ | |
'Cayman Islands', | |
'Falkland Islands', | |
'Philippines', | |
'UAE', | |
'United Kingdom', | |
'United States' |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
(function ($, Drupal) { | |
$('body').addClass('loaded'); | |
$('footer').addClass('footer'); | |
})(jQuery, Drupal); |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
// Colours | |
$primary: #80CBC4; | |
$secondary: #663399; | |
$alt-01: #EF5350; | |
$alt-02: #81C784; | |
$black: #000000; | |
$white: #ffffff; |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
require 'compass/import-once/activate' | |
# Require any additional compass plugins here. | |
# Set this to the root of your project when deployed: | |
http_path = "/" | |
css_dir = "/" | |
sass_dir = "sass" | |
images_dir = "images" | |
javascripts_dir = "js" |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
width: calc(100% - 100px); |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
<?php | |
/* Attempt MySQL server connection. Assuming you are running MySQL | |
server with default setting (user 'root' with no password) */ | |
$mysqli = new mysqli("localhost", "root", "root", "filmDB"); | |
// Check connection | |
if($mysqli === false){ | |
die("ERROR: Could not connect. " . $mysqli->connect_error); | |
} | |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
input[type=submit] { | |
min-width: 150px; | |
border-radius: 25px; | |
background-color: #b10205; | |
color: #ffffff; | |
-webkit-transition: all 0.5s; | |
-moz-transition: all 0.5s; | |
-o-transition: all 0.5s; | |
transition: all 0.5s; | |
} |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
<?php if ($logo): ?> | |
<a href="<?php print $front_page; ?>" title="<?php print $site_name; ?>" rel="home" id="logo"> | |
<img src="<?php print $logo; ?>" alt="<?php print $site_name; ?>"/> | |
</a> | |
<?php endif; ?> |