Jump to content

Error message - Parse error: syntax error, unexpected $end on line 466


visitor

Recommended Posts

Hi

 

this problem drives me nuts... I'm searching for hours but can't locate the error (there's no $end on line 466, though!). Any idea, anyone? Your help is highly appreciated... thanks

 

<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Strict//EN" "http://www.w3.org/TR/xhtml1/DTD/xhtml1-strict.dtd">

<html xmlns="http://www.w3.org/1999/xhtml">

  <head>

  <title>Database</title>

 

  <meta http-equiv="Content-Type" content="text/html; charset=utf-8"/>

 

  <style type="text/css">

  a:link { font-family:Arial,Verdana,Helvetica,sans-serif; font-size:10pt; color:#FF0033; text-decoration:none }

  a:visited { font-family:Arial,Verdana,Helvetica,sans-serif; font-size:10pt; color:#FF0033; text-decoration:none }

  a:active { font-family:Arial,Verdana,Helvetica,sans-serif; font-size:10pt; color:#FF0033; text-decoration:none }

  body { font-family:Arial,Verdana,Helvetica,sans-serif; font-size:10pt; color:#605C88; text-align:center }

  table { font-family:Arial,Verdana,Helvetica,sans-serif; font-size:10pt; color:#605C88; text-align:justify }

  fieldset { font-family:Arial,Verdana,Helvetica,sans-serif; font-size:10pt; color:#605C88 }

 

  *{

    padding:0;

}

 

fieldset{

    width:590px;

    margin:3px auto;

    padding:3px;

    background: #FFFFFF;

}

 

td.fieldset

{

  text-align:right;

}

 

td.input

{

  float:left;

}

 

-->

</style>

</head>

 

 
<?php
require_once("connect_db.php");
?>

<body> 

<p><a href="index.html" target="_top"><img src="ZEIT8.jpg" border="0" alt="Click on this image to return to the index page"></a></p>

<table align="center" border="0" cellspacing="0" cellpadding="0" width="605px">
  <tr>
   <td align="left" width="79px" height="25px">DATABASE</td>
   
   <td align="left" width="59px" height="25px"> </td>
   
   <td align="center" width="60px" height="25px"><a href="stf-en.html" target="_top">FORMS</a></td>
   
   <td align="left" width="59px" height="25px"> </td>
   
   <td align="center" width="70px" height="25px"><a href="trading-en.html" target="_top">TRADING</a></td>
   
   <td align="left" width="59px" height="25px"> </td>
   
   <td align="center" width="85px" height="25px"><a href="transfer-en.html" target="_top">TRANSFER</a></td>
   
   <td align="left" width="59px" height="25px"> </td>
   
   <td align="right" width="75px" height="25px"><a href="support-en.html" target="_top">SUPPORT</a></td>
  </tr>
</table>
  <br>
   <br>
   
<div id="container">
<div id="content">
<form name="search_form" method="post" action="<?php echo $_SERVER['PHP_SELF']."?show_fund=1"?>">
<table width="605px" border="0">
  <tr>
    <td width="90px">Enter ISIN:</td>
    
    <td width="100px"><label>
    
  <div class="roundcorner_div"> <input type="text" class="roundcorner_textbox" name="ISIN" id="ISIN"/></div>
</label>
</td>
    <td width="40px"><input name="search_form_submit" type="submit" value="search"/></td>
    <td width="225px"> </td>
  </tr>
</table>
</form>

<?php
$exists=0;
if ( isset( $_POST["ISIN"] ) )
{
$my_fund = get_fund($_POST["ISIN"]);
if ( $my_fund == NULL )
 echo "Unfortunately this ISIN doesn't exist in our database!";
else if ( $my_fund=="Duplicate Entry!!!, please check database" ) 
	echo $my_fund;
else 
	$exists=1;
if ( $exists)
{
	$investment_detail = mysql_query("SELECT * FROM investment_details WHERE funds_id=".$my_fund->funds_id);
	$investment_detail = mysql_fetch_object($investment_detail);
	$subscription_fee = mysql_fetch_object("SELECT * FROM subscription_fee WHERE funds_id=".$my_fund->funds_id);
	$subscription_fee = mysql_fetch_object($subscription_fee);
	$redemption_details = mysql_query("SELECT * FROM redemption_details WHERE funds_id=".$my_fund->funds_id);
	$redemption_details = mysql_fetch_object($redemption_details);
	$redemption_fees = mysql_query("SELECT * FROM redemption_fees WHERE funds_id=".$my_fund->funds_id);
	$redemption_fees = mysql_fetch_object($redemption_fees);
	$transfer_agent = mysql_query("SELECT * FROM transfer_agent WHERE transfer_agent_id=".$my_fund->transfer_agent_id);
	$transfer_agent = mysql_fetch_object($transfer_agent);
	$custodian=mysql_query("SELECT * FROM custodian WHERE custodian_id=".$my_fund->custodian_id);
	$custodian=mysql_fetch_object($custodian);
	$fund_advisor=mysql_query("SELECT * FROM fund_advisor WHERE fund_advisor=".$my_fund->fund_advisor_id);
	$fund_advisor=mysql_fetch_object($fund_advisor);
	$fund_auditor = mysql_query("SELECT * FROM fund_auditor WHERE fund_auditor=".$my_fund->fund_auditor_id);
	$fund_auditor = mysql_fetch_object($fund_auditor);
}
}
?>

<?php if ( isset( $_GET['show_fund'] ) && $exists)
{ ?>  
   
<form action="<? echo $_SERVER['PHP_SELF']; ?>" method="post">  
   
<div>
  <fieldset>
   <legend>IDENTIFICATION OF FUND</legend><br>
    <table width="590px" border="0">
     <tr>
      <td class="fieldset">ISIN   <input size="57"><?=$my_fund->ISIN?> </td>
     </tr>
      
     <tr>
      <td class="fieldset">CURRENCY   <input size="57"><?=$my_fund->currency?> </td>
     </tr>

     <tr>
      <td class="fieldset">FUND NAME   <input size="57"><?=$my_fund->fund_name?> </td>
     </tr>

     <tr>
      <td class="fieldset">FUND COMPANY   <input size="57"><?=$my_fund->fund_company_name?> </td>
     </tr>

     <tr>
      <td class="fieldset">FUND CATEGORY   <input size="57"><?=$my_fund->fund_category?> </td>
     </tr>

     <tr>
      <td class="fieldset">FUND STATUS   <input size="57"><?=$my_fund->fund_status?> </td>
     </tr>

     <tr>
      <td class="fieldset">N.A.V.   <input size="57"><?=$my_fund->nav_value?> </td>
     </tr>

     <tr>
      <td class="fieldset">N.A.V. DATE   <input size="57"><?=$my_fund->nav_date?> </td>
     </tr>

     <tr>
      <td class="fieldset">DOMICILE   <input size="57"><?=$my_fund->domicile?> </td>
     </tr>

     <tr>
      <td class="fieldset">FUND STRATEGY   <input size="57"><?=$my_fund->fund_strategy?> </td>
     </tr>

     <tr>
      <td class="fieldset">PRIMARY STRATEGY   <input size="57"><?=$my_fund->primary_strategy?> </td>
     </tr>

     <tr>
      <td class="fieldset">SECONDARY STRATEGY   <input size="57"><?=$my_fund->secondary_strategy?> </td>
     </tr>

     <tr>
      <td class="fieldset">INCEPTION DATE   <input size="57"><?=$my_fund->inception_date?> </td>
     </tr>

     <tr>
      <td class="fieldset">CURRENT ASSETS   <input size="57"><?=$my_fund->current_assets?> </td>
     </tr>

     <tr>
      <td class="fieldset">INVESTMENT OBJECTIVES   <input size="57"><?=$my_fund->investment_objective?> </td>
     </tr>

     <tr> 
      <td class="fieldset">BENCHMARK   <input size="57"><?=$my_fund->benchmark?> </td>
     </tr>

     <tr>
      <td class="fieldset">RISK APPETITE   <input size="57"><?=$my_fund->risk_appetite?> </td>
     </tr>

     <tr>
      <td class="fieldset">GEOGRAPHICAL EXPOSURE   <input size="57"><?=$my_fund->geographical_exposure?> </td>
     </tr>

     <tr>
      <td class="fieldset">UNIQUE FEATURE   <input size="57"><?=$my_fund->unique_feature?> </td>
     </tr>

     <tr>
      <td class="fieldset">LAST AUDIT   <input size="57"><?=$my_fund->last_audit?> </td>
     </tr>
      </table>
       </fieldset>
        </div>

<br>

<div>
  <fieldset>
   <legend>INVESTMENT DETAILS (SUBSCRIPTION)</legend><br>
    <table width="590px" border="0">
     <tr>
      <td class="fieldset">INITIAL MINIMUM INVESTMENT   <input size="57"><?=$investment_detail->initial_minium_investment?> </td>
     </tr>

     <tr>
      <td class="fieldset">MINIMUM INVESTMENT AFTER   <input size="57"><?=$investment_detail->min_investment_after?> </td>
     </tr>
     
     <tr>
      <td class="fieldset">MINIMUM UNITS TO INVEST   <input size="57"><?=$investment_detail->min_investment?> </td>
     </tr>
     
     <tr>
      <td class="fieldset">LOCKUP PERIOD   <input size="57"><?=$investment_detail->lock_up_period?> </td>
     </tr>
     
     <tr>
      <td class="fieldset">NOTICE PERIOD   <input size="57"><?=$investment_detail->notice_period?> </td>
     </tr>
     
     <tr>
      <td class="fieldset">TRADING FREQUENCY   <input size="57"><?=$investment_detail->trading_frequency?> </td>
     </tr>
     
     <tr>
      <td class="fieldset">TRADING DATE   <input size="57"><?=$investment_detail->trading_date?> </td>
     </tr>
     
     <tr>
      <td class="fieldset">CUT-OFF TIME   <input size="57"><?=$investment_detail->cut_of_time?> </td>
     </tr>
     
     <tr>
      <td class="fieldset">SETTLEMENT CYCLE   <input size="57"><?=$investment_detail->settlement_cycle?> </td>
     </tr>
     
     <tr>
      <td class="fieldset">ADMINISTRATION FEE   <input size="57"><?=$investment_detail->administration_fee?> </td>
     </tr>

     <tr>
      <td class="fieldset">ACCEPTED INVESTOR TYPES   <input size="57"><?=$investment_detail->accepted_investor_types?> </td>
     </tr>
     
     <tr>
      <td class="fieldset">PERFORMANCE SINCE START   <input size="57"><?=$investment_detail->performance_since_start?> </td>
     </tr>
     
     <tr>
      <td class="fieldset">PERFORMANCE YTD   <input size="57"><?=$investment_detail->performance_ytd?> </td>
     </tr>
     
     <tr>
      <td class="fieldset">HIGH WATER MARK   <input size="57"><?=$investment_detail->high_water_mark?> </td>
     </tr>
     
     <tr>
      <td class="fieldset">HURDLE RATE   <input size="57"><?=$investment_detail->hurdle_rate?> </td>
     </tr>
      </table>
       </fieldset>
        </div>

<br>

<div>
  <fieldset>
   <legend>FEES (SUBSCRIPTION)</legend><br>
    <table width="590px" border="0">
     <tr>
      <td class="fieldset">MINIMUM FRONT END FEE   <input size="57"><?=$subscription_fee->minimum_front_end_fee?> </td>
     </tr>

     <tr>
      <td class="fieldset">MAXIMUM FRONT END FEE   <input size="57"><?=$subscription_fee->maximum_front_end_fee?> </td>
     </tr>
     
     <tr>
      <td class="fieldset">MANAGEMENT FEE   <input size="57"><?=$subscription_fee->management_fee?> </td>
     </tr>
      </table>
       </fieldset>
        </div>

<br>

<div>
  <fieldset>
   <legend>REDEMPTION DETAILS</legend><br>
    <table width="590px" border="0">
     <tr>
      <td class="fieldset">MINIMUM AMOUNT   <input size="57"><?=$redemption_details->minimum_amount?> </td>
     </tr>
     
     <tr>
      <td class="fieldset">MINIMUM UNITS   <input size="57"><?=$redemption_details->minimum_units?> </td>
     </tr>
     
     <tr>
      <td class="fieldset">NOTICE PERIOD   <input size="57"><?=$redemption_details->notice_period?> </td>
     </tr>
     
     <tr>
      <td class="fieldset">TRADING FREQUENCY   <input size="57"><?=$redemption_details->trading_frequency?> </td>
     </tr>
     
     <tr>
      <td class="fieldset">TRADING DATE   <input size="57"><?=$redemption_details->trading_date?> </td>
     </tr>
     
     <tr>
      <td class="fieldset">CUT-OFF TIME   <input size="57"><?=$redemption_details->cut_of_time?> </td>
     </tr>
     
     <tr>
      <td class="fieldset">SETTLEMENT CYCLE   <input size="57"><?=$redemption_details->settlement_cycle?> </td>
     </tr>
      </table>
       </fieldset>
        </div>

<br>

<div>
  <fieldset>
   <legend>FEES (REDEMPTION)</legend><br>
    <table width="590px" border="0">
     <tr>
      <td class="fieldset">MINIMUM BACK END FEE   <input size="57"><?=$redemption_fees->minimum_back_end_fee?> </td>
     </tr>

     <tr>
      <td class="fieldset">MAXIMUM BACK END FEE   <input size="57"><?=$redemption_fees->maximum_back_end_fee?> </td>
     </tr>
     
     <tr>
      <td class="fieldset">EARLY WITHDRAWAL FEE   <input size="57"><?=$redemption_fees->early_withdrawal_fee?> </td>
     </tr>
      </table>
       </fieldset>
        </div>

<br>

<div>
  <fieldset>
   <legend>TRANSFER AGENT AND A/C DETAILS</legend><br>
    <table width="590px" border="0">
     <tr>
      <td class="fieldset">TRANSFER AGENT   <input size="57"><?=$transfer_agent->transfer_agent?> </td>
     </tr>

     <tr>
      <td class="fieldset">POSTAL ADDRESS   <input size="57"><?=$transfer_agent->postal_address_a?> </td>
     </tr>
     
     <tr>
      <td class="fieldset">POSTAL ADDRESS   <input size="57"><?=$transfer_agent->postal_address_b?> </td>
     </tr>
     
     <tr>
      <td class="fieldset">ZIP / CITY   <input size="57"><?=$transfer_agent->zip_city?> </td>
     </tr>
     
     <tr>
      <td class="fieldset">KEY CONTACT PERSON   <input size="57"><?=$transfer_agent->key_contact_person_a?> </td>
     </tr>
     
     <tr>
      <td class="fieldset">E-MAIL ADDRESS   <input size="57"><?=$transfer_agent->email_address_a?> </td>
     </tr>
     
     <tr>
      <td class="fieldset">KEY CONTACT PERSON   <input size="57"><?=$transfer_agent->key_contact_person_b?> </td>
     </tr>
     
     <tr>
      <td class="fieldset">E-MAIL ADDRESS   <input size="57"><?=$transfer_agent->email_address_b?> </td>
     </tr>
     
     <tr>
      <td class="fieldset">PHONE   <input size="57"><?=$transfer_agent->phone_number?> </td>
     </tr>
     
     <tr>
      <td class="fieldset">FAX   <input size="57"><?=$transfer_agent->fax_no?> </td>
     </tr>
     
     <tr>
      <td class="fieldset">A/C  NO.   <input size="57"><?=$transfer_agent->account_number?> </td>
     </tr>
      </table>
       </fieldset>
        </div>

<br>

<div>
  <fieldset>
   <legend>CUSTODIAN</legend><br>
    <table width="590px" border="0">
     <tr>
      <td class="fieldset">CUSTODIAN   <input size="57"><?=$custodian->custodian?> </td>
     </tr>

     <tr>
      <td class="fieldset">POSTAL ADDRESS   <input size="57"><?=$custodian->postal_address_a?> </td>
     </tr>
     
     <tr>
      <td class="fieldset">POSTAL ADDRESS   <input size="57"><?=$custodian->postal_address_b?> </td>
     </tr>
     
     <tr>
      <td class="fieldset">ZIP / CITY   <input size="57"><?=$custodian->zip_city?> </td>
     </tr>
     
     <tr>
      <td class="fieldset">KEY CONTACT PERSON   <input size="57"><?=$custodian->key_contact_person_a?> </td>
     </tr>
     
     <tr>
      <td class="fieldset">E-MAIL ADDRESS   <input size="57"><?=$custodian->email_address_a?> </td>
     </tr>
     
     <tr>
      <td class="fieldset">KEY CONTACT PERSON   <input size="57"><?=$custodian->key_contact_person_b?> </td>
     </tr>
     
     <tr>
      <td class="fieldset">E-MAIL ADDRESS   <input size="57"><?=$custodian->email_address_b?> </td>
     </tr>
     
     <tr>
      <td class="fieldset">PHONE   <input size="57"><?=$custodian->phone_number?> </td>
     </tr>
     
     <tr>
      <td class="fieldset">FAX   <input size="57"><?=$custodian->fax_no?> </td>
     </tr>
     
     <tr>
      <td class="fieldset">A/C  NO.   <input size="57"><?=$custodian->account_number?> </td>
     </tr>
     
     <tr>
      <td class="fieldset">SETTLEMENT DETAILS   <input size="57"><?=$custodian->settlement_details_a?> </td>
     </tr>
     
     <tr>
      <td class="fieldset">SETTLEMENT DETAILS   <input size="57"><?=$custodian->settlement_details_b?> </td>
     </tr>
     
     <tr>
      <td class="fieldset">SETTLEMENT DETAILS   <input size="57"><?=$custodian->settlement_details_c?> </td>
     </tr>
      </table>
       </fieldset>
        </div>

<br>

<div>
  <fieldset>
   <legend>FUND ADVISOR</legend><br>
    <table width="590px" border="0">
     <tr>
      <td class="fieldset">FUND ADVISOR   <input size="57"><?=$fund_advisor->fund_advisor?> </td>
     </tr>

     <tr>
      <td class="fieldset">POSTAL ADDRESS   <input size="57"><?=$fund_advisor->postal_address_a?> </td>
     </tr>
     
     <tr>
      <td class="fieldset">POSTAL ADDRESS   <input size="57"><?=$fund_advisor->postal_address_b?> </td>
     </tr>
     
     <tr>
      <td class="fieldset">ZIP / CITY   <input size="57"><?=$fund_advisor->zip_city?> </td>
     </tr>
     
     <tr>
      <td class="fieldset">KEY CONTACT PERSON   <input size="57"><?=$fund_advisor->key_contact_person?> </td>
     </tr>
     
     <tr>
      <td class="fieldset">E-MAIL ADDRESS   <input size="57"><?=$fund_advisor->email_address?> </td>
     </tr>
     
     <tr>
      <td class="fieldset">PHONE   <input size="57"><?=$fund_advisor->phone_number?> </td>
     </tr>
     
     <tr>
      <td class="fieldset">FAX   <input size="57"><?=$fund_advisor->fax_number?> </td>
     </tr>
      </table>
       </fieldset>
        </div>

<br>

<div>
  <fieldset>
   <legend>FUND AUDITOR</legend><br>
    <table width="590px" border="0">
     <tr>
      <td class="fieldset">FUND AUDITOR   <input size="57"><?=$fund_auditor->fund_auditor?> </td>
     </tr>

     <tr>
      <td class="fieldset">POSTAL ADDRESS   <input size="57"><?=$fund_auditor->postal_address_a?> </td>
     </tr>
     
     <tr>
      <td class="fieldset">POSTAL ADDRESS   <input size="57"><?=$fund_auditor->postal_address_b?> </td>
     </tr>
     
     <tr>
      <td class="fieldset">ZIP / CITY   <input size="57"><?=$fund_auditor->zip_city?> </td>
     </tr>
     
     <tr>
      <td class="fieldset">KEY CONTACT PERSON   <input size="57"><?=$fund_auditor->key_contact_person?> </td>
     </tr>
     
     <tr>
      <td class="fieldset">E-MAIL ADDRESS   <input size="57"><?=$fund_auditor->email_address?> </td>
     </tr>
     
     <tr>
      <td class="fieldset">PHONE   <input size="57"><?=$fund_auditor->phone_number?> </td>
     </tr>
     
     <tr>
      <td class="fieldset">FAX   <input size="57"><?=$fund_auditor->fax_number?> </td>
     </tr>
      </table>
       </fieldset>
        </div>

       

 

  </body>

</html>

Link to comment
Share on other sites

This thread is more than a year old. Please don't revive it unless you have something important to add.

Join the conversation

You can post now and register later. If you have an account, sign in now to post with your account.

Guest
Reply to this topic...

×   Pasted as rich text.   Restore formatting

  Only 75 emoji are allowed.

×   Your link has been automatically embedded.   Display as a link instead

×   Your previous content has been restored.   Clear editor

×   You cannot paste images directly. Upload or insert images from URL.

×
×
  • Create New...

Important Information

We have placed cookies on your device to help make this website better. You can adjust your cookie settings, otherwise we'll assume you're okay to continue.