This file contains hidden or 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 | |
include ("simple_html_dom.php"); | |
function import_special($brand, $result= "0"){ | |
echo "<div class=\"special\">"; | |
$page = "f_VehicleSearchResults?pageContext=VehicleSearch&search=new&campaign=0"; | |
if($brand == "usedwestbrook") { | |
$brand = "westbrook"; | |
$page = "f_VehicleSearchResults?pageContext=VehicleSearch&search=used&campaign=0"; | |
} | |
if($brand == "usedbrunswick") { |
This file contains hidden or 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 toggleLayer( whichLayer ) | |
{ | |
var elem, vis; | |
if( document.getElementById ) // this is the way the standards work | |
elem = document.getElementById( whichLayer ); | |
else if( document.all ) // this is the way old msie versions work | |
elem = document.all[whichLayer]; | |
else if( document.layers ) // this is the way nn4 works | |
elem = document.layers[whichLayer]; | |
vis = elem.style; |
This file contains hidden or 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 | |
require( '/home/content/b/i/l/billdodgeweb/html/nav.php' ); | |
?> | |
<div class="body_wrapper"> | |
<br/> | |
<!-- InstanceBeginEditable name="content" --> | |
<div class="content_wrapper"> | |
<?php | |
require('send_mail.php'); | |
$require_string = "required"; |
This file contains hidden or 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 | |
require( '/home/content/b/i/l/billdodgeweb/html/nav.php' ); | |
?> | |
<div class="body_wrapper"> | |
<br/> | |
<!-- InstanceBeginEditable name="content" --> | |
<div class="content_wrapper"> | |
<?php | |
require('send_mail.php'); | |
$require_string = "required"; |
This file contains hidden or 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 | |
session_start(); | |
$db = mysql_connect("localhost", "bdag", "bdag") or die("Could not connect."); | |
if(!$db) | |
die("no db"); | |
if(!mysql_select_db("bdaginventory",$db)) |
This file contains hidden or 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 | |
$databasehost = "localhost"; | |
$databasename = "bdaginventory"; | |
$databasetable = "inventorytest"; | |
$databaseusername ="bdag"; | |
$databasepassword = "bdag"; | |
$fieldseparator = ","; | |
$lineseparator = "\n"; | |
$csvfile = "vehicles.csv"; |
This file contains hidden or 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
From [email protected] Mon Feb 7 16:12:41 2011 | |
Received: from ip-184-168-81-55.ip.secureserver.net (unknown [127.0.0.1]) | |
by ip-184-168-81-55.ip.secureserver.net (Postfix) with ESMTP id 04F41983CCA | |
for <[email protected]>; Mon, 7 Feb 2011 21:12:41 +0000 (UTC) | |
Received: from mail-iw0-f175.google.com (unknown [209.85.214.175]) | |
by ip-184-168-81-55.ip.secureserver.net (Postfix) with ESMTP | |
for <[email protected]>; Mon, 7 Feb 2011 21:12:40 +0000 (UTC) | |
Received: by iwn8 with SMTP id 8so5022193iwn.6 | |
for <[email protected]>; Mon, 07 Feb 2011 13:12:40 -0800 (PST) | |
DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; |
This file contains hidden or 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 | |
require($_SERVER['DOCUMENT_ROOT']."/includes/dbconnect.php"); | |
foreach($_POST as $name => $value){ | |
$$name = $value; | |
echo $name."=".$value; | |
} | |
$sql = "INSERT INTO text_service (cust, phone, first, carrier, last) VALUES ('$cust','$phone','$first','$carrier','$last')"; | |
$db->query($sql); | |
echo $sql; | |
?> |
This file contains hidden or 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
// JavaScript Document | |
//my jquery query string reader | |
$j.extend({ | |
getUrlVars: function(){ | |
var vars = [], hash; | |
var hashes = window.location.href.slice(window.location.href.indexOf('?') + 1).split('&'); | |
for(var i = 0; i < hashes.length; i++) | |
{ | |
hash = hashes[i].split('='); | |
vars.push(hash[0]); |
This file contains hidden or 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
var startTime; | |
$( document ).bind( "click", function() { | |
startTime = new Date(); | |
} ).bind( "pageshow", function() { | |
if ( startTime ) { | |
console.log( ( new Date() ).getTime() - startTime.getTime() ); | |
} | |
startTime = undefined; | |
} ); |
OlderNewer