0 && strlen($value)>0) {
echo "$name=\"$value\" ";
}
}
function Html($flg=DEBUGOFF) {
$this->_flgDebug=$flg;
$this->_debug="";
}
function setDebug($str) {
if($this->_flgDebug==1) {
$this->_debug="
\n".
"\t\n".
"\t\t".$str." |
\n".
"\t
\n".
"\n";
}
}
function getDebug($str="") {
if(strlen($str)>0) {
$this->setDebug($str);
}
echo $this->_debug;
}
function sTextArea($cols="",$rows="", $name="", $options="") {
echo "";
}
function textarea($cols="",$rows="", $name="", $options="", $content="") {
$this->sTextArea($cols, $rows, $name, $options);
echo $content;
$this->eTextArea();
}
function input($type="", $name="", $value="", $size="", $maxlength="", $options="") {
echo "_print("type" , $type);
$this->_print("name" , $name);
$this->_print("value" , $value);
$this->_print("size" , $size);
$this->_print("maxlength" , $maxlength);
if(strlen($options)>0) {
echo "$options";
}
echo ">";
}
function button($name="", $value="", $options="") {
$this->input("submit", $value, $name, "", "", $options);
}
function button_reset($name="", $value="", $options="") {
$this->input("reset", $value, $name, "", "", $options);
}
function button_single($name="", $value="", $options="") {
$this->input("button", $name, $value, "", "", $options);
}
function spre() {
echo "";
}
function epre() {
echo "
";
}
function pre($str="") {
$this->spre();
echo ((strlen($str)>0)?$str:" ");
$this->epre();
}
function sselect($name="", $size=0, $options) {
echo "";
}
function select($name="", $size=0, $values="", $chkfield="", $options="" ) {
$this->sselect($name, $size, $options);
if(is_array($values)) {
foreach($values as $index => $val ) {
$this->nl();
if($index==$chkfield) {
if(strlen($chkfield)>0) {
$this->option($val, $index, "selected");
}
} else {
$this->option($val, $index);
}
}
}
$this->eselect();
}
function soption($value="", $options="") {
echo "";
}
function option($value="", $name="", $options="") {
$this->soption($value, $options);
echo $name;
$this->eoption();
}
function scenter() {
echo "";
}
function ecenter() {
echo "";
}
function center($str="") {
$this->scenter();
echo $str;
$this->ecenter();
}
function stitle(){
echo "";
}
function etitle() {
echo "";
}
function title($str="") {
$this->stitle();
echo $str;
$this->etitle();
}
function sbody($options="") {
echo "";
}
function ebody() {
echo "";
}
function body($str="", $options="" ) {
$this->sbody($options);
echo $str;
$this->ebody();
}
function shtml() {
echo "";
}
function ehtml() {
echo "";
}
function fhtml($str="") {
$this->shtml();
echo $str;
$this->ehtml();
}
function shead() {
echo "";
}
function ehead() {
echo "";
}
function head($str="") {
$this->shead();
echo $str;
$this->ehead();
}
function br() {
echo "
\n";
}
function nl() {
echo "\n";
}
function slink($options="") {
echo "";
}
function elink() {
echo "";
}
function link($url="", $valor="") {
echo "";
$this->slink($url);
echo "\n$valor\n";
$this->elink();
}
}
?>