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 isValidDate(date) { | |
var parts = date.split('/'); | |
var month = parts[0]; | |
var day = parts[1]; | |
var year = parts [2]; | |
year = Number(year); | |
month = Number(month); | |
day = Number(day) | |
var d = new Date(date); | |
if (d.getFullYear() != year |
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
INFO global: Vagrant version: 1.6.5 | |
INFO global: Ruby version: 2.0.0 | |
INFO global: RubyGems version: 2.0.14 | |
INFO global: VAGRANT_DEFAULT_PROVIDER="parallels" | |
INFO global: VAGRANT_EXECUTABLE="/Applications/Vagrant/bin/../embedded/gems/gems/vagrant-1.6.5/bin/vagrant" | |
INFO global: VAGRANT_INSTALLER_EMBEDDED_DIR="/Applications/Vagrant/bin/../embedded" | |
INFO global: VAGRANT_INSTALLER_VERSION="2" | |
INFO global: VAGRANT_DETECTED_OS="Darwin" | |
INFO global: VAGRANT_INSTALLER_ENV="1" | |
INFO global: VAGRANT_INTERNAL_BUNDLERIZED="1" |
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 | |
/** | |
* PEAR HTTP Request class | |
*/ | |
require_once('HTTP/Request.php'); | |
/** | |
* PEAR XML Serializer/Unserializer required | |
*/ | |
require_once('XML/Serializer.php'); | |
require_once('XML/Unserializer.php'); |
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 spooler_process() { | |
try { | |
var commandline; | |
var parameters; | |
var subprocess = spooler_task.create_subprocess(); | |
if (spooler_task.params.value("shell_command") != null && spooler_task.params.value("shell_command").length > 0) { | |
commandline = spooler_task.params.value("shell_command"); | |
} else { |
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 | |
// Check for required fields - Start | |
$ArrayRequiredFields = array('emailaddress' => 1, 'listid' => 2); | |
$ArrayErrorFields = FormHandler::RequiredFieldValidator($ArrayAPIData, $ArrayRequiredFields); | |
if (count($ArrayErrorFields) > 0) | |
{ | |
$ArrayOutput = array('Success' => false, | |
'ErrorCode' => $ArrayErrorFields, | |
); | |
throw new Exception(''); |
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: TextboxList.Autocomplete.js | |
TextboxList Autocomplete plugin | |
Authors: | |
Guillermo Rauch | |
Note: | |
TextboxList is not priceless for commercial use. See <http://devthought.com/projects/jquery/textboxlist/> | |
Purchase to remove this message. |
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 | |
/** | |
* @author Cem Hurturk | |
* @copyright Octeth.com | |
**/ | |
/** | |
* API Module. Contains all functions and procedures. | |
**/ |