Skip to content

Instantly share code, notes, and snippets.

function getPrices($sample_id)
{
if(empty($this->firstRequestTime))
{
$this->setFirstRequestTime(time());
}
print '::' . $this->firstRequestTime . '::';
$url = "https://www.bullioninternational.net/bacml.pricing/domestic/Default.aspx";
$url_check = array ('content'=>file_get_contents ($url, false, stream_context_create (array ('http'=>array ('method'=>'GET')))), 'headers'=>$http_response_header);
$response_type = $url_check['headers'][0];
<script type="text/javascript">
$(document).ready(function(){
$('.jump-to').focus().select();
});
</script>
<form id="edit-jump-to">
<input type="text" name="jump_to" class="jump-to">
<input type="submit" value="jump down">
</form>
<html>
<head>
<title>Correlate Analytics</title>
<meta charset="utf-8">
<link rel="shortcut icon" type="image/x-icon" href="/img/logos/correlate_favicon_32.png">
<link rel="icon" type="image/png" href="/img/logos/correlate_favicon_32.png">
<link rel="stylesheet" type="text/css" media="all" href="/css/base.css">
<link rel="stylesheet" type="text/css" media="all" href="/css/bootstrap.css">
<link rel="stylesheet" type="text/css" media="all" href="/css/portal.css">
$(document).ready(function(){
idonate.loadForm('.form-container');
});
idonate = {
postNode : function(){
},
serialize : function(){
var o = {};
var a = this.serializeArray();
[{"created_at":"2012-10-18T16:10:36Z","id":664034,"person_id":73560,"photo_id":468190,"position":1908,"updated_at":"2012-10-18T16:10:36Z","person":{"created_at":"2012-10-18T16:10:36Z","id":73560,"name":"Daniel Best","photo_id":null,"title":null,"updated_at":"2012-10-18T16:10:36Z"}},{"created_at":"2012-10-18T16:10:40Z","id":664035,"person_id":73561,"photo_id":468190,"position":1909,"updated_at":"2012-10-18T16:10:40Z","person":{"created_at":"2012-10-18T16:10:40Z","id":73561,"name":"Percy Champman","photo_id":null,"title":null,"updated_at":"2012-10-18T16:10:40Z"}},{"created_at":"2012-10-18T16:10:45Z","id":664036,"person_id":73562,"photo_id":468190,"position":1910,"updated_at":"2012-10-18T16:10:45Z","person":{"created_at":"2012-10-18T16:10:45Z","id":73562,"name":"Hannibal Lecter","photo_id":null,"title":null,"updated_at":"2012-10-18T16:10:45Z"}},{"created_at":"2012-10-23T17:27:41Z","id":664044,"person_id":73548,"photo_id":468190,"position":1918,"updated_at":"2012-10-23T17:27:41Z","person":{"created_at":"2012-09-2
$(document).ready(function () {
var isiPad = navigator.userAgent.match(/iPad/i) !== null;
if (isiPad === true){
$("ul.thumbnails li.event.span4.max300").removeClass("span4").addClass("span6")
}
$(window).resize(function(){
if (window.innerWidth < 1200){
$("ul.thumbnails li.event.span4.max300").removeClass("span4").addClass("span6");
}
if (window.innerWidth > 1200){