<?php defined('_JEXEC') or die('Restricted access'); ?>


<fieldset>
<legend><?php echo JText::_('COM_PHOCAGALLERY_BACKGROUND_IMAGE'). ' - '. JText::_('COM_PHOCAGALLERY_SMALL_THUMBNAIL');?></legend>

<div style="float:right;position:relative;margin-top:15px;margin-right:10px">
<?php echo JHTML::_('image', 'administrator/components/com_phocagallery/assets/images/image-bg-image.png', '' ); ?>
</div>

<form  action="index.php" method="post" name="adminFormBackgroundImageSmall">
<table class="adminform">
<tr>
	<td width="100" align="right" class="key"><label for="title"><?php echo JText::_( 'COM_PHOCAGALLERY_SMALL_IMAGE_WIDTH' ); ?>:</label></td>
	<td colspan="2"><input class="text_area" type="text" name="siw" id="siw" size="12" maxlength="8" value="<?php echo $this->tmpl['siw'];?>" /></td>
</tr>

<tr>
	<td width="100" align="right" class="key"><label for="title"><?php echo JText::_( 'COM_PHOCAGALLERY_SMALL_IMAGE_HEIGHT' ); ?>:</label></td>
	<td colspan="2"><input class="text_area" type="text" name="sih" id="sih" size="12" maxlength="8" value="<?php echo $this->tmpl['sih'];?>" /></td>
</tr>

<tr>
	<td width="100" align="right" class="key"><label for="title"><?php echo JText::_( 'COM_PHOCAGALLERY_SITE_BACKGROUND_COLOR' ); ?>:</label></td>
	<td colspan="2"><input class="text_area" type="text" name="ssbgc" id="ssbgc" size="12" maxlength="8" value="<?php echo $this->tmpl['ssbgc'];?>" /> <span style="margin-left:10px" onclick="openPicker('ssbgc')"  class="picker_buttons"><?php echo  JText::_('COM_PHOCAGALLERY_PICK_COLOR'); ?></span> (1)</td>
</tr>

<tr>
	<td width="100" align="right" class="key"><label for="title"><?php echo JText::_( 'COM_PHOCAGALLERY_IMAGE_BACKGROUND_COLOR' ); ?>:</label></td>
	<td colspan="2"><input class="text_area" type="text" name="sibgc" id="sibgc" size="12" maxlength="8" value="<?php echo $this->tmpl['sibgc'];?>" /> <span style="margin-left:10px" onclick="openPicker('sibgc')"  class="picker_buttons"><?php echo  JText::_('COM_PHOCAGALLERY_PICK_COLOR'); ?></span> (2)</td>
</tr>

<tr>
	<td width="100" align="right" class="key"><label for="title"><?php echo JText::_( 'COM_PHOCAGALLERY_IMAGE_BORDER_COLOR' ); ?>:</label></td>
	<td colspan="2"><input class="text_area" type="text" name="sibrdc" id="sibrdc" size="12" maxlength="8" value="<?php echo $this->tmpl['sibrdc'];?>" /> <span style="margin-left:10px" onclick="openPicker('sibrdc')"  class="picker_buttons"><?php echo  JText::_('COM_PHOCAGALLERY_PICK_COLOR'); ?></span> (3)</td>
</tr>

<tr>
	<td valign="middle" align="right" class="key"><?php echo JText::_( 'COM_PHOCAGALLERY_IMAGE_EFFECT' ); ?>:</td>
	<td valign="middle"><select id="sie" name="sie">
		<option value="0" <?php if ($this->tmpl['sie'] == 0) {echo 'selected="selected"';} ?> ><?php echo JText::_('COM_PHOCAGALLERY_NONE')?></option>
		<option value="1" <?php if ($this->tmpl['sie'] == 1) {echo 'selected="selected"';} ?> ><?php echo JText::_('COM_PHOCAGALLERY_DROP_SHADOW')?></option>
		<option value="2" <?php if ($this->tmpl['sie'] == 2) {echo 'selected="selected"';} ?> ><?php echo JText::_('COM_PHOCAGALLERY_DROP_SHADOW_TR')?></option>
		<option value="3" <?php if ($this->tmpl['sie'] == 3) {echo 'selected="selected"';} ?> ><?php echo JText::_('COM_PHOCAGALLERY_OUTER_GLOW')?></option>
	</select></td>
</tr>

<tr>
	<td width="100" align="right" class="key"><label for="title"><?php echo JText::_( 'COM_PHOCAGALLERY_IMAGE_EFFECT_COLOR' ); ?>:</label></td>
	<td colspan="2"><input class="text_area" type="text" name="siec" id="siec" size="12" maxlength="8" value="<?php echo $this->tmpl['siec'];?>" /> <span style="margin-left:10px" onclick="openPicker('siec')"  class="picker_buttons"><?php echo  JText::_('COM_PHOCAGALLERY_PICK_COLOR'); ?></span> (4)</td>
</tr>


<tr>
	<td valign="middle" align="right" class="key"><?php echo JText::_( 'COM_PHOCAGALLERY_CURRENT_IMAGE' ); ?>:</td>
	<td valign="middle">
	<?php echo '(shadow3.'.$this->tmpl['formaticon'].')';?>
	<br />
	<?php echo '<img src="'.JURI::root().'/components/com_phocagallery/assets/images/shadow3.'.$this->tmpl['formaticon'] .'?imagesid='.md5(uniqid(time())) . '" alt="" />';
	?>
	</td>
</tr>
</table>
<div style="text-align:right"><input type="submit" name="sisubmit" value="<?php echo JText::_('COM_PHOCAGALLERY_CREATE_BG_IMAGE');?>" /></div>
	
<input type="hidden" name="type" value="" />
<input type="hidden" name="task" value="phocagalleryt.bgimagesmall" />
<input type="hidden" name="option" value="com_phocagallery" />
<?php echo JHTML::_( 'form.token' ); ?>
</form>

</fieldset>



<fieldset>
<legend><?php echo JText::_('COM_PHOCAGALLERY_BACKGROUND_IMAGE'). ' - '. JText::_('COM_PHOCAGALLERY_MEDIUM_THUMBNAIL');?></legend>

<div style="float:right;position:relative;margin-top:15px;margin-right:10px">
<?php echo JHTML::_('image', 'administrator/components/com_phocagallery/assets/images/image-bg-image.png', '' ); ?>
</div>

<form  action="index.php" method="post" name="adminFormBackgroundImageMedium">
<table class="adminform">
<tr>
	<td width="100" align="right" class="key"><label for="title"><?php echo JText::_( 'COM_PHOCAGALLERY_MEDIUM_IMAGE_WIDTH' ); ?>:</label></td>
	<td colspan="2"><input class="text_area" type="text" name="miw" id="miw" size="12" maxlength="8" value="<?php echo $this->tmpl['miw'];?>" /></td>
</tr>

<tr>
	<td width="100" align="right" class="key"><label for="title"><?php echo JText::_( 'COM_PHOCAGALLERY_MEDIUM_IMAGE_HEIGHT' ); ?>:</label></td>
	<td colspan="2"><input class="text_area" type="text" name="mih" id="mih" size="12" maxlength="8" value="<?php echo $this->tmpl['mih'];?>" /></td>
</tr>

<tr>
	<td width="100" align="right" class="key"><label for="title"><?php echo JText::_( 'COM_PHOCAGALLERY_SITE_BACKGROUND_COLOR' ); ?>:</label></td>
	<td colspan="2"><input class="text_area" type="text" name="msbgc" id="msbgc" size="12" maxlength="8" value="<?php echo $this->tmpl['msbgc'];?>" /> <span style="margin-left:10px" onclick="openPicker('msbgc')"  class="picker_buttons"><?php echo  JText::_('COM_PHOCAGALLERY_PICK_COLOR'); ?></span> (1)</td>
</tr>

<tr>
	<td width="100" align="right" class="key"><label for="title"><?php echo JText::_( 'COM_PHOCAGALLERY_IMAGE_BACKGROUND_COLOR' ); ?>:</label></td>
	<td colspan="2"><input class="text_area" type="text" name="mibgc" id="mibgc" size="12" maxlength="8" value="<?php echo $this->tmpl['mibgc'];?>" /> <span style="margin-left:10px" onclick="openPicker('mibgc')"  class="picker_buttons"><?php echo  JText::_('COM_PHOCAGALLERY_PICK_COLOR'); ?></span> (2)</td>
</tr>

<tr>
	<td width="100" align="right" class="key"><label for="title"><?php echo JText::_( 'COM_PHOCAGALLERY_IMAGE_BORDER_COLOR' ); ?>:</label></td>
	<td colspan="2"><input class="text_area" type="text" name="mibrdc" id="mibrdc" size="12" maxlength="8" value="<?php echo $this->tmpl['mibrdc'];?>" /> <span style="margin-left:10px" onclick="openPicker('mibrdc')"  class="picker_buttons"><?php echo  JText::_('COM_PHOCAGALLERY_PICK_COLOR'); ?></span> (3)</td>
</tr>

<tr>
	<td valign="middle" align="right" class="key"><?php echo JText::_( 'COM_PHOCAGALLERY_IMAGE_EFFECT' ); ?>:</td>
	<td valign="middle"><select id="mie" name="mie">
		<option value="0" <?php if ($this->tmpl['mie'] == 0) {echo 'selected="selected"';} ?> ><?php echo JText::_('COM_PHOCAGALLERY_NONE')?></option>
		<option value="1" <?php if ($this->tmpl['mie'] == 1) {echo 'selected="selected"';} ?> ><?php echo JText::_('COM_PHOCAGALLERY_DROP_SHADOW')?></option>
		<option value="2" <?php if ($this->tmpl['mie'] == 2) {echo 'selected="selected"';} ?> ><?php echo JText::_('COM_PHOCAGALLERY_DROP_SHADOW_TR')?></option>
		<option value="3" <?php if ($this->tmpl['mie'] == 3) {echo 'selected="selected"';} ?> ><?php echo JText::_('COM_PHOCAGALLERY_OUTER_GLOW')?></option>
	</select></td>
</tr>

<tr>
	<td width="100" align="right" class="key"><label for="title"><?php echo JText::_( 'COM_PHOCAGALLERY_IMAGE_EFFECT_COLOR' ); ?>:</label></td>
	<td colspan="2"><input class="text_area" type="text" name="miec" id="miec" size="12" maxlength="8" value="<?php echo $this->tmpl['miec'];?>" /> <span style="margin-left:10px" onclick="openPicker('miec')"  class="picker_buttons"><?php echo  JText::_('COM_PHOCAGALLERY_PICK_COLOR'); ?></span> (4)</td>
</tr>


<tr>
	<td valign="middle" align="right" class="key"><?php echo JText::_( 'COM_PHOCAGALLERY_CURRENT_IMAGE' ); ?>:</td>
	<td valign="middle">
	<?php echo '(shadow1.'.$this->tmpl['formaticon'].')';?>
	<br />
	<?php echo '<img src="'.JURI::root().'/components/com_phocagallery/assets/images/shadow1.'.$this->tmpl['formaticon'] .'?imagesid='.md5(uniqid(time())) . '" alt="" />';
	//echo JHTML::_('image', 'components/com_phocagallery/assets/images/shadow1.'.$this->tmpl['formaticon'] .'?imagesid='.md5(uniqid(time())),'');
	?>
	</td>
</tr>
</table>
<div style="text-align:right"><input type="submit" name="misubmit" value="<?php echo JText::_('COM_PHOCAGALLERY_CREATE_BG_IMAGE');?>" /></div>
	
<input type="hidden" name="type" value="" />
<input type="hidden" name="task" value="phocagalleryt.bgimagemedium" />
<input type="hidden" name="option" value="com_phocagallery" />
<?php echo JHTML::_( 'form.token' ); ?>
</form>

</fieldset>


