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
$expanded = 0; | |
$('.video img').click(function(){ | |
if($expanded == 0) { | |
$(this).animate({ | |
width: '720px' | |
}, 500, function(){ | |
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
$query = $this->db->get('table_name'); | |
$query->row(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
$page = 'page_7' | |
if ($page != 'page_5' || $page != 'page_6') { | |
// do page 1-4 logic | |
} elseif ($page == 'page_5') { | |
// do page 5 logic | |
} else { | |
// all other page logic | |
} |
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 | |
foreach ($somethings as $thing) { | |
$count = 1; | |
if ($count == 4) { | |
echo "<div class='thing'>"; | |
?> | |
LOTS OF HTML CONTENT HERE | |
</div> <!-- close div --> | |
<? |
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
$('.dropdown a').click(function() { | |
$(this).parent().next().toggle(); | |
return false; | |
}); |
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->postmark->from('[email protected]', 'Jason Kruit'); | |
$this->postmark->message_plain($message_plain); | |
$this->postmark->message_html($message_html); | |
foreach($users as $user) { | |
$this->postmark->to($user['email']); | |
$this->postmark->send(); | |
} |
NewerOlder