0){ ?>
 
  '; } ?>
 
uniqueID; $num_times = $row->num_times + 1; } $last_updated= date('Y-m-d H:i:s'); $query= "update tracking set num_times = '$num_times', last_updated = '$last_updated' where uniqueID='$id2update'"; mysql_query($query, $linkid); } } /** * @return array * @param string $order, date(m) $month, date(Y) $year * @desc This will select all the results from the database and return them in an array. */ function get_tracking_results($order, $month, $year){ global $linkid; $query = "select * from tracking order by $order"; $result = mysql_query($query, $linkid); $return_val = false; if(mysql_num_rows($result) != 0){ $return_val = array(); while($row = mysql_fetch_array($result, MYSQL_ASSOC)){ $m = explode('-',$row['last_updated'],3); if($m[1] == $month && $m[0] == $year) $return_val[] = $row; } if(count($return_val)==0) $return_val = false; } return $return_val; } /** * @return array * @desc This will select all the months and years from the tracking table as a unique array. */ function get_tracking_months(){ global $linkid; $query = "select last_updated from tracking order by last_updated"; $result = mysql_query($query, $linkid); $return_val = false; if(mysql_num_rows($result)!=0){ $return_val = array(); while($row = mysql_fetch_array($result, MYSQL_ASSOC)){ $m = explode('-',$row['last_updated'],3); if($m[1] != $return_val[count($return_val)-1]['month']){ $return_val[] = array('month' => $m[1], 'year' => $m[0]); } } if(count($return_val)==0) $return_val = false; } return $return_val; } ?>adminlevel; $_SESSION["username"] = $row->email; $_SESSION["userid"] = $row->id; // check where to go if(@$_SESSION["returnValue"]){ header("Location:http://www.carperfect.com/".$_SESSION["returnValue"]); }else{ if($_SESSION["adminlevel"] == "admin"){ header("Location:http://www.carperfect.com/admin.php"); ?>
  Login:
  E-mail:
 
  Password:
 
 
   
  Forgot password?

You are logged in.
click the link below to logout


Go to My Admin >

Search: '; return $info; } ?>
Business Owners
Carperfect.com has developed a risk-free method to convert slow days into busy ones. By harnessing the incredible efficiencies and reach of the Internet, our programs serve to drive dirty cars to participating establishments, creating additional revenues, and repeat visits.

Car Care News
updated last on

Your Questions Answered
Common and not so common auto questions answered by auto industry professionals


Carperfect.com Your home for car care information
 
  Contact Carperfect  
     
 

Thanks for your inquiry!
we will get back to you as soon as possible. Have a great day!

Jeff B.
Carperfect.com

<back to contact form
Your Name:
Your E-Mail:
Subject:  
Message:  
*note: ALL fields required
 
     

Copyright © CarPerfect.com.
All rights reserved.
Main About Us Questions & Answers News Contact Site map Links