/**
  *
  * @param Client $client
  * @return type
  * @throws DaoException 
  */
 public function updateClient(Client $client)
 {
     try {
         $query = Doctrine_Query::create()->update('Client i');
         $query->set('i.name', '?', $client->getName());
         $query->set('i.address', '?', $client->getAddress());
         $query->set('i.tp_hp', '?', $client->getTpHp());
         $query->set('i.tp_home', '?', $client->getTpHome());
         $query->set('i.notes', '?', $client->getNotes());
         $query->where('i.id = ?', $client->getId());
         return $query->execute();
     } catch (Exception $e) {
         throw new DaoException($e->getMessage(), $e->getCode(), $e);
     }
 }
<?php

require_once 'config.php';
$updateCycles = Client::getUpdateCycles();
$richListData = Client::getRichListData();
$notes = Client::getNotes();
$processInfo = Client::getProcessingInfo();
?>
<!doctype html>
<html>
<head>
<meta charset="utf-8">
<title><?php 
echo ucfirst(CRYPTONAME);
?>
 - Distribution</title>

<script src="js/jquery-1.11.1.min.js" type="text/javascript"></script>
<script src="js/jquery.balloon.min.js" type="text/javascript"></script>
<script src="js/jquery.tablesorter.js" type="text/javascript"></script>
<script src="js/main.js" type="text/javascript"></script>

<!--<link rel="stylesheet" type="text/css" href="css/main.css">-->
</head>

<body>
<div style="width:950px; margin:0 auto;">
	<table cellpadding="0" cellspacing="0" border="0" width="1000">
		<tbody>
		<tr>
			<td>