Ajout des class pour chaque module et pour la config du site, Correction module météo en cas de ville non trouvée, Correction d'ajout de tâche dans Todoist,
This commit is contained in:
30
class/Search.php
Normal file
30
class/Search.php
Normal file
@@ -0,0 +1,30 @@
|
||||
<?php
|
||||
class search {
|
||||
private $params = array();
|
||||
|
||||
public function __construct($params){
|
||||
echo '<center>
|
||||
<form method="get" action="http://www.google.fr/custom" target="_top" name="form" id="form">
|
||||
<table bgcolor="#ffffff" id="recherche">
|
||||
<tr><td nowrap="nowrap" valign="top" align="left" height="32">
|
||||
<input type="text" name="q" id="q" size="31" maxlength="255" value=""></input>
|
||||
<input type="submit" name="sa" value="Rechercher" class="searchbutton"></input>
|
||||
<input type="hidden" name="client" value="pub-5878090856826866"></input>
|
||||
<input type="hidden" name="forid" value="1"></input>
|
||||
<input type="hidden" name="ie" value="ISO-8859-1"></input>
|
||||
<input type="hidden" name="oe" value="ISO-8859-1"></input>
|
||||
<input type="hidden" name="cof" value="GALT:#008000;GL:1;DIV:#336699;VLC:663399;AH:center;BGC:FFFFFF;LBGC:336699;ALC:0000FF;LC:0000FF;T:000000;GFNT:0000FF;GIMP:0000FF;FORID:1;"></input>
|
||||
<input type="hidden" name="hl" value="fr"></input>
|
||||
</td></tr></table>
|
||||
</form>
|
||||
</center>';
|
||||
}
|
||||
|
||||
private function setParams($params){
|
||||
$this->params = $params;
|
||||
}
|
||||
|
||||
public static function start($params){
|
||||
$search = new search($params);
|
||||
}
|
||||
}
|
Reference in New Issue
Block a user