本文整理汇总了PHP中ew_ConvertFullUrl函数的典型用法代码示例。如果您正苦于以下问题:PHP ew_ConvertFullUrl函数的具体用法?PHP ew_ConvertFullUrl怎么用?PHP ew_ConvertFullUrl使用的例子?那么恭喜您, 这里精选的函数代码示例或许可以为您提供帮助。
在下文中一共展示了ew_ConvertFullUrl函数的20个代码示例,这些例子默认根据受欢迎程度排序。您可以为喜欢或者感觉有用的代码点赞,您的评价将有助于我们的系统推荐出更棒的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
// cat_id
$this->cat_id->CellCssStyle = "white-space: nowrap;";
// cat_name
// cat_file
// cat_date
if ($this->RowType == EW_ROWTYPE_VIEW) {
// View row
// cat_name
$this->cat_name->ViewValue = $this->cat_name->CurrentValue;
$this->cat_name->ViewCustomAttributes = "";
// cat_file
$this->cat_file->UploadPath = "/catalogues/";
if (!ew_Empty($this->cat_file->Upload->DbValue)) {
$this->cat_file->ViewValue = $this->cat_file->Upload->DbValue;
} else {
$this->cat_file->ViewValue = "";
}
$this->cat_file->ViewCustomAttributes = "";
// cat_date
$this->cat_date->ViewValue = $this->cat_date->CurrentValue;
$this->cat_date->ViewValue = ew_FormatDateTime($this->cat_date->ViewValue, 5);
$this->cat_date->ViewCustomAttributes = "";
// cat_name
$this->cat_name->LinkCustomAttributes = "";
$this->cat_name->HrefValue = "";
$this->cat_name->TooltipValue = "";
// cat_file
$this->cat_file->LinkCustomAttributes = "";
$this->cat_file->UploadPath = "/catalogues/";
if (!ew_Empty($this->cat_file->Upload->DbValue)) {
$this->cat_file->HrefValue = ew_UploadPathEx(FALSE, $this->cat_file->UploadPath) . $this->cat_file->Upload->DbValue;
// Add prefix/suffix
$this->cat_file->LinkAttrs["target"] = "";
// Add target
if ($this->Export != "") {
$this->cat_file->HrefValue = ew_ConvertFullUrl($this->cat_file->HrefValue);
}
} else {
$this->cat_file->HrefValue = "";
}
$this->cat_file->HrefValue2 = $this->cat_file->UploadPath . $this->cat_file->Upload->DbValue;
$this->cat_file->TooltipValue = "";
// cat_date
$this->cat_date->LinkCustomAttributes = "";
$this->cat_date->HrefValue = "";
$this->cat_date->TooltipValue = "";
}
// Call Row Rendered event
if ($this->RowType != EW_ROWTYPE_AGGREGATEINIT) {
$this->Row_Rendered();
}
}
开发者ID:ahmarmahmood,项目名称:top,代码行数:60,代码来源:cataloguesdelete.php
示例2: RenderRow
//.........这里部分代码省略.........
$ItemDetails->Beverage_Pairing->CellCssStyle = "";
$ItemDetails->Beverage_Pairing->CellCssClass = "";
// Vegetarian_Subsitution
$ItemDetails->Vegetarian_Subsitution->CellCssStyle = "";
$ItemDetails->Vegetarian_Subsitution->CellCssClass = "";
// Calories
$ItemDetails->Calories->CellCssStyle = "";
$ItemDetails->Calories->CellCssClass = "";
// Other
$ItemDetails->Other->CellCssStyle = "";
$ItemDetails->Other->CellCssClass = "";
// Image
$ItemDetails->Image->CellCssStyle = "";
$ItemDetails->Image->CellCssClass = "";
if ($ItemDetails->RowType == EW_ROWTYPE_VIEW) {
// View row
// ItemID
if (strval($ItemDetails->ItemID->CurrentValue) != "") {
$sSqlWrk = "SELECT `ItemName` FROM `Items` WHERE `ItemID` = " . ew_AdjustSql($ItemDetails->ItemID->CurrentValue) . "";
$sSqlWrk .= " ORDER BY `ItemName` Asc";
$rswrk = $conn->Execute($sSqlWrk);
if ($rswrk && !$rswrk->EOF) {
// Lookup value(s) found
$ItemDetails->ItemID->ViewValue = $rswrk->fields('ItemName');
$rswrk->Close();
} else {
$ItemDetails->ItemID->ViewValue = $ItemDetails->ItemID->CurrentValue;
}
} else {
$ItemDetails->ItemID->ViewValue = NULL;
}
$ItemDetails->ItemID->CssStyle = "";
$ItemDetails->ItemID->CssClass = "";
$ItemDetails->ItemID->ViewCustomAttributes = "";
// Time_to_Table
$ItemDetails->Time_to_Table->ViewValue = $ItemDetails->Time_to_Table->CurrentValue;
$ItemDetails->Time_to_Table->CssStyle = "";
$ItemDetails->Time_to_Table->CssClass = "";
$ItemDetails->Time_to_Table->ViewCustomAttributes = "";
// Level_Of_Difficulty
$ItemDetails->Level_Of_Difficulty->ViewValue = $ItemDetails->Level_Of_Difficulty->CurrentValue;
$ItemDetails->Level_Of_Difficulty->CssStyle = "";
$ItemDetails->Level_Of_Difficulty->CssClass = "";
$ItemDetails->Level_Of_Difficulty->ViewCustomAttributes = "";
// Beverage_Pairing
$ItemDetails->Beverage_Pairing->ViewValue = $ItemDetails->Beverage_Pairing->CurrentValue;
$ItemDetails->Beverage_Pairing->CssStyle = "";
$ItemDetails->Beverage_Pairing->CssClass = "";
$ItemDetails->Beverage_Pairing->ViewCustomAttributes = "";
// Vegetarian_Subsitution
$ItemDetails->Vegetarian_Subsitution->ViewValue = $ItemDetails->Vegetarian_Subsitution->CurrentValue;
$ItemDetails->Vegetarian_Subsitution->CssStyle = "";
$ItemDetails->Vegetarian_Subsitution->CssClass = "";
$ItemDetails->Vegetarian_Subsitution->ViewCustomAttributes = "";
// Calories
$ItemDetails->Calories->ViewValue = $ItemDetails->Calories->CurrentValue;
$ItemDetails->Calories->CssStyle = "";
$ItemDetails->Calories->CssClass = "";
$ItemDetails->Calories->ViewCustomAttributes = "";
// Other
$ItemDetails->Other->ViewValue = $ItemDetails->Other->CurrentValue;
$ItemDetails->Other->CssStyle = "";
$ItemDetails->Other->CssClass = "";
$ItemDetails->Other->ViewCustomAttributes = "";
// Image
if (!is_null($ItemDetails->Image->Upload->DbValue)) {
$ItemDetails->Image->ViewValue = $ItemDetails->Image->Upload->DbValue;
} else {
$ItemDetails->Image->ViewValue = "";
}
$ItemDetails->Image->CssStyle = "";
$ItemDetails->Image->CssClass = "";
$ItemDetails->Image->ViewCustomAttributes = "";
// ItemID
$ItemDetails->ItemID->HrefValue = "";
// Time_to_Table
$ItemDetails->Time_to_Table->HrefValue = "";
// Level_Of_Difficulty
$ItemDetails->Level_Of_Difficulty->HrefValue = "";
// Beverage_Pairing
$ItemDetails->Beverage_Pairing->HrefValue = "";
// Vegetarian_Subsitution
$ItemDetails->Vegetarian_Subsitution->HrefValue = "";
// Calories
$ItemDetails->Calories->HrefValue = "";
// Other
$ItemDetails->Other->HrefValue = "";
// Image
if (!is_null($ItemDetails->Image->Upload->DbValue)) {
$ItemDetails->Image->HrefValue = ew_UploadPathEx(FALSE, "../images/items/") . (!empty($ItemDetails->Image->ViewValue) ? $ItemDetails->Image->ViewValue : $ItemDetails->Image->CurrentValue);
if ($ItemDetails->Export != "") {
$ItemDetails->Image->HrefValue = ew_ConvertFullUrl($ItemDetails->Image->HrefValue);
}
} else {
$ItemDetails->Image->HrefValue = "";
}
}
// Call Row Rendered event
$ItemDetails->Row_Rendered();
}
开发者ID:elliecm,项目名称:MadisonandRayne,代码行数:101,代码来源:ItemDetailsview.php
示例3: RenderListRow
function RenderListRow()
{
global $conn, $Security, $gsLanguage, $Language;
// Call Row Rendering event
$this->Row_Rendering();
// Common render codes
// id
// account_id
// image
// uname
// dtime
// pnumber
// message
// m_type
// M_url
// id
$this->id->ViewValue = $this->id->CurrentValue;
$this->id->ViewCustomAttributes = "";
// account_id
$this->account_id->ViewValue = $this->account_id->CurrentValue;
$this->account_id->ViewCustomAttributes = "";
// image
$this->image->ViewValue = $this->image->CurrentValue;
$this->image->ImageWidth = 50;
$this->image->ImageHeight = 50;
$this->image->ImageAlt = $this->image->FldAlt();
$this->image->ViewCustomAttributes = "";
// uname
$this->uname->ViewValue = $this->uname->CurrentValue;
$this->uname->ViewCustomAttributes = "";
// dtime
$this->dtime->ViewValue = $this->dtime->CurrentValue;
$this->dtime->ViewCustomAttributes = "";
// pnumber
$this->pnumber->ViewValue = $this->pnumber->CurrentValue;
$this->pnumber->ViewCustomAttributes = "";
// message
$this->message->ViewValue = $this->message->CurrentValue;
$this->message->ViewCustomAttributes = "";
// m_type
$this->m_type->ViewValue = $this->m_type->CurrentValue;
$this->m_type->ViewCustomAttributes = "";
// M_url
if (strval($this->M_url->CurrentValue) != "") {
switch ($this->M_url->CurrentValue) {
case $this->M_url->FldTagValue(1):
$this->M_url->ViewValue = $this->M_url->FldTagCaption(1) != "" ? $this->M_url->FldTagCaption(1) : $this->M_url->CurrentValue;
break;
case $this->M_url->FldTagValue(2):
$this->M_url->ViewValue = $this->M_url->FldTagCaption(2) != "" ? $this->M_url->FldTagCaption(2) : $this->M_url->CurrentValue;
break;
default:
$this->M_url->ViewValue = $this->M_url->CurrentValue;
}
} else {
$this->M_url->ViewValue = NULL;
}
$this->M_url->ViewCustomAttributes = "";
// id
$this->id->LinkCustomAttributes = "";
$this->id->HrefValue = "";
$this->id->TooltipValue = "";
// account_id
$this->account_id->LinkCustomAttributes = "";
$this->account_id->HrefValue = "";
$this->account_id->TooltipValue = "";
// image
$this->image->LinkCustomAttributes = "";
if (!ew_Empty($this->image->CurrentValue)) {
$this->image->HrefValue = !empty($this->image->ViewValue) ? $this->image->ViewValue : $this->image->CurrentValue;
// Add prefix/suffix
$this->image->LinkAttrs["target"] = "";
// Add target
if ($this->Export != "") {
$this->image->HrefValue = ew_ConvertFullUrl($this->image->HrefValue);
}
} else {
$this->image->HrefValue = "";
}
if ($this->Export == "") {
$this->image->TooltipValue = $this->pnumber->ViewValue != "" ? $this->pnumber->ViewValue : $this->pnumber->CurrentValue;
$this->image->TooltipWidth = 50;
if ($this->image->HrefValue == "") {
$this->image->HrefValue = "javascript:void(0);";
}
$this->image->LinkAttrs["class"] = "ewTooltipLink";
$this->image->LinkAttrs["data-tooltip-id"] = "tt_messages_x" . @$this->RowCnt . "_image";
$this->image->LinkAttrs["data-tooltip-width"] = $this->image->TooltipWidth;
$this->image->LinkAttrs["data-placement"] = EW_CSS_FLIP ? "left" : "right";
}
// uname
$this->uname->LinkCustomAttributes = "";
$this->uname->HrefValue = "";
$this->uname->TooltipValue = "";
// dtime
$this->dtime->LinkCustomAttributes = "";
$this->dtime->HrefValue = "";
$this->dtime->TooltipValue = "";
// pnumber
$this->pnumber->LinkCustomAttributes = "";
//.........这里部分代码省略.........
开发者ID:Ombogo,项目名称:new_api_chat,代码行数:101,代码来源:messagesinfo.php
示例4: RenderRow
//.........这里部分代码省略.........
$exam_data->ExamTime->ViewValue = $exam_data->ExamTime->CurrentValue;
$exam_data->ExamTime->ViewValue = ew_FormatDateTime($exam_data->ExamTime->ViewValue, 4);
$exam_data->ExamTime->CssStyle = "";
$exam_data->ExamTime->CssClass = "";
$exam_data->ExamTime->ViewCustomAttributes = "";
// LogDate
$exam_data->LogDate->ViewValue = $exam_data->LogDate->CurrentValue;
$exam_data->LogDate->ViewValue = ew_FormatDateTime($exam_data->LogDate->ViewValue, 5);
$exam_data->LogDate->CssStyle = "";
$exam_data->LogDate->CssClass = "";
$exam_data->LogDate->ViewCustomAttributes = "";
// ModifyUser
$exam_data->ModifyUser->ViewValue = $exam_data->ModifyUser->CurrentValue;
$exam_data->ModifyUser->CssStyle = "";
$exam_data->ModifyUser->CssClass = "";
$exam_data->ModifyUser->ViewCustomAttributes = "";
// ModifyDate
$exam_data->ModifyDate->ViewValue = $exam_data->ModifyDate->CurrentValue;
$exam_data->ModifyDate->ViewValue = ew_FormatDateTime($exam_data->ModifyDate->ViewValue, 5);
$exam_data->ModifyDate->CssStyle = "";
$exam_data->ModifyDate->CssClass = "";
$exam_data->ModifyDate->ViewCustomAttributes = "";
// CreatePart
$exam_data->CreatePart->ViewValue = $exam_data->CreatePart->CurrentValue;
$exam_data->CreatePart->CssStyle = "";
$exam_data->CreatePart->CssClass = "";
$exam_data->CreatePart->ViewCustomAttributes = "";
// ModifyPart
$exam_data->ModifyPart->ViewValue = $exam_data->ModifyPart->CurrentValue;
$exam_data->ModifyPart->CssStyle = "";
$exam_data->ModifyPart->CssClass = "";
$exam_data->ModifyPart->ViewCustomAttributes = "";
// Status
$exam_data->Status->ViewValue = $exam_data->Status->CurrentValue;
$exam_data->Status->CssStyle = "";
$exam_data->Status->CssClass = "";
$exam_data->Status->ViewCustomAttributes = "";
// ExamDataNo
$exam_data->ExamDataNo->HrefValue = "";
// AccessionNumber
$exam_data->AccessionNumber->HrefValue = "";
// PatientMainNo
$exam_data->PatientMainNo->HrefValue = "";
// PatientID
$exam_data->PatientID->HrefValue = "";
// InstitutionNo
$exam_data->InstitutionNo->HrefValue = "";
// ImageDetailNo
$exam_data->ImageDetailNo->HrefValue = "";
// PatientKindNo
$exam_data->PatientKindNo->HrefValue = "";
// PatientSubKindNo
$exam_data->PatientSubKindNo->HrefValue = "";
// PatientTypeNo
$exam_data->PatientTypeNo->HrefValue = "";
// PatientRoom
$exam_data->PatientRoom->HrefValue = "";
// DepartmentNo
$exam_data->DepartmentNo->HrefValue = "";
// DepartmentName
$exam_data->DepartmentName->HrefValue = "";
// Soap
if (!is_null($exam_data->Soap->Upload->DbValue)) {
$exam_data->Soap->HrefValue = "exam_data_soap__bv.php?ExamDataNo=" . $exam_data->ExamDataNo->CurrentValue;
if ($exam_data->Export != "") {
$exam_data->Soap->HrefValue = ew_ConvertFullUrl($exam_data->Soap->HrefValue);
}
} else {
$exam_data->Soap->HrefValue = "";
}
// RequestDoctorID
$exam_data->RequestDoctorID->HrefValue = "";
// CodeValue
$exam_data->CodeValue->HrefValue = "";
// SpecialExamID
$exam_data->SpecialExamID->HrefValue = "";
// SpecialExamName
$exam_data->SpecialExamName->HrefValue = "";
// SpecialExamDate
$exam_data->SpecialExamDate->HrefValue = "";
// ExamDate
$exam_data->ExamDate->HrefValue = "";
// ExamTime
$exam_data->ExamTime->HrefValue = "";
// LogDate
$exam_data->LogDate->HrefValue = "";
// ModifyUser
$exam_data->ModifyUser->HrefValue = "";
// ModifyDate
$exam_data->ModifyDate->HrefValue = "";
// CreatePart
$exam_data->CreatePart->HrefValue = "";
// ModifyPart
$exam_data->ModifyPart->HrefValue = "";
// Status
$exam_data->Status->HrefValue = "";
}
// Call Row Rendered event
$exam_data->Row_Rendered();
}
开发者ID:airfox7412,项目名称:ps01,代码行数:101,代码来源:exam_data_view.php
示例5: RenderRow
//.........这里部分代码省略.........
}
$Items->Image->CssStyle = "";
$Items->Image->CssClass = "";
$Items->Image->ViewCustomAttributes = "";
// Vegetarian
if (strval($Items->Vegetarian->CurrentValue) != "") {
switch ($Items->Vegetarian->CurrentValue) {
case "0":
$Items->Vegetarian->ViewValue = "No";
break;
case "1":
$Items->Vegetarian->ViewValue = "Yes";
break;
default:
$Items->Vegetarian->ViewValue = $Items->Vegetarian->CurrentValue;
}
} else {
$Items->Vegetarian->ViewValue = NULL;
}
$Items->Vegetarian->CssStyle = "";
$Items->Vegetarian->CssClass = "";
$Items->Vegetarian->ViewCustomAttributes = "";
// Vegetarian_Price
$Items->Vegetarian_Price->ViewValue = $Items->Vegetarian_Price->CurrentValue;
$Items->Vegetarian_Price->ViewValue = ew_FormatCurrency($Items->Vegetarian_Price->ViewValue, 2, -2, 0, -2);
$Items->Vegetarian_Price->CssStyle = "";
$Items->Vegetarian_Price->CssClass = "";
$Items->Vegetarian_Price->ViewCustomAttributes = "";
// Color
$Items->Color->ViewValue = $Items->Color->CurrentValue;
$Items->Color->CssStyle = "";
$Items->Color->CssClass = "";
$Items->Color->ViewCustomAttributes = "";
// Sequence
$Items->Sequence->ViewValue = $Items->Sequence->CurrentValue;
$Items->Sequence->CssStyle = "";
$Items->Sequence->CssClass = "";
$Items->Sequence->ViewCustomAttributes = "";
// PDF
if (!is_null($Items->PDF->Upload->DbValue)) {
$Items->PDF->ViewValue = $Items->PDF->Upload->DbValue;
} else {
$Items->PDF->ViewValue = "";
}
$Items->PDF->CssStyle = "";
$Items->PDF->CssClass = "";
$Items->PDF->ViewCustomAttributes = "";
// Active
if (strval($Items->Active->CurrentValue) != "") {
switch ($Items->Active->CurrentValue) {
case "0":
$Items->Active->ViewValue = "No";
break;
case "1":
$Items->Active->ViewValue = "Yes";
break;
default:
$Items->Active->ViewValue = $Items->Active->CurrentValue;
}
} else {
$Items->Active->ViewValue = NULL;
}
$Items->Active->CssStyle = "";
$Items->Active->CssClass = "";
$Items->Active->ViewCustomAttributes = "";
// ItemID
$Items->ItemID->HrefValue = "";
// MenuID
$Items->MenuID->HrefValue = "";
// ItemName
$Items->ItemName->HrefValue = "";
// Description
$Items->Description->HrefValue = "";
// Price
$Items->Price->HrefValue = "";
// Image
$Items->Image->HrefValue = "";
// Vegetarian
$Items->Vegetarian->HrefValue = "";
// Vegetarian_Price
$Items->Vegetarian_Price->HrefValue = "";
// Color
$Items->Color->HrefValue = "";
// Sequence
$Items->Sequence->HrefValue = "";
// PDF
if (!is_null($Items->PDF->Upload->DbValue)) {
$Items->PDF->HrefValue = ew_UploadPathEx(FALSE, "../recipes/") . (!empty($Items->PDF->ViewValue) ? $Items->PDF->ViewValue : $Items->PDF->CurrentValue);
if ($Items->Export != "") {
$Items->PDF->HrefValue = ew_ConvertFullUrl($Items->PDF->HrefValue);
}
} else {
$Items->PDF->HrefValue = "";
}
// Active
$Items->Active->HrefValue = "";
}
// Call Row Rendered event
$Items->Row_Rendered();
}
开发者ID:elliecm,项目名称:MadisonandRayne,代码行数:101,代码来源:Itemsdelete.php
示例6: RenderRow
//.........这里部分代码省略.........
$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 != "") {
$this->twitch->HrefValue = ew_ConvertFullUrl($this->twitch->HrefValue);
}
} else {
$this->twitch->HrefValue = "";
}
开发者ID:NoSympathy,项目名称:Dashboard,代码行数:67,代码来源:nos_membersedit.php
示例7: ew_ConvertFullUrl
<script type="text/javascript" src="<?php
echo $EW_RELATIVE_PATH;
?>
phpjs/userfn11.js"></script>
<script type="text/javascript">
// Write your client script here, no need to add script tags.
</script>
<?php
}
?>
<link rel="shortcut icon" type="image/vnd.microsoft.icon" href="<?php
echo ew_ConvertFullUrl("hs.ico");
?>
"><link rel="icon" type="image/vnd.microsoft.icon" href="<?php
echo ew_ConvertFullUrl("hs.ico");
?>
">
<meta name="generator" content="PHPMaker v11.0.6">
</head>
<body>
<?php
if (@(!$gbSkipHeaderFooter)) {
if (@$gsExport == "") {
?>
<div class="ewLayout">
<!-- header (begin) --><!-- *** Note: Only licensed users are allowed to change the logo *** -->
<div id="ewHeaderRow" class="<?php
echo $gsHeaderRowClass;
?>
"><img src="<?php
开发者ID:scintes,项目名称:sistemas,代码行数:31,代码来源:header.php
示例8: ew_ConvertFullUrl
echo $Language->ToJSON();
?>
</script>
<script type="text/javascript" src="<?php
echo $EW_RELATIVE_PATH;
?>
phpjs/userfn12.js"></script>
<script type="text/javascript">
// Write your client script here, no need to add script tags.
</script>
<link rel="shortcut icon" type="image/vnd.microsoft.icon" href="<?php
echo ew_ConvertFullUrl("vl_favicon_app.ico");
?>
"><link rel="icon" type="image/vnd.microsoft.icon" href="<?php
echo ew_ConvertFullUrl("vl_favicon_app.ico");
?>
">
<meta name="generator" content="PHPMaker v12.0.5">
</head>
<body>
<?php
if (@(!$gbSkipHeaderFooter)) {
?>
<div class="ewLayout">
<!-- header (begin) --><!-- ** Note: Only licensed users are allowed to change the logo ** -->
<div id="ewHeaderRow" class="<?php
echo $gsHeaderRowClass;
?>
"></div>
<?php
开发者ID:cahilbey,项目名称:VL-AWS-Test,代码行数:31,代码来源:header.php
示例9: 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
// account_id
// image
// uname
// dtime
// pnumber
// message
// m_type
// M_url
if ($this->RowType == EW_ROWTYPE_VIEW) {
// View row
// id
$this->id->ViewValue = $this->id->CurrentValue;
$this->id->ViewCustomAttributes = "";
// image
$this->image->ViewValue = $this->image->CurrentValue;
$this->image->ImageWidth = 50;
$this->image->ImageHeight = 50;
$this->image->ImageAlt = $this->image->FldAlt();
$this->image->ViewCustomAttributes = "";
// uname
$this->uname->ViewValue = $this->uname->CurrentValue;
$this->uname->ViewCustomAttributes = "";
// pnumber
$this->pnumber->ViewValue = $this->pnumber->CurrentValue;
$this->pnumber->ViewCustomAttributes = "";
// message
$this->message->ViewValue = $this->message->CurrentValue;
$this->message->ViewCustomAttributes = "";
// id
$this->id->LinkCustomAttributes = "";
$this->id->HrefValue = "";
$this->id->TooltipValue = "";
// image
$this->image->LinkCustomAttributes = "";
if (!ew_Empty($this->image->CurrentValue)) {
$this->image->HrefValue = !empty($this->image->ViewValue) ? $this->image->ViewValue : $this->image->CurrentValue;
// Add prefix/suffix
$this->image->LinkAttrs["target"] = "";
// Add target
if ($this->Export != "") {
$this->image->HrefValue = ew_ConvertFullUrl($this->image->HrefValue);
}
} else {
$this->image->HrefValue = "";
}
if ($this->Export == "") {
$this->image->TooltipValue = $this->pnumber->ViewValue != "" ? $this->pnumber->ViewValue : $this->pnumber->CurrentValue;
$this->image->TooltipWidth = 50;
if ($this->image->HrefValue == "") {
$this->image->HrefValue = "javascript:void(0);";
}
$this->image->LinkAttrs["class"] = "ewTooltipLink";
$this->image->LinkAttrs["data-tooltip-id"] = "tt_messages_x" . $this->RowCnt . "_image";
$this->image->LinkAttrs["data-tooltip-width"] = $this->image->TooltipWidth;
$this->image->LinkAttrs["data-placement"] = EW_CSS_FLIP ? "left" : "right";
}
if ($this->Export == "") {
$this->image->ViewValue = ew_Highlight($this->HighlightName(), $this->image->ViewValue, $this->BasicSearch->getKeyword(), $this->BasicSearch->getType(), "", "");
}
// uname
$this->uname->LinkCustomAttributes = "";
$this->uname->HrefValue = "";
$this->uname->TooltipValue = "";
if ($this->Export == "") {
$this->uname->ViewValue = ew_Highlight($this->HighlightName(), $this->uname->ViewValue, $this->BasicSearch->getKeyword(), $this->BasicSearch->getType(), "", "");
}
// pnumber
$this->pnumber->LinkCustomAttributes = "";
$this->pnumber->HrefValue = "";
$this->pnumber->TooltipValue = "";
if ($this->Export == "") {
$this->pnumber->ViewValue = ew_Highlight($this->HighlightName(), $this->pnumber->ViewValue, $this->BasicSearch->getKeyword(), $this->BasicSearch->getType(), "", "");
}
// message
$this->message->LinkCustomAttributes = "";
$this->message->HrefValue = "";
$this->message->TooltipValue = "";
if ($this->Export == "") {
$this->message->ViewValue = ew_Highlight($this->HighlightName(), $this->message->ViewValue, $this->BasicSearch->getKeyword(), $this->BasicSearch->getType(), "", "");
}
}
// Call Row Rendered event
if ($this->RowType != EW_ROWTYPE_AGGREGATEINIT) {
$this->Row_Rendered();
}
//.........这里部分代码省略.........
开发者ID:Ombogo,项目名称:new_api_chat,代码行数:101,代码来源:messageslist.php
示例10: ew_ConvertFullUrl
?>
phpjs/userfn11.js"></script>
<script type="text/javascript">
<?php
echo $Language->ToJSON();
?>
</script>
<script type="text/javascript">
// Write your client script here, no need to add script tags.
</script>
<link rel="shortcut icon" type="image/vnd.microsoft.icon" href="<?php
echo ew_ConvertFullUrl("faviconNXT.ico");
?>
"><link rel="icon" type="image/vnd.microsoft.icon" href="<?php
echo ew_ConvertFullUrl("faviconNXT.ico");
?>
">
<meta name="generator" content="PHPMaker v11.0.3">
</head>
<body>
<?php
if (@(!$gbSkipHeaderFooter)) {
?>
<div class="ewLayout">
<!-- header (begin) --><!-- *** Note: Only licensed users are allowed to change the logo *** -->
<div id="ewHeaderRow" class="<?php
echo $gsHeaderRowClass;
?>
"><img src="<?php
echo $EW_RELATIVE_PATH;
开发者ID:AngeloGalindo,项目名称:PracticasGrupo9DesarrolloWeb,代码行数:31,代码来源:header.php
示例11: ExportField
function ExportField(&$fld)
{
$this->FldCnt++;
$ExportValue = $fld->ExportValue();
if ($fld->FldViewTag == "IMAGE") {
if ($fld->ImageResize && function_exists("ew_GdVersion") && ew_GdVersion() > 0) {
$imagefn = $fld->GetTempImage();
if ($imagefn != "") {
$ExportValue = "<img src=\"" . $imagefn . "\" alt=\"\" style=\"border: 0;\">";
}
} elseif ($ExportValue != "") {
$ExportValue = ew_ConvertFullUrl($ExportValue);
$attrs = array("href" => $ExportValue);
$ExportValue = ew_HtmlElement("a", $attrs, $fld->FldCaption());
}
}
if ($this->Horizontal) {
$this->ExportValueEx($fld, $ExportValue);
} else {
// Vertical, export as a row
$this->RowCnt++;
$this->Text .= "<tr class=\"" . ($this->FldCnt % 2 == 1 ? "ewExportTableRow" : "ewExportTableAltRow") . "\">" . "<td class=\"ewTableHeader\">" . $fld->ExportCaption() . "</td>";
$this->Text .= "<td" . (EW_EXPORT_CSS_STYLES ? $fld->CellStyles() : "") . ">" . $ExportValue . "</td></tr>";
}
}
开发者ID:Rastrian,项目名称:RBAC_Manager,代码行数:25,代码来源:phpfn9.php
示例12: ew_ConvertFullUrl
<?php
echo $Language->ToJSON();
?>
</script>
<script type="text/javascript">
// Write your client script here, no need to add script tags.
</script>
<?php
}
?>
<link rel="shortcut icon" type="image/vnd.microsoft.icon" href="<?php
echo ew_ConvertFullUrl("Tinylab-Android-Lollipop-Apps-Amazon.ico");
?>
"><link rel="icon" type="image/vnd.microsoft.icon" href="<?php
echo ew_ConvertFullUrl("Tinylab-Android-Lollipop-Apps-Amazon.ico");
?>
">
<meta name="generator" content="PHPMaker v10.0.4">
</head>
<body>
<?php
if (@$gsExport == "" || @$gsExport == "print") {
if (ew_IsMobile()) {
?>
<div data-role="page">
<div data-role="header">
<a href="mobilemenu.php"><?php
echo $Language->Phrase("MobileMenu");
?>
</a>
开发者ID:agnium-academy,项目名称:abyor-3-web,代码行数:31,代码来源:header.php
示例13: ew_ConvertFullUrl
<script type="text/javascript" src="<?php
echo $EW_RELATIVE_PATH;
?>
phpjs/userfn12.js"></script>
<script type="text/javascript">
// Write your client script here, no need to add script tags.
</script>
<?php
}
?>
<link rel="shortcut icon" type="image/vnd.microsoft.icon" href="<?php
echo ew_ConvertFullUrl("nosICO.ico");
?>
"><link rel="icon" type="image/vnd.microsoft.icon" href="<?php
echo ew_ConvertFullUrl("nosICO.ico");
?>
">
<meta name="generator" content="PHPMaker v12.0.5">
</head>
<body>
<?php
if (@(!$gbSkipHeaderFooter)) {
if (@$gsExport == "") {
?>
<div class="ewLayout">
<!-- header (begin) --><!-- ** Note: Only licensed users are allowed to change the logo ** -->
<div id="ewHeaderRow" class="<?php
echo $gsHeaderRowClass;
?>
"><img src="<?php
开发者ID:NoSympathy,项目名称:Dashboard,代码行数:31,代码来源:header.php
示例14: RenderRow
//.........这里部分代码省略.........
default:
$Items->Active->ViewValue = $Items->Active->CurrentValue;
}
} else {
$Items->Active->ViewValue = NULL;
}
$Items->Active->CssStyle = "";
$Items->Active->CssClass = "";
$Items->Active->ViewCustomAttributes = "";
// ItemID
$Items->ItemID->HrefValue = "";
// MenuID
$Items->MenuID->HrefValue = "";
// ItemName
$Items->ItemName->HrefValue = "";
// Description
$Items->Description->HrefValue = "";
// Price
$Items->Price->HrefValue = "";
// Image
$Items->Image->HrefValue = "";
// Vegetarian
$Items->Vegetarian->HrefValue = "";
// Vegetarian_Price
$Items->Vegetarian_Price->HrefValue = "";
// Color
$Items->Color->HrefValue = "";
// Sequence
$Items->Sequence->HrefValue = "";
// PDF
if (!is_null($Items->PDF->Upload->DbValue)) {
$Items->PDF->HrefValue = ew_UploadPathEx(FALSE, "../recipes/") . (!empty($Items->PDF->ViewValue) ? $Items->PDF->ViewValue : $Items->PDF->CurrentValue);
if ($Items->Export != "") {
$Items->PDF->HrefValue = ew_ConvertFullUrl($Items->PDF->HrefValue);
}
} else {
$Items->PDF->HrefValue = "";
}
// Active
$Items->Active->HrefValue = "";
} elseif ($Items->RowType == EW_ROWTYPE_EDIT) {
// Edit row
// ItemID
$Items->ItemID->EditCustomAttributes = "";
$Items->ItemID->EditValue = $Items->ItemID->CurrentValue;
$Items->ItemID->CssStyle = "";
$Items->ItemID->CssClass = "";
$Items->ItemID->ViewCustomAttributes = "";
// MenuID
$Items->MenuID->EditCustomAttributes = "";
if ($Items->MenuID->getSessionValue() != "") {
$Items->MenuID->CurrentValue = $Items->MenuID->getSessionValue();
if (strval($Items->MenuID->CurrentValue) != "") {
$sSqlWrk = "SELECT `MenuName` FROM `Menus` WHERE `MenuID` = " . ew_AdjustSql($Items->MenuID->CurrentValue) . "";
$sSqlWrk .= " ORDER BY `MenuName` Asc";
$rswrk = $conn->Execute($sSqlWrk);
if ($rswrk && !$rswrk->EOF) {
// Lookup value(s) found
$Items->MenuID->ViewValue = $rswrk->fields('MenuName');
$rswrk->Close();
} else {
$Items->MenuID->ViewValue = $Items->MenuID->CurrentValue;
}
} else {
$Items->MenuID->ViewValue = NULL;
}
开发者ID:elliecm,项目名称:MadisonandRayne,代码行数:67,代码来源:Itemsedit.php
示例15: GetTempImage
function GetTempImage()
{
if ($this->FldDataType == EW_DATATYPE_BLOB) {
$wrkdata = $this->Upload->DbValue;
if (!empty($wrkdata)) {
if ($this->ImageResize) {
$wrkwidth = $this->ImageWidth;
$w
|
请发表评论