Exemple #1
0
} elseif ($com == 'search') {
    if ($search_type == 'Enterprise') {
        require_once "includes/form_bus_search.html";
    } else {
        $tag = $permit_type;
        require_once "includes/form_owner_search.html";
    }
} elseif ($bussearch == ' S E A R C H ') {
    include_once "class/BusinessEstablishmentClass.php";
    $getbus = new BusinessEstablishment();
    if ($srch_frm == 1) {
        $getbus->GetBusinessByName($search_bus, $search_branch);
    } elseif ($srch_frm == 2) {
        $getbus->GetBusinessByNameCTC($search_bus, $search_branch);
    } elseif ($srch_frm == 3) {
        $getbus->GetBusinessByOnline($search_bus, $search_branch, $owner_id);
    }
    $getcn = $getbus->outnumrow;
    if ($getcn == 0) {
        $datarow[2] = $search_bus;
        require "ebpls1224.php";
        ?>
		<body onload='javascript:alert("No record found for this business");'></body>
	<?php 
    } else {
        require_once "includes/form_bus_search.html";
        ?>
<input type=hidden name=genpin  value='<?php 
        echo $genpin;
        ?>
'>
Exemple #2
0
    require_once "ebpls1224.php";
} elseif ($com == 'search') {
    if ($search_type == 'Enterprise') {
        require_once "includes/form_bus_search.html";
    } else {
        require_once "includes/form_owner_search.html";
    }
} elseif ($bussearch == ' S E A R C H ') {
    include_once "class/BusinessEstablishmentClass.php";
    $getbus = new BusinessEstablishment();
    if ($srch_frm == 1) {
        $getbus->GetBusinessByName($search_bus, $search_branch);
    } elseif ($srch_frm == 2) {
        $getbus->GetBusinessByNameCTC($search_bus, $search_branch);
    } elseif ($srch_frm == 3) {
        $getbus->GetBusinessByOnline($search_bus, $search_branch);
    }
    $getcn = $getbus->outnumrow;
    if ($getcn == 0) {
        $datarow[2] = $search_bus;
        require "ebpls1224.php";
        ?>
		<body onload='javascript:alert("No record found for this business");'></body>
	<?php 
    } else {
        require_once "includes/form_bus_search.html";
        ?>
<input type=hidden name=genpin  value='<?php 
        echo $genpin;
        ?>
'>