Exemple #1
0
?>
 <input type="text" name="dateIssued" id="dateIssued" value="<?php 
echo $this->validation->dateIssued ? $this->validation->dateIssued : $row->dateIssued;
?>
"/></label>
			<span id="dateIssuedDisplay"><?php 
echo date('F d, Y', mysql_to_unix($this->validation->dateIssued ? $this->validation->dateIssued : $row->dateIssued));
?>
</span> <a href="#" id="changeDate" onclick="createInvoiceDate.toggle()"><?php 
echo $this->lang->line('actions_change');
?>
</a>
		</p>
			<div id="cal1Container" style="display: none;">
				<?php 
echo js_calendar_write('entry_date', time($row->dateIssued), true);
?>
			</div>

		<div class="work_description">

			<table class="invoice_items">
				<thead>
				<tr>
					<th><?php 
echo $this->lang->line('invoice_quantity');
?>
</th>
					<th><?php 
echo $this->lang->line('invoice_work_description');
?>
?>
	</p>
	<p id="dateIssuedContainer">
		<label><?php 
echo $this->lang->line('invoice_date_issued_full');
?>
 <input type="text" name="dateIssued" id="dateIssued" value="<?php 
echo $invoiceDate;
?>
"/></label><?php 
echo $this->validation->dateIssued_error;
?>
	</p>
<div id="cal1Container" style="display: none;">
<?php 
echo js_calendar_write('entry_date', time(), true);
?>
</div>

<div class="work_description">
	<table class="invoice_items">
		<thead>
		<tr>
			<th><?php 
echo $this->lang->line('invoice_quantity');
?>
</th>
			<th><?php 
echo $this->lang->line('invoice_work_description');
?>
</th>
}
?>
          <div id="photo_upload">
            <h5>Upload a new Featured Image:</h5>
            <input type="file" name="userfile<?php 
echo $i;
?>
" />
          </div>
       </div>
    </div>

    <div class="status clear">Date/time:&nbsp;&nbsp;    
     <div class="case_studydate">
       <?php 
echo js_calendar_write('date', time(), true);
?>
         <input id="case_studydateinput" type="text" name="date" value="<?php 
echo $case_study->date;
?>
" onblur="update_calendar(this.name, this.value);" />
      </div>
    </div>
  </div>

</div>
<div style="clear:left; width: 700px;">

  <?php 
echo '<div class="status clear_left">Case Study Description:</div>';
echo form_textarea('content', $case_study->content);