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 | |
class TrainRider | |
{ | |
static $num_riders = 0; | |
public $times_ridden = 0; | |
public function rideTrain() | |
{ |
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 | |
$args = array( | |
'post_type' => 'post', | |
'numberposts' => -1, | |
'post_status' => null, | |
'cat' => 4 | |
); | |
$everything = get_posts($args); | |
if ($everything): | |
echo '<ul>'; |
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
<?xml version="1.0" encoding="UTF-8"?> | |
<SOAP-ENV:Envelope xmlns:SOAP-ENV="http://schemas.xmlsoap.org/soap/envelope/" | |
xmlns:ns1="urn:SmartPointsIntf-ISmartPoints" | |
xmlns:xsd="http://www.w3.org/2001/XMLSchema" | |
xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance" | |
xmlns:SOAP-ENC="http://schemas.xmlsoap.org/soap/encoding/" | |
SOAP-ENV:encodingStyle="http://schemas.xmlsoap.org/soap/encoding/"> | |
<SOAP-ENV:Body> | |
<ns1:UpdateCustomer> | |
<svID xsi:type="xsd:string">AAAE1EE8-8435-4447-9918-4DCDADA1F551</svID> |
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
<?xml version="1.0"?> | |
<SOAP-ENV:Envelope xmlns:SOAP-ENV="http://schemas.xmlsoap.org/soap/envelope/" | |
xmlns:xsd="http://www.w3.org/2001/XMLSchema" | |
xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance" | |
xmlns:SOAP-ENC="http://schemas.xmlsoap.org/soap/encoding/"> | |
<SOAP-ENV:Body SOAP-ENV:encodingStyle="http://schemas.xmlsoap.org/soap/encoding/" | |
xmlns:NS2="urn:ISmartPoints1"> | |
<NS1:UpdateCustomer xmlns:NS1="urn:SmartPointsIntf-ISmartPoints"> | |
<svID xsi:type="xsd:string">45DF95E2-175F-452C-A648-FBA2D197FBF4</svID> | |
<CTCustNo xsi:type="xsd:string">1859</CTCustNo> |
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 | |
$client = new SoapClient( | |
"https://www.clix.ca/scripts/ismartpoints.wsdl", | |
array( | |
'exceptions'=>true, | |
'trace'=>1, | |
'cache_wsdl'=>WSDL_CACHE_NONE | |
) | |
); |
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
# Allows larger file uploads | |
php_value upload_max_filesize 20M | |
php_value post_max_size 20M |
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
/* | |
Theme Name: CHILD_THEME_NAME | |
Theme URI: http://www.copterlabs.com/ | |
Description: Custom WordPress theme for CLIENT_OR_PROJECT_NAME | |
Author: Copter Labs | |
Author URI: http://www.copterlabs.com/ | |
Template: rotorwash | |
Version: 1.0 | |
*/ |
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
// check placeholder browser support | |
if( !Modernizr.input.placeholder ) | |
{ | |
$(this).find('[placeholder]').each(function() { | |
if( $(this).val() == '' ) // if field is empty | |
{ | |
$(this).val( $(this).attr('placeholder') ); | |
} | |
}); | |
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
<script type="text/javascript" src="https://seal.verisign.com/getseal?host_name=voteright.com&size=S&use_flash=NO&use_transparent=YES&lang=en"></script> |
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 | |
$stylesheet = get_bloginfo( 'stylesheet_url' ) . '?' | |
. filemtime( get_stylesheet_directory() . '/style.css'); | |
?> | |
<link rel="stylesheet" type="text/css" media="all" | |
href="<?php echo $stylesheet; ?>" /> |
OlderNewer