<?php $this->placeholder('breadcrumb')->set('<a href="/relationships.php">Relationships</a> > <a href="/cont_mgmt/view_vendor.php?vendor_id='.$this->subaccount->vendor->vendorId.'">'.(trim($this->subaccount->vendor->vendorName) != '' ? $this->subaccount->vendor->vendorName : $this->subaccount->vendor->company).'</a> >
		 <a href="/subaccount/viewsubaccount/subaccount_id/'.$this->subaccount->subaccountId.'">'.$this->subaccount->subaccountName.'</a> > Edit 
Performance Rights Delivery Settings');?>
<span class="floatClear"></span>
<form name="form1" action="/subaccount/editperformancerightsdeliverysettings/subaccount_id/<?=$this->subaccount->subaccountId;?>" method="POST">
    <div class="panelHeader" id="performancerightsdeliverysettings_header">
        <h3>Performance Rights Delivery Settings</h3>
    </div>
    <div class="panelContent" id="performancerightsdeliverysettings_content">
        <table class="form wide">
            <tr>
                <th>Track Rights Start Date :</th>
                <td><input type="radio" id="ingestion_date_radio" name="trackrightsdate" value="original_release_date" <?=($this->performancerightsdeliverysettings_type == "original_release_date") ? " checked='checked'" : "" ?>> Use Original Release Date</td>
            </tr>
            <tr>
                <th></th>
                <td><input type="radio" id="original_release_date_radio" name="trackrightsdate" value="ingestion_date" <?=($this->performancerightsdeliverysettings_type == "ingestion_date") ? " checked='checked'" : "" ?>> Use Product Ingestion Date</td>
            </tr>
            <tr>
                <th></th>
                <td><input type="radio" id="custom_date_radio" name="trackrightsdate" value="custom_date" <?=($this->performancerightsdeliverysettings_type == "custom_date") ? " checked='checked'" : "" ?>> Use Custom Date</td>
            </tr>
            <tr>
                <th></th>
                <td><input type="text" class="textField small" id="track_rights_custom_date" name="track_rights_custom_date" <?=($this->performancerightsdeliverysettings_type == "custom_date") ? " value='$this->custom_date'" : "value='' disabled='disabled' readonly" ?>  placeholder="yyyy-mm-dd" /><a href="#" class="calendarimg" onclick="showCal('Cal10');" <?=($this->performancerightsdeliverysettings_type == "custom_date") ? "" : "style='pointer-events : none;'" ?>><img src="/images/icoCalendar.gif" border="0" alt="Calendar" align="absmiddle"></a><input type="hidden" id="hidden_custom_date" name="hidden_custom_date" <?=($this->performancerightsdeliverysettings_type == "custom_date") ? " value='$this->custom_date'" : "value=''" ?>></td>
            </tr>
            <tr>
                <th></th>
                <td>
                    <input type="submit" name="submit" value="Submit">
                </td>
            </tr>
        </table>
    </div>
</form>
