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
<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Transitional//EN" "http://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd"> | |
<html xmlns="http://www.w3.org/1999/xhtml" | |
xml:lang="<?php print $language->language ?>" | |
lang="<?php print $language->language ?>"> | |
<?php include 'includes/html-header.php'; ?> | |
<body> | |
<?php include 'includes/header.php'; ?> | |
<?php include 'includes/page-main.php'; ?> | |
<?php include 'includes/footer.php'; ?> | |
<?php print $closure; ?> |
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
<h2>See our work</h2> | |
We have worked with a wide variety of different clients. We have accommodated non-profit organizations, academic institutions, local entrepreneurs, national corporations, personal projects, bloggers, artists, weddings, conferences and more. <strong>Take a look at some of our work.</strong> | |
<div class="scrollable"> | |
<div class="items"> | |
<div class="panel" id="nonprofit"><h3>Non-profit: Diabetes in Motion</h3> | |
<p><a href="http://www.diabetesinmotion.ca">Diabetes in Motion</a> is a non-profit organization that presents self-management programs for persons with diabetes. This is a basic presence site which includes our email package. |
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
<div class="locations"> | |
<a href="#"> | |
Mississauga Location | |
</a> | |
<span class="horizNavSeparator"></span> | |
<span class="moreLinks">|</span> | |
<span class="horizNavSeparator"></span> | |
<a href="#"> | |
West Toronto Location | |
</a> |
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
/// THIS IS WRONG | |
<?php ?> | |
<?php if ( ! dynamic_sidebar( 'primary-widget-area' ) ) : ?> | |
<?php get_search_form(); ?> | |
<?php _e( 'Archives', 'twentyten' ); ?> | |
<?php wp_get_archives( 'type=monthly' ); ?> | |
<?php ?> | |
/// THIS IS OKAY |
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
$parentpost = $post; | |
while ($parentpost->post_parent) { | |
$parentpost = $parentpost->post_parent; | |
} | |
$slug = $parentpost->post_name; | |
body_class($slug); |
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 fancyTitle(title, currentArray, currentIndex, currentOpts) { | |
return '<div id="fancydescription">' + (title && title.length ? '<span>' + title + ' </span>' : '' ) + '</div><div id="fancycount">Image ' + (currentIndex + 1) + ' of ' + currentArray.length + '</div><div id="fancycontrols"><a href="#" id="fancyplay">Play</a> <a href="#" id="fancypause"> Pause</a></div><div style="clear:both;"></div>'; | |
} | |
$('.fancybox').fancybox({ | |
'titleFormat' : fancyTitle, | |
'cyclic' : true, | |
'overlayColor' : '#000', | |
'overlayOpacity' : 0.5 | |
}); |
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
$("#pocodesubmit").click(function(event) { | |
event.preventDefault(); | |
var postalcode = $('#areaField').val().toUpperCase().replace(/ /g,''); | |
var regexObj = { canada : /^[ABCEGHJKLMNPRSTVXY]\d[ABCEGHJKLMNPRSTVWXYZ]()?\d[ABCEGHJKLMNPRSTVWXYZ]\d$/i}; | |
var regexp = new RegExp(regexObj.canada); | |
if (!regexp.test(postalcode)) { // This one triggers properly in IE. | |
$('.title').html('Please Enter a Postal Code'); | |
} else { // This one does not trigger properly in IE. | |
alert('sending'); | |
var thesearch = 'txt_search='+postalcode; |
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
Design Phase ================================================================= | |
Client Management ------------------------------------------------------------ | |
[ ] Have we received a design brief from the client? | |
[ ] Have we received sample content from the client? | |
[ ] Have we quoted the client? | |
[ ] Has the client signed off on the quote? | |
Infrastructure --------------------------------------------------------------- |
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
class Book(models.Model): | |
""" Book Model - an item in the lending library """ | |
title = models.CharField(max_length=200) | |
author = models.CharField(max_length=100) | |
genre = models.CharField(max_length=20, blank=True) | |
def __unicode__(self): | |
return self.title |
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
<div class="ul"> | |
<div class="li"> | |
List item 1 | |
</div> | |
<div class="li"> | |
List item 2 | |
</div> | |
<div class="li"> | |
List item 3 | |
</div> |
OlderNewer