'.$sql_right.'
'.mysql_error()); $row=mysql_fetch_array($result_right); $right="

".stripslashes($row['title'])."

".stripslashes(nl2br($row['content'])).""; unset($sql_right,$result_right); //  |  Fees Schedule $nav_menu="
  Home   |  Fees Schedule   |  Usefull links   |  F.A.Q.'s   |  About OnlineCranes   |  Contact   |  User agreement   |  Privacy policy
"; $sellrent_link="Sell or Rent
Cranes
"; $finance_link="Crane
Finance
"; $insurance_link="Crane
Insurance
"; $transport_link="Crane
Transport
"; $parts_link="Crane
Parts
"; $repair_link="Crane
Repair
"; $register_link="Register"; $login_link="Login"; //

// //

"; $topmenu="
".$sellrent_link." ".$finance_link." ".$insurance_link." ".$transport_link." ".$parts_link." ".$repair_link." ".$register_link." ".$login_link."
"; if(isset($_SESSION['idle'])) { $log_link="Your were automatically logged out!"; unset($_SESSION['idle']); } if ((isset($_SESSION['enc_client_id'])) && (isset($_SESSION['logged_str']))) { $log_link=" ".$_SESSION['client']." logged in | Logout "; $sellrent_link="Sell or Rent
Cranes
"; $cranes_link="My Cranes"; $profile_link="My Profile"; $log_link="".$_SESSION['client']." logged in | Logout"; $topmenu="
".$sellrent_link." ".$finance_link." ".$insurance_link." ".$transport_link." ".$parts_link." ".$repair_link." ".$cranes_link." ".$profile_link."
"; } ?>[Refresh] $rand_sel=array(); $sql="SELECT DISTINCT manufacturer FROM stock WHERE active='1' AND img0!=\"\" ORDER BY RAND() LIMIT 0,8"; $result=mysql_query($sql, $connection) or die ($sql."
".mysql_error()); while ($row=mysql_fetch_array($result)) { array_push($rand_sel, $row['manufacturer']); } //print_r($rand_sel); exit; foreach($rand_sel as $manufacturer) { $sql="SELECT unid, manufacturer_name, model_name, img0 FROM stock WHERE ". "manufacturer=\"".$manufacturer."\" AND active='1' AND img0!=\"\" ORDER BY RAND() LIMIT 1"; $result=mysql_query($sql, $connection) or die ($sql."
".mysql_error()); $row=mysql_fetch_array($result); $displ_img="\"\""; $unid=$row['unid']; $d_random_picks.="". "". "
".$displ_img."
". $row['manufacturer_name']." ".$row['model_name']."
"; unset($unid); } $_SESSION['rnd_selection']=$d_random_picks; unset($row,$result,$sql,$d_random_picks,$rand_sel); ?>Error: "; if (($_POST['name']=="") || ($_POST['message']=="") || ($_POST['email']=="")) { $err_message.="Name, email address and message are required!
"; } if ((isset($_POST['email'])) && (!eregi("[A-Za-z0-9_-]+([.]{1}[A-Za-z0-9_-]+)*@[A-Za-z0-9-]+([.]{1}[A-Za-z0-9-]+)+", $_POST['email']))) { $err_message.="Email address seems to be invalid!
"; } } else { $err_message=""; $posted=clean_strings($_POST); if(!empty($posted['lastname'])) { if(phpversion() >= "4.2.0") { extract($_SERVER); } $filename = "/var/www/vhosts/onlinecranes.com/httpdocs/secure/form_spammers.dat"; $fp = fopen($filename,'a+'); fwrite($fp, $REMOTE_ADDR." [".$vandaag."] - CONTACT.inc.php\r\n".$REQUEST_METHOD." ".$REQUEST_URI." ".$SERVER_PROTOCOL ."\r\n".$HTTP_USER_AGENT."\r\n Message:\r\n".nl2br($posted['message'])."r\n\r\n"); fclose($fp); } $msg="

From: ".$posted['name']." <".$posted['email'].">
Subject: ".$posted['subject']."

".nl2br($posted['message'])."

"; $mailheaders ="MIME-Version: 1.0\n"; $mailheaders .="Content-Type: text/html; charset=\"iso-8859-1\"\n"; $mailheaders .="From: ".$posted['name']."<".$posted['email'].">\n"; $subject="OnlineCranes - Contact us: ".$posted['subject']; //$to="jgoedhart@onlinecranes.com"; $to = "info@onlinecranes.com"; $to2 = "copy@onlinecranes.com"; if (empty($posted['lastname'])) { if (mail($to, $subject, $msg, $mailheaders)) { $sent=1; } } if (($sent==1) || (!empty($posted['lastname']))) { $confirm="

The following message was sent to OnlineCranes:

$msg

The OnlineCranes team will get in touch with you as soon as possible.

"; } if ($sent==1) { $msg.="
* * * * * COPY HTTP Contact * * * * * "; mail($to2, $subject, $msg, $mailheaders); } if (($sent!=1) && (empty($posted['lastname']))) { $confirm="

Error sending e-mail message to OnlineCranes!

Please contact OnlineCranes by sending an e-mail to info@onlinecranes.com.
"; } $content=$confirm; unset($msg,$to,$to2,$msg,$mailheaders,$subject,$confirm); } } if (($_POST['do_send']!="1") || ($err==1)) { if($err!=1) { $err_message="All fields and a valid e-mail address are required!"; } $content="

Contact OnlineCranes

Address:
PO Box 10242
1001 EE Amsterdam
The Netherlands

Please fill in this e-mail form and click the 'Send' button to get in contact with OnlineCranes.
".$err_message."

Your name:
Your e-mail address:
Subject:
Message:
"; if($err==1) { unset($posted); } unset($_POST); } $head_ttle="Contact Online Cranes"; $head_descr=""; ?> <? echo $head_ttle; ?>
".$content."
"; if (($_GET['sect']!="ua") && ($_GET['sect']!="pp") && ($_GET['sect']!="search") && ($_GET['sect']!="links") && (!isset($_GET['show'])) && ($s_results!=1) && ($_GET['sect']!="parts") && ($_GET['sect']!="repair") && ($_GET['sect']!="finance")) { $brand_list=" Brand: "; $type_list="Type: "; $capacity_list="Capacity: "; //include ("create_list.inc.php"); include ("create_partners_table.inc.php"); //

Show all cranes for sale or for rent >>

echo "
Register:
In order to list your cranes for sale, rent and/or to receive our newsletter you need to REGISTER at OnlineCranes. Registering is free. If you've already registered at OnlineCranes, please LOGIN to manage your online cranes!

Search Cranes for sale and for rent at OnlineCranes:

".$type_list." ".$brand_list." ".$capacity_list."
".$partners_table."
Brands: Types:
".$display_brandlist." ".$display_typelist."

"; } ?> nothing
 OnlineCranes