• 设为首页
  • 点击收藏
  • 手机版
    手机扫一扫访问
    迪恩网络手机版
  • 关注官方公众号
    微信扫一扫关注
    迪恩网络公众号

PHP ew_RemoveHtml函数代码示例

原作者: [db:作者] 来自: [db:来源] 收藏 邀请

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



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

示例1: RenderEditRow

 function RenderEditRow()
 {
     global $conn, $Security, $gsLanguage, $Language;
     // Call Row Rendering event
     $this->Row_Rendering();
     // idempleado
     $this->idempleado->EditAttrs["class"] = "form-control";
     $this->idempleado->EditCustomAttributes = "";
     $this->idempleado->EditValue = $this->idempleado->CurrentValue;
     $this->idempleado->ViewCustomAttributes = "";
     // 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());
     // apellido
     $this->apellido->EditAttrs["class"] = "form-control";
     $this->apellido->EditCustomAttributes = "";
     $this->apellido->EditValue = ew_HtmlEncode($this->apellido->CurrentValue);
     $this->apellido->PlaceHolder = ew_RemoveHtml($this->apellido->FldCaption());
     // cui
     $this->cui->EditAttrs["class"] = "form-control";
     $this->cui->EditCustomAttributes = "";
     $this->cui->EditValue = ew_HtmlEncode($this->cui->CurrentValue);
     $this->cui->PlaceHolder = ew_RemoveHtml($this->cui->FldCaption());
     // telefono
     $this->telefono->EditAttrs["class"] = "form-control";
     $this->telefono->EditCustomAttributes = "";
     $this->telefono->EditValue = ew_HtmlEncode($this->telefono->CurrentValue);
     $this->telefono->PlaceHolder = ew_RemoveHtml($this->telefono->FldCaption());
     // direccion
     $this->direccion->EditAttrs["class"] = "form-control";
     $this->direccion->EditCustomAttributes = "";
     $this->direccion->EditValue = ew_HtmlEncode($this->direccion->CurrentValue);
     $this->direccion->PlaceHolder = ew_RemoveHtml($this->direccion->FldCaption());
     // estado
     $this->estado->EditCustomAttributes = "";
     $arwrk = array();
     $arwrk[] = array($this->estado->FldTagValue(1), $this->estado->FldTagCaption(1) != "" ? $this->estado->FldTagCaption(1) : $this->estado->FldTagValue(1));
     $arwrk[] = array($this->estado->FldTagValue(2), $this->estado->FldTagCaption(2) != "" ? $this->estado->FldTagCaption(2) : $this->estado->FldTagValue(2));
     $this->estado->EditValue = $arwrk;
     // idhospital
     $this->idhospital->EditAttrs["class"] = "form-control";
     $this->idhospital->EditCustomAttributes = "";
     if ($this->idhospital->getSessionValue() != "") {
         $this->idhospital->CurrentValue = $this->idhospital->getSessionValue();
         if (strval($this->idhospital->CurrentValue) != "") {
             $sFilterWrk = "`idhospital`" . ew_SearchString("=", $this->idhospital->CurrentValue, EW_DATATYPE_NUMBER);
             $sSqlWrk = "SELECT `idhospital`, `nombre` AS `DispFld`, '' AS `Disp2Fld`, '' AS `Disp3Fld`, '' AS `Disp4Fld` FROM `hospital`";
             $sWhereWrk = "";
             if ($sFilterWrk != "") {
                 ew_AddFilter($sWhereWrk, $sFilterWrk);
             }
             // Call Lookup selecting
             $this->Lookup_Selecting($this->idhospital, $sWhereWrk);
             if ($sWhereWrk != "") {
                 $sSqlWrk .= " WHERE " . $sWhereWrk;
             }
             $rswrk = $conn->Execute($sSqlWrk);
             if ($rswrk && !$rswrk->EOF) {
                 // Lookup values found
                 $this->idhospital->ViewValue = $rswrk->fields('DispFld');
                 $rswrk->Close();
             } else {
                 $this->idhospital->ViewValue = $this->idhospital->CurrentValue;
             }
         } else {
             $this->idhospital->ViewValue = NULL;
         }
         $this->idhospital->ViewCustomAttributes = "";
     } else {
     }
     // Call Row Rendered event
     $this->Row_Rendered();
 }
开发者ID:AngeloGalindo,项目名称:PracticasGrupo9DesarrolloWeb,代码行数:75,代码来源:empleadoinfo.php


示例2: RenderEditRow

 function RenderEditRow()
 {
     global $conn, $Security, $gsLanguage, $Language;
     // Call Row Rendering event
     $this->Row_Rendering();
     // codigo
     $this->codigo->EditAttrs["class"] = "form-control";
     $this->codigo->EditCustomAttributes = "";
     $this->codigo->EditValue = $this->codigo->CurrentValue;
     $this->codigo->ViewCustomAttributes = "";
     // tipo_gasto
     $this->tipo_gasto->EditAttrs["class"] = "form-control";
     $this->tipo_gasto->EditCustomAttributes = "";
     $this->tipo_gasto->EditValue = ew_HtmlEncode($this->tipo_gasto->CurrentValue);
     $this->tipo_gasto->PlaceHolder = ew_RemoveHtml($this->tipo_gasto->FldCaption());
     // clase
     $this->clase->EditCustomAttributes = "";
     $arwrk = array();
     $arwrk[] = array($this->clase->FldTagValue(1), $this->clase->FldTagCaption(1) != "" ? $this->clase->FldTagCaption(1) : $this->clase->FldTagValue(1));
     $arwrk[] = array($this->clase->FldTagValue(2), $this->clase->FldTagCaption(2) != "" ? $this->clase->FldTagCaption(2) : $this->clase->FldTagValue(2));
     $this->clase->EditValue = $arwrk;
     // Call Row Rendered event
     $this->Row_Rendered();
 }
开发者ID:scintes,项目名称:sistemas,代码行数:24,代码来源:tipo_gastosinfo.php


示例3: RenderEditRow

 function RenderEditRow()
 {
     global $Security, $gsLanguage, $Language;
     // Call Row Rendering event
     $this->Row_Rendering();
     // CARD_TYPE_ID
     $this->CARD_TYPE_ID->EditAttrs["class"] = "form-control";
     $this->CARD_TYPE_ID->EditCustomAttributes = "";
     $this->CARD_TYPE_ID->EditValue = $this->CARD_TYPE_ID->CurrentValue;
     $this->CARD_TYPE_ID->ViewCustomAttributes = "";
     // DESCRIPTION
     $this->DESCRIPTION->EditAttrs["class"] = "form-control";
     $this->DESCRIPTION->EditCustomAttributes = "";
     $this->DESCRIPTION->EditValue = $this->DESCRIPTION->CurrentValue;
     $this->DESCRIPTION->PlaceHolder = ew_RemoveHtml($this->DESCRIPTION->FldCaption());
     // Call Row Rendered event
     $this->Row_Rendered();
 }
开发者ID:demian054,项目名称:APCB_WebPagePHP,代码行数:18,代码来源:card_typeinfo.php


示例4: RenderRow

 function RenderRow()
 {
     global $Security, $Language, $gsLanguage;
     // Initialize URLs
     // Convert decimal values if posted back
     if ($this->ACCOUNT_NUMBER->FormValue == $this->ACCOUNT_NUMBER->CurrentValue && is_numeric(ew_StrToFloat($this->ACCOUNT_NUMBER->CurrentValue))) {
         $this->ACCOUNT_NUMBER->CurrentValue = ew_StrToFloat($this->ACCOUNT_NUMBER->CurrentValue);
     }
     // Call Row_Rendering event
     $this->Row_Rendering();
     // Common render codes for all row types
     // BANK_ACCOUNT_ID
     // CODE
     // DESCRIPTION
     // ACCOUNT_NUMBER
     // BANK_ID
     // ACTIVE
     if ($this->RowType == EW_ROWTYPE_VIEW) {
         // View row
         // CODE
         $this->CODE->ViewValue = $this->CODE->CurrentValue;
         $this->CODE->ViewCustomAttributes = "";
         // DESCRIPTION
         $this->DESCRIPTION->ViewValue = $this->DESCRIPTION->CurrentValue;
         $this->DESCRIPTION->ViewCustomAttributes = "";
         // ACCOUNT_NUMBER
         $this->ACCOUNT_NUMBER->ViewValue = $this->ACCOUNT_NUMBER->CurrentValue;
         $this->ACCOUNT_NUMBER->ViewCustomAttributes = "";
         // BANK_ID
         if (strval($this->BANK_ID->CurrentValue) != "") {
             $sFilterWrk = "`BANK_ID`" . ew_SearchString("=", $this->BANK_ID->CurrentValue, EW_DATATYPE_NUMBER, "");
             switch (@$gsLanguage) {
                 case "es":
                     $sSqlWrk = "SELECT `BANK_ID`, `DESCRIPTION` AS `DispFld`, '' AS `Disp2Fld`, '' AS `Disp3Fld`, '' AS `Disp4Fld` FROM `bank`";
                     $sWhereWrk = "";
                     break;
                 default:
                     $sSqlWrk = "SELECT `BANK_ID`, `DESCRIPTION` AS `DispFld`, '' AS `Disp2Fld`, '' AS `Disp3Fld`, '' AS `Disp4Fld` FROM `bank`";
                     $sWhereWrk = "";
                     break;
             }
             ew_AddFilter($sWhereWrk, $sFilterWrk);
             $this->Lookup_Selecting($this->BANK_ID, $sWhereWrk);
             // Call Lookup selecting
             if ($sWhereWrk != "") {
                 $sSqlWrk .= " WHERE " . $sWhereWrk;
             }
             $rswrk = Conn()->Execute($sSqlWrk);
             if ($rswrk && !$rswrk->EOF) {
                 // Lookup values found
                 $arwrk = array();
                 $arwrk[1] = $rswrk->fields('DispFld');
                 $this->BANK_ID->ViewValue = $this->BANK_ID->DisplayValue($arwrk);
                 $rswrk->Close();
             } else {
                 $this->BANK_ID->ViewValue = $this->BANK_ID->CurrentValue;
             }
         } else {
             $this->BANK_ID->ViewValue = NULL;
         }
         $this->BANK_ID->ViewCustomAttributes = "";
         // ACTIVE
         if (strval($this->ACTIVE->CurrentValue) != "") {
             $this->ACTIVE->ViewValue = $this->ACTIVE->OptionCaption($this->ACTIVE->CurrentValue);
         } else {
             $this->ACTIVE->ViewValue = NULL;
         }
         $this->ACTIVE->ViewCustomAttributes = "";
         // CODE
         $this->CODE->LinkCustomAttributes = "";
         $this->CODE->HrefValue = "";
         $this->CODE->TooltipValue = "";
         // DESCRIPTION
         $this->DESCRIPTION->LinkCustomAttributes = "";
         $this->DESCRIPTION->HrefValue = "";
         $this->DESCRIPTION->TooltipValue = "";
         // ACCOUNT_NUMBER
         $this->ACCOUNT_NUMBER->LinkCustomAttributes = "";
         $this->ACCOUNT_NUMBER->HrefValue = "";
         $this->ACCOUNT_NUMBER->TooltipValue = "";
         // BANK_ID
         $this->BANK_ID->LinkCustomAttributes = "";
         $this->BANK_ID->HrefValue = "";
         $this->BANK_ID->TooltipValue = "";
         // ACTIVE
         $this->ACTIVE->LinkCustomAttributes = "";
         $this->ACTIVE->HrefValue = "";
         $this->ACTIVE->TooltipValue = "";
     } elseif ($this->RowType == EW_ROWTYPE_EDIT) {
         // Edit row
         // CODE
         $this->CODE->EditAttrs["class"] = "form-control";
         $this->CODE->EditCustomAttributes = "";
         $this->CODE->EditValue = ew_HtmlEncode($this->CODE->CurrentValue);
         $this->CODE->PlaceHolder = ew_RemoveHtml($this->CODE->FldCaption());
         // DESCRIPTION
         $this->DESCRIPTION->EditAttrs["class"] = "form-control";
         $this->DESCRIPTION->EditCustomAttributes = "";
         $this->DESCRIPTION->EditValue = ew_HtmlEncode($this->DESCRIPTION->CurrentValue);
         $this->DESCRIPTION->PlaceHolder = ew_RemoveHtml($this->DESCRIPTION->FldCaption());
//.........这里部分代码省略.........
开发者ID:demian054,项目名称:APCB_WebPagePHP,代码行数:101,代码来源:bank_accountedit.php


示例5: RenderRow


//.........这里部分代码省略.........
                 if ($ari < $cnt - 1) {
                     $this->division->ViewValue .= ew_ViewOptionSeparator($ari);
                 }
             }
         } else {
             $this->division->ViewValue = NULL;
         }
         $this->division->ViewCustomAttributes = "";
         // has_expansion
         if (strval($this->has_expansion->CurrentValue) != "") {
             $this->has_expansion->ViewValue = $this->has_expansion->OptionCaption($this->has_expansion->CurrentValue);
         } else {
             $this->has_expansion->ViewValue = NULL;
         }
         $this->has_expansion->ViewCustomAttributes = "";
         // notes
         $this->notes->ViewValue = $this->notes->CurrentValue;
         $this->notes->ViewCustomAttributes = "";
         // name
         $this->name->LinkCustomAttributes = "";
         $this->name->HrefValue = "";
         $this->name->TooltipValue = "";
         // email
         $this->_email->LinkCustomAttributes = "";
         $this->_email->HrefValue = "";
         $this->_email->TooltipValue = "";
         // joined
         $this->joined->LinkCustomAttributes = "";
         $this->joined->HrefValue = "";
         $this->joined->TooltipValue = "";
         // facebook
         $this->facebook->LinkCustomAttributes = "";
         if (!ew_Empty($this->facebook->CurrentValue)) {
             $this->facebook->HrefValue = !empty($this->facebook->ViewValue) ? ew_RemoveHtml($this->facebook->ViewValue) : $this->facebook->CurrentValue;
             // Add prefix/suffix
             $this->facebook->LinkAttrs["target"] = "_blank";
             // Add target
             if ($this->Export != "") {
                 $this->facebook->HrefValue = ew_ConvertFullUrl($this->facebook->HrefValue);
             }
         } else {
             $this->facebook->HrefValue = "";
         }
         $this->facebook->TooltipValue = "";
         // twitter
         $this->twitter->LinkCustomAttributes = "";
         if (!ew_Empty($this->twitter->CurrentValue)) {
             $this->twitter->HrefValue = !empty($this->twitter->ViewValue) ? ew_RemoveHtml($this->twitter->ViewValue) : $this->twitter->CurrentValue;
             // Add prefix/suffix
             $this->twitter->LinkAttrs["target"] = "_blank";
             // Add target
             if ($this->Export != "") {
                 $this->twitter->HrefValue = ew_ConvertFullUrl($this->twitter->HrefValue);
             }
         } else {
             $this->twitter->HrefValue = "";
         }
         $this->twitter->TooltipValue = "";
         // twitch
         $this->twitch->LinkCustomAttributes = "";
         if (!ew_Empty($this->twitch->CurrentValue)) {
             $this->twitch->HrefValue = !empty($this->twitch->ViewValue) ? ew_RemoveHtml($this->twitch->ViewValue) : $this->twitch->CurrentValue;
             // Add prefix/suffix
             $this->twitch->LinkAttrs["target"] = "_blank";
             // Add target
             if ($this->Export != "") {
开发者ID:NoSympathy,项目名称:Dashboard,代码行数:67,代码来源:nos_membersedit.php


示例6: RenderRow

 function RenderRow()
 {
     global $conn, $Security, $Language;
     global $gsLanguage;
     // Initialize URLs
     // 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 = "";
         // 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 = "";
     } elseif ($this->RowType == EW_ROWTYPE_ADD) {
         // Add row
         // mes
         $this->mes->EditAttrs["class"] = "form-control";
         $this->mes->EditCustomAttributes = "";
         $this->mes->EditValue = ew_HtmlEncode($this->mes->CurrentValue);
         $this->mes->PlaceHolder = ew_RemoveHtml($this->mes->FldCaption());
         // anio
         $this->anio->EditAttrs["class"] = "form-control";
         $this->anio->EditCustomAttributes = "";
         $this->anio->EditValue = ew_HtmlEncode($this->anio->CurrentValue);
         $this->anio->PlaceHolder = ew_RemoveHtml($this->anio->FldCaption());
//.........这里部分代码省略.........
开发者ID:scintes,项目名称:sistemas,代码行数:101,代码来源:cciag_deudasadd.php


示例7: RenderRow

 function RenderRow()
 {
     global $conn, $Security, $Language;
     global $gsLanguage;
     // Initialize URLs
     // 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->ViewValue = ew_FormatCurrency($this->importe->ViewValue, 0, -2, -2, -2);
         $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 = "";
         // 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 = "";
     } elseif ($this->RowType == EW_ROWTYPE_ADD) {
         // Add row
         // descripcion
         $this->descripcion->EditAttrs["class"] = "form-control";
         $this->descripcion->EditCustomAttributes = "";
         $this->descripcion->EditValue = ew_HtmlEncode($this->descripcion->CurrentValue);
         $this->descripcion->PlaceHolder = ew_RemoveHtml($this->descripcion->FldCaption());
         // importe
         $this->importe->EditAttrs["class"] = "form-control";
         $this->importe->EditCustomAttributes = "";
         $this->importe->EditValue = ew_HtmlEncode($this->importe->CurrentValue);
         $this->importe->PlaceHolder = ew_RemoveHtml($this->importe->FldCaption());
         if (strval($this->importe->EditValue) != "" && is_numeric($this->importe->EditValue)) {
             $this->importe->EditValue = ew_FormatNumber($this->importe->EditValue, -2, -2, -2, -2);
         }
         // fecha_creacion
         $this->fecha_creacion->EditAttrs["class"] = "form-control";
         $this->fecha_creacion->EditCustomAttributes = "";
         $this->fecha_creacion->EditValue = ew_HtmlEncode(ew_FormatDateTime($this->fecha_creacion->CurrentValue, 7));
         $this->fecha_creacion->PlaceHolder = ew_RemoveHtml($this->fecha_creacion->FldCaption());
         // activa
         $this->activa->EditCustomAttributes = "";
         $arwrk = array();
         $arwrk[] = array($this->activa->FldTagValue(1), $this->activa->FldTagCaption(1) != "" ? $this->activa->FldTagCaption(1) : $this->activa->FldTagValue(1));
         $arwrk[] = array($this->activa->FldTagValue(2), $this->activa->FldTagCaption(2) != "" ? $this->activa->FldTagCaption(2) : $this->activa->FldTagValue(2));
         $this->activa->EditValue = $arwrk;
         // Edit refer script
         // descripcion
         $this->descripcion->HrefValue = "";
         // importe
         $this->importe->HrefValue = "";
         // fecha_creacion
         $this->fecha_creacion->HrefValue = "";
         // activa
//.........这里部分代码省略.........
开发者ID:scintes,项目名称:sistemas,代码行数:101,代码来源:cciag_montosadd.php


示例8: RenderRow

 function RenderRow()
 {
     global $Security, $Language, $gsLanguage;
     // Initialize URLs
     // Call Row_Rendering event
     $this->Row_Rendering();
     // Common render codes for all row types
     // PASSANGER_ID
     // CODE
     // FIRSTNAME
     // SECONDNAME
     // LASTNAME
     // SURNAME
     // MAIL
     // PASSANGER_TYPE_ID
     // USER_ID
     if ($this->RowType == EW_ROWTYPE_VIEW) {
         // View row
         // PASSANGER_ID
         $this->PASSANGER_ID->ViewValue = $this->PASSANGER_ID->CurrentValue;
         $this->PASSANGER_ID->ViewCustomAttributes = "";
         // CODE
         $this->CODE->ViewValue = $this->CODE->CurrentValue;
         $this->CODE->ViewCustomAttributes = "";
         // FIRSTNAME
         $this->FIRSTNAME->ViewValue = $this->FIRSTNAME->CurrentValue;
         $this->FIRSTNAME->ViewCustomAttributes = "";
         // SECONDNAME
         $this->SECONDNAME->ViewValue = $this->SECONDNAME->CurrentValue;
         $this->SECONDNAME->ViewCustomAttributes = "";
         // LASTNAME
         $this->LASTNAME->ViewValue = $this->LASTNAME->CurrentValue;
         $this->LASTNAME->ViewCustomAttributes = "";
         // SURNAME
         $this->SURNAME->ViewValue = $this->SURNAME->CurrentValue;
         $this->SURNAME->ViewCustomAttributes = "";
         // MAIL
         $this->MAIL->ViewValue = $this->MAIL->CurrentValue;
         $this->MAIL->ViewCustomAttributes = "";
         // PASSANGER_TYPE_ID
         $this->PASSANGER_TYPE_ID->ViewValue = $this->PASSANGER_TYPE_ID->CurrentValue;
         $this->PASSANGER_TYPE_ID->ViewCustomAttributes = "";
         // USER_ID
         $this->USER_ID->ViewValue = $this->USER_ID->CurrentValue;
         $this->USER_ID->ViewCustomAttributes = "";
         // PASSANGER_ID
         $this->PASSANGER_ID->LinkCustomAttributes = "";
         $this->PASSANGER_ID->HrefValue = "";
         $this->PASSANGER_ID->TooltipValue = "";
         // CODE
         $this->CODE->LinkCustomAttributes = "";
         $this->CODE->HrefValue = "";
         $this->CODE->TooltipValue = "";
         // FIRSTNAME
         $this->FIRSTNAME->LinkCustomAttributes = "";
         $this->FIRSTNAME->HrefValue = "";
         $this->FIRSTNAME->TooltipValue = "";
         // SECONDNAME
         $this->SECONDNAME->LinkCustomAttributes = "";
         $this->SECONDNAME->HrefValue = "";
         $this->SECONDNAME->TooltipValue = "";
         // LASTNAME
         $this->LASTNAME->LinkCustomAttributes = "";
         $this->LASTNAME->HrefValue = "";
         $this->LASTNAME->TooltipValue = "";
         // SURNAME
         $this->SURNAME->LinkCustomAttributes = "";
         $this->SURNAME->HrefValue = "";
         $this->SURNAME->TooltipValue = "";
         // MAIL
         $this->MAIL->LinkCustomAttributes = "";
         $this->MAIL->HrefValue = "";
         $this->MAIL->TooltipValue = "";
         // PASSANGER_TYPE_ID
         $this->PASSANGER_TYPE_ID->LinkCustomAttributes = "";
         $this->PASSANGER_TYPE_ID->HrefValue = "";
         $this->PASSANGER_TYPE_ID->TooltipValue = "";
         // USER_ID
         $this->USER_ID->LinkCustomAttributes = "";
         $this->USER_ID->HrefValue = "";
         $this->USER_ID->TooltipValue = "";
     } elseif ($this->RowType == EW_ROWTYPE_EDIT) {
         // Edit row
         // PASSANGER_ID
         $this->PASSANGER_ID->EditAttrs["class"] = "form-control";
         $this->PASSANGER_ID->EditCustomAttributes = "";
         $this->PASSANGER_ID->EditValue = $this->PASSANGER_ID->CurrentValue;
         $this->PASSANGER_ID->ViewCustomAttributes = "";
         // CODE
         $this->CODE->EditAttrs["class"] = "form-control";
         $this->CODE->EditCustomAttributes = "";
         $this->CODE->EditValue = ew_HtmlEncode($this->CODE->CurrentValue);
         $this->CODE->PlaceHolder = ew_RemoveHtml($this->CODE->FldCaption());
         // FIRSTNAME
         $this->FIRSTNAME->EditAttrs["class"] = "form-control";
         $this->FIRSTNAME->EditCustomAttributes = "";
         $this->FIRSTNAME->EditValue = ew_HtmlEncode($this->FIRSTNAME->CurrentValue);
         $this->FIRSTNAME->PlaceHolder = ew_RemoveHtml($this->FIRSTNAME->FldCaption());
         // SECONDNAME
         $this->SECONDNAME->EditAttrs["class"] = "form-control";
//.........这里部分代码省略.........
开发者ID:demian054,项目名称:APCB_WebPagePHP,代码行数:101,代码来源:passangeredit.php


示例9: 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`, `socio_nro` AS `DispFld`, `propietario` AS `Disp2Fld`, '' AS `Disp3Fld`, '' AS `Disp4Fld` FROM `socios`";
             $sWhereWrk = "";
             if ($sFilterWrk != "") {
                 ew_AddFilter($sWhereWrk, $sFilterWrk);
             }
             // Call Lookup selecting
             $this->Lookup_Selecting($this->id_socio, $sWhereWrk);
             if ($sWhereWrk != "") {
                 $sSqlWrk .= " WHERE " . $sWhereWrk;
             }
             $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_montos
     $this->id_montos->EditAttrs["class"] = "form-control";
     $this->id_montos->EditCustomAttributes = "";
     if ($this->id_montos->getSessionValue() != "") {
         $this->id_montos->CurrentValue = $this->id_montos->getSessionValue();
         if (strval($this->id_montos->CurrentValue) != "") {
             $sFilterWrk = "`id`" . ew_SearchString("=", $this->id_montos->CurrentValue, EW_DATATYPE_NUMBER);
             $sSqlWrk = "SELECT `id`, `descripcion` AS `DispFld`, `importe` AS `Disp2Fld`, '' AS `Disp3Fld`, '' AS `Disp4Fld` FROM `montos`";
             $sWhereWrk = "";
             if ($sFilterWrk != "") {
                 ew_AddFilter($sWhereWrk, $sFilterWrk);
             }
             // Call Lookup selecting
             $this->Lookup_Selecting($this->id_montos, $sWhereWrk);
             if ($sWhereWrk != "") {
                 $sSqlWrk .= " WHERE " . $sWhereWrk;
             }
             $rswrk = $conn->Execute($sSqlWrk);
             if ($rswrk && !$rswrk->EOF) {
                 // Lookup values found
                 $this->id_montos->ViewValue = $rswrk->fields('DispFld');
                 $this->id_montos->ViewValue .= ew_ValueSeparator(1, $this->id_montos) . ew_FormatCurrency($rswrk->fields('Disp2Fld'), 0, -2, -2, -2);
                 $rswrk->Close();
             } else {
                 $this->id_montos->ViewValue = $this->id_montos->CurrentValue;
             }
         } else {
             $this->id_montos->ViewValue = NULL;
         }
         $this->id_montos->ViewCustomAttributes = "";
     } else {
     }
     // id_usuario
     // fecha
     $this->fecha->EditAttrs["class"] = "form-control";
     $this->fecha->EditCustomAttributes = "";
     $this->fecha->EditValue = ew_HtmlEncode(ew_FormatDateTime($this->fecha->CurrentValue, 7));
     $this->fecha->PlaceHolder = ew_RemoveHtml($this->fecha->FldCaption());
     // Call Row Rendered event
     $this->Row_Rendered();
 }
开发者ID:scintes,项目名称:sistemas,代码行数:78,代码来源:cciag_socios_cuotasinfo.php


示例10: 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
     // id
     // url
     // tdate
     // account_id
     if ($this->RowType == EW_ROWTYPE_VIEW) {
         // View row
         // id
         $this->id->ViewValue = $this->id->CurrentValue;
         $this->id->ViewCustomAttributes = "";
         // url
         $this->url->ViewValue = $this->url->CurrentValue;
         $this->url->ViewCustomAttributes = "";
         // account_id
         $this->account_id->ViewValue = $this->account_id->CurrentValue;
         $this->account_id->ViewCustomAttributes = "";
         // id
         $this->id->LinkCustomAttributes = "";
         $this->id->HrefValue = "";
         $this->id->TooltipValue = "";
         // url
         $this->url->LinkCustomAttributes = "";
         $this->url->HrefValue = "";
         $this->url->TooltipValue = "";
         // account_id
         $this->account_id->LinkCustomAttributes = "";
         $this->account_id->HrefValue = "";
         $this->account_id->TooltipValue = "";
     } elseif ($this->RowType == EW_ROWTYPE_EDIT) {
         // Edit row
         // id
         $this->id->EditAttrs["class"] = "form-control";
         $this->id->EditCustomAttributes = "";
         $this->id->EditValue = $this->id->CurrentValue;
         $this->id->ViewCustomAttributes = "";
         // url
         $this->url->EditAttrs["class"] = "form-control";
         $this->url->EditCustomAttributes = "";
         $this->url->EditValue = ew_HtmlEncode($this->url->CurrentValue);
         $this->url->PlaceHolder = ew_RemoveHtml($this->url->FldCaption());
         // account_id
         $this->account_id->EditAttrs["class"] = "form-control";
         $this->account_id->EditCustomAttributes = "";
         if (!$Security->IsAdmin() && $Security->IsLoggedIn() && !$this->UserIDAllow("edit")) {
             // Non system admin
             $this->account_id->CurrentValue = CurrentUserID();
             $this->account_id->EditValue = $this->account_id->CurrentValue;
             $this->account_id->ViewCustomAttributes = "";
         } else {
             $this->account_id->EditValue = ew_HtmlEncode($this->account_id->CurrentValue);
             $this->account_id->PlaceHolder = ew_RemoveHtml($this->account_id->FldCaption());
         }
         // Edit refer script
         // id
         $this->id->HrefValue = "";
         // url
         $this->url->HrefValue = "";
         // account_id
         $this->account_id->HrefValue = "";
     }
     if ($this->RowType == EW_ROWTYPE_ADD || $this->RowType == EW_ROWTYPE_EDIT || $this->RowType == EW_ROWTYPE_SEARCH) {
         // Add / Edit / Search row
         $this->SetupFieldTitles();
     }
     // Call Row Rendered event
     if ($this->RowType != EW_ROWTYPE_AGGREGATEINIT) {
         $this->Row_Rendered();
     }
 }
开发者ID:Ombogo,项目名称:new_api_chat,代码行数:76,代码来源:profile_picedit.php


示例11: 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
     // ID
     // Password
     // Email
     // Created
     // Type
     if ($this->RowType == EW_ROWTYPE_VIEW) {
         // View row
         // ID
         $this->ID->ViewValue = $this->ID->CurrentValue;
         $this->ID->ViewCustomAttributes = "";
         // Password
         $this->Password->ViewValue = $this->Password->CurrentValue;
         $this->Password->ViewCustomAttributes = "";
         // Email
         $this->_Email->ViewValue = $this->_Email->CurrentValue;
         $this->_Email->ViewCustomAttributes = "";
         // Created
         $this->Created->ViewValue = $this->Created->CurrentValue;
         $this->Created->ViewValue = ew_FormatDateTime($this->Created->ViewValue, 5);
         $this->Created->ViewCustomAttributes = "";
         // Type
         if (strval($this->Type->CurrentValue) != "") {
             $sFilterWrk = "`UserTypeID`" . ew_SearchString("=", $this->Type->CurrentValue, EW_DATATYPE_NUMBER);
             $sSqlWrk = "SELECT `UserTypeID`, `Name` AS `DispFld`, '' AS `Disp2Fld`, '' AS `Disp3Fld`, '' AS `Disp4Fld` FROM `UserTypes`";
             $sWhereWrk = "";
             if ($sFilterWrk != "") {
                 ew_AddFilter($sWhereWrk, $sFilterWrk);
             }
             // Call Lookup selecting
             $this->Lookup_Selecting($this->Type, $sWhereWrk);
             if ($sWhereWrk != "") {
                 $sSqlWrk .= " WHERE " . $sWhereWrk;
             }
             $rswrk = $conn->Execute($sSqlWrk);
             if ($rswrk && !$rswrk->EOF) {
                 // Lookup values found
                 $this->Type->ViewValue = $rswrk->fields('DispFld');
                 $rswrk->Close();
             } else {
                 $this->Type->ViewValue = $this->Type->CurrentValue;
             }
         } else {
             $this->Type->ViewValue = NULL;
         }
         $this->Type->ViewCustomAttributes = "";
         // Password
         $this->Password->LinkCustomAttributes = "";
         $this->Password->HrefValue = "";
         $this->Password->TooltipValue = "";
         // Email
         $this->_Email->LinkCustomAttributes = "";
         $this->_Email->HrefValue = "";
         $this->_Email->TooltipValue = "";
         // Created
         $this->Created->LinkCustomAttributes = "";
         $this->Created->HrefValue = "";
         $this->Created->TooltipValue = "";
         // Type
         $this->Type->LinkCustomAttributes = "";
         $this->Type->HrefValue = "";
         $this->Type->TooltipValue = "";
     } elseif ($this->RowType == EW_ROWTYPE_ADD) {
         // Add row
         // Password
         $this->Password->EditCustomAttributes = "";
         $this->Password->EditValue = ew_HtmlEncode($this->Password->CurrentValue);
         $this->Password->PlaceHolder = ew_RemoveHtml($this->Password->FldCaption());
         // Email
         $this->_Email->EditCustomAttributes = "";
         $this->_Email->EditValue = ew_HtmlEncode($this->_Email->CurrentValue);
         $this->_Email->PlaceHolder = ew_RemoveHtml($this->_Email->FldCaption());
         // Created
         $this->Created->EditCustomAttributes = "";
         $this->Created->EditValue = ew_HtmlEncode(ew_FormatDateTime($this->Created->CurrentValue, 5));
         $this->Created->PlaceHolder = ew_RemoveHtml($this->Created->FldCaption());
         // Type
         $this->Type->EditCustomAttributes = "";
         $sFilterWrk = "";
         $sSqlWrk = "SELECT `UserTypeID`, `Name` AS `DispFld`, '' AS `Disp2Fld`, '' AS `Disp3Fld`, '' AS `Disp4Fld`, '' AS `SelectFilterFld`, '' AS `SelectFilterFld2`, '' AS `SelectFilterFld3`, '' AS `SelectFilterFld4` FROM `UserTypes`";
         $sWhereWrk = "";
         if ($sFilterWrk != "") {
             ew_AddFilter($sWhereWrk, $sFilterWrk);
         }
         // Call Lookup selecting
         $this->Lookup_Selecting($this->Type, $sWhereWrk);
         if ($sWhereWrk != "") {
             $sSqlWrk .= " WHERE " . $sWhereWrk;
         }
         $rswrk = $conn->Execute($sSqlWrk);
         $arwrk = $rswrk ? $rswrk->GetRows() : array();
         if ($rswrk) {
             $rswrk->Close();
//.........这里部分代码省略.........
开发者ID:evinw,项目名称:project_yess,代码行数:101,代码来源:Usersadd.php


示例12: RenderRow


//.........这里部分代码省略.........
             $this->estado->ViewValue = NULL;
         }
         $this->estado->ViewCustomAttributes = "";
         // nombre
         $this->nombre->LinkCustomAttributes = "";
         $this->nombre->HrefValue = "";
         $this->nombre->TooltipValue = "";
         // nombre oficial
         $this->nombre_oficial->LinkCustomAttributes = "";
         $this->nombre_oficial->HrefValue = "";
         $this->nombre_oficial->TooltipValue = "";
         // gentilicio
         $this->gentilicio->LinkCustomAttributes = "";
         $this->gentilicio->HrefValue = "";
         $this->gentilicio->TooltipValue = "";
         // flag
         $this->flag->LinkCustomAttributes = "";
         $this->flag->HrefValue = "";
         $this->flag->TooltipValue = "";
         // idcontinente
         $this->idcontinente->LinkCustomAttributes = "";
         $this->idcontinente->HrefValue = "";
         $this->idcontinente->TooltipValue = "";
         // estado
         $this->estado->LinkCustomAttributes = "";
         $this->estado->HrefValue = "";
         $this->estado->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());
         // nombre oficial
         $this->nombre_oficial->EditAttrs["class"] = "form-control";
         $this->nombre_oficial->EditCustomAttributes = "";
         $this->nombre_oficial->EditValue = ew_HtmlEncode($this->nombre_oficial->CurrentValue);
         $this->nombre_oficial->PlaceHolder = ew_RemoveHtml($this->nombre_oficial->FldCaption());
         // gentilicio
         $this->gentilicio->EditAttrs["class"] = "form-control";
         $this->gentilicio->EditCustomAttributes = "";
         $this->gentilicio->EditValue = ew_HtmlEncode($this->gentilicio->CurrentValue);
         $this->gentilicio->PlaceHolder = ew_RemoveHtml($this->gentilicio->FldCapt 

鲜花

握手

雷人

路过

鸡蛋
该文章已有0人参与评论

请发表评论

全部评论

专题导读
上一篇:
PHP ew_RemoveXSS函数代码示例发布时间:2022-05-15
下一篇:
PHP ew_QuotedValue函数代码示例发布时间:2022-05-15
热门推荐
阅读排行榜

扫描微信二维码

查看手机版网站

随时了解更新最新资讯

139-2527-9053

在线客服(服务时间 9:00~18:00)

在线QQ客服
地址:深圳市南山区西丽大学城创智工业园
电邮:jeky_zhao#qq.com
移动电话:139-2527-9053

Powered by 互联科技 X3.4© 2001-2213 极客世界.|Sitemap