<fieldset class="adminform">
	<legend><?php echo JText::_('Main Data'); ?></legend>
	<table class="admintable">
		<tr>
			<td class="key" style="width: 90px"><?php echo JText::_('Title'); ?></td>
			<td>
				<input type="text" id="title" name="title" size="50" maxlength="100" value="<?php echo $this->chart->title; ?>"/>
			</td>
			<td class="key" style="width: 70px"><?php echo JText::_('Created'); ?></td>
			<td>
                <?php 
                    if($this->chart->created) {
                        echo $this->chart->created;
                    } else { 
                        echo '-'; 
                    } ?>
			</td>
			<td class="key" style="width: 80px"><?php echo JText::_('Created By'); ?></td>
			<td>
				<?php if($this->chart->created) {?>
					<a href="<?php echo $this->chart->created_by->link; ?>" title="" target="_blank"><?php echo $this->chart->created_by->name; ?></a>
				<?php } else { 
				    echo '-'; 
				} ?>
			</td>
		</tr>
		<tr>
			<td class="key" style="width: 90px"><?php echo JText::_('Category') . '&nbsp;-&nbsp;' . JText::_('Type'); ?></td>
			<td>
                <?php echo $this->lists['categories']; ?>
				&nbsp;-&nbsp;
				<?php echo implode("\n",$this->lists_charts); ?>
				<button onclick="Chart.changeType();return false;"><?php echo JText::_('Change Category & Type'); ?></button>
			</td>
			<td class="key" style="width: 70px"><?php echo JText::_('Modified'); ?></td>
			<td>
                <?php 
                    if($this->chart->modified) {
                        echo $this->chart->modified;
					} else { 
					    echo '-'; 
					} 
                ?>
			</td>
			<td class="key" style="width: 80px"><?php echo JText::_('Modified By'); ?></td>
			<td>
                <?php if($this->chart->modified) {?>
    				<a href="<?php echo $this->chart->modified_by->link; ?>" title="" target="_blank"><?php echo $this->chart->modified_by->name; ?></a>
                <?php } else { 
                    echo '-'; 
                } 
                ?>
			</td>
		</tr>
	</table>
</fieldset>