/osj-osj2dapplicationssrch.php
PHP | 440 lines | 336 code | 49 blank | 55 comment | 62 complexity | ce1f4bb35cd0404dcc43b2956851d553 MD5 | raw file
Possible License(s): LGPL-2.1, AGPL-1.0
- <?php
- define("EW_PAGE_ID", "search", TRUE); // Page ID
- define("EW_TABLE_NAME", 'osj-applications', TRUE);
- ?>
- <?php
- session_start(); // Initialize session data
- ob_start(); // Turn on output buffering
- ?>
- <?php include "osj-ewcfg50.php" ?>
- <?php include "osj-ewmysql50.php" ?>
- <?php include "osj-phpfn50.php" ?>
- <?php include "osj-osj2dapplicationsinfo.php" ?>
- <?php include "osj-userfn50.php" ?>
- <?php include "osj-osj2dusersinfo.php" ?>
- <?php
- header("Expires: Mon, 26 Jul 1997 05:00:00 GMT"); // Date in the past
- header("Last-Modified: " . gmdate("D, d M Y H:i:s") . " GMT"); // Always modified
- header("Cache-Control: private, no-store, no-cache, must-revalidate"); // HTTP/1.1
- header("Cache-Control: post-check=0, pre-check=0", false);
- header("Pragma: no-cache"); // HTTP/1.0
- ?>
- <?php
-
- // Open connection to the database
- $conn = ew_Connect();
- ?>
- <?php
- $Security = new cAdvancedSecurity();
- ?>
- <?php
- if (!$Security->IsLoggedIn()) $Security->AutoLogin();
- $Security->LoadCurrentUserLevel('osj-applications');
- if (!$Security->IsLoggedIn()) {
- $Security->SaveLastUrl();
- Page_Terminate("osj-login.php");
- }
- if (!$Security->CanSearch()) {
- $Security->SaveLastUrl();
- Page_Terminate("osj-osj2dapplicationslist.php");
- }
- if ($Security->IsLoggedIn() && $Security->CurrentUserID() == "") {
- $_SESSION[EW_SESSION_MESSAGE] = "You do not have the right permission to view the page";
- Page_Terminate("osj-login.php");
- }
- ?>
- <?php
-
- // Common page loading event (in userfn*.php)
- Page_Loading();
- ?>
- <?php
-
- // Page load event, used in current page
- Page_Load();
- ?>
- <?php
- $osj2Dapplications->Export = @$_GET["export"]; // Get export parameter
- $sExport = $osj2Dapplications->Export; // Get export parameter, used in header
- $sExportFile = $osj2Dapplications->TableVar; // Get export file, used in header
- ?>
- <?php
-
- // Get action
- $osj2Dapplications->CurrentAction = @$_POST["a_search"];
- switch ($osj2Dapplications->CurrentAction) {
- case "S": // Get Search Criteria
-
- // Build search string for advanced search, remove blank field
- $sSrchStr = BuildAdvancedSearch();
- if ($sSrchStr <> "") {
- Page_Terminate("osj-osj2dapplicationslist.php?" . $sSrchStr); // Go to list page
- }
- break;
- default: // Restore search settings
- LoadAdvancedSearch();
- }
-
- // Render row for search
- $osj2Dapplications->RowType = EW_ROWTYPE_SEARCH;
- RenderRow();
- ?>
- <?php include "osj-header.php" ?>
- <script type="text/javascript">
- <!--
- var EW_PAGE_ID = "search"; // Page id
- var EW_SHOW_HIGHLIGHT = "Show highlight";
- var EW_HIDE_HIGHLIGHT = "Hide highlight";
-
- //-->
- </script>
- <script type="text/javascript">
- <!--
-
- function ew_ValidateForm(fobj) {
- if (fobj.a_confirm && fobj.a_confirm.value == "F")
- return true;
- var i, elm, aelm, infix;
- var rowcnt = (fobj.key_count) ? Number(fobj.key_count.value) : 1;
- for (i=0; i<rowcnt; i++) {
- infix = (fobj.key_count) ? String(i+1) : "";
- elm = fobj.elements["x" + infix + "_application_id"];
- if (elm && !ew_CheckInteger(elm.value)) {
- if (!ew_OnError(elm, "Incorrect integer - Application ID"))
- return false;
- }
- elm = fobj.elements["x" + infix + "_post_id"];
- if (elm && !ew_CheckInteger(elm.value)) {
- if (!ew_OnError(elm, "A post id is required."))
- return false;
- }
- elm = fobj.elements["x" + infix + "_application_email"];
- if (elm && !ew_CheckEmail(elm.value)) {
- if (!ew_OnError(elm, "All applications require an email address."))
- return false;
- }
- }
- return true;
- }
-
- //-->
- </script>
- <script type="text/javascript">
- <!--
- var ew_DHTMLEditors = [];
-
- //-->
- </script>
- <script type="text/javascript">
- <!--
-
- // js for Popup Calendar
- //-->
-
- </script>
- <script language="JavaScript" type="text/javascript">
- <!--
-
- // Write your client script here, no need to add script tags.
- // To include another .js script, use:
- // ew_ClientScriptInclude("my_javascript.js");
- //-->
-
- </script>
- <p><span class="phpmaker">Search TABLE: Applications<br><br><a href="osj-osj2dapplicationslist.php">Back to List</a></span></p>
- <form name="fosj2Dapplicationssearch" id="fosj2Dapplicationssearch" action="osj-osj2dapplicationssrch.php" method="post" onSubmit="return ew_ValidateForm(this);">
- <p>
- <input type="hidden" name="a_search" id="a_search" value="S">
- <table class="ewTable">
- <tr class="ewTableRow">
- <td class="ewTableHeader">Application ID</td>
- <td<?php echo $osj2Dapplications->application_id->CellAttributes() ?>><span class="ewSearchOpr">=<input type="hidden" name="z_application_id" id="z_application_id" value="="></span></td>
- <td<?php echo $osj2Dapplications->application_id->CellAttributes() ?>><span class="phpmaker">
- <input type="text" name="x_application_id" id="x_application_id" value="<?php echo $osj2Dapplications->application_id->EditValue ?>"<?php echo $osj2Dapplications->application_id->EditAttributes() ?>>
- </span></td>
- </tr>
- <tr class="ewTableAltRow">
- <td class="ewTableHeader">User ID</td>
- <td<?php echo $osj2Dapplications->user_id->CellAttributes() ?>><span class="ewSearchOpr">=<input type="hidden" name="z_user_id" id="z_user_id" value="="></span></td>
- <td<?php echo $osj2Dapplications->user_id->CellAttributes() ?>><span class="phpmaker">
- <?php if (!$Security->IsAdmin() && $Security->IsLoggedIn()) { // Non system admin ?>
- <input type="hidden" name="x_user_id" id="x_user_id" value="<?php echo ew_HtmlEncode($osj2Dapplications->user_id->AdvancedSearch->SearchValue) ?>">
- <?php } else { ?>
- <input type="text" name="x_user_id" id="x_user_id" size="30" value="<?php echo $osj2Dapplications->user_id->EditValue ?>"<?php echo $osj2Dapplications->user_id->EditAttributes() ?>>
- <?php } ?>
- </span></td>
- </tr>
- <tr class="ewTableRow">
- <td class="ewTableHeader">Resume</td>
- <td<?php echo $osj2Dapplications->resume_id->CellAttributes() ?>><span class="ewSearchOpr">=<input type="hidden" name="z_resume_id" id="z_resume_id" value="="></span></td>
- <td<?php echo $osj2Dapplications->resume_id->CellAttributes() ?>><span class="phpmaker">
- <select id="x_resume_id" name="x_resume_id"<?php echo $osj2Dapplications->resume_id->EditAttributes() ?>>
- <!--option value="">Please Select</option-->
- <?php
- if (is_array($osj2Dapplications->resume_id->EditValue)) {
- $arwrk = $osj2Dapplications->resume_id->EditValue;
- $rowswrk = count($arwrk);
- for ($rowcntwrk = 0; $rowcntwrk < $rowswrk; $rowcntwrk++) {
- $selwrk = (strval($osj2Dapplications->resume_id->AdvancedSearch->SearchValue) == strval($arwrk[$rowcntwrk][0])) ? " selected" : "";
- ?>
- <option value="<?php echo ew_HtmlEncode($arwrk[$rowcntwrk][0]) ?>"<?php echo $selwrk ?>>
- <?php echo $arwrk[$rowcntwrk][1] ?>
- </option>
- <?php
- }
- }
- ?>
- </select>
- </span></td>
- </tr>
- <tr class="ewTableAltRow">
- <td class="ewTableHeader">Post ID</td>
- <td<?php echo $osj2Dapplications->post_id->CellAttributes() ?>><span class="ewSearchOpr">=<input type="hidden" name="z_post_id" id="z_post_id" value="="></span></td>
- <td<?php echo $osj2Dapplications->post_id->CellAttributes() ?>><span class="phpmaker">
- <input type="text" name="x_post_id" id="x_post_id" size="30" value="<?php echo $osj2Dapplications->post_id->EditValue ?>"<?php echo $osj2Dapplications->post_id->EditAttributes() ?>>
- </span></td>
- </tr>
- <tr class="ewTableRow">
- <td class="ewTableHeader">Application Date</td>
- <td<?php echo $osj2Dapplications->application_date->CellAttributes() ?>><span class="ewSearchOpr"><select name="z_application_date" id="z_application_date"><option value="="<?php echo ($osj2Dapplications->application_date->AdvancedSearch->SearchOperator=="=")?" selected":"" ?>>=</option><option value="<>"<?php echo ($osj2Dapplications->application_date->AdvancedSearch->SearchOperator=="<>")?" selected":"" ?>><></option><option value="<"<?php echo ($osj2Dapplications->application_date->AdvancedSearch->SearchOperator=="<")?" selected":"" ?>><</option><option value="<="<?php echo ($osj2Dapplications->application_date->AdvancedSearch->SearchOperator=="<=")?" selected":"" ?>><=</option><option value=">"<?php echo ($osj2Dapplications->application_date->AdvancedSearch->SearchOperator==">")?" selected":"" ?>>></option><option value=">="<?php echo ($osj2Dapplications->application_date->AdvancedSearch->SearchOperator==">=")?" selected":"" ?>>>=</option></select></span></td>
- <td<?php echo $osj2Dapplications->application_date->CellAttributes() ?>><span class="phpmaker">
- <input type="text" name="x_application_date" id="x_application_date" value="<?php echo $osj2Dapplications->application_date->EditValue ?>"<?php echo $osj2Dapplications->application_date->EditAttributes() ?>>
- </span></td>
- </tr>
- <tr class="ewTableAltRow">
- <td class="ewTableHeader">Application Email</td>
- <td<?php echo $osj2Dapplications->application_email->CellAttributes() ?>><span class="ewSearchOpr">contains<input type="hidden" name="z_application_email" id="z_application_email" value="LIKE"></span></td>
- <td<?php echo $osj2Dapplications->application_email->CellAttributes() ?>><span class="phpmaker">
- <input type="text" name="x_application_email" id="x_application_email" title="Email" size="30" maxlength="255" value="<?php echo $osj2Dapplications->application_email->EditValue ?>"<?php echo $osj2Dapplications->application_email->EditAttributes() ?>>
- </span></td>
- </tr>
- <tr class="ewTableRow">
- <td class="ewTableHeader">Application Comments</td>
- <td<?php echo $osj2Dapplications->application_text->CellAttributes() ?>><span class="ewSearchOpr">contains<input type="hidden" name="z_application_text" id="z_application_text" value="LIKE"></span></td>
- <td<?php echo $osj2Dapplications->application_text->CellAttributes() ?>><span class="phpmaker">
- <textarea name="x_application_text" id="x_application_text" cols="35" rows="4"<?php echo $osj2Dapplications->application_text->EditAttributes() ?>><?php echo $osj2Dapplications->application_text->EditValue ?></textarea>
- </span></td>
- </tr>
- <tr class="ewTableAltRow">
- <td class="ewTableHeader">Application File Name</td>
- <td<?php echo $osj2Dapplications->application_file_name->CellAttributes() ?>><span class="ewSearchOpr"><select name="z_application_file_name" id="z_application_file_name"><option value="="<?php echo ($osj2Dapplications->application_file_name->AdvancedSearch->SearchOperator=="=")?" selected":"" ?>>=</option><option value="<>"<?php echo ($osj2Dapplications->application_file_name->AdvancedSearch->SearchOperator=="<>")?" selected":"" ?>><></option><option value="<"<?php echo ($osj2Dapplications->application_file_name->AdvancedSearch->SearchOperator=="<")?" selected":"" ?>><</option><option value="<="<?php echo ($osj2Dapplications->application_file_name->AdvancedSearch->SearchOperator=="<=")?" selected":"" ?>><=</option><option value=">"<?php echo ($osj2Dapplications->application_file_name->AdvancedSearch->SearchOperator==">")?" selected":"" ?>>></option><option value=">="<?php echo ($osj2Dapplications->application_file_name->AdvancedSearch->SearchOperator==">=")?" selected":"" ?>>>=</option><option value="LIKE"<?php echo ($osj2Dapplications->application_file_name->AdvancedSearch->SearchOperator=="LIKE")?" selected":"" ?>>contains</option><option value="NOT LIKE"<?php echo ($osj2Dapplications->application_file_name->AdvancedSearch->SearchOperator=="NOT LIKE")?" selected":"" ?>>not contains</option><option value="STARTS WITH"<?php echo ($osj2Dapplications->application_file_name->AdvancedSearch->SearchOperator=="STARTS WITH")?" selected":"" ?>>starts with</option></select></span></td>
- <td<?php echo $osj2Dapplications->application_file_name->CellAttributes() ?>><span class="phpmaker">
- <input type="text" name="x_application_file_name" id="x_application_file_name" title="Resume Attachment Filename" size="30" maxlength="255" value="<?php echo $osj2Dapplications->application_file_name->EditValue ?>"<?php echo $osj2Dapplications->application_file_name->EditAttributes() ?>>
- </span></td>
- </tr>
- </table>
- <p>
- <input type="submit" name="Action" id="Action" value=" Search ">
- <input type="button" name="Reset" id="Reset" value=" Reset " onclick="ew_ClearForm(this.form);">
- </form>
- <script language="JavaScript" type="text/javascript">
- <!--
-
- // Write your table-specific startup script here
- // document.write("page loaded");
- //-->
-
- </script>
- <?php include "osj-footer.php" ?>
- <?php
-
- // If control is passed here, simply terminate the page without redirect
- Page_Terminate();
-
- // -----------------------------------------------------------------
- // Subroutine Page_Terminate
- // - called when exit page
- // - clean up connection and objects
- // - if url specified, redirect to url, otherwise end response
- function Page_Terminate($url = "") {
- global $conn;
-
- // Page unload event, used in current page
- Page_Unload();
-
- // Global page unloaded event (in userfn*.php)
- Page_Unloaded();
-
- // Close Connection
- $conn->Close();
-
- // Go to url if specified
- if ($url <> "") {
- ob_end_clean();
- header("Location: $url");
- }
- exit();
- }
- ?>
- <?php
-
- // Build advanced search
- function BuildAdvancedSearch() {
- global $osj2Dapplications;
- $sSrchUrl = "";
-
- // Field application_id
- BuildSearchUrl($sSrchUrl, $osj2Dapplications->application_id, @$_POST["x_application_id"], @$_POST["z_application_id"], @$_POST["v_application_id"], @$_POST["y_application_id"], @$_POST["w_application_id"]);
-
- // Field user_id
- BuildSearchUrl($sSrchUrl, $osj2Dapplications->user_id, @$_POST["x_user_id"], @$_POST["z_user_id"], @$_POST["v_user_id"], @$_POST["y_user_id"], @$_POST["w_user_id"]);
-
- // Field resume_id
- BuildSearchUrl($sSrchUrl, $osj2Dapplications->resume_id, @$_POST["x_resume_id"], @$_POST["z_resume_id"], @$_POST["v_resume_id"], @$_POST["y_resume_id"], @$_POST["w_resume_id"]);
-
- // Field post_id
- BuildSearchUrl($sSrchUrl, $osj2Dapplications->post_id, @$_POST["x_post_id"], @$_POST["z_post_id"], @$_POST["v_post_id"], @$_POST["y_post_id"], @$_POST["w_post_id"]);
-
- // Field application_date
- BuildSearchUrl($sSrchUrl, $osj2Dapplications->application_date, ew_UnFormatDateTime(@$_POST["x_application_date"],6), @$_POST["z_application_date"], @$_POST["v_application_date"], ew_UnFormatDateTime(@$_POST["y_application_date"],6), @$_POST["w_application_date"]);
-
- // Field application_email
- BuildSearchUrl($sSrchUrl, $osj2Dapplications->application_email, @$_POST["x_application_email"], @$_POST["z_application_email"], @$_POST["v_application_email"], @$_POST["y_application_email"], @$_POST["w_application_email"]);
-
- // Field application_text
- BuildSearchUrl($sSrchUrl, $osj2Dapplications->application_text, @$_POST["x_application_text"], @$_POST["z_application_text"], @$_POST["v_application_text"], @$_POST["y_application_text"], @$_POST["w_application_text"]);
-
- // Field application_file_name
- BuildSearchUrl($sSrchUrl, $osj2Dapplications->application_file_name, @$_POST["x_application_file_name"], @$_POST["z_application_file_name"], @$_POST["v_application_file_name"], @$_POST["y_application_file_name"], @$_POST["w_application_file_name"]);
- return $sSrchUrl;
- }
-
- // Function to build search URL
- function BuildSearchUrl(&$Url, &$Fld, $FldVal, $FldOpr, $FldCond, $FldVal2, $FldOpr2) {
- $sWrk = "";
- $FldParm = substr($Fld->FldVar, 2);
- $FldVal = ew_StripSlashes($FldVal);
- if (is_array($FldVal)) $FldVal = implode(",", $FldVal);
- $FldVal2 = ew_StripSlashes($FldVal2);
- if (is_array($FldVal2)) $FldVal2 = implode(",", $FldVal2);
- $FldOpr = strtoupper(trim($FldOpr));
- if ($FldOpr == "BETWEEN") {
- $IsValidValue = ($Fld->FldDataType <> EW_DATATYPE_NUMBER) ||
- ($Fld->FldDataType == EW_DATATYPE_NUMBER && is_numeric($FldVal) && is_numeric($FldVal2));
- if ($FldVal <> "" && $FldVal2 <> "" && $IsValidValue) {
- $sWrk = "x_" . $FldParm . "=" . urlencode($FldVal) .
- "&y_" . $FldParm . "=" . urlencode($FldVal2) .
- "&z_" . $FldParm . "=" . urlencode($FldOpr);
- }
- } elseif ($FldOpr == "IS NULL" || $FldOpr == "IS NOT NULL") {
- $sWrk = "x_" . $FldParm . "=" . urlencode($FldVal) .
- "&z_" . $FldParm . "=" . urlencode($FldOpr);
- } else {
- $IsValidValue = ($Fld->FldDataType <> EW_DATATYPE_NUMBER) ||
- ($Fld->FldDataType = EW_DATATYPE_NUMBER && is_numeric($FldVal));
- if ($FldVal <> "" && $IsValidValue && ew_IsValidOpr($FldOpr, $Fld->FldDataType)) {
- $sWrk = "x_" . $FldParm . "=" . urlencode($FldVal) .
- "&z_" . $FldParm . "=" . urlencode($FldOpr);
- }
- $IsValidValue = ($Fld->FldDataType <> EW_DATATYPE_NUMBER) ||
- ($Fld->FldDataType = EW_DATATYPE_NUMBER && is_numeric($FldVal2));
- if ($FldVal2 <> "" && $IsValidValue && ew_IsValidOpr($FldOpr2, $Fld->FldDataType)) {
- if ($sWrk <> "") $sWrk .= "&v_" . $FldParm . "=" . urlencode($FldCond) . "&";
- $sWrk .= "&y_" . $FldParm . "=" . urlencode($FldVal2) .
- "&w_" . $FldParm . "=" . urlencode($FldOpr2);
- }
- }
- if ($sWrk <> "") {
- if ($Url <> "") $Url .= "&";
- $Url .= $sWrk;
- }
- }
- ?>
- <?php
-
- // Render row values based on field settings
- function RenderRow() {
- global $conn, $Security, $osj2Dapplications;
-
- // Call Row Rendering event
- $osj2Dapplications->Row_Rendering();
-
- // Common render codes for all row types
- if ($osj2Dapplications->RowType == EW_ROWTYPE_VIEW) { // View row
- } elseif ($osj2Dapplications->RowType == EW_ROWTYPE_ADD) { // Add row
- } elseif ($osj2Dapplications->RowType == EW_ROWTYPE_EDIT) { // Edit row
- } elseif ($osj2Dapplications->RowType == EW_ROWTYPE_SEARCH) { // Search row
-
- // application_id
- $osj2Dapplications->application_id->EditCustomAttributes = "";
- $osj2Dapplications->application_id->EditValue = ew_HtmlEncode($osj2Dapplications->application_id->AdvancedSearch->SearchValue);
-
- // user_id
- $osj2Dapplications->user_id->EditCustomAttributes = "";
- if (!$Security->IsAdmin() && $Security->IsLoggedIn()) { // Non system admin
- $osj2Dapplications->user_id->AdvancedSearch->SearchValue = $Security->CurrentUserID();
- $osj2Dapplications->user_id->EditValue = $osj2Dapplications->user_id->AdvancedSearch->SearchValue;
- $osj2Dapplications->user_id->CssStyle = "";
- $osj2Dapplications->user_id->CssClass = "";
- $osj2Dapplications->user_id->ViewCustomAttributes = "";
- } else {
- $osj2Dapplications->user_id->EditValue = ew_HtmlEncode($osj2Dapplications->user_id->AdvancedSearch->SearchValue);
- }
-
- // resume_id
- $osj2Dapplications->resume_id->EditCustomAttributes = "";
- $sSqlWrk = "SELECT `resume_id`, `resume_title` FROM `osj-resumes`";
- $sSqlWrk .= " WHERE (" . "`user_id` = ".CurrentUserID()."" . ")";
- $sSqlWrk .= " ORDER BY `resume_title` Asc";
- $rswrk = $conn->Execute($sSqlWrk);
- $arwrk = ($rswrk) ? $rswrk->GetRows() : array();
- if ($rswrk) $rswrk->Close();
- array_unshift($arwrk, array("", "Please Select"));
- $osj2Dapplications->resume_id->EditValue = $arwrk;
-
- // post_id
- $osj2Dapplications->post_id->EditCustomAttributes = "";
- $osj2Dapplications->post_id->EditValue = ew_HtmlEncode($osj2Dapplications->post_id->AdvancedSearch->SearchValue);
-
- // application_date
- $osj2Dapplications->application_date->EditCustomAttributes = "";
- $osj2Dapplications->application_date->EditValue = ew_HtmlEncode(ew_FormatDateTime($osj2Dapplications->application_date->AdvancedSearch->SearchValue, 6));
-
- // application_email
- $osj2Dapplications->application_email->EditCustomAttributes = "";
- $osj2Dapplications->application_email->EditValue = ew_HtmlEncode($osj2Dapplications->application_email->AdvancedSearch->SearchValue);
-
- // application_text
- $osj2Dapplications->application_text->EditCustomAttributes = "";
- $osj2Dapplications->application_text->EditValue = ew_HtmlEncode($osj2Dapplications->application_text->AdvancedSearch->SearchValue);
-
- // application_file_name
- $osj2Dapplications->application_file_name->EditCustomAttributes = "";
- $osj2Dapplications->application_file_name->EditValue = ew_HtmlEncode($osj2Dapplications->application_file_name->AdvancedSearch->SearchValue);
- }
-
- // Call Row Rendered event
- $osj2Dapplications->Row_Rendered();
- }
- ?>
- <?php
-
- // Load advanced search
- function LoadAdvancedSearch() {
- global $osj2Dapplications;
- $osj2Dapplications->application_id->AdvancedSearch->SearchValue = $osj2Dapplications->getAdvancedSearch("x_application_id");
- $osj2Dapplications->user_id->AdvancedSearch->SearchValue = $osj2Dapplications->getAdvancedSearch("x_user_id");
- $osj2Dapplications->resume_id->AdvancedSearch->SearchValue = $osj2Dapplications->getAdvancedSearch("x_resume_id");
- $osj2Dapplications->post_id->AdvancedSearch->SearchValue = $osj2Dapplications->getAdvancedSearch("x_post_id");
- $osj2Dapplications->application_date->AdvancedSearch->SearchValue = $osj2Dapplications->getAdvancedSearch("x_application_date");
- $osj2Dapplications->application_date->AdvancedSearch->SearchOperator = $osj2Dapplications->getAdvancedSearch("z_application_date");
- $osj2Dapplications->application_email->AdvancedSearch->SearchValue = $osj2Dapplications->getAdvancedSearch("x_application_email");
- $osj2Dapplications->application_text->AdvancedSearch->SearchValue = $osj2Dapplications->getAdvancedSearch("x_application_text");
- $osj2Dapplications->application_file_name->AdvancedSearch->SearchValue = $osj2Dapplications->getAdvancedSearch("x_application_file_name");
- $osj2Dapplications->application_file_name->AdvancedSearch->SearchOperator = $osj2Dapplications->getAdvancedSearch("z_application_file_name");
- }
- ?>
- <?php
-
- // Page Load event
- function Page_Load() {
-
- //echo "Page Load";
- }
-
- // Page Unload event
- function Page_Unload() {
-
- //echo "Page Unload";
- }
- ?>