コード例 #1
0
 function PageUrl()
 {
     $PageUrl = ewrpt_CurrentPage() . "?";
     return $PageUrl;
 }
コード例 #2
0
 function Page_Terminate($url = "")
 {
     global $conn;
     global $ReportLanguage;
     global $CustomView2;
     // Page Unload event
     $this->Page_Unload();
     // Global Page Unloaded event (in userfn*.php)
     Page_Unloaded();
     // Export to Email (use ob_file_contents for PHP)
     if ($CustomView2->Export == "email") {
         $sContent = ob_get_contents();
         $this->ExportEmail($sContent);
         ob_end_clean();
         // Close connection
         $conn->Close();
         header("Location: " . ewrpt_CurrentPage());
         exit;
     }
     // Close connection
     $conn->Close();
     // Go to URL if specified
     if ($url != "") {
         if (!EWRPT_DEBUG_ENABLED && ob_get_length()) {
             ob_end_clean();
         }
         header("Location: " . $url);
     }
     exit;
 }
コード例 #3
0
<div class="bd">
<form action="<?php 
echo ewrpt_CurrentPage();
?>
">
<input type="hidden" name="export" id="export" value="email" />
<table border="0" cellspacing="0" cellpadding="4">
	<tr>
		<td><span class="phpreportmaker"><?php 
echo $ReportLanguage->Phrase("EmailFormSender");
?>
</span></td>
		<td><span class="phpreportmaker"><input type="text" name="sender" id="sender" size="30" /></span></td>
	</tr>
	<tr>
		<td><span class="phpreportmaker"><?php 
echo $ReportLanguage->Phrase("EmailFormRecipient");
?>
</span></td>
		<td><span class="phpreportmaker"><input type="text" name="recipient" id="recipient" size="30" /></span></td>
	</tr>
	<tr>
		<td><span class="phpreportmaker"><?php 
echo $ReportLanguage->Phrase("EmailFormCc");
?>
</span></td>
		<td><span class="phpreportmaker"><input type="text" name="cc" id="cc" size="30" /></span></td>
	</tr>
	<tr>
		<td><span class="phpreportmaker"><?php 
echo $ReportLanguage->Phrase("EmailFormBcc");