当前位置: 首页>>代码示例>>PHP>>正文


PHP html::write方法代码示例

本文整理汇总了PHP中html::write方法的典型用法代码示例。如果您正苦于以下问题:PHP html::write方法的具体用法?PHP html::write怎么用?PHP html::write使用的例子?那么恭喜您, 这里精选的方法代码示例或许可以为您提供帮助。您也可以进一步了解该方法所在html的用法示例。


在下文中一共展示了html::write方法的15个代码示例,这些例子默认根据受欢迎程度排序。您可以为喜欢或者感觉有用的代码点赞,您的评价将有助于系统推荐出更棒的PHP代码示例。

示例1: aworkstrackpage

 function aworkstrackpage()
 {
     $this->page();
     $this->stylesheet = "style.css";
     $this->__widgetfields[] = html::write("<script src=\"shortcuts.js\"></script><div id=\"header\"></div>");
     $this->__widgetfields[] = html::write("<h1>Seguimiento de Pedidos</h1>");
 }
开发者ID:Esleelkartea,项目名称:arotz,代码行数:7,代码来源:local.php

示例2: errorList

 function errorList()
 {
     global $__gl_errors;
     for ($i = 0; $i < count($__gl_errors); $i++) {
         $out .= "<li>" . $__gl_errors[$i]->string . ($__gl_errors[$i]->param ? " : " . $__gl_errors[$i]->param : "") . "</li>";
     }
     return html::write($out);
 }
开发者ID:Esleelkartea,项目名称:arotz,代码行数:8,代码来源:error.php

示例3: draw

 function draw()
 {
     global $__utime_start;
     global $__debug_array;
     debug($this, "Execution time (until debugWidget) :" . round(microtime_float() - $__utime_start, 3) . "s");
     $arr =& $__debug_array;
     $out .= "<table class=\"debug\"><tr><td class=\"debug_header\">Object</td><td class=\"debug_header\">Message</td></tr>";
     for ($i = 0; $i < count($arr); $i++) {
         $out .= "<tr><td class=\"debug_object\"><b>" . $arr[$i]["object"] . "</b></td><td class=\"debug_message\">" . $arr[$i]["message"] . "</td></tr>";
     }
     $out .= "</table>";
     $box = new Box("ooCommon NG Debug");
     $box->addWidget(html::write($out));
     return $box->draw();
 }
开发者ID:Esleelkartea,项目名称:arotz,代码行数:15,代码来源:debugwidget.class.php

示例4: drawWidget

 function drawWidget()
 {
     $s = new session();
     if (session::check() != false) {
         $w = new box($this->logged_in_realm_caption);
         $w->css_box = "login";
         $w->addWidget(html::write($this->logged_in_caption . $s->user->username));
         $w->addWidget(new button($this->logout_caption, $this->logouttarget . "?logout=1"));
         return $w->draw();
     }
     $h = new html();
     $h->html .= "\n\t\t\t\t\t\n\t\t\t\t\t<form method=\"post\" action=\"" . $this->target . "\">\n\t\t\t\t\t<table>\n\t\t\t\t\t\t<tr>\n\t\t\t\t\t\t\t<td colspan=\"2\">\n\t\t\t\t\t\t\t" . $this->realm_caption . "\n\t\t\t\t\t\t\t</td>\n\t\t\t\t\t\t</tr>\n\t\t\t\t\t\t<tr><td>" . $this->username_caption . "</td><td><input type=\"text\" name=\"username\"></td></tr>\t\t\t\n\t\t\t\t\t\t<tr><td>" . $this->password_caption . "</td><td><input type=\"password\" name=\"password\"></td></tr>\n\t\t\t\t\t\t<tr><td><input type=\"submit\" value=\"" . $this->submit_caption . "\"></td></tr></table></form>";
     $b = new box($this->realm_caption, $h);
     $b->css_box = "login";
     return $b->draw();
 }
开发者ID:Esleelkartea,项目名称:arotz,代码行数:16,代码来源:login.class.php

示例5: date

$d = new date();
$d->timestamp = $sf->fecha_entrega;
$d->parse();
$f->addWidget(new form_html("Fecha Entrega", $d->string));
$elw = new estadolistwidget();
$elw->drop($sf);
$f->addWidget(new form_widget("Estado", "", $elw));
$f->addWidget(new form_separator("Datos adicionales"));
$f->addWidget(new form_textarea("otro_material", "Otros materiales", $sf->otro_material));
$f->addWidget(new form_textarea("observaciones", "Observaciones", $sf->observaciones));
$b2 = new Box("Datos Generales del Pedido");
$b2->addWidget($f);
$b3 = new Box("Eventos del Pedido");
$ev = new eventviewer();
$ev->drop($sf);
$b3->addWidget($ev);
$b->addWidget(html::write("<table style=\"width:100%;\"><tr><td valign=\"top\" style=\"width:40%;\">" . $b2->draw() . "</td><td  valign=\"top\">" . $b3->draw() . "</td></tr></table>"));
$b->addWidget(html::write("<script> var idpedido='" . $sf->id . "';</script>"));
$p->addWidget($b);
$b = new Box("Detalle del Pedido");
if ($sf->tipo_pedido == 0 || $sf->tipo_pedido == 2) {
    $b->addWidget(new puertas_paso($sf->estado < 1 ? true : false));
}
if ($sf->tipo_pedido == 0 || $sf->tipo_pedido == 2) {
    $b->addWidget(new puertas_entrada($sf->estado < 1 ? true : false));
}
if ($sf->tipo_pedido == 1 || $sf->tipo_pedido == 2) {
    $b->addWidget(new ventanas($sf->estado < 1 ? true : false));
}
$p->addWidget($b);
$p->draw();
开发者ID:Esleelkartea,项目名称:arotz,代码行数:31,代码来源:pedido.php

示例6: predrawWidget

 function predrawWidget()
 {
     $r = new request();
     if ($r->id) {
         $this->__scaffoldobject->open($r->id);
     }
     $this->__gridobject->drop($this->__scaffoldobject);
     $this->__dataform->drop($this->__scaffoldobject);
     switch ($r->action) {
         default:
             $button_add = new button($this->button_add, $this->controller . "?action=add");
             $b = new box($this->name ? $this->name : "List", $this->__gridobject);
             $b->addWidget($button_add);
             return $b;
             break;
         case "add":
             $this->__dataform->action = $this->__dataform->action . "?action=insert";
             $this->__dataform->submit = $this->button_add;
             $this->__dataform->__target = $this->__dataform->action;
             return new box($this->name ? $this->name : "Add", $this->__dataform);
             break;
         case "insert":
             $this->__scaffoldobject->fromObject($r);
             if ($this->__scaffoldobject->insert()) {
                 $b = new box($this->name ? $this->name : "Message", html::write($this->message_insert_ok));
                 $b->addWidget(new button($this->button_list, $this->controller));
                 return $b;
             } else {
                 $b = new box($this->name ? $this->name : "Message", html::write($this->message_insert_failed));
                 $b->addWidget(new button($this->button_list, $this->controller));
                 return $b;
             }
             break;
         case "update":
             $this->__scaffoldobject->open($r->id);
             $this->__scaffoldobject->fromObject($r);
             if ($this->__scaffoldobject->update()) {
                 $b = new box($this->name ? $this->name : "Message", html::write($this->message_update_ok));
                 $b->addWidget(new button($this->button_list, $this->controller));
                 return $b;
             } else {
                 $b = new box($this->name ? $this->name : "Message", html::write($this->message_update_failed));
                 $b->addWidget(new button($this->button_list, $this->controller));
                 return $b;
             }
             break;
         case "view":
             $this->__dataform->action = $this->__dataform->action . "?action=update&id=" . $r->id;
             $this->__dataform->__target = $this->__dataform->action;
             $this->__dataform->submit = $this->button_update;
             $b = new box($this->name ? $this->name : "View", $this->__dataform);
             $b->addWidget(new button($this->button_list, $this->controller));
             $b->addWidget(new button($this->button_delete, $this->controller . "?action=delete&id=" . $r->id));
             return $b;
             break;
         case "delete":
             $this->__scaffoldobject->open($r->id);
             if ($this->__scaffoldobject->delete()) {
                 $b = new box($this->name ? $this->name : "Message", html::write($this->message_delete_ok));
                 $b->addWidget(new button($this->button_list, $this->controller));
                 return $b;
             } else {
                 $b = new box($this->name ? $this->name : "Message", html::write($this->message_delete_failed));
                 $b->addWidget(new button($this->button_list, $this->controller));
                 return $b;
             }
             break;
     }
 }
开发者ID:Esleelkartea,项目名称:arotz,代码行数:69,代码来源:dataobjectapp.class.php

示例7: error_reporting

<?php

include "local.php";
error_reporting(E_ALL);
$p = new aworkspage();
$sf = new scaffold("pedidos");
$p->addWidget(html::write("<h1>Bienvenid@</h1>"));
$d = new datagrid("pedido", "pedido.php?");
$d->toolbar = false;
$sf->__query = "SELECT * FROM pedidos order by estado";
$d->objectField("idmodelo", new scaffold("modelos"), "referencia");
$d->objectField("idmadera", new scaffold("maderas"), "referencia");
$d->specialField("fecha", "timestamp", "date", "html");
$d->headers("tipo_pedido", "Tipo de Pedido");
$d->specialField("tipo_pedido", "tipo_pedido", "ooentity", "tipowidget");
$d->headers("estado", "Estado");
$d->headers("cliente", "Cliente");
$d->headers("referencia", "Referencia");
$d->hideField("observaciones");
$d->hideField("otro_material");
$d->specialField("estado", "estado", ooentity, estadolistwidget);
$d->specialField("fecha_pedido", "timestamp", date, html);
$d->specialField("fecha_entrega_prevista", "timestamp", date, html);
$d->specialField("fecha_entrega", "timestamp", date, html);
$d->headers("fecha_entrega", "Fecha de Entrega");
$d->headers("fecha_entrega_prevista", "Fecha de Entrega Prevista");
$d->headers("fecha_pedido", "Fecha de Pedido");
$b = new Box("Pedidos en Cartera");
$d->drop($sf);
$t = new toolbar();
$t->addWidget(new button("A&ntilde;adir Pedido", "pedido_add.php", "add"));
开发者ID:Esleelkartea,项目名称:arotz,代码行数:31,代码来源:index.php

示例8: time

    $sfe->idpedido = $r->pedido_id;
    $sfe->insert();
    if (!errorobject::hasErrors()) {
        $sf->estado = $sfe->estado_nuevo;
        $sf->fecha_entrega_prevista = $sfe->fecha_entrega_prevista;
        if ($sfe->estado_nuevo == 8) {
            $sf->fecha_entrega = time();
        }
        $sf->update();
        header("location:pedido.php?pedido_id=" . $r->pedido_id);
    } else {
        $p->addWidget(new infobox("Error", "Error en el formulario, compruebe los datos", false));
    }
}
error_reporting(E_ALL);
$p->addWidget(html::write("<h1>A&ntilde;adir evento a pedido <b>" . $sf->referencia . "</b> de <b>" . $sf->cliente . "</b> </h1>"));
$b = new Box("Datos del Evento");
$t = new toolbar();
$t->addWidget(new button("Guardar Datos del Evento", "javascript:document.forms[0].submit()", "disk"));
$b->addWidget($t);
$f = new form("", "");
$opts[] = array("caption" => "Sin procesar", "value" => 0);
$opts[] = array("caption" => "Orden", "value" => 1);
$opts[] = array("caption" => "Taller", "value" => 2);
$opts[] = array("caption" => "Excepci&oacute;n Taller", "value" => 3);
$opts[] = array("caption" => "Fabricaci&oacute;n", "value" => 4);
$opts[] = array("caption" => "Excepci&oacute;n en Fabricaci&oacute;n", "value" => 5);
$opts[] = array("caption" => "Almac&eacute;n", "value" => 6);
$opts[] = array("caption" => "Excepci&oacute;n en Almac&eacute;n", "value" => 7);
$opts[] = array("caption" => "Entrega", "value" => 8);
$opts[] = array("caption" => "Excepci&oacute;n en Entrega", "value" => 9);
开发者ID:Esleelkartea,项目名称:arotz,代码行数:31,代码来源:pedido_evento_add.php

示例9: aworkstrackpage

<?php

include "local.php";
$p = new aworkstrackpage();
if ($r->error) {
    $out .= "<center><h2 style=\"color:red;position:absolute;left:25%;width:50%;\">Numero de pedido incorrecto<br /><span style=\"font-size:14px\">Revise su n&uacute;mero de pedido y vuelva a intentarlo</span></h2>";
}
$out .= "\n<form method=\"post\" action=\"tracking_pedido.php\">\n<table style=\"width:100%;height:80%;\">\n<tr style=\"height:80%\">\n<td style=\"width:25%\"></td><td style=\"width:50%;\"><center>\n<div style=\"font-size:32px;background:rgb(230,230,230);height:300px;border:outset 2px;\">\n<br />\n<b>Seguimiento de Pedido</b><br />\n<span style=\"font-size:14px;\">\nIntroduzca n&uacute;mero de seguimiento de pedido proporcionado.<br />\n</span><br />\n<div style=\"border:inset 1px;width:440px;padding:12px;background:white;\">\nAW/<input name=\"prefix\" value=\"" . $r->prefix . "\" type=\"text\" size=\"3\" style=\"font-size:32px;border:dotted 2px;text-align:center;\">/<input  value=\"" . $r->suffix . "\" name=\"suffix\" type=\"text\" size=\"6\"  style=\"text-align:center;font-size:32px;border:dotted 2px;\"><button style=\"font-weight:bold;background:#55ff55;width:56px;height:52px;vertical-align:middle;margin-top:-10px;padding-top:6px;\" onclick=\"document.forms[0].submit()\"><img src=\"icons/16x16/arrow_switch.png\"></button>\n</div>\n<span style=\"font-size:9px;\">\n<br />\n<div style=\"padding:18px;text-align:justify;\">\nLorem ipsum dolor sit amet, consectetuer adipiscing elit. Ut tincidunt vehicula nibh. Donec massa. Sed in mauris in arcu accumsan gravida. Vestibulum pretium felis eget nibh congue venenatis. Aenean aliquam. Sed placerat sapien sit amet sapien. Cras nisi diam, lacinia sit amet, rutrum ornare, ultricies ut, justo. Mauris sit amet ligula. Mauris sit amet mauris et dolor ultricies dapibus. Curabitur in massa vulputate felis sollicitudin lacinia.\n</span>\n</div>\n</div>\n</td>\n<td style=\"width:25%\">\n</td>\n</tr>\n</table>\n</form>\n";
$p->addWidget(html::write($out));
$p->draw();
开发者ID:Esleelkartea,项目名称:arotz,代码行数:10,代码来源:tracking.php

示例10: aworkspage

<?php

include "local.php";
$p = new aworkspage();
$p->addWidget(html::write("<h1>Gesti&oacute;n de Maderas</h1>"));
$app = new dataapp("maderas", "maderas.php", "");
$p->addWidget($app);
$p->draw();
开发者ID:Esleelkartea,项目名称:arotz,代码行数:8,代码来源:maderas.php

示例11: get_namespaces

 public function get_namespaces()
 {
     if ($result = $this->ns->get_all()) {
         foreach ($result as $row) {
             $option = new html('option');
             $option->data($row['name']);
             $ns = $_SESSION['namespace'] ? $_SESSION['namespace'] : 'public';
             if ($ns == $row['name']) {
                 $option->attr('selected', 'selected');
             }
             $option->write();
         }
     }
 }
开发者ID:richardmarshall,项目名称:image-dropbox,代码行数:14,代码来源:auth.php

示例12: time

    $d->parse();
    $sf->fecha_entrega_prevista = $d->timestamp;
    $sf->fecha_pedido = time();
    $sf->fecha_entrega = -1;
    $tracking = "AW/" . date("y") . date("w") . "/" . strtoupper(substr(md5(uniqid(rand)), 4, 2) . substr(md5(uniqid(rand)), 7, 2) . substr(md5(uniqid(rand)), 12, 2));
    $sf->tracking = $tracking;
    $sf->insert();
    if (errorobject::haserrors()) {
    } else {
        $id = mysql_insert_id();
        header("location:pedido.php?pedido_id=" . $id);
    }
}
$p = new aworkspage();
$b = new Box("A&ntilde;adir Pedido");
$p->addWidget(html::write("<h1>A&ntilde;adir Pedido</h1>"));
$t = new toolbar();
$t->addWidget(new button("Guardar Pedido", "javascript:document.forms[0].submit()", "add"));
$b->addWidget($t);
$f = new form("", "");
$f->addWidget(new form_separator("Referencia y Cliente"));
$f->addWidget(new form_input("referencia", "Referencia Cliente", $r->referencia));
$f->addWidget(new form_input("cliente", "Cliente", $r->cliente));
$sel = new form_select("tipo_pedido", "Tipo de Pedido");
$opts[] = array("value" => 0, "caption" => "Puertas");
$opts[] = array("value" => 1, "caption" => "Ventanas");
$opts[] = array("value" => 2, "caption" => "Puertas+Ventanas");
$sel->addOptions($opts);
unset($opts);
$f->addWidget($sel);
$f->addWidget(new form_separator("Fechas"));
开发者ID:Esleelkartea,项目名称:arotz,代码行数:31,代码来源:pedido_add.php

示例13: predrawWidget

 function predrawWidget()
 {
     $identificator = $this->name;
     $action = $this->name . "_action";
     $_identificator = $this->name . "_id";
     $r = new request();
     if ($r->filter_text) {
         if (strpos($this->controller, "?") === false) {
             $this->controller .= "?prepend=1";
         }
         $this->controller .= "&filter_text=" . $r->filter_text . "&filter_field=" . $r->filter_field;
         if ($r->filter_match) {
             $this->controller .= "&filter_match=1";
         }
     }
     if ($r->{$_identificator}) {
         $this->__scaffoldobject->open($r->{$_identificator});
     }
     $this->__gridobject->drop($this->__scaffoldobject);
     if ($r->{$action} == "insert") {
         $this->__scaffoldobject->fromObject($r);
     }
     $this->__formobject->drop($this->__scaffoldobject);
     switch ($r->{$action}) {
         default:
             $button_add = new button($this->button_add, $this->controller . (strpos($this->controller, "?") === false ? "?" : "&") . $action . "=add", "add");
             $b = new box($this->name ? $this->name : "List", $this->__gridobject);
             if (!$this->__disable_add) {
                 $b->addWidget($button_add);
             }
             return $b;
             break;
         case "add":
             $this->__formobject->action = $this->__formobject->action . (strpos($this->__formobject->action, "?") === false ? "?" : "&") . $action . "=insert";
             $this->__formobject->submit = $this->button_add;
             $this->__formobject->__target = $this->__formobject->action;
             return new box($this->name ? $this->name : "Add", $this->__formobject);
             break;
         case "insert":
             $this->__scaffoldobject->fromObject($r);
             if (is_array($this->__composites)) {
                 foreach ($this->__composites as $k => $v) {
                     $entity = $this->__composites[$k]["entity"];
                     $efield = $this->__composites[$k]["efield"];
                     $this->__scaffoldobject->composeField($k, $entity, $efield);
                 }
             }
             if ($this->__scaffoldobject->insert()) {
                 $b = new box($this->name ? $this->name : "Message", html::write($this->message_insert_ok));
                 $t = new toolbar();
                 $b->addWidget(html::write("<script>setTimeout(\"document.location='" . $this->controller . "'\",1000);</script>"));
                 $b->addWidget($t);
                 return $b;
             } else {
                 $w = new oowidget();
                 $b = new box($this->name ? $this->name : "Message", html::write($this->message_insert_failed));
                 $b->addWidget(errorobject::errorList());
                 $this->__formobject->action = $this->__formobject->action . (strpos($this->__formobject->action, "?") === false ? "?" : "&") . $action . "=insert";
                 $this->__formobject->submit = $this->button_add;
                 $this->__formobject->__target = $this->__formobject->action;
                 $b2 = new box($this->name ? $this->name : "Add", $this->__formobject);
                 $w->addWidget($b);
                 $w->addWidget($b2);
                 $b->addWidget(new button($this->button_list, $this->controller));
                 return $w;
             }
             break;
         case "update":
             $tmpsf = $this->__scaffoldobject;
             $this->__scaffoldobject = new scaffold($this->name);
             $this->__scaffoldobject->__validators = $tmpsf->__validators;
             $this->__scaffoldobject->fromObject($r);
             if (is_array($this->__composites)) {
                 foreach ($this->__composites as $k => $v) {
                     $entity = $this->__composites[$k]["entity"];
                     $efield = $this->__composites[$k]["efield"];
                     $this->__scaffoldobject->composeField($k, $entity, $efield);
                 }
             }
             if ($this->__scaffoldobject->update()) {
                 $b = new box($this->name ? $this->name : "Message", html::write($this->message_update_ok));
                 $t = new toolbar();
                 //$b->addWidget(new button($this->button_list, $this->controller));
                 $b->addWidget(html::write("<script>setTimeout(\"document.location='" . $this->controller . "'\",1000);</script>"));
                 return $b;
             } else {
                 $w = new oowidget();
                 $this->__formobject->action = $this->__formobject->action . (strpos($this->__formobject->action, "?") === false ? "?" : "&") . $action . "=update&" . $this->name . "_id=" . $r->{$_identificator};
                 $this->__formobject->__target = $this->__formobject->action;
                 $this->__formobject->submit = $this->button_update;
                 $b2 = new box($this->name ? $this->name : "View", $this->__formobject);
                 $b = new box($this->name ? $this->name : "Message", html::write($this->message_update_failed));
                 $b->addWidget(errorobject::errorList());
                 $b->addWidget(new button($this->button_list, $this->controller));
                 $w->addWidget($b);
                 $w->addWidget($b2);
                 $b->addWidget(new button($this->button_list, $this->controller));
                 return $w;
                 return $b;
             }
//.........这里部分代码省略.........
开发者ID:Esleelkartea,项目名称:arotz,代码行数:101,代码来源:dataapp.class.php

示例14: Box

$d->specialField("fecha", "timestamp", "date", "html");
$d->hideField("observaciones");
$d->hideField("otro_material");
$d->specialField("estado", "estado", ooentity, estadolistwidget);
$d->specialField("fecha_pedido", "timestamp", date, html);
$d->headers("tipo_pedido", "Tipo de Pedido");
$d->specialField("tipo_pedido", "tipo_pedido", "ooentity", "tipowidget");
$d->specialField("fecha_entrega_prevista", "timestamp", date, html);
$d->specialField("fecha_entrega", "timestamp", date, html);
$d->headers("fecha_entrega", "Fecha de Entrega");
$d->headers("fecha_entrega_prevista", "Fecha de Entrega Prevista");
$d->headers("fecha_pedido", "Fecha de Pedido");
$b = new Box("Pedidos en Cartera");
$d->drop($sf);
$p->addWidget($d);
$p->addWidget(html::write("<h1>&Uacute;ltimos Pedidos Entregados</h1>"));
$d = new datagrid("pedido", "pedido.php?");
$d->toolbar = false;
$sf->__query = "SELECT * FROM pedidos where estado =8 OR estado=9";
$d->objectField("idmodelo", new scaffold("modelos"), "referencia");
$d->objectField("idmadera", new scaffold("maderas"), "referencia");
$d->specialField("fecha", "timestamp", "date", "html");
$d->hideField("observaciones");
$d->hideField("otro_material");
$d->specialField("estado", "estado", ooentity, estadolistwidget);
$d->specialField("fecha_pedido", "timestamp", date, html);
$d->specialField("fecha_entrega_prevista", "timestamp", date, html);
$d->specialField("fecha_entrega", "timestamp", date, html);
$d->headers("fecha_entrega", "Fecha de Entrega");
$d->headers("tipo_pedido", "Tipo de Pedido");
$d->specialField("tipo_pedido", "tipo_pedido", "ooentity", "tipowidget");
开发者ID:Esleelkartea,项目名称:arotz,代码行数:31,代码来源:almacen.php

示例15: header

if ($list[0]["id"] == "") {
    header("location:tracking.php?error=1&prefix=" . $r->prefix . "&suffix=" . $r->suffix);
    die;
}
$p = new aworkstrackpage();
$sf->open($list[0]["id"]);
$ew = new estadolistwidget();
$ew->drop($sf);
$d_pedido = new date();
$d_pedido->timestamp = $sf->fecha_pedido;
$d_pedido->parse();
$d_entrega_estimada = new date();
$d_entrega_estimada->timestamp = $sf->fecha_entrega_prevista;
$d_entrega_estimada->parse();
$d_entrega = new date();
$d_entrega->timestamp = $sf->fecha_entrega;
$d_entrega->parse();
$out .= "\n<br /><br /><center><div style=\"background:rgb(239,237,222);width:640px;padding:12px;border:outset 2px;\">\n<center><br />\n<h2>Pedido " . $sf->tracking . "</h2>\n<table style=\"width:560px;\"><tr><td style=\"width:220px;\">Pedido</td><td> <b>" . $sf->tracking;
$out .= "</td></tr><tr><td> Cliente </td><td><b>" . $sf->cliente;
$out .= "</td></tr><tr><td>  Referencia Cliente </td><td> <b>" . $sf->referencia;
$out .= "</td></tr><tr><td> Estado </td><td>" . $ew->draw();
$out .= "</td></tr><tr><td> Fecha Pedido</td><td>" . $d_pedido->string;
$out .= "</td></tr><tr><td> Fecha Entrega Estimada</td><td>" . $d_entrega_estimada->string;
$out .= "</td></tr><tr><td> Fecha Entrega</td><td>" . $d_entrega->string;
$out .= "</table>\n\n";
$p->addWidget(html::write($out));
$ev = new eventviewer();
$ev->drop($sf);
$p->addWidget($ev);
$p->addWidget(html::write("<br /><br /><br ></div>"));
$p->draw();
开发者ID:Esleelkartea,项目名称:arotz,代码行数:31,代码来源:tracking_pedido.php


注:本文中的html::write方法示例由纯净天空整理自Github/MSDocs等开源代码及文档管理平台,相关代码片段筛选自各路编程大神贡献的开源项目,源码版权归原作者所有,传播和使用请参考对应项目的License;未经允许,请勿转载。