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


PHP ew_FormatDateTime函数代码示例

本文整理汇总了PHP中ew_FormatDateTime函数的典型用法代码示例。如果您正苦于以下问题:PHP ew_FormatDateTime函数的具体用法?PHP ew_FormatDateTime怎么用?PHP ew_FormatDateTime使用的例子?那么恭喜您, 这里精选的函数代码示例或许可以为您提供帮助。


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

示例1: RenderRow

 function RenderRow()
 {
     global $conn, $Security, $Language;
     global $gsLanguage;
     // Initialize URLs
     // Call Row_Rendering event
     $this->Row_Rendering();
     // Common render codes for all row types
     // codigo
     // Titulo
     // Descripcion
     // fecha
     // id_usuario
     // archivo
     // estado
     if ($this->RowType == EW_ROWTYPE_VIEW) {
         // View row
         // codigo
         $this->codigo->ViewValue = $this->codigo->CurrentValue;
         $this->codigo->ViewCustomAttributes = "";
         // Titulo
         $this->Titulo->ViewValue = $this->Titulo->CurrentValue;
         $this->Titulo->ViewCustomAttributes = "";
         // Descripcion
         $this->Descripcion->ViewValue = $this->Descripcion->CurrentValue;
         $this->Descripcion->ViewCustomAttributes = "";
         // fecha
         $this->fecha->ViewValue = $this->fecha->CurrentValue;
         $this->fecha->ViewValue = ew_FormatDateTime($this->fecha->ViewValue, 7);
         $this->fecha->ViewCustomAttributes = "";
         // archivo
         if (!ew_Empty($this->archivo->Upload->DbValue)) {
             $this->archivo->ViewValue = $this->archivo->Upload->DbValue;
         } else {
             $this->archivo->ViewValue = "";
         }
         $this->archivo->ViewCustomAttributes = "";
         // estado
         if (strval($this->estado->CurrentValue) != "") {
             switch ($this->estado->CurrentValue) {
                 case $this->estado->FldTagValue(1):
                     $this->estado->ViewValue = $this->estado->FldTagCaption(1) != "" ? $this->estado->FldTagCaption(1) : $this->estado->CurrentValue;
                     break;
                 case $this->estado->FldTagValue(2):
                     $this->estado->ViewValue = $this->estado->FldTagCaption(2) != "" ? $this->estado->FldTagCaption(2) : $this->estado->CurrentValue;
                     break;
                 case $this->estado->FldTagValue(3):
                     $this->estado->ViewValue = $this->estado->FldTagCaption(3) != "" ? $this->estado->FldTagCaption(3) : $this->estado->CurrentValue;
                     break;
                 default:
                     $this->estado->ViewValue = $this->estado->CurrentValue;
             }
         } else {
             $this->estado->ViewValue = NULL;
         }
         $this->estado->ViewCustomAttributes = "";
         // codigo
         $this->codigo->LinkCustomAttributes = "";
         $this->codigo->HrefValue = "";
         $this->codigo->TooltipValue = "";
         // Titulo
         $this->Titulo->LinkCustomAttributes = "";
         $this->Titulo->HrefValue = "";
         $this->Titulo->TooltipValue = "";
         // Descripcion
         $this->Descripcion->LinkCustomAttributes = "";
         $this->Descripcion->HrefValue = "";
         $this->Descripcion->TooltipValue = "";
         // archivo
         $this->archivo->LinkCustomAttributes = "";
         if (!ew_Empty($this->archivo->Upload->DbValue)) {
             $this->archivo->HrefValue = "%u";
             // Add prefix/suffix
             $this->archivo->LinkAttrs["target"] = "";
             // Add target
             if ($this->Export != "") {
                 $this->archivo->HrefValue = ew_ConvertFullUrl($this->archivo->HrefValue);
             }
         } else {
             $this->archivo->HrefValue = "";
         }
         $this->archivo->HrefValue2 = $this->archivo->UploadPath . $this->archivo->Upload->DbValue;
         $this->archivo->TooltipValue = "";
         // estado
         $this->estado->LinkCustomAttributes = "";
         $this->estado->HrefValue = "";
         $this->estado->TooltipValue = "";
     } elseif ($this->RowType == EW_ROWTYPE_EDIT) {
         // Edit row
         // codigo
         $this->codigo->EditAttrs["class"] = "form-control";
         $this->codigo->EditCustomAttributes = "";
         $this->codigo->EditValue = $this->codigo->CurrentValue;
         $this->codigo->ViewCustomAttributes = "";
         // Titulo
         $this->Titulo->EditAttrs["class"] = "form-control";
         $this->Titulo->EditCustomAttributes = "";
         $this->Titulo->EditValue = ew_HtmlEncode($this->Titulo->CurrentValue);
         $this->Titulo->PlaceHolder = ew_RemoveHtml($this->Titulo->FldCaption());
         // Descripcion
//.........这里部分代码省略.........
开发者ID:scintes,项目名称:sistemas,代码行数:101,代码来源:cciag_tramitesedit.php

示例2: RenderRow

 function RenderRow()
 {
     global $conn, $Security, $Language;
     global $gsLanguage;
     // Initialize URLs
     $this->ViewUrl = $this->GetViewUrl();
     $this->EditUrl = $this->GetEditUrl();
     $this->InlineEditUrl = $this->GetInlineEditUrl();
     $this->CopyUrl = $this->GetCopyUrl();
     $this->InlineCopyUrl = $this->GetInlineCopyUrl();
     $this->DeleteUrl = $this->GetDeleteUrl();
     // Convert decimal values if posted back
     if ($this->importe->FormValue == $this->importe->CurrentValue && is_numeric(ew_StrToFloat($this->importe->CurrentValue))) {
         $this->importe->CurrentValue = ew_StrToFloat($this->importe->CurrentValue);
     }
     // Call Row_Rendering event
     $this->Row_Rendering();
     // Common render codes for all row types
     // id
     // descripcion
     // importe
     // fecha_creacion
     // activa
     // id_usuario
     if ($this->RowType == EW_ROWTYPE_VIEW) {
         // View row
         // id
         $this->id->ViewValue = $this->id->CurrentValue;
         $this->id->ViewCustomAttributes = "";
         // descripcion
         $this->descripcion->ViewValue = $this->descripcion->CurrentValue;
         $this->descripcion->ViewCustomAttributes = "";
         // importe
         $this->importe->ViewValue = $this->importe->CurrentValue;
         $this->importe->ViewCustomAttributes = "";
         // fecha_creacion
         $this->fecha_creacion->ViewValue = $this->fecha_creacion->CurrentValue;
         $this->fecha_creacion->ViewValue = ew_FormatDateTime($this->fecha_creacion->ViewValue, 7);
         $this->fecha_creacion->ViewCustomAttributes = "";
         // activa
         if (strval($this->activa->CurrentValue) != "") {
             switch ($this->activa->CurrentValue) {
                 case $this->activa->FldTagValue(1):
                     $this->activa->ViewValue = $this->activa->FldTagCaption(1) != "" ? $this->activa->FldTagCaption(1) : $this->activa->CurrentValue;
                     break;
                 case $this->activa->FldTagValue(2):
                     $this->activa->ViewValue = $this->activa->FldTagCaption(2) != "" ? $this->activa->FldTagCaption(2) : $this->activa->CurrentValue;
                     break;
                 default:
                     $this->activa->ViewValue = $this->activa->CurrentValue;
             }
         } else {
             $this->activa->ViewValue = NULL;
         }
         $this->activa->ViewCustomAttributes = "";
         // id_usuario
         $this->id_usuario->ViewValue = $this->id_usuario->CurrentValue;
         $this->id_usuario->ViewCustomAttributes = "";
         // id
         $this->id->LinkCustomAttributes = "";
         $this->id->HrefValue = "";
         $this->id->TooltipValue = "";
         // descripcion
         $this->descripcion->LinkCustomAttributes = "";
         $this->descripcion->HrefValue = "";
         $this->descripcion->TooltipValue = "";
         // importe
         $this->importe->LinkCustomAttributes = "";
         $this->importe->HrefValue = "";
         $this->importe->TooltipValue = "";
         // fecha_creacion
         $this->fecha_creacion->LinkCustomAttributes = "";
         $this->fecha_creacion->HrefValue = "";
         $this->fecha_creacion->TooltipValue = "";
         // activa
         $this->activa->LinkCustomAttributes = "";
         $this->activa->HrefValue = "";
         $this->activa->TooltipValue = "";
         // id_usuario
         $this->id_usuario->LinkCustomAttributes = "";
         $this->id_usuario->HrefValue = "";
         $this->id_usuario->TooltipValue = "";
     }
     // Call Row Rendered event
     if ($this->RowType != EW_ROWTYPE_AGGREGATEINIT) {
         $this->Row_Rendered();
     }
 }
开发者ID:scintes,项目名称:sistemas,代码行数:88,代码来源:montoslist.php

示例3: RenderRow


//.........这里部分代码省略.........
         $Customers->BillingZip->ViewCustomAttributes = "";
         // BillingPhone
         $Customers->BillingPhone->ViewValue = $Customers->BillingPhone->CurrentValue;
         $Customers->BillingPhone->CssStyle = "";
         $Customers->BillingPhone->CssClass = "";
         $Customers->BillingPhone->ViewCustomAttributes = "";
         // BillingCardType
         $Customers->BillingCardType->ViewValue = $Customers->BillingCardType->CurrentValue;
         $Customers->BillingCardType->CssStyle = "";
         $Customers->BillingCardType->CssClass = "";
         $Customers->BillingCardType->ViewCustomAttributes = "";
         // BillingCardNumber
         $Customers->BillingCardNumber->ViewValue = $Customers->BillingCardNumber->CurrentValue;
         $Customers->BillingCardNumber->CssStyle = "";
         $Customers->BillingCardNumber->CssClass = "";
         $Customers->BillingCardNumber->ViewCustomAttributes = "";
         // CIMCustID
         $Customers->CIMCustID->ViewValue = $Customers->CIMCustID->CurrentValue;
         $Customers->CIMCustID->CssStyle = "";
         $Customers->CIMCustID->CssClass = "";
         $Customers->CIMCustID->ViewCustomAttributes = "";
         // CIMPymtProfID
         $Customers->CIMPymtProfID->ViewValue = $Customers->CIMPymtProfID->CurrentValue;
         $Customers->CIMPymtProfID->CssStyle = "";
         $Customers->CIMPymtProfID->CssClass = "";
         $Customers->CIMPymtProfID->ViewCustomAttributes = "";
         // Customer_Type
         $Customers->Customer_Type->ViewValue = $Customers->Customer_Type->CurrentValue;
         $Customers->Customer_Type->CssStyle = "";
         $Customers->Customer_Type->CssClass = "";
         $Customers->Customer_Type->ViewCustomAttributes = "";
         // First_Order_Date
         $Customers->First_Order_Date->ViewValue = $Customers->First_Order_Date->CurrentValue;
         $Customers->First_Order_Date->ViewValue = ew_FormatDateTime($Customers->First_Order_Date->ViewValue, 6);
         $Customers->First_Order_Date->CssStyle = "";
         $Customers->First_Order_Date->CssClass = "";
         $Customers->First_Order_Date->ViewCustomAttributes = "";
         // Last_Order_Date
         $Customers->Last_Order_Date->ViewValue = $Customers->Last_Order_Date->CurrentValue;
         $Customers->Last_Order_Date->ViewValue = ew_FormatDateTime($Customers->Last_Order_Date->ViewValue, 6);
         $Customers->Last_Order_Date->CssStyle = "";
         $Customers->Last_Order_Date->CssClass = "";
         $Customers->Last_Order_Date->ViewCustomAttributes = "";
         // Total_Orders
         $Customers->Total_Orders->ViewValue = $Customers->Total_Orders->CurrentValue;
         $Customers->Total_Orders->CssStyle = "";
         $Customers->Total_Orders->CssClass = "";
         $Customers->Total_Orders->ViewCustomAttributes = "";
         // Delivery_Window
         if (strval($Customers->Delivery_Window->CurrentValue) != "") {
             switch ($Customers->Delivery_Window->CurrentValue) {
                 case "1-4":
                     $Customers->Delivery_Window->ViewValue = "1-4";
                     break;
                 case "5-8":
                     $Customers->Delivery_Window->ViewValue = "5-8";
                     break;
                 default:
                     $Customers->Delivery_Window->ViewValue = $Customers->Delivery_Window->CurrentValue;
             }
         } else {
             $Customers->Delivery_Window->ViewValue = NULL;
         }
         $Customers->Delivery_Window->CssStyle = "";
         $Customers->Delivery_Window->CssClass = "";
         $Customers->Delivery_Window->ViewCustomAttributes = "";
开发者ID:elliecm,项目名称:MadisonandRayne,代码行数:67,代码来源:Customersdelete.php

示例4: RenderRow

 function RenderRow()
 {
     global $conn, $Security, $Language;
     global $gsLanguage;
     // Initialize URLs
     $this->ViewUrl = $this->GetViewUrl();
     $this->EditUrl = $this->GetEditUrl();
     $this->InlineEditUrl = $this->GetInlineEditUrl();
     $this->CopyUrl = $this->GetCopyUrl();
     $this->InlineCopyUrl = $this->GetInlineCopyUrl();
     $this->DeleteUrl = $this->GetDeleteUrl();
     // Call Row_Rendering event
     $this->Row_Rendering();
     // Common render codes for all row types
     // idcuenta
     // idpaciente
     // fecha_inicio
     // fecha_final
     // estado
     if ($this->RowType == EW_ROWTYPE_VIEW) {
         // View row
         // idcuenta
         $this->idcuenta->ViewValue = $this->idcuenta->CurrentValue;
         $this->idcuenta->ViewCustomAttributes = "";
         // idpaciente
         if (strval($this->idpaciente->CurrentValue) != "") {
             $sFilterWrk = "`idpaciente`" . ew_SearchString("=", $this->idpaciente->CurrentValue, EW_DATATYPE_NUMBER);
             $sSqlWrk = "SELECT `idpaciente`, `nombre` AS `DispFld`, '' AS `Disp2Fld`, '' AS `Disp3Fld`, '' AS `Disp4Fld` FROM `paciente`";
             $sWhereWrk = "";
             if ($sFilterWrk != "") {
                 ew_AddFilter($sWhereWrk, $sFilterWrk);
             }
             // Call Lookup selecting
             $this->Lookup_Selecting($this->idpaciente, $sWhereWrk);
             if ($sWhereWrk != "") {
                 $sSqlWrk .= " WHERE " . $sWhereWrk;
             }
             $rswrk = $conn->Execute($sSqlWrk);
             if ($rswrk && !$rswrk->EOF) {
                 // Lookup values found
                 $this->idpaciente->ViewValue = $rswrk->fields('DispFld');
                 $rswrk->Close();
             } else {
                 $this->idpaciente->ViewValue = $this->idpaciente->CurrentValue;
             }
         } else {
             $this->idpaciente->ViewValue = NULL;
         }
         $this->idpaciente->ViewCustomAttributes = "";
         // fecha_inicio
         $this->fecha_inicio->ViewValue = $this->fecha_inicio->CurrentValue;
         $this->fecha_inicio->ViewValue = ew_FormatDateTime($this->fecha_inicio->ViewValue, 7);
         $this->fecha_inicio->ViewCustomAttributes = "";
         // fecha_final
         $this->fecha_final->ViewValue = $this->fecha_final->CurrentValue;
         $this->fecha_final->ViewValue = ew_FormatDateTime($this->fecha_final->ViewValue, 7);
         $this->fecha_final->ViewCustomAttributes = "";
         // estado
         if (strval($this->estado->CurrentValue) != "") {
             switch ($this->estado->CurrentValue) {
                 case $this->estado->FldTagValue(1):
                     $this->estado->ViewValue = $this->estado->FldTagCaption(1) != "" ? $this->estado->FldTagCaption(1) : $this->estado->CurrentValue;
                     break;
                 case $this->estado->FldTagValue(2):
                     $this->estado->ViewValue = $this->estado->FldTagCaption(2) != "" ? $this->estado->FldTagCaption(2) : $this->estado->CurrentValue;
                     break;
                 default:
                     $this->estado->ViewValue = $this->estado->CurrentValue;
             }
         } else {
             $this->estado->ViewValue = NULL;
         }
         $this->estado->ViewCustomAttributes = "";
         // idpaciente
         $this->idpaciente->LinkCustomAttributes = "";
         $this->idpaciente->HrefValue = "";
         $this->idpaciente->TooltipValue = "";
         // fecha_inicio
         $this->fecha_inicio->LinkCustomAttributes = "";
         $this->fecha_inicio->HrefValue = "";
         $this->fecha_inicio->TooltipValue = "";
         // fecha_final
         $this->fecha_final->LinkCustomAttributes = "";
         $this->fecha_final->HrefValue = "";
         $this->fecha_final->TooltipValue = "";
         // estado
         $this->estado->LinkCustomAttributes = "";
         $this->estado->HrefValue = "";
         $this->estado->TooltipValue = "";
     }
     // Call Row Rendered event
     if ($this->RowType != EW_ROWTYPE_AGGREGATEINIT) {
         $this->Row_Rendered();
     }
 }
开发者ID:AngeloGalindo,项目名称:PracticasGrupo9DesarrolloWeb,代码行数:95,代码来源:cuentalist.php

示例5: RenderRow

 function RenderRow()
 {
     global $conn, $Security, $Language;
     global $gsLanguage;
     // Initialize URLs
     // Convert decimal values if posted back
     if ($this->costo->FormValue == $this->costo->CurrentValue && is_numeric(ew_StrToFloat($this->costo->CurrentValue))) {
         $this->costo->CurrentValue = ew_StrToFloat($this->costo->CurrentValue);
     }
     // Call Row_Rendering event
     $this->Row_Rendering();
     // Common render codes for all row types
     // idservicio_medico_prestado
     // idcuenta
     // idservicio_medico
     // estado
     // costo
     // fecha_inicio
     // fecha_final
     if ($this->RowType == EW_ROWTYPE_VIEW) {
         // View row
         // idservicio_medico_prestado
         $this->idservicio_medico_prestado->ViewValue = $this->idservicio_medico_prestado->CurrentValue;
         $this->idservicio_medico_prestado->ViewCustomAttributes = "";
         // idcuenta
         if (strval($this->idcuenta->CurrentValue) != "") {
             $sFilterWrk = "`idcuenta`" . ew_SearchString("=", $this->idcuenta->CurrentValue, EW_DATATYPE_NUMBER);
             $sSqlWrk = "SELECT `idcuenta`, `idcuenta` AS `DispFld`, '' AS `Disp2Fld`, '' AS `Disp3Fld`, '' AS `Disp4Fld` FROM `cuenta`";
             $sWhereWrk = "";
             if ($sFilterWrk != "") {
                 ew_AddFilter($sWhereWrk, $sFilterWrk);
             }
             // Call Lookup selecting
             $this->Lookup_Selecting($this->idcuenta, $sWhereWrk);
             if ($sWhereWrk != "") {
                 $sSqlWrk .= " WHERE " . $sWhereWrk;
             }
             $rswrk = $conn->Execute($sSqlWrk);
             if ($rswrk && !$rswrk->EOF) {
                 // Lookup values found
                 $this->idcuenta->ViewValue = $rswrk->fields('DispFld');
                 $rswrk->Close();
             } else {
                 $this->idcuenta->ViewValue = $this->idcuenta->CurrentValue;
             }
         } else {
             $this->idcuenta->ViewValue = NULL;
         }
         $this->idcuenta->ViewCustomAttributes = "";
         // idservicio_medico
         if (strval($this->idservicio_medico->CurrentValue) != "") {
             $sFilterWrk = "`idservicio_medico`" . ew_SearchString("=", $this->idservicio_medico->CurrentValue, EW_DATATYPE_NUMBER);
             $sSqlWrk = "SELECT `idservicio_medico`, `descripcion` AS `DispFld`, '' AS `Disp2Fld`, '' AS `Disp3Fld`, '' AS `Disp4Fld` FROM `servicio_medico`";
             $sWhereWrk = "";
             if ($sFilterWrk != "") {
                 ew_AddFilter($sWhereWrk, $sFilterWrk);
             }
             // Call Lookup selecting
             $this->Lookup_Selecting($this->idservicio_medico, $sWhereWrk);
             if ($sWhereWrk != "") {
                 $sSqlWrk .= " WHERE " . $sWhereWrk;
             }
             $rswrk = $conn->Execute($sSqlWrk);
             if ($rswrk && !$rswrk->EOF) {
                 // Lookup values found
                 $this->idservicio_medico->ViewValue = $rswrk->fields('DispFld');
                 $rswrk->Close();
             } else {
                 $this->idservicio_medico->ViewValue = $this->idservicio_medico->CurrentValue;
             }
         } else {
             $this->idservicio_medico->ViewValue = NULL;
         }
         $this->idservicio_medico->ViewCustomAttributes = "";
         // estado
         if (strval($this->estado->CurrentValue) != "") {
             switch ($this->estado->CurrentValue) {
                 case $this->estado->FldTagValue(1):
                     $this->estado->ViewValue = $this->estado->FldTagCaption(1) != "" ? $this->estado->FldTagCaption(1) : $this->estado->CurrentValue;
                     break;
                 case $this->estado->FldTagValue(2):
                     $this->estado->ViewValue = $this->estado->FldTagCaption(2) != "" ? $this->estado->FldTagCaption(2) : $this->estado->CurrentValue;
                     break;
                 case $this->estado->FldTagValue(3):
                     $this->estado->ViewValue = $this->estado->FldTagCaption(3) != "" ? $this->estado->FldTagCaption(3) : $this->estado->CurrentValue;
                     break;
                 default:
                     $this->estado->ViewValue = $this->estado->CurrentValue;
             }
         } else {
             $this->estado->ViewValue = NULL;
         }
         $this->estado->ViewCustomAttributes = "";
         // costo
         $this->costo->ViewValue = $this->costo->CurrentValue;
         $this->costo->ViewCustomAttributes = "";
         // fecha_inicio
         $this->fecha_inicio->ViewValue = $this->fecha_inicio->CurrentValue;
         $this->fecha_inicio->ViewValue = ew_FormatDateTime($this->fecha_inicio->ViewValue, 7);
         $this->fecha_inicio->ViewCustomAttributes = "";
//.........这里部分代码省略.........
开发者ID:AngeloGalindo,项目名称:PracticasGrupo9DesarrolloWeb,代码行数:101,代码来源:servicio_medico_prestadoadd.php

示例6: RenderRow

 function RenderRow()
 {
     global $conn, $Security, $Kitchen_Report_22D2;
     // Common render codes for all row types
     // PublishedDate
     $Kitchen_Report_22D2->PublishedDate->CellCssStyle = "";
     $Kitchen_Report_22D2->PublishedDate->CellCssClass = "";
     // DeliveryDate
     $Kitchen_Report_22D2->DeliveryDate->CellCssStyle = "";
     $Kitchen_Report_22D2->DeliveryDate->CellCssClass = "";
     // MenuName
     $Kitchen_Report_22D2->MenuName->CellCssStyle = "";
     $Kitchen_Report_22D2->MenuName->CellCssClass = "";
     // ItemName
     $Kitchen_Report_22D2->ItemName->CellCssStyle = "";
     $Kitchen_Report_22D2->ItemName->CellCssClass = "";
     // TotalServings
     $Kitchen_Report_22D2->TotalServings->CellCssStyle = "";
     $Kitchen_Report_22D2->TotalServings->CellCssClass = "";
     // TotalOrders
     $Kitchen_Report_22D2->TotalOrders->CellCssStyle = "";
     $Kitchen_Report_22D2->TotalOrders->CellCssClass = "";
     // 1servings
     $Kitchen_Report_22D2->z1servings->CellCssStyle = "";
     $Kitchen_Report_22D2->z1servings->CellCssClass = "";
     // 2servings
     $Kitchen_Report_22D2->z2servings->CellCssStyle = "";
     $Kitchen_Report_22D2->z2servings->CellCssClass = "";
     // 3servings
     $Kitchen_Report_22D2->z3servings->CellCssStyle = "";
     $Kitchen_Report_22D2->z3servings->CellCssClass = "";
     // 4servings
     $Kitchen_Report_22D2->z4servings->CellCssStyle = "";
     $Kitchen_Report_22D2->z4servings->CellCssClass = "";
     // 5servings
     $Kitchen_Report_22D2->z5servings->CellCssStyle = "";
     $Kitchen_Report_22D2->z5servings->CellCssClass = "";
     // 6servings
     $Kitchen_Report_22D2->z6servings->CellCssStyle = "";
     $Kitchen_Report_22D2->z6servings->CellCssClass = "";
     // 7servings
     $Kitchen_Report_22D2->z7servings->CellCssStyle = "";
     $Kitchen_Report_22D2->z7servings->CellCssClass = "";
     // 8servings
     $Kitchen_Report_22D2->z8servings->CellCssStyle = "";
     $Kitchen_Report_22D2->z8servings->CellCssClass = "";
     if ($Kitchen_Report_22D2->RowType == EW_ROWTYPE_VIEW) {
         // View row
         // PublishedDate
         $Kitchen_Report_22D2->PublishedDate->ViewValue = $Kitchen_Report_22D2->PublishedDate->CurrentValue;
         $Kitchen_Report_22D2->PublishedDate->ViewValue = ew_FormatDateTime($Kitchen_Report_22D2->PublishedDate->ViewValue, 6);
         $Kitchen_Report_22D2->PublishedDate->CssStyle = "";
         $Kitchen_Report_22D2->PublishedDate->CssClass = "";
         $Kitchen_Report_22D2->PublishedDate->ViewCustomAttributes = "";
         // DeliveryDate
         $Kitchen_Report_22D2->DeliveryDate->ViewValue = $Kitchen_Report_22D2->DeliveryDate->CurrentValue;
         $Kitchen_Report_22D2->DeliveryDate->ViewValue = ew_FormatDateTime($Kitchen_Report_22D2->DeliveryDate->ViewValue, 6);
         $Kitchen_Report_22D2->DeliveryDate->CssStyle = "";
         $Kitchen_Report_22D2->DeliveryDate->CssClass = "";
         $Kitchen_Report_22D2->DeliveryDate->ViewCustomAttributes = "";
         // MenuName
         $Kitchen_Report_22D2->MenuName->ViewValue = $Kitchen_Report_22D2->MenuName->CurrentValue;
         $Kitchen_Report_22D2->MenuName->CssStyle = "";
         $Kitchen_Report_22D2->MenuName->CssClass = "";
         $Kitchen_Report_22D2->MenuName->ViewCustomAttributes = "";
         // ItemName
         $Kitchen_Report_22D2->ItemName->ViewValue = $Kitchen_Report_22D2->ItemName->CurrentValue;
         $Kitchen_Report_22D2->ItemName->CssStyle = "";
         $Kitchen_Report_22D2->ItemName->CssClass = "";
         $Kitchen_Report_22D2->ItemName->ViewCustomAttributes = "";
         // TotalServings
         $Kitchen_Report_22D2->TotalServings->ViewValue = $Kitchen_Report_22D2->TotalServings->CurrentValue;
         $Kitchen_Report_22D2->TotalServings->CssStyle = "";
         $Kitchen_Report_22D2->TotalServings->CssClass = "";
         $Kitchen_Report_22D2->TotalServings->ViewCustomAttributes = "";
         // TotalOrders
         $Kitchen_Report_22D2->TotalOrders->ViewValue = $Kitchen_Report_22D2->TotalOrders->CurrentValue;
         $Kitchen_Report_22D2->TotalOrders->CssStyle = "";
         $Kitchen_Report_22D2->TotalOrders->CssClass = "";
         $Kitchen_Report_22D2->TotalOrders->ViewCustomAttributes = "";
         // 1servings
         $Kitchen_Report_22D2->z1servings->ViewValue = $Kitchen_Report_22D2->z1servings->CurrentValue;
         $Kitchen_Report_22D2->z1servings->CssStyle = "";
         $Kitchen_Report_22D2->z1servings->CssClass = "";
         $Kitchen_Report_22D2->z1servings->ViewCustomAttributes = "";
         // 2servings
         $Kitchen_Report_22D2->z2servings->ViewValue = $Kitchen_Report_22D2->z2servings->CurrentValue;
         $Kitchen_Report_22D2->z2servings->CssStyle = "";
         $Kitchen_Report_22D2->z2servings->CssClass = "";
         $Kitchen_Report_22D2->z2servings->ViewCustomAttributes = "";
         // 3servings
         $Kitchen_Report_22D2->z3servings->ViewValue = $Kitchen_Report_22D2->z3servings->CurrentValue;
         $Kitchen_Report_22D2->z3servings->CssStyle = "";
         $Kitchen_Report_22D2->z3servings->CssClass = "";
         $Kitchen_Report_22D2->z3servings->ViewCustomAttributes = "";
         // 4servings
         $Kitchen_Report_22D2->z4servings->ViewValue = $Kitchen_Report_22D2->z4servings->CurrentValue;
         $Kitchen_Report_22D2->z4servings->CssStyle = "";
         $Kitchen_Report_22D2->z4servings->CssClass = "";
         $Kitchen_Report_22D2->z4servings->ViewCustomAttributes = "";
//.........这里部分代码省略.........
开发者ID:elliecm,项目名称:MadisonandRayne,代码行数:101,代码来源:Kitchen_Report_22D2report.php

示例7: RenderRow

 function RenderRow()
 {
     global $conn, $Security, $Language;
     global $gsLanguage;
     // Initialize URLs
     $this->AddUrl = $this->GetAddUrl();
     $this->EditUrl = $this->GetEditUrl();
     $this->CopyUrl = $this->GetCopyUrl();
     $this->DeleteUrl = $this->GetDeleteUrl();
     $this->ListUrl = $this->GetListUrl();
     $this->SetupOtherOptions();
     // Convert decimal values if posted back
     if ($this->monto->FormValue == $this->monto->CurrentValue && is_numeric(ew_StrToFloat($this->monto->CurrentValue))) {
         $this->monto->CurrentValue = ew_StrToFloat($this->monto->CurrentValue);
     }
     // Call Row_Rendering event
     $this->Row_Rendering();
     // Common render codes for all row types
     // id
     // mes
     // anio
     // fecha
     // monto
     // id_usuario
     // id_socio
     if ($this->RowType == EW_ROWTYPE_VIEW) {
         // View row
         // id
         $this->id->ViewCustomAttributes = "";
         // mes
         $this->mes->ViewValue = $this->mes->CurrentValue;
         $this->mes->ViewCustomAttributes = "";
         // anio
         $this->anio->ViewValue = $this->anio->CurrentValue;
         $this->anio->ViewCustomAttributes = "";
         // fecha
         $this->fecha->ViewValue = $this->fecha->CurrentValue;
         $this->fecha->ViewValue = ew_FormatDateTime($this->fecha->ViewValue, 7);
         $this->fecha->ViewCustomAttributes = "";
         // monto
         $this->monto->ViewValue = $this->monto->CurrentValue;
         $this->monto->ViewValue = ew_FormatCurrency($this->monto->ViewValue, 0, -2, -2, -2);
         $this->monto->ViewCustomAttributes = "";
         // id_socio
         if (strval($this->id_socio->CurrentValue) != "") {
             $sFilterWrk = "`socio_nro`" . ew_SearchString("=", $this->id_socio->CurrentValue, EW_DATATYPE_NUMBER);
             $sSqlWrk = "SELECT `socio_nro`, `propietario` AS `DispFld`, `comercio` AS `Disp2Fld`, '' AS `Disp3Fld`, '' AS `Disp4Fld` FROM `socios`";
             $sWhereWrk = "";
             $lookuptblfilter = "`activo`='S'";
             if (strval($lookuptblfilter) != "") {
                 ew_AddFilter($sWhereWrk, $lookuptblfilter);
             }
             if ($sFilterWrk != "") {
                 ew_AddFilter($sWhereWrk, $sFilterWrk);
             }
             // Call Lookup selecting
             $this->Lookup_Selecting($this->id_socio, $sWhereWrk);
             if ($sWhereWrk != "") {
                 $sSqlWrk .= " WHERE " . $sWhereWrk;
             }
             $sSqlWrk .= " ORDER BY `propietario` DESC";
             $rswrk = $conn->Execute($sSqlWrk);
             if ($rswrk && !$rswrk->EOF) {
                 // Lookup values found
                 $this->id_socio->ViewValue = $rswrk->fields('DispFld');
                 $this->id_socio->ViewValue .= ew_ValueSeparator(1, $this->id_socio) . $rswrk->fields('Disp2Fld');
                 $rswrk->Close();
             } else {
                 $this->id_socio->ViewValue = $this->id_socio->CurrentValue;
             }
         } else {
             $this->id_socio->ViewValue = NULL;
         }
         $this->id_socio->ViewCustomAttributes = "";
         // id
         $this->id->LinkCustomAttributes = "";
         $this->id->HrefValue = "";
         $this->id->TooltipValue = "";
         // mes
         $this->mes->LinkCustomAttributes = "";
         $this->mes->HrefValue = "";
         $this->mes->TooltipValue = "";
         // anio
         $this->anio->LinkCustomAttributes = "";
         $this->anio->HrefValue = "";
         $this->anio->TooltipValue = "";
         // fecha
         $this->fecha->LinkCustomAttributes = "";
         $this->fecha->HrefValue = "";
         $this->fecha->TooltipValue = "";
         // monto
         $this->monto->LinkCustomAttributes = "";
         $this->monto->HrefValue = "";
         $this->monto->TooltipValue = "";
         // id_socio
         $this->id_socio->LinkCustomAttributes = "";
         $this->id_socio->HrefValue = "";
         $this->id_socio->TooltipValue = "";
     }
     // Call Row Rendered event
//.........这里部分代码省略.........
开发者ID:scintes,项目名称:sistemas,代码行数:101,代码来源:cciag_deudasview.php

示例8: RenderRow

 function RenderRow()
 {
     global $conn, $Security, $Delivery_Report_1;
     // Common render codes for all row types
     // PublishedDate
     $Delivery_Report_1->PublishedDate->CellCssStyle = "";
     $Delivery_Report_1->PublishedDate->CellCssClass = "";
     // DeliveryDate
     $Delivery_Report_1->DeliveryDate->CellCssStyle = "";
     $Delivery_Report_1->DeliveryDate->CellCssClass = "";
     // Delivery_Window
     $Delivery_Report_1->Delivery_Window->CellCssStyle = "";
     $Delivery_Report_1->Delivery_Window->CellCssClass = "";
     // CustomerName
     $Delivery_Report_1->CustomerName->CellCssStyle = "";
     $Delivery_Report_1->CustomerName->CellCssClass = "";
     // Email
     $Delivery_Report_1->zEmail->CellCssStyle = "";
     $Delivery_Report_1->zEmail->CellCssClass = "";
     // DeliveryAddress
     $Delivery_Report_1->DeliveryAddress->CellCssStyle = "";
     $Delivery_Report_1->DeliveryAddress->CellCssClass = "";
     // DeliveryCity
     $Delivery_Report_1->DeliveryCity->CellCssStyle = "";
     $Delivery_Report_1->DeliveryCity->CellCssClass = "";
     // DeliveryZip
     $Delivery_Report_1->DeliveryZip->CellCssStyle = "";
     $Delivery_Report_1->DeliveryZip->CellCssClass = "";
     // DeliveryComments
     $Delivery_Report_1->DeliveryComments->CellCssStyle = "";
     $Delivery_Report_1->DeliveryComments->CellCssClass = "";
     if ($Delivery_Report_1->RowType == EW_ROWTYPE_VIEW) {
         // View row
         // PublishedDate
         $Delivery_Report_1->PublishedDate->ViewValue = $Delivery_Report_1->PublishedDate->CurrentValue;
         $Delivery_Report_1->PublishedDate->ViewValue = ew_FormatDateTime($Delivery_Report_1->PublishedDate->ViewValue, 6);
         $Delivery_Report_1->PublishedDate->CssStyle = "";
         $Delivery_Report_1->PublishedDate->CssClass = "";
         $Delivery_Report_1->PublishedDate->ViewCustomAttributes = "";
         // DeliveryDate
         $Delivery_Report_1->DeliveryDate->ViewValue = $Delivery_Report_1->DeliveryDate->CurrentValue;
         $Delivery_Report_1->DeliveryDate->ViewValue = ew_FormatDateTime($Delivery_Report_1->DeliveryDate->ViewValue, 6);
         $Delivery_Report_1->DeliveryDate->CssStyle = "";
         $Delivery_Report_1->DeliveryDate->CssClass = "";
         $Delivery_Report_1->DeliveryDate->ViewCustomAttributes = "";
         // Delivery_Window
         if (strval($Delivery_Report_1->Delivery_Window->CurrentValue) != "") {
             switch ($Delivery_Report_1->Delivery_Window->CurrentValue) {
                 case "1-4":
                     $Delivery_Report_1->Delivery_Window->ViewValue = "1-4";
                     break;
                 case "5-8":
                     $Delivery_Report_1->Delivery_Window->ViewValue = "5-8";
                     break;
                 default:
                     $Delivery_Report_1->Delivery_Window->ViewValue = $Delivery_Report_1->Delivery_Window->CurrentValue;
             }
         } else {
             $Delivery_Report_1->Delivery_Window->ViewValue = NULL;
         }
         $Delivery_Report_1->Delivery_Window->CssStyle = "";
         $Delivery_Report_1->Delivery_Window->CssClass = "";
         $Delivery_Report_1->Delivery_Window->ViewCustomAttributes = "";
         // CustomerName
         $Delivery_Report_1->CustomerName->ViewValue = $Delivery_Report_1->CustomerName->CurrentValue;
         $Delivery_Report_1->CustomerName->CssStyle = "";
         $Delivery_Report_1->CustomerName->CssClass = "";
         $Delivery_Report_1->CustomerName->ViewCustomAttributes = "";
         // Email
         $Delivery_Report_1->zEmail->ViewValue = $Delivery_Report_1->zEmail->CurrentValue;
         $Delivery_Report_1->zEmail->CssStyle = "";
         $Delivery_Report_1->zEmail->CssClass = "";
         $Delivery_Report_1->zEmail->ViewCustomAttributes = "";
         // DeliveryAddress
         $Delivery_Report_1->DeliveryAddress->ViewValue = $Delivery_Report_1->DeliveryAddress->CurrentValue;
         $Delivery_Report_1->DeliveryAddress->CssStyle = "";
         $Delivery_Report_1->DeliveryAddress->CssClass = "";
         $Delivery_Report_1->DeliveryAddress->ViewCustomAttributes = "";
         // DeliveryCity
         $Delivery_Report_1->DeliveryCity->ViewValue = $Delivery_Report_1->DeliveryCity->CurrentValue;
         $Delivery_Report_1->DeliveryCity->CssStyle = "";
         $Delivery_Report_1->DeliveryCity->CssClass = "";
         $Delivery_Report_1->DeliveryCity->ViewCustomAttributes = "";
         // DeliveryZip
         $Delivery_Report_1->DeliveryZip->ViewValue = $Delivery_Report_1->DeliveryZip->CurrentValue;
         $Delivery_Report_1->DeliveryZip->CssStyle = "";
         $Delivery_Report_1->DeliveryZip->CssClass = "";
         $Delivery_Report_1->DeliveryZip->ViewCustomAttributes = "";
         // DeliveryComments
         $Delivery_Report_1->DeliveryComments->ViewValue = $Delivery_Report_1->DeliveryComments->CurrentValue;
         $Delivery_Report_1->DeliveryComments->CssStyle = "";
         $Delivery_Report_1->DeliveryComments->CssClass = "";
         $Delivery_Report_1->DeliveryComments->ViewCustomAttributes = "";
         // PublishedDate
         $Delivery_Report_1->PublishedDate->HrefValue = "";
         // DeliveryDate
         $Delivery_Report_1->DeliveryDate->HrefValue = "";
         // Delivery_Window
         $Delivery_Report_1->Delivery_Window->HrefValue = "";
         // CustomerName
//.........这里部分代码省略.........
开发者ID:elliecm,项目名称:MadisonandRayne,代码行数:101,代码来源:Delivery_Report_1report.php

示例9: RenderRow

 function RenderRow()
 {
     global $conn, $Security, $Language;
     global $gsLanguage;
     // Initialize URLs
     // Call Row_Rendering event
     $this->Row_Rendering();
     // Common render codes for all row types
     // codigo
     // nombre
     // direccion
     // fecha_nacimiento
     // tel
     // cel
     // email
     // fecha_inicio
     // cetegoria
     // datos
     if ($this->RowType == EW_ROWTYPE_VIEW) {
         // View row
         // codigo
         $this->codigo->ViewValue = $this->codigo->CurrentValue;
         $this->codigo->ViewCustomAttributes = "";
         // nombre
         $this->nombre->ViewValue = $this->nombre->CurrentValue;
         $this->nombre->ViewCustomAttributes = "";
         // direccion
         $this->direccion->ViewValue = $this->direccion->CurrentValue;
         $this->direccion->ViewCustomAttributes = "";
         // fecha_nacimiento
         $this->fecha_nacimiento->ViewValue = $this->fecha_nacimiento->CurrentValue;
         $this->fecha_nacimiento->ViewValue = ew_FormatDateTime($this->fecha_nacimiento->ViewValue, 7);
         $this->fecha_nacimiento->ViewCustomAttributes = "";
         // tel
         $this->tel->ViewValue = $this->tel->CurrentValue;
         $this->tel->ViewCustomAttributes = "";
         // cel
         $this->cel->ViewValue = $this->cel->CurrentValue;
         $this->cel->ViewCustomAttributes = "";
         // email
         $this->_email->ViewValue = $this->_email->CurrentValue;
         $this->_email->ViewValue = strtolower($this->_email->ViewValue);
         $this->_email->ViewCustomAttributes = "";
         // fecha_inicio
         $this->fecha_inicio->ViewValue = $this->fecha_inicio->CurrentValue;
         $this->fecha_inicio->ViewValue = ew_FormatDateTime($this->fecha_inicio->ViewValue, 7);
         $this->fecha_inicio->ViewCustomAttributes = "";
         // cetegoria
         $this->cetegoria->ViewValue = $this->cetegoria->CurrentValue;
         $this->cetegoria->ViewValue = ew_FormatNumber($this->cetegoria->ViewValue, 0, -2, -2, -2);
         $this->cetegoria->ViewCustomAttributes = "";
         // datos
         $this->datos->ViewValue = $this->datos->CurrentValue;
         $this->datos->ViewCustomAttributes = "";
         // nombre
         $this->nombre->LinkCustomAttributes = "";
         $this->nombre->HrefValue = "";
         $this->nombre->TooltipValue = "";
         // direccion
         $this->direccion->LinkCustomAttributes = "";
         $this->direccion->HrefValue = "";
         $this->direccion->TooltipValue = "";
         // fecha_nacimiento
         $this->fecha_nacimiento->LinkCustomAttributes = "";
         $this->fecha_nacimiento->HrefValue = "";
         $this->fecha_nacimiento->TooltipValue = "";
         // tel
         $this->tel->LinkCustomAttributes = "";
         $this->tel->HrefValue = "";
         $this->tel->TooltipValue = "";
         // cel
         $this->cel->LinkCustomAttributes = "";
         $this->cel->HrefValue = "";
         $this->cel->TooltipValue = "";
         // email
         $this->_email->LinkCustomAttributes = "";
         $this->_email->HrefValue = "";
         $this->_email->TooltipValue = "";
         // fecha_inicio
         $this->fecha_inicio->LinkCustomAttributes = "";
         $this->fecha_inicio->HrefValue = "";
         $this->fecha_inicio->TooltipValue = "";
         // cetegoria
         $this->cetegoria->LinkCustomAttributes = "";
         $this->cetegoria->HrefValue = "";
         $this->cetegoria->TooltipValue = "";
         // datos
         $this->datos->LinkCustomAttributes = "";
         $this->datos->HrefValue = "";
         $this->datos->TooltipValue = "";
     } elseif ($this->RowType == EW_ROWTYPE_ADD) {
         // Add row
         // nombre
         $this->nombre->EditAttrs["class"] = "form-control";
         $this->nombre->EditCustomAttributes = "";
         $this->nombre->EditValue = ew_HtmlEncode($this->nombre->CurrentValue);
         $this->nombre->PlaceHolder = ew_RemoveHtml($this->nombre->FldCaption());
         // direccion
         $this->direccion->EditAttrs["class"] = "form-control";
         $this->direccion->EditCustomAttributes = "";
//.........这里部分代码省略.........
开发者ID:scintes,项目名称:sistemas,代码行数:101,代码来源:choferesadd.php

示例10: RenderRow

 function RenderRow()
 {
     global $conn, $Security, $patient_main;
     // Call Row_Rendering event
     $patient_main->Row_Rendering();
     // Common render codes for all row types
     // PatientMainNo
     $patient_main->PatientMainNo->CellCssStyle = "";
     $patient_main->PatientMainNo->CellCssClass = "";
     // PatientID
     $patient_main->PatientID->CellCssStyle = "";
     $patient_main->PatientID->CellCssClass = "";
     // PatientName
     $patient_main->PatientName->CellCssStyle = "";
     $patient_main->PatientName->CellCssClass = "";
     // PatientBirthDate
     $patient_main->PatientBirthDate->CellCssStyle = "";
     $patient_main->PatientBirthDate->CellCssClass = "";
     // PatientSex
     $patient_main->PatientSex->CellCssStyle = "";
     $patient_main->PatientSex->CellCssClass = "";
     // OtherPatientID
     $patient_main->OtherPatientID->CellCssStyle = "";
     $patient_main->OtherPatientID->CellCssClass = "";
     if ($patient_main->RowType == EW_ROWTYPE_VIEW) {
         // View row
         // PatientMainNo
         $patient_main->PatientMainNo->ViewValue = $patient_main->PatientMainNo->CurrentValue;
         $patient_main->PatientMainNo->CssStyle = "";
         $patient_main->PatientMainNo->CssClass = "";
         $patient_main->PatientMainNo->ViewCustomAttributes = "";
         // PatientID
         $patient_main->PatientID->ViewValue = $patient_main->PatientID->CurrentValue;
         $patient_main->PatientID->CssStyle = "";
         $patient_main->PatientID->CssClass = "";
         $patient_main->PatientID->ViewCustomAttributes = "";
         // PatientName
         $patient_main->PatientName->ViewValue = $patient_main->PatientName->CurrentValue;
         $patient_main->PatientName->CssStyle = "";
         $patient_main->PatientName->CssClass = "";
         $patient_main->PatientName->ViewCustomAttributes = "";
         // PatientBirthDate
         $patient_main->PatientBirthDate->ViewValue = $patient_main->PatientBirthDate->CurrentValue;
         $patient_main->PatientBirthDate->ViewValue = ew_FormatDateTime($patient_main->PatientBirthDate->ViewValue, 5);
         $patient_main->PatientBirthDate->CssStyle = "";
         $patient_main->PatientBirthDate->CssClass = "";
         $patient_main->PatientBirthDate->ViewCustomAttributes = "";
         // PatientSex
         $patient_main->PatientSex->ViewValue = $patient_main->PatientSex->CurrentValue;
         $patient_main->PatientSex->CssStyle = "";
         $patient_main->PatientSex->CssClass = "";
         $patient_main->PatientSex->ViewCustomAttributes = "";
         // OtherPatientID
         $patient_main->OtherPatientID->ViewValue = $patient_main->OtherPatientID->CurrentValue;
         $patient_main->OtherPatientID->CssStyle = "";
         $patient_main->OtherPatientID->CssClass = "";
         $patient_main->OtherPatientID->ViewCustomAttributes = "";
         // PatientMainNo
         $patient_main->PatientMainNo->HrefValue = "";
         // PatientID
         $patient_main->PatientID->HrefValue = "";
         // PatientName
         $patient_main->PatientName->HrefValue = "";
         // PatientBirthDate
         $patient_main->PatientBirthDate->HrefValue = "";
         // PatientSex
         $patient_main->PatientSex->HrefValue = "";
         // OtherPatientID
         $patient_main->OtherPatientID->HrefValue = "";
     } elseif ($patient_main->RowType == EW_ROWTYPE_EDIT) {
         // Edit row
         // PatientMainNo
         $patient_main->PatientMainNo->EditCustomAttributes = "";
         $patient_main->PatientMainNo->EditValue = $patient_main->PatientMainNo->CurrentValue;
         $patient_main->PatientMainNo->CssStyle = "";
         $patient_main->PatientMainNo->CssClass = "";
         $patient_main->PatientMainNo->ViewCustomAttributes = "";
         // PatientID
         $patient_main->PatientID->EditCustomAttributes = "";
         $patient_main->PatientID->EditValue = ew_HtmlEncode($patient_main->PatientID->CurrentValue);
         // PatientName
         $patient_main->PatientName->EditCustomAttributes = "";
         $patient_main->PatientName->EditValue = ew_HtmlEncode($patient_main->PatientName->CurrentValue);
         // PatientBirthDate
         $patient_main->PatientBirthDate->EditCustomAttributes = "";
         $patient_main->PatientBirthDate->EditValue = ew_HtmlEncode(ew_FormatDateTime($patient_main->PatientBirthDate->CurrentValue, 5));
         // PatientSex
         $patient_main->PatientSex->EditCustomAttributes = "";
         $patient_main->PatientSex->EditValue = ew_HtmlEncode($patient_main->PatientSex->CurrentValue);
         // OtherPatientID
         $patient_main->OtherPatientID->EditCustomAttributes = "";
         $patient_main->OtherPatientID->EditValue = ew_HtmlEncode($patient_main->OtherPatientID->CurrentValue);
         // Edit refer script
         // PatientMainNo
         $patient_main->PatientMainNo->HrefValue = "";
         // PatientID
         $patient_main->PatientID->HrefValue = "";
         // PatientName
         $patient_main->PatientName->HrefValue = "";
         // PatientBirthDate
//.........这里部分代码省略.........
开发者ID:airfox7412,项目名称:ps01,代码行数:101,代码来源:patient_main_edit.php

示例11: RenderListRow

 function RenderListRow()
 {
     global $conn, $Security;
     // Call Row Rendering event
     $this->Row_Rendering();
     // Common render codes
     // id_profile
     $this->id_profile->CellCssStyle = "white-space: nowrap;";
     $this->id_profile->CellCssClass = "";
     $this->id_profile->CellAttrs = array();
     $this->id_profile->ViewAttrs = array();
     $this->id_profile->EditAttrs = array();
     // stat_date
     $this->stat_date->CellCssStyle = "";
     $this->stat_date->CellCssClass = "";
     $this->stat_date->CellAttrs = array();
     $this->stat_date->ViewAttrs = array();
     $this->stat_date->EditAttrs = array();
     // year
     $this->year->CellCssStyle = "";
     $this->year->CellCssClass = "";
     $this->year->CellAttrs = array();
     $this->year->ViewAttrs = array();
     $this->year->EditAttrs = array();
     // month
     $this->month->CellCssStyle = "";
     $this->month->CellCssClass = "";
     $this->month->CellAttrs = array();
     $this->month->ViewAttrs = array();
     $this->month->EditAttrs = array();
     // week
     $this->week->CellCssStyle = "";
     $this->week->CellCssClass = "";
     $this->week->CellAttrs = array();
     $this->week->ViewAttrs = array();
     $this->week->EditAttrs = array();
     // alexa_rank
     $this->alexa_rank->CellCssStyle = "";
     $this->alexa_rank->CellCssClass = "";
     $this->alexa_rank->CellAttrs = array();
     $this->alexa_rank->ViewAttrs = array();
     $this->alexa_rank->EditAttrs = array();
     // google_pagerank
     $this->google_pagerank->CellCssStyle = "";
     $this->google_pagerank->CellCssClass = "";
     $this->google_pagerank->CellAttrs = array();
     $this->google_pagerank->ViewAttrs = array();
     $this->google_pagerank->EditAttrs = array();
     // id_profile
     if (strval($this->id_profile->CurrentValue) != "") {
         $sFilterWrk = "`id` = " . ew_AdjustSql($this->id_profile->CurrentValue) . "";
         $sSqlWrk = "SELECT DISTINCT `name` FROM `tbl_profile`";
         $sWhereWrk = "";
         if ($sWhereWrk != "") {
             $sWhereWrk .= " AND ";
         }
         $sWhereWrk .= "(" . "is_active = '1'" . ")";
         if ($sFilterWrk != "") {
             if ($sWhereWrk != "") {
                 $sWhereWrk .= " AND ";
             }
             $sWhereWrk .= "(" . $sFilterWrk . ")";
         }
         if ($sWhereWrk != "") {
             $sSqlWrk .= " WHERE " . $sWhereWrk;
         }
         $sSqlWrk .= " ORDER BY `name` Asc";
         $rswrk = $conn->Execute($sSqlWrk);
         if ($rswrk && !$rswrk->EOF) {
             // Lookup values found
             $this->id_profile->ViewValue = $rswrk->fields('name');
             $rswrk->Close();
         } else {
             $this->id_profile->ViewValue = $this->id_profile->CurrentValue;
         }
     } else {
         $this->id_profile->ViewValue = NULL;
     }
     $this->id_profile->CssStyle = "";
     $this->id_profile->CssClass = "";
     $this->id_profile->ViewCustomAttributes = "";
     // stat_date
     $this->stat_date->ViewValue = $this->stat_date->CurrentValue;
     $this->stat_date->ViewValue = ew_FormatDateTime($this->stat_date->ViewValue, 5);
     $this->stat_date->CssStyle = "";
     $this->stat_date->CssClass = "";
     $this->stat_date->ViewCustomAttributes = "";
     // year
     $this->year->ViewValue = $this->year->CurrentValue;
     $this->year->CssStyle = "";
     $this->year->CssClass = "";
     $this->year->ViewCustomAttributes = "";
     // month
     $this->month->ViewValue = $this->month->CurrentValue;
     $this->month->CssStyle = "";
     $this->month->CssClass = "";
     $this->month->ViewCustomAttributes = "";
     // week
     $this->week->ViewValue = $this->week->CurrentValue;
     $this->week->CssStyle = "";
//.........这里部分代码省略.........
开发者ID:jliman,项目名称:SEOStat,代码行数:101,代码来源:tbl_rank_statinfo.php

示例12: RenderRow

 function RenderRow()
 {
     global $conn, $Security, $Language;
     global $gsLanguage;
     // Initialize URLs
     $this->ViewUrl = $this->GetViewUrl();
     $this->EditUrl = $this->GetEditUrl();
     $this->InlineEditUrl = $this->GetInlineEditUrl();
     $this->CopyUrl = $this->GetCopyUrl();
     $this->InlineCopyUrl = $this->GetInlineCopyUrl();
     $this->DeleteUrl = $this->GetDeleteUrl();
     // Call Row_Rendering event
     $this->Row_Rendering();
     // Common render codes for all row types
     // id_hoja_mantenimiento
     // descripcion
     // fecha
     // hora_trabajo
     // id_tipo_mantenimiento
     if ($this->RowType == EW_ROWTYPE_VIEW) {
         // View row
         // id_hoja_mantenimiento
         $this->id_hoja_mantenimiento->ViewValue = $this->id_hoja_mantenimiento->CurrentValue;
         $this->id_hoja_mantenimiento->ViewCustomAttributes = "";
         // descripcion
         $this->descripcion->ViewValue = $this->descripcion->CurrentValue;
         $this->descripcion->ViewCustomAttributes = "";
         // fecha
         $this->fecha->ViewValue = $this->fecha->CurrentValue;
         $this->fecha->ViewValue = ew_FormatDateTime($this->fecha->ViewValue, 7);
         $this->fecha->ViewCustomAttributes = "";
         // hora_trabajo
         $this->hora_trabajo->ViewValue = $this->hora_trabajo->CurrentValue;
         $this->hora_trabajo->ViewCustomAttributes = "";
         // id_tipo_mantenimiento
         $this->id_tipo_mantenimiento->ViewValue = $this->id_tipo_mantenimiento->CurrentValue;
         $this->id_tipo_mantenimiento->ViewCustomAttributes = "";
         // id_hoja_mantenimiento
         $this->id_hoja_mantenimiento->LinkCustomAttributes = "";
         $this->id_hoja_mantenimiento->HrefValue = "";
         $this->id_hoja_mantenimiento->TooltipValue = "";
         // descripcion
         $this->descripcion->LinkCustomAttributes = "";
         $this->descripcion->HrefValue = "";
         $this->descripcion->TooltipValue = "";
         // fecha
         $this->fecha->LinkCustomAttributes = "";
         $this->fecha->HrefValue = "";
         $this->fecha->TooltipValue = "";
         // hora_trabajo
         $this->hora_trabajo->LinkCustomAttributes = "";
         $this->hora_trabajo->HrefValue = "";
         $this->hora_trabajo->TooltipValue = "";
         // id_tipo_mantenimiento
         $this->id_tipo_mantenimiento->LinkCustomAttributes = "";
         $this->id_tipo_mantenimiento->HrefValue = "";
         $this->id_tipo_mantenimiento->TooltipValue = "";
     }
     // Call Row Rendered event
     if ($this->RowType != EW_ROWTYPE_AGGREGATEINIT) {
         $this->Row_Rendered();
     }
 }
开发者ID:scintes,项目名称:sistemas,代码行数:63,代码来源:detalle_mantenimientoslist.php

示例13: RenderRow

 function RenderRow()
 {
     global $conn, $Security, $Language, $tbl_ga_stat;
     // Initialize URLs
     // Call Row_Rendering event
     $tbl_ga_stat->Row_Rendering();
     // Common render codes for all row types
     // id_profile
     $tbl_ga_stat->id_profile->CellCssStyle = "white-space: nowrap;";
     $tbl_ga_stat->id_profile->CellCssClass = "";
     $tbl_ga_stat->id_profile->CellAttrs = array();
     $tbl_ga_stat->id_profile->ViewAttrs = array();
     $tbl_ga_stat->id_profile->EditAttrs = array();
     // stat_date
     $tbl_ga_stat->stat_date->CellCssStyle = "";
     $tbl_ga_stat->stat_date->CellCssClass = "";
     $tbl_ga_stat->stat_date->CellAttrs = array();
     $tbl_ga_stat->stat_date->ViewAttrs = array();
     $tbl_ga_stat->stat_date->EditAttrs = array();
     // year
     $tbl_ga_stat->year->CellCssStyle = "";
     $tbl_ga_stat->year->CellCssClass = "";
     $tbl_ga_stat->year->CellAttrs = array();
     $tbl_ga_stat->year->ViewAttrs = array();
     $tbl_ga_stat->year->EditAttrs = array();
     // month
     $tbl_ga_stat->month->CellCssStyle = "";
     $tbl_ga_stat->month->CellCssClass = "";
     $tbl_ga_stat->month->CellAttrs = array();
     $tbl_ga_stat->month->ViewAttrs = array();
     $tbl_ga_stat->month->EditAttrs = array();
     // week
     $tbl_ga_stat->week->CellCssStyle = "";
     $tbl_ga_stat->week->CellCssClass = "";
     $tbl_ga_stat->week->CellAttrs = array();
     $tbl_ga_stat->week->ViewAttrs = array();
     $tbl_ga_stat->week->EditAttrs = array();
     // day
     $tbl_ga_stat->day->CellCssStyle = "";
     $tbl_ga_stat->day->CellCssClass = "";
     $tbl_ga_stat->day->CellAttrs = array();
     $tbl_ga_stat->day->ViewAttrs = array();
     $tbl_ga_stat->day->EditAttrs = array();
     // hour
     $tbl_ga_stat->hour->CellCssStyle = "";
     $tbl_ga_stat->hour->CellCssClass = "";
     $tbl_ga_stat->hour->CellAttrs = array();
     $tbl_ga_stat->hour->ViewAttrs = array();
     $tbl_ga_stat->hour->EditAttrs = array();
     // pageview
     $tbl_ga_stat->pageview->CellCssStyle = "";
     $tbl_ga_stat->pageview->CellCssClass = "";
     $tbl_ga_stat->pageview->CellAttrs = array();
     $tbl_ga_stat->pageview->ViewAttrs = array();
     $tbl_ga_stat->pageview->EditAttrs = array();
     // visit
     $tbl_ga_stat->visit->CellCssStyle = "";
     $tbl_ga_stat->visit->CellCssClass = "";
     $tbl_ga_stat->visit->CellAttrs = array();
     $tbl_ga_stat->visit->ViewAttrs = array();
     $tbl_ga_stat->visit->EditAttrs = array();
     if ($tbl_ga_stat->RowType == EW_ROWTYPE_VIEW) {
         // View row
         // id_profile
         if (strval($tbl_ga_stat->id_profile->CurrentValue) != "") {
             $sFilterWrk = "`id` = " . ew_AdjustSql($tbl_ga_stat->id_profile->CurrentValue) . "";
             $sSqlWrk = "SELECT DISTINCT `name` FROM `tbl_profile`";
             $sWhereWrk = "";
             if ($sFilterWrk != "") {
                 if ($sWhereWrk != "") {
                     $sWhereWrk .= " AND ";
                 }
                 $sWhereWrk .= "(" . $sFilterWrk . ")";
             }
             if ($sWhereWrk != "") {
                 $sSqlWrk .= " WHERE " . $sWhereWrk;
             }
             $sSqlWrk .= " ORDER BY `name` Asc";
             $rswrk = $conn->Execute($sSqlWrk);
             if ($rswrk && !$rswrk->EOF) {
                 // Lookup values found
                 $tbl_ga_stat->id_profile->ViewValue = $rswrk->fields('name');
                 $rswrk->Close();
             } else {
                 $tbl_ga_stat->id_profile->ViewValue = $tbl_ga_stat->id_profile->CurrentValue;
             }
         } else {
             $tbl_ga_stat->id_profile->ViewValue = NULL;
         }
         $tbl_ga_stat->id_profile->CssStyle = "";
         $tbl_ga_stat->id_profile->CssClass = "";
         $tbl_ga_stat->id_profile->ViewCustomAttributes = "";
         // stat_date
         $tbl_ga_stat->stat_date->ViewValue = $tbl_ga_stat->stat_date->CurrentValue;
         $tbl_ga_stat->stat_date->ViewValue = ew_FormatDateTime($tbl_ga_stat->stat_date->ViewValue, 5);
         $tbl_ga_stat->stat_date->CssStyle = "";
         $tbl_ga_stat->stat_date->CssClass = "";
         $tbl_ga_stat->stat_date->ViewCustomAttributes = "";
         // year
         $tbl_ga_stat->year->ViewValue = $tbl_ga_stat->year->CurrentValue;
//.........这里部分代码省略.........
开发者ID:jliman,项目名称:SEOStat,代码行数:101,代码来源:tbl_ga_statdelete.php

示例14: RenderListRow

 function RenderListRow()
 {
     global $conn, $Security;
     // Call Row Rendering event
     $this->Row_Rendering();
     // HolidayDateID
     $this->HolidayDateID->ViewValue = $this->HolidayDateID->CurrentValue;
     $this->HolidayDateID->CssStyle = "";
     $this->HolidayDateID->CssClass = "";
     $this->HolidayDateID->ViewCustomAttributes = "";
     // HolidayOrderBy
     $this->HolidayOrderBy->ViewValue = $this->HolidayOrderBy->CurrentValue;
     $this->HolidayOrderBy->ViewValue = ew_FormatDateTime($this->HolidayOrderBy->ViewValue, 6);
     $this->HolidayOrderBy->CssStyle = "";
     $this->HolidayOrderBy->CssClass = "";
     $this->HolidayOrderBy->ViewCustomAttributes = "";
     // HolidayDeliverOn
     $this->HolidayDeliverOn->ViewValue = $this->HolidayDeliverOn->CurrentValue;
     $this->HolidayDeliverOn->ViewValue = ew_FormatDateTime($this->HolidayDeliverOn->ViewValue, 6);
     $this->HolidayDeliverOn->CssStyle = "";
     $this->HolidayDeliverOn->CssClass = "";
     $this->HolidayDeliverOn->ViewCustomAttributes = "";
     // HolidayDateID
     $this->HolidayDateID->HrefValue = "";
     // HolidayOrderBy
     $this->HolidayOrderBy->HrefValue = "";
     // HolidayDeliverOn
     $this->HolidayDeliverOn->HrefValue = "";
     // Call Row Rendered event
     $this->Row_Rendered();
 }
开发者ID:elliecm,项目名称:MadisonandRayne,代码行数:31,代码来源:HolidayDateinfo.php

示例15: RenderEditRow

 function RenderEditRow()
 {
     global $conn, $Security, $gsLanguage, $Language;
     // Call Row Rendering event
     $this->Row_Rendering();
     // id_socio
     $this->id_socio->EditAttrs["class"] = "form-control";
     $this->id_socio->EditCustomAttributes = "";
     if ($this->id_socio->getSessionValue() != "") {
         $this->id_socio->CurrentValue = $this->id_socio->getSessionValue();
         if (strval($this->id_socio->CurrentValue) != "") {
             $sFilterWrk = "`socio_nro`" . ew_SearchString("=", $this->id_socio->CurrentValue, EW_DATATYPE_NUMBER);
             $sSqlWrk = "SELECT `socio_nro`, `propietario` AS `DispFld`, `comercio` AS `Disp2Fld`, '' AS `Disp3Fld`, '' AS `Disp4Fld` FROM `socios`";
             $sWhereWrk = "";
             $lookuptblfilter = "`activo`='S'";
             if (strval($lookuptblfilter) != "") {
                 ew_AddFilter($sWhereWrk, $lookuptblfilter);
             }
             if ($sFilterWrk != "") {
                 ew_AddFilter($sWhereWrk, $sFilterWrk);
             }
             // Call Lookup selecting
             $this->Lookup_Selecting($this->id_socio, $sWhereWrk);
             if ($sWhereWrk != "") {
                 $sSqlWrk .= " WHERE " . $sWhereWrk;
             }
             $sSqlWrk .= " ORDER BY `propietario` DESC";
             $rswrk = $conn->Execute($sSqlWrk);
             if ($rswrk && !$rswrk->EOF) {
                 // Lookup values found
                 $this->id_socio->ViewValue = $rswrk->fields('DispFld');
                 $this->id_socio->ViewValue .= ew_ValueSeparator(1, $this->id_socio) . $rswrk->fields('Disp2Fld');
                 $rswrk->Close();
             } else {
                 $this->id_socio->ViewValue = $this->id_socio->CurrentValue;
             }
         } else {
             $this->id_socio->ViewValue = NULL;
         }
         $this->id_socio->ViewCustomAttributes = "";
     } else {
     }
     // id_detalles
     $this->id_detalles->EditAttrs["class"] = "form-control";
     $this->id_detalles->EditCustomAttributes = "";
     if ($this->id_detalles->getSessionValue() != "") {
         $this->id_detalles->CurrentValue = $this->id_detalles->getSessionValue();
         if (strval($this->id_detalles->CurrentValue) != "") {
             $sFilterWrk = "`codigo`" . ew_SearchString("=", $this->id_detalles->CurrentValue, EW_DATATYPE_NUMBER);
             $sSqlWrk = "SELECT `codigo`, `nombre` AS `DispFld`, '' AS `Disp2Fld`, '' AS `Disp3Fld`, '' AS `Disp4Fld` FROM `detalles`";
             $sWhereWrk = "";
             $lookuptblfilter = "`activa`='S'";
             if (strval($lookuptblfilter) != "") {
                 ew_AddFilter($sWhereWrk, $lookuptblfilter);
             }
             if ($sFilterWrk != "") {
                 ew_AddFilter($sWhereWrk, $sFilterWrk);
             }
             // Call Lookup selecting
             $this->Lookup_Selecting($this->id_detalles, $sWhereWrk);
             if ($sWhereWrk != "") {
                 $sSqlWrk .= " WHERE " . $sWhereWrk;
             }
             $sSqlWrk .= " ORDER BY `nombre` DESC";
             $rswrk = $conn->Execute($sSqlWrk);
             if ($rswrk && !$rswrk->EOF) {
                 // Lookup values found
                 $this->id_detalles->ViewValue = $rswrk->fields('DispFld');
                 $rswrk->Close();
             } else {
                 $this->id_detalles->ViewValue = $this->id_detalles->CurrentValue;
             }
         } else {
             $this->id_detalles->ViewValue = NULL;
         }
         $this->id_detalles->ViewCustomAttributes = "";
     } else {
     }
     // fecha_alta
     $this->fecha_alta->EditAttrs["class"] = "form-control";
     $this->fecha_alta->EditCustomAttributes = "";
     $this->fecha_alta->EditValue = ew_HtmlEncode(ew_FormatDateTime($this->fecha_alta->CurrentValue, 7));
     $this->fecha_alta->PlaceHolder = ew_RemoveHtml($this->fecha_alta->FldCaption());
     // fecha_baja
     $this->fecha_baja->EditAttrs["class"] = "form-control";
     $this->fecha_baja->EditCustomAttributes = "";
     $this->fecha_baja->EditValue = ew_HtmlEncode(ew_FormatDateTime($this->fecha_baja->CurrentValue, 7));
     $this->fecha_baja->PlaceHolder = ew_RemoveHtml($this->fecha_baja->FldCaption());
     // Call Row Rendered event
     $this->Row_Rendered();
 }
开发者ID:scintes,项目名称:sistemas,代码行数:91,代码来源:cciag_socios_detallesinfo.php


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