0byt3m1n1-V2
Path:
/
home
/
nlpacade
/
www
/
classes
/
[
Home
]
File: Port.class.php
<?php include_once(realpath(dirname(__FILE__)) . "/Baseobj.class.php"); class Port extends Baseobj{ var $id; var $zone; var $poids; var $certification; var $port; var $table="port"; var $bddvars=array("id", "zone", "poids", "port", "certification"); function Port(){ $this->Baseobj(); } function charger($id){ return $this->getVars("select * from $this->table where id=\"$id\""); } function calcule($zone, $poids){ $this->getVars("select * from $this->table where zone='" . $zone . "' and poids>='" . $poids . "' order by port limit 0,1"); return $this->port; } } ?>
©
2018.