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

PHP getExtraParams函数代码示例

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

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



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

示例1: getUserSessionObj

// include the site constants
include_once "Constants.php";
// include the for parameter helper
include_once "GetFormParams.php";
// include the form element helpers
include_once "FormsUtil.php";
// include the pulldown helpers
include_once "Pulldown.php";
// get the user session helper object
include_once 'UserHelper.php';
// include the dump utils
include_once 'DumpUtils.php';
// get the user info object from the session
$userInfo = getUserSessionObj();
// get whether they clicked proceed or poosible funding info
getExtraParams(array("CompanyID", "MergerID", "Refresh", "FundingID", "AddMerger", "Source", "StateID", "State", "Amount", "Date", "Source", "Remove"));
// did we get a company name
if (isset($CompanyID)) {
    // get the company name
    $companyName = getCompanyName($CompanyID);
    // set the title name to be displayed in the header
    $title = "Merger data for company: " . $companyName;
} else {
    $title = "Merger data";
}
// add the jqx workflow list script which generates the jqxgrid
$scripts = "<script type=\"text/javascript\" src=\"CompanyMerger.js\" />";
// is this a post to add a new funding
if (isset($AddMerger)) {
    // validation
    if (isset($CompanyID) && !empty($CompanyID)) {
开发者ID:zekuny,项目名称:RTPUI,代码行数:31,代码来源:CompanyMerger.php


示例2: getUserSessionObj

 */
// include the site constants
include_once "Constants.php";
// include the for parameter helper
include_once "GetFormParams.php";
// include the form element helpers
include_once "FormsUtil.php";
// get the user session helper object
include_once 'UserHelper.php';
// get the user info object from the session
$userInfo = getUserSessionObj();
// init the validation variables
$validationMessage = 'Functionality not implemented yet';
$validated = true;
// get whether they clicked proceed or possible company info
getExtraParams(array("Refresh"));
// set the title name to be displayed in the header
$title = "Executive data";
// add the jqx workflow list script which generates the jqxgrid
$scripts = "<script type=\"text/javascript\" src=\"Executive.js\" />";
// output the basic header HTML
include "../Includes/header.php";
// message for the user on post operations
if (isset($validationMessage) && !empty($validationMessage)) {
    echo '<div class="' . ($validated == true ? 'info' : 'err') . '">' . $validationMessage . '</div>';
}
// create a new form
echo '<form action="Executive.php" method="post">';
// create the section header
echo '<div class="row show-grid">';
// create grid column
开发者ID:zekuny,项目名称:RTPUI,代码行数:31,代码来源:Executive.php


示例3: getUserSessionObj

// get the dump utils
include_once 'DumpUtils.php';
// include the founder object
include_once "Funding.cls.php";
include_once "Financing.cls.php";
include_once "Company.cls.php";
// include the pulldown helper funcs
include_once "Pulldown.php";
$scripts = "<script type=\"text/javascript\" src=\"FundingDetails.js\" />";
// get the user info object from the session
$userInfo = getUserSessionObj();
// init the validation variables
$validationMessage = '';
$validated = true;
// get whether they clicked proceed or form variables
getExtraParams(array("CompanyID", "IPODate", "date", "IPOValue", "IPORaised", "Date", "Amount", "FinancingType", "FinancingProvider1", "FinancingProvider2", "FinancingProvider3", "FinancingProvider4", "Update", "FundingID", "FundingSourceID", "FundingSource", "FundingTypeID", "FundingType", "AwardDate", "AwardAmount", "Comment", "DataSource", "AwdDate", "PrivateFinancingType", "PFAmount", "PFSource", "PublicProgramType", "Announcement", "AISource", "RealizeIPO", "IPODetails", "IPOSource", "PublicProgramSource", "PublicProgramAmount"));
// set the title name to be displayed in the header
$title = "Funding Detail Information";
// add flag to detect pages that need update messages
$DirtyPageEnabled = true;
// the update button was hit
if (isset($Update)) {
    // create a new founder object
    $fundingObj = new Funding();
    $financingObj = new Financing();
    $companyObj = new Company();
    //Company
    $companyObj->CompanyID = sqlEscapeString($CompanyID);
    $companyObj->IPODate = sqlEscapeString($IPODate);
    $companyObj->IPOValue = sqlEscapeString($IPOValue);
    $companyObj->IPORaised = nullpulldown($IPORaised);
开发者ID:zekuny,项目名称:RTPUI,代码行数:31,代码来源:FundingDetails.php


示例4: getUserSessionObj

// include the site constants
include_once "Constants.php";
// include the for parameter helper
include_once "GetFormParams.php";
// include the form element helpers
include_once "FormsUtil.php";
// include the pulldown helpers
include_once "Pulldown.php";
// get the user session helper object
include_once 'UserHelper.php';
// include the dump utils
include_once 'DumpUtils.php';
// get the user info object from the session
$userInfo = getUserSessionObj();
// get whether they clicked proceed or poosible funding info
getExtraParams(array("CompanyID", "Refresh", "AddEvent", "Source", "Notes", "EEventID", "EventType", "EventMarket", "EventCategory", "EID", "ETypeID", "EventDate", "Amount", "Benificiary", "SourceID", "MarketID", "Comment", "CategoryID", "Remove"));
// did we get a company name
if (isset($CompanyID)) {
    // get the company name
    $companyName = getCompanyName($CompanyID);
    // set the title name to be displayed in the header
    $title = "Event data for company: " . $companyName . ". Company ID: " . $CompanyID;
} else {
    $title = "Event data";
}
// add the jqx workflow list script which generates the jqxgrid
$scripts = "<script type=\"text/javascript\" src=\"CompanyEvent.js\" />";
// is this a post to add a new funding
if (isset($AddEvent)) {
    // validation
    if (isset($CompanyID) && !empty($CompanyID)) {
开发者ID:zekuny,项目名称:RTPUI,代码行数:31,代码来源:CompanyEvent.php


示例5: getUserSessionObj

// include the site constants
include_once "Constants.php";
// include the for parameter helper
include_once "GetFormParams.php";
// include the form element helpers
include_once "FormsUtil.php";
// include the pulldown helpers
include_once "Pulldown.php";
// get the user session helper object
include_once 'UserHelper.php';
// include the dump utils
include_once 'DumpUtils.php';
// get the user info object from the session
$userInfo = getUserSessionObj();
// get whether they clicked proceed or poosible funding info
getExtraParams(array("CompanyID", "IPODate", "IPOValue", "IPORaised", "Date", "Amount", "FinancingType", "FinancingProvider1", "FinancingProvider2", "FinancingProvider3", "FinancingProvider4", "DataSource", "MergerState", "MergerAmount", "MergerDate", "MergerSource", "AcquisitionSource", "AcquisitionAmount", "AcquisitionDate", "Refresh", "AddFunding", "AddSelectedFunding", "FundingID", "FundingSourceID", "FundingSource", "FundingTypeID", "FundingType", "AwardDate", "AwardAmount", "Comment", "Remove"));
// did we get a company name
if (isset($CompanyID)) {
    // get the company name
    $companyName = getCompanyName($CompanyID);
    // set the title name to be displayed in the header
    $title = "Funding data for company: " . $companyName . ". Company ID: " . $CompanyID;
} else {
    $title = "Funding data";
}
// add the jqx workflow list script which generates the jqxgrid
$scripts = "<script type=\"text/javascript\" src=\"CompanyFunding.js\" />";
// is this a post to add a new funding
if (isset($AddFunding)) {
    // validation
    if (isset($CompanyID) && !empty($CompanyID)) {
开发者ID:zekuny,项目名称:RTPUI,代码行数:31,代码来源:CompanyFunding.php


示例6: getUserSessionObj

include_once "FormsUtil.php";
// get the user session helper object
include_once 'UserHelper.php';
// get the dump utils
include_once 'DumpUtils.php';
// include the company object
include_once "Company.cls.php";
// include the pulldown helpers
include_once "Pulldown.php";
// get the user info object from the session
$userInfo = getUserSessionObj();
// init the validation variables
$validationMessage = '';
$validated = true;
// get whether they clicked proceed or form variables
getExtraParams(array("Update", "Delete", "CompanyAddressSource", "EstaEntryLoc", "EntryType", "CompanyID", "NewCompanyID", "CheckWebsite", "CompanyName", "Year", "YearID", "SOSID", "Phone", "EntryTypeGroup", "TLOAffiliation", "IFUniAffiliation", "RTPAnchor", "TLOSource", "Email", "C_Remark", "AdditionalSOSID", "Website", "SourceForCompany", "Establishment", "CompanyDescription", "SourceID", "CurrStreet", "CurrCity", "CurrState", "CurrZip", "CompanyNameSource", "CompanyYearSource", "CompanyDescriptionSource", "ParentCompany", "Subsidiary", "EModeID", "SectorID", "SubSectorID", "Technology", "TypeID", "MarketID", "SourceID", "HqOrigin", "HqCurrent", "EnteredNC", "AcquiredBool", "AcquiredDate", "AcquiredBy", "AcquiredValue", "IPOBool", "IPODate", "IPOValue", "IPORaised", "ClosureBool", "ClosureDate", "ActiveBool", "LocationType", "OrigCity", "OrigState", "OrigStreet", "OrigZip", "MailingAddress", "AlternatePhone", "Fax", "Inc_DE", "RTP", "MoveoutNC", "EntryTypeSource", "EstEntryLocationSource", "MoveoutDate", "AffiliationType", "DUNS", "AffiliationID", "ClosureDataSource", "ClosureType"));
// set the title name to be displayed in the header
$title = "Company Detail Information";
$scripts = "<script type=\"text/javascript\" src=\"CompanyDetails.js\" />";
// add flag to detect pages that need update messages
$DirtyPageEnabled = true;
function mssql_escape($data)
{
    if (is_numeric($data)) {
        return $data;
    }
    $unpacked = unpack('H*hex', $data);
    return '0x' . $unpacked['hex'];
}
if (isset($Delete)) {
    doDeleteCompany($CompanyID);
开发者ID:zekuny,项目名称:RTPUI,代码行数:31,代码来源:CompanyDetails.php


示例7: getUserSessionObj

// include the site constants
include_once "Constants.php";
// include the for parameter helper
include_once "GetFormParams.php";
// include the form element helpers
include_once "FormsUtil.php";
// include the pulldown helpers
include_once "Pulldown.php";
// get the user session helper object
include_once 'UserHelper.php';
// include the dump utils
include_once 'DumpUtils.php';
// get the user info object from the session
$userInfo = getUserSessionObj();
// get whether they clicked proceed or poosible funding info
getExtraParams(array("CompanyID", "Refresh", "AddFunding", "EventSource", "EventType", "EventMarket", "EventCategory", "ID", "TypeID", "EventDate", "Amount", "Benificiary", "SourceID", "MarketID", "Comment", "CategoryID", "Remove"));
// did we get a company name
if (isset($CompanyID)) {
    // get the company name
    $companyName = getCompanyName($CompanyID);
    // set the title name to be displayed in the header
    $title = "Event data for company: " . $companyName;
} else {
    $title = "Event data";
}
// add the jqx workflow list script which generates the jqxgrid
$scripts = "<script type=\"text/javascript\" src=\"CompanyEvent.js\" />";
// is this a post to add a new funding
if (isset($AddEvent)) {
    // validation
    if (isset($CompanyID) && !empty($CompanyID)) {
开发者ID:zekuny,项目名称:RTPUI,代码行数:31,代码来源:Events.php


示例8: getUserSessionObj

include_once "FormsUtil.php";
// get the user session helper object
include_once 'UserHelper.php';
// get the dump utils
include_once 'DumpUtils.php';
// include the founder object
include_once "Founder.cls.php";
include_once "FounderEdu.cls.php";
// include the pulldown helper funcs
include_once "Pulldown.php";
// add the jqx workflow list script which generates the jqxgrid
$scripts = "<script type=\"text/javascript\" src=\"FounderDetails.js\" />";
// get the user info object from the session
$userInfo = getUserSessionObj();
// get whether they clicked proceed or form variables
getExtraParams(array("Update", "NameSource", "ContactInfoSource", "HomepageSource", "Delete", "WorkHisID", "Number", "WorkHisDetail", "PositionHeld", "Seniority", "Position_Domain", "W_From", "W_To", "Industry", "GraduatedYr", "Sector", "DegreeLookupID", "FounderEduID", "NewDegreeFrom", "NewMajor", "NewGraduatedYr", "FounderID", "CompanyID", "FirstName", "MidInitial", "LastName", "Suffix", "PhoneNumber", "Email", "Homepage", "F_Remark", "Other_Name"));
// set the title name to be displayed in the header
$title = "Founder Detail Information";
$scripts = "<script type=\"text/javascript\" src=\"FounderDetails.js\" />";
// add flag to detect pages that need update messages
$DirtyPageEnabled = true;
//if(isset($Delete)){
//doDeleteFounder($FounderID);
//header('Location: founders.php');
//}
// the update button was hit
if (isset($Update)) {
    // create a new founder object
    $founderObj = new Founder();
    // load the founder object with the page parameters
    $founderObj->FounderID = $FounderID;
开发者ID:zekuny,项目名称:RTPUI,代码行数:31,代码来源:FounderDetails.php


示例9: getUserSessionObj

 *
 * For questions, comments please contact [email protected]
 *
 */
// include the site constants
include_once "Constants.php";
// include the workflow step parameter boilerplate helper
include_once "GetFormParams.php";
// include the form element helpers
include_once "FormsUtil.php";
// get the user session helper object
include_once 'UserHelper.php';
// get the user info object from the session
$userInfo = getUserSessionObj();
// get whether they clicked proceed and a possible RBP database ID
getExtraParams(array("NewList", "Refresh", "Name", "Description", "Version"));
// set the title name to be displayed in the header
$title = "Diagnostic List Overview";
// add the jqx workflow list script which generates the jqxgrid
$scripts = "<script type=\"text/javascript\" src=\"../Overview/Overview.js\" />";
// preset validation flag
$validated = true;
if (isset($Refresh)) {
    // clear all previous data
    $Name = '';
    $Description = '';
    $Version = '';
} else {
    if (isset($NewList)) {
        // validate the parameters
        if (isset($Name) && !empty($Name) && isset($Description) && !empty($Description) && isset($Version) && !empty($Version) && is_numeric($Version)) {
开发者ID:zekuny,项目名称:RTPUI,代码行数:31,代码来源:OverviewJQX.php


示例10: getUserSessionObj

// include the site constants
include_once "Constants.php";
// include the for parameter helper
include_once "GetFormParams.php";
// include the form element helpers
include_once "FormsUtil.php";
// include the pulldown helpers
include_once "Pulldown.php";
// get the user session helper object
include_once 'UserHelper.php';
// include the dump utils
include_once 'DumpUtils.php';
// get the user info object from the session
$userInfo = getUserSessionObj();
// get whether they clicked proceed or poosible funding info
getExtraParams(array("CompanyID", "ID", "Refresh", "AddSectors", "SectorID", "SubSector1ID", "SubSector2ID", "Remove"));
// did we get a company name
if (isset($CompanyID)) {
    // get the company name
    $companyName = getCompanyName($CompanyID);
    // set the title name to be displayed in the header
    $title = "Sector data for company: " . $companyName . ". Company ID: " . $CompanyID;
} else {
    $title = "Funding data";
}
// add the jqx workflow list script which generates the jqxgrid
$scripts = "<script type=\"text/javascript\" src=\"CompanySectors.js\" />";
// is this a post to add a new funding
if (isset($AddSectors)) {
    // validate that the alias name is good
    if (isset($SectorID) && !empty($SectorID) && isset($SubSector1ID) && !empty($SubSector1ID) && isset($SubSector2ID) && !empty($SubSector2ID)) {
开发者ID:zekuny,项目名称:RTPUI,代码行数:31,代码来源:CompanySectors.php


示例11: getUserSessionObj

include_once "GetFormParams.php";
// include the form element helpers
include_once "FormsUtil.php";
// include the pulldown helpers
include_once "Pulldown.php";
// get the user session helper object
include_once 'UserHelper.php';
// include the dump utils
include_once 'DumpUtils.php';
// get the user info object from the session
$userInfo = getUserSessionObj();
// init the validation variables
$validationMessage = '';
$validated = true;
// save the posted page values
getExtraParams(array("AddFundingSource", "AddFundingType", "SourceID", "SourceName", "TypeID", "TypeName"));
// set the title name to be displayed in the header
$title = "Funding Source and Funding Type List";
// add the jqx workflow list script which generates the jqxgrid
$scripts = "<script type=\"text/javascript\" src=\"Funding.js\" />";
// is this a post to add a new founder
if (isset($AddFundingSource)) {
    // validation
    if (isset($SourceName) && !empty($SourceName)) {
        // check for a duplucate name or prev/other name
        $retVal = checkForDuplicateSourceName($SourceName);
        // was this a new founder
        if ($retVal[0] == false) {
            // get the founder object definition loaded
            include_once "FundingSource.cls.php";
            // create a new founder object
开发者ID:zekuny,项目名称:RTPUI,代码行数:31,代码来源:Funding.php


示例12: getUserSessionObj

include_once "FormsUtil.php";
// get the user session helper object
include_once 'UserHelper.php';
// get the dump utils
include_once 'DumpUtils.php';
// include the founder object
include_once "FounderEdu.cls.php";
include_once "Founder.cls.php";
// include the pulldown helper funcs
include_once "Pulldown.php";
// add the jqx workflow list script which generates the jqxgrid
$scripts = "<script type=\"text/javascript\" src=\"FounderDetails.js\" />";
// get the user info object from the session
$userInfo = getUserSessionObj();
// get whether they clicked proceed or form variables
getExtraParams(array("Update", "DegreeLookupID", "FounderEduID", "NewDegreeFrom", "NewDegreeType", "NewMajor", "NewGraduatedYr", "FounderID", "CompanyID"));
// set the title name to be displayed in the header
$title = "Founder Education Information";
$scripts = "<script type=\"text/javascript\" src=\"FounderEdu.js\" />";
// add flag to detect pages that need update messages
$DirtyPageEnabled = true;
// the update button was hit
if (isset($Update)) {
    // validate that the education data is good
    if (1) {
        // create a new founderEdu object
        $founderEduObj = new FounderEdu();
        //load the FounderEdu object with the page parameters
        //$founderEduObj->FounderEduID = NULL;
        $founderEduObj->FounderID = $FounderID;
        $founderEduObj->DegreeFrom = sqlEscapeString($NewDegreeFrom);
开发者ID:zekuny,项目名称:RTPUI,代码行数:31,代码来源:FounderEdu.php


示例13: getUserSessionObj

// include the site constants
include_once "Constants.php";
// include the for parameter helper
include_once "GetFormParams.php";
// include the form element helpers
include_once "FormsUtil.php";
// get the user session helper object
include_once 'UserHelper.php';
// include the dump utils
include_once 'DumpUtils.php';
// include the pulldown helpers
include_once "Pulldown.php";
// get the user info object from the session
$userInfo = getUserSessionObj();
// get whether they clicked proceed and a possible RBP database ID
getExtraParams(array("validationMessage", "CompanyData", "FoundersData", "FundingData", "NoteData", "ProductData", "ExecutiveData", "EventData", "SearchCompanyName", "SearchCompany", "companySelect", "ViewSelectedCompany", "CompanySearchResult"));
// set the title name to be displayed in the header
$title = "Enter Company ID";
$scripts = "<script type=\"text/javascript\" src=\"EnterCompanyID.js\" />";
if (isset($SearchCompany)) {
    // validation
    if (isset($SearchCompanyName) && !empty($SearchCompanyName)) {
        // search for company names
        $retVal = searchForCompanyName(sqlEscapeString($SearchCompanyName));
        // companies found
        if ($retVal[0]) {
            // set the validation error flag
            $validated = false;
            // reset the validation error message
            $validationMessage = '';
            // save the search results
开发者ID:zekuny,项目名称:RTPUI,代码行数:31,代码来源:EnterCompanyID.php


示例14: getUserSessionObj

// include the site constants
include_once "Constants.php";
// include the for parameter helper
include_once "GetFormParams.php";
// include the form element helpers
include_once "FormsUtil.php";
// include the pulldown helpers
include_once "Pulldown.php";
// get the user session helper object
include_once 'UserHelper.php';
// include the dump utils
include_once 'DumpUtils.php';
// get the user info object from the session
$userInfo = getUserSessionObj();
// get whether they clicked proceed or poosible funding info
getExtraParams(array("CompanyID", "ID", "Refresh", "AddTechnologies", "Technology", "Remove"));
// did we get a company name
if (isset($CompanyID)) {
    // get the company name
    $companyName = getCompanyName($CompanyID);
    // set the title name to be displayed in the header
    $title = "Technology data for company: " . $companyName . ". Company ID: " . $CompanyID;
} else {
    $title = "Technology data";
}
// add the jqx workflow list script which generates the jqxgrid
$scripts = "<script type=\"text/javascript\" src=\"CompanyTechnologies.js\" />";
// is this a post to add a new funding
if (isset($AddTechnologies)) {
    // validate that the alias name is good
    if (isset($Technology) && !empty($Technology)) {
开发者ID:zekuny,项目名称:RTPUI,代码行数:31,代码来源:CompanyTechnologies.php


示例15: getUserSessionObj

// include the site constants
include_once "Constants.php";
// include the for parameter helper
include_once "GetFormParams.php";
// include the form element helpers
include_once "FormsUtil.php";
// include the pulldown helpers
include_once "Pulldown.php";
// get the user session helper object
include_once 'UserHelper.php';
// include the dump utils
include_once 'DumpUtils.php';
// get the user info object from the session
$userInfo = getUserSessionObj();
// get whether they clicked proceed or poosible founder info
getExtraParams(array("CompanyName", "FounderID", "Refresh", "AddCompany", "CompanyForFounderPulldown", "SearchCompany", "SearchCompanyName", "companySelect", "CompanySearchResult", "AddSelectedCompany"));
$scripts = "<script type=\"text/javascript\" src=\"FounderCompany.js\" />";
$keyword = "'%" . $_POST['keyword'] . "%'";
//$sql = "SELECT top 50 * FROM Companies where CompanyName like " . $keyword . " order by CompanyID ASC";
$sql = "select distinct c.CompanyName from Companies c left join PreviousOtherNames p on c.CompanyID = p.CompanyID where ((c.CompanyName like " . $keyword . ") or (p.OtherName like " . $keyword . ")) order by c.CompanyName";
//$query = $pdo->prepare($sql);
//$query->bindParam(':keyword', $keyword, PDO::PARAM_STR);
//$query->execute();
include_once "SQLUtils.php";
$list = query($sql);
//$list = doGetCompanyList();
foreach ($list as $rs) {
    // put in bold the written text
    $company_name = str_replace($_POST['keyword'], '<b>' . $_POST['keyword'] . '</b>', $rs['CompanyName']);
    // add new option
    echo '<li onclick="set_item(\'' . str_replace("'", "\\'", $rs['CompanyName']) . '\')">' . $company_name . '</li>';
开发者ID:zekuny,项目名称:RTPUI,代码行数:31,代码来源:ajax_refresh.php


示例16: getUserSessionObj

// include the site constants
include_once "Constants.php";
// include the for parameter helper
include_once "GetFormParams.php";
// include the form element helpers
include_once "FormsUtil.php";
// get the user session helper object
include_once 'UserHelper.php';
// include the dump utils
include_once 'DumpUtils.php';
// include the pulldown helpers
include_once "Pulldown.php";
// get the user info object from the session
$userInfo = getUserSessionObj();
// get whether they clicked proceed or possible founder info
getExtraParams(array("CompanyID", "Refresh", "OtherName", "AddAlias", "CompanyName", "SearchCompanyName", "NewAliasName"));
// get the company name
$CompanyName = getCompanyName($CompanyID);
// set the title name to be displayed in the header
$title = "Associated Names for: " . $CompanyName . ". Company ID: " . $CompanyID;
// add the jqx workflow list script which generates the jqxgrid
$scripts = "<script type=\"text/javascript\" src=\"PreviousOtherNames.js\" />";
// was the add selected company button hit  MAKE COMPANY NAME GET ASSIGNED IN OTHERNAMES AND COMPANYID SET TO CURRENT ON SITE
if (isset($AddAlias)) {
    // validate that the alias name is good
    if (isset($NewAliasName) && !empty($NewAliasName)) {
        $NewAliasName = htmlspecialchars($NewAliasName, ENT_QUOTES);
        // create the SQL statement for the insert
        $sql = "EXEC dbo.CreatePreviousOtherName @CompanyID=" . $CompanyID . ", @OtherName=" . "'" . $NewAliasName . "'";
        // insert the record
        $result = nonQuery($sql);
开发者ID:zekuny,项目名称:RTPUI,代码行数:31,代码来源:PreviousOtherNames.php


示例17: getUserSessionObj

// include the site constants
include_once "Constants.php";
// include the for parameter helper
include_once "GetFormParams.php";
// include the form element helpers
include_once "FormsUtil.php";
// include the pulldown helpers
include_once "Pulldown.php";
// get the user session helper object
include_once 'UserHelper.php';
// include the dump utils
include_once 'DumpUtils.php';
// get the user info object from the session
$userInfo = getUserSessionObj();
// get whether they clicked proceed or poosible founder info
getExtraParams(array("FirstName", "MidInitial", "LastName"));
$scripts = "<script type=\"text/javascript\" src=\"Founder.js\" />";
//$keyword = "'%" . $_POST['keyword'] . "%'";
$firstName = htmlspecialchars($_POST['FirstName'], ENT_QUOTES);
$MidInitial = htmlspecialchars($_POST['MidInitial'], ENT_QUOTES);
$lastName = htmlspecialchars($_POST['LastName'], ENT_QUOTES);
//$keyword = "'%" . htmlspecialchars($_POST['keyword'], ENT_QUOTES) . "%'";
//$sql = "SELECT top 50 * FROM Companies where CompanyName like " . $keyword . " order by CompanyID ASC";
//$sql = "select distinct c.CompanyName from Companies c left join PreviousOtherNames p on c.CompanyID = p.CompanyID where ((c.CompanyName like " . $keyword . ") or (p.OtherName like " . $keyword . ")) order by c.CompanyName";
$sql = "EXEC dbo.checkForDuplicateFounderName @FirstName='" . $firstName . "'" . ", @LastName='" . $lastName . "'" . ", @MidInitial='" . $MidInitial . "'";
//$query = $pdo->prepare($sql);
//$query->bindParam(':keyword', $keyword, PDO::PARAM_STR);
//$query->execute();
include_once "SQLUtils.php";
$list = query($sql);
//$list = doGetCompanyList();
开发者ID:zekuny,项目名称:RTPUI,代码行数:31,代码来源:ajax_refresh2.php


示例18: getUserSessionObj

include_once 'UserHelper.php';
// get the dump utils
include_once 'DumpUtils.php';
// include the founder object
include_once "Acquisition.cls.php";
// include the pulldown helper funcs
include_once "Pulldown.php";
// add the jqx workflow list script which generates the jqxgrid
$scripts = "<script type=\"text/javascript\" src=\"AcquisitionDetails.js\" />";
// get the user info object from the session
$userInfo = getUserSessionObj();
// init the validation variables
$validationMessage = '';
$validated = true;
// get whether they clicked proceed or form variables
getExtraParams(array("CompanyID", "FundingID", "AcquisitionID", "Refresh", "Update", "AddAcquisition", "Source", "State", "Amount", "Date", "Source", "Remove"));
// set the title name to be displayed in the header
$title = "Acquisition Detail Information";
$scripts = "<script type=\"text/javascript\" src=\"AcquisitionDetails.js\" />";
// add flag to detect pages that need update messages
$DirtyPageEnabled = true;
// the update button was hit
if (isset($Update)) {
    // create a new founder object
    $acquisitionObj = new Acquisition();
    // load the founder object with the page parameters
    $acquisitionObj->AcquisitionID = sqlEscapeString($AcquisitionID);
    $acquisitionObj->CompanyID = sqlEscapeString($CompanyID);
    $acquisitionObj->Date = sqlEscapeString($Date);
    $acquisitionObj->Amount = sqlEscapeString($Amount);
    $acquisitionObj->Source = sqlEscapeString($Source);
开发者ID:zekuny,项目名称:RTPUI,代码行数:31,代码来源:AcquisitionDetails.php


示例19: getUserSessionObj

// include the site constants
include_once "Constants.php";
// include the for parameter helper
include_once "GetFormParams.php";
// include the form element helpers
include_once "FormsUtil.php";
// include the pulldown helpers
include_once "Pulldown.php";
// get the user session helper object
include_once 'UserHelper.php';
// include the dump utils
include_once 'DumpUtils.php';
// get the user info object from the session
$userInfo = getUserSessionObj();
// get whether they clicked proceed or poosible founder info
getExtraParams(array("CompanyID", "FounderID", "dupeSelect", "Refresh", "AddFounder", "AddSelectedFounder", "pageLink", "duplicatedFounder", "ViewSelectedFounder", "FirstName", "MidInitial", "LastName", "Suffix", "OtherName", "PhoneNumber", "Email", "Cur_Resident", "F_Remark", "VerifiedBy", "Homepage"));
// did we get a company name
if (isset($CompanyID)) {
    // get the company name
    $companyName = getCompanyName($CompanyID);
    // set the title name to be displayed in the header
    $title = "Founder data for company: " . $companyName . ". Company ID: " . $CompanyID;
} else {
    $title = "Founder data";
}
// add the jqx workflow list script which generates the jqxgrid
$scripts = "<script type=\"text/javascript\" src=\"Founder.js\" />";
// is this a post to add a new founder
if (isset($AddFounder)) {
    // validation
    if (isset($FirstName) && !empty($FirstName) && isset($LastName) && !empty($LastName) && isset($MidInitial)) {
开发者ID:zekuny,项目名称:RTPUI,代码行数:31,代码来源:Founder.php


示例20: getUserSessionObj

// include the for parameter helper
include_once "GetFormParams.php";
// include the form element helpers
include_once "FormsUtil.php";
include_once "SQLUtils.php";
// get the user session helper object
include_once 'UserHelper.php';
//get the checkbox bootstrap stuff
//include_once();
// get the user info object from the session
$userInfo = getUserSessionObj();
// init the validation variables
$validationMessage = '';
$validated = true;
// get whether they clicked proceed or form variables
getExtraParams(array("UpdateGrid", "CCompanyID", "inputCol", "Refresh", "ExportCSV", "AddCompany", "Description", "EstYear", "Update", "CompanyID", "CheckWebsite", "CompanyName", "Year", "YearID", "SOSID", "Phone", "Email", "C_Remark", "AdditionalSOSID", "Website", "SourceForCompany", "Establishment", "CompanyDescription", "SourceID", "CurrStreet", "CurrCity", "CurrState", "CurrZip", "CompanyNameSource", "CompanyYearSource", "CompanyDescriptionSource", "ParentCompany", "Subsidiary", "EModeID", "SectorID", "SubSector1ID", "SubSector2ID", "Technology", "TypeID", "MarketID", "SourceID", "HqOrigin", "HqCurrent", "EnteredNC", "AcquiredBool", "AcquiredDate", "AcquiredBy", "AcquiredValue", "IPOBool", "IPODate", "IPOValue", "IPORaised", "ClosureBool", "ClosureDate", "ActiveBool", "LocationType", "OrigCity", "OrigState", "OrigStreet", "OrigZip", "MailingAddress", "AlternatePhone", "Fax", "Inc_DE", "RTP", "MoveoutNC", "MoveoutDate", "AffiliationType", "DUNS", "UserName", "AffiliationID", "checkboxinfo", "fileContents", "Checkboxes", "rv", "replace", "replaceMessage", "validationMessage", "validated"));
function isCBChecked($arr, $index)
{
    if (isset($arr) && !empty($arr)) {
        if (is_array($arr)) {
            if (in_array($index, $arr)) {
                return "checked";
            } else {
                return '';
            }
        } else {
            if ($arr == $index) {
                return "checked";
            } else {
                return '';
            }
开发者ID:zekuny,项目名称:RTPUI,代码行数:31,代码来源:Company.php



注:本文中的getExtraParams函数示例整理自Github/MSDocs等源码及文档管理平台,相关代码片段筛选自各路编程大神贡献的开源项目,源码版权归原作者所有,传播和使用请参考对应项目的License;未经允许,请勿转载。


鲜花

握手

雷人

路过

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

请发表评论

全部评论

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

扫描微信二维码

查看手机版网站

随时了解更新最新资讯

139-2527-9053

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

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

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