本文整理汇总了PHP中ew_ExportFooter函数的典型用法代码示例。如果您正苦于以下问题:PHP ew_ExportFooter函数的具体用法?PHP ew_ExportFooter怎么用?PHP ew_ExportFooter使用的例子?那么恭喜您, 这里精选的函数代码示例或许可以为您提供帮助。
在下文中一共展示了ew_ExportFooter函数的8个代码示例,这些例子默认根据受欢迎程度排序。您可以为喜欢或者感觉有用的代码点赞,您的评价将有助于我们的系统推荐出更棒的PHP代码示例。
示例1: ExportData
function ExportData()
{
global $ZipCode;
$sCsvStr = "";
// Default export style
$sExportStyle = "v";
// Load recordset
$rs = $this->LoadRecordset();
$this->lTotalRecs = $rs->RecordCount();
$this->lStartRec = 1;
$this->SetUpStartRec();
// Set up start record position
// Set the last record to display
if ($this->lDisplayRecs < 0) {
$this->lStopRec = $this->lTotalRecs;
} else {
$this->lStopRec = $this->lStartRec + $this->lDisplayRecs - 1;
}
if ($ZipCode->Export == "xml") {
$XmlDoc = new cXMLDocument();
} else {
echo "";
echo ew_ExportHeader($ZipCode->Export);
// Horizontal format, write header
if ($sExportStyle != "v" || $ZipCode->Export == "csv") {
$sExportStr = "";
ew_ExportAddValue($sExportStr, 'ZipCode', $ZipCode->Export);
ew_ExportAddValue($sExportStr, 'Status', $ZipCode->Export);
ew_ExportAddValue($sExportStr, 'MonthlyRequest', $ZipCode->Export);
ew_ExportAddValue($sExportStr, 'MinOrder', $ZipCode->Export);
ew_ExportAddValue($sExportStr, 'Delivery', $ZipCode->Export);
ew_ExportAddValue($sExportStr, 'Message', $ZipCode->Export);
echo ew_ExportLine($sExportStr, $ZipCode->Export);
}
}
// Move to first record
$this->lRecCnt = $this->lStartRec - 1;
if (!$rs->EOF) {
$rs->MoveFirst();
$rs->Move($this->lStartRec - 1);
}
while (!$rs->EOF && $this->lRecCnt < $this->lStopRec) {
$this->lRecCnt++;
if (intval($this->lRecCnt) >= intval($this->lStartRec)) {
$this->LoadRowValues($rs);
// Render row for display
$ZipCode->RowType = EW_ROWTYPE_VIEW;
// Render view
$this->RenderRow();
if ($ZipCode->Export == "xml") {
$XmlDoc->BeginRow();
$XmlDoc->AddField('ZipCode', $ZipCode->ZipCode->CurrentValue);
$XmlDoc->AddField('Status', $ZipCode->Status->CurrentValue);
$XmlDoc->AddField('MonthlyRequest', $ZipCode->MonthlyRequest->CurrentValue);
$XmlDoc->AddField('MinOrder', $ZipCode->MinOrder->CurrentValue);
$XmlDoc->AddField('Delivery', $ZipCode->Delivery->CurrentValue);
$XmlDoc->AddField('Message', $ZipCode->Message->CurrentValue);
$XmlDoc->EndRow();
} else {
if ($sExportStyle == "v" && $ZipCode->Export != "csv") {
// Vertical format
echo ew_ExportField('ZipCode', $ZipCode->ZipCode->ExportValue($ZipCode->Export, $ZipCode->ExportOriginalValue), $ZipCode->Export);
echo ew_ExportField('Status', $ZipCode->Status->ExportValue($ZipCode->Export, $ZipCode->ExportOriginalValue), $ZipCode->Export);
echo ew_ExportField('MonthlyRequest', $ZipCode->MonthlyRequest->ExportValue($ZipCode->Export, $ZipCode->ExportOriginalValue), $ZipCode->Export);
echo ew_ExportField('MinOrder', $ZipCode->MinOrder->ExportValue($ZipCode->Export, $ZipCode->ExportOriginalValue), $ZipCode->Export);
echo ew_ExportField('Delivery', $ZipCode->Delivery->ExportValue($ZipCode->Export, $ZipCode->ExportOriginalValue), $ZipCode->Export);
echo ew_ExportField('Message', $ZipCode->Message->ExportValue($ZipCode->Export, $ZipCode->ExportOriginalValue), $ZipCode->Export);
} else {
// Horizontal format
$sExportStr = "";
ew_ExportAddValue($sExportStr, $ZipCode->ZipCode->ExportValue($ZipCode->Export, $ZipCode->ExportOriginalValue), $ZipCode->Export);
ew_ExportAddValue($sExportStr, $ZipCode->Status->ExportValue($ZipCode->Export, $ZipCode->ExportOriginalValue), $ZipCode->Export);
ew_ExportAddValue($sExportStr, $ZipCode->MonthlyRequest->ExportValue($ZipCode->Export, $ZipCode->ExportOriginalValue), $ZipCode->Export);
ew_ExportAddValue($sExportStr, $ZipCode->MinOrder->ExportValue($ZipCode->Export, $ZipCode->ExportOriginalValue), $ZipCode->Export);
ew_ExportAddValue($sExportStr, $ZipCode->Delivery->ExportValue($ZipCode->Export, $ZipCode->ExportOriginalValue), $ZipCode->Export);
ew_ExportAddValue($sExportStr, $ZipCode->Message->ExportValue($ZipCode->Export, $ZipCode->ExportOriginalValue), $ZipCode->Export);
echo ew_ExportLine($sExportStr, $ZipCode->Export);
}
}
}
$rs->MoveNext();
}
// Close recordset
$rs->Close();
if ($ZipCode->Export == "xml") {
header("Content-Type: text/xml");
echo $XmlDoc->XML();
} else {
echo ew_ExportFooter($ZipCode->Export);
}
}
开发者ID:elliecm,项目名称:MadisonandRayne,代码行数:91,代码来源:ZipCodeview.php
示例2: ExportData
//.........这里部分代码省略.........
$XmlDoc->AddField('WeeklyMeals', $Customers->WeeklyMeals->CurrentValue);
$XmlDoc->AddField('WeeklyReg', $Customers->WeeklyReg->CurrentValue);
$XmlDoc->AddField('WeeklyVeg', $Customers->WeeklyVeg->CurrentValue);
$XmlDoc->AddField('Want', $Customers->Want->CurrentValue);
$XmlDoc->AddField('DontWant', $Customers->DontWant->CurrentValue);
$XmlDoc->AddField('Comments', $Customers->Comments->CurrentValue);
$XmlDoc->EndRow();
} else {
if ($sExportStyle == "v" && $Customers->Export != "csv") {
// Vertical format
echo ew_ExportField('CustomerID', $Customers->CustomerID->ExportValue($Customers->Export, $Customers->ExportOriginalValue), $Customers->Export);
echo ew_ExportField('Email', $Customers->zEmail->ExportValue($Customers->Export, $Customers->ExportOriginalValue), $Customers->Export);
echo ew_ExportField('Password', $Customers->Password->ExportValue($Customers->Export, $Customers->ExportOriginalValue), $Customers->Export);
echo ew_ExportField('FirstName', $Customers->FirstName->ExportValue($Customers->Export, $Customers->ExportOriginalValue), $Customers->Export);
echo ew_ExportField('LastName', $Customers->LastName->ExportValue($Customers->Export, $Customers->ExportOriginalValue), $Customers->Export);
echo ew_ExportField('ContactPhone', $Customers->ContactPhone->ExportValue($Customers->Export, $Customers->ExportOriginalValue), $Customers->Export);
echo ew_ExportField('Allergies', $Customers->Allergies->ExportValue($Customers->Export, $Customers->ExportOriginalValue), $Customers->Export);
echo ew_ExportField('DeliveryAddress1', $Customers->DeliveryAddress1->ExportValue($Customers->Export, $Customers->ExportOriginalValue), $Customers->Export);
echo ew_ExportField('DeliveryAddress2', $Customers->DeliveryAddress2->ExportValue($Customers->Export, $Customers->ExportOriginalValue), $Customers->Export);
echo ew_ExportField('DeliveryCity', $Customers->DeliveryCity->ExportValue($Customers->Export, $Customers->ExportOriginalValue), $Customers->Export);
echo ew_ExportField('DeliveryState', $Customers->DeliveryState->ExportValue($Customers->Export, $Customers->ExportOriginalValue), $Customers->Export);
echo ew_ExportField('DeliveryZip', $Customers->DeliveryZip->ExportValue($Customers->Export, $Customers->ExportOriginalValue), $Customers->Export);
echo ew_ExportField('DeliveryComments', $Customers->DeliveryComments->ExportValue($Customers->Export, $Customers->ExportOriginalValue), $Customers->Export);
echo ew_ExportField('BillingFirstName', $Customers->BillingFirstName->ExportValue($Customers->Export, $Customers->ExportOriginalValue), $Customers->Export);
echo ew_ExportField('BillingLastName', $Customers->BillingLastName->ExportValue($Customers->Export, $Customers->ExportOriginalValue), $Customers->Export);
echo ew_ExportField('BillingAddress1', $Customers->BillingAddress1->ExportValue($Customers->Export, $Customers->ExportOriginalValue), $Customers->Export);
echo ew_ExportField('BillingAddress2', $Customers->BillingAddress2->ExportValue($Customers->Export, $Customers->ExportOriginalValue), $Customers->Export);
echo ew_ExportField('BillingCity', $Customers->BillingCity->ExportValue($Customers->Export, $Customers->ExportOriginalValue), $Customers->Export);
echo ew_ExportField('BillingState', $Customers->BillingState->ExportValue($Customers->Export, $Customers->ExportOriginalValue), $Customers->Export);
echo ew_ExportField('BillingZip', $Customers->BillingZip->ExportValue($Customers->Export, $Customers->ExportOriginalValue), $Customers->Export);
echo ew_ExportField('BillingPhone', $Customers->BillingPhone->ExportValue($Customers->Export, $Customers->ExportOriginalValue), $Customers->Export);
echo ew_ExportField('BillingCardType', $Customers->BillingCardType->ExportValue($Customers->Export, $Customers->ExportOriginalValue), $Customers->Export);
echo ew_ExportField('BillingCardNumber', $Customers->BillingCardNumber->ExportValue($Customers->Export, $Customers->ExportOriginalValue), $Customers->Export);
echo ew_ExportField('CIMCustID', $Customers->CIMCustID->ExportValue($Customers->Export, $Customers->ExportOriginalValue), $Customers->Export);
echo ew_ExportField('CIMPymtProfID', $Customers->CIMPymtProfID->ExportValue($Customers->Export, $Customers->ExportOriginalValue), $Customers->Export);
echo ew_ExportField('Customer_Type', $Customers->Customer_Type->ExportValue($Customers->Export, $Customers->ExportOriginalValue), $Customers->Export);
echo ew_ExportField('First_Order_Date', $Customers->First_Order_Date->ExportValue($Customers->Export, $Customers->ExportOriginalValue), $Customers->Export);
echo ew_ExportField('Last_Order_Date', $Customers->Last_Order_Date->ExportValue($Customers->Export, $Customers->ExportOriginalValue), $Customers->Export);
echo ew_ExportField('Total_Orders', $Customers->Total_Orders->ExportValue($Customers->Export, $Customers->ExportOriginalValue), $Customers->Export);
echo ew_ExportField('Delivery_Window', $Customers->Delivery_Window->ExportValue($Customers->Export, $Customers->ExportOriginalValue), $Customers->Export);
echo ew_ExportField('WeeklyMeals', $Customers->WeeklyMeals->ExportValue($Customers->Export, $Customers->ExportOriginalValue), $Customers->Export);
echo ew_ExportField('WeeklyReg', $Customers->WeeklyReg->ExportValue($Customers->Export, $Customers->ExportOriginalValue), $Customers->Export);
echo ew_ExportField('WeeklyVeg', $Customers->WeeklyVeg->ExportValue($Customers->Export, $Customers->ExportOriginalValue), $Customers->Export);
echo ew_ExportField('Want', $Customers->Want->ExportValue($Customers->Export, $Customers->ExportOriginalValue), $Customers->Export);
echo ew_ExportField('DontWant', $Customers->DontWant->ExportValue($Customers->Export, $Customers->ExportOriginalValue), $Customers->Export);
echo ew_ExportField('Comments', $Customers->Comments->ExportValue($Customers->Export, $Customers->ExportOriginalValue), $Customers->Export);
} else {
// Horizontal format
$sExportStr = "";
ew_ExportAddValue($sExportStr, $Customers->CustomerID->ExportValue($Customers->Export, $Customers->ExportOriginalValue), $Customers->Export);
ew_ExportAddValue($sExportStr, $Customers->zEmail->ExportValue($Customers->Export, $Customers->ExportOriginalValue), $Customers->Export);
ew_ExportAddValue($sExportStr, $Customers->Password->ExportValue($Customers->Export, $Customers->ExportOriginalValue), $Customers->Export);
ew_ExportAddValue($sExportStr, $Customers->FirstName->ExportValue($Customers->Export, $Customers->ExportOriginalValue), $Customers->Export);
ew_ExportAddValue($sExportStr, $Customers->LastName->ExportValue($Customers->Export, $Customers->ExportOriginalValue), $Customers->Export);
ew_ExportAddValue($sExportStr, $Customers->ContactPhone->ExportValue($Customers->Export, $Customers->ExportOriginalValue), $Customers->Export);
ew_ExportAddValue($sExportStr, $Customers->Allergies->ExportValue($Customers->Export, $Customers->ExportOriginalValue), $Customers->Export);
ew_ExportAddValue($sExportStr, $Customers->DeliveryAddress1->ExportValue($Customers->Export, $Customers->ExportOriginalValue), $Customers->Export);
ew_ExportAddValue($sExportStr, $Customers->DeliveryAddress2->ExportValue($Customers->Export, $Customers->ExportOriginalValue), $Customers->Export);
ew_ExportAddValue($sExportStr, $Customers->DeliveryCity->ExportValue($Customers->Export, $Customers->ExportOriginalValue), $Customers->Export);
ew_ExportAddValue($sExportStr, $Customers->DeliveryState->ExportValue($Customers->Export, $Customers->ExportOriginalValue), $Customers->Export);
ew_ExportAddValue($sExportStr, $Customers->DeliveryZip->ExportValue($Customers->Export, $Customers->ExportOriginalValue), $Customers->Export);
ew_ExportAddValue($sExportStr, $Customers->DeliveryComments->ExportValue($Customers->Export, $Customers->ExportOriginalValue), $Customers->Export);
ew_ExportAddValue($sExportStr, $Customers->BillingFirstName->ExportValue($Customers->Export, $Customers->ExportOriginalValue), $Customers->Export);
ew_ExportAddValue($sExportStr, $Customers->BillingLastName->ExportValue($Customers->Export, $Customers->ExportOriginalValue), $Customers->Export);
ew_ExportAddValue($sExportStr, $Customers->BillingAddress1->ExportValue($Customers->Export, $Customers->ExportOriginalValue), $Customers->Export);
ew_ExportAddValue($sExportStr, $Customers->BillingAddress2->ExportValue($Customers->Export, $Customers->ExportOriginalValue), $Customers->Export);
ew_ExportAddValue($sExportStr, $Customers->BillingCity->ExportValue($Customers->Export, $Customers->ExportOriginalValue), $Customers->Export);
ew_ExportAddValue($sExportStr, $Customers->BillingState->ExportValue($Customers->Export, $Customers->ExportOriginalValue), $Customers->Export);
ew_ExportAddValue($sExportStr, $Customers->BillingZip->ExportValue($Customers->Export, $Customers->ExportOriginalValue), $Customers->Export);
ew_ExportAddValue($sExportStr, $Customers->BillingPhone->ExportValue($Customers->Export, $Customers->ExportOriginalValue), $Customers->Export);
ew_ExportAddValue($sExportStr, $Customers->BillingCardType->ExportValue($Customers->Export, $Customers->ExportOriginalValue), $Customers->Export);
ew_ExportAddValue($sExportStr, $Customers->BillingCardNumber->ExportValue($Customers->Export, $Customers->ExportOriginalValue), $Customers->Export);
ew_ExportAddValue($sExportStr, $Customers->CIMCustID->ExportValue($Customers->Export, $Customers->ExportOriginalValue), $Customers->Export);
ew_ExportAddValue($sExportStr, $Customers->CIMPymtProfID->ExportValue($Customers->Export, $Customers->ExportOriginalValue), $Customers->Export);
ew_ExportAddValue($sExportStr, $Customers->Customer_Type->ExportValue($Customers->Export, $Customers->ExportOriginalValue), $Customers->Export);
ew_ExportAddValue($sExportStr, $Customers->First_Order_Date->ExportValue($Customers->Export, $Customers->ExportOriginalValue), $Customers->Export);
ew_ExportAddValue($sExportStr, $Customers->Last_Order_Date->ExportValue($Customers->Export, $Customers->ExportOriginalValue), $Customers->Export);
ew_ExportAddValue($sExportStr, $Customers->Total_Orders->ExportValue($Customers->Export, $Customers->ExportOriginalValue), $Customers->Export);
ew_ExportAddValue($sExportStr, $Customers->Delivery_Window->ExportValue($Customers->Export, $Customers->ExportOriginalValue), $Customers->Export);
ew_ExportAddValue($sExportStr, $Customers->WeeklyMeals->ExportValue($Customers->Export, $Customers->ExportOriginalValue), $Customers->Export);
ew_ExportAddValue($sExportStr, $Customers->WeeklyReg->ExportValue($Customers->Export, $Customers->ExportOriginalValue), $Customers->Export);
ew_ExportAddValue($sExportStr, $Customers->WeeklyVeg->ExportValue($Customers->Export, $Customers->ExportOriginalValue), $Customers->Export);
ew_ExportAddValue($sExportStr, $Customers->Want->ExportValue($Customers->Export, $Customers->ExportOriginalValue), $Customers->Export);
ew_ExportAddValue($sExportStr, $Customers->DontWant->ExportValue($Customers->Export, $Customers->ExportOriginalValue), $Customers->Export);
ew_ExportAddValue($sExportStr, $Customers->Comments->ExportValue($Customers->Export, $Customers->ExportOriginalValue), $Customers->Export);
echo ew_ExportLine($sExportStr, $Customers->Export);
}
}
}
$rs->MoveNext();
}
// Close recordset
$rs->Close();
if ($Customers->Export == "xml") {
header("Content-Type: text/xml");
echo $XmlDoc->XML();
} else {
echo ew_ExportFooter($Customers->Export);
}
}
开发者ID:elliecm,项目名称:MadisonandRayne,代码行数:101,代码来源:Customersview.php
示例3: ExportData
function ExportData()
{
global $ItemIngredients;
$sCsvStr = "";
// Default export style
$sExportStyle = "h";
// Load recordset
$rs = $this->LoadRecordset();
$this->lTotalRecs = $rs->RecordCount();
$this->lStartRec = 1;
// Export all
if ($ItemIngredients->ExportAll) {
$this->lStopRec = $this->lTotalRecs;
} else {
// Export 1 page only
$this->SetUpStartRec();
// Set up start record position
// Set the last record to display
if ($this->lDisplayRecs < 0) {
$this->lStopRec = $this->lTotalRecs;
} else {
$this->lStopRec = $this->lStartRec + $this->lDisplayRecs - 1;
}
}
if ($ItemIngredients->Export == "xml") {
$XmlDoc = new cXMLDocument();
} else {
echo "";
echo ew_ExportHeader($ItemIngredients->Export);
// Horizontal format, write header
if ($sExportStyle != "v" || $ItemIngredients->Export == "csv") {
$sExportStr = "";
ew_ExportAddValue($sExportStr, 'ItemIngredientID', $ItemIngredients->Export);
ew_ExportAddValue($sExportStr, 'ItemID', $ItemIngredients->Export);
ew_ExportAddValue($sExportStr, 'IngredientID', $ItemIngredients->Export);
ew_ExportAddValue($sExportStr, 'Amount', $ItemIngredients->Export);
ew_ExportAddValue($sExportStr, 'Type', $ItemIngredients->Export);
ew_ExportAddValue($sExportStr, 'Letter_Code', $ItemIngredients->Export);
ew_ExportAddValue($sExportStr, 'Vegetarian', $ItemIngredients->Export);
echo ew_ExportLine($sExportStr, $ItemIngredients->Export);
}
}
// Move to first record
$this->lRecCnt = $this->lStartRec - 1;
if (!$rs->EOF) {
$rs->MoveFirst();
$rs->Move($this->lStartRec - 1);
}
while (!$rs->EOF && $this->lRecCnt < $this->lStopRec) {
$this->lRecCnt++;
if (intval($this->lRecCnt) >= intval($this->lStartRec)) {
$this->LoadRowValues($rs);
// Render row for display
$ItemIngredients->RowType = EW_ROWTYPE_VIEW;
// Render view
$this->RenderRow();
if ($ItemIngredients->Export == "xml") {
$XmlDoc->BeginRow();
$XmlDoc->AddField('ItemIngredientID', $ItemIngredients->ItemIngredientID->CurrentValue);
$XmlDoc->AddField('ItemID', $ItemIngredients->ItemID->CurrentValue);
$XmlDoc->AddField('IngredientID', $ItemIngredients->IngredientID->CurrentValue);
$XmlDoc->AddField('Amount', $ItemIngredients->Amount->CurrentValue);
$XmlDoc->AddField('Type', $ItemIngredients->Type->CurrentValue);
$XmlDoc->AddField('Letter_Code', $ItemIngredients->Letter_Code->CurrentValue);
$XmlDoc->AddField('Vegetarian', $ItemIngredients->Vegetarian->CurrentValue);
$XmlDoc->EndRow();
} else {
if ($sExportStyle == "v" && $ItemIngredients->Export != "csv") {
// Vertical format
echo ew_ExportField('ItemIngredientID', $ItemIngredients->ItemIngredientID->ExportValue($ItemIngredients->Export, $ItemIngredients->ExportOriginalValue), $ItemIngredients->Export);
echo ew_ExportField('ItemID', $ItemIngredients->ItemID->ExportValue($ItemIngredients->Export, $ItemIngredients->ExportOriginalValue), $ItemIngredients->Export);
echo ew_ExportField('IngredientID', $ItemIngredients->IngredientID->ExportValue($ItemIngredients->Export, $ItemIngredients->ExportOriginalValue), $ItemIngredients->Export);
echo ew_ExportField('Amount', $ItemIngredients->Amount->ExportValue($ItemIngredients->Export, $ItemIngredients->ExportOriginalValue), $ItemIngredients->Export);
echo ew_ExportField('Type', $ItemIngredients->Type->ExportValue($ItemIngredients->Export, $ItemIngredients->ExportOriginalValue), $ItemIngredients->Export);
echo ew_ExportField('Letter_Code', $ItemIngredients->Letter_Code->ExportValue($ItemIngredients->Export, $ItemIngredients->ExportOriginalValue), $ItemIngredients->Export);
echo ew_ExportField('Vegetarian', $ItemIngredients->Vegetarian->ExportValue($ItemIngredients->Export, $ItemIngredients->ExportOriginalValue), $ItemIngredients->Export);
} else {
// Horizontal format
$sExportStr = "";
ew_ExportAddValue($sExportStr, $ItemIngredients->ItemIngredientID->ExportValue($ItemIngredients->Export, $ItemIngredients->ExportOriginalValue), $ItemIngredients->Export);
ew_ExportAddValue($sExportStr, $ItemIngredients->ItemID->ExportValue($ItemIngredients->Export, $ItemIngredients->ExportOriginalValue), $ItemIngredients->Export);
ew_ExportAddValue($sExportStr, $ItemIngredients->IngredientID->ExportValue($ItemIngredients->Export, $ItemIngredients->ExportOriginalValue), $ItemIngredients->Export);
ew_ExportAddValue($sExportStr, $ItemIngredients->Amount->ExportValue($ItemIngredients->Export, $ItemIngredients->ExportOriginalValue), $ItemIngredients->Export);
ew_ExportAddValue($sExportStr, $ItemIngredients->Type->ExportValue($ItemIngredients->Export, $ItemIngredients->ExportOriginalValue), $ItemIngredients->Export);
ew_ExportAddValue($sExportStr, $ItemIngredients->Letter_Code->ExportValue($ItemIngredients->Export, $ItemIngredients->ExportOriginalValue), $ItemIngredients->Export);
ew_ExportAddValue($sExportStr, $ItemIngredients->Vegetarian->ExportValue($ItemIngredients->Export, $ItemIngredients->ExportOriginalValue), $ItemIngredients->Export);
echo ew_ExportLine($sExportStr, $ItemIngredients->Export);
}
}
}
$rs->MoveNext();
}
// Close recordset
$rs->Close();
if ($ItemIngredients->Export == "xml") {
header("Content-Type: text/xml");
echo $XmlDoc->XML();
} else {
echo ew_ExportFooter($ItemIngredients->Export);
}
//.........这里部分代码省略.........
开发者ID:elliecm,项目名称:MadisonandRayne,代码行数:101,代码来源:ItemIngredientslist.php
示例4: ExportData
//.........这里部分代码省略.........
$sExportStyle = "h";
// Load recordset
$rs = $this->LoadRecordset();
$this->lTotalRecs = $rs->RecordCount();
$this->lStartRec = 1;
// Export all
if ($Orders->ExportAll) {
$this->lStopRec = $this->lTotalRecs;
} else {
// Export 1 page only
$this->SetUpStartRec();
// Set up start record position
// Set the last record to display
if ($this->lDisplayRecs < 0) {
$this->lStopRec = $this->lTotalRecs;
} else {
$this->lStopRec = $this->lStartRec + $this->lDisplayRecs - 1;
}
}
if ($Orders->Export == "xml") {
$XmlDoc = new cXMLDocument();
} else {
echo "";
echo ew_ExportHeader($Orders->Export);
// Horizontal format, write header
if ($sExportStyle != "v" || $Orders->Export == "csv") {
$sExportStr = "";
ew_ExportAddValue($sExportStr, 'OrderID', $Orders->Export);
ew_ExportAddValue($sExportStr, 'CustomerID', $Orders->Export);
ew_ExportAddValue($sExportStr, 'TransactionNumber', $Orders->Export);
ew_ExportAddValue($sExportStr, 'DateOrdered', $Orders->Export);
ew_ExportAddValue($sExportStr, 'Total', $Orders->Export);
ew_ExportAddValue($sExportStr, 'DeliveryDate', $Orders->Export);
ew_ExportAddValue($sExportStr, 'PromoCodeID', $Orders->Export);
ew_ExportAddValue($sExportStr, 'Sequence', $Orders->Export);
echo ew_ExportLine($sExportStr, $Orders->Export);
}
}
// Move to first record
$this->lRecCnt = $this->lStartRec - 1;
if (!$rs->EOF) {
$rs->MoveFirst();
$rs->Move($this->lStartRec - 1);
}
while (!$rs->EOF && $this->lRecCnt < $this->lStopRec) {
$this->lRecCnt++;
if (intval($this->lRecCnt) >= intval($this->lStartRec)) {
$this->LoadRowValues($rs);
// Render row for display
$Orders->RowType = EW_ROWTYPE_VIEW;
// Render view
$this->RenderRow();
if ($Orders->Export == "xml") {
$XmlDoc->BeginRow();
$XmlDoc->AddField('OrderID', $Orders->OrderID->CurrentValue);
$XmlDoc->AddField('CustomerID', $Orders->CustomerID->CurrentValue);
$XmlDoc->AddField('TransactionNumber', $Orders->TransactionNumber->CurrentValue);
$XmlDoc->AddField('DateOrdered', $Orders->DateOrdered->CurrentValue);
$XmlDoc->AddField('Total', $Orders->Total->CurrentValue);
$XmlDoc->AddField('DeliveryDate', $Orders->DeliveryDate->CurrentValue);
$XmlDoc->AddField('PromoCodeID', $Orders->PromoCodeID->CurrentValue);
$XmlDoc->AddField('Sequence', $Orders->Sequence->CurrentValue);
$XmlDoc->EndRow();
} else {
if ($sExportStyle == "v" && $Orders->Export != "csv") {
// Vertical format
echo ew_ExportField('OrderID', $Orders->OrderID->ExportValue($Orders->Export, $Orders->ExportOriginalValue), $Orders->Export);
echo ew_ExportField('CustomerID', $Orders->CustomerID->ExportValue($Orders->Export, $Orders->ExportOriginalValue), $Orders->Export);
echo ew_ExportField('TransactionNumber', $Orders->TransactionNumber->ExportValue($Orders->Export, $Orders->ExportOriginalValue), $Orders->Export);
echo ew_ExportField('DateOrdered', $Orders->DateOrdered->ExportValue($Orders->Export, $Orders->ExportOriginalValue), $Orders->Export);
echo ew_ExportField('Total', $Orders->Total->ExportValue($Orders->Export, $Orders->ExportOriginalValue), $Orders->Export);
echo ew_ExportField('DeliveryDate', $Orders->DeliveryDate->ExportValue($Orders->Export, $Orders->ExportOriginalValue), $Orders->Export);
echo ew_ExportField('PromoCodeID', $Orders->PromoCodeID->ExportValue($Orders->Export, $Orders->ExportOriginalValue), $Orders->Export);
echo ew_ExportField('Sequence', $Orders->Sequence->ExportValue($Orders->Export, $Orders->ExportOriginalValue), $Orders->Export);
} else {
// Horizontal format
$sExportStr = "";
ew_ExportAddValue($sExportStr, $Orders->OrderID->ExportValue($Orders->Export, $Orders->ExportOriginalValue), $Orders->Export);
ew_ExportAddValue($sExportStr, $Orders->CustomerID->ExportValue($Orders->Export, $Orders->ExportOriginalValue), $Orders->Export);
ew_ExportAddValue($sExportStr, $Orders->TransactionNumber->ExportValue($Orders->Export, $Orders->ExportOriginalValue), $Orders->Export);
ew_ExportAddValue($sExportStr, $Orders->DateOrdered->ExportValue($Orders->Export, $Orders->ExportOriginalValue), $Orders->Export);
ew_ExportAddValue($sExportStr, $Orders->Total->ExportValue($Orders->Export, $Orders->ExportOriginalValue), $Orders->Export);
ew_ExportAddValue($sExportStr, $Orders->DeliveryDate->ExportValue($Orders->Export, $Orders->ExportOriginalValue), $Orders->Export);
ew_ExportAddValue($sExportStr, $Orders->PromoCodeID->ExportValue($Orders->Export, $Orders->ExportOriginalValue), $Orders->Export);
ew_ExportAddValue($sExportStr, $Orders->Sequence->ExportValue($Orders->Export, $Orders->ExportOriginalValue), $Orders->Export);
echo ew_ExportLine($sExportStr, $Orders->Export);
}
}
}
$rs->MoveNext();
}
// Close recordset
$rs->Close();
if ($Orders->Export == "xml") {
header("Content-Type: text/xml");
echo $XmlDoc->XML();
} else {
echo ew_ExportFooter($Orders->Export);
}
}
开发者ID:elliecm,项目名称:MadisonandRayne,代码行数:101,代码来源:Orderslist.php
示例5: ExportData
function ExportData()
{
global $ItemDetails;
$sCsvStr = "";
// Default export style
$sExportStyle = "v";
// Load recordset
$rs = $this->LoadRecordset();
$this->lTotalRecs = $rs->RecordCount();
$this->lStartRec = 1;
$this->SetUpStartRec();
// Set up start record position
// Set the last record to display
if ($this->lDisplayRecs < 0) {
$this->lStopRec = $this->lTotalRecs;
} else {
$this->lStopRec = $this->lStartRec + $this->lDisplayRecs - 1;
}
if ($ItemDetails->Export == "xml") {
$XmlDoc = new cXMLDocument();
} else {
echo "";
echo ew_ExportHeader($ItemDetails->Export);
// Horizontal format, write header
if ($sExportStyle != "v" || $ItemDetails->Export == "csv") {
$sExportStr = "";
ew_ExportAddValue($sExportStr, 'ItemID', $ItemDetails->Export);
ew_ExportAddValue($sExportStr, 'Time_to_Table', $ItemDetails->Export);
ew_ExportAddValue($sExportStr, 'Level_Of_Difficulty', $ItemDetails->Export);
ew_ExportAddValue($sExportStr, 'Beverage_Pairing', $ItemDetails->Export);
ew_ExportAddValue($sExportStr, 'Vegetarian_Subsitution', $ItemDetails->Export);
ew_ExportAddValue($sExportStr, 'Calories', $ItemDetails->Export);
ew_ExportAddValue($sExportStr, 'Other', $ItemDetails->Export);
ew_ExportAddValue($sExportStr, 'Image', $ItemDetails->Export);
echo ew_ExportLine($sExportStr, $ItemDetails->Export);
}
}
// Move to first record
$this->lRecCnt = $this->lStartRec - 1;
if (!$rs->EOF) {
$rs->MoveFirst();
$rs->Move($this->lStartRec - 1);
}
while (!$rs->EOF && $this->lRecCnt < $this->lStopRec) {
$this->lRecCnt++;
if (intval($this->lRecCnt) >= intval($this->lStartRec)) {
$this->LoadRowValues($rs);
// Render row for display
$ItemDetails->RowType = EW_ROWTYPE_VIEW;
// Render view
$this->RenderRow();
if ($ItemDetails->Export == "xml") {
$XmlDoc->BeginRow();
$XmlDoc->AddField('ItemID', $ItemDetails->ItemID->CurrentValue);
$XmlDoc->AddField('Time_to_Table', $ItemDetails->Time_to_Table->CurrentValue);
$XmlDoc->AddField('Level_Of_Difficulty', $ItemDetails->Level_Of_Difficulty->CurrentValue);
$XmlDoc->AddField('Beverage_Pairing', $ItemDetails->Beverage_Pairing->CurrentValue);
$XmlDoc->AddField('Vegetarian_Subsitution', $ItemDetails->Vegetarian_Subsitution->CurrentValue);
$XmlDoc->AddField('Calories', $ItemDetails->Calories->CurrentValue);
$XmlDoc->AddField('Other', $ItemDetails->Other->CurrentValue);
$XmlDoc->AddField('Image', $ItemDetails->Image->CurrentValue);
$XmlDoc->EndRow();
} else {
if ($sExportStyle == "v" && $ItemDetails->Export != "csv") {
// Vertical format
echo ew_ExportField('ItemID', $ItemDetails->ItemID->ExportValue($ItemDetails->Export, $ItemDetails->ExportOriginalValue), $ItemDetails->Export);
echo ew_ExportField('Time_to_Table', $ItemDetails->Time_to_Table->ExportValue($ItemDetails->Export, $ItemDetails->ExportOriginalValue), $ItemDetails->Export);
echo ew_ExportField('Level_Of_Difficulty', $ItemDetails->Level_Of_Difficulty->ExportValue($ItemDetails->Export, $ItemDetails->ExportOriginalValue), $ItemDetails->Export);
echo ew_ExportField('Beverage_Pairing', $ItemDetails->Beverage_Pairing->ExportValue($ItemDetails->Export, $ItemDetails->ExportOriginalValue), $ItemDetails->Export);
echo ew_ExportField('Vegetarian_Subsitution', $ItemDetails->Vegetarian_Subsitution->ExportValue($ItemDetails->Export, $ItemDetails->ExportOriginalValue), $ItemDetails->Export);
echo ew_ExportField('Calories', $ItemDetails->Calories->ExportValue($ItemDetails->Export, $ItemDetails->ExportOriginalValue), $ItemDetails->Export);
echo ew_ExportField('Other', $ItemDetails->Other->ExportValue($ItemDetails->Export, $ItemDetails->ExportOriginalValue), $ItemDetails->Export);
echo ew_ExportField('Image', $ItemDetails->Image->ExportValue($ItemDetails->Export, $ItemDetails->ExportOriginalValue), $ItemDetails->Export);
} else {
// Horizontal format
$sExportStr = "";
ew_ExportAddValue($sExportStr, $ItemDetails->ItemID->ExportValue($ItemDetails->Export, $ItemDetails->ExportOriginalValue), $ItemDetails->Export);
ew_ExportAddValue($sExportStr, $ItemDetails->Time_to_Table->ExportValue($ItemDetails->Export, $ItemDetails->ExportOriginalValue), $ItemDetails->Export);
ew_ExportAddValue($sExportStr, $ItemDetails->Level_Of_Difficulty->ExportValue($ItemDetails->Export, $ItemDetails->ExportOriginalValue), $ItemDetails->Export);
ew_ExportAddValue($sExportStr, $ItemDetails->Beverage_Pairing->ExportValue($ItemDetails->Export, $ItemDetails->ExportOriginalValue), $ItemDetails->Export);
ew_ExportAddValue($sExportStr, $ItemDetails->Vegetarian_Subsitution->ExportValue($ItemDetails->Export, $ItemDetails->ExportOriginalValue), $ItemDetails->Export);
ew_ExportAddValue($sExportStr, $ItemDetails->Calories->ExportValue($ItemDetails->Export, $ItemDetails->ExportOriginalValue), $ItemDetails->Export);
ew_ExportAddValue($sExportStr, $ItemDetails->Other->ExportValue($ItemDetails->Export, $ItemDetails->ExportOriginalValue), $ItemDetails->Export);
ew_ExportAddValue($sExportStr, $ItemDetails->Image->ExportValue($ItemDetails->Export, $ItemDetails->ExportOriginalValue), $ItemDetails->Export);
echo ew_ExportLine($sExportStr, $ItemDetails->Export);
}
}
}
$rs->MoveNext();
}
// Close recordset
$rs->Close();
if ($ItemDetails->Export == "xml") {
header("Content-Type: text/xml");
echo $XmlDoc->XML();
} else {
echo ew_ExportFooter($ItemDetails->Export);
}
}
开发者ID:elliecm,项目名称:MadisonandRayne,代码行数:99,代码来源:ItemDetailsview.php
示例6: ExportData
//.........这里部分代码省略.........
ew_ExportAddValue($sExportStr, 'GiftSendZip', $GiftCertificates->Export);
ew_ExportAddValue($sExportStr, 'GiftSendEmail', $GiftCertificates->Export);
ew_ExportAddValue($sExportStr, 'PromoCodeID', $GiftCertificates->Export);
ew_ExportAddValue($sExportStr, 'DateMailed', $GiftCertificates->Export);
ew_ExportAddValue($sExportStr, 'Redeemed', $GiftCertificates->Export);
echo ew_ExportLine($sExportStr, $GiftCertificates->Export);
}
}
// Move to first record
$this->lRecCnt = $this->lStartRec - 1;
if (!$rs->EOF) {
$rs->MoveFirst();
$rs->Move($this->lStartRec - 1);
}
while (!$rs->EOF && $this->lRecCnt < $this->lStopRec) {
$this->lRecCnt++;
if (intval($this->lRecCnt) >= intval($this->lStartRec)) {
$this->LoadRowValues($rs);
// Render row for display
$GiftCertificates->RowType = EW_ROWTYPE_VIEW;
// Render view
$this->RenderRow();
if ($GiftCertificates->Export == "xml") {
$XmlDoc->BeginRow();
$XmlDoc->AddField('GiftCertificateID', $GiftCertificates->GiftCertificateID->CurrentValue);
$XmlDoc->AddField('CustomerID', $GiftCertificates->CustomerID->CurrentValue);
$XmlDoc->AddField('GiftEmail', $GiftCertificates->GiftEmail->CurrentValue);
$XmlDoc->AddField('GiftPhone', $GiftCertificates->GiftPhone->CurrentValue);
$XmlDoc->AddField('GiftFirstName', $GiftCertificates->GiftFirstName->CurrentValue);
$XmlDoc->AddField('GiftLastName', $GiftCertificates->GiftLastName->CurrentValue);
$XmlDoc->AddField('GiftAmount', $GiftCertificates->GiftAmount->CurrentValue);
$XmlDoc->AddField('GiftMessage', $GiftCertificates->GiftMessage->CurrentValue);
$XmlDoc->AddField('GiftSendMethod', $GiftCertificates->GiftSendMethod->CurrentValue);
$XmlDoc->AddField('GiftSendAddress1', $GiftCertificates->GiftSendAddress1->CurrentValue);
$XmlDoc->AddField('GiftSendAddress2', $GiftCertificates->GiftSendAddress2->CurrentValue);
$XmlDoc->AddField('GiftSendCity', $GiftCertificates->GiftSendCity->CurrentValue);
$XmlDoc->AddField('GiftSendState', $GiftCertificates->GiftSendState->CurrentValue);
$XmlDoc->AddField('GiftSendZip', $GiftCertificates->GiftSendZip->CurrentValue);
$XmlDoc->AddField('GiftSendEmail', $GiftCertificates->GiftSendEmail->CurrentValue);
$XmlDoc->AddField('PromoCodeID', $GiftCertificates->PromoCodeID->CurrentValue);
$XmlDoc->AddField('DateMailed', $GiftCertificates->DateMailed->CurrentValue);
$XmlDoc->AddField('Redeemed', $GiftCertificates->Redeemed->CurrentValue);
$XmlDoc->EndRow();
} else {
if ($sExportStyle == "v" && $GiftCertificates->Export != "csv") {
// Vertical format
echo ew_ExportField('GiftCertificateID', $GiftCertificates->GiftCertificateID->ExportValue($GiftCertificates->Export, $GiftCertificates->ExportOriginalValue), $GiftCertificates->Export);
echo ew_ExportField('CustomerID', $GiftCertificates->CustomerID->ExportValue($GiftCertificates->Export, $GiftCertificates->ExportOriginalValue), $GiftCertificates->Export);
echo ew_ExportField('GiftEmail', $GiftCertificates->GiftEmail->ExportValue($GiftCertificates->Export, $GiftCertificates->ExportOriginalValue), $GiftCertificates->Export);
echo ew_ExportField('GiftPhone', $GiftCertificates->GiftPhone->ExportValue($GiftCertificates->Export, $GiftCertificates->ExportOriginalValue), $GiftCertificates->Export);
echo ew_ExportField('GiftFirstName', $GiftCertificates->GiftFirstName->ExportValue($GiftCertificates->Export, $GiftCertificates->ExportOriginalValue), $GiftCertificates->Export);
echo ew_ExportField('GiftLastName', $GiftCertificates->GiftLastName->ExportValue($GiftCertificates->Export, $GiftCertificates->ExportOriginalValue), $GiftCertificates->Export);
echo ew_ExportField('GiftAmount', $GiftCertificates->GiftAmount->ExportValue($GiftCertificates->Export, $GiftCertificates->ExportOriginalValue), $GiftCertificates->Export);
echo ew_ExportField('GiftMessage', $GiftCertificates->GiftMessage->ExportValue($GiftCertificates->Export, $GiftCertificates->ExportOriginalValue), $GiftCertificates->Export);
echo ew_ExportField('GiftSendMethod', $GiftCertificates->GiftSendMethod->ExportValue($GiftCertificates->Export, $GiftCertificates->ExportOriginalValue), $GiftCertificates->Export);
echo ew_ExportField('GiftSendAddress1', $GiftCertificates->GiftSendAddress1->ExportValue($GiftCertificates->Export, $GiftCertificates->ExportOriginalValue), $GiftCertificates->Export);
echo ew_ExportField('GiftSendAddress2', $GiftCertificates->GiftSendAddress2->ExportValue($GiftCertificates->Export, $GiftCertificates->ExportOriginalValue), $GiftCertificates->Export);
echo ew_ExportField('GiftSendCity', $GiftCertificates->GiftSendCity->ExportValue($GiftCertificates->Export, $GiftCertificates->ExportOriginalValue), $GiftCertificates->Export);
echo ew_ExportField('GiftSendState', $GiftCertificates->GiftSendState->ExportValue($GiftCertificates->Export, $GiftCertificates->ExportOriginalValue), $GiftCertificates->Export);
echo ew_ExportField('GiftSendZip', $GiftCertificates->GiftSendZip->ExportValue($GiftCertificates->Export, $GiftCertificates->ExportOriginalValue), $GiftCertificates->Export);
echo ew_ExportField('GiftSendEmail', $GiftCertificates->GiftSendEmail->ExportValue($GiftCertificates->Export, $GiftCertificates->ExportOriginalValue), $GiftCertificates->Export);
echo ew_ExportField('PromoCodeID', $GiftCertificates->PromoCodeID->ExportValue($GiftCertificates->Export, $GiftCertificates->ExportOriginalValue), $GiftCertificates->Export);
echo ew_ExportField('DateMailed', $GiftCertificates->DateMailed->ExportValue($GiftCertificates->Export, $GiftCertificates->ExportOriginalValue), $GiftCertificates->Export);
echo ew_ExportField('Redeemed', $GiftCertificates->Redeemed->ExportValue($GiftCertificates->Export, $GiftCertificates->ExportOriginalValue), $GiftCertificates->Export);
} else {
// Horizontal format
$sExportStr = "";
ew_ExportAddValue($sExportStr, $GiftCertificates->GiftCertificateID->ExportValue($GiftCertificates->Export, $GiftCertificates->ExportOriginalValue), $GiftCertificates->Export);
ew_ExportAddValue($sExportStr, $GiftCertificates->CustomerID->ExportValue($GiftCertificates->Export, $GiftCertificates->ExportOriginalValue), $GiftCertificates->Export);
ew_ExportAddValue($sExportStr, $GiftCertificates->GiftEmail->ExportValue($GiftCertificates->Export, $GiftCertificates->ExportOriginalValue), $GiftCertificates->Export);
ew_ExportAddValue($sExportStr, $GiftCertificates->GiftPhone->ExportValue($GiftCertificates->Export, $GiftCertificates->ExportOriginalValue), $GiftCertificates->Export);
ew_ExportAddValue($sExportStr, $GiftCertificates->GiftFirstName->ExportValue($GiftCertificates->Export, $GiftCertificates->ExportOriginalValue), $GiftCertificates->Export);
ew_ExportAddValue($sExportStr, $GiftCertificates->GiftLastName->ExportValue($GiftCertificates->Export, $GiftCertificates->ExportOriginalValue), $GiftCertificates->Export);
ew_ExportAddValue($sExportStr, $GiftCertificates->GiftAmount->ExportValue($GiftCertificates->Export, $GiftCertificates->ExportOriginalValue), $GiftCertificates->Export);
ew_ExportAddValue($sExportStr, $GiftCertificates->GiftMessage->ExportValue($GiftCertificates->Export, $GiftCertificates->ExportOriginalValue), $GiftCertificates->Export);
ew_ExportAddValue($sExportStr, $GiftCertificates->GiftSendMethod->ExportValue($GiftCertificates->Export, $GiftCertificates->ExportOriginalValue), $GiftCertificates->Export);
ew_ExportAddValue($sExportStr, $GiftCertificates->GiftSendAddress1->ExportValue($GiftCertificates->Export, $GiftCertificates->ExportOriginalValue), $GiftCertificates->Export);
ew_ExportAddValue($sExportStr, $GiftCertificates->GiftSendAddress2->ExportValue($GiftCertificates->Export, $GiftCertificates->ExportOriginalValue), $GiftCertificates->Export);
ew_ExportAddValue($sExportStr, $GiftCertificates->GiftSendCity->ExportValue($GiftCertificates->Export, $GiftCertificates->ExportOriginalValue), $GiftCertificates->Export);
ew_ExportAddValue($sExportStr, $GiftCertificates->GiftSendState->ExportValue($GiftCertificates->Export, $GiftCertificates->ExportOriginalValue), $GiftCertificates->Export);
ew_ExportAddValue($sExportStr, $GiftCertificates->GiftSendZip->ExportValue($GiftCertificates->Export, $GiftCertificates->ExportOriginalValue), $GiftCertificates->Export);
ew_ExportAddValue($sExportStr, $GiftCertificates->GiftSendEmail->ExportValue($GiftCertificates->Export, $GiftCertificates->ExportOriginalValue), $GiftCertificates->Export);
ew_ExportAddValue($sExportStr, $GiftCertificates->PromoCodeID->ExportValue($GiftCertificates->Export, $GiftCertificates->ExportOriginalValue), $GiftCertificates->Export);
ew_ExportAddValue($sExportStr, $GiftCertificates->DateMailed->ExportValue($GiftCertificates->Export, $GiftCertificates->ExportOriginalValue), $GiftCertificates->Export);
ew_ExportAddValue($sExportStr, $GiftCertificates->Redeemed->ExportValue($GiftCertificates->Export, $GiftCertificates->ExportOriginalValue), $GiftCertificates->Export);
echo ew_ExportLine($sExportStr, $GiftCertificates->Export);
}
}
}
$rs->MoveNext();
}
// Close recordset
$rs->Close();
if ($GiftCertificates->Export == "xml") {
header("Content-Type: text/xml");
echo $XmlDoc->XML();
} else {
echo ew_ExportFooter($GiftCertificates->Export);
}
}
开发者ID:elliecm,项目名称:MadisonandRayne,代码行数:101,代码来源:GiftCertificateslist.php
示例7: ExportData
function ExportData()
{
global $password_reset_requests;
$sCsvStr = "";
// Default export style
$sExportStyle = "v";
// Load recordset
$rs = $this->LoadRecordset();
$this->lTotalRecs = $rs->RecordCount();
$this->lStartRec = 1;
$this->SetUpStartRec();
// Set up start record position
// Set the last record to display
if ($this->lDisplayRecs < 0) {
$this->lStopRec = $this->lTotalRecs;
} else {
$this->lStopRec = $this->lStartRec + $this->lDisplayRecs - 1;
}
if ($password_reset_requests->Export == "xml") {
$XmlDoc = new cXMLDocument();
} else {
echo "";
echo ew_ExportHeader($password_reset_requests->Export);
// Horizontal format, write header
if ($sExportStyle != "v" || $password_reset_requests->Export == "csv") {
$sExportStr = "";
ew_ExportAddValue($sExportStr, 'id', $password_reset_requests->Export);
ew_ExportAddValue($sExportStr, 'CustomerID', $password_reset_requests->Export);
ew_ExportAddValue($sExportStr, 'token_id', $password_reset_requests->Export);
ew_ExportAddValue($sExportStr, 'expires', $password_reset_requests->Export);
echo ew_ExportLine($sExportStr, $password_reset_requests->Export);
}
}
// Move to first record
$this->lRecCnt = $this->lStartRec - 1;
if (!$rs->EOF) {
$rs->MoveFirst();
$rs->Move($this->lStartRec - 1);
}
while (!$rs->EOF && $this->lRecCnt < $this->lStopRec) {
$this->lRecCnt++;
if (intval($this->lRecCnt) >= intv
|
请发表评论